Commit Graph

91 Commits

Author SHA1 Message Date
Jōshin
30b616dd8b Use libent for getentropy 2019-01-16 09:06:12 -08:00
Isaac Visintainer
87e52f27c4 bump urbit version 2019-01-09 17:07:39 -08: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
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
bad60672e4 removes +hor jet, sets *_hor to point to *_gor 2019-01-08 18:15:39 -05:00
Joe Bryan
e179667323 jets u3r_mur 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
2240edd354 adds basic tests for u3r_mur 2019-01-07 23:31:32 -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
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
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
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
Elliot Glaysher
aea2139261 Add a jet for +del:by 2018-12-13 11:04:31 -08:00
Joe Bryan
6266388109 removes commonmark and the markdown jet 2018-12-10 16:03:37 -05:00
Joe Bryan
7d6da1bcf0 uses linker flags for openbsd 2018-12-10 14:46:58 -05:00
Joe Bryan
012424c5d5 matches "freebsd" in os conditional 2018-12-10 14:43:11 -05:00
Joe Bryan
c2a0800bf8 requires less-recent libcurl release 2018-12-10 14:40:30 -05:00
Joe Bryan
384a2a1555 moves ethereum-integrated pre-boot validation to vere/dawn 2018-12-05 03:06:18 -08:00
Elliot Glaysher
98c581f95a Jet +jab:by, which is used extensively in ford. 2018-11-26 16:18:53 -08:00
Joe Bryan
4ec7ddb61b removes second staging copy of compiler jets 2018-11-15 19:29:39 -05:00
Fang
6c7811a45c De-duplicate dependency list 2018-11-14 14:59:57 -08:00
Fang
9cce1848e7 Merge branch 'release-candidate' of https://github.com/urbit/urbit into crypto-additions 2018-11-14 14:38:36 -08:00
benjamin-tlon
4ea9e2def2
Merge pull request #1055 from urbit/bs/nix-build
Build with nix on OSX and Linux
2018-11-14 10:18:01 -08:00
benjamin-tlon
e4b259138c
Minor Cleanup 2018-11-14 09:34:25 -08:00
benjamin-tlon
10a7060091
Make list indentation consistent in Meson file. 2018-11-14 09:30:26 -08:00
Joe Bryan
fc665dce04 configures/builds/activates (failing) memory tests 2018-11-13 13:43:51 -05:00
Joe Bryan
5c4ccdef41 configures/builds/activates hashtable tests 2018-11-13 13:43:51 -05:00
Benjamin Summers
856f854a5e Disable hardcoding of brew's openssl paths for nix builds. 2018-11-07 09:37:35 -08:00
Joe Bryan
e61a041f61 Merge branch 'release-candidate' into crypto-additions
* release-candidate: (153 commits)
  uses u3x_at in reel and roll jets
  adds comments for known-valid u3r_at calls in jets.c
  remove orphaned declarations for mux and shux jets
  bail %exit in _cj_site_lock if axis is not in core
  Fix issue with trimming >4 character jet names
  adds -S to skip battery hashes
  fixes u3n_prog pointers in u3n_ream()
  adds meson option (-Dprof=true) to set U3_CPU_DEBUG
  adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG
  refactors http card validation
  fixes leak in proxy when networking is disabled
  fixes leak in _http_serv_start_all
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code
  kill mux and shux jets, whose services are no longer required
  for posterity
  all hashes
  more hashes
  update pill/arvo hashes
  ...
2018-10-03 19:29:56 -04:00
Joe Bryan
7a2705bb6d adds meson option (-Dprof=true) to set U3_CPU_DEBUG 2018-10-01 19:04:58 -04:00
Joe Bryan
9302d4708c adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG 2018-10-01 19:04:58 -04:00
Fang
e414767957
Merge branch 'crypto-additions' into blake_ripe 2018-09-30 11:41:49 -07:00
Fang
97bc5ba400
Merge branch 'release-candidate' into crypto-additions 2018-09-28 12:02:05 -07:00
BernardoDeLaPlaz
cce78f57d4 code review 2018-09-07 14:27:14 -04:00
Joe Bryan
ba5e228d78 Merge branch 'https-proxy-config' into ford-turbo-proxy
* https-proxy-config: (92 commits)
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  upgrades libh2o to v0.13.5 (h2o v2.2.5)
  sets the http client request timeout to 2 minutes
  adds an http request timer to ensure connections are always closed
  adds an http request timer to ensure connections are always closed
  adds (disabled) h2o access log
  don't leak ship-name in _proxy_ward_connect()
  refactors .http.ports write/release (avoid the loom, etc.)
  updates SSL_CTX init to support any PEM private key, simplifies error handling
  adds u3_wcon (ward candidate conn), refactors ward connection accept and auth
  enables ALPN and HTTP2 over TLS
  increases timeout before server struct, adds explanatory comment
  closes u3_ward stream and timer sequentially, fixing use-after-free per ASan
  moves u3_pact to vere.h, replacing the unused u3_apac
  fixes memory leak in failed cttp.c address resolution
  suppresses AddressSanitizer in vararg functions u3i_molt and u3r_mean
  ignores AddressSanitizer errors in jets.c
  updates %wise and %that to give and receive the proxy auth nonce
  implements nonce-baced authentication for u3_ward proxies
  ...
2018-08-20 22:24:13 -04:00
BernardoDeLaPlaz
10bdf51640 crypto (blake, ripe) jetted 2018-08-10 17:09:55 -04:00
BernardoDeLaPlaz
fd78579e24 secp256 jetted 2018-08-07 15:16:48 -04:00
Fang
ea3aa7d2bd Implement jet for ++argon2:argon2:crypto 2018-07-20 01:48:07 +02:00
Fang
9498336f2a Implement jet for ++hmac:hmac:crypto. 2018-07-13 02:03:08 +02:00
Fang
d969775d8f Implement jet for ++sha-1:sha. 2018-07-13 02:01:31 +02:00
Fang
919780c570 Implement jet for ++rev. 2018-07-13 01:59:56 +02:00
Fang
b8712677ea Implement jet for ++swp. 2018-07-13 01:58:32 +02:00
Joe Bryan
9ff2c86a2b adds static libsni (extracted from sniproxy) dependency 2018-06-20 23:39:20 -04:00
Curtis Yarvin
ad1b3ad162 Proper skin control, with some =/ issues. 2018-06-17 11:03:42 -07:00