Commit Graph

1259 Commits

Author SHA1 Message Date
Joe Bryan
ec05958e4d 4. single-home %jael tasks 2018-12-13 14:06:24 -05:00
Joe Bryan
e17699d8f5 3. single-home %jael 2018-12-13 14:06:21 -05:00
Joe Bryan
5ed0183f41 2. single-home %eyre 2018-12-13 14:06:19 -05:00
Joe Bryan
72e3c85998 1. single-home %dill 2018-12-13 14:06:16 -05:00
Ted Blackman
1adc48a6ec fix two more silly bugs 2018-12-12 23:17:13 -08:00
Ted Blackman
d6b39a6d6a behn: lifo to fifo to fix clay bug 2018-12-12 23:16:53 -08:00
Elliot Glaysher
00c79de3df
Merge pull request #936 from urbit/dont-sell-out
Don't call +sell in normal cases in Ford.
2018-12-12 15:46:55 -08:00
Elliot Glaysher
63504552c1 Condensced into two lines on average 2018-12-12 15:29:59 -08:00
Elliot Glaysher
08263ea7e6 Don't call +sell in normal cases in Ford.
+sell invokes the type checker and thus adds 10ms to each event
where it is used. +sell is invoked in "tapes like {<this>}". Ford
error messages use that format on errors. Many common Ford builds
are expected to fail, but swallow the error messages. This modifies
them so that they generate their error messages in a cheaper way.
2018-12-12 14:40:31 -08:00
Ted Blackman
f897921d9c
Behn dumb (#935)
* changing behn

* A dumber behn, which seems to work

* don't sort the whole timers list

* comments and cleanup
2018-12-12 14:09:47 -08:00
Elliot Glaysher
20ea6e622c Speed up +put:by-schematic
This speeds up the +gather step in Ford. By not doing a full sort every
time we add a build, we remove ~30ms of latency from each chat message
sent my landscape.
2018-12-11 15:52:35 -08:00
Joe Bryan
4b7b7e6bdc removes strange %ames self-gift when forwarding to self 2018-12-11 14:38:19 -05:00
Elliot Glaysher
68f7751ea2 No need to flop 2018-12-10 15:40:47 -08:00
Elliot Glaysher
484dba95ca Light version of +sloy 2018-12-10 13:22:56 -08:00
Ted Blackman
7ed3a02a92
+slum to call raw nock gate; some associated cleanup (#923) 2018-12-08 18:42:36 -08:00
Elliot Glaysher
946204edd9
Merge pull request #924 from urbit/dont-nuck-in-sloy
Dont nuck in sloy
2018-12-07 15:06:51 -08:00
Elliot Glaysher
e65f374cc1 Also have some more hints. 2018-12-07 14:45:55 -08:00
Elliot Glaysher
07d55d6277 Minimize +slay usage in +sloy
+sloy is practically how we perform most scrying. It parses wires
using the full +slay when several of the elements. Replaces all
usages we can with +slaw.

The long term fix is to move to not parsing wires, but that won't
happen before current release-candidate is released.
2018-12-07 14:43:07 -08:00
Ted Blackman
51c7147a3d
Fix turn types (#919)
fix +turn types
2018-12-07 11:40:21 -08:00
Joe Bryan
b4af89398c
Merge pull request #920 from urbit/dawn-take-error
adds more rudimentary error handle to pre-boot validation
2018-12-07 14:28:13 -05:00
Joe Bryan
5bedf98b77 updates the |snap:dawn gates to produce units 2018-12-07 02:33:46 -05:00
Joe Bryan
4508aa9c95 updates the |take:dawn gates to produce units and print errors 2018-12-07 02:09:28 -05:00
Elliot Glaysher
9131e022af Move from just hashing time to using actual entropy. 2018-12-06 16:51:52 -08:00
Joe Bryan
6a1f32bb19 Merge branch 'release-candidate' into single-home
* release-candidate:
  [CI] updates pinned vere commit
  Use a trap to lazily evaluate the arguments to %dude in Eyre.
  Don't do two passes in the unjetted +sort
  %hold removed
  losing the `b` reference
  remove !:
  use assertion
  Update pin-vere-commit.txt
  type variance bug fix
  Trim ethereum snapshot in Jael (#911)
  Moved to +jack
  Add ~| to arvo to try to debug intermittent crash.
  Add special cases for %da and %ta to +slaw
2018-12-06 19:07:38 -05:00
Elliot Glaysher
98e62e353b
Merge pull request #917 from urbit/no-dude
Use a trap to lazily evaluate the arguments to %dude in Eyre.
2018-12-06 15:58:12 -08:00
Elliot Glaysher
f659f91107 Use a trap to lazily evaluate the arguments to %dude in Eyre.
Also adds a bunch of hints to make runtime more legible.
2018-12-06 15:10:34 -08:00
Joe Bryan
234d9e7c45 12. removes %vega (old), renames %velo to %vega
and incorporates review feedback
2018-12-06 17:43:47 -05:00
Elliot Glaysher
2d7c281515 Don't do two passes in the unjetted +sort
While jetting +sort (urbit/urbit#1088), I made it do only a single
pass to separate the list around a pivot instead of using two. Do
this in the hoon code, too.
2018-12-06 13:54:43 -08:00
Joe Bryan
b1d8207863 11. restores a single, top-level Arvo formal interface gate 2018-12-06 15:33:05 -05:00
Joshua Reagan
39dd1c56b0
%hold removed 2018-12-06 12:31:39 -06:00
Joshua Reagan
be45aaeefe
losing the b reference 2018-12-06 11:47:55 -06:00
Joshua Reagan
4f0a4e795b
remove !: 2018-12-06 01:15:09 -06:00
joshuareagan
95f0a5c797 use assertion 2018-12-06 01:01:54 -06:00
Joe Bryan
f51b51862b 10. moves %zuse flexibility to Arvo larval stage 2018-12-06 01:34:49 -05:00
Joe Bryan
82f4e20e8c 9. adds a larval Arvo outer stage, proper single-homing
including on upgrade
2018-12-06 01:34:44 -05:00
Joe Bryan
a51dd2b7de 8. adds arvo core headers and @cgyarvin's arvo comment 2018-12-06 00:36:17 -05:00
Joe Bryan
e0bce20c26 7. trivially single-home the vanes 2018-12-06 00:36:17 -05:00
joshuareagan
b8a4ab3f10 type variance bug fix 2018-12-05 22:23:36 -06:00
Joe Bryan
1a44621238 6. trivially single-home arvo with %whom 2018-12-05 23:13:45 -05:00
Joe Bryan
1c2f841f86 5. add entropy to arvo with %wack 2018-12-05 23:13:38 -05:00
Joe Bryan
22f174fa10 4. use explicit nock %9 formulas for gate calls in %velo 2018-12-05 23:13:35 -05:00
Joe Bryan
80986553a7 3. restores the new %velo arvo upgrade system 2018-12-05 23:13:32 -05:00
Joe Bryan
b19109c288 2. refactors %zuse handling in arvo 2018-12-05 23:13:29 -05:00
Joe Bryan
563b174de4 1. refactors and deduplicates arvo effect handling 2018-12-05 23:13:25 -05:00
Ted Blackman
2001d39360
Trim ethereum snapshot in Jael (#911)
trim snapshot format
2018-12-05 16:26:32 -08:00
Elliot Glaysher
1d6e130ef9
Merge pull request #913 from urbit/arvo-debugging-statements
Add ~| to arvo to try to debug intermittent crash.
2018-12-05 14:01:37 -08:00
Elliot Glaysher
f14837755d Moved to +jack 2018-12-05 13:36:29 -08:00
Elliot Glaysher
b75e22e1ea Add ~| to arvo to try to debug intermittent crash. 2018-12-05 13:26:20 -08:00
Elliot Glaysher
57c5ccc8f8
Merge pull request #912 from urbit/common-slav-types
Add special cases for %da and %ta to +slaw
2018-12-05 11:50:34 -08:00
Elliot Glaysher
af3e4c641e Add special cases for %da and %ta to +slaw
+slav calls +slaw with %da and %ta in several places across multiple
vanes. This refactors the date parsing code into its own arm so it
can be called from +slaw.
2018-12-05 11:08:11 -08:00
Joe Bryan
b38bfef138
Merge pull request #909 from urbit/pill-convergence
implements common pill interface, adds userspace to +solid
2018-12-05 13:50:22 -05:00
Elliot Glaysher
86ec9b060a Also add %uv handling to +slaw 2018-12-04 14:07:01 -08:00
Joe Bryan
51ca94d192 corrects "awaiting hood" prompt 2018-12-04 15:28:50 -05:00
Elliot Glaysher
6ebb061134
Merge pull request #908 from urbit/hack-slaw
Do fast special cases for +slaw instead of always calling +slay.
2018-12-04 11:05:25 -08:00
Elliot Glaysher
552401abf4 Rush parshing 2018-12-04 10:19:50 -08:00
Joe Bryan
cae4b03c5c removes initial %clay merge 2018-12-04 03:09:51 -05:00
Joe Bryan
99a3fc6a05 removes auto-resetting "init" sync 2018-12-04 03:09:51 -05:00
Elliot Glaysher
770025c155 Do fast special cases for +slaw instead of always calling +slay.
+slay is a giant, recursive, slow parser combinator. +slaw is called
on every beam handling. In actual usage, we can special case based
on the passed in type and use a much smaller parser.
2018-12-03 16:41:30 -08:00
Joe Bryan
faaa9cecee handles %crud in %behn 2018-12-03 17:11:28 -05:00
Elliot Glaysher
7185d02929 Don't run nest checks in clay, either. 2018-12-03 13:22:39 -08:00
Elliot Glaysher
841b023671 Don't run nest checks on every +call. 2018-12-03 11:45:50 -08:00
Elliot Glaysher
75341be2d8 Don't use slot in +scry since the type is never used. 2018-12-03 10:45:54 -08:00
Elliot Glaysher
0b0d2ca2a8 Prime the worm cache in arvo with scry types
The majority of time in handling a scry is spent in the compiler since it
doesn't use the compiler cache since scrying can't have side-effects and modify
the cache. So prime the worm cache at vane install time so the cache is
prepopulated before we call a scry.

This shaves off >10ms per scry.
2018-12-02 19:46:21 -08:00
Elliot Glaysher
e94a1012f5 3: Use +slot 2/3 instead of +slap %p/%q 2018-12-01 14:27:32 -08:00
Elliot Glaysher
1488bf0284 2: Thread through the toplevel changes. 2018-12-01 14:27:32 -08:00
Elliot Glaysher
6621d5ebca 1: Change the type of +vent so it standardizes cache location. 2018-12-01 14:27:32 -08:00
Joshua Reagan
744a064b98
Merge pull request #902 from urbit/release-candidate-variance
variance fix: calling lead, zinc gates
2018-11-29 19:04:34 -06:00
Elliot Glaysher
708396cfbf
Merge pull request #896 from urbit/more-arvo-cache
Additional caching in the arvo kernel
2018-11-29 11:28:16 -08:00
joshuareagan
0eaca3970f variance fix: calling lead, zinc gates 2018-11-29 12:49:08 -06:00
Joe Bryan
6022da6d06 fixes %ford %reef build, enables and fixes test 2018-11-27 23:46:34 -05:00
Joe Bryan
b3fb94ae01 updates arvo to safely coerce to @tas in debug/error printfs 2018-11-27 23:07:54 -05:00
Joe Bryan
144c844a78 crash in %behn if the output duct is unset 2018-11-27 13:03:44 -05:00
Joe Bryan
353916ced0 crash in %ames if the output duct is unset 2018-11-27 12:58:55 -05:00
Joe Bryan
c1e0b14a8d fixes Arvo error handling of a %give on the empty duct 2018-11-27 12:58:48 -05:00
Joe Bryan
213903c343 restores %dirk to %gall whitelist for |commit 2018-11-27 12:58:40 -05:00
Joe Bryan
d5296de4a0 handles %crud task in %clay 2018-11-27 12:58:32 -05:00
Joe Bryan
e0093f64f6 cleans up and comments %vega reset in arvo 2018-11-27 12:41:47 -05:00
Joe Bryan
0645bd1790 restores arvo postface, rewrites +solid and %vega compilation 2018-11-27 12:26:10 -05:00
Joe Bryan
806c604c2f removes +keep, updates axes in arvo and +solid 2018-11-26 17:57:41 -05:00
Joe Bryan
a3710f760a
Merge pull request #895 from urbit/keep-no-more
updates %ames to use %behn, %behn to use effects
2018-11-26 17:27:53 -05:00
Isaac Visintainer
b036a2bbe7 stopped cross-ship building with ourselves 2018-11-26 14:18:59 -08:00
Joe Bryan
3418ea13bf stubs out +keep in arvo interface 2018-11-26 16:38:37 -05:00
Joe Bryan
2d47b6a6e2 removes +doze from all vanes 2018-11-26 16:17:34 -05:00
Joe Bryan
e98ddea39b cleans up %behn state management, fixes reloading 2018-11-26 16:17:30 -05:00
Elliot Glaysher
fc37eedfd3 Additional caching in the arvo kernel 2018-11-26 11:31:34 -08:00
Joe Bryan
e661d55e49 updates %behn to use effects instead of +doze polling 2018-11-26 03:28:58 -05:00
Joe Bryan
19f3ae3b5a updates %ames to use %behn timers instead of +doze polling 2018-11-26 01:33:41 -05:00
Joe Bryan
8561d0399e removes unused %ames note-to-self 2018-11-26 00:20:29 -05:00
Joe Bryan
265fe6bc8a fixes +hunt to support null units 2018-11-26 00:19:40 -05:00
Elliot Glaysher
c7f79953dc Remove !: from vanes. 2018-11-24 14:47:32 -08:00
Elliot Glaysher
2871f5827d Cache the results of +ap-find, which was taking 10% of runtime. 2018-11-24 14:47:32 -08:00
Elliot Glaysher
7f01ce0762 Cache the slot in +slur, which makes the type passed to ~nest the same noun each time. 2018-11-24 14:47:32 -08:00
David Kerschner
717073b22d Added support for uppercase letters in sail attributes (#890) 2018-11-19 09:57:32 -08:00
Fang
35fe55c701
Merge branch 'release-candidate' into keygen-changes 2018-11-14 16:20:04 -08:00
Elliot Glaysher
884ed27c07 Remove 200ms delay in +run-builds in ford. 2018-11-13 11:32:02 -08:00
Fang
113f82b6f0
Merge pull request #824 from urbit/vat-q
Add @q, phonetic data representation
2018-11-13 11:07:25 -08:00
Isaac Visintainer
0df228f165 added jet hints to hall, collections, gall 2018-11-07 14:31:31 -08:00
Isaac Visintainer
71c1161599 eyre: reduce view timeout, stop redirecting on cookies, delete subs
after getting a quit
2018-11-07 14:31:31 -08:00
Joe Bryan
e094ce8984
Merge pull request #882 from urbit/quiet-ames-jael
suppress %ames/%jael printfs
2018-11-07 14:40:07 -05:00
Joe Bryan
24b3d0da08
Merge pull request #873 from urbit/lofi-dns
simplify :dns app
2018-11-07 12:30:20 -05:00
rmariani
7a5f5d0df0 Fixes ``` UMD bug
In Udon, you can now display a literal ``` in code-quotes using this syntax:

```
`\``
```

big thanks to Ted for helping me with this.
2018-11-06 23:30:09 -08:00
Joe Bryan
5456ed860a removes %jael west/coop printfs 2018-11-07 01:40:07 -05:00
Joe Bryan
d549a6015b removes %ames vein/pubs/packet-drop printfs 2018-11-06 22:37:12 -05:00
Joe Bryan
9892809fce comments out %jael %pubs printf 2018-11-06 19:23:25 -05:00
Joe Bryan
ecf24a1345 moves +reserved ipv4 address check to zuse, uses in :dns|ip 2018-11-06 19:13:11 -05:00
Joe Bryan
41833dcdc8 Revert "adds lane-change subscriptions (%tend/%rove) to ames"
This reverts commit adc9da0b0c.
2018-11-06 19:09:24 -05:00
Joe Bryan
42a285efef simplifies :dns, removing dependence on %ames routing 2018-11-06 19:09:24 -05:00
Joe Bryan
b37c6b45c8 refactors %eyre %born task, prunes pending requests 2018-11-06 15:38:58 -05:00
Fang
37e2a186da Merge branch 'release-candidate' into keygen-changes 2018-11-06 10:37:37 -08:00
Joe Bryan
6deeb7dee9
Merge pull request #876 from urbit/eyre-path-parsing
fix eyre path parsing for security drivers
2018-11-05 17:01:28 -05:00
Philip Monk
050cea46da
cosmetology 2018-11-02 17:32:28 -07:00
Philip Monk
a467f87e2a
give children the whole story 2018-11-02 17:05:41 -07:00
Philip Monk
8deed09311
argue about rewinding 40 blocks whenever we lose the filter
in case someone's debugging this and wants to understand the decisions
made.
2018-11-02 16:02:11 -07:00
Philip Monk
7faad4de1a
rewind when we detect a chain reorganization 2018-11-02 15:32:02 -07:00
Philip Monk
726808779d
prepare for rewinding on reorg detection 2018-11-02 15:31:31 -07:00
Philip Monk
06317772d4
cosmetology 2018-11-02 10:22:30 -07:00
Isaac Visintainer
d151a36e94 added col to +pquo (url param parsing) 2018-11-02 13:22:27 -04:00
Joe Bryan
2be23e20db prints request path if %eyre fails to parse it 2018-11-02 13:22:25 -04:00
Philip Monk
313cbcdf3b
publish updates about after snapshot 2018-11-01 18:11:29 -07:00
Philip Monk
3a507c364e
send snapshot to initialize kids 2018-11-01 18:11:29 -07:00
Philip Monk
6c4760f243
bug fixes and cleaning to prepare for snap vents 2018-11-01 18:11:29 -07:00
Philip Monk
85127511f3
cosmetic cleaning 2018-11-01 18:11:29 -07:00
Joe Bryan
c8f1b4d5a1 Merge branch 'release-candidate' into ames-eth-keys
* release-candidate: (33 commits)
  update pin-vere-commit.txt
  Bug fix for metal-wrapping runes
  Remove old-zuse (#867)
  Type Analysis (#865)
  remove clam from error sigpam
  Fix compiler error.
  Remove temporary type analysis work.
  Remove ++cook from ++auri parsing
  Remove forced ssl upgrade for localhost http reqs
  moved to new branch with updated arvo
  11. demacrotizes %6, %7, %8, and %9
  10. updates %5 to require two subformulas (4K)
  9. emits %10 (4K)
  8. adds and implements edit (%10) (4K)
  7. removes %13 and %14 (4K)
  6. emits %11 and %12 (4K)
  5. implements hint at %11 and wish at %12 (4K)
  4. removes %10 and %11 (4K)
  3. emits %13 and %14 (4K)
  2. implements %13 and %14 (4K)
  ...
2018-11-01 00:18:54 -04:00
Joe Bryan
a5b5ce5d04 refactors +hull updates in %jael, adds comments 2018-11-01 00:03:30 -04:00
Joe Bryan
c014303233 moves +code scry to %jael, removes obsolete %ames scrys 2018-11-01 00:03:26 -04:00
Joe Bryan
0d12bc8f6e removes or clarifies %ames todo comments 2018-10-31 23:30:19 -04:00
Joe Bryan
1c8573789e removes unused structures from %ames state 2018-10-31 23:21:29 -04:00
Philip Monk
0db24cf208
clean and add tests 2018-10-31 15:18:40 -07:00
Philip Monk
6660d697ec
allow booting from ethereum snapshot 2018-10-31 14:34:21 -07:00
Joshua Reagan
58cf323aa7
Bug fix for metal-wrapping runes
A bug causes this cast to go through:

```
^+(|=(@ 15) ^&(|=(@ 15)))
```

It should nest-fail.  This change makes the cast work correctly with the metal wrapping runes `^&`, `^|`, and `^?`.
2018-10-31 13:56:56 -05:00
Philip Monk
871857f4c6
only snapshot eth-derived state 2018-10-30 17:05:05 -07:00
Philip Monk
c82315382b
fix for parity 2018-10-30 16:18:54 -07:00
Philip Monk
c1f86dc296
manually restore from snapshot 2018-10-30 11:41:54 -07:00
Fang
b71e68b3b4 No longer rev ahead of time 2018-10-30 11:10:52 -07:00
Joe Bryan
420e99dc61 sets ships contract address to ropsten deployment 2018-10-29 21:55:24 -04:00
Joe Bryan
3e09b9b6c5 includes block number and ethereum gateway url in boot event 2018-10-29 15:38:14 -04:00
Joe Bryan
087b6c92b0 pins pre-boot validation eth rpc requests to a single block 2018-10-29 14:02:36 -04:00
Philip Monk
fb07d9eada
Merge pull request #864 from urbit/philip/ames-eth-keys
add chunking and start snapshotting
2018-10-26 18:35:25 -07:00
Joe Bryan
64f9a06555
Merge pull request #860 from cgyarvin/release-candidate
Merge research-final branch (but not finally).
2018-10-26 12:49:09 -04:00
Fang
22e689adbe Implement functions to get address from Ethereum keys 2018-10-25 18:37:34 -07:00
Philip Monk
c806694271
add robustness 2018-10-25 16:15:42 -07:00
Philip Monk
dc1888e112
add chunking and start snapshotting 2018-10-25 15:03:40 -07:00
Joe Bryan
0e59788dff fixes bugs in individual continuity breaches 2018-10-25 17:41:05 -04:00
Joe Bryan
7269c09771 adds life-mismatch checks to pre-boot validation 2018-10-25 17:39:34 -04:00
Joe Bryan
345cc92578 makes the "removed" property optional in eth json event logs 2018-10-24 19:55:16 -04:00
ixv
8b4425bafc
Merge pull request #863 from urbit/release-candidate-fix-dead-ire
remove clam from error sigpam
2018-10-24 15:45:58 -07:00
Philip Monk
eaa65a9e75
handle json objects without all keys 2018-10-24 15:18:25 -07:00
Anthony Arroyo
0c38349e56 remove clam from error sigpam 2018-10-24 14:45:24 -07:00
Fang
aeeb075ddd Add a more generic PBKDF implementation into zuse
Can be fed arbitrary KDF functions and operate using those.
Includes arms for calling with HMAC-SHA variants.

Still takes @t rather than sane-byte-order @ though...

Includes tests.
2018-10-24 13:42:35 -07:00
Joe Bryan
db08708fe6 fixes bug in forwarded packet routing 2018-10-24 16:31:50 -04:00