Commit Graph

119 Commits

Author SHA1 Message Date
Joe Bryan
54bc2c54a5 Merge branch 'master' into cc-release
* master: (50 commits)
  stop snprintfing from a string into itself
  pin arvo version number
  bumped urbit version number
  saves a checkpoint during replay, every 100K events or on failure
  simplifies loom init and checkpoint restore
  - Adds tracing during playback - stop snprintf-ing from one string into another, which is undefined behavior
  reclaim memory every 1k events in live operation or replay
  splits log files between arvo events
  name trace files by urbit date
  automatically split json trace outputs at 100000 line intervals
  stick |mass outputs in mass subdirectory of put
  adds comment about %funk hook in +ut
  adds sha-256 battery hashes to the jet dashboard, corrects axes
  [CI] disables deployment of tagged builds
  removes unused fprintf arg
  [CI] updates pinned arvo commit
  bumps urbit patch number to 0.7.1
  removes obsolete, commented-out gc implementation from loop.c
  moves all vere gc to _raft_grab(), run once after event
  Move _XOPEN_SOURCE #define to include/c/portable.h
  ...
2019-02-06 20:52:44 -05: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
323c453404 automatically split json trace outputs at 100000 line intervals 2019-01-31 22:31:20 -08: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
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
Joe Bryan
8bf02a857a Merge branch 'master' into cc-release-rc-merge
* master: (99 commits)
  updates contact instructions
  erased some lines in raft
  updates libent submodule
  cleans up event error handling in _raft_lame
  Remove includes introduced for getentropy
  Use libent for getentropy
  Fix link in README
  remove old version of u3r_mug()
  renames test-hash
  removes temporary u3r_mug tests
  adds assertions to protect u3r_mug against stack overflow
  adds a u3_none explicit bottom stack frame to u3r_mug
  WIP simplified conditionals, still dies, appears stateful?
  WIP refactored but still dying
  WIP still dying
  WIP testing and printing
  WIP compiles but crashes
  updates CONTRIBUTING.md, removing obsolete instructions
  exit cleanly if $galaxy is already running (fake or real)
  corrects usage instructions
  ...
2019-01-17 22:05:19 -05:00
Joe Bryan
46da7e6739 backports u3r_chubs from cc-release 2019-01-10 13:15:01 -05:00
Joe Bryan
8807423b01 refactors u3r_mug* and some call sites 2019-01-08 22:45:02 -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
1d1a259f31 removes old u3r_mug*, switches u3r_mur* to u3r_mug* 2019-01-08 18:13:25 -05:00
Joe Bryan
aa3566a642 sets u3r__stage_mug to point to 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
Joe Bryan
042b55326f Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate: (90 commits)
  Only bail if profiling is enabled
  Fixes the build on OpenBSD
  don't abort on bail:fail, but continue with crash handling
  renames event-timing, adds build option to enable
  Add jet for +del:in
  prevents profiling on *bsd
  removes preprocessor errors in trace.c on openbsd
  updates secp256k1 to include /usr/local/include for openbsd
  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)
  enables event-log encryption
  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
  ...
2018-12-17 11:28:24 -05:00
Joe Bryan
f18d6cbc10 removes unused u3v_nick (effect traversal) and u3v_http_request 2018-12-12 00:40:04 -05:00
Joe Bryan
bdc7179a28 prevents ub in u3x_cap and u3x_mas 2018-12-10 11:15:49 -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
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
Joe Bryan
2ed422e11f boots with lifecycle formula, without persistent kernel formula
removes now-unused vortex functions
2018-12-04 02:54:06 -05:00
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
Joe Bryan
32c69acc1c Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate:
  Jet +jab:by, which is used extensively in ford.
  [CI] updates pinned arvo commit
  removes u3v_keep, updates arvo axes
  [build] builds just the urbit binary by default
  automatically process events on restart
  removes i/o polling
  removes %behn timer backoff
  [CI] updates pinned arvo commit
  increases %behn timer accuracy
  updates %behn to use effects instead of u3v_keep polling
  removes %ames timer and disables u3v_keep polling
  Shrink preallocation of cells from 262.144 cells to 4.096
2018-11-27 14:59:18 -05:00
Joe Bryan
941f2f72bd removes u3v_keep, updates arvo axes 2018-11-26 17:57:01 -05:00
Joe Bryan
63b58f4c29 Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate: (742 commits)
  reap call sites before reaping the warm dashboard
  refines -F argument handling
  alphabetizes u3_opts and usage instructions
  replaces -N (enable fake networking) with -L (disable networking)
  removes the option to set -l, -n, and -r (raft options)
  removes -X ("skip last event")
  removes -M ("memory madness")
  Use Ed25519 u3a_malloc in the ed25519 jet.
  Fix README build instructions
  properly zero-initialize u3_wcon linked-list pointer
  removes second staging copy of compiler jets
  [CI] Point to latest release-candidate arvo
  De-duplicate dependency list
  Make small stylistic improvements to crypto jets
  meson v0.44.1
  Use fetchGit instead of fetchTarball to get nixpkgs.
  Revert change to libh2o for now -- Breaks the nix build, but unbreaks the normal build.
  Minor Cleanup
  Make list indentation consistent in Meson file.
  Use latest urbit/argon2
  ...
2018-11-21 16:45:07 -05:00
Joe Bryan
21edd20050 1. single-homes Arvo in worker process 2018-11-19 23:47:03 -05: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
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
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
Paul Driver
7dcc2303d1 mutating edit 2018-07-02 07:47:48 -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
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
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
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
Paul Driver
30af289c34 document u3n_prog and u3n_memo 2018-04-30 13:32:39 -07:00
Paul Driver
8bc64b09ac comments, rename some functions 2018-04-30 11:39:33 -07:00