Commit Graph

377 Commits

Author SHA1 Message Date
C. Guy Yarvin
4651852406 Eliminate snubbing. 2015-12-26 06:44:32 -05:00
C. Guy Yarvin
d58b0b5894 Rename ugly non-runes. 2015-12-20 21:05:19 -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
62573101a8 Correct last checkin. 2015-11-28 13:11:09 -08:00
C. Guy Yarvin
df4a161679 About to switch over to new, modern fino. 2015-11-27 15:00:54 -08:00
C. Guy Yarvin
69b8603fa2 URL printing; doc and usability fixes. 2015-11-20 18:10:45 -05:00
John Franklin
8201592594 Add command line option to report urbit build info. 2015-11-16 17:34:49 -05:00
vere
7f1b5d2ae8 Proper double-word merge. 2015-11-06 22:08:58 +00:00
C. Guy Yarvin
1fedcb9b72 Profiling fix 2015-10-26 17:51:46 -04:00
John Franklin
0fdb149c59 Fix some comments in vere.h. No changes to the compiled code. 2015-10-15 12:51:47 -05:00
Joan Torres
012dabaf6a Add ++skid jet 2015-09-19 10:03:13 -07:00
Joan Torres
dfc529f274 Add ++reap jet 2015-09-16 13:50:36 -07:00
Joan Torres
70b9e5d9c2 Add ++murn jet 2015-09-15 13:59:00 -04:00
Alex Higgins
01faf1fa45 Jet ++xeb 2015-08-27 05:31:10 -05:00
Raymond Pasco
884b96831b Merge remote-tracking branch 'max19/newfp' into test
Conflicts:
	urb/urbit.pill
2015-08-05 12:37:30 -04: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
Max G
ac23f4ac70 a bunch of stuff 2015-07-29 23:43:55 +03:00
Max G
24c0a807ab ++rq jets 2015-07-29 19:53:45 +03:00
Max G
6fabd7c565 ++rs jets 2015-07-29 18:59:21 +03:00
Max G
05e6a96bd5 ++rd jets 2015-07-29 06:56:02 +03:00
Raymond Pasco
ae0b606a42 Merge branch 'memory-bug' into test 2015-07-15 15:33:56 -04:00
Raymond Pasco
ffd2abbbe8 ifdef out watermark stuff 2015-07-15 15:14:41 -04:00
C. Guy Yarvin
8056960881 Initial commit of memory-bug. 2015-07-15 15:14:41 -04:00
Raymond Pasco
a649440ed2 set difference jets 2015-07-02 01:25:13 -04: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
2ca5ae560d Another experimental renaming. 2014-11-04 16:53:07 -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
35988a0ddf Merge branch 'test' into shell
Conflicts:
	urb/urbit.pill
