Commit Graph

4704 Commits

Author SHA1 Message Date
Joe Bryan
63d36b4e75 ur: fixes bug in ur_bsr_bytes_any pointer math, adds tests 2020-08-26 16:01:43 -07:00
Joe Bryan
8d5adc8bc1 ur: refactors ur_cue() into higher-order traversal 2020-08-26 16:01:43 -07:00
Joe Bryan
5dca7bd620 u3: implements u3u_cram() 2020-08-26 16:01:43 -07:00
Joe Bryan
9c008c269b u3: refactors u3u_uniq() 2020-08-26 16:01:43 -07:00
Joe Bryan
8a3b2fc061 ur: refactors ur "library" into separate modules 2020-08-26 16:01:36 -07:00
Joe Bryan
096677a3c3 ur: distinguish "meme" (exceeds memory repr) errors in ur_bsr* and ur_cue* functions 2020-08-21 15:33:04 -07:00
Joe Bryan
753a3ea9a5 ur: removes superceded functions: ur_bsr64 and ur_bsr_bytes 2020-08-21 15:33:04 -07:00
Joe Bryan
66970a01e1 ur: refactors ur_bsr_bit* functions 2020-08-21 15:33:04 -07:00
Joe Bryan
6e3dade9a6 ur: improves ur_bsr_sane() 2020-08-21 15:33:04 -07:00
Joe Bryan
4a7ad95e14 ur: rewrites ur_bsr_tag(), adds tests 2020-08-21 15:33:04 -07:00
Joe Bryan
d130633732 ur: uses ur_bsr_rub_log() in ur_bsr_mat, moves ur_bsr_zeros() into tests 2020-08-21 15:33:04 -07:00
Joe Bryan
1a89c71e96 ur: adds ur_bsr_rub_log and tests, fixes ur_bsr_zeros() 2020-08-21 15:33:04 -07:00
Joe Bryan
e09ba7e8ee ur: fixes typos in tests 2020-08-21 15:33:04 -07:00
Joe Bryan
b3c644930a ur: use new ur_bsr*_any functions in ur_cue() 2020-08-21 15:33:04 -07:00
Joe Bryan
5a8043f620 ur: clean up ur_bsr8_any() 2020-08-21 15:33:04 -07:00
Joe Bryan
a7ac76d5e7 ur: cleans up ur_bsrN_any tests 2020-08-20 23:44:04 -07:00
Joe Bryan
4d1bb97f36 ur: adds ur_bsr_bytes_any(), for bit-indexed byte reads 2020-08-20 23:43:59 -07:00
Joe Bryan
b117ca25a6 ur: fills out bistream-write (ur_bsw*) interface 2020-08-19 19:12:01 -07:00
Joe Bryan
c5bbe9e441 ur: rewrites ur_bsw_bytes to be bit-indexed 2020-08-19 18:37:01 -07:00
Joe Bryan
79363d66a8 ur: refactors bit-stream bounds-enforcement and growth 2020-08-19 18:37:01 -07:00
Joe Bryan
4aa1dbe4a2 ur: adds ur_bsw_bex() and tests 2020-08-19 18:36:56 -07:00
Joe Bryan
0f3731a40c ur: adds initial tests for bitstream-read functions (ur_bsr*) 2020-08-19 10:19:28 -07:00
Joe Bryan
d4522adb0c ur: moves slow8/32/64 write functions into tests 2020-08-19 10:19:28 -07:00
Joe Bryan
572a0d2c91 ur: adds ur_bsw32() 2020-08-17 22:03:55 -07:00
Joe Bryan
5b0c1320fb ur: refactors ur_bsw8 and ur_bsw_bytes internals 2020-08-17 22:03:55 -07:00
Joe Bryan
a9d2a29bf2 ur: rewrites _bsw64_unsafe() for efficiency 2020-08-17 22:03:49 -07:00
Joe Bryan
9282247ba5 ur: adds tests for bitstream write functions (ur_bsw*) 2020-08-17 21:57:02 -07:00
Joe Bryan
e160620256 ur: refactors jam/cue tests 2020-08-17 15:36:01 -07:00
Joe Bryan
509c074445 ur: implements cue 2020-08-14 11:48:13 -07:00
Joe Bryan
ee8c8ed1bd ur: implements jam 2020-08-14 11:15:51 -07:00
Joe Bryan
377ee490f3 u3: corrects _cu_from_loom() stack struct comment 2020-08-14 11:15:51 -07:00
Joe Bryan
eedb138975 ur: refactors indirect-atom (re-)allocation 2020-08-14 11:15:51 -07:00
Joe Bryan
039ef019b9 ur: adds ur_walk_fore - higher-ordered pre-order noun traversal 2020-08-10 17:57:57 -07:00
Joe Bryan
d0e5c658a9 ur/u3: enforce ur_coin* invariants, deduplicate 32-61-bit direct atoms 2020-08-10 17:57:48 -07:00
Joe Bryan
ab217fc874 ur: adds dictionaries with noun keys and arbitrary 32/64-bit values 2020-08-10 17:14:24 -07:00
Joe Bryan
c1398c1b4e ur: adds atom bloq measurement in ur_met() 2020-08-10 17:14:08 -07:00
Joe Bryan
99d2056749 u3: refactors snapshot patch application 2020-08-04 13:56:33 -07:00
Joe Bryan
08d22b14d3 u3: fixes bug in snapshot image truncation 2020-08-04 13:52:19 -07:00
Joe Bryan
993f4b83f4 u3: free all dynamic allocations in u3u_uniq() 2020-07-30 15:23:00 -07:00
Joe Bryan
cd7f0267a9 ur: add *_free functions for all dynamic allocations 2020-07-30 15:23:00 -07:00
Joe Bryan
52c86946d7 u3: moves event-number tracking inside u3u_uniq() 2020-07-30 15:22:58 -07:00
Joe Bryan
d7f6e79409 u3: refactors u3u_uniq, prints memory measurements 2020-07-30 15:22:23 -07:00
Joe Bryan
87b10abee4 ur: adds ur_hcon_info() to print memory measurements 2020-07-30 14:42:16 -07:00
Joe Bryan
9b2a267c1d u3: refactors on-loom reallocation in u3u_uniq() 2020-07-29 15:30:09 -07:00
Joe Bryan
90f2d1e4be serf: adds uniq command to urbt-worker usage string 2020-07-29 13:56:09 -07:00
Joe Bryan
072307addd u3: refactors global deduplicator in u3u_uniq() 2020-07-29 13:52:57 -07:00
Joe Bryan
29810b5b1b ur: removes unusable width-abstraction in ur_dict* types 2020-07-29 12:58:35 -07:00
Joe Bryan
b61c016b93 serf: WIP adds uniq: global deduplicator 2020-07-28 15:52:56 -07:00
Joe Bryan
15f60af86f ur: adds hashcons module to build 2020-07-28 15:52:32 -07:00
Joe Bryan
24d8723917 ur: fixes a variety of bugs uncovered in local testing 2020-07-28 14:37:36 -07:00
Joe Bryan
89967db876 ur: adds initial, untested hash-consing module 2020-07-28 14:06:00 -07:00
Joe Bryan
c96705e755 vere: bumps urbit version to v0.10.8 2020-07-23 18:15:35 -07:00
Joe Bryan
9e77535568 Merge branch 'master' into release/next-vere
* master: (117 commits)
  contact-store: restore /~/default contacts
  contact-hook: resubscribe on correct paths
  metadata: handle OTA correctly
  release: urbit-os-v1.0.30
  group-store: remove scries from OTA logic
  release: urbit-os-v1.0.30
  MAINTAINERS: amend for post-fusion
  ames: add scry endpoint for forward lanes
  ames: improve scry interface
  chat, publish, contacts: fix OTA bugs
  trouble: report glob state
  clay: ignore extraneous /sys/lyv results
  zuse: added docstring and warning
  release: urbit-os-v1.0.29
  groups: correct line-height on group items
  launch: use mono for base hash
  interface: don't require urbitrc for build:prod
  maintainers: add glob-making instructions
  interface: amend disconnect copy
  metadata-store: migrate contact paths
  ...
