Commit Graph

441 Commits

Author SHA1 Message Date
Ted Blackman
5b6749d2ad no-op in ames.c if no galaxy domain 2019-01-18 14:17:56 -08:00
Isaac Visintainer
6df2f6c789 erased some lines in raft 2019-01-16 20:40:18 -08:00
Joe Bryan
2847573ccd cleans up event error handling in _raft_lame 2019-01-16 16:24:48 -05:00
Joe Bryan
521d165775
Merge pull request #1147 from mrdomino/libent
Use libent for getentropy
2019-01-16 14:31:47 -05:00
Jōshin
30b616dd8b Use libent for getentropy 2019-01-16 09:06:12 -08:00
Ted Blackman
e22884ef7e WIP compiles but crashes 2019-01-15 18:08:21 -08:00
Joe Bryan
fac0fef804
Merge pull request #1141 from urbit/readme-help
updates README and usage instructions
2019-01-15 15:19:56 -05:00
Joe Bryan
449b2c1a5d exit cleanly if $galaxy is already running (fake or real) 2019-01-15 14:28:55 -05:00
Joe Bryan
16c99e75af corrects usage instructions 2019-01-15 13:23:11 -05:00
Jōshin
3e7d344c01 Minor file-head cleanup
I removed anything that was in portable.h, specified proper path names,
and removed some now-wrong (?) public domain notices.
2019-01-13 22:42:00 -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
afd3236cdb warn harder, with snark 2019-01-11 18:31:21 -08:00
Ted Blackman
7ade54973d add a warning printf about slowness 2019-01-11 18:01:54 -08:00
Ted Blackman
c2ebf77ae2 Fix u3_dawn_come() call signature and call sites 2019-01-11 17:53:07 -08:00
Ted Blackman
b13f444809 mine a comet under a list of stars that we download 2019-01-11 17:40:09 -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
Joe Bryan
b17702072c
Merge pull request #1131 from urbit/proxy-retouch
tcp proxy cleanup
2019-01-11 11:12:15 -05:00
Ted Blackman
4ea8492319 -m eth snap url, -C raw eth chain 2019-01-11 08:07:26 -08:00
Joe Bryan
61afdf9309 fixes typos in http.c 2019-01-11 11:06:20 -05:00
Joe Bryan
dc8e8f36c4 disables inconsistent event-log validation step on replay 2019-01-10 22:22:25 -05:00
Joe Bryan
71d27f99f0 refactors _proxy_ward_start() and _proxy_ward_plan() 2019-01-10 20:51:14 -05:00
Joe Bryan
5c0a05011a disables proxy printf on u3_ward auth failure 2019-01-10 20:20:42 -05:00
rmariani
fb4a50fe3f
Merge pull request #1066 from urbit/boot-messages
updates boot messages
2019-01-10 15:36:48 -08:00
Robert
85c697f87d makes boot message clearer 2019-01-10 15:23:37 -08:00
Robert
4c3d9f2b1e adds better way to print absolute path 2019-01-10 14:23:02 -08:00
Joe Bryan
280ff87251 refactors proxy domain parsing and validation 2019-01-10 15:11:05 -05:00
Joe Bryan
a20508b49d hardcodes tcp proxy domain 2019-01-10 15:03:45 -05:00
Joe Bryan
9f6300b79b refactors and comments u3_http_ef_that() 2019-01-10 15:03:45 -05:00
Robert
e31ea32519 adds realpath() for printing absolute path 2019-01-10 11:22:02 -08:00
Joe Bryan
d2add048cf
Merge pull request #1124 from urbit/always-hashless
globally disable hashboard (pending actual hashes)
2019-01-10 13:48:14 -05:00
Joe Bryan
4c92b65d1f refactors u3_ward/u3_warc lifecycle, preventing potential leaks 2019-01-10 13:44:46 -05:00
ixv
021100f0d0
Merge pull request #1125 from urbit/term-hack
term.c hack
2019-01-10 10:23:37 -08:00
Joe Bryan
671dfa6647 updates terminal read callback to shutdown gracefully on EOF 2019-01-10 02:39:05 -05:00
Joe Bryan
d8617b20fe Merge branch 'release-candidate' into boot-messages
* release-candidate: (156 commits)
  refactors u3r_mug* and some call sites
  corrects +muk jet comment
  [CI] updates pinned arvo commit
  removes aliases for +hor and +vor
  [CI] updates pinned arvo commit
  Revert "adds pristine jet copies (hash-order, containers, compiler)"
  Revert "adds staged jet headers and dashboard declarations, renames everything"
  Revert "adds temporary gum_w hash slot to u3_noun"
  Revert "jets u3r_mur"
  [CI] updates pinned arvo commit
  [CI] ctrl-x out of :talk
  renames *_vor to *_mor
  replaces calls to u3qc_hor with u3qc_gor
  updates arvo interface to use new axes
  removes +hor jet, sets *_hor to point to *_gor
  removes old u3r_mug*, switches u3r_mur* to u3r_mug*
  sets u3qc__stage_hor to point to u3qc__stage_gor
  sets u3r__stage_mug to point to u3r_mur
  jets u3r_mur
  memoize u3r_mur in temporary gum_w
  ...
2019-01-09 20:33:45 -05:00
Isaac Visintainer
b16f61a11e bumped up buffer size because it was failing upon pasting exactly 64 bytes into dojo 2019-01-09 16:38:39 -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
ef8cb85ad4
Merge pull request #1123 from urbit/murmug
switch u3r_mug from FNV to Murmur3
2019-01-09 01:47:47 -05:00
Joe Bryan
e14e2aabbc globally disable hashboard (pending actual hashes) 2019-01-09 00:15:22 -05:00
Joe Bryan
638242c8d4 Merge branch 'release-candidate' into passcode-eof
* release-candidate:
  Abbreviate cc
  Sort deps
  Fix build on OSX with MacPorts
  meson cleanup
  Try removing a bunch of dependencies
  Clean up allocator defs
2019-01-09 00:09:48 -05:00
Joe Bryan
8807423b01 refactors u3r_mug* and some call sites 2019-01-08 22:45:02 -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
0f0f1db51d updates passcode entry to handle EOF, refactors 2018-12-28 00:21:17 -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
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