Commit Graph

575 Commits

Author SHA1 Message Date
Elliot Glaysher
8b9680072a Add support for trace_event files.
This adds a -j parameter which writes traces of your Urbit's function call
stack to a json file, readable by Chrome's about://tracing or the standalone
trace-viewer webapp.
2018-12-01 15:54:55 -08:00
Elliot Glaysher
56c3f080bd
Merge pull request #1076 from urbit/jet-jab
Jet +jab:by, which is used extensively in ford.
2018-11-26 16:55:54 -08:00
Elliot Glaysher
98c581f95a Jet +jab:by, which is used extensively in ford. 2018-11-26 16:18:53 -08:00
Joe Bryan
941f2f72bd removes u3v_keep, updates arvo axes 2018-11-26 17:57:01 -05:00
Joe Bryan
1774725e4c removes i/o polling 2018-11-26 16:29:38 -05:00
Joe Bryan
9121e108ab removes %behn timer backoff 2018-11-26 12:22:13 -05:00
Joe Bryan
a77f6401a7 updates %behn to use effects instead of u3v_keep polling 2018-11-26 03:08:14 -05:00
Joe Bryan
a9c8615674 removes %ames timer and disables u3v_keep polling 2018-11-26 03:08:14 -05:00
Joe Bryan
1463b33bc0
Merge pull request #1041 from urbit/remove-jets-z
removes second staging copy of compiler jets
2018-11-21 13:11:25 -05:00
Joe Bryan
80b1d34aa6 alphabetizes u3_opts and usage instructions 2018-11-16 20:04:58 -05:00
Joe Bryan
eaab7dda8f replaces -N (enable fake networking) with -L (disable networking) 2018-11-16 19:19:48 -05:00
Joe Bryan
0148b101e7 removes -X ("skip last event") 2018-11-16 17:52:47 -05:00
Joe Bryan
f87120095a removes -M ("memory madness") 2018-11-16 17:52:25 -05:00
Joe Bryan
4ec7ddb61b removes second staging copy of compiler jets 2018-11-15 19:29:39 -05:00
Fang
9cce1848e7 Merge branch 'release-candidate' of https://github.com/urbit/urbit into crypto-additions 2018-11-14 14:38:36 -08:00
Joe Bryan
c072605792 restores -H for overriding contract/snapshot ames domains 2018-11-08 23:13:19 -05:00
Fang
32bbb02140 Unpack blake jet arguments earlier, make sure to flip endianness 2018-11-06 15:32:56 -08:00
Fang
91bef8d863 Merge branch 'release-candidate' into crypto-additions 2018-11-06 10:32:02 -08:00
Fang
1978fc9b05 Fix ripe jet, treat input as byts rather than bits
Unpack input in u3we version, assume byts, don't check for multiple
of eight bits.
2018-11-04 12:23:24 -08:00
Fang
a74ea050fa Clean up style in argon2 jet 2018-11-04 11:42:17 -08:00
Joe Bryan
35bfb49086 Merge branch 'release-candidate' into ames-eth-keys
* release-candidate: (21 commits)
  zinc gate casting bug
  Bug fix for metal-wrapping runes
  converting iron and zinc cores to lead bug
  8. updates nock 4K spec
  7. updates %5 to require two subformulas (nock 4K)
  6. implements edit at %10 (nock 4K)
  5. removes %13 and %14 (nock 4K)
  4. emits %11 and %12 (nock 4K)
  3. implements hint at %11 and wish at %12 (nock 4K)
  2. removes %10 and %11 (nock 4K)
  1. duplicates hint (%10) and wish (%11) at %13 and %14 (nock 4K)
  Disable terminal echo on passcode entry
  increased inbound request and ward timeouts to 5 min
  mutating edit
  bail in _n_edit on invalid path
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  small memory leak for large edits
  disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
  bugfixes
  ...
