Commit Graph

15879 Commits

Author SHA1 Message Date
Jared Tobin
abd13c47c1
Merge branch 'pkova/master' (#1966)
* pkova/master:
  hoon: refactor royl float parsers to separate arms

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-19 11:08:31 +08:00
Jared Tobin
59122b1c2b
Revert "hoon: refactor royl float parsers to separate arms"
This reverts commit ff06e45875, which
should have been replaced with an updated commit.
2019-11-19 11:07:26 +08:00
Jared Tobin
a269d81b4c
Merge branch 'publish-subscribe' (#1967)
* publish-subscribe:
  publish: add subscribe generator

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-19 10:49:54 +08:00
Jared Tobin
2d7fbc9c19
Merge branch 'pkova/master' (#1966)
* pkova/master:
  hoon: refactor royl float parsers to separate arms

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-19 10:49:02 +08:00
Jared Tobin
053c784de6
Merge branch 'chat-history' (#1948)
* chat-history:
  chat: added temporary chat-two-update mark with new %messages type
  chat: oust correctness fix and js style fix
  chat-store: factored out functions used in both message and messages
  chat: style fixes
  chat: fixes to cli parser and increased page size in hook
  chat-js: updated to support %messages events
  sur: added rw-security to replace chat-security
  chat: add history functionality. optionally request backlog.

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-19 10:47:40 +08:00
pkova
8836a3d2fc hoon: refactor royl float parsers to separate arms
Immediately useful for implemeting json `@rd` parsing, which is basically
`++royl-rd` minus pfix sig. The increased separation also allows for running
stuff like `(rash '3.22e-47' royl-rn:so)` from the dojo.
2019-11-19 00:56:06 +02:00
Fang
936202abe2
publish: add subscribe generator 2019-11-18 02:44:56 +01:00
pkova
ff06e45875 hoon: refactor royl float parsers to separate arms
Immediately useful for implemeting json `@rd` parsing, which is basically
`++royl-rd` minus pfix sig. The increased separation also allows for running
stuff like `(rash '3.22e-47' royl-rn:so)` from the dojo.
2019-11-17 20:32:09 +02:00
Jared Tobin
d8970b9cf5
Merge branch 'liam-fitzgerald/lang-server-commit' (#1955)
* liam-fitzgerald/lang-server-commit:
  language-server: fix cord reverse
  language-server: use modern tisfas syntax
  language-server: add function signature on hover
  language-server: added autocommit on save

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-16 17:48:33 +08:00
Liam Fitzgerald
87da55073e language-server: fix cord reverse 2019-11-16 11:48:25 +10:00
Liam Fitzgerald
f299bf9d2c language-server: use modern tisfas syntax 2019-11-16 11:46:17 +10:00
Logan Allen
8421e236df chat: added temporary chat-two-update mark with new %messages type 2019-11-15 15:27:50 -08:00
Logan Allen
9dd949b8a1 chat: oust correctness fix and js style fix 2019-11-15 13:28:53 -08:00
Logan Allen
b69bb7d7a1 chat-store: factored out functions used in both message and messages 2019-11-15 12:27:35 -08:00
Logan Allen
f9df1b6af4 chat: style fixes 2019-11-15 11:07:40 -08:00
Jared Tobin
676abb75d2
Merge branch 'jt/gittery' (#1918)
* jt/gittery:
  apps: designate compiled js/css files as binary

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-15 20:07:46 +08:00
Jared Tobin
c7fe6f4082
sh: add OTA test helper script [ci skip]
Adds a script for helping to verify that an OTA update (i.e. from arvo
at one revision to another) applies cleanly.

This only performs the upgrade on a single fake ship, so it's limited in
what kind of problems it can identify.  It *can* catch particularly
nasty errors, however, so serves as a useful sanity check.
2019-11-15 19:42:55 +08:00
Jared Tobin
385e9cd9e0
Merge branches 'philip/jael-fix' and 'jfranklin9000/master' (#1953, #1956)
* philip/jael-fix:
  jael: process all ships in %full update

* jfranklin9000/master:
  vere: consistent use of my-planet and my-comet in Simple Usage

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-15 18:44:21 +08:00
Jared Tobin
7ca71fb315
sh: add merge helper script [ci skip]
Often one needs to merge branches in which the LFS-stored solid pill
conflicts with what's in master.  The conflict has to be resolved
manually, but the procedure for doing so is mechanical in practice.
This adds a simple script for automating that.
2019-11-15 18:39:39 +08:00
John Franklin
abb37ce5be vere: consistent use of my-planet and my-comet in Simple Usage 2019-11-14 23:41:44 -06:00
Liam Fitzgerald
b0c5b7b0fe language-server: add function signature on hover
Add function signature on hover. Fixes bug around autocomplete
not working properly when the cursor was mid-word.
2019-11-15 11:17:00 +10:00
Philip Monk
3dae66332c
jael: process all ships in %full update 2019-11-14 14:54:48 -08:00
Logan Allen
223fc8c5b4 chat: fixes to cli parser and increased page size in hook 2019-11-14 13:38:53 -08:00
Logan Allen
a97e36d6d6 chat-js: updated to support %messages events 2019-11-14 10:42:55 -08:00
Logan Allen
dcde20c86c sur: added rw-security to replace chat-security 2019-11-14 10:42:55 -08:00
Logan Allen
9cacb12dbc chat: add history functionality. optionally request backlog. 2019-11-14 10:42:52 -08:00
Jared Tobin
2a1e0971f2
Merge branch 'jfranklin9000/trouble' (#1939)
* jfranklin9000/trouble:
  arvo: add +trouble generator for troubleshooting

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 14:08:18 +08:00
John Franklin
f8cf70fd62 arvo: add +trouble generator for troubleshooting 2019-11-13 21:02:39 -06:00
Jared Tobin
39fb914cdd
Merge branch 'philip/jael-no-sub' (#1944)
* philip/jael-no-sub:
  jael: only listen to azimuth-tracker on boot

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:58:34 +08:00
Jared Tobin
e6aba37f7a
Merge branch 'chat-cli-invites' (#1941)
* chat-cli-invites:
  chat-cli: send invites on-;invite

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:49:44 +08:00
Jared Tobin
f6183fe592
Merge branch 'bh/image-cleanup' (#1938)
* bh/image-cleanup:
  build: remove unused let binding from image expression

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:48:08 +08:00
Jared Tobin
d4ce549135
Merge branch 'philip/clay-fix' (#1933)
* philip/clay-fix:
  clay: fix meet-conflict crash

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:46:17 +08:00
Jared Tobin
ee19171a0f
Merge branch 'thunderrabbit/swap_space' (#1930)
* thunderrabbit/swap_space:
  vere: fix URL for swap if not enough space

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-14 09:44:36 +08:00
Philip Monk
0e564e2f28
jael: only listen to azimuth-tracker on boot
For some reason Jael subscriptions aren't starting properly for many
people.  Until we can get to the bottom of it, this sets everyone to
start listening directly to the chain.
2019-11-12 22:00:57 -08:00
Fang
b31d5a6dc7
chat-cli: send invites on-;invite
This augments permission management with invite sending, when setting "positive"
permissions. This matches talk's behavior.

Also implements +full:tr, which renders as ~ship/path, even for local targets.
2019-11-13 00:09:18 +01:00
Liam Fitzgerald
26c4c6c7e4 language-server: added autocommit on save
Allows language-server to commit automatically upon changes. This
is driven by the editor, preventing the autocommit issues seen
with #971. Additionally recalculates syntax issues upon save.
2019-11-12 21:46:09 +10:00
Brendan Hay
ee856536b4
build: remove unused let binding from image expression 2019-11-12 08:45:02 +01:00
Philip Monk
b25412b93b
clay: fix meet-conflict crash 2019-11-11 21:42:33 -08:00
Rob Nugen
ae73fea1c4 vere: fix URL for swap if not enough space
also fix spacing in output message

Otherwise the words run together on one line
2019-11-09 23:00:25 +09:00
Jared Tobin
a480e3aafd
Merge branch 'philip/core-gol' (#1928)
* philip/core-gol:
  hoon: extend gol check through cores

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-09 18:36:32 +08:00
Philip Monk
e43036d748
hoon: extend gol check through cores
This extends `gol` "backward-inference" typechecking to thread through
cores.  Recall that `gol` is used exclusively for receiving more
specific error messages; these changes should have no effect on programs
which already compile successfully.

Before, this would type-fail on the second `|%`.

```
!:
^+  ^?
    |%
    ++  foo  *@ud
    --
|%
++  foo
  ?:  =(1 1)
    2
  %foo
--
```

With these changes, it gives a mint-nice at `%foo`.  It will also give
you explicit errors if you have the wrong number/names of arms,
including which arms it expects.

This is becoming much more important with static gall, since it's the
first time we've used core subtyping so extensively and in userspace.
2019-11-09 18:25:42 +08:00
Jared Tobin
a244b452ac
Merge branch 'jt/fix-ropsten-pills' (#1924)
* jt/fix-ropsten-pills:
  build: use HEAD in sh/create-ropsten-pills

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-07 20:41:48 +08:00
Jared Tobin
080cd38f0a
tests: add unit tests for SHA hashes, etc. (#1853)
This tests each arm referenced in
https://urbit.org/docs/reference/library/3d/, based on official NIST
test vectors wherever possible.

Squashed commit of the following:

commit 3162b29f4d4d25460647be6ffb18214e602c0f7c
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Wed Nov 6 16:51:38 2019 +0000

    Update hoon.hoon

commit fe31ab286ad221147c1b6d5d733338bef2a6d39c
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Wed Nov 6 16:50:19 2019 +0000

    Create hoon.hoon

commit 28051f248694f6280b9803b37c388aab398c2976
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Wed Nov 6 16:45:38 2019 +0000

    Delete hoon.hoon

commit 186aaa89a1549ae14ab3faaf7c5867ffc84a6eaa
Merge: d0c8ae043 ed57763f1
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Wed Nov 6 11:43:51 2019 -0500

    Merge pull request #1 from ken-meier/master

    Add files via upload

commit ed57763f1e47c28bebe4f99d1be1cdea151c3d40
Merge: 225987e10 d0c8ae043
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Wed Nov 6 11:43:18 2019 -0500

    Merge branch 'add-sha-unit-tests' into master

commit 225987e100fe207a599738655d5377c10a171359
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Wed Nov 6 11:28:05 2019 -0500

    Add files via upload

commit d0c8ae04358fa76bd6a3a654eb5f9f38c3fba502
Author: Ken Meier <55196189+ken-meier@users.noreply.github.com>
Date:   Fri Oct 25 19:20:50 2019 +0000

    Added containers for shad, shas, shaf

commit 1c9ac5b89c619b9005f6691aaf271a2992c5660e
Merge: 62f438bf5 7f124db8d
Author: Ken Meier <55196189+ken-meier@users.noreply.github.com>
Date:   Fri Oct 25 18:28:32 2019 +0000

    Merge branch 'master' into add-sha-unit-tests

commit 62f438bf5f754903779a69eb2fec48c1bdb5aae5
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Fri Oct 25 11:03:38 2019 -0400

    Add files via upload

commit 5090ea40a8100197cee415463b9b331920b7dfa3
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Fri Oct 25 11:02:59 2019 -0400

    Add files via upload

commit 9084b1598984476c4fd4ce1e66edbea42166ca72
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Wed Oct 23 20:41:45 2019 -0400

    Add files via upload

commit 4575827736361b687551582a7842951226f38eac
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Thu Oct 24 00:17:07 2019 +0000

    Delete sha.hoon

commit 833e4d6fda5befdbe2a39c92d6971774f476483c
Author: ken-meier <55196189+ken-meier@users.noreply.github.com>
Date:   Fri Oct 18 17:56:41 2019 +0000

    Add files via upload

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-07 17:27:23 +08:00
Jared Tobin
f183a5f669
contributing: update git practice section [ci skip]
Updates our git practice notes regarding long-form commit descriptions
and solid pills, per the urbit-dev thread:

https://groups.google.com/a/urbit.org/d/msg/dev/RLzP6AMAOhM/O8dsJ2rxCQAJ
2019-11-07 17:23:33 +08:00
Jared Tobin
ac26dabd57
Merge branch 'philip/jael-fix' (#1925)
* philip/jael-fix:
  jael: don't update state until you've tested for breach

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-07 16:02:30 +08:00
Philip Monk
23f99e8f85
jael: don't update state until you've tested for breach
We were updating our state and then using that when checking if the rift
had incremented.  This would never be true, since we'd already set the
new state.

Fixes #1852 again
2019-11-06 12:51:33 -08:00
Jared Tobin
fd3756a3b7 build: use HEAD in sh/create-ropsten-pills
If we're not on a branch, e.g. if we've checked out an arbitrary
revision, then 'git branch --show-current' sensibly won't give us any
output, and thus the pills produced by sh/create-ropsten-pills will be
misnamed.

Consuming HEAD with git-rev-parse has the same effect here, and should
work in all cases of interst.
2019-11-06 20:14:51 +09:00
Jared Tobin
d557ea87dc
Merge branch 'slog-priority-style' (#1921)
* slog-priority-style:
  vere: flushes slog output to ensure style isolation

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-06 18:35:11 +08:00
Jared Tobin
24f6309670
Merge branch 'behn-flop-drip' (#1916)
* behn-flop-drip:
  behn: print %drip errors in the correct order

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-06 18:31:45 +08:00
Jared Tobin
3ec88f9bb1
Merge branch 'goad-gall' (#1915)
* goad-gall:
  updates solid pill
  dill: fixes cursor position during boot
  dill: adds %goad automation
  dill: refactors move production
  goad: adds app to unblock :hood if necessary
  hood: adds |goad-gall generator
  gall: restores "not-running" printf
  gall: adds %goad task force agent rebuilds

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-06 17:29:45 +08:00