Robert
220fca335b
updates to 'Urbit identity' language in comet boot message
2019-12-10 13:32:57 -08:00
Joe Bryan
1f87417008
newt: free completed message buffer
2019-12-10 12:41:06 -08:00
Joe Bryan
50db1149eb
vere: updates the test build targets to be generic
2019-12-10 11:27:57 -08:00
Jared Tobin
853e33d88a
Merge branch 'newt-test' ( #2069 )
...
* origin/newt-test:
vere: adds tests for newt ipc framing, fixes infinite loop
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-10 19:40:39 +08:00
Joe Bryan
1f05927558
vere: adds tests for newt ipc framing, fixes infinite loop
2019-12-09 18:18:07 -08:00
Joe Bryan
0235b178f9
ames: refactors udp init() and bind()
2019-12-09 11:11:32 -08:00
Joe Bryan
6bd34bbd00
ames: honor -p for galaxies, with warning
2019-12-09 11:10:40 -08:00
Ted Blackman
10e7c0945a
vere: print arg to c3_malloc() et. al. on failure
2019-12-08 19:32:55 -05:00
Joe Bryan
134e947481
ames: adds port printfs for all ships
2019-12-07 23:59:21 -08:00
Joe Bryan
5784373bb6
ames: honor -p for non-galaxies
2019-12-07 23:56:38 -08:00
Jared Tobin
de7b7d80f0
Merge branch 'pkova/patch-1' ( #2017 )
...
* pkova/patch-1:
vere: filter out content-length header from eyre
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-07 16:51:00 +08:00
Jared Tobin
ea8e331d93
vere: patch version bump [ci skip]
2019-12-06 21:25:01 +08:00
Joe Bryan
acddc88d66
vere: refactors ipc message parsing and assembly
...
We've periodically seen malloc failures (ie, returning a null pointer)
in newt.c, our IPC implementation ("memory lost" assertion failures).
I've suspected that they were caused by attempts to allocate zero bytes.
We were not properly following libuv's read callback conventions for
EAGAIN/EWOULDBLOCK, which would've had that result.
The message parsing and assembly was in one large function that I found
it hard to follow, so I've refactored into smaller pieces, so it should
be more maintainable going forward.
2019-12-06 21:13:42 +08:00
Pyry Kovanen
864fa7ef47
vere: filter out content-length header from eyre
2019-12-06 13:21:25 +02:00
Joe Bryan
a01b5ed3db
u3: correctly sets RLIMIT_NOFILE cross-platform
2019-12-04 22:53:00 -08:00
Ted Blackman
53cec744ba
vere: filter ames by protocol #
2019-12-05 02:23:14 +08:00
Ted Blackman
cf3a64482e
vere: filter old packets
2019-12-05 02:23:14 +08:00
Jared Tobin
d310cb68bd
release: v0.10.0.rc-1
...
* Remove testnet configuration from %zuse
* Bump URBIT_VERSION
* Update Landscape builds
* Update all pills
2019-12-04 19:41:43 +08:00
Philip Monk
34ece6fe5a
vere: cleanup
2019-12-02 23:19:36 -08:00
Philip Monk
19c5ad4c9b
Merge remote-tracking branch 'origin/jam-cue-rock' into philip/merg
2019-12-02 13:57:57 -08:00
Joe Bryan
9e198365d3
vere: consistently read db header
2019-12-02 10:29:19 -08:00
Philip Monk
275e818622
Merge branch 'philip/timer' into rc
2019-12-02 02:26:50 -08:00
Philip Monk
0431c3c073
Merge remote-tracking branch 'origin/jam-cue-rock' into rc
2019-12-02 02:08:37 -08:00
Philip Monk
12e8e23ff9
vere: remove spurious error printfs
2019-12-02 01:42:09 -08:00
Philip Monk
17bc3ec10c
makefile: remove accidentally added
2019-12-02 01:28:48 -08:00
Philip Monk
3450aadab6
behn.c: backstop timer
2019-12-02 00:50:01 -08:00
Philip Monk
0eaad536a0
eth-watcher: keep timers going
2019-11-30 19:38:43 -08:00
Philip Monk
7cfe1542e5
ames: too big of messages
2019-11-26 12:00:27 -08:00
Philip Monk
4d1457bbaa
Merge remote-tracking branch 'origin/master' into philip/mall-real
2019-11-24 00:01:04 -08:00
Joe Bryan
4cdce421ed
vere: removes single-homing from king/serf protocol
2019-11-23 20:07:08 -08:00
Joe Bryan
d1b655c5c9
vere: effectively removes single-homing from the serf
...
but leaves the IPC protocol structures as they were
2019-11-23 20:06:02 -08:00
Joe Bryan
09ea1c4d0c
vere: packs memory in worker on %pack effect
2019-11-22 16:55:14 -08:00
Joe Bryan
e1ed305165
u3: prints "rock" size on load
2019-11-22 16:50:36 -08:00
Joe Bryan
099c640df5
u3: moves cue implementation to serial.c
2019-11-22 13:14:23 -08:00
Joe Bryan
648b9e9181
pier: improves replay printfs
2019-11-22 13:14:18 -08:00
Joe Bryan
4e0e0b4b31
worker: adds compaction on memory pressure and bail:meme
2019-11-22 12:46:27 -08:00
Joe Bryan
66d88ae5e6
u3: adds u3m functions for jam/cue of state
...
u3m_wipe() to safely reinitialize the loom
u3m_rock_load/stay/drop to jam/cue into a file
2019-11-22 12:46:27 -08:00
Joe Bryan
6e88db566c
u3: moves u3m_jam_file to u3s_jam_file
2019-11-22 12:46:27 -08:00
Joe Bryan
dc9fb9481f
u3: updates u3m_jam_file to return errors
2019-11-22 12:46:27 -08:00
Joe Bryan
4fffaaceea
u3: adds u3e functions to backup/restore/purge checkpoint files
2019-11-22 12:46:23 -08:00
Joe Bryan
0c6914f505
u3: adds u3j_stay/load to manage cold jet state
2019-11-22 12:20:00 -08:00
Joe Bryan
c8b36220f0
u3: adds u3m_jam_file, does what you'd expect
2019-11-22 12:20:00 -08:00
Joe Bryan
c166dff91c
u3: adds jam variants to measure and encode in separate passes
2019-11-22 12:20:00 -08:00
Joe Bryan
b5312d6c0c
u3: refactors jam implementation into serial.c
2019-11-22 12:19:55 -08:00
Philip Monk
cc5ac2a000
vere: send http completion even if no data
...
It's common now for the last http response to have no body and just mark
the request as complete. http.c wasn't closing these connections
because h20 was busy and when it indicated it was ready we only checked
whether there was more data to send.
This also checks whether the request has been marked complete, and if so
finished the connection.
2019-11-20 14:47:06 -08:00
Joe Bryan
c9c1c62825
u3: adds generic noun traversal u3a_walk_fore()
2019-11-19 16:32:33 -08:00
Philip Monk
a5412f01de
Merge branch 'alef-testnet-merge' into philip/mall-real
2019-11-19 13:03:07 -08:00
John Franklin
abb37ce5be
vere: consistent use of my-planet and my-comet in Simple Usage
2019-11-14 23:41:44 -06:00
Philip Monk
607a2c0ac6
eyre: fix tests
2019-11-13 19:41:56 -08:00
Philip Monk
bcd7c5e82d
Merge branch 'master' into philip/mall-real
2019-11-09 16:47:41 -08:00
Rob Nugen
ae73fea1c4
vere: fix URL for swap if not enough space
...
also fix spacing in output message
Otherwise the words run together on one line
2019-11-09 23:00:25 +09:00
Joe Bryan
8e3e9f23e8
vere: flushes slog output to ensure style isolation
2019-11-05 15:01:32 -08:00
Philip Monk
82513c27fc
Merge branch 'master' into philip/mall-real
2019-11-04 19:35:24 -08:00
Ted Blackman
9a02c64b45
Merge branch 'master' into alef-testnet-merge
...
Untested, has not been run.
Uses master pills for now. Will need refreshing.
2019-11-02 23:37:01 -04:00
Jared Tobin
7ceff5be8b
vere: update patch version (0.9.1 -> 0.9.2) [ci skip]
2019-10-31 14:05:15 +08:00
Ted Blackman
21dabb8895
big merge, including some Alef and Zuse work
2019-10-30 16:12:57 -04:00
Jared Tobin
536e56d675
vere: change default bootstrap pill URI
...
Vere will attempt to download a pill from https://bootstrap.urbit.org if
not given one explicitly. These pill filenames have traditionally had
the format:
urbit-$URBIT_VERSION.pill
but this is inconsistent with the manner in which versions are referred
to elsewhere. For example, release binaries are packaged in tarballs
with the names:
urbit-linux64-v$URBIT_VERSION.tgz
urbit-darwin-v$URBIT_VERSION.tgz
Note the 'v' prepended to URBIT_VERSION.
From v0.9.2 forward it is expected that bootstrap pills will also use
the 'v' prefix, i.e.
urbit-v$URBIT_VERSION.pill
so this commit makes the appropriate change in the daemon.
2019-10-24 09:42:30 +08:00
Joe Bryan
79aff11436
u3: print messages for fatal errors to stderr
...
u3l_log may send over a pipe, so message may not be delivered
if the error in question aborts the process
2019-10-22 13:00:09 -07:00
Joe Bryan
75dfcad6f7
u3: removes redundant memory fault assertion
2019-10-22 12:58:30 -07:00
Joe Bryan
9c7455f218
u3: use clearer assertions for loom corruption
2019-10-22 12:40:43 -07:00
Joe Bryan
645bde3f2d
vere: restore terminal dimensions measurement
2019-10-21 22:41:02 -07:00
Jared Tobin
3210acd4de
vere: patch version bump (0.9.0 -> 0.9.1)
...
Also updates all pills.
2019-10-21 09:57:42 +08:00
Joe Bryan
85a656471f
u3: removes "worker_send_replace" printf
2019-10-17 15:57:19 -07:00
Joe Bryan
1cfedf2273
u3: statically measure memory on startup if < 1/2 the loom is free
2019-10-17 15:50:28 -07:00
Joe Bryan
bf5a1276af
u3: restore memory reclamation every 1k events
2019-10-17 15:50:04 -07:00
Joe Bryan
e7b0a6a5e7
u3: print the size of the free lists on |mass
2019-10-17 14:19:21 -07:00
Jared Tobin
4613264047
release: v0.9.0
...
Updates URBIT_VERSION, Landscape builds, and all pills.
2019-10-15 14:50:05 +04:00
Ted Blackman
625f855f24
master without pills, hopefully
2019-10-14 16:02:27 -04:00
Jared Tobin
3a540371a0
vere: rc version bump (-> 0.9.0.rc-4)
...
Also updates brass, ivory pills.
2019-10-11 11:27:04 +04:00
Jared Tobin
8b64b3de40
vere: rc version bump (-> 0.9.0.rc-3)
2019-10-10 10:58:13 +04:00
Jared Tobin
224ef6c89f
Merge branches 'vere-fs-errors' and 'args-cleanup' ( #1805 , #1806 )
...
* vere-fs-errors:
vere: checks on boot that we have write permissions for $pier
vere: uses c3_sync macro instead of inline platform checks
vere: handle error when opening pier lockfile
* args-cleanup:
vere: adds comments noting possible -a/-d requirements
vere: implements -x (exit immediately after boot)
vere: removes unimplemented cli args -b and -V
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-09 10:52:03 +04:00
Joe Bryan
ac97fd24c3
vere: checks on boot that we have write permissions for $pier
2019-10-08 15:24:12 -07:00
Joe Bryan
68f05b722b
vere: uses c3_sync macro instead of inline platform checks
2019-10-08 15:15:42 -07:00
Joe Bryan
c8a4a5d699
vere: handle error when opening pier lockfile
2019-10-08 15:14:11 -07:00
Joe Bryan
c9943611d3
vere: adds comments noting possible -a/-d requirements
2019-10-08 15:00:40 -07:00
Joe Bryan
39f84d2cf1
vere: implements -x (exit immediately after boot)
2019-10-08 15:00:38 -07:00
Joe Bryan
9fad3153f9
vere: removes unimplemented cli args -b and -V
...
-b (batch create) and -V (replay w/out reboots)
2019-10-08 15:00:34 -07:00
Jared Tobin
32052396d8
vere: version bump (0.8.0 -> 0.9.0)
...
Additionally updates all pills, for good measure.
2019-10-08 12:36:38 +04:00
Brendan Hay
4dc1ec8874
vere: Wrap tank dump priority escape codes with terminal check
2019-10-05 11:04:58 -07:00
Brendan Hay
db0b7acd13
Adding terminal guard around tty column/row calculations
2019-10-04 23:16:08 +02:00
Brendan Hay
e8f133d532
Adding -T option to disable terminal/tty assumptions
...
Without incurring the fork() that -d/daemon mode implies.
2019-10-04 23:09:24 +02:00
Joe Bryan
e6e402023c
removes obsolete cli args for eth snapshots (-C and -E)
2019-10-04 13:32:56 -07:00
Jared Tobin
b5fec5ef97
Merge branch 'update-pills' ( #1789 )
...
* update-pills:
Update all pills and fix .gitignore.
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-04 12:07:15 +04:00
Elliot Glaysher
330faa3205
Update all pills and fix .gitignore.
...
The ivory pill had not been rolled after the last changes to zuse,
meaning that you could no longer boot a ship. Also fixes .gitignore
so as to not hide old build artifacts which could interfere with
picking up changes to the ivory pill.
2019-10-03 15:03:50 -07:00
Brendan Hay
0687d3e0fb
Removing unnecessary call to seed prng for fuzz testing
2019-10-03 23:18:00 +02:00
Brendan Hay
1609be8fcd
Removing -f (fuzz testing) option
2019-10-03 22:07:47 +02:00
Jared Tobin
b330fb4a8d
Merge branch 'safe-memo' ( #1780 )
...
* safe-memo:
u3: refactors memoization patterns for safer rc
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 00:50:30 +04:00
Joe Bryan
9896f3d16f
u3: refactors memoization patterns for safer rc
...
specifically, avoiding uncounted references when
memoizing in the compiler
2019-09-27 17:02:27 -07:00
Joe Bryan
7a62373308
u3: wires up the %trim event in the daemon
2019-09-27 13:02:11 -07:00
Joe Bryan
c5ab5c6c5b
u3: adds %trim memory-pressure notification "effect"
2019-09-27 13:02:11 -07:00
Joe Bryan
a0cab6c8ed
u3: tweaks |mass output (and fixes inadvertent truncation)
2019-09-27 13:02:11 -07:00
Joe Bryan
e51ba034d2
u3: refactors periodic memory reclamation
...
and adds clarifying comments to u3m_reclaim()
2019-09-27 13:02:11 -07:00
Joe Bryan
b75b418e25
u3: factors out u3a_idle() to measure free-lists in a road
2019-09-27 13:02:11 -07:00
Joe Bryan
ca2671947b
u3: adds and uses u3a_full/heap/temp road macros
2019-09-27 13:02:11 -07:00
Joe Bryan
a2732a35b6
u3: cleans up whitespace, removes dead code in allocator
2019-09-27 13:02:11 -07:00
Philip Monk
b79dead5f8
spider: convert example-fetch to imp
2019-09-27 10:40:22 -07:00
Joe Bryan
89ab6969d4
u3: adds and refines unifying-equality comments
2019-09-24 09:32:41 -07:00
Joe Bryan
426378e838
u3: moves unification into u3a_wed()
2019-09-21 00:52:24 -07:00
Joe Bryan
e3f76a3bc3
u3: fixes road leap/fall debug printfs
2019-09-20 23:23:22 -07:00
Joe Bryan
a0a0c91ad3
u3: removes obsolete u3h_gut()
2019-09-20 23:22:52 -07:00