Commit Graph

15859 Commits

Author SHA1 Message Date
Joe Bryan
a6272a97a8
arvo, ford: add type safety to scry
Adds a nest-check to the scry-wrapper functions +sloy and +sloy-light,
plugging a type hole in .^ namespace reads (scry).
2019-09-08 19:44:06 -02:30
Matilde Park
645e60c55d Publish: Add positive assertion for publish-info
Publish's %serve command makes builds for notes even if the
publish-info file is missing. It now crashes the build if the file is
missing with a one-line ?> asserting that the file is found in the
list of paths associated with the collection.
2019-09-06 22:37:18 -04:00
Elliot Glaysher
5e9822d268 Make the compute thread take a request instead of an event.
The compute thread should take an event or a save request or a
shutdown request. We now take snapshots every 120 seconds like
vere does, and take a snapshot before clean shutdown.

(Also changes the terminal driver so that it doesn't unboundedly
block shutdown.)
2019-09-06 12:59:56 -07:00
Jared Tobin
806871de4e
Merge pull request #1700 from urbit/dk-pill-fix
Updated pills to match latest master
2019-09-06 15:54:55 -02:30
Jared Tobin
7322d7adae
Merge branch 'mp-interface-objs' (#1701)
* mp-interface-objs:
  Interface: Update urbit-ob dependency

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-06 13:35:29 -02:30
Matilde Park
14b3cb1a89 Interface: Update urbit-ob dependency
Updates all Landscape applications to use the
latest version of urbit-ob, from 3.1.1 to 4.1.2.

Removes urbit-ob from applications that don't
use it (Clock, Launch, Weather).

Compiled JS for all the above included in this
commit.
2019-09-06 10:59:23 -04:00
Liam Fitzgerald
d9a8d02b41 pills: update solid 2019-09-06 15:22:32 +10:00
Liam Fitzgerald
718d1daa31 zuse: add en-xml:html and de-xml:html tests 2019-09-06 15:22:32 +10:00
David Kerschner
5ab2618239 Updated pills to match latest master 2019-09-05 20:10:39 -07:00
Liam Fitzgerald
0fbedebfd0 zuse: fix comment parsing in de-xml:html 2019-09-06 13:04:11 +10:00
Elliot Glaysher
94034503c7 First pass HTTP Client driver completed.
Can run '+http://www.example.com' from the dojo.
2019-09-05 13:09:45 -07:00
Jared Tobin
bf1392de3d
Merge branch 'la-1692-fix' (#1693)
* la-1692-fix:
  chat: potential fix for #1692

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-05 09:31:33 -02:30
Jared Tobin
3c1cc36e93
Merge branch 'publish-error-handling' (#1694)
* publish-error-handling:
  publish: fix broken post bug, add recover function

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-05 09:31:23 -02:30
Isaac Visintainer
d52b051196
publish: fix broken post bug, add recover function
In Publish, users could get in a bad state if they made a post with
valid udon, and subsequently edited to contain invalid udon.
Furthermore, users subscribed to them would get in the same bad state.

This fixes the original bug, and users who are already in the broken
state will be able to run a recovery command: :publish %state-surgery
which will also fix the downstream broken state of their subscribers.
2019-09-05 09:30:05 -02:30
Logan Allen
5560482897 chat: potential fix for #1692 2019-09-04 16:07:49 -07:00
Elliot Glaysher
c8dc2532b2 Recognize %veer events.
This lets me use the event browser on long running ships which have
had kernel reboots.
2019-09-04 13:57:48 -07:00
Elliot Glaysher
75e44f95ee Remove warning override. 2019-09-04 13:02:51 -07:00
Elliot Glaysher
cc7d8cb69a Fix the final stray %send in clay.
Once the solid pill was updated, we can boot the solid pill with
king haskell, solid a pill inside a fakezod running under king,
and then boot another ship using king with the pill we solided
using king.
2019-09-04 11:00:01 -07:00
Elliot Glaysher
d5b9cc8a66 Hack to make it boot. 2019-09-03 17:11:24 -07:00
Elliot Glaysher
25450d5ac8 Merge remote-tracking branch 'origin/bs/uterm' into eg/uterm 2019-09-03 16:45:45 -07:00
Elliot Glaysher
97c9a8c9f1 king can now generate a pill and boot with it. 2019-09-03 16:38:14 -07:00
Elliot Glaysher
ad4ff58682 Actually remove usage of the %send I removed several commits ago. 2019-09-03 16:37:44 -07:00
Elliot Glaysher
c635abd58e Hook up ~& to the terminal driver. 2019-09-03 15:17:20 -07:00
Elliot Glaysher
8af0d7bef9 Move all of Term.hs into RIO. 2019-09-03 11:02:54 -07:00
Jared Tobin
afc3338f68
Merge branch 'yosoyubik/weather' (#1686)
* yosoyubik/weather:
  weather: updates api url to use automatic units

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-03 12:54:18 -02:30
Jared Tobin
07d9581934
Merge branch 'jt-contributing' (#1673)
* jt-contributing:
  readme: update contributing info
  contributing: use parentheses instead of commas
  contributing / interface: 'confirm' -> 'apply'
  contributing: s/urbit/Urbit
  contributing: text fixup
  contributing: remove labelling discussion
  contributing: adds userspace information, links
  contributing: add hoon style guide link
  contributing: improve description.. description
  contributing: add 'issues' section
  contributing: add mailing list info to intro
  contributing: update kernel & pills section
  contributing: touch up code style section
  contributing: add git/release info

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-03 12:46:02 -02:30
Jared Tobin
575d196d38
readme: update contributing info 2019-09-02 17:29:21 -02:30
Jared Tobin
174e194cf9
contributing: use parentheses instead of commas 2019-09-02 17:08:26 -02:30
yosoyubik
feb9ae58d9 weather: updates api url to use automatic units
Appends a parameter 'units=auto' to the darksky api endpoint that
"automatically select[s] units based on geographic location"
2019-09-02 04:43:25 +02:00
Benjamin Summers
143e7768a9 NounServ cleanup. 2019-08-31 09:19:40 -07:00
Liam Fitzgerald
4bc4d76064 zuse: added CDATA support to de-xml:html 2019-08-31 15:00:37 +10:00
Jared Tobin
40bc5deada
Merge branch 'origin/philip/fix-zpmc' (#1683)
* origin/philip/fix-zpmc:
  hoon: don't nest check in zpmc

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-31 01:29:16 -02:30
Elliot Glaysher
22647bb91e Rough draft of putfiles. 2019-08-30 13:26:51 -07:00
Elliot Glaysher
80e71b2532 Actually send ^D to the Urbit; handle %logo in response to shutdown. 2019-08-30 11:01:37 -07:00
Benjamin Summers
e5c0174800 Some preliminary work on static linking. 2019-08-30 01:57:05 -07:00
Benjamin Summers
351eaca628 Started separating out low-level LMDB logic. 2019-08-30 01:43:22 -07:00
Benjamin Summers
ec372efb31 Wrote hacky websocket client/server for terminal driver.
Using websockets because it would be nice to eventually have a terminal
in the Electron client.

This is prototype-quality code. Using the built-in client/server from the
`websockets` package, but that's just for testing.
2019-08-30 00:56:28 -07:00
Benjamin Summers
4903a72682 Various small fixes -- trying to get boot working. 2019-08-29 18:29:55 -07:00
Benjamin Summers
0b19fe9c79 EventBrowser: Polish UI and implement event trimming. 2019-08-29 17:23:48 -07:00
Philip Monk
6bac377bd2
hoon: don't nest check in zpmc
This check required the new type of +type to nest within the old type of
+type, which is wrong.  Specifically, this disallowed adding new runes
without a staging procedure (which we didn't successfully complete).
2019-08-29 17:08:48 -07:00
Benjamin Summers
ed20b78473 Event/Effect browser with event trimming (not implemented yet). 2019-08-29 16:48:46 -07:00
Elliot Glaysher
206230cec6 Get ^D to end your Urbit session.
This also does a bunch of style cleanup and rearranging so that we
can have the reader thread end.
2019-08-29 16:35:52 -07:00
Elliot Glaysher
8ac461477a Log "interrupt" on C-c properly. 2019-08-29 15:05:01 -07:00
Jared Tobin
87a1036614
Merge remote-tracking branch 'origin/mp-publish-edit'
* origin/mp-publish-edit:
  Publish: Bring post editing UI to new post parity

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-29 19:31:17 -02:30
Elliot Glaysher
e2d304d43c At least detect when we have ^C or ^D. 2019-08-29 14:54:34 -07:00
Jared Tobin
0bd06fe210
Merge branch 'jt-gall-refactor' (#1668)
* jt-gall-refactor: (76 commits)
  gall: fix issue id in comment
  pills: update solid
  gall: handle foreign coup success
  gall: only print peek bad result if bad
  gall: add basic test harness
  pills: update solid, brass, ivory
  gall: fix obvious nest-failing tisdot
  gall: change '-state' to '-core' for +mo and +ap
  zuse, gall: deprecate 'club'
  zuse, gall, eyre: deprecate 'cush'
  zuse, gall, eyre, dojo: deprecate 'cuft'
  gall: remove slam-related printfs
  gall: remove deprecated 'mak' from 'agents'
  gall: use less vertical spacing throughout
  gall: add comment re: unpopulated wex
  gall: use less vertical separation when wuthepping
  gall: fix whitespace
  gall: don't define 'move' as a pair
  gall: don't give faces to tags
  gall: gut some unused stuff
  ...
2019-08-29 19:05:25 -02:30
Benjamin Summers
a287676923 Minor 2019-08-29 14:26:33 -07:00
benjamin-tlon
8fbd8d6d04
Merge pull request #1672 from urbit/bs/king-logging
King Haskell Logging
2019-08-29 14:23:27 -07:00
Matilde Park
a2357afbcd Publish: Bring post editing UI to new post parity
Edit post's UI appearance looked quite different
from what creating a new post looked like.

This commit just brings the styling of post
editing UI a bit closer together with new posts.
2019-08-29 16:57:16 -04:00
Elliot Glaysher
6f6811def5 Very basic input works. Edge cases unhandled. 2019-08-29 13:19:06 -07:00