Commit Graph

380 Commits

Author SHA1 Message Date
Raymond Pasco
228b0fb20d Add -A option to locate initial galaxy sync files 2016-08-29 13:04:57 -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
30f590c7a8 Remove unused u3_System global variable 2016-08-28 12:39:22 -04:00
Brandon Curtis
5e9f4470c7 Use U3_OS_LoomBits To Set Reserved Memory Size
The size and starting position of Urbit's reserved memory block is set by `U3_OS_LoomBits` and `U3_OS_LoomBase` in `include/c/portable.h`.

`U3_OS_LoomBase` is referenced in `include/noun/allocate.h` and sets the position in memory of u3_Loom.  This is good.

However, `U3_OS_LoomBits` is not actually used to set the size of the reserved memory block.  Instead:

in `include/allocate.h`,
 - `u3a_bits` is defined
 - `u3a_bits` → `u3a_bytes`
 
in `noun/manage.c`, 
 - `u3a_bytes` → `len_w` in `_cm_init()`
 - `len_w` sets the reserved memory block size

This proposal puts `U3_OS_LoomBits` back to work by defining `u3a_bits` with it.
2016-08-19 04:55:06 -07:00
Philip C Monk
d8ebde1a69 update openbsd c3_rand to use 512 bits of entropy 2016-08-12 14:58:52 -04:00
Raymond Pasco
f3547e7ac4 Merge branch 'jet-aes', remote-tracking branch 'dhaffey/burn-zeroing'
AES, Ed25519, and ++rep jets
Prevent ++burn:ut jet from zeroing non-constants
2016-08-10 15:00:51 -07:00
Raymond Pasco
08994156e1 Add missing jet for ++rep
(very ghetto)
2016-08-10 09:34:43 -07:00
Raymond Pasco
1d1c3f962c Jet murmur3 2016-08-03 17:49:44 -07:00
Dan Haffey
2311b3ee82 Fix ++peek:ut jet semi-discrepancy 2016-08-01 02:00:26 -07:00
Raymond Pasco
af012bab8a Jet AES ECB and CBC modes 2016-07-20 11:25:05 -07:00
Joseph Bryan
166431ed99 adds term support for meta-. and meta-backspace 2016-07-02 22:49:40 -04:00
Raymond Pasco
4a9d61607f Jet shar:ed curve25519 shared secret arm 2016-05-24 12:00:35 -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
Raymond Pasco
e9a429fbdd Activate ++lune jet 2016-03-03 00:06:24 -05: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
101673f511 Merge tag 'hoon-151' into pills
Hoon 151 merge
2016-02-10 15:16:45 -05:00
C. Guy Yarvin
fd001d55ef Keyword/stem changes, final draft. 2016-02-08 19:35:13 -08:00
C. Guy Yarvin
52004a4f97 Generating new stems, double solid. 2016-02-08 18:17:17 -08:00
C. Guy Yarvin
c7e9b8676f Keyword stems, step 1. 2016-02-05 01:25:58 -08:00
C. Guy Yarvin
35a385e81c Fully shifted over to modern typed namespace. 2016-02-03 20:51:01 -08:00
C. Guy Yarvin
b26fd40636 More typed .^. 2016-02-03 13:33:43 -08:00
C. Guy Yarvin
326fd27db8 Fully transitioned to correct %face. 2016-02-02 18:45:11 -08:00
C. Guy Yarvin
0838818881 %face to %fuss. Next change back. 2016-02-02 17:50:34 -08:00
C. Guy Yarvin
27ff65f81f Merge remote-tracking branch 'cgyarvin/newdeal' into newdeal 2016-02-02 14:13:21 -08:00
C. Guy Yarvin
4b92cd2685 Making typed .^ a little less fake. 2016-02-02 11:52:10 -08:00
C. Guy Yarvin
4042253eeb Merge remote-tracking branch 'upstream/master' into newdeal 2016-01-31 20:37:49 -08:00
Raymond Pasco
c9c09bf99e Stub in -B bootstrap location option 2016-01-26 12:50:32 -05:00
C. Guy Yarvin
3d3e1ebb4d Double solid with .# support, still a bit flaky. 2016-01-25 13:29:30 -08:00
C. Guy Yarvin
9ff6fe676f Make ++fork actually build set-shaped things. 2016-01-24 14:05:55 -08:00
C. Guy Yarvin
7b75e647da Better wiring for find testing. 2016-01-21 11:13:27 -08:00
C. Guy Yarvin
d93f96a21a ut_find.c compiles, not yet activated. 2016-01-20 17:35:11 -08:00
C. Guy Yarvin
9d9255d870 %fuss entirely shifted to %face. 2016-01-16 16:47:36 -08:00
C. Guy Yarvin
2d4045f3c9 Testing =#. 2016-01-15 17:42:50 -08:00
C. Guy Yarvin
848c891db9 Not compiling, but finished first stage of adding fuss. 2016-01-14 20:37:58 -08:00
C. Guy Yarvin
23273b4d12 Now entirely frog-free. 2016-01-14 01:52:50 -08:00
C. Guy Yarvin
9ed837f415 Slightly more cleansed. 2016-01-14 01:13:01 -08:00
C. Guy Yarvin
45e16630a5 Stash commit; in middle of debugging nest bug. 2016-01-13 17:46:01 -08:00
C. Guy Yarvin
42580bda5c Burn stuff builds, doesn't work... 2016-01-13 10:06:42 -08:00
C. Guy Yarvin
d52ec5125f Handling forks trivially; about to make them. 2016-01-11 01:16:38 -08:00
C. Guy Yarvin
2cb759d86d Old %hold now eradicated (as %holt). 2016-01-10 22:37:59 -08:00
C. Guy Yarvin
4f31be75db Fully onto frog. Next, delete old %fork. 2016-01-10 21:08:03 -08:00
C. Guy Yarvin
17e1196eb4 Jets use grof. Now ready to apply froqs piecemeal. 2016-01-10 19:56:53 -08:00
C. Guy Yarvin
b86fb544da Double solid; about to incrementally refrog. 2016-01-10 19:10:47 -08:00
C. Guy Yarvin
921aef5e29 Frog jets installed; still not generating frogs. 2016-01-10 16:27:36 -08:00
C. Guy Yarvin
7f554bf20e Old seek system eradicated. 2016-01-09 16:22:25 -08:00
C. Guy Yarvin
e1619636ca Run soft code for %cnts in mint, mull, play. 2016-01-08 16:27:41 -08:00
C. Guy Yarvin
f5c42e451d Change ++seek to ++sick. 2016-01-07 16:38:11 -08:00
C. Guy Yarvin
d6d94de3c9 New, non-degenerate ++nost almost works, fails on ++homo. 2015-12-31 02:07:29 -05:00
C. Guy Yarvin
8a601ffd19 Change %rock to %sand. 2015-12-29 14:52:22 -05:00
C. Guy Yarvin
adaa5c7403 Supporting but not yet generating c3__moat. 2015-12-27 15:17:04 -05:00
C. Guy Yarvin
4651852406 Eliminate snubbing. 2015-12-26 06:44:32 -05:00
C. Guy Yarvin
d58b0b5894 Rename ugly non-runes. 2015-12-20 21:05:19 -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
62573101a8 Correct last checkin. 2015-11-28 13:11:09 -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
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