Commit Graph

12454 Commits

Author SHA1 Message Date
yosoyubik
502fd5822b roller-rpc: add rpc %spawns-remaining 2021-11-09 16:08:30 +01:00
yosoyubik
360f5fdd35 roller: only add tx to pending if verifies 2021-11-09 16:06:29 +01:00
fang
07e59afcfe
azimuth: properly nuke azimuth-tracker on-init 2021-11-09 16:00:01 +01:00
fang
4314596280
Merge branch 'philip/roller' into naive/preboot 2021-11-09 11:41:32 +01:00
Philip Monk
8bfb4acc20
pill: set everything to mainnet for consistency 2021-11-09 00:59:40 -08:00
Philip Monk
42410a708d
azimuth: give backlog on %watch 2021-11-09 00:42:34 -08:00
Philip Monk
1db1819d4d
azimuth: update snapshot 2021-11-09 00:24:10 -08:00
Philip Monk
ea199bfba9
azimuth: correctly load snapshot on boot 2021-11-09 00:22:32 -08:00
Philip Monk
45c1693085
jael: use default network id 2021-11-08 22:59:06 -08:00
Philip Monk
8d20ce1f56
azimuth: set mainnet naive contract 2021-11-08 22:32:15 -08:00
Philip Monk
c6dbaf19ed
vere: add -E option to specify L2 endpoint 2021-11-08 22:18:27 -08:00
Philip Monk
681faa68e4
azimuth: send updates to jael 2021-11-08 21:56:47 -08:00
Philip Monk
91b38d4cea
ivory: update preboot validation format
string<->numbers didn't match the json serialization.  This makes
preboot validation succeed.
2021-11-08 20:34:32 -08:00
Liam Fitzgerald
536e7a27e0 kiln: prevent unnecessary bumps when reloading
If a desk is suspended/paused/local, then we should exclude it when
bumping in the +on-load, because a suspended/paused/local desk cannot
have a pending commit that would allow it to bump successfully.
2021-11-08 16:46:00 -06:00
Liam Fitzgerald
2fa9c8e494 kiln: respect .liv flag in +get-apps-want
Accounts for the value of .liv in +get-apps-want, such that if a desk
is suspended then +get-apps-want should always return the empty list.
2021-11-08 16:43:48 -06:00
Liam Fitzgerald
108cf625dd group-view: make joins retriable 2021-11-08 14:30:32 -06:00
Liam Fitzgerald
f218e4bf5c group-view: refactor for clarity 2021-11-08 14:30:32 -06:00
Liam Fitzgerald
8e603751e8 landscape: add /nack path to group,metadata pull-hook 2021-11-08 14:30:32 -06:00
fang
77732e186f
Merge branch 'naive/roller' into naive/preboot 2021-11-08 20:52:59 +01:00
yosoyubik
9e2e6a7aee roller-rpc: add %hash-raw-transaction rpc
the returned hash can be used to cancel pending txs
by signing the message 'cancel: 0xke.ccak'
2021-11-08 17:47:55 +01:00
yosoyubik
df9827a2cb roller: on submit, crash if no naive state exists 2021-11-08 16:28:12 +01:00
yosoyubik
9015dbb1c5 roller: restrict config actions to our.bowl 2021-11-08 16:22:25 +01:00
yosoyubik
a22b16a465 roller: give rpc error if roller has no l2 state 2021-11-08 16:08:59 +01:00
yosoyubik
89c4d30b30 roller: remove sigwut 2021-11-08 07:33:03 +01:00
yosoyubik
54f6110f7a Merge remote-tracking branch 'origin/master' into naive/roller 2021-11-08 07:25:55 +01:00
yosoyubik
e342f142b9 Merge branch 'master' into naive/roller 2021-11-08 07:23:45 +01:00
Philip Monk
18e4c620df
Merge remote-tracking branch 'origin/master' into next/arvo 2021-11-07 22:22:47 -08:00
yosoyubik
291f6128e7 roller-rpc: add %hash-transaction
hysterical raisins, deprecated in newer version of roller-api
2021-11-08 06:11:37 +01:00
yosoyubik
705eb5cb4b roller-rpc: rename methods for hashing l2 txs 2021-11-07 11:58:03 +01:00
yosoyubik
b2a7c2830f Merge branch 'naive/roller' into naive/roller-personal-sign 2021-11-07 10:57:15 +01:00
yosoyubik
5ea87c1f47 roller: add generators for config options 2021-11-07 10:36:46 +01:00
yosoyubik
fb5ab3edfd roller: log batch tx hash 2021-11-07 10:01:15 +01:00
Jōshin
5ac14a07bd
khan: before i forget 2021-11-07 07:17:03 +00:00
Jōshin
cd03ddce21
khan: strip out sequence numbers 2021-11-07 07:07:29 +00:00
Jōshin
e4ea263180
khan: just %done 2021-11-06 16:00:59 +00:00
yosoyubik
e54805893f roller: bugfix for incorrect predicted l2 nonce 2021-11-06 15:18:39 +01:00
yosoyubik
095ce0dff4 roller: wip add quota per ship for tx submission 2021-11-06 10:27:00 +01:00
fang
fecb809573
jael, azimuth: reconfigure jael for L2
Jael needs to be reconfigured to listen to the new aagent for azimuth
events, and the old app needs to be shut down. We do this in
/app/azimuth's +on-init.