2014-11-04 15:30:16 -05: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
C. Guy Yarvin
9659726fbf All pointers now eradicated. 2014-11-04 10:39:56 -08:00
C. Guy Yarvin
49bf64733d Relative pointers in hashtable. 2014-11-03 17:02:55 -08:00
C. Guy Yarvin
c7b4917a75 Convert road markers to relative pointers. 2014-11-03 16:47:07 -08:00
C. Guy Yarvin
f520669806 Make it boot on linux. 2014-11-03 15:07:46 -08:00
C. Guy Yarvin
7e3094f5a1 Various fixes and improvements. 2014-11-01 15:13:18 -07:00
C. Guy Yarvin
ff243f1280 Various fixes and improvements. 2014-10-31 15:36:01 -07:00
C. Guy Yarvin
7ad5879c9c Various fixes and improvements. 2014-10-30 14:40:05 -07:00
C. Guy Yarvin
109053ecf1 Various fixes and improvements. 2014-10-28 10:36:22 -07:00
C. Guy Yarvin
9eb236eeda Clean up some data structures. 2014-10-25 15:11:49 -07:00
C. Guy Yarvin
30392202a9 Various fixes and improvements. 2014-10-25 14:28:14 -07:00
C. Guy Yarvin
acc86923b6 Performs a full :solid. 2014-10-25 12:30:36 -07:00
C. Guy Yarvin
142c4f5c86 Kick with new structures. 2014-10-24 20:49:27 -07:00
C. Guy Yarvin
b563c9c63e Refactored jet control. 2014-10-24 14:04:44 -07:00
C. Guy Yarvin
a9016538e7 New cold jet storage. 2014-10-23 17:35:26 -07:00
C. Guy Yarvin
0d407bcac8 Add hoon jet management code. 2014-10-21 13:53:27 -07:00
C. Guy Yarvin
5eebba428f New jet dashboard noun. 2014-10-19 16:47:49 -07:00
Ubuntu
1cd74683f0 removed clay timer from unix.c 2014-10-16 22:54:01 +00:00
Ubuntu
383ab05977 added %time vane 2014-10-15 02:25:23 +00:00
C. Guy Yarvin
8fb087b5ae Various fixes and improvements. 2014-10-14 19:02:37 -07:00
C. Guy Yarvin
961cae4931 Clean up a bunch of debug stuff. 2014-10-12 00:17:06 -07:00
C. Guy Yarvin
7747a69d35 Running version. 2014-10-11 23:40:31 -07: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
014b032f8e About to test garbage collector. 2014-10-08 19:20:57 -07:00
C. Guy Yarvin
b64ee70c24 Now boots and runs a clean :solid. 2014-10-08 15:16:24 -07:00
C. Guy Yarvin
3c6398c106 Fix a refcount bug. 2014-10-06 10:17:33 -07:00
C. Guy Yarvin
27c67acca4 Improved signal handling. 2014-10-04 14:57:40 -07:00
C. Guy Yarvin
18ff192e3e Various fixes and improvements. 2014-10-03 10:44:08 -07:00
C. Guy Yarvin
3dcd76e477 Various fixes and improvements. 2014-09-30 23:34:30 -07:00
C. Guy Yarvin
9f7d3f43b4 Various fixes and improvements. 2014-09-30 09:45:51 -07:00
C. Guy Yarvin
8a98648f7a Various fixes and improvements. 2014-09-29 11:28:20 -07:00
C. Guy Yarvin
0b885cbf3d Fix reversing allocation. 2014-09-28 14:56:17 -07:00
C. Guy Yarvin
e8bdd555a9 Various timing experimenten. 2014-09-27 11:37:04 -07:00
C. Guy Yarvin
7426fcb565 Various fixes. 2014-09-26 19:14:24 -07:00
C. Guy Yarvin
ba9e0a4828 Profiling etc. 2014-09-26 17:27:35 -07:00
C. Guy Yarvin
7b357086d8 Stuff and nonsense. 2014-09-26 12:07:35 -07:00
C. Guy Yarvin
c192cc244e Fix some more bugs. 2014-09-25 11:32:07 -07:00
C. Guy Yarvin
3ae8f14c9c Checkpointing sorta works. 2014-09-24 00:38:37 -07:00
C. Guy Yarvin
4a7f146b4a Various fixes and improvements. 2014-09-23 11:58:57 -07:00
C. Guy Yarvin
465562d921 Various fixes and improvements. 2014-09-23 10:11:59 -07:00
C. Guy Yarvin
6ffa794e8f Stashing. 2014-09-22 09:10:57 -07:00
C. Guy Yarvin
7c00827c56 Still chasing a math jet bug. 2014-09-18 12:07:36 -07:00
C. Guy Yarvin
f5507bfe65 Furthur into boot. 2014-09-17 12:56:55 -07:00
C. Guy Yarvin
ea0d5ed99a Debugging stash. 2014-09-15 16:56:37 -07:00
C. Guy Yarvin
111580bb52 Stashing. 2014-09-14 18:45:49 -07:00
C. Guy Yarvin
67da011524 Slightly less crashy. 2014-09-11 17:41:26 -07:00
C. Guy Yarvin
fa6173f4d2 Ready to test. 2014-09-11 05:34:00 -07:00
C. Guy Yarvin
a71a657680 compiles and links. 2014-09-10 17:01:32 -07:00
C. Guy Yarvin
57278a5a1d More renaming. 2014-09-10 09:45:39 -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
ad871a1639 q but not w. 2014-09-08 21:42:55 -07:00
C. Guy Yarvin
df6bbc8fc4 Compatible with k.164. 2014-09-08 19:35:25 -07:00
C. Guy Yarvin
785f25d7a9 Jets almost loads. 2014-09-06 17:09:29 -07:00
C. Guy Yarvin
af5128c851 Closer to running a jet. 2014-09-06 15:39:28 -07:00
C. Guy Yarvin
2578107992 With a simple dashboard. 2014-09-06 13:39:13 -07:00
C. Guy Yarvin
7cfdd36fab Change u2 to u3. 2014-09-05 13:13:24 -07:00
C. Guy Yarvin
f0d6edce20 A bunch of restructuring. 2014-09-05 12:55:16 -07:00
C. Guy Yarvin
14c22cf9da Yes. 2014-09-04 10:03:38 -07:00
C. Guy Yarvin
68715087b2 More reorgs. 2014-09-03 20:44:53 -07:00
C. Guy Yarvin
2cc897c410 Last remains of old jet mangling. 2014-09-03 20:10:43 -07:00
C. Guy Yarvin
6fa6b15cb8 More renaming, etc. 2014-09-03 19:28:15 -07:00
C. Guy Yarvin
bd6bfa1fad Finish renaming etc. 2014-09-03 14:33:18 -07:00
C. Guy Yarvin
6d52238ac1 Considerable refactorings. 2014-09-02 22:46:55 -07:00
C. Guy Yarvin
b4ce2f98f5 Update cq names. 2014-09-02 20:36:29 -07:00
C. Guy Yarvin
2d9af9f04e Before jet renaming. 2014-09-02 19:58:36 -07:00
C. Guy Yarvin
882e8e226b Ready to switch over mug. 2014-09-02 13:13:12 -07:00
C. Guy Yarvin
0504873d42 Better to commit than stash. 2014-09-02 11:21:38 -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
3ff6a88ca6 Various fixes and improvements. 2014-08-26 09:12:45 -07:00
C. Guy Yarvin
af5352fc1a Incorporate HAMT into meme.c; delete old BPT. 2014-08-25 14:35:37 -07:00
C. Guy Yarvin
66bd19ed0a Various fixes and improvements. 2014-08-25 02:58:38 -04:00
C. Guy Yarvin
a5a89eb3eb No longer used. 2014-08-22 11:46:19 -04: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
dfe2c1aab2 Nouns and memory appear to work properly... 2014-08-21 21:40:06 -04:00
C. Guy Yarvin
8902578d4f Debugging meme. 2014-08-21 09:10:03 -04:00
C. Guy Yarvin
3a45cdf08f Adjust refcounts in u2_cj_*. 2014-08-20 17:24:29 -04:00
C. Guy Yarvin
d9962abb69 All jets now compile cleanly. 2014-08-20 17:18:34 -04:00
C. Guy Yarvin
59c7d865dc Stashing. 2014-08-20 13:14:51 -04:00
C. Guy Yarvin
f06ba7242a Convert tier 5 to new noun layer. 2014-08-20 02:22:41 -04:00
C. Guy Yarvin
25cd41d204 Tier 4. 2014-08-20 00:30:55 -04:00
C. Guy Yarvin
f347b84db5 Adapt tiers 1 and 2 to new jets. 2014-08-19 17:49:16 -04:00
C. Guy Yarvin
c67a1e5c51 Just a stash. 2014-08-19 15:01:52 -04:00
C. Guy Yarvin
b73db123f5 Stashing, basically. 2014-08-18 14:21:44 -04:00
C. Guy Yarvin
fe45c85bf4 Tested allocator. 2014-08-18 02:10:46 -04:00
C. Guy Yarvin
2b5ce7ae10 Full meme layer ready to replace coal. 2014-08-16 23:57:54 -04:00
C. Guy Yarvin
51e3600238 Noun read routines compile. 2014-08-16 20:20:24 -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
87be8b64b4 Install another bandaid. 2014-08-06 13:15:20 -07:00
C. Guy Yarvin
5c3223ba1f More memory pls. 2014-07-31 13:23:02 -07:00
C. Guy Yarvin
64be83c562 Various fixes and improvements. 2014-07-30 10:53:30 -07:00
pcmonk
c4b8f78afb %send effect does not need to drop through anymore 2014-07-09 14:42:08 -07:00
C. Guy Yarvin
75e61cf916 Various fixes and improvements. 2014-07-05 14:26:35 -07:00
C. Guy Yarvin
e8d7ead9ba Various fixes and improvements. 2014-06-30 18:15:56 -07:00
C. Guy Yarvin
b2cabcc281 Trailing whitespace and stuff. 2014-06-26 21:02:05 -07:00
C. Guy Yarvin
e21d615beb %ames to %gall as /q/gm/[app]/[logo]. 2014-06-26 05:18:30 -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
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