Commit Graph

13494 Commits

Author SHA1 Message Date
Liam Fitzgerald
f3da5488ce Merge remote-tracking branch 'origin/next/groups' into lf/no-perms-rejoin 2022-02-03 11:12:43 -06:00
Yaseen
e1f8f4db45 story: fix error with null jug 2022-02-02 23:35:55 -05:00
Jōshin
822eb6ea08
Merge branch 'next/arvo' into jo/secp-arvo 2022-02-02 20:34:11 -06:00
Jōshin
08ca0cf0c7
jets: mark schnorr jets non-perfect
also marks %sosi as non-total, since it conceivably could punt.
2022-02-02 20:32:46 -06:00
Jōshin
8d3f19aba9
Merge branch 'next/vere' into jo/secp-c3 2022-02-02 17:57:51 -06:00
Jōshin
74b71f35cc
Merge branch 'next/vere' into jo/unix-sane 2022-02-02 12:27:25 -06:00
fang
5588953d84
Merge branch 'next/vere' into m/--vere-args 2022-02-02 19:26:17 +01:00
Jōshin
bd67814a95
Merge branch 'next/vere' into jo/khan-c3 2022-02-02 12:24:55 -06:00
Jōshin
f34f6a91e9
conn: comment format 2022-02-02 12:24:36 -06:00
Jōshin
997544eb11
conn: describe +fyrd interface to %khan 2022-02-02 12:24:36 -06:00
Joe Bryan
1736bae519
Merge pull request #5572 from urbit/jb/dirty-loom
u3: fix snapshot corruption by preemptively dirtying the loom
2022-02-02 13:01:52 -05:00
Jōshin
7fcdf6ef54
noun: go ahead and enforce that invariant (#5579)
* noun: go ahead and enforce that invariant

* mingw: sysconf compat wrapper
2022-02-02 08:06:05 -06:00
Joe Bryan
60fc5c1389 u3: refines snapshot system docs 2022-02-01 20:11:40 -05:00
Jōshin
1183634501
unix: knot mapping that is not a valid @ta
'~.' was a pun with the @ta encoding, which could cause people to get
confused about how the mapping actually worked.

I had previusly wanted the escape sequence to be a valid @ta, since I
had wanted to check that path components were (sane %ta) prior to doing
$knot conversion. However @joemfb mentioned that it was desirable to
have it not be a valid @ta so that if someone messed up the encoding in
the future, the paths would be detectably wrong.

This necessitates calling _unix_knot_to_string on unsanitized input,
which means we can no longer assume that it won't contain non-(sane %ta)
characters, which means we can no longer assert that '\\' is not in the
string on Linux.

Also added a seemingly forgotten null byte to _unix_knot_to_string.
2022-02-01 12:56:50 -06:00
Jōshin
7b6e89fc15
unix: comment with suggestions for future 2022-01-31 23:07:13 -06:00
Jōshin
4a74b9b13f
unix: fix regression in _unix_scan_mount_point
We previously checked for '#' at strlen(out_u->d_name) - 1 here. So just
go ahead and do (sane %ta) on the whole out_u->d_name.
2022-01-31 20:52:42 -06:00
Jōshin
46a1139e70
main: repath cleanup 2022-01-31 17:26:07 -06:00
Jōshin
5591752f9c
main: support files in cwd 2022-01-31 17:02:18 -06:00
Jōshin
0375646a93
unix: cane before root removal 2022-01-31 16:34:09 -06:00
Liam Fitzgerald
b14dc76992 interface: refine joining error cases 2022-01-31 16:21:27 -06:00
Liam Fitzgerald
9540afecad group-view: fix errored rollback 2022-01-31 16:20:57 -06:00
Jōshin
4c22e2ceaa
spider: blank lines 2022-01-31 15:47:14 -06:00
Jōshin
6c5d7133f1
unix: fix compile warning 2022-01-31 14:25:22 -06:00
Jōshin
eaf47d95c5
unix: test cases 2022-01-31 14:23:39 -06:00
Jōshin
3f1c526d2e
main: repath scry path 2022-01-31 14:19:27 -06:00
Jōshin
8191955eff
unix: reorder checks 2022-01-31 14:18:22 -06:00
Jōshin
c83d9b9c1e
unix: hard-code %put base directory 2022-01-31 14:03:34 -06:00
Jōshin
2b05fa2ebe
unix: use $ for types 2022-01-31 13:53:22 -06:00
Jōshin
9172b3dfe8
unix: c3_ 2022-01-31 13:52:44 -06:00
Jōshin
6b5361d7df
unix: code review feedback 2022-01-31 13:49:51 -06:00
Jōshin
ca1ed3d7a1
vere: remove 'new' from header comments
'New' is relative; some of these subsystems were 'new' in 2015.
2022-01-31 13:21:50 -06:00
Jōshin
b8277be5b2
vere: remove walk, move save to unix 2022-01-31 13:19:32 -06:00
Jōshin
7fc9db8c9a
unix: reformat comments 2022-01-31 12:28:45 -06:00
Jōshin
443315f401
vere: rename u3_unix_{safe,cane} 2022-01-31 12:25:42 -06:00
Jōshin
60f1a44910
unix: remove extra layer of conditional 2022-01-31 11:14:54 -06:00
Jōshin
0d9264ea1c
unix: don't require that string is non-empty
Fixes an assert failure if you try to commit a file named `~.`.
2022-01-31 11:13:57 -06:00
Jōshin
2a5baa9e3f
main: simplify _main_repath 2022-01-31 10:59:23 -06:00
Jōshin
b5a49a159f
unix: use (sane %ta) out of arvo 2022-01-31 10:43:56 -06:00
Jōshin
19002c72dd
compat: mingw realpath 2022-01-31 10:24:11 -06:00
Jōshin
c041080729
unix: bugfixes
- Don't test for '\\' in u3_unix_safe. Doing otherwise was crashing vere
  when unmounting a mountpoint that had come to contain a file with '\\'
  in its path. This might mean you can do bad things on Windows if other
  checks fail.

- Ignore any files whose names do not pass `(sane %ta)` when scanning
  directories. (This reimplements `(sane %ta)` in C. Perhaps it should
  instead call `(sane %ta)`.)

- Use '~.' rather than '~' for the escape. We ignore files that end in
  '~', probably for vim backup-file reasons.

- Add a _unix_string_to_knot missed in the prior conversion.
2022-01-31 10:00:35 -06:00
Jōshin
00f7407a5e
unix: escape overloaded paths
unix cannot represent the file with empty name, and it has special
mappings for '.' and '..'. as these three are all valid arvo `+knot`s,
we need to escape them if we come across them.

the method we use to escape is: if we encounter any of those three
`+knot`s, or any `+knot` starting with '~', we prepend its filename with
a '~'. and when going from filename to `+knot`, we do the reverse; i.e.
we ignore a '~' if it is the first character of a filename.

the current implementation just crashes if it encounters a `+knot`
containing '/' or '\\', neither of which are valid under the current
implementation of `@ta` (which only accepts numbers, lowercase, '-',
'~', '.', and '_'.)

it also crashes if it encounters a file containing '\\'. something else
should happen here; most likely vere should just ignore the file.
2022-01-31 10:00:35 -06:00
Jōshin
d4b4504ae4
vere: move lockfile from unix to disk 2022-01-30 19:26:45 -06:00
Yaseen
b7e0b28220
Merge branch 'urbit:master' into story 2022-01-30 16:03:48 -05:00
Yaseen
9afc2b8258 story: diff: use dif-ju and uni-ju 2022-01-30 16:03:10 -05:00
Yaseen
68da061f47 story: update outdated diff types 2022-01-30 16:02:47 -05:00
Yaseen
f723088f4d story: create fundamental jug operations 2022-01-30 16:02:25 -05:00
Yaseen
e791c501a0 story: fix lib import 2022-01-30 16:01:45 -05:00
Yaseen
08cd2feed7 story: use new parser in mark 2022-01-30 16:01:31 -05:00
Yaseen
10e252bca0 story: add new parsers to lib 2022-01-30 16:01:00 -05:00
Yaseen
b87a754622 story: rip out parsers 2022-01-30 16:00:38 -05:00
Yaseen
75d6882b51 story: fix to-text arms 2022-01-30 15:59:58 -05:00
Yaseen
9286d89fa2 story: add chapter type 2022-01-30 15:59:06 -05:00
Yaseen
8787c43c83 story: cleanup 2022-01-30 15:58:35 -05:00
Jōshin
a4b40d104c
noun: noop, C 'types' being what they are... 2022-01-30 13:09:20 -06:00
Jōshin
0248f57f0b
unix: comment format 2022-01-29 23:24:12 -06:00
Jōshin
3d36582fda
unix: whitespace cleanup 2022-01-29 23:24:12 -06:00
Jōshin
c8f8ced249
main: canonicalize paths from command line 2022-01-29 23:24:11 -06:00
Jōshin
a74d08f489
vere: extra fs calls 2022-01-29 23:24:11 -06:00
Jōshin
741e1d3e8b
vere: replace fs calls with asserting counterparts 2022-01-29 23:24:11 -06:00
Jōshin
d2fc42c3ea
unix: asserting wrappers around unix fs calls 2022-01-29 23:24:11 -06:00
Jōshin
2e53930d5a
Merge branch 'master' into next/vere 2022-01-28 21:23:00 -08:00
Hunter Miller
874d380ad5 groups: updating version 2022-01-28 20:30:13 -06:00
Hunter Miller
dc188d6059 groups: fixing bad glob 2022-01-28 20:29:34 -06:00
Hunter Miller
de747b343f join: don't show modal if no kind 2022-01-28 19:51:35 -06:00
Hunter Miller
509bd2b11a groups: updating glob 2022-01-28 19:39:48 -06:00
Hunter Miller
0d93cf9cff join: handling kind safer and join links more consistent 2022-01-28 19:33:42 -06:00
drbeefsupreme
f67962b803
helm: cleanup +poke-rekey to match #5522 2022-01-28 12:23:36 -05:00
Jōshin
ccf9110f7f
test: khan test cleanup
;;(vase ...) does a nest-check of the type of the kernel. This is
undesirable, so we instead run everything through +slum and cast the
result to +tang.
2022-01-28 09:05:37 -08:00
Jōshin
21ea32e8ad
khan: +bear allows a full +beak 2022-01-27 22:28:30 -08:00
Jōshin
72981203c8
khan: PR feedback, wip tests 2022-01-27 22:20:31 -08:00
Peter McEvoy
c1441e9cd0 u3: document page tracking subtleties when taking snapshot 2022-01-27 14:05:29 -08:00
Joe Bryan
4087699172 u3: fix snapshot corruption by preemptively dirtying the loom 2022-01-27 14:51:25 -05:00
Hunter Miller
c07bcd6e03 Merge branch 'next/groups' 2022-01-27 10:25:14 -06:00
Hunter Miller
88e956df01 Merge branch 'next/landscape' 2022-01-27 10:24:04 -06:00
Jōshin
7f6868a06e
khan: strip inner faces from +bear 2022-01-26 21:50:08 -08:00
Jōshin
05a11d57b3
khan: cleanup
- only store metadata in the persistent map. just enough to support
  (eventual) thread cancellation and output mark lookup.

- try to delete thread state at other failure points not covered by
  %kick.

- reflect back the passed output mark rather than form.dais. not sure
  about this one yet.
2022-01-26 20:09:36 -08:00
Jōshin
aba5c0303d
khan: del in %kick 2022-01-26 17:45:25 -08:00
Jōshin
1281e1cdbe
khan: functionally done 2022-01-26 17:41:01 -08:00
Jōshin
425bf6b011
khan: accepts thread arguments with marks 2022-01-26 16:26:30 -08:00
fang
d7d15115ee
Merge branch 'next/webterm' 2022-01-27 00:30:17 +01:00
fang
192f2cd19d
webterm: v1.0.1 2022-01-27 00:29:24 +01:00
Yaseen
a0cc6d8980 story: make +story-log use arms from lib 2022-01-26 18:07:29 -05:00
Yaseen
1e871e3c35 story: use crip/trip where necessary 2022-01-26 18:07:00 -05:00
drbeefsupreme
b5f299c02d
helm: fix |rekey to work with multikey files 2022-01-26 16:29:14 -05:00
Philip Monk
34bcd2ffcd
Merge pull request #5495 from urbit/m/whos-who
helm: bind /who.json
2022-01-26 12:47:47 -07:00
Hunter Miller
0abf7eecfe app: refactoring app to TS and removing lots of unused props 2022-01-26 12:21:19 -06:00
Yaseen
484772e2b7 story: misc changes 2022-01-26 11:41:22 -05:00
Yaseen
d8450c2892 story: use lib arms in txt:grow 2022-01-26 11:41:08 -05:00
Yaseen
3105176df9 story: handle conflicts for updated $story type (mvp) 2022-01-26 11:39:18 -05:00
Yaseen
b0a666d2eb story: add lib/story.hoon 2022-01-26 11:37:02 -05:00
Hunter Miller
79f0fd98dd chat-resource: fixing admin detection 2022-01-26 10:29:04 -06:00
fang
5928ca8747
vere: do not use mainnet-proxy for galaxy booting
Fallback to the default happens in dawn.c, which correctly points to
roller.urbit.org, an endpoint that matches its request/response logic.
Continuing to use an Ethereum endpoint instead of an L2 one will just result
in 400s, since they don't speak the same language.
2022-01-26 17:17:37 +01:00
Jōshin
8ad57d8bd2
khan: cleanup 2022-01-25 21:28:45 -08:00
Jōshin
12b4c80cf1
khan: wip threads v0
super ghetto first pass with a bunch of stuff hard-coded to prevent
sending giant vases over the wire.
2022-01-25 20:08:48 -08:00
Jōshin
507ab561aa
conn: don't send roc 2022-01-25 16:06:30 -08:00
Jōshin
fd7d315e3b
khan: wip fyrd 2022-01-25 15:37:48 -08:00
Hunter Miller
049a85bc60 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-25 17:05:32 -06:00
Yaseen
5b512abae5 story: update |story-remove to use new types 2022-01-25 14:54:55 -05:00
Yaseen
86ef82dbe1 story: misc changes 2022-01-25 14:54:30 -05:00
Yaseen
194f3d55c6 story: make sur file an lead core 2022-01-25 13:52:40 -05:00
Hunter Miller
5426f2aff8 Merge branch 'next/groups' into hm/fix-group-dm-initial-load 2022-01-25 11:23:30 -06:00
Jōshin
aebce8dbf5
Merge branch 'next/vere' into jo/khan-c3 2022-01-25 08:50:45 -08:00
Hunter Miller
86d9aba7fb garden,landscape: updating globs and versions 2022-01-24 16:14:26 -06:00
Liam Fitzgerald
14ca87c43c dm-hook: mutate screened before giving fact
Fixes an issue where the subscription update would contain stale data
2022-01-24 15:18:52 -06:00
fang
a51ac14833
webterm: improve readability of char under cursor
Make sure it's the opposite of the cursor color.
2022-01-24 14:33:25 +01:00
~nallux-dozryl
dd53baa059
Fix comment indent for abs:si 2022-01-24 15:24:01 +08:00
Jōshin
13bdfe26aa
build: arm64 architecture
This seems to be what nix settled on.

(As of now, I can build urbit on M1 Mac with stock nix. nix-build -A
urbit hangs for some reason, but nix-shell ./configure && make works.)
2022-01-23 21:22:13 -08:00
xiphiness
73b2d27d49
Add +address-to-checksum gate to ethereum lib as per EIP-55
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md

I needed it because some api's i'm hitting fail if the address isn't checksummed.

Could maybe be written better, haven't done much byte munging in hoon. Feel free to improve.
2022-01-23 19:57:13 +02:00
Jōshin
924d8e0628
conn: comments 2022-01-22 02:33:26 +00:00
Jōshin
30df250c7d
khan: closer to starting threads 2022-01-22 01:46:59 +00:00
Jōshin
a247113c57
khan: %done task 2022-01-22 01:46:12 +00:00
Jōshin
3cf803129d
khan: basic +call, types 2022-01-21 22:09:01 +00:00
Jōshin
575ff61fa6
khan: vane skeleton 2022-01-21 18:48:05 +00:00
Yaseen
c818d293ba story: add generator +story-log 2022-01-21 11:50:42 -05:00
Yaseen
606acd8fa2 story: restore previous mark functionality, ignore conflicts 2022-01-21 11:50:05 -05:00
Liam Fitzgerald
c5c7946e5a
Merge pull request #5553 from urbit/la/proxy-sigs
graph-push-hook: proxy add and remove signatures across the network
2022-01-20 16:52:22 -06:00
Logan Allen
bb953945f8 graph-push-hook: proxy add and remove signatures across the network 2022-01-20 21:58:00 +00:00
Yaseen
a927d31629 story: make |story-list use new types 2022-01-20 16:01:01 -05:00
Yaseen
f491aa0384 story: update |story-set to use new types 2022-01-20 15:58:05 -05:00
Yaseen
b06df068c0 story: make |story-init use new types and make overwriting optional 2022-01-20 15:56:47 -05:00
Yaseen
f2b8a1b7f7 story: update sur file 2022-01-20 15:54:37 -05:00
yosoyubik
d62ba7d6b5 roller: fix wrong ship quota 2022-01-20 16:15:38 +01:00
yosoyubik
0c9fc76b93 eth-watcher: fix zoom-margin to account for reorgs
The previous value—used for testing—didn't consider
block reorgs, which meant that if we zoom to the latest
block that has no transactions, but that gets later replaced
by a 1-block reorg that does have a transaction, we'll miss it,
making our Azimuth state incomplete.

To fix it, we rewind the Azimuth state to the contents of the snapshot,
and then start retrieving logs from the latest one we have.
2022-01-19 17:41:05 +01:00
Hunter Miller
09f71e504b dms: don't load if pending 2022-01-18 14:38:45 -06:00
yosoyubik
3d943ec201 ames: ignore missing peer-state on-publ-sponsor 2022-01-18 20:34:32 +01:00
Yaseen
df9e5175d1 story: create sur file and extract type 2022-01-16 22:36:52 -05:00
Yaseen
6a25f8ffca story: add custom ++grad core 2022-01-15 23:37:51 -05:00
Yaseen
e5642b5ff3 story: rename door sample to tale 2022-01-15 23:26:33 -05:00
Jōshin
86fee3c104
conn: merge lines 2022-01-15 08:13:50 +00:00
Jōshin
c89eb11f57
conn: various fixes and cleanups 2022-01-15 08:00:59 +00:00
Jōshin
275beeb071
conn: some peel/urth functionality 2022-01-15 07:32:48 +00:00
Jōshin
c1a4bf75cf
conn: comment 2022-01-14 20:36:10 +00:00
Hunter Miller
3bbaf6de80 join: making sure group is in state and retaining join request state 2022-01-13 16:15:38 -06:00
Hunter Miller
ed3b19cd0f sidebarlistheader: fixing potential undefined ref 2022-01-13 16:14:22 -06:00
Yaseen
b37fd09fab clay: implement %base-tako scry under the %s care 2022-01-13 15:56:20 -05:00
Jōshin
f6cef00dd9
conn: comment 2022-01-13 06:29:55 +00:00
Jōshin
2e39926180
conn: van_o -> kan_o 2022-01-13 06:25:12 +00:00
Jōshin
bdcc30da98
khan: -> conn
Get some space between the IO driver and vane, since the driver is
mostly self-contained now and only depends on %khan for thread running.

"Conn" is a nautical term; it is the status of being in control of a
ship's movements, or the act of controlling a ship.
2022-01-13 06:21:30 +00:00
Jōshin
75271a8795
khan: implement %ovum
Untested as of yet.
2022-01-13 06:11:35 +00:00
Jōshin
66ef25447f
khan: stub out new commands 2022-01-13 05:19:51 +00:00
Jōshin
9e115a2b28
khan: rid is any-sized atom
Also updates comment to match current target.
2022-01-13 04:58:09 +00:00
fang
7be6950fe5
Merge branch 'm/helm-perms' into next/arvo 2022-01-13 00:36:22 +01:00
fang
b9491bcbb8
Merge branch 'master' into next/arvo 2022-01-13 00:36:07 +01:00
fang
0bc1f49f0f
drum: only process pokes from the local ship
No mark files exist for any of the drum marks, so trying to poke remote drums
would fail anyway, but relying on the mark system in that way seems a bit
fragile, so we add an explicit permission check.
2022-01-13 00:24:31 +01:00
fang
bde8c0b04a
helm: only process pokes from the local ship
No mark files exist for any of the helm marks (except `%helm-hi`), so trying to
poke remote helms would fail anyway, but relying on the mark system in that way
seems a bit fragile, so we add an explicit permission check.
2022-01-12 13:28:44 +01:00
jose
f158ebe312
Merge pull request #5532 from urbit/azimuth/jael-fix
jael: give new private key to subscribers on %keys new-event
2022-01-12 12:47:21 +01:00
yosoyubik
432d9674f5 jael: don't put conflicting this-su in the subject 2022-01-12 11:01:06 +01:00
Hunter Miller
c13ec5a698 notification-redirect: send to already joined chat instead of showing join modal 2022-01-11 19:36:06 -06:00
Hunter Miller
1ddd38e82c join: removing unused props, fixing invite 'kind' for proper linking 2022-01-11 19:32:51 -06:00
Hunter Miller
5fba433415 hark-update: fixing desk check 2022-01-11 19:30:53 -06:00
Hunter Miller
846502ef51 Merge branch 'next/groups' into hm/remove-dm-delete 2022-01-11 18:16:29 -06:00
Hunter Miller
4ee680807f Merge branch 'master' into next/groups 2022-01-11 18:15:25 -06:00
Hunter Miller
8efc0a9006 dms: hiding delete for dms and hiding dropdown if only reply 2022-01-11 16:43:57 -06:00
Hunter Miller
f6db32e669 webpack: fixing refresh in dev 2022-01-11 16:43:02 -06:00
Hunter Miller
158dfc0dec interface: fixing type errors 2022-01-11 16:42:38 -06:00
Liam Fitzgerald
6c1ce45815
Merge pull request #5489 from urbit/lf/fix-revoke
groups: fix permission handling
2022-01-10 11:11:12 -06:00
Liam Fitzgerald
f1f57abec0
Merge pull request #5485 from urbit/lf/recency-improvements
landscape: better leap searching
2022-01-10 11:10:51 -06:00
Liam Fitzgerald
b4512bf1a0
Merge pull request #5490 from urbit/lf/groups-grabbag
groups: misc frontend fixes
2022-01-10 11:08:14 -06:00
Liam Fitzgerald
4009f9d350
Merge pull request #5525 from urbit/lf/fix-dm-loading
DmResource: reload DM if cleared by kick
2022-01-10 11:07:25 -06:00
Liam Fitzgerald
a1aee5d2c8
Merge pull request #5519 from urbit/lf/fix-admin-remove
graph-validator-chat: allow admin removal of any message
2022-01-10 11:06:58 -06:00
Jōshin
ce05e562ed
test: schnorr bounds checking 2022-01-09 05:49:47 +00:00
Jōshin
71c59737d8
zuse: boundary assertions for schnorr
Just assert on mis-sized values.
2022-01-09 05:31:36 +00:00
Jōshin
4591fa272e
zuse: schnorr test cases
These are from:
<https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv>
2022-01-09 05:28:22 +00:00
yosoyubik
fccf99e0a6 jael: refactor new-event for %keys diff
this also adds a %rerun %poke to /app/azimuth
2022-01-08 19:28:11 +01:00
yosoyubik
8535563de6 jael: give private key to subscribers on keys diff
Triggering this event has been added to /app/azimuth's +on-load
2022-01-08 09:48:28 +01:00
Peter McEvoy
db1b8d8239 vere: use hex literal for database size passed to u3_lmdb_init() 2022-01-07 14:44:08 -08:00
yosoyubik
583d5f5063 azimuth: process snapshot on-load 2022-01-07 18:13:51 +01:00
Hunter Miller
1ddc7fee83 types: fixing type issues from merge 2022-01-07 11:08:59 -06:00
yosoyubik
1950736518 azimuth: update snapshot at block 13.958.653 2022-01-07 17:31:49 +01:00
fang
afea2edc59
webterm: improve selection look & feel 2022-01-07 14:02:28 +01:00
Peter McEvoy
e4616828c1
u3: disable page tracking on inner roads (#5477)
* u3: disable page tracking on inner roads

* u3: optimize reinstatement of page tracking

* u3: replace U3_OS_Native* macros with static global variable

* u3: move U3_OS_NativePageWords global variable into portable.h

* Revert 2ee26990c2, 16c52a4b73, d7bfe37ff7, 4a78133991

Revert "u3: move U3_OS_NativePageWords global variable into portable.h"
This reverts commit 2ee26990c26a8af15a0234fa23dd041b13aa02de.

Revert "u3: replace U3_OS_Native* macros with static global variable"
This reverts commit 16c52a4b73f35cfe54165ad9232110c2f741d223.

Revert "u3: optimize reinstatement of page tracking"
This reverts commit d7bfe37ff768ecfc0055d71076c67a4df4aff621.

Revert "u3: disable page tracking on inner roads"
This reverts commit 4a781339914b2c47772107d8654a27c40aef7ddf.

* u3: remove u3e_dirty()

* u3: use sizeof() in u3e_foul()

* u3: disable inner road page tracking by defaulting to dirty pages

* u3: read and write-protect on per-page basis in _ce_image_blit()

* u3: remove _ce_patch_junk_page()

* u3: increment ptr_w in _ce_image_blit()
2022-01-06 16:23:19 -08:00
Hunter Miller
9c5f90fe3b Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-06 16:52:55 -06:00
Hunter Miller
4834ec59a2 Merge branch 'master' into next/landscape 2022-01-06 16:25:04 -06:00
Liam Fitzgerald
a42b344559 DmResource: reload DM if cleared by kick 2022-01-06 13:55:22 -06:00
yosoyubik
8df443bc46 azimuth: remove eth-logs 2022-01-06 16:43:28 +01:00
Hunter Miller
318cb9f00e Merge branch 'master' into next/landscape 2022-01-05 16:59:32 -06:00
Liam Fitzgerald
05de25a22f graph-validator-chat: allow admin removal of any message 2022-01-04 15:11:24 -06:00
Jōshin
573495546d
vere: reading comprehension :( 2022-01-04 18:28:19 +00:00
Jōshin
c7d8c73865
vere: change include file name in compat 2022-01-04 18:19:46 +00:00
Jōshin
40f3263e08
vere: remove headers from configure script
It doesn't seem to be doing anything.
2022-01-04 17:29:23 +00:00
Yaseen
dcb8aedc09 story: amend |story-set to use the tako from appropriate desk 2021-12-30 21:01:03 -05:00
Jōshin
6fe108f538
vere: schnorr jets
C side of the work at jo/secp-arvo. Validated against these test vectors
prior to setting `ice = c3y`:

<https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv>

I didn't touch any of the core hashes; perhaps they should be updated.
2021-12-30 22:58:31 +00:00
Jōshin
40fbd16036
zuse: schnorr address 2021-12-30 05:46:44 +00:00
Jōshin
cb5983c6ae
zuse: schnorr jet hints 2021-12-30 04:25:31 +00:00
Jōshin
5d98ecfe2f
urcrypt: first pass at schnorr signatures 2021-12-30 04:16:37 +00:00
Jōshin
f93457ce9c
zuse: style 2021-12-30 04:14:25 +00:00
Jōshin
0fb3dd5ed0
zuse: cleanup 2021-12-30 00:47:11 +00:00
Jōshin
022ec2867d
zuse: banish byte twiddling from schnorr
Actually it's just hidden in +sha-256l:sha now.
2021-12-30 00:42:47 +00:00
Jōshin
57ef17fc91
zuse: signatures were backwards 2021-12-29 23:58:31 +00:00
Jōshin
09294d79bc
zuse: unused ffra 2021-12-29 23:50:16 +00:00
Jōshin
4c6187787f
zuse: remove redundant flips on sig 2021-12-29 23:50:16 +00:00
Jōshin
4f1269b205
zuse: cleanup in schnorr 2021-12-29 23:50:15 +00:00
Jōshin
b296f3912e
zuse: verify:schnorr works 2021-12-29 23:50:15 +00:00
Jōshin
ab4b735471
zuse: sign:schnorr basically done
Schnorr's choice of big-endian encoding commits us to some degree of
byte twiddling; try to make this fairly seamless.
2021-12-29 23:49:54 +00:00
Jōshin
f39421c97b
zuse: flip bytes in sig
gross!
2021-12-29 19:02:51 +00:00
Jōshin
a1c548ced4
zuse: schnorrsig-sign from spec
test vectors match, but are byte-flipped. has to do a lot of endianness
twiddling.
2021-12-29 18:57:45 +00:00
Jōshin
645b7afbd7
test: cleanup
- u3s_cue_xeno_init_with to after u3m_boot_lite().

- c3__ux for overflow case for more intuitive test output.

- "test boot" in final output.
2021-12-26 23:26:39 +00:00
Jōshin
0682eb8a3a
nix,vere: move ivory def to its own source file 2021-12-26 22:31:35 +00:00
Jōshin
fbcec9d0ec
vere: use u3r_safe_word instead of u3r_word_fit
Also add boundary condition tests for u3v_lily.
2021-12-26 21:31:46 +00:00
Jōshin
a07e0b8997
test: return 0 2021-12-26 19:56:06 +00:00
Jōshin
b29fb12e47
test: fix make output, add boot tests 2021-12-26 19:55:03 +00:00
Jōshin
c7f4768e40
vere: reorder u3v functions 2021-12-26 07:08:05 +00:00
Jōshin
2526c4b59d
vere: fix u3v_lily bounds checking
Before this, u3v_lily would erroneously accept atoms bigger than 64 bits
that, when truncated to 64 bits, were 31-bit numbers.

Decided to drop _cv_mole altogether. Another option would be to write a
u3r_chub_fit, write _cv_mole in terms of that, and check width in
u3v_lily as it currently does.

I tried to add a test case, but it seems that tests don't have access to
an ivory pill for +scot / +slaw. This would be the test case, more or
less:

    {
      c3_l lit_l;
      c3_w big_w[] = {0, 0, 1};
      u3_atom big = u3i_words(3, big_w);
      u3_noun cod = u3dc("scot", c3__ux, big);

      if ( c3y == u3v_lily(c3__ux, cod, &lit_l) ) {
        printf("fail\n");
      }
    }

(The refcounting was also messed up, possibly from my refactor to use
+slaw instead of +slay, but this seems to have been unrelated.)
2021-12-26 06:44:54 +00:00
Jōshin
d64674c0e8
khan: only plan %done if vane is present 2021-12-25 21:19:25 +00:00
Jōshin
e226161d03
khan: better noun refcounting, errors
- Caught a couple potential leaks.

- Reworded error messages to be more @tas-compliant.

- Used unique error codes in bal_f calls.

- Moved u3z calls onto same line as returns.
2021-12-25 21:07:59 +00:00
Jōshin
b61f4e5728
khan: comment changes
Not sure we actually want to guarantee exactly-once response semantics,
so you can't rely on request ordering to correlate requests even if you
never send simultaneous requests.

Also do a worked example of a %urth scry, which hopefully raises the
question of whether %urth should try to support views.
2021-12-25 20:42:19 +00:00
Jōshin
d505541498
Revert "behn: comment spacing"
Leave arvo stuff out of the next/vere changes entirely.

This reverts commit 0102bb271f.
2021-12-25 20:26:45 +00:00
Jōshin
69f4d57ccd
test: we stopped futureproofing at some point 2021-12-25 20:25:24 +00:00
Jōshin
9f0a1cc684
vere: export u3v_lily
It was if 0'd out in noun/vortex.c. That seems like a more reasonable
place to put it then a whole other self-contained file.

The commented version used slay instead of slaw and had an extra paren;
I opted to replace it with the impelementation from reck.c from http.c.
2021-12-25 19:54:21 +00:00
Jōshin
0911c39b0e
khan: comment fixes 2021-12-25 09:47:26 +00:00
Jōshin
d22618e89f
khan: comment formatting 2021-12-25 09:41:27 +00:00
Jōshin
aa3bbe165e
zuse: schnorrsig stubs 2021-12-25 08:47:43 +00:00
Jōshin
736fc6f47c
khan: fix comment
It's a little atom; so 31 bits, not 32.
2021-12-25 08:44:36 +00:00
Jōshin
ddbe673a43
khan: naming scheme for _khan_init_sock 2021-12-25 08:41:42 +00:00
Jōshin
845d325dd7
khan: always open socket, make %fyrd conditional
Inlines the server initialization in _khan_io_talk. Adds a van_o loobean
that differentiates between having the vane and missing the vane; van_o
is c3n if the %born event failed. In that case, we don't bother
forwarding %fyrd requests at all, but %peek requests still go through.
2021-12-25 08:37:47 +00:00
Jōshin
969115d5c1
khan: document %peek overlay 2021-12-25 08:26:05 +00:00
Jōshin
6a783cda55
khan: remove _khan_close_socket
It was a mistake to call it except from _khan_close_chan, so just inline
it at the one call site. Also lets us stop doing our own pointer
juggling in _khan_io_exit.

While we're at it, flip argument order in _khan_close_chan;
superordinate first seems more natural.
2021-12-25 01:53:56 +00:00
Jōshin
18764678b0
khan: remove TODO, clean up docs 2021-12-25 01:31:37 +00:00
Jōshin
dfe2330d49
khan: urth namespace stub 2021-12-25 01:28:17 +00:00
Jōshin
fbe6cd5196
khan: include %avow in response 2021-12-25 00:19:28 +00:00
Jōshin
7386e3b0a3
khan: assert 2021-12-24 23:30:01 +00:00
Jōshin
9280c107c0
newt: remove fprintf
This was sorta here in case that decode case ever got tripped
erroneously. Calling bal_f ought to be sufficient to produce a log.
2021-12-24 22:51:07 +00:00
Jōshin
ee68f533fe
khan: redo error logic
No more retries. If something goes wrong, log it and close the channel.
If we receive an unknown message from the vane, crash the process.
2021-12-24 22:49:57 +00:00
Jōshin
a85dac4e65
khan: _khan_read_wire takes tag, rename fn
- Have _khan_read_wire take a tag rather than produce it; if the tag is
  not the one passed, it assumes it knows nothing of the rest of the
  wire structure and simply returns c3n.

- rename _khan_search_chan to _khan_find_chan, the latter being more
  flwy.
2021-12-24 22:29:59 +00:00
Jōshin
3cad739fdf
khan: reformat %peek, report %fyrd errors, misc
- Reformat %peek responses to start with request-id.

- Send %fyrd errors back over the channel that started the %fyrd.

- Factor out _khan_read_wire, reused by both _khan_poke_bail and
  _khan_io_kick.

- Move _khan_search_chan up above _khan_poke_bail to use it there.
2021-12-24 22:20:49 +00:00
Jōshin
8e1ab0ff35
khan: fix ci
liv_o was always c3n without the vane. The pier was waiting for all
drivers to report liv_o == c3y. Tragedy ensued.

Maybe now we want to open the socket for peeks and moves even if the
vane is not present, so this may need to be rethought even further.
This is just the simple resolution for the culprit unearthed by
git-bisect.
2021-12-24 07:39:26 +00:00
Jōshin
1b39475096
khan: cleanup, request-ids in kick_f
- Factor out _khan_send_noun.

- Fix inconsistent operator locations.
2021-12-23 23:13:21 +00:00
Jōshin
1b64a72b7d
khan: flip request-id order, add request list
Keeping a request list allows us to detect the case where a scry result
has returned on a connection that has already been closed, so we can
noop in that case.

Flipping the order of tag and request-id seems more natural for the
%fyrd case; otherwise there's no clear thing to send to the vane.
(Sending the whole jar sends request-id twice; once in the wire, once in
the body. Sending only the command itself loses context and introduces
potential namespace overlaps.)

As of now, scries are working.

And the format the IO driver takes is:

$:  request-id=@ud
$%  [%fyrd fyrd-args=*]
    [%peek peek-args=*]
    [%move move-args=*]
==
2021-12-23 10:04:16 +00:00
Jōshin
ceeb21d71e
khan: poke destructuring now case-independent
- Adds request-id to %fyrd.

- Adds log lines per poke.

- Missed a u3z(jar) in the switch default case.
2021-12-23 09:26:24 +00:00
Jōshin
07d5cfc0c0
vere: typo in lord.c peek docs 2021-12-23 07:18:21 +00:00
Jōshin
3cd1a697ef
Merge branch 'next/vere' into jo/khan-c3 2021-12-23 07:18:09 +00:00
Jōshin
0d9cc5b6af
khan: wip scries, moves, request ids
Also clean up some types and remove obsolete TODOs.
2021-12-23 07:15:54 +00:00
Mackenzie Davidson
da2b31750b theme_color meta precedence corrected 2021-12-20 13:20:59 -05:00
Mackenzie Davidson
bc249fc204 replace theme color override with existing background color value (rgb(26, 26, 26), in hex) for dark mode users 2021-12-20 13:15:02 -05:00
Mackenzie Davidson
453a253091 override theme_color in manifest 2021-12-20 13:12:33 -05:00
Mackenzie Davidson
f9c76914a9 Merge branch 'master' of https://github.com/mwvd/urbit into html-theme-updates 2021-12-20 12:58:49 -05:00
Philip Monk
e243d5adf6
landscape,garden: make build
Boot was broken, fixing the hark-note file mark and re-adding the
hark-store library fixed it.

This lets us push a new pill, which is necessary for the fix in #5434 to
actually work.

Fixes #5501
Fixes #5502
2021-12-18 22:54:49 -08:00
Joe Bryan
1657c548cc Merge branch 'master' into next/arvo
* master:
  [nix] track nixos-21.11 branch whenever niv updates, bump to include qemu-in-virtualization fix
  webterm: v1.0.0
  herm: permission checks
  herm: avoid trailing empty path segments
  pmnsh: update secp256k1 configure flags
  secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh
  webterm: remove border, let term live in page
  theme: cleaning up a few mismatches
  webterm: handle old-style blits and belts
  build: correct lmdb static builds
  build: explicitly override h2o build platforms to support darwin
  ci: upgrade cachix/install-nix-action from v13 -> v16
  build: remove haskell related nix code and haskell.nix dependency
  webterm: update imports
  @urbit/api: move term types
  webterm: fix broken imports
  webterm: update package name for lerna
  webterm: commit missing api files
  webterm: backport
2021-12-17 23:39:04 -05:00
Joe Bryan
15148c72bf Merge branch 'master' into next/vere
* master:
  [nix] track nixos-21.11 branch whenever niv updates, bump to include qemu-in-virtualization fix
  webterm: v1.0.0
  herm: permission checks
  herm: avoid trailing empty path segments
  pmnsh: update secp256k1 configure flags
  secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh
  webterm: remove border, let term live in page
  theme: cleaning up a few mismatches
  webterm: handle old-style blits and belts
  build: correct lmdb static builds
  build: explicitly override h2o build platforms to support darwin
  ci: upgrade cachix/install-nix-action from v13 -> v16
  build: remove haskell related nix code and haskell.nix dependency
  webterm: update imports
  @urbit/api: move term types
  webterm: fix broken imports
  webterm: update package name for lerna
  webterm: commit missing api files
  webterm: backport
2021-12-17 23:38:22 -05:00
Joe Bryan
663934b5cf
Merge pull request #5478 from urbit/bh/remove-haskell-nix
build: remove urbit-king haskell releases and haskell.nix dependency
2021-12-17 20:36:21 -08:00
Joe Bryan
eeac4e5489
Merge pull request #5195 from urbit/pp/leaks2
king: fix several more space leaks
2021-12-17 20:18:42 -08:00
Joe Bryan
c4cf6bf655
Merge pull request #5000 from ryjm/jm/merciful-king
king: don't kill on C-d
2021-12-17 20:17:52 -08:00
Joe Bryan
60cefe192e
Merge pull request #5182 from urbit/naive/preboot
L2 preboot validation (kh)
2021-12-17 20:16:33 -08:00
Joe Bryan
b111054ab2
Merge pull request #5419 from urbit/lf/fix-injection
vere: update event injection for four letter vanes
2021-12-17 07:52:34 -08:00
fang
970075bbcd
helm, docket: bind /who endpoint in helm instead
This seems like a better place.
2021-12-17 00:42:57 +01:00
Joe Bryan
e8cdafddfc arvo: refactor |mass output, make vane /whey peek optional 2021-12-16 12:21:21 -05:00
Joe Bryan
32e1ed0a15 arvo: fix type typo (s/mein/mien/g) 2021-12-16 12:15:48 -05:00
Peter McEvoy
6f42d9e30a u3: add header guards to header files in pkg/urbit/include 2021-12-15 17:45:25 -07:00
fang
0cb818a0ab
Merge pull request #5445 from urbit/m/hmac-gate-prep
jets: cache hmac hashing gate
2021-12-15 20:25:41 +01:00
yosoyubik
1bda134280 azimuth: update /app/azimuth snapshot 2021-12-15 08:31:26 +01:00
fang
81f1d816e0
docket: bind /who.json 2021-12-14 22:42:42 +01:00
Yaseen
077c23b9e7 story: add generator |story-init 2021-12-14 14:31:38 -05:00
Yaseen
2626c32085 story: let |story-set take a case and make it optional 2021-12-14 14:31:09 -05:00
fang
dd6b090bfa
Merge pull request #5454 from urbit/m/backport-nu-webterm
webterm: backport
2021-12-14 19:23:23 +01:00
Joe Bryan
53e8ee727c
Merge pull request #5493 from urbit/jb/hint-no-tail
u3: fix compilation of dynamic hints in tail position
2021-12-14 10:16:40 -08:00
fang
960f2b1ae2
webterm: v1.0.0 2021-12-14 17:17:32 +01:00
yosoyubik
5d4a410653 roller: don't set :frequency timer on commit 2021-12-14 16:39:22 +01:00
yosoyubik
d0309abfd8 roller: get suggested gas price only for mainnet 2021-12-14 15:44:43 +01:00
yosoyubik
1b278ce104 dice: dont print %failed logs in tx-effects 2021-12-14 15:27:44 +01:00
yosoyubik
fc540bf209 roller: handle sending malformed batches 2021-12-14 15:24:25 +01:00
Liam Fitzgerald
e8ba3b5f73 metadata-push-hook: address mark review 2021-12-14 08:50:57 -05:00
yosoyubik
d1a04c7c54 Merge branch 'naive/snapshot' into roller/gas-price 2021-12-14 09:41:22 +01:00
yosoyubik
4724c32d3d pill: load azimuth snapshot file with mime mark 2021-12-14 09:40:34 +01:00
Joe Bryan
6d2764bc15
Merge pull request #5492 from laudiacay/fix-behn-tag-check
Adding tag == c3_doze check to _behn_io_kick in Behn io driver
2021-12-13 21:53:40 -08:00
Joe Bryan
df572b15f1 Merge branch 'master' into next/vere
* master: (55 commits)
  landscape: bump version, glob
  interface: hide invite if already joined
  landscape: update glob
  interface: do not redirect to joined group automatically
  interface: hide aborted requests
  invite-store: change /all scry to return %invite-update
  interface: fix tsc
  interface: address hunter review
  pkg: include atom mark in base-dev
  landscape: correct mark
  interface: refine spacing
  interface: fix invite notifications
  landscape: add invite declination
  landscape: prevent reflow jank in group summary on load
  interface: fix unjoined graph permalink redirect
  join: automatically join when done
  landscape: update glob, version
  notify: address mark review
  interface: fix publish url preprocessing
  bg-color: changing to always store ux, optimizing displayform and colorinput
  ...
2021-12-14 00:52:30 -05:00
Joe Bryan
1f055607e4 u3: fix compilation of dynamic hints in tail position
hinted formulas are never in tail position
2021-12-14 00:17:10 -05:00
Claudia Richoux
9014af72c8
adding check to fix 2021-12-13 22:17:29 -06:00
yosoyubik
0c7ada2076 roller: fix response parsing from gasoracle 2021-12-13 19:16:47 +01:00
Liam Fitzgerald
bfaec1daab interface: address hunter review 2021-12-13 10:23:37 -05:00
Liam Fitzgerald
7252c7c1da interface: fix unreads not clearing chats
Fixes urbit/landscape#761
2021-12-13 08:44:29 -05:00
Liam Fitzgerald
740d9b796e interface: inset by safe-area on iOS
Fixes urbit/landscape#242
2021-12-13 08:25:59 -05:00
fang
fd375c1d90
herm: permission checks
Make sure herm can only be interacted with by the local ship.
2021-12-13 14:25:14 +01:00
fang
c7c601c041
herm: avoid trailing empty path segments
append /view to the existing subscription paths to "wrap" the possibly
empty path segment of the session name.
2021-12-13 14:24:20 +01:00
Liam Fitzgerald
917b53b374 interface: add disable spellcheck setting
Fixes urbit/landscape#79
2021-12-13 08:18:38 -05:00
Liam Fitzgerald
dc305371bc interface: strip apps from landscape omnibox
Fixes urbit/landscape#1295
2021-12-13 08:02:14 -05:00
Liam Fitzgerald
0e847ec53c landscape: do not show cross-desk notifications 2021-12-13 07:52:41 -05:00
Liam Fitzgerald
167718bd8e interface: prevent hook crash in publish notes
Fixes urbit/landscape#1299
Fixes urbit/landscape#1343
2021-12-13 07:45:25 -05:00
Liam Fitzgerald
28ace88bd9 interface: remove My Channels link from GroupSwitcher
Fixes urbit/landscape#1331
2021-12-13 07:39:08 -05:00
Liam Fitzgerald
418ad3736d -group-leave: cleanup seperation of concerns between groups, metadata, graphs 2021-12-13 06:29:00 -05:00
Liam Fitzgerald
6a6af5edc4 metadata-pull-hook: fix limb expression in on-pull-nack 2021-12-13 06:26:44 -05:00
Liam Fitzgerald
224353364a metadata-push-hook: watch group-store for permission revocation 2021-12-13 06:26:07 -05:00
Liam Fitzgerald
e1138e1684 push-hook: fix %revoke action for versioned subscriptions 2021-12-13 06:23:03 -05:00
Liam Fitzgerald
fd4844bf9f pull-hook: fix swapped argument preventing cards being sent 2021-12-13 06:19:00 -05:00
Liam Fitzgerald
722b19066e landscape: defer removing metadata until on-leave thread
Addresses graphs not being archived correctly, and causing spurious
notifications
2021-12-13 04:37:08 -05:00
Jōshin
6a4855a616
khan: trivial style cleanup 2021-12-11 06:40:34 +00:00
Jōshin
e5dc029715
khan: wip naive scry implementation
As of yet untested since I don't yet know how to construct a scry path
from Haskell. Probably broken; crashes the process on some input.
2021-12-11 06:26:00 +00:00
Jōshin
b747a06a49
test: fix newt tests
Tests! What a concept!
2021-12-11 05:09:39 +00:00
Jōshin
9b6332c359
newt: change framing to tag byte + 32-bit length 2021-12-11 04:54:06 +00:00
yosoyubik
92c498cd04 Merge branch 'naive/snapshot' into roller/gas-price 2021-12-10 18:42:55 +01:00
yosoyubik
8601b13e3f azimuth: remove unused import in snapshot mark 2021-12-10 16:59:30 +01:00
yosoyubik
f6dca03786 pill: restore solid pill 2021-12-10 16:19:59 +01:00
yosoyubik
fd2ff95989 roller: fix refuel generator 2021-12-10 13:13:14 +01:00
yosoyubik
f6ff4f108b roller: add utilities for handling low-gas batches
This adds support for handling cases where the send-batch thread failed,
mainly among them, a thread crash. One of the events that causes this
behavior is a ver low gas price for this L1 transaction.

Here we add support for manually bumping the price for such transaction,
and for increasing the default fallback gas-price, together with discarding
any malformed batch from the sending queue.
2021-12-10 11:36:45 +01:00
Jōshin
d94aa5704b
Merge branch 'master' into next/arvo
Conflicts:
	pkg/arvo/lib/azimuth.hoon

This file was turned into a symlink to pkg/base-dev/lib/azimuth.hoon on
one side of the fork, and meanwhile edited on the other side of the fork
(to update ecliptic to the new address for the WSTR fix.)

The two sides of the fork both had different outdated addresses in
base-dev's azimuth.hoon file, and Git's UI helpfully refilled the
contents of arvo's azimuth.hoon so that it showed a merge conflict with
an empty diff.

Resolved by reading out HEAD:pkg/arvo/lib/azimuth.hoon into
pkg/base-dev/lib/azimuth.hoon and manually recreating the symlink.
2021-12-10 08:24:32 +00:00
Liam Fitzgerald
6de9dbdd3f landscape: better leap searching
Allows categories to reorder. Improves searching algorithm to order by
strength of match
2021-12-09 16:49:43 -05:00
Mackenzie Davidson
8d4b325477 landscape - safari theme-color prefers-color-scheme dark + fallbacks 2021-12-09 10:50:38 -05:00
Mackenzie Davidson
809f8f7159 safari theme-color fallbacks 2021-12-09 10:33:32 -05:00
Mackenzie Davidson
280e4da513 safari theme-color prefers-color-scheme dark 2021-12-09 10:31:42 -05:00
yosoyubik
c467d5aa67 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-09 07:45:18 +01:00
yosoyubik
ae05bbf571 roller: don't crash if nonce not in queue 2021-12-09 07:44:53 +01:00
yosoyubik
4384f19643 azimuth: use ship as prefix for loading snapshot log 2021-12-09 07:30:08 +01:00
yosoyubik
fb2c078fde pill: load azimuth snapshot as mime in file-ovum 2021-12-09 07:28:57 +01:00
Peter McEvoy
bad890a6a6 u3: re-add accidentally-removed openssl header file 2021-12-08 17:31:55 -08:00
Peter McEvoy
fd69a8dfe7 u3: comment u3a_* macros 2021-12-08 17:31:55 -08:00
fang
b20abb8841
webterm: remove border, let term live in page
This also helps conceal some xterm resizing inaccuracies.
2021-12-09 00:36:50 +01:00
Hunter Miller
3ee9132416 theme: cleaning up a few mismatches 2021-12-08 17:00:25 -06:00
Liam Fitzgerald
ac2337a6a7 landscape: bump version, glob 2021-12-08 16:46:59 -05:00
Liam Fitzgerald
0979b8fc39 interface: hide invite if already joined 2021-12-08 15:24:32 -05:00
Liam Fitzgerald
b8da026c5e Merge branch 'next/groups' 2021-12-08 13:42:49 -05:00
fang
81a45608a0
webterm: handle old-style blits and belts
Additions and changes easily distinguishable for extermination once the
new backend lands.
2021-12-08 17:12:38 +01:00
fang
35e820bfe6
Merge branch 'next/arvo' into m/shoe-scry 2021-12-08 13:13:54 +01:00
yosoyubik
cce14699c8 azimuth: update log message 2021-12-08 12:52:23 +01:00
yosoyubik
37adba1ba0 various: update to new udiff:point type 2021-12-08 11:23:35 +01:00
yosoyubik
1e912d1ec4 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-08 11:02:23 +01:00
yosoyubik
463ca6e8db roller: set default quota to 25 2021-12-08 11:02:05 +01:00
Brendan Hay
16379db9b0
build: remove haskell related nix code and haskell.nix dependency
* Upgrades the nixpkgs pin to 21.11.
* Removes nix code, sources, and attributes related to haskell.nix and
  the code under pkg/hs.
* Continuous integration no longer builds (or packages/releases)
  urbit-king (haskell).
* To continue to developing any haskell code under pkg/hs it's left as
  a user exercise uto install and configure GHC/Stack.

As a consequence running nix-shell should be considerably more
performant and requires downloading or building less dependencies.
2021-12-08 10:06:42 +01:00
Philip Monk
5c20b63a5a
Merge pull request #5412 from urbit/jb/safer-dojo
dojo: improve safety of mark conversion
2021-12-07 20:20:53 -08:00
Philip Monk
1ffdad8719
Merge pull request #5439 from ynx0/dev-fixes
meta: fix various issues in file tree for development
2021-12-07 19:07:34 -08:00
Philip Monk
7583d33cf1
Merge pull request #5436 from urbit/m/claz-lockup-txs
claz: better linear lockup ops support
2021-12-07 18:41:55 -08:00
yosoyubik
28dacad857 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-07 17:48:30 +01:00
yosoyubik
33852ea90e roller: support private keys with leading 0x 2021-12-07 17:47:56 +01:00
Liam Fitzgerald
1893ffd651 landscape: update glob 2021-12-07 11:23:50 -05:00
Liam Fitzgerald
ba9cfd8e92 interface: do not redirect to joined group automatically 2021-12-07 11:04:36 -05:00
Liam Fitzgerald
119805fd04 interface: hide aborted requests 2021-12-07 11:02:23 -05:00
yosoyubik
0833ee9ea6 azimuth: only print number of points during init 2021-12-07 16:32:39 +01:00
yosoyubik
81eb6ae247 pill: add azimuth snapshot 2021-12-07 16:13:39 +01:00
Liam Fitzgerald
d58666d4c7 invite-store: change /all scry to return %invite-update 2021-12-06 15:28:26 -05:00
Liam Fitzgerald
8be81d7dc5
Merge pull request #5469 from urbit/hm/group-join-fixes
interface: minor group join fixes
2021-12-06 14:34:35 -05:00
Liam Fitzgerald
641cf79894 interface: fix tsc 2021-12-06 14:16:17 -05:00
Liam Fitzgerald
9de35cfd70 webterm: update imports 2021-12-06 10:05:54 -05:00
Liam Fitzgerald
cbc1b910fd @urbit/api: move term types 2021-12-06 10:05:36 -05:00
Liam Fitzgerald
3fa572b53a webterm: fix broken imports 2021-12-06 10:05:14 -05:00
Liam Fitzgerald
3b3564cae9 webterm: update package name for lerna 2021-12-06 10:04:36 -05:00
Liam Fitzgerald
97f334e819 interface: address hunter review 2021-12-06 09:38:20 -05:00
Liam Fitzgerald
4dbf4a9e9f
Merge pull request #5472 from urbit/jo/graph-store-mark
landscape: correct mark
2021-12-06 09:36:15 -05:00
fang
3df0efd7c6
Merge pull request #5473 from urbit/m/base-atom
pkg: include atom mark in base-dev
2021-12-06 15:11:12 +01:00
yosoyubik
d08ab43f3a lull: skip rift/life printf when booting 2021-12-06 13:47:59 +01:00
fang
4bff1df7e8
pkg: include atom mark in base-dev 2021-12-05 14:50:50 +01:00
Jōshin
ffc2d8f0b9
landscape: correct mark
This was crashing before due to a `[%no-cast-from %graph-update-3 %graph-update]`. With this change it produces output.
2021-12-04 20:55:15 -08:00
Hunter Miller
9e3ed16c76 Merge branch 'master' into next/landscape 2021-12-03 16:44:51 -06:00
Liam Fitzgerald
04d88ae5e7 interface: refine spacing 2021-12-03 15:16:50 -05:00
Liam Fitzgerald
dff232816d interface: fix invite notifications 2021-12-03 15:16:13 -05:00
Liam Fitzgerald
413b4b8c9f landscape: add invite declination 2021-12-03 14:42:39 -05:00
Liam Fitzgerald
e655b84f10 landscape: prevent reflow jank in group summary on load 2021-12-03 12:39:46 -05:00
Liam Fitzgerald
f863a83d4c interface: fix unjoined graph permalink redirect 2021-12-03 12:39:24 -05:00
yosoyubik
ad16155c77 azimuth: load azimuth state from state snapshot 2021-12-03 16:11:15 +01:00
Hunter Miller
87337d0e7a join: automatically join when done 2021-12-02 17:06:42 -06:00
fang
2c71a5d79d
azimuth: update ecliptic address
To account for the recent upgrade.
2021-12-02 21:45:39 +01:00
Liam Fitzgerald
fe84339747 landscape: update glob, version 2021-12-02 14:07:41 -05:00
Liam Fitzgerald
0af4d998c1
Merge pull request #5449 from urbit/lf/group-view-refactor
groups: refactor joining process
2021-12-02 12:09:09 -05:00
Liam Fitzgerald
9658d45dac
Merge pull request #5461 from urbit/lf/revive-notify
notify: upgrade for new hark-store, miscellaneous improvements
2021-12-02 12:08:26 -05:00
Liam Fitzgerald
f68c4db4d2 notify: address mark review 2021-12-02 10:19:22 -05:00
Liam Fitzgerald
82e8d35a2a eyre: address mark review, update pill 2021-12-02 09:06:55 -05:00
Liam Fitzgerald
12cc826a38
Merge pull request #5462 from urbit/lf/fix-moon-invites
invite-hook: use equality instead of team:title
2021-12-02 09:06:01 -05:00
fang
fa2afa3c10
webterm: commit missing api files 2021-12-02 14:24:28 +01:00
Liam Fitzgerald
77d0071315
Merge pull request #5465 from urbit/ixv/publish-url-fix 2021-12-02 08:24:16 -05:00
ixv
0b678949e1 interface: fix publish url preprocessing 2021-12-01 15:48:41 -08:00
Liam Fitzgerald
6160a77eaa eyre: include mark of fact in channel json
This change greatly improves the ergonomics of working with channel JSON
in statically typed languages, as the polymorphism is moved out of the
actual diff and into the event framing.
2021-12-01 17:48:57 -05:00
Yaseen
1d111db103 story: rename generator |story-add to |story-set 2021-12-01 11:45:11 -05:00
Hunter Miller
41b17ce7be
Merge pull request #5463 from urbit/hm/color-changer-fix
groups: fixing color input
2021-11-30 21:17:56 -06:00
Hunter Miller
98496c1bfd bg-color: changing to always store ux, optimizing displayform and colorinput 2021-11-30 16:59:16 -06:00
Hunter Miller
39b4749b65 api: handling 000000 hexToUX 2021-11-30 16:56:49 -06:00
Liam Fitzgerald
eb4cce0da7 invite-hook: use equality instead of team:title
Fixes a bug that prevented moons from being invited
2021-11-30 16:19:24 -05:00
Liam Fitzgerald
c6a68ced13 notify: prevent memory leak, cleanup notifications when dismissed 2021-11-30 13:41:51 -05:00
Liam Fitzgerald
4c47bc3ba0 notify: rework subscription wires and rewatch 2021-11-30 13:05:59 -05:00
Liam Fitzgerald
1f0465c1d6 notify: update for new hark-store 2021-11-30 11:31:46 -05:00
Liam Fitzgerald
accba6a3ea landscape: add %hark-note mark 2021-11-30 11:25:48 -05:00
Liam Fitzgerald
5f52ec9ad6 garden: move /+ hark-store into -dev 2021-11-30 11:25:30 -05:00
yosoyubik
d5c44598ba roller: refactor and clean up 2021-11-28 16:37:06 +01:00
h5gq3
c742b58426
improve de-xml parser
de-xml parser fails when xml content node contains doublequotes (`doq` rule), this PR proposes to remove this restriction as high-level javascript APIs that operate on DOM don't entitize/encode doublequotes by default.
2021-11-28 12:34:10 +02:00
Jōshin
5b27010177
khan: unwrap jar, switch on i.jar
Prior to this, %fyrd was added to incoming messages by the driver; all
commands were simply passed through wrapped in the %fyrd keyword.

Now, the client is expected to pass a command type: one of %fyrd (run a
thread), %scry, or %move.
2021-11-28 00:56:33 +00:00
Jōshin
ee18835a4b
auto: comment style 2021-11-28 00:15:15 +00:00
Jōshin
6a80b24c9b
khan: noop on windows 2021-11-28 00:14:18 +00:00
Jōshin
a395661aad
Merge branch 'master' into jo/khan-c3 2021-11-28 00:13:26 +00:00
Yaseen
7add802ab9 story: add generator |story-remove 2021-11-26 20:53:52 -05:00
Yaseen
78468dc8ee story: add generator |story-add 2021-11-26 20:53:20 -05:00
Yaseen
808e6ce763 story: add generator +story-list 2021-11-25 17:02:29 -05:00
Jōshin
514746df57
vere: alphabetize getopt short options
Tested by building vere and trying it with `-B`, `-p`, and `-F`.
2021-11-25 13:31:40 -08:00
yosoyubik
8c8aef96aa dice: include nas when rolling over tx-effects 2021-11-25 21:22:15 +01:00
Yaseen
163ed030d4 clay: add new %s scry which gives the tako for a given beak 2021-11-25 12:48:24 -05:00
Yaseen
6982735650 story: make sure terminating newline is present in text encoding 2021-11-25 11:38:06 -05:00
fang
04f16e047b
webterm: backport
Doesn't quite compile, untested.
2021-11-25 13:00:52 +01:00
fang
14bfcc0288
claz: add upgrade poll support 2021-11-25 11:56:42 +01:00
Hunter Miller
0673fe9e3d npm-api: fixing hexToUx converter 2021-11-24 19:54:47 -06:00
Hunter Miller
6a6d2200b6 color-input: fixing performance and text input 2021-11-24 19:05:01 -06:00
Liam Fitzgerald
b30e2d26a0 landscape: reorg join fields 2021-11-24 15:18:56 -05:00
Liam Fitzgerald
8f368d3d5d landscape: move /nack path into lib 2021-11-24 15:12:22 -05:00
Liam Fitzgerald
1e180f420a interface: address hunter review 2021-11-24 13:18:40 -05:00
yosoyubik
2e94a0d446 azimuth, dice: simplify index update 2021-11-24 15:31:59 +01:00
Hunter Miller
2f19601d7f
Merge pull request #5411 from urbit/hm/better-package-targets
npm: change build tool for wider distribution
2021-11-23 17:01:55 -06:00
Hunter Miller
2681996bae npm: changing to release version 2021-11-23 16:12:36 -06:00
fang
0b29377812
jets: cache hmac hashing gate 2021-11-23 13:43:41 +01:00
yosoyubik
528a046b51 roller: add to state ship allowance and next-slice 2021-11-23 10:55:50 +01:00
yosoyubik
144065c4fc roller-rpc: add %get-remaining-quota 2021-11-22 14:02:31 +01:00
Philip Monk
06e5c59635
vere: bump version to 1.8 2021-11-19 18:41:32 -08:00
Philip Monk
1c26ef6fe9
urbit-king: bump zuse to 419 2021-11-19 18:33:58 -08:00
Philip Monk
1966209335
Merge remote-tracking branch 'origin/master' into next/vere 2021-11-19 18:32:27 -08:00
Yaseen
7564f922a2 base-dev: initial mime:grab impl for story mark 2021-11-19 16:10:47 -05:00
Yaseen
90cc57d062 base-dev: fix story to text encoding format 2021-11-19 16:09:57 -05:00
Yaseen
8689a165c8 base-dev: create story mark for storing commit messages 2021-11-19 14:50:24 -05:00
Yaseen
8819d61ff6 symlink arvo/lib/azimuth.hoon to base-dev/lib/azimuth.hoon 2021-11-19 12:33:12 -05:00
Yaseen
1a7708ba45 base-dev: remove sys.kelvin 2021-11-19 12:15:07 -05:00
Liam Fitzgerald
f615ddf920 interface: exorcise old code 2021-11-19 10:48:06 -05:00
Joe Bryan
2571ed3f0b u3: backup checkpoint on save (if no backup exists) 2021-11-18 14:54:15 -05:00
fang
0a5bcf7464
claz: interleave transfer proxy & deposit txs
Dumb hack, but very nice for multi-tx batches.
2021-11-18 17:48:23 +01:00
fang
130761039d
claz: include linear release txs 2021-11-18 17:46:53 +01:00
Liam Fitzgerald
070176af22 interface: add stories for joining flow 2021-11-17 16:36:11 -05:00
Liam Fitzgerald
c91784d3bf interface: dismiss join on view 2021-11-17 16:34:35 -05:00
Liam Fitzgerald
fd64a627c3 interface: route new joining flow 2021-11-17 16:33:57 -05:00
Liam Fitzgerald
16e9381176 interface: add new joining flow 2021-11-17 16:29:33 -05:00
Liam Fitzgerald
098128ffa1 interface: remove joining in statusbar 2021-11-17 16:28:55 -05:00
Liam Fitzgerald
07ebc242a6 interface: update GroupLink for new joining flow 2021-11-17 16:28:30 -05:00
Liam Fitzgerald
0c2bbd23e6 interface: update omnibox to preview group join 2021-11-17 16:27:19 -05:00
Liam Fitzgerald
67083ecf70 interface: update group view api in state 2021-11-17 16:26:29 -05:00
Liam Fitzgerald
156371d481 @urbit/api: resync group-view types 2021-11-17 16:25:24 -05:00
Liam Fitzgerald
7e54e026cd interface: create base components for joining 2021-11-17 16:24:15 -05:00
Liam Fitzgerald
84767c7f4d group-view: make OTAable 2021-11-17 16:14:56 -05:00
Liam Fitzgerald
d8b7473bdf group-view: share contact, autojoin graphs 2021-11-17 16:09:41 -05:00
Liam Fitzgerald
03e094d075 group-view: add reqeuest rollback, request aborting 2021-11-17 16:08:53 -05:00
Liam Fitzgerald
1d5566cc18 group-view: add breach handling 2021-11-17 16:08:00 -05:00
Liam Fitzgerald
835c0baf2b group-view: refactor types for additional functionality 2021-11-17 16:03:30 -05:00
Liam Fitzgerald
ec480ab7d1 contacts: federate contacts through group chats 2021-11-17 15:59:42 -05:00
Liam Fitzgerald
9de0caf319 metadata: allow previews for group chats 2021-11-17 15:56:48 -05:00
Philip Monk
ff63ffd1aa
azimuth: stop processing state in %watch
Also reprocess state in +on-load for ships which currently have
unprocessed state.
2021-11-17 10:22:27 -08:00
Philip Monk
45a8d12c35
Merge remote-tracking branch 'origin/philip/hotfix' into philip/hotfix 2021-11-17 10:00:49 -08:00
yosoyubik
9430c666d2 azimuth: update state on-watch 2021-11-17 12:40:06 +01:00
Philip Monk
a58db10b94
azimuth: don't crash if timer failed 2021-11-16 21:09:10 -08:00
Philip Monk
4b328a4fa7
azimuth: make +run-logs tail-recursive
Also kick the call to +mule out of the loop.  By uncommenting the
diagnostics in u3m_fall, I measured that running through the 290k events
the azimuth snapshot required this much memory:

Head recursive, +mule in:  1.1GB
Head recursive, +mule out: 780MB
Tail recursive, +mule in:  700MB
Tail recursive, +mule out: 70MB

So this commit chooses the last one.  The most delicate part is making
sure the effects are the right order; this uses the usual idiom.

Kicking +mule out of the loop is okay because lib/naive should never
fail, and if it does then azimuth shouldn't advance until an out-of-band
solution is decided.

Addresses #5431
2021-11-16 20:03:20 -08:00
Philip Monk
78fe24f7e1
tmp: remove jamfiles 2021-11-16 15:53:55 -08:00
Philip Monk
fae27385ff
eth-watcher: remove printfs 2021-11-16 14:47:17 -08:00
Philip Monk
a2a89d3532
Merge remote-tracking branch 'origin/next/arvo' into philip/roller 2021-11-16 13:58:57 -08:00
Philip Monk
4656372b09
Merge pull request #5426 from ynx0/claybel
clay: support labels
2021-11-15 08:49:31 -08:00
fang
d9aa642819
vere: support long-form command line arguments
Uses getopts_long to support long-form versions of every existing
command line argument, and adds them all to the help text, adding some
missing entries along the way.
2021-11-15 17:13:24 +01:00
Yaseen
c080eb8336 fix comment styling 2021-11-15 09:07:24 -05:00
Yaseen
ae7cf81c29
clay: keep info in stacktrace when labeling fails
Co-authored-by: Philip Monk <phil@pcmonk.me>
2021-11-15 05:32:59 -05:00
yosoyubik
0d592f67d1 Merge remote-tracking branch 'origin/philip/roller' into naive/roller 2021-11-15 05:48:57 +01:00
yosoyubik
a8ccf5c32e roller-rpc: fix typo 2021-11-15 05:44:52 +01:00
Philip Monk
8af1dd3acc
clay: refactor +wake
+wake had accumulated several layers of abstractions which were later
rendered unnecessary.  This removes those abstractions and should have
no semantic effect.
2021-11-14 19:35:32 -08:00
Yaseen
70a85ccdb0 remove unnecessary comments 2021-11-14 20:41:30 -05:00
Yaseen
17751e7890 clay: enforce referential transparency on labels 2021-11-14 16:49:17 -05:00
Philip Monk
95a8504763
Merge pull request #5423 from urbit/release/next-sys
various: release/next-sys -> next/arvo
2021-11-12 20:11:17 -08:00
Philip Monk
541607c6dc
Merge pull request #5422 from ynx0/remove-base-bill
Remove outdated `desk.bill` from base-dev
2021-11-12 20:10:21 -08:00
Philip Monk
f20cb399f8
Merge remote-tracking branch 'origin/master' into next/arvo 2021-11-12 20:08:06 -08:00
Liam Fitzgerald
3f8809a601 grid: update docket 2021-11-12 22:34:38 -05:00
Liam Fitzgerald
e92ad33988 grid: fix redirect logic 2021-11-12 22:20:47 -05:00
Philip Monk
c0200336c9
Merge remote-tracking branch 'origin/lf/fix-hardcoding' into philip/hotfix 2021-11-12 16:43:40 -08:00
Liam Fitzgerald
48f56835a4 grid: address hunter review 2021-11-12 19:24:03 -05:00
fang
b9b1fbfb1a
Merge pull request #5310 from urbit/m/acme-base
acme: load custom cert from base desk, not home
2021-11-13 00:44:14 +01:00
Liam Fitzgerald
8bc89caf7a grid: copy update 2021-11-12 18:23:11 -05:00
Liam Fitzgerald
41bb5ec2b3 grid: show disabled screen during upgrade 2021-11-12 18:19:44 -05:00
Liam Fitzgerald
0a2076d0b2 grid: add disabled props to components 2021-11-12 18:19:02 -05:00
Philip Monk
23980d1f64
kiln: throw away pending commits on good commits
When we receive a commit that we can apply from the source, we throw
away any skipped pending commits.  This lets us receive updates at the
current kelvin even if we heard pending commits for later kelvins.
2021-11-12 14:38:17 -08:00
Philip Monk
901bcdf7b8
kiln: don't allow bump-many for non-current kelvin 2021-11-12 14:37:54 -08:00
rabsef-bicrym
07de32cf01
Present -G more intelligibly and draw direct comparison to -k
Changing -G to mirror language of -k, adding note to see the other from either (make users aware there are both), add note re: argument to -k.
2021-11-12 12:41:04 -08:00
Yaseen
25ce97cade clay: add support for labeling commits
- add helper arm `label:de`
- update relevant code to take in arbitrary aeons
2021-11-12 15:35:06 -05:00
Yaseen
0a2bd43d1d base-dev: remove outdated desk.bill 2021-11-12 15:23:28 -05:00
Philip Monk
84453c13d5
Merge remote-tracking branch 'origin/lf/fix-hardcoding' into philip/hotfix 2021-11-12 12:13:35 -08:00
Philip Monk
6665bc0986
kiln: fix |bump to not require except 2021-11-12 12:06:45 -08:00
Liam Fitzgerald
30bd84502e grid: remove unnecessary except entries 2021-11-12 15:04:29 -05:00
Liam Fitzgerald
7ae099b829 grid: fix query for blocked desks 2021-11-12 14:57:55 -05:00
Liam Fitzgerald
d5383c8fc6 grid: fix detection of base desk being blocked 2021-11-12 14:44:27 -05:00
Liam Fitzgerald
5dc60da825 kiln: fix %kiln-bump mark 2021-11-12 14:38:34 -05:00
fang
9d2936a6e7
Merge branch 'next/arvo' into m/cite-redux 2021-11-12 13:21:42 +01:00
fang
d379a38486
zuse: explicitly +cut in +cite:title, add tests 2021-11-12 13:11:40 +01:00
Jōshin
1abff872d0
khan: print stack traces, some cleanup 2021-11-12 06:01:14 +00:00
rabsef-bicrym
81b05c66d7
Add -G to Available Argument List
-G is the way I primarily boot my ships and yet that flag has not been in the usage notes for some time (ever?). Adding it should assist new pilots in getting running and avoid questions of "I booted my ship but it took an hour and now I'm a comet" which sometimes (used to, at least) come w/ new pilots attempting to `-K kEy-S741nG`.
2021-11-11 15:31:03 -08:00
Philip Monk
7b96cf7a82
kiln: don't revive apps at wrong kelvin 2021-11-10 22:17:05 -08:00
yosoyubik
bfcf7631d4 roller: remove network generator 2021-11-11 06:59:13 +01:00
yosoyubik
cb1567a4ac dice: remove extra p 2021-11-11 06:36:27 +01:00
Philip Monk
5f51bb0d4d
Merge remote-tracking branch 'origin/next/arvo' into philip/roller 2021-11-10 20:53:30 -08:00
yosoyubik
155e02c3cb Merge remote-tracking branch 'origin/next/arvo' into naive/roller 2021-11-11 05:50:44 +01:00
Jōshin
f9ac078b60
Merge branch 'next/vere' into jo/khan-c3 2021-11-11 02:35:46 +00:00
Jōshin
a10cf4ae55
Revert "vere: add undocumented -h option"
This reverts commit c67864dc27.
2021-11-11 02:35:07 +00:00
Philip Monk
74ad24acb9
kiln: don't bump on-load 2021-11-10 18:08:27 -08:00
Hunter Miller
d2ba292639 interface: add @urbit/api to babel for webpack 4 optional chaining issues 2021-11-10 18:30:25 -06:00
Hunter Miller
3d864a075c npm: version bump 2021-11-10 18:18:59 -06:00
Hunter Miller
5c064e65dd api: removing namespace conflict 2021-11-10 18:05:53 -06:00
Hunter Miller
08232a54bf npm: removing intermediate ts files from pkg, fixing more bad references 2021-11-10 17:54:31 -06:00
Joe Bryan
3312da5185 WIP smaller log 2021-11-10 16:08:05 -05:00
Hunter Miller
c07512b9de api,http-api,interface: fixing exports and correcting type refs 2021-11-10 13:52:08 -06:00
yosoyubik
ed2d9bb482 Merge remote-tracking branch 'origin/philip/roller' into naive/roller 2021-11-10 18:44:25 +01:00
yosoyubik
da739d6e87 azimuth: add sponsorship scry 2021-11-10 18:39:43 +01:00
yosoyubik
4727b49b89 acme: point acme to /~debug 2021-11-10 18:38:13 +01:00
yosoyubik
e32b0a1956 roller: add sponsorship index 2021-11-10 17:46:22 +01:00
Liam Fitzgerald
55e7c56376 vere: update event injection for four letter vanes
Event injection validation was never updated to support routing on a
full vane name. Upgrades the check, so that wires with a first element
longer than 4 characters fail validation, instead of the previous limit
of 1 character
2021-11-10 10:49:49 -05:00
Joe Bryan
e5ebbe89ac
Merge pull request #5413 from urbit/jb/start
arvo: fix |start
2021-11-10 07:40:01 -08:00
fang
309cd96f8c
various: bump pkg kelvins ahead of coming update 2021-11-10 14:51:26 +01:00
yosoyubik
856d8ed8fc azimuth: use last-snap only in %default network 2021-11-10 11:47:22 +01:00
Philip Monk
2131dd8cac
gen: fix broken generator 2021-11-10 01:36:39 -08:00
Philip Monk
d9d7f69f26
test: make lib/vere/dawn not crash 2021-11-10 01:25:08 -08:00
Philip Monk
6a152218b2
test: fix :test 2021-11-10 01:04:17 -08:00
Philip Monk
8c1a4cafa2
gen: fix broken generators 2021-11-10 00:58:24 -08:00
Philip Monk
3290b68d40
Merge remote-tracking branch 'origin/naive/roller' into philip/roller-ci 2021-11-10 00:41:25 -08:00
Philip Monk
04fbb045d2
ci: try 2021-11-10 00:40:56 -08:00
Philip Monk
a742ead132
Merge remote-tracking branch 'origin/jb/start' into philip/roller 2021-11-10 00:36:03 -08:00
Philip Monk
c2933c017f
kiln: don't bump suspended desks 2021-11-09 23:49:37 -08:00
yosoyubik
dd20bbd1d3 naive-transactions: remove unused arm 2021-11-10 08:29:37 +01:00
Joe Bryan
0a2cb6da7d arvo: revive |start 2021-11-10 02:28:38 -05:00
Philip Monk
08ab77893e
azimuth: don't start on fake ships 2021-11-09 22:36:05 -08:00
yosoyubik
da8f185f2a Merge remote-tracking branch 'origin/philip/roller' into naive/roller 2021-11-10 07:09:46 +01:00
yosoyubik
1ade4d29f0 roller: add default network 2021-11-10 07:09:22 +01:00
Philip Monk
9fc74f60d9
Merge remote-tracking branch 'origin/master' into philip/roller 2021-11-09 22:03:25 -08:00
Philip Monk
b6049228f7
Merge remote-tracking branch 'origin/naive/roller' into philip/roller 2021-11-09 22:03:20 -08:00
Philip Monk
1698542035
zuse: decrement kelvin to 419 2021-11-09 21:40:12 -08:00
yosoyubik
48fd671b9a various: removed unused/wip files 2021-11-10 06:23:36 +01:00
Philip Monk
863b98ea60
vere: remove eth node flag 2021-11-09 21:22:49 -08:00
jose
e84e338499
Merge pull request #5407 from urbit/yu/rein-fix
hood: fix |rein when starting/stopping multiple agents
2021-11-10 05:54:00 +01:00
Philip Monk
185fd1f979
azimuth: fixing upgrading from mainnet
load snapshot and node on boot and make sure we initalize after
eth-watcher updates
2021-11-09 16:42:03 -08:00
Philip Monk
e4a069a4f6
jael: remove vestigial boq and nod 2021-11-09 16:41:23 -08:00
Philip Monk
ad265ce41f
Merge remote-tracking branch 'origin/master' into lf/fix-kelvin 2021-11-09 14:15:40 -08:00
Philip Monk
bf7f4ba453
Merge remote-tracking branch 'origin/m/naive-ugprade-path' into philip/roller 2021-11-09 12:52:25 -08:00
Hunter Miller
04996919af api,http-api,grid: updating types to new location 2021-11-09 14:51:52 -06:00
Joe Bryan
6200873680 dojo: protect against missing mark in bunt (%sa) 2021-11-09 15:04:39 -05:00
Joe Bryan
bb7804d510 dojo: virtualize mark conversion 2021-11-09 15:04:32 -05:00
Hunter Miller
4b5db5c332 api,http-api: updating babel usage and fixing tests 2021-11-09 13:16:48 -06:00
Philip Monk
60436f2673
Merge remote-tracking branch 'origin/naive/roller' into philip/roller 2021-11-09 10:47:48 -08:00
Hunter Miller
6f31b629a7 api: adding missing rollup dependency 2021-11-09 12:44:39 -06:00
Hunter Miller
be7fddc650 http-api: making more consistent with @urbit/api 2021-11-09 12:43:39 -06:00
Hunter Miller
f8e1bff02b http-api: update to working example 2021-11-09 12:26:40 -06:00
yosoyubik
084c70497d roller-rpc: fix serializing tx for personal_sign 2021-11-09 19:18:10 +01:00
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
Hunter Miller
945ac084d1 npm: version bumps 2021-11-08 18:59:04 -06:00
Hunter Miller
fa4e4e4f20 npm/api: updating build to use rollup for better distribution 2021-11-08 18:44:04 -06:00
Hunter Miller
ed157abb19 http-api: updating build to use rollup for better distribution 2021-11-08 18:43:22 -06: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
Hunter Miller
bac65c271e
Merge pull request #5401 from urbit/hm/add-readme
grid: add readme and contributor docs
2021-11-08 09:30:38 -06:00
Hunter Miller
60919337f1 grid: fixing readme and contributor docs 2021-11-08 09:29:15 -06: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
Philip Monk
d9276cd51c
clay: Add support for representing tombstones
This adds support for tombstoned files to clay.  It does not include any
way to actually tombstone them; that is left for later.

This allows tombstoning at the level of a file.  Precisely, this expands
+blob:clay by adding a %dead case:

    +$  blob                                              ::  fs blob
      $%  [%delta p=lobe q=[p=mark q=lobe] r=page]        ::  delta on q
          [%direct p=lobe q=page]                         ::  immediate
          [%dead p=lobe ~]                                ::  tombstone
      ==                                                  ::

Thus, we maintain the invariant that every lobe corresponds to a blob,
but now a blob may be an explicit tombstone.

Details:
- This has not been tested at all, except that it compiles and boots.
- This does not have a state adapter from master.  The only state change
  is the definition of +cach.
- Additionally, out-of-date ships may unexpectedly receive a %dead blob
  from a foreign clay which would interfere with their ability to download
  that desk.  No code changes necessary, but sponsors should avoid
  tombstoning files in %base for a while so their children can get the
  update.
- A merge will only fail if the tombstoned file conflicts with another
  change.  Note that as written, merging from a past desk *can* bring a
  tombstoned file to the head of a desk.  Possibly this shouldn't be
  allowed.

This also includes a couple refactors that were made possible by ford
fusion (since everything is synchronous now) but never got done.  In
both cases we get to remove a monad, which simplifies the code
considerably.

- refactor +merge's error handling to use !!/mule instead of threading
  through errors
- refactor all +read-* functions and related parts of +try-fill-sub to
  eagerly convert lobes to cages.

We also add support reading %a/b/c/e/f/r/x from past and foreign desks,
when possible.  Apologies that all of these are in one commit, it was
all a single chunk of work.

This is a draft until we have a way to tombstone.  I suspect we'll want
to have a mechanism of keeping track of gc roots and trace to remove,
but this PR doesn't suggest any particular strategy.
2021-11-07 22:17:02 -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
Hunter Miller
2c1b93ee1a grid, interface: bumping dependencies with recent publish 2021-11-02 15:18:45 -05:00
Hunter Miller
b211d272d9 Publish
- @urbit/api@2.0.0
 - @urbit/http-api@2.0.0
2021-11-02 14:29:23 -05:00
Hunter Miller
0092c7b75b npm: updating package versions 2021-11-02 14:28:30 -05:00
Hunter Miller
3ad6aea8af grid: adding docs for setup and contributors 2021-11-02 14:01:45 -05: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
fang
3953ec0ab0
docket: add scry endpoint for app versions
Applications might want to do rudimentary version control prior to
scrying and other such operations.
2021-10-29 11:17:02 +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
Hunter Miller
4c34a1b80c interface: more code-splitting, removing unused dep 2021-10-14 09:28:21 -05: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
Hunter Miller
b73def0a3f interface: removing old notification components 2021-10-12 23:39:06 -05: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
0233fdd397 groups: adding persisted group state 2021-10-12 15:12:22 -05:00
Hunter Miller
7ca37027f2 interface: removing Set usage in group state 2021-10-12 15:09:20 -05:00
Hunter Miller
a0338b24ec Merge branch 'release/next-userspace' into hm/faster-grid-redirects 2021-10-12 11:22:00 -05: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