Commit Graph

29216 Commits

Author SHA1 Message Date
Jōshin
6ed6fdfc6e
Merge pull request #5575 from urbit/jo/unix-sane
vere/unix: sane(r) path handling
2022-03-02 10:00:05 -08:00
Joe Bryan
75b64f5b3e
Merge pull request #5515 from DaneBettis/dane.bettis/stacktrace-hints
Dane.bettis/stacktrace hints
2022-03-01 17:59:40 -05:00
Joe Bryan
d3804c01c0 Merge branch 'master' into next/vere
* master: (33 commits)
  groups: updating glob and version
  interface: use single sig in NotificationText
  interface: fix subscription reconnect issues
  landscape: fixing bad glob
  landscape: updating glob and version
  interface: adds `theme-color` meta tag, removes outdated safari web app meta tag
  zuse: add missing assertions
  landscape: cache marks again
  zuse: comment clarifying sk bounds check
  bounds-check against sk=1
  zuse: style cleanup, use +rep/+end
  pill: solid, brass
  interface: refine joining error cases
  group-view: fix errored rollback
  helm: cleanup +poke-rekey to match #5522
  helm: fix |rekey to work with multikey files
  test: schnorr bounds checking
  zuse: boundary assertions for schnorr
  zuse: schnorr test cases
  zuse: schnorr address
  ...
2022-03-01 17:58:48 -05:00
DaneBettis
ad2e6975af changes in response to code review 2022-03-01 21:27:33 +00:00
DaneBettis
7fa53169f2 vere: add hela and nara hints 2022-03-01 21:24:11 +00:00
DaneBettis
ee46c6a0dd vere: add %nara %hela hints, add a hoon test module for hints
nara: swedish for near, provides a trace from the start of the nearest virtualization
      to the statement wrapped by the nara hint.

hela: swedish for whole, provides a trace from the start of the event
      to the statement wrapped by the hela hint.

The eventual goal is to present these traces in a way that is most salient & useful to developers
and in a way that is aesthetically pleasing as the bout hint is useful and nice looking.

For this pull request the goal is to provide the actual functionality in code that we can feel
safe and comfortable adding to the master branch. To this end, I've added a trivial set of tests for
nara and hela in pkg/arvo/tests/run/hints.hoon - they only prove that invoking these hints will not
crash the runtime, but I'm open to ideas for how I can test these hints further.
2022-03-01 21:24:11 +00:00
DaneBettis
0917f694c9 vere: add %near and %hela tracing hints 2022-03-01 21:24:11 +00:00
Joe Bryan
25d68bd3ef
Merge pull request #5614 from urbit/jb/slaw-p-leak
jets: plug leak in (slaw %p ...)
2022-03-01 14:06:10 -05:00
Joe Bryan
9dc5d7b178 jets: plug leak in (slaw %p ...) 2022-03-01 11:14:06 -05:00
Hunter Miller
c4bc9b3428 groups: updating glob and version 2022-02-28 11:32:05 -06:00
Hunter Miller
b955554fa8 Merge branch 'next/groups' 2022-02-28 10:55:24 -06:00
tomholford
e0c1e27fa3
Merge pull request #5610 from urbit/th/1376-groups-double-tilde
interface: use single sig in NotificationText
2022-02-25 15:27:34 -06:00
tomholford
5959b73ecb interface: use single sig in NotificationText
The `ProfileOverlay` component expects a `ship` arg as a patp without the sig. This deSigs the ship value used in `NotificationText`.

