Commit Graph

143 Commits

Author SHA1 Message Date
C. Guy Yarvin
2cb759d86d Old %hold now eradicated (as %holt). 2016-01-10 22:37:59 -08:00
C. Guy Yarvin
921aef5e29 Frog jets installed; still not generating frogs. 2016-01-10 16:27:36 -08:00
C. Guy Yarvin
d6d94de3c9 New, non-degenerate ++nost almost works, fails on ++homo. 2015-12-31 02:07:29 -05:00
C. Guy Yarvin
8a601ffd19 Change %rock to %sand. 2015-12-29 14:52:22 -05:00
C. Guy Yarvin
adaa5c7403 Supporting but not yet generating c3__moat. 2015-12-27 15:17:04 -05:00
C. Guy Yarvin
d58b0b5894 Rename ugly non-runes. 2015-12-20 21:05:19 -08:00
C. Guy Yarvin
a6d9fa8b2d No jtts. 2015-12-13 21:06:19 -08:00
C. Guy Yarvin
39ebd7c140 %wtts mastered. 2015-12-13 21:05:59 -08:00
Dan Haffey
2acf161381 Cursor spinner while processing events for more than 500ms. (#599)
The spinner is a simple |/-\ at the current cursor position. For non-terminal
events, the root of the event's wire is also displayed to the right of the
spinner to give some indication of what's causing an unresponsive terminal.

I used the simplest synchronization strategy I could think of: u3_utat.mex_u is
a mutex that serializes access to a terminal's state. The main thread holds it
at all times except when processing events. When a terminal receives a %bee blit
with a non-nul bulb (the event ovum), it releases the mutex to let the spinner
thread do its thing. A %bee with a nul bulb halts the spinner by grabbing the
mutex and refreshing the input line.

Off-thread console writes are directly against the underlying fd to avoid
trashing non-thread-safe libuv state. Given the simple locking pattern, calling
libuv from the spinner thread might be fine, but I didn't feel like auditing
vere to rule out concurrent calls. It worked when I tried it, but... threads.

I didn't look into supporting anything other than the main terminal, so
currently it's the only one that receives %bee blits. In daemon mode, the
spinner is disabled entirely and no additional thread is started.
2015-12-12 20:42:33 -08:00
C. Guy Yarvin
69b8603fa2 URL printing; doc and usability fixes. 2015-11-20 18:10:45 -05:00
Max G
eb76ec6c4f rounding modes for rd, rq, rs 2015-08-04 06:00:09 +03:00
Max G
1c5d0d08c4 ++lug jet 2015-08-02 00:04:25 +03:00
Max G
f92ccb3504 ++drg jet 2015-07-31 05:01:20 +03:00
Anton Dyudin
cfe0339761 Rename %time to %behn, tym to now; closes #334 2015-06-24 12:50:30 -07:00
Philip C Monk
9edda1bb73 descriptive names for c files
fixes #294
2015-06-23 21:29:11 -04:00
C. Guy Yarvin
a7215257ac Some renamings and cleanups. 2014-11-05 13:54:52 -08:00
C. Guy Yarvin
dbe046620a Move loobeans from u3 to c3. 2014-11-04 17:18:47 -08:00
C. Guy Yarvin
ceb35b892c About to rename loobeans. 2014-11-04 17:09:17 -08:00
C. Guy Yarvin
f1ee2f6e90 Merge branch 'test' of https://github.com/urbit/urbit into test
ssary,
2014-11-04 16:41:26 -08:00
C. Guy Yarvin
40a8c6fc74 Various cleanups and renamings, part 1. 2014-11-04 16:29:08 -08:00
Philip C Monk
92740bc47c Merge branch 'test' into shell
Conflicts:
	include/v/vere.h
	urb/urbit.pill
	urb/zod/arvo/clay.hoon
	urb/zod/arvo/eyre.hoon
	urb/zod/arvo/hoon.hoon
	urb/zod/main/mar/hook/door.hook
	urb/zod/main/mar/psal/door.hook
	urb/zod/main/mar/txt/door.hook
	urb/zod/main/pub/src/doc/ref/vol/1.md
	v/loop.c
	v/raft.c
	v/reck.c
	v/unix.c
2014-11-04 15:22:33 -05:00
Ubuntu
383ab05977 added %time vane 2014-10-15 02:25:23 +00:00
C. Guy Yarvin
fb982e6dd6 No more external leaks. 2014-10-10 22:32:58 -07:00
C. Guy Yarvin
ae6aa44695 Various fixes and improvements. 2014-10-09 18:27:02 -07:00
C. Guy Yarvin
69a669fb66 gc appears to work. 2014-10-08 20:24:31 -07:00
C. Guy Yarvin
27c67acca4 Improved signal handling. 2014-10-04 14:57:40 -07:00
C. Guy Yarvin
a71a657680 compiles and links. 2014-09-10 17:01:32 -07:00
C. Guy Yarvin
464f545e99 Merge branch 'test' into memorable
Conflicts:
	Makefile
	gen164/watt.c
2014-09-10 09:06:30 -07:00
C. Guy Yarvin
a6ea515d2a Jet dispatcher compiles and links. 2014-09-01 17:10:04 -07:00
C. Guy Yarvin
d7018b3310 Various fixes and improvements. 2014-08-28 12:40:40 -07:00
C. Guy Yarvin
e75d2e70b2 Add MurmurHash3. 2014-08-26 12:11:59 -07:00
C. Guy Yarvin
549ff28b41 Speed up interpreter with gcc CLZ intrinsic. 2014-08-22 02:14:37 -04:00
C. Guy Yarvin
c0326a0c06 More memory improvements. 2014-08-22 02:05:41 -04:00
C. Guy Yarvin
fe45c85bf4 Tested allocator. 2014-08-18 02:10:46 -04:00
C. Guy Yarvin
9aefb8f89f Translate some memory code. 2014-08-13 12:32:14 -07:00
C. Guy Yarvin
4f1377a91c Various fixes and improvements. 2014-08-10 20:09:56 -07:00
C. Guy Yarvin
5c3223ba1f More memory pls. 2014-07-31 13:23:02 -07:00
pcmonk
c4b8f78afb %send effect does not need to drop through anymore 2014-07-09 14:42:08 -07:00
Luke Patmore
d8fc596038 Moar ap.c macro expansions 2014-06-18 13:09:04 -07:00
Luke Patmore
e162abc6db Added bunting macro expansions to ap.c 2014-06-17 11:04:27 -07:00
Luke Patmore
396c2d1c7f Moar ap.c fixes, added macro expansions 2014-06-13 15:30:36 -07:00
Luke Patmore
147a423a3f Improvements to ap.c 2014-06-13 13:52:13 -07:00
Luke Patmore
4cf4ca57d9 Added moar ap.c macro expansions. 2014-06-12 15:22:25 -07:00
Luke Patmore
f0f3c7bd57 Added moar macro expansions to ap.c 2014-06-11 15:29:17 -07:00
Luke Patmore
22313fbcf4 Added macro expansions for bczp, brls, cncb, cnzy, and cnzz to ap.c 2014-06-11 13:16:34 -07:00
C. Guy Yarvin
572879423d Merge branch 'nextbreach' of github.com:urbit/urbit into nextbreach 2014-06-11 07:06:56 -07:00
C. Guy Yarvin
eba681be49 Various fixes and improvements. 2014-06-11 07:06:36 -07:00
Luke Patmore
810f83bc6f Added wtkt macro expansion 2014-06-10 17:51:43 -07:00
Luke Patmore
ce0ad53cc2 Improvements to ap.c 2014-06-10 14:31:16 -07:00
~hatteb-mitlyd
c3727ee120 Don't overload the hole card 2014-06-07 13:18:13 -07:00
Luke Patmore
2ab9b9a78c Whitespace: the invisible killer 2014-06-04 19:46:12 -07:00
~hatteb-mitlyd
c819b4c034 Merge remote-tracking branch 'origin/newbreach'
Update protocol for breach.

Conflicts:
	f/trac.c
	urb/urbit.pill
	urb/zod/arvo/zuse.hoon
	v/raft.c
2014-05-30 17:56:12 -07:00
~hatteb-mitlyd
37e351528e wire up delete/get/put in cttp 2014-05-18 18:49:59 -07:00
Steve Dee
322d448d0f Jetted en and ex
You'll note that ex involves more endianness twiddling. This is
unfortunate, but en is exactly as stupid as you'd hope it would be,
so I'm going to call it okay.

Also, fixed ex. In particular, (ex:aesc 0) now agrees with the C's
output. Our bad.
2014-04-18 14:58:51 -07:00
C. Guy Yarvin
1317ac3c1e Clean up requests from dead connections. 2014-04-14 11:01:18 -07:00
~hatteb-mitlyd
75dce9eefc make asserting malloc into a #define 2014-04-03 14:37:32 -07:00
~hatteb-mitlyd
a0c18f56b2 change to asserting malloc 2014-04-01 17:48:26 -07:00
Steven Dee
5c68bb4de6 fpurge stopped working on Arch at some point 2014-03-25 08:43:52 -07:00
Steve Dee
ba71f7ca11 Trailing whitespace cleanup, C level 2014-03-14 10:50:12 -07:00
Steve Dee
c5bb5bb5e7 Moronic key-value store
This is kind of dumb, but we need to persist stuff for Raft, and
we can't touch noun state from followers.
2014-03-07 19:12:27 -08:00
Steve Dee
8aa97708f4 Fix a stupid in c3_log_every 2014-03-07 19:12:21 -08:00
Steve Dee
1e10cd5d95 Clean up connections
The code seems much less racy now.
2014-03-07 20:00:44 +00:00
Steve Dee
008558a1f7 WIP hand-rolled parsing, read side 2014-03-06 08:59:20 -08:00
C. Guy Yarvin
a7055224fa Various HTTP client fixes. 2014-02-26 17:58:40 -08:00
C. Guy Yarvin
54ed2bdcb0 More C files. 2014-02-26 16:40:53 -08:00
Steve Dee
d7e4c46150 Revert "Revert "Merge remote-tracking branch 'urbit/master' into master""
This reverts commit dc6f72fa0a8ff2097b1e9c900ebec444c0d4c24f.
2014-02-25 12:18:07 -08:00
Steve Dee
de5048e895 Revert "Merge remote-tracking branch 'urbit/master' into master"
This reverts commit d52d2835b96f89e7ebbe5392c99f1483d165ee0b, reversing
changes made to 58838ea246e52c064719edc56e29b6a1ba713fdf.

Conflicts:
	Makefile
2014-02-24 11:27:57 -08:00
Steve Dee
9b992ae438 Merge remote-tracking branch 'urbit/master' into master
Conflicts:
	v/loop.c
2014-02-24 10:45:10 -08:00
Steve Dee
a957cd649e WIP cleanup and fixes 2014-02-18 16:48:46 -08:00
Steve Dee
704dfd6d85 Write term and log type, in preparation for raft 2014-02-17 17:56:42 -08:00
C. Guy Yarvin
6c22acbfa7 Some memory palliatives. 2014-02-14 17:35:22 -08:00
Steven Dee
bb9a4858d6 No lseek64 on OpenBSD 2014-01-30 10:37:58 -08:00
C. Guy Yarvin
a5fee9936b Various fixes and improvements. 2014-01-27 11:09:56 -08:00
C. Guy Yarvin
3a59ebb210 dtpt and dtsg are gone. 2014-01-04 19:56:33 -08:00
C. Guy Yarvin
431fed0f71 About to remove cnbc and cnhx. 2014-01-04 19:18:06 -08:00
C. Guy Yarvin
2d9019a93d Hint refactoring. 2014-01-04 14:57:44 -08:00
C. Guy Yarvin
d4ebecde86 Fix a %bull bug. 2014-01-04 12:19:59 -08:00
C. Guy Yarvin
10ce9fc5a9 Steady before great ~ renaming. 2014-01-04 11:30:20 -08:00
C. Guy Yarvin
b5eacfa6b9 Preparing to install wt?z. 2014-01-03 18:59:56 -08:00
C. Guy Yarvin
cd946cddfb Preparing to redo wts. 2013-12-31 12:11:16 -08:00
C. Guy Yarvin
8175d0ef07 New model bull. 2013-12-31 11:30:37 -08:00
C. Guy Yarvin
2b78e93642 Various %bull-related updates. 2013-12-26 12:12:07 -05:00
C. Guy Yarvin
4635526a2b Double verified; about to change togas. 2013-12-20 14:26:23 -08:00
C. Guy Yarvin
ef0676c5d2 %brhx is prepared to replace %brtr. 2013-12-17 17:47:20 -08:00
C. Guy Yarvin
8aa84c3d6c Fully done with cnts. Verified. 2013-12-15 01:48:16 -08:00
C. Guy Yarvin
a440b80f6e Double verified, early hxts. 2013-12-15 00:23:23 -08:00
C. Guy Yarvin
3e739d5e69 Add ~_ for type diagnosis. 2013-12-04 14:30:09 -08:00
C. Guy Yarvin
a4baea40fd Fix a bunch of memory leaks and stuff. 2013-11-11 23:09:11 -08:00
C. Guy Yarvin
25b7ed9a9c Various fixes and improvements. 2013-10-26 20:55:53 -07:00
Steven Dee
1a6f18d09d Consider both FreeBSD and OpenBSD "bsd" 2013-10-07 12:31:41 -04:00
C. Guy Yarvin
ab35a08774 Development "branch" goes back to production. 2013-10-06 00:44:07 -07:00
Lev Serebryakov
018cfe5eaf Quick'n'dirty port to FreeBSD (checked on FreeBSD 9.2/amd64) 2013-10-02 18:44:22 +04:00
Christian Carter
3af3130bdc Cleaning up old code 2013-09-28 13:21:18 -07:00