Commit Graph

274 Commits

Author SHA1 Message Date
Elliot Glaysher
3514439fe1 We can read data from an lmdb event log.
(And maybe write, but we didn't test that.)
2019-05-30 13:19:26 -07:00
Elliot Glaysher
7cedae3f70 Merge branch 'bs/uterm' of github.com:urbit/urbit into bs/uterm 2019-05-29 16:44:03 -07:00
Elliot Glaysher
80ffe5f8ec Think about writeEvent? 2019-05-29 16:43:51 -07:00
Elliot Glaysher
0509e9d45c Lots more code for lmdb. 2019-05-29 16:25:38 -07:00
Benjamin Summers
a37ac10413 Isle colors. 2019-05-29 12:47:14 -07:00
Benjamin Summers
e562dac9f7 Various fixes and improvements. 2019-05-29 11:33:09 -07:00
Benjamin Summers
43ba628aa6 Got Vere.Log.put to compile. 2019-05-28 17:32:39 -07:00
Elliot Glaysher
c5cc3308ce Sketching lmdb integration. Unfinished. 2019-05-28 17:16:30 -07:00
Benjamin Summers
854e2da4b8 Correct axis for fire. 2019-05-27 16:10:17 -07:00
Benjamin Summers
20a95edacb Bugfix + core example (but has infinite type until recursive types are implemented). 2019-05-24 18:33:46 -07:00
Benjamin Summers
0be4b8527f Attila: Use nock 9 for firing arms. 2019-05-24 18:10:24 -07:00
Elliot Glaysher
845890e87c Various fixes and improvements. 2019-05-24 16:08:59 -07:00
Elliot Glaysher
edd289181b Some server stuff. 2019-05-24 16:03:46 -07:00
Benjamin Summers
7989d07ec3 More Attilla.IR cleanup. 2019-05-23 17:16:28 -07:00
Elliot Glaysher
5dc839bc36 Add some server stuff. 2019-05-23 16:58:18 -07:00
Elliot Glaysher
ee1938f6fe Merge branch 'lighter-than-eyre' into bs/uterm 2019-05-23 16:02:51 -07:00
Benjamin Summers
8e3d71747c More cleanup. 2019-05-23 15:16:32 -07:00
Benjamin Summers
e6fd500692 Attila.IR cleanup. 2019-05-23 14:54:48 -07:00
Benjamin Summers
ae3031f3fc Nock code generation for Attila. 2019-05-23 00:12:44 -07:00
Benjamin Summers
a129f7e6f1 Type Inference for Attila's IR 2019-05-22 18:14:21 -07:00
Benjamin Summers
3fa12dcec4 Wrote most of the code for a high-perf cue. 2019-05-21 00:25:58 -07:00
Benjamin Summers
a66aeb398a Language.Attilla 2019-05-20 16:40:02 -07:00
Benjamin Summers
dc5db9f3d1 Loading pills works; initial work on jets for jam/cue. 2019-05-20 16:04:28 -07:00
Benjamin Summers
83db727920 Tested the shit out of my pill loading code. 2019-05-19 23:14:07 -07:00
Benjamin Summers
a755880d46 Debugging and Optimizing jam/cue 2019-05-19 20:20:03 -07:00
Benjamin Summers
9919127620 Wrote code to load a pill file, but it doesn't work yet. 2019-05-19 18:53:32 -07:00
Benjamin Summers
64e4d11427 Optimized Zip compression table and dramatically simplified it's code 2019-05-17 20:44:13 -07:00
Benjamin Summers
fd1190faba Optimize zip for small atom sizes. 2019-05-17 16:02:39 -07:00
Elliot Glaysher
7b7510b859 Fleshed out Client.hs. 2019-05-17 14:52:12 -07:00
Benjamin Summers
0008ca0bc9 Various fixes and improvements. 2019-05-16 23:39:07 -07:00
Benjamin Summers
18098beaac zipFlat is now typically smaller and faster than jam. 2019-05-16 19:56:06 -07:00
Benjamin Summers
2374ed3ce8 Don't send a Canceled event if the request already finished. 2019-05-16 18:45:03 -07:00
Benjamin Summers
fc6f3028e2 Vere.Http.Client golfing. 2019-05-16 18:25:58 -07:00
Elliot Glaysher
971f21d634 Skeleton of http client operations. 2019-05-16 17:05:34 -07:00
Elliot Glaysher
f1d8dda6ca Note about certificates. 2019-05-15 17:04:21 -07:00
Elliot Glaysher
7dfc6b9c19 Working out the datatypes. 2019-05-15 17:00:10 -07:00
Benjamin Summers
90470dc67d Various fixes and improvements. 2019-05-14 22:09:53 -07:00
Benjamin Summers
805e954980 Got jam/cue fully working and tested. 2019-05-14 18:30:44 -07:00
Benjamin Summers
de227b07a0 Implemented jam, but the tests don't pass yet. 2019-05-14 15:13:18 -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
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
Benjamin Summers
91b1a8be48 Notes 2019-05-13 13:46:05 -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
Benjamin Summers
4e1b4eb8f7 Got cue working. 2019-05-10 14:59:45 -07:00
Benjamin Summers
b4b4d2ff7b Implement bitWidth (for cue/rub). 2019-05-09 19:45:28 -07:00
Benjamin Summers
966792b767 Implemented rub+cue and started on FromNoun+ToNoun. 2019-05-09 19:02:47 -07:00
Benjamin Summers
cfe4df4a9d Basic GHC libnoun impl. 2019-05-09 15:46:56 -07:00
Benjamin Summers
52d7d64f02 Fixed a couple of bugs in time conversions. 2019-05-09 13:01:22 -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
Benjamin Summers
9fd6aa04b4 Faster Behn 2019-05-08 16:57:34 -07:00
Benjamin Summers
eaac71ce6b Debugged behn timer accuracy. 2019-05-08 13:51:04 -07:00
Benjamin Summers
e6d8d382dc Moved *.hs into a single package. 2019-05-08 13:00:12 -07:00
Benjamin Summers
fbf9a1b3fc Urbit.Time 2019-05-08 11:47:20 -07:00
Joe Bryan
0e972f04c6 unmap the db on SIGABRT (for smaller core dump) 2019-05-06 21:55:52 -07:00
Benjamin Summers
4b38053509 Behn 2019-05-05 14:46:40 -07:00
Benjamin Summers
88f1bc5eeb Merge branch 'cc-release' of https://github.com/urbit/urbit into bs/uterm 2019-05-05 11:53:00 -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 Summers
ba7c7f6644 Merge branch 'bs/uterm' of github.com:urbit/urbit into bs/uterm 2019-05-02 13:16:32 -07:00
Benjamin Summers
de04fe53c2 Merge branch 'cc-release' of github.com:urbit/urbit into bs/uterm 2019-05-02 13:14:25 -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
Benjamin Summers
25713052c0 Messing around. 2019-05-01 19:19:19 -07:00
Benjamin Summers
87dbcef866 Minor cleanup. 2019-04-29 16:15:25 -07:00
Benjamin Summers
ac8144114b Some Haskell. Now how to build with nix? 2019-04-29 16:01:18 -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