Fang
3808f02287
clay: implement %u care
...
Previously, it would always produce ~, regardless of the path asked
about.
Now, it produces a loobean, based on whether or not a file exists at the
specified path.
2019-12-18 21:02:38 +01:00
Jared Tobin
9b0582323c
Merge branch 'philip/eth-watcher' ( #2113 )
...
* philip/eth-watcher:
ph: fix tests by spamming blocks regularly
gaze: reflect changes to eth-watcher
ames: better printfs
jael: only advance lifes
jael: stop ship-to-ship
jael: add "eager" mode to avoid hitting nodes as much
jael: properly store ship sources
gen: add +azimuth-sources
jael: re-enable ship-to-ship communication
eth-watcher: actually stop pending thread when restarting
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 12:13:27 -03:30
Philip Monk
1a7658bd91
ph: fix tests by spamming blocks regularly
2019-12-18 11:53:36 -03:30
Philip Monk
de2d0f3014
gaze: reflect changes to eth-watcher
2019-12-18 11:38:56 -03:30
Philip Monk
0e876b3cd4
ames: better printfs
2019-12-18 11:31:17 -03:30
Philip Monk
3d30b3b73c
jael: only advance lifes
...
This matches the semantics of rifts and makes it more forgiving of
misordered updates.
2019-12-18 11:31:14 -03:30
Philip Monk
16d98e5eda
jael: stop ship-to-ship
2019-12-18 11:19:41 -03:30
Philip Monk
18c3e7253b
jael: add "eager" mode to avoid hitting nodes as much
2019-12-18 10:58:00 -03:30
Philip Monk
15bd35301e
jael: properly store ship sources
2019-12-18 10:42:57 -03:30
Philip Monk
7706ed6a0c
gen: add +azimuth-sources
2019-12-18 10:41:39 -03:30
Jared Tobin
52ccee369a
Merge branch 'bh/image-pills' ( #2118 )
...
* origin/bh/image-pills:
build: allow baking multiple pills into docker images
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 10:09:23 -03:30
Jared Tobin
0fadd88986
contributing: use alternative rebase tutorial [ci skip]
2019-12-18 08:29:22 -03:30
Brendan Hay
122e01b13d
build: allow baking multiple pills into docker images
...
By baking (potentially) multiple pills into an image, we can provide
mainnet vs ropsten images. It is still up to the operator to pass
along the pill path(s) to the entrypoint. For example, using Docker:
docker run --tty urbit -B /share/brass.pill -J /share/ivory.pill ...
The main .image attribute still uses only the solid pill, and image-ropsten
has been provided with brass and ivory pills.
Additionally herb has been added to the image for convenience.
2019-12-18 12:02:18 +01:00
Jared Tobin
38eefb30cb
Merge branch 'bh/image-cleanup' ( #2102 )
...
* origin/bh/image-cleanup:
build: trimming unnecessary image configuration
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 05:54:44 -03:30
Philip Monk
666645cee5
Merge pull request #2115 from urbit/philip/ames-ordered-boons
...
ames: handle misordered crashing boons
2019-12-17 23:27:42 -08:00
Philip Monk
7ca3d9624e
ames: handle misordered crashing boons
...
Two bugs fixed here: first, if the %done reentrancy triggered another
%boon, that wasn't getting translated to a %lost, even though it could
have been the reason the event crashed in the first place.
Second, the %done reentrancy needs to happen after we emit our move, so
that we don't invert the order of the %boon's we produce.
2019-12-17 20:58:30 -08:00
Philip Monk
e5ac690fd3
jael: re-enable ship-to-ship communication
...
Also fix bug in eth-watcher that didn't cancel outstanding threads when
config changes.
And set default rift for ourselves to 0.
2019-12-17 16:14:07 -08:00
Philip Monk
e88f91f3b2
eth-watcher: actually stop pending thread when restarting
2019-12-17 16:14:02 -08:00
Philip Monk
a64e516fc5
Merge pull request #2098 from urbit/philip/eyre-quiet
...
eyre: turn sigpam into flog
2019-12-17 15:54:16 -08:00
Joe Bryan
a87daabf77
Merge pull request #2096 from urbit/malloc-consistency
...
vere: dynamic allocation cleanup
2019-12-17 12:58:35 -08:00
Joe Bryan
1cf8e6e640
vere: plug leak in worker args
2019-12-16 11:59:04 -08:00
Joe Bryan
0162379f62
worker: plug leak in event tracing
2019-12-16 11:59:04 -08:00
Joe Bryan
e9f3aa19ef
vere: free curl response buffers after use
2019-12-16 11:59:04 -08:00
Joe Bryan
e9b1b22a6e
vere: plugs a leak on the "boothack" command socket connection
...
but more work is needed to fully close and cleanup
2019-12-16 11:59:04 -08:00
Joe Bryan
dc5e5f38a7
test: free malloc'd structures in tests
2019-12-16 11:59:04 -08:00
Joe Bryan
73ad2c543f
vere: consistently use c3 malloc/free wrappers
2019-12-16 11:59:03 -08:00
Joe Bryan
2f6d512248
Merge pull request #2101 from urbit/http-respond-safe
...
vere: fix use-after-free in http responses
2019-12-16 11:46:58 -08:00
Brendan Hay
249c02fe9f
build: trimming unnecessary image configuration
2019-12-16 09:20:28 +01:00
Joe Bryan
4691fa2a8d
vere: plugs leak of http response headers
2019-12-14 23:26:24 -08:00
Joe Bryan
01470355d1
vere: fix use-after-free in closing/canceling http request
2019-12-14 18:25:43 -08:00
Joe Bryan
d5949f2358
vere: fix use-after-free when sending http response
2019-12-14 18:25:39 -08:00
Philip Monk
769a1c96af
eyre: turn sigpam into flog
...
This error is mostly harmless, but it does indicate we aren't cleaning
up our subscriptions properly. This lets you silence with |knob.
fixes #2088
2019-12-14 00:49:23 -08:00
Philip Monk
bfd2e533a1
goad: make startup resilient to errors
...
By not running the risky %goad card in on-init. Also includes some qol
fixes.
2019-12-13 18:50:26 -08:00
Philip Monk
9aa3591e91
Merge branch 'philip/goad'
...
* philip/goad:
goad: recompile apps after changes to /sys
Signed-off-by: Philip Monk <phil@pcmonk.me>
2019-12-13 17:21:31 -08:00
Philip Monk
b14606660a
goad: recompile apps after changes to /sys
...
OTAs commonly end up in an inconsistent state if apps depend on changes
to /sys. For example, the %sift changes break on OTA because %spider
needs to be reloaded so that it's aware of the new thread type. This
adds a %goad app, which reloads all apps after every change to /sys.
Getting this to start OTA is nontrivial, but this pattern should work
for apps in the future. The changes to clock shouldn't generally be
necessary; they are only necessary here because we can't rely on hood to
start goad, since hood fails to compile if it's run before zuse is
reloaded. Once goad is active, this will cease to be a problem.
2019-12-13 17:14:51 -08:00
Jared Tobin
07e2f20f57
Merge branch 'fix-lr-jet' ( #2089 )
...
* fix-lr-jet:
hoon: fix typo in +put:in
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-13 21:05:34 +08:00
Elliot Glaysher
44f6a90a4c
hoon: fix typo in +put:in
...
This fixes +put:in so that it works without the correct jet. There's a
mismatch where the hoon code is wrong and the jet is correct, so that
when we try to run this on alternate interpreters which may not have the
+in jets, things won't work.
2019-12-13 21:00:21 +08:00
Jared Tobin
aff97bf150
Merge branch 'm/eth-apps' ( #2084 )
...
* origin/m/eth-apps:
claz: clean up head of app file
static gall: update claz
ethio: add +get-next-nonce
zuse: update %eth-get-transaction-count
zuse: include all relevant azimuth addresses
ethio: implement +batch-read-contract-strict
ethio: fail request-rpc more properly
static gall: update gaze
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 16:27:04 +08:00
Jared Tobin
9ba4505086
Merge branch 'ames-sift' ( #2081 )
...
* ames-sift:
ames: refactor +load
ames: +send-blob better ship printing
hood: |ames-sift generator to trace by ship
ames: add %sift to trace by ship
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 16:06:32 +08:00
Ted Blackman
35596ca7de
ames: refactor +load
2019-12-12 15:55:37 +08:00
Ted Blackman
d4574b5da4
ames: +send-blob better ship printing
2019-12-12 15:55:36 +08:00
Ted Blackman
c500e03b81
hood: |ames-sift generator to trace by ship
2019-12-12 15:55:36 +08:00
Ted Blackman
d77fb0f685
ames: add %sift to trace by ship
2019-12-12 15:55:32 +08:00
Jared Tobin
2cf8bb215d
Merge branch 'urbit-ID' ( #2077 )
...
* origin/urbit-ID:
updates to 'Urbit identity' language in comet boot message
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:52:07 +08:00
Jared Tobin
15c929077d
Merge branch 'newt-plug-leak' ( #2076 )
...
* origin/newt-plug-leak:
newt: free completed message buffer
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:51:43 +08:00
Jared Tobin
1a88edeb37
Merge branch 'vere-build-tests' ( #2075 )
...
* origin/vere-build-tests:
vere: updates the test build targets to be generic
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:51:19 +08:00
Jared Tobin
85d447f173
Merge branch 'philip/gall-noop' ( #2073 )
...
* origin/philip/gall-noop:
gall: no-op on duplicate watch-ack
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:50:19 +08:00
Jared Tobin
2aa86e3121
Merge branch 'philip/stuck-flow' ( #2071 )
...
* origin/philip/stuck-flow:
ames: recover from mismatched message nums
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:49:53 +08:00
Jared Tobin
3888eabaa8
Merge branch 'ames-set-port' ( #2057 )
...
* origin/ames-set-port:
ames: refactors udp init() and bind()
ames: honor -p for galaxies, with warning
ames: adds port printfs for all ships
ames: honor -p for non-galaxies
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:49:34 +08:00
Jared Tobin
e4a7dae888
Merge branch 'philip/login-instructions' ( #2039 )
...
* origin/philip/login-instructions:
eyre: add instructions to login page
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-12 15:46:36 +08:00