Commit Graph

17190 Commits

Author SHA1 Message Date
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
Matilde Park
e2cfcafc92 chat: validate chat names
Add a regex check for non-lowercase, non-slash, non-hyphen characters,
or numerals, and a quick check for starts-with-slashes, double-slashes,
to a boolean before creating a chat at that path.
2019-12-18 00:53:18 -05:00
Ted Blackman
9fb37543ec ford: clear build results on +load 2019-12-18 00:25:27 -05: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
Elliot Glaysher
105de96e46 Update version numbers to use the v0.10.1 pill. 2019-12-17 11:05:18 -08:00
Benjamin Summers
a920e71aca External terminals working well now (Lots more janky cherry picking from king-daemon branch) 2019-12-17 10:06:20 -08:00
Benjamin Summers
c579335288 Hacky code to get king con to connect to King API server. 2019-12-17 08:55:10 -08:00
Benjamin Summers
caa3d7f33c Pulled in and integrated a commit from my king-daemon branch. 2019-12-17 06:31:50 -08:00
Benjamin Summers
154fc5f849 Never run a local terminal. 2019-12-17 03:29:58 -08:00
Benjamin Summers
dbe174d522 Updated tests to new Ames events. 2019-12-17 02:14:34 -08:00
pilfer-pandex
c5b0834bca Merge branch 'king-haskell' of github.com:urbit/urbit into king-haskell 2019-12-16 15:03:50 -08:00
pilfer-pandex
2103b9f941 Merge branch 'pp/proto' of github.com:urbit/urbit into king-haskell 2019-12-16 15:01:50 -08:00
pilfer-pandex
601508adfc some convenience, partial work on let 2019-12-16 14:54:38 -08:00
Benjamin Summers
36692278e1 Merge branch 'master' of github.com:urbit/urbit into merge-king 2019-12-16 14:49:20 -08:00
Benjamin Summers
7e124cd3dd Merge branch 'king-haskell' of github.com:urbit/urbit into merge-king 2019-12-16 14:43:44 -08:00
benjamin-tlon
33d5c4fae6
Merge pull request #2103 from urbit/kh/atom-bytes-bug
Fix a bug in atom<->bytestring conversion.
2019-12-16 12:21:22 -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
Benjamin Summers
0fa9086b4d Fix a nasty bug in atom<->bytestring conversion. 2019-12-16 02:22:18 -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
Fang
bdc7fb81e0
eth-sender: do proper nonce reading 2019-12-14 21:50:07 +01:00
Fang
1647d760d1
zuse: implement eth rlp decoding
Also updates existing tests to check both en- and decoding.
2019-12-14 21:39:54 +01:00
Fang
7755bc9718
zuse: correctly encode leading zeroes in rlp data 2019-12-14 21:25:20 +01:00
Fang
5c56cce6ea
zuse: lightly restructure encode:rlp:ethereum 2019-12-14 21:24:56 +01: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
Fang
fc1d852faf
static gall: update send-txs
Renamed to eth-sender. Can still sign eth-txs at multiple gas prices,
fan transactions to multiple nodes, wait for confirmation between
transaction batches (now of user-specified size).

The previous nonce reading implementation was broken beyond belief and
has been taken out. Can be reimplemented once RLP decoding is in the
stdlib.
2019-12-14 00:18:30 +01:00
Fang
b482249712
ethio: implement +request-batch-rpc-loose
Produces batch request results regardless of node-side error.

Reimplements +request-batch-rpc-strict using it.
2019-12-13 23:30:52 +01:00