809 Commits

Author SHA1 Message Date
Jorrit Wronski
a1510849f8 Do not compare the version number for external SQLite3 libraries 2022-12-13 11:01:56 +01:00
Sébastien Rombauts
bd5bf7996a Release 3.2.1
Bugfixes and cmake/meson build system fixes only
2022-12-12 18:14:25 +01:00
Sébastien Rombauts
833f007a0b Fix Github Actions subdir example to also triggers on pull requests
Also fix the introduced mixed endlines
2022-12-12 09:17:28 +01:00
Sébastien Rombauts
cd5f3ff085 Fix Github Actions to also triggers on pull requests
Not only on push from myself!
2022-12-12 09:12:28 +01:00
Sébastien Rombauts
a5c783db99
Merge pull request #389 [meson] add missing compile options from ninjaoflight/meson-fixes 2022-12-12 09:06:19 +01:00
Jonathan Guzmán
2d0d1aa69c
[meson] correct wrong option message 2022-12-11 20:06:42 -06:00
Jonathan Guzmán
c1b9420ba9
add missing compile options 2022-12-11 19:48:41 -06:00
Sébastien Rombauts
8e00fef2e5
Merge pull request #388 make std::filesystem optional from ninjaoflight/std-filesystem-optional 2022-12-11 22:46:39 +01:00
Jonathan Guzmán
8d36ab8304
make std::filesystem optional
Add a switch to disable std::filesystem so it can be optinally disabled
this should let users that older compilers versions to disable it
2022-12-11 14:39:49 -06:00
Sébastien Rombauts
55b30a2a3c
Merge pull request #386 [meson] Update SQLite from 3.39.3 to 3.40.0 from ninjaoflight/sqlite-meson-update 2022-12-11 21:37:34 +01:00
Sébastien Rombauts
2adcb24a09
Merge pull request #385 disable SQLITECPP_USE_STACK_PROTECTION when on MinGW from SRombauts/mingw-disable-stack-protection
Fix #382 #74
2022-12-11 21:36:37 +01:00
Sébastien Rombauts
c195cfed56
Merge pull request #387 Ensure that TEXT column is UTF-8 encoded before using sqlite3_column_blob() from dougnazar 2022-12-11 21:35:51 +01:00
Jonathan Guzmán
891e1cba5e
[meson] Update SQLite from 3.39.3 to 3.40.0 2022-12-11 14:19:14 -06:00
Sébastien Rombauts
0a365b952c
Merge pull request #383 Update SQLite from 3.39.3 to 3.40.0 (2022-11-16) from SRombauts/update-sqlite-340 2022-12-11 18:58:44 +01:00
Sébastien Rombauts
46ef117e1f Fix #382 #74 disable SQLITECPP_USE_STACK_PROTECTION when running on MinGW 2022-12-11 17:57:53 +01:00
Sébastien Rombauts
4ede25d867 Update SQLite from 3.39.3 to 3.40.0 (2022-11-16) 2022-12-11 16:53:21 +01:00
Sébastien Rombauts
4fc2eeecf0
Merge pull request #380 [Meson] fixes for meson project from ninjaoflight/windows-support 2022-12-09 09:11:03 +01:00
Jonathan Guzmán
bd2e1c6087
[Meson] build library as static on windows
as dynamic linking is not supported on windows we can give a warning
and compile the library as static itself
2022-12-08 22:17:17 -06:00
Jonathan Guzmán
b73d8446be
ignore cmakesettings.json 2022-12-08 22:03:58 -06:00
Jonathan Guzmán
57ebdb25fc
add missing trailing comma 2022-12-08 20:09:24 -06:00
Jonathan Guzmán
5cd0699302
add sample 2 demo executable 2022-12-08 18:55:08 -06:00
Jonathan Guzmán
47d9a31e4e
[meson] install headers by using install_subdir
use install_subdir instead of the install_headers in the meson config file
2022-12-08 12:40:51 -06:00
Jonathan Guzmán
ca985c30dc
install headers on proper subdir 2022-12-08 00:13:50 -06:00
Jonathan Guzmán
85eace84f2
[meson] add savepoint support 2022-12-08 00:05:27 -06:00
Jonathan Guzmán
2231923094
remove NON_AMBIGUOUS_OVERLOAD
this macro is no longer needed for the tests as part of the cleanup in
commit 091726aa65a059004dcbda16095c58fd7fc8781c
2022-12-07 21:50:57 -06:00
Jonathan Guzmán
70b15f9de8
[Meson] use gtest_main for fallback 2022-12-07 21:37:51 -06:00
Jonathan Guzmán
44d63d7485
[Meson] update gtest version to 1.12.1 2022-12-07 20:56:02 -06:00
Jonathan Guzmán
d639f6b86c
change meson version to 3.2.0 2022-12-07 20:45:40 -06:00
Jonathan Guzmán
02d43dc4f1
ignore clangd cache 2022-12-07 20:43:29 -06:00
Jonathan Guzmán
5e8cdbeb38
add explanations for samples in meson 2022-12-07 20:42:43 -06:00
Doug Nazar
77fc1f30b2 Ensure that TEXT column is UTF-8 encoded before using sqlite3_column_blob()
If the database is in a different format (ie. UTF-16) the memory that
sqlite3_column_blob() will point to by default will be the native (UTF-16)
encoding. Calling sqlite3_column_bytes() will basically be a noop for
a BLOB or a TEXT already in UTF-8. Otherwise it'll convert to TEXT w/UTF-8.

