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
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