Raymond Pasco
b7036d60ca
#define _WITH_DPRINTF for BSD systems
2016-12-13 05:43:53 -08:00
Raymond Pasco
c0b9da9eda
_http_write_ports_file(): remove indirect C malloc
2016-12-13 05:32:23 -08:00
Raymond Pasco
f72515618f
Remove stray debug printf
2016-12-12 15:43:15 -08:00
Raymond Pasco
187d844cad
Merge branch 'back-http-ports' into maint-0.4
...
Backport of .http.ports feature
2016-12-12 15:06:49 -08:00
Raymond Pasco
5ab32ac055
Use assumed-secure for the "secure" port
2016-12-12 15:06:13 -08:00
Raymond Pasco
8535def3b2
Write .http.ports file
2016-12-12 15:06:13 -08:00
C. Guy Yarvin
cbfc627d17
Don't print czar ip unless it changes.
2016-11-01 12:58:48 -04: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
6d2c60aa7a
Version #define scaffolding
2016-10-25 10:54:00 -04:00
Raymond Pasco
d06bdd5ad1
Time out czar IPs after 5 minutes
2016-10-25 10:51:10 -04:00
Anton Dyudin
eb69bf45d2
fix -t error message
2016-10-24 17:23:43 -07:00
Anton Dyudin
3b1b0181ce
add -G 0w-ca.rrier.-gene.rator flag
2016-10-24 11:56:44 -07:00
Joseph Bryan
2b9f103a0d
updates _term_it_show_clear() to use ESC[K instead of ESC[J
2016-10-19 00:00:25 -04:00
Joseph Bryan
99dde17893
removes obsolete history-eating bug-fix from _term_it_show_clear()
2016-10-19 00:00:19 -04:00
Raymond Pasco
3400efdcea
Remove redundant check for existing pier
...
that breaks non-galaxy startup...
2016-08-30 20:14:44 -04:00
Raymond Pasco
b8dcc5f17d
Fetch pill from bootstrap site if not specified
2016-08-29 15:30:27 -04:00
Raymond Pasco
3434f2bd9c
Move pier directory creation to beginning of boot
...
This is the smallest refactor that works.
2016-08-29 14:12:27 -04:00
Raymond Pasco
a7e32f3359
Add usage info for -A and -B options
2016-08-29 13:11:10 -04:00
Raymond Pasco
228b0fb20d
Add -A option to locate initial galaxy sync files
2016-08-29 13:04:57 -04:00
Raymond Pasco
b03519f64f
Delete giant commented-out mess mentioning U3_LIB
...
We have version control so we don't have to comment out things that
we've refactored into another function.
This is mainly to get rid of the false positive when I grep for U3_LIB.
2016-08-28 14:49:56 -04:00
Raymond Pasco
7291f72f59
Use pil_c rather than U3_LIB to boot pill
2016-08-28 13:12:49 -04:00
Raymond Pasco
25b2c007db
Use pil_c rather than U3_LIB to copy pill
2016-08-28 13:12:34 -04:00
Raymond Pasco
1f8050aede
Don't check U3_LIB for pills
2016-08-28 13:12:14 -04:00
Raymond Pasco
30f590c7a8
Remove unused u3_System global variable
2016-08-28 12:39:22 -04:00
Raymond Pasco
59cfe3303e
Double entropy pool size
2016-08-11 10:22:26 -07:00
Raymond Pasco
983c2132ce
Read in events only up to the last checkpoint
2016-08-03 17:30:28 -07:00
Raymond Pasco
a05a424053
Merge remote-tracking branches 'asgardiator/master', 'cgyarvin/slowcheck', 'joemfb/meta-keys' and 'philipcmonk/link-fix'
...
Update reference to urbit-meta to use dozbud
Tone down checkpointing frequency to every 2 minutes
Add term.c support for M-. and M-backspace
Update install instructions web link
2016-07-11 23:40:27 -07:00
Joseph Bryan
166431ed99
adds term support for meta-. and meta-backspace
2016-07-02 22:49:40 -04:00
C. Guy Yarvin
3947088354
Change checkpointing from 15 to 120 seconds.
2016-07-01 10:10:41 -07:00
John Franklin
fc06bec143
Call uv_close() on UV_EOF in _cttp_ccon_kick_read_cryp_cb() and _cttp_ccon_kick_read_clyr_cb(). This addresses https://github.com/urbit/urbit/issues/254 .
2016-06-07 18:28:34 -05:00
Philip C Monk
ea3cbd5474
remove "connection to x.x.x.x" printf
2016-04-18 18:38:27 -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
Anton Dyudin
3d05538f75
add %chis for local-request backwards compatibility
2016-03-31 10:36:58 -07:00
Philip C Monk
37223edb4b
loopback fix
2016-03-09 14:19:11 -05:00
Dan Haffey
26144fedde
Shorter spinner delay after previous spinful event.
2016-02-20 14:35:06 -08:00
C. Guy Yarvin
6a72b535a9
Don't unlock mutex when exiting; it crashes for some reason.
2016-02-19 14:03:32 -05:00
Raymond Pasco
81ba11cd7d
Merge branch 'pills'
...
Work correctly in refactored repository
NB: partially unfinished
2016-02-15 06:10:43 -05:00
Raymond Pasco
eb350a7e17
Merge branch 'switch-on-crub'
...
Accept more characters for carrier generator, in preparation for crub
2016-02-15 06:08:19 -05:00
Raymond Pasco
bb5e995202
Look for pill in build dir, arvo in arvo/
...
also .gitignore them
BUG: length of arvo sources directory is hardcoded!
2016-02-15 06:06:56 -05:00
Philip C Monk
27c10801c6
checkpoint
2016-02-11 14:44:28 -05:00
Raymond Pasco
101673f511
Merge tag 'hoon-151' into pills
...
Hoon 151 merge
2016-02-10 15:16:45 -05:00
Raymond Pasco
aa4eab1375
accept more characters in _sist_text()
2016-02-08 19:48:04 -05:00
C. Guy Yarvin
35a385e81c
Fully shifted over to modern typed namespace.
2016-02-03 20:51:01 -08:00
Raymond Pasco
282b933882
support only U3_LIB, no hardcoded urb/
2016-02-03 14:31:29 -05:00
Raymond Pasco
fda8ff38a4
support U3_LIB define
2016-01-28 08:28:13 -05:00
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
Dan Haffey
5a23bbfda1
No signals on the spinner thread.
2015-12-16 23:40:34 -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
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
C. Guy Yarvin
9083af04df
Terminate on SIGTSTP.
2015-11-27 10:52:24 -08:00
C. Guy Yarvin
69b8603fa2
URL printing; doc and usability fixes.
2015-11-20 18:10:45 -05:00
Raymond Pasco
2830d2cddb
Allow optional pier directory argument with -w -t
2015-11-19 16:01:58 -05:00
Charlie Cummings
66e2eb985e
ignore dropped requests
2015-11-18 21:36:38 -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
Charlie Cummings
82359145dd
more args
2015-11-16 17:34:49 -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
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
C. Guy Yarvin
1ba234cee2
Fix typos.
2015-10-19 13:59:09 -07:00
C. Guy Yarvin
04d916aa59
Eliminate hasty chroot.
2015-10-17 20:29:59 -07:00
C. Guy Yarvin
1a47b2d5b8
Merge cgyarvin fixes into test.
2015-10-17 13:01:38 -07:00
John Franklin
d73fdfae61
Generalize the message if trying to use -c or -w on an existing pier.
2015-10-12 23:32:16 -05:00
C. Guy Yarvin
02277f6ca0
Merge branch 'test' of https://github.com/urbit/urbit into karpi
...
Conflicts:
urb/urbit.pill
2015-10-12 17:10:56 -07:00
C. Guy Yarvin
e92012984c
Doc fixes and changes to match.
2015-10-09 18:31:07 -07:00
Raymond Pasco
26e0060cd1
C89 compatible for loop
2015-10-08 13:17:15 -04:00
chc4
f265f80ab3
Update usage
...
I didn't list most of the ones that I never heard about before (-r, -l, -b)
2015-10-07 00:39:38 -04:00
Raymond Pasco
829d65b40a
Check if directory already exists when using -c
2015-10-01 13:23:29 -04:00
Raymond Pasco
48865ce5f9
Merge remote-tracking branch 'burtonsamograd/ignore-emacs-temp-files' into test
2015-09-28 21:23:50 -04:00
Burton Samograd
f870a09d9d
Tabs -> spaces.
2015-09-28 19:10:22 -06:00
Burton Samograd
56b0892ba9
Ignore #file#, which are emacs temp work files.
2015-09-28 19:07:28 -06:00
Charlie Cummings
2f2144e8c5
Ask for ticket, close #366
2015-09-27 19:07:26 -04:00
Charlie Cummings
98760f8e38
hide libuv socket errors
2015-09-04 18:49:09 -04:00
Charlie Cummings
ea3b2a3f83
optional sig
2015-08-24 19:23:13 -04:00
Philip C Monk
7cce82059d
off-by-one error when checking for deleted childs
...
fixes #365
2015-07-14 17:07:12 -04:00
Anton Dyudin
c428adedaa
aesthetic improvement
2015-07-13 17:46:37 -07: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