Commit Graph

50 Commits

Author SHA1 Message Date
Wladimir J. van der Laan
01c33b1c50 Fix off-by ones in UTF-8 parsing in terminal
- 11100000 (224) was misinterpreted as 2-byte sequence, whereas it defines a 3-byte
- 11110000 (240) was misinterpreted as 3-byte sequence, whereas it defines a 4-byte

Makes it possible to type characters from the Supplementary Multilingual Plane such as 𐎒 and 𝄐.
2014-12-11 10:05:01 +01:00
C. Guy Yarvin
dfbd88b7b9 Various fixes and improvements. 2014-11-15 17:10:15 -08:00
C. Guy Yarvin
8c8fa11104 Rename. 2014-11-06 11:13:57 -08:00
C. Guy Yarvin
a2ba265d99 Renaming, renaming. 2014-11-05 19:10:22 -08:00
C. Guy Yarvin
4855a9d1d8 Another great renaming. 2014-11-05 16:20:01 -08:00
C. Guy Yarvin
dbe046620a Move loobeans from u3 to c3. 2014-11-04 17:18:47 -08:00
C. Guy Yarvin
fb982e6dd6 No more external leaks. 2014-10-10 22:32:58 -07:00
C. Guy Yarvin
18ff192e3e Various fixes and improvements. 2014-10-03 10:44:08 -07:00
C. Guy Yarvin
a71a657680 compiles and links. 2014-09-10 17:01:32 -07:00
TJIC
a1bc6dcbf8 libuv 0.11 working 2014-08-22 17:33:27 -04:00
TJIC
bd7403a034 progress on libuv11 2014-08-20 18:09:51 -04:00
C. Guy Yarvin
5c3223ba1f More memory pls. 2014-07-31 13:23:02 -07:00
C. Guy Yarvin
c0692b7a5c Various fixes and improvements. 2014-06-24 10:32:59 -07:00
~hatteb-mitlyd
c85c87f71a fix build on gcc 2014-06-09 10:00:17 -07:00
~hatteb-mitlyd
29eb63517b reorder blew 2014-06-07 17:23:35 -07:00
~hatteb-mitlyd
cccf3e2d93 default telnet windows to 80x25 2014-06-07 17:07:28 -07:00
~hatteb-mitlyd
4195c71113 negotiate about window size properly 2014-06-07 16:55:15 -07:00
~hatteb-mitlyd
c35b08e16f partially negotiate char-at-a-time telnet mode 2014-06-07 16:05:53 -07:00
~hatteb-mitlyd
50efa32a2b remove wipe, change boil 2014-06-07 13:58:29 -07:00
~hatteb-mitlyd
4344e97cb8 crash less often with dead terminals 2014-06-07 13:20:51 -07:00
~hatteb-mitlyd
c3727ee120 Don't overload the hole card 2014-06-07 13:18:13 -07:00
~hatteb-mitlyd
1b20a22eef terminal hole card 2014-06-07 13:05:35 -07:00
~hatteb-mitlyd
19ce1e5ffb reorg tty struct 2014-06-07 12:27:48 -07:00
~hatteb-mitlyd
b0472d9276 close terminals properly 2014-06-07 12:27:47 -07:00
~hatteb-mitlyd
f186c44ad9 further telnet hacks
make C-d on an empty telnet terminal do nothing, don't suck in CRs
2014-06-07 12:27:47 -07:00
~hatteb-mitlyd
f8f3ae7968 first hack at telnet 2014-06-07 12:27:47 -07:00
~hatteb-mitlyd
4daa9a6ed9 remove URBIT_HOME
New piers are structured as so:

cpu/.urb/{urbit.pill,chk,sis,get,put,code.~dansut-docfyn}
cpu/dansut-docfyn-dozzod-dozzod--dozzod-dozzod-dozzod-dozzod/{try,main,arvo}
2014-05-13 12:22:07 -07:00
~hatteb-mitlyd
e1a0cc1658 fix bogosity caused by uninitialized memory 2014-04-30 11:34:43 -07:00
~hatteb-mitlyd
93d5722faa remove the old poll-based term stuff in favor of a uv_pipe 2014-04-03 14:47:22 -07:00
~hatteb-mitlyd
a0c18f56b2 change to asserting malloc 2014-04-01 17:48:26 -07:00
Steven Dee
53735a8b33 Fixes to our hi/lojack logic
This doesn't actually fix the prompt-eating bug, but it sure looks like
it ought to, doesn't it?
2014-02-12 18:06:49 +00:00
Steve Dee
712968d37e Actually fix the history-eating bug 2014-01-14 18:37:45 -08:00
Steve Dee
bddcfefddd Hack to fix the history-eating bug 2014-01-14 18:13:58 -08:00
Steve Dee
d95f2cc376 Proper daemon mode noun garbage fix 2013-12-29 17:30:45 +01:00
Steve Dee
eff8a1ba45 Don't u2z(u2_nul) 2013-12-29 13:57:03 +01:00
Steve Dee
74bae0df22 Partially fix noun leak in daemon mode
Still some regular noun garbage being generated, but it's a bit less now.
2013-12-29 13:07:38 +01:00
Steve Dee
aba13f1120 Output hi/lojacked fprintf in daemon mode 2013-12-19 10:37:01 -08:00
Steve Dee
a94ea80337 Alignment 2013-12-19 10:11:12 -08:00
Steve Dee
6542083861 Don't write \r in daemon mode 2013-12-19 10:10:57 -08:00
Steve Dee
0066cf7518 Get daemon mode actually working 2013-12-19 09:48:02 -08:00
Steve Dee
89ac00bd6a Write to stdout in daemon mode
Fixes nohup.
2013-12-18 15:21:18 -08:00
Steven Dee
f2a839426b Ye olde whitespace cleanup part 2
sed -i, glanced at.
2013-12-18 13:17:47 -08:00
Steve Dee
573267f05b Fix output in daemon mode 2013-12-18 13:17:47 -08:00
Steve Dee
011f20447c Realistically reintroduce accurate comment
This reverts commit c6e01a7c6ecdcbb2a0848f59b7db6641f0902773.
2013-12-17 16:50:09 -08:00
Steven Dee
60f68a9fd5 Optimistically removing bogus comment 2013-12-17 18:51:52 +00:00
C. Guy Yarvin
a4baea40fd Fix a bunch of memory leaks and stuff. 2013-11-11 23:09:11 -08:00
C. Guy Yarvin
91fe182f81 Various fixes and improvements... 2013-11-08 15:37:38 -08:00
Steven Dee
c489d2dc7d Remove remainder of sprintf & strcpy calls
Note that there are still some in libuv.
2013-11-01 15:10:41 -04:00
Steven Dee
324c6a235d Remove most instances of strcpy and sprintf
OpenBSD whines about these and recommends using strlcpy / snprintf
instead. Since strlcpy isn't quite universal yet, we use strncpy instead
and be careful about terminating the string. We could implement a
portable strlcpy in terms of strncpy, but that'd add another function to
the namespace.

Yes, usually the length is obviously bounded. Still, pretending
strcpy/sprintf don't exist seems like a great strategy.

N.B. there are still a few occurrences of strcpy and sprintf under f/
and in libuv, but I don't have time to tackle them right now.
2013-10-30 15:25:22 -04:00
Christian Carter
3af3130bdc Cleaning up old code 2013-09-28 13:21:18 -07:00