Commit Graph

68 Commits

Author SHA1 Message Date
Joe Bryan
de8abeac69 refactors libnoun memory marking, adds optional printfs 2019-01-29 17:20:31 -05:00
Joe Bryan
916223326c don't abort on bail:fail, but continue with crash handling 2018-12-13 23:26:17 -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
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
Paul Driver
9104ad2acb reap call sites before reaping the warm dashboard
if the warm dashboard is reaped before call sites, the activation
(and thus the label inside the activation) can be freed (during u3h_put)
while a call site in the junior still points to the label (but doesn't hold
a reference to it, since it is on a senior road). trying to take that label
during call site reap then results in a bail: foul.

the solution is to always reap call sites before reaping the warm dashboard.
2018-11-20 11:40:11 -08: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
Paul Driver
8c4fd067de general battery hash caching 2018-05-25 17:53:36 -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
8bc64b09ac comments, rename some functions 2018-04-30 11:39:33 -07:00
Paul Driver
be8c56376d hook caching in, kink weirdness fixed 2018-04-26 16:36:29 -07:00
Paul Driver
a5e79c2820 ream callsites at boot 2018-04-18 12:19:56 -07:00
Paul Driver
4fc65663c6 more bugfixes: now boots and restores from checkpoint 2018-03-31 13:51:41 -07:00
Paul Driver
a61ed7df17 fix compile errors 2018-03-30 11:49:18 -07:00
Paul Driver
1871595b57 add bytecode free functions 2018-03-12 10:58:41 -07:00
Paul Driver
a2a0f3ae6a code cleanup 2018-03-12 10:45:04 -07:00
Paul Driver
42c460ed3b midway through adding making for bytecode 2018-03-09 16:04:47 -08:00
Paul Driver
5490a4c4cf stash 2018-03-05 11:12:18 -08:00
Paul Driver
98bb18f28c bytecode promotion, small south road fix 2018-02-19 12:13:59 -08:00
Paul Driver
389261be10 try compiling away all fragment axes 2018-02-05 10:27:39 -08:00
C. Guy Yarvin
37384be9a7 Support experimental macros with fab. 2018-01-31 15:57:43 -08:00
C. Guy Yarvin
453c8a3e9f Unwind stacks by iterative copy. 2018-01-29 18:54:26 -08:00
C. Guy Yarvin
98c28965cf Clean up %H. 2017-12-06 21:18:23 -08:00
Ted Blackman
677a97371b New pill URL format and search through old commits 2017-12-05 17:59:20 -08:00
Joseph Bryan
3a782bdff9 checks HTTP response code when fetching pill 2017-11-18 21:43:23 -05:00
C. Guy Yarvin
70a4dcf448 Cleanups and inlining. 2017-11-15 17:09:00 -08:00
C. Guy Yarvin
8d5ac23ab2 Minor debugging cleanups. 2017-11-14 15:24:42 -08:00
C. Guy Yarvin
3d2ed11bb7 Merge branch 'retrofit-cash' into retrofit 2017-11-13 09:49:37 -08:00
C. Guy Yarvin
be936e5356 Remove unnecessary printf. 2017-11-13 09:49:24 -08:00
C. Guy Yarvin
0b31bad54e Correct and disable memory tracking. 2017-11-13 09:06:10 -08:00
C. Guy Yarvin
25564c3f5f Merge remote-tracking branch 'belisarius222/hash-cash-rebase' into retrofit-cash 2017-11-12 17:51:27 -08:00
C. Guy Yarvin
abb7f1d756 Various profiling and allocation improvements. 2017-11-12 16:15:09 -08:00
Ted Blackman
87397ad7ea very simple initial test passing 2017-11-09 08:35:05 -08:00
Ted Blackman
4843234a78 check for -A 2017-10-30 03:43:03 -07:00
Ted Blackman
58f8c76011 minor cleanup 2017-10-30 03:25:41 -07:00
Ted Blackman
e852389fd2 -s pill from arvo's git hash and branch 2017-10-30 03:17:14 -07:00
Ted Blackman
bef3f128b4 _arvo_hash() function works 2017-10-27 17:12:57 -07:00
Ted Blackman
36e775b938 -u <pill url> command-line option 2017-10-27 09:19:39 -07:00
C. Guy Yarvin
68c6adf3e1 Retrofit. 2017-09-25 18:18:35 -07:00
John Franklin
7837413ae5 typo: shouln't -> shouldn't 2017-06-28 09:28:10 -04:00
Raymond Pasco
20b38fb84d Properly working _boot_home()
Awful hack - there is more than one place where the various pier
directories are created, sadly. So the best we can do without the real
great boot sequence refactoring is this flaky test for urbit.pill's
presence, and removing the error tests from mkdir() calls...
2016-09-22 02:02:14 -04:00
Raymond Pasco
4fa0aae468 Check for existence in _boot_home() 2016-09-20 19:24:34 -04:00
Raymond Pasco
b8dcc5f17d Fetch pill from bootstrap site if not specified 2016-08-29 15:30:27 -04:00
Raymond Pasco
8d43f39a4a Link with libcurl 2016-08-29 14:26:03 -04:00
Raymond Pasco
3434f2bd9c Move pier directory creation to beginning of boot
This is the smallest refactor that works.
2016-08-29 14:12:27 -04:00
Raymond Pasco
7291f72f59 Use pil_c rather than U3_LIB to boot pill 2016-08-28 13:12:49 -04:00
Raymond Pasco
32df11b251 Merge commit 'cgyarvin/remap^'
Automatic loom base mapping
2016-07-19 14:53:09 -07:00
Philip C Monk
9358e367ae fix install link 2016-07-08 16:11:24 -04:00
C. Guy Yarvin
4e24a9ad63 Show the alternate mapping address. 2016-06-19 00:09:57 -07:00
C. Guy Yarvin
35a385e81c Fully shifted over to modern typed namespace. 2016-02-03 20:51:01 -08:00