summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* drop comptime from execMulti queryGravatar Luna2022-09-291-1/+1
| | | | not needed as we always prepare a dynamic statement
* remove debug printGravatar Vincent Rischmann2022-09-181-7/+0
|
* add the virtual table implementationGravatar Vincent Rischmann2022-09-182-0/+1327
|
* move test helpersGravatar Vincent Rischmann2022-09-182-44/+51
|
* move setFunctionArgument to helpers.setTypeFromValueGravatar Vincent Rischmann2022-09-182-50/+49
| | | | Will be used in the virtual table implementation
* move setFunctionResult to helpers.setResultGravatar Vincent Rischmann2022-09-182-37/+45
| | | | This function will also be used by the virtual table implementation.
* ci: test the loadable extensionGravatar Vincent Rischmann2022-09-181-0/+5
|
* examples: add a binary to test the zigcrypto loadable extensionGravatar Vincent Rischmann2022-09-181-0/+50
|
* examples: add the zigcrypto loadable extension exampleGravatar Vincent Rischmann2022-09-181-0/+59
|
* build: add the zigcrypto loadable extensionGravatar Vincent Rischmann2022-09-181-0/+34
|
* add wrapper functions when building a loadable extensionGravatar Vincent Rischmann2022-09-182-3/+817
|
* c: add header files specifically for building loadable extensionsGravatar Vincent Rischmann2022-09-182-0/+12470
|
* build: add the preprocess-files toolGravatar Vincent Rischmann2022-09-181-0/+15
|
* add a tool to preprocess filesGravatar Vincent Rischmann2022-09-181-0/+254
|
* c: add the sqlite3ext fileGravatar Vincent Rischmann2022-09-181-0/+701
|
* ci: stop testing on ubuntu 18.04Gravatar Vincent Rischmann2022-09-181-1/+1
|
* fuzz: improve readmeGravatar Vincent Rischmann2022-09-171-0/+5
|
* update sqlite bundled source code to 3.39.3Gravatar Vincent Rischmann2022-09-172-32/+100
|
* fix for latest zigGravatar Vincent Rischmann2022-09-171-3/+3
|
* fix build for latest zigGravatar Vincent Rischmann2022-09-171-4/+4
|
* remove pointless discardGravatar Vincent Rischmann2022-09-131-1/+0
|
* gitignore: explicitly ignore only the zig output dirsGravatar Vincent Rischmann2022-09-111-1/+2
|
* Merge branch 'update-sqlite'Gravatar Vincent Rischmann2022-09-032-3532/+5802
|\
| * update sqlite bundled source code to 3.39.2Gravatar Vincent Rischmann2022-09-032-3532/+5802
|/
* ci: disable tests for WindowsGravatar Vincent Rischmann2022-09-031-1/+1
| | | | | They fail for some unknown reason, disable until someone has time to debug them.
* drop the table in the testsGravatar Vincent Rischmann2022-08-311-4/+16
| | | | Necessary for running the tests with eg `-Din_memory=false -Ddbfile=/tmp/my.db`
* Remove unnecessary linkLibC() when static linkingGravatar Dmitry Matveyev2022-08-292-3/+1
|
* Fix error formatting in readme for the newest zig 3685+dae7aeb33Gravatar Dmitry Matveyev2022-08-291-1/+1
|
* fuzz: explain how to debugGravatar Vincent Rischmann2022-08-211-0/+9
|
* fuzz: reread the data from the tableGravatar Vincent Rischmann2022-08-211-0/+29
|
* ci: disable caching on WindowsGravatar Vincent Rischmann2022-08-211-0/+1
| | | | It's failing for this PR and I don't know why.
* fuzz: add a readme explaining how to use itGravatar Vincent Rischmann2022-08-211-0/+42
|
* build: force the use of stage1Gravatar Vincent Rischmann2022-08-211-0/+3
|
* readme: clearly document which Zig version is supportedGravatar Vincent Rischmann2022-08-201-0/+8
|
* `addPackage` is redundantGravatar okamo2022-08-171-1/+1
|
* change `[]const u8` to `std.build.FileSource`Gravatar okamo2022-08-171-1/+1
|
* change a way to use bundled sqlite3Gravatar okamo2022-08-171-1/+1
|
* make `c` public againGravatar Vincent Rischmann2022-08-151-1/+1
| | | | Accidentally made it private during a refactoring
* require SQLite >= 3.21.0Gravatar Vincent Rischmann2022-08-143-7/+13
| | | | | | | | | | | | After some testing it turns out we need at least SQLite 3.21.0 to compile. We _could_ work around this and make zig-sqlite work with older SQLite versions but I don't think it's necessary because: * "old" distributions like Debian Buster, RHEL 8 ship with SQLite > 3.21.0 * in any case if people want to build for OSes where SQLite is too old they can use the bundled source code.
* ci: only run the workflow on a push to masterGravatar Vincent Rischmann2022-08-061-0/+1
| | | | | | | | With both `push` and `pull_request` a push to an open PR triggers two redundant builds which we should avoid. This should have minimal impact since I typically open a PR when working on a feature.
* ci: cache the zig cache filesGravatar Vincent Rischmann2022-08-061-0/+8
|
* ci: cancel in progress jobGravatar Vincent Rischmann2022-08-061-0/+4
|
* ci: run the workflow on all changesGravatar Vincent Rischmann2022-08-061-8/+0
|
* move versionGreaterThanOrEqualTo in sqlite.zigGravatar Vincent Rischmann2022-08-052-4/+7
| | | | We will need it later on.
* move Text in sqlite.zigGravatar Vincent Rischmann2022-08-052-4/+4
| | | | | | | | | At first Blob and Text were defined in query.zig because they were used for bind parameters, but now we also use them for reading text or blob columns appropriately. Both types now live in sqlite.zig which query.zig already imports so it doesn't change anything.
* move DetailedError, do some cleanupGravatar Vincent Rischmann2022-08-042-49/+53
| | | | | | | | DetailedError uses getLastErrorOffset, which must check the SQLite version with versionGreaterThanOrEqualTo. Instead of publicly exposing versionGreaterThanOrEqualTo in sqlite.zig move DetailedError in errors.zig
* use a single cImportGravatar Vincent Rischmann2022-08-043-6/+5
| | | | | | | | | Two cImport calls generate incompatible code: we can't use the structs generated in sqlite.zig in functions in errors.zig for example Up until now it wasn't actually a problem since in errors.zig we only ever used constants which does work, but now we want to introduce functions in this file.
* add greaterThanOrEqualsToGravatar jiacai20502022-08-041-5/+9
|
* ci: also trigger on ref creationGravatar Vincent Rischmann2022-08-021-0/+1
|
* ci: test on macOS 12Gravatar Vincent Rischmann2022-08-021-1/+1
|