Commit Graph

5592 Commits

Author SHA1 Message Date
Joe Bryan
67dc15efca vere: avoids allocations by attempting synchronous terminal writes 2020-09-11 00:30:28 -07:00
Joe Bryan
00a691dfe2 vere: comments-out unused ansi input sequences 2020-09-11 00:30:28 -07:00
Joe Bryan
4eaffc87b2 vere: directly implements utf-32 to utf-8 conversion 2020-09-11 00:23:20 -07:00
Joe Bryan
49210f49f3 vere: refactors terminal rendering to limit utf-32->utf-8 conversions 2020-09-11 00:23:15 -07:00
Joe Bryan
27ebfcfbdf vere: refactors terminal jam-file blits 2020-09-11 00:07:14 -07:00
Joe Bryan
ccc77d627d vere: refactors %lin blit handling in term.c 2020-09-11 00:07:14 -07:00
Joe Bryan
1e5e4e5001 vere: refactors _term_it_show_cursor() 2020-09-11 00:07:14 -07:00
Joe Bryan
f3299796e6 vere: check for null before closing terminal pipe 2020-09-11 00:07:14 -07:00
Joe Bryan
db54ac1084 vere: zero-initialize terminal mirror style offset 2020-09-11 00:07:14 -07:00
Joe Bryan
41238a5549 vere: further refactors the terminal spinner 2020-09-11 00:07:14 -07:00
Joe Bryan
bf28ff571f vere: refactors term write codepaths, avoiding reallocation 2020-09-11 00:07:09 -07:00
Joe Bryan
ce236f17ee term: refactors spinner, avoiding (most) unnecessary measurement 2020-09-10 15:01:46 -07:00
pilfer-pandex
98bb534930
Merge pull request #3470 from urbit/pp/loud
Use logInfo in place of logDebug in most situations
2020-09-10 12:47:39 -07:00
Joe Bryan
f4c58ff256 u3: improves error output on c3_assert() 2020-09-09 22:43:28 -07:00
Joe Bryan
0699f6f3f1 vere: improves error messages on ipc EOF 2020-09-09 22:42:53 -07:00
Joe Bryan
3eb51b13d6 vere: fixes %trim effect handler 2020-09-09 22:40:46 -07:00
Joe Bryan
0641769875 vere: fix crash on u3_pier_bail() 2020-09-09 22:39:39 -07:00
Joe Bryan
a353179908 vere: consistently handle %meld $writ in king 2020-09-09 22:35:52 -07:00
Joe Bryan
cda7a7edb0 ur: consistently use fibonacci constants 2020-09-09 22:33:44 -07:00
Joe Bryan
efe1f7ce39 u3: disables meld and cram under U3_MEMORY_DEEBUG 2020-09-09 22:33:07 -07:00
Matilde Park
1f6f1fcd53 leap: ensure selected is always an array
Fixes #3462.
2020-09-09 21:20:59 -04:00
pilfer-pandex
ba79aa713a king: move most things from debug log level to info 2020-09-09 18:20:21 -07:00
Joe Bryan
c20385a212 u3: refactors on-loom re-allocation in _cu_all_to_loom() 2020-09-09 13:12:27 -07:00
fang
7889a663b2
Merge pull request #3467 from urbit/m/term-escape-vere
vere: support rendering +stub as ansi escape codes
2020-09-09 20:08:55 +02:00
Fang
467d8d239b
vere: support rendering +stub as ansi escape codes
Adds support to term.c for a %klr blit, containing a +stub describing
styled text.