Run the 'basis' tests against both a UTF-8 and a UTF-16 database.
Reset & rerun query between tests blocks to reset column types.
Reorder a few getText()/getString() operations to ensure we test both ordering.
Don't try to convert random blob to TEXT. Will fail encoding conversion.
2022-12-02 14:03:03 -05:00
Sébastien Rombauts
a32e884e8c
Merge pull request #377 Some documentation fixes from cbielow/fix_doc 2022-11-25 12:04:34 +01:00
bielow
d416b40583 extend on reset() vs clearBindings() 2022-11-21 22:51:35 +01:00
bielow
ecc89c1f35 fix wording 2022-11-21 22:35:58 +01:00
bielow
967c03aea9 fix parameter name 2022-11-21 22:35:30 +01:00
bielow
8509d0d82f fix typo 2022-11-21 22:35:15 +01:00
bielow
a8ae026c4c fix typo in parameter name 2022-11-21 22:34:49 +01:00
bielow
9bd93cd0cc extend docs on column type 2022-11-21 22:34:21 +01:00
bielow
0440934c65 add docs on how to build the docs :) 2022-11-21 22:33:21 +01:00
bielow
56d5be9878 remove duplicate docs (avoid warning : argument 'aBusyTimeoutMs' from the argument list of SQLite::Database::setBusyTimeout has multiple @param documentation sections) 2022-11-21 21:48:23 +01:00
bielow
2ab6dbb185 run dogygen -u to update Doxyfile 2022-11-21 21:47:40 +01:00
Sébastien Rombauts
e74403264e
Merge pull request #374 Update googletest from vuhailongkl97/master 2022-10-21 14:32:35 +02:00
long.vu
5cfe977643 Update googletest 2022-10-21 10:31:00 +07:00
Sébastien Rombauts
c68f651a10
Merge pull request #277 from cuberite/cmake-scoping
Fix cmake scoping issues with packaged SQLite
2022-09-30 20:11:34 +02:00
Sébastien Rombauts
30f66469ee Fix line ending issues; back to Linux 2022-09-30 20:10:58 +02:00
Sébastien Rombauts
7117633266 Make find_dependency(SQLite3 REQUIRED) conditional as mentioned in #276 2022-09-30 20:02:38 +02:00
Sébastien Rombauts
279f490dbc Fixup format in README 2022-09-30 20:00:46 +02:00
Sébastien Rombauts
7747c23059 Add comments in the unit tests on how to bind a NULL value 2022-09-30 19:56:30 +02:00
Sébastien Rombauts
420113e912 Update README on how to compile without SQLITE_ENABLE_COLUMN_METADATA enabled for #276 2022-09-30 19:56:30 +02:00
Sébastien Rombauts
3ab4382b2f Add more options on default commands for valgrind in build.sh 2022-09-30 19:56:29 +02:00