Additionally, we make sure that jael doesn't crash when it (as expected)
loses its subscription to the old agent.
2021-11-06 01:10:33 +01:00
Philip Monk
771f3519fa
Merge branch 'master' of ssh://github.com/urbit/urbit 2021-11-04 17:06:25 -07:00
Liam Fitzgerald
d88595ba1c groups: update glob, version 2021-11-04 16:43:01 -05:00
Liam Fitzgerald
9e9af0311b groups: update version in docket 2021-11-04 16:18:10 -05:00
Liam Fitzgerald
8135f32816 Merge branch 'next/groups' 2021-11-04 16:14:17 -05:00
Liam Fitzgerald
7f7c81b018 groups: update glob, hotfix import 2021-11-04 12:09:19 -05:00
Liam Fitzgerald
3fc6a52e74 groups: update glob 2021-11-04 11:55:31 -05:00
Liam Fitzgerald
6aaa94a333
Merge pull request #5376 from urbit/lf/nuke-beginners
interface: remove beginner's island
2021-11-04 11:41:42 -05:00
Liam Fitzgerald
08d399ba0a interface: fix circular dependencies 2021-11-04 11:30:50 -05:00
Liam Fitzgerald
a486cc1eef interface: fix tsc 2021-11-04 11:06:40 -05:00
Liam Fitzgerald
678e92a331 Merge remote-tracking branch 'origin/next/groups' into lf/fix-sidebar-priority 2021-11-04 11:05:56 -05:00
Liam Fitzgerald
c2437a3e35 interface: address hunter review 2021-11-04 11:02:50 -05:00
Liam Fitzgerald
b4637187a0
Merge pull request #5403 from urbit/lf/fix-mem-leak
useResize: fix destructor
2021-11-04 11:00:57 -05:00
yosoyubik
1c641629e2 roller: add azimuth refresh-rate to getConfig RPC 2021-11-04 09:54:25 +01:00
Liam Fitzgerald
bc10c284d9 interface: fix read-graph, readGroup actions 2021-11-03 18:02:36 -05:00
yosoyubik
aabf028b89 roller: wip support for metamask personal_sign 2021-11-03 16:58:57 +01:00
yosoyubik
387c991c13 hood: bugfix when using |rein with multiple agents 2021-11-03 11:38:02 +01:00
Liam Fitzgerald
c7241d0509 useResize: fix destructor 2021-11-02 19:46:43 -05:00
Philip Monk
25c738d746
Merge remote-tracking branch 'origin/master' into next/vere 2021-11-02 14:31:25 -07:00
Philip Monk
98915d80d1
Merge branch 'next/vere' of ssh://github.com/urbit/urbit into next/vere 2021-11-02 14:30:15 -07:00
Liam Fitzgerald
743130829e SidebarItem: fix status priority, if graph is not cleaned up correctly 2021-11-02 13:43:13 -05:00
yosoyubik
07d5ddfe0c roller: fix length for signatures in sending batch 2021-11-02 15:08:18 +01:00
Joe Bryan
0a34fe7075
Merge pull request #5398 from urbit/jb/check-checkpoint-errors
vere: abort on checkpoint sync errors
2021-11-01 22:46:56 -07:00
Joe Bryan
7ccfdd25cf u3: treat failed snapshot patch verification as fatal on save, not on boot 2021-11-02 01:09:16 -04:00
Joe Bryan
54c2cf0a2b u3: treat fsync/fdatasync snapshot errors as fatal 2021-11-02 01:06:59 -04:00
Philip Monk
21e3b2b2f9
vere: bump version to 1.7 2021-11-01 22:03:15 -07:00
Philip Monk
cad03c57c7
dawn: warn if trying to start an L2 ship 2021-11-01 21:53:41 -07:00
Philip Monk
5fd566befe
Merge remote-tracking branch 'origin/release/next-vere' into philip/naive-jets 2021-11-01 21:29:27 -07:00
Philip Monk
2efbdea892
Merge remote-tracking branch 'origin/release/next-vere' into next/vere 2021-11-01 21:22:38 -07:00
Philip Monk
77dbb40d42
jets: add lib/tiny tree for L2
Layer 2 "Naive Rollups" uses lib/tiny as its standard library.  This
duplicates the jet hooks from the standard library to a new tree with
only those jets.

