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
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
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
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
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
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
Joe Bryan
e6e402023c
removes obsolete cli args for eth snapshots (-C and -E)
2019-10-04 13:32:56 -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
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
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
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
Joe Bryan
8ff445c68c
ford: clear caches in response to memory pressure
2019-10-01 11:35:08 -07:00
Logan Allen
f9377536fb
app: Added chat store, hook, marks, and view.
2019-10-01 10:18:36 -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
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
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
Ted Blackman
f2073dbc34
dill: set verbosity by error tag
2019-09-27 13:55:14 -04: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
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
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