Commit Graph

20263 Commits

Author SHA1 Message Date
Fang
f8601d9a6a
vere: move u3_pico lifecycle functions into ward.c
Now we free the struct _and its nouns_ in the same place, rather than
transferring the nouns into lord.c, but still freeing the struct
locally.
This means the lord needs to explicitly retain the nouns in the u3_pico.
2020-08-06 20:22:46 +02:00
Tyler Brown Cifu Shuster
0acd8e34b1 Interface: Added typescript linting 2020-08-05 21:15:56 -07:00
Matilde Park
65f5138533 interface: linting max-lines 2020-08-05 22:36:51 -04:00
Logan Allen
15d1103c4c interface: clean up unused dependencies 2020-08-05 19:30:05 -07:00
Logan Allen
d7762b5daf chat: scroll locking behavior works 2020-08-05 19:28:01 -07:00
Matilde Park
a393cdf665 omnibox: move to cmd+L, globally bind the keys 2020-08-05 22:01:07 -04:00
Matilde Park
6e15e955fb omnibox: remove fragment wrapper 2020-08-05 21:45:17 -04:00
Matilde Park
7f185d0667 omnibox: address @tacryt-socryp review comments 2020-08-05 21:33:59 -04:00
Matilde Park
11b26946f4 groups: autofocus join prompt 2020-08-05 21:32:31 -04:00
Matilde Park
fe4b6facb1 omnibox: use current assets 2020-08-05 21:32:19 -04:00
Logan Allen
dfded5bef7 chat: got pagination and scroll locking behavior working properly 2020-08-05 17:56:37 -07:00
Matilde Park
83456246ba statusBar: reconnect button into component 2020-08-05 19:36:07 -04:00
Logan Allen
64be8871a6 chat: found an approach to cleanup window 2020-08-05 15:04:53 -07:00
Elliot Glaysher
86b445b7cb king: First attempt at integration with NATPMP.
This sets up a separate thread to handle scheduling of lease
renewals.
2020-08-05 15:33:37 -04:00
Matilde Park
67e1586f94 Merge branch 'release/next-userspace' into mp/omnibox 2020-08-05 15:27:10 -04:00
Logan Allen
a6981afb5b chat list experiment 2020-08-05 12:19:35 -07:00
matildepark
c69389f18a
Merge pull request #3222 from tylershuster/sigil-favicon
Interface: Set favicon to ship sigil
2020-08-05 15:01:29 -04:00
Logan Allen
3ce70b8264 chat: wip 2020-08-05 11:02:42 -07:00
matildepark
7c3519e659
Merge pull request #3252 from urbit/mp/line-height-nicknames
chat: names use db, not dib
2020-08-05 13:59:03 -04:00
Fang
25a4806439
vere: reduce "dropped forwards" printf frequency 2020-08-05 16:42:25 +02:00
Fang
78529c926f
vere: don't decrement prematurely
Previously, we decremented len_w eagerly, regardless of whether
u3_auto_next succeeded in getting a next event or not.
Now, we only decrement len_w if we actually managed to get a next event,
resulting in better behavior in the "no next" case.

Also lightly touches up style a couple lines down, for consistency.
2020-08-05 16:40:27 +02:00
Tyler Brown Cifu Shuster
9cd6bf1db1 Interface: Set favicon to ship sigil 2020-08-04 16:49:25 -07:00
Fang
7aecd3064e
vere: store lanes as structs, not nouns
This was the last bit of forwarding state we were still keeping on the
loom. It's all C structs now.
2020-08-05 01:38:00 +02:00
Fang
8a7aca15db
vere: improves ames.c code style
Avoid intermediate noun allocations, superfluous typedefs, constant
calculations, etc.
2020-08-05 01:29:37 +02:00
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