Commit Graph

1753 Commits

Author SHA1 Message Date
Ted Blackman
0d69031c72
ford: add +got-build helper
Replaced manual calls to (~(got by builds.state) build) with a new
+got-build helper function that prints a helpful error message on
failure.
2020-01-29 14:00:25 +04:00
Jared Tobin
87581ba5f8
Merge branch 'bug/image-border' (#2188)
* origin/bug/image-border:
  chat: remove black border on images

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:40:08 +04:00
Jared Tobin
a3e682f596
Merge branch 'ford-orphans' (#2192)
* ford-orphans:
  ford: dequeue orphans

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:39:36 +04:00
Ted Blackman
155ab60609
ford: dequeue orphans
@ixv recently uncovered a bug (#2180) in Ford that caused certain
rebuilds to crash. @Fang- and I believe this change should fix the bug,
and we have confirmed that the reproduction that used to fail about two
thirds of the time now has not failed at all in the ten or so times
we've run it since then. @Fang- is still running more tests to confirm
the fix with more certainty.

It turned out the cause was that (depending on the rebuild order, which
is unspecified and should not need to be specified), Ford could enqueue
a provisional sub-build to be run but then, later in the same +gather
call, discover that the sub-build was in fact an orphan and delete it
from builds.state accordingly. Then when Ford tried to run the
sub-build, it would have already been deleted from the state, so Ford
would crash when trying to process its result in +reduce.

The fix was to make sure that when we discover a provisional sub-build
is orphaned, dequeue it from candidate-builds and next-builds to make
sure we don't try to run it. I'm about 95% sure this fix completely
solves the bug.
2020-01-28 17:29:24 +04:00
Jared Tobin
f19fd5c1a9
Merge branch 'liam-fitzgerald/langserver-rpc-rewrite' (#2181)
* liam-fitzgerald/langserver-rpc-rewrite:
  language-server: align kingside hoon
  language-server: address review issues
  language-server: fixup tests
  language-server: prevent breach being required
  langauge-server: cleanup debug artifacts
  language-server: refactor RPC marks
  language-server: dynamic error highlighting
  language-server: basic request/response cycle
  language-server: first pass at JSON parsers

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:20:07 +04:00
Matilde Park
0ef3d9f7fa chat: smoothen dark theme
Lowers contrast in dark theme; raises the opacity of images in chat.

In general, creates a smoother dark variant of our default Chat look.
2020-01-27 20:33:15 -05:00
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
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
Fang
f4ed3fe980
clay: document %t care 2020-01-22 21:23:14 -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