We decrement the permitted kelvin zuse version so that when L2 is
released, it can decrement zuse's kelvin, forcing users to upgrade to
this version.  Otherwise, users would fail to progress because all L2
computation would be unjetted.
2021-11-01 19:56:33 -07:00
urcades
2cb882e983 copyedits: apptile menu, remove/suspend interfaces 2021-11-01 18:08:41 -04:00
yosoyubik
2bb218cfc8 roller: bugfix for adding failed txs to history 2021-11-01 10:09:11 +01:00
yosoyubik
27576e272b Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-10-31 15:14:15 +01:00
yosoyubik
87f1a0847d roller: allow operator to provide roller pk 2021-10-31 14:03:38 +01:00
yosoyubik
c5c6379260 roller: keep only one status entry in tx history 2021-10-31 14:02:33 +01:00
yosoyubik
8b45302982 roller: restore finding index as sig+raw-tx hash 2021-10-30 13:12:09 +02:00
Jōshin
d4c63959d2
khan: try to send %socket-done on close 2021-10-30 00:28:32 +00:00
Jōshin
b532ec6ba3
vere: extract u3_reck_lily
I don't know, this is kind of awful but I'm not sure what the right
thing to do is.
2021-10-29 22:32:25 +00:00
fang
0d6775ca40
Merge pull request #5350 from hosted-fornet/remove-crunch-library-and-generator
crunch: remove from `base` to allow distribution as app
2021-10-29 11:20:46 +02:00
Jōshin
c67864dc27
vere: add undocumented -h option
-h starts %khan. We don't want to run the control plane just anywhere,
to discourage Earth leaking into Mars. Using it should feel like you're
taking off the warranty sticker on your Urbit; this seems sufficient.
2021-10-29 03:07:12 +00:00
Jōshin
21f0b96413
vere: alphabetize in u3_opts 2021-10-29 03:01:25 +00:00
Liam Fitzgerald
0a30d8ac4b interface: workaround malformed hark-store entries 2021-10-28 14:07:11 -05:00
Liam Fitzgerald
9ac1897072 hark-graph-hook: correctly get rear of index 2021-10-28 14:02:48 -05:00
Liam Fitzgerald
a931707039 garden: update docket version 2021-10-28 12:08:59 -05:00
Liam Fitzgerald
9dc45c3f13
Merge pull request #5375 from urbit/lf/fix-hark-slow
hark-store: cap size of half-open timeboxes
2021-10-28 12:07:17 -05:00
Joe Bryan
c4df017370
Merge pull request #5380 from urbit/jb/replay-crash-safety
vere: fix bugs in replay error reporting
2021-10-28 08:27:32 -07:00
Joe Bryan
50d2ccd8da
Merge pull request #5384 from urbit/jb/nock-hints-protocol-fix
vere: add stack cleanup for computation-skipping dynamic hints
2021-10-28 08:27:09 -07:00
Liam Fitzgerald
2871ea87d5 hark-system-hook: use correct mark for cage from kiln 2021-10-28 09:04:00 -05:00
Jōshin
afe2427281
khan: fix typo 2021-10-27 23:54:25 +00:00
Paul Driver
524ca6f81b add stack cleanup for computation-skipping dynamic hints 2021-10-27 19:11:17 -04:00
Joe Bryan
e1a2eaf822
Merge pull request #5261 from DaneBettis/jb/dynamic-hint-template
vere: adds %bout hint, to time a hoon expression in nanoseconds
2021-10-27 16:09:17 -07:00
DaneBettis
9dce9359e5 vere: added %bout sanity checks, added bout call in test.hoon 2021-10-27 18:49:55 +00:00
Joe Bryan
c28aace72f vere: fix off-by-one in mug check on replay %bail 2021-10-27 12:08:43 -04:00
Joe Bryan
66f8a893a6 serf: fix replay %bail response $plea construction 2021-10-27 12:08:43 -04:00
fang
b3ea3d245d
Merge pull request #5377 from urbit/m/glob-safari-note
docket: note browser compatibility on upload page
2021-10-27 01:21:53 +02:00
fang
da1495e398
docket: note browser compatibility on upload page 2021-10-27 01:15:03 +02:00
Hunter Miller
2777bd9942 grid: updated glob 2021-10-26 17:01:56 -05:00
Liam Fitzgerald
4ba1223c3f hark-store: cap size of half-open timeboxes
Prevents unnecessarily large timeboxes from accumulating, which can
negatively impact performance.
2021-10-26 15:47:59 -05:00
Jōshin
fcd2604b44
khan: code review input
Add a pail callback for poke vailure. Add some comments. Switch from
sync to async newt reads.
2021-10-26 20:15:48 +00:00
Jōshin
f47c00abbc
newt: decode no longer crashes on bad length
Replaced the assert with a return of c3n, which the call site responds
to by logging the message, calling bal_f, and freeing the buffer.
2021-10-26 20:14:17 +00:00
fang
0ec3d5111d
Merge branch 'master' into naive/roller 2021-10-26 20:46:32 +02:00
Liam Fitzgerald
83f6501418 hark-graph-hook: fix dm notifications 2021-10-26 11:53:48 -05:00
fang
36cd69b6d0
Merge tag 'urbit-os-v2.100' into naive/roller 2021-10-26 17:08:03 +02:00
Liam Fitzgerald
c3823e25b3 interface: purge beginners island 2021-10-26 10:01:51 -05:00
Liam Fitzgerald
28744a83bf settings-store: remove tutorial setting 2021-10-26 09:30:24 -05:00
Liam Fitzgerald
c095c37024 hark-graph-hook: fix face 2021-10-26 08:59:24 -05:00
Liam Fitzgerald
c242bef79f hark-graph-hook: fix calling of +add-nodes, place using parent index 2021-10-26 08:33:44 -05:00
Liam Fitzgerald
ff7494f3fa various: update pills, globs, docket 2021-10-25 22:16:53 -05:00
Liam Fitzgerald
be207aaa09
Merge pull request #5336 from urbit/lf/fix-missing-messages
landscape: fix failing scry causing messages to be improperly validated
2021-10-25 20:56:44 -05:00
Liam Fitzgerald
1cae55b432 landscape: address jake review 2021-10-25 19:59:36 -05:00
Liam Fitzgerald
a3664da492
Merge pull request #5361 from urbit/lf/post-assembly-grabbag
garden/landscape: fixes
2021-10-25 19:55:57 -05:00
Liam Fitzgerald
c30a32694d
Merge pull request #5347 from urbit/lf/faster-hark
hark: fix memory leak, make faster
2021-10-25 19:55:43 -05:00
fang
260c75f05d
zuse: fix +cite for odd-length names
Render `@p` shorthands correctly for short moon names. Fixes #5318.

