Commit graph

  • de25e8f7c8
    Merge pull request #380 from jkankiewicz/add_syncing_to_C_API Orion Henry 2022-06-01 13:46:55 -0700
  • 27dfa4ca27 missed some bugs related to the wasm api change Orion Henry 2022-06-01 16:31:18 -0400
  • 9a0dd24714 fmt / tests Orion Henry 2022-06-01 08:08:01 -0400
  • 8ce10dab69 some api changes/tweaks - basic js package Orion Henry 2022-05-31 13:49:18 -0400
  • fbdb5da508 Ported 17 synchronization unit test cases from JS to C. Jason Kankiewicz 2022-05-30 23:17:44 -0700
  • cdcd5156db Added the synchronization unit test suite to the CTest suite. Jason Kankiewicz 2022-05-30 23:16:14 -0700
  • d08eeeed61 Renamed AMfreeDoc() to AMFree(). Jason Kankiewicz 2022-05-30 23:15:20 -0700
  • 472b5dc348 Added the synchronization unit test suite to the CTest suite. Jason Kankiewicz 2022-05-30 23:14:38 -0700
  • 846b96bc9a Renamed AMfreeResult() to AMresultFree(). Jason Kankiewicz 2022-05-30 23:11:56 -0700
  • 4cb7481a1b Moved the AMsyncState struct into its own source file. Added AMsyncStateDecode(). Added AMsyncStateEncode(). Added AMsyncStateEqual(). Added AMsyncStateSharedHeads(). Added AMsyncStateLastSentHeads(). Added AMsyncStateTheirHaves(). Added AMsyncStateTheirHeads(). Added AMsyncStateTheirNeeds(). Jason Kankiewicz 2022-05-30 23:07:55 -0700
  • 3c11946c16 Moved the AMsyncMessage struct into its own source file. Added AMsyncMessageChanges(). Added AMsyncMessageDecode(). Added AMsyncMessageEncode(). Added AMsyncMessageHaves(). Added AMsyncMessageHeads(). Added AMsyncMessageNeeds(). Jason Kankiewicz 2022-05-30 22:58:45 -0700
  • c5d3d1b0a0 Added the AMsyncHaves struct. Added AMsyncHavesAdvance(). Added AMsyncHavesNext(). Added AMsyncHavesPrev(). Added AMsyncHavesSize(). Jason Kankiewicz 2022-05-30 22:55:34 -0700
  • be3c7d6233 Added the AMsyncHave struct. Added AMsyncHaveLastSync(). Jason Kankiewicz 2022-05-30 22:54:02 -0700
  • 9213d43850 Grouped some common macros and functions into their own source file. Jason Kankiewicz 2022-05-30 22:53:09 -0700
  • 18ee9b71e0 Grouped the AMmap*() functions into their own source file. Jason Kankiewicz 2022-05-30 22:52:02 -0700
  • a9912d4b9f Grouped the AMlist*() functions into their own source file. Jason Kankiewicz 2022-05-30 22:51:41 -0700
  • d9bf29e8fd Grouped AMsyncMessage and AMsyncState into separate source files. Jason Kankiewicz 2022-05-30 22:50:26 -0700
  • 546b6ccbbd Moved AMobjId into its own source file. Added the AMvalue::SyncState variant. Enabled AMchange structs to be lazily created. Added the AMresult::SyncState variant. Added an Option<&automerge::Change> conversion for AMresult. Added a Result<automerge::Change, automerge::DecodingError> conversion for AMresult. Added a Result<automerge::sync::Message, automerge::DecodingError> conversion for AMresult. Added a Result<automerge::sync::State, automerge::DecodingError> conversion for AMresult. Moved AMerrorMessage() and AMresult*() into the source file for AMresult. Jason Kankiewicz 2022-05-30 22:49:23 -0700
  • bb0b023c9a Moved AMobjId into its own source file. Jason Kankiewicz 2022-05-30 22:37:22 -0700
  • c3554199f3 Grouped related AM*() functions into separate source files. Jason Kankiewicz 2022-05-30 22:36:26 -0700
  • e56fe64a18 Added AMapplyChanges(). Fixed AMdup(). Added AMequal(). Renamed AMfreeDoc() to AMfree(). Added AMgetHeads(). Added AMgetMissingDeps(). Added AMgetLastLocalChange(). Jason Kankiewicz 2022-05-30 22:34:01 -0700
  • 007253d6ae Updated the file dependencies of the CMake custom command for Cargo. Jason Kankiewicz 2022-05-30 22:27:14 -0700
  • e8f1f07f21 Changed AMchanges to lazily create AMchange structs. Renamed AMadvanceChanges() to AMchangesAdvance(). Added AMchangesEqual(). Renamed AMnextChange() to AMchangesNext(). Renamed AMprevChange() to AMchangesPrev(). Jason Kankiewicz 2022-05-30 22:24:53 -0700
  • 3ad979a178 Added AMchangeActorId(). Added AMchangeCompress(). Added AMchangeDeps(). Added AMchangeExtraBytes(). Added AMchangeFromBytes(). Added AMchangeHash(). Added AMchangeIsEmpty(). Added AMchangeMaxOp(). Added AMchangeMessage(). Added AMchangeSeq(). Added AMchangeSize(). Added AMchangeStartOp(). Added AMchangeTime(). Added AMchangeRawBytes(). Added AMchangeLoadDocument(). Jason Kankiewicz 2022-05-30 22:19:54 -0700
  • fb0ea2c7a4 Renamed AMadvanceChangeHashes() to AMchangeHashesAdvance(). Added AMchangeHashesCmp(). Renamed AMnextChangeHash() to AMchangeHashesNext(). Jason Kankiewicz 2022-05-30 22:12:03 -0700
  • a31a65033f Renamed AMfreeResult() to AMresultFree(). Renamed AMfreeDoc() to AMfree(). Renamed AMnextChange() to AMchangesNext(). Renamed AMgetMessage() to AMchangeMessage(). Jason Kankiewicz 2022-05-30 22:08:27 -0700
  • 5765fea771 Renamed AMfreeResult() to AMresultFree(). Remove the &AMchange conversion for AMbyteSpan. Add a &automerge::ActorId conversion to for AMbyteSpan. Remove the &Vec<u8> conversion for AMbyteSpan. Add a &[u8] conversion for AMbyteSpan. Jason Kankiewicz 2022-05-30 22:06:22 -0700
  • 4bed03f008 Added the AMsyncMessage struct. Added the AMsyncState struct. Added the AMfreeSyncState() function. Added the AMgenerateSyncMessage() function. Added the AMinitSyncState() function. Added the AMreceiveSyncMessage() function. Jason Kankiewicz 2022-05-09 11:59:24 -0400
  • 210c6d2045 move types to their own package Orion Henry 2022-05-27 10:23:51 -0700
  • 9460d5948e patch2 wip Orion Henry 2022-05-27 08:52:36 -0700
  • a569611d83 Use clock_at for filter_changes Andrew Jeffery 2022-05-20 11:44:11 +0100
  • 03a635a926 Extend last_sync_hashes Andrew Jeffery 2022-05-20 11:43:58 +0100
  • 97a5144d59 Reduce the amount of shuffling data for changes_to_send Andrew Jeffery 2022-05-20 10:22:13 +0100
  • 03289510d6 Remove cloning their_have in sync Andrew Jeffery 2022-05-20 10:14:04 +0100
  • cd303b6ab8 deploy: b1712cb0c6 jeffa5 2022-05-26 12:12:44 +0000
  • b1712cb0c6
    Merge pull request #379 from jeffa5/apply-changes-iter Andrew Jeffery 2022-05-26 13:11:51 +0100
  • dae6509e13 Update autocommit's apply_changes to take an iterator Andrew Jeffery 2022-05-26 08:59:43 +0100
  • 71d68c243a deploy: 587adf7418 jeffa5 2022-05-24 08:49:59 +0000
  • 587adf7418 Add Eq to ObjType Andrew Jeffery 2022-05-24 09:48:55 +0100
  • 57baa9accf Update list tests to use insert Andrew Jeffery 2022-05-23 21:52:06 +0100
  • e22604bfac Get list.next_back working for single Andrew Jeffery 2022-05-23 21:37:01 +0100
  • aff950d323 Add some tests for list_range Andrew Jeffery 2022-05-16 22:16:21 +0100
  • abc5874c71 Add map implementation for double ended values Andrew Jeffery 2022-05-16 19:25:42 +0100
  • df8cae8a2b README Orion Henry 2022-05-23 19:25:23 +0200
  • 3a44ccd52d clean up lint, simplify package, hand write an index.d.ts Orion Henry 2022-05-23 18:49:29 +0200
  • 07f5678a2b linting in wasm Orion Henry 2022-05-22 13:54:59 -0400
  • d638a41a6c record type Orion Henry 2022-05-22 13:41:01 -0400
  • bd35361354 fixed typescript errors, pull wasm dep (mostly) out Orion Henry 2022-05-22 13:28:41 -0400
  • d2fba6bf04 Use an UnknownObject type alias Scott Trinh 2022-05-19 09:13:56 -0400
  • fd02585d2a removed a bunch of lint errors Orion Henry 2022-05-18 17:36:09 -0400
  • 515a2eb94b removing some ts errors Orion Henry 2022-05-18 16:16:29 -0400
  • 5e1bdb79ed eslint --fix Orion Henry 2022-05-18 15:39:42 -0400
  • 1cf8f80ba4 pull wasm out of deps Orion Henry 2022-05-18 15:38:52 -0400
  • 226bbeb023 tslint to eslint Orion Henry 2022-05-17 17:16:38 -0400
  • 1eec70f116 example webpack for js Orion Henry 2022-05-17 17:01:06 -0400
  • 4f898b67b3 able to build npm package Orion Henry 2022-05-17 16:53:17 -0400
  • 551f6e1343 convert automerge-js to typescript Orion Henry 2022-05-17 13:22:18 -0400
  • 769e69adc8 deploy: c353abfe4e orionz 2022-05-22 17:33:15 +0000
  • 8391fbd0be deploy: f0abcf0605 orionz 2022-05-22 17:31:21 +0000
  • c353abfe4e
    Merge pull request #375 from jeffa5/get-changes-opt Orion Henry 2022-05-22 10:30:24 -0700
  • f0abcf0605
    Merge pull request #376 from jeffa5/api-interoperability Orion Henry 2022-05-22 10:30:07 -0700
  • 2c1a71e143 Use expect for getting clock Andrew Jeffery 2022-05-20 18:01:46 +0100
  • 8b1c3c73cd Use BTreeSet for sync::State to allow deriving Hash Andrew Jeffery 2022-05-20 16:13:10 +0100
  • 464a8f66e8 deploy: 11fbde47bb jeffa5 2022-05-20 09:06:47 +0000
  • 3a8e833187 Document num_ops on change Andrew Jeffery 2022-05-19 17:07:31 +0100
  • 1355a024a7 Use actor_index to get state in update_history Andrew Jeffery 2022-05-19 16:58:43 +0100
  • e5b527e17d Remove old functions Andrew Jeffery 2022-05-19 16:54:52 +0100
  • 4b344ac308 Add sync benchmark Andrew Jeffery 2022-05-19 16:53:25 +0100
  • 36857e0f6b Store seq in clock to remove binary_search_by_key Andrew Jeffery 2022-05-19 16:47:08 +0100
  • b7c50e47b9 Just use get_changes_clock Andrew Jeffery 2022-05-19 16:26:28 +0100
  • 16f1304345 Fix wasm test calling getChanges with wrong heads Andrew Jeffery 2022-05-19 16:22:15 +0100
  • 933bf5ee07 Return an error when getting clock for missing hash Andrew Jeffery 2022-05-19 16:18:07 +0100
  • c2765885fd Maintain incremental clocks Andrew Jeffery 2022-05-19 16:00:00 +0100
  • 5e088ee9e0 Document clock module and add merge function Andrew Jeffery 2022-05-19 15:59:29 +0100
  • 1b34892585 Add num_ops to change to quickly get the len Andrew Jeffery 2022-05-19 15:08:30 +0100
  • 0de37d292d Sort change results from clock search Andrew Jeffery 2022-05-19 14:47:04 +0100
  • b9a6b3129f Add method to get changes by clock Andrew Jeffery 2022-05-19 14:28:14 +0100
  • 11fbde47bb Use HASH_SIZE const in ChangeHash definition Andrew Jeffery 2022-05-20 10:04:32 +0100
  • 4879c644fe Use an UnknownObject type alias Scott Trinh 2022-05-19 09:13:56 -0400
  • 8446b1e340 deploy: 70021556c0 jeffa5 2022-05-19 12:45:11 +0000
  • 70021556c0
    Merge pull request #373 from jeffa5/sync-opt Andrew Jeffery 2022-05-19 13:42:10 +0100
  • e8e42b2d16 Remove need to collect hashes when building bloom filter Andrew Jeffery 2022-05-19 10:41:23 +0100
  • 6bce8bf4fd Use vec with capacity when calculating bloom probes Andrew Jeffery 2022-05-19 10:40:44 +0100
  • af70b3d84a removed a bunch of lint errors Orion Henry 2022-05-18 17:36:09 -0400
  • 5a288fd6f8 removing some ts errors Orion Henry 2022-05-18 16:16:29 -0400
  • 63721347de eslint --fix Orion Henry 2022-05-18 15:39:42 -0400
  • 61c30579d2 pull wasm out of deps Orion Henry 2022-05-18 15:38:52 -0400
  • 3743fd054b tslint to eslint Orion Henry 2022-05-17 17:16:38 -0400
  • 19de3a8932 example webpack for js Orion Henry 2022-05-17 17:01:06 -0400
  • 93f358cd61 able to build npm package Orion Henry 2022-05-17 16:53:17 -0400
  • 17f1418a35 convert automerge-js to typescript Orion Henry 2022-05-17 13:22:18 -0400
  • e14cde180a deploy: c7429abbf5 orionz 2022-05-17 17:32:47 +0000
  • a69dd5fdf2 deploy: 24fa61c11d orionz 2022-05-17 17:30:13 +0000
  • c7429abbf5
    Merge pull request #369 from automerge/webpack Orion Henry 2022-05-17 10:28:12 -0700
  • 24fa61c11d
    Merge pull request #370 from jeffa5/opt-seek-op Orion Henry 2022-05-17 10:27:58 -0700
  • d89669fcaa Add apply benchmarks Andrew Jeffery 2022-05-16 23:13:35 +0100
  • 43c4ce76fb Optimise seek op with patch Andrew Jeffery 2022-05-16 23:07:45 +0100
  • 531e434bf6 Optimise seek op Andrew Jeffery 2022-05-16 22:32:27 +0100
  • e1f3ecfcf5 typescript implicit any Orion Henry 2022-05-16 15:09:55 -0400
  • 4ad5ec04f9 deploy: 409189e36a orionz 2022-05-16 15:41:18 +0000