Commit Graph

4107 Commits

Author SHA1 Message Date
Philip Monk
4e466214e3
arvo: compile hoon/arvo in separate roads
Adds +mure to run a trap in a separate road.  This should eventually be
just a hint.

Vega was running inside a mule, but since +load was called within vega,
the new kernel was all run within the same mule, so it didn't actually
get to reclaim the space after hoon compiled.

We verified this with printfs in u3m_fall.  On the test ship (from
mainnet) which had 800MB used, vega was taking interior free space from
950MB to 450 over the course of compiling hoon, then each vane would go
from about 450 to 350 and then back to 450 once it finished (which
proves they were correctly isolated).  With this change, after hoon
compiles the free space goes back up to 950MB.  This gives us a lot more
space to compile OTAs.

We had to slightly refactor the logic for doubly-recompiling hoon, since
+mure as written produces a ?(!! _trap), and you can't find faces in the
result of the trap.  We could bake mure, but that's rather awkward.  I
wonder if there's a way to fix this as a wet gate.
2020-06-12 20:51:23 -07:00
~siprel
c523c90bf9 urbit-termsize: Change test executable name. 2020-06-12 18:33:10 +00:00
~siprel
57ef4254e4 Merge branch 'khrc' of https://github.com/urbit/urbit into siprel/sigwinch 2020-06-12 18:27:25 +00:00
~siprel
e8e46ee8c4 Merge branch 'master' of https://github.com/urbit/urbit into siprel/sigwinch 2020-06-12 18:19:51 +00:00
Joe Bryan
8fac63661f vere: removes ncurses dependency 2020-06-11 20:25:46 -07:00
Joe Bryan
6ea2acea86 term: bypass terminfo, use direct ANSI escape sequences 2020-06-11 20:24:38 -07:00
Joe Bryan
c3557e0836 Merge branch 'master' into ipc-redux-kh
* master: (25 commits)
  travis: Fix resource exhaustion error in test build.
  travis: Separate job for Haskell on Linux + bump nix version
  gall: properly handle empty outstanding ack queue
  vere: bump version to 0.10.5
  dawn: switch default eth node
  jets: patch cleanup
  Update os1-bug-report.md
  jets: switch openssl to the loom allocator.
  serf: disable automatic |pack
  release: urbit-os-v1.0.20
  behn: fix +unset-timer
  jael: send breach notifications in order
  jael: don't notify breach on initial update to ship
  jael: look for correct wire
  vere: handle failed cue of private key file
  u3: switches GMP import assert to conditional
  u3: fixes rock:load size printf
  vere: bypass terminal logging on lmdb worker thread
  vere: prevents term.c from retrying tcsetattr() indefinitely
  jets: jet decryption of aes-siv mode.
  ...