2018-11-01 00:16:20 -04:00
Philip Monk
345459e931
allow booting from ethereum snapshot 2018-10-31 15:43:55 -07:00
Joe Bryan
f939b63cca simplifies dawn status noun, improves error messages 2018-10-16 23:46:31 -04:00
Joe Bryan
178c2212cf adds -e to specify ethereum node url 2018-10-16 22:56:27 -04:00
Joe Bryan
4bcfcf0b3a completely removes -I 2018-10-16 22:55:19 -04:00
Joe Bryan
5207c8321f use +clan:title to detect galaxy 2018-10-16 22:41:38 -04:00
Joe Bryan
6e77aa110a starts ames on %turf card, removes -H
uses ames domain for tcp proxy, and
moves czar arvo sync after ames initialization
2018-10-16 20:51:51 -04:00
Joe Bryan
b21b1c6fe1 WIP Merge remote-tracking branch 'fodwyt/edit' into nock-4k
* fodwyt/edit:
  mutating edit
  bail in _n_edit on invalid path
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  small memory leak for large edits
  disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
  bugfixes
  first pass at nock 12 impl
2018-10-10 19:50:13 -04:00
Joe Bryan
0b13837bfa single-home's arvo, refines fake keys 2018-10-05 20:29:53 -04:00
Joe Bryan
bcc1261009 removes first-boot ticket 2018-10-05 20:29:53 -04:00
Joe Bryan
8fc65462b8 minimal fake-key boot - galaxies only for now 2018-10-05 20:29:53 -04:00
Joe Bryan
c058bae81c implements initial version of eth-integrated %dawn boot 2018-10-05 00:38:53 -04: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
67968ac514 remove orphaned declarations for mux and shux jets 2018-10-02 22:39:36 -04:00
Joe Bryan
f0524c23f0 Merge branch 'release-candidate' into hashboard
* release-candidate: (138 commits)
  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
  bypassed profiling bug
  Eliminate cons optimization.
  Remove broken assert.
  Clean up some printfs.
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  Fix issue with trimming >4 character jet names
  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
  ...
2018-10-02 18:25:41 -04:00
Joe Bryan
b1f8b79992 adds -S to skip battery hashes 2018-10-02 15:23:35 -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
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
Joe Bryan
dacb80eef0 Merge branch 'master' into https-proxy-config
* master:
  adds an http request timer to ensure connections are always closed
  moves u3_pact to vere.h, replacing the unused u3_apac
  fixes memory leak in failed cttp.c address resolution
  Remove deprecated paths from gitignore
  print error on failed syscall in _ce_patch_create()
  removes tabs from http.c
  removes orphaned telnet constants and forward declarations
