Commit Graph

3435 Commits

Author SHA1 Message Date
Joe Bryan
8fe90875cd replaces calls to u3qc_hor with u3qc_gor 2019-01-08 20:14:55 -05:00
Joe Bryan
421781652d updates arvo interface to use new axes 2019-01-08 18:17:45 -05:00
Joe Bryan
bad60672e4 removes +hor jet, sets *_hor to point to *_gor 2019-01-08 18:15:39 -05:00
Joe Bryan
1d1a259f31 removes old u3r_mug*, switches u3r_mur* to u3r_mug* 2019-01-08 18:13:25 -05:00
Joe Bryan
ce7eb6ffcb sets u3qc__stage_hor to point to u3qc__stage_gor 2019-01-08 18:07:05 -05:00
Joe Bryan
aa3566a642 sets u3r__stage_mug to point to u3r_mur 2019-01-07 23:31:37 -05:00
Joe Bryan
e179667323 jets u3r_mur 2019-01-07 23:31:37 -05:00
Joe Bryan
de3dcee7d5 memoize u3r_mur in temporary gum_w 2019-01-07 23:31:37 -05:00
Joe Bryan
cd96ad658d adds temporary gum_w hash slot to u3_noun 2019-01-07 23:31:37 -05:00
Joe Bryan
cee1bfe591 adds staged jet headers and dashboard declarations, renames everything 2019-01-07 23:31:37 -05:00
Joe Bryan
a906af1ca4 adds pristine jet copies (hash-order, containers, compiler) 2019-01-07 23:31:37 -05:00
Joe Bryan
2240edd354 adds basic tests for u3r_mur 2019-01-07 23:31:32 -05:00
Joe Bryan
1974eca515 uses u3r_mur_bytes in all other u3r_mur* functions 2019-01-07 22:24:42 -05:00
Joe Bryan
30c55e88ab refactors non-zero hash iteration in u3r_mur* 2019-01-07 21:59:25 -05:00
Joe Bryan
f0fdfe118f uncomments/fixes/finishes u3r_mur* functions 2019-01-07 21:57:48 -05:00
Joe Bryan
86a38cbb92 fixes u3_atom/c3_w mixup in +muk jet, refactors 2019-01-07 21:23:29 -05:00
Joe Bryan
4d486efafe
Merge pull request #1119 from mrdomino/meson-cleanup
meson cleanup
2019-01-03 15:32:28 -05:00
Jōshin
c7213bfc43 Abbreviate cc 2019-01-02 21:31:55 -08:00
Jōshin
685914c7e3 Sort deps 2019-01-02 21:31:55 -08:00
Jōshin
114deafd54 Fix build on OSX with MacPorts
MacPorts OpenSSL seems to include a proper pkgconfig file, so the
openssl dependency just works. N.B. I haven't tested this on a
homebrew system yet.

I also added a note to set LIBRARY_PATH=/opt/local to pick up gmp and
libsigsegv. An alternative would be to specify dirs: ['/opt/local/lib',
'/usr/local/lib'] on each of them.
2019-01-02 21:31:55 -08:00
Jōshin
b223cd8799 meson cleanup
- host_machine seems to be what we want for the machine that the binary
  will run on. Doesn't matter unless anyone's cross compiling.

- There's a magic cross-platform threads dep apparently.
2019-01-02 21:31:55 -08:00
Joe Bryan
e255d3d23d
Merge pull request #1121 from mrdomino/remove-deps
Try removing a bunch of dependencies
2019-01-02 22:57:25 -05:00
Jōshin
f8054ea6ed Try removing a bunch of dependencies 2019-01-02 18:12:23 -08:00
Joe Bryan
c3fe60db4a
Merge pull request #1120 from mrdomino/calloc-cleanup
Clean up allocator defs
2019-01-02 15:39:37 -05:00
Jōshin
67c0b7b39b Clean up allocator defs
- Condense the allocator section in defs.h and make it match the
  surrounding style.

- Use real calloc in c3_calloc. Some guy on the internet says
  calloc can be faster than malloc since the OS may not actually
  need to call memset.

- Replace calloc calls in vere code with c3_calloc.

