Commit Graph

597 Commits

Author SHA1 Message Date
Elliot Glaysher
9c7fff3e60 Merge remote-tracking branch 'origin/master' into lighter-than-eyre 2019-02-08 16:53:23 -08:00
Elliot Glaysher
b7c0412224 Vere side of the %light card reorganization 2019-02-05 15:51:04 -08:00
Joe Bryan
a618211594
Merge pull request #1183 from urbit/simpler-checkpoint
simplifies loom init/restore, checkpoints during replay
2019-02-04 19:16:46 -05:00
Joe Bryan
47c7339db2 simplifies loom init and checkpoint restore 2019-02-04 18:23:01 -05:00
Isaac Visintainer
ea6f2fd87b splits log files between arvo events 2019-02-01 17:00:22 -08:00
Isaac Visintainer
323c453404 automatically split json trace outputs at 100000 line intervals 2019-01-31 22:31:20 -08:00
Joe Bryan
77947eda40
Merge pull request #1161 from fche/patch-1
vere/unix.c: set _XOPEN_SOURCE
2019-01-30 19:16:37 -05:00
Frank Ch. Eigler
a09477f2fe Move _XOPEN_SOURCE #define to include/c/portable.h
Since it now contains a glibc feature macro, it needs to be included
ahead of normal glibc headers, so vere/unix.c now starts with #include
"all.h".
2019-01-30 15:26:02 -05:00
Joe Bryan
2b8a7392ad refactors u3m_reclaim, plugging memory leaks 2019-01-29 23:11:55 -05:00
Joe Bryan
ffdc465085 adds u3m_reclaim to clear persistent caches in vere 2019-01-29 22:35:47 -05:00
Joe Bryan
1087de003f
Merge pull request #1171 from urbit/massmark
fixes |mass
2019-01-29 22:34:32 -05:00
Joe Bryan
98590cccb5 adds -Dmemory-log=true build option to save |mass output to a file 2019-01-29 22:13:31 -05:00
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
Ted Blackman
56049e2246 @joemfb review comments 2019-01-29 00:05:23 -08:00
Elliot Glaysher
6ffbea1071 Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2019-01-16 10:26:22 -08: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
Elliot Glaysher
707eab63cd Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2019-01-07 14:16:26 -08: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
Elliot Glaysher
4ebaf49b02 Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2018-12-17 10:09:11 -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
Elliot Glaysher
897a538c49 Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2018-12-14 11:33:22 -08:00
Joe Bryan
7a172f6860 renames event-timing, adds build option to enable 2018-12-13 20:03:19 -05:00