Dill will start making use of this in a separate commit, for release
cutting reasons.
2020-09-09 19:06:40 +02:00
Joe Bryan
6cb5df513e u3: refactors off-loom re-allocation in _cu_from_loom() 2020-09-08 22:30:55 -07:00
Joe Bryan
82e91811d4 ur: replaces allocation-failure assertions with error printfs/abort() 2020-09-08 22:25:24 -07:00
Matilde Park
a2adf7359d glob: update to 0v4.kdc52.27is2.c7mnh.7vsrb.ij4jo 2020-09-09 00:19:14 -04:00
matildepark
5eb5d4abe1
Merge pull request #3461 from tylershuster/the-thin-green-line
chat: hotfix new message indicator
2020-09-09 00:11:49 -04:00
Tyler Brown Cifu Shuster
05dd5d65cb chat: hotfix new message indicator 2020-09-08 19:56:07 -07:00
Matilde Park
bb44f39491 leap: safety check state.selected 2020-09-08 21:57:47 -04:00
Matilde Park
7d857d3a83 glob: update to 0v6.vnpkl.sq452.quabg.73g7k.dhi55 2020-09-08 20:39:36 -04:00
Matilde Park
c7f8af1fd2 Merge branch 'release/next-userspace' 2020-09-08 20:32:02 -04:00
matildepark
3d739c03c2
Merge pull request #3457 from tylershuster/pending-message
chat: show pending messages again
2020-09-08 20:31:21 -04:00
Tyler Brown Cifu Shuster
042cdcf698 chat: show pending messages again 2020-09-08 17:28:52 -07:00
Matilde Park
76d4f73942 statusBar: prepend sig to ship settings button 2020-09-08 20:01:45 -04:00
matildepark
ae0a00eb4e
Merge pull request #3412 from urbit/lf/publish-role-check
publish: check roles correctly for tags
2020-09-08 19:58:31 -04:00
Matilde Park
c47c281743 Merge branch 'release/next-userspace' of github.com:urbit/urbit into release/next-userspace 2020-09-08 19:45:00 -04:00
Matilde Park
71867d1d5c links: pipe remoteContentPolicy to pending comments 2020-09-08 19:44:51 -04:00
matildepark
9ded774944
Merge pull request #3413 from urbit/lf/publish-input-form--qa
publish: make form expand to fill height of window
2020-09-08 19:43:03 -04:00
matildepark
787973e260
Merge pull request #3455 from urbit/mp/interface/always-home
interface: always show home button
2020-09-08 19:42:45 -04:00
matildepark
fb9e7d83f8
Merge pull request #3448 from urbit/mp/profile/ios-fixes
profile: fix iOS safari behaviour, add react-helmet
2020-09-08 19:28:09 -04:00
matildepark
89ddac2f7b
Merge pull request #3452 from urbit/mp/404/bg
error: add background style
2020-09-08 19:27:59 -04:00
Matilde Park
7fe9caf554 interface: always show home button 2020-09-08 18:57:56 -04:00
Liam Fitzgerald
d80e5cac49 publish: mobile scrolling fix 2020-09-09 08:51:17 +10:00
matildepark
f24a47f8e9
Merge pull request #3454 from tylershuster/oembed-collapse
chat: prevent message rerender
2020-09-08 18:37:50 -04:00
matildepark
ef70d8e126
Merge pull request #3453 from urbit/mp/interface/embeds-on
interface: embeds on by default
2020-09-08 18:34:02 -04:00
Liam Fitzgerald
c3a2e66412 publish: scroll markdown editor correctly 2020-09-09 08:26:03 +10:00
Tyler Brown Cifu Shuster
f9cf984381 chat: prevent message rerender 2020-09-08 15:20:40 -07:00
Matilde Park
27fd31b0b3 interface: embeds on by default 2020-09-08 17:22:42 -04:00
Matilde Park
990d46dd9e error: add background style
If you've set an image background, it can make it hard to read 404s or
error messages. This adds the default bg color.
2020-09-08 17:16:45 -04:00
Matilde Park
01a75d540f leap: use a instead of Link if not default app
Logging out currently doesn't work via Leap because we only use
react-router. This adds selection and navigation logic that passes
both app name and link href and compares app name against the default
app lib. This makes leap extensible for third party apps, too.
2020-09-08 17:08:15 -04:00
matildepark
39e73d16a9
Merge pull request #3450 from tylershuster/window-hotfix
chat: added placeholder for empty room
2020-09-08 16:20:48 -04:00
Joe Bryan
562548440b ur: assert not-null after all allocations 2020-09-08 13:20:43 -07:00
Joe Bryan
40dabb3bac u3: tweaks +stir jet for refcount clarity 2020-09-08 13:11:29 -07:00
Tyler Brown Cifu Shuster
f1a75b7af9 chat: added placeholder for empty room 2020-09-08 13:04:36 -07:00
Tyler Brown Cifu Shuster
d04f62a907 chat: check for cited participants in sidebar
Fixes #3438
2020-09-08 12:46:41 -07:00
Tyler Brown Cifu Shuster
c9aa908838 links, chat: add drag and drop 2020-09-08 11:41:43 -07:00
Matilde Park
694c752b3f profile: add react-helmet 2020-09-08 13:59:39 -04:00
Matilde Park
55039f2879 profile: add z-index for iOS safari
Fixes #3383.
2020-09-08 13:57:07 -04:00
matildepark
0ddb4a4887
Merge pull request #3444 from urbit/lf/publish-fixup
publish: don't timeout, show groupify
2020-09-08 12:47:10 -04:00
matildepark
a1b06689d5
Merge pull request #3443 from tylershuster/group-confirm-delete
groups: add group deletion confirmation
2020-09-08 12:35:35 -04:00
Elliot Glaysher
0a3fe85c06
Merge pull request #3439 from urbit/kh-sending-chunk
king: change logging from tracing to info in Wai.hs
2020-09-08 10:32:23 -04:00
Elliot Glaysher
d6762a8baf
Merge pull request #3431 from urbit/fixup-galaxy-table
king dawn: replace web3 usage with hand rolled jsonrpc messages.
2020-09-08 10:10:50 -04:00
Liam Fitzgerald
f320631230 publish: choose group for groupify 2020-09-08 15:55:53 +10:00
matildepark
05adb18a8a
Merge pull request #3445 from tylershuster/keyboard-navigation
chat: added ability to blur chat editor
2020-09-08 00:17:39 -04:00
Tyler Brown Cifu Shuster
952af5cf0e chat: added ability to blur chat editor 2020-09-07 20:59:03 -07:00
Tyler Brown Cifu Shuster
1d86072aa0 interface: changed virtual scroll implementation and added to chat 2020-09-07 20:35:47 -07:00
Liam Fitzgerald
73881aa25f publish: add groupify to settings 2020-09-08 12:30:06 +10:00
Liam Fitzgerald
168478eb74 publish: support groupify poke 2020-09-08 12:11:45 +10:00
Liam Fitzgerald
07c0cb1006 publish: do not timeout join flow 2020-09-08 11:11:57 +10:00
Liam Fitzgerald
0f355e58d9 interface: allow useWaitForProps to not timeout 2020-09-08 11:10:55 +10:00
Tyler Brown Cifu Shuster
4b130868ed groups: add group deletion confirmation 2020-09-07 15:09:39 -07:00
Elliot Glaysher
ecbcdf7d00 king: change logging from tracing to info in Wai.hs
I noticed that the king's text log file kept filling up, and it's
mostly 'sending chunk "\n"' from eyre. This changes the log level
of every partial send over an active eyre channel to info, instead
of always.
2020-09-05 21:49:23 -04:00
matildepark
d136c50ccc
Merge pull request #3243 from urbit/lf/lib-hooks-docs
lib-hooks: document with comments
2020-09-05 16:18:17 -04:00
Tyler Brown Cifu Shuster
a9ed4c9055 links, publish: display rich text comments 2020-09-04 20:12:27 -07:00
Elliot Glaysher
a42c90db9c king dawn: export functions used in tests 2020-09-04 17:02:11 -04:00
Joe Bryan
89f833365c u3: optimizes +stir jet, pushes incremental results onto the road stack 2020-09-04 13:07:52 -07:00
Joe Bryan
836715ff31 u3: optimizes +stir jet, reducing incremental allocations in fold 2020-09-04 13:08:11 -07:00
Joe Bryan
8e1468b2e0 u3: rewrites +stir to use loops (constant stack space) 2020-09-04 13:07:52 -07:00
Elliot Glaysher
74b40e0e52 king dawn: nits 2020-09-04 14:44:26 -04:00
Elliot Glaysher
07089a1c93 king dawn: remove stray marks 2020-09-04 11:01:47 -04:00
Elliot Glaysher
4bd0882e7d king dawn: instead of crashing, return an error 2020-09-04 10:54:31 -04:00
Joe Bryan
844ed22a2e vere: moves |pack initiation to king, handles future |meld 2020-09-03 22:22:38 -07:00
Joe Bryan
81aa0e3003 vere: adds missing function comments in pier.c 2020-09-03 22:14:07 -07:00
Joe Bryan
b47047b869 u3: renames global deduplication to %meld, adds to $writ 2020-09-03 22:07:55 -07:00
Joe Bryan
4d86e3595c u3: switches +cue jet to use new implementation 2020-09-03 16:00:19 -07:00
Joe Bryan
e9d4b7b762 ur: cleans up header comments 2020-09-03 15:50:58 -07:00
Joe Bryan
51b85dc5a8 u3: removes redundant byte-array allocation in u3s_cue_xeno 2020-09-03 15:38:27 -07:00
Joe Bryan
f42e436055 vere: use off-loom cue for ipc $plea 2020-09-03 15:00:17 -07:00
Joe Bryan
466f342e7b vere: use off-loom jam for ipc $writ 2020-09-03 14:48:58 -07:00
Joe Bryan
33b6a8b924 u3: ports (formerly) failing jam test case from ur_tests 2020-09-03 14:30:05 -07:00
Joe Bryan
c469ccb043 ur: fixes a bug in ur_bsw_bytes()
which was introduced by an earlier fix for a buffer over-read
2020-09-03 14:29:30 -07:00
Joe Bryan
9c59363680 ur: updates ur_bsw_t comparison tests to memcmp() buffers (failing) 2020-09-03 14:29:30 -07:00
Joe Bryan
0569bd9e3d ur: adds failing jam test case 2020-09-03 14:29:30 -07:00
Elliot Glaysher
4a7e1b2009 king dawn: replace web3 usage with hand rolled jsonrpc messages.
This replaces the autogenerated bindings to the Azimuth contracts
which use Network.Web3 with hand rolled json messages. Booting a
ship involved 256 individual galaxy point lookups using web3, while
Vere batched all of that into one JSONRPC message.

