Commit Graph

15658 Commits

Author SHA1 Message Date
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
Jared Tobin
6b2c2d6211
readme: point arvo URL at subtree [ci skip]
This one was still pointing at the deprecated arvo repository.
2019-09-20 12:16:50 -02:30
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
Jared Tobin
1eea634c7c
Merge branch 'philip/claz' (#1750)
* philip/claz:
  claz: convert to iris

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-20 11:49:55 -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
Philip Monk
2e56034cfc
claz: convert to iris 2019-09-18 17:12:13 -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
Joe Bryan
865e5b9592 u3: adds comments to inner hashtable struct definitions 2019-09-17 23:41:18 -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
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
Jared Tobin
b80077906d
Merge branch 'bs/serf-dups-file-descriptors' (#1730)
* bs/serf-dups-file-descriptors:
  worker: also replaces fd 0/1 so we don't accidentally re-use them
  worker: dup({0,1}) on serf start to prevent accidental use of stdin/stdout.

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-17 13:41:36 -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
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
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
Jared Tobin
483d12936f
Merge branch 'sample-profile-file' (#1716)
* sample-profile-file:
  noun, worker: write -P profile into pier

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:35:10 -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