Elliot Glaysher
16788f92c1
Cleanup
2019-04-24 11:22:54 -07:00
Elliot Glaysher
d320a7cafe
Don't print %slog on replay.
2019-04-24 10:54:19 -07:00
Joe Bryan
d4321aa28c
Merge pull request #1247 from urbit/ccr-start-nosync
...
cc-release: removes clay mount auto-sync on restart
2019-04-23 20:20:52 -07:00
benjamin-tlon
edd57d380d
Finish cc-release cross-compilation. ( #1202 )
...
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00
Joe Bryan
3b5644f582
removes clay mount auto-sync on restart
2019-04-23 18:28:58 -07:00
Joe Bryan
450fd5199e
adds additional replacement events
...
%hole (negative ack) and %warn (%crud failed)
2019-04-23 15:57:46 -07:00
Joe Bryan
1ec9b9eee9
limits event replacement to three attempts
2019-04-23 15:57:46 -07:00
Joe Bryan
6d778bee3f
aligns worker printfs, adjusts function indentation
2019-04-23 15:57:34 -07:00
Elliot Glaysher
45b47c21f7
Cleanup and enable MDB_NOOVERWRITE.
2019-04-23 15:30:56 -07:00
Elliot Glaysher
6570b798fd
Remove most u3_foil_* functions.
2019-04-23 15:10:03 -07:00
Joe Bryan
26cbb9c7c8
inject fresh entropy on every restart
2019-04-23 15:07:53 -07:00
Elliot Glaysher
cdc3b6562e
Read the latest event number out of lmdb.
2019-04-23 15:02:28 -07:00
Elliot Glaysher
8b4f1d8e93
Event log replay succeeds.
2019-04-23 14:15:11 -07:00
Joe Bryan
349ac4b54c
Merge pull request #1244 from urbit/ccr-samp-prof
...
cc-release: restores -P sample-based profiling
2019-04-23 13:19:30 -07:00
Joe Bryan
4dabad9120
restores -P sample-based profiling
2019-04-23 12:56:03 -07:00
Joe Bryan
23cbb45ffe
removes obsolete, commented-out signal handling in main.c
2019-04-23 12:04:12 -07:00
Elliot Glaysher
281e352c14
First version which appears to replay most of the event log. Still crashes at the end.
2019-04-23 11:12:09 -07:00
Joe Bryan
ead1b2443e
corrects typos in libnoun commented-out code
2019-04-23 10:46:34 -07:00
Joe Bryan
beafc011cd
consolidates daemon signal handling
2019-04-23 10:46:34 -07:00
Joe Bryan
075bc5109e
consistently aborts immediately on ctrl-z (SIGTSTP)
2019-04-23 10:46:29 -07:00
Elliot Glaysher
5d2468056c
The entire log appears to be loaded from the database; still need to queue events, but exciting
2019-04-22 16:29:38 -07:00
Elliot Glaysher
dc6e3b2236
(This commit makes sh/make-bootzod work again.)
2019-04-22 10:50:54 -07:00
Elliot Glaysher
96942f3dd5
Joe looked at this; this was because of u3we vs u3ke.
2019-04-19 17:02:57 -07:00
Elliot Glaysher
a849b1b81e
WIP: Wrote the skeleton of the reading function. It compiles, but isn't invoked.
2019-04-19 15:49:54 -07:00
Elliot Glaysher
0c36e0da26
Fixes threading so uv_work_t is heap allocated.
2019-04-19 11:17:37 -07:00
Elliot Glaysher
a10beebd47
Wrote out the asynchronous writing, but it crashes in the nock thread now?
2019-04-19 10:28:58 -07:00
Elliot Glaysher
2bef1a30da
First minor integration with lmdb.
...
This stores the ship's identity information in a separate META table in
the lmdb datastore.
2019-04-18 14:01:44 -07:00
Elliot Glaysher
afb9911636
Merge pull request #1241 from urbit/cc-enhancements
...
Adds u3l_log() and moves most things to it.
2019-04-16 11:14:42 -07:00
Elliot Glaysher
4cf58f27bd
Cleanups
2019-04-16 10:14:15 -07:00
Elliot Glaysher
2aa45f828e
Restore git submodule screw up.
2019-04-15 15:57:06 -07:00
Elliot Glaysher
29d40e032e
Also remove uH/uL macros.
2019-04-15 15:14:07 -07:00
Elliot Glaysher
1e468f75d6
Pass stderr from worker to daemon.
2019-04-15 15:06:19 -07:00
Elliot Glaysher
4f313f05fa
Merge remote-tracking branch 'origin/cc-release' into cc-enhancements
2019-04-15 14:25:50 -07:00
Joe Bryan
d6c01fc27c
Merge pull request #1237 from urbit/ccr-slog-clean
...
cc-release: reliable output handling and refactoring
2019-04-12 23:11:18 -07:00
Joe Bryan
ea30e715dd
uses stderr in daemon mode for slog printing
2019-04-12 22:51:43 -07:00
Joe Bryan
417dbf298b
(re-)disable terminal spinner in daemon mode
2019-04-12 22:27:41 -07:00
Joe Bryan
4ccf069458
restores terminal spinner
2019-04-12 22:15:59 -07:00
Joe Bryan
2585e1ca76
adds argument comment to _serf_send_slog
2019-04-12 22:15:59 -07:00
Joe Bryan
05ce835b55
miscellaneous output cleanup
2019-04-12 22:14:55 -07:00
Joe Bryan
daac99c91e
moves slog function pointer to u3C (to preserve across roads)
2019-04-12 22:13:00 -07:00
Joe Bryan
4873309e81
send slog hints over the king/serf pipe
2019-04-12 22:12:31 -07:00
Joe Bryan
3eaa470d98
moves slog implementation out of trace.c and libnoun
...
and removes unused u3t_shiv()
2019-04-12 22:11:49 -07:00
Joe Bryan
3f6c9326fb
improves error message when attempting to recreate existing ship
2019-04-12 22:07:31 -07:00
Joe Bryan
3f7f57a247
removes obsolete ames initialization on boot
2019-04-12 21:57:33 -07:00
Joe Bryan
93ce637e96
updates arvo submodule to latest master
2019-04-12 21:57:02 -07:00
Joe Bryan
55aa3b70bd
refactors/reorders functions in pier.c
2019-04-12 21:48:38 -07:00
Elliot Glaysher
367bf939d2
Move all logging onto a dedicated u3l_log() statement.
...
This makes things in libnoun not depend on the specifics of the terminal
driver for logging, using a implementor customizable logging function.
This allows the daemon process to intercept all logging lines without
breaking the console, and should allow the worker process to forward all
logging messages to the daemon so the daemon can print them without
breaking the console.
2019-04-12 16:21:35 -07:00
ixv
e8416596fb
Merge pull request #1239 from urbit/hotfix
...
Merge hotfix into master
2019-04-12 14:20:54 -07:00
Isaac Visintainer
22f780ff6f
bump urbit version number
2019-04-12 13:59:42 -07:00
Elliot Glaysher
dbeb2c2a8b
Normalize on the preexisting daemon/worker nomenclature.
...
We were calling the worker process three different things, standardize
on the name worker. Same for the daemon.
2019-04-12 13:30:36 -07:00