Commit Graph

18773 Commits

Author SHA1 Message Date
Fang
4b9ec0c9a4
shoe: include example usage of %klr sole-effect
Seems worthwhile to signal the existence of richer console output.

Also adds a brief description of what the example app does.
2020-05-26 23:45:45 +02:00
Fang
127355c381
shoe: simplify default +can-connect
This belongs in /app/shoe (and indeed already is there).
2020-05-26 23:14:51 +02:00
Fang
509fec7f7c
shoe: improve +on-load logic
Turns out that if we use a tag we can just check the value without
needing vase operations.
2020-05-26 23:10:54 +02: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
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
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
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
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
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
Fang
7a5d84eb9e
chat-cli: single-target sole effects as needed 2020-05-15 15:28:46 +02:00
Fang
259814634c
chat-cli: don't allow excessively small cli widths 2020-05-15 14:44:34 +02:00
Fang
7247e16cf5
chat-cli: pull in sole-sur namespace where relevant 2020-05-15 14:40:36 +02:00
Fang
37d2385634
chat-cli: remove unused entropy from state
Presumably used for unique per-message entropy in a past version.
2020-05-15 14:13:38 +02:00
Fang
7e06e02587
chat-cli: print newlines correctly
By accounting for them during text wrapping, instead of letting them
fall through to the printer.
2020-05-15 14:10:07 +02:00
Fang
ccb994a6d3
chat-cli: support multiple sole connections 2020-05-15 13:37:22 +02:00
Fang
b35129e517
chat-cli: don't crash on %bad-text 2020-05-15 13:37:12 +02:00
Isaac Visintainer
ac9890c2a9 publish: fix bug in publish comment mark 2020-05-12 17:49:03 -06:00
Fang
d07c244d2e
Merge pull request #2885 from pkova/master
zuse: allow whitespace around = in attr:de-xml:html
2020-05-11 20:23:19 +02:00
pkova
9d3c997ecf zuse: allow whitespace around = in attr:de-xml:html
Allow one or more whitespace characters before and/or after the equals sign in
name attribute pairs, such as `<hello a = "yo" />` or `<hello a=    "yo" />`.
Following the spec at https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-Eq.
2020-05-11 21:09:23 +03:00
Fang
e33a8952c1
Merge pull request #2840 from urbit/m/gall-just-not-unique
gall: smaller %watch-not-unique print
2020-05-11 19:44:30 +02:00
Fang
3a8544583c
chat: virtualize message-to-json only where needed
Previously we were virtualizing all message rendering operations, but it's only
+tank:enjs:format that we're worried about here.

Doing this more narrowly also allows us to specify a slightly more specific
error message.
2020-05-11 16:56:40 +02:00
Liam Fitzgerald
782135fc97 publish: abide by namespacing conventions 2020-05-09 11:26:25 +10:00
Philip Monk
6178ae88fc
Merge branch 'lukechampine/per-ship-drum' (#2867)
* lukechampine/per-ship-drum:
  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-08 15:55:17 -07:00
Fang
00e1ba4d93
Merge pull request #2879 from urbit/m/safer-json
chat: virtualize message-to-json conversion
2020-05-08 22:40:55 +02:00
Philip Monk
170f791d1d
Merge branch 'philip/ames-dedup' (#2852)
* origin/philip/ames-dedup:
  clay: don't send peers to message pump
  ames: only dedupe long messages
  ames: don't split messages until ready to send
  ames: dedup new messages and fragments
2020-05-08 13:40:09 -07:00
Philip Monk
60cf03be45
Merge branch 'philip/gall-breach-ack' (#2873)
* origin/philip/gall-breach-ack:
  gall: clear outstanding ack queue on-load
  gall: clear outstanding ack queue to breaching ships

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-05-08 13:38:13 -07:00