Commit Graph

511 Commits

Author SHA1 Message Date
C. Guy Yarvin
c0d108d745 Add !@. 2018-03-20 09:41:54 -07:00
Elliot Glaysher
e6f6315691 Revert "Merge pull request #949 from eglaysher/meson-build-clean"
This reverts commit 9f795b535f, reversing
changes made to d5c7b3b932.
2018-03-19 15:13:19 -07:00
Elliot Glaysher
a85369fa1f
Merge pull request #948 from frodwith/charm
Charm
2018-03-19 14:57:50 -07:00
Elliot Glaysher
b9432b4d57
Merge pull request #930 from joemfb/sav-mkdirp
recursively mkdir in u3_walk_save
2018-03-19 14:36:57 -07:00
Elliot Glaysher
9f795b535f
Merge pull request #949 from eglaysher/meson-build-clean
Meson build clean
2018-03-19 11:14:53 -07:00
Paul Driver
087b674a37 Revert "Revert "Merge pull request #941 from frodwith/runtime-overflows""
This reverts commit 074a293257.
2018-03-19 09:12:39 -07:00
Joseph Bryan
f4e60f604a cleans up server SSL_CTX, saves pointer on u3_Host 2018-03-15 22:55:51 -04:00
Joseph Bryan
419a634ad9 cleans up client SSL_CTX initialization 2018-03-14 17:02:06 -04:00
Joseph Bryan
63081c94e5 updates cancellation to properly handle async address resolution 2018-03-14 13:21:20 -04:00
Joseph Bryan
828c73c7e9 adds nam_w and val_w to u3_hhed, updates cttp appropriately 2018-03-14 13:21:10 -04:00
Joseph Bryan
221207053d resolves ip addresses explicitly, enables https requests 2018-03-14 11:33:58 -04:00
Joseph Bryan
a0bf822036 attaches response headers 2018-03-14 11:33:58 -04:00
Joseph Bryan
09585f73a9 switches cttp to be request-oriented, removes u3_ccon and jhttp
still buggy
2018-03-14 11:33:53 -04:00
C. Guy Yarvin
d90d0327e2 Change %bunt to %bcdt. 2018-03-13 19:57:53 -07:00
Keaton Dunsford
074a293257 Revert "Merge pull request #941 from frodwith/runtime-overflows"
This reverts commit 67d3460a91, reversing
changes made to 8d0f6cf3a6.
2018-03-12 16:42:39 -07:00
Paul Driver
1871595b57 add bytecode free functions 2018-03-12 10:58:41 -07:00
Paul Driver
a2a0f3ae6a code cleanup 2018-03-12 10:45:04 -07:00
C. Guy Yarvin
55e895036c Eliminate old-fashioned burn. 2018-03-10 20:57:02 -08:00
Paul Driver
42c460ed3b midway through adding making for bytecode 2018-03-09 16:04:47 -08:00
Joseph Bryan
a0b19f125f cleanup 2018-03-05 10:36:35 -05:00
Joseph Bryan
75b027bdd7 makes h2o_globalconf_t per server in u3_http 2018-03-05 10:36:34 -05:00
Joseph Bryan
f74c20473d updates vere.h with new server/connection/request structs 2018-03-05 10:36:33 -05:00
Joseph Bryan
e65fa24fca adds trivial libh2o integration 2018-03-05 10:36:32 -05:00
Joseph Bryan
ebbbf6cf0c recursively mkdir in u3_walk_save 2018-03-02 17:39:08 -05:00
mikolajp
29d792bd64 Switch to generated config header. New allocator 2018-02-25 14:14:25 +08:00
Paul Driver
fad4db8b66 commenting out and moving around some debugging code, boot is working 2018-02-20 12:57:59 -08:00
C. Guy Yarvin
4ae78dafb0 Fully adapted to seminouns in ++coil. 2018-02-19 17:24:16 -08:00
Paul Driver
389261be10 try compiling away all fragment axes 2018-02-05 10:27:39 -08:00
Paul Driver
17a166fa83 bytecode interpreter can run nock decrement 2018-02-02 15:28:07 -08:00
Paul Driver
232d2cccf8 fixing compile errors and warnings 2018-02-01 09:21:10 -08:00
C. Guy Yarvin
dfe9265576 Support experimental bit in ++ap and ++al. 2018-01-29 18:58:36 -08:00
Paul Driver
714d7e7608 use explicit stack in unifying equals 2018-01-23 17:22:27 -08:00
Ted Blackman
49a3bc4ffa added -H ames bootstrap domain 2017-12-13 15:13:44 -08:00
C. Guy Yarvin
70487ba362 Disable ++ap shims. 2017-12-10 21:04:31 -08:00
Anton Dyudin
cc9d8e3ebf Merge remote-tracking branch 'curt/retrofit-release' 2017-12-07 12:47:21 -08:00
C. Guy Yarvin
3e77ed0b8d Preadapt for sm->mc and fs->sk rune changes. 2017-12-07 09:53:43 -08:00
C. Guy Yarvin
2b8c046b13 Cache ++blow. 2017-12-07 08:49:55 -08:00
Anton Dyudin
d829a27b4f bumped version 2017-12-06 21:24:25 -08:00
C. Guy Yarvin
cb46432b9b Support ^% switch to ++aq instead of ++ap. 2017-12-06 16:33:49 -08:00
C. Guy Yarvin
a220669cb0 Initial commit. 2017-11-27 14:32:42 -08:00
C. Guy Yarvin
8c20c3dcdf Larger slab allocations make profiling work. 2017-11-16 11:44:52 -08:00
C. Guy Yarvin
8d5ac23ab2 Minor debugging cleanups. 2017-11-14 15:24:42 -08:00
C. Guy Yarvin
fc53b339a4 Working with some debug stuff. 2017-11-13 20:35:34 -08:00
C. Guy Yarvin
3d2ed11bb7 Merge branch 'retrofit-cash' into retrofit 2017-11-13 09:49:37 -08:00
C. Guy Yarvin
0b31bad54e Correct and disable memory tracking. 2017-11-13 09:06:10 -08:00
C. Guy Yarvin
25564c3f5f Merge remote-tracking branch 'belisarius222/hash-cash-rebase' into retrofit-cash 2017-11-12 17:51:27 -08:00
C. Guy Yarvin
abb7f1d756 Various profiling and allocation improvements. 2017-11-12 16:15:09 -08:00
C. Guy Yarvin
8cbc503dae Merge branch 'retrofit' of https://github.com/urbit/urbit into retrofit 2017-11-11 18:17:30 -08:00
C. Guy Yarvin
92d901a62e Clear CPU-DEBUG for wallclock timing. 2017-11-11 18:16:32 -08:00
C. Guy Yarvin
4e3a730804 Grab big blocks of cells for the cell allocator. 2017-11-11 18:00:35 -08:00
Paul Driver
9892d1ebfd stash - compiling 2017-11-09 08:35:05 -08:00
Paul Driver
0f5b97bf55 stash -- nearing initial hash-increment arm scheme 2017-11-09 08:35:05 -08:00
Paul Driver
495845a59f stash 2017-11-09 08:35:05 -08:00
Ted Blackman
87397ad7ea very simple initial test passing 2017-11-09 08:35:05 -08:00
Ted Blackman
c3960af239 WIP caching hashtable. Compiles but bails on boot. 2017-11-09 08:35:05 -08:00
Ted Blackman
2a75beaf8e -L -> -N, allow remote networking in -F mode 2017-10-30 17:41:48 -07:00
Ted Blackman
d07352dbb1 whitespace 2017-10-30 03:18:53 -07:00
Ted Blackman
e852389fd2 -s pill from arvo's git hash and branch 2017-10-30 03:17:14 -07:00
Ted Blackman
bef3f128b4 _arvo_hash() function works 2017-10-27 17:12:57 -07:00
Ted Blackman
36e775b938 -u <pill url> command-line option 2017-10-27 09:19:39 -07:00
Ted Blackman
3385e8275b sort command-line options in struct 2017-10-27 09:17:19 -07:00
Ted Blackman
5b3837ad8b version bump: 0.5.0 2017-10-13 14:50:11 -07:00
C. Guy Yarvin
9c22f7e08b Remove 151, standardize on 143. 2017-09-27 17:40:12 -07:00
C. Guy Yarvin
c20c66901d Hand-copied build with both 151 and 143 jets. 2017-09-25 16:54:42 -07:00
Raymond Pasco
eaab4ea4c9 Merge branches 'retrieve_h' and 'janitor', remote-tracking branch 'jfranklin9000/maint-mass' into maint-0.4 2017-06-28 09:30:30 -04:00
John Franklin
5fae8d6a8d Added u3r_hext() prototype to include/noun/retrieve.h. Fixed some comments. 2017-06-28 09:27:07 -04:00
Raymond Pasco
311931d04a Merge branches 'u3x_hext' and 'andthus' into maint-0.4 2017-06-24 11:40:02 -04:00
John Franklin
22c20ab8b2 Added function noun/xtract.c:u3x_hext(). 2017-06-24 11:36:46 -04:00
Raymond Pasco
e31af9078f Version 0.4.5 2017-05-11 07:01:11 -04:00
Raymond Pasco
b8d8b4810c Version 0.4.4 2016-12-16 12:38:38 -08:00
Raymond Pasco
8267546c63 Version 0.4.3 2016-12-13 10:27:20 -08:00
Raymond Pasco
8c9973d308 Version 0.4.2 2016-12-12 15:43:41 -08:00
Raymond Pasco
1064f9eee1 Version 0.4.1 2016-12-12 15:12:02 -08:00
Raymond Pasco
20727a47a6 Merge remote-tracking branch 'ohaitch/comment-cap-v' into maint-0.4 2016-12-12 12:54:14 -08:00
Paul Driver
1dfa5e4411 jet +-wyt:in 2016-11-08 17:29:36 -08:00
Anton Dyudin
2168721e90 fix -V description 2016-11-04 11:31:38 -07:00
Raymond Pasco
377f7c3328 Version 0.4 2016-10-25 12:52:21 -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
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
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