Commit graph

  • 4c4af46315 Add TransactableValue abstracting value places that can be transacted. Nick Alexander 2018-05-07 13:55:20 -0700
  • e1e7cbaa44
    Closes #634 - Fix variables in predicates (#635) r=rnewman Emily Toop 2018-05-09 16:24:12 +0100
  • 2b12c41095 WIP: nested pull. rnewman/pull-nest Richard Newman 2018-05-07 22:33:35 -0700
  • dc608319b0 Remove unused function. Richard Newman 2018-05-07 22:10:51 -0700
  • 546e142722 Clean up comment. Richard Newman 2018-05-07 22:10:37 -0700
  • a114bda46b Allow :db/id to mentioned as a pull attribute. Richard Newman 2018-05-07 21:39:24 -0700
  • 4665eaa4dd Parse and handle aliased pull attributes. Richard Newman 2018-05-07 20:44:24 -0700
  • e21156a754
    Implement simple pull expressions (#638) r=nalexander Richard Newman 2018-05-04 12:56:00 -0700
  • 90465ae74a Flip ValueRc to Arc in order to allow TypedValue in errors. (#677) (#678) r=rnewman Nick Alexander 2018-05-03 16:46:49 -0700
  • 1b66818ac9 Post: Fix CLI bustage. Nick Alexander 2018-05-01 16:09:47 -0700
  • 9513012aa5 [tx] Fail transactions where complex upserts resolve to multiple entids. (#670) r=rnewman Nick Alexander 2018-05-01 15:35:44 -0700
  • 2b82ffb2e5 [tx] Fail transactions where complex upserts resolve to multiple entids. (#670) Nick Alexander 2018-05-01 13:47:33 -0700
  • 7960b4ccd2 Pre: Get ready to use log in mentat_db. Nick Alexander 2018-05-01 13:46:03 -0700
  • d4a635f4e7 (tx) Replace :db/tx with (current-tx) transaction function and broaden support. (#664) r=rnewman Nick Alexander 2018-04-26 19:33:16 -0700
  • 32ed56685e (tx) Replace :db/tx with (transaction-tx) transaction function and broaden support. (#664) Nick Alexander 2018-04-26 15:48:27 -0700
  • f979044ba1
    Refactor value type boxing. (#659) r=nalexander Richard Newman 2018-04-25 14:23:27 -0700
  • 3f001239d6 Finish transition. rnewman/arc Richard Newman 2018-04-25 14:17:05 -0700
  • a6ec3f2272 Move CString-creation methods to TypedValue. Richard Newman 2018-04-25 13:45:31 -0700
  • 5440efa4bf Move Cloned to core. Richard Newman 2018-04-25 12:51:36 -0700
  • 1918388ddf Introduce ValueRc as an abstraction over Rc/Arc choice. Richard Newman 2018-04-25 12:22:15 -0700
  • 9292867dc9 Pre: introduce FromRc to convert between refcounted types. Richard Newman 2018-04-25 12:21:29 -0700
  • 4a42d2ca2c Pre: eliminate some occurrences of Rc, largely through the magic of Into. Richard Newman 2018-04-24 16:08:26 -0700
  • a2e13f624c
    Add 'Binding', a structured value type to return from queries. (#657) r=nalexander Richard Newman 2018-04-24 15:08:38 -0700
  • 1818e0b98e Split mentat_core TypedValue code into separate files for clarity. Richard Newman 2018-04-16 12:54:36 -0700
  • a74a2deffc
    Introduce RelResult rather than Vec<Vec<TypedValue>>. (#639) r=nalexander Richard Newman 2018-04-24 15:04:00 -0700
  • 0c31fc7875 (query) Implement tx-log API: (tx-ids ...) and (tx-data ...) functions. r=rnewman Nick Alexander 2018-04-19 09:59:05 -0700
  • c8da4be38f (query) Implement tx-log API: (tx-ids ...) and (tx-data ...) functions. Nick Alexander 2018-04-16 14:08:00 -0700
  • e532614908 (query) Pre: Model columns that don't have type tags closer to Column. Nick Alexander 2018-04-18 08:38:46 -0700
  • 36eca0bfb0 (chore) Pre: Use the same features of uuid throughout the project. Nick Alexander 2018-04-13 13:33:34 -0700
  • 1f1818448a
    Begin adding worked examples. (#629) r=nalexander Richard Newman 2018-04-17 10:39:36 -0700
  • 8ca657ec03 Simplify vocabulary migration test. Richard Newman 2018-04-12 11:53:19 -0700
  • 356b969356 Link to correct library fluffyemily/ios-sdk-framework Emily Toop 2018-04-12 11:25:12 +0100
  • 0dfb712ef7 Add tests for FFI functions Improve API Emily Toop 2018-04-12 11:23:11 +0100
  • 10e3d52902 Update FFI API for use with Swift Library. Fixing issues raised by tests added to swift library. Improving the API Emily Toop 2018-04-12 11:21:42 +0100
  • 5fbf17f4f9 Fix variables in predicates Emily Toop 2018-04-12 09:42:55 +0100
  • 1509d16c3e
    Fix (the ?foo) (#633) r=nalexander Richard Newman 2018-04-10 11:58:58 -0700
  • 909b2a8be5 Refactoring: split up the projector crate. No other code changes. Richard Newman 2018-03-30 12:19:02 -0700
  • 39f1d61175 Bump version to 0.6.2. Richard Newman 2018-04-05 14:58:21 -0700
  • 3f8464e8ed Implement vocabulary-driven schema upgrades. (#595) r=emily Richard Newman 2018-04-03 15:04:04 -0700
  • a5cda7c3e9 Allow passing a TermBuilder to be transacted by InProgress; add TermBuilder::is_empty. r=emily Richard Newman 2018-04-03 19:22:10 -0700
  • 27dde378e0 Allow retraction of some schema attributes. (#379) r=nalexander Richard Newman 2018-04-03 13:18:56 -0700
  • 6adb97c587 Implement transact Emily Toop 2018-04-09 16:15:00 +0100
  • 666580301f Add transact FFI function Emily Toop 2018-04-09 16:14:30 +0100
  • e83c4ef1ba Add iOS SDK framework Emily Toop 2018-04-06 17:53:52 +0100
  • 175958e754 Address review comments @rnewman Emily Toop 2018-04-06 10:02:42 +0100
  • 19ddf9c384 Spacing Emily Toop 2018-04-05 11:30:43 +0100
  • fa7dd2ceab Add FFI for query building Emily Toop 2018-04-05 11:21:48 +0100
  • 9741435026 Add helper functions for FFI. Many of these will go away as we expose the entity builder Emily Toop 2018-04-05 11:19:52 +0100
  • 7382e3297d Add QueryBuilder to make querying over FFI easier Emily Toop 2018-04-05 11:09:13 +0100
  • b3e27d86a9 Add converter functions from TypedValue to underlying type Emily Toop 2018-04-05 11:08:20 +0100
  • 48cd1aa3ed Address review comments @rnewman fluffyemily/ffi_store Emily Toop 2018-04-06 10:02:42 +0100
  • a57f7aff99
    Add specialized tx-before and tx-after predicates. (#599) r=emily Richard Newman 2018-04-05 10:49:06 -0700
  • 65e31ed09e Spacing Emily Toop 2018-04-05 11:30:43 +0100
  • a63b423aa9 Add FFI for query building Emily Toop 2018-04-05 11:21:48 +0100
  • ca412b3a8b Add helper functions for FFI. Many of these will go away as we expose the entity builder Emily Toop 2018-04-05 11:19:52 +0100
  • 23e7ff0585 Add QueryBuilder to make querying over FFI easier Emily Toop 2018-04-05 11:09:13 +0100
  • 3985c06927 Add converter functions from TypedValue to underlying type Emily Toop 2018-04-05 11:08:20 +0100
  • e94337c683 WIP: pull rnewman/basic-pull Richard Newman 2018-04-02 10:46:44 -0700
  • c7ea94b4c9 Refactoring: split up the projector crate. No other code changes. Richard Newman 2018-03-30 12:19:02 -0700
  • 65e7252b56 Implement vocabulary-driven schema upgrades. Richard Newman 2018-04-03 15:04:04 -0700
  • 29ccbee911 Allow retraction of some schema attributes. (#379) rnewman/retract-schema Richard Newman 2018-04-03 13:18:56 -0700
  • 8607ecb745 Fix merge conflict. Richard Newman 2018-04-03 14:54:46 -0700
  • 4d8e179a59
    Expose component_attributes on Schema. (#623) r=nalexander Richard Newman 2018-04-03 14:25:53 -0700
  • 558906df4f
    Fix: db/component should be db/isComponent. (#624) r=nalexander Richard Newman 2018-04-03 14:25:28 -0700
  • 6c54e1d370
    Support :db/noHistory for attributes. (#622) r=nalexander Richard Newman 2018-04-03 14:23:46 -0700
  • 9cc5cbf288
    Rename the helpful variant, AttributeBuilder::new, to AttributeBuilder::helpful. (#625) r=nalexander Richard Newman 2018-04-03 14:23:20 -0700
  • ca451a7c9c Silence a warning in Tolstoy. Richard Newman 2018-03-30 12:19:10 -0700
  • 66b892572c
    Don't create a CommandExecutor if there are no observers. (#603) (#604) r=emily Richard Newman 2018-04-03 09:18:22 -0700
  • afebba1c74 oops, accidental missing function fluffyemily/query-builder Emily Toop 2018-03-26 18:37:37 +0100
  • 71470443e8 QueryBuilder.new Emily Toop 2018-03-26 18:31:56 +0100
  • 11b11533c0 Add specialized tx-before and tx-after predicates. rnewman/tx-pred Richard Newman 2018-03-23 14:50:40 -0700
  • 9c756e4f90 move over to variable in Find and Order and simplify names fluffyemily/query-builder-take1 Emily Toop 2018-03-23 16:19:14 +0000
  • 06c2d3c179 pass base types into clause creation functions, rather than enum types Emily Toop 2018-03-23 15:35:22 +0000
  • 1749bc31a2 Take 2 Emily Toop 2018-03-23 12:44:54 +0000
  • 338c6b4660 First draft of query builder API Emily Toop 2018-03-23 11:23:55 +0000
  • 9f30fe6295 Create Mentat FFI and expose observers (#574) Emily Toop 2018-03-20 19:16:32 +0000
  • 485f69e64e Create Mentat FFI and expose observers (#574) revert-ffi Emily Toop 2018-03-20 18:54:53 +0000
  • ab957948b4 Move to using watcher. Emily Toop 2018-03-19 17:09:38 +0000
  • d4365fa4cd Execute commands in a separate thread Emily Toop 2018-03-13 11:25:33 +0000
  • ecc4a7a35a Add tests Emily Toop 2018-03-09 12:18:11 +0000
  • c2e5052877 Allow registration and unregistration of transaction observers from Conn Emily Toop 2018-03-09 12:17:58 +0000
  • 9f3d2c08b2 Populate changeset of attributes inside TxReport during transact. Batch up TxReports for entire transaction. Notify observers about committed transaction. Store transaction observer service inside Conn Emily Toop 2018-03-09 12:16:55 +0000
  • 8d60f2b3d1 Expose tx observation publicly Emily Toop 2018-03-09 12:11:46 +0000
  • dfa0d3e321 Add TxObservers, Commands and TxObservationService. These are the base types upon which we will build our transaction observation Emily Toop 2018-03-09 12:07:45 +0000
  • f71b2b207e Expand the README to give a guide to the crates in the repo. Richard Newman 2018-03-19 14:32:58 -0700
  • 5b37001726 Simplify. rnewman/transact-watcher Richard Newman 2018-03-19 11:30:06 -0700
  • afe6444943 Move to using watcher. Address review comments Emily Toop 2018-03-19 17:09:38 +0000
  • 16a66517e4
    Err, don't panic, on unbound variable (#518) (#590) r=emily Richard Newman 2018-03-15 11:39:24 -0700
  • dfe433d370 address review comments Emily Toop 2018-03-15 16:57:04 +0000
  • 352c16425d Command Queue Executor to watch for new commands and execute on longer running background thread Emily Toop 2018-03-15 15:47:22 +0000
  • 994a3e65e2
    Tests and fixes for aggregates over different or unknown types. (#588) r=emily Richard Newman 2018-03-15 07:14:06 -0700
  • df58de52f4
    Correctly parse and unescape quotes etc. inside EDN strings. (#434) (#589) Richard Newman 2018-03-15 07:13:27 -0700
  • 42329df63b Just use the one command, it keeping reference to all the reports for the transaction. It will also do the observer filtering Emily Toop 2018-03-15 09:14:36 +0000
  • 421b7ad436 use mem::replace instead of clone to get command queue into separate thread. Remove Clone implementation from Command Emily Toop 2018-03-15 08:03:59 +0000
  • a0c52fa425 NON-WORKING: can't spawn a thread because the closure would outlive reports. rnewman/tx-log-observer Richard Newman 2018-03-14 08:18:22 -0700
  • 349d3d3990 Remove cloning. Richard Newman 2018-03-14 07:54:07 -0700
  • 099bde4b13 Address review comments Emily Toop 2018-03-13 11:25:33 +0000
  • ea52e214af
    Small README tweaks. Richard Newman 2018-03-13 04:01:19 +0000
  • 833ff92436
    Simple aggregates. (#584) r=emily Richard Newman 2018-03-12 15:18:50 -0700
  • 58716ae22e Transaction observation grisha/observers-sync Emily Toop 2018-02-13 10:07:48 +0000