Commit Graph

577 Commits

Author SHA1 Message Date
Joe Bryan
7ce31c1a59 threads output file pointer through memory marking and printing 2019-01-29 21:56:35 -05:00
Joe Bryan
b995984909 adds comment explaining u3a_minimum 2019-01-29 17:49:41 -05:00
Joe Bryan
de8abeac69 refactors libnoun memory marking, adds optional printfs 2019-01-29 17:20:31 -05:00
Jōshin
680fe91953 Remove includes introduced for getentropy 2019-01-16 09:14:11 -08:00
Jōshin
30b616dd8b Use libent for getentropy 2019-01-16 09:06:12 -08:00
Ted Blackman
0ad64600a2
Merge pull request #1135 from urbit/comet-stars
Download star list to boot comet
2019-01-11 18:31:41 -08:00
Ted Blackman
c2ebf77ae2 Fix u3_dawn_come() call signature and call sites 2019-01-11 17:53:07 -08:00
Philip Monk
059b13f30e
provide default for -e 2019-01-11 17:31:30 -08:00
Joe Bryan
0ee959b9e7
Merge pull request #1122 from mrdomino/c3-getentropy
c3_rand cleanup
2019-01-11 13:17:04 -05:00
Ted Blackman
7be1073007
Merge pull request #1130 from urbit/snapdown
Download ethereum snapshot from URL
2019-01-11 08:27:16 -08:00
Ted Blackman
4ea8492319 -m eth snap url, -C raw eth chain 2019-01-11 08:07:26 -08:00
Joe Bryan
4c92b65d1f refactors u3_ward/u3_warc lifecycle, preventing potential leaks 2019-01-10 13:44:46 -05:00
Joe Bryan
46da7e6739 backports u3r_chubs from cc-release 2019-01-10 13:15:01 -05:00
Jōshin
e253be75cc Consistent indentation in portable.h
Also remove the gcc/C99 comment.
2019-01-09 09:15:41 -08:00
Jōshin
a8c19d9bae c3_rand cleanup
This should work on Linux since kernel 3.17, OS X since 10.12, OpenBSD
since 5.6, and FreeBSD since 12.0. It also introduces no external
dependencies. Note that getentropy should only be called with at most
256 bytes or it will return EIO. The getrandom variant on Linux doesn't
check for this. If called with len > 256, it's allowed to produce a
short read if it gets interrupted. This should show up as an error, so
everything's fine.
2019-01-09 09:15:41 -08:00
Joe Bryan
8807423b01 refactors u3r_mug* and some call sites 2019-01-08 22:45:02 -05:00
Joe Bryan
93bc0c7a97 removes aliases for +hor and +vor 2019-01-08 22:40:13 -05:00
Joe Bryan
658a77f88b Revert "adds staged jet headers and dashboard declarations, renames everything"
This reverts commit cee1bfe591.
2019-01-08 22:31:24 -05:00
Joe Bryan
1a40bc70b9 Revert "adds temporary gum_w hash slot to u3_noun"
This reverts commit cd96ad658d.
2019-01-08 22:31:24 -05:00
Joe Bryan
b3fad746ca Revert "jets u3r_mur"
This reverts commit b0ef096e1c99b7ba06fd8f9717da0a409551ea00.
2019-01-08 22:31:24 -05:00
Joe Bryan
b33f6e4b42 renames *_vor to *_mor 2019-01-08 22:31:19 -05:00
Joe Bryan
8fe90875cd replaces calls to u3qc_hor with u3qc_gor 2019-01-08 20:14:55 -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
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
f0fdfe118f uncomments/fixes/finishes u3r_mur* functions 2019-01-07 21:57:48 -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
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
7a172f6860 renames event-timing, adds build option to enable 2018-12-13 20:03:19 -05:00
Elliot Glaysher
e25c8388a4 Add jet for +del:in 2018-12-13 14:39:53 -08:00
Elliot Glaysher
aea2139261 Add a jet for +del:by 2018-12-13 11:04:31 -08:00
Joe Bryan
f18d6cbc10 removes unused u3v_nick (effect traversal) and u3v_http_request 2018-12-12 00:40:04 -05:00
Ted Blackman
d8b7068345 updates u3_raft_work() to be async, adds sync u3_raft_play() 2018-12-11 17:13:55 -05:00
Joe Bryan
de7df542c9 updates c3_assert() to print assertion/file/line before bail 2018-12-10 17:17:16 -05:00
Joe Bryan
6266388109 removes commonmark and the markdown jet 2018-12-10 16:03:37 -05:00
Joe Bryan
bdc7179a28 prevents ub in u3x_cap and u3x_mas 2018-12-10 11:15:49 -05:00
Joe Bryan
76fbb1d918 adds and uses c3_realloc() 2018-12-08 20:09:23 -05:00
Joe Bryan
65ce838b26 Merge branch 'release-candidate' into single-home
* release-candidate:
  Write a jet for +sort
  remove hold
  removed more superfluous lines
  removed superfluous lines
  moving one brace
  using u3x functions
  braces constants
  added shape checks
  Update pin-arvo-commit.txt
  Update pin-arvo-commit.txt
  type variance bug fix
  moves ethereum-integrated pre-boot validation to vere/dawn
2018-12-06 18:33:28 -05:00
Ted Blackman
9cff56962a
Merge pull request #1087 from belisarius222/move-dawn
moves ethereum-integrated pre-boot validation to vere/dawn
2018-12-06 13:09:11 -08:00
Joe Bryan
591995934a single-home arvo with %whom 2018-12-05 16:02:43 -05:00
Joe Bryan
511ff89f80 add entropy to arvo with %wack 2018-12-05 15:52:16 -05:00
Joe Bryan
de29eb602c
Merge pull request #1085 from urbit/boot-pill-userspace
boot with lifecycle-formula, userspace from pill
2018-12-05 13:50:23 -05:00
Joe Bryan
384a2a1555 moves ethereum-integrated pre-boot validation to vere/dawn 2018-12-05 03:06:18 -08:00
Elliot Glaysher
e7c10cd828
Merge pull request #1081 from urbit/json-trace
Add support for trace_event files.
2018-12-04 16:41:54 -08:00
Elliot Glaysher
36f2152e61 Move more chars. 2018-12-04 16:20:22 -08:00
Elliot Glaysher
4a53ebc6c5 Cleanup 2018-12-04 14:48:26 -08:00