Liam Fitzgerald
6912c4753a
language-server: align kingside hoon
2020-01-28 09:23:27 +10:00
Matilde Park
389def3479
chat: [embed] link doesn't break word on mobile
...
It's a UI, not a word -- it should be treated like a button.
This commit preserves it as its own block and pushes it
to the next line when it's overflowing.
2020-01-27 14:16:38 -05:00
Matilde Park
35aab5c8ab
chat: youtube embeds responsively expand
...
The declaration was being stomped out in all viewports because
it wasn't being declared in the initial element.
This adds the XL's padding-bottom to the element's declarations, which
scales it accordingly.
2020-01-27 14:09:18 -05:00
Jimmy
f49aa3b053
chat: remove black border on images
2020-01-27 11:08:26 -08:00
Matilde Park
3d901df3be
chat: links use white border in dark mode
2020-01-27 14:07:04 -05:00
Matilde Park
cbbbc65acb
chat: sidebar switcher retains with on -m
...
Sidebar switcher was squishing and losing aspect ratio on medium viewport.
It now retains its proper size.
2020-01-27 13:48:01 -05:00
Jared Tobin
8905a706a8
Merge branch 'pkova/lore' ( #2195 )
...
* pkova/lore:
zuse: allow non-trailing null bytes in to-wain:format
u3: fix lore jet to allow non-trailing null bytes
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:38:56 +04:00
Jared Tobin
865a1cec90
Merge branch 'm/dbug' ( #2179 )
...
* origin/m/dbug:
dbug: support app state printing
dbug: augment various apps with /lib/dbug
dbug: add agent wrapper for debugging pokes
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:21:28 +04:00
Jared Tobin
275e23df63
Merge branch 'harden-vanes' ( #2189 )
...
* origin/harden-vanes:
/sys: use +harden on vane tasks
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:16:33 +04:00
Jared Tobin
cc12ff835e
Merge branch 'pkova/master' ( #2178 )
...
* pkova/master:
chat: fix wrong font-size on certain pre-elements
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:13:23 +04:00
Ted Blackman
0bee77ce8e
/sys: use +harden on vane tasks
...
Uses Zuse's previously unused +harden helper function to streamline
+task unwrapping in vanes.
(Arguably, in landlocked vanes like Ford, we should crash if we get a
%soft task, since no events should be coming in directly from the
outside.)
2020-01-27 09:53:53 +04:00
Liam Fitzgerald
4f9245cb45
language-server: address review issues
2020-01-27 12:18:48 +10:00
Liam Fitzgerald
3c74888c9d
Merge branch 'master' into langserver-rpc-rewrite
2020-01-27 12:11:19 +10:00
Benjamin Summers
d411c914a4
Got Linux release builds working again.
2020-01-25 14:39:42 -08:00
Benjamin Summers
05e64cfdf0
Merge branch 'king-haskell' of https://github.com/urbit/urbit into philip/king-replay
2020-01-25 14:18:33 -08:00
pkova
db1b88b21b
zuse: allow non-trailing null bytes in to-wain:format
2020-01-25 20:54:49 +02:00
pkova
0a78728479
u3: fix lore jet to allow non-trailing null bytes
2020-01-25 17:29:42 +02:00
Fang
a7f07866f9
dbug: support app state printing
...
:your-app +dbug %state
2020-01-24 20:48:17 -08:00
Philip Monk
18a279aeaf
king: style improvements
2020-01-24 16:25:49 -08:00
Benjamin Summers
c40a02b044
king: Build without warnings.
2020-01-23 22:23:43 -08:00
Benjamin Summers
2df59aa4ff
Fix king-haskell Linux release build.
2020-01-23 22:09:23 -08:00
Benjamin Summers
dd29419f41
Merge branch 'king-haskell' into philip/king-replay
2020-01-23 21:47:06 -08:00
Benjamin Summers
ba3f631617
Merge branch 'king-haskell' into king-auto-connect
2020-01-23 21:37:51 -08:00
Benjamin Summers
6977ae8d3f
Renamed modules Ur.** to Urbit.** to be consistent with urbit-{atom,hob}
2020-01-23 21:28:38 -08:00
Benjamin Summers
6a450b93b9
king: Rename king
package to urbit-king
.
2020-01-23 21:20:43 -08:00
Benjamin Summers
fd4d7b9ba4
Merge branch 'king-haskell' of github.com:urbit/urbit into philip/king-replay
2020-01-23 18:57:22 -08:00
Benjamin Summers
c91e0a678f
Merge branch 'king-haskell' of github.com:urbit/urbit into king-auto-connect
2020-01-23 01:49:18 -08:00
Benjamin Summers
27c0750796
Clean up Urbit.Atom
and move it into it's own package.
2020-01-23 01:45:30 -08:00
Fang
f4ed3fe980
clay: document %t care
2020-01-22 21:23:14 -08:00
Benjamin Summers
ad5f40efff
Merge branch 'king-haskell' of github.com:urbit/urbit into king-auto-connect
2020-01-22 20:29:59 -08:00
Benjamin Summers
f1cd1bf750
Module structure, doc strings
2020-01-22 20:16:09 -08:00
Benjamin Summers
7721bae18f
Bump stackage version.
2020-01-22 19:08:50 -08:00
Benjamin Summers
f0892436ff
Got docs to build.
2020-01-22 18:58:22 -08:00
Jared Tobin
267081424b
Merge branch 'yt-preview' ( #2055 )
...
* origin/yt-preview:
chat: add expandable youtube embed messages
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 15:14:37 +04:00
Anthony Arroyo
b96d6c5b5f
chat: add expandable youtube embed messages
...
YouTube links now have a [embed] link that expands an inline embed of
the video. Embeds don't load until clicked, so don't fear the tracker.
2020-01-22 15:01:01 +04:00
Jared Tobin
c182672b54
Merge branch 'ames-goof' ( #2166 )
...
* origin/ames-goof:
ames: adjust route update logic
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 13:14:39 +04:00
Ted Blackman
11c92e691d
ames: adjust route update logic
...
There was a typo in the routing logic that was comparing equality
against a value where it should have been doing a pattern match. The
value compared against contained the literal * gate, which would never
match route.peer-state, so this condition was always true, meaning the
fix that had added this extra condition (5406f06
) did not actually
change the behavior from what it been previously.
2020-01-22 12:50:18 +04:00
Liam Fitzgerald
3187d6725b
language-server: fixup tests
2020-01-22 12:35:41 +10:00
Liam Fitzgerald
04225dff73
language-server: prevent breach being required
2020-01-22 11:30:07 +10:00
Liam Fitzgerald
0acc71f103
langauge-server: cleanup debug artifacts
2020-01-22 11:30:07 +10:00
Liam Fitzgerald
1e3fa28735
language-server: refactor RPC marks
2020-01-22 11:30:07 +10:00
Liam Fitzgerald
680e60b2a5
language-server: dynamic error highlighting
2020-01-22 11:30:05 +10:00
Liam Fitzgerald
8822097cd2
language-server: basic request/response cycle
2020-01-22 11:25:19 +10:00
Liam Fitzgerald
ed3fc3f54c
language-server: first pass at JSON parsers
2020-01-22 11:25:05 +10:00
Fang
da6f27c55c
dbug: augment various apps with /lib/dbug
...
Also includes lib/verb where it wasn't being used yet.
2020-01-21 12:36:03 -08:00
Fang
421dae13cf
dbug: add agent wrapper for debugging pokes
...
Use :app +dbug to get the entire bowl, or specific subscriptions.
2020-01-21 12:34:50 -08:00
pkova
ba866a837d
chat: fix wrong font-size on certain pre-elements
2020-01-21 16:32:30 +02:00
Jared Tobin
062c0244f6
Merge branch 'support-asan' ( #2175 )
...
* origin/support-asan:
u3: enables ASan for u3i_molt and friends
u3: enable ASan for u3r_mean and friends
u3: skip RLIMIT_CORE under ASan
u3: specially defines c3_assert for ASan compatiblity
u3: moves loom base on linux-64 to accomodate ASan
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-16 23:39:27 -08:00
Jared Tobin
8ab2afe8b4
Merge branches 'vere-test-exit', 'spinner-leak' and 'exit-cleanup'
...
* origin/vere-test-exit:
vere: fixes Makefile test-runner, exiting on failed test
* origin/spinner-leak:
vere: re-plugs leak in terminal spinner
vere: plugs leak in terminal spinner
* origin/exit-cleanup:
vere: adds trivial i/o driver exit handlers
vere: dispose of http-server resources on exit
vere: dispose of http-client resources on exit
vere: close terminal driver last
vere: properly un/initialize curl
vere: properly un/initialize openssl
worker: free jet dashboard on exit
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-16 06:26:14 -08:00
Joe Bryan
375d4af68e
u3: enables ASan for u3i_molt and friends
2020-01-14 20:42:23 -08:00
Joe Bryan
ee112fa150
u3: enable ASan for u3r_mean and friends
2020-01-14 20:41:21 -08:00
Joe Bryan
119fb59d5f
u3: skip RLIMIT_CORE under ASan
2020-01-14 20:41:02 -08:00
Joe Bryan
bea30f8a2c
u3: specially defines c3_assert for ASan compatiblity
2020-01-14 20:40:25 -08:00
Joe Bryan
884a08a967
u3: moves loom base on linux-64 to accomodate ASan
2020-01-14 20:39:49 -08:00
Joe Bryan
561db380c4
vere: adds trivial i/o driver exit handlers
2020-01-14 20:34:26 -08:00
Joe Bryan
9abe805933
vere: dispose of http-server resources on exit
2020-01-14 20:34:26 -08:00
Joe Bryan
b7138abd0b
vere: dispose of http-client resources on exit
2020-01-14 20:33:52 -08:00
Joe Bryan
0393047847
vere: close terminal driver last
2020-01-14 20:33:43 -08:00
Joe Bryan
84ccfa97d8
vere: properly un/initialize curl
2020-01-14 20:33:34 -08:00
Joe Bryan
d71c26417a
vere: properly un/initialize openssl
2020-01-14 20:33:24 -08:00
Joe Bryan
c945c58375
worker: free jet dashboard on exit
2020-01-14 20:33:15 -08:00
Joe Bryan
5f3a697aab
vere: re-plugs leak in terminal spinner
2020-01-14 20:26:28 -08:00
Joe Bryan
adb41996f0
vere: plugs leak in terminal spinner
2020-01-14 20:26:22 -08:00
Joe Bryan
bb83acce96
vere: fixes Makefile test-runner, exiting on failed test
2020-01-14 20:24:01 -08:00
Jared Tobin
ce6f82a58d
chat: trim whitespace [ci skip]
2020-01-14 11:21:24 -08:00
Jared Tobin
3a6fb37b25
Merge branch 'edit-mugs' ( #2169 )
...
* origin/edit-mugs:
u3: clear cached mugs on cell edit
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-14 11:13:20 -08:00
Joe Bryan
94800ca79c
u3: clear cached mugs on cell edit
...
This commit fixes a bug wherein cached mugs were wrongfully retained on
editing cells, producing a jet mismatch in +mug.
2020-01-14 11:11:41 -08:00
Jared Tobin
a0cb74b658
Merge branch 'matilde/chat-dark-mode' ( #2144 )
...
* origin/matilde/chat-dark-mode:
chat: fade images on dark mode
chat: add dark mode
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-14 11:09:18 -08:00
Jared Tobin
430f4c36d6
Merge branch 'lens-fix' ( #2162 )
...
* origin/lens-fix:
lens: don't prematurely flush state
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-14 08:52:01 -08:00
Philip Monk
d578159791
ames: fix assertion bug and add debug info
...
If we receive the naxplanation before the nack, the assertion in the gte
direction fails. The intent of the assertion is to make sure top of the
live queue never falls behind current.state, so it was simply in the
wrong direction.
2020-01-14 08:34:12 -08:00
Isaac Visintainer
b5c24eeadb
king haskell: automatically connect to terminal when running a ship
2020-01-10 16:39:31 -08:00
Philip Monk
8a8341a783
king: add partial-replay and --dry-from
...
partial-replay allows you to replay up to event N and make a checkpoint
there. --dry-from replays to event N and then starts in dry-run mode
from that point, so you can attach a console.
The intended debug flow is to use partial-replay to make a checkpoint
near when a bug is triggered, then use event-browser and --dry-from to
drill down and find exactly what triggered the bug.
Unfortunately, if the bug was triggered by crash handling, you do not
have the original event, only the injected replacement event. This is
still useful, though.
2020-01-10 14:19:08 -08:00
Isaac Visintainer
2cd9fc75a4
lens: don't prematurely flush state
2020-01-10 12:55:58 -08:00
Isaac Visintainer
a07a3747d1
invite-hook: fixed incorrect assertion about outgoing invites
2020-01-09 16:16:39 -08:00
Jared Tobin
754fba30e3
Merge branch 'matilde/meta-morgue' ( #2159 )
...
* origin/matilde/meta-morgue:
soto: add "dead" alt keys to ignored list
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:12:10 +08:00
Jared Tobin
795b811aca
Merge branch 'matilde/chat-timestamp' ( #2146 )
...
* origin/matilde/chat-timestamp:
chat: correct datestamp to match @da
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:11:33 +08:00
Matilde Park
a5e68f280d
soto: add "dead" alt keys to ignored list
...
alt+n produces a ~, on top of a key called "Dead". This ignores "dead"
to send the ~ and function as normal.
2020-01-07 20:14:39 -05:00
Jared Tobin
8afad66138
Merge branch 'm/chat-cli-reconnect' ( #2147 )
...
* m/chat-cli-reconnect:
chat-cli: reconnect with actual bowl
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-07 04:25:14 +08:00
Fang
0ff2f44f31
chat-cli: reconnect with actual bowl
...
Fixes a bug introduced in 4798b9d
.
This, uh, fell into the same old case of using an arm from a |_ without
initializing that core with a sample first. In this case, that resulted
in the bowl in connect being the default bowl here. This is fine for
~zod, since it's the default ship, but gives incorrect behavior for
anyone else.
2020-01-07 04:21:49 +08:00
Jared Tobin
01afc2a143
Merge branch 'm/gall-gift-paths' ( #2134 )
...
* origin/m/gall-gift-paths:
gall: (list path) in %fact and %kick
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-07 04:17:32 +08:00
Matilde Park
4143b0060f
chat: fade images on dark mode
...
Adds 60% opacity to dim images within messages in dark mode.
2020-01-06 08:09:53 -05:00
Jared Tobin
cd9624e097
Merge branch 'm/whitespace' ( #2149 )
...
* origin/m/whitespace:
various: remove trailing whitespace
ci: reject trailing whitespace
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 10:55:13 +08:00
Jared Tobin
f94ba8ce9c
Merge branch 'm/xmas' ( #2143 )
...
* origin/m/xmas:
xmas: remove, obsoleted by alef
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 10:53:15 +08:00
Jared Tobin
836142ad0d
Merge branch 'rcrdlbl/chat-sidebar-margin-fix' ( #2137 )
...
* rcrdlbl/chat-sidebar-margin-fix:
chat: add bottom padding to sidebar items
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:45:25 +08:00
Jared Tobin
5b0fd5fb78
Merge branch 'm/webchat-me' ( #2135 )
...
* origin/m/webchat-me:
webchat: render "me" messages in italics
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:25:53 +08:00
Jared Tobin
6f7aae3574
Merge branch 'ames-clean' ( #2127 )
...
* origin/ames-clean:
ames: update comment docs
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:25:22 +08:00
Fang
fcf1846b6f
various: remove trailing whitespace
2020-01-03 22:06:42 +01:00
Matilde Park
271e594f61
chat: correct datestamp to match @da
...
The datestamp in webchat currently leftpads the month numeral.
This commit amends it so that the month numeral doesn't pad with zeroes.
2020-01-01 08:54:36 +01:00
Matilde Park
d45be05c26
chat: add dark mode
...
Adds custom classes and declarations for dark mode color scheme.
Uses prefers-color-scheme media query to check preference.
2019-12-27 12:15:03 +01:00
Fang
e005cefe77
xmas: remove, obsoleted by alef
2019-12-27 02:19:36 +01:00
Przemyslaw Dabrowski
f8c305b65b
chat: add bottom padding to sidebar items
...
Pretty simple really, fixes issue #2131 .
Decided to use padding instead of margin because the underflow is nice,
but not at the detriment of being able to see the last chat preview
2019-12-23 22:24:24 -05:00
Fang
b8a336c607
webchat: render "me" messages in italics
2019-12-23 23:11:04 +01:00
Fang
ae8a57ca25
gall: (list path) in %fact and %kick
...
Instead of providing a (unit path), allows for (list path), which better
supports the "update to path and subpath cases".
For example, if /things wants updates about everything, and
/things/specific wants updates about the specific thing, they'll both
need to receive a %fact when the specific thing changes.
Previously, these would have been two separate moves. Now, gall handles
the multi-targeting for you.
2019-12-23 13:37:32 +01:00
Benjamin Summers
06934959ca
Make sure we close HTTP sockets on close (or reconfigure).
2019-12-21 18:24:54 -08:00
Fang
ea7c1db61c
various: use =/ in place of =+ ^-
...
Also faceless =; where appropriate.
2019-12-21 14:29:14 -03:30
Fang
21ac0e513b
hoon: parse =; without face
...
Allows for =;([a=@ b=@] ...) and similar constructions.
Also affects =/ and =^.
2019-12-21 14:20:11 -03:30
Benjamin Summers
2e8defccc1
Hack around terminfo database problem.
2019-12-21 07:55:24 -08:00
Fang
4798b9df1f
chat-cli: reconnect to chat-store on-kick
...
Also reconnects on-load, if no chat-store subscription appears to be
open. This should resolve any current disconnects.
2019-12-21 13:02:33 +01:00
Fang
c814114d93
chat-cli: add trace printf for tuba crashes
2019-12-21 12:59:45 +01:00
Fang
5cd8d98dd6
chat-cli: don't pass mark into +poke-noun
2019-12-21 12:58:22 +01:00