Commit Graph

48 Commits

Author SHA1 Message Date
Joe Bryan
00bf8a85fb 3. resumes without boot params 2018-11-21 16:34:20 -05:00
Joe Bryan
92fca35aec alphebetizes u3_opts and _main_getopt() defaults 2018-11-16 19:28:29 -05:00
Joe Bryan
0130d72aed replaces -k with -K (kernel version) 2018-11-16 19:21:52 -05:00
Joe Bryan
b3757a243f renames -L (local networking) from loh to net 2018-11-16 19:18:24 -05:00
Joe Bryan
82b3a280b5 removes -t (ticket), -s, and -S (secret/prompt) 2018-11-16 19:03:42 -05:00
Joe Bryan
81a5193255 removes -n ("unix hostname", for raft) 2018-11-16 17:56:17 -05:00
Joe Bryan
cb0c679e6c removes -X ("skip last event") 2018-11-16 17:56:07 -05:00
Joe Bryan
46ca578fb0 removes -M ("memory madness") 2018-11-16 17:55:56 -05:00
Joe Bryan
418925ac5b removes u3_lo declarations 2018-11-15 01:42:07 -05:00
Joe Bryan
03150a4bff removes u3_sist declarations 2018-11-13 18:54:54 -05:00
Joe Bryan
9cb3c797af removes u3_raft declarations 2018-11-13 18:54:54 -05:00
Joe Bryan
218ccbcefe removes old event-log declarations 2018-11-13 18:54:54 -05:00
Joe Bryan
f6943036bd removes telnet declarations 2018-11-13 18:47:39 -05:00
C. Guy Yarvin
976a9e4d2a Booting galaxies again. 2017-06-11 22:46:25 -07:00
C. Guy Yarvin
1af4895a89 Adjust %sith card. 2017-06-10 22:30:49 -07:00
C. Guy Yarvin
73f3be1e91 Network communication between galaxies. 2017-06-03 21:53:34 -07:00
C. Guy Yarvin
e882a454dd Positioned to load brass style. 2017-06-03 13:34:37 -07:00
C. Guy Yarvin
e619bad858 Matches the piaf arvo branch. 2017-06-01 10:54:28 -07:00
C. Guy Yarvin
1852393bc4 Coherent boot without -A.
Only works with pills generated by the `coherent` arvo branch.
2017-04-15 15:14:19 -07:00
Raymond Pasco
e047171342 remove libuvs 2017-03-10 08:42:41 -05:00
Raymond Pasco
1a7d56dceb remove timers 2017-03-10 08:42:32 -05:00
Raymond Pasco
f2c37e4d93 dirk card 2017-03-08 07:13:47 -05:00
Raymond Pasco
4fcf6faf68 Factor save 2017-03-03 09:01:04 -05:00
Raymond Pasco
63438c4b72 Factor clay 2017-03-03 09:01:04 -05:00
Raymond Pasco
3751e9212d Factor behn 2017-03-03 09:01:04 -05:00
Raymond Pasco
e0ac5e2849 Skeleton of client protocol in king.c 2017-03-03 09:01:01 -05:00
C. Guy Yarvin
36a6177226 Remove old event system; fix precommits.. 2017-01-26 20:17:40 -08:00
C. Guy Yarvin
f30fc4b218 New event system; activate with -j. 2017-01-17 11:20:07 -08:00
Raymond Pasco
aa429a935a Merge branch 'comment-cap-v' 2016-12-12 12:55:00 -08:00
Anton Dyudin
76501c7c75 fix -V description 2016-12-12 12:54:41 -08:00
C. Guy Yarvin
7547d91100 Remove -m option; make new boot the default. 2016-12-08 11:31:09 -08:00
C. Guy Yarvin
2951c0bdf5 Plastic boots with -m. 2016-12-05 16:12:52 -05:00
Raymond Pasco
3c86f46df5 Merge branches 'czar-expire' and 'version-scaffolding', remote-tracking branches 'joemfb/line-eating' and 'ohAitch/flag-g-generator'
Expire czar IPs after 5 minutes
Version number scaffolding for release
Fix line-munching term.c bug
Add -G to ease scripted creation of live galaxies
2016-10-25 11:02:59 -04:00
Raymond Pasco
d06bdd5ad1 Time out czar IPs after 5 minutes 2016-10-25 10:51:10 -04:00
Anton Dyudin
3b1b0181ce add -G 0w-ca.rrier.-gene.rator flag 2016-10-24 11:56:44 -07:00
Raymond Pasco
228b0fb20d Add -A option to locate initial galaxy sync files 2016-08-29 13:04:57 -04:00
Raymond Pasco
30f590c7a8 Remove unused u3_System global variable 2016-08-28 12:39:22 -04:00
Raymond Pasco
be4678ff0a Merge remote-tracking branches 'philipcmonk/new-lens' and 'galenwp/arch'
http.c changes for urbctl API
add Arch linux to readme
2016-04-14 15:09:15 -04:00
Max G
9d221ddebd Fixed pipelining on incoming http requests
Associated http-parser with connection instead of request; fixed queuing bug
2016-04-07 21:27:53 +03:00
Dan Haffey
26144fedde Shorter spinner delay after previous spinful event. 2016-02-20 14:35:06 -08:00
Philip C Monk
27c10801c6 checkpoint 2016-02-11 14:44:28 -05:00
Raymond Pasco
c9c09bf99e Stub in -B bootstrap location option 2016-01-26 12:50:32 -05: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
John Franklin
8201592594 Add command line option to report urbit build info. 2015-11-16 17:34:49 -05: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
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