Commit Graph

493 Commits

Author SHA1 Message Date
Elliot Glaysher
aa9c630bb9 Make the server work again by parsing the response shape correctly. 2019-02-11 11:43:29 -08:00
Elliot Glaysher
9c7fff3e60 Merge remote-tracking branch 'origin/master' into lighter-than-eyre 2019-02-08 16:53:23 -08:00
Elliot Glaysher
69670d721c %http-server goes from a 2nd level tag to a toplevel tag. 2019-02-08 16:46:31 -08:00
Isaac Visintainer
ac0cae8250 stop snprintfing from a string into itself 2019-02-05 18:58:47 -08:00
Elliot Glaysher
b7c0412224 Vere side of the %light card reorganization 2019-02-05 15:51:04 -08: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
b51385237d saves a checkpoint during replay, every 100K events or on failure 2019-02-04 18:37:40 -05:00
Isaac Visintainer
367b7ead62 - Adds tracing during playback
- stop snprintf-ing from one string into another, which is undefined
behavior
2019-02-04 14:37:25 -08:00
ixv
4146ce3400
Merge pull request #1180 from urbit/reclaim-often
reclaim memory every 1k events in live operation or replay
2019-02-02 20:41:07 -08:00
Joe Bryan
4d4280651f reclaim memory every 1k events in live operation or replay 2019-02-02 23:26:47 -05:00
Isaac Visintainer
ea6f2fd87b splits log files between arvo events 2019-02-01 17:00:22 -08:00
Isaac Visintainer
29d80e2887 name trace files by urbit date 2019-02-01 14:22:29 -08:00
Isaac Visintainer
323c453404 automatically split json trace outputs at 100000 line intervals 2019-01-31 22:31:20 -08:00
Isaac Visintainer
634e9bf42d stick |mass outputs in mass subdirectory of put 2019-01-31 22:30:24 -08:00
Joe Bryan
051f31b31e removes unused fprintf arg 2019-01-30 19:21:48 -05:00
Joe Bryan
0d52d25bae
Merge pull request #1174 from urbit/gc-cleanup
cleans up vere GC call sites, runs once after event
2019-01-30 19:17:42 -05:00
Joe Bryan
77947eda40
Merge pull request #1161 from fche/patch-1
vere/unix.c: set _XOPEN_SOURCE
2019-01-30 19:16:37 -05:00
Joe Bryan
d03b8dd3d1 removes obsolete, commented-out gc implementation from loop.c 2019-01-30 16:11:31 -05:00
Joe Bryan
055f3180aa moves all vere gc to _raft_grab(), run once after event 2019-01-30 16:09:31 -05:00
Frank Ch. Eigler
a09477f2fe Move _XOPEN_SOURCE #define to include/c/portable.h
Since it now contains a glibc feature macro, it needs to be included
ahead of normal glibc headers, so vere/unix.c now starts with #include
"all.h".
2019-01-30 15:26:02 -05:00
Joe Bryan
d14df3e581
Merge pull request #1158 from urbit/ames-noop
no-op in ames.c if no galaxy domain
2019-01-30 15:20:48 -05:00
Joe Bryan
9ef6de4bcc Merge branch 'master' into hotfix
* master:
  refactors u3m_reclaim, plugging memory leaks
  reclaim memory on kernel reset
  reclaim memory on restart
  adds u3m_reclaim to clear persistent caches in vere
  adds -Dmemory-log=true build option to save |mass output to a file
  threads output file pointer through memory marking and printing
  [CI] run |mass after +test
  fixes |mass, unifying the implementation with u3m_grab()
  refactors and clarifies heuristic printing of an allocation box
  adds comment explaining u3a_minimum
  refactors memory leak printfs in u3a_sweep()
  refactors libnoun memory marking, adds optional printfs
2019-01-30 15:11:31 -05:00
Ted Blackman
5773b9d9f4 cleaned up boot playback prints 2019-01-30 00:55:53 -08:00
Ted Blackman
b118cefef3 replay most recent event too 2019-01-29 23:07:52 -08:00
Joe Bryan
414e760fd1 reclaim memory on kernel reset 2019-01-29 22:35:47 -05:00
Joe Bryan
98f59f6d85 reclaim memory on restart 2019-01-29 22:35:47 -05:00
Joe Bryan
1087de003f
Merge pull request #1171 from urbit/massmark
fixes |mass
2019-01-29 22:34:32 -05:00
Joe Bryan
98590cccb5 adds -Dmemory-log=true build option to save |mass output to a file 2019-01-29 22:13:31 -05:00
Joe Bryan
7ce31c1a59 threads output file pointer through memory marking and printing 2019-01-29 21:56:35 -05:00
Joe Bryan
e98be79bdc fixes |mass, unifying the implementation with u3m_grab() 2019-01-29 19:14:54 -05:00
Joe Bryan
de8abeac69 refactors libnoun memory marking, adds optional printfs 2019-01-29 17:20:31 -05:00
Ted Blackman
c3f3ea29f3 ames.c: print galaxy that's missing domain 2019-01-29 14:13:41 -08:00
Ted Blackman
56049e2246 @joemfb review comments 2019-01-29 00:05:23 -08:00
Isaac Visintainer
7dcfbfd55f fixed bug with event header size 2019-01-28 18:49:55 -08:00
Isaac Visintainer
bb258a5b66 - stuck event playback in else block
- store new event log size correctly
- minor code cleanup
2019-01-28 17:20:14 -08:00
Isaac Visintainer
079b87cbd6 added _sist_rest_nuu for g -> h log format conversion 2019-01-28 15:08:53 -08:00
Ted Blackman
055ae27d66 replay one event at a time 2019-01-24 23:59:02 -08:00
Frank Ch. Eigler
b12f2dd9b3
vere/unix.c: set _XOPEN_SOURCE
Above feature macro is needed on glibc 2.17 era, in order to activate ftw* related functions/macros.
2019-01-19 22:54:25 -05:00
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
Elliot Glaysher
6ffbea1071 Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2019-01-16 10:26:22 -08: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