2020-06-11 19:07:13 -07:00
Logan Allen
3d3ab7e178 weather: better error printing 2020-06-11 20:15:32 -04:00
Joe Bryan
19da74d146 serf: disables auto |pack, refactors loading from rock (-r) 2020-06-11 16:28:17 -07:00
Joe Bryan
f48dd41ca8 serf: refactors %work $writ handling 2020-06-11 16:27:01 -07:00
Joe Bryan
00fefce334 serf: plugs leak of error-notification event 2020-06-11 16:27:00 -07:00
Joe Bryan
8ef8987b54 newt: adds synchronous read, used in serf with blocking writes 2020-06-11 16:27:00 -07:00
Joe Bryan
3f26140cf4 newt: delivers inbound messages asynchronously 2020-06-11 16:27:00 -07:00
Joe Bryan
a31f27a575 newt: cleans up api, allocates less on write 2020-06-11 16:27:00 -07:00
Joe Bryan
4cfaf08348 newt: print errors to stderr 2020-06-11 16:27:00 -07:00
Joe Bryan
27a9dbe1c0 u3: use u3r_mug_words for all atoms 2020-06-11 16:27:00 -07:00
Joe Bryan
9e305da03c u3: rewrites u3r_mug_words, correct for arbitrary input 2020-06-11 16:27:00 -07:00
Joe Bryan
2c5a1adea3 u3: adds failing u3r_mug_words tests 2020-06-11 16:27:00 -07:00
Joe Bryan
e7eceba965 u3: implements u3i_list()/u3nl() varargs list constructor 2020-06-11 16:27:00 -07:00
Joe Bryan
406a823ddd u3: adds allocator profiling labels to u3i_* atom functions 2020-06-11 16:27:00 -07:00
Joe Bryan
1d1a263e48 u3: rewrites u3i_chubs() for efficiency 2020-06-11 16:27:00 -07:00
Joe Bryan
c78bc69758 u3: cleans up imprison.h/c 2020-06-11 16:27:00 -07:00
Joe Bryan
e7ff4550db u3: fixes use of system malloc in u3i_chubs 2020-06-11 16:27:00 -07:00
Logan Allen
6a49b2f20f landscape-js: clear animation timer set by clock upon page navigation 2020-06-11 16:50:44 -04:00
Logan Allen
3ba4c14deb landscape-js: make clock and weather load data properly 2020-06-11 16:44:59 -04:00
~siprel
2f02a6d0e6 king: Command line flag to enable verbose logging. 2020-06-11 02:07:10 +00:00
~siprel
eb81f5ca14 Less verbose log output. 2020-06-11 02:02:53 +00:00
~siprel
849d25044a king: disable "bullshit scry tester" 2020-06-11 00:32:15 +00:00
~siprel
2b3fb7a568 king: fix behn tests. 2020-06-11 00:31:59 +00:00
~siprel
ba5bd09724 CLI option for serf exe + serf exe/flags live in PierConfig. 2020-06-10 23:56:48 +00:00
~siprel
f0f82d7e14 king: Handle %vega/%exit, %wack on boot, and stop logging secrets. 2020-06-10 22:00:37 +00:00
~siprel
dabe38be0d In non-daemon mode, initial serf slogs are user-visiable. 2020-06-10 21:17:55 +00:00
~siprel
c721baee7f king: serf stderr goes to terminals. 2020-06-10 21:03:46 +00:00
~siprel
cefc25cbe1 king: ^C from connected terminals kills current event. 2020-06-10 20:53:55 +00:00
~siprel
7f780bbcd5 king: TODO.md updates. 2020-06-10 20:08:09 +00:00
~siprel
b552149610 king: handle tanks that are just a cord. 2020-06-10 20:04:09 +00:00
~siprel
e178ad353d king: Fix spinner bugs. 2020-06-10 19:25:51 +00:00
~siprel
c57c3023f9 king: Event prioritization and error handling for born events. 2020-06-10 19:22:45 +00:00
matildepark
60b5fe658f
Merge pull request #2995 from urbit/lf/drum-file-server-order
drum: add %file-server to boot priority
2020-06-10 13:45:47 -04:00
matildepark
deda6722a0
Merge pull request #2998 from urbit/lf/eyre-chat-view
chat-view: bind eyre in ++on-init
2020-06-10 13:45:34 -04:00
Liam Fitzgerald
daaf9201ae contact-hook: fix /~/default poke
We don't maintain a synced entry in the state for /~/default, so ignore
the synced check if modifying the /~/default contacts.
2020-06-10 13:14:25 +10:00
Liam Fitzgerald
4f1711a02f chat-view: bind eyre in ++on-init
chat-view bound to eyre in ++on-load but not in ++on-init, causing
freshly booted ships to be unable to access chat backlog
2020-06-10 12:54:10 +10:00
Liam Fitzgerald
c087044212 various-js: improve scrolling experience on iOS
Removes use of vh units, as they don't play well with safari
(https://bugs.webkit.org/show_bug.cgi?id=141832). Adjusts layouts
accordingly.
2020-06-10 12:46:38 +10:00
Matilde Park
10262a243f groups: align sigil color box in firefox 2020-06-09 16:48:45 -04:00
Matilde Park
b425fb6723 chat, publish: restore sidebar toggler actions 2020-06-09 16:35:55 -04:00
Matilde Park
1b28ea1345 soto: add graphical tweaks for spa 2020-06-09 16:13:56 -04:00
Matilde Park
da0d149828 publish: add contactreducer 2020-06-09 16:05:30 -04:00
Matilde Park
5481deae30 publish: raise comment input line height 2020-06-09 15:58:11 -04:00
Matilde Park
c2f655878d publish: update API actions for new arch 2020-06-09 14:42:45 -04:00
Matilde Park
3e81faeac1 publish: fix settings display overflow 2020-06-09 14:39:13 -04:00
Matilde Park
fdb1d1f849 spa: add 404 page 2020-06-09 14:22:40 -04:00
Liam Fitzgerald
900da34fa9 drum: add %file-server to boot priority
File server needs to be started with priority in order to ensure the
-view apps can poke it, regardless of set ordering.
2020-06-09 13:02:24 +10:00
matildepark
26d4f33968
Merge pull request #2980 from urbit/lf/webpack-qol
interface: improve webpack dev config
2020-06-08 21:12:34 -04:00
~siprel
cc772da03c king: Urbit.Vere.Pier cleanup. 2020-06-08 23:07:42 +00:00
~siprel
528e1d29ff king: Separate out urbit-eventlog-lmdb package. 2020-06-08 22:01:28 +00:00
~siprel
957f14ee40 king: Minor cleanup. 2020-06-08 21:22:04 +00:00
~siprel
1f4c823d92 king: Separate package for racquire + small cleanup. 2020-06-08 20:23:30 +00:00
Matilde Park
217e770008 chat: restore 6836135 api change 2020-06-08 15:53:53 -04:00
Matilde Park
0a79d23e27 chat: restore a7253d4 css change 2020-06-08 15:49:03 -04:00
~siprel
ff646f4830 king: Snapshot on shutdown; no snapshot on start if no events to replay. 2020-06-08 17:45:41 +00:00
~siprel
ba50eb94cd king: Spin off urbit-noun-core and urbit-noun packages. 2020-06-08 17:24:05 +00:00
~siprel
f3e484d5cd king: TODO notes about how to break into packages. 2020-06-08 01:29:29 +00:00
~siprel
a88849743c king: Module re-org in prepraration for new IO-Driver interface. 2020-06-08 01:19:43 +00:00
~siprel
21975cf929 King: Fixed a few bugs. 2020-06-07 23:35:54 +00:00
~siprel
6ab2d78d7b king: Progress bars on replay. 2020-06-07 00:26:59 +00:00
~siprel
95df4b0764 king: Pier cleanup pass. 2020-06-06 23:34:27 +00:00
~siprel
648b0743c8 king: Shutdown TMVars now live in KingEnv/PierEnv. 2020-06-06 23:16:34 +00:00
~siprel
bd51337156 king: In non-daemon-mode, ^D now actually brings down the executable. 2020-06-06 21:33:15 +00:00
Philip Monk
c68b0e817a
gall: properly handle empty outstanding ack queue
Fixes #2977
2020-06-05 17:05:22 -07:00
Fang
790ae3dadc
Merge branch 'release/next-vere' (#2985)
* origin/release/next-vere:
  vere: bump version to 0.10.5
  dawn: switch default eth node
  jets: patch cleanup
  jets: switch openssl to the loom allocator.
  serf: disable automatic |pack
  vere: handle failed cue of private key file
  u3: switches GMP import assert to conditional
  u3: fixes rock:load size printf
  vere: bypass terminal logging on lmdb worker thread
  vere: prevents term.c from retrying tcsetattr() indefinitely
  jets: jet decryption of aes-siv mode.
  jets: jet encryption of aes-siv mode.
  aes_siv: vendors libaes_siv since it isn't in nix.
  vere: refactors $quay serialization to iterate without recursion
  cttp: do not add ampersand before first url query var
  u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun)

Signed-off-by: Fang <git@fang.io>
2020-06-06 01:33:10 +02:00
Fang
4012c2922e
vere: bump version to 0.10.5 2020-06-06 01:00:01 +02:00
Philip Monk
d0b42e9392
dawn: switch default eth node 2020-06-05 15:11:21 -07:00
Matilde Park
07f5e037f7 publish: fetch notebook during navigation 2020-06-05 17:34:05 -04:00
Matilde Park
90e2a94b58 spa: set page title per app correctly 2020-06-05 17:30:14 -04:00
Matilde Park
a4dd04daf0 publish: add safety checks for new back-end 2020-06-05 17:25:28 -04:00
Matilde Park
50cb14debd links: wait for api prop instantiation
Now that API is a prop, we can't use it to auto-grab data. We wait
for it as a prop before requesting info.
2020-06-05 15:43:44 -04:00
Matilde Park
24689f852d launch: prepare for weather/clock info 2020-06-05 15:43:06 -04:00
Matilde Park
ccbe110f7a Merge branch 'feat/spa' of github.com:urbit/urbit into feat/spa 2020-06-05 14:19:14 -04:00
matildepark
c9986074b7
Merge pull request #2979 from urbit/lf/publish-alignment
publish: fix store reducers
2020-06-05 14:19:00 -04:00
Matilde Park
189a8d0fe7 clock: lint 2020-06-05 13:51:20 -04:00
Matilde Park
92ca0c0468 spa: spinner component uses ~landscape img src 2020-06-05 13:12:59 -04:00
Matilde Park
c7717fdcc5 groups: group detail tiles use ~landscape imgs 2020-06-05 13:11:13 -04:00
~siprel
45d7ac6150 king: Cleanup date serialization and move to Urbit.Time. 2020-06-05 16:20:21 +00:00
Liam Fitzgerald
96ecfbec40 interface: improve webpack dev config
Fixes an issue where only the first ship would receive the updated files
from webpack. Enables watch mode. If herb is set to true in the urbitrc,
then webpack will commit the desk for each change on every ship.
2020-06-05 13:14:01 +10:00
Matilde Park
faa54fecd4 links: amend link-item for new line-height 2020-06-04 22:35:01 -04:00
Liam Fitzgerald
335e4479a1 publish: fix store reducers 2020-06-05 12:12:11 +10:00
Matilde Park
f96b560282 Merge branch 'feat/spa' of github.com:urbit/urbit into feat/spa 2020-06-04 21:51:33 -04:00
Matilde Park
eae2a71835 spa: update groups app for new metadata reducer 2020-06-04 21:51:28 -04:00
Liam Fitzgerald
976da56ced Merge branch 'origin/lf/get-eyre-redirect' into feat/spa 2020-06-05 11:11:37 +10:00
~siprel
54acebb0c5 Got bulshit scry working and hooked up replay progress callback. 2020-06-04 23:49:56 +00:00
Matilde Park
9440392777 drum: remove 'invite-view' 2020-06-04 17:48:48 -04:00
Logan Allen
8e1aeefdbb invites: fixed %initial 2020-06-04 17:39:53 -04:00
Logan Allen
7fc2d39029 chat: fix %initial response and metadata reducer 2020-06-04 17:24:28 -04:00
~siprel
3838cf8abb ^C brings king/serf down cleanly and promptly. 2020-06-04 21:10:33 +00:00
Elliot Glaysher
5666f99b16
Merge pull request #2902 from urbit/eg/aes-siv-jets
Jet AES-SIV mode
2020-06-04 10:52:09 -07:00
Liam Fitzgerald
b553d57c29 eyre: 303 redirect on successful login
Changes the HTTP status code of the redirect that occurs upon a
successful login from 307 to 303. 307 preserves the method of the
original request, so the redirected request is a POST. With the new SPA,
this causes a 404 as app/file-server validates the method of the
request, something that did not happen in earlier versions of landscape.
303 instead changes the method to always produce a GET request.
2020-06-04 15:09:00 +10:00
Matilde Park
57d6023056 spa: restoring dark mode styles 2020-06-03 22:58:40 -04:00
Elliot Glaysher
6706297117 jets: patch cleanup 2020-06-03 15:35:29 -07:00
Logan Allen
e17c10fc74 groups-js: got api actions all working 2020-06-03 18:07:19 -04:00
Logan Allen
501fcc0481 chat-js: chat works for sending messages, making chatrooms, adding/removing members, and updating metadata 2020-06-03 18:07:19 -04:00
~siprel
5748da9f8d king: TODO.md cleanup. 2020-06-03 00:28:31 +00:00
~siprel
45f475a178 king: snapshot requests block until event log catches up to serf. 2020-06-02 23:03:04 +00:00
~siprel
28f464fc42 king: Each event comes with error callback, but all do nothing for now. 2020-06-02 20:48:07 +00:00
ejdiv
ea960e0ee2
publish: update groupify UI 2020-06-01 20:18:29 -04:00
~siprel
61bdb3cac0 king: Re-Implemenet collectFX and log events as passed to the serf. 2020-06-01 21:31:24 +00:00
Logan Allen
d1d417fb22 chat-view: fix issues from merge 2020-06-01 14:34:32 -04:00
Logan Allen
b8525c7915 file-server: fix issues from merge 2020-06-01 14:28:05 -04:00
Logan Allen
b863dca773 apps: more merge fixes for chat and publish 2020-06-01 14:17:14 -04:00
Logan Allen
8a3d0adb57 publish / chat-store: fix merge issues 2020-06-01 14:07:28 -04:00
Logan Allen
d46b4d57a5 contact-view: remove unnecessary state 2020-06-01 14:02:13 -04:00
Logan Allen
11bc29111c apps: made sure on-init case was covered in all apps, improved on-load 2020-06-01 14:02:13 -04:00
Logan Allen
3cdc47b02a file-server: updated style 2020-06-01 14:02:13 -04:00
Logan Allen
71d0b1a6c0 apps: individual apps send their %serve-dir poke 2020-06-01 14:02:13 -04:00
Logan Allen
9b5c93d2f1 file-server: renamed to file-server 2020-06-01 14:02:12 -04:00
Logan Allen
c4d3fa41d9 launch and http-server-store: protect on-poke and on-watch 2020-06-01 14:01:39 -04:00
Logan Allen
f13b174f16 landscape: renamed to http-server-store, finished subscribable configuration 2020-06-01 14:01:38 -04:00
Logan Allen
34d70d4d55 channel.js: properly close event source 2020-06-01 14:00:47 -04:00
Logan Allen
e2fad4bdd7 landscape: updated code to bind to all used prefixes 2020-06-01 14:00:47 -04:00
Isaac Visintainer
7b0a587c4a landscape: don't special case os1 app paths 2020-06-01 14:00:47 -04:00
Isaac Visintainer
ae58a62fad landscape: added static serving to landscape.hoon 2020-06-01 14:00:47 -04:00
Matilde Park
816b31ee7a launch: add class exemptions for Dojo tile 2020-06-01 14:00:47 -04:00
Matilde Park
0b857fa70a launch: restore tile flexbox 2020-06-01 14:00:47 -04:00
Matilde Park
cf7615a642 various: remove mobile specific nav
Uses status bar instead.
2020-06-01 14:00:47 -04:00
Logan Allen
1fc59a9c97 publish: removed commented out code 2020-06-01 14:00:47 -04:00
Logan Allen
2f8c118c75 landscape-js: moved groups to this paradigm and removed console.logs. 2020-06-01 14:00:47 -04:00
Logan Allen
c88bf51b12 landscape-js: finish api/store/subscription cleanup 2020-06-01 14:00:47 -04:00
Logan Allen
deb7c3445b apps: finish mark and http cleanup 2020-06-01 14:00:46 -04:00
Logan Allen
fec5646229 js: reworked store/reducer patterns 2020-06-01 14:00:46 -04:00
Logan Allen
4550bc6dc1 apps: updated apps to use consistent %initial update 2020-06-01 14:00:46 -04:00
John Franklin
63b3c1fd68 fe: center tile image of chat, groups, link, publish, and soto 2020-06-01 13:57:33 -04:00
Matilde Park
b720a6994b spa: intra-navigation uses react-router 2020-06-01 13:57:33 -04:00
Logan Allen
056cd51478 apps: removed unused resources 2020-06-01 13:57:32 -04:00
Logan Allen
34fc7b7f30 launch: fixed mark conversions and added files 2020-06-01 13:57:06 -04:00
Logan Allen
e859ec4520 launch: more or less up to feature parity, all api actions tested 2020-06-01 13:57:06 -04:00
Logan Allen
0c2b770411 launch: added json marks 2020-06-01 13:57:06 -04:00
Logan Allen
8d48b78cba launch-js: added launch files and made a new pattern for store/api/subscription 2020-06-01 13:57:06 -04:00
Logan Allen
8890fe5b03 js: removed old launch app 2020-06-01 13:57:06 -04:00
Logan Allen
9a008155c7 launch: finished the structure of the rewrite, supports tile hiding and tile reordering 2020-06-01 13:57:06 -04:00
Matilde Park
f30b66055f groups: contact-card view is passed api prop 2020-06-01 13:57:06 -04:00
Matilde Park
db1bbebab3 spa: add global store, subscriptions, select group 2020-06-01 13:57:06 -04:00
Matilde Park
3c51d5132d publish: amend spa graphical quirks 2020-06-01 13:57:06 -04:00
Matilde Park
b7d8e8aaed publish: fetch notebooks on mount 2020-06-01 13:57:06 -04:00
Matilde Park
82c6bc3589 publish: change index.hoon for spa 2020-06-01 13:57:06 -04:00
Matilde Park
5bd022733b spa: migrate publish fe to new architecture 2020-06-01 13:57:06 -04:00
Matilde Park
de3f3ca246 spa: finish store, subscription, api refactors 2020-06-01 13:57:06 -04:00
Logan Allen
2494ed30aa wip: store, subscription, api refactor to clear properly 2020-06-01 13:57:06 -04:00
Matilde Park
8fc7d8cc69 spa: add channel unmount behaviours 2020-06-01 13:57:06 -04:00
Matilde Park
3a399792cb links: unread count positioned at top of item
Fixes #2833.
2020-06-01 13:57:06 -04:00
Tyler Shuster
d2c1e5b513 Add ContentType to uploaded s3 images (SPA) 2020-06-01 13:57:06 -04:00
Matilde Park
0a22b6111a publish: amend URL to Groups view
Fixes #2889.
2020-06-01 13:57:05 -04:00