Commit Graph

954 Commits

Author SHA1 Message Date
Ingvar Stepanyan bac9df4edc Move IndexType and Consume helper to internals 2024-06-25 12:12:52 +01:00
Ingvar Stepanyan fadf4dd451 Extract reducer definition to a separate file 2024-06-25 12:12:51 +01:00
Ingvar Stepanyan de33907186 Extract table utils into ITable interface 2024-06-25 12:12:51 +01:00
Ingvar Stepanyan b829cfc99e NFC: simplify field extraction in Filter 2024-06-25 12:12:50 +01:00
Ingvar Stepanyan d0331544c0 Remove old dependency on LINQ optimiser 2024-06-25 12:12:50 +01:00
Ingvar Stepanyan 94338474c3 Move Marshallers under corresponding classes 2024-06-25 12:12:50 +01:00
Ingvar Stepanyan 30c21deec4 Extract exceptions to a separate file 2024-06-25 12:12:49 +01:00
Ingvar Stepanyan 41556e2334 Accept raw index directly in IndexDef constructor
Accessing Internal.FFI namespace just to wrap-unwrap the struct doesn't make much sense, as in this context we should know what we're passing even without a newtype.
2024-06-25 12:12:48 +01:00
Ingvar Stepanyan ff78ce92b8 Verify that codegen result compiles in dotnet test 2024-06-25 12:12:48 +01:00
Ingvar Stepanyan de29705326 Add Builtins.cs with Unit, Identity, and Address
Moves builtin types to a new file under a top-level SpacetimeDB namespace and refactors Identity and Address to be more like those used in the client C# SDK, so that they could be shared between the two SDKs.
2024-06-25 12:12:47 +01:00
Ingvar Stepanyan a87f859cdb Move Module into Internal namespace 2024-06-25 12:12:47 +01:00
Ingvar Stepanyan 9ae0ec3a61 Restore buffer FFI annotation
This was (accidentally?) commented out in the recv style ABI PR.

It worked sort of by accident regardless, but those are important for FFI + GC integration, so uncommenting back.
2024-06-25 12:12:46 +01:00
Ingvar Stepanyan 176195dab4 Move Filter into Internal namespace 2024-06-25 12:12:46 +01:00
Ingvar Stepanyan c4c8e0bcde Rename RawBindings -> FFI 2024-06-25 12:12:46 +01:00
Ingvar Stepanyan 146be9bf55 Move BSATN internals into a subfolder 2024-06-24 22:01:04 +01:00
Ingvar Stepanyan 223bc5e1cb Specify & fix root namespace for each project 2024-06-24 22:00:59 +01:00
Ingvar Stepanyan 86ed58daad Auto-remove all unnecessary usings 2024-06-24 20:50:59 +01:00
Zeke Foppa 637a6547d9 CLI - Update help text suggesting spacetime server fingerprint to have the correct -s param (#1457)
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-06-24 18:42:05 +00:00
Kim Altintop 4c0185d93c core: Replace host scheduler on update (#1453) 2024-06-24 17:39:34 +00:00
Kim Altintop c19c0d45c4 core: Simplify custom bootstrap (#1404) 2024-06-21 05:42:04 +00:00
Kim Altintop 60c438d112 Smoketest auto-disconnect after restart (#1367) 2024-06-20 05:59:13 +00:00
Kim Altintop 384591adf5 core: Downgrade host log verbosity (#1446) 2024-06-19 10:53:06 +00:00
Mazdak Farrokhzad a93bd493d1 Fix index removal and additions + add smoketest (#1444) 2024-06-19 08:29:46 +00:00
Ingvar Stepanyan 137f26da5f Restructure NuGet packaging (#1440)
Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
Signed-off-by: Ingvar Stepanyan <me@rreverser.com>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2024-06-18 19:48:46 +00:00
Ingvar Stepanyan c94a55178c Roslyn cacheability testing and fixes (#1420) 2024-06-18 19:07:48 +00:00
Zeke Foppa dcc70b82f2 Bump version to 0.10.1 (#1443)
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-06-17 23:34:13 +00:00
Ingvar Stepanyan 1d89643af5 Implement the module rng proposal for C# (#1425) 2024-06-17 15:23:14 +00:00
joshua-spacetime 8a3364ea69 perf(1351): Add a row count metric for subscriptions (#1435) 2024-06-14 18:32:22 +00:00
joshua-spacetime 19b7815878 refactor: Reconfigure histogram buckets for certain metrics (#1436) 2024-06-14 18:30:02 +00:00
Zeke Foppa cceb8c04b9 Update tools/publish-crates.sh (#1426)
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-06-14 18:06:30 +00:00
Mazdak Farrokhzad b1442fc2f1 HACK: Tweak schema_updates to allow adding/removing non-unique indices (#1434) 2024-06-14 14:40:14 +00:00
Noa 66112bbdf0 Impl subscribe subcommand & subscription smoketests (#1343)
Signed-off-by: Kim Altintop <kim@eagain.io>
Co-authored-by: Kim Altintop <kim@eagain.io>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2024-06-14 09:16:05 +00:00
Mario Montoya 814dd5b738 Add small 'realistic' workload benchmark integration test (#714) 2024-06-13 18:28:35 +00:00
Mazdak Farrokhzad e808c1e117 TableDef: clarify generated_* methods (#1419) 2024-06-13 17:46:47 +00:00
Kurtis Mullins 910f605fca Include BSATN.Codegen in nuget pack (#1424) 2024-06-13 17:17:39 +00:00
Ingvar Stepanyan 4b7eff66da Generate tagged enums in C# client code (#1421) 2024-06-13 16:32:46 +00:00
joshua-spacetime 9e0d1c9967 refactor: Record txn-level metrics in a single utility (#1414) 2024-06-13 16:30:07 +00:00
joshua-spacetime 44832f2695 chore: Remove already tracked subscription counter (#1412) 2024-06-13 15:26:39 +00:00
joshua-spacetime 220c488b1f fix(1409): Counter metric names (#1411) 2024-06-13 15:26:24 +00:00
Mazdak Farrokhzad 220ff471d3 Remove unused file table.rs (#1417) 2024-06-13 12:27:21 +00:00
Noa 6e052cb8dc Fix auth regression (#1413)
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2024-06-12 22:57:30 +00:00
Ingvar Stepanyan 2b7b19ec18 [C#] [NFC] Use semantic model's type where possible (#1401) 2024-06-12 21:50:51 +00:00
Ingvar Stepanyan e73ea7932c Add Option SDK tests (#1405) 2024-06-12 21:16:08 +00:00
Ingvar Stepanyan 0b99e10735 [NFC] [C#] Minor simplifications to type checks in Roslyn codegen (#1400) 2024-06-12 17:34:21 +00:00
joshua-spacetime 2ea93c2b5b chore: Remove max value metrics (#1402) 2024-06-12 16:59:46 +00:00
Ingvar Stepanyan cb2fbb9c4e [C#] Add Roslyn shapshot tests (#1399) 2024-06-11 19:04:16 +00:00
Kim Altintop 0fa94cedc1 durability: Skip fsync if nothing changed (#1360) 2024-06-11 18:10:33 +00:00
Kim Altintop 299789a138 core: Determine dangling clients from st_clients (#1366)
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2024-06-11 18:07:18 +00:00
Phoebe Goldman 6c45e76a98 Integrate snapshotting into core (#1344) 2024-06-11 12:40:02 +00:00
Mario Montoya 114aa994bf Fix output of binary, Identity, Address for SQL output and the 'Display' of them to show a full hex value (#1087) 2024-06-10 16:49:46 +00:00