Commit Graph

14663 Commits

Author SHA1 Message Date
fang
0a3f542fcc
gall: refactor sub-wire-with-nonce construction
Into +ap-nonce-wire.
2022-08-09 21:20:24 +02:00
fang
1f30dccddf
gall: use correct wires in +ap-kill-down
For potentially-outgoing moves, we need to make sure the nonce is in the
wire so that it gets associated with the right instance of the
subscription.
2022-08-09 20:53:43 +02:00
fang
e396ddcdaa
gall: cork a subscription's ames flow on-kick
Gall tells ames to %cork flows for subscriptions it has closed.
Receiving a kick also closes a subscription, but gall wasn't issuing a
%cork in that case. We correct that here.

Inlines +mo-handle-ames-response's logic at its only callsite.
2022-08-08 22:21:34 +02:00
drbeefsupreme
2b7b3266ac clay: remove $dork
seems that this structure has been unused since
e75ab631a4 and confuses
newbies trying to figure out exactly what the commit
structure is (which is how I came across this)
2022-08-07 13:08:55 -04:00
Joe Bryan
aca7162d7c vere: make prep and next commands non-interactive (no tty required) 2022-08-06 22:59:50 -04:00
Joe Bryan
7c9167b6ae u3: refactors custom allocator init for libraries 2022-08-05 12:45:27 -04:00
Joe Bryan
f996844950 u3: normalize home-road stack after snapshot restoration 2022-08-05 10:47:16 -04:00
Joe Bryan
815d78fa55 u3: use size_t in u3m_init() 2022-08-05 10:47:09 -04:00
Ted Blackman
da591a4078 ames: invert busted conditional in recork timer 2022-08-05 02:37:03 +03:00
Ted Blackman
56d4906a13 ames: try next recork on cork ack
Without this, a ship would send a cork on a max of one flow per
recork timer, which could take years to clear for some ships.
This starts a hot loop of trying the next cork once one gets
positively acked.
2022-08-05 01:35:34 +03:00
Ted Blackman
54cd1a5eca ames: simplify recork timer
The previous recork timer queued up %cork messages without sending them.
It also relied on making sure pump timers didn't get set for recork bones.
This was fragile.

The new design enqueues up to one new %cork message per ship during each
recork timer, based on the state of the flow.  If the flow is closing but
there are no outstanding messages in it, then it needs to be recorked.
Flows will be recorked in ascending numerical order by bone.
2022-08-05 01:13:21 +03:00
fang
9433d3354d
ames: unsent-fragments is a list, not a tree
Measure accordingly.
2022-08-03 21:03:49 +02:00
fang
7af527e605
ames: correctly measure queue size 2022-08-03 20:52:03 +02:00
fang
e6453bae3c
ames: more detailed "future msg" trace
This additional information may come in handy when debugging this crash
we shouldn't be seeing.
2022-08-03 20:46:54 +02:00
fang
e16c499724
ames: make recork timer faster
This will aid visibility and debugging. We'll probably want to make this
slower again later.
2022-08-03 20:33:04 +02:00
fang
7c01ee9b35
ames: account for corked flows during %stir
Also patches the behn scry in %stir handling to be correct for latest behn.
2022-08-03 19:37:53 +02:00
fang
cd10e02b73
bitcoin: v0.0.2 2022-08-03 14:54:06 +02:00
fang
f09122ae78
Merge pull request #5831 from nprz/extend-bitcoin-provider
Extend bitcoin provider
2022-08-03 14:53:02 +02:00
fang
b860bef066
ames: correctly avoid setting pump timer
The condition got butchered during refactor: instead of avoiding the creation
of pump timers during recork wake, it was setting them _exclusively_ during
recork wake.
2022-08-02 23:23:48 +02:00
Ted Blackman
e5e4c8602d ames: properly set recork flag in +on-wake 2022-08-02 23:15:43 +03:00
Ted Blackman
67efb2ad7c ames: don't start pump timers on recork 2022-08-02 23:03:34 +03:00
Bradley
3407de0fd8 vere: removed unnecessary exit(1) call
Previously exit(1) was called after calling u3_king_bail()
which was unnecessary, so removed it.
2022-07-29 11:03:25 -05:00
Bradley
2b99eb2cac vere: changed to use u3_king_bail instead of manual term clean up 2022-07-29 10:54:12 -05:00
Bradley Ray
6d0bdc06dd vere: clean up terminal on invalid fake ship name
Currently when creating a fake ship, if an invalid ship name is given,
then the program exits without ever cleaning up the terminal. This
results in  a bugged termianal that requires closing and repopening
or using the `reset` cmd.

This commits adds a call to `u3_term_log_exit()` and `fflush(stdout)`
before calling `exit(1)` to ensure proper cleanup.

Address issue #5914
2022-07-28 22:15:13 -05:00
Joe Bryan
da47a2f98b Merge branch 'next/vere'
* next/vere: (49 commits)
  vere: bumps version
  vere: bumps version
  ci: enable release version mgmt
  Revert "ci: reenable release mgmt"
  ci: reenable release mgmt
  ames: track/log bad ciphertext crashes separately
  u3: %evil leaves no trace
  vere: drop bail:evil events without error notifications
  jets: bail:evil in ae-siv decryption jets
  vere: make uv_cancel return code check explicit
  u3: check for overflow in interpreter if guard page not present
  build: default to using guard page
  u3: return 0 from u3e_fault() if guard page cannot be protected
  u3: control presence of guard page using macro
  Revert "u3: check for road stack overflow on every nock %2 and %9"
  build: make bench is phony
  u3: failure to mprotect() the new guard page is fatal
  u3: removes/disables obsolete road stack overflow checks
  u3: account for guard page in cellblock allocation conditional
  u3: bump road heap offset before allocating cellblock
  ...
2022-07-28 17:33:22 -04:00
Joe Bryan
04645cbf08 vere: bumps version 2022-07-28 14:42:05 -04:00
fang
7e71cbf61a
tests: temporarily disable ames comet flow test
This test started failing presumably somewhere during #5886. Testing
with a comet on the network, the test seems inaccurate: the comet can
communicate and be communicated to just fine.
2022-07-28 17:11:40 +02:00
fang
289fe5ef64
Merge branch 'next/arvo' into yu/gall-rq-global-cork-timer 2022-07-25 19:50:26 +02:00
fang
7ccfec6caf
Merge branch 'master' into next/arvo 2022-07-25 19:14:30 +02:00
tomholford
02545a7309 api: fix term/lib imports
Before this change, `term/lib` was importing the Poke type from the `http-api` package. This was causing the rollup build output to place the `term` exported types in a separate path (`dist/api/term`). By switching to the relative import, it is now exported at the expected path (`dist/term`). This fixes imports in consuming projects (e.g., `import {  Belt, pokeTask, pokeBelt } from '@urbit/api/term';`).

Also, remove the extraneous `Scry` import.
2022-07-25 10:23:05 -05:00
tomholford
43efca7760 api: export term types 2022-07-25 10:22:56 -05:00
yosoyubik
c69af12a6d gall: make spore-tag a @ud
TODO: still getting kiln: %base not installed
2022-07-18 13:49:16 +02:00
yosoyubik
a5aedaccc5 ames: delete naxplanation flows if bone is corked 2022-07-18 10:27:36 +02:00
drbeefsupreme
49420e2fe2 hoon: refactor %brcn %brpt optional arg parsing
this refactors the parser for %brcn and %brpt to separate the optional
argument(s) from the required argument(s).

also adds +blab, which allows for a minor refactor of a couple other
arms as well as being used for %brcn and %brpt
2022-07-17 17:18:38 -04:00
fang
f5089b77eb
webterm: tune spinner values 2022-07-17 15:28:55 +02:00
tomholford
8d0ca32c5d
ux: show a keypress indicator after a delay 2022-07-17 15:16:35 +02:00
fang
d7ec69803f
webterm: add ugly keypress processing indicator
Needs to be made prettier by displaying only after a delay, have a cute
little animation, etc.
2022-07-17 15:15:10 +02:00
fang
a4986078f5
Merge pull request #5902 from urbit/m/lastest-event-id
http-api: prevent double-processing of events
2022-07-16 18:02:32 +02:00
yosoyubik
35c6ac416e ames: fix predicate for detecting %cork acks 2022-07-16 07:40:05 +02:00
Joe Bryan
9c18144253 vere: bumps version 2022-07-15 22:50:27 -04:00
dasrun-fadben
d66de5b486 bitcoin-utils: fix encoding of CompactSize integers
Encoding an atom as a Compact fails when a = 0: a 4-byte CompactSize is
emitted.
2022-07-15 17:06:12 -06:00
dasrun-fadben
fee929ec33 bitcoin-utils: Fix parsing of of CompactSize integers
When the first byte is greater or equal to 0xfd, (bex len) bytes are consumed to
form the csiz atom, but only one byte is dropped from the 'rest' of the input.

The parser should consume all bytes of the CompactSize.
2022-07-15 17:06:12 -06:00
fang
529e3fd77f
http-api: prevent double-processing of events
In reconnect scenarios (or wonky network situations) we may receive
events we had already heard. Here we make sure to drop those.

Also simplifies the getEventId() logic.
2022-07-15 23:17:54 +02:00
Hunter Miller
e37ac116a4
Merge pull request #5805 from urbit/lf/http-api-improvement
@urbit/http-api: surface mark of updates
2022-07-15 16:15:36 -05:00
fang
cd3dc4bdb9
Merge pull request #5830 from urbit/m/aqua-mark
aqua: add %aqua-effect mark file
2022-07-15 20:17:01 +02:00
yosoyubik
c599e60c5b ames: add recork set 2022-07-15 16:45:32 +02:00
Amadeo Bellotti
88860281b7 added ability to read from stdin rather than being passed an arguement 2022-07-14 17:22:45 -04:00
Amadeo Bellotti
4e007635b1 Added vase and stack trace wrapper to input, run hoo in virutalization 2022-07-14 16:04:10 -04:00
mopfel-winrux
f8406bc723
Merge branch 'urbit:master' into eval 2022-07-14 14:53:37 -04:00
yosoyubik
8712804d7f gall: comment subscription kill 2022-07-14 07:23:39 +02:00
Joe Bryan
dd8df1b2b6
Merge pull request #5826 from urbit/jb/sivc-no-punt
jets: remove +de:sivc punt logging
2022-07-13 17:27:22 -04:00
fang
6d3d06251b urbit-os-v2.124
- Fixes an issue where behn would fail to report the next timer to vere
   correctly, resulting in timers only firing once every ten minutes.
 - Updates |rein to be additive instead of fully replacing existing
   configuration. Specifying a single agent to start will no longer stop
   other explicitly-started agents.
 - Various QoL improvements to dojo.
 - Updates DNS requests to go to ~deg instead of ~zod. The Foundation
   will take over DNS request handling.
 
 Contributions:
 
 David Farrell (5):
       dojo: have dojo check =dir exists before switching
       dojo: simplify dir not exist error message build
       dojo: setting eny/now/our shouldn't crash dojo
       dojo: say how to beat the %dy-edit-busy escape room
       dojo: remove unnecessary debug output
 
 Joe Bryan (8):
       behn: adds (failing) tests
       behn: unconditionally clear runtime timer state on %wake
       behn: don't compare pending timers to now
       behn: refactor to use +abet pattern
       behn: emit %doze on any rescheduling of the next timer
       behn: cleans up comments
       Merge pull request #5858 from urbit/jb/behn-fix2
       test: removes debugging comments from %behn unit tests
 
 Sidnym Ladrut (1):
       hood: fix issue w/ rein diff application
 
 Yaseen (1):
       eyre: Modify landing title from "OS1" to "Urbit"
 
 fang (16):
       clay: render syntax errors at end of file
       Merge pull request #5811 from ynx0/patch-1
       Merge pull request #5812 from urbit/m/eof-syntax-error
       Merge pull request #5837 from dnmfarrell/dnmfarrell/arvo-dy-edit-press-bksp-to-abort
       Merge pull request #5840 from dnmfarrell/dnmfarrell/arvo-dojo-check-dir-exists-before-switch
       Merge branch 'master' into next/arvo
       gall: exclude from traces
       Merge pull request #5841 from dnmfarrell/dnmfarrell/arvo-dojo-dont-crash-set-beak
       Merge pull request #5863 from sidnym-ladrut/sl/fix-rein-toggle-behaviori
       Merge pull request #5868 from urbit/pkova/dns
       Merge branch 'master' into next/arvo
       Merge pull request #5857 from urbit/jb/behn-fix1
       Merge pull request #5855 from urbit/m/gall-quieter
       hood: re-patch |rein
       Revert "clay: render syntax errors at end of file"
       Revert "gall: exclude from traces"
 
 pkova (1):
       dns: transfer ship.arvo.network domains from ~zod to ~deg
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEB0bRQARxix0iuhs56wNXYMG7qXIFAmLPF9wACgkQ6wNXYMG7
 qXLO5w/7BSc5aajTaA/o8ma4SoySX/PXH1dnnoJO9A2fiYR3sIpcdY12xNmnCA/e
 y0OyQeSqmRzO90bVJI3AVxN0qEDcz0fR9ZoC8YeYWRrAWy7xRTm808NRW1rovAEN
 LIlOemUpJODlqkkiD0x8hwxNSix9+tkcr6ehilzIuORaBcTI586rekT+FfXGuD9Z
 IURbKkKS443M3kIyL9MUXu8lopMpfwZg9VYwo3a8fnUvUmVRleHBpUI71GXd41w4
 eQv63197mcwMq/od9JUXBdX1yek/QyVV0SqZhPCksUOipdCbH0oJpzBmh/4i0CGb
 Ij2gyGlth4iErXx+TBBpHk0FKQysHoPQyBI3/ljtZG4xpVToKHyuw7hODHR4STUL
 hYV+iWbOJ+reh0Zkrk/SjZHZMYBKcuBonIXwNXDE5cC50q+dqqaj8+0oPOmdjhDy
 rbzN377Ijags+ivLagpra1KE+lVLtKbOae16FqzBZJqs7xuj9ZsoabG+OxoXDH7j
 i1oXIskYuIzHfbSbDk2eaCPKONFs19Oi8ULg5/zxaJsQLks9WMuckBPFr4paCrdo
 eBFe139f87xBi8WBZ7rzYyrUFtGhTLo1Bzapdbvh18WhYfK95sTo+PCUJNHB29+H
 qmkE3bMZ+v2VOPLFtRfrb1bolpsoR/m5Z6SWElMB2Ig2WKkDqvE=
 =CxGA
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEB0bRQARxix0iuhs56wNXYMG7qXIFAmLPJAQACgkQ6wNXYMG7
 qXLiyxAAmOlm72h+UC34dnmtiIKjRyuq+XXl8MdyPu0XZPKS1XzewFAP+iQE1uVG
 X5HJ04xl6SI/npa99p95K7f2T69OkXWvwax8fhu/+hhIVq8bQAOfzMIW5jk2Bfzl
 j1wMjcjzDZquqNVaYHsYAmnUZFl2Tp3mv3j3VgxsyUfdXFKQLz9g7lhBellIZ1F+
 HTfK8YBWGhzfUoJ/3pfXp7Q/6w60pW4AC/6dbfbmKW5rcZpyATWhIbYWullPsJWC
 pjf5KYjwiiOVQU/0cZ5alXZX0ofV4Tf9er5I4Np0fF3j/5O1vdmBJ9E4RGJXJMrR
 sQ6xt7yuX5wrpbUTqgvxA7sSjEB4+lk8sZJvC5KpLIvNF6s4o1aUnHYSODeIr0r3
 vkx7YYfhbDv84xHA3lIejh7vcM5182dq0cNhHD1uLGt81IeE+YCl0G1cvUV5QxrQ
 WGt3uLanIpBAJjseMc4N3mUcG343G0vs8058gZtwqsGXy7byF3tFKmt1kHPh2pjP
 W9HJ0+MN7VSGqNidMv74r4ZpsDPdERkUqdhzb30tvBBp6xraXflVjvUT5Ln+501p
 m2PO5aLbeVclIViwsC7wFLYooHDz5O7hZx5Sf1uUjNsaGYSPotPGH8UsXSiyKZ5/
 p067gSrcyqHuLRYR/7izDCe7xTHImpP3doL6xmW4br2gl5wKX1s=
 =BGu/
 -----END PGP SIGNATURE-----

Merge tag 'urbit-os-v2.124'

urbit-os-v2.124

- Fixes an issue where behn would fail to report the next timer to vere
  correctly, resulting in timers only firing once every ten minutes.
- Updates |rein to be additive instead of fully replacing existing
  configuration. Specifying a single agent to start will no longer stop
  other explicitly-started agents.
- Various QoL improvements to dojo.
- Updates DNS requests to go to ~deg instead of ~zod. The Foundation
  will take over DNS request handling.

Contributions:

David Farrell (5):
      dojo: have dojo check =dir exists before switching
      dojo: simplify dir not exist error message build
      dojo: setting eny/now/our shouldn't crash dojo
      dojo: say how to beat the %dy-edit-busy escape room
      dojo: remove unnecessary debug output

Joe Bryan (8):
      behn: adds (failing) tests
      behn: unconditionally clear runtime timer state on %wake
      behn: don't compare pending timers to now
      behn: refactor to use +abet pattern
      behn: emit %doze on any rescheduling of the next timer
      behn: cleans up comments
      Merge pull request #5858 from urbit/jb/behn-fix2
      test: removes debugging comments from %behn unit tests

