Commit Graph

4834 Commits

Author SHA1 Message Date
Elliot Glaysher
b7bfa170a9
Merge pull request #3262 from urbit/king-fix-eth
king: fix dawn to use the wrapped ethereum server.
2020-08-07 14:31:07 -04:00
Elliot Glaysher
4c4712f4e8 king: fix dawn to use the wrapped ethereum server. 2020-08-07 13:18:16 -04:00
Fang
c76fec09a6
Merge pull request #3174 from urbit/m/stateless-forward
ames.c: stateless forwarding
2020-08-07 00:24:52 +02:00
Fang
b4a72f3160
vere: make note of litte-endianness dependency 2020-08-06 23:56:05 +02:00
Fang
c142184cd4
vere: add 'ax' to motes.h 2020-08-06 23:47:35 +02:00
Fang
61c64584aa
vere: don't crash the process on scry crash
The fake result introduced in 34cfc9a6f isn't very useful if the process
ends up crashing anyway...
2020-08-06 22:02:41 +02:00
pilfer-pandex
effdd30d54 Merge branch 'master' into release/next-vere 2020-08-06 12:08:43 -07:00
pilfer-pandex
66fc6b668e
Merge pull request #3184 from urbit/pp/finding-that-darn-serf
king: use c vere's heuristics for finding the serf binary
2020-08-06 11:37:14 -07:00
Fang
34cfc9a6fc
vere: when scry crashes, produce fake result of ~
In the long term, we don't want to pretend we got "no result", and
handle crashes by whatever behavior is appropriate.
In the short term, we don't want to burden callsites with crash
handling, so we punt on the problem by producing ~.
2020-08-06 20:33:10 +02:00
Fang
00eb249e55
vere: rename u3_lord_peek_pico to u3_lord_peek 2020-08-06 20:24:43 +02:00
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
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
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
Fang
71a0e61c2e
vere: fix missing u3z 2020-08-01 01:05:33 +02:00
Matilde Park
baaea9a2a4 glob: update to 0v3.cus8h.vc64c.rfb3t.22oji.b529a 2020-07-31 01:25:41 -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
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
4a5d087de6
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-07-30 13:46:13 -07:00
Philip Monk
48745e945a
Merge branch 'philip/ames-lane' (#3186)
* origin/philip/ames-lane:
  ames: fix lane discovery during some lane changes

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-30 13:33:29 -07:00
Philip Monk
a289615f8d
Merge branch 'philip/clay' (#3188)
* philip/clay:
  clay: fix ph tests
  clay: remove debugging printfs
  clay: rewrite new protocol
  clay: refactor over-the-wire protocol

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-30 13:30:16 -07:00
matildepark
7384da1db5
Merge pull request #3216 from tylershuster/fix-message-url
Interface: Fixes #3195 URL message parsing
2020-07-30 13:10:44 -04:00
Tyler Brown Cifu Shuster
7226576f3f Interface: Fixes #3195 URL message parsing 2020-07-30 09:48:50 -07:00
matildepark
c38cff2320
Merge pull request #3224 from tylershuster/tbcs/ban-visibility
Interface: Only allow admins to ban people
2020-07-30 11:10:57 -04:00
Matilde Park
aecc9e2ff4 chat: truncate long nicknames 2020-07-30 11:07:56 -04:00
Matilde Park
b2b33a78b8 chat: prevent overlay panel from expanding 2020-07-30 11:05:43 -04:00
Matilde Park
691d24d800 publish: amend 'new' copy for new UX 2020-07-30 10:57:26 -04:00
Tyler Brown Cifu Shuster
82f7ae0896 Interface: Only allow admins to ban people 2020-07-29 17:57:51 -07:00
L
f801dffe02
Merge pull request #3212 from urbit/la/message-refactor
interface: refactored chat message component into smaller pieces
2020-07-29 13:44:31 -07:00
Philip Monk
3d1b7f2b35
clay: fix ph tests 2020-07-28 21:44:45 -07:00
Matilde Park
3ab634a788 release: urbit-os-v1.0.35 2020-07-29 00:16:05 -04:00
matildepark
1ff3f6b3e2
Merge pull request #3204 from urbit/lf/dm-fix-fix-fix
chat-hook: identify DMs correctly
2020-07-28 23:46:14 -04:00
Liam Fitzgerald
04d9495d83 publish-js: add all members as writers button 2020-07-29 13:38:43 +10:00
Matilde Park
66e6f237e0 Merge branch 'master' into release/next-userspace 2020-07-28 22:33:25 -04:00
Logan Allen
f57ad92701 interface: refactored chat message component into smaller pieces 2020-07-28 19:22:35 -07:00