Note that I left the c3_calloc definition as-is (i.e., not taking
a count argument). I was going to change it, but it seems like
count is 1 at all call sites. If it's ever used with count != 1,
I'd be in support of changing it, fwiw.
2019-01-02 11:23:06 -08:00
Joe Bryan
991f39deb1
Merge pull request #1116 from mrdomino/random-cleanup
Random cleanup
2018-12-28 00:00:03 -05:00
Jōshin
ceba869a91 Eliminate extra c3_rand call 2018-12-27 17:30:18 -08:00
Jōshin
fbd5d4e2ad Capture errors within uH / uL 2018-12-27 17:22:50 -08:00
Jōshin
c7d2256e03 Use c3_fpurge 2018-12-27 17:22:46 -08:00
Fang
50938333a2
Merge pull request #1114 from urbit/azimuth-sponsor
Update dawn comments
2018-12-21 18:36:49 +01:00
Fang
a09e2b7818 Update comments in dawn to reflect changes in urbit/arvo#958 2018-12-21 18:00:48 +01:00
Fang
20adb8a4f7
Merge pull request #1111 from urbit/azimuth
Rename hull to point in Ethereum boot logic
2018-12-18 20:48:50 +01:00
Fang
e53b0497a2 Rename hul to pot, to match renaming of hull to point 2018-12-18 17:40:05 +01:00
ixv
4d7a04d4d9
Merge pull request #1113 from urbit/raft-bugfix
fix _raft_lame bug
2018-12-17 17:13:17 -08:00
Isaac Visintainer
61b9556612 fix _raft_lame bug 2018-12-17 16:59:24 -08:00
Fang
f3e60b800a Rename hull to point in Ethereum boot logic 2018-12-17 13:20:49 +01:00
Joe Bryan
1efb9c3ec4
Merge pull request #1110 from mrdomino/release-candidate
Fixes the build on OpenBSD
2018-12-14 19:08:07 -05:00
Jōshin
830c0715f8 Only bail if profiling is enabled 2018-12-14 23:04:38 +00:00
Jōshin
69f4157588 Fixes the build on OpenBSD
Tested with stock clang on an OpenBSD 6.4 amd64 VM. Unfortunately
clang (and also gcc from ports) was not pleased about c3_rand,
whereas this was fine before. I have no idea what changed, but it
works now.
2018-12-14 22:51:02 +00:00
Joe Bryan
c707770e8a
Merge pull request #1109 from urbit/bail-fail-continue
don't abort on bail:fail, but continue with crash handling
2018-12-14 16:07:54 -05:00
Joe Bryan
916223326c don't abort on bail:fail, but continue with crash handling 2018-12-13 23:26:17 -05:00
Joe Bryan
a50e040d55
Merge pull request #1108 from urbit/opt-event-time
renames event-timing, adds build option to enable
2018-12-13 21:22:49 -05:00
Joe Bryan
7a172f6860 renames event-timing, adds build option to enable 2018-12-13 20:03:19 -05:00
Joe Bryan
5a397fef43
Merge pull request #1107 from urbit/crypt-log
re-enable event-log encryption
2018-12-13 19:55:22 -05:00
Joe Bryan
e0880a5b2e
Merge pull request #1094 from urbit/build-compat
fixes various build and compatibility issues
2018-12-13 19:46:13 -05:00
Elliot Glaysher
cd9458603b
Merge pull request #1106 from urbit/jet-del-in
Add jet for +del:in
2018-12-13 15:27:02 -08:00
Elliot Glaysher
e25c8388a4 Add jet for +del:in 2018-12-13 14:39:53 -08:00
Joe Bryan
abe21628d5 Merge branch 'release-candidate' into build-compat
* release-candidate: (27 commits)
  Style nits
  [CI] Update arvo
  Add a jet for +del:by
  fit UTF-8 tape bug
  calls u3_raft_work on leader promotion (for eager restart effects)
  removes unused u3v_nick (effect traversal) and u3v_http_request
  refactors event replay, removing unnecessary effect traversal
  refactors event poke, removing unnecessary effect traversal
  trailing whitespace
  adds and corrects some raft comments
  separates effects and persistence
  updates terminal to always 32 bytes on read
  updates ames to always allocate 2K bytes on read
  set alarm for behn timers
  updates u3_raft_work() to be async, adds sync u3_raft_play()
  synchronously processes each event singly
  handles effect/event pairs singly while iterating queue
  factor out raft_pump()
  factored out _raft_crop() and _raft_poke()
  uncouple roe mutation
  ...
2018-12-13 17:22:04 -05:00
Joe Bryan
766e6e507e prevents profiling on *bsd 2018-12-13 17:04:26 -05:00
Joe Bryan
a9f912cf0b removes preprocessor errors in trace.c on openbsd 2018-12-13 15:49:02 -05:00