881 Commits

Author SHA1 Message Date
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
Kacperos155
cdafab0024 Small improvements & code cleanup
# Re-introduce the unique_ptr with custom deleter needed to avoid including sqlite.h in Backup.h
2022-09-18 14:51:32 +02:00
Sébastien Rombauts
36a2cb3153
Merge pull request #368 from SRombauts/update-sqlite
Update SQLite from 3.39.2 to 3.39.3 (2022-09-05)
2022-09-18 14:32:18 +02:00
Sébastien Rombauts
f70c9f7a7b Fix compilation: Revert "Use transparent comparator in mColumnNames to avoid creating std::string when comparing" 2022-09-18 14:26:41 +02:00
Sébastien Rombauts
c7cffad617
Merge pull request #360 from Kacperos155/small_improvements
Small improvements and code cleaning
2022-09-18 14:16:54 +02:00
Sébastien Rombauts
5670c160e3 Update SQLite from 3.39.2 to 3.39.3 (2022-09-05) 2022-09-18 14:16:23 +02:00
Sébastien Rombauts
07b24456ed
Merge pull request #366 from FrankXie05/vcpkg-instructions
Add vcpkg installation instructions
2022-09-18 13:51:03 +02:00
FrankXie
453af330d4 Add vcpkg installation instructions 2022-09-08 02:09:07 -07:00
Sébastien Rombauts
ec887cf05e
Merge pull request #364 from SRombauts/convert-remaining-long-types
Removal of remaining long APIs
2022-07-25 09:18:14 +02:00
Sébastien Rombauts
3d149cc62f Removal of removing long APIs 2022-07-24 22:03:55 +02:00
Sébastien Rombauts
b611b5cf28 Update changelog 2022-07-24 21:47:12 +02:00
Kacperos155
d9f8be8326 Merge branch 'small_improvements' of https://github.com/Kacperos155/SQLiteCpp into small_improvements 2022-07-24 19:11:43 +02:00
Kacperos155
accceeecb9 Restore Backup destructor & small style changes 2022-07-24 19:07:03 +02:00
Kacperos155
11f33af197 .gitignore: add ".vs " directory 2022-07-24 19:07:03 +02:00
Kacperos155
04a4c2e8ef Use transparent comparator in mColumnNames to avoid creating std::string when comparing 2022-07-24 19:07:03 +02:00
Kacperos155
d9e5a74773 Small improvements & code cleanup 2022-07-24 19:05:53 +02:00
Kacperos155
e576abaf7c Restore Backup destructor & small style changes 2022-07-24 18:54:00 +02:00
Sébastien Rombauts
c5ac06dfba
Merge pull request #362 from SRombauts/update-sqlite
Update SQLite from 3.37.2 to 3.39.2 from 2022-07-21
2022-07-24 18:44:48 +02:00
Sébastien Rombauts
aca5fa985e
Merge pull request #354 from ninjaoflight/windows-migration
Windows improved support (meson)
2022-07-24 18:42:36 +02:00
Sébastien Rombauts
bc80914ddf
Merge branch 'master' into windows-migration 2022-07-24 18:41:45 +02:00