This closes urbit/landscape#1376
2022-02-25 15:24:14 -06:00
Hunter Miller
bfe20b9c4d
Merge pull request #5611 from urbit/lf/fix-reconnect-redux
interface: fix subscription reconnect issues
2022-02-25 14:10:47 -06:00
Liam Fitzgerald
cbb17a2135 interface: fix subscription reconnect issues
Restores subscription reconnect issues by correctly throwing a
FatalError so that subscriptions are correctly restarted
2022-02-25 13:25:18 -06:00
Hunter Miller
ce75499ae5 Merge branch 'next/groups' 2022-02-24 10:44:08 -06:00
tomholford
47338cffc6 Merge branch 'master' into next/groups 2022-02-23 17:14:34 -06:00
Hunter Miller
2da5e9c5ca landscape: fixing bad glob 2022-02-23 13:30:56 -06:00
Hunter Miller
b4adaf2fee landscape: updating glob and version 2022-02-23 10:45:32 -06:00
fang
98c6c77ebb
Merge branch 'next/arvo' 2022-02-17 20:32:26 +01:00
Hunter Miller
2959549594
Merge pull request #5600 from urbit/mackenzie/theme-color
interface: adds `theme-color` meta tag, removes outdated safari web app meta tag
2022-02-15 16:32:10 -06:00
Mackenzie Davidson
7b835165e0 interface: adds theme-color meta tag, removes outdated safari web app meta tag
fixes urbit/landscape#1392
2022-02-15 12:27:04 -05:00
Liam Fitzgerald
64eb18e88e
Merge pull request #5591 from urbit/lf/make-fast
landscape: cache marks again
2022-02-14 15:09:05 -06:00
Jōshin
e66345e04d
Merge pull request #5510 from mrdomino/jo/secp-c3
vere: schnorr signature jets
2022-02-09 13:01:21 -08:00
Jōshin
38dffc34c8
Merge pull request #5509 from mrdomino/jo/secp-arvo
zuse: add schnorr signatures
2022-02-09 13:00:53 -08:00
Jōshin
ed0c66a43c
vere: comments around fs wrappers and unix.c 2022-02-09 14:56:10 -06:00
Jōshin
ca0a861c5e
zuse: add missing assertions 2022-02-09 14:14:12 -06:00
Liam Fitzgerald
981bcfdecc landscape: cache marks again
Fixes urbit/urbit#5590
2022-02-09 10:52:04 -06:00
Jōshin
54bc16626c
Merge branch 'next/vere' into jo/unix-sane 2022-02-08 14:29:02 -06:00
Philip Monk
66fd3073d7
Merge pull request #5568 from urbit/m/galaxy-dawn
vere: do not use eth-mainnet for galaxy booting
2022-02-03 17:28:50 -07:00
Hunter Miller
2d95a34f7c
Merge pull request #5576 from urbit/lf/no-perms-rejoin
groups: fix rejoining a group after an error
2022-02-03 14:27:52 -06:00
Jōshin
64fcd685af
zuse: comment clarifying sk bounds check 2022-02-03 13:52:09 -06:00
Jōshin
330c433f27
jets: remove sosi/sove testing flags
N.B. `tot` appears to not be used anywhere currently, so I removed it
from `sosi`.
2022-02-03 13:45:50 -06:00
Jōshin
4cef7dc38b
bounds-check against sk=1
+sign:schnorr crashes on `=(0 sk)`, so the bounds checking code is not
exercised for sk=0. It also crashes on `(gte sk n.domain.c)`, which is
redundant with the size check on sk, so we remove that.
2022-02-03 13:21:21 -06:00
Jōshin
f07f759253
zuse: style cleanup, use +rep/+end 2022-02-03 12:54:27 -06:00
Liam Fitzgerald
f3da5488ce Merge remote-tracking branch 'origin/next/groups' into lf/no-perms-rejoin 2022-02-03 11:12:43 -06:00
Jōshin
b277fd5e84
pill: solid, brass 2022-02-02 21:06:23 -06:00
Jōshin
4acfaba410
pill: ivory from jo/secp-arvo
arvo from commit:

    822eb6ea08
2022-02-02 20:48:15 -06: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
0998228a7e
Merge pull request #5428 from urbit/m/--vere-args
vere: support long-form command line arguments
2022-02-02 19:26:35 +01:00
fang
5588953d84
Merge branch 'next/vere' into m/--vere-args 2022-02-02 19:26:17 +01: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