Commit Graph

18855 Commits

Author SHA1 Message Date
pkova
28cd252ce7 zuse: improve json to rn parsing
Allow the exponent token to be 'e' or 'E', allow the explicit sign of '+'.
Following the spec at https://json.org. Fixes #2935.
2020-05-26 19:29:24 +03:00
Fang
41448d5b05
chat-cli: use /lib/shoe 2020-05-24 17:57:54 +02:00
Fang
f103c65051
shoe: console application library
Deals with sole events, deferring to the underlying app only for higher-
level sole-handling logic.

Currently doesn't offer fancy printing logic, but can easily be extended
to do so.

Passes sole-ids on to the underlying app in all arms so that it may run
session-specific logic wherever it desires.
2020-05-24 17:57:18 +02:00
Fang
2fddfea082
sole: include details in stack trace 2020-05-24 17:57:09 +02:00
Fang
1238047b48
Merge branch 'master' into release/next-sys 2020-05-24 17:51:48 +02:00
Fang
58e85fa661
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-23 01:00:45 +02:00
Fang
309d30a0c8
dbug: support more eyre scries 2020-05-22 23:57:41 +02:00
Fang
52ef23ccca
eyre, zuse: add scry interfaces for eyre state
Scries for getting out open connections, cookie sessions, and existing
channels.

Moves the involved types from eyre into zuse.
2020-05-22 23:55:17 +02:00
Fang
8ab1098a1c
dbug fe: render result count alongside list filter 2020-05-22 23:53:23 +02:00
Philip Monk
096149713a
drum: relink to chat-cli
The subscription changes in drum broke existing subscriptions.  This
worked alright (though loud) for dojo, but it left chat-cli "frozen"
unless you manually unlinked/relinked.  This does that automatically.

