Commit Graph

1287 Commits

Author SHA1 Message Date
Ingvar Stepanyan 3fdb737eb8 Use (int) instead of (uint) for FFI
C# uses `int` everywhere for positons and lengths in standard APIs.

Our manual conversions from Rust `uint` to C# `int` do the same bitcast anyway, so we might as well change the FFI definitions instead for cleaner code and fewer casts.
2025-01-23 00:53:42 +00:00
Ingvar Stepanyan 233860e355 Use Spans consistently in FFI
This should allow passing even buffers not based on byte arrays. For now this is purely for consistency.
2025-01-23 00:53:42 +00:00
joshua-spacetime 149ff9760c Query execution updates for cpu metrics (#2130) 2025-01-22 23:29:53 +00:00
Kim Altintop ea05e108d7 snapshot: Invalidate newer snapshots on creation (#2143) 2025-01-22 20:36:05 +00:00
Kim Altintop 73fe4ef2f7 Set tracing static level for binaries only (#2144) 2025-01-22 20:13:52 +00:00
Mazdak Farrokhzad a1573af5a1 Fix unique index + MutTxId::insert not un-deleteting (#2156) 2025-01-22 09:51:34 +00:00
Noa 7c6af12b84 Use actual types for api responses, not ad-hoc json!() objects (#1931) 2025-01-21 03:13:22 +00:00
Kim Altintop 43d870d24c core: Make SNAPSHOT_FREQUENCY pub (#2135) 2025-01-20 07:27:36 +00:00
Noa cf6ac18eaf Lookup lifecycle reducers by lifecycle flag, not by name (#2132) 2025-01-17 23:21:52 +00:00
Mazdak Farrokhzad 6f428f3afb Make the key of Table.indexes be IndexId (#2124) 2025-01-17 18:42:54 +00:00
Zeke Foppa a54ea3a391 CLI - Replace clippy with a manual check (#1928)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-17 00:03:11 +00:00
Noa e47a8d796f Run smoketests on windows in ci (#2129) 2025-01-16 21:43:38 +00:00
Noa c24042609e Split binaries (#2011) 2025-01-15 18:45:14 +00:00
Phoebe Goldman 537faa4a95 Rust SDK: with_credentials -> with_token (#2118) 2025-01-14 23:53:55 +00:00
Phoebe Goldman dc0bdce324 Rework RLS macro for amended syntax (#2105)
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: joshua-spacetime <josh@clockworklabs.io>
2025-01-14 21:21:35 +00:00
Zeke Foppa b398cda24b Add new crates to publish-crates.sh script (#2125)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-14 20:58:12 +00:00
Kim Altintop c5f4c8bc5c commitlog: Make offset index usable externally (#2108) 2025-01-14 18:56:08 +00:00
Mazdak Farrokhzad a4dc762927 Fix wording in ReplayVisitor::visit_insert (#2123) 2025-01-14 14:56:18 +00:00
Phoebe Goldman 59a8b3f989 Add SubscriptionBuilder::subscribe_to_all_tables (#2109) 2025-01-13 22:00:22 +00:00
Mazdak Farrokhzad 5ad2a2efe8 add signature of datastore_update_bsatn host call (#2102) 2025-01-13 16:41:39 +00:00
joshua-spacetime 3798f468a6 query engine integration (#2074) 2025-01-11 00:01:24 +00:00
Phoebe Goldman 44d7b76d29 Fix defining multiple tables on the same struct in Rust modules (#2103) 2025-01-10 01:58:20 +00:00
james gilles 208e6b933f Make automatic migrations deterministic (#2104) 2025-01-09 22:48:21 +00:00
Mazdak Farrokhzad f667f65b15 perf(2019): skip PointerMap given a unique index (#2092) 2025-01-09 18:10:20 +00:00
Phoebe Goldman e8b8bac453 Use println/eprintln in the quickstart-chat client, not log (#2099) 2025-01-09 15:38:52 +00:00
Tyler Cloutier 6f807e273c Updated version to 1.0.0-rc3 (#2059)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-08 18:17:10 +00:00
Mazdak Farrokhzad cbfff34dc2 Extract InstanceEnv::project_cols_bsatn (#2096) 2025-01-08 03:43:39 +00:00
Mazdak Farrokhzad 538e7b11c8 Extract MutTxId::tx_state_removed_index(&self, index_id) -> bool (#2095) 2025-01-08 03:29:17 +00:00
Mazdak Farrokhzad d4f03b74b9 datastore: insert via BSATN instead of via PV (#2069) 2025-01-07 21:36:02 +00:00
Zeke Foppa c71b93cfc1 CLI - dns subcommand becomes rename (#1694)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-07 21:23:27 +00:00
Ingvar Stepanyan 79a9c712f0 Implement new C# index syntax (#2078) 2025-01-07 20:58:17 +00:00
Ingvar Stepanyan 40faad6e2e Implement ctx.Identity for C# (#2091) 2025-01-07 20:45:27 +00:00
Ingvar Stepanyan 763ba5ef5c Enforce .NET 8 SDK for new C# modules (#2046) 2025-01-07 20:40:56 +00:00
Noa 2b227fe535 Use a spinner to show that wasm is compiling in spacetime generate (#2057) 2025-01-07 18:42:51 +00:00
Zeke Foppa 2967e3b893 CLI - Fix spacetime energy balance not working (#2087)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-06 19:04:46 +00:00
Ingvar Stepanyan c87add7349 C#: fix class names for unique column indices (#2088) 2025-01-06 18:58:07 +00:00
Zeke Foppa 74d191f465 CLI - Confirm before publishing to non-local servers (#2086)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-03 21:40:03 +00:00
Mario Montoya df58e84eba Preserve the comments of the "cli.toml" on changes (#2002)
Signed-off-by: Mario Montoya <mamcx@elmalabarista.com>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2025-01-03 20:52:15 +00:00
Phoebe Goldman a4b46c5ddb Implement the identity host call and ctx.identity() in Rust (#2085) 2025-01-03 19:09:34 +00:00
Jeffrey Dallatezza e9e287b8aa Server-side implementation of incremental subscription changes (#2030) 2025-01-02 18:41:57 +00:00
Noa 4015237f6a Tweak scheduled_at macro syntax (#2054) 2025-01-02 18:26:44 +00:00
Mario Montoya 20d397cf2b Split Iter & IterByColRange types into Tx and MutTxId versions (#2043) 2024-12-31 16:14:30 +00:00
Ingvar Stepanyan 78b48c9a98 Reduce noisy C# compilation errors (#2067) 2024-12-30 23:48:50 +00:00
Zeke Foppa 43ad8be2b0 CLI - Remove deprecated use of the --project-path flag (#915)
Co-authored-by: Zeke Foppa <github.com/bfops>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-12-30 18:41:44 +00:00
Kim Altintop da0f83b6dd commitlog: Make memory segment behave like O_APPEND (#2072) 2024-12-20 11:28:19 +00:00
joshua-spacetime 10598ba5c0 fix: qualified projection columns (#2070) 2024-12-19 20:35:45 +00:00
Kim Altintop a191055f56 commitlog: Fix offset index truncation (#2073) 2024-12-19 15:44:10 +00:00
joshua-spacetime 1b31209627 fix: filter pushdown over table scan (#2063) 2024-12-16 22:48:44 +00:00
Ingvar Stepanyan 08a3f3210b Migrate C# ModuleDef to V9 (#1670) 2024-12-16 21:49:42 +00:00
joshua-spacetime 921170816c query rewriter (#2031) 2024-12-12 22:08:43 +00:00