Fang
e16f1d64b5
azimuth-tracker: remove deprecated generator
2019-10-30 20:18:56 +01:00
Fang
188867b73f
eth: implement azimuth-tracker using eth-watcher
...
Re-implements the behavior of the previous azimuth-tracker as an app
that pokes and peers eth-watcher. Should have maintained identical
outward semantics to the original.
2019-10-30 20:18:49 +01:00
Fang
555eae6e25
eth-watcher: ensure logs always sent oldest-first
...
For easier "this happened, then that happened" on the client side.
2019-10-30 18:44:52 +01:00
Fang
e0b564f72f
eth-watcher: allow peers to unconfigured watchdogs
...
We simply respond with an empty history. This allows applications to
safely subscribe prior to a watchdog's creation.
2019-10-30 16:48:51 +01:00
Fang
603a3ae32b
eth-watcher: saner %watch behavior
...
When configuring a watchdog on a path that already exists, we now
"overwrite" it, meaning we throw away all history and trawl the node
for logs again.
If the only config change is the url, however, we silently modify it,
and simply use it "from this point onward".
This matches the behavior of the original azimuth-tracker.
2019-10-30 16:46:37 +01:00
Fang
e8d52e9b58
eth-watcher: implement %clear poke
...
We don't need to bother un-setting any timers or other subscriptions,
because those all happen on the app-wide level, instead of per watchdog.
2019-10-30 16:35:12 +01:00
Fang
c3ac547b3b
eth-watcher: store logs in state to implement peer
...
In order to give an initial response to incoming subscriptions (without
resorting to retrieving that data from chain again) we now store event
log history in state.
Instead of discarding pending-logs entirely after sending out updates,
we add them to the watchdog's history.
Just like pending-logs, we remove from the head during a rewind (though
not before exhausting the pending-logs).
2019-10-30 00:37:12 +01:00
Fang
277f2955c3
eth-watcher: move types into /sur file
2019-10-29 21:13:28 +01:00
Fang
4e9ece6cea
eth-watcher: properly tag out-peer-data
2019-10-29 19:14:21 +01:00
Fang
6437d860fe
eth-watcher: single update timer loop
...
Kicks the update timer on application start, then sets a new timer
whenever it's awoken. This aims to ensure eth-watcher never stops
looking for updates periodically.
2019-10-29 19:13:16 +01:00
Fang
67b4c9975e
eth-watcher: implement /block peek
...
/block/some-path allows you to get the next block that will be checked
for updates for the watcher at /some-path. Useful for uptime checking.
2019-10-29 19:11:36 +01:00
Jared Tobin
e77237d1a1
Revert "chat-hook: use sender's timestamp"
...
This reverts commit 22ddb712ff
, which I
merged prematurely. See later commentary in #1889 .
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-29 15:20:28 +08:00
Fang
22ddb712ff
chat-hook: use sender's timestamp
...
No longer overwrite messages' timestamp on-receive, instead keeping whatever
timestamp was set by the sender.
This behavior matches that of the late Hall.
2019-10-27 13:43:26 +01:00
Jared Tobin
1f614c9fc3
Merge branch 'ohAitch/patch-1' ( #1887 )
...
* ohAitch/patch-1:
eyre: fix wire=path terminology
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-26 17:57:14 +08:00
Jared Tobin
e313716b7f
Merge branch 'publish-fixes' ( #1886 )
...
* publish-fixes:
publish: correctly set title and body when navigating with next/prev
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-26 17:55:32 +08:00
Jared Tobin
db85bccf84
Merge branch 'jt/release-pills' ( #1877 )
...
* jt/release-pills:
build: add ropsten-pills target to Makefile
build: add Ropsten derivations for arvo and pills
vere: change default bootstrap pill URI
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-26 17:53:59 +08:00
Anton Dyudin
78d10f30cd
eyre: fix wire=path terminology
2019-10-25 16:04:29 -07:00
Isaac Visintainer
16364de935
publish: correctly set title and body when navigating with next/prev
2019-10-25 15:29:51 -07:00
Fang
cda68b90b9
eth: turn azimuth-tracker into eth-watcher
...
Uses the logic existing in azimuth-tracker to implement a new
eth-watcher, which can look at Ethereum nodes for _any_ events, as
opposed to exclusively a subset of the Azimuth contract's events.
Azimuth-tracker will be reimplemented as a dependent of this in
forthcoming commits.
2019-10-25 19:25:31 +02:00
Fang
7bc17357ba
eth: remove old eth-watcher files
...
These were deprecated in favor of azimuth-tracker in #1320 .
(Azimuth-tracker, however, isn't a general-purpose Ethereum log watcher
tool. Commits to transform it into a more broadly useful tool are
forthcoming.)
2019-10-25 13:08:27 +02:00
Jared Tobin
7f124db8d9
Merge branch 'philip/jael-ames-full' ( #1882 )
...
* philip/jael-ames-full:
jael: provide edge-triggered breach notification
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-25 14:05:01 +08:00
Philip Monk
5d5936bbb7
custody: move to separate repo
2019-10-24 16:03:46 -07:00
Logan Allen
e06acb87be
chat-ui: fix image previews from url types
2019-10-24 14:31:40 -07:00
Logan Allen
c8cca2f261
chat-js: make clicking a url message open in a new tab
2019-10-24 14:12:26 -07:00
Logan Allen
29fc32d11b
chat-js: fix chat sorting and selection in sidebar
2019-10-24 14:04:48 -07:00
Philip Monk
9ddc04143a
jael: provide edge-triggered breach notification
...
Until now, clients of Jael have had to store the first-seen rift if they
want to reliably detect breaches. Otherwise, they would get a false
positive if they heard an old message about a breach (eg if you kick
azimuth-tracker). Clay and Gall did this correctly, but Ames did not.
Jael already maintains this state, so I added a notification to the
existing subscription that happens whenever it notices a breach (a diff
or full where the new rift is greater than the old one).
Because this is an issue on the live network, I wrote state adapters
for Gall and Clay. The Gall one just removes the rift from our state,
but the Clay one is much more involved because we have to upgrade
instances of the clad monad that are possibly in progress.
Specifically, since more input is possible than before, we must wrap any
in-progress instances of the monad in a function that handles the
potential new input from Jael. This temporarily preservers a copy of
the old kernel, but only until the current commit/merge/update has
completed.
The real solution for Clay is to factor out those IO-heavy instances to
userspace tapp/async/imp/threads, and if an upgrade happens in the
middle, you should simply restart them.
Fixes #1852
2019-10-23 21:40:34 -07:00
Jared Tobin
536e56d675
vere: change default bootstrap pill URI
...
Vere will attempt to download a pill from https://bootstrap.urbit.org if
not given one explicitly. These pill filenames have traditionally had
the format:
urbit-$URBIT_VERSION.pill
but this is inconsistent with the manner in which versions are referred
to elsewhere. For example, release binaries are packaged in tarballs
with the names:
urbit-linux64-v$URBIT_VERSION.tgz
urbit-darwin-v$URBIT_VERSION.tgz
Note the 'v' prepended to URBIT_VERSION.
From v0.9.2 forward it is expected that bootstrap pills will also use
the 'v' prefix, i.e.
urbit-v$URBIT_VERSION.pill
so this commit makes the appropriate change in the daemon.
2019-10-24 09:42:30 +08:00
Fang
544d636701
chat-cli: minor code style fixes
2019-10-23 20:40:58 +02:00
Jared Tobin
150efffbd2
Merge branch 'jt/gall-ap-scry-fix' ( #1868 )
...
* jt/gall-ap-scry-fix:
gall: fix bug in +ap-peek
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-23 08:36:36 +08:00
Jared Tobin
3fddf99260
Merge branch 'claz-invites-newline' ( #1846 )
...
* claz-invites-newline:
claz: do invite file reading in +read-invites
claz: ignore empty lines in invites file
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-23 08:36:07 +08:00
Jared Tobin
095a0a155a
Merge branch 'publish-fixes' ( #1865 )
...
* publish-fixes:
publish: auto-resubscribe on quit, crash on failed subscription
publish: added permission logic to %serve and import flows
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-23 08:35:01 +08:00
Elliot Glaysher
5f6d37fdd3
Hide --full-log-replay on main line.
2019-10-22 13:05:58 -07:00
Joe Bryan
79aff11436
u3: print messages for fatal errors to stderr
...
u3l_log may send over a pipe, so message may not be delivered
if the error in question aborts the process
2019-10-22 13:00:09 -07:00
Joe Bryan
75dfcad6f7
u3: removes redundant memory fault assertion
2019-10-22 12:58:30 -07:00
Joe Bryan
9c7455f218
u3: use clearer assertions for loom corruption
2019-10-22 12:40:43 -07:00
Elliot Glaysher
8a09262092
Separate the config into pier and network sections.
...
Make the ames tests compile again, reading from a test instance of
HasNetworkConfig without phony HasPierConfig data.
2019-10-22 11:25:04 -07:00
Isaac Visintainer
0a5fcf8210
publish: auto-resubscribe on quit, crash on failed subscription
2019-10-22 10:18:34 -07:00
Isaac Visintainer
aed15a13b9
publish: added permission logic to %serve and import flows
2019-10-22 10:18:25 -07:00
Jared Tobin
bdfc270b2f
gall: fix bug in +ap-peek
...
fc7901d2
refactored much of +ap-peek, but introduced a bug in the
process. The relevant diff from that commit is as follows:
- =/ =path [ren tyl]
- =/ =vase !>((slag p.u.cug path))
- (ap-slam q.u.cug p.arm vase)
+ =/ index p.u.maybe-arm
+ =/ term q.u.maybe-arm
+ =/ =vase
+ =/ =path [term tyl]
+ =/ raw (slag index path)
+ !> raw
+ (ap-slam term p.arm vase)
Note that [ren tyl] was replaced with [term tyl], where 'term' and 'ren'
are not equal. This commit merely rights that wrong.
2019-10-22 15:22:30 +08:00
Joe Bryan
645bde3f2d
vere: restore terminal dimensions measurement
2019-10-21 22:41:02 -07:00
Jared Tobin
71b27b0300
Merge branch 'pretty-userspace' ( #1847 )
...
* pretty-userspace:
pills
hoon: moves new pretty-printer back into userspace
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-22 10:12:05 +08:00
Philip Monk
87f689f443
custody: add more types
2019-10-21 15:41:28 -07:00
Elliot Glaysher
0073b24b7e
Move from -N
to --dry-run
.
2019-10-21 15:32:12 -07:00
Elliot Glaysher
44b65376b9
Implement --full-log-replay
2019-10-21 15:28:05 -07:00
Elliot Glaysher
92cd2863e5
Disable hashboard by default in king.
...
The vere implementation always disables hashboard, and this was why
king was so much slower.
2019-10-21 15:27:02 -07:00
Jared Tobin
3210acd4de
vere: patch version bump (0.9.0 -> 0.9.1)
...
Also updates all pills.
2019-10-21 09:57:42 +08:00
Jared Tobin
7f25f26ac2
Merge branch 'worker-memory'
...
* worker-memory:
u3: removes "worker_send_replace" printf
u3: statically measure memory on startup if < 1/2 the loom is free
u3: restore memory reclamation every 1k events
u3: print the size of the free lists on |mass
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-21 08:29:22 +08:00
Jared Tobin
4ee03d4e6a
Merge branch 'chat-cli-join-prompt' ( #1851 )
...
* chat-cli-join-prompt:
chat-cli: update prompt on ;join
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-21 08:28:16 +08:00
Jared Tobin
7be86ebd4f
Merge branch 'philip/ames-fix' ( #1840 )
...
* philip/ames-fix:
ames: better stack traces
ames: don't crash
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-21 08:26:21 +08:00
Fang
9ed582b9c4
claz: do invite file reading in +read-invites
...
Ensures we read out the invite file in a consistent way
2019-10-18 16:15:11 +02:00
Fang
10b2643a50
chat-cli: update prompt on ;join
...
Fixes #1841 .
2019-10-18 15:04:34 +02:00
Joe Bryan
fa01bfb0a5
hoon: moves new pretty-printer back into userspace
2019-10-17 17:52:45 -07:00
Fang
f0a4bd0369
claz: ignore empty lines in invites file
2019-10-18 02:10:39 +02:00
Elliot Glaysher
73dae3e805
Revive and hook up the option.
2019-10-17 17:02:33 -07:00
Philip Monk
be212ad54b
ames: better stack traces
2019-10-17 16:52:35 -07:00
Elliot Glaysher
9ec9426b8a
Implement -N, dry-run mode.
...
When -N is enabled, no sockets are bound and no events get persisted
to the datastore. We also pass the dry run flag to the serf, who
should not snapshot.
(For redundancy, we should probably also make king not send the save
snapshot commands, but I tested locally that the worker process
doesn't save.)
2019-10-17 16:10:53 -07:00
Joe Bryan
85a656471f
u3: removes "worker_send_replace" printf
2019-10-17 15:57:19 -07:00
Joe Bryan
1cfedf2273
u3: statically measure memory on startup if < 1/2 the loom is free
2019-10-17 15:50:28 -07:00
Joe Bryan
bf5a1276af
u3: restore memory reclamation every 1k events
2019-10-17 15:50:04 -07:00
Elliot Glaysher
f038e60794
Implement -L and -x
2019-10-17 15:32:06 -07:00
Joe Bryan
e7b0a6a5e7
u3: print the size of the free lists on |mass
2019-10-17 14:19:21 -07:00
Elliot Glaysher
b0ed770cc8
Build (HasPierConfig env) and use it for pier path and network state
2019-10-17 14:06:25 -07:00
Philip Monk
f835ef5a70
ames: don't crash
2019-10-17 12:33:35 -07:00
Philip Monk
95471d0a39
azimuth-tracker: fix |watch generator
2019-10-17 10:37:09 -07:00
Jared Tobin
c6b4317aa9
Merge branch 'spec-better' ( #1836 )
...
* spec-better:
updates solid pill
arvo: improves move type specialization (by spec'ing incrementally)
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-17 09:32:46 +04:00
Joe Bryan
f6b41754cc
arvo: improves move type specialization (by spec'ing incrementally)
2019-10-16 17:30:33 -07:00
Elliot Glaysher
29a471c3df
Default to the bootstrap pill of the current urbit version.
...
Also set the version number of king in lockstep with vere.
2019-10-16 16:03:02 -07:00
Fang
bead92656c
publish: remove unused %disconnect card
...
It wasn't being used, and wasn't correct in the first place.
(You really want [%publish wire binding:eyre] here.)
2019-10-16 23:41:08 +02:00
Elliot Glaysher
e9063f926b
Implement -u flag for loading pills from a url.
2019-10-16 13:43:47 -07:00
Elliot Glaysher
31226bc9c0
Fix boot sequence for brass pills.
2019-10-16 13:38:46 -07:00
yosoyubik
f970e1c264
hoon: fix for +uno/uni ( #1779 ) set/map union
2019-10-16 13:26:02 -07:00
Elliot Glaysher
b71d025b7b
Merge remote-tracking branch 'origin/master' into king-haskell
2019-10-16 11:47:21 -07:00
Jared Tobin
70ed0d6e98
Merge branch 'philip/jael-fix' ( #1827 )
...
* philip/jael-fix:
jael: retrieve first sponsor instead of last
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-16 10:06:09 +04:00
Jared Tobin
1f8826a8ed
Merge branch 'la-tiscol-fix'
...
* la-tiscol-fix:
chat: changed a =: to a =. to fix message storage bug
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-16 09:43:40 +04:00
Jared Tobin
3e44e5155e
Merge branch 'claz-checks' ( #1822 )
...
* claz-checks:
claz: group state check arms together
claz: factor asserts out of callsites
claz: check pool sizes when inviting
claz: check planet availability for %invites
claz: print proper error messages
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-16 09:41:31 +04:00
Philip Monk
6b8d75a88c
jael: retrieve first sponsor instead of last
2019-10-15 18:04:34 -07:00
Logan Allen
2871a964ba
chat: changed a =: to a =. to fix message storage bug
2019-10-15 16:16:02 -07:00
Elliot Glaysher
7a1d9b2d5d
Merge remote-tracking branch 'origin/master' into king-haskell
...
(Respins pills due to conflict.)
2019-10-15 12:38:17 -07:00
Jared Tobin
a5e3ca92b4
tests: disable %ames test-send
...
This test depends on the ames protocol version, and so should probably
be rewritten. It's currently holding up a breach, so it's most
expedient to just disable it for the time being.
2019-10-15 23:23:57 +04:00
Jared Tobin
f0a0c66afd
ames: bump protocol version
...
A last-minute adjustment to the v0.9.0 release to ensure that ships in
the next era don't become haunted by ghosts of the past one.
2019-10-15 22:32:55 +04:00
Jared Tobin
4613264047
release: v0.9.0
...
Updates URBIT_VERSION, Landscape builds, and all pills.
2019-10-15 14:50:05 +04:00
Ted Blackman
625f855f24
master without pills, hopefully
2019-10-14 16:02:27 -04:00
Fang
a0145ff3db
claz: group state check arms together
...
In both core and flow. +run-checks sets the stage for future command
legitimacy checks.
2019-10-14 21:54:32 +02:00
Fang
8b37f5fe33
claz: factor asserts out of callsites
...
We now do them in the relevant functions instead, since we always want
to hard-fail on unexpected/erroneous responses.
2019-10-14 21:52:57 +02:00
Fang
a5564f2860
claz: check pool sizes when inviting
2019-10-14 20:19:17 +02:00
Fang
4a4b592afc
claz: check planet availability for %invites
2019-10-14 17:19:34 +02:00
Fang
8d3787328a
claz: print proper error messages
2019-10-14 16:03:12 +02:00
Jared Tobin
eaf0cfd995
Merge branch 'perm-hook' ( #1818 )
...
* perm-hook:
permission-hook: style improvement
apps: added permission hook and chat-view %join action
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-13 09:07:21 +04:00
Logan Allen
7f0ab1b8ab
permission-hook: style improvement
2019-10-12 18:58:20 -07:00
Fang
9b079f6c83
claz: %single %send-point to correct contract
...
09cb5f2
added a %send-point call, which is meant to target the delegated sending
contract. For %invites batches, this was the case. Handling of %single, however,
still sent all calls to the ecliptic contract.
This looks at the call tag to determine the target contract.
2019-10-12 00:22:44 +02:00
Logan Allen
b12e305c9c
apps: added permission hook and chat-view %join action
2019-10-11 14:09:30 -07:00
Elliot Glaysher
9d7746948b
Print messages about looking up galaxy IPs.
2019-10-11 14:05:25 -07:00
Jared Tobin
3a540371a0
vere: rc version bump (-> 0.9.0.rc-4)
...
Also updates brass, ivory pills.
2019-10-11 11:27:04 +04:00
Jared Tobin
ac55d362e9
Merge branch 'ames-boot-timer' ( #1817 )
...
* ames-boot-timer:
pills: update solid
ames: skip timers if unix duct is unset
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 11:08:35 +04:00
Jared Tobin
9d1b09c995
Merge branch 'chat-cli-glyphs' ( #1816 )
...
* chat-cli-glyphs:
chat-cli: maintain sane glyph binding state
chat-cli: support per-target glyph unbinding
chat-cli: properly decode double-bound glyphs
chat-cli: try not to double-bind glyphs
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 10:35:42 +04:00
Jared Tobin
3f4edb608d
Merge branch 'la-join' ( #1815 )
...
* la-join:
js: Improved join UI and added support for paths with multiple elements
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 09:12:31 +04:00
Philip Monk
c668a24df2
custody: get data from chain
2019-10-10 18:26:18 -07:00
Joe Bryan
e9396973cc
ames: skip timers if unix duct is unset
2019-10-10 17:21:39 -07:00
Elliot Glaysher
0633010a92
Implement quickcheck on path utilities and fix a bug.
2019-10-10 16:24:12 -07:00
Philip Monk
adba48241a
spider: convert azimuth-tracker to imp
2019-10-10 15:30:24 -07:00
Elliot Glaysher
c28f2693b5
Small cleanups to Dawn.
2019-10-10 15:01:50 -07:00
Fang
4e963ff23a
chat-cli: maintain sane glyph binding state
...
This ensures that `binds` is updated to match overwrites in `bounds`.
2019-10-10 23:49:36 +02:00
Fang
31b7331e1e
chat-cli: support per-target glyph unbinding
2019-10-10 23:40:08 +02:00
Elliot Glaysher
f2fb404496
Revive a few of the cue/jam property tests.
2019-10-10 14:20:26 -07:00
Elliot Glaysher
a14b6e06d3
Boot from mined comets in king.
...
This makes the comet mining code actually work. You can now run
king with `new --comet` to mine a new comet and get it on the
network. Mining appears to be significantly faster; I've had to
wait up to 20 minutes with vere, but I've never needed to wait more
than 30 seconds with king.
2019-10-10 13:45:01 -07:00
Fang
e01d59ae4c
chat-cli: properly decode double-bound glyphs
...
Resolves glyph to most recently seen target.
2019-10-10 22:40:37 +02:00
Fang
cf24f4a80e
chat-cli: try not to double-bind glyphs
...
Try to use the default glyph.
If that is already in use, random available glyph.
If there's none available, the default glyph.
2019-10-10 22:38:36 +02:00
Logan Allen
84e143574a
js: Improved join UI and added support for paths with multiple elements
2019-10-10 11:20:53 -07:00
pkova
92cc039155
eyre: fix missing cancel-heartbeat-move cases
2019-10-10 20:59:39 +03:00
Jared Tobin
990d357e0f
Merge branch 'claz-invites' ( #1813 )
...
* claz-invites:
claz: Correct & complete comments
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 14:51:17 +04:00
Fang
fa4d1bba48
claz: Correct & complete comments
2019-10-10 11:31:05 +02:00
Jared Tobin
8b64b3de40
vere: rc version bump (-> 0.9.0.rc-3)
2019-10-10 10:58:13 +04:00
Jared Tobin
77af7aff72
Merge branch 'claz-invites' ( #1809 )
...
* claz-invites:
claz: Implement batch invites
keygen: Add ownership-from-ticket function
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 10:47:59 +04:00
Jared Tobin
d2964581da
tests: replace bogus queue in test-qeu
...
Per yosoyubik's commentary in urbit/urbit#1799 :
The test is expecting that qeu to not be correct.. when it is.
The test [98 [97 ~ ~] [100 ~ [99 ~ ~]]] is a correct queue if we look at
vertical ordering: (mor 98 97), (mor 98 100) & (mor 100 99) all return
%.y, so vertical ordering is correct.
The previous implementation of +apt:to checked only horizontal ordering
between siblings, in this case that would fail: (mor 97 100) returns
%.n, but that is not how you check correctness of hoon treaps.
The solution is to modify that test with a proper "incorrect" +qeu, for
example: ((soft (qeu)) [97 [98 ~ ~] [100 ~ [99 ~ ~]]]). Vertical
ordering is not correct with any of the children.
2019-10-10 10:20:25 +04:00
Jared Tobin
b100160198
Merge branch 'treap-traverse' into yosoyubik-contribs
...
* treap-traverse:
pills: update solid
hoon: replaces manual +tree cons with explicit %=
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 10:07:03 +04:00
Jared Tobin
ad53e40e99
Merge branch 'algorithm-tests' into merge-yosoyubik-contribs
...
* algorithm-tests:
pills: update solid
tests: unit tests for +in (set)
tests: unit tests for +to (queue)
tests: unit tests for +by (map)
tests: unit tests for +differ (diff/merge)
hoon: fix for +uno/uni (#1779 ) set/map union
hoon: fix for +apt:to (#1778 ) queue correctness
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 09:45:43 +04:00
Elliot Glaysher
006ee022b7
LGTM from Ben.
2019-10-09 16:58:54 -07:00
Elliot Glaysher
1cca039b6f
First part of the code review with Ben.
2019-10-09 14:58:27 -07:00
Elliot Glaysher
a511b3aba8
Stubbed comet mining
2019-10-09 13:39:11 -07:00
Fang
09cb5f2403
claz: Implement batch invites
...
For generating many sendPoint() transactions for the Delegated Sending
contract. Specify what ship to send the invites as, and a path to a file
containing lines of "~ship,~ticket,0xaddress".
Comes with a generator, |claz-invites, for generating such files, given
a star and a range of its children (and an output path).
2019-10-09 21:28:48 +02:00
Fang
e6775d0907
keygen: Add ownership-from-ticket function
...
Many use cases care only for the ownership wallet. Using a function like
this, that derives exclusively that, saves computation time.
2019-10-09 21:19:04 +02:00
Philip Monk
754fd61e1b
custody: initial commit
2019-10-09 10:32:27 -07:00
Elliot Glaysher
e1ef550ffc
Further fake mode cleanups.
2019-10-09 10:25:11 -07:00
Fang
9d63a3e9c7
drum: Ensure dojo prompt on-boot
...
The previous method for doing this relied on "dojo" being first when
sorting alphabetically, which is not the case anymore.
2019-10-09 18:02:03 +02:00
Fang
79544a03d0
chat-hook: Improve reap printf readability
2019-10-09 15:30:26 +02:00
Fang
86f37ede6c
chat-cli: Remove prep printf
2019-10-09 15:04:51 +02:00
Jared Tobin
224ef6c89f
Merge branches 'vere-fs-errors' and 'args-cleanup' ( #1805 , #1806 )
...
* vere-fs-errors:
vere: checks on boot that we have write permissions for $pier
vere: uses c3_sync macro instead of inline platform checks
vere: handle error when opening pier lockfile
* args-cleanup:
vere: adds comments noting possible -a/-d requirements
vere: implements -x (exit immediately after boot)
vere: removes unimplemented cli args -b and -V
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-09 10:52:03 +04:00
Jared Tobin
23f13877a0
Merge branch 'odyssey-wip' ( #1785 )
...
* odyssey-wip: (31 commits)
chat-cli: Add clarity
drum: Boot with %chat-cli, without %hall & %talk
chat-cli: Cosmetic improvements
chat: Move eval logic out of /lib/chat-json
chat-cli: Properly support deleting local chats
chat-cli: Subscribe to /updates instead of /all
chat: Move eval logic into lib
chat: removed unnecessary cast
chat: removed overly specific pattern match
chat: style fix for a comment
chat: remove poke-noun arms
chat: fixed eval function to disable scry
chat-cli: Simplify message command type & logic
chat-cli: Implement permission management
chat: /primary path provides truncated initial as well as updates
chat: style fixes, removed some redirect bugs from chat
chat-cli: Match store and hook's path handling
chat-cli: Update prompt on-create
chat: changed wire format and quitting subscription properly on ban
chat-cli: Add debug poke for connecting to store
...
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-09 10:04:38 +04:00
yosoyubik
d482167e21
hoon: replaces manual +tree cons with explicit %=
...
Rewrites several arms in +to, +in, +by, that perform tree operations,
with explicit %= updates
2019-10-09 07:37:47 +02:00
Elliot Glaysher
2ccf931cb8
Remove tracing code.
2019-10-08 16:53:07 -07:00
Elliot Glaysher
72ef261ebe
Binds to INADDR_ANY on real ships.
...
This at least gets us to "~zod is ok" and "~zod is your neighbor",
along with the landscape welcome message from ~marzod. Persistent
connectivity has problems though.
2019-10-08 16:32:47 -07:00
Elliot Glaysher
26046b63ef
Thread isFake bit to Ames and condition how we send messages on it.
2019-10-08 16:18:52 -07:00
Elliot Glaysher
8cd9c690db
Use the same socket for sending and receiving.
2019-10-08 15:56:32 -07:00
Joe Bryan
ac97fd24c3
vere: checks on boot that we have write permissions for $pier
2019-10-08 15:24:12 -07:00
Joe Bryan
68f05b722b
vere: uses c3_sync macro instead of inline platform checks
2019-10-08 15:15:42 -07:00
Joe Bryan
c8a4a5d699
vere: handle error when opening pier lockfile
2019-10-08 15:14:11 -07:00
Fang
4dea1068b2
chat-cli: Add clarity
2019-10-09 00:06:39 +02:00
Elliot Glaysher
872d4b1c76
WIP: Compiles, but appears to have broken fakezod/fakenec.
2019-10-08 15:01:16 -07:00
Joe Bryan
c9943611d3
vere: adds comments noting possible -a/-d requirements
2019-10-08 15:00:40 -07:00
Joe Bryan
39f84d2cf1
vere: implements -x (exit immediately after boot)
2019-10-08 15:00:38 -07:00
Joe Bryan
9fad3153f9
vere: removes unimplemented cli args -b and -V
...
-b (batch create) and -V (replay w/out reboots)
2019-10-08 15:00:34 -07:00
Fang
b7f1e9c578
Merge branch 'odyssey-wip' into odyssey-chat-cli
2019-10-08 23:32:57 +02:00
Fang
816535c311
drum: Boot with %chat-cli, without %hall & %talk
...
Also refactors the surrounding code in +deft-apes.
2019-10-08 23:19:05 +02:00
Fang
24859907aa
chat-cli: Cosmetic improvements
...
Better variable naming. Trailing newline.
2019-10-08 23:00:46 +02:00
Fang
e567de9c18
chat: Move eval logic out of /lib/chat-json
...
This allows us to always include the bowl when evaluating a code letter.
2019-10-08 22:44:20 +02:00
Fang
0da8e1efb3
chat-cli: Properly support deleting local chats
...
Since the current implementation of ;leave is silently destroying state
instead of unsubscribing, we disallow running ;leave on local chats and
provide an explicit ;delete instead.
2019-10-08 22:28:56 +02:00
Fang
42aa035530
chat-cli: Subscribe to /updates instead of /all
...
On first boot (and debug poke) we scry for /all to ensure we know all
messages.
2019-10-08 22:06:45 +02:00
Fang
9532857ef5
chat: Move eval logic into lib
2019-10-08 22:06:28 +02:00
Elliot Glaysher
4a0c2f0393
Skeleton implementation of Ames with galaxy lookup.
...
Needs to be moved to RIO so that I can get logging data about this.
2019-10-08 13:04:21 -07:00
Logan Allen
225fb9327f
chat: removed unnecessary cast
2019-10-08 12:44:28 -07:00
Logan Allen
c1ecfd86cb
chat: removed overly specific pattern match
2019-10-08 12:40:15 -07:00
Logan Allen
e9bbf68eed
chat: style fix for a comment
2019-10-08 12:39:00 -07:00
Logan Allen
e567803478
chat: remove poke-noun arms
2019-10-08 12:37:39 -07:00
Logan Allen
6ab2879b81
chat: fixed eval function to disable scry
2019-10-08 12:13:29 -07:00
Fang
c7fbad61ee
chat-cli: Simplify message command type & logic
...
By dropping support for •-separated multi-messaging, we can simplify
the parsing and handling of message sending inputs.
2019-10-08 20:01:46 +02:00
Fang
dac51a9ed8
chat-cli: Implement permission management
...
Set security type during ;create. Use ;invite and ;banish to dis/allow
ships from reading and/or writing.
Talks to the group-store to modify permission groups. Scries into
permission-store to check for white- vs blacklist.
2019-10-08 20:01:21 +02:00
Logan Allen
536dcdc4f4
chat: /primary path provides truncated initial as well as updates
2019-10-08 10:41:06 -07:00
Logan Allen
fbbb3830b2
chat: style fixes, removed some redirect bugs from chat
2019-10-08 10:11:18 -07:00
Fang
9c562f4c62
chat-cli: Match store and hook's path handling
...
Now prefixes the host ship to the path, and parses it back out, only
when appropriate.
2019-10-08 16:18:20 +02:00
Fang
10b17ff127
chat-cli: Update prompt on-create
...
Creating a mailbox would refresh the prompt before setting a new
audience, instead of after. This change corrects the behavior.
Also updates glyph binding code and print style.
2019-10-08 16:15:19 +02:00
Fang
b2365c1668
Merge 'odyssey-wip' into odyssey-chat-cli
2019-10-08 13:04:49 +02:00
Jared Tobin
32052396d8
vere: version bump (0.8.0 -> 0.9.0)
...
Additionally updates all pills, for good measure.
2019-10-08 12:36:38 +04:00
Logan Allen
79903ff9f5
chat: changed wire format and quitting subscription properly on ban
2019-10-07 17:35:48 -07:00
Fang
12050d44a8
chat-cli: Add debug poke for connecting to store
2019-10-07 20:46:35 +02:00
Fang
03b5a1cd71
chat-cli: Support %url and %me message types
2019-10-07 20:45:58 +02:00
Fang
c0d07fa14a
chat-cli: Clean up code
...
Renames, refactors, and occasionally rewrites many of the arms used
within the application. Splits +sh into +sh-in and +sh-out, improves
naming for rendering cores, moves arms around for better organization,
and adds descriptions to all arms.
2019-10-07 16:31:10 +02:00
Fang
7911061dab
chat-cli: Make more fully-featured
...
Brings it largely up to parity with Talk, save for features relating to:
- presence & nicknames
- circle management (permissions, sources)
- deprecated message types
In addition to implementing remaining functionality for basic usage
patterns, makes the following changes:
- glyphs per target, not multiple targets
- assume /~ship/path paths are created/used by the chat-hook
Code cleanup pending.
2019-10-07 16:09:22 +02:00
Fang
07454e2327
apps: Add WIP chat-cli
2019-10-07 16:09:14 +02:00
pkova
a019c2079e
eyre: add channel \n heartbeat every 20 seconds
2019-10-07 03:11:11 +03:00
yosoyubik
84ebe8bf37
tests: unit tests for +in (set)
2019-10-06 12:00:53 +02:00
yosoyubik
764615b587
tests: unit tests for +to (queue)
2019-10-06 12:00:53 +02:00
yosoyubik
9d0e0c7827
tests: unit tests for +by (map)
2019-10-06 12:00:53 +02:00
yosoyubik
30a4496a87
tests: unit tests for +differ (diff/merge)
2019-10-06 12:00:53 +02:00
yosoyubik
7ed0a938e2
hoon: fix for +uno/uni ( #1779 ) set/map union
2019-10-06 12:00:53 +02:00
yosoyubik
b55149af55
hoon: fix for +apt:to ( #1778 ) queue correctness
2019-10-06 12:00:48 +02:00
Jared Tobin
18f55bb5f8
Merge branch 'tank-priorities' ( #1797 )
...
* tank-priorities:
vere: Wrap tank dump priority escape codes with terminal check
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-06 09:22:57 +04:00
Brendan Hay
4dc1ec8874
vere: Wrap tank dump priority escape codes with terminal check
2019-10-05 11:04:58 -07:00
Jared Tobin
8aeaf1610b
Merge branch 'behn-log-drip-fail' ( #1795 )
...
* behn-log-drip-fail:
updates solid pill
behn: print error on failed %drip
2019-10-05 16:28:20 +04:00
Jared Tobin
9ebe114c3b
Merge branch 'eyre-cookie' ( #1794 )
...
* eyre-cookie:
eyre: changed cookie format
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-05 16:14:46 +04:00
Ted Blackman
5fcdb02db9
ames: reset congestion control params to 'reasonable' values
2019-10-05 01:00:20 -04:00
Ted Blackman
cc5e2c9564
temporary fast start for testing
2019-10-05 00:41:18 -04:00
Ted Blackman
8749fc7f13
try slowing down once cwnd > 1.000; 200 was too slow
2019-10-04 23:54:09 -04:00
Ted Blackman
eed3d8ce36
try slowing down once cwnd > 200
2019-10-04 23:39:51 -04:00
Ted Blackman
6bae84fbe4
fix enqueued message order
2019-10-04 23:38:32 -04:00
Ted Blackman
32360c2e5a
try misordered acks
2019-10-04 23:21:29 -04:00
Isaac Visintainer
e9c639464b
eyre: changed cookie format
2019-10-04 15:06:01 -07:00
Brendan Hay
db0b7acd13
Adding terminal guard around tty column/row calculations
2019-10-04 23:16:08 +02:00
Brendan Hay
e8f133d532
Adding -T option to disable terminal/tty assumptions
...
Without incurring the fork() that -d/daemon mode implies.
2019-10-04 23:09:24 +02:00
Philip Monk
d202a4fb56
behn: print error on failed %drip
2019-10-04 14:05:52 -07:00
Elliot Glaysher
fcdc5904e8
General cleanup.
2019-10-04 13:47:05 -07:00
Joe Bryan
e6e402023c
removes obsolete cli args for eth snapshots (-C and -E)
2019-10-04 13:32:56 -07:00
Elliot Glaysher
bf8a00d8dc
Retrieve entire sponsorship chains.
...
This retrieves the point data for not just the immediate sponsor,
but for the whole sponsorship chain. (For a moon: [galaxy star
planet], for a planet: [galaxy star], and so on.)
2019-10-04 11:54:25 -07:00
Jared Tobin
b5fec5ef97
Merge branch 'update-pills' ( #1789 )
...
* update-pills:
Update all pills and fix .gitignore.
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-04 12:07:15 +04:00
Elliot Glaysher
93e3a2e0e8
Start working through %dawn differences on a comet.
...
I booted a comet with vere, had it dump its keyfile, and then went
through `stack run king -- new` with that keyfile. Things were
fairly close, but there's still more to do here.
This fixes the turf uniqueness issue and makes us do less work for
things that vere didn't bother making real, like ownership
information.
2019-10-03 16:39:16 -07:00
Elliot Glaysher
6235f87579
Can now print a vere %dawn event in king's event browser.
2019-10-03 15:51:34 -07:00
Elliot Glaysher
b95c354ba3
Hook up the lite mode flag.
2019-10-03 15:41:19 -07:00
Elliot Glaysher
fbe0a78db5
Merge remote-tracking branch 'origin/king-haskell' into king-dawn
2019-10-03 15:41:09 -07:00
Elliot Glaysher
330faa3205
Update all pills and fix .gitignore.
...
The ivory pill had not been rolled after the last changes to zuse,
meaning that you could no longer boot a ship. Also fixes .gitignore
so as to not hide old build artifacts which could interfere with
picking up changes to the ivory pill.
2019-10-03 15:03:50 -07:00
Brendan Hay
0687d3e0fb
Removing unnecessary call to seed prng for fuzz testing
2019-10-03 23:18:00 +02:00
Logan Allen
39a5017254
chat: added old @ messages, now called %me messages
2019-10-03 13:33:07 -07:00
Brendan Hay
1609be8fcd
Removing -f (fuzz testing) option
2019-10-03 22:07:47 +02:00
Elliot Glaysher
ea431e18ad
Merge remote-tracking branch 'origin/master' into king-haskell
...
This adds minor changes to king haskell to support the new boot
event structure.
2019-10-03 11:11:27 -07:00
Jared Tobin
8920bf0dc5
meta: update contributing section in arvo readme [ci skip]
...
The subtree in pkg/arvo apparently still has a README in it, which had
gotten only slightly out of sync with the overall project README. This
commit updates its 'contributing' section to point at the appropriate
contributing document.
2019-10-03 14:39:14 +04:00
Logan Allen
e3b39f735f
marks: moved hook action marks
2019-10-02 18:30:50 -07:00
Logan Allen
2625efd485
apps: updated style and added moon support
2019-10-02 18:30:50 -07:00
Logan Allen
8b74a674f3
chat-hook: updated to allow a simpler message send flow
2019-10-02 18:30:50 -07:00
Logan Allen
693b6f2b81
hood: added chat-store, hook, and view to startup
2019-10-02 18:30:50 -07:00
Logan Allen
0f5eea480d
chat: added new JS files, deleted old chat.hoon
2019-10-02 18:30:41 -07:00
Elliot Glaysher
4be3829b68
Make TLS work and get the comet sponsor list.
2019-10-02 13:55:30 -07:00
Elliot Glaysher
dd4551c996
Fix the format of the %barn event
2019-10-02 11:53:52 -07:00
Elliot Glaysher
1dd90f310b
Hook up the command line flags to the serf.
2019-10-02 11:50:03 -07:00
Ted Blackman
895927e583
print more
2019-10-02 03:46:34 -04:00
Ted Blackman
04bd180542
alef: cap cwnd
2019-10-02 03:37:56 -04:00
Ted Blackman
59ac079488
alef: tweak printing
2019-10-02 03:20:19 -04:00
Ted Blackman
f04e5b9f97
alef: print more
2019-10-02 03:13:11 -04:00
Ted Blackman
850f7b392b
tweak printing
2019-10-02 02:47:45 -04:00
Ted Blackman
c480d12995
adjust printing
2019-10-02 02:38:56 -04:00
Ted Blackman
ed0483bd63
alef: preparing for misordered ack handling
2019-10-02 02:21:05 -04:00
Philip Monk
8dca89f6f8
ph: reduce ph-io boilerplate
2019-10-01 20:39:49 -07:00
Philip Monk
aeba01b670
ph: remove old ph agent
2019-10-01 20:26:58 -07:00
Philip Monk
aaf21f1f99
ph: port all azimuth tests to imps
2019-10-01 20:25:19 -07:00
Philip Monk
01c120e8de
ph: port azimuth handlers to imp
2019-10-01 19:50:25 -07:00
Elliot Glaysher
ea2be11f7c
Fixes the crash on planet startup.
2019-10-01 16:22:27 -07:00
Elliot Glaysher
2dfa1606f4
Fix Dawn event to be the right shape.
2019-10-01 15:26:34 -07:00
Philip Monk
45b19807f5
spider, ph: convert all fake tests to imps
2019-10-01 15:06:12 -07:00
Joe Bryan
22ddd4aeb5
arvo: clear caches in response to (high) memory pressure
2019-10-01 15:04:13 -07:00
Joe Bryan
ef959e0c52
gall: clear caches in response to memory pressure
2019-10-01 15:04:07 -07:00
Joe Bryan
1e9cc07649
eyre: close channels in response to memory pressure
2019-10-01 15:04:03 -07:00
Elliot Glaysher
0de09bb97b
Reorganize the king new command line flags to boot from keyfiles.
...
(Ships booted from keyfiles are still in an invalid dill state.)
2019-10-01 14:44:14 -07:00
Elliot Glaysher
16440eaeb5
Fix TermEfInit so it takes a Ship instead of null
2019-10-01 11:36:46 -07:00
Joe Bryan
8ff445c68c
ford: clear caches in response to memory pressure
2019-10-01 11:35:08 -07:00
Elliot Glaysher
d96bf9bb52
Booting fake ships other than zod
2019-10-01 11:23:34 -07:00
Logan Allen
f9377536fb
app: Added chat store, hook, marks, and view.
2019-10-01 10:18:36 -07:00
Philip Monk
9fc28a9538
mall: populate wex.bowl with outgoing subscriptions
...
fixes #1466
2019-09-30 20:53:12 -07:00
Logan Allen
ee92862785
hood: start up groups and permissions
2019-09-30 16:43:09 -07:00
Logan Allen
4b01718d76
apps: added group/permission stores, hooks, marks
2019-09-30 14:46:07 -07:00
Jared Tobin
21c3119660
gall: remove %gall-booting printf
...
%gall currently prints
[%gall-booting <app> p=<ship> q=<desk>]
whenever it receives a %conf (i.e., when it boots an app). This turns
up in many of the places the old, less-informative '%mo-not-running'
printf did, but it's of similarly little use, and mainly serves to
create redundant line noise. This commit just removes it.
2019-09-30 01:58:28 +04:00
Logan Allen
166465af59
zuse: added path, tank, string utils to en/dejs
2019-09-30 01:31:46 +04:00
Jared Tobin
b330fb4a8d
Merge branch 'safe-memo' ( #1780 )
...
* safe-memo:
u3: refactors memoization patterns for safer rc
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 00:50:30 +04:00
Jared Tobin
2add146302
Merge branch 'reclamation' ( #1773 )
...
* reclamation:
solid pill
arvo: wires up %trim memory-pressure event stubs
u3: wires up the %trim event in the daemon
u3: adds %trim memory-pressure notification "effect"
u3: tweaks |mass output (and fixes inadvertent truncation)
u3: refactors periodic memory reclamation
u3: factors out u3a_idle() to measure free-lists in a road
u3: adds and uses u3a_full/heap/temp road macros
u3: cleans up whitespace, removes dead code in allocator
2019-09-29 21:30:56 +04:00
Jared Tobin
5c99f33271
Merge branch 'ted/verb' ( #1754 )
...
* ted/verb:
update pill
hood: |knob {tag} {level} to set dill verbosity
dill: set verbosity by error tag
2019-09-29 21:09:05 +04:00
Ted Blackman
0bf9e98d08
hood: |knob {tag} {level} to set dill verbosity
2019-09-29 20:45:10 +04:00
Philip Monk
9c9115a7e0
spider, ph: convert ph to imps
2019-09-28 21:44:31 -07:00
Joe Bryan
9896f3d16f
u3: refactors memoization patterns for safer rc
...
specifically, avoiding uncounted references when
memoizing in the compiler
2019-09-27 17:02:27 -07:00
Elliot Glaysher
51126ec1d4
Make the Behn tests less noisy.
2019-09-27 13:21:07 -07:00
Joe Bryan
3dd9bd7111
arvo: wires up %trim memory-pressure event stubs
2019-09-27 13:02:11 -07:00
Joe Bryan
7a62373308
u3: wires up the %trim event in the daemon
2019-09-27 13:02:11 -07:00
Joe Bryan
c5ab5c6c5b
u3: adds %trim memory-pressure notification "effect"
2019-09-27 13:02:11 -07:00
Joe Bryan
a0cab6c8ed
u3: tweaks |mass output (and fixes inadvertent truncation)
2019-09-27 13:02:11 -07:00
Joe Bryan
e51ba034d2
u3: refactors periodic memory reclamation
...
and adds clarifying comments to u3m_reclaim()
2019-09-27 13:02:11 -07:00
Joe Bryan
b75b418e25
u3: factors out u3a_idle() to measure free-lists in a road
2019-09-27 13:02:11 -07:00
Joe Bryan
ca2671947b
u3: adds and uses u3a_full/heap/temp road macros
2019-09-27 13:02:11 -07:00
Joe Bryan
a2732a35b6
u3: cleans up whitespace, removes dead code in allocator
2019-09-27 13:02:11 -07:00
Elliot Glaysher
a80b8fc8ee
Don't write files to disk during testing.
...
While doing our golden testing, we shouldn't write result files to
the filesystem. They are temporary and can fail. Use the in memory
comparisson function instead.
2019-09-27 11:09:10 -07:00
Ted Blackman
f2073dbc34
dill: set verbosity by error tag
2019-09-27 13:55:14 -04:00
Philip Monk
b79dead5f8
spider: convert example-fetch to imp
2019-09-27 10:40:22 -07:00
Elliot Glaysher
1c683b3d97
Merge remote-tracking branch 'origin/king-haskell' into king-dawn
...
Does a few small fixups for compilation and to make sure things
still work.
2019-09-27 10:30:26 -07:00
Jared Tobin
cd3d24117c
Merge branch 'weather-precip-percent' ( #1765 )
...
* weather-precip-percent:
weather: fix precipitation display
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 17:12:38 +04:00
Fang
7b21316694
weather: fix precipitation display
...
The `precipProbability` value ranges from 0 to 1, so to display
percentages we need to scale it up.
2019-09-27 17:08:50 +04:00
Logan Allen
9a62a04042
eyre: better error handling in channel js
2019-09-27 16:30:53 +04:00
Ted Blackman
087adacc15
alef: reno-style congestion control (todo: misordered acks)
2019-09-27 07:45:22 -04:00
Jared Tobin
ba6f60cc66
Merge branch 'la-remove-hall-hood' ( #1771 )
...
* la-remove-hall-hood:
hood: remove hall dependency.
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 15:41:23 +04:00
Jared Tobin
57d4ec897d
Merge branch 'la-remove-tiebout' ( #1762 )
...
* la-remove-tiebout:
tiebout: removed since it's unused
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 15:39:00 +04:00
Jared Tobin
b93dc72b3c
Merge branch 'la-remove-hall-publish' ( #1759 )
...
* la-remove-hall-publish:
publish: removed unused hall import statements
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 15:37:19 +04:00
Benjamin Summers
b8106bc427
Wrote a golden test for map/set conversions.
2019-09-26 16:03:25 -07:00
Logan Allen
707a667d47
hood: remove hall dependency.
2019-09-26 15:03:13 -07:00
Logan Allen
203be550fe
tiebout: removed since it's unused
2019-09-26 14:43:50 -07:00
Logan Allen
23e95e1839
publish: removed unused hall import statements
2019-09-26 14:38:20 -07:00
Benjamin Summers
bfc8d30c9d
Explicitly implement (map -> hoon map) and write simple qc tests.
2019-09-26 14:28:11 -07:00
Benjamin Summers
ee0def33f5
Haskell <-> Hoon conversions for map and set.
2019-09-26 13:29:19 -07:00
Philip Monk
7dcce421e7
spider: move imps to /imp
2019-09-26 12:13:01 -07:00
Philip Monk
957aa99d9f
spider: build imps in ford
2019-09-26 12:00:11 -07:00
Elliot Glaysher
7d78ed73f3
General cleanup
2019-09-26 11:37:19 -07:00
Elliot Glaysher
9765920763
Various cleanups to the validation code.
2019-09-26 11:14:24 -07:00
Philip Monk
814d97fafd
spider: add +main-loop
2019-09-25 22:43:14 -07:00
Philip Monk
45451aeafa
spider: initial commit
2019-09-25 21:12:58 -07:00
Elliot Glaysher
89245cae7e
Fixup return types and half-implement the moon case.
2019-09-25 15:52:19 -07:00
Elliot Glaysher
2eacf091e8
Remove commented out imports.
2019-09-25 15:19:24 -07:00
Elliot Glaysher
ec9466d22b
Now with a more filled in Dawn event.
2019-09-25 15:16:48 -07:00
Elliot Glaysher
8b46d2dfc8
Switched from cryptonite to ed25519; key derivation works now!
2019-09-25 14:26:51 -07:00
Philip Monk
e6f5b0d3fd
mall: fix %child-sync ph test
2019-09-25 13:19:09 -07:00
Philip Monk
303eb634b6
mall: convert ph to mall
2019-09-24 20:21:41 -07:00
Philip Monk
49ae542adf
mall: convert aqua to mall
2019-09-24 19:51:01 -07:00
Philip Monk
34ab4c4e77
mall: convert aqua vane handlers to mall
2019-09-24 19:04:27 -07:00
Elliot Glaysher
5a6c6ff7cc
End of day checkpoint.
2019-09-24 17:15:00 -07:00
Philip Monk
a4dcad7d46
gall: unsubscribe after breach
...
fixes #1431
2019-09-24 15:00:16 -07:00
benjamin-tlon
7db5ef2c6c
Merge pull request #1749 from urbit/kh-demux-state
...
Make multiplexed terminals store state instead of history.
2019-09-24 14:52:09 -07:00
Elliot Glaysher
676a8ee6a6
WIP: Use edwards curve point types from Crypto.ECC.Edwards25519
...
This changes Pass to decode the Ed.Point directly in the type,
instead of having the packed Atom representation or raw ByteStrings.
Added conversion quickchecks and also decoded data off the Ethereum
contracts.
2019-09-24 14:01:39 -07:00
Joe Bryan
89ab6969d4
u3: adds and refines unifying-equality comments
2019-09-24 09:32:41 -07:00
Philip Monk
30f74368fb
mall: convert hall to mall
2019-09-23 20:46:59 -07:00
Elliot Glaysher
c3b5dc9b24
Parse the Seed out of the keyfile.
2019-09-23 16:42:12 -07:00
Elliot Glaysher
599432456b
0w0 parsing and quickcheck tests on it and 0v0 parsing.
2019-09-23 15:45:33 -07:00
Philip Monk
fc9f17ae23
mall: convert talk to mall
...
also change !< to crash on failure
2019-09-23 15:44:48 -07:00
Elliot Glaysher
5fb7d44d68
Dump before going off to work on 0w0 what is this parsing code.
2019-09-23 14:42:19 -07:00
Joe Bryan
426378e838
u3: moves unification into u3a_wed()
2019-09-21 00:52:24 -07:00
Joe Bryan
e3f76a3bc3
u3: fixes road leap/fall debug printfs
2019-09-20 23:23:22 -07:00
Joe Bryan
a0a0c91ad3
u3: removes obsolete u3h_gut()
2019-09-20 23:22:52 -07:00
Joe Bryan
8b985fccfc
u3: unifies unifying equality (removes u3r_sang/u3r_sung)
2019-09-20 23:22:40 -07:00
Joe Bryan
aa25024e83
u3: refactors unifying equality unification
2019-09-20 23:21:07 -07:00
Joe Bryan
a5599eaab1
u3: minor refactoring of u3r_sing traversals
2019-09-20 23:21:07 -07:00
Joe Bryan
443f593d95
u3: removes u3rz_sing in favor of the pre-existing u3r_sing_c
2019-09-20 23:21:07 -07:00
Joe Bryan
442fdc3fe7
Merge pull request #1753 from urbit/hash-take
...
u3: hashtable improvements, road promotion refactor
2019-09-20 23:20:08 -07:00
Elliot Glaysher
dea512df09
Further filling out of Dawn.
2019-09-20 16:10:03 -07:00
Elliot Glaysher
e422a2ac7d
Ask ENS for azimuth.eth instead of hardcoding
2019-09-20 10:42:48 -07:00
Elliot Glaysher
dc189f3227
Galaxy table gets real pubkeys now.
2019-09-20 10:42:48 -07:00
Jared Tobin
3b01ddbbd2
Merge branch 'la-hall-perf' ( #1751 )
...
* la-hall-perf:
chat: message processing time down to 60ms
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-20 12:12:34 -02:30
Logan Allen
1b87eb2c3c
chat: message processing time down to 60ms
2019-09-20 11:43:30 -02:30
Joe Bryan
7e8186bce1
u3: further refactors u3m_love, removes obsolete ordering concerns
2019-09-19 16:56:08 -07:00
Joe Bryan
f8460c26f6
u3: refactors _cj_hank_find(), removes u3j_site_copy
2019-09-19 16:56:08 -07:00
Joe Bryan
859d0a6102
u3: separates "take" and "reap" in the jet dashboard
2019-09-19 16:56:34 -07:00
Joe Bryan
5baac037ab
u3: separates "take" and "reap" in the bytecode interpreter
2019-09-19 16:56:08 -07:00
Elliot Glaysher
87a9f4e667
Can retrieve the ames domains from Ethereum using web3.
...
Partial support for retrieving the galaxy table, but I'm having
problems converting the public key type.
2019-09-19 15:40:23 -07:00
Philip Monk
2e56034cfc
claz: convert to iris
2019-09-18 17:12:13 -07:00
Benjamin Summers
ff273f0b72
Demuxed terminals now track terminal state instead of terminal history.
...
Before, terminal demuxing used unbounded memory, but now it just tracks
the line state and 20 lines of history.
2019-09-18 16:11:06 -07:00
Benjamin Summers
dcb25bbbb8
Track terminal state in pure code.
2019-09-18 15:07:53 -07:00
Elliot Glaysher
31403543b8
Make it build
2019-09-18 11:05:36 -07:00
Elliot Glaysher
ba9bd01e35
Merge branch 'king-haskell' into king-exit-cleanly
2019-09-18 11:02:46 -07:00
Benjamin Summers
d3d42a7fdd
Re-enable local terminal (non-daemon mode) + cancelWait cleanup.
2019-09-18 10:55:21 -07:00
Elliot Glaysher
f417c084a4
Merge remote-tracking branch 'origin/king-haskell' into king-exit-cleanly
2019-09-18 10:38:20 -07:00
Jared Tobin
940ec12910
Merge branch 'liam-fitzgerald/xml-cdata-support' ( #1670 )
...
* liam-fitzgerald/xml-cdata-support:
pills: update solid
zuse: add en-xml:html and de-xml:html tests
zuse: fix comment parsing in de-xml:html
zuse: added CDATA support to de-xml:html
2019-09-18 13:31:39 -02:30
Benjamin Summers
b1a9dff197
Fixes live-lock by changing type of Vere.Term.API.Client.give to take [Term.Ev].
2019-09-18 02:11:18 -07:00
Benjamin Summers
6b8e88fdd8
Was replaying terminal events in the wrong order.
2019-09-18 01:08:13 -07:00
Benjamin Summers
24bc28e834
Hooked up a remote terminal, it runs but doesn't work yet.
2019-09-18 00:24:10 -07:00
Benjamin Summers
4c3342f9c6
External terminals get added to the demuxed terminal set.
2019-09-17 23:59:07 -07:00
Benjamin Summers
09b30bf169
Collect terminal size.
2019-09-17 23:58:42 -07:00
Joe Bryan
865e5b9592
u3: adds comments to inner hashtable struct definitions
2019-09-17 23:41:18 -07:00
Benjamin Summers
cd07b10946
Impement basic support for multiple terminals pretending to be one terminal.
2019-09-17 23:17:54 -07:00
Benjamin Summers
ebf3d3e5c6
Move terminal client API into it's own module.
2019-09-17 22:22:19 -07:00
Benjamin Summers
4fdfab66df
Minor
2019-09-17 22:06:40 -07:00
Benjamin Summers
99dd161b86
Simplify term interface.
2019-09-17 22:01:44 -07:00
Benjamin Summers
c4be3e4a19
Terminal loop cleanup.
2019-09-17 21:41:31 -07:00
Benjamin Summers
1523241b82
Got tests working again.
2019-09-17 20:33:38 -07:00
Benjamin Summers
da7190008c
Move top-level into it's own module.
2019-09-17 20:14:49 -07:00
Benjamin Summers
4214ee45ac
Merge branch 'king-haskell' of github.com:urbit/urbit into king-haskell
2019-09-17 20:01:34 -07:00
benjamin-tlon
5939737c43
Merge pull request #1744 from urbit/king-spinner
...
Terminal spinner implementation in King Haskell.
2019-09-17 19:56:43 -07:00
Benjamin Summers
0b667d8073
Merge branch 'king-haskell' of github.com:urbit/urbit into king-boot-pb
2019-09-17 19:54:08 -07:00
Benjamin Summers
2e5b1de297
Added dhall config sketch.
2019-09-17 19:50:11 -07:00
Benjamin Summers
26f5964ef7
Move lockfile logic into it's own file.
2019-09-17 19:45:51 -07:00
Joe Bryan
8059d10957
u3: adds u3h_take/with hashtable road promotion
2019-09-17 18:31:43 -07:00
Joe Bryan
1d955d67b4
u3: adds u3h_uni hashtable merge
2019-09-17 18:29:33 -07:00
Joe Bryan
b910d178a4
u3: moves u3_put immediately after internals
2019-09-17 18:28:06 -07:00
Joe Bryan
3680c5e7cb
u3: refactors hashtable allocations
2019-09-17 18:27:50 -07:00
Joe Bryan
8338345ac7
u3: adds macros for (most) hashtable shifts and bit-tests
2019-09-17 18:27:50 -07:00
Joe Bryan
a96928ad53
u3: refactors u3h_gut internals to more closely match u3h_git
2019-09-17 18:27:44 -07:00
Joe Bryan
225fba3d19
u3: fixes up whitespace in hashtable initializations
2019-09-17 14:28:57 -07:00
Joe Bryan
408eb0afcf
u3: consistently uses u3k/u3z in hashtable
2019-09-17 14:22:03 -07:00
Elliot Glaysher
7c6a3c2300
Make king shutdown cleanly on a new line.
...
This makes canceling the persistance thread not rethrow an exception
which kills the process, and makes the terminal driver write one
final newline before giving control back to the terminal so the
bash prompt writes to its own line.
2019-09-17 14:00:54 -07:00
Elliot Glaysher
efa396ed82
Makes a progress bar on booting a new ship.
...
Also prints the name of the ship you're trying to boot, along with
whether its a fake or not. Also fixes a regression where we were
trying to acquire a lockfile before the pier directory was created.
2019-09-17 11:56:54 -07:00
Jared Tobin
07fcbd6d29
Merge branch 'pp/rm-nest-find' ( #1643 )
...
* pp/rm-nest-find:
jets: rename ut_find.c -> ut_fond.c
jets: rm nest (keep dext); find was dead code
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-17 14:05:40 -02:30
pilfer-pandex
5c93964d88
jets: rename ut_find.c -> ut_fond.c
2019-09-17 14:02:16 -02:30
pilfer-pandex
42b3be3232
jets: rm nest (keep dext); find was dead code
2019-09-17 14:01:56 -02:30
Joe Bryan
1af7df7bb4
worker: also replaces fd 0/1 so we don't accidentally re-use them
2019-09-17 13:17:26 -02:30
Benjamin Summers
14a5507a93
worker: dup({0,1}) on serf start to prevent accidental use of stdin/stdout.
2019-09-17 13:17:23 -02:30
Ted Blackman
cfce0e1390
turn off some debug printfs for benchmarking
2019-09-16 22:04:56 -04:00
Elliot Glaysher
c7945689d2
Terminal spinner implementation in King Haskell.
...
This gets a terminal spinner to spin after a short delay like in
vere. This also fixes a bug in termRefreshLine which was screwing
up redisplay of the terminal spinner; it hadn't been translated
from C properly.
2019-09-16 16:51:17 -07:00
Elliot Glaysher
721945d1ba
Merge pull request #1740 from urbit/king-cleanup
...
Further terminal fixes and cleanups
2019-09-16 14:49:09 -07:00
Philip Monk
eeac28bdc6
mall, hood: deduplicate types in libs
2019-09-13 13:34:30 -07:00
Elliot Glaysher
350e9a8f5b
80 characters + golf
2019-09-13 13:06:13 -07:00
Philip Monk
d7671efec0
mall, hood: avoid referencing library internals
2019-09-13 11:54:07 -07:00
Elliot Glaysher
229870e0cc
Fix atom putfiles + do unicode accumulation correctly.
2019-09-13 11:46:03 -07:00
Elliot Glaysher
9fcbc864b2
WIP for term cleanup
2019-09-13 11:02:52 -07:00
Elliot Glaysher
189f03e285
Stylish + 80 col
2019-09-13 11:02:41 -07:00
Benjamin Summers
707c546cda
Implemented lockfile with correct handling of SIGINT (^C) and SIGTERM (send by kill
).
2019-09-12 23:55:10 -07:00
Elliot Glaysher
13f6d97545
Merge pull request #1725 from urbit/king-sync
...
Clay syncing.
2019-09-12 17:09:05 -07:00
Elliot Glaysher
af7605a7fc
Over the shoulder code review.
2019-09-12 17:08:04 -07:00
Elliot Glaysher
4aeb137ea5
Address comments.
2019-09-12 16:20:15 -07:00
Philip Monk
839a822f71
mall: convert hood/dojo to refactored form
2019-09-12 15:01:55 -07:00
Elliot Glaysher
860f59d46f
Display a progress bar on startup when we have to replay the log.
...
Use the terminal-progress-bar package to display a progress bar
during replay, when there are jobs that need to be replayed. Bumps
the lts resolver so we get access to this package.
2019-09-12 12:49:27 -07:00
Jared Tobin
1a6e5ce9fa
Merge branch 'treapfactor' ( #1724 )
...
* treapfactor:
u3: refactors disabled map treap jets (+int:by and +uni:by)
u3: refactors map treap jets (+by)
u3: refactors disabled set treap jet (+int:in)
u3: refactors set treap jets (+in)
u3: adds u3r_vmean (explicit varargs list), u3x_mean
u3: cleans up xtract.c (mostly style, minor refactoring)
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-12 06:49:54 -02:30
Jared Tobin
5cdbee9418
Merge branch 'muk-alloc-less' ( #1722 )
...
* muk-alloc-less:
u3: rewrites +muk jet to skip heap allocations where possible
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-12 06:48:46 -02:30
Philip Monk
fbf56e3033
mall: refactor and rename
...
remove bones, give agent arms long names, remove metavase use, general
cleanup
2019-09-11 21:02:49 -07:00
Elliot Glaysher
3927e4d50a
Clay syncing.
...
This performs all normal filesystem operations. We can take
filesystem hash snapshots on startup, write the contents of an
%ergo to disk, send changes to Urbit with an %into, and finally
delete mount points when they are %ogre.
This doesn't deal with updating an initial filesystem on first
run with -A, or with acquiring a lockfile, which should happen
elsewhere.
Can take filesystem hash snapshots on startup, and can write the
contents of an %ergo to disk.
2019-09-11 16:20:05 -07:00
Joe Bryan
076d3879cd
u3: refactors disabled map treap jets (+int:by and +uni:by)
...
blah by
2019-09-11 13:37:23 -07:00
Joe Bryan
145bf47c27
u3: refactors map treap jets (+by)
2019-09-11 13:32:24 -07:00
Joe Bryan
358088a826
u3: refactors disabled set treap jet (+int:in)
2019-09-11 13:32:25 -07:00
Joe Bryan
722b961d3a
u3: refactors set treap jets (+in)
2019-09-11 13:32:20 -07:00
Joe Bryan
22f10d755f
u3: adds u3r_vmean (explicit varargs list), u3x_mean
2019-09-11 11:15:40 -07:00
Joe Bryan
95fe078b9f
u3: cleans up xtract.c (mostly style, minor refactoring)
2019-09-11 11:15:36 -07:00
Joe Bryan
3612f508a5
u3: rewrites +muk jet to skip heap allocations where possible
2019-09-11 11:05:13 -07:00
Jared Tobin
472c27ef6c
Merge branch 'barbus' ( #1712 )
...
* barbus:
hoon: removed unused parser type
hoon: remove extraneous cast
hoon: removed barhax. No hax!
hoon: replace barhax with barbus
hoon: changed barbus to match barhax
hoon: replaced barbus usage with barhax
hoon: add parsing for barhax
hoon: added barhax to replace barbus
hoon: update tall parsing for |$
hoon: replace +* name usage with ++ name |$
hoon: add parsing rules for |$
hoon: add ast for |$
2019-09-11 15:27:04 -02:30
Jared Tobin
8e08b057bd
Merge branch 'philip/clay-next-fix' ( #1720 )
...
* philip/clay-next-fix:
clay: answer ~ to %next request if file is deleted
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:56:59 -02:30
Jared Tobin
9dc7f1d62b
Merge branch 'event-time' ( #1719 )
...
* event-time:
worker: fixes scope issue inside #ifdef U3_EVENT_TIME_DEBUG
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:54:50 -02:30
Joe Bryan
a2dcabd38e
worker: fixes scope issue inside #ifdef U3_EVENT_TIME_DEBUG
2019-09-11 10:53:56 -02:30
Jared Tobin
8a4fdc5843
Merge branch 'noun-tests' ( #1718 )
...
* noun-tests:
cleans up tests from previous commit, backporting to 32-bit
64-bit noun tests
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:52:35 -02:30
Jared Tobin
be6d93d09b
Merge branch 'gmp-copy-less' ( #1717 )
...
* gmp-copy-less:
noun: remove extra allocations from u3a_atom->gmp and reverse conversions
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:47:51 -02:30
Joe Bryan
d0c26edd24
noun: remove extra allocations from u3a_atom->gmp and reverse conversions
...
Our conversions to and from GMP structs and our indirect atoms (a
heap-allocated array of uint_32_t) used alloca() and copied twice out of
an apparent abundance of caution. This PR removes the unnecessary
intermediate copy from both conversions.
2019-09-11 10:41:29 -02:30
Joe Bryan
a124dfe61f
noun, worker: write -P profile into pier
...
The -P argument makes urbit send itself SIGPROF every 10ms. Sample
profile data is interpolated into a structure on the home road, which is
summarized and printed when urbit exits gracefully. (Note that this
profile will be useless without the CPU_DEBUG build option).
As of v0.8.0, the profiling became much more awkward. The multi-process
shutdown doesn't include affordances for sending the profiling data over
IPC, so it just prints to the terminal after urbit appears to have
shutdown. This PR changes the profiling printout, unconditionally
writing it to a file in the pier (at .urb/put/profile/~DATE.txt).
2019-09-11 10:33:16 -02:30
David Kerschner
46b681e96a
hoon: removed unused parser type
2019-09-11 01:20:38 -07:00
David Kerschner
b32fb23166
hoon: remove extraneous cast
2019-09-11 01:20:33 -07:00
David Kerschner
09575c4915
hoon: removed barhax. No hax!
2019-09-11 01:20:28 -07:00
David Kerschner
60c6d4fed1
hoon: replace barhax with barbus
2019-09-11 01:20:21 -07:00
David Kerschner
5762140ebb
hoon: changed barbus to match barhax
2019-09-11 01:20:15 -07:00
David Kerschner
504e4fcac1
hoon: replaced barbus usage with barhax
2019-09-11 01:20:10 -07:00
David Kerschner
b752cf660e
hoon: add parsing for barhax
2019-09-11 01:20:01 -07:00
David Kerschner
0935b87dc6
hoon: added barhax to replace barbus
...
barhax will implement changes request in pr and is used to stage changes to barbus
2019-09-11 01:19:45 -07:00
Philip Monk
263b151dcb
clay: answer ~ to %next request if file is deleted
2019-09-10 13:49:12 -07:00
Elliot Glaysher
3ed4683f4b
80 cols + order of operations
2019-09-10 13:34:11 -07:00
Elliot Glaysher
6d2b94ac7b
Per review, use separate TMVars to control saving and shutdown.
2019-09-10 13:31:18 -07:00
Joe Bryan
6cb7a1a97a
cleans up tests from previous commit, backporting to 32-bit
2019-09-10 13:14:39 -07:00
BernardoDeLaPlaz
b9d893fc80
64-bit noun tests
...
cherry-picked from 9702a313157cd2bde703fc2082ebb295027fd481
2019-09-10 13:14:34 -07:00
Philip Monk
abf4bc39cd
wip
2019-09-10 13:12:38 -07:00
David Kerschner
936c79d616
hoon: update tall parsing for |$
2019-09-10 11:59:32 -07:00
David Kerschner
b226d24a50
hoon: replace +* name usage with ++ name |$
2019-09-10 11:59:22 -07:00
David Kerschner
755515463c
hoon: add parsing rules for |$
2019-09-10 11:59:14 -07:00
David Kerschner
043dec26cf
hoon: add ast for |$
...
|$ is being added as a mold builder rune. This change is ultimately part of
reclaiming +* for use as aliases on cores.
2019-09-10 11:58:10 -07:00
Philip Monk
1ca4c72aa5
mall: make boot
2019-09-09 20:04:38 -07:00
Jared Tobin
d7f9d9aefc
Merge pull request #1708 from urbit/mp-publish-info
...
Publish: Add a check for publish-info when importing a notebook
2019-09-09 08:38:42 -02:30
Joe Bryan
f5263e0395
talk, chat: disables scry in hoon eval
...
We don't care about the static types in the use-cases where we need to
prevent scry (to prevent accidental data disclosure). We can evaluate
the expression, virtualized and untyped, and then just clam.
2019-09-08 19:45:20 -02:30
Joe Bryan
d461ec40b0
hoon: enable scry in +mule
...
Enables .^ in +mule (statically-typed virtualization), by specifying a
scry-handler function that punts the namespace read to a higher
virtualization layer via virtual-nock (mock) 12.
2019-09-08 19:45:00 -02:30
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
Philip Monk
fc682fc585
Merge remote-tracking branch 'origin/scry-safe-mule' into philip/mall-real
2019-09-06 13:18:42 -07: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
Philip Monk
ca8c3e0910
mall: convert dojo to mall
2019-09-06 12:34:04 -07:00
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
718d1daa31
zuse: add en-xml:html and de-xml:html tests
2019-09-06 15:22:32 +10:00
Philip Monk
7f5ac366c9
mall: convert write to mall
2019-09-05 21:36:57 -07:00
Philip Monk
0f6bd70aa3
mall: convert kiln to mall
2019-09-05 21:24:20 -07:00
Liam Fitzgerald
0fbedebfd0
zuse: fix comment parsing in de-xml:html
2019-09-06 13:04:11 +10:00
Philip Monk
2c5a478a84
mall: convert drum to mall
2019-09-05 20:01:31 -07:00
Philip Monk
84c7b442e9
mall: convert helm to mall
2019-09-05 18:46:55 -07: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
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
Philip Monk
274e8aad90
mall: hood framework
2019-09-04 15:46:47 -07:00
Philip Monk
f52e60bb09
mall: use +stay instead of explicit state
2019-09-04 14:20:47 -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
Philip Monk
bc1ba10a11
mall: compiles and runs app, but type hole
2019-09-04 12:49:16 -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
Philip Monk
c5cec4036b
add !< rune
2019-09-03 11:05:41 -07:00
Philip Monk
f8171138c3
mall: add lame handling
2019-09-03 11:04:58 -07:00
Philip Monk
449935739d
mall: rewrite gall with static +agent
2019-09-03 11:03:48 -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
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
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
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
Elliot Glaysher
70ef39210f
Get basic text working.
2019-08-29 11:12:50 -07:00
Elliot Glaysher
cdcdc6a59e
Merge remote-tracking branch 'origin/bs/king-logging' into eg/uterm
2019-08-29 10:30:53 -07:00
Jared Tobin
f39952d75f
Merge pull request #1671 from urbit/term-spin-on-loop
...
rewrites the terminal spinner on the main loop
2019-08-29 04:14:40 -02:30
Ted Blackman
72b2dbe19e
don't back off on skipped packet
2019-08-28 18:30:31 -07:00
Ted Blackman
99b98ca744
ames: print duplicate acks
2019-08-28 18:09:05 -07:00
Ted Blackman
4334b25ac6
hopefully fix packet sending
2019-08-28 17:58:44 -07:00
Ted Blackman
0fe443fc7c
print to figure out why this is broken
2019-08-28 17:44:36 -07:00
Ted Blackman
e6e919b9bf
moar gauge changes
2019-08-28 17:28:31 -07:00
Benjamin Summers
de7a087ef5
Logging everywhere + log to file
2019-08-28 17:26:59 -07:00
Elliot Glaysher
d1a9eaeaa0
A closer copy of the term.c output.
...
After looking at vty for a bit, I decided to just do a straight port
of term.c's raw output code. This gets the "~zod:dojo" in the right
position, though the other logging output screws things up a bit.
2019-08-28 17:08:47 -07:00
Joe Bryan
97d67e81fb
enables scry in +mule (by way of explicit nock 12 in +mute)
2019-08-28 15:55:13 -07:00
Joe Bryan
ee84936add
adds type-safety to scry via +nets:wa in the scry-wrappers
2019-08-28 15:39:04 -07:00
Jared Tobin
9f371aff66
Merge branch 'pkova/cookie-change' ( #1667 )
...
* pkova/cookie-change:
eyre: make auth cookie live for one week
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-28 19:20:08 -02:30
Jared Tobin
123a523eeb
Merge branch 'mp-gulp-rename' ( #1675 )
...
* mp-gulp-rename:
Interface: Add "clean 'renamed' files" gulp task
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-28 18:52:33 -02:30
Jared Tobin
d5799e20fd
Merge pull request #1660 from pkova/master
...
Update sidebar most recent message timestamp every minute
2019-08-28 18:23:31 -02:30
Logan Allen
dafec48b36
Added another round of changes
2019-08-28 13:35:36 -07:00
Elliot Glaysher
555b9e7dcf
Moved terminal initialization up to Pier.
...
Joe told me to look at the Jaque terminal and I just did. That uses
the Lanterna Java library to handle terminal output. Joe then suggested
that I move the entire system here to curses or another similar library.
2019-08-28 13:17:01 -07:00
pkova
1a64774011
chat: update sidebar timestamp every minute
2019-08-28 22:47:29 +03:00
Logan Allen
3ae8e55e48
Broke out functions, inlined more of the app, fewer declarations, more subject modifications rather than subject additions
2019-08-28 12:41:25 -07:00
Logan Allen
5052227ee7
Added more changes.
2019-08-28 12:41:25 -07:00
Logan Allen
7dfd796e95
Updated to remove some of the =/ with the old style, and a few other small changes
2019-08-28 12:41:25 -07:00
Logan Allen
19b71d02b4
Added fixes to chat style as per Mark's comments
2019-08-28 12:41:25 -07:00
pkova
814ac7a4f9
eyre: make auth cookie live for one week
2019-08-28 22:40:20 +03:00
Matilde Park
0643d600b6
contributing / interface: 'confirm' -> 'apply'
2019-08-28 14:05:07 -04:00
Matilde Park
52cccd4851
Interface: Add "clean 'renamed' files" gulp task
...
gulp.rename just copies files, leaving the original.
For minified files, this was navigated by not
tracking the -min.js files in git. However, when
deploying OTA, the -min.js files are still deployed
to all ships. This commit adds 'del' package,
and a task to clean up the -min files when done
for all current Landscape applications.
2019-08-28 13:39:42 -04:00
Jared Tobin
dd4dcb5f95
contributing: s/urbit/Urbit
...
'Urbit' refers to the project/product/platform, whereas 'urbit' refers
to an individual ship or instance. This corrects some old, incorrect
lower-case usage.
2019-08-28 13:40:50 -02:30
Matilde Park
d557c13dcd
contributing: adds userspace information, links
...
We had no information on contributing to Landscape.
Now we do. Tried to ensure it follows voice and
line break standards.
2019-08-28 12:00:04 -04:00
Benjamin Summers
062c71b57d
Logging in Vere.Serf
2019-08-28 05:22:56 -07:00
Benjamin Summers
c1bb26e628
Logging in Vere.Pier
2019-08-28 04:45:49 -07:00
Benjamin Summers
524671d310
Minor cleanup.
2019-08-28 04:06:48 -07:00
Benjamin Summers
360d166344
Started RIO's logging system instead of printfs.
2019-08-28 04:00:26 -07:00
Joe Bryan
b2a7e8c30d
term: rewrites spinner, renders on main loop
2019-08-27 23:14:40 -07:00
Joe Bryan
15c7c6c11c
term: minor refactoring of write patterns
2019-08-27 23:12:04 -07:00
Ted Blackman
461495658f
don't resend as much; print differently
2019-08-27 22:35:01 -07:00
Ted Blackman
84742025e7
ames: slow multiplicatively on skipped packet
2019-08-27 21:41:32 -07:00
Ted Blackman
88cfba3bf1
ames: print and smoother RTT
2019-08-27 21:25:35 -07:00
Ted Blackman
46f0e6c1ae
ames: congestion control backoff
2019-08-27 21:12:12 -07:00
Ted Blackman
ffdaa1694a
ames: first attempt at congestion control
2019-08-27 20:53:19 -07:00