Commit Graph

465 Commits

Author SHA1 Message Date
Joe Bryan
8b985fccfc u3: unifies unifying equality (removes u3r_sang/u3r_sung) 2019-09-20 23:22:40 -07:00
Joe Bryan
aa25024e83 u3: refactors unifying equality unification 2019-09-20 23:21:07 -07:00
Joe Bryan
a5599eaab1 u3: minor refactoring of u3r_sing traversals 2019-09-20 23:21:07 -07:00
Joe Bryan
443f593d95 u3: removes u3rz_sing in favor of the pre-existing u3r_sing_c 2019-09-20 23:21:07 -07:00
Joe Bryan
442fdc3fe7
Merge pull request #1753 from urbit/hash-take
u3: hashtable improvements, road promotion refactor
2019-09-20 23:20:08 -07:00
Joe Bryan
7e8186bce1 u3: further refactors u3m_love, removes obsolete ordering concerns 2019-09-19 16:56:08 -07:00
Joe Bryan
f8460c26f6 u3: refactors _cj_hank_find(), removes u3j_site_copy 2019-09-19 16:56:08 -07:00
Joe Bryan
859d0a6102 u3: separates "take" and "reap" in the jet dashboard 2019-09-19 16:56:34 -07:00
Joe Bryan
5baac037ab u3: separates "take" and "reap" in the bytecode interpreter 2019-09-19 16:56:08 -07:00
Joe Bryan
865e5b9592 u3: adds comments to inner hashtable struct definitions 2019-09-17 23:41:18 -07:00
Joe Bryan
8059d10957 u3: adds u3h_take/with hashtable road promotion 2019-09-17 18:31:43 -07:00
Joe Bryan
1d955d67b4 u3: adds u3h_uni hashtable merge 2019-09-17 18:29:33 -07:00
Joe Bryan
b910d178a4 u3: moves u3_put immediately after internals 2019-09-17 18:28:06 -07:00
Joe Bryan
3680c5e7cb u3: refactors hashtable allocations 2019-09-17 18:27:50 -07:00
Joe Bryan
8338345ac7 u3: adds macros for (most) hashtable shifts and bit-tests 2019-09-17 18:27:50 -07:00
Joe Bryan
a96928ad53 u3: refactors u3h_gut internals to more closely match u3h_git 2019-09-17 18:27:44 -07:00
Joe Bryan
225fba3d19 u3: fixes up whitespace in hashtable initializations 2019-09-17 14:28:57 -07:00
Joe Bryan
408eb0afcf u3: consistently uses u3k/u3z in hashtable 2019-09-17 14:22:03 -07:00
Jared Tobin
07fcbd6d29
Merge branch 'pp/rm-nest-find' (#1643)
* pp/rm-nest-find:
  jets: rename ut_find.c -> ut_fond.c
  jets: rm nest (keep dext); find was dead code

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-17 14:05:40 -02:30
pilfer-pandex
5c93964d88
jets: rename ut_find.c -> ut_fond.c 2019-09-17 14:02:16 -02:30
pilfer-pandex
42b3be3232
jets: rm nest (keep dext); find was dead code 2019-09-17 14:01:56 -02:30
Joe Bryan
1af7df7bb4
worker: also replaces fd 0/1 so we don't accidentally re-use them 2019-09-17 13:17:26 -02:30
Benjamin Summers
14a5507a93
worker: dup({0,1}) on serf start to prevent accidental use of stdin/stdout. 2019-09-17 13:17:23 -02:30
Jared Tobin
1a6e5ce9fa
Merge branch 'treapfactor' (#1724)
* treapfactor:
  u3: refactors disabled map treap jets (+int:by and +uni:by)
  u3: refactors map treap jets (+by)
  u3: refactors disabled set treap jet (+int:in)
  u3: refactors set treap jets (+in)
  u3: adds u3r_vmean (explicit varargs list), u3x_mean
  u3: cleans up xtract.c (mostly style, minor refactoring)

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-12 06:49:54 -02:30
Joe Bryan
076d3879cd u3: refactors disabled map treap jets (+int:by and +uni:by)
blah by
2019-09-11 13:37:23 -07:00
Joe Bryan
145bf47c27 u3: refactors map treap jets (+by) 2019-09-11 13:32:24 -07:00
Joe Bryan
358088a826 u3: refactors disabled set treap jet (+int:in) 2019-09-11 13:32:25 -07:00
Joe Bryan
722b961d3a u3: refactors set treap jets (+in) 2019-09-11 13:32:20 -07:00
Joe Bryan
22f10d755f u3: adds u3r_vmean (explicit varargs list), u3x_mean 2019-09-11 11:15:40 -07:00
Joe Bryan
95fe078b9f u3: cleans up xtract.c (mostly style, minor refactoring) 2019-09-11 11:15:36 -07:00
Joe Bryan
3612f508a5 u3: rewrites +muk jet to skip heap allocations where possible 2019-09-11 11:05:13 -07:00
Jared Tobin
9dc7f1d62b
Merge branch 'event-time' (#1719)
* event-time:
  worker: fixes scope issue inside #ifdef U3_EVENT_TIME_DEBUG

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:54:50 -02:30
Joe Bryan
a2dcabd38e
worker: fixes scope issue inside #ifdef U3_EVENT_TIME_DEBUG 2019-09-11 10:53:56 -02:30
Jared Tobin
8a4fdc5843
Merge branch 'noun-tests' (#1718)
* noun-tests:
  cleans up tests from previous commit, backporting to 32-bit
  64-bit noun tests

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:52:35 -02:30
Jared Tobin
be6d93d09b
Merge branch 'gmp-copy-less' (#1717)
* gmp-copy-less:
  noun: remove extra allocations from u3a_atom->gmp and reverse conversions

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:47:51 -02:30
Joe Bryan
d0c26edd24
noun: remove extra allocations from u3a_atom->gmp and reverse conversions
Our conversions to and from GMP structs and our indirect atoms (a
heap-allocated array of uint_32_t) used alloca() and copied twice out of
an apparent abundance of caution. This PR removes the unnecessary
intermediate copy from both conversions.
2019-09-11 10:41:29 -02:30
Joe Bryan
a124dfe61f
noun, worker: write -P profile into pier
The -P argument makes urbit send itself SIGPROF every 10ms. Sample
profile data is interpolated into a structure on the home road, which is
summarized and printed when urbit exits gracefully. (Note that this
profile will be useless without the CPU_DEBUG build option).

As of v0.8.0, the profiling became much more awkward. The multi-process
shutdown doesn't include affordances for sending the profiling data over
IPC, so it just prints to the terminal after urbit appears to have
shutdown. This PR changes the profiling printout, unconditionally
writing it to a file in the pier (at .urb/put/profile/~DATE.txt).
2019-09-11 10:33:16 -02:30
Joe Bryan
6cb7a1a97a cleans up tests from previous commit, backporting to 32-bit 2019-09-10 13:14:39 -07:00
BernardoDeLaPlaz
b9d893fc80 64-bit noun tests
cherry-picked from 9702a313157cd2bde703fc2082ebb295027fd481
2019-09-10 13:14:34 -07:00
Joe Bryan
b2a7e8c30d term: rewrites spinner, renders on main loop 2019-08-27 23:14:40 -07:00
Joe Bryan
15c7c6c11c term: minor refactoring of write patterns 2019-08-27 23:12:04 -07:00
Ted Blackman
0fc1675928 Merge branch 'master' into alef-testnet 2019-08-27 14:06:09 -07:00
Philip Monk
a25b082e04
dill, helm: add lite boot option with -l 2019-08-26 11:04:24 -07:00
Jared Tobin
1076663018
Merge branch 'philip/jael-fix' 2019-08-24 08:31:25 -02:30
Philip Monk
754fd98b7f
pier.c: add colors for priority printfs 2019-08-23 19:34:57 -07:00
Philip Monk
212b5879fd
dawn.c: produce full sponsor chain keys 2019-08-22 14:16:26 -07:00
Jared Tobin
ac62527c8f
vere: version bump (0.8.2)
(cherry picked from commit 4ee691457e)
2019-08-22 12:58:59 -02:30
Ted Blackman
fc9104cb47 Merge branch 'master' into alef-testnet (might not work) 2019-08-19 14:43:39 -07:00
Joe Bryan
72d2b09f83 improves u3r_mug_bytes() efficiency (a little) 2019-08-14 02:50:36 -07:00
Joe Bryan
15b0268c6f rewrites u3a_take to use the road stack 2019-08-14 02:48:00 -07:00
pilfer-pandex
06e25fdf89 Merge branch 'master' into decap-all 2019-08-09 14:26:20 -07:00
pilfer-pandex
1c243a1154 address joe's feedback (except mean) 2019-08-09 11:38:44 -07:00
Philip Monk
c453450d9c
add |moon, |moon-cycle-keys, and |moon-breach 2019-08-07 17:59:01 -07:00
Philip Monk
6eb4d9389d
remove snapshot scaffolding 2019-08-07 13:54:47 -07:00
Philip Monk
6468fe7a4a
review fixes 2019-08-07 10:46:03 -07:00
Philip Monk
b0dee239e7
Merge remote-tracking branch 'origin/master' into philip/kale 2019-08-06 15:47:20 -07:00
Philip Monk
4ddd08890c
switch back to mainnet 2019-08-06 11:18:45 -07:00
Ted Blackman
626f7c9a75 Merge branch 'philip/kale' into alef-testnet 2019-08-05 22:06:53 -07:00
Joe Bryan
e8e5b60513 adds (disabled) road stack-overflow check to jam and nock 2019-08-05 16:26:36 -07:00
Joe Bryan
e03c9286aa replaces road stack sanity assertions with explicit bail:meme 2019-08-05 13:07:41 -07:00
Philip Monk
21e4baa2ed
Merge remote-tracking branch 'origin/master' into philip/kale 2019-08-05 13:02:31 -07:00
Philip Monk
eaae4452c8
remove printfs 2019-08-05 11:39:35 -07:00
pilfer-pandex
4a2c392472 rm q jets, unneeded molting and cooking 2019-08-02 16:06:16 -07:00
pilfer-pandex
94f607699d remove unneeded jets, access to q jets 2019-08-02 16:03:38 -07:00
Isaac Visintainer
076706c1d3 update urbit version number and pills 2019-08-02 14:56:28 -07:00
Joe Bryan
47d7d48928 moves ca-bundle header generation into a separate nix derivation 2019-08-02 13:57:34 -07:00
Joe Bryan
e9def4d3d8 moves ivory header generation into a separate nix derivation 2019-08-02 13:55:15 -07:00
Joe Bryan
7f8f395b6c updates ivory codegen to fail if ivory.pill is an lfs pointer 2019-08-02 13:54:54 -07:00
Joe Bryan
cb3bb507b7
Merge pull request #1417 from urbit/exit-cleaner
exit cleanly where appropriate; don't, where not
2019-08-01 17:47:42 -07:00
Joe Bryan
0a1c4d24c3 converts SIGQUIT into SIGABRT in the daemon 2019-08-01 17:19:58 -07:00
Joe Bryan
ddc298bd3d ensures clean exit in daemon on worker exit 2019-08-01 16:51:40 -07:00
Ted Blackman
1d62f1eecc Merge branch 'philip/kale' into alef-testnet 2019-08-01 15:56:23 -07:00
Joe Bryan
9beaae2ae0 ignores SIGPIPE in both daemon and worker processes 2019-08-01 13:57:47 -07:00
ixv
a8ee892613
Merge pull request #1392 from urbit/ames-czar-print-less
updates ames i/o driver to track galaxy state transitions
2019-08-01 13:48:07 -07:00
Philip Monk
1391ecafd3
pills and fix pill generation 2019-08-01 13:17:14 -07:00
Philip Monk
54a3031397
add keys to sponsor in preboot validation 2019-08-01 11:14:36 -07:00
pilfer-pandex
a5a9220284 decapitate nest:ut with caching for dext 2019-08-01 11:13:40 -07:00
pilfer-pandex
a332bb17b2 kill conk:ut jet 2019-07-30 13:53:09 -07:00
pilfer-pandex
30c47dac09 decapitate wrap:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
762d4b5d83 decapitate toss:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
00b70a9a2b decapitate rest:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
f49e5aa5bd dejet repo:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
1005d5d7f8 decapitate play:ut (broken??) 2019-07-30 13:53:09 -07:00
pilfer-pandex
70b0223d39 decapitate peel:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
6fdb739a38 decapitate peek:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
7306e80da2 decapitate mull:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
5057cb733c decapitate mint:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
ffa0d9108c decapitate fuse:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
61b957cc5b decapitate fish:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
13c73ea990 decapitate fire:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
0d97cee2ee decapitate find:ut, fond:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
67d51c1c1f decapitate crop:ut 2019-07-30 13:53:09 -07:00
Ted Blackman
197ed0f2d4 no more memory leaks 2019-07-29 14:53:19 -07:00
Ted Blackman
9670408a06 Merge branch 'master' into alef-breach 2019-07-29 00:27:58 -07:00
Ted Blackman
e04d2c8570 worker printfs 2019-07-29 00:14:39 -07:00
Joe Bryan
f31e60b385 updates ames i/o driver to track galaxy state transitions and print less 2019-07-25 19:56:34 -07:00
Joe Bryan
ef9b71a931 updates ames i/o driver to drop outbound packets if not live 2019-07-25 19:56:00 -07:00
Ted Blackman
1f1c75ccb0 Cleanup, remove printfs 2019-07-25 15:56:33 -07:00
Philip Monk
30a3ec41c5
add -I to inject event 2019-07-25 14:57:10 -07:00
Ted Blackman
de9ff11560 |hi ~nec successful 2019-07-25 14:50:08 -07:00
Ted Blackman
c7c0c6334f serial experiments lane; fixed some bugs but still bail:fouls 2019-07-24 18:01:01 -07:00
Ted Blackman
f09d7a4d7c ames.c now works; fixed multiple bugs with help from @joemfb 2019-07-24 15:55:43 -07:00
Ted Blackman
bccfb2a94b fix vere lane recv 2019-07-23 17:31:35 -07:00
Joe Bryan
0d3df28fdb automatically generates header for embedded ivory.pill 2019-07-23 12:25:26 -07:00
Ted Blackman
490341bac6 Fixed %barn to %born in vere.c 2019-07-22 19:14:18 -07:00
Ted Blackman
6c22beea8c Merge branch 'master' into alef-breach 2019-07-22 11:46:40 -07:00
Joe Bryan
d74e09dc6a ignore write() failures on the terminal spinner thread 2019-07-19 10:58:02 -07:00
pilfer-pandex
3902197dbb update the solid and ivory pills, ivory.c (play mismatch fix) 2019-07-17 17:43:18 -07:00
Jared Tobin
8fcf88b03e
Merge pull request #1337 from jfranklin9000/v0.8.0.rc
Remove cheesy Libraries header in main.c:report()
2019-07-16 10:56:35 -02:30
Joe Bryan
8afee3b71b fixes slog priority printfs, enables utf8 in tanks 2019-07-15 14:07:00 -07:00
John Franklin
4fcbfbd165 Remove cheesy Libraries header in main.c:report() 2019-07-13 13:49:42 -05:00
Joe Bryan
7ac6f06e7a tweaks style of content-length fix in http.c 2019-07-12 14:37:50 -07:00
Elliot Glaysher
86d56e24c5 Maybe this fixes the transfer encoding issue. ¯\_(ツ)_/¯ 2019-07-12 14:23:51 -07:00
Joe Bryan
df15dcd5ba acquires pier lockfile on io_init instead of io_talk 2019-07-11 23:54:11 -07:00
Joe Bryan
2c286dc033
Merge pull request #1330 from urbit/daemon-leak-replace
plugs leak in daemon replacement-event handling
2019-07-11 17:14:08 -07:00
Joe Bryan
0a4066cc72 updates .gitignore 2019-07-11 17:07:36 -07:00
Joe Bryan
77a23ee542 Merge branch 'v0.8.0.rc' into xcompile-curl-tls
* v0.8.0.rc:
  Move urbit output binary to a build directory.
  80 cols
  changed name of app to be consistent
  updated publish files
2019-07-11 17:05:58 -07:00
Joe Bryan
6d88bd8842 plugs leak in daemon replacement-event handling 2019-07-11 17:00:08 -07:00
Jared Tobin
1a0111a83e
Merge pull request #1328 from urbit/modulo-publish
Modulo publish app
2019-07-12 07:44:03 +08:00
Joe Bryan
75556e2367 explicitly pass certificate-bundle path to curl 2019-07-11 16:43:46 -07:00
Elliot Glaysher
8e2ddd6e42 Move urbit output binary to a build directory. 2019-07-11 15:44:17 -07:00
Elliot Glaysher
061ce208f0
Merge pull request #1324 from urbit/embed-ssl-certs
Embed the nix SSL certificate file into the resulting binary.
2019-07-11 15:42:17 -07:00
Isaac Visintainer
a60d8cdbfc changed name of app to be consistent 2019-07-11 15:07:05 -07:00
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
1ad2712870 Merge branch 'alef' into alef2 2019-07-11 14:26:22 -07:00
Ted Blackman
e6e2b6d197 fix _ames_recv_cb() to use new lanes 2019-07-11 11:47:02 -07:00
Ted Blackman
6e3b4534a5 rewrote u3_ames_ef_send() to use new lanes 2019-07-11 11:44:00 -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
Ted Blackman
f104f4115b add %ipv4 tag to vere lane 2019-07-10 17:05:05 -07: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
Ted Blackman
ed4d477ba0 Initial vere test passes on ames lane codec 2019-07-09 17:48:10 -07:00
Philip Monk
9d2cea7928
retry tcsetattr on EINTR 2019-07-05 13:09:49 -07:00
Joe Bryan
32e5bd9e73 removes unused (list host) from %eyre %born 2019-07-04 00:15:23 -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
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
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
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
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
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