Commit Graph

357 Commits

Author SHA1 Message Date
Elliot Glaysher
1dd274fec3 Embed the nix SSL certificate file into the resulting binary.
This writes the SSL certs to a temporary file on startup and then
uses environment variables to control OpenSSL and curl so that
they use them. We have to do this because OSX no longer ships the
normal ca pems, and we statically link with these libraries.
2019-07-11 14:43:18 -07:00
Ted Blackman
86705ca446 fix jael +vent-pass recursion 2019-07-11 14:41:43 -07:00
Isaac Visintainer
cfebabe7c7 updated publish files 2019-07-11 11:32:30 -07:00
Joe Bryan
fa9d2bba48 adds ames ~m5 wakeup timer 2019-07-11 11:06:20 -07:00
Joe Bryan
464e1d43b3 removes obsolete wakeup field from u3_ames 2019-07-11 11:05:53 -07:00
Jared Tobin
4d85a7e0e0
Merge pull request #1325 from urbit/acme-fixes
minor robustness fixes for :acme
2019-07-11 19:58:03 +08:00
Joe Bryan
9356388085 updates :acme to track order attempts across orders 2019-07-10 23:13:44 -07:00
Joe Bryan
ed0f183ede moves :acme domain-validation request handler into a generator 2019-07-10 23:13:40 -07:00
Joe Bryan
d2c146933e fixes |serve to work with %eyre generators 2019-07-10 12:59:28 -07:00
Fang
84c9bfded3
Merge pull request #1310 from urbit/gut-by
+gut:by: value by key, or default
2019-07-10 19:57:35 +02:00
Joe Bryan
785b3cc8ea refactors |mass in worker and daemon, enables MEMORY_LOG for both 2019-07-10 00:21:26 -07:00
Joe Bryan
29af62cae0 improves memory leak debug printfs 2019-07-10 00:02:04 -07:00
Joe Bryan
c32b02b468 enables |mass in the daemon 2019-07-10 00:02:04 -07:00
Joe Bryan
00877fb0ba fixes miscount in u3_pier_grab, improves printing 2019-07-10 00:02:04 -07:00
Joe Bryan
494735b9b0 plugs leak in -A filesystem boot event handling 2019-07-10 00:02:04 -07:00
Joe Bryan
39604ec09c fixes printing in daemon |mass 2019-07-10 00:02:04 -07:00
Joe Bryan
08a15f2998 plugs leak in pier boot event handling 2019-07-10 00:02:04 -07:00
Joe Bryan
d1bc4079e3 plugs leak in daemon command socket message handling 2019-07-10 00:02:04 -07:00
Joe Bryan
7d72ee14f6 minor cleanup in pier.c 2019-07-10 00:02:00 -07:00
Fang
12b8134c33
Merge branch 'v0.8.0rc' into gut-by 2019-07-10 01:49:07 +02:00
Joe Bryan
0657b18e14
Merge pull request #1318 from urbit/philip/tcsetattr
retry tcsetattr on EINTR
2019-07-08 10:22:05 -07:00
Logan Allen
af12fafee2 Moved testing documentation out of tests folder so as to pass tests~ 2019-07-05 16:48:40 -07:00
Logan Allen
9d16d94d54 Remove recoverable-error 2019-07-05 16:43:29 -07:00
Logan Allen
ebd61dcc4f Removed lib/prey 2019-07-05 16:42:50 -07:00
Logan Allen
b860fa0fb1 Removed al, bug, deset, and default-serve generators 2019-07-05 16:40:38 -07:00
Logan Allen
1c3764ba03 Remove quri mark, map-to-json lib, mar/hall/speeches, lib/httr-to-json, app/time, and app/server 2019-07-05 16:29:59 -07:00
Logan Allen
5e48b4ce82 Remove ask, rss-xml, x-urb, x-urb-elem 2019-07-05 15:15:15 -07:00
Logan Allen
f43a5e1b5d Removed old references to setting up fora, streams, collection, web folder, landscape, and plan 2019-07-05 15:05:09 -07:00
Philip Monk
6eca8c9f28
get kale to compile with new types 2019-07-05 14:17:09 -07:00
Philip Monk
c5b73d9c89
fix azimuth-tracker for iris 2019-07-05 13:59:29 -07:00
Logan Allen
4c7634ec57 Merge branch 'rc-modulo' of github.com:urbit/urbit into rc-modulo 2019-07-05 13:55:09 -07:00
Philip Monk
e08fc7ebc7
Merge commit '9d2cea79' into philip/kale 2019-07-05 13:26:40 -07:00
Philip Monk
9d2cea7928
retry tcsetattr on EINTR 2019-07-05 13:09:49 -07:00
Logan Allen
23e8226c37 Added recent versions of all JS files except publish 2019-07-05 13:01:00 -07:00
Logan Allen
f55fa3bd2f Add support for POST delete channel requests using navigator.sendBeacon 2019-07-05 13:01:00 -07:00
Logan Allen
b40b20a88d Styled login page within rver for modulo 2019-07-05 13:01:00 -07:00
Logan Allen
527371cd03 Fix weather app to handle error statuses from DarkSky 2019-07-05 13:00:59 -07:00
Logan Allen
da118c90de Updated all apps to use launch-action mark 2019-07-05 12:59:43 -07:00
Logan
154722a878
Merge pull request #1313 from urbit/rver-rc-modulo
Add support for POST delete channel requests in rver using navigator.sendBeacon
2019-07-05 12:30:49 -07:00
Logan Allen
679cf98bec Added recent versions of all JS files except publish 2019-07-05 10:59:50 -07:00
Philip Monk
5e4bdb3e4e
fix rewinding 2019-07-04 20:53:24 -07:00
Philip Monk
20b357bf07
azimuth-tracker 2019-07-04 18:15:53 -07:00
Joe Bryan
32e5bd9e73 removes unused (list host) from %eyre %born 2019-07-04 00:15:23 -07:00
Joe Bryan
27da0d61d8 renames +http-client interface core to +iris 2019-07-03 23:52:22 -07:00
Joe Bryan
e0f17b0ff1 moves +http-server interface core into +eyre 2019-07-03 23:29:13 -07:00
Joe Bryan
62522f87c1 renames %lient to %iris 2019-07-03 17:08:23 -07:00
Joe Bryan
f31b12c964 renames %rver to %eyre 2019-07-03 16:02:49 -07:00
Jared Tobin
106a273706
Merge pull request #1316 from urbit/ames-ping
disables (kind of) spurious condition in %ames ping flow
2019-07-03 16:38:31 +08:00
Jared Tobin
86aca56d6e
Track issue for commented-out code. 2019-07-03 16:19:02 +08:00
Joe Bryan
9c1616802e
moves :dns scry for ames domains in :dns|auto generator 2019-07-03 16:18:24 +08:00
Joe Bryan
47aaef7904 disables spurious condition in %ames ping flow 2019-07-02 18:08:06 -07:00
Joe Bryan
cb83880811 adds basic %ames packet-sending test 2019-07-02 18:06:06 -07:00
Logan Allen
ebda861c8c Add support for POST delete channel requests using navigator.sendBeacon 2019-07-02 12:25:32 -07:00
Logan Allen
3923390ec6 Styled login page within rver for modulo 2019-07-01 17:14:48 -07:00
Logan Allen
98c1533139 Fix weather app to handle error statuses from DarkSky 2019-07-01 16:20:00 -07:00
Logan Allen
8485b0c889 Updated all apps to use launch-action mark 2019-07-01 16:19:56 -07:00
Jared Tobin
af4eabe2e7
Merge branch 'rc-modulo' into v0.8.0.rc 2019-07-01 19:20:58 +08:00
Fang
eb6c8a45ce
Replace (fall (~(get by calls with (~(gut by 2019-06-30 18:13:34 +02:00
Fang
e7cc662ddb
Add comment for got:by 2019-06-30 14:30:00 +02:00
Fang
45ea701956
Implement gut:by 2019-06-30 14:28:54 +02:00
John Franklin
d945ed588e
Correct indentation of ++render-atom (whitespace-only change) 2019-06-29 20:56:25 +08:00
Elliot Glaysher
5fb3655819 Reenable ring signature tests now that we've monorepoed. 2019-06-28 13:33:48 -07:00
Isaac Visintainer
d1f0dea922 minified clock, launch, timer & weather js 2019-06-28 12:49:04 -07:00
Isaac Visintainer
ac870be967 minified chat js 2019-06-28 11:29:59 -07:00
Isaac Visintainer
10e392af2d updated publish files and minified js 2019-06-28 11:27:24 -07:00
Jared Tobin
b3901ab42f Add 'pkg/arvo/' from commit 'c20e2a185f131ff3f5d3961829bd7a3fe0f227f8'
git-subtree-dir: pkg/arvo
git-subtree-mainline: 9c8f40bf6c
git-subtree-split: c20e2a185f
2019-06-28 12:48:05 +08:00
Jared Tobin
9c8f40bf6c
Remove arvo submodule. 2019-06-28 12:46:12 +08:00
Joe Bryan
be0ac4c894 updates arvo and pill to 'monorepo-candidate' 2019-06-27 18:05:17 -07:00
Joe Bryan
b70c34b583 Merge branch 'lighter-than-eyre' into monorepo-candidate
* lighter-than-eyre: (30 commits)
  bumps http server/proxy timeouts for CI
  updates arvo and pills (to fix tests)
  points arvo submodule to lte-loopback, updates pills
  adds "make pills" target
  restores daemon-mode boot callback
  added http-server loopback backdoor
  disables http2
  points arvo submodule to lighter-than-eyre, updates pills
  removes obsolete http effect routing and handlers
  restores tcp proxy (by sending notifications directly over %ames)
  [CI] updates pinned arvo commit
  zero-initializes response generator struct pointer in u3_hreq
  updates cttp.c to support http headers
  updates cttp.c to support all HTTP verbs
  [CI] updates pinned arvo commit
  [CI] updates pinned arvo commit
  fixes memory leaks in http i/o drivers
  Vere side of outbound request work.
  WIP: It crashes after u3do(de-purl:html) because the shape is wrong?
  Make the server work again by parsing the response shape correctly.
  ...
2019-06-27 16:54:41 -07:00
Elliot Glaysher
f8c226042e
Merge pull request #1300 from urbit/rings
Ring signature support on Azimuth points
2019-06-24 17:08:04 -07:00
Elliot Glaysher
eb4cba4485 exit -> fail 2019-06-24 16:33:47 -07:00
Elliot Glaysher
af037c0188 Makefile needs CFLAGS. 2019-06-24 15:58:51 -07:00
Elliot Glaysher
3af13630cf Merge branch 'rings' of github.com:urbit/urbit into rings 2019-06-24 13:51:18 -07:00
Elliot Glaysher
496e62e01d Merge branch 'cc-release' into rings
This translates the meson build to nix. Previously, we had our ge-additions
package just manually compiled in instead of having its own file.
2019-06-24 13:47:53 -07:00
Joe Bryan
66b49a4c5d Merge branch 'cc-release' into lighter-than-eyre
* cc-release:
  s/OS X/macOS
  Additional README updates. [ci skip]
  Update CONTRIBUTING.md. [ci skip]
  Update README for 0.8.0 release. [ci skip]
  removes u3l_log from u3m_bail() and c3_assert()
  enable ivory slog printfs during dawn (ethereum pre-boot validation)
  removes u3l_log() from critical error-handling code paths
  Retarget arvo at v0.8.0.rc.1.
  Update solid and brass pills in LFS.
  Points arvo submodule at zod.2019.6.3.
  removes c3_malloc/free calls from jets
  removes unused +mer:in jet
  fixes typo in +cue comment
  corrects +cue comment
  removes incorrect early return in cli argument-parsing
  tweaks cue/mug explicit stack conventions once more
  uses a separate desk and manual commit for +solid staging (avoids -A)
  tweaks explicit stack conventions in +cue jet
  refactors explicit stack usage in u3r_mug
2019-06-19 11:43:51 -07:00
Jared Tobin
2a9808ea99
Merge pull request #1291 from urbit/ccr-printf-fixes
cleans up some printf edge-cases on cc-release
2019-06-13 09:14:35 +08:00
Joe Bryan
6557fa1cc0 removes u3l_log from u3m_bail() and c3_assert() 2019-06-12 16:10:11 -07:00
Joe Bryan
1f15266d48 enable ivory slog printfs during dawn (ethereum pre-boot validation) 2019-06-12 11:03:43 -07:00
Joe Bryan
3507e5dbf0 removes u3l_log() from critical error-handling code paths 2019-06-12 11:00:14 -07:00
Jared Tobin
8d6e006b68
Retarget arvo at v0.8.0.rc.1. 2019-06-12 19:44:12 +08:00
Jared Tobin
44758ad17e
Points arvo submodule at zod.2019.6.3. 2019-06-03 18:56:43 +08:00
Joe Bryan
f89ad54a9b removes c3_malloc/free calls from jets 2019-05-24 14:17:53 -07:00
Joe Bryan
f36505f031 removes unused +mer:in jet 2019-05-24 14:14:59 -07:00
Joe Bryan
e213694d44 fixes typo in +cue comment 2019-05-24 14:12:59 -07:00
Joe Bryan
ca97fef17d
Merge pull request #1278 from urbit/ccr-mug-stack
cc-release: revise explicit-stack conventions in mug
2019-05-20 20:20:32 -07:00
Joe Bryan
82c9023516 corrects +cue comment 2019-05-20 20:19:45 -07:00
Joe Bryan
4fba951658 removes incorrect early return in cli argument-parsing 2019-05-17 14:36:55 -07:00
Joe Bryan
09d465bab0 tweaks cue/mug explicit stack conventions once more 2019-05-16 10:48:10 -07:00
Joe Bryan
8bfff9f342 bumps http server/proxy timeouts for CI 2019-05-14 14:36:20 -07:00
Joe Bryan
3fdc64b2da updates arvo and pills (to fix tests) 2019-05-14 13:49:21 -07:00
Joe Bryan
77281ad43d points arvo submodule to lte-loopback, updates pills 2019-05-14 11:43:54 -07:00
Joe Bryan
aec0772736 Merge branch 'cc-release' into lte-loopback
* cc-release:
  another round of +cue comments
  adds +cue comments per review
  cleans up cue, correcting comments and refcounting
  rewrites cue to avoid recursion (using the road stack)
  dedents cue jet
  adds jam/cue tests
  adds success printf to mug_tests
  renames hash_tests to mug_tests
2019-05-14 11:32:39 -07:00
Joe Bryan
88d3cb81fb tweaks explicit stack conventions in +cue jet 2019-05-14 11:01:00 -07:00
Joe Bryan
a1504557af refactors explicit stack usage in u3r_mug 2019-05-14 11:00:12 -07:00
Joe Bryan
67cde032de another round of +cue comments 2019-05-13 16:40:36 -07:00
Joe Bryan
9e9b5b45c1 adds +cue comments per review 2019-05-13 15:56:07 -07:00
Joe Bryan
7c4b1bf105 cleans up cue, correcting comments and refcounting 2019-05-13 14:32:45 -07:00
Joe Bryan
365239e1de rewrites cue to avoid recursion (using the road stack) 2019-05-12 02:34:43 -07:00
Joe Bryan
f1950799b8 dedents cue jet 2019-05-12 02:34:37 -07:00
Joe Bryan
73f8129a25 adds jam/cue tests 2019-05-12 02:34:30 -07:00
Joe Bryan
9af3034862 adds success printf to mug_tests 2019-05-12 02:34:22 -07:00
Joe Bryan
0661538ae0 renames hash_tests to mug_tests 2019-05-12 02:34:14 -07:00
Joe Bryan
a0a48cfd50 restores daemon-mode boot callback 2019-05-09 00:32:07 -07:00
Isaac Visintainer
381a537c9f added http-server loopback backdoor 2019-05-08 22:11:11 -07:00
Joe Bryan
1463954eb6 disables http2 2019-05-08 22:11:08 -07:00
Joe Bryan
4caee32f56 points arvo submodule to lighter-than-eyre, updates pills 2019-05-08 22:10:06 -07:00
Joe Bryan
905b5b6d1a Merge branch 'cc-release' into lighter-than-eyre
* cc-release: (445 commits)
  unmap the db on SIGABRT (for smaller core dump)
  fixes typo in daemon error printf
  adds (disabled) code to print and save comet "keyfile"
  fixes reference counts in _pier_work_boot()
  fixes u3m_soft early-return bail type
  refactors u3v_boot/_lite, fixes reference miscount
  use static keyword for local vortex.c functions
  removes unused .sys member of persistent u3A struct
  Get cross-compilation ready for release. (#1263)
  removes obsolete u3v functions, refactor u3v_boot(_lite)
  Use a typed size_t instead.
  removes obsolete u3m_boot, renames new boot functions
  Set the maximum event log size to forty gigabytes.
  removes duplicate manage.c init, fixes call sites
  Update link to docs for swap space help
  Add `git` to default.nix dependencies
  General patch cleanup
  Attempt at fixing compile on CI.
  Fix multi-event commit.
  Theoretically multi-event writes.
  ...
2019-05-08 22:09:51 -07:00
Joe Bryan
0e972f04c6 unmap the db on SIGABRT (for smaller core dump) 2019-05-06 21:55:52 -07:00
Joe Bryan
2a29a10c9d fixes typo in daemon error printf 2019-05-04 21:22:37 -07:00
Joe Bryan
e171596d98 adds (disabled) code to print and save comet "keyfile" 2019-05-04 21:22:37 -07:00
Joe Bryan
3d7b82936e fixes reference counts in _pier_work_boot() 2019-05-04 21:22:37 -07:00
Joe Bryan
f3867966bb fixes u3m_soft early-return bail type 2019-05-03 08:13:50 -07:00
Joe Bryan
dc1bf0c7d2 refactors u3v_boot/_lite, fixes reference miscount 2019-05-03 08:12:17 -07:00
Joe Bryan
a16450f62f use static keyword for local vortex.c functions 2019-05-02 17:10:09 -07:00
Joe Bryan
ff0be87001 removes unused .sys member of persistent u3A struct 2019-05-02 16:26:24 -07:00
Joe Bryan
7cd0b09cd4 Merge branch 'cc-release' into ccr-noun-clean
* cc-release:
  Get cross-compilation ready for release. (#1263)
  Use a typed size_t instead.
  Set the maximum event log size to forty gigabytes.
2019-05-02 16:26:11 -07:00
benjamin-tlon
ade1e59ce1
Get cross-compilation ready for release. (#1263)
* Add cross-compilation for `lmdb`.
* Got built caching working in CI with `cachix`.
* Cache cross compilation dependencies and toolchains.
* Do release builds in CI.
* Upload release builds to `bootstrap.urbit.org` on successful build.
* Lots of optimization work for CI.
* Boot from a solid pill in CI and load arvo with `-A`.
* Increase `vere` HTTP timeout to 15m.
2019-05-02 13:13:48 -07:00
Joe Bryan
08a181a6e2 removes obsolete u3v functions, refactor u3v_boot(_lite) 2019-05-02 11:35:52 -07:00
Elliot Glaysher
c06e8dbdb4 Use a typed size_t instead. 2019-05-02 10:50:59 -07:00
Joe Bryan
1565eede94 removes obsolete u3m_boot, renames new boot functions 2019-05-02 10:46:19 -07:00
Elliot Glaysher
7d246813f7 Set the maximum event log size to forty gigabytes. 2019-05-02 10:45:28 -07:00
Joe Bryan
1604313207 removes duplicate manage.c init, fixes call sites 2019-05-02 10:42:26 -07:00
Joe Bryan
46b14af63b Merge branch 'master' into ccr-noun-clean
* master:
  Update link to docs for swap space help
  Add `git` to default.nix dependencies
  Handle trailing newline in keyfile.
2019-05-02 10:40:57 -07:00
Elliot Glaysher
60196a9910 General patch cleanup 2019-04-29 14:23:27 -07:00
Elliot Glaysher
812b841f20 Attempt at fixing compile on CI. 2019-04-29 13:45:40 -07:00
Elliot Glaysher
06cfb81d60 Fix multi-event commit. 2019-04-29 10:59:15 -07:00
Elliot Glaysher
2fe916faac Merge remote-tracking branch 'origin/cc-release' into cc-batched-writes 2019-04-29 10:16:33 -07:00
Elliot Glaysher
8d691a63af Theoretically multi-event writes.
I'm having trouble testing this, though. Every constructed write request
is still only 1 event.
2019-04-29 10:06:03 -07:00
Joe Bryan
a378aac5ff
Merge pull request #1255 from urbit/ccr-cleanup
cc-release general cleanup
2019-04-26 14:53:12 -07:00
Joe Bryan
2c3bf6a9f2 corrects inaccurate u3m_reclaim comment in worker 2019-04-26 14:38:24 -07:00
Joe Bryan
e4db6edb24 restores perror() calls in terminal hijack/lojack to avoid possible reentrance 2019-04-26 14:36:38 -07:00
Joe Bryan
4f3f3897f8 moves _pier_apply into uv_idle_t, runs once per libuv turn 2019-04-26 14:24:01 -07:00
Joe Bryan
9196f7cc4a removes obsolete members from persistent u3A struct 2019-04-26 13:59:37 -07:00
Joe Bryan
56750c5f59 updates worker to store interim lifecycle events in u3V 2019-04-26 13:57:11 -07:00
Joe Bryan
1f86128b69 restores external arvo time on event failure 2019-04-26 13:56:42 -07:00
Joe Bryan
be254c57ae moves mug chaining enforcement entirely into the worker 2019-04-26 13:31:29 -07:00
Joe Bryan
b6b84b5369 updates the worker to track in-progress vs completed event numbers 2019-04-26 11:27:20 -07:00
Joe Bryan
45fff7f8da restores kernel mug when restarting the worker (on %play) 2019-04-26 11:13:49 -07:00
Elliot Glaysher
51253dca5d Build write request struct. 2019-04-26 11:08:10 -07:00
Joe Bryan
6b362c4008 tweaks event reference counting and fixes mis-fixed memory leak 2019-04-26 08:55:26 -07:00
Joe Bryan
3900d1a0c2 removes superfluous seeding of the openssl prng 2019-04-25 23:17:59 -07:00
Joe Bryan
edc142019e replaces perror() with u3l_log() 2019-04-25 23:17:59 -07:00
Joe Bryan
3b9a19d2f9 adds lmdb to library version report 2019-04-25 23:17:59 -07:00
Joe Bryan
5d0f1e1465 Merge branch 'master' into ccr-cleanup
* master:
  bump urbit version number
  if sweep gives 0 and reference count != 0, leak
  added urbit, curl and argon2 to version reporting (urbit -R)
  [CI] bump pinned arvo commit
  bump urbit version number to 0.7.3
  Consistently use "boot:" printf prefix
  Be more precise about the snapshot contents
  Re-add printf to notify of snapshot download
2019-04-25 22:56:14 -07:00
Joe Bryan
df59b1a489
Merge branch 'cc-release' into cc-event-replay-check 2019-04-25 17:04:39 -07:00
Joe Bryan
8fe2835e90
Merge pull request #1251 from BernardoDeLaPlaz/vere_build_warnings
remove all build warnings
2019-04-25 16:53:11 -07:00
Elliot Glaysher
ce0c78d1ea Cleanup 2019-04-25 16:35:29 -07:00
Elliot Glaysher
563214c2a2 Verify mugs on log replay to detect nondeterministic replay.
Joe helped write the worker/main.c changes so that we consistently
return the mug of the current state on each %done message. Then
enabled a check in _pier_work_complete() which asserts that the
recomputed event produces the same state as the next event was
expecting to be applied to.
2019-04-25 16:22:41 -07:00
BernardoDeLaPlaz
043333f767 -Werror turned on 2019-04-25 18:23:53 -04:00
BernardoDeLaPlaz
e9a2784982 Merge branch 'vere_build_warnings' of https://github.com/BernardoDeLaPlaz/urbit into vere_build_warnings 2019-04-25 18:07:06 -04:00