Commit Graph

5569 Commits

Author SHA1 Message Date
Fang
dd3112985e
kh: support rendering +stub as ansi escape codes
Adds support to term.hs 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-15 16:50:25 +02:00
Joe Bryan
ab60025438 vere: disables sample profiling in the king 2020-09-15 01:13:20 -07:00
Joe Bryan
7cb15d77f2 u3: fixes -P profiling by moving alloc hints in imprison.c
broken by yours truly, in 406a823ddd
2020-09-15 01:13:18 -07:00
Joe Bryan
e389220d18 u3: refactors u3r_sing internals, adding comments 2020-09-15 01:12:38 -07:00
Joe Bryan
e014baacac u3: refactors u3r_sing internals to use road stack api 2020-09-15 01:12:38 -07:00
Joe Bryan
c1d22949af u3: rewrites u3s_cue to use road stack api 2020-09-15 01:12:38 -07:00
Joe Bryan
740c0bbf81 u3: splits u3a_take into north/south implementations 2020-09-15 01:12:38 -07:00
Joe Bryan
fae8980660 u3: refactors "retreat" block of u3a_take in to do/while loop 2020-09-15 01:12:38 -07:00
Joe Bryan
c591eb220d u3: factors out "advance" block of u3a_take() 2020-09-15 01:12:38 -07:00
Joe Bryan
8b08a8b5c8 u3: refactors u3a_take() to use road stack api 2020-09-15 01:12:38 -07:00
Joe Bryan
a0621f2bbf u3: refactors cell reallocation, stack struct in u3a_take() 2020-09-15 01:12:38 -07:00
Joe Bryan
00ed9b1c1c u3: refactors atom reallocation in u3a_take() 2020-09-15 01:12:38 -07:00
Joe Bryan
6f39faeb7d u3: refactors u3a_walk_fore/unsafe(), using road stack api 2020-09-15 01:12:38 -07:00
Matilde Park
28c019c9cb Merge branch 'release/next-userspace' into mp/chat/copy-notice 2020-09-14 21:05:58 -04:00
Matilde Park
3482f4ae59 soto: call resetControllers on mount 2020-09-14 14:36:57 -04:00
Joe Bryan
10a674b0a5 u3: rewrites u3r_mug for clarity 2020-09-12 22:35:02 -07:00
Joe Bryan
707a834397 u3: corrects comments in allocate.h 2020-09-12 22:34:05 -07:00
Joe Bryan
26d27e4215
Merge pull request #3480 from urbit/jb/term-efficiency
vere: refactors terminal output implementation for efficiency
2020-09-11 16:53:25 -07:00
Joe Bryan
b43fca4539 u3: refactors +reel and +stir jets, removing obsolete stack bookkeeping 2020-09-11 15:56:48 -07:00
Joe Bryan
0eb63131b8 u3: const-qualifies u3_pile pointer in road-stack api (where appropriate) 2020-09-11 15:56:07 -07:00
Joe Bryan
ad4d6368da vere: restores a necessary layer of reallocation 2020-09-11 15:38:55 -07:00
Joe Bryan
047481667a u3: clarifies forward-declaration comment in allocate.h 2020-09-11 15:12:46 -07:00
Joe Bryan
8db9a4d394 u3: only perform road stack checks in +stir jet if necessary 2020-09-11 15:10:49 -07:00
Joe Bryan
2e8d84c173 u3: removes redundant stack reads from +reel and +stir jets 2020-09-11 14:57:57 -07:00
Joe Bryan
a78b303bb4 u3: adds further improvements to road-stack api 2020-09-11 14:54:49 -07:00
Joe Bryan
b719a738f4 u3: refactors road stack api, limiting overflow checks 2020-09-11 13:38:04 -07:00
Joe Bryan
2af18a6659 Merge branch 'release/next-vere' into jb/stir-tail
* release/next-vere: (317 commits)
  u3: improves error output on c3_assert()
  vere: improves error messages on ipc EOF
  vere: fixes %trim effect handler
  vere: fix crash on u3_pier_bail()
  king: move most things from debug log level to info
  vere: support rendering +stub as ansi escape codes
  king: change logging from tracing to info in Wai.hs
  king dawn: export functions used in tests
  king dawn: nits
  king dawn: remove stray marks
  king dawn: instead of crashing, return an error
  king dawn: replace web3 usage with hand rolled jsonrpc messages.
  vere: v0.10.9-rc1
  vere: more correct lane cache commentary
  vere: reset instead of decrement scry fail counter
  vere: ames.c stylistic improvements
  vere: only touch forward queue counter if scrying
  vere: cache lanes for stateless forwarding
  vere: give up ames scry after successive failures
  vere: properly clean up dropped laneless packets
  ...
2020-09-11 12:53:30 -07:00
Joe Bryan
faaaa9415d vere: incorporate term.c review feedback, updates comments 2020-09-11 11:44:18 -07:00
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