This also changes galaxy and star moons to render as `~parent^` instead of some
longer variation.
2021-10-26 02:11:45 +02:00
Hunter Miller
6bcdc7ff24
Merge branch 'release/next-userspace' into lf/post-assembly-grabbag 2021-10-25 14:01:38 -05:00
Hunter Miller
f72da65014 docket-image: handle broken images 2021-10-25 13:12:21 -05:00
Hunter Miller
2ccfcd9d7f grid: fixing type issues in suspend and handling in app info header 2021-10-25 12:58:25 -05:00
Liam Fitzgerald
d7d745a30f hark-store: fix cache coherency in +opened 2021-10-25 12:57:17 -05:00
Liam Fitzgerald
0c037518bc grid: address hunter review 2021-10-25 11:56:56 -05:00
Hunter Miller
7e7d938720 grid: default to desk name if title empty 2021-10-25 11:55:57 -05:00
Liam Fitzgerald
1c6059e924 grid: run tsc as test 2021-10-25 11:42:08 -05:00
Liam Fitzgerald
c147bbad1f interface: fixup dead code, typecheck 2021-10-25 11:41:55 -05:00
Hunter Miller
72a9d90ec1
Merge pull request #5349 from urbit/hm/local-storage-versioning
userspace: updated local storage versioning schema
2021-10-25 10:47:38 -05:00
Hunter Miller
6111c00c84
Merge pull request #5355 from finned-palmer/bugfix/cleanup-provider-modal-text
btc-wallet: cleanup provider modal text
2021-10-25 10:47:12 -05:00
Hunter Miller
0c251ec76c
Merge pull request #5358 from urbit/m/new-grid-icons-leap
grid: match docket image to tile image
2021-10-25 10:45:33 -05:00
fang
db7901ac87
grid: match docket image to tile image
As in #5322 305cd0b, but for the app icon that shows in leap.
2021-10-24 23:02:57 +02:00
finned-palmer
e0858fb692 btc-wallet: fix link to settings (changed after app distribution) 2021-10-23 19:46:45 -05:00
finned-palmer
7e136ff19b btc-wallet: cleanup provider modal text 2021-10-23 19:19:28 -05:00
Jōshin
0237415d04
khan: bail properly
Fixed a stupid bug in the handle-other case (left an ampersand when I
stripped out the ->mor_u). void* considered awesome.
2021-10-23 06:16:46 +00:00
Jōshin
cf8b54dd20
khan: bail on unknown effects
Also move sev_l into kick, and do some whitespace cleanup.
2021-10-22 21:53:32 +00:00
Jōshin
2e12d3792e
khan: special case removing chan at list head 2021-10-22 21:45:11 +00:00
Jōshin
ed7c33e070
khan: store connection number on u3_shan
Prevents us resetting connection count to 1 if all connections
disconnect.
2021-10-22 21:39:18 +00:00
Jōshin
a12970a77b
khan: remove %set-config stub 2021-10-22 20:50:08 +00:00
Jōshin
c198c19902
khan: u3z in _khan_ef_handle 2021-10-22 17:57:42 +00:00
Jōshin
b26a1ead01
khan: comment 2021-10-22 17:47:25 +00:00
Jōshin
65c25995ad
khan: send errors over socket
Also:

- More precise TODOs.

- Send %cue-none rather than %'bad jar' on cue failure.
2021-10-22 17:45:02 +00:00
fang
895c7f82c0
Merge pull request #5339 from urbit/m/nuke-carefully
hood: ask for confirmation during |nuke
2021-10-22 15:46:17 +02:00
fang
252e142d5b
Merge pull request #5346 from urbit/lf/nicer-btc-migration
bitcoin: revive settings-store migration
2021-10-22 15:45:40 +02:00
~timluc-miptev
77fab2082f
Merge pull request #5343 from finned-palmer/release/bitcoin-wallet
Release/bitcoin wallet
2021-10-22 10:15:51 +03:00
Jōshin
2d03b40b4c
khan: no we don't 2021-10-22 05:29:08 +00:00
Jōshin
0107c83252
khan: full round trip achieved
We now take %avow effects and send them back over the wire as a jammed
noun.

At this point the basic driver functionality is in place and should be
working. Still needed to finish this off are:

- Error-handling in the case of a malformed jammed noun.

- Handling requests to close the connection.

- Code review.
2021-10-22 05:27:45 +00:00
hosted-fornet
19693a6fb7 crunch: remove from base to allow distribution as app 2021-10-21 21:28:29 -07:00
Hunter Miller
ba93e4e897 groups: performing same updated storage versioning schema 2021-10-21 16:36:31 -05:00
Liam Fitzgerald
5fc81149bf grid: always show treaty info if we have it
Fixes urbit/landscape#1259
2021-10-21 15:57:10 -05:00
Liam Fitzgerald
494793ba3c interface: fix reactivity in SidebarList
Fixes urbit/landscape#1262
2021-10-21 15:38:52 -05:00
Liam Fitzgerald
7cc2ab5022 docket: +add-fact after %site install
The fact used to be generated before we updated the state to reflect the
new status of the charge. Moves fact creation after the state is
updated, ensuring that %site desks will install properly inside the web
interface
2021-10-21 15:23:08 -05:00
Liam Fitzgerald
f91f0dd2b6 hark-store: wipe archive to remove dupes 2021-10-21 14:25:02 -05:00
Hunter Miller
499172e471 storage: using newer more correct scheme for storage and adding one time wipe 2021-10-21 14:22:37 -05:00
Hunter Miller
59889b25cb prefs: correctly handle localhost for secure needs 2021-10-21 14:21:50 -05:00
Liam Fitzgerald
36793615b6 bitcoin: address joe review 2021-10-21 14:09:51 -05:00
Liam Fitzgerald
678cf651ad hark-store: add tests, fix memory leak 2021-10-21 13:41:14 -05:00
Liam Fitzgerald
52d0c33d59 hark-graph-hook: rip out mark-based polymorphism 2021-10-21 13:41:14 -05:00
Liam Fitzgerald
794d3fe570 bitcoin: revive settings-store migration 2021-10-21 13:03:05 -05:00
Hunter Miller
e252c46692
apps-search: deps should have provider 2021-10-21 11:55:44 -05:00
Jōshin
21b60615d1 khan: skeleton for effect parsing
This is a direct port from http.c, including _reck_lily, which should
probably get factored out.

We parse sequence numbers even though they aren't yet stored on the C
side, just in case we wind up needing them later.

Still not actually handling effects.
2021-10-21 07:11:26 +00:00
Jōshin
64730a3b30 khan: close stream on EOF
Also removes debug print in _khan_moor_poke.
2021-10-21 07:11:26 +00:00
Jōshin
c10e2319be khan: log on unlink on exit 2021-10-21 07:11:26 +00:00
Jōshin
a48e627951 khan: constant first 2021-10-21 07:11:26 +00:00
Jōshin
b3e71b1e55 khan: send as %fyrd
With this, you can now send a jammed `[%mas ~]` with length over the
socket, and %khan will recognize it as a `%fyrd` and print out
`[%todo %mas ~]`.
2021-10-21 07:11:26 +00:00
Jōshin
1dab3898f1 khan: sending requests to vane
The vane is of course bailing all over the place, and we probably need
to handle errors better (and maybe also count task numbers / introduce
the concept of a 'request' at C level?), but we're moving...
2021-10-21 07:11:26 +00:00
Jōshin
f51137d663 khan: cue, remove obsolete read_cb 2021-10-21 07:11:26 +00:00
Jōshin
f1fee9e1d0 khan: remove ioctl include 2021-10-21 07:11:26 +00:00
Jōshin
eab4ed9477 khan: do not unlink / close unless live 2021-10-21 07:11:26 +00:00
Jōshin
77db31f187 khan: use u3_moor 2021-10-21 07:11:26 +00:00
Jōshin
b3f12cf9ba khan: minor formatting cleanup 2021-10-21 07:11:26 +00:00
Jōshin
33d269f493 khan: wip use u3_moat instead of raw uv_pipe_t
This may be scrapped or redone as I grok newt.c. All that this
accomplishes is putting the different data structure in place, declaring
intent to use.
2021-10-21 07:11:26 +00:00
Jōshin
ba76bcbc32 khan: close on uv_read_start failure
Also do some minor cleanup.
2021-10-21 07:11:26 +00:00
Jōshin
e56ab9da1d khan: refactor, fix memory issues
Goes ahead and makes the socket its own separate data structure linked
from u3_khan. Makes it easier to get proper links to everything without
fiddling with offsetof. Seems to resolve the memory corruption issues we
were seeing.

