Commit Graph

1275 Commits

Author SHA1 Message Date
Philip Monk
9b798a8722
reenable apps 2019-08-01 11:43:33 -07:00
Ted Blackman
449b1a9769 behn: stop clamming in +load 2019-08-01 11:37:28 -07:00
Ted Blackman
0579cc9937 behn fix crash from missing timer 2019-08-01 11:30:19 -07:00
Ted Blackman
1c3ea0b188 add +slam:wa and tests 2019-08-01 11:21:24 -07:00
Philip Monk
54a3031397
add keys to sponsor in preboot validation 2019-08-01 11:14:36 -07:00
pilfer-pandex
a5a9220284 decapitate nest:ut with caching for dext 2019-08-01 11:13:40 -07:00
Matilde Park
b62eaa859e Pointer over the set location to seem buttonish 2019-08-01 13:33:32 -04:00
Matilde Park
80dea066d6 Seem a bit more tile-like. 2019-08-01 13:32:51 -04:00
Matilde Park
8042bce45b Redesigning the set location appearance + label 2019-08-01 13:31:47 -04:00
Matilde Park
7ff6d99c2b Recompiling /arvo clock tile 2019-08-01 11:59:23 -04:00
Ted Blackman
df3caeb27b print even more 2019-07-31 21:45:31 -07:00
Ted Blackman
c9af213e77 moar printfs 2019-07-31 21:24:54 -07:00
Ted Blackman
83500256d8 debug printfs 2019-07-31 20:14:33 -07:00
Ted Blackman
2068b41140 fix kale ducts 2019-07-31 19:51:11 -07:00
Ted Blackman
8fd260f9f8 print more 2019-07-31 14:21:07 -07:00
Ted Blackman
c578d3282a testnet config 2019-07-31 13:55:05 -07:00
Ted Blackman
0c632e8811 fix |reload %a 2019-07-31 11:51:31 -07:00
Ted Blackman
bdd1aaf87d fix test scry 2019-07-31 11:23:12 -07:00
Fang
f07c6424c4
Update dist files with recent changes 2019-07-31 13:53:16 +02:00
Fang
91d4c26516
Touch up styling of %exp messages 2019-07-31 13:51:57 +02:00
Fang
470a22cae4
Improve rendering of multi-line %exp messages in talk 2019-07-31 13:41:07 +02:00
Fang
3e028fde21
Render tanks in hall json at safer width 2019-07-31 13:40:30 +02:00
Fang
39cf0388be
Work around weird zuse shadowing bug
`..zuse` gave `%309`, which is equivalent to `zuse`. Somehow, `..^zuse`
gives the correct result.
2019-07-31 13:39:31 +02:00
Fang
e5f0e136e9
Improve rendering of multi-line %exp messages 2019-07-31 13:35:55 +02:00
Fang
1ce3d5af7a
Support sending %exp messages 2019-07-31 13:35:25 +02:00
Ted Blackman
43b35d7a00 ames %turf on %born 2019-07-30 19:31:15 -07:00
Philip Monk
418a05f833
add moon handling to kale 2019-07-30 18:13:05 -07:00
Philip Monk
583da25e50
add test for sudden breaches 2019-07-30 16:53:40 -07:00
Philip Monk
582ac471bd
only blockchain is real 2019-07-30 16:29:04 -07:00
Philip Monk
578d14bfea
implement kale hierarchy 2019-07-30 16:26:47 -07:00
Ted Blackman
84ba84d377 behn fix crash from missing timer 2019-07-30 16:11:19 -07:00
pilfer-pandex
a332bb17b2 kill conk:ut jet 2019-07-30 13:53:09 -07:00
pilfer-pandex
30c47dac09 decapitate wrap:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
762d4b5d83 decapitate toss:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
00b70a9a2b decapitate rest:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
f49e5aa5bd dejet repo:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
1005d5d7f8 decapitate play:ut (broken??) 2019-07-30 13:53:09 -07:00
pilfer-pandex
70b0223d39 decapitate peel:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
6fdb739a38 decapitate peek:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
7306e80da2 decapitate mull:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
5057cb733c decapitate mint:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
ffa0d9108c decapitate fuse:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
61b957cc5b decapitate fish:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
13c73ea990 decapitate fire:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
0d97cee2ee decapitate find:ut, fond:ut 2019-07-30 13:53:09 -07:00
pilfer-pandex
67d51c1c1f decapitate crop:ut 2019-07-30 13:53:09 -07:00
Philip Monk
577a01503b
change preboot stuff to include rift 2019-07-30 13:28:57 -07:00
Ted Blackman
f32331cb38 benchmarking printfs 2019-07-29 22:21:35 -07:00
Ted Blackman
27ed2bff78 resend comet attestation on packet timeout 2019-07-29 18:03:40 -07:00
Philip Monk
e39a2c0467
all breach tests pass 2019-07-29 15:09:08 -07:00
Ted Blackman
197ed0f2d4 no more memory leaks 2019-07-29 14:53:19 -07:00
Ted Blackman
14dba1d4ac all tests pass 2019-07-29 04:05:52 -07:00
Ted Blackman
505c0eb4d5 clay |sync works; fixed ack bug and clay bug 2019-07-29 02:08:26 -07:00
Fang
f463ae2839
Update dist files with recent changes 2019-07-29 10:27:12 +02:00
Fang
19e05d70e2
Render all message types in the sidebar also 2019-07-29 09:29:00 +02:00
Ted Blackman
9670408a06 Merge branch 'master' into alef-breach 2019-07-29 00:27:58 -07:00
Ted Blackman
e04d2c8570 worker printfs 2019-07-29 00:14:39 -07:00
Fang
34826d6e19
Build and render arvo:// urls correctly 2019-07-29 09:05:42 +02:00
Ted Blackman
5b0ee61a64 Boots without error and sends and receives talk messages 2019-07-28 23:37:49 -07:00
Fang
e6f962e76e
Make input area resizable
and touch up its styling issues.
2019-07-29 02:16:11 +02:00
Fang
37d061cbfe
Support sending %fat messages
for clipboard pastes and long-form content.

If a multi-line string is pasted into an empty input field, treat is as
a "clipboard" message if it's sent directly afterwards. (A text %fat.)

If a multi-line message is composed in any other way, treat it as a
long-form message, moving all but the first line into the attachment.
(A more display-friendly tank %fat.)
2019-07-29 02:08:19 +02:00
Fang
c04ee7a0de
Ensure (%fat) messages get rendered within screen bounds 2019-07-29 02:01:16 +02:00
Fang
c880736eea
Remove noisy printf 2019-07-29 01:58:08 +02:00
Fang
716af367bf
Forbid sending empty messages
And don't render any elements for them.
2019-07-28 23:21:03 +02:00
Fang
c4ad4aa247
Support rendering %fat 2019-07-28 23:16:09 +02:00
Fang
ea3f46183a
Support rendering %exp 2019-07-28 13:21:54 +02:00
Fang
1974c8b4e4
Support rendering %ire 2019-07-28 13:09:55 +02:00
Fang
c91ad893c0
Support rendering %app 2019-07-28 13:06:08 +02:00
Ted Blackman
fdb20a7528 %plea and %boon; might not compile 2019-07-28 00:50:32 -07:00
Philip Monk
efd37a1e3c
simplify kale/azimuth-tracker subscription semantics 2019-07-27 21:01:55 -07:00
Philip Monk
f78d755a0d
%breach-sync works with kale 2019-07-27 16:52:28 -07:00
Fang
d0e51f4a1a
Refactor chat-input to fully support %lin and %url
Supports sending both regular and action %lin messages, using the
optional @ prefix.

Now transforms on-urbit URLs into arvo:// URLs prior to sending,
as opposed to on-render.
Unfortunately, the type hall uses for URLs doesn't support non-HTTP
protocols yet, so we send arvo:// URLs as %lin messages for now.

Input field gets styled based on detected message type. Italics for
action lins, underline for URLs.
2019-07-27 18:28:04 +02:00
Fang
ccf5b09165
Refactor message.js to fully support %lin and %url
Renders messages based on their speech type, as opposed to interpreting
%lin speeches and ignoring all others.

Italicizes %lin "@" messages.

