Commit Graph

3980 Commits

Author SHA1 Message Date
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
9ad367a99a
Merge pull request #1165 from urbit/fix-url
fixes dead link to swap instructions
2019-01-30 15:19:46 -05:00
Joe Bryan
f30df7dfa1
Merge pull request #1172 from urbit/boot-pill-fail
print error messages on boot failure due to bad pill
2019-01-30 15:18:27 -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
Joe Bryan
787e2ea946 adds comment for special-case in u3m_soft() 2019-01-30 14:10:55 -05:00
Ted Blackman
0c036afb20
Merge pull request #1173 from urbit/last-event
replay most recent event too
2019-01-30 01:42:07 -08:00
Ted Blackman
5773b9d9f4 cleaned up boot playback prints 2019-01-30 00:55:53 -08:00
Joe Bryan
3c5548b4ed virtualizes evalution of the boot sequence, prints on failure 2019-01-30 02:32:10 -05:00
Joe Bryan
2cf8a81517 prints error message on invalid pill structure 2019-01-30 02:18:39 -05:00
Joe Bryan
d40d6e40ae virtualize pill cue to print message on invalid jamfile 2019-01-30 02:15:22 -05:00
Ted Blackman
b118cefef3 replay most recent event too 2019-01-29 23:07:52 -08:00
Joe Bryan
02c0c2c531 skip profiling if we don't yet have an arvo kernel 2019-01-30 01:59:13 -05:00
Joe Bryan
20c4151fd9 updates u3m_soft to skip tank printing if we have no kernel 2019-01-30 01:59:06 -05:00
Joe Bryan
b827c2abea
Merge pull request #1168 from urbit/mem-reclaim
reclaim memory from persistent caches on restart and kernel reset
2019-01-29 23:47:15 -05:00
Joe Bryan
2b8a7392ad refactors u3m_reclaim, plugging memory leaks 2019-01-29 23:11:55 -05: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
ffdc465085 adds u3m_reclaim to clear persistent caches in vere 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
348fc093a8 [CI] run |mass after +test 2019-01-29 19:15:00 -05:00
Joe Bryan
e98be79bdc fixes |mass, unifying the implementation with u3m_grab() 2019-01-29 19:14:54 -05:00
Joe Bryan
f544db84e7 refactors and clarifies heuristic printing of an allocation box 2019-01-29 19:14:39 -05:00
Joe Bryan
b995984909 adds comment explaining u3a_minimum 2019-01-29 17:49:41 -05:00
Joe Bryan
74787c5eb8 refactors memory leak printfs in u3a_sweep() 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
Ted Blackman
c3f3ea29f3 ames.c: print galaxy that's missing domain 2019-01-29 14:13:41 -08:00
Ted Blackman
3fd90188a5
Merge pull request #1167 from urbit/rereplay
replay one event at a time
2019-01-29 14:06:58 -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
ixv
350f9ae512
Merge pull request #1169 from urbit/upgrade-log
added _sist_rest_nuu for g -> h log format conversion
2019-01-28 18:16:19 -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
Robert
e59fbcd044 fixes dead link to swap instuctions 2019-01-22 12:52:34 -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
Joe Bryan
7e416d202d
Merge pull request #1157 from mrdomino/update-libent
Updates libent (fixes #1155)
2019-01-18 12:57:11 -05:00
Jōshin
8669d7bf78 Updates libent (fixes #1155) 2019-01-18 09:38:16 -08:00
Joe Bryan
fe9f8a8aad
Merge pull request #3 from mrdomino/master
Latest upstream + abliss's fix
2019-01-18 12:33:54 -05:00
Jōshin
659aaed38c Clarify README comment 2019-01-18 08:47:42 -08:00
Jōshin
d95464622e Version bump, remove double negative
I almost would rather say syscall(...) == 0 ? 0 : 1, but decided not to.
2019-01-18 08:35:57 -08:00
Steven Dee
91d5fff630
Merge pull request #2 from abliss/getrandom
Actually try calling getrandom while configuring
2019-01-18 08:15:14 -08:00
Adam Bliss
bc607bdfa0 Actually try calling getrandom while configuring 2019-01-17 23:12:58 -05:00
Joe Bryan
0418c510c1 updates ivory.c to release pill 2019-01-17 22:18:18 -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
a42f2cbe5c
Merge pull request #1154 from urbit/release-candidate
release
2019-01-17 20:15:27 -05:00
Joe Bryan
b6bb7a05ba updates contact instructions 2019-01-17 20:02:14 -05:00