Sidnym Ladrut (1):
      hood: fix issue w/ rein diff application

Yaseen (1):
      eyre: Modify landing title from "OS1" to "Urbit"

fang (16):
      clay: render syntax errors at end of file
      Merge pull request #5811 from ynx0/patch-1
      Merge pull request #5812 from urbit/m/eof-syntax-error
      Merge pull request #5837 from dnmfarrell/dnmfarrell/arvo-dy-edit-press-bksp-to-abort
      Merge pull request #5840 from dnmfarrell/dnmfarrell/arvo-dojo-check-dir-exists-before-switch
      Merge branch 'master' into next/arvo
      gall: exclude from traces
      Merge pull request #5841 from dnmfarrell/dnmfarrell/arvo-dojo-dont-crash-set-beak
      Merge pull request #5863 from sidnym-ladrut/sl/fix-rein-toggle-behaviori
      Merge pull request #5868 from urbit/pkova/dns
      Merge branch 'master' into next/arvo
      Merge pull request #5857 from urbit/jb/behn-fix1
      Merge pull request #5855 from urbit/m/gall-quieter
      hood: re-patch |rein
      Revert "clay: render syntax errors at end of file"
      Revert "gall: exclude from traces"

pkova (1):
      dns: transfer ship.arvo.network domains from ~zod to ~deg
2022-07-13 21:58:49 +02:00
Hunter Miller
e6ae2ba5dc meta: correcting version' 2022-07-13 12:23:29 -05:00
Hunter Miller
1ac97b2f69 meta: version bumps 2022-07-13 12:21:20 -05:00
Joe Bryan
0c81bc82b1 Merge branch 'master' into next/arvo
* master:
  groups: [skip actions] update glob (0v3.mtkm8.77bad.7j793.jtnl4.pi1mm)
  groups: correcting package lock yet again
  Solve #5706 - Create vase at each branch of `t.t.t.t.path`
2022-07-13 12:18:40 -04:00
Joe Bryan
f028c9afa7
Merge pull request #5709 from mikhail-diakov/openbsd-build
Resurrect the OpenBSD Build
2022-07-13 11:56:59 -04:00
Joe Bryan
c5312ee313 ames: track/log bad ciphertext crashes separately 2022-07-13 11:49:54 -04:00
Joe Bryan
8fb19c9ae2 u3: %evil leaves no trace 2022-07-13 11:49:48 -04:00
drbeefsupreme
304efe1f35 naive: uncomment tests for +test-rut 2022-07-13 11:23:46 -04:00
Joe Bryan
69c66adf22 vere: drop bail:evil events without error notifications 2022-07-13 10:53:31 -04:00
Joe Bryan
70033110c0 jets: bail:evil in ae-siv decryption jets 2022-07-13 10:53:31 -04:00
yosoyubik
d17fd7521a gall: use spore tag for +molt subscription killing
WIP: kiln crashes after upgrade with a ! kiln: %base not installed
2022-07-13 15:52:15 +02:00
Ted Blackman
1cb2aaabbc gall: fix +molt initialization 2022-07-13 15:52:07 +02:00
Ted Blackman
5f8378e1b7 gall: kill subscriptions after agents reload 2022-07-13 15:52:02 +02:00
Ted Blackman
78b1c521c7 treaty: fix case upgrade issue 2022-07-13 15:51:56 +02:00
yosoyubik
d9b7643b79 gall: fix condition to run +ap-kill-down 2022-07-13 15:51:46 +02:00
yosoyubik
4c8a4ecb0e gall: run +ap-kill-down only once 2022-07-13 15:51:38 +02:00
yosoyubik
354a914c82 gall: run +ap-kill-down on +molt 2022-07-13 15:51:28 +02:00
yosoyubik
a3518ef4d6 ames: add trace for %cork plea 2022-07-13 09:17:42 +02:00
Joe Bryan
dca17825e1
Merge pull request #4727 from urbit/lf/http2-support
vere: enable HTTP2
2022-07-12 14:40:36 -04:00
bacwyls
49b837f5e8
eyre: fix for %trim bug - addendum
Broader, more direct solution.
2022-07-08 17:10:41 -07:00
bacwyls
c8fafa53bd
eyre: fix for %trim bug
Problem:
by-channel has its own copy of server-state from line 2182. discard-channel returns an altered state, with one channel removed from the state of by-channel.
but the state of by-channel isn't changing with each iteration, so |trim is only removing one channel per invocation.