Makes images clickable to open in new window.
2019-07-27 18:22:53 +02:00
Fang
0286d03edb
Refactor code duplication in Chat root 2019-07-27 15:00:41 +02:00
Philip Monk
82bf90df3f
Merge pull request #1398 from adklempner/weather-timer
Fix timer logic in Weather app
2019-07-27 01:40:54 -07:00
Philip Monk
dd76358f6a
%breach-hi works with kale 2019-07-26 20:45:45 -07:00
Philip Monk
a47ef9ac77
wip 2019-07-26 20:45:45 -07:00
Philip Monk
577eed93b8
migrate ames to kale 2019-07-26 20:44:43 -07:00
Philip Monk
e2ff00bf9d
listen to eth node for sponsor 2019-07-26 20:43:58 -07:00
Philip Monk
b19c91dcf0
specialize azimuth-tracker to sets of ships 2019-07-26 20:43:58 -07:00
Philip Monk
89cde4a272
Merge remote-tracking branch 'origin/master' into HEAD 2019-07-26 18:44:29 -07:00
Arseniy Klempner
7ab8bbb047 Fix timer logic in Weather app 2019-07-26 18:36:57 -07:00
pilfer-pandex
acb55a3b28 fix mismatch in mull (tscm again) 2019-07-26 13:47:22 -07:00
pilfer-pandex
9a6cdd8d13 per philip, remove !: from arvo.hoon 2019-07-26 13:26:28 -07:00
ixv
ace41924cf
Merge pull request #1367 from urbit/interface-monorepo
Interface monorepo
2019-07-26 10:13:46 -07:00
Joe Bryan
f31e60b385 updates ames i/o driver to track galaxy state transitions and print less 2019-07-25 19:56:34 -07:00
Joe Bryan
ef9b71a931 updates ames i/o driver to drop outbound packets if not live 2019-07-25 19:56:00 -07:00
Philip Monk
12c024f368
Merge pull request #1389 from urbit/philip/insert-event
add -I to inject event
2019-07-25 16:43:20 -07:00
Ted Blackman
1f1c75ccb0 Cleanup, remove printfs 2019-07-25 15:56:33 -07:00
Philip Monk
30a3ec41c5
add -I to inject event 2019-07-25 14:57:10 -07:00
Ted Blackman
de9ff11560 |hi ~nec successful 2019-07-25 14:50:08 -07:00
Elliot Glaysher
36b8902fad Fix ~zod crash by fixing how %eyre handles app cancels.
When we ask an app to run a %handle-http-cancel event, we don't
actually care about the return value or even if it errors. The
cancel event is purely informative. Likewise, because we cause
cancels on restart of urbit, they cannot expose crashes to the
system. Otherwise, an app with an open connection but a broken
or non-existent cancel handler can prevent your ship from
coming back up.
2019-07-25 14:12:44 -07:00
Fang
80e40582c1
Don't sh-note updates to a circle's read counter
Fixes #1381.
2019-07-25 21:44:09 +02:00
Ted Blackman
c7c0c6334f serial experiments lane; fixed some bugs but still bail:fouls 2019-07-24 18:01:01 -07:00
Philip Monk
e703053fc0
more lat and hut order fixes 2019-07-24 17:16:41 -07:00
Philip Monk
e28c24324a
more lat and hut order fixes 2019-07-24 17:06:41 -07:00
Philip Monk
0b56c798fd
fix lat uni order in clay to break recursion 2019-07-24 16:05:15 -07:00
Ted Blackman
221ae19b58 todo on alef born 2019-07-24 15:56:13 -07:00
Ted Blackman
f09d7a4d7c ames.c now works; fixed multiple bugs with help from @joemfb 2019-07-24 15:55:43 -07:00
Isaac Visintainer
1f6d63d32c removed duplicate arvo files in interface pkg 2019-07-24 15:34:13 -07:00
ixv
82bfa6e3f3
Merge branch 'master' into interface-monorepo 2019-07-24 15:18:34 -07:00
Isaac Visintainer
e92bbec269 automatically rename minified files 2019-07-24 15:13:21 -07:00
Ted Blackman
05f65a454c filter out packets to self 2019-07-23 17:31:51 -07:00
Ted Blackman
bccfb2a94b fix vere lane recv 2019-07-23 17:31:35 -07:00
Ted Blackman
22c26414c1 more fixes to routing and sending 2019-07-23 16:55:35 -07:00
Ted Blackman
3f9148ac4c alef boot better and kill direct routes better; still has bug in +send-blob 2019-07-23 16:20:21 -07:00
Ted Blackman
39ae901c7b wip moar prints 2019-07-23 14:36:01 -07:00
Isaac Visintainer
b6ab875537 fixed again 2019-07-23 14:23:54 -07:00
Isaac Visintainer
a013cd054f fix chat links 2019-07-23 14:03:33 -07:00
Elliot Glaysher
c4a0823eb7 Fix merge which reintroduced ~&s 2019-07-23 13:46:44 -07:00
Elliot Glaysher
d9a0cb4c6b
Merge branch 'master' into lens-export 2019-07-23 13:43:42 -07:00
Jared Tobin
bc454c8035
Merge pull request #1373 from urbit/dns-manual-redux
fixes dns notification bugs, adds manual fulfillment
2019-07-23 18:02:34 -02:30
Jared Tobin
d9829e8edc
Merge pull request #1374 from urbit/codegen-ivory
automatically generates header for embedded ivory.pill
2019-07-23 18:02:07 -02:30
Isaac Visintainer
9e366644e5 updated gulpfiles for monorepo 2019-07-23 13:08:04 -07:00
Isaac Visintainer
5244f96dd4 moved subapps up one directory 2019-07-23 12:59:01 -07:00
Isaac Visintainer
f293a76db5 Add 'pkg/interface/' from commit 'ae564f567fccff9413b63158ee821b36652d6b53'
git-subtree-dir: pkg/interface
git-subtree-mainline: 7ce50ad75e
git-subtree-split: ae564f567f
2019-07-23 12:49:05 -07:00
Isaac Visintainer
01b690f60d fix sigil display for comets and moons 2019-07-23 12:33:22 -07:00
Joe Bryan
0d3df28fdb automatically generates header for embedded ivory.pill 2019-07-23 12:25:26 -07:00
Joe Bryan
0d4497714b adds manual :dns-collector|complete, fixes no-op condition 2019-07-23 11:42:51 -07:00
Joe Bryan
9639bfe1b5 always send update notification from :dns[bind->collector] 2019-07-23 11:13:28 -07:00
Ted Blackman
4123674c9d WIP temporary changes to hoon and arvo 2019-07-22 19:26:38 -07:00
Ted Blackman
9d58e88c17 Fixed some larval bugs and kale integration 2019-07-22 19:16:19 -07:00
Ted Blackman
043f508f27 deleted old ames 2019-07-22 19:15:16 -07:00
Ted Blackman
490341bac6 Fixed %barn to %born in vere.c 2019-07-22 19:14:18 -07:00
Ted Blackman
6c22beea8c Merge branch 'master' into alef-breach 2019-07-22 11:46:40 -07:00
Elliot Glaysher
8debf3fa60 Further cleanup. 2019-07-22 10:48:45 -07:00
Philip Monk
93a4160a35
Merge remote-tracking branch 'origin/v0.8.0.rc' into philip/kale 2019-07-22 10:39:15 -07:00
Joe Bryan
43a8dc5d7e
Merge pull request #1363 from urbit/improved-dns-debugging
improved debug-ability the dns apps
2019-07-19 16:45:32 -07:00
Joe Bryan
80dfced914 updates lib/pill to support all relevant userspace marks 2019-07-19 16:42:00 -07:00
Joe Bryan
71ac465185 improves debuggability of :dns-* apps 2019-07-19 15:59:38 -07:00
Joe Bryan
ab5f462d73 updates tapp to prevent loss of state on prep 2019-07-19 15:54:51 -07:00
Philip Monk
b21d057b64
zoom sync for azimith-tracker 2019-07-19 15:45:59 -07:00
ixv
76973c55d2
Merge pull request #1361 from urbit/la-chat
Added updated input validation, tile styling, ready to go for launch
2019-07-19 15:45:22 -07:00
Isaac Visintainer
a5704cd425 updated sigils and spacing in publish 2019-07-19 15:29:00 -07:00
Logan Allen
4ec911895f Do not allow creation of hall-internal circles when you accidentally invite yourself to a circle you own 2019-07-19 15:07:24 -07:00
Logan Allen
4f26e82ce6 Added favicon to publish index 2019-07-19 14:57:45 -07:00
Logan Allen
37503f9545 Added favicon to launch and chat pages 2019-07-19 14:56:38 -07:00
Logan Allen
2a076ac089 Capitalized invite and new message text in chat tile 2019-07-19 14:47:42 -07:00
Logan Allen
ec33e2ddbd Added updated input validation, tile styling, ready to go for launch 2019-07-19 14:40:43 -07:00
ixv
93afa9fdea
Merge pull request #1359 from urbit/chat-scroll
Chat scroll
2019-07-19 11:24:41 -07:00
Joe Bryan
dd69f6fb15
Merge pull request #1360 from urbit/safer-term-spinner
ignore write() failures on the terminal spinner thread
2019-07-19 11:18:41 -07:00
Logan Allen
7b47c21855 Merge branch 'v0.8.0.rc' into chat-scroll 2019-07-19 11:04:16 -07:00
Joe Bryan
d74e09dc6a ignore write() failures on the terminal spinner thread 2019-07-19 10:58:02 -07:00
Logan Allen
027ff9ff14 Fixed drum by removing timer 2019-07-19 10:49:38 -07:00
Elliot Glaysher
c9770317f9 Version tag hall messages and general cleanup. 2019-07-19 10:27:11 -07:00
Joe Bryan
2a8875c29c adds better unicode support to herb 2019-07-18 20:06:08 -07:00
Isaac Visintainer
4dd936e8f6 fixed eyre tests 2019-07-18 18:11:13 -07:00
Philip Monk
994472ece1
azimuth-tracker sends to kale 2019-07-18 17:08:01 -07:00
Logan Allen
1bb0de3525 Removed timer, updated Eyre login page, updated chat css 2019-07-18 15:55:36 -07:00
Logan Allen
e0fb56ec96 Added js file update 2019-07-18 15:55:36 -07:00
Logan Allen
afca32af95 Chat CSS/JS fixes 2019-07-18 15:55:36 -07:00
Logan Allen
8a37494414 Fixed issues with members list, overflowing text, and cross-browser message fetching issues 2019-07-18 15:55:36 -07:00
Logan Allen
8e46384ccd Remove got by on unvalidated %unsubscribe action input 2019-07-18 15:55:36 -07:00
Logan
c8f823fd92
Merge pull request #1356 from urbit/publish-fixes
updated publish files
2019-07-18 15:55:08 -07:00
ixv
29a69953fa
Merge pull request #1351 from urbit/chat-scroll
Fixed issues with members list, overflowing text, and cross-browser m…
2019-07-18 15:35:46 -07:00
Isaac Visintainer
b7aad187e6 updated publish files 2019-07-18 15:34:42 -07:00
Philip Monk
408b72b68e
fixed up kale 2019-07-18 15:26:15 -07:00
Joe Bryan
b5d02a0082 adds sample type to +get:by, fixes call-sites 2019-07-18 11:51:34 -07:00
pilfer-pandex
3902197dbb update the solid and ivory pills, ivory.c (play mismatch fix) 2019-07-17 17:43:18 -07:00
pilfer-pandex
a54d18a440 fix play jet mismatch (missing tscm, different sand) 2019-07-17 16:37:14 -07:00
Logan Allen
e11eb9904d Added js file update 2019-07-17 15:45:44 -07:00
Logan Allen
147d3fa515 Chat CSS/JS fixes 2019-07-17 15:34:09 -07:00
Logan Allen
7c1b88b335 Fixed issues with members list, overflowing text, and cross-browser message fetching issues 2019-07-17 14:01:12 -07:00
Fang
f3d3981db8
Don't require trailing ace when not binding 2019-07-17 01:19:40 +02:00
Fang
c98105277e
Less repetitive style 2019-07-17 01:12:49 +02:00
Elliot Glaysher
a8c2c06db9 Now with a working --import. 2019-07-16 13:52:42 -07:00
Elliot Glaysher
3f71ddc925 Filename cleanups and don't talk to dojo 2019-07-16 10:40:11 -07:00
Logan
c5af9ffd84
Merge pull request #1345 from urbit/rc-chat-update
Updated index and tile of chat
2019-07-16 10:28:23 -07:00
Jared Tobin
8fcf88b03e
Merge pull request #1337 from jfranklin9000/v0.8.0.rc
Remove cheesy Libraries header in main.c:report()
2019-07-16 10:56:35 -02:30
Joe Bryan
82f301e44a
removes debug printfs from :lens 2019-07-16 09:52:36 -02:30
Joe Bryan
1d4a3d79a6
fixes some incorrect error conditions in :dns-bind 2019-07-16 09:52:36 -02:30
Joe Bryan
f89a7457ab
fixes a bug in %gall preventing cross-ship cross-app communication 2019-07-16 09:52:32 -02:30
Jared Tobin
096ae03708
Merge pull request #1320 from urbit/philip/kale
Azimuth-tracker app
2019-07-16 08:18:35 -02:30
Elliot Glaysher
fa1f68e45f Writes an app's data to a static file location.
Next steps:

- Specifying filenames
- Importing
- Handle bad messages sent to %dojo on +reap.
2019-07-15 16:43:38 -07:00
Ted Blackman
86da8e9033 made a pill that boots without error 2019-07-15 16:11:22 -07:00
Elliot Glaysher
5082ce6b98 Part 1: Add the export action and get that into herb. 2019-07-15 15:18:28 -07:00
Logan Allen
fcd4f0b93f Updated index and tile of chat 2019-07-15 14:51:41 -07:00
Ted Blackman
75bb2d554e fix dill/ames interaction 2019-07-15 14:44:10 -07:00
Ted Blackman
793fc5c213 all vanes compile, at least individually 2019-07-15 14:23:34 -07:00
Joe Bryan
8afee3b71b fixes slog priority printfs, enables utf8 in tanks 2019-07-15 14:07:00 -07:00
Ted Blackman
56598ee856 zuse, alef, and kale compile 2019-07-15 13:17:27 -07:00
Philip Monk
45360f8e3a
Merge remote-tracking branch 'origin/v0.8.0.rc' into philip/kale 2019-07-15 13:08:16 -07:00
Logan
609f88509b
Merge pull request #1338 from urbit/8.0-announce
8.0 announce
2019-07-15 11:37:28 -07:00
Logan Allen
fd5c90256e Added updated weather tile 2019-07-15 10:56:39 -07:00
Logan Allen
692edb8a63 Added announce work to arvo 2019-07-15 10:50:22 -07:00
John Franklin
4fcbfbd165 Remove cheesy Libraries header in main.c:report() 2019-07-13 13:49:42 -05:00
Fang
7610c65bc4
Allow glyph binding during ;join and ;create 2019-07-13 17:43:21 +02:00
Logan
42d8313aa7
Merge pull request #1329 from urbit/0.8-chat
Updated chat to handle removes better
2019-07-12 15:03:58 -07:00
Joe Bryan
7ac6f06e7a tweaks style of content-length fix in http.c 2019-07-12 14:37:50 -07:00
Elliot Glaysher
86d56e24c5 Maybe this fixes the transfer encoding issue. ¯\_(ツ)_/¯ 2019-07-12 14:23:51 -07:00
Ted Blackman
38bbabf1b0 WIP kale integration; doesn't quite work 2019-07-12 11:19:09 -07:00
Logan Allen
96a26e9f62 Updated timer and chat app, server and eyre with latest 2019-07-12 11:04:47 -07:00
Joe Bryan
322e250c77
Merge pull request #1334 from urbit/acquire-pier-lock-earlier
acquires pier lockfile on io_init instead of io_talk
2019-07-12 10:32:51 -07:00
Joe Bryan
df15dcd5ba acquires pier lockfile on io_init instead of io_talk 2019-07-11 23:54:11 -07:00
Joe Bryan
dc2483f1f8 fixes jet-registration hint in %ames +turf-scry (for profiling) 2019-07-11 23:41:54 -07:00
Ted Blackman
e7455147ec Merge branch 'v0.8.0.rc' into jael-recursion-fix 2019-07-11 17:45:54 -07:00
Joe Bryan
2c286dc033
Merge pull request #1330 from urbit/daemon-leak-replace
plugs leak in daemon replacement-event handling
2019-07-11 17:14:08 -07:00
Joe Bryan
0a4066cc72 updates .gitignore 2019-07-11 17:07:36 -07:00
Joe Bryan
77a23ee542 Merge branch 'v0.8.0.rc' into xcompile-curl-tls
* v0.8.0.rc:
  Move urbit output binary to a build directory.
  80 cols
  changed name of app to be consistent
  updated publish files