2018-08-09 18:22:53 -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
Joe Bryan
123a9c7289 adds an http request timer to ensure connections are always closed 2018-07-17 13:25:19 -04:00
Joe Bryan
a08dcf8a19 adds an http request timer to ensure connections are always closed 2018-07-17 12:55:16 -04:00
Joe Bryan
11e76024f1 adds u3_wcon (ward candidate conn), refactors ward connection accept and auth 2018-07-14 19:01:52 -04:00
Joe Bryan
e6b9dbda8d moves u3_pact to vere.h, replacing the unused u3_apac 2018-07-12 22:43:32 -04: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
Fang
5189295d02 Add k versions for the mix, rep and rip jets.
This makes upcoming work a bit easier.
2018-07-13 01:56:56 +02:00
Joe Bryan
8b5b5903e6 updates %wise and %that to give and receive the proxy auth nonce 2018-07-10 23:42:49 -04:00
Joe Bryan
fc0c1165b4 implements nonce-baced authentication for u3_ward proxies
with constant nonces, not yet wired to into arvo
2018-07-10 23:42:49 -04:00
Joe Bryan
3499456261 rewrites graceful restart, re-architects u3_hcon and u3_hreq lifecycle 2018-07-10 23:42:40 -04:00
Joe Bryan
60b0c90122 refactors http config (%form) application 2018-07-10 13:13:44 -04:00
Joe Bryan
e665912fcf doubly-links http connections and requests 2018-07-10 13:13:44 -04:00
Joe Bryan
107c417a82 implements link/unlink for proxy structs, improves resource cleanup 2018-07-10 13:13:44 -04:00
Joe Bryan
5a444d8849 wires up http config event (%form)
only starts servers on recv config
2018-07-10 13:13:44 -04:00
Curtis Yarvin
7a48d012f6 Initial draft of modern fishing. 2018-07-09 15:37:27 -07:00
Paul Driver
7dcc2303d1 mutating edit 2018-07-02 07:47:48 -07:00
Joe Bryan
28d9c769cd terrible horrible graceful http restarts 2018-06-20 23:39:20 -04:00
Joe Bryan
f4c90aa7bc adds proxy structs to vere.h, backlinks to u3_http 2018-06-20 23:39:20 -04:00
Joe Bryan
318b1e8d3e WIP start servers/proxies from config effect 2018-06-20 23:39:20 -04:00
Joe Bryan
eeb0536ab9 wires up reverse proxy notification effect %that
works!
2018-06-15 14:16:17 -04:00
Paul Driver
da051310df Merge branch 'master' into hashboard 2018-06-04 14:15:53 -07:00
Paul Driver
a8d7d79b0c use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code 2018-06-04 13:53:41 -07:00
Curtis Yarvin
f01bce3582 More renaming. 2018-05-27 13:00:55 -07:00
Paul Driver
1486aec835 better bash conveyance 2018-05-26 12:03:09 -07:00
Paul Driver
7fe3eee82a program splitting for located cores 2018-05-25 18:17:19 -07:00
Paul Driver
8c4fd067de general battery hash caching 2018-05-25 17:53:36 -07:00
Curtis Yarvin
7a9a9047c3 Old help totally cleaned out. 2018-05-24 15:40:28 -07:00
Paul Driver
46747b9ce3 shux jet 2018-05-23 15:39:22 -07:00
Paul Driver
83f698ab44 mux jet 2018-05-23 15:13:00 -07:00
Curtis Yarvin
5e55e48f3b Adjusted %brcn to support core name. 2018-05-20 12:34:38 -07:00
Paul Driver
21637cdca9 fix bug in u3j_gate_prep and move hot_p to home road 2018-05-16 13:45:40 -07:00
Paul Driver
33195a22ec more hashes, u3j_hood expands to express ut hooks 2018-05-12 14:30:59 -07:00
Curtis Yarvin
847c627003 Merge remote-tracking branch 'origin/master' into research-unhelp 2018-05-09 11:01:44 -07:00
Paul Driver
109ad54c53 booting and verifying - pasting in hashes now 2018-05-08 18:30:19 -07:00
Paul Driver
10c775961f stash - building and booting 2018-05-08 13:34:35 -07:00
Curtis Yarvin
747831dc26 Platform for coordinated type system adjustment. 2018-05-05 15:10:34 -07:00
Joe Bryan
ad4f76a431 adds state enum to u3_hreq, ignores attempts to send duplicate http responses 2018-05-04 15:49:44 -04:00
Curtis Yarvin
5afbf59cae Merge branch 'master' into research-merge 2018-05-02 16:55:29 -07:00
Paul Driver
30af289c34 document u3n_prog and u3n_memo 2018-04-30 13:32:39 -07:00
Paul Driver
b7e0dc4651 merge conflict 2018-04-30 11:42:24 -07:00
Paul Driver
8bc64b09ac comments, rename some functions 2018-04-30 11:39:33 -07:00
Paul Driver
b43f069441 u3n_find returns post 2018-04-30 11:02:48 -07:00
Paul Driver
68f98124e5 more comments, u3n_burn takes a post 2018-04-30 10:56:19 -07:00
Paul Driver
dc470f76d4 deleting unused public functions, cleaning up internal apis 2018-04-30 10:33:04 -07:00
Paul Driver
825b7eb604 posts in sites 2018-04-30 10:16:47 -07:00
Paul Driver
d306975af8 gate_prep transfers, rites to posts 2018-04-30 09:57:09 -07:00
Paul Driver
67c1035d57 fix profiling 2018-04-27 12:22:39 -07:00
Paul Driver
62b8b655ee locally cached gates for things like turn 2018-04-26 17:42:38 -07:00
Paul Driver
be8c56376d hook caching in, kink weirdness fixed 2018-04-26 16:36:29 -07:00
Paul Driver
a15c248e3d move _n_fink_free and everything that calls it 2018-04-26 12:06:57 -07:00
Paul Driver
462c6d7bd5 move rite and site mark 2018-04-26 11:23:03 -07:00
Paul Driver
bf2d240ed0 move cast 2018-04-26 11:15:46 -07:00
Paul Driver
4da79539ec move internal _n data structures to headers 2018-04-26 11:08:34 -07:00