Also make an effort to shutdown / close resources on exit.
2021-10-21 07:11:26 +00:00
Jōshin
dd5b833b2d khan: fix pointer reference
Using offsetof is very gross and probably suggests something is wrong
somewhere. Maybe we should store the server configuration on a separate
object from the khan configuration? But in the case of khan there isn't
really a concept of multiple servers...

N.B. We still have memory corruption.
2021-10-21 07:11:26 +00:00
Jōshin
005f80ae0d khan: wip driver implementation
Implements the connection callback, which accepts and opens up the read
end of the pipe, then just waits. Stores open connections on u3_khan.
Uses simple incrementing connection numbers.

I noticed in here that vere/newt.c seems to implement a protocol much
like the one we're looking for; may try to switch to using that more
explicitly.

Needs more well-thought-out error handling policy in connection
callback. What do we do -- bail? Deliver a non-fatal error and drop the
connection?
2021-10-21 07:11:26 +00:00
Jōshin
4d237ca65f khan: error handling
Ye olde C style nested gotos. Have not tested edge cases thoroughly yet;
should do prior to release.
2021-10-21 07:11:26 +00:00
Jōshin
296c8f0e94 khan: open socket on %born completion 2021-10-21 07:11:26 +00:00
Jōshin
1ac2a15201 khan: use u3_Host.dir_c consistently 2021-10-21 07:11:26 +00:00
Jōshin
0922e66111 khan: thinking intensifies 2021-10-21 07:11:26 +00:00
Jōshin
d0fd562102 khan: thoughts in conn_cb 2021-10-21 07:11:25 +00:00
Jōshin
f169e48cb3 khan: no uv_connect_t, spacing 2021-10-21 07:11:25 +00:00
Jōshin
368c09d86d khan: sequence number before socket open 2021-10-21 07:11:25 +00:00
Jōshin
9a9455d442 khan: TODO, init pipe after unlink 2021-10-21 07:11:25 +00:00
Jōshin
bcc97b728e khan: assert name 2021-10-21 07:11:25 +00:00
Jōshin
0fa6a70801 khan: unlink socket on close
Made URB_SOCK_PATH an array instead of pointer as well, to be able to
use sizeof.
2021-10-21 07:11:25 +00:00
Jōshin
c1f38c7397 http: check return of snprintf
Purely cautionary / defensive programming; no reason to think this would
have been a problem.
2021-10-21 07:11:25 +00:00
Jōshin
fc95d7ded7 khan: listening on socket 2021-10-21 07:11:25 +00:00
Jōshin
f2df8b83d5 khan: io driver skeleton 2021-10-21 07:11:25 +00:00
Jōshin
0102bb271f behn: comment spacing 2021-10-21 07:11:25 +00:00
finned-palmer
648a6efed2 Fix horiz. pad. on mobile layout 2021-10-20 19:46:20 -05:00
finned-palmer
4a53e89186 Add home icon, match new design somewhat 2021-10-20 19:46:17 -05:00
finned-palmer
3b35df4620 Fix master key invoice as well. 2021-10-20 19:44:20 -05:00
finned-palmer
eb5d026df4 Fix issues with bridge and external invoices 2021-10-20 19:44:19 -05:00
Hunter Miller
a71724371c local-storage: better versioning scheme until modules 2021-10-20 18:48:42 -05:00
Hunter Miller
4196abf0ce apps-search: adds status indicator 2021-10-20 17:28:41 -05:00
Hunter Miller
9dc7dfa439 vite: fixing secure proxy 2021-10-20 15:19:26 -05:00
fang
a7d707fa91
hood: add non-interactive mode to |nuke
Also improves the copy a bit.
2021-10-20 14:15:50 -05:00
DaneBettis
6dcbb82f54 vere: altered %bout to use micro symbol, fixed comments 2021-10-20 19:07:41 +00:00
fang
5c09a46c07
hood: ask for confirmation during |nuke 2021-10-20 11:40:57 -05:00
Liam Fitzgerald
1cc388c42f landscape: fix failing scry causing messages to be improperly validated
If we received a graph-node with that was signed by a past or future
life of a ship, then we would potentially crash scrying for the public
keys. Now, if there is a mismatch between lives, we simply no-op and
treat the signature as valid.
2021-10-19 13:00:00 -05:00
Liam Fitzgerald
49b38df2b6
Revert "blockquote: Remove unnecessary log of quote contents" 2021-10-19 12:33:54 -05:00
Liam Fitzgerald
5df73c4b3f
Merge pull request #5265 from pfych/master
blockquote: Remove unnecessary log of quote contents
2021-10-19 12:33:50 -05:00
yosoyubik
824de38532 roller: wip order roller tx history by timestamp 2021-10-16 12:47:39 +02:00
yosoyubik
a392ccde58 roller: wip finding map simplification 2021-10-16 07:26:57 +02:00
fang
020a00e33f
Revert "btc-wallet: import pre-dist settings as needed" 2021-10-15 16:36:13 +02:00
fang
3f71a1c5e7
Merge pull request #5311 from urbit/m/bitcoin-recovery
btc-wallet: import pre-dist settings as needed
2021-10-15 00:15:16 +02:00
Hunter Miller
7aedd77d20 grid: updating glob 2021-10-14 16:44:49 -05:00
fang
bbd044185c
Merge pull request #5227 from urbit/m/righteous-paths
hoon: correctly parse empty path
2021-10-14 23:12:29 +02:00
yosoyubik
21139ea8de roller: increase next-nonce if not out of sync 2021-10-14 15:42:06 +02:00
DaneBettis
ef6251c87c vere: altered %bout, now reports microseconds 2021-10-14 08:17:18 +00:00
yosoyubik
ca0681a4b5 roller: fix for duplicate transactions in a batch 2021-10-13 12:56:47 +02:00
fang
b6bdd4fed6
Merge pull request #5286 from urbit/m/multi-type
docket: better glob upload handling
2021-10-12 23:47:57 +02:00
Hunter Miller
9d0257854d
Merge pull request #5322 from urbit/hm/new-grid-icons
grid: new system prefs icons and tweaks
2021-10-12 11:05:39 -05:00
Hunter Miller
0326efbd3f grid: simplifying system icon and prefix storage with ship 2021-10-12 11:04:03 -05:00
Hunter Miller
5b3b2ff671 grid: fixing vite/tailwind pipeline 2021-10-12 10:49:24 -05:00
Hunter Miller
8bf8cbb47d system-prefs: shouldn't see two settings sections for system 2021-10-12 10:49:01 -05:00
Hunter Miller
305cd0b567 tile: making tweaks for mark :) 2021-10-12 10:48:20 -05:00
Joe Bryan
94878e695e ur: fixes preorder handle destructor in jam handle destructor 2021-10-12 11:34:09 -04:00
Joe Bryan
9cb53597fb ur: fixes "stack" overflow in preorder traversal, simplifies "stack" 2021-10-12 11:33:12 -04:00
Hunter Miller
7b16f8d375 system-prefs: updating icons 2021-10-12 09:54:44 -05:00
Hunter Miller
7c2429e6ac system-prefs: fixing non-null assertion errors on null rail 2021-10-11 10:39:48 -05:00
yosoyubik
91be390397 roller: use an ordered map for tracking L2 batches 2021-10-11 17:16:17 +02:00
janeway-bot
2f0f0faad3
Merge c9a508c653 into release/next-userspace 2021-10-09 01:19:02 +04:00
fang
c9a508c653
Merge pull request #5305 from urbit/hm/fix-popover-routes
interface: safer de-sigging
2021-10-08 23:18:32 +02:00
Hunter Miller
c3271b0b2e landscape: updating glob 2021-10-08 15:37:33 -05:00
Hunter Miller
9b7774ebc8 groups: removing spammy log 2021-10-08 14:35:36 -05:00
Hunter Miller
ecaf7345e2 notification-redirects: fixing group dms 2021-10-08 14:34:20 -05:00
fang
45ec631ed2
Merge pull request #5315 from urbit/m/bar-ota
gen: make |ota useful again
2021-10-08 19:57:38 +02:00
fang
f9f91b9592
gen: make |ota useful again
As an alias for installing into the base desk. Defaults to the remote
ship's %kids desk if no desk is specified.
2021-10-08 21:39:19 +04:00
Hunter Miller
f6533823f6 Merge branch 'master' into hm/fix-popover-routes 2021-10-08 12:24:44 -05:00
Hunter Miller
17736498eb
popover-routes: put something resembling a real path 2021-10-08 12:20:42 -05:00
fang
ef90e9db31
Merge pull request #5233 from urbit/m/eip-1559-plus
ethereum: add signing support for eip-1559 transactions
2021-10-08 19:16:37 +02:00
fang
5131d3165d
Merge branch 'release/next-userspace' into m/eip-1559-plus 2021-10-08 20:42:37 +04:00
fang
f91c4dec08
Merge branch 'master' into release/next-sys 2021-10-08 17:39:03 +04:00
fang
02e2f58d9d
Merge pull request #5283 from urbit/m/ruinator
jael: add %ruin task for pretend-breaching others
2021-10-08 14:11:09 +02:00
fang
8ed93c27c4
kiln: re-emit clay listen for affected ships
Previous version of kiln had a bug where a crash caused the listen to be
dropped, making kiln ignore base commits.
2021-10-07 23:12:42 +04:00
fang
bbc20e6bb7
kiln: safely bump not-yet-installed desks
Previously this wasn't accounting for the "couldn't read kelvin from
local desk" case properly, resulting in crashes during updates to base,
after which other desks wouldn't be started back up.
2021-10-07 22:29:24 +04:00
fang
a6bc01e791
hood: no longer work around bad clay %u behavior
Previously it would crash for non-existent desk. No longer does, so we
don't need to avoid this.
2021-10-07 21:58:56 +04:00
fang
bf4aef198c
clay: give %u answer for non-existent desks
Instead of considering it "in the future", an existence check for paths
on non-existent desks now always produce false.
2021-10-07 21:57:56 +04:00
fang
a916f4b0d0
btc-wallet: import pre-dist settings as needed
If the have btc-wallet settings stored under the landscape desk,
reimport them if we haven't written it to the bitcoin desk yet.