Solution:
update by-channel on each iteration.
2022-07-08 15:14:13 -07:00
Joe Bryan
52cb382ea0
Merge pull request #5883 from urbit/jb/exit-errors
vere: exit correctly on fatal error
2022-07-08 18:00:24 -04:00
Joe Bryan
94821d8e86 vere: make uv_cancel return code check explicit 2022-07-08 14:49:13 -04:00
fang
f58bdbcec4
webterm: handle ctrl+shift key events specially
xterm.js seems to have a bug where it doesn't register ctrl+uppercase
keypresses correctly. To work around this, we catch such keypresses
explicitly and handle them inline.
2022-07-08 20:44:21 +02:00
Joe Bryan
ae370dd7e0 u3: check for overflow in interpreter if guard page not present 2022-07-08 14:38:32 -04:00
Joe Bryan
517ca69823 build: default to using guard page 2022-07-08 14:37:39 -04:00
Hunter Miller
f0973947c6 Merge branch 'next/groups' 2022-07-08 13:25:02 -05:00
janeway-bot
e6996cb77c groups: [skip actions] update glob (0v3.mtkm8.77bad.7j793.jtnl4.pi1mm) 2022-07-08 10:20:31 -07:00
yosoyubik
34a7496720 ames: clean up nack flows after a cork 2022-07-08 07:29:04 +02:00
Nick
9972f0b4ec bitcoin-wallet: set state as default case for handle-provider-update 2022-07-07 16:47:06 -04:00
Nick
8726ca2ebc %bitcoin: Implement additional RPC calls from btc-provider.
%histogram, %block-headers, %tx-from-pos, %fee, %psbt are now all callable from the btc-provider agent. These actions are necessary in order to get the lightning network working within Urbit.
2022-07-07 16:47:06 -04:00
Nick
740d68777c %bitcoin: Added %regtest to arms using the network type definition. 2022-07-07 16:47:06 -04:00
Nick
56f01a52ed %bitcoin: add regtest type to network
Updating bitcoin provider agent to enable connection to a bitcoin provider node in regtest mode
2022-07-07 16:47:06 -04:00
Peter McEvoy
abe5788daf u3: return 0 from u3e_fault() if guard page cannot be protected 2022-07-07 09:48:33 -07:00
Amadeo Bellotti
20256207a7 Fixed a double boot_lite 2022-07-07 12:47:32 -04:00
Amadeo Bellotti
063e447d56 Got basic hoon command compiling and executing 2022-07-07 12:45:22 -04:00
Peter McEvoy
b7cd97664d u3: control presence of guard page using macro 2022-07-07 09:33:41 -07:00
Amadeo Bellotti
f273fa5359 Added basic nock increment evaulation to eval function 2022-07-07 11:10:15 -04:00
fang
283e5ad1db
Revert "gall: exclude from traces"
This reverts commit b1b422ce05.
2022-07-07 16:24:03 +02:00
fang
a1b3348cdf
Revert "clay: render syntax errors at end of file"
This reverts commit 7a110db60d.
2022-07-07 16:21:43 +02:00
Amadeo Bellotti
7d7209764f Added option to run the eval it checks for and prints whatever you pass it as an arguement 2022-07-07 09:23:42 -04:00
yosoyubik
ca1b586a46 ames: init cork timer on larval +take 2022-07-07 11:35:28 +02:00
yosoyubik
d4d443db13 ames: remove cork wire from state 2022-07-07 09:20:57 +02:00
Philip Monk
1bc0d0cd8e gall: don't reload if code is unchanged 2022-07-07 00:12:27 -07:00
Philip Monk
a4aa835fe1 clay: add %rein move to config agents 2022-07-06 23:09:43 -07:00
Joe Bryan
53af044d18 Revert "u3: check for road stack overflow on every nock %2 and %9"
This reverts commit 4bd4e8a4a9.
2022-07-07 01:34:05 -04:00
Joe Bryan
8fb3b1502b build: make bench is phony 2022-07-07 01:34:05 -04:00
Joe Bryan
9d5b24362e u3: failure to mprotect() the new guard page is fatal 2022-07-07 01:34:05 -04:00
Philip Monk
56ed49578f clay: respect rein state 2022-07-06 22:26:34 -07:00
Joe Bryan
f0fa528f3b u3: removes/disables obsolete road stack overflow checks 2022-07-07 01:17:16 -04:00
Joe Bryan
350406c9e1 u3: account for guard page in cellblock allocation conditional 2022-07-07 00:48:50 -04:00
Joe Bryan
b630490573 u3: bump road heap offset before allocating cellblock 2022-07-07 00:48:19 -04:00
Peter McEvoy
a2a6250d77 u3: restore missing return 0 to u3e_fault() 2022-07-06 18:42:50 -07:00
Peter McEvoy
a830db5f68 u3: initialize guard page in u3e_init() 2022-07-06 18:29:16 -07:00
Philip Monk
71ecde32e1 clay: keep marks warm 2022-07-06 18:12:59 -07:00
Philip Monk
eb1e7dd173 clay: enable goad on every commit 2022-07-06 16:56:38 -07:00
Peter McEvoy
1ea6e10a36 u3: initialize guard page in u3e_live() 2022-07-06 16:09:34 -07:00
drbeefsupreme
c29512308f doccords: deco remove double comment 2022-07-06 18:59:01 -04:00
Peter McEvoy
f2d24201a5 u3: replace u3m_bail() with u3m_signal() in u3e_fault() 2022-07-06 15:33:16 -07:00
drbeefsupreme
73c0222d2e doccords: deco convention for +$ arms 2022-07-06 18:22:21 -04:00
drbeefsupreme
ef9297cfd7 doccords: these <-> other locations 2022-07-06 17:43:41 -04:00
drbeefsupreme
b7412d939c doccords: lib/deco remove informal comment 2022-07-06 17:31:55 -04:00
drbeefsupreme
4dd8b4d043 doccords: change :: in lib/deco to :> 2022-07-06 17:30:52 -04:00
drbeefsupreme
862f6cc899 doccords: update language in lib/deco 2022-07-06 17:28:14 -04:00
drbeefsupreme
948bd1e185 doccords: adds batch comment examples to lib/deco 2022-07-06 17:23:25 -04:00
drbeefsupreme
37343b6d87 doccords: add sample library lib/deco.hoon 2022-07-06 17:20:21 -04:00
drbeefsupreme
938dc8cfe4 dojo: reverse doccords query ordering 2022-07-06 17:19:44 -04:00
drbeefsupreme
27135f1bb5 dprint: links -> cuff 2022-07-06 16:31:07 -04:00
drbeefsupreme
1cd95a9ceb hoon: add +$ cuff (list link)
makes doccords stuff more readable. also changes the (list link) in
$help to cuff
2022-07-06 16:30:24 -04:00
drbeefsupreme
a4ca51009a dprint: fix syntax and test suite for new parser 2022-07-06 16:21:13 -04:00
drbeefsupreme
de19456f82 hoon: revamp doccords parsing for batch comments
this commit replaces the previous intermediate parsing structure, $whit,
with a new one better suited for batch comments and taking into account
that {#  %label} syntax is no longer being used anywhere. basically,
this makes it so that all doccords are batch comments, where if they are
preceded by a (list link) then they will try to attach to the given
link (only utilizes first link for now), and a blank link means it will
try to attach to the following hoon or spec
2022-07-06 16:17:54 -04:00
Philip Monk
ddf13b3fb8 clay: make upgrade compile 2022-07-06 11:51:06 -07:00
Joe Bryan
4bd4e8a4a9 u3: check for road stack overflow on every nock %2 and %9
(cherry picked from commit 9db1411bd8e8c0b8e9bf38aadb869c5fd678023b)
2022-07-06 11:40:12 -07:00
Joe Bryan
e045bfd593 u3: adds (failing) test for bail:meme
(cherry picked from commit 3a03b1de5d57201c153229db69051235a50907c0)
2022-07-06 11:40:11 -07:00
Joe Bryan
146db7b832 u3: allocate emergency buffer on every road, free on bail for trace cells
(cherry picked from commit 3a11a08b712b52805f97ceb06da8417a8b7cbde4)
2022-07-06 11:40:11 -07:00
Joe Bryan
eaf47ce0cf u3: correct u3m_soft() error result where +mook is unavailable
(cherry picked from commit bbc54b7a890845e4281d3a250fefedefb464bc8d)
2022-07-06 11:40:11 -07:00
Joe Bryan
bcdafbe206 u3: make output pointer optional in u3r_p()
(cherry picked from commit 2a0b92b4474947fcbb519d4158eae9cb3b5d6287)
2022-07-06 11:40:11 -07:00
Peter McEvoy
78cb396736 u3: use pag_siz_i and pag_wiz_i where appropriate 2022-07-06 11:40:09 -07:00
Peter McEvoy
f0cebdcab0 u3: place guard page between heap and stack 2022-07-06 11:37:35 -07:00
fang
ddf3520648
hood: re-patch |rein
Essentially reimplements #5863 in the generator, instead of the library.
2022-07-06 20:18:45 +02:00
fang
c437f1cdbd
Merge pull request #5855 from urbit/m/gall-quieter
gall: exclude from traces
2022-07-06 18:48:55 +02:00
Hunter Miller
c8a5824576 Merge branch 'next/groups' 2022-07-06 11:38:24 -05:00
Hunter Miller
5e427b6655 Merge branch 'next/groups' of github.com:urbit/urbit into next/groups 2022-07-06 11:37:45 -05:00
Hunter Miller
3f8cef1cac groups: correcting package lock yet again 2022-07-06 11:37:34 -05:00
Ted Blackman
0d4ce15780 clay: add .liv and .ren state to dome 2022-07-06 16:41:20 +01:00
yosoyubik
e366e55dbc ames: add global daily timer for pending corks
WIP compiles and upgrades, and the timer gets properly reset
but untested for actual re-subscriptions with old publishers
2022-07-06 17:00:35 +02:00
yosoyubik
608aba2a87 gall: handle subscriber-side %cork
this also enables increasing sub-nonces for every new subscription
TODO: create one global cork timer for all peers
2022-07-06 14:44:20 +02:00
Ted Blackman
1cda56673f gall: idle agents not in %load move 2022-07-06 12:37:17 +01:00
Philip Monk
d4f02e0a57 clay: add global %goad logic 2022-07-06 03:32:15 -07:00
yosoyubik
f3a60aef14 gall: don't send %cork when leaving a subscription
This is a temporary fix, and first part of the gall-request-queue-fix
release in two stages. This gives a publisher ship the ability to
understand a %cork and handle it properly, but no subscriber will
be sending %corks at this stage when leaving a subscription.

We still add a nonce to all subscription wires but it doesn't
increment it when resubscribing, allowing flows to be reused.

Tested locally with toy pub/sub agents and Group join/leaving
2022-07-06 10:59:08 +02:00
yosoyubik
76919ce07c ames: resend %cork after a naxplanation in one day 2022-07-06 10:52:19 +02:00
Philip Monk
6d321c60cb clay, gall: move agent build management to clay 2022-07-06 00:51:11 -07:00
yosoyubik
850de0bfd3 Revert "gall: run +ap-kill-down on +molt"
This reverts commit 2107240962.
2022-07-06 09:12:30 +02:00
yosoyubik
675cf45171 Revert "gall: run +ap-kill-down only once"
This reverts commit cb5893ac05.
2022-07-06 09:12:10 +02:00
yosoyubik
3560f6b7e3 Revert "gall: fix condition to run +ap-kill-down"
This reverts commit e5c86886e4.
2022-07-06 09:11:22 +02:00
Sidnym Ladrut
13b8b337a0 dojo: re-add support for /=, /% runes 2022-07-06 00:29:23 -05:00
Joe Bryan
7dce9aede3 vere: check exit code before upgrade/prepare-for, print failure msg 2022-07-05 23:13:20 -04:00
Joe Bryan
0e2880169d vere: set exit code globally on fatal error 2022-07-05 23:09:49 -04:00
Joe Bryan
9cf153f1b6 vere: fix ctrl-c during replay 2022-07-05 23:08:59 -04:00
Joe Bryan
e6005b0734 vere: skip disk cleanup if commit thread cannot be canceled 2022-07-05 23:08:26 -04:00
Joe Bryan
f9e4822026
Merge pull request #5880 from midlyx-hatrys/compdb
vere: build: add ability to create compdb (for Clangd etc.)
2022-07-05 22:42:19 -04:00
Joe Bryan
279a7f18db Merge branch 'master' into next/vere
* master: (61 commits)
  rich-text: removing broken plugin, reverting react-md to 5.0.3 for compat
  graphcontent: blockquotes now correctly break paragraphs off
  md-editor: fixing background in darkmode
  landscape: [skip actions] update glob (0v5.kgrq2.gp725.bo5bk.dmr7d.h41qk)
  ops: fixing build
  meta: version bump for new changes from next/landscape
  meta: package bump:
  eventsource: prevent resetting event id counter
  interface: fixing react-codemirror2 dep
  groups: add webp to list of image types to check links for in chat
  groups: fix issue where URL would be shown along with image in chat
  groups: fix issue with chanel perms caused by use of Set()
  groups: update glob (0v4.2se6m.fvv67.nn5e8.vfrv9.mmi88)[skip actions]
  groups: updating package lock
  groups: updating nvmrc
  Fix webpack, build dependency issues
  compat: fixing react-codemirror2 deps
  compat: updating to latest sigil-js for react
  compat: updating indigo, and removing unused deps
  meta: fixing react version issue
  ...
2022-07-05 22:41:53 -04:00
Midlyx Hatrys
85eaefd82a vere: build: add ability to create compdb (for Clangd etc.)
Running "make compile_commands.json" after configuring does the
needful.
2022-07-05 21:03:46 +03:00
fang
6eece773ba
Merge pull request #5857 from urbit/jb/behn-fix1
behn: fix timers not firing
2022-07-05 16:00:31 +02:00
Sidnym Ladrut
3e22ee68e9 dojo: improve ford rune support for cable expressions 2022-07-02 18:04:54 -05:00
Sidnym Ladrut
8a017ce308 dojo: re-add support for /+, /- ford runes 2022-07-01 23:39:37 -05:00
drbeefsupreme
b80590fd05 hoon: remove _docs-engine
thought this would play a larger role than it did. currently it is unused
2022-07-01 17:47:18 -04:00
drbeefsupreme
274bc167d0 dprint: remove erroneous sigpam 2022-07-01 17:11:38 -04:00
drbeefsupreme
2028ae9397 dprint: batch comment tests, more refactoring 2022-07-01 13:48:48 -04:00
drbeefsupreme
3bfad4807a hoon: fix batch comment parser
the merge broke it i guess
2022-07-01 12:14:47 -04:00
drbeefsupreme
37ce546dd4 dprint: simplify arm doc testing 2022-07-01 10:39:01 -04:00
yosoyubik
ea4a31558f ames: ack last fragment from closing bone 2022-07-01 09:59:24 +02:00
Philip Monk
89b9977ac8 azimuth: fetch snapshot on boot
Previously, the initial Azimuth snapshot was stored in Clay and shipped
in the pill.  This causes several problems:

- It bloats the pill
- Updating the snapshot added large blobs to Clay's state.  Even now
  that tombstoning is possible, you don't want to have to do that
  regularly.
- As a result, the snapshot was never updated.
- Even if you did tombstone those files, it could only be updated as
  often as the pill
- And those updates would be sent over the network to people who didn't
  need them

This moves the snapshot out of the pill and refactors Azimuth's
initialization process.  On boot, when app/azimuth starts up, it first
downloads a snapshot from bootstrap.urbit.org and uses that to
initialize its state.  As before, updates after this initial snapshot
come from an Ethereum node directly and are verified locally.

Relevant commands are:

- `-azimuth-snap-state %filename` creates a snapshot file
- `-azimuth-load "url"` downloads and inits from a snapshot, with url
  defaulting to https://bootstrap.urbit.org/mainnet.azimuth-snapshot
- `:azimuth &azimuth-poke-data %load snap-state` takes a snap-state any
  way you have it

Note the snapshot is downloaded from the same place as the pill, so this
doesn't introduce additional trust beyond what was already required.
When remote scry is released, we should consider allowing downloading
the snapshot in that way.
2022-06-30 23:22:50 -07:00
drbeefsupreme
5710826cd4 dprint: fix test library argument 2022-06-30 17:18:09 -04:00
drbeefsupreme
97d183b7af Merge branch 'master' into jon/doccords 2022-06-30 17:17:15 -04:00
drbeefsupreme
b3e6f82499 dojo: change doccords syntax to be path-like
using col as a seperate made it look like a bunch of =<, which doesn't
make sense for e.g. pritning chapters. paths aren't quite right either,
so we don't use +stap, and just want identifiers separated by fas
without any leading fas
2022-06-30 17:13:07 -04:00
drbeefsupreme
b4d04444cd dprint: add missing doccords 2022-06-30 16:58:45 -04:00
drbeefsupreme
0f8f90c1fd dprint: simplify type to item interface
shouldn't need to surface recursion to the developer
2022-06-30 16:56:04 -04:00
tacryt-socryp
238a2b8d6b
Merge pull request #5749 from rabsef-bicrym/patch-4
Solve #5706 - Create vase at each branch of `t.t.t.t.path`
2022-06-30 15:27:53 -05:00
drbeefsupreme
69b06e0ac3 dprint: add identifying glyphs to various items 2022-06-30 16:27:06 -04:00
drbeefsupreme
4b8cdd6f83 dprint: easier to read style changes 2022-06-30 15:14:56 -04:00
yosoyubik
e5c86886e4 gall: fix condition to run +ap-kill-down 2022-06-30 17:44:11 +02:00
drbeefsupreme
5b65288268 dprint: add styled text first run
mostly just to get something working, next i will clean up syntax
2022-06-30 11:39:06 -04:00
yosoyubik
a967b42c30 ames: print bone if "hear last in-progress" 2022-06-30 17:12:07 +02:00
yosoyubik
cb5893ac05 gall: run +ap-kill-down only once 2022-06-30 17:06:22 +02:00
yosoyubik
2107240962 gall: run +ap-kill-down on +molt 2022-06-30 15:57:02 +02:00
fang
ad6a5acfbc
Merge branch 'master' into next/arvo 2022-06-30 12:59:41 +02:00
yosoyubik
b0766c2f53 ames: remove misleading trace printf 2022-06-30 10:46:02 +02:00
yosoyubik
27ac0b601e ames: use %$ as recipient vane for %corks 2022-06-30 10:18:37 +02:00
Hunter Miller
370c6dcbc8 Merge branch 'next/groups' 2022-06-29 10:18:17 -05:00
drbeefsupreme
72dec146b4 dprint: update default core arm comment syntax 2022-06-28 13:30:40 -04:00
drbeefsupreme
77b5c736aa hoon: fix batch comment parsing for ++ $ arms
comments for ++  $  arms are set using four aces
2022-06-28 13:29:42 -04:00
drbeefsupreme
8f48f08f1a dprint: change to batch comment syntax 2022-06-28 12:12:03 -04:00
drbeefsupreme
efe01b815a hoon: batch comment doccords inside of cores
changes $whit to have a (unit link) instead of (unit term). this holds
the identifier for where a comment is supposed to go. changes to parsers
in docs:vast to accomodate this.

this only allows for batch comments written for arms within a given
core. someday, the feature should allow you to write comments
virtually anywhere. the (unit link) in $whit should become a (unit (list
link)) to accommodate this
2022-06-28 12:12:03 -04:00
drbeefsupreme
8cd919b936 dojo: ?? pattern matches on %hint types 2022-06-28 11:31:22 -04:00
yosoyubik
17d52b8535 ames: handle bounce %cork from old publisher
Because the publisher will send the cork plea back to the subscriber on
the next bone, we are not able to know the bone for the original cork.
To handle it, we add the cork bone to the plea path

still wip: it keeps resending the cork plea faster than its ~h1 timer
2022-06-28 12:48:07 +02:00
yosoyubik
070d0a7d4b Merge branch 'jb/behn-fix1' into yu/gall-rq-wire-ames-flow-kill 2022-06-28 10:47:50 +02:00
fang
a874744802
Merge pull request #5868 from urbit/pkova/dns
dns: transfer ship.arvo.network domains from ~zod to ~deg
2022-06-27 18:44:03 +02:00
Hunter Miller
24c8519c69 rich-text: removing broken plugin, reverting react-md to 5.0.3 for compat 2022-06-27 11:40:31 -05:00
Hunter Miller
6e9c17a9c2 graphcontent: blockquotes now correctly break paragraphs off 2022-06-27 10:29:05 -05:00
Hunter Miller
90b8776fad md-editor: fixing background in darkmode 2022-06-27 09:57:18 -05:00
yosoyubik
7de9c72f36 ames: add rift when inserting new peer state 2022-06-27 13:55:07 +02:00
pkova
7e74d44054 dns: transfer ship.arvo.network domains from ~zod to ~deg 2022-06-26 00:24:20 +03:00
drbeefsupreme
8f946ed414 dojo: print %help hints with ?? 2022-06-24 13:55:09 -04:00
drbeefsupreme
941ff18d9b hoon: refactor doccord parsing for +tall and +till 2022-06-24 12:30:52 -04:00
janeway-bot
e09c48cb40 landscape: [skip actions] update glob (0v5.kgrq2.gp725.bo5bk.dmr7d.h41qk) 2022-06-23 11:15:50 -07:00
Hunter Miller
3caa04c8b9 ops: fixing build 2022-06-23 12:24:39 -05:00
drbeefsupreme
6f66a6d7fd pprint: add %dict tag 2022-06-22 15:47:08 -04:00
drbeefsupreme
552b8e9e94 hoon: spec doccord parsing, refactor +till +tall 2022-06-22 15:46:11 -04:00
drbeefsupreme
d0b8d284ce hoon: add %dict tag to %spec for doccords 2022-06-22 15:45:40 -04:00
Hunter Miller
5f1371f4a2 meta: version bump for new changes from next/landscape 2022-06-21 14:52:20 -05:00
Hunter Miller
ca28bffd62 Merge branch 'master' into next/npm 2022-06-21 14:51:19 -05:00
Hunter Miller
4378b87ac0 Merge branch 'next/landscape' 2022-06-21 14:50:40 -05:00
Hunter Miller
09e1dd7089 meta: package bump: 2022-06-21 14:43:40 -05:00
Hunter Miller
e5b66e3484 eventsource: prevent resetting event id counter 2022-06-21 14:04:30 -05:00
Sidnym Ladrut
be1d70f4b6 hood: fix issue w/ rein diff application 2022-06-18 18:34:44 -05:00
fang
981bc796d7
Merge pull request #5841 from dnmfarrell/dnmfarrell/arvo-dojo-dont-crash-set-beak
dojo: setting eny/now/our shouldn't crash dojo
2022-06-18 14:25:04 +02:00
Joe Bryan
244961ed39 test: removes debugging comments from %behn unit tests 2022-06-17 22:24:24 -04:00
Joe Bryan
6b99b154d6 behn: cleans up comments 2022-06-17 22:20:16 -04:00
Hunter Miller
23b9bbe948 Merge branch 'master' into next/groups 2022-06-17 15:32:55 -05:00
Hunter Miller
6bff31f369 interface: fixing react-codemirror2 dep 2022-06-17 14:59:28 -05:00
Joe Bryan
1b6d4f0fc5 behn: refactor to use +abet pattern 2022-06-17 10:27:27 -04:00
Joe Bryan
5482d3ff93 behn: emit %doze on any rescheduling of the next timer 2022-06-17 10:27:27 -04:00
Joe Bryan
bf8114a29d behn: don't compare pending timers to now 2022-06-17 10:27:27 -04:00
Joe Bryan
1843df6cde behn: unconditionally clear runtime timer state on %wake 2022-06-17 10:27:27 -04:00
Joe Bryan
5e867610ec behn: adds (failing) tests 2022-06-17 10:27:23 -04:00
David Farrell
d848587c04 Revert "term: recognize home & end keys"
The behavior of home/end haven't been decided on yet.

This reverts commit 2d9106ae2d4c4a76a0cb5098835fdbc426e2f289.
2022-06-17 09:16:21 -04:00
David Farrell
975e2f2a14 term: recognize home & end keys
Modifies term to detect home/end vt sequences, and adds complementary
%blit and arm handling.
2022-06-17 09:16:21 -04:00
David Farrell
66cbafe625 term: support vt escape sequences
Modifies the terminal to support vt escape sequences (as emulated by the
Gnome Terminal app and others).

For now it recognizes the delete key - other sequences are ignored as
drum does not (yet) support them.

This also stops all vt escape sequences from emitting sigs.
2022-06-17 09:16:21 -04:00
fang
b1b422ce05
gall: exclude from traces
Removes the !: at the top of gall, so that it no longer gets included in traces about agent builds or crashes.

We also refine intentional crashes with ~_s, so that we still see a crash reason even if we don't get a full trace.

Lastly, flops the trace for +on-load crashes, which were getting printed bottom-first.
2022-06-17 14:08:47 +02:00
yosoyubik
2e92331a0b Merge branch 'next/arvo' into yu/gall-rq-wire-ames-flow-kill 2022-06-16 08:54:24 +02:00
Ted Blackman
0190a477f5 ames: adjust comments 2022-06-15 15:35:41 -06:00
Ted Blackman
1380e83b55 ames: clog on 5 messages and 100kB 2022-06-15 15:28:34 -06:00
fang
094396a26a
Merge branch 'master' into next/arvo 2022-06-15 18:29:14 +02:00
Patrick O'Sullivan
d11ce99b48 groups: add webp to list of image types to check links for in chat 2022-06-15 11:21:24 -05:00
Patrick O'Sullivan
b77baf4270 groups: fix issue where URL would be shown along with image in chat 2022-06-15 10:24:31 -05:00
Patrick O'Sullivan
1cdef1e06d groups: fix issue with chanel perms caused by use of Set() 2022-06-14 10:57:18 -05:00
fang
df82167111
Merge pull request #5840 from dnmfarrell/dnmfarrell/arvo-dojo-check-dir-exists-before-switch
dojo: check =dir exists before switching
2022-06-14 16:26:01 +02:00
David Farrell
d8f34e8930 dojo: remove unnecessary debug output
The tip already communicates to the user that dojo is busy, so the
sigpam output isn't needed anymore.
2022-06-13 21:00:46 -04:00
David Farrell
d439b33cc9 dojo: say how to beat the %dy-edit-busy escape room
It's too easy to get trapped in the dojo %dy-edit-busy escape room. Just
type something like:

  -build-file /=base/gen/ls/hoon

This modifies the dojo output to tell the user how to get out.

Fixes #1462.
2022-06-13 21:00:21 -04:00
David Farrell
04672fbe1d dojo: setting eny/now/our shouldn't crash dojo
Changes dojo to emit a usage message and ignore the request.

Fixes #1519
2022-06-13 20:51:38 -04:00
David Farrell
3a10b4d8f3 dojo: simplify dir not exist error message build
Incorporates @Fang- suggested changes (thanks!).

Drops the path serialization as it will print on two separate lines,
and it is already displayed in dojo immediately above the error message:

    > =dir /=base=/ge
    dojo: dir does not exist
2022-06-13 20:37:55 -04:00
David Farrell
73c1c94ea8 dojo: have dojo check =dir exists before switching
Scries clay for a list of files beneath the provided path - if the response
is nil then the dir must not exist (clay abhors a vacuum).

Fixes #1559
2022-06-13 20:37:49 -04:00
janeway-bot
f777e009ad groups: update glob (0v4.2se6m.fvv67.nn5e8.vfrv9.mmi88)[skip actions] 2022-06-13 16:59:14 -07:00
Hunter Miller
48c25cb9bc groups: updating package lock 2022-06-13 17:20:39 -05:00
Hunter Miller
8250a30ad5 groups: updating nvmrc 2022-06-13 15:28:35 -05:00
Patrick O'Sullivan
b6b6655149 Fix webpack, build dependency issues 2022-06-13 12:53:45 -05:00
Joe Bryan
0ab44a44b7
Merge pull request #5829 from botter-nidnul/botter-nidnul_aarch64-mapsize
vere: change mapsize to 500 GiB on AAarch64 Linux
2022-06-11 10:47:36 -04:00
drbeefsupreme
8cb392fbba dprint: comment for library 2022-06-09 16:21:48 -04:00
drbeefsupreme
a8e28cc632 dprint: remove chapter-id from %chapter item
redundant with the name
2022-06-09 15:19:39 -04:00
drbeefsupreme
832d483388 dprint: cleanup some logic around %hint types
deduplicating some code and making it a bit easier to understand. still
kind of a mess, but its progress and all tests are passing
2022-06-09 14:40:45 -04:00
drbeefsupreme
8f0bc304df dprint: help from hint uses second type, pass test
still not entirely sure what's different in the two types in a %hint
type, but this change made a bunch of the unit tests go from failing to passing
2022-06-09 13:46:21 -04:00
drbeefsupreme
a59bd02054 hoon: doccords, product-docs arent made in +boog
this is almost a revert of the commit that added in the %funk tag, but
not quite, so its a new commit. i apparently forgot that product docs
are actually built by +wrap, not +boog, so it was treating postfix
arm-docs as if they were product docs
2022-06-09 13:30:18 -04:00
drbeefsupreme
f31a9edd79 dprint: swap expected<->actual order in unit tests 2022-06-09 11:52:38 -04:00
drbeefsupreme
62716ff976 dprint: name core containing types 2022-06-09 11:35:10 -04:00
drbeefsupreme
693226bca3 dprint: deduplicate role of +signify
some of the functionality of +signify was being done elsewhere, this
moves it into +signify
2022-06-09 11:33:29 -04:00
drbeefsupreme
f7d0d3e5a1 dprint: missed |^ in last commit 2022-06-09 11:18:10 -04:00
drbeefsupreme
605960eb3a dprint: simplify and fix core/chapter/arm search
the main issue fixed was with looking inside of chapters for arms didn't work
2022-06-09 11:04:09 -04:00
drbeefsupreme
a3ddde7cfc dprint: compile default arm in core against core
previously it was only compiling against the context, which meant it
broke if an arm referred to another arm
2022-06-08 15:41:04 -04:00
drbeefsupreme
0972c85e91 dprint: arms calling other arms dont steal doccord
i thought this would be a neat feature but ted called it too clever and
probably not what you really want. this code is atrocious though and
needs some serious cleanup
2022-06-08 15:39:40 -04:00
drbeefsupreme
6e02e35862 dprint: fix issues with core types
not actually sure this is correct yet, but it fixed the issue where
there would be a crash when looking for docs in an arm like +bar in
|%
++  foo  'foo'
++  bar  foo
--
2022-06-08 12:43:01 -04:00
drbeefsupreme
7e0d16d817 dprint: new core naming syntax
changes the syntax for cores named with :>  #  %corename to
|%  %core-name for the dprint and dprint testing library
2022-06-07 12:37:32 -04:00
drbeefsupreme
3d3ea61d53 hoon: %brcn and %brpt names for doccords
changes the syntax for naming |% and |@ cores from
:>  #  %core-name
to
|%  %core-name
2022-06-07 12:36:23 -04:00
drbeefsupreme
39ac7cb820 Merge branch 'master' into jon/doccords 2022-06-07 11:10:20 -04:00
fang
5eac6a8aa3
aqua: add %aqua-effect mark file 2022-06-05 19:06:34 +02:00
Ted Blackman
d2ea33ddfe
ames: condense message size calculation
Co-authored-by: fang <git@fang.io>
2022-06-05 08:49:47 -05:00
botter-nidnul
ad11647ed8 vere: change mapsize to 500 GiB on AAarch64 Linux
Sets the mapsize for AAarch64 Linux in `pkg/urbit/vere/disk.c` to the largest size I can get to work with musl, 500 MiB.

Leaves the Windows mapsize untouched at the old default of 60 GiB because I haven't done any testing to see what the limit is there.
2022-06-05 01:39:20 -05:00
Ted Blackman
953273004a ames: clog at 100kB instead of 5 messages 2022-06-04 17:18:21 -05:00
Joe Bryan
0e14cf893f
Merge pull request #5824 from urbit/jb/fix-remote-pr
vere: fix ci for remote PRs
2022-06-03 20:02:24 -04:00
Joe Bryan
24e872f28c
Merge pull request #5814 from urbit/m/4vpi
vere: print ip address in correct order
2022-06-03 20:02:12 -04:00
fang
f34c044e5b
vere: warn reader about endianness 2022-06-04 01:13:25 +02:00
Hunter Miller
5b6a2d5625 compat: fixing react-codemirror2 deps 2022-06-03 17:57:53 -05:00
Hunter Miller
d31b2bd853 compat: updating to latest sigil-js for react 2022-06-03 16:56:33 -05:00
Hunter Miller
39488a3167 compat: updating indigo, and removing unused deps 2022-06-03 16:34:43 -05:00
Joe Bryan
e3f688297f vere: fix -Y (should not be resolved) 2022-06-03 14:40:08 -04:00
Joe Bryan
ace6ca12ff vere: adds --no-dock to usage printf 2022-06-03 14:40:08 -04:00
Hunter Miller
db709df178 meta: fixing react version issue 2022-06-03 11:26:41 -05:00
Hunter Miller
8c0d0a6f5b Merge branch 'master' into next/groups 2022-06-03 10:49:33 -05:00
Hunter Miller
c7ee2f7230 Merge branch 'master' into next/landscape 2022-06-03 10:48:39 -05:00
fang
43dff9c279
ames: do not use old lanes during stateful forward
As 999f0e8, but for the stateful code path in +send-blob.
2022-06-01 21:47:15 +02:00
fang
bad5013c8a
gen: in |new-desk, prompt instead of crash
If a desk already existed, we would crash the generator, embedding a
message in the resulting stack trace.

To improve legibility, we turn this into an %ask generator, prompting
only if we are about to overwrite an existing desk.

We also update the =force argument to be =hard instead, to match |nuke.
2022-06-01 20:21:27 +02:00
fang
49ad872629
gen: in |new-desk, fetch files individually
The ankh is no longer included in the dome, so we must scry out files
one by one.
2022-06-01 20:20:18 +02:00
fang
d260f391ea
gen: |make-desk -> |new-desk
User survey (sample size: 2) suggests |new-desk is the more ergonomic
name.
2022-06-01 20:19:13 +02:00
fang
999f0e84e9
ames: do not produce stale forward lanes
Stale lanes may cause forwarding loops. Imagine the following:
1) Planet A is live. Galaxy B, its indirect sponsor, learns of its route.
2) A goes offline. Another ship, C, is started in its place, at the same route.
3) B receives a packet for A, forwards it to the known route.
4) C received the packet, forwards it to B.
5) Repeat from 3.

