Commit Graph

2075 Commits

Author SHA1 Message Date
Raymond Pasco
71d8f1228d Make sure specified pill exists 2016-01-26 16:36:22 -05:00
Raymond Pasco
02f656b233 sanity check -B option 2016-01-26 16:31:26 -05:00
Raymond Pasco
c9c09bf99e Stub in -B bootstrap location option 2016-01-26 12:50:32 -05:00
Raymond Pasco
9963c0fe9f Merge branches 'breach-20160113' and 'cleanup'
Restore correct first-parentage (a few days wrong is better than a few months)
Remove an ignored empty file, lie less in talk doc
2016-01-17 12:49:45 -05:00
Philip C Monk
ce5daf7e09 Merge remote-tracking branches 'ray/fixlore', 'my/loremark', 'my/fancy-autoreload' and 'my/fixmerge' 2016-01-13 16:22:51 -05:00
Raymond Pasco
1f3f296a22 Merge branch 'dhaffey-spinner-sigmask', remote-tracking branches 'dhaffey/clay-docs' and 'dhaffey/overflow'
No signals on spinner thread
Accurate filesystem command doc
Leave page fault handler if stack overflow is suspected (closes #354)
2015-12-21 10:44:59 -05:00
Dan Haffey
950bfddd57 Fix stack overflow handling in Linux? 2015-12-17 19:30:44 -08:00
Dan Haffey
5a23bbfda1 No signals on the spinner thread. 2015-12-16 23:40:34 -08:00
Raymond Pasco
ff8cabbfc5 Merge branch 'claydoc-cancel', remote-tracking branch 'dhaffey/spinner'
Add |cancel to clay doc (closes #579)
Add a spinner while events happen (closes #599)
2015-12-16 10:54:40 -05:00
Dan Haffey
0ab8ad4ff5 No spinner delay for %ret. 2015-12-13 13:20:56 -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
Raymond Pasco
9957cc9589 Merge branch 'romeromalaquias-scary-ifdefs'
Pulls preprocessor conditional out of the middle of a ||
2015-12-10 15:03:26 -05:00
Romero Malaquias
51746fa8c5 Avoiding to compile parts of statements with preprocessor conditionals. 2015-12-10 14:58:39 -05:00
Raymond Pasco
7a4651bac5 Merge remote-tracking branches 'ohaitch/fix-spur-print', 'ohaitch/gall-mass-and-kiln-mv', 'ohaitch/wt-nonnoun-mark', 'ohaitch/write-in-kiln', 'dhaffey/prompt-refresh' and 'ohaitch/no-mdy'
Fix dojo backwards path bug
Fix |mass on moons, |mv on everyone (fixes #634)
Print marks in dojo unless they're %noun
write as hood facility rather than own app
Refreshing of prompt line
Down with .mdy, whatever that is
2015-12-08 15:07:18 -05:00
Dan Haffey
d2391e78f8 Restore terminal line length and cursor position on refresh.
This keeps printfs from blowing away the line state (M-m M-m
won't erase your prompt).
2015-12-07 20:48:39 -08:00
Charlie Cummings
0b4ab8b772 fix ++lore and ++role 2015-12-07 19:19:11 -05:00
Raymond Pasco
a1c09592b8 Merge remote-tracking branches 'cgyarvin/nostop' and 'ohaitch/speech-eval'
Abort instead of suspend
No identifier named "speeeeeeeeeeeech"
2015-12-02 19:28:41 -05:00
Raymond Pasco
515fed9c74 Merge commit 'ohaitch/eyre-gc^'
Conflicts:
	urb/urbit.pill
Garbage-collect old connections from eyre (closes #368)
2015-12-02 14:32:57 -05:00
Raymond Pasco
27b148f7ca Merge remote-tracking branch 'ohaitch/mdy-to-md'
.mdy to .md, closes #605
2015-12-02 13:53:04 -05:00
Raymond Pasco
729410a11a Merge remote-tracking branches 'juped/explain-tskt', 'philipcmonk/leap-in-2-network' and 'galenwp/code-white-space'
Explain ^= with a PRNG example
Leap in, chapter 2
Preserve whitespace in <code>
2015-12-02 13:44:33 -05:00
Raymond Pasco
74c34e58df Merge remote-tracking branch 'ohaitch/subtalk'
Hide porches from random passerby
2015-12-01 11:18:08 -05:00
Raymond Pasco
3aacdb196a Merge remote-tracking branches 'dhaffey/tsbr-comment', 'dhaffey/equivalent-rune-docs', 'juped/put-back-tis', 'philipcmonk/urbit-mark', 'dhaffey/tskt-parser' and 'ohaitch/stack-snip'
Conflicts:
	urb/urbit.pill
dhaffey: trivial change
dhaffey: "equivalent to" section in rune docs
juped: put back = in paths, remove =% syntax
philipcmonk: urbit (name) mark
dhaffey: catch invalid =^s in the parser
ohaitch: shorten redundant stack traces
2015-12-01 09:14:59 -05:00
Anton Dyudin
9ecbdef65a inaccurate jet naming 2015-11-28 23:43:37 -08:00
C. Guy Yarvin
9083af04df Terminate on SIGTSTP. 2015-11-27 10:52:24 -08:00
Philip C Monk
d89cdded22 Merge branches 'top-down', 'claydoc-rebase', 'curtis-url-fix' and 'curtis-tutorial-3-4'
Conflicts:
	urb/zod/pub/docs/dev/hoon/tutorial/2-syntax.mdy

added urbit.pill

fixes #563
fixes #574
2015-11-20 18:56:19 -05:00
C. Guy Yarvin
69b8603fa2 URL printing; doc and usability fixes. 2015-11-20 18:10:45 -05:00
Raymond Pasco
61dd1f120b Merge remote-tracking branches 'juped/no-begin' and 'ohaitch/fix-tscn-chronolock'
Deprecates the |begin command (closes #567)
Fixes /=== syntax in dojo always locking to current time (closes #565)
2015-11-20 00:38:08 -05:00
Raymond Pasco
2830d2cddb Allow optional pier directory argument with -w -t 2015-11-19 16:01:58 -05:00
Raymond Pasco
38456edc4e Merge branch 'chc4-http-verbose'
Limit http error printfs to verbose mode only
2015-11-19 11:39:46 -05:00
Charlie Cummings
66e2eb985e ignore dropped requests 2015-11-18 21:36:38 -05:00
Philip C Monk
fa314f414d Merge remote-tracking branch 'ray/contrib-to-master' 2015-11-17 13:51:12 -05:00
Raymond Pasco
2d2d74fcca Merge branches 'makefile-openssl', 'sublime-fixes', 'rsaarelm-docs' and 'ris-improvements', remote-tracking branch 'wasserfuhr/patch-1'
John Franklin: Makefile warning removal (makefile-openssl)
Rainer Wasserfuhr: doc fixes (wasserfuhr/patch-1)
Risto Saarelma: doc fixes (rsaarelm-docs)
Dan Haffey: Sublime mode fixes (sublime-fixes)
            Drum incremental search fixes (ris-improvements)
2015-11-16 18:20:01 -05:00
Dan Haffey
d93489838d Improve sublime arm name indexing.
The previous definition included the leading ++ in the
indexed name, which thwarts "Goto Definition". This also
tweaks the pattern to include arms defined with +-.
2015-11-16 18:15:32 -05:00
Dan Haffey
7481ff553a Fix sublime string highlighting.
Backslashes were throwing it off.
2015-11-16 18:15:32 -05:00
John Franklin
5d77df9fdb Only include/link with /opt/local and /usr/local/opt/openssl if they exist. 2015-11-16 18:10:42 -05:00
Raymond Pasco
12ad098758 Put 'test' on ice for outside contributors 2015-11-16 17:56:21 -05:00
Raymond Pasco
88caf29d20 Merge feature commits from former branch 'test'
John Franklin libuv updating work
John Franklin / Charlie Cummings handy vere options
2015-11-16 17:53:17 -05:00
Raymond Pasco
5e513cc527 Disable building with libuv 1.7.5 by default 2015-11-16 17:41:17 -05:00
John Franklin
1d79185707 Print libuv version in report(). 2015-11-16 17:34:49 -05:00
John Franklin
8201592594 Add command line option to report urbit build info. 2015-11-16 17:34:49 -05:00
Raymond Pasco
e743211baa Mac-specific OpenSSL header location
pretty platform-specific, but hurts nothing on other platforms
2015-11-16 17:34:49 -05:00
Charlie Cummings
82359145dd more args 2015-11-16 17:34:49 -05:00
John Franklin
7328874488 Build with libuv-v1.7.5 2015-11-16 17:34:49 -05:00
John Franklin
0b6d89db5c Add LIBUV-v1.7.5.md 2015-11-16 17:34:49 -05:00
John Franklin
58085e3203 Add outside/libuv-v1.7.5 2015-11-16 17:34:48 -05:00
Philip C Monk
975fb71bb8 Merge remote-tracking branches 'anton/bad-desk-escape' and 'curtis/trivial' into pending 2015-11-13 14:44:53 -05:00
Philip C Monk
df670cb7ee Merge branch 'forward-port-jfranklin9000-test', remote-tracking branches 'rsaarelm/master', 'curtis/trivial', 'anton/cord-paths', 'anton/no-treegen-heads', 'anton/md-pam' and 'anton/tree-header-fragment' into pending
Ported jfranklin9000/test forward to master in 'forward-port-jfranklin9000-test'.

Fixes #538
2015-11-10 15:12:45 -05:00
John Franklin
48c0e6e149 Print normal usage command when trying to create an existing planet/comet. 2015-11-10 15:12:03 -05:00
John Franklin
186ce78a03 Re-add normal urbit usage instructions to README.md. 2015-11-10 15:12:03 -05:00
vere
7f1b5d2ae8 Proper double-word merge. 2015-11-06 22:08:58 +00:00