Additionally, removes the bitcoin settings from the landscape desks.
2021-10-07 17:08:01 +04:00
fang
565c1b0bf2
acme: load custom cert from base desk, not home
Small patch for the ancient workaround.
2021-10-07 09:54:29 +02:00
Hunter Miller
62741df416
Merge pull request #5300 from urbit/ted/kiln-dudes
kiln: refresh dudes on local reinstall
2021-10-06 17:42:46 -05:00
Hunter Miller
f2e00ba091
Merge pull request #5302 from urbit/lf/landscape-notifications
landscape: revive notifications
2021-10-06 17:42:01 -05:00
Jake Miller
ff81f00ec3
Merge branch 'release/next-userspace' into lf/grid-leap-ally 2021-10-06 18:10:43 -04:00
Hunter Miller
52ad639e1e grid: fixing types and updating glob 2021-10-06 16:14:38 -05:00
Hunter Miller
63decf68eb docket: handling initial state 2021-10-06 15:27:26 -05:00
Hunter Miller
908d27a916
Update pkg/grid/src/nav/search/Providers.tsx 2021-10-06 14:16:14 -05:00
Jake Miller
af2a1bfb10
Merge pull request #5306 from urbit/jm/fix-ames-glob
spider, docket: fix versioning and validate-mark
2021-10-06 15:01:19 -04:00
fang
e6d4f204d3
treaty: pr fixup 2021-10-06 21:15:38 +04:00
fang
d9267a62d8
treaty: whitespace 2021-10-06 21:15:17 +04:00
fang
c29108a5f0
dojo: support running threads from other desks
Similar to the syntax for generators, you can now -desk!thread to run
the thread from the specified desk.
2021-10-06 19:57:53 +04:00
Philip Monk
163ca690ce
naive: remove unused arms 2021-10-05 23:58:59 -05:00
Philip Monk
7b528e823f
naive: final touch-up 2021-10-05 22:20:35 -05:00
ryjm
084f74129b spider, docket: fix versioning and validate-mark 2021-10-05 22:46:07 -04:00
Hunter Miller
789aea4711 interface: switching all de-sigification to use deSig fn 2021-10-05 17:09:16 -05:00
Hunter Miller
7f0c319af4 landscape: updating glob 2021-10-05 13:22:34 -05:00
Hunter Miller
b40fcf629e notifications: adding opened behavior, deduping body, and small design tweak 2021-10-05 13:12:14 -05:00
Joe Bryan
9a1b9b4450 Merge branch 'master' into release/next-vere
* master: (595 commits)
  grid: updating glob
  landscape: updating glob
  graph-store: clean up merge artefact
  interface: reduce %all-stats correctly
  docket: correctly en-vase a docket definition
  kiln: don't +mean the tang noun alongside the tang
  hood: scry for list of desks with empty desk name
  hood: remove needless weld
  hood: report %kids desk hash in +report-vats
  landscape: fix joining indicator in statusbar
  interface: reduce %saw-place correctly
  app-prefs: fixing logic around enabled
  pull-hook: add nice flag to kick poke
  graph-pull-hook: renegotiate subscriptions
  graph-store: Handle missing update-logs gracefully in scries
  arvo: update jamfiles
  landscape: correctly freeze graph-update-2
  jael: on rekey, update life if moon
  tmp/ jamfiles
  btc: updating glob
  ...
2021-10-05 11:33:08 -04:00
fang
5a8b98b77e
Merge branch 'master' into release/next-sys 2021-10-05 16:57:56 +04:00