2020-07-23 16:08:09 -07:00
Joe Bryan
1953e4e2b3
Merge pull request #3099 from urbit/philip/compact
Memory compaction
2020-07-23 14:53:52 -07:00
pilfer-pandex
942e60670e king: fix ames tests 2020-07-23 13:17:02 -07:00
Liam Fitzgerald
5fd268ced8 contact-store: restore /~/default contacts 2020-07-23 17:54:45 +10:00
Liam Fitzgerald
70b0336d22 contact-hook: resubscribe on correct paths 2020-07-23 17:42:41 +10:00
Joe Bryan
72cadc2b0a u3: note that u3a_rewrit* doesn't yet support south roads 2020-07-23 00:01:04 -07:00
pilfer-pandex
7eddb89b70 king: it was too clever of me to use stateTVar; compiler can't help 2020-07-22 22:52:46 -07:00
pilfer-pandex
8e14fb8086 king: fix comment about ames q behavior 2020-07-22 22:50:22 -07:00
pilfer-pandex
4c9cbb5d19 king: ames bounded q, now with logging and fifo 2020-07-22 22:48:35 -07:00
Joe Bryan
eb2350c785 serf: tweaks |pack and |mass printfs 2020-07-22 22:43:28 -07:00
Joe Bryan
d8db01a57b u3: moves u3a_compact to u3m_pack, refactors internals 2020-07-22 22:20:03 -07:00
Liam Fitzgerald
0eb3b2e77f metadata: handle OTA correctly 2020-07-23 15:02:54 +10:00
Joe Bryan
bbf0c51201 u3: refactors u3m_reclaim() into noun modules, works on any road 2020-07-22 21:52:42 -07:00
Liam Fitzgerald
9f46f4ce24 group-store: remove scries from OTA logic 2020-07-23 01:54:56 +00:00
Matilde Park
8bd13c8ed7 release: urbit-os-v1.0.30 2020-07-22 14:50:51 -04:00
Matilde Park
0d68f3f901 Merge branch 'release/next-sys' 2020-07-22 14:31:17 -04:00
Matilde Park
038a36dbb1 Merge branch 'release/huck-hotfix' 2020-07-22 14:31:09 -04:00
Fang
d6a39c1311
Merge pull request #3059 from urbit/jb/m/behn-scry
arvo: ames & behn scry interface updates
2020-07-22 19:55:16 +02:00
matildepark
6b6a77cb50
Merge pull request #3135 from finled-bansel/fix-moon-rendering
landscape clock: render sun+moon after night
2020-07-22 12:27:41 -04:00
matildepark
5108814645
Merge pull request #3134 from urbit/mp/babel-build
interface: add babel-transform-runtime
2020-07-22 12:16:55 -04:00
Fang
3955d1092b
ames: add scry endpoint for forward lanes
Finds the lane for that peer, or their galaxy. Intended for use in the
runtime, to enable stateless forwarding.
2020-07-22 16:33:34 +02:00
Fang
4ea98e569f
ames: improve scry interface
No longer abuse the desk field, instead making use of the path. Reject
any scries outside of the local ship, empty desk and current time as
invalid.
2020-07-22 16:30:47 +02:00
Liam Fitzgerald
66e2fc0208 chat, publish, contacts: fix OTA bugs 2020-07-22 12:54:34 +00:00
Liam Fitzgerald
24b25a3422 Merge remote-tracking branch 'origin/release/next-userspace' into lf/groups-refactor 2020-07-22 10:42:52 +00:00
Caio Marcelo de Oliveira Filho
d8203eb0d1 trouble: report glob state 2020-07-22 00:22:45 -07:00
pilfer-pandex
3349ea511f king: fix goshdarn typo 2020-07-21 21:22:08 -07:00
pilfer-pandex
565be3cad6 king: drop ames packets when >1k are unprocessed 2020-07-21 21:15:06 -07:00
Philip Monk
452b668c5f
Merge pull request #2972 from urbit/la/ordered-map-subset
zuse: add subset arm to ordered-map
2020-07-21 18:09:22 -07:00
Joe Bryan
a580f96416 serf: adds subcommands to urbit-worker 2020-07-21 17:15:11 -07:00
Philip Monk
753ccf1b7e
Merge remote-tracking branch 'origin/ted/fix-huck' into release/next-sys 2020-07-21 17:08:01 -07:00
Fang
3eab480de7
Merge branch 'release/next-sys' into jb/m/behn-scry 2020-07-22 02:02:05 +02:00
Philip Monk
1169d6b443
clay: ignore extraneous /sys/lyv results 2020-07-21 15:42:46 -07:00
Logan Allen
f76759b9e0 zuse: added docstring and warning 2020-07-21 14:39:42 -07:00
Joe Bryan
7d243771c0 serf: restores autopack in response to memory pressure 2020-07-21 14:23:21 -07:00
Joe Bryan
2994e0e44e vere: wires |pack to new compaction; renames old |pack to |cram 2020-07-21 14:10:15 -07:00
Joe Bryan
69eeb6309e vere: fixes driver exit in u3_pier_bail() 2020-07-21 14:10:15 -07:00
Philip Monk
f4c34c7598
release: urbit-os-v1.0.29 2020-07-21 12:59:12 -07:00
Philip Monk
b40ea7539c
Merge branch 'mp/two-nitpicks' (#3143)
* origin/mp/two-nitpicks:
  groups: correct line-height on group items
  launch: use mono for base hash

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-21 11:33:27 -07:00
Matilde Park
48163d9bb2 groups: correct line-height on group items 2020-07-21 14:29:29 -04:00
Matilde Park
f71f25486d launch: use mono for base hash 2020-07-21 14:29:21 -04:00
Philip Monk
d641210c6f
Merge branch 'philip/glob' (#3139)
* philip/glob:
  interface: don't require urbitrc for build:prod
  maintainers: add glob-making instructions
  publish: loosen +noun:grab
  glob: autostart and make ota-able
  glob: added app to distribute js outside clay

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-21 11:22:16 -07:00
Philip Monk
a9b88c8762
Merge remote-tracking branch 'origin/release/next-userspace' into release/next-sys 2020-07-21 11:21:46 -07:00
Philip Monk
2bafb4a96a
interface: don't require urbitrc for build:prod 2020-07-21 11:15:15 -07:00
Matilde Park
b8c8170eb2 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-21 13:47:31 -04:00
Liam Fitzgerald
6c2f9b5f7a interface: amend disconnect copy 2020-07-21 16:33:14 +10:00
Liam Fitzgerald
cfa11e3408 metadata-store: migrate contact paths 2020-07-21 11:08:58 +10:00
Philip Monk
9ca9b5318b
publish: loosen +noun:grab 2020-07-20 17:58:23 -07:00
Joe Bryan
7701b17995 Merge branch 'release/next-vere' into ipc-redux
* release/next-vere:
  noun: don't add identical values to song_x_cape's hashtable
  nix: fix boot-ship.nix
  release: urbit-os-v1.0.28
  vere: more readable http server status
  release: urbit-os-v1.0.27
  chat-store: don't trim on %messages, either
2020-07-20 13:22:20 -07:00