With this patch, we also batch everything at each phase into one
JSONRPC batch.
2020-09-03 16:05:08 -04:00
Tyler Brown Cifu Shuster
8729020fd3 interface: added oembed parser 2020-09-03 08:15:31 -07:00
Joe Bryan
91f5c50bef vere: adds jam/cue tracing to ipc and disk layers 2020-09-02 23:23:18 -07:00
Joe Bryan
9159a7a318 serf: use off-loom cue for ipc $writ 2020-09-02 23:23:18 -07:00
Joe Bryan
313c5f6050 serf: use off-loom jam for ipc $plea 2020-09-02 23:23:18 -07:00
Joe Bryan
b9409693dc serf: refactors event tracing, adds jam/cue tracing 2020-09-02 23:23:18 -07:00
Joe Bryan
2bd4602143 Revert "TMP: adds ivory-pill boot-timing printfs"
This reverts commit e7df5cedc1ff24b8cf9f07484278a9fc9d647ff4.
2020-09-02 18:50:45 -07:00
Joe Bryan
0709edb84a vere: swaps out cue implementation in ivory pill boot 2020-09-02 18:50:45 -07:00
Joe Bryan
9ef5e096a7 TMP: adds ivory-pill boot-timing printfs 2020-09-02 18:50:45 -07:00
Joe Bryan
8eb8a142a6 ur: adds explanatory comments to ur_tests.c 2020-09-02 18:50:45 -07:00
Joe Bryan
f45dfaed36 ur: refactors and adds comments to hashcons.h 2020-09-02 18:50:45 -07:00
Joe Bryan
f49963ffcf ur: refactors and adds comments to bitstream.h 2020-09-02 18:50:40 -07:00
Liam Fitzgerald
003537e80e lib/hooks: remove reference to scrying 2020-09-03 10:13:29 +10:00
Joe Bryan
f6bd14c7c6 ur: cleans up and comments defs.h 2020-09-02 15:44:05 -07:00
Matilde Park
3b27b1e5ee chat: slightly simplify #3347 implementation 2020-09-02 18:24:44 -04:00
matildepark
6e2ce697f9
Merge pull request #3382 from tylershuster/links-s3
Links s3
2020-09-02 18:06:53 -04:00
Matilde Park
882c9179e3 chat: address #3347 review feedback 2020-09-02 18:05:36 -04:00
Tyler Brown Cifu Shuster
630b79ad37 links: added s3 integration 2020-09-02 14:48:03 -07:00
Matilde Park
4c8c2eaa6d Merge branch 'mp/leap-tweaks' (#3420)
* origin/mp/leap-tweaks:
  leap: better compensate for long titles
  leap: show group's name, not the host ship
  leap: add "other" actions, prepopulate results
  leap: move leap to its own subfolder

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-09-02 15:48:02 -04:00
matildepark
759376e8b7
Merge pull request #3359 from tylershuster/chat-text-fix
chat: updated Leave Group copy
2020-09-02 12:41:11 -04:00
Liam Fitzgerald
3cce0f3830 glob: update to 0v5.g2nge.n1pgc.v5326.ivfqv.7ici2 2020-09-01 22:34:24 -04:00
Liam Fitzgerald
e96671b930 chat-view: no-op instead of crash on self-join 2020-09-02 11:44:10 +10:00
Liam Fitzgerald
b006e7f4ad chat-view: crash on joining own chat 2020-09-02 11:21:44 +10:00
Liam Fitzgerald
b81153db03 pull-hook: prevent from subscribing to ourselves 2020-09-02 11:21:14 +10:00
Liam Fitzgerald
4389c635d1 chat: ensure joined chats are loaded before joining 2020-09-02 11:20:00 +10:00
Tyler Brown Cifu Shuster
baf2226e3d chat: break up inline code while maintaining multiline codeblocks 2020-09-01 17:17:28 -07:00
Joe Bryan
d676d034cc vere: refactors ipc-framing api (newt.c) 2020-09-01 14:38:49 -07:00
Joe Bryan
1839384d52 u3: refactors ivory-pill boot 2020-09-01 14:20:07 -07:00
Joe Bryan
2897feeea3 u3: removes obsolete portable snapshot implementation 2020-09-01 13:59:20 -07:00
Joe Bryan
7d541b5a1f u3: refactors mmap read/write patterns in urth.c 2020-09-01 13:55:46 -07:00
Matilde Park
24753dd0c8 leap: better compensate for long titles 2020-09-01 16:23:42 -04:00
Matilde Park
e2df23eca6 leap: show group's name, not the host ship 2020-09-01 16:08:50 -04:00
Matilde Park
37786327f4 leap: add "other" actions, prepopulate results 2020-09-01 16:01:29 -04:00
Joe Bryan
f0dd6dc7a6 u3: refactors u3s_cue_xeno, declares u3s_cue_xeno_unsafe() 2020-09-01 11:44:59 -07:00
Matilde Park
97e84f96f2 leap: move leap to its own subfolder 2020-09-01 14:43:05 -04:00
L
6bf2ec28a6
Merge pull request #3352 from urbit/mp/links-indigo
links: some deduplication, cleanup
2020-09-01 12:29:41 -05:00
L
48df07cd55
Merge pull request #3390 from urbit/la/graph-js
interface: added graph reducer, store state, and subscription
2020-09-01 12:27:07 -05:00
Fang
626c4671da
vere: v0.10.9-rc1 2020-09-01 14:30:42 +02:00
Matilde Park
ef3b9282c2 various: add [landscape] marker to apps in arvo 2020-08-31 21:54:39 -04:00
Matilde Park
a8cc26892b interface/README: add README 2020-08-31 21:41:12 -04:00
Joe Bryan
b01d57eb30 u3: distinguish bad backreferences, enforce 62-bit cursors in cue 2020-08-31 18:06:42 -07:00
Joe Bryan
fd5edcb6b6 ur: distinguish bad backreferences from other failures in cue 2020-08-31 18:06:42 -07:00
Joe Bryan
612df9541f ur: documents jam/cue invariants, enforces cue 2020-08-31 18:06:42 -07:00
Joe Bryan
4128b19d91 ur: adds ur_bsr_init() to check 64-bit bitwise-addressing overflow 2020-08-31 18:06:42 -07:00
Joe Bryan
4387c3e2d8 ur: adds ur_bsr_skip_any() and tests, uses in ur_cue_test() 2020-08-31 18:06:42 -07:00
Joe Bryan
c123e9413a ur: refactors ur_bsr_bytes_any(), fixes edge-case bugs 2020-08-31 18:06:38 -07:00
Joe Bryan
bb136b7981 ur: updates ur_bsr_bytes_any() test (failing) to cover off-the-end edge-cases 2020-08-31 15:55:45 -07:00
Logan Allen
b5df4e1d71 interface: added remove operations to graph reducer 2020-08-31 15:45:52 -05:00
Fang
45ad5adbfd
vere: more correct lane cache commentary
@da are 128 bits, just like the worst-case @p.
2020-08-31 22:37:52 +02:00
Fang
e90258627f
vere: reset instead of decrement scry fail counter
If scries succeed, they work. No need to make this smarter.
2020-08-31 22:36:32 +02:00
Fang
7aa452b2fa
vere: ames.c stylistic improvements
Primarily, be consistent about parenthesis spacing around conditionals.
2020-08-31 22:34:10 +02:00
Matilde Park
86135772c8 Merge branch 'release/next-userspace' into mp/links-indigo 2020-08-31 15:18:35 -04:00
matildepark
966c6aea74
Merge pull request #3397 from tylershuster/dm-name-dedupe
chat: only show other participant in dms
2020-08-31 15:12:13 -04:00
Matilde Park
293e3261f1 Merge branch 'mp/maintainers-rfc' (#3381)
* origin/mp/maintainers-rfc:
  arvo/README: update maintainers

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-08-31 15:01:38 -04:00
matildepark
3c3691f688
Merge pull request #3391 from urbit/mp/profile/log-out-all
profile: log out of all sessions
2020-08-31 14:52:09 -04:00
matildepark
c9e4ddfbcf
Merge pull request #3409 from urbit/lf/eager-title-update
interface: update title eagerly
2020-08-31 14:23:19 -04:00
matildepark
07265435a6
Merge pull request #3414 from urbit/lf/dm-comet-cite
chat: cite patps in DM title
2020-08-31 14:21:23 -04:00
Liam Fitzgerald
11b913b746 chat: cite patps in DM title 2020-09-01 02:17:47 +10:00
matildepark
531d106d31
Merge pull request #3392 from urbit/mp/publish/long-titles
publish: fix unread counts for long titles
2020-08-31 12:10:36 -04:00
matildepark
e58b48a8c1
Merge pull request #3393 from urbit/mp/chat/inline-blocks
chat: break up inline code
2020-08-31 12:09:56 -04:00
Liam Fitzgerald
149ffd32e6 publish: make input form expand to screen 2020-09-01 01:25:51 +10:00
Liam Fitzgerald
bafe213d45 publish: check roles correctly for tags 2020-09-01 01:13:33 +10:00
Liam Fitzgerald
7519838cd2 interface: update title eagerly 2020-09-01 00:38:11 +10:00
Fang
585fb248ec
vere: only touch forward queue counter if scrying
Slightly simplify the logic around changing the queue size counter by
only modifying it when we're _actually_ scrying, instead of
synchronously processing the forward.
2020-08-29 17:33:31 +02:00
Fang
5f77200d0d
vere: cache lanes for stateless forwarding
While stateless forwarding doesn't need to touch disk, there's still
overhead in needing to communicate with the serf over IPC. By caching
lanes, we get to skip the IPC pipeline, and can respond to forwarding
requests synchronously.

We include timestamps alongside the entries in the cache, and consider
entries older than two minutes as stale.

The cache is capped at around ~100mb of memory use. Further commentary
is provided inline.

Previously, ~nus would drop 3 forward requests, for every one it
fulfilled. Now, it seems able to keep up with demand, only dropping
forwards shortly after boot, while the cache isn't primed yet.
2020-08-29 17:17:45 +02:00
Joe Bryan
7fa6499e37 build: updates benchmarks 2020-08-28 16:04:25 -07:00
Joe Bryan
6f3d83f4dc ur: adds ur_jam_unsafe() 2020-08-28 16:04:25 -07:00
Joe Bryan
7b42f540b4 ur: fixes buffer over-read bugs in bitstream in tests 2020-08-28 16:04:25 -07:00
Joe Bryan
1ea8e73104 build: adds microbenchmark for virtualized cue 2020-08-28 16:04:25 -07:00
Joe Bryan
f6042e440f u3: removes double atom allocation in u3s_cue_bytes() 2020-08-28 16:04:25 -07:00
Joe Bryan
daf463c4be ur: fixes a buffer over-write in ur_bsr_bytes_any() 2020-08-28 16:04:25 -07:00
Logan Allen
90a6282b4e interface: integrated and tested all scries with reducer 2020-08-28 14:16:38 -05:00
Philip Monk
9d4003d415
Merge pull request #3400 from urbit/philip/diff
clay: minimal -diff thread
2020-08-28 11:39:37 -07:00
Fang
024c16cd97
vere: give up ames scry after successive failures
Instead of giving up on scrying at the first sight of a u3_none result,
keep trying for a little bit. If five scries fail in direct succession,
consider scrying not worth the effort, and stop trying as before.
2020-08-28 15:34:19 +02:00
Fang
d76a5e9077
vere: properly clean up dropped laneless packets
Previously, if ames told us there was no lane for a target, we would
drop the packet, but fail to register this in the queue, or even reclaim
the memory it was using.

Now, we do all the required book-keeping when dropping packets in the
"no lane for this" case.
2020-08-28 12:53:18 +02:00
Joe Bryan
b9fd36e47b u3: removes u3s_cue_smol, hoped-for performance never materialized 2020-08-27 23:45:30 -07:00
Joe Bryan
4eb3e1217e u3: fixes indirect-atom allocation bug in u3s_cue_smol/full 2020-08-27 23:45:30 -07:00
Joe Bryan
851f03294d build: adds jam/cue microbenchmarks (make bench) 2020-08-27 23:45:25 -07:00
Joe Bryan
899f431284 ur: cleans up hashtable grow, adds consistent wipe operations 2020-08-27 23:42:07 -07:00
Joe Bryan
aee89f6a64 ur: removes trailing whitespace in tests 2020-08-27 23:42:07 -07:00
Joe Bryan
5b9c48c3fd u3: adds jam/cue roundtrip tests of new implementations 2020-08-27 23:42:02 -07:00
Philip Monk
4c758372d6
clay: minimal -diff thread
Barebones 2-way diff thread.  Further development should include:

- recognize at least %txt and %hoon diff types as (urge:clay cord) and
print them prettily

- check if they're directories and recurse through them, noting files
that exist in one or the other and diffing ones that exist in both

- support 3-way diffs.  Since we know the desks they're on, we can find
a mergebase (see how +trouble gets the base-hash in #3378) and do a
3-way diff.

- extend the above to support all the useful diffs, including
diff3(a,b), diff2(mergebase(a,b),a) and any other useful ones.
2020-08-27 21:14:47 -07:00
Tyler Brown Cifu Shuster
b51046d258 chat: only show other participant in dms 2020-08-27 16:17:25 -07:00
Logan Allen
c9bfe272e3 interface: added graph API and stubbed out graph scries 2020-08-27 17:34:46 -05:00
Logan Allen
bbf854d956 graph-store: updated scry interface to return %graph-store marks so as to properly do %json conversion 2020-08-27 17:31:36 -05:00
Joe Bryan
9addb545c0 u3: refactors jam_tests to run all and capture results 2020-08-27 15:14:52 -07:00
Joe Bryan
baf8b884fa u3: adds u3s_jam_xeno() 2020-08-27 15:14:53 -07:00
Joe Bryan
ac7d0731f6 u3: adds u3s_cue_smol/full/bytes/atom 2020-08-27 15:14:32 -07:00
Matilde Park
a4b945b4a3 chat: hideAvatars hides chat input avatar
Fixes #3386.
2020-08-27 16:42:02 -04:00
Joe Bryan
dd8a74cea2 u3: replaces u3_serf_uncram with u3u_uncram() 2020-08-27 12:52:19 -07:00
Joe Bryan
24b91af888 u3: refactors _cu_rock_save(), splitting out path/directory format/creation 2020-08-27 12:52:19 -07:00
Joe Bryan
11e7afdefc u3: adds u3s_cue_xeno() 2020-08-27 12:52:19 -07:00
Matilde Park
f2eeb7a14f chat: break up inline code
Doesn't affect %code messages.

Fixes #3358.
2020-08-27 15:49:48 -04:00
Matilde Park
c08509535f publish: fix unread counts for long titles
Fixes #3283.
2020-08-27 15:35:20 -04:00
Matilde Park
3c0dc59747 profile: log out of all sessions
This was hidden in urbit-os-v1.0.44 until we could ensure it actually
logged you out of all sessions. It requires a hidden input to function,
so it's added here.

Fixes #2649.
2020-08-27 15:11:03 -04:00
Matilde Park
13b5851b71 Merge branch 'master' into release/next-userspace 2020-08-27 14:50:27 -04:00
Logan Allen
20c94d34fe interface: added graph reducer, store state, and subscription 2020-08-27 11:46:46 -05:00
Fang
ddb61adbd1
lib: take json as argument to server json-response
No reason conversion to octs has to happen outside of this function.
2020-08-27 16:57:03 +02:00
Matilde Park
d47cfdb57d release: urbit-os-v1.0.43 2020-08-26 21:12:53 -04:00
Matilde Park
d78e28a167 glob: update to 0v6.8fpt6.7mcjg.nb019.df3fo.haav6 2020-08-26 21:11:32 -04:00
Matilde Park
b0577b9a33 soto: make background transparent
It worked for images, but not colours.
2020-08-26 21:00:54 -04:00
Matilde Park
50b2794ef6 links: fix font setting for hidden nicknames 2020-08-26 20:58:10 -04:00
Matilde Park
e76e919755 landscape/index.html: restore aws script
This got dropped in a merge conflict somewhere.
2020-08-26 20:50:49 -04:00
Matilde Park
0245ea73cf Merge branch 'la/file-server-fix' (#3379)
* origin/la/file-server-fix:
  file-server: fix %file-server by adding SPA flag and threading is-file through request

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-08-26 20:39:38 -04:00
Matilde Park
dd82f3861a Merge branch 'lf/settings-screen' (#3236)
* origin/lf/settings-screen: (25 commits)
  interface: fix setting background color
  interface/api: fix s3 calls for setting endpoint, keys
  interface/profile: hide log out of all header
  interface/profile: hide 'log out of all'
  profile: address comments
  profile: add identity form
  publish,links: respect hide avatar and nickname settings
  StatusBar: update for new design
  chat: support hideAvatars and hideNicknames
  launch: add background to base hash
  StatusBar: update for profile + omnibox
  interface: breakpoints in px
  settings: refactor for line limit
  settings: add inline image upload
  settings: add drag and drop component to reorder tiles
  groups,dojo: fix transparencies
  clock: fix transparency on no location
  profile: refactor layout
  interface: change indigo breakpoints to old queries
  interface: handle transparency correctly
  ...

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-08-26 20:35:08 -04:00
Matilde Park
af44b8fdc8 interface: fix setting background color
A semicolon.
2020-08-26 20:33:53 -04:00
Matilde Park
b540ad5c4e interface/api: fix s3 calls for setting endpoint, keys 2020-08-26 20:29:56 -04:00
Matilde Park
84a832d6e7 interface/profile: hide log out of all header
Ibid.
2020-08-26 20:25:18 -04:00
Matilde Park
ff40759e82 interface/profile: hide 'log out of all'
Non-functional. Requires 'all' in post body, and hasn't been tested.
2020-08-26 20:24:48 -04:00
Liam Fitzgerald
e63c050a6e profile: address comments 2020-08-27 10:05:29 +10:00
matildepark
5c380a46a5
Merge pull request #3377 from urbit/mp/chat/break-word
chat: break overflowing one-word messages
2020-08-26 19:44:58 -04:00
Joe Bryan
1da0c6d353 ur: removes higher-ordered cue traversals 2020-08-26 16:18:55 -07:00
Liam Fitzgerald
6085752f21 profile: add identity form 2020-08-27 09:16:26 +10:00
Liam Fitzgerald
e9c6322ff4 publish,links: respect hide avatar and nickname settings 2020-08-27 09:15:05 +10:00
Joe Bryan
e964e4a1fb ur: reimplements ur_cue/_unsafe directly 2020-08-26 16:13:08 -07:00
Joe Bryan
43bd092476 ur: reimplements ur_cue_test() directly 2020-08-26 16:13:08 -07:00
Joe Bryan
6f93ec3aa5 ur: implements ur_dict_get/put, cleans up ur_dict*_t handling 2020-08-26 16:13:08 -07:00
Joe Bryan
0420bf9aa5 ur: adds additional fibonacci constants 2020-08-26 16:13:08 -07:00
Joe Bryan
88f58d3f01 ur: fixes serial.h includes 2020-08-26 16:13:08 -07:00
Joe Bryan
177432f914 ur: adds 32-bit ur_cue traversal, ur_cue_test validator 2020-08-26 16:01:43 -07:00
Joe Bryan
63d36b4e75 ur: fixes bug in ur_bsr_bytes_any pointer math, adds tests 2020-08-26 16:01:43 -07:00
Joe Bryan
8d5adc8bc1 ur: refactors ur_cue() into higher-order traversal 2020-08-26 16:01:43 -07:00
Joe Bryan
5dca7bd620 u3: implements u3u_cram() 2020-08-26 16:01:43 -07:00
Joe Bryan
9c008c269b u3: refactors u3u_uniq() 2020-08-26 16:01:43 -07:00
Joe Bryan
8a3b2fc061 ur: refactors ur "library" into separate modules 2020-08-26 16:01:36 -07:00
matildepark
e8b51df6dd
arvo/README: update maintainers 2020-08-26 18:29:19 -04:00
Logan Allen
e1b011224d file-server: fix %file-server by adding SPA flag and threading is-file through request 2020-08-26 14:24:16 -05:00
Matilde Park
e636611ccc Merge branch 'release/next-userspace' into mp/chat/fix-joining 2020-08-25 21:57:51 -04:00
Matilde Park
ed17475f12 chat: break overflowing one-word messages
Fixes #3358.
2020-08-25 21:34:51 -04:00
Liam Fitzgerald
a7779025e8 Merge branch 'release/next-userspace' into lf/settings-screen 2020-08-26 10:50:12 +10:00
Philip Monk
9f96259261
Merge pull request #3311 from ohAitch/fix-wuts
dojo: restore `??` and `???` syntax
2020-08-25 15:00:49 -07:00
Anton Dyudin
46af34cfe8
dojo: fix dy-show-type-noun indent 2020-08-25 13:45:32 -07:00
Tyler Brown Cifu Shuster
3ad6c95329 interface: made head reactive 2020-08-24 21:14:23 -07:00
Matilde Park
c5b71e55c1 chat: restore join functionality
Fixes #3371.
2020-08-24 23:10:56 -04:00
Matilde Park
f9f6eb5d1a Merge branch 'lf/publish-indigo' (#3337)
* origin/lf/publish-indigo: (22 commits)
  publish: send read action if content does not overflow
  interface: fix missing import of ErrorBoundary
  publish: fix foreign notebooks
  publish: comment author correct
  interface: indigo Error
  publish: link preview correctly
  publish: loosen property access
  publish: address comments
  publish: style 'about' field for dark mode
  groupView: 'no ships are banned' styling
  publish: allow creation of unmanaged notebooks
  publish: adding dark mode declarations
  publish: make post submit button primary
  publish: improve responsivity on mobile
  publish: address review comments
  publish: remove extraneous files from merge
  publish: cleanup imports
  publish: finish rewrite
  publish: begin rewrite
  publish: rewrite note previews in indigo
  ...

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-08-24 23:01:18 -04:00
Liam Fitzgerald
f92866a83f publish: send read action if content does not overflow 2020-08-25 12:50:55 +10:00
Joe Bryan
1e8158b683
Merge pull request #3355 from frodwith/rolljet
+roll and +reel stack space
2020-08-24 19:16:47 -07:00
Matilde Park
92610b3d57 Merge branch 'lf/publish-indigo' of github.com:urbit/urbit into lf/publish-indigo 2020-08-24 21:52:12 -04:00
Matilde Park
ed053ed0ed interface: fix missing import of ErrorBoundary 2020-08-24 21:51:39 -04:00
Liam Fitzgerald
5e0f6470a2 publish: fix foreign notebooks 2020-08-25 11:47:46 +10:00
Liam Fitzgerald
21a64076e2 publish: comment author correct 2020-08-25 11:47:11 +10:00
Liam Fitzgerald
17e8add450 interface: indigo Error 2020-08-25 11:46:12 +10:00
Liam Fitzgerald
1150c750cf publish: link preview correctly 2020-08-25 11:33:29 +10:00
Liam Fitzgerald
766fd8411b publish: loosen property access 2020-08-25 11:29:56 +10:00
Liam Fitzgerald
487377bd19 publish: address comments 2020-08-25 10:50:09 +10:00
Paul Driver
8bc148acc3 use road stack instead of heap vector in reel 2020-08-24 15:01:02 -07:00
matildepark
f421d5c453
Merge pull request #3368 from tylershuster/dm-dedupe
interface: deduplicate InviteSearch results
2020-08-24 14:45:30 -04:00
matildepark
2bd4a7035a
Merge pull request #3316 from urbit/dk-peek
updated on-peek for s3-store
2020-08-24 14:37:32 -04:00
matildepark
1d19d99ad9
Merge pull request #3366 from tylershuster/sigil-speedup
interface: Sigil speedup
2020-08-24 14:36:50 -04:00
Tyler Brown Cifu Shuster
a441c9275b interface: deduplicate InviteSearch results 2020-08-24 10:10:04 -07:00
Tyler Brown Cifu Shuster
643eba1f2a interface: sped up sigil implementation 2020-08-23 20:10:03 -07:00
Tyler Brown Cifu Shuster
4cec8f481a interface: sped up sigil implementation 2020-08-23 20:05:59 -07:00
Tyler Brown Cifu Shuster
16868c58c9 groups: trim name on create 2020-08-23 19:50:18 -07:00
Tyler Brown Cifu Shuster
c383d31c24 chat: updated Leave Group copy 2020-08-22 10:55:37 -07:00
Joe Bryan
096677a3c3 ur: distinguish "meme" (exceeds memory repr) errors in ur_bsr* and ur_cue* functions 2020-08-21 15:33:04 -07:00