2019-07-11 17:05:58 -07:00
Joe Bryan
6d88bd8842 plugs leak in daemon replacement-event handling 2019-07-11 17:00:08 -07:00
Jared Tobin
1a0111a83e
Merge pull request #1328 from urbit/modulo-publish
Modulo publish app
2019-07-12 07:44:03 +08:00
Joe Bryan
75556e2367 explicitly pass certificate-bundle path to curl 2019-07-11 16:43:46 -07:00
Logan Allen
629c211e70 Updated chat to handle removes better 2019-07-11 16:37:35 -07:00
Elliot Glaysher
8e2ddd6e42 Move urbit output binary to a build directory. 2019-07-11 15:44:17 -07:00
Elliot Glaysher
061ce208f0
Merge pull request #1324 from urbit/embed-ssl-certs
Embed the nix SSL certificate file into the resulting binary.
2019-07-11 15:42:17 -07:00
Isaac Visintainer
500b3a7a60 80 cols 2019-07-11 15:20:29 -07:00
Isaac Visintainer
a60d8cdbfc changed name of app to be consistent 2019-07-11 15:07:05 -07:00
Ted Blackman
8db5dfd00b fix kale recursion 2019-07-11 14:45:40 -07:00
Elliot Glaysher
1dd274fec3 Embed the nix SSL certificate file into the resulting binary.
This writes the SSL certs to a temporary file on startup and then
uses environment variables to control OpenSSL and curl so that
they use them. We have to do this because OSX no longer ships the
normal ca pems, and we statically link with these libraries.
2019-07-11 14:43:18 -07:00
Ted Blackman
86705ca446 fix jael +vent-pass recursion 2019-07-11 14:41:43 -07:00
Ted Blackman
08fdb67063 begin kale integration; won't compile 2019-07-11 14:38:47 -07:00
Ted Blackman
1ad2712870 Merge branch 'alef' into alef2 2019-07-11 14:26:22 -07:00
Ted Blackman
e6e2b6d197 fix _ames_recv_cb() to use new lanes 2019-07-11 11:47:02 -07:00
Ted Blackman
6e3b4534a5 rewrote u3_ames_ef_send() to use new lanes 2019-07-11 11:44:00 -07:00
Isaac Visintainer
cfebabe7c7 updated publish files 2019-07-11 11:32:30 -07:00
Joe Bryan
fa9d2bba48 adds ames ~m5 wakeup timer 2019-07-11 11:06:20 -07:00
Joe Bryan
464e1d43b3 removes obsolete wakeup field from u3_ames 2019-07-11 11:05:53 -07:00
Jared Tobin
4d85a7e0e0
Merge pull request #1325 from urbit/acme-fixes
minor robustness fixes for :acme
2019-07-11 19:58:03 +08:00
Joe Bryan
9356388085 updates :acme to track order attempts across orders 2019-07-10 23:13:44 -07:00
Joe Bryan
ed0f183ede moves :acme domain-validation request handler into a generator 2019-07-10 23:13:40 -07:00
Ted Blackman
f104f4115b add %ipv4 tag to vere lane 2019-07-10 17:05:05 -07:00
Joe Bryan
d2c146933e fixes |serve to work with %eyre generators 2019-07-10 12:59:28 -07:00
Fang
84c9bfded3
Merge pull request #1310 from urbit/gut-by
+gut:by: value by key, or default
2019-07-10 19:57:35 +02:00
Joe Bryan
785b3cc8ea refactors |mass in worker and daemon, enables MEMORY_LOG for both 2019-07-10 00:21:26 -07:00
Joe Bryan
29af62cae0 improves memory leak debug printfs 2019-07-10 00:02:04 -07:00
Joe Bryan
c32b02b468 enables |mass in the daemon 2019-07-10 00:02:04 -07:00
Joe Bryan
00877fb0ba fixes miscount in u3_pier_grab, improves printing 2019-07-10 00:02:04 -07:00
Joe Bryan
494735b9b0 plugs leak in -A filesystem boot event handling 2019-07-10 00:02:04 -07:00
Joe Bryan
39604ec09c fixes printing in daemon |mass 2019-07-10 00:02:04 -07:00
Joe Bryan
08a15f2998 plugs leak in pier boot event handling 2019-07-10 00:02:04 -07:00
Joe Bryan
d1bc4079e3 plugs leak in daemon command socket message handling 2019-07-10 00:02:04 -07:00
Joe Bryan
7d72ee14f6 minor cleanup in pier.c 2019-07-10 00:02:00 -07:00
Ted Blackman
ed4d477ba0 Initial vere test passes on ames lane codec 2019-07-09 17:48:10 -07:00
Fang
12b8134c33
Merge branch 'v0.8.0rc' into gut-by 2019-07-10 01:49:07 +02:00
Joe Bryan
0657b18e14
Merge pull request #1318 from urbit/philip/tcsetattr
retry tcsetattr on EINTR
2019-07-08 10:22:05 -07:00
Logan Allen
af12fafee2 Moved testing documentation out of tests folder so as to pass tests~ 2019-07-05 16:48:40 -07:00
Logan Allen
9d16d94d54 Remove recoverable-error 2019-07-05 16:43:29 -07:00
Logan Allen
ebd61dcc4f Removed lib/prey 2019-07-05 16:42:50 -07:00
Logan Allen
b860fa0fb1 Removed al, bug, deset, and default-serve generators 2019-07-05 16:40:38 -07:00
Logan Allen
1c3764ba03 Remove quri mark, map-to-json lib, mar/hall/speeches, lib/httr-to-json, app/time, and app/server 2019-07-05 16:29:59 -07:00
Logan Allen
5e48b4ce82 Remove ask, rss-xml, x-urb, x-urb-elem 2019-07-05 15:15:15 -07:00
Logan Allen
f43a5e1b5d Removed old references to setting up fora, streams, collection, web folder, landscape, and plan 2019-07-05 15:05:09 -07:00
Philip Monk
6eca8c9f28
get kale to compile with new types 2019-07-05 14:17:09 -07:00
Philip Monk
c5b73d9c89
fix azimuth-tracker for iris 2019-07-05 13:59:29 -07:00
Logan Allen
4c7634ec57 Merge branch 'rc-modulo' of github.com:urbit/urbit into rc-modulo 2019-07-05 13:55:09 -07:00
Philip Monk
e08fc7ebc7
Merge commit '9d2cea79' into philip/kale 2019-07-05 13:26:40 -07:00
Philip Monk
9d2cea7928
retry tcsetattr on EINTR 2019-07-05 13:09:49 -07:00
Logan Allen
23e8226c37 Added recent versions of all JS files except publish 2019-07-05 13:01:00 -07:00
Logan Allen
f55fa3bd2f Add support for POST delete channel requests using navigator.sendBeacon 2019-07-05 13:01:00 -07:00
Logan Allen
b40b20a88d Styled login page within rver for modulo 2019-07-05 13:01:00 -07:00
Logan Allen
527371cd03 Fix weather app to handle error statuses from DarkSky 2019-07-05 13:00:59 -07:00
Logan Allen
da118c90de Updated all apps to use launch-action mark 2019-07-05 12:59:43 -07:00
Logan
154722a878
Merge pull request #1313 from urbit/rver-rc-modulo
Add support for POST delete channel requests in rver using navigator.sendBeacon
2019-07-05 12:30:49 -07:00
Logan Allen
679cf98bec Added recent versions of all JS files except publish 2019-07-05 10:59:50 -07:00
Philip Monk
5e4bdb3e4e
fix rewinding 2019-07-04 20:53:24 -07:00
Philip Monk
20b357bf07
azimuth-tracker 2019-07-04 18:15:53 -07:00
Joe Bryan
32e5bd9e73 removes unused (list host) from %eyre %born 2019-07-04 00:15:23 -07:00
Joe Bryan
27da0d61d8 renames +http-client interface core to +iris 2019-07-03 23:52:22 -07:00
Joe Bryan
e0f17b0ff1 moves +http-server interface core into +eyre 2019-07-03 23:29:13 -07:00
Joe Bryan
62522f87c1 renames %lient to %iris 2019-07-03 17:08:23 -07:00
Joe Bryan
f31b12c964 renames %rver to %eyre 2019-07-03 16:02:49 -07:00
Jared Tobin
106a273706
Merge pull request #1316 from urbit/ames-ping
disables (kind of) spurious condition in %ames ping flow
2019-07-03 16:38:31 +08:00
Jared Tobin
86aca56d6e
Track issue for commented-out code. 2019-07-03 16:19:02 +08:00
Joe Bryan
9c1616802e
moves :dns scry for ames domains in :dns|auto generator 2019-07-03 16:18:24 +08:00
Joe Bryan
47aaef7904 disables spurious condition in %ames ping flow 2019-07-02 18:08:06 -07:00
Joe Bryan
cb83880811 adds basic %ames packet-sending test 2019-07-02 18:06:06 -07:00
Logan Allen
ebda861c8c Add support for POST delete channel requests using navigator.sendBeacon 2019-07-02 12:25:32 -07:00
Logan Allen
3923390ec6 Styled login page within rver for modulo 2019-07-01 17:14:48 -07:00
Logan Allen
98c1533139 Fix weather app to handle error statuses from DarkSky 2019-07-01 16:20:00 -07:00
Logan Allen
8485b0c889 Updated all apps to use launch-action mark 2019-07-01 16:19:56 -07:00
Jared Tobin
af4eabe2e7
Merge branch 'rc-modulo' into v0.8.0.rc 2019-07-01 19:20:58 +08:00
Fang
eb6c8a45ce
Replace (fall (~(get by calls with (~(gut by 2019-06-30 18:13:34 +02:00
Fang
e7cc662ddb
Add comment for got:by 2019-06-30 14:30:00 +02:00
Fang
45ea701956
Implement gut:by 2019-06-30 14:28:54 +02:00
John Franklin
d945ed588e
Correct indentation of ++render-atom (whitespace-only change) 2019-06-29 20:56:25 +08:00
Ted Blackman
3a1a3e30cc gall compiles 2019-06-28 18:13:32 -07:00
Ted Blackman
889c300092 clay, alef, and zuse compile 2019-06-28 16:43:52 -07:00
Ted Blackman
99134ef5b9 zuse compiles 2019-06-28 15:27:59 -07:00
Ted Blackman
9488984195 larva passes tests 2019-06-28 14:26:40 -07:00
Elliot Glaysher
5fb3655819 Reenable ring signature tests now that we've monorepoed. 2019-06-28 13:33:48 -07:00
Isaac Visintainer
d1f0dea922 minified clock, launch, timer & weather js 2019-06-28 12:49:04 -07:00
Isaac Visintainer
ac870be967 minified chat js 2019-06-28 11:29:59 -07:00
Isaac Visintainer
10e392af2d updated publish files and minified js 2019-06-28 11:27:24 -07:00
Jared Tobin
b3901ab42f Add 'pkg/arvo/' from commit 'c20e2a185f131ff3f5d3961829bd7a3fe0f227f8'
git-subtree-dir: pkg/arvo
git-subtree-mainline: 9c8f40bf6c
git-subtree-split: c20e2a185f
2019-06-28 12:48:05 +08:00
Jared Tobin
9c8f40bf6c
Remove arvo submodule. 2019-06-28 12:46:12 +08:00
Joe Bryan
be0ac4c894 updates arvo and pill to 'monorepo-candidate' 2019-06-27 18:05:17 -07:00
Joe Bryan
b70c34b583 Merge branch 'lighter-than-eyre' into monorepo-candidate
* lighter-than-eyre: (30 commits)
  bumps http server/proxy timeouts for CI
  updates arvo and pills (to fix tests)
  points arvo submodule to lte-loopback, updates pills
  adds "make pills" target
  restores daemon-mode boot callback
  added http-server loopback backdoor
  disables http2
  points arvo submodule to lighter-than-eyre, updates pills
  removes obsolete http effect routing and handlers
  restores tcp proxy (by sending notifications directly over %ames)
  [CI] updates pinned arvo commit
  zero-initializes response generator struct pointer in u3_hreq
  updates cttp.c to support http headers
  updates cttp.c to support all HTTP verbs
  [CI] updates pinned arvo commit
  [CI] updates pinned arvo commit
  fixes memory leaks in http i/o drivers
  Vere side of outbound request work.
  WIP: It crashes after u3do(de-purl:html) because the shape is wrong?
  Make the server work again by parsing the response shape correctly.
  ...
2019-06-27 16:54:41 -07:00
Elliot Glaysher
f8c226042e
Merge pull request #1300 from urbit/rings
Ring signature support on Azimuth points
2019-06-24 17:08:04 -07:00
Elliot Glaysher
eb4cba4485 exit -> fail 2019-06-24 16:33:47 -07:00
Elliot Glaysher
af037c0188 Makefile needs CFLAGS. 2019-06-24 15:58:51 -07:00
Elliot Glaysher
3af13630cf Merge branch 'rings' of github.com:urbit/urbit into rings 2019-06-24 13:51:18 -07:00
Elliot Glaysher
496e62e01d Merge branch 'cc-release' into rings
This translates the meson build to nix. Previously, we had our ge-additions
package just manually compiled in instead of having its own file.
2019-06-24 13:47:53 -07:00
Joe Bryan
66b49a4c5d Merge branch 'cc-release' into lighter-than-eyre
* cc-release:
  s/OS X/macOS
  Additional README updates. [ci skip]
  Update CONTRIBUTING.md. [ci skip]
  Update README for 0.8.0 release. [ci skip]
  removes u3l_log from u3m_bail() and c3_assert()
  enable ivory slog printfs during dawn (ethereum pre-boot validation)
  removes u3l_log() from critical error-handling code paths
  Retarget arvo at v0.8.0.rc.1.
  Update solid and brass pills in LFS.
  Points arvo submodule at zod.2019.6.3.
  removes c3_malloc/free calls from jets
  removes unused +mer:in jet
  fixes typo in +cue comment
  corrects +cue comment
  removes incorrect early return in cli argument-parsing
  tweaks cue/mug explicit stack conventions once more
  uses a separate desk and manual commit for +solid staging (avoids -A)
  tweaks explicit stack conventions in +cue jet
  refactors explicit stack usage in u3r_mug
2019-06-19 11:43:51 -07:00
Jared Tobin
2a9808ea99
Merge pull request #1291 from urbit/ccr-printf-fixes
cleans up some printf edge-cases on cc-release
2019-06-13 09:14:35 +08:00
Joe Bryan
6557fa1cc0 removes u3l_log from u3m_bail() and c3_assert() 2019-06-12 16:10:11 -07:00
Joe Bryan
1f15266d48 enable ivory slog printfs during dawn (ethereum pre-boot validation) 2019-06-12 11:03:43 -07:00
Joe Bryan
3507e5dbf0 removes u3l_log() from critical error-handling code paths 2019-06-12 11:00:14 -07:00
Jared Tobin
8d6e006b68
Retarget arvo at v0.8.0.rc.1. 2019-06-12 19:44:12 +08:00
Jared Tobin
44758ad17e
Points arvo submodule at zod.2019.6.3. 2019-06-03 18:56:43 +08:00
Joe Bryan
f89ad54a9b removes c3_malloc/free calls from jets 2019-05-24 14:17:53 -07:00
Joe Bryan
f36505f031 removes unused +mer:in jet 2019-05-24 14:14:59 -07:00
Joe Bryan
e213694d44 fixes typo in +cue comment 2019-05-24 14:12:59 -07:00
Joe Bryan
ca97fef17d
Merge pull request #1278 from urbit/ccr-mug-stack
cc-release: revise explicit-stack conventions in mug
2019-05-20 20:20:32 -07:00
Joe Bryan
82c9023516 corrects +cue comment 2019-05-20 20:19:45 -07:00
Joe Bryan
4fba951658 removes incorrect early return in cli argument-parsing 2019-05-17 14:36:55 -07:00
Joe Bryan
09d465bab0 tweaks cue/mug explicit stack conventions once more 2019-05-16 10:48:10 -07:00
Joe Bryan
8bfff9f342 bumps http server/proxy timeouts for CI 2019-05-14 14:36:20 -07:00
Joe Bryan
3fdc64b2da updates arvo and pills (to fix tests) 2019-05-14 13:49:21 -07:00
Joe Bryan
77281ad43d points arvo submodule to lte-loopback, updates pills 2019-05-14 11:43:54 -07:00
Joe Bryan
aec0772736 Merge branch 'cc-release' into lte-loopback
* cc-release:
  another round of +cue comments
  adds +cue comments per review
  cleans up cue, correcting comments and refcounting
  rewrites cue to avoid recursion (using the road stack)
  dedents cue jet
  adds jam/cue tests
  adds success printf to mug_tests
  renames hash_tests to mug_tests
2019-05-14 11:32:39 -07:00
Joe Bryan
88d3cb81fb tweaks explicit stack conventions in +cue jet 2019-05-14 11:01:00 -07:00
Joe Bryan
a1504557af refactors explicit stack usage in u3r_mug 2019-05-14 11:00:12 -07:00
Joe Bryan
67cde032de another round of +cue comments 2019-05-13 16:40:36 -07:00
Joe Bryan
9e9b5b45c1 adds +cue comments per review 2019-05-13 15:56:07 -07:00
Joe Bryan
7c4b1bf105 cleans up cue, correcting comments and refcounting 2019-05-13 14:32:45 -07:00
Joe Bryan
365239e1de rewrites cue to avoid recursion (using the road stack) 2019-05-12 02:34:43 -07:00
Joe Bryan
f1950799b8 dedents cue jet 2019-05-12 02:34:37 -07:00
Joe Bryan
73f8129a25 adds jam/cue tests 2019-05-12 02:34:30 -07:00
Joe Bryan
9af3034862 adds success printf to mug_tests 2019-05-12 02:34:22 -07:00
Joe Bryan
0661538ae0 renames hash_tests to mug_tests 2019-05-12 02:34:14 -07:00
Joe Bryan
a0a48cfd50 restores daemon-mode boot callback 2019-05-09 00:32:07 -07:00
Isaac Visintainer
381a537c9f added http-server loopback backdoor 2019-05-08 22:11:11 -07:00
Joe Bryan
1463954eb6 disables http2 2019-05-08 22:11:08 -07:00
Joe Bryan
4caee32f56 points arvo submodule to lighter-than-eyre, updates pills 2019-05-08 22:10:06 -07:00
Joe Bryan
905b5b6d1a Merge branch 'cc-release' into lighter-than-eyre
* cc-release: (445 commits)
  unmap the db on SIGABRT (for smaller core dump)
  fixes typo in daemon error printf
  adds (disabled) code to print and save comet "keyfile"
  fixes reference counts in _pier_work_boot()
  fixes u3m_soft early-return bail type
  refactors u3v_boot/_lite, fixes reference miscount
  use static keyword for local vortex.c functions
  removes unused .sys member of persistent u3A struct
  Get cross-compilation ready for release. (#1263)
  removes obsolete u3v functions, refactor u3v_boot(_lite)
  Use a typed size_t instead.
  removes obsolete u3m_boot, renames new boot functions
  Set the maximum event log size to forty gigabytes.
  removes duplicate manage.c init, fixes call sites
  Update link to docs for swap space help
  Add `git` to default.nix dependencies
  General patch cleanup
  Attempt at fixing compile on CI.
  Fix multi-event commit.
  Theoretically multi-event writes.
  ...
2019-05-08 22:09:51 -07:00
Joe Bryan
0e972f04c6 unmap the db on SIGABRT (for smaller core dump) 2019-05-06 21:55:52 -07:00
Joe Bryan
2a29a10c9d fixes typo in daemon error printf 2019-05-04 21:22:37 -07:00
Joe Bryan
e171596d98 adds (disabled) code to print and save comet "keyfile" 2019-05-04 21:22:37 -07:00
Joe Bryan
3d7b82936e fixes reference counts in _pier_work_boot() 2019-05-04 21:22:37 -07:00
Joe Bryan
f3867966bb fixes u3m_soft early-return bail type 2019-05-03 08:13:50 -07:00
Joe Bryan
dc1bf0c7d2 refactors u3v_boot/_lite, fixes reference miscount 2019-05-03 08:12:17 -07:00
Joe Bryan
a16450f62f use static keyword for local vortex.c functions 2019-05-02 17:10:09 -07:00
Joe Bryan
ff0be87001 removes unused .sys member of persistent u3A struct 2019-05-02 16:26:24 -07:00
Joe Bryan
7cd0b09cd4 Merge branch 'cc-release' into ccr-noun-clean
* cc-release:
  Get cross-compilation ready for release. (#1263)
  Use a typed size_t instead.
  Set the maximum event log size to forty gigabytes.
2019-05-02 16:26:11 -07:00
benjamin-tlon
ade1e59ce1
Get cross-compilation ready for release. (#1263)
* Add cross-compilation for `lmdb`.
* Got built caching working in CI with `cachix`.
* Cache cross compilation dependencies and toolchains.
* Do release builds in CI.
* Upload release builds to `bootstrap.urbit.org` on successful build.
* Lots of optimization work for CI.
* Boot from a solid pill in CI and load arvo with `-A`.
* Increase `vere` HTTP timeout to 15m.
2019-05-02 13:13:48 -07:00
Joe Bryan
08a181a6e2 removes obsolete u3v functions, refactor u3v_boot(_lite) 2019-05-02 11:35:52 -07:00
Elliot Glaysher
c06e8dbdb4 Use a typed size_t instead. 2019-05-02 10:50:59 -07:00
Joe Bryan
1565eede94 removes obsolete u3m_boot, renames new boot functions 2019-05-02 10:46:19 -07:00
Elliot Glaysher
7d246813f7 Set the maximum event log size to forty gigabytes. 2019-05-02 10:45:28 -07:00
Joe Bryan
1604313207 removes duplicate manage.c init, fixes call sites 2019-05-02 10:42:26 -07:00
Joe Bryan
46b14af63b Merge branch 'master' into ccr-noun-clean
* master:
  Update link to docs for swap space help
  Add `git` to default.nix dependencies
  Handle trailing newline in keyfile.
2019-05-02 10:40:57 -07:00
Elliot Glaysher
60196a9910 General patch cleanup 2019-04-29 14:23:27 -07:00
Elliot Glaysher
812b841f20 Attempt at fixing compile on CI. 2019-04-29 13:45:40 -07:00
Elliot Glaysher
06cfb81d60 Fix multi-event commit. 2019-04-29 10:59:15 -07:00
Elliot Glaysher
2fe916faac Merge remote-tracking branch 'origin/cc-release' into cc-batched-writes 2019-04-29 10:16:33 -07:00
Elliot Glaysher
8d691a63af Theoretically multi-event writes.
I'm having trouble testing this, though. Every constructed write request
is still only 1 event.
2019-04-29 10:06:03 -07:00
Joe Bryan
a378aac5ff
Merge pull request #1255 from urbit/ccr-cleanup
cc-release general cleanup
2019-04-26 14:53:12 -07:00
Joe Bryan
2c3bf6a9f2 corrects inaccurate u3m_reclaim comment in worker 2019-04-26 14:38:24 -07:00
Joe Bryan
e4db6edb24 restores perror() calls in terminal hijack/lojack to avoid possible reentrance 2019-04-26 14:36:38 -07:00
Joe Bryan
4f3f3897f8 moves _pier_apply into uv_idle_t, runs once per libuv turn 2019-04-26 14:24:01 -07:00
Joe Bryan
9196f7cc4a removes obsolete members from persistent u3A struct 2019-04-26 13:59:37 -07:00
Joe Bryan
56750c5f59 updates worker to store interim lifecycle events in u3V 2019-04-26 13:57:11 -07:00
Joe Bryan
1f86128b69 restores external arvo time on event failure 2019-04-26 13:56:42 -07:00
Joe Bryan
be254c57ae moves mug chaining enforcement entirely into the worker 2019-04-26 13:31:29 -07:00
Joe Bryan
b6b84b5369 updates the worker to track in-progress vs completed event numbers 2019-04-26 11:27:20 -07:00
Joe Bryan
45fff7f8da restores kernel mug when restarting the worker (on %play) 2019-04-26 11:13:49 -07:00
Elliot Glaysher
51253dca5d Build write request struct. 2019-04-26 11:08:10 -07:00
Joe Bryan
6b362c4008 tweaks event reference counting and fixes mis-fixed memory leak 2019-04-26 08:55:26 -07:00
Joe Bryan
3900d1a0c2 removes superfluous seeding of the openssl prng 2019-04-25 23:17:59 -07:00
Joe Bryan
edc142019e replaces perror() with u3l_log() 2019-04-25 23:17:59 -07:00
Joe Bryan
3b9a19d2f9 adds lmdb to library version report 2019-04-25 23:17:59 -07:00
Joe Bryan
5d0f1e1465 Merge branch 'master' into ccr-cleanup
* master:
  bump urbit version number
  if sweep gives 0 and reference count != 0, leak
  added urbit, curl and argon2 to version reporting (urbit -R)
  [CI] bump pinned arvo commit
  bump urbit version number to 0.7.3
  Consistently use "boot:" printf prefix
  Be more precise about the snapshot contents
  Re-add printf to notify of snapshot download
2019-04-25 22:56:14 -07:00
Joe Bryan
df59b1a489
Merge branch 'cc-release' into cc-event-replay-check 2019-04-25 17:04:39 -07:00
Joe Bryan
8fe2835e90
Merge pull request #1251 from BernardoDeLaPlaz/vere_build_warnings
remove all build warnings
2019-04-25 16:53:11 -07:00
Elliot Glaysher
ce0c78d1ea Cleanup 2019-04-25 16:35:29 -07:00
Elliot Glaysher
563214c2a2 Verify mugs on log replay to detect nondeterministic replay.
Joe helped write the worker/main.c changes so that we consistently
return the mug of the current state on each %done message. Then
enabled a check in _pier_work_complete() which asserts that the
recomputed event produces the same state as the next event was
expecting to be applied to.
2019-04-25 16:22:41 -07:00
BernardoDeLaPlaz
043333f767 -Werror turned on 2019-04-25 18:23:53 -04:00
BernardoDeLaPlaz
e9a2784982 Merge branch 'vere_build_warnings' of https://github.com/BernardoDeLaPlaz/urbit into vere_build_warnings 2019-04-25 18:07:06 -04:00
BernardoDeLaPlaz
c0403d2096 code review 2019-04-25 18:05:26 -04:00
Elliot Glaysher
a4ce72355d Store [mug job] instead of the entire IPC message. 2019-04-25 14:57:26 -07:00
~rigdyn-sondur
8db9653168
Merge branch 'cc-release' into vere_build_warnings 2019-04-25 16:37:08 -04:00
Joe Bryan
ac59fb749c updates arvo submodule and brass.pill to latest arvo next 2019-04-25 13:35:34 -07:00
BernardoDeLaPlaz
22fe68f67c fix one new build warning 2019-04-25 16:24:55 -04:00
Joe Bryan
4258c3c8ba Merge branch 'cc-release' into ccr-replay-reform
* cc-release: (26 commits)
  Rmoves all calls to u3m_bail() in the database layer. Everything returns an error code.
  Cleaner slog replay + fix spelling error
  Misc cleanup blocking CC-Release. (#1249)
  Use Joe's suggested change to u3_pier_snap().
  u3m_lmdb -> u3_lmdb
  updates libnoun to ignore SIGINT upon completion of a soft
  Cleanup
  Don't print %slog on replay.
  Finish cc-release cross-compilation. (#1202)
  removes clay mount auto-sync on restart
  Cleanup and enable MDB_NOOVERWRITE.
  Remove most u3_foil_* functions.
  Read the latest event number out of lmdb.
  Event log replay succeeds.
  removes obsolete, commented-out signal handling in main.c
  First version which appears to replay most of the event log. Still crashes at the end.
  corrects typos in libnoun commented-out code
  consolidates daemon signal handling
  consistently aborts immediately on ctrl-z (SIGTSTP)
  The entire log appears to be loaded from the database; still need to queue events, but exciting
  ...
2019-04-25 13:06:03 -07:00
Elliot Glaysher
0a0d7e0e57
Merge pull request #1248 from urbit/cc-lmdb-log-storage
Use lmdb for log storage instead of hand-rolled structure
2019-04-25 12:50:49 -07:00
~rigdyn-sondur
b7c7b7f6be
Merge branch 'cc-release' into vere_build_warnings 2019-04-25 14:46:11 -04:00
Elliot Glaysher
e0e9a09b58 Rmoves all calls to u3m_bail() in the database layer. Everything returns an error code. 2019-04-25 11:22:26 -07:00
BernardoDeLaPlaz
61bf83ff56 remove all build warnings 2019-04-25 14:01:21 -04:00
Elliot Glaysher
f8ca7b39dd Cleaner slog replay + fix spelling error 2019-04-25 10:47:37 -07:00
Joe Bryan
d0269662c8 fixes memory leak in worker %save handler 2019-04-24 22:21:36 -07:00
Joe Bryan
cfb6202edb tweaks replacement events: %crud contents, %warn structure 2019-04-24 22:21:09 -07:00
benjamin-tlon
3c3f7e761e
Misc cleanup blocking CC-Release. (#1249)
* Move extraneous stuff out of pkg/urbit/*
* s/urb/herb/g
* Removed some boilerplate for `urbit` builds.
* Build urbit tests and run them in the nix build.
2019-04-24 17:27:27 -07:00
Elliot Glaysher
0841e797a9 Use Joe's suggested change to u3_pier_snap(). 2019-04-24 17:05:34 -07:00
Elliot Glaysher
175fd18585 u3m_lmdb -> u3_lmdb 2019-04-24 16:26:27 -07:00
Joe Bryan
62e7c8272b
Merge pull request #1243 from urbit/ccr-signal-reform
cc-release: cleanup of signal handling
2019-04-24 12:52:26 -07:00
Joe Bryan
96ad21c476 updates libnoun to ignore SIGINT upon completion of a soft 2019-04-24 11:29:12 -07:00
Elliot Glaysher
16788f92c1 Cleanup 2019-04-24 11:22:54 -07:00
Elliot Glaysher
d320a7cafe Don't print %slog on replay. 2019-04-24 10:54:19 -07:00
Joe Bryan
d4321aa28c
Merge pull request #1247 from urbit/ccr-start-nosync
cc-release: removes clay mount auto-sync on restart
2019-04-23 20:20:52 -07:00
benjamin-tlon
edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00
Joe Bryan
3b5644f582 removes clay mount auto-sync on restart 2019-04-23 18:28:58 -07:00
Joe Bryan
450fd5199e adds additional replacement events
%hole (negative ack) and %warn (%crud failed)
2019-04-23 15:57:46 -07:00
Joe Bryan
1ec9b9eee9 limits event replacement to three attempts 2019-04-23 15:57:46 -07:00
Joe Bryan
6d778bee3f aligns worker printfs, adjusts function indentation 2019-04-23 15:57:34 -07:00
Elliot Glaysher
45b47c21f7 Cleanup and enable MDB_NOOVERWRITE. 2019-04-23 15:30:56 -07:00
Elliot Glaysher
6570b798fd Remove most u3_foil_* functions. 2019-04-23 15:10:03 -07:00
Joe Bryan
26cbb9c7c8 inject fresh entropy on every restart 2019-04-23 15:07:53 -07:00
Elliot Glaysher
cdc3b6562e Read the latest event number out of lmdb. 2019-04-23 15:02:28 -07:00
Elliot Glaysher
8b4f1d8e93 Event log replay succeeds. 2019-04-23 14:15:11 -07:00
Joe Bryan
4dabad9120 restores -P sample-based profiling 2019-04-23 12:56:03 -07:00
Joe Bryan
23cbb45ffe removes obsolete, commented-out signal handling in main.c 2019-04-23 12:04:12 -07:00
Elliot Glaysher
281e352c14 First version which appears to replay most of the event log. Still crashes at the end. 2019-04-23 11:12:09 -07:00
Joe Bryan
ead1b2443e corrects typos in libnoun commented-out code 2019-04-23 10:46:34 -07:00
Joe Bryan
beafc011cd consolidates daemon signal handling 2019-04-23 10:46:34 -07:00
Joe Bryan
075bc5109e consistently aborts immediately on ctrl-z (SIGTSTP) 2019-04-23 10:46:29 -07:00
Elliot Glaysher
5d2468056c The entire log appears to be loaded from the database; still need to queue events, but exciting 2019-04-22 16:29:38 -07:00
Elliot Glaysher
dc6e3b2236 (This commit makes sh/make-bootzod work again.) 2019-04-22 10:50:54 -07:00
Elliot Glaysher
96942f3dd5 Joe looked at this; this was because of u3we vs u3ke. 2019-04-19 17:02:57 -07:00
Elliot Glaysher
a849b1b81e WIP: Wrote the skeleton of the reading function. It compiles, but isn't invoked. 2019-04-19 15:49:54 -07:00
Elliot Glaysher
0c36e0da26 Fixes threading so uv_work_t is heap allocated. 2019-04-19 11:17:37 -07:00
Elliot Glaysher
a10beebd47 Wrote out the asynchronous writing, but it crashes in the nock thread now? 2019-04-19 10:28:58 -07:00
Elliot Glaysher
2bef1a30da First minor integration with lmdb.
This stores the ship's identity information in a separate META table in
the lmdb datastore.
2019-04-18 14:01:44 -07:00
Elliot Glaysher
4cf58f27bd Cleanups 2019-04-16 10:14:15 -07:00
Elliot Glaysher
2aa45f828e Restore git submodule screw up. 2019-04-15 15:57:06 -07:00
Elliot Glaysher
29d40e032e Also remove uH/uL macros. 2019-04-15 15:14:07 -07:00
Elliot Glaysher
1e468f75d6 Pass stderr from worker to daemon. 2019-04-15 15:06:19 -07:00
Elliot Glaysher
4f313f05fa Merge remote-tracking branch 'origin/cc-release' into cc-enhancements 2019-04-15 14:25:50 -07:00
Joe Bryan
ea30e715dd uses stderr in daemon mode for slog printing 2019-04-12 22:51:43 -07:00
Joe Bryan
417dbf298b (re-)disable terminal spinner in daemon mode 2019-04-12 22:27:41 -07:00
Joe Bryan
4ccf069458 restores terminal spinner 2019-04-12 22:15:59 -07:00
Joe Bryan
2585e1ca76 adds argument comment to _serf_send_slog 2019-04-12 22:15:59 -07:00
Joe Bryan
05ce835b55 miscellaneous output cleanup 2019-04-12 22:14:55 -07:00
Joe Bryan
daac99c91e moves slog function pointer to u3C (to preserve across roads) 2019-04-12 22:13:00 -07:00
Joe Bryan
4873309e81 send slog hints over the king/serf pipe 2019-04-12 22:12:31 -07:00
Joe Bryan
3eaa470d98 moves slog implementation out of trace.c and libnoun
and removes unused u3t_shiv()
2019-04-12 22:11:49 -07:00
Joe Bryan
3f6c9326fb improves error message when attempting to recreate existing ship 2019-04-12 22:07:31 -07:00
Joe Bryan
3f7f57a247 removes obsolete ames initialization on boot 2019-04-12 21:57:33 -07:00
Joe Bryan
93ce637e96 updates arvo submodule to latest master 2019-04-12 21:57:02 -07:00
Joe Bryan
55aa3b70bd refactors/reorders functions in pier.c 2019-04-12 21:48:38 -07:00
Elliot Glaysher
367bf939d2 Move all logging onto a dedicated u3l_log() statement.
This makes things in libnoun not depend on the specifics of the terminal
driver for logging, using a implementor customizable logging function.

This allows the daemon process to intercept all logging lines without
breaking the console, and should allow the worker process to forward all
logging messages to the daemon so the daemon can print them without
breaking the console.
2019-04-12 16:21:35 -07:00
Elliot Glaysher
dbeb2c2a8b Normalize on the preexisting daemon/worker nomenclature.
We were calling the worker process three different things, standardize
on the name worker. Same for the daemon.
2019-04-12 13:30:36 -07:00
Joe Bryan
1b503d9e26 ensure that event-log header is first in the log 2019-04-11 00:11:45 -07:00
Joe Bryan
f5da7da563 reads events in batches of 1K during replay 2019-04-11 00:07:35 -07:00
Joe Bryan
2eff7240ac refactors event-log replay preparation 2019-04-10 23:50:47 -07:00
Joe Bryan
8c0a8a182f adds explicit boot controller, refactors state transitions 2019-04-10 23:32:13 -07:00
Joe Bryan
671eeaaf00 prevent spurious first-boot of existing pier 2019-04-10 23:18:54 -07:00
Joe Bryan
f68e27e68a removes superfluous pier liv_o flag 2019-04-10 22:33:40 -07:00
Joe Bryan
785839db5c
Merge pull request #1232 from urbit/ccr-vent-sane
cc-release event state machine corrections
2019-04-05 16:58:46 -07:00
Isaac Visintainer
f9a61b36a3 fixes for review 2019-04-05 15:03:19 -07:00
Isaac Visintainer
7c9b8d71ef put tracing calls in serf 2019-04-05 14:56:58 -07:00
Isaac Visintainer
cf3ddef76a moved path prettyprinting into noun/manage, and made it globally available 2019-04-05 14:56:12 -07:00
Isaac Visintainer
03ae60505b load pier directory on serf for saving tracing files 2019-04-05 14:56:11 -07:00
Isaac Visintainer
5c88da2619 fix serf flag size 2019-04-05 14:56:11 -07:00
Joe Bryan
92ece2d22a enforces snapshot/commit ordering constraints 2019-04-05 14:40:18 -07:00
Joe Bryan
4fb35aaee3 moves boot-barrier callback into _pier_work_release and refactors 2019-04-05 14:33:36 -07:00
Joe Bryan
7f116290aa adds explicit pier states, uses for playback printfs 2019-04-05 11:45:57 -07:00
Joe Bryan
a4735e8c93 adds explicit _pier_writ_unlink function 2019-04-05 11:45:57 -07:00
Joe Bryan
aaa5b31969 fixes _pier_work_poke reference counting 2019-04-05 11:45:57 -07:00
Joe Bryan
28c7131cc8 revises handling of event-log header 2019-04-05 11:45:57 -07:00
Joe Bryan
e22312ea14 initalizes persistence and starts the serf in parallel 2019-04-05 11:45:57 -07:00
Joe Bryan
6c932e5304 restructures pier startup 2019-04-05 11:43:34 -07:00
Joe Bryan
cf89e34a8a move disk_init/complete 2019-04-05 11:43:34 -07:00
Joe Bryan
1b456d1121 asserts lifecycle barrier is > 0, sets when reading event-log header 2019-04-05 11:43:42 -07:00
Joe Bryan
02abafef4e consolidates single-home logic 2019-04-05 11:43:34 -07:00
Joe Bryan
45d892d946 WIP extracts event-log header read and single-home 2019-04-05 11:43:34 -07:00
Joe Bryan
b33c50d117 WIP refactors log init, adds explicit "live" flag 2019-04-05 11:43:38 -07:00
Joe Bryan
8162a5177d WIP refactors serf init, adds explicit "live" flag 2019-04-05 11:43:34 -07:00
Joe Bryan
6eadbaa18d frees u3_writ on dispose 2019-04-05 11:43:34 -07:00
Joe Bryan
80d2a41810 removes obsolete, commented-out boot code 2019-04-05 11:43:34 -07:00
Joe Bryan
ffbc3bbc90 cleans up i/o driver initialization 2019-04-05 11:43:34 -07:00
Joe Bryan
81647bbd7c removes precommits, updates event state machine constraints 2019-04-05 11:43:28 -07:00
Joe Bryan
734adde0b7 adds defines for verbose event state machine printfs 2019-04-05 11:32:50 -07:00
Joe Bryan
4cc3a70498 bumps vere version number 2019-04-02 11:57:14 -07:00
Joe Bryan
9481ff7a6a removes duplication %behn initialization 2019-04-02 11:32:21 -07:00
Benjamin Summers
272263cf4d bumps arvo commit to latest next 2019-04-02 11:31:36 -07:00
Joe Bryan
ea56669696 TCOs +turn jet 2019-04-02 10:40:39 -07:00
Joe Bryan
53ca83f4bc TCOs +weld jet 2019-04-02 10:40:39 -07:00
Joe Bryan
2b3c218d9f for @pilfer-pandex 2019-03-29 10:50:58 -07:00
Joe Bryan
c39f26f02c fixes typo, adds comment per review 2019-03-28 23:38:13 -07:00
Joe Bryan
2c0566c55a Merge branch 'cc-release' into ccr-fast-boot
* cc-release: (69 commits)
  Fixed Nix build errors on Bernardo's Ubuntu. (#1220)
  Removed urb submodule.
  Removed `pkg/ent` submodule.
  Nix Build + Monorepo Structure (#1196)
  Added -P/--output-pill argument (#6)
  Collapse long lines.
  Nix Setup and Docs (#5)
  Instructions for getting dependencies on Ubuntu/Debian
  Whitespace errors.
  Wrote a really stupid configure script.
  Meson tries to hard to be "smart". Replaced with a Makefile.
  Clarify README comment
  Version bump, remove double negative
  Actually try calling getrandom while configuring
  v0.2.0
  v0.1.4
  Add all config vars to config.h.in
  Wrote a config.h.in file for old meson versions.
  Minor cleanup
  Remove assert, add _ent_fail
  ...
2019-03-20 23:53:41 -07:00
Benjamin Summers
02a1443cec Add 'pkg/urb/' from commit '29a2e6a79e59f93e6399225efec6e09bc17f2767'
git-subtree-dir: pkg/urb
git-subtree-mainline: 774f29bd06
git-subtree-split: 29a2e6a79e
2019-03-04 17:35:24 -08:00
Benjamin Summers
774f29bd06 Removed urb submodule. 2019-03-04 17:34:55 -08:00
Benjamin Summers
9618f37965 Add 'pkg/ent/' from commit '31ac2913f14c6f7631f5792ad942605fb2d9fb87'
git-subtree-dir: pkg/ent
git-subtree-mainline: 1207c204cb
git-subtree-split: 31ac2913f1
2019-03-04 16:49:14 -08:00
Benjamin Summers
1207c204cb Removed pkg/ent submodule. 2019-03-04 16:46:58 -08:00
benjamin-tlon
c86879e833
Nix Build + Monorepo Structure (#1196) 2019-03-04 16:43:53 -08:00