Commit Graph

2502 Commits

Author SHA1 Message Date
C. Guy Yarvin
1f5ed490a7 Merge commit 'f4bd2f' into cabclean 2015-12-20 14:50:13 -08:00
C. Guy Yarvin
69c3c811b6 Merge commit 'f59ac05' into cabclean 2015-12-20 14:42:33 -08:00
C. Guy Yarvin
483320b604 Merge commit 'f19e0ae' into cabclean 2015-12-20 14:09:44 -08: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
C. Guy Yarvin
b22e512786 See last commit. 2015-12-13 23:00:48 -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
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
C. Guy Yarvin
5297707719 Properly disable ap jets. 2015-12-12 16:35:35 -08:00
C. Guy Yarvin
cd6b7a3498 Replaced %wt macros. 2015-12-12 04:39:13 -08:00
C. Guy Yarvin
c80cfe27a2 %kthp set up. 2015-12-11 21:01:41 -08:00
C. Guy Yarvin
1f58424cdf %kthp to %kthz. 2015-12-11 20:48:54 -08:00
C. Guy Yarvin
dea5e57fb5 Eradicate %kthx. 2015-12-11 20:20:25 -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
C. Guy Yarvin
3fa4da229c Fixed trap bug. Still traditional syntax. 2015-12-09 17:05:01 -08:00
C. Guy Yarvin
7f0312b8b4 With new type printer. 2015-12-09 15:24:29 -08: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
C. Guy Yarvin
834a76a9a2 Merge remote-tracking branch 'upstream/master' into cabdone 2015-12-05 13:37:28 -08: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
b87a4080fc ++heal fully updated. 2015-11-28 15:07:38 -08:00
C. Guy Yarvin
62573101a8 Correct last checkin. 2015-11-28 13:11:09 -08:00
C. Guy Yarvin
db4188d105 Fixed up weird broken find. 2015-11-28 13:08:52 -08:00
C. Guy Yarvin
12be0be7c2 Fino jetted. 2015-11-28 06:03:01 -08:00
C. Guy Yarvin
3e24182ee9 Ready to switch over to new find/fino. 2015-11-27 15:13:40 -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
8c9bbb464f In 161, new limb, cleansed of tmp structures. 2015-11-27 13:59:32 -08:00
C. Guy Yarvin
3abf0cee35 Now back to generating trivial %|. 2015-11-27 13:10:28 -08:00
C. Guy Yarvin
5791716cfa 162 cleansed of %| limbs. 2015-11-27 12:51:28 -08:00
C. Guy Yarvin
6748e109dc Advanced to stage 162 with basic, non-functional ++limb changes. 2015-11-27 12:29:33 -08:00
C. Guy Yarvin
e7bf9b5452 Removed unused code. 2015-11-27 11:37:06 -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