It also includes a refactoring of +on-load in drum, to avoid vain
repetition.
2020-05-22 00:17:56 -07:00
Philip Monk
cce32194c1
pill: update 2020-05-21 23:15:23 -07:00
Philip Monk
4fcd9f23c0
Merge branch 'release/behn-fast' (#2915)
* release/behn-fast:
  zuse: add +ordered-map
  behn: switch to ordered-map
  chat: virtualize message-to-json conversion
2020-05-21 22:43:53 -07:00
Philip Monk
0e7b07e061
Merge branch 'release/link-dojo' (#2867)
* origin/release/link-dojo:
  chat-cli: allow sending • character
  chat-cli: always talk to local ship only
  chat-cli: single-target sole effects as needed
  chat-cli: don't allow excessively small cli widths
  chat-cli: pull in sole-sur namespace where relevant
  chat-cli: remove unused entropy from state
  chat-cli: print newlines correctly
  chat-cli: support multiple sole connections
  chat-cli: don't crash on %bad-text
  dojo: rename remote access generators
  gall: fix handling of empty path list
  dojo: remove unused %json poke
  dojo: add remote access controls
  drum: switch to per-ship /sole/drum duct

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-05-21 22:42:18 -07:00
Philip Monk
1757b4e071
Merge branch 'philip/behn-priority' (#2915)
* philip/behn-priority:
  zuse: add +ordered-map
  behn: switch to ordered-map

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-05-21 22:34:28 -07:00
Philip Monk
274215ec6b
zuse: add +ordered-map
At some point this should be more properly styled similar to +by, +in,
and +to, but for now this reduces duplication and makes the ordered map
available to everyone.
2020-05-21 22:28:16 -07:00
Fang
4c9d18e5c0
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-21 20:09:58 +02:00
Fang
5877ed4cb2
dbug fe: clean up unneeded console logs 2020-05-21 18:12:24 +02:00
Fang
6ae326470a
dbug fe: separate list query term with space
Allows searching for multiple parts of the item key separately,
returning only items that match all.
2020-05-21 18:03:56 +02:00
Fang
d218541e4f
dbug fe: include "active" in active ames flow keys
Also adds more clear visual "snd" and "rcv" distinction.
2020-05-21 17:58:39 +02:00
Fang
9f4bb4b295
dbug: no such thing as fallback duct 2020-05-21 12:31:28 +02:00
Philip Monk
8c4c0f31fc
Merge pull request #2920 from urbit/ted/ames-mass-alien
ames: fix %alien |mass over-reporting
2020-05-21 01:40:30 -07:00
Philip Monk
cb74649bb5
Merge pull request #2921 from urbit/ted/ames-trim
zuse,ames: handle %trim task
2020-05-21 01:33:28 -07:00
Ted Blackman
a0eafa8aa3 zuse,ames: handle %trim task 2020-05-21 03:45:08 -04:00
Ted Blackman
0f7b213f38 ames: fix %alien |mass over-reporting 2020-05-21 03:19:20 -04:00
Isaac Visintainer
2658ebaee2 release: urbit-os-v1.0.17 2020-05-20 17:02:48 -06:00
Fang
826b27df53
dbug: separate flows by forward & backward
Instead of send and receive.
2020-05-21 00:59:31 +02:00
ixv
0092c68833
Merge pull request #2914 from urbit/ixv/migrate-groups
os1: migrate app data to new group
2020-05-20 14:27:45 -07:00
Fang
f96c83a4a9
spider, debug fe: actually support killing threads 2020-05-20 22:35:53 +02:00
Fang
da4274d490
dbug: allow custom state queries
Try to give state version number on first load. Run custom queries on
demand, similar to +dbug [%state 'whatever'].
2020-05-20 22:34:13 +02:00
ixv
a79f73c091
Merge pull request #2913 from urbit/ixv/fix-chat
chat-view: don't forget to sync permissions
2020-05-20 13:25:16 -07:00
Isaac Visintainer
8e6cbbb1d6 migrate-channels: addressed review 2020-05-20 14:24:24 -06:00
Fang
8d787cf486
Merge pull request #2887 from urbit/m/smaller-safer-json
chat: virtualize message-to-json only where needed
2020-05-20 18:18:50 +02:00
Fang
973cb62d6c
Merge branch 'release/next-userspace' into m/smaller-safer-json 2020-05-20 17:29:12 +02:00
Philip Monk
56c66be87a
behn: switch to ordered-map 2020-05-19 21:40:39 -07:00
Isaac Visintainer
e931a473dd os1: migrate app data to new group 2020-05-19 20:08:35 -06:00
Isaac Visintainer
9b28855842 chat-view: don't forget to sync permissions 2020-05-19 19:48:06 -06:00
matildepark
91cf06b542
Merge pull request #2814 from urbit/lf/chat-type-namespacing
chat: improve namespacing of chat-* types
2020-05-19 19:54:22 -04:00
Liam Fitzgerald
98e65bbbbb Merge branch 'master' into lf/chat-type-namespacing 2020-05-20 09:19:33 +10:00
matildepark
74fb1ad68f
Merge pull request #2884 from urbit/lf/publish-namespacing
publish: abide by namespacing conventions
2020-05-19 19:14:55 -04:00
Fang
15e3ea6940
dbug: just use +dor for sorting
+vor is literally just +dor.
2020-05-19 23:46:27 +02:00
Fang
c3704f0198
dbug fe: add refresh buttons 2020-05-19 23:42:48 +02:00
Fang
c530c39617
dbug fe: remember summary fold state correctly
By manually providing a key, we avoid auto-assigned keys, which would
cause the nth summary item to remain unfolded, even if its contents
changed.
2020-05-19 22:53:24 +02:00
Fang
239892b26d
dbug: attempt to render lane details 2020-05-19 22:50:59 +02:00
Fang
2671fe71df
dbug: print warning about passcode access
Also fixes typo, cleans up comment.
2020-05-18 22:54:45 +02:00
Fang
edabe438d3
dbug: order rcv's nax 2020-05-18 21:46:33 +02:00
Fang
5572b3d8a7
dbug: sort correctly, by value order
Was using +aor, which sorts by LSB order.
2020-05-18 20:53:48 +02:00
Fang
947b57349f
Merge pull request #2901 from urbit/m/chat-cli-multi
chat-cli: multi-sole, un-special-case moons
2020-05-18 16:20:33 +02:00
ixv
f18bd36c73
Merge pull request #2904 from urbit/ixv/publish-comment-fix
publish: fix bug in publish comment mark
2020-05-16 15:19:43 -07:00
Fang
87517ed10a
chat-cli: allow sending • character
In the past, this was used for separating messages in the cli. It's no
longer used as such, and likely nobody remembers, either.
2020-05-15 15:50:44 +02:00
Fang
25327b20b1
chat-cli: always talk to local ship only 2020-05-15 15:44:11 +02:00