summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * add more testsGravatar Vincent Rischmann2020-12-301-28/+83
| |
| * introduce *Alloc methodsGravatar Vincent Rischmann2020-12-301-48/+109
|/ | | | | | | | | | Stmt.oneAlloc, Db.oneAlloc and Iterator.nextAlloc do the same thing as Stmt.one, Db.one, Iterator.next respectively but they can allocate memory. This is useful when reading TEXT or BLOB columns because if you can't allocate memory the only way to read these types is with an array which means you must have an idea of the maximum size of the column.
* document OpenFlagsGravatar Vincent Rischmann2020-12-301-0/+1
|
* add more tests for failuresGravatar Vincent Rischmann2020-12-301-0/+21
| | | | | * one for Db.init * one for Db.prepare
* ci: use the github repoGravatar Vincent Rischmann2020-12-304-4/+4
|
* remove loggingGravatar Vincent Rischmann2020-12-301-3/+0
|
* add Error, DetailedErrorGravatar Vincent Rischmann2020-12-301-0/+33
|
* update readme for Db.initGravatar Vincent Rischmann2020-12-301-3/+10
|
* document ThreadingMode and InitOptionsGravatar Vincent Rischmann2020-12-301-1/+19
|
* remove the allocator from Db and Db.initGravatar Vincent Rischmann2020-12-301-21/+18
|
* ci: stop sending an email on failureGravatar Vincent Rischmann2020-12-294-20/+0
|
* add initOptions for testingGravatar Vincent Rischmann2020-12-291-14/+24
|
* add InitOptionsGravatar Vincent Rischmann2020-12-291-15/+29
|
* add the threading modeGravatar Vincent Rischmann2020-12-291-0/+14
|
* readme: replace sourcehut repository url with githubGravatar Vincent Rischmann2020-12-291-1/+1
|
* Merge branch 'rename-build-option'Gravatar Vincent Rischmann2020-12-287-10/+32
|\
| * ci: rename is_ci to in_memoryGravatar Vincent Rischmann2020-12-285-6/+28
| | | | | | | | also test both modes
| * rename is_ci to in_memoryGravatar Vincent Rischmann2020-12-282-4/+4
|/
* update readme with the library statusGravatar Vincent Rischmann2020-12-271-0/+6
|
* fix some typosGravatar Vincent Rischmann2020-12-271-2/+2
|
* readBytes can simply take the allocator instead of the optionsGravatar Vincent Rischmann2020-12-271-16/+16
|
* don't pass the options to readInt, readFloat, readBoolGravatar Vincent Rischmann2020-12-271-9/+9
|
* require the callers to provide a 0-terminated stringGravatar Vincent Rischmann2020-12-271-6/+2
|
* ci: add the build manifest for debian/buster aarch64Gravatar Vincent Rischmann2020-12-231-0/+27
|
* only Linux is supportedGravatar Vincent Rischmann2020-12-221-1/+1
|
* add the github workflowGravatar Vincent Rischmann2020-12-221-0/+30
|
* Merge branch 'document-iterator'Gravatar Vincent Rischmann2020-12-211-1/+55
|\
| * document the iteratorGravatar Vincent Rischmann2020-12-211-1/+55
|/
* Merge branch 'improve-readme'Gravatar Vincent Rischmann2020-12-211-0/+29
|\
| * readme: document the one methodsGravatar Vincent Rischmann2020-12-211-0/+29
|/
* Merge branch 'db-one'Gravatar Vincent Rischmann2020-12-211-0/+27
|\
| * add the Db.one() convenience functionGravatar Vincent Rischmann2020-12-211-0/+27
|/
* readme: Bytes doesn't exist, it's either Blob or TextGravatar Vincent Rischmann2020-12-211-1/+2
|
* readme: fix spellingGravatar Vincent Rischmann2020-12-211-1/+1
|
* Merge branch 'read-pointer'Gravatar Vincent Rischmann2020-12-211-27/+73
|\
| * implement reading of sentineled slicesGravatar Vincent Rischmann2020-12-211-25/+50
| |
| * add the readPointer methodGravatar Vincent Rischmann2020-12-211-3/+24
|/
* Merge branch 'refactor'Gravatar Vincent Rischmann2020-12-211-82/+124
|\
| * add commentsGravatar Vincent Rischmann2020-12-211-0/+3
| |
| * add commentsGravatar Vincent Rischmann2020-12-211-2/+42
| |
| * make readBytes read Blob, Text as well as []const u8, []u8Gravatar Vincent Rischmann2020-12-211-38/+42
| |