summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update readme, fix typoGravatar Vincent Rischmann2021-01-241-1/+1
|
* update readmeGravatar Vincent Rischmann2021-01-241-5/+7
|
* Merge pull request #5 from vrischmann/sqlite-sourceGravatar Vincent Rischmann2021-01-249-70/+244110
|\ | | | | embed sqlite source code
| * ci: try to fix the build with sqlite bundledGravatar Vincent Rischmann2021-01-241-1/+1
| | | | | | | | | | For some reason the build fails with an undefined symbol on Debian aarch64, apparently can be fixed by using musl instead of glibc.
| * ci: test both in-memory and filesystemGravatar Vincent Rischmann2021-01-245-21/+33
| |
| * build: default to in-memory testsGravatar Vincent Rischmann2021-01-241-2/+2
| | | | | | | | | | | | | | Now that we use `std.testing.tmpDir` we're actually hitting the disk, which made me realize that the tests run significantly slower than before, because on my system `/tmp` is a tmpfs which is already in memory.
| * rework of the test database initializationGravatar Vincent Rischmann2021-01-241-45/+48
| | | | | | | | | | | | | | | | The hardcoded path we used is invalid on Windows, instead use a temp directory from std.testing.tmpDir. Need to do some refactoring too because now we compute the database file path and therefore need an allocator while the Mode is in use in Db.init.
| * ci: disable the bundled test on DebianGravatar Vincent Rischmann2021-01-091-3/+5
| |
| * ci: test with the bundled source tooGravatar Vincent Rischmann2021-01-093-0/+12
| |
| * bundle the sqlite amalgamationGravatar Vincent Rischmann2021-01-092-0/+243991
| |
| * allow building with the bundled sqlite source codeGravatar Vincent Rischmann2021-01-091-9/+29
|/
* readme: update type mappings rulesGravatar Vincent Rischmann2021-01-061-2/+5
|
* Merge pull request #15 from vrischmann/optionalGravatar Vincent Rischmann2021-01-061-1/+58
|\ | | | | Optional
| * allow binding and reading optionalsGravatar Vincent Rischmann2021-01-061-2/+32
| | | | | | | | Also allow binding the '(null)' value.
| * add a test for optionalsGravatar Vincent Rischmann2021-01-061-0/+27
| |
| * fix compile error in readFieldGravatar Vincent Rischmann2021-01-061-1/+1
|/
* Merge pull request #12 from vrischmann/read-pointersGravatar Vincent Rischmann2021-01-062-33/+80
|\ | | | | Read pointers
| * readme: mention that pointers are allowedGravatar Vincent Rischmann2021-01-061-0/+2
| |
| * add a test that reads only pointersGravatar Vincent Rischmann2021-01-061-0/+35
| |
| * implement reading a value into a one-element pointerGravatar Vincent Rischmann2021-01-061-1/+6
| |
| * add readFieldGravatar Vincent Rischmann2021-01-061-15/+20
| |
| * reorder fields to workaround a compiler bugGravatar Vincent Rischmann2021-01-061-17/+17
| |
* | ci: aarch64 builds are super slow, don't do them twiceGravatar Vincent Rischmann2021-01-061-4/+0
|/
* fix typo in readmeGravatar Vincent Rischmann2021-01-051-1/+1
|
* fix readmeGravatar Vincent Rischmann2021-01-051-1/+1
|
* Merge pull request #14 from Sobeston/patch-1Gravatar Vincent Rischmann2021-01-051-1/+1
|\ | | | | logging file open {} -> {s}
| * logging file open {} -> {s}Gravatar Sebastian2021-01-051-1/+1
|/
* convert {} to {s} or {d}Gravatar Vincent Rischmann2021-01-032-5/+5
|
* readme: remove obsolete statementGravatar Vincent Rischmann2021-01-031-1/+1
|
* readme: fix code examplesGravatar Vincent Rischmann2021-01-031-8/+10
|
* add a test for binding a .One pointerGravatar Vincent Rischmann2021-01-021-0/+22
|
* Merge pull request #13 from vrischmann/bind-string-literalGravatar Vincent Rischmann2021-01-021-3/+27
|\ | | | | Bind string literal
| * stop special casing []const u8 and []u8, do it in the .Pointer switch armGravatar Vincent Rischmann2021-01-021-3/+6
| |
| * allow binding a pointerGravatar Vincent Rischmann2021-01-021-0/+1
| |
| * add a test that binds a string literalGravatar Vincent Rischmann2021-01-021-0/+20
|/
* add bindFieldGravatar Vincent Rischmann2021-01-021-24/+31
|
* fix the comment on Stmt.one and Stmt.allGravatar Vincent Rischmann2021-01-021-3/+1
|
* fix compile errorGravatar Vincent Rischmann2021-01-011-1/+1
|
* check the weight field tooGravatar Vincent Rischmann2021-01-011-0/+1
|
* Merge branch 'statement-reuse'Gravatar Vincent Rischmann2021-01-011-0/+21
|\
| * readme: document statement reuseGravatar Vincent Rischmann2021-01-011-0/+21
|/ | | | Fixes #3
* build: set the targetGravatar Vincent Rischmann2020-12-311-0/+3
|
* Merge pull request #11 from vrischmann/map-errorsGravatar Vincent Rischmann2020-12-312-10/+277
|\ | | | | Map errors
| * fix error checks based on the sqlite versionGravatar Vincent Rischmann2020-12-311-10/+38
| |
| * fix tests with the new errorsGravatar Vincent Rischmann2020-12-311-2/+2
| |
| * add proper error typesGravatar Vincent Rischmann2020-12-312-8/+247
|/ | | | | | | * Add SQLiteError and various SQLiteExtendedXYZError * Replace old errors with the SQLite ones where appropriate Fixes #8
* Merge pull request #9 from vrischmann/split-allocGravatar Vincent Rischmann2020-12-312-168/+331
|\ | | | | Split allocating from non-allocating methods
| * fix readmeGravatar Vincent Rischmann2020-12-311-2/+2
| | | | | | | | | | * we can't actually bind arrays. * arrays require a sentinel
| * readme: document both allocating and non-allocating methodsGravatar Vincent Rischmann2020-12-311-76/+101
| |
| * add pragmaAllocGravatar Vincent Rischmann2020-12-301-21/+43
| |