850 Commits

Author SHA1 Message Date
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
Sébastien Rombauts
955ad030d0 README: how to run valgrind to search for memory leaks 2022-09-30 19:19:17 +02:00
Sébastien Rombauts
ac7541aaf7 Add README to example1 and other doc updates 2022-09-30 09:08:11 +02:00
Sébastien Rombauts
45e7914b16
Merge pull request #371 from SRombauts/appveyor-vs-2022
Add Visual Studio 2022 to AppVeyor CI/CD
2022-09-29 21:55:45 +02:00
Sébastien Rombauts
9882a5ee1d Add Visual Studio 2022 to AppVeyor CI/CD 2022-09-29 18:40:40 +02:00
Sébastien Rombauts
404fa6eaac Add Visual Studio 2022 to AppVeyor CI/CD
Update documents about supported platforms
2022-09-29 18:15:25 +02:00
Sébastien Rombauts
3f4cb2adfc
Merge pull request #370 Don't link anymore with Visual Studio's static runtime by default from SRombauts/dont-enforce-static-linking 2022-09-29 17:59:49 +02:00
Sébastien Rombauts
42f7013983 Disable SQLITECPP_USE_STATIC_RUNTIME by default
The option SQLITECPP_USE_STATIC_RUNTIME is now only defined for MSVC
and its default value is now dependent of SQLITECPP_BUILD_TESTS
2022-09-29 15:08:52 +02:00
Sébastien Rombauts
b85df14905 Release 3.2.0 2022-09-18 15:28:42 +02:00
Sébastien Rombauts
ffe155c4b8 Copyright notice 2022 2022-09-18 15:25:14 +02:00