Commit Graph

5423 Commits

Author SHA1 Message Date
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