Here, we update the forward lane(s) scry used by the runtime to not produce a
peer's lane if they haven't communicated with us in the last hour. Everyone's
supposed to ping their sponsorship chain every 30 seconds. If those aren't
going through, you shouldn't expect to be reachable anyway.

We may or may not want to update +send-blob to match.
2022-06-01 17:17:37 +02:00
Joe Bryan
182e8ab214 vere: bumps version to v1.9 2022-06-01 03:24:50 -04:00
fang
46a5f2b317
vere: print ip address in correct order
This was printing the components of IPv4 addresses in backwards order.
2022-06-01 00:27:18 +02:00
Joe Bryan
39b4488101 vere: removes extra ctype.h include 2022-05-31 17:32:03 -04:00
Joe Bryan
e3ea3c85b0 vere: bumps version to 1.9-rc6 2022-05-31 16:54:23 -04:00
Joe Bryan
c0011ea102 Merge branch 'jb/next' into jb/next-rc
* jb/next:
  vere: disable printfs on failed requests to $version/next
  vere: create $pier/.bin/pace automatically
  build: factor out reusable workflow, call on push and tag creation
  vere: trim trailing whitespace from pace file
  build: use gh action artifact to propagate version string
  build: fix version path for windows pre-release
  build: fix bash conditional in pre-release upload check
  build: run on appropriate tags
  build: cut pre-releases on appropriate tags
2022-05-31 16:53:03 -04:00
Joe Bryan
8b8612604c Merge branch 'next/vere' into jb/next-rc
* next/vere:
  vere: fixes -X scry/export (broken in previous refactoring)
2022-05-31 16:46:31 -04:00
Joe Bryan
534999844a vere: disable printfs on failed requests to $version/next 2022-05-31 14:42:57 -04:00
Joe Bryan
082f07474d vere: create $pier/.bin/pace automatically 2022-05-31 12:04:16 -04:00
Joe Bryan
45e3609da7 vere: trim trailing whitespace from pace file 2022-05-31 12:03:19 -04:00
Joe Bryan
c2d9d88558 vere: fixes -X scry/export (broken in previous refactoring) 2022-05-31 11:05:42 -04:00
fang
ac90c2a602
Merge pull request #5812 from urbit/m/eof-syntax-error
clay: render syntax errors at end of file
2022-05-31 16:58:46 +02:00
fang
e9a0c8543e
Merge pull request #5811 from ynx0/patch-1
eyre: Modify landing title from "OS1" to "Urbit"
2022-05-31 16:56:15 +02:00
fang
7a110db60d
clay: render syntax errors at end of file
Previously, if the pointer for a syntax error pointed to the end of the file
(and the file ended in a newline) the code snippet rendering would try to
display a line _beyond_ the end of the file, causing a crash.

Here, we detect that case, and display `<<end of file>>` instead.
2022-05-30 16:08:59 +02:00
Yaseen
c94fea25da
eyre: Modify landing title from "OS1" to "Urbit" 2022-05-29 16:22:20 -04:00
David Farrell
43b2481bdf pkg: default test everything under /=base=/tests
Checks if args is empty and if so, sets the test path to /=base=/tests.
2022-05-27 21:23:16 -04:00
David Farrell
09fdc43e6b pkg: -test shouldn't require a list of paths
Changes the test command to check if args contains a single path and
wraps it in a list. Now a test thread can be started without providing
a list:

  -test %/tests/lib

And passing a list still works:

  test %/tests/lib ~

One nit in this change is the lark expression to reach into args: if
args is ~ then instead of getting a useful need/have error, the test
ends in a "false-start". Perhaps this could be fixed by detecting ~
and setting it to %/tests.
2022-05-27 21:23:16 -04:00
Joe Bryan
dbc61c360b vere: trim trailing whitespace from pace file 2022-05-27 12:27:14 -04:00
Joe Bryan
dcb057d6b6 vere: bumps version to 1.9-rc4 2022-05-26 15:18:44 -04:00
David Farrell
d74852eaa1 pkg: don't silently skip non %tests/ test arms
No longer strips "%tests" from the beginning of test filepaths.

Fixes [#5803](https://github.com/urbit/urbit/issues/5803)
2022-05-26 13:50:17 -04:00
Liam Fitzgerald
d22c530f63 @urbit/http-api: update tests 2022-05-26 09:26:10 -05:00
Liam Fitzgerald
f50de24521 @urbit/http-api: surface mark of updates 2022-05-26 09:15:51 -05:00
Joe Bryan
5cb745e31c Merge branch 'next/arvo' into jb/next-rc
* next/arvo: (435 commits)
  vere: backs out overly zealous path canonicalization assertions
  clay: update tests
  vere: bump version to 1.9-rc3
  vere: bump version to 1.9-rc1
  clay: add logging commands
  ames: fix comet communication with breached ship
  pill: multi-brass
  clay: don't add lobe to wire to avoid flow leak
  ames: handle +call moves if re-evolving from larva
  clay: add tomb scry
  clay: make trim clear ford cache
  clay: progress download when receiving tombstone
  clay: fetch entire latest foreign commit
  clay: don't require head of foreign desks
  clay: fixes
  clay: tweaks from walkthrough
  ames: indent
  ames: start drainage timer if regressed from adult
  clay: re-export page to not break apps
  clay: fix stack while building directories
  ...
2022-05-26 02:16:20 -04:00
Joe Bryan
5787a4d55f Merge branch 'next/vere' into jb/next-rc
* next/vere:
  urcrypt: correct parameter ordering in urcrypt_ed_veri()
  u3: comment use of X macro in interpreter
  u3: unify interpreter opcode information using X macro
2022-05-26 02:15:54 -04:00
Joe Bryan
a4c58f2515 vere: fixes function comments in main.c 2022-05-26 01:49:06 -04:00
Joe Bryan
11b50a786b vere: adds vere/fetch-vere subcommand for downloading a binary 2022-05-26 01:49:06 -04:00
Joe Bryan
2643ee9405 vere: adds dock subcommand for copying binary into pier 2022-05-26 01:49:03 -04:00
Joe Bryan
e473beef41 vere: adds -a/--arch option to next subcommand 2022-05-26 01:48:58 -04:00
Joe Bryan
afd3fd19d1 vere: improves error handling in binary download 2022-05-26 01:48:58 -04:00
Joe Bryan
3ef8404522 vere: refactors getting next version string 2022-05-26 01:48:53 -04:00
Joe Bryan
f609bca531 vere: address review comments for upgrade functions 2022-05-25 22:34:42 -04:00
Joe Bryan
87e25a6a41 vere: refactors binary copy on boot to use hardcoded pace 2022-05-25 22:09:46 -04:00
Joe Bryan
0aa09ba7cb vere: refactors macros for binary alias ($pier/.run) 2022-05-25 22:08:16 -04:00
Joe Bryan
f4aeb62896 nix: vere is always built for a pace 2022-05-25 21:52:09 -04:00
Joe Bryan
7d99acdec8 vere: corrects base url for binary download 2022-05-25 18:56:45 -04:00
Joe Bryan
f5366338a5 vere: hack around linux crash on libuv cleanup 2022-05-25 18:56:45 -04:00
Joe Bryan
176fc1b029 vere: refactors binary download, prevents overwriting existing binaries 2022-05-25 18:56:39 -04:00
Joe Bryan
d1f80b4e3a vere: retries read/write errors when copying binaries 2022-05-25 18:17:46 -04:00
Joe Bryan
c717b8b5ed vere: supports subcommands via $pier/.run cmd 2022-05-24 09:59:43 -04:00
Joe Bryan
c78f6e98ba vere: implements prep (for upgrade) subcommand 2022-05-24 09:59:39 -04:00
Joe Bryan
b9404c32e3 vere: implements --no-dock to disable binary copying/linking 2022-05-24 09:59:39 -04:00
Joe Bryan
05b817a207 vere: only define actively used architecture strings 2022-05-24 09:59:39 -04:00
Joe Bryan
ed234bfd41 vere: switches upgrade to subcommand (next instead of --next) 2022-05-24 09:59:33 -04:00
Joe Bryan
c7f970fb7b vere: adds mass as synonym for grab subcommand 2022-05-23 17:04:48 -04:00
Philip Monk
5b773723b3 Merge remote-tracking branch 'origin/yu/ames-fixes' into next/arvo 2022-05-20 22:52:00 -07:00
Joe Bryan
d2f24b4a93 vere: plugs leak, notes TODOs 2022-05-21 01:14:29 -04:00
Philip Monk
f674e8db14 Merge remote-tracking branch 'origin/jb/path-insanity' into philip/tomb 2022-05-20 21:49:45 -07:00
Joe Bryan
86002baa4a vere: backs out overly zealous path canonicalization assertions 2022-05-21 00:47:48 -04:00
Philip Monk
ac64f44538 clay: update tests 2022-05-20 20:03:34 -07:00
Philip Monk
01965eed21 vere: bump version to 1.9-rc3 2022-05-20 17:43:44 -07:00
Philip Monk
c3b48e3c6e vere: bump version to 1.9-rc1 2022-05-20 17:06:04 -07:00
Philip Monk
b914fbaedc clay: add logging commands 2022-05-20 17:01:50 -07:00
Joe Bryan
5036d53834 vere: copy binary instead of link on boot 2022-05-20 15:15:04 -04:00
Joe Bryan
302024330c vere: get binary self-path with whereami lib 2022-05-20 12:58:39 -04:00
Philip Monk
f16abbd992 ames: fix comet communication with breached ship 2022-05-19 20:20:00 -07:00
Joe Bryan
a8a4393f92 vere: temporarily "vendors" whereami lib 2022-05-19 13:34:10 -04:00
Joe Bryan
c70e8ed167 vere: copy argv[0] before calling dirname() 2022-05-19 09:29:40 -04:00
Joe Bryan
a9233493d3 vere: compat: link binary at $pier/.run.exe on windows 2022-05-19 09:29:13 -04:00
Joe Bryan
baf690c85a vere: compat: polyfill link() on windows 2022-05-19 09:28:55 -04:00
Philip Monk
7f63f548f5 clay: don't add lobe to wire to avoid flow leak 2022-05-18 20:54:10 -07:00
Philip Monk
637e2c1ff8 Merge remote-tracking branch 'origin/master' into philip/tomb 2022-05-18 20:31:32 -07:00
Joe Bryan
45d4c5ef68 vere: link binary on boot 2022-05-18 15:53:05 -04:00
Joe Bryan
f97e186e61 vere: refactor _king_get_vere() 2022-05-18 15:53:05 -04:00
Joe Bryan
c5269773d5 vere: implements upgrade 2022-05-18 15:52:45 -04:00
yosoyubik
16920a894e Merge branch 'yu/ames-fixes' into yu/gall-rq-wire-ames-flow-kill 2022-05-18 17:37:24 +02:00
yosoyubik
c2576cdc46 ames: handle +call moves if re-evolving from larva 2022-05-18 17:36:40 +02:00
yosoyubik
fe412b1ca7 gall: remove $watches from egg/yoke
Also renames $beat to $boar so it signifies more its closeness to $boat
2022-05-18 15:27:17 +02:00
Philip Monk
201cb7290f clay: add tomb scry 2022-05-18 02:12:35 -07:00
Philip Monk
6cae525464 clay: make trim clear ford cache 2022-05-18 00:35:23 -07:00
Philip Monk
61c1e19db5 clay: progress download when receiving tombstone 2022-05-18 00:11:16 -07:00
Philip Monk
4051d182ee clay: fetch entire latest foreign commit 2022-05-17 22:07:53 -07:00
Philip Monk
9548f8333a clay: don't require head of foreign desks 2022-05-17 17:06:03 -07:00
Philip Monk
9f0e8294db clay: fixes 2022-05-17 16:02:15 -07:00
Philip Monk
c440a333d3 clay: tweaks from walkthrough 2022-05-17 14:17:53 -07:00
Philip Monk
7e4ad62a51 Merge remote-tracking branch 'origin/yu/ames-fixes' into philip/tomb 2022-05-17 14:07:05 -07:00
yosoyubik
c8f50ff2e6 gall: increment nonce after leaving pre-nonce subs 2022-05-17 15:37:33 +02:00
yosoyubik
7166e4c7cf gall: skip nonce in pre-nonce subs wires 2022-05-17 14:29:13 +02:00
yosoyubik
4dae3ae3e2 ames: indent 2022-05-17 07:49:15 +02:00
yosoyubik
f81061fe40 Merge branch 'yu/ames-fixes' into yu/gall-cork-wip 2022-05-17 07:47:58 +02:00
yosoyubik
2553573be0 ames: start drainage timer if regressed from adult
This accounts for a possible race condition where ames expects a
response, but regresses into the larval state. Upon receiving the
$sign on +take, we would remain stuck as a larva. Now we check
that we have enough information to re-evolve and then start a
/larval timer to begin draining the queue.
2022-05-17 07:11:09 +02:00
Joe Bryan
55bda20abb vere: adds support for configurable release channels 2022-05-16 20:34:17 -04:00
Joe Bryan
89955af8a8 vere: fixes up get next version 2022-05-16 18:47:01 -04:00
Joe Bryan
0eb4d3319c vere: support restarting with implicit pier (at $pier/.run) 2022-05-16 13:10:04 -04:00
fang
c77bee3388
webterm: include utility for highlighting renders
Flashes areas of the screen that get redrawn by blits a bright pink.
Doesn't behave quite right in some scenarios (where the first blit isn't
a cursor movement, or there is a %nel at the end of the buffer), but
works sufficiently for the common cases.
2022-05-16 15:56:33 +02:00
yosoyubik
586fecef10 gall: add %gn to scry the nonce of a subscription 2022-05-16 10:27:36 +02:00
yosoyubik
20a5f0701c app: remove nonce from dbug and spider 2022-05-16 10:27:27 +02:00
yosoyubik
83356f02ca gall: add $beat map for subscription nonces
Previously we stored the nonce in $boat, which changed the $bowl of each
agent. This compiles and all agents reload, but more testing is needed.
It also renames inbound/outbound watches to $bitt/$boat.
2022-05-16 09:13:40 +02:00
fang
5c23b3fdb9
webterm: ensure content under cursor is visible 2022-05-15 19:01:02 +02:00
yosoyubik
a1dcc5a8cd gall: print trace logs by agent
This uses the same patterns found in %ames. We add an %odd flag
for logs related to the gall-rq PR, and leave it open for other flags
2022-05-15 17:16:18 +02:00
Philip Monk
2a38467f04 clay: re-export page to not break apps 2022-05-15 02:54:44 -07:00
Philip Monk
9c7c776fd8 clay: fix stack while building directories 2022-05-15 02:27:49 -07:00
Philip Monk
705aa18f45 vere: correctly measure .urb/put path 2022-05-15 01:20:10 -07:00
Philip Monk
d25194c7a3 arvo: reduce priority of lifecycle printfs 2022-05-14 23:59:21 -07:00
Philip Monk
0f657ebb1e conn: remove printf 2022-05-14 23:17:43 -07:00
Philip Monk
e6d61c0236 Merge remote-tracking branch 'origin/next/vere' into philip/tomb 2022-05-14 23:02:37 -07:00
Joe Bryan
e845f71b89 jets: plug leak in (slaw %p ...) 2022-05-14 22:54:35 -07:00
Philip Monk
c091ec92eb various: make all files build correctly 2022-05-14 22:49:10 -07:00
Philip Monk
f41cfa112e tests: fix various 2022-05-14 22:05:39 -07:00
Philip Monk
9c7e30bab5 test: align output
H/t @sigilante
2022-05-14 21:27:01 -07:00
Philip Monk
8a2eac7c70 Merge remote-tracking branch 'origin/ted/ames-prod-2' into philip/tomb 2022-05-14 21:17:10 -07:00
Philip Monk
c9a8933628 Merge remote-tracking branch 'origin/lf/eyre-mark-desk' into philip/tomb 2022-05-14 21:04:26 -07:00
Philip Monk
98808a5f19 Merge branch 'pr' into philip/tomb 2022-05-14 21:00:40 -07:00
Philip Monk
00d180c008 Merge branch 'pr' into philip/tomb 2022-05-14 20:59:33 -07:00
Philip Monk
2e31f87068 Merge branch 'pr' into philip/tomb 2022-05-14 20:59:01 -07:00
Philip Monk
265ff532e7 Merge remote-tracking branch 'origin/lf/signed-js-parser' into philip/tomb 2022-05-14 20:53:35 -07:00
Philip Monk
e457a4c15e Merge remote-tracking branch 'origin/jm/homebase' into philip/tomb 2022-05-14 20:46:09 -07:00
Philip Monk
915dc733f5 Merge remote-tracking branch 'origin/m/buclus' into philip/tomb 2022-05-14 20:39:51 -07:00
Philip Monk
8f96e8402b Merge remote-tracking branch 'origin/jo/lull-bump' into philip/tomb 2022-05-14 20:36:14 -07:00
Philip Monk
90a9ed951c Merge remote-tracking branch 'origin/next/arvo' into philip/tomb 2022-05-14 20:36:05 -07:00
Philip Monk
c0c5120384
Merge pull request #5752 from jfranklin9000/next/arvo
vat: add +vat, a single-desk version of +vats
2022-05-14 20:32:09 -07:00
Philip Monk
0ef9570f06 eth-watcher: fix upgrade 2022-05-14 20:28:56 -07:00
Philip Monk
d50d3915b8 Merge remote-tracking branch 'origin/yu/ames-fixes' into philip/tomb 2022-05-14 19:28:30 -07:00
Philip Monk
6f46e483d0 Merge remote-tracking branch 'origin/yu/azimuth-kick' into philip/tomb 2022-05-14 19:27:45 -07:00
Philip Monk
c029495ac5 helm: emit moon-breach in new event 2022-05-14 19:04:13 -07:00
fang
dc81adb735
webterm: send simple keystrokes simply
%txt should be reserved for chunks of pasted text and other
non-keystroke text inputs. Perhaps at a later point in time we'll handle
paste events explicitly, letting this be more accurate.
2022-05-15 01:13:54 +02:00
yosoyubik
350636fe2a ames: don't relay acks for naxplanations of %corks
This avoids closing a subscription prematurely, before the
server ames has had time to process the innitial %cork.
2022-05-14 10:52:45 +02:00
Liam Fitzgerald
0cb4a73e83
Merge pull request #5754 from urbit/mp/garden-css
garden: add symbolic link to css.hoon
2022-05-13 14:35:26 -05:00
Patrick O'Sullivan
f416d4d4fa landscape/grid: Prevent cen from breaking react router in grid's leap 2022-05-13 11:15:50 -05:00
yosoyubik
a347172abb ethereum: use jetted |base16 to parse hex cords 2022-05-13 07:38:17 +02:00
Philip Monk
82bd5d15b1 Merge remote-tracking branch 'origin/next/arvo' into philip/tomb 2022-05-12 20:45:20 -07:00
Philip Monk
b29865a021
Merge pull request #5662 from urbit/philip/moon-self-breach
helm: add poke to helm to allow self-breaching moons
2022-05-12 20:24:50 -07:00
Patrick O'Sullivan
4c890e86ad
Merge pull request #5759 from urbit/po/fix-add-submitted-state-for-notebook-form
groups: fix add submitted state for notebook form
2022-05-12 13:31:28 -05:00
Patrick O'Sullivan
c6b9089c6a groups: add submitted state for notebook form 2022-05-12 10:31:29 -05:00
Patrick O'Sullivan
39274892e2 groups: fix link to DM from participants list 2022-05-12 09:43:55 -05:00
yosoyubik
7fc5177602 azimuth: restart %eth-watcher if not running 2022-05-12 07:14:26 +02:00
Hunter Miller
5a946c666b Merge branch 'master' into next/groups 2022-05-11 11:44:52 -05:00
Hunter Miller
71aa1da3e0 Merge branch 'master' into next/landscape 2022-05-11 11:42:58 -05:00
Hunter Miller
80fa2ebf80 Merge branch 'next/npm' 2022-05-11 11:42:30 -05:00
Philip Monk
e66b6b6a16 kiln: use %only-that for vats merges 2022-05-10 20:38:57 -07:00
Philip Monk
833c413cbb vere: add low water mark debug printf 2022-05-10 20:33:48 -07:00
Philip Monk
32ff1417a7 clay: only maintain mime cache if mounted 2022-05-10 20:33:01 -07:00
Philip Monk
3b0c2dac9c clay: validate files in separate roads 2022-05-10 20:32:11 -07:00
Philip Monk
7f573cb357 clay: tweak |mass output 2022-05-10 03:24:58 -07:00
Philip Monk
3f211f8ab9 vere: bump kelvin to 329/418 2022-05-10 03:24:27 -07:00
Philip Monk
27a4a9584f hoon: in molds, unify result with input 2022-05-10 01:01:25 -07:00
Philip Monk
8e2720cd0e Merge remote-tracking branch 'origin/yu/azimuth-kick' into philip/tomb 2022-05-09 22:36:28 -07:00
Philip Monk
c76214b226 Merge remote-tracking branch 'origin/next/arvo' into philip/tomb 2022-05-09 22:36:19 -07:00
rcrdlbl
d0994cb855 passed oembed as prop 2022-05-10 01:15:45 -04:00
drbeefsupreme
959906e69c
doccords: unit test for chapter dox 2022-05-09 16:45:16 -04:00
drbeefsupreme
715d0f3793
doccords: unit test for core dox 2022-05-09 16:01:32 -04:00
Matilde Park
7c646417b6 base-dev: add css.hoon, switch others to symlink 2022-05-09 12:41:50 -07:00
Liam Fitzgerald
2fd26e2141 Merge remote-tracking branch 'origin/master' into next/landscape 2022-05-09 14:40:04 -05:00
drbeefsupreme
3d701f79c4
doccords: unit tests for arm dox 2022-05-09 14:57:43 -04:00
yosoyubik
76ddc359f5 ames: fixt 6-to-7 state update 2022-05-09 14:17:27 +02:00
yosoyubik
a2b771f704 Merge branch 'yu/ames-fixes' into yu/gall-cork-wip 2022-05-09 14:16:07 +02:00
yosoyubik
5d6b2d8997 ames: fix 4-to-5 state migration 2022-05-09 14:13:51 +02:00
Matilde Park
fb63f840cc garden: add symbolic link to css.hoon 2022-05-08 16:42:19 -07:00
yosoyubik
da4de1579d eth-watcher: discard future pend-logs in watchdog
If there were pending-logs in an existing watchdog that was not fully
restarted, and the number of the starting block is newer than the first
in pending, when starting a new thread, those logs will be carried over
to the new thread, which will then be re-downloaded and will fail to be
verified in /lib/naive
2022-05-08 09:43:30 +02:00
yosoyubik
79d0129401 azimuth: use %kick poke to restart subscriptions 2022-05-07 16:27:04 +02:00
John Franklin
43db356619 show-vat: change output formatting to match +vats 2022-05-07 03:16:30 -05:00
John Franklin
3d9f0c6414 vat: add +vat, a single-desk version of +vats 2022-05-07 02:20:44 -05:00
Peter McEvoy
daf7edd86f urcrypt: correct parameter ordering in urcrypt_ed_veri() 2022-05-06 22:57:57 +00:00
rabsef-bicrym
a7c5104f46
Solve #5706 - Create vase at each branch of t.t.t.t.path
#5706 describes an issue with using `!>` higher up in `graph-store` where multiple types are potentially included in the vase's construction, resulting in a type of `?((unit time) update-log:store)` when scrying the internals - no fun!
2022-05-06 13:42:11 -07:00
yosoyubik
a278b63c66 ames: add tracing printf 2022-05-06 09:47:19 +02:00
rabsef-bicrym
5921f1f6fe
a concession for sipfyn-pidmex 2022-05-05 21:33:41 -07:00
rabsef-bicrym
9041855acb
couple other things I didn't like or got wrong, sorry. 2022-05-05 12:01:06 -07:00
rabsef-bicrym
5256280b42
correcting aesthetic points 2022-05-05 11:58:18 -07:00
Peter McEvoy
72bc029914 u3: comment use of X macro in interpreter 2022-05-05 18:30:39 +00:00
rabsef-bicrym
2a778a5963
Add -get-dudes to %garden - expose running agents
Allow an interface to scry for running agents from core functionality, through `%garden` desk.
2022-05-05 11:29:42 -07:00
yosoyubik
6318aa283b ames: retry sending a %cork if publisher is behind 2022-05-05 14:04:18 +02:00
yosoyubik
06883b617e ames: add new state version in +stay 2022-05-05 13:00:23 +02:00
rcrdlbl
a00e0c9406
Merge branch 'next/groups' into groups/embed-fix 2022-05-05 04:06:26 -04:00
rcrdlbl
de03f888cd placed async fallback one level up on RemoteContent and LinkBlockItem 2022-05-05 03:46:31 -04:00
Philip Monk
591bdf458c Merge branch 'next/arvo' into philip/tomb 2022-05-04 00:45:57 -07:00
Philip Monk
4760e4e158 clay: fix |pick 2022-05-04 00:22:00 -07:00
Philip Monk
36640afaa0 clay: add |pick 2022-05-03 22:58:40 -07:00
Philip Monk
c995f04474 clay: comment 2022-05-03 22:09:36 -07:00
Philip Monk
53353cde11 clay: add %sweep scry to verify refcounts 2022-05-03 21:59:56 -07:00
Joe Bryan
4d25a0577d vere: implements check for next version 2022-05-03 22:29:50 -04:00
Philip Monk
d59fb3a82b clay: address review comments 2022-05-03 19:17:39 -07:00
Joe Bryan
b8a2db81dc vere: factors out generic curl get from pill download 2022-05-03 21:08:48 -04:00
Philip Monk
a3a2934d53 clay: add dependencies to stack on sprig hit 2022-05-03 16:47:48 -07:00
Philip Monk
c96e5bbf09 clay: reduce printfs 2022-05-03 16:20:36 -07:00
Philip Monk
7e17ae25fb clay: rename poor->mist 2022-05-03 16:17:28 -07:00
Peter McEvoy
5cd72d7052 u3: unify interpreter opcode information using X macro 2022-05-03 21:40:46 +00:00
Philip Monk
71d4f72ce1
Merge pull request #5647 from urbit/roller/batch-split
roller: add batch-trimming functionality
2022-05-03 14:34:12 -07:00
yosoyubik
3a3be391e3 Merge branch 'master' into yu/gall-rq-wire-ames-flow-kill 2022-05-03 14:07:39 +02:00
yosoyubik
53e1c86833 Merge remote-tracking branch 'origin/yu/ames-fixes' into yu/gall-rq-wire-ames-flow-kill 2022-05-03 13:57:39 +02:00
yosoyubik
ec60399cdf ames: restore previous +decode-shut-packet 2022-05-03 12:49:10 +02:00
yosoyubik
3f7f4dbd5a gall: handle %kicks for nonexistent subscriptions 2022-05-03 12:49:10 +02:00
yosoyubik
a288d455c3 ames: remove %cork from |ack-meat 2022-05-03 12:49:10 +02:00
yosoyubik
c380cf3f42 gall: add %cork to remote-request action 2022-05-03 12:49:10 +02:00
yosoyubik
0a96d69785 gall: include sub-nonce in unsubscribe wire 2022-05-03 12:49:10 +02:00
yosoyubik
674c9e95a0 gall: style indentation 2022-05-03 12:49:09 +02:00
yosoyubik
8be9257164 ames: style indentation 2022-05-03 12:49:09 +02:00
yosoyubik
52ef6ba08e ames: handles decoding old-format shut-packets 2022-05-03 12:49:09 +02:00
h5gq3
c95cce4404 style fixes 2022-05-03 12:49:09 +02:00
h5gq3
5583fc1320 ames-flow-kill 2022-05-03 12:49:09 +02:00
Ted Blackman
fdd2067e75 gall: review cleanups 2022-05-03 12:49:09 +02:00
Ted Blackman
9582307713 dbug: fix type error from nonce change 2022-05-03 12:49:09 +02:00
Ted Blackman
edf5ec9123 gall: upgrades almost smoothly 2022-05-03 12:49:09 +02:00
Ted Blackman
c63732cd77 dbug,spider: fix type errors; ship boots 2022-05-03 12:49:08 +02:00
Ted Blackman
a4ae79e794 gall: compiles with nonce in wire 2022-05-03 12:49:08 +02:00
yosoyubik
0252d71553 gall: WIP added sub-nonce to state and wire 2022-05-03 12:49:08 +02:00
Philip Monk
53a417dc43 clay: add sprig cache 2022-05-03 01:32:40 -07:00
Philip Monk
21cc132884 clay: rename ford-cache->flow 2022-05-03 00:17:30 -07:00
Hunter Miller
2b8ad871bb
Merge pull request #5738 from urbit/mp/grid/shortcode-redirects
grid: pasting shortcodes redirects to app page
2022-05-02 10:46:17 -05:00
Hunter Miller
96e28f91d2
Merge pull request #5729 from afincato/lr-group-link-fix
Fix proposal for Groups: embeds break formatting context and more
2022-05-02 10:04:51 -05:00
Hunter Miller
2af6aece3b
Merge pull request #5722 from urbit/lf/exorcise-set
interface: update ChannelPermissions to use arrays
2022-05-02 09:59:26 -05:00
Hunter Miller
62c316225e
Merge pull request #5723 from urbit/lf/fix-group-chats
landscape: fix automatically watching group chats
2022-05-02 09:59:18 -05:00
Hunter Miller
b5ea34dab2
Merge pull request #5724 from urbit/lf/dangling-group
landscape: remove new group from group-view on leave
2022-05-02 09:59:12 -05:00
Philip Monk
8bab16d448 clay: remove -k arms 2022-05-01 17:03:17 -07:00
Philip Monk
0b72164740 clay: remove +build-leak 2022-05-01 16:36:45 -07:00
dkmike
a008bc8c04 build: fix after rebase 2022-05-01 21:20:38 +03:00
dkmike
c42b1f679e build: resurrect the openbsd build 2022-05-01 21:15:29 +03:00
Philip Monk
c2754662b8 clay: new ford cache 2022-05-01 03:54:03 -07:00
André Fincato
4a5e059436 groups: fix linting errors 2022-04-30 13:18:06 +02:00
André Fincato
4d80c3f2cd groups: wrap bare link in list-item in p node for better typography 2022-04-30 13:03:58 +02:00
Philip Monk
7219b7e58f clay: collapse version 12 into 11 2022-04-29 20:44:42 -07:00
Philip Monk
8016c66fab lull: bump app kelvins to 418 2022-04-29 19:25:00 -07:00
Philip Monk
d2e9d94dc4 Merge remote-tracking branch 'origin/master' into next/arvo 2022-04-29 19:15:49 -07:00
Philip Monk
5a5de05518 clay: enable mounting revisions of desks 2022-04-29 18:50:30 -07:00
Philip Monk
a7eaddfdc7 clay: remove ankh
ankh was a cache of the current validated blobs, which is no longer
necessary
2022-04-29 17:29:50 -07:00
Philip Monk
0e037ece92 Merge remote-tracking branch 'origin/master' into philip/tomb 2022-04-29 16:28:52 -07:00
Philip Monk
60950ade08 clay: cleanup 2022-04-29 15:05:53 -07:00
Philip Monk
8d2ddfd467
Merge pull request #5671 from urbit/jon/l2-csv
L2 transaction gas costs csv thread
2022-04-29 14:53:29 -07:00
rcrdlbl
00de041625
Merge branch 'next/groups' into groups/embed-fix 2022-04-28 18:45:25 -04:00
rcrdlbl
d657dafbd9 applied patch from @arthyn 2022-04-28 18:28:28 -04:00
Patrick O'Sullivan
243ca58f88
Merge pull request #5737 from urbit/po/fix-for-iswriters-func-in-groups
Po/fix for iswriters func in groups
2022-04-28 10:11:07 -05:00
yosoyubik
1f76be7f4b docket: add comment 2022-04-28 10:10:14 +02:00
yosoyubik
09abf95027 docket: fix inflate-cache in on-load 2022-04-28 10:02:58 +02:00
rcrdlbl
d7221f0c66 modified embed state to avoid race condition 2022-04-27 20:04:02 -04:00
Patrick O'Sullivan
1a11d797ea
Merge pull request #5736 from urbit/po/fix-for-iswriters-func
npm: fix issue caused by set var in groups/lib.ts
2022-04-27 14:45:06 -05:00
Patrick O'Sullivan
67aa4565f1 Merge branch 'master' into next/npm 2022-04-27 14:44:27 -05:00
yosoyubik
bb02368546 docket: force uninstall %hodl agent 2022-04-27 18:52:23 +02:00
Hunter Miller
e96031bf2d
Merge pull request #5741 from urbit/hm/fix-libraries-dist
npm: fix libraries module setup
2022-04-27 11:26:03 -05:00
Hunter Miller
243a7dd22a api: make same dist updates as http-api 2022-04-27 11:17:57 -05:00
yosoyubik
9bb844ada9 docket: force a |rein %base prior to fixing #5667 2022-04-27 14:10:24 +02:00
yosoyubik
02806f63a1 ames: hardcode rift for comets in state upgrade 2022-04-27 06:24:55 +02:00
David Farrell
759a579fba groups: don't double sig the planet name on copy
The copy function copies ~~zod instead of ~zod to the clipboard. This
removes the extra sig from the copy routine via deSig() incase the ship
string has no leading sig.

Fixes
[urbit/landscape#1434](https://github.com/urbit/landscape/issues/1434).
2022-04-26 21:10:01 -04:00
Matilde Park
b8fca68db6 grid: pasting shortcodes redirects to app page
Current behaviour when pasting, eg. `~paldev/pals` is to show the list
of all apps by ~paldev, even though the URL knows we're looking for pals
(eg. `/~paldev/apps/pals`). By reconstructing the URL to include the
host and desk twice, we can redirect straight to the app prompt, as
that's where that route exists.
2022-04-26 15:25:09 -07:00
Patrick O'Sullivan
931040b6e3 groups: bump api version 2022-04-26 13:44:43 -05:00
Patrick O'Sullivan
35a224137a npm: fix issue caused by set var in groups/lib.ts 2022-04-26 13:42:18 -05:00
yosoyubik
79af26fc3c azimuth: revert azimuth change in 60cc44e 2022-04-26 18:36:48 +02:00
Joe Bryan
92657762ed vere: stubs out --next upgrade flag 2022-04-22 22:03:00 -04:00
Joe Bryan
1c6feb7b0f
Merge pull request #5708 from urbit/m/bout-format
u3: improve %bout time printing
2022-04-22 21:59:07 -04:00
Joe Bryan
ab0381447c
Merge pull request #5717 from urbit/jb/one-vere
vere: removes urbit-worker
2022-04-22 21:58:45 -04:00
Philip Monk
ac6e793aa2 arvo: rename +de to +of 2022-04-22 17:55:42 -07:00
Joe Bryan
36f284c548 vere: refactors serf i/o initialization 2022-04-22 16:45:28 -04:00
Joe Bryan
618f92360a vere: restores ctrl-c on windows, fixes latent handle precision bug 2022-04-22 16:32:56 -04:00
rcrdlbl
d57acf1b58 useEmbed logic moved up one level 2022-04-22 10:45:39 -04:00
yosoyubik
9cb425e0ef ames: remove unused ames-to-ames %plea logic
This seems to have been used in the past for pinging the ship's
sponsor, but was later removed when the :ping app was introduced
2022-04-22 15:49:15 +02:00
yosoyubik
087f24e931 ames: use +trace to print logs 2022-04-22 12:29:16 +02:00
yosoyubik
e2f8e21529 ames: remove sigwut 2022-04-22 12:26:53 +02:00
yosoyubik
471b9be22d ames: fix emit of parsing old wire log 2022-04-22 12:26:24 +02:00
yosoyubik
91435a92ca ames: don't drop events with old wires
Previously we were dropping events that used old
wires that lacked a rift in them. This seems a
bad behavior because we don't want to destroy a
flow that has not been processed by both ends.

Note: pending a fix to test-old-ames-wire
2022-04-22 12:26:14 +02:00
yosoyubik
6cdebea1af ames: address review 2022-04-22 12:26:08 +02:00
yosoyubik
60cc44e961 ames: fix cached state in larval upgrade 2022-04-22 12:26:02 +02:00
yosoyubik
1b01455fe5 ames: fix dangling-bone error 2022-04-22 12:25:55 +02:00
Joe Bryan
7cd05b2bf9 vere: adds runtime status endpoint (reflecting current spinner state) 2022-04-21 15:26:17 -04:00
Joe Bryan
7741179c02 vere: refactors http request socket stealing 2022-04-21 15:25:55 -04:00
Joe Bryan
75b5f51a45 vere: temporarily disables ctrl-c on windows 2022-04-20 22:43:01 -04:00
Joe Bryan
9b947a7159 vere: removes obsolete windows binary extension handling 2022-04-20 22:43:01 -04:00
Hunter Miller
d26817d1e1
Merge pull request #5720 from 0x70b1a5/next/groups
Images should use -webkit-optimize-contrast.
2022-04-20 12:54:25 -05:00
Hunter Miller
2cb36bfbfb
Merge pull request #5713 from dnmfarrell/dnmfarrell/set-messages-title
groups: set the right title for messages
2022-04-20 12:50:15 -05:00
Hunter Miller
a0a0a9c2ff
Merge pull request #5728 from dillon/dp/fix-edit-profile
groups: fix edit profile
2022-04-20 12:48:09 -05:00
fang
4415aa781e
Merge branch 'next/arvo' into m/aqua-revival 2022-04-20 18:47:59 +02:00
Hunter Miller
fd6aa680be
Merge pull request #5718 from urbit/hm/s3-v4-signatures
s3: adding v4 signatures for updated compatibility
2022-04-20 11:32:11 -05:00
Hunter Miller
1cb4268851
Merge branch 'next/groups' into next/landscape 2022-04-20 10:31:14 -05:00
Hunter Miller
8aaeeef405 Merge branch 'master' into next/landscape 2022-04-20 10:16:56 -05:00
Hunter Miller
3e38e6c4f7 http-api: updating dist to be more compatible with node 2022-04-20 10:00:46 -05:00
Philip Monk
dfd4fc1028 clay: wip 2022-04-19 20:03:32 -07:00
Hunter Miller
25988742f2 Merge branch 'next/landscape' of github.com:urbit/urbit into next/landscape 2022-04-19 14:51:08 -05:00
André Fincato
2f7bc1e847 groups: fix blockquote to work also in notebook
previous code was assuming too much the context of the data structure.
in chat the AST works on a single node base (?), in notebook on a
multi node base.

this commit move the previous code from inside the single stitch function to
the area where the final AST is stitched together.
2022-04-19 15:16:31 +02:00
tomholford
2d3e803704 devex: improved resize behavior
- only resize when necessary (check the container's height)
- refactor CSS: use position relative / absolute to stack Buffers instead of display:none; this affects the calcuations used by fit()
- fix dark mode styles, tweak viewport height (100vh --> 99vh) to prevent overflow scroller
2022-04-19 03:41:40 -07:00
André Fincato
5634e08da5 groups: set font-size=1 to list block
this set the correct size to a list item which contains for eg only a
link child (as link child has the prop  fontSize="inherit").
2022-04-19 09:04:42 +02:00
André Fincato
db6130146b groups: avoid extra node in plain link URL
This still leaves an empty root node which does not take up visual
space though. A more comprehensive approach would be to filter out
plain URL links from the graph, eg from the function

```
t[1].children.map(c => {
    if (c?.children) {
      let links = [];
      c.children.filter(k => {
        if (k.type === 'link') {
          links.push({
            type: 'root',
            children: [
              {
                type: 'graph-url',
                url: k.url
              }
            ]
          })
        }
      })

      c.children.push(...links);
    }
  });
```
2022-04-19 09:04:19 +02:00
André Fincato
dedacabb53 groups: add graph-url block below plain URL block
this commit suggests a possible UI to put back the rich embed URL
right below (aka in context) the block where the plain URL has been
inserted. in this way when pasting a URL the formatting does not break
and yet a richer UI is still rendered.
2022-04-19 09:03:58 +02:00
André Fincato
96482ca99c groups: correctly display blockquote content in full
as of now, a blockquote would discard any other content after
a URL and would put it on a new line.

eg '> some text https://urbit.org this is urbit' would be rendered as

```
> some text https://urbit.org

this is urbit
```

this commit joins all content inside of a blockquote as one block.
2022-04-19 09:03:41 +02:00
André Fincato
0a03e44632 groups: convert URL from graph-url to plain link
this change removes rich embed URLs in order to not break text flow. eg
when writing a sentence with a URL, before this commit the UI would
display the URL as its own block on a new line, plus anything
afterwards it (originally on the same line of text), would be
displayed on a new line as well.
2022-04-19 09:02:53 +02:00
André Fincato
f03397f301 groups: don't render plain URL 2022-04-19 09:02:12 +02:00
dillon
89498e7b3a groups: fix edit profile
Adds async/await to prevent pokes from being interrupted by a premature route change in the profile  page.
2022-04-18 18:40:24 -04:00
yung calibri
c70ca0ad10 fixup! interface: tweak LinkDetail flex distribution 2022-04-18 15:37:43 -04:00
yung calibri
4481660842 interface: tweak LinkDetail flex distribution 2022-04-18 15:30:09 -04:00
yung calibri
99396e8133 interface: fix double border in LinkDetail 2022-04-18 15:01:03 -04:00
yung calibri
f0a1724d97 interface: fix LinkBlockItem border parameters 2022-04-18 14:56:42 -04:00
yung calibri
2f08d07527 fixup! interface: fix centering in LinkBlockItem summary 2022-04-18 14:52:51 -04:00
yung calibri
72efd56b0b interface: fix centering in LinkBlockItem summary 2022-04-18 14:51:27 -04:00
yung calibri
31db409674 Merge branch 'next/landscape' of https://github.com/urbit/urbit into next/landscape 2022-04-18 13:17:56 -04:00
rcrdlbl
a24bda481c fixes infinite loop in high-embed collections 2022-04-16 18:43:47 -05:00
Liam Fitzgerald
bf023ff874 landscape: remove new group from group-view on leave
This fixes "ghost groups" if you leave a group soon after joining
2022-04-15 15:46:21 -05:00
Liam Fitzgerald
b5296efbe9 landscape: fix automatically watching group chats
Adds functionality in %group-view and -group-create to automatically
watch group chats when created. This appears to have gotten lost around
the time of the hark-graph-hook and group-view rewrite
2022-04-15 15:33:23 -05:00
Liam Fitzgerald
2784bedb68 interface: update ChannelPermissions to use arrays
A previous change updated group state to use arrays instead of sets, due
to the ease of (de)serialisation. This was not total, and resulted in a
bug in the ChannelPermissions component
2022-04-15 14:52:49 -05:00
fang
65f9f904c7
zuse: rewrite klr:format's +scag and +slag
The previous implementation was counting the full length of the stub
unnecessarily. Doing a single "dumb" traversal is ~40% faster.
2022-04-15 18:04:37 +02:00
yosoyubik
7bf759adb0 roller: fix parsing nonces with dot separator 2022-04-15 15:27:08 +02:00
yosoyubik
2eec24ee27 roller: make output less loud 2022-04-15 13:19:10 +02:00
0x70b1a5
3c11cd3064
Images should use -webkit-optimize-contrast. 2022-04-14 13:41:24 -04:00
Patrick O'Sullivan
c0a595ccca grid: leap: search only for ship names, not display names 2022-04-14 12:25:03 -05:00
Patrick O'Sullivan
75f1e22969 grid: Show provider nicknames next to actual ship name in leap search 2022-04-14 11:33:59 -05:00
Hunter Miller
a68342265c s3: adding v4 signatures for updated compatibility 2022-04-14 10:23:44 -05:00
tomholford
dfded5e592 ux: refactor resize behavior
- debounced resize event listener
- new Buffer#onSelect: resize, focus, and pokes `herm` with updated rows / cols
- simplify container ref implementation (no need for a callback ref), remove isOpen hack
- add lodash for debounce
- Tab#onClick no longer handles focus (it's now handled by Buffer#onSelect)
2022-04-14 07:13:09 -07:00
Joe Bryan
032ce14d86 vere: opens event log to aquire pier lock in all stateful utilities 2022-04-14 09:14:25 -04:00
tomholford
37ce741a77 deps: replace deprecated xterm#setOption
See:
https://github.com/xtermjs/xterm.js/blob/4.15.0/typings/xterm.d.ts#L1053
2022-04-14 04:52:43 -07:00
rcrdlbl
3ded98e052 removed false positive embeds 2022-04-14 05:45:39 -04:00
Philip Monk
3b337a14ce Merge branch 'philip/direct' into philip/tomb 2022-04-13 15:01:25 -07:00
Philip Monk
3a04dc3160 clay: address review comments 2022-04-13 15:00:59 -07:00
Liam Fitzgerald
a47d4b21d1 Merge remote-tracking branch 'origin/next/groups' 2022-04-13 16:04:55 -05:00
Patrick O'Sullivan
9c537f0e03 groups: Update desk.docket with new bs8b1 2022-04-13 16:00:38 -05:00
Patrick O'Sullivan
0e0b271cf3 groups: Fix circ. dep issue in safari, remove await in bootstrap 2022-04-13 15:40:18 -05:00
Liam Fitzgerald
ba50914615
Merge pull request #5661 from urbit/lf/graph-drop-logs
graph-store: drop unnecessary logs
2022-04-13 14:05:28 -05:00
drbeefsupreme
9238c3f119
naive: l2 csv remove scag on logs for testing 2022-04-13 14:10:19 -04:00
tomholford
349033fb12 ux: detect OS for hotkey instructions
Also, ensure changes from this PR are included in the session branch:
https://github.com/urbit/urbit/pull/5529
2022-04-13 08:47:30 -07:00
Philip Monk
10a2acdcc1 clay: use old requests for now when backfilling 2022-04-13 01:12:05 -07:00
Philip Monk
ce5ef26202 Merge branch 'philip/direct' into philip/tomb 2022-04-13 01:00:23 -07:00
Philip Monk
8805e0ee85 clay: convert all blobs to pages
This converts the blob store from having deltas, directs, and
tombstones, to just having direct pages.  This simplifies a lot of code,
since we don't have to constantly ensure that deltas always have their
parent available.

This removes the hardcoded text diff logic from clay, which was
previously required for bootstrapping.

Over the wire, we handle both old and new requests and responses
transparently, so communication is normal in both directions across
ships which do or do not have this change.
2022-04-13 00:35:58 -07:00
Philip Monk
bb14c495da clay: seek wip 2022-04-12 21:02:50 -07:00
Philip Monk
72fa850912 clay: don't download unneeded blobs 2022-04-12 18:31:55 -07:00
David Farrell
e7c42670e4 groups: fix no-case-declarations lint error 2022-04-12 20:27:07 -04:00
Hunter Miller
25d56c5cfd groups: fixing hash 2022-04-12 13:59:27 -05:00
Hunter Miller
649b127414 Merge branch 'master' of github.com:urbit/urbit 2022-04-12 13:40:17 -05:00
Hunter Miller
3cfc517631 groups: version bump 2022-04-12 13:40:09 -05:00
Hunter Miller
dcfcafb049 Merge branch 'next/groups' 2022-04-12 13:39:33 -05:00
Hunter Miller
b5df7cee27 Merge branch 'master' into next/landscape 2022-04-12 13:32:16 -05:00
Patrick O'Sullivan
e2eeda96c2 grid: Update glob to 090hm 2022-04-12 13:28:58 -05:00
Patrick O'Sullivan
f0a2fc5483 grid: Update glob to dtu8f 2022-04-12 13:28:34 -05:00
David Farrell
fa8e800082 groups: set the right title for messages
Replaces the title "Groups" with "Messages" for Messages pane. When the
user selects a DM pane, displays the contact ship's name/nick along with
unread notifications in the title.

Fixes [urbit/landscape#1250](https://github.com/urbit/landscape/issues/1250)
2022-04-12 11:43:19 -04:00
yung calibri
b0fe7ff4eb fix the long link layout issue 2022-04-11 21:06:47 -04:00
Jōshin
0608d7d273
Merge branch 'master' into next/vere 2022-04-11 19:22:30 -04:00
Pyry Kovanen
148c7880da
eth-watcher: remove obsolete zoom-margin handling 2022-04-11 22:15:14 +03:00
tomholford
50d120e3c1 devex: address PR feedback
- move App#initSessions definition outside function component closure
- enhance useAddSessions performance
2022-04-11 12:05:25 -07:00
fang
3deea4df0e
u3: improve %bout time printing
Now prints micro-, milli-, or full seconds, in the style of
u3a_print_memory (|mass).
2022-04-11 00:43:45 +02:00
Joe Bryan
cbfbfc3247 vere: removes all reference to urbit-worker 2022-04-09 22:52:09 -04:00
Joe Bryan
810f90c8d6 vere: adds lmdb/disk info to cmd 2022-04-09 22:48:22 -04:00
Joe Bryan
1f33b20a47 vere: removes urbit-worker 2022-04-09 22:48:16 -04:00
Joe Bryan
2d2ced0a0b vere: refactors urbit-worker argument parsing 2022-04-09 22:23:52 -04:00
Philip Monk
81574fe93c clay: add |norm 2022-04-08 21:32:14 -07:00
Philip Monk
ed00d38166 clay: add |tomb 2022-04-08 21:20:02 -07:00
Philip Monk
78d2d12cca clay; fix overly cautios tombstoning 2022-04-08 17:28:42 -07:00
Philip Monk
39b7b0a96b clay: add %tako scry 2022-04-08 16:21:19 -07:00
Philip Monk
07d8187fcc clay: allow to set norm for past revision 2022-04-08 15:50:35 -07:00
Hunter Miller
0828ae6296
Merge pull request #5704 from urbit/james/group-notifications
groups: fix join/leave notification toggle
2022-04-08 12:04:20 -05:00
Hunter Miller
a3a1b596f2
Merge pull request #5705 from urbit/james/p3-omnibus
groups: various copy and design fixes
2022-04-08 12:04:06 -05:00
James Acklin
70dcd7ab09 groups: various copy and design fixes
fixes urbit/landscape#1377
fixes urbit/landsacpe#1328
fixes urbit/landscape#1161
fixes urbit/landscape#1045
2022-04-08 11:47:55 -04:00
James Acklin
2c08d2477e groups: fix join/leave notification toggle
fixes urbit/landscape#1012
2022-04-08 10:49:10 -04:00
Patrick O'Sullivan
aef4890cf4 grid: remove notification prompt for browser settings 2022-04-08 08:19:59 -05:00
Philip Monk
d71a685b91 clay: add norm to +pick cache 2022-04-07 18:10:00 -07:00
Patrick O'Sullivan
69062f1700 groups: use path variable for mobile toggling in groupswitcher 2022-04-07 19:39:59 -05:00
Philip Monk
85fb3502c7 Merge branch 'philip/trie' into philip/tomb 2022-04-07 17:16:14 -07:00
Philip Monk
d46dc282c4 arvo: revert axal to use $ 2022-04-07 17:15:59 -07:00
Philip Monk
3096bc8991 Merge branch 'philip/trie' into philip/tomb 2022-04-07 16:31:27 -07:00
Philip Monk
6765a03cac clay: address review comments 2022-04-07 16:31:12 -07:00
Patrick O'Sullivan
9f25f74d93 groups: show group settings menu when pressing settings cog on mobile 2022-04-07 14:25:10 -05:00
Hunter Miller
59e90a0dd1
Merge pull request #5587 from rabsef-bicrym/patch-1
%depth-first has pattern-matching issue
2022-04-07 12:58:54 -05:00
drbeefsupreme
dd71b7c788
doccords: dprint debug printfs 2022-04-07 13:05:58 -04:00
drbeefsupreme
24a175a803
dojo: flop order of topics for dy-inspect
you had to search for core:arm instead of arm:core before
2022-04-07 13:05:15 -04:00
drbeefsupreme
b0230086ce
doccords: dprint chapter and overview print tweak
printing an overview only gives the summary now, not the details. also
fixed chapter printing so that it doesn't print the details twice
2022-04-07 12:55:30 -04:00
drbeefsupreme
b41b22ab70
doccords: dprint fix chapter printing 2022-04-07 12:42:55 -04:00
drbeefsupreme
7d8fabe6cf
doccords: dprint remove +shallow-match
it was factored into +find-item-in-type
2022-04-07 11:54:33 -04:00
James Acklin
bb8d0c6f58 duplicate component, sorry for the messy commit 2022-04-07 10:38:10 -04:00
James Acklin
c623bc6c36 links: image thumbnail fills entire grid item
fixes urbit/landscape#1313
2022-04-07 10:35:45 -04:00
fang
132592e32e
Merge pull request #5695 from pkova/master
eth-watcher: implement optional to-block parameter
2022-04-07 16:15:21 +02:00
fang
c4f3825f3a
aqua: revert erroneously committed changes
These changes, part of optimization experiments, had snuck in somewhere.
2022-04-07 14:39:52 +02:00
pkova
32ac7434f4 eth-watcher: implement optional to-block parameter 2022-04-07 14:24:28 +03:00
Philip Monk
6dc20bfa7f clay: trying to find %dead bug 2022-04-07 00:44:49 -07:00
Philip Monk
7482717c02 clay: make +pick fast 2022-04-06 23:16:26 -07:00
Philip Monk
84ccf60b19 clay: add gc routines 2022-04-06 21:45:30 -07:00
Philip Monk
8084200f81 clay: add norm state, remove mark from %delta blobs 2022-04-06 21:44:50 -07:00
Hunter Miller
8ad3bd7068
Merge pull request #5696 from dnmfarrell/dnmfarrell/rm-share-profile-chat
interface: remove share profile chat button
2022-04-06 16:57:47 -05:00
drbeefsupreme
7a94319af3
dojo, doccords: dprint library can take list term
this allows you to search for foo:bar instead of just foo
2022-04-06 17:37:55 -04:00
fang
13d1c28927
hoon: make manual shorthand type printing prettier 2022-04-06 23:24:43 +02:00
drbeefsupreme
0e8cf3bbfa
doccords: dprint improve default arm core docs
the logic for getting the docs on the default arm of a core is now more
similar to how other arm docs are gotten, rather than having its own
system. there is still more room for improvement
2022-04-06 16:34:02 -04:00
drbeefsupreme
2a57e85a09
hoon: comment out %note entry in +open
this was wiping out some comments buried that weren't written at the top
of an arm. not sure if this is used in another fashion that will create
issues, so I just commented it out to help remember that it used to be
there in case it needs further changes, like if I should actually skip
%know and %made notes but not %help notes
2022-04-06 16:27:07 -04:00
drbeefsupreme
33b2761b39
doccords, dojo: move flop print-arm -> dy-inspect
this looks more sensible
2022-04-06 15:50:23 -04:00
Philip Monk
a51152d1a4 clay: address review comments 2022-04-06 12:16:22 -07:00
drbeefsupreme
912a5023bb
doccords: flop order of +print-arm results 2022-04-06 14:58:28 -04:00
Philip Monk
a18f35dd16
Merge pull request #5697 from urbit/jon/await-thread-fix
strandio: fix +await-thread %thread-fail handling
2022-04-06 11:29:14 -07:00
drbeefsupreme
877fe0059e
dojo: add command to lookup doccords
syntax: `# foo` to look up foo. this is not the final form - it does not
support `# foo:bar` yet. the dprint library needs some changes first.
2022-04-06 14:02:25 -04:00
drbeefsupreme
d74bde7408
naive: l2 csv more comment spacing 2022-04-06 12:18:24 -04:00
drbeefsupreme
2ba36f97ac
naive: l2 csv remove space from line >80 char 2022-04-06 12:16:57 -04:00
drbeefsupreme
e70b036e07
naive: l2 csv correct tx-data initialization
it seemed to work correctly before, but this makes it more clear that
we're doing the right thing
2022-04-06 12:10:00 -04:00
drbeefsupreme
fe9481d9b9
naive: l2 csv remove wip comment
it's done better now
2022-04-06 11:58:21 -04:00
drbeefsupreme
d38d8ab371
naive: remove name collision for block
the face block was being used for both blocknums and [blocknum
block-dat], this makes all blocknums called blocknum instead
2022-04-06 11:55:20 -04:00
drbeefsupreme
a4250cbac0
naive: l2 csv error handling for child threads
use +mean instead of just a bare ~|
2022-04-06 11:50:44 -04:00
drbeefsupreme
76b195e4ce
naive: l2 csv style changes
no semantic differences
2022-04-06 11:44:28 -04:00
drbeefsupreme
77573850aa
Merge branch 'jon/thread-marks' into jon/l2-csv 2022-04-06 11:39:03 -04:00
drbeefsupreme
098f0b9535
strandio: fix +await-thread %thread-fail handling
we need to use ;; instead of !< since the %thread-fail mark just returns
a raw noun
2022-04-06 11:34:25 -04:00
~datnut-pollen
a7005dcddb
naive: l2 csv apply ~wicdev's style suggestions
Co-authored-by: Philip Monk <phil@pcmonk.me>
2022-04-06 10:51:07 -04:00
fang
51d252be24
ph: include missing library function 2022-04-06 16:44:08 +02:00
drbeefsupreme
a44781f47b
strandio: fix +await-thread %thread-fail handling
we need to use ;; instead of !< since the %thread-fail mark just returns
a raw noun
2022-04-06 10:42:21 -04:00
David Farrell
4f1ebe8416 interface: remove share profile chat button
Removes the "Share private profile?" text and button that appear
at the top of the chat window when the ship has not opted in to sharing
their profile.

fixes urbit/landscape#1195
2022-04-06 09:51:50 -04:00
fang
9bbf6dfad0
aqua: disable cache loading for real ships for now
It breaks some of the azimuth-related tests in a seemingly inconsistent
way, and I cannot find a way to make it work.
2022-04-06 14:52:21 +02:00
fang
fa1a04ea6e
aqua: support using real moons
Only "shortmoons" though, due to some ames lane size limitation which
makes encoding longer ships difficult.

Notably the -ph-moon-az test does not pass, the moon cannot talk to a
non-sponsor galaxy.
2022-04-06 14:51:02 +02:00
Philip Monk
4131821b4f clay: unify all trie implementations
We had trie operations independently implemented in +de in arvo,
+an:cloy in zuse, +zu in clay, lib/trie, and app/spider.  This unifies
them all into +de in arvo, aggregating the used operations.
2022-04-06 00:19:38 -07:00
Philip Monk
0f6f2d6321 clay: bump kelvin, refactor 2022-04-06 00:18:23 -07:00
Philip Monk
90a2625016 clay: style 2022-04-05 20:30:52 -07:00
Hunter Miller
c35f6f19e6 notifications: refining language, dnd prevents badge and browser notify, still get hark state 2022-04-05 19:21:44 -05:00
Hunter Miller
f246cbf32a lock: fixing sizing 2022-04-05 19:20:20 -05:00
Hunter Miller
45b5100601 dialog: fixing weird white flash from brave on window unfocus 2022-04-05 19:19:58 -05:00
Hunter Miller
f085c37ecc browser-settings: making types more robust and fixing setting clearing bug 2022-04-05 18:29:29 -05:00
fang
14f518ef4a
ph: clarify comment in moon test 2022-04-05 23:05:07 +02:00
drbeefsupreme
69399c4153
doccords: remove unwrap-note from dprint
we shouldn't be getting docs from the AST, so this should never be needed
2022-04-05 15:55:42 -04:00
drbeefsupreme
3afc9b6899
doccords: dprint all docs in %arm items from type
before this, it was grabbing the initial arm-doc from the AST rather
than the type. now %arm items have all 3 types of docs available. the
interface has been degraded somewhat though, as %arm items no longer
have a single docs field. more refactoring will be needed to figure out
the best way to do this.
2022-04-05 15:52:35 -04:00
drbeefsupreme
37a787970c
doccords: dprint refactoring and renaming 2022-04-05 15:17:57 -04:00
drbeefsupreme
6f32d107fc
hoon: doccords wrap tisfas fix
I didn't know what I was doing before, I think this is the right way to
wrap tisfas with a %note hoon.
2022-04-05 14:45:51 -04:00
drbeefsupreme
151608d583
doccords: dprint fix depth calculation
stupid loobeans tripping me up
2022-04-05 14:44:47 -04:00
drbeefsupreme
eb4b996420
doccords: dprint can dist. arm-doc and prod-doc
rewrites select-arm-docs so that it checks for nested hint types and
sees if the outermost help hint has a %funk link with the name of the
arm in order to tell that its an arm-doc
2022-04-05 12:38:02 -04:00
drbeefsupreme
063e3ed716
hoon: doccords dist. between arm-doc and prod-doc
docs written above an arm are now distinguishable in the AST from
docs written above the product of the arm, by tagging docs written
above the arm with a %funk link
2022-04-05 12:35:53 -04:00
Patrick O'Sullivan
1d7b5d648a grid: Move browser not. toggle into notification tab, remove dnd 2022-04-05 09:44:28 -05:00
Joe Bryan
212ff3a2f9 urcrypt: use new secp api for schnorr signatures 2022-04-04 19:58:22 -04:00
drbeefsupreme
6a6078b554
doccords: dprint core and chapter items
adds the ability to find cores and chapters and produce an item from them
2022-04-04 16:23:27 -04:00
Patrick O'Sullivan
0f3ba4f296 grid: Remove unnecessary space, comma from interface settings 2022-04-04 13:33:49 -05:00
Patrick O'Sullivan
ed9b58c3f9 Update copy for browsers that can't register protocols 2022-04-04 13:32:14 -05:00
Joe Bryan
f7f4b3e748
hoon: preserve structural sharing by testing subject/product equality in +burp 2022-04-04 14:12:25 -04:00
Joe Bryan
0c255c1294
hoon: plug type leak in vase literals by properly burping %hint 2022-04-04 14:12:24 -04:00
Liam Fitzgerald
0eb1295f7b interface: use object-fit:cover
This aligns image embeds with the wishes of the design team, by zooming
and cropping the image to fill the entire container
2022-04-04 12:24:23 -05:00
lukechampine
8399b7b96c ames: add resend timer for attestation requests 2022-04-04 00:19:55 -04:00
fang
d3f9d76217
term: move cursor to end before exit
When urbit exits, the host shell it was running in takes over, often
re-prints its own prompt.

Here, we move the cursor to the bottom of the screen right before
exiting, so that any subsequent output doesn't destroy whatever we had
on-screen when we closed.
2022-04-03 21:49:25 +02:00
fang
064b15e5a0
term: move coordinate origin to top left
Having the origin at the top left instead of the bottom left is more
conventional and ergonomic. The only thing this complicates is
prompt-specific logic, where we care about the coordinates of the
bottom-most line on the screen.

For that reason, the bulk of the changes here are in vere, where we
treat the bottom-most line specially, drawing the spinner onto it.
Webterm is likewise updated to account for the new coordinate system.

Drum now opts to accept clicks anywhere on the screen, and does its best
to move the cursor as close to the clicked location as possible (within
the confines of the prompt).
2022-04-03 21:38:09 +02:00
lukechampine
2f7a5964b3 tests: add message flow tests for comets 2022-04-02 22:38:59 -04:00
Philip Monk
73180a0d94
Merge pull request #5670 from urbit/jon/thread-marks
spider: fix child threads
2022-04-01 16:48:15 -07:00
Patrick O'Sullivan
f484ce6da6 grid: fix sort order in notifications 2022-04-01 17:29:27 -05:00
Patrick O'Sullivan
a6e196a0fd groups: fix sort order in notifications 2022-04-01 17:18:32 -05:00
fang
c5b07f5203
term: batch simple input events into a single %txt
By accumulating %txt events until we reach a more complex event or reach
the end of the input buffer, we can significantly reduce the "overhead"
of pasting text into the terminal. Instead of an event for each
character, we now inject up to a buffer's worth of characters
(currently, 123 bytes) at a time. This makes pasting process much
faster.

Incidentally, the behavior for pasting text with syntax errors into the
dojo may be a little bit surprising: after every buffer boundary, the
dojo will complain about the syntax error, moving the cursor to its
location, and causing the remainder of the text to be inserted in that
position. This may result in garbled-looking input in some cases.
This ux problem should be resolved on dojo's end, perhaps by
highlighting syntax errors with color, instead of the cursor.

Alleviates most of the need for #5687.
2022-04-01 22:15:34 +02:00
Patrick O'Sullivan
c650d1d477 groups: fix issue with wrapping urls in notes 2022-04-01 14:23:23 -05:00
Hunter Miller
c3b491ddb0 groups-pane: refining loading strategy to be more efficient 2022-04-01 12:18:43 -05:00
tomholford
531fd61ace ux: add info modal
Add a new tab to the top bar that shows an alert with a brief usage guide.
2022-04-01 06:59:39 -07:00
drbeefsupreme
edfcceb1d9
doccords: dprint print overview
also adds another mule to a play:ut call to avoid another crash that i'm
not sure yet why it is happening
2022-03-31 18:45:28 -04:00
Hunter Miller
65e05fbf25 api: turn off verbose 2022-03-31 17:26:06 -05:00
drbeefsupreme
a15711c74d
doccords: dprint fix crash on non-help %hint 2022-03-31 17:59:45 -04:00
drbeefsupreme
f9dfb590d6
hoon: turn on hints for %noun types 2022-03-31 17:41:48 -04:00
fang
69c3976460
aqua: remove todo list note
Was committed accidentally.
2022-03-31 23:39:20 +02:00
drbeefsupreme
d9e44e9e76
doccords: dprint print core routine 2022-03-31 17:35:50 -04:00
drbeefsupreme
752182f0bf
doccords: dprint fix default core arm printing
if the product had its own docs, it wouldn't also get the docs for a
the default arm produced by the core. this fixes that. also misc style
fixes
2022-03-31 17:33:59 -04:00
Liam Fitzgerald
185ee5f661 interface: fix reconnect logic 2022-03-31 14:55:03 -06:00
Liam Fitzgerald
66536bebcd @urbit/api: do not reconnect if there is a FatalError 2022-03-31 14:52:18 -06:00
Patrick O'Sullivan
e3f2250b02 grid: remove debug statement 2022-03-31 15:24:18 -05:00
drbeefsupreme
1af2e8fdae
doccords: dprint library unwrapping hints
doesn't totally work yet
2022-03-31 14:39:09 -04:00
Hunter Miller
1d1b9ae863
Merge branch 'next/groups' into lf/landscape-floor 2022-03-31 12:28:29 -05:00
Liam Fitzgerald
58cd0bd4f3 interface: address hunter review 2022-03-31 10:56:45 -06:00
Patrick O'Sullivan
de30c0ef19 grid: fix mock notification data to match new type def 2022-03-31 11:54:34 -05:00
Patrick O'Sullivan
2af86d64ba npm: fix HarkBody type def for time 2022-03-31 11:49:21 -05:00
Patrick O'Sullivan
7108bfa7c7 groups: remove debug statement from chatinput 2022-03-31 11:39:54 -05:00
Hunter Miller
1949174f63
Merge pull request #5682 from urbit/po/fix-silent-s3-failures
groups: fix silent s3 failures
2022-03-31 11:26:40 -05:00
Patrick O'Sullivan
0d3f4ec554 groups: clear s3 error state on succesful upload 2022-03-31 11:23:52 -05:00
Hunter Miller
9b59f26c6c bootstrap: moving data calls to relevant component so it always loads 2022-03-31 11:07:08 -05:00
Hunter Miller
687b23e519 useFileUpload: fixing stale closure 2022-03-31 11:06:38 -05:00
Patrick O'Sullivan
846fe48e7a groups: lift uploadError state to ChatPane, refactor nested ternary 2022-03-31 11:04:24 -05:00
Patrick O'Sullivan
cc1048dd21 groups: add padding to error box in collections 2022-03-31 10:52:31 -05:00
Patrick O'Sullivan
ff65c17376 groups: remove fixed height from s3 error portal 2022-03-31 10:50:10 -05:00
Hunter Miller
6dc763a7d1 s3client: adding missing promise call to trigger 2022-03-31 09:42:10 -05:00
Patrick O'Sullivan
7f41869895
Merge pull request #5656 from urbit/lf/hark-add-note-ui
hark: add %add-note JSON decoder
2022-03-30 15:44:07 -05:00
Hunter Miller
b1aab5bc36 Merge branch 'next/groups' into hm/fix-missing-channel-state 2022-03-30 15:29:32 -05:00
Patrick O'Sullivan
9db2024676 groups: handle s3 upload failures in chat 2022-03-30 15:04:01 -05:00
drbeefsupreme
91aeb0fdbf
doccords: more printing tools 2022-03-30 15:36:30 -04:00
Patrick O'Sullivan
836cdb2478 groups: handle s3 upload failures in collections 2022-03-30 14:12:13 -05:00
drbeefsupreme
af7d38124b
doccords: finding and print doccords library
initial commit for library for finding and printing doccords. has some
basic functionality for looking through a type and finding the docs
within it and printing them, but is mostly unfinished
2022-03-30 14:51:40 -04:00
fang
30be6ef9c8
aqua: stub out azimuth snapshot in pills
It would interfere with aqua's simulation of azimuth.
2022-03-30 17:38:09 +02:00
fang
3d639f325e
aqua: cache real ships as well
And inject their latest keys as soon as we pull them from cache. This
way, we avoid having to do the whole boot sequence again just for a
modified dawn event.
2022-03-30 16:38:48 +02:00
fang
2f3527921a
aqua: increase azimuth refresh rate for real ships
This reduces the time it takes to run tests that wait on azimuth events.
For example, -ph-breach-hi runs ~30% faster.
2022-03-30 13:59:10 +02:00
fang
dad82436be
aqua: support injecting arbitrary tasks 2022-03-30 12:51:46 +02:00
fang
c55975e8de
azimuth: allow configuring of the refresh rate
Pulls a constant out of the code, into state, and adds a poke for
changing it.
2022-03-30 12:19:57 +02:00
Patrick O'Sullivan
618474dbae
Merge pull request #5660 from urbit/po/new-browser-api-toggles
grid: new browser api toggles/settings
2022-03-29 18:28:34 -05:00
Hunter Miller
ebebc8a8b0
Merge pull request #5633 from urbit/po/add-presig-to-npm-lib
npm: add preSig func to npm lib
2022-03-29 11:02:19 -05:00
Patrick O'Sullivan
2b784caffc groups: remove TODO about harkbody def, fix in separate PR 2022-03-29 09:18:57 -05:00
Patrick O'Sullivan
84ab13d188 npm: fix HarkBody type def for time 2022-03-29 09:15:44 -05:00
Liam Fitzgerald
75a2c2b979 interface: static height for embedded images 2022-03-28 14:44:02 -06:00
Liam Fitzgerald
be722a246b dm-hook: fix missing notification on DM invite
Fixes urbit/landscape#1117
2022-03-28 14:33:18 -06:00
Patrick O'Sullivan
a63e54cdfe grid: Fix notification order in inbox 2022-03-28 15:07:02 -05:00
Liam Fitzgerald
41d42da34c interface: fix group feed unread count
Fixes urbit/landscape#1258
2022-03-28 13:54:37 -06:00
Liam Fitzgerald
d4658089a9 hark-graph-hook: revive unread counts for group feed
Fixes urbit/landscape#1258
2022-03-28 13:53:22 -06:00
Patrick O'Sullivan
952a05a901 groups: fix notification order 2022-03-28 14:52:28 -05:00
Liam Fitzgerald
e31c194a20 interface: fix group chat join overflow
fixes urbit/landscape#1105
2022-03-28 12:49:43 -06:00
Liam Fitzgerald
a7906641a7 interface: cap maxHeight of ShipSearch
Fixes urbit/landscape#1393
2022-03-28 12:30:19 -06:00
Liam Fitzgerald
7a6cb8ae6d interface: do not show recently joined if already left
Fixes urbit/landscape#1407
2022-03-28 12:19:19 -06:00
Liam Fitzgerald
88a47ce883 hark-store: fix ship parsing 2022-03-28 10:13:52 -06:00
drbeefsupreme
5ff408057b
squash! spider: mv %thread-done %thread-fail to base-dev 2022-03-28 10:48:43 -04:00
drbeefsupreme
19db24acdd
spider: mv %thread-done %thread-fail to base-dev 2022-03-28 10:42:05 -04:00
Patrick O'Sullivan
de493a6482 groups:Remove useEffect for setting prot. handler from Content 2022-03-28 09:24:51 -05:00
Patrick O'Sullivan
c896349246 groups:Remove button for registering prot. handler in settings 2022-03-28 09:23:44 -05:00
Joe Bryan
9a1b3eaf15
Merge pull request #5664 from urbit/jb/type-leak
hoon: plug type leak in compiler bootstrap
2022-03-28 09:08:59 -04:00
Philip Monk
90098067f2 clay: extend %tomb to delete all unneeded blobs 2022-03-26 14:37:46 -07:00
Jōshin
66655a76b8
arvo: $card is (cask) 2022-03-26 09:17:39 -06:00
Jōshin
29a6692784
khan: minor whitespace cleanup 2022-03-26 09:17:38 -06:00
Jōshin
83baaaafa0
lull, zuse: cool 2022-03-26 09:17:28 -06:00
Philip Monk
ee3951e2df clay: require non-dead files at head of remote 2022-03-25 22:15:53 -07:00
Philip Monk
4278d4c8b3
Merge pull request #5673 from urbit/philip/fix-uno
hoon: fix +uno:by when map is null
2022-03-25 18:23:32 -07:00
Philip Monk
07d01a0071 Merge branch 'philip/fix-uno' into philip/tomb 2022-03-25 18:11:34 -07:00
Philip Monk
50fb239d2f hoon: fix +uno:by when map is null
This crashed at runtime when `a` is null because it tried to instantiate
`meg`, and that means bunting its argument, and that calls `node`, where
the assert failed.

Wet gates use the bunt of their formal argument, so we use that.
2022-03-25 18:08:13 -07:00
Philip Monk
6e641005a0 clay: add upgrade to %11 2022-03-25 18:02:22 -07:00
Philip Monk
fb3f74f639 clay: prefer life 2022-03-25 15:32:38 -07:00
drbeefsupreme
5d9d4af0c0
squash! squash! squash! naive: l2 csv more informative printfs & comments 2022-03-25 18:10:29 -04:00
drbeefsupreme
656a86479f
spider: fix child threads
addresses #5442 by adding %thread-done and %thread-fail marks. also
fixes await-thread:strandio and removes some blank lines from
app/spider.hoon

%thread-done loses the type of the result, so you'll need to use ;; to
get it back. the real way to fix this is to have threads produce cages
instead of vases
2022-03-25 18:01:48 -04:00
drbeefsupreme
534849ba92
squash! squash! naive: l2 csv more informative printfs & comments 2022-03-25 17:42:43 -04:00
Jōshin
654ff1f4cb
conn: add --no-conn option
Might be handy on Windows in case of running multiple fakezods.
2022-03-25 15:30:11 -06:00
drbeefsupreme
48d3b3f4d2
squash! naive: l2 csv more informative printfs & comments 2022-03-25 17:25:24 -04:00
drbeefsupreme
2de2b8cbd0
naive: l2 csv more informative printfs & comments 2022-03-25 17:17:45 -04:00
Jōshin
b1392f0f72
conn: windows 2022-03-25 15:16:40 -06:00
Jōshin
d5a182ab38
conn: clean up whitespace 2022-03-25 15:16:39 -06:00
Jōshin
66ee870461
conn: extract _conn_make_cran() 2022-03-25 15:16:39 -06:00
Jōshin
133ef8c779
repo: fix ent build on mingw 2022-03-25 15:16:39 -06:00
drbeefsupreme
1941c91215
naive: l2 csv factor out %eth-get-tx-receipts
adds a new thread for retrieving transaction receipts, and modifies
naive-csv
to call it as a child thread
2022-03-25 17:04:45 -04:00
Patrick O'Sullivan
bb4c4841ae grid: check for settings load before checking browser settings 2022-03-25 15:40:37 -05:00
Patrick O'Sullivan
8c31150571 grid: set default settings after sending notification 2022-03-25 15:23:28 -05:00
drbeefsupreme
efca5bfedc
naive: l2 csv factor out %eth-get-timestamps
requires child threads to be working
2022-03-25 16:17:40 -04:00
Philip Monk
ef9521272a Merge remote-tracking branch 'origin/lf/ford-memory-shit' into philip/tomb 2022-03-25 13:13:24 -07:00
Philip Monk
c5fda496ac clay: add basic %tomb 2022-03-25 13:13:09 -07:00
Philip Monk
fb05255a83 clay: align comments 2022-03-25 12:38:51 -07:00
Liam Fitzgerald
0cdd048903 graph-store: subscribers always keep minimal logs
Transposes the change in 1a2a9ee899 so
that subscribers always keep the minimum possible logs.
2022-03-25 13:35:44 -06:00
Philip Monk
99a10aa7a8 clay: use XX for things that really need to change 2022-03-25 12:33:48 -07:00
Patrick O'Sullivan
ef77aaf802 groups: Use garden's prot. hand. prefs to determine app link 2022-03-25 14:30:26 -05:00
Patrick O'Sullivan
1399ef9fa5 groups: Add useGardenSettings store to groups 2022-03-25 14:28:07 -05:00
Patrick O'Sullivan
df280daee3 groups: Set browserId in local state on mount of app 2022-03-25 14:27:30 -05:00
Patrick O'Sullivan
0a5cd0041d groups: Add browserId to local state 2022-03-25 14:26:18 -05:00
Patrick O'Sullivan
66451c9089 groups: Add fingerprintjs 2022-03-25 14:25:07 -05:00
Philip Monk
0c3eee07b5 Merge remote-tracking branch 'origin/master' into philip/tomb 2022-03-25 12:21:56 -07:00
Hunter Miller
60d5d4ffcf bootstrap: optimizing order a little more 2022-03-25 12:55:54 -05:00
Hunter Miller
78a0796a74 bootstrap: removing unnecessary clear and moving hark a little higher 2022-03-25 11:42:42 -05:00
drbeefsupreme
4a403a676d
naive: l2 csv add @da to saved file 2022-03-25 11:28:45 -04:00
drbeefsupreme
9cb1cde9b4
naive: l2 csv change gasUsed to effectiveGasPrice 2022-03-25 11:27:01 -04:00
drbeefsupreme
2fdce9e6ca
naive: l2 csv add ^sein:title field 2022-03-25 11:22:26 -04:00
fang
60ed368bc4
webterm: fix bell icon in tabs
Presumably due to how js non-objects work in closures, the selected prop
we were reading out whenever a blit came in was stale.

Also, it was possible that a bell was hiding inside a %mor blit, so we
add a small helper for checking properly.
2022-03-25 15:38:56 +01:00
Joe Bryan
d937e131a4 hoon: preserve structural sharing by testing subject/product equality in +burp 2022-03-25 10:28:05 -04:00
Joe Bryan
15e570a622 hoon: plug type leak in vase literals by properly burping %hint 2022-03-25 10:27:32 -04:00
fang
8da6c20f70
herm: stop sending %hail on-connect
Client will probably want to send a %blew first anyway. By not doing any
screen refreshed in herm, we avoid doing unnecessary redraws on-connect.
2022-03-25 15:08:50 +01:00
fang
890e5f1e9b
webterm: do not warn on session creation cancel 2022-03-25 14:41:53 +01:00
fang
01de5a06b0
term: consistently use x/y coordinate ordering
%rez has always used "width & height". Certainly, "x & y" is more
standard than "row & column". As such, we settle on making %hop and %hit
respect the more natural ordering. This change is safe because these
interfaces haven't made it to livenet yet.
2022-03-25 13:45:29 +01:00
Philip Monk
a6832975c7 helm: add poke to helm to allow self-breaching moons
Intended use is for transitory moons to be able to breach themselves on
startup.

If you run a moon without persistence, then every time the program is
restarted, it must be breached.  This lets the moon breach itself
instead of requiring direct interaction with the planet.  The moon
should reserve the first bone for this purpose, and then every time it
starts up, it should send [%helm-moon-breach ~moon-name] to hood on the
planet.
2022-03-24 19:20:01 -07:00
Hunter Miller
a93c3975d7 any-ascii: lazy load for code-splitting 2022-03-24 19:22:47 -05:00
Hunter Miller
6a5b0e3a83 s3: lazy load aws sdk for code splitting 2022-03-24 19:21:56 -05:00
Hunter Miller
e3b2e166d7 bootstrap: moving and reordering, adding scries
This undoes some of the code-splitting done previously as it didn't
affect performance enough, and was actively hurting it in some ways.
Instead this moves the subscription initiation higher and adds scries
for critical data. This also shuffles the calls in App's useEffect so
that they are more colocated with relevant concerns.
2022-03-24 19:18:45 -05:00
Hunter Miller
edb4094301 groups: fixing bad prod build and missing react-refresh 2022-03-24 19:13:36 -05:00
drbeefsupreme
61e70c928b
squash! naive: l2 csv refactoring for readability 2022-03-24 19:12:54 -04:00
drbeefsupreme
b0cee44497
naive: l2 csv refactoring for readability
semantics should be unchanged
2022-03-24 18:20:31 -04:00
Liam Fitzgerald
1a2a9ee899 graph-store: drop unnecessary logs
Drops unnecessary logs for subscribers, to reduce memory usage. In local
testing, this incurred a 20% improvement in graph-store memory usage.
Note that publishers still retain the entire history, for backlog and
resubscribe purposes. Subscribers still retain a handful of updates so
that they can resubscribe upon kick correctly.
2022-03-24 13:31:15 -06:00
Patrick O'Sullivan
734b1310f8 grid: add ability to store/toggle per-browser settings 2022-03-24 11:27:27 -05:00
Patrick O'Sullivan
c222802b00 grid: add fingerpintjs to save per-browser settings 2022-03-24 11:22:34 -05:00