Joe Bryan
a31f27a575
newt: cleans up api, allocates less on write
2020-06-11 16:27:00 -07:00
Joe Bryan
4cfaf08348
newt: print errors to stderr
2020-06-11 16:27:00 -07:00
Joe Bryan
27a9dbe1c0
u3: use u3r_mug_words for all atoms
2020-06-11 16:27:00 -07:00
Joe Bryan
9e305da03c
u3: rewrites u3r_mug_words, correct for arbitrary input
2020-06-11 16:27:00 -07:00
Joe Bryan
2c5a1adea3
u3: adds failing u3r_mug_words tests
2020-06-11 16:27:00 -07:00
Joe Bryan
e7eceba965
u3: implements u3i_list()/u3nl() varargs list constructor
2020-06-11 16:27:00 -07:00
Joe Bryan
406a823ddd
u3: adds allocator profiling labels to u3i_* atom functions
2020-06-11 16:27:00 -07:00
Joe Bryan
1d1a263e48
u3: rewrites u3i_chubs() for efficiency
2020-06-11 16:27:00 -07:00
Joe Bryan
c78bc69758
u3: cleans up imprison.h/c
2020-06-11 16:27:00 -07:00
Joe Bryan
e7ff4550db
u3: fixes use of system malloc in u3i_chubs
2020-06-11 16:27:00 -07:00
~siprel
2f02a6d0e6
king: Command line flag to enable verbose logging.
2020-06-11 02:07:10 +00:00
~siprel
eb81f5ca14
Less verbose log output.
2020-06-11 02:02:53 +00:00
~siprel
849d25044a
king: disable "bullshit scry tester"
2020-06-11 00:32:15 +00:00
~siprel
2b3fb7a568
king: fix behn tests.
2020-06-11 00:31:59 +00:00
~siprel
ba5bd09724
CLI option for serf exe + serf exe/flags live in PierConfig.
2020-06-10 23:56:48 +00:00
~siprel
f0f82d7e14
king: Handle %vega/%exit, %wack on boot, and stop logging secrets.
2020-06-10 22:00:37 +00:00
~siprel
dabe38be0d
In non-daemon mode, initial serf slogs are user-visiable.
2020-06-10 21:17:55 +00:00
~siprel
c721baee7f
king: serf stderr goes to terminals.
2020-06-10 21:03:46 +00:00
~siprel
cefc25cbe1
king: ^C from connected terminals kills current event.
2020-06-10 20:53:55 +00:00
~siprel
7f780bbcd5
king: TODO.md updates.
2020-06-10 20:08:09 +00:00
~siprel
b552149610
king: handle tanks that are just a cord.
2020-06-10 20:04:09 +00:00
~siprel
e178ad353d
king: Fix spinner bugs.
2020-06-10 19:25:51 +00:00
~siprel
c57c3023f9
king: Event prioritization and error handling for born events.
2020-06-10 19:22:45 +00:00
~siprel
cc772da03c
king: Urbit.Vere.Pier cleanup.
2020-06-08 23:07:42 +00:00
~siprel
528e1d29ff
king: Separate out urbit-eventlog-lmdb package.
2020-06-08 22:01:28 +00:00
~siprel
957f14ee40
king: Minor cleanup.
2020-06-08 21:22:04 +00:00
~siprel
1f4c823d92
king: Separate package for racquire
+ small cleanup.
2020-06-08 20:23:30 +00:00
~siprel
ff646f4830
king: Snapshot on shutdown; no snapshot on start if no events to replay.
2020-06-08 17:45:41 +00:00
~siprel
ba50eb94cd
king: Spin off urbit-noun-core
and urbit-noun
packages.
2020-06-08 17:24:05 +00:00
~siprel
f3e484d5cd
king: TODO notes about how to break into packages.
2020-06-08 01:29:29 +00:00
~siprel
a88849743c
king: Module re-org in prepraration for new IO-Driver interface.
2020-06-08 01:19:43 +00:00
~siprel
21975cf929
King: Fixed a few bugs.
2020-06-07 23:35:54 +00:00
~siprel
6ab2d78d7b
king: Progress bars on replay.
2020-06-07 00:26:59 +00:00
~siprel
95df4b0764
king: Pier cleanup pass.
2020-06-06 23:34:27 +00:00
~siprel
648b0743c8
king: Shutdown TMVars now live in KingEnv/PierEnv.
2020-06-06 23:16:34 +00:00
~siprel
bd51337156
king: In non-daemon-mode, ^D now actually brings down the executable.
2020-06-06 21:33:15 +00:00
Philip Monk
c68b0e817a
gall: properly handle empty outstanding ack queue
...
Fixes #2977
2020-06-05 17:05:22 -07:00
Fang
790ae3dadc
Merge branch 'release/next-vere' ( #2985 )
...
* origin/release/next-vere:
vere: bump version to 0.10.5
dawn: switch default eth node
jets: patch cleanup
jets: switch openssl to the loom allocator.
serf: disable automatic |pack
vere: handle failed cue of private key file
u3: switches GMP import assert to conditional
u3: fixes rock:load size printf
vere: bypass terminal logging on lmdb worker thread
vere: prevents term.c from retrying tcsetattr() indefinitely
jets: jet decryption of aes-siv mode.
jets: jet encryption of aes-siv mode.
aes_siv: vendors libaes_siv since it isn't in nix.
vere: refactors $quay serialization to iterate without recursion
cttp: do not add ampersand before first url query var
u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun)
Signed-off-by: Fang <git@fang.io>
2020-06-06 01:33:10 +02:00
Fang
4012c2922e
vere: bump version to 0.10.5
2020-06-06 01:00:01 +02:00
Philip Monk
d0b42e9392
dawn: switch default eth node
2020-06-05 15:11:21 -07:00
~siprel
45d7ac6150
king: Cleanup date serialization and move to Urbit.Time.
2020-06-05 16:20:21 +00:00
~siprel
54acebb0c5
Got bulshit scry working and hooked up replay progress callback.
2020-06-04 23:49:56 +00:00
~siprel
3838cf8abb
^C brings king/serf down cleanly and promptly.
2020-06-04 21:10:33 +00:00
Elliot Glaysher
5666f99b16
Merge pull request #2902 from urbit/eg/aes-siv-jets
...
Jet AES-SIV mode
2020-06-04 10:52:09 -07:00
Elliot Glaysher
6706297117
jets: patch cleanup
2020-06-03 15:35:29 -07:00
~siprel
5748da9f8d
king: TODO.md cleanup.
2020-06-03 00:28:31 +00:00
~siprel
45f475a178
king: snapshot requests block until event log catches up to serf.
2020-06-02 23:03:04 +00:00
~siprel
28f464fc42
king: Each event comes with error callback, but all do nothing for now.
2020-06-02 20:48:07 +00:00
~siprel
61bdb3cac0
king: Re-Implemenet collectFX and log events as passed to the serf.
2020-06-01 21:31:24 +00:00
~siprel
75b97d9e60
Docs and cleanup for Urbit.Vere.Serf.IPC
.
2020-06-01 17:51:37 +00:00
~siprel
a4f5ea2e2f
king: Urbit.Vere.King.IPC cleanup + handle scry/pack.
2020-05-31 22:43:34 +00:00
~siprel
2f852c2e9f
king: Remove GoodParse
hack in newRunCompute
.
2020-05-31 22:04:56 +00:00
Benjamin Summers
fd72424b12
Fix make test
+ no logging during king-haskell tests.
2020-05-29 17:23:10 -07:00
Benjamin Summers
47247d86d2
Merge branch 'khrc' of github.com:urbit/urbit into ipc-redux-kh
2020-05-29 17:15:16 -07:00
benjamin-tlon
9b879470ae
Merge pull request #2831 from urbit/two-ship-king
...
Multi Tenet King w/ Shared HTTP/HTTPS
2020-05-29 16:30:31 -07:00
Benjamin Summers
3c0db10703
king: Get tests to compile.
2020-05-29 15:57:35 -07:00
Elliot Glaysher
b25023805f
jets: switch openssl to the loom allocator.
...
This:
- uses OPENSSL_malloc() in libaes_siv
- fixes a case where our jet code was not freeing ssl objects.
- sets the openssl allocator to the loom allocator.
2020-05-29 15:51:53 -07:00
~siprel
7ece09c0d1
king: Cleanup IPC batching in swimming
flow.
2020-05-29 20:16:37 +00:00
~siprel
ba440c8e3a
king: Make sure spinner callbacks are handled correctly from serf.
2020-05-29 19:20:53 +00:00
Joe Bryan
7e37082872
serf: disable automatic |pack
...
|pack currently only works up to some threshold of memory usage,
so it's unsafe to run automatically
2020-05-29 11:34:53 -07:00
~siprel
bc35ec0406
king: IPC Batching during replay and normal operation.
2020-05-29 02:14:25 +00:00
Philip Monk
18e396cf53
release: urbit-os-v1.0.20
...
Previous urbit-os-v1.0.20 was not released
2020-05-28 18:43:20 -07:00
Philip Monk
d49e8adc08
Merge remote-tracking branch 'origin/philip/behn-fix' into release/hotfix
...
behn: fix +unset-timer
2020-05-28 18:37:39 -07:00
Philip Monk
3ab618e234
behn: fix +unset-timer
...
It was throwing away timers sometimes if you cancelled a timer at the
same date as other timers.
2020-05-28 17:09:25 -07:00
Philip Monk
0cfee46fa8
jael: send breach notifications in order
...
See #2952 for details
2020-05-28 15:24:19 -07:00
Philip Monk
1be5411c75
jael: don't notify breach on initial update to ship
...
See #2952 for details
2020-05-28 14:38:07 -07:00
Philip Monk
c20cd29932
jael: look for correct wire
...
We inspect the wire of our subscriber to see if we need to produce the
result as a %public-keys or a %boon. This is bad -- we should proxy the
subscription to avoid this need, but this doesn't make that change yet.
%pubs is an old name that doesn't exist anymore (last existed around
September 2019). The new version is /public-keys, but it's worked so
far because /public-keys has only one item in the path, so it missed the
conditional. This commit makes the intent more clear.
The [%a @ @ *] could be just [%a @ *], but I leave it to reduce the
chance of breaking stuff.
2020-05-28 14:27:08 -07:00
~siprel
80b905c239
king: Slogs routed to both terminal and log output.
2020-05-28 18:56:51 +00:00
~siprel
d8f90ead07
king: Misc Small Cleanup.
2020-05-28 18:21:43 +00:00
Philip Monk
a362e4b3cb
gen: add |ames-wake
...
forgot to add this file
2020-05-28 10:50:32 -07:00
Philip Monk
0642cc5861
ames: add |ames-wake
...
Somehow we ended up with flows which expected to awaken but did not wake
up. This was likely caused by the error in r920j OTA, urbit-os-v1.0.18.
This adds a command which ensures that every flow has an active timer.
I expect this to be needed only once, but it's a pretty general tool, so
it's worth keeping.
I've included an unused @t parameter to more easily add simple debug
commands to ames without having to add a new task
2020-05-28 10:28:31 -07:00
Philip Monk
c417e594e3
hood: update on-save
2020-05-27 19:35:22 -07:00
Philip Monk
472ad18c90
behn: already deleted, don't need to do it again
2020-05-27 18:47:50 -07:00
Philip Monk
86fb78d933
Merge remote-tracking branch 'origin/ted/behn-same-date' into release/hotfix
2020-05-27 18:36:10 -07:00
Philip Monk
ff01a1ea04
ames: don't set new timer if we woke up too early
...
Otherwise if we end up having multple outstanding timers, they never
coalesce to a single timer.
2020-05-27 17:38:18 -07:00
~siprel
ca13d3f79b
king: Better handling of edge-cases around IPC failure.
2020-05-28 00:08:53 +00:00
~siprel
8e78266d74
king: Review and Cleanup w/ Harrison
2020-05-27 22:57:34 +00:00
Ted Blackman
8ed07dfc7e
behn: fix bug with timers at same date
2020-05-27 02:59:07 -04:00
Philip Monk
d0b4d5a02e
release: urbit-os-v1.0.18
2020-05-26 17:41:42 -07:00
~siprel
1f64a528cd
king: Handle replacement events correctly (dont try to parse them).
2020-05-27 00:08:07 +00:00
~siprel
26bd5a9e4b
king: Got new IPC working, still needs lots of polish.
2020-05-26 23:01:03 +00:00
Fang
049cacfa51
Merge pull request #2932 from urbit/m/shoe
...
shoe: console application library
2020-05-27 00:39:27 +02:00
Fang
4b9ec0c9a4
shoe: include example usage of %klr sole-effect
...
Seems worthwhile to signal the existence of richer console output.
Also adds a brief description of what the example app does.
2020-05-26 23:45:45 +02:00
Fang
127355c381
shoe: simplify default +can-connect
...
This belongs in /app/shoe (and indeed already is there).
2020-05-26 23:14:51 +02:00
Fang
509fec7f7c
shoe: improve +on-load logic
...
Turns out that if we use a tag we can just check the value without
needing vase operations.
2020-05-26 23:10:54 +02:00
Fang
36b7fc2e4f
Merge branch 'release/next-sys' into m/debug-dashboard
2020-05-26 20:36:27 +02:00
Joe Bryan
d057208a84
Merge pull request #2938 from lukechampine/invalid-key-segfault
...
vere: handle failed cue of private key file
2020-05-26 11:18:46 -07:00
Joe Bryan
690b8cfe9d
Merge branch 'master' into release/next-vere
...
* master:
release: urbit-os-v1.0.17
migrate-channels: addressed review
os1: migrate app data to new group
chat-view: don't forget to sync permissions
publish: fix bug in publish comment mark
chat: virtualize message-to-json only where needed
publish: abide by namespacing conventions
chat-store: remove redundant tiscom
chat: fix indenting
chat: use ^? on libs correctly
chat: expose types with libs
chat: address review comments
chat: improve namespacing of chat-* types
2020-05-26 11:17:20 -07:00
lukechampine
1b7b905aeb
vere: handle failed cue of private key file
...
Fixes #2934
2020-05-26 13:47:26 -04:00
pkova
28cd252ce7
zuse: improve json to rn parsing
...
Allow the exponent token to be 'e' or 'E', allow the explicit sign of '+'.
Following the spec at https://json.org . Fixes #2935 .
2020-05-26 19:29:24 +03:00
Fang
41448d5b05
chat-cli: use /lib/shoe
2020-05-24 17:57:54 +02:00
Fang
f103c65051
shoe: console application library
...
Deals with sole events, deferring to the underlying app only for higher-
level sole-handling logic.
Currently doesn't offer fancy printing logic, but can easily be extended
to do so.
Passes sole-ids on to the underlying app in all arms so that it may run
session-specific logic wherever it desires.
2020-05-24 17:57:18 +02:00
Fang
2fddfea082
sole: include details in stack trace
2020-05-24 17:57:09 +02:00
Fang
1238047b48
Merge branch 'master' into release/next-sys
2020-05-24 17:51:48 +02:00
Fang
58e85fa661
Merge branch 'release/next-sys' into m/debug-dashboard
2020-05-23 01:00:45 +02:00
Fang
309d30a0c8
dbug: support more eyre scries
2020-05-22 23:57:41 +02:00
Fang
52ef23ccca
eyre, zuse: add scry interfaces for eyre state
...
Scries for getting out open connections, cookie sessions, and existing
channels.
Moves the involved types from eyre into zuse.
2020-05-22 23:55:17 +02:00
Fang
8ab1098a1c
dbug fe: render result count alongside list filter
2020-05-22 23:53:23 +02:00
Benjamin Summers
c5896f5ea0
HasKingEnv + HasPierEnv + misc cleanup
2020-05-22 11:37:58 -07:00
Philip Monk
096149713a
drum: relink to chat-cli
...
The subscription changes in drum broke existing subscriptions. This
worked alright (though loud) for dojo, but it left chat-cli "frozen"
unless you manually unlinked/relinked. This does that automatically.
It also includes a refactoring of +on-load in drum, to avoid vain
repetition.
2020-05-22 00:17:56 -07:00