Commit Graph

20239 Commits

Author SHA1 Message Date
Fang
b5a9a7d538
vere: move scry api into pier.c, interleave events
Scries were being prioritized over events, in the IPC queue. If scry
requests came in faster than we could process them (as is easily the
case for ames forward requests), this would cause scries to completely
clog the IPC queue, preventing any events from being processed at all.

The short-term solution implemented here is to simply alternate between
scry requests and events when building/sending a work batch.

To accomplish this, we separate scry requests into their own queue. We
keep this in pier.c, and pass them on to lord.c interleaved with regular
events in _pier_work_send.

The interleaving of regular events (as opposed to doing scries with the
highest priority) complicates the situation around auto-filled scry
cases (for scrying at "the latest timestamp").
To ensure we're always scrying at a sane latest timestamp, we keep a
queue of u3_pico, instead of fully-qualified scry requests. Where
necessary, lord.c fills in the missing path elements right before
sending it over the pipe.
2020-08-05 01:24:01 +02:00
matildepark
ef62796305
Merge pull request #3251 from urbit/lf/admin-invite
contact-view: poke %group-push-hook correctly
2020-08-04 19:12:31 -04:00
Elliot Glaysher
d39d7246d1 king: move MultiEyreApi to a new RunningEnv.
There was a TODO in runShips about how the different layers of the
RIO environment had to be changed, so that there was a layer between
KingEnv and PierEnv for things shared between individual Piers, but
which weren't used outside of any PierEnv. This addresses those
TODOs by creating RunningEnv, which for now just owns MultiEyreApi
and makes it so we don't have to pass the entire thing around
explicitly.

The IP handling stuff will go in RunningEnv in a following patch.
2020-08-04 16:56:32 -04:00
Matilde Park
d8ecf0b47b chat: names use db, not dib 2020-08-04 16:20:28 -04:00
Elliot Glaysher
225d2a288b king: Add CLI options for NAT traversal.
(Not yet hooked up to anything.)
2020-08-04 16:08:35 -04:00
Elliot Glaysher
11c86df3ce natpmp: Make haskell bindings to libnatpmp and add them to the build. 2020-08-04 13:24:55 -04:00
Liam Fitzgerald
13e22455f3 contact-view: poke %group-push-hook correctly
Fixes #3214
2020-08-04 12:55:05 +10:00
Liam Fitzgerald
044cea6eb4 glob: update glob for versioning 2020-08-04 10:53:45 +10:00
Liam Fitzgerald
9f0546e926 webpack: update for new bundle location 2020-08-04 10:41:55 +10:00
Liam Fitzgerald
0d1930b6ac file-server: migrate to new dir 2020-08-04 10:38:56 +10:00
Liam Fitzgerald
f4971ae08c glob: serve all webpack assets out of /bundle 2020-08-04 10:36:51 +10:00
matildepark
c975519437
Merge pull request #3238 from tylershuster/line-break-fix
Interface: Fixed #3234: chat newline bug
2020-08-03 19:52:33 -04:00
Liam Fitzgerald
4207e2372e interface: clean dir before webpack build 2020-08-03 11:04:01 +10:00
Liam Fitzgerald
b9cb336d14 MAINTAINERS: update for versioned JS bundles 2020-08-03 10:15:21 +10:00
Liam Fitzgerald
255cf8a730 glob: handle versioned JS bundles in |make 2020-08-03 10:09:49 +10:00
Liam Fitzgerald
4ab11c13ee interface: version JS changes in webpack
Also fixes a longstanding bug where the compiled JS would be written
twice to the same file, causing the bundle to be twice as large as it
needs to be.
2020-08-03 09:55:04 +10:00
Liam Fitzgerald
cf84670fc8 file-server: do not cache index.html
Removes caching for index.html so JS versioning can occur by referencing
JS bundles with different filenames
2020-08-03 09:53:49 +10:00
Jared Tobin
ab15d5d6ac
Merge pull request #3247 from botter-nidnul/update_issue_templates
ISSUE_TEMPLATEs: use +trouble instead of .^(@uv %cz /=base=)
2020-08-02 18:45:43 +04:00
botter-nidnul
db2c8d3d92 ISSUE_TEMPLATEs: use +trouble instead of .^(@uv %cz /=base=) 2020-08-01 09:39:36 -05:00
Logan Allen
e7a2626238 interface: fixed sigil overlay 2020-07-31 16:14:26 -07:00
Logan Allen
ad6e87eaff interface: fixed typo from splitting line of classnames 2020-07-31 16:10:45 -07:00
Logan Allen
6e7ea221e1 interface: refactored chat window into header, messages, and window 2020-07-31 16:05:47 -07:00
Fang
71a0e61c2e
vere: fix missing u3z 2020-08-01 01:05:33 +02:00
Logan Allen
f8ffab270d Merge branch 'la/chat-input' of github.com:urbit/urbit into la/chat-input 2020-07-31 14:05:39 -07:00
Logan Allen
be317a463e interface: fixed uxToHex bug 2020-07-31 14:04:50 -07:00
L
18ebcc2476
Merge branch 'release/next-userspace' into la/chat-input 2020-07-31 13:55:24 -07:00
Tyler Brown Cifu Shuster
2902182a90 Interface: Fixed #3234: chat newline bug 2020-07-31 09:35:06 -07:00
Matilde Park
baaea9a2a4 glob: update to 0v3.cus8h.vc64c.rfb3t.22oji.b529a 2020-07-31 01:25:41 -04:00
matildepark
d41ac80b49
Merge pull request #3233 from urbit/lf/chat-link-hotfix
chat: import Link correctly
2020-07-31 01:18:44 -04:00
Liam Fitzgerald
e58730fc5d chat: import Link correctly 2020-07-31 15:17:30 +10:00
Matilde Park
5fd6d657b8 glob: update to 0v1.lkkr3.b5rri.loft7.tctif.hlu0t 2020-07-31 00:28:08 -04:00
matildepark
59d6d4a30e
Merge pull request #3232 from urbit/lf/publish-tags-fix
publish-js: account for missing group
2020-07-31 00:19:11 -04:00
Matilde Park
9bbe87acb3 Merge branch 'master' into release/next-userspace 2020-07-31 00:16:39 -04:00
matildepark
be5377d09d
Merge pull request #3229 from tylershuster/member-list-scroll
Interface: Add smart scrolling to group member list
2020-07-30 23:17:42 -04:00
matildepark
6ff8176380
Merge pull request #3228 from urbit/la/fix-out-of-sync
chat-hook: fix synced map getting out of sync with outgoing subscriptions
2020-07-30 22:43:37 -04:00
matildepark
bd22105a87
Merge pull request #3225 from urbit/mp/publish-copy
publish: amend 'new' copy for new UX
2020-07-30 22:43:17 -04:00
Tyler Brown Cifu Shuster
25e6685c15 Interface: Add smart scrolling to group member lists 2020-07-30 19:43:06 -07:00
matildepark
a74467278b
Merge pull request #3226 from urbit/mp/thanks-mark
chat: truncate long nicknames
2020-07-30 22:43:01 -04:00
Liam Fitzgerald
3e3f1c4558 publish-js: account for missing group 2020-07-31 11:22:57 +10:00
Matilde Park
8e1274caf3 omnibox: add overflow: scroll on vertical 2020-07-30 21:04:45 -04:00
Matilde Park
8230b02ad3 omnibox: fix autofocus on safari 2020-07-30 21:02:10 -04:00
Matilde Park
7d1c53ea44 omnibox: address @liam-fitzgerald feedback 2020-07-30 20:56:51 -04:00
Matilde Park
1c567ad4d9 omniboxresult: add catch for dojo's graphic 2020-07-30 19:17:17 -04:00
Matilde Park
1be4aed640 interface: add omnibox, new statusbar 2020-07-30 19:14:03 -04:00
L
798f3b5de0
Merge pull request #3110 from urbit/la/graph-store
graph-store: a consistent, strongly validated, interoperable data storage format
2020-07-30 15:25:17 -07:00
Logan Allen
d7b31680f4 graph-store: moved ~| to within var declarations so crashes don't affect anything else 2020-07-30 15:06:48 -07:00
Logan Allen
871818b241 graph-store: if there is no hash in added node, replace signatures with ~, otherwise check validity of signatures 2020-07-30 15:02:04 -07:00
Logan Allen
7fb50a3f97 graph-store: respond to phil's comments, request %next for clay, and compare +tear to hash 2020-07-30 14:43:40 -07:00
Logan Allen
f8320b3de1 chat-hook: fix synced map getting out of sync with outgoing subscriptions 2020-07-30 14:20:40 -07:00
Philip Monk
5e65abcb7a
release: urbit-os-v1.0.36 2020-07-30 13:46:59 -07:00