Commit Graph

15902 Commits

Author SHA1 Message Date
Fang
febe9470e6
chat: improve eval implementation
Previous implementation was doing double virtualization, which gave issues
around scries. By reimplementing with mint and mock, we get to catch all
possible failure cases and produce an appropriate output for each.
2019-12-03 00:29:19 +01:00
Jared Tobin
aa7ba9f075
Merge branch 'matilde/soto-keycatch' (#1989)
* matilde/soto-keycatch:
  soto: catch full ansi layout keys

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-27 12:15:21 +08:00
Jared Tobin
ac2cf522b8
Merge branch 'ericfode/add-more-list-arms' (#1974)
* ericfode/add-more-list-arms:
  hoon: add +into and +snap

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-27 12:01:40 +08:00
Eric Fode
03e1897b00 hoon: add +into and +snap
+into inserts an item into a list at the provided index; +snap replaces
an item at the provided index.

tests: added tests for stdlib list
2019-11-26 13:39:15 -08:00
Matilde Park
198a3afdd3 soto: catch full ansi layout keys
Adds "Insert", "Delete", "PageUp" and other function keys to the ignored
keys array of soto.
2019-11-25 23:11:23 -05:00
Jared Tobin
c07aeb54bf
Merge branch 'mp/soto-tab'
* mp/soto-tab:
  soto: amend tab sole-effect json and handler

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-26 10:00:53 +08:00
Jared Tobin
7ef7028423
build: add :soto, always install dependencies [ci skip]
Ensures that the JS associated with :soto is built when running `make
interface`.

Additionally, adding `npm install` as a mandatory step for all Landscape
builds goes some way towards resolving #1664, though it's not a complete
fix.
2019-11-26 09:56:31 +08:00
Matilde Park
be4b479660 soto: amend tab sole-effect json and handler
The behaviour of $tab sole-effects lacked a 'tab' key, so Soto wasn't
catching or writing them to the screen. This commit amends both the
handler and the sole-effect to fix that behaviour.
2019-11-25 19:38:07 -05:00
Jared Tobin
fad9fcb16b
Merge branch 'm/name-title' (#1978)
* m/name-title:
  chat-cli: use name:title
  zuse: add +name:title for (moon) identity

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-23 20:07:32 +08:00
Jared Tobin
7db6f443e6
Merge branch 'matilde/soto-to-dojo'
* matilde/soto-to-dojo:
  soto: mounts at ~dojo

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-23 20:03:12 +08:00
Fang
9da38d21db
chat-cli: use name:title 2019-11-22 13:01:33 +01:00
Fang
39a31f0846
zuse: add +name:title for (moon) identity 2019-11-22 13:01:23 +01:00
Jared Tobin
0c087d08d9
Merge branch 'mp-soto-backspace' (#1980)
* mp-soto-backspace:
  soto: ignores backspace at position 0

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-22 11:18:53 +08:00
Matilde Park
943ee0ede0 soto: ignores backspace at position 0
The keypress handler would check if backspace was past position 0
before deleting one character at that position. If you were at position
0, then it would drop down to the 'else' and send the key value as a
string, throwing off the state between front and back end. This commit
fixes the issue, ignoring Backspace at position 0.
2019-11-21 19:34:37 -05:00
Jared Tobin
7fb918df53
zuse: fix outdated docs on vanes [ci skip]
The documentation on vanes in the header of zuse.hoon hadn't been
updated since before the introduction of %iris.
2019-11-21 16:52:59 +08:00
Jared Tobin
78a2dfcf8e
sh: fix merge-and-update-solid name [ci skip]
Just normalises the name of this one with our other scripts.
2019-11-21 16:23:00 +08:00
Matilde Park
a33fffa6ce soto: mounts at ~dojo
Since Soto is the name of the relay, its location in Landscape should be
the application it relays to: Dojo. This commit amends the mount paths
and source paths accordingly.
2019-11-20 09:41:28 -05:00
Jared Tobin
5258579ee2
Merge branch 'matilde/soto' (#1952)
* origin/matilde/soto:
  soto: style changes
  interface: add soto source code
  drum: Boot with %soto
  arvo: adds soto application
  mar/sole: add %tab conversion

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-11-20 13:15:42 +08:00
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
Matilde Park
8fb13e4f99 soto: style changes
This commit amends the Soto application with style changes
requested during code review, including structuring the mark
conversion as a library.
2019-11-14 20:06:11 -05: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
Matilde Park
859954f5e1 interface: add soto source code
This adds the source code for Soto's Landscape interface to the
interface pkg directory, matching the build workflow for our other
Landscape applications as well as their dependencies.
2019-11-14 13:48:48 -05: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
Matilde Park
86e99c998c drum: Boot with %soto
Adds %soto to default application pool, so it shows up in Landscape
for fresh ships.
2019-11-14 13:40:05 -05:00
Matilde Park
ae31a4167e arvo: adds soto application
This commit adds Soto -- a Dojo relay, and its UI, to the Arvo
pkg directory.
2019-11-14 13:39:07 -05:00
Matilde Park
c39d887415 mar/sole: add %tab conversion
Our mark definitions for sole actions and effects pre-date our tab
completion work. This commit adds tab completion actions and
effects to the definition, so they can be sent and received as JSON.
2019-11-14 12:15:27 -05: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