Sébastien Rombauts
36cf2cb57b
Merge pull request #288 Allow building of sqlite JSON1 extension when building internal sqlite library from zxey/feature-json1-extension
2020-08-03 16:06:20 +02:00
zxey
0d2294e36f
Allow building of sqlite JSON1 extension when building internal sqlite library
2020-07-29 14:38:26 +02:00
Sébastien Rombauts
9106e8da0a
Add CMake option to toggle stack protection #286 from chrisdalke/master
...
Add CMake option to toggle stack protection
2020-07-12 09:28:17 +02:00
Chris Dalke
1aa82864ce
Add CMake option to toggle stack protection hardening
2020-07-11 23:09:38 -04:00
Sébastien Rombauts
f757b640b1
Merge pull request #284 Add SQLITE_OPEN_FULLMUTEX flag from rwrx/fullmutex-flag
2020-06-05 22:48:53 +02:00
Tomas
8ecadfd629
Add SQLITE_OPEN_FULLMUTEX flag
2020-06-04 14:45:47 +02:00
Sébastien Rombauts
6a5a24f9a9
Fix FindSQLiteCpp for find_package(SQLiteCpp) to work without any requested version
2020-06-01 16:23:22 +02:00
Sébastien Rombauts
7edd337591
Update SQLite3 from 3.30.1 to 3.32.1 (2020-05-25)
2020-06-01 13:25:50 +02:00
Sébastien Rombauts
f0cd9e3586
Merge pull request #278 from sum01/fix_cmake_config
...
Add missing Threads dependency to Config.cmake.in
2020-05-14 21:02:59 +02:00
sum01
42f476d918
Add missing Threads dependency to Config.cmake.in
...
Without this, systems that linked against Threads::Threads (namely
Linux) don't "just work" with find_package(SQLiteCpp), but instead
require you to find & link against Threads manually.
So this fixes that by finiding it for you, if it was used.
2020-05-14 13:50:31 -04:00
Sébastien Rombauts
a5e1c70883
Merge pull request #275 Add a method on Statement to get the declared type of a column. from daniel-schmidt/master
2020-03-27 08:09:20 +01:00
Daniel Schmidt
0c9d4a3f36
Improved name of new function, documentation and tests.
2020-03-26 09:19:27 +01:00
Daniel Schmidt
9dee407ff0
Added unit tests for new function on statements.
2020-03-25 16:20:10 +01:00
Daniel Schmidt
98aff92081
Implemented getDeclaredType with documentation.
2020-03-16 15:26:30 +01:00
Sébastien Rombauts
01cf6f2d2a
Merge pull request #274 Install both cmake files into same lib directory from tcraigtyler/master
...
Install cmake files into same directory
2020-02-11 07:46:00 +01:00
Craig Tyler
9ef6dd5391
Install cmake files into same directory
2020-02-10 17:03:38 -08:00
Sébastien Rombauts
be1a8eeace
Release 3.0.0
2020-01-31 09:43:28 +01:00
Sébastien Rombauts
0903df8b4f
Add a docs/ directory with a copy of the README.md for Github web page
2020-01-30 21:12:26 +01:00
Sébastien Rombauts
5fd6b9c9b3
Merge pull request #269 from BioDataAnalysis/emmenlau_add_simple_cpp11
...
CMakeLists.txt: Make c++11 optional unless building tests
2020-01-30 14:25:23 +01:00
Mario Emmenlauer
b5efb40ad7
CMakeLists.txt: Better handling of c++ standard. Set base level to c++11, but allow other versions
2020-01-30 13:03:43 +01:00
Sébastien Rombauts
adad71b1db
Add an example2 based on SQLiteCpp_Example repository
...
Demonstrates how to use SQLiteCpp as a subdirectory (out of tree) of a CMake project.
2020-01-29 23:29:13 +01:00
Sébastien Rombauts
801ed9106d
Remove duplicate target_include_directories() where /include is now public
...
Thanks to @emmenlau
2020-01-29 22:28:20 +01:00
Sébastien Rombauts
76bd3b2f54
Fix #267 'SQLiteCpp/SQLiteCpp.h' file not found
...
Issue introduced by Commit a166062c Significantly improved support for external sqlite3, and generalized thread and dl libs on Unix/Linux/Mac
2020-01-29 21:57:43 +01:00
Sébastien Rombauts
ffc1a3ef65
Fix the SQLITECPP_PURE_FUNC macro to actually use the correct "pure" attribute
2020-01-14 10:31:27 +01:00
Sébastien Rombauts
13759e15ef
Merge pull request #243 adding a pure attribute to getIndex() from KOLANICH/efficiency_2
...
Efficiency - adding a pure attribute to getIndex()
2020-01-14 09:43:13 +01:00
Sébastien Rombauts
91fe2d75f5
Merge pull request #234 support for external sqlite3 from BioDataAnalysis/emmenlau_support_external_sqlite
...
Added support for external sqlite3
2020-01-13 22:23:37 +01:00
Mario Emmenlauer
a166062c18
Significantly improved support for external sqlite3, and generalized thread and dl libs on Unix/Linux/Mac
2020-01-13 21:12:25 +01:00
KOLANICH
51bd6d66ea
Added a pure method. Should improve efficiency
2020-01-13 12:56:14 +03:00
Sébastien Rombauts
8485bb7d29
Add comments and TODO in Travis CI build matrix
2020-01-12 22:12:10 +01:00
Sébastien Rombauts
a0f72c7797
Hide logs of goto in windows build.bat script
2020-01-12 22:11:38 +01:00
Sébastien Rombauts
9108bbb60f
Add CMake messages about Googletest link / compilation
2020-01-12 22:07:23 +01:00
Sébastien Rombauts
eadd166d75
Fix a warning testing return of strncmp
2020-01-12 22:05:53 +01:00
Sébastien Rombauts
a99d48d3c0
Merge pull request #257 from SRombauts/statement-unit-tests
...
Improve Statement unit tests coverage (bind by name with a std::string)
2020-01-09 15:01:36 +01:00
Sébastien Rombauts
cb421a8518
Merge pull request #242 from KOLANICH/efficiency_1
...
- Added a `getIndex` method and used it.
- Improved code reuse.
- Moved some functions from sources into headers.
2020-01-09 14:09:39 +01:00
Sébastien Rombauts
f70374262d
Improve Statement unit tests coverage (bind by name with a std::string)
2020-01-09 14:00:58 +01:00
Sébastien Rombauts
97b2a070ed
Update the changelog with recent improvements
2020-01-07 23:17:38 +01:00
Sébastien Rombauts
ab8ff7376c
Fix linking with system library (libsqlite3)
...
Add FindSQLite3 from CMake v3.14 in cmake subdir custom CMake modules like FindSQLiteCpp
Add this cmake subdir to CMAKE_MODULE_PATH
Add a Travis CI build configuration using the libsqlite3-dev packagee from the Linux/Ubuntu distribution
2020-01-07 22:09:29 +01:00
Sébastien Rombauts
a7d9456f05
Re-enable Coverity static analysis
...
Manual execution of travisci_build_coverity_scan.sh as a workaround for not building on every job of the build matrix
2020-01-05 12:04:26 +01:00
Sébastien Rombauts
852d66d631
Travis CI build status ?branch=master
2020-01-04 22:31:56 +01:00
Sébastien Rombauts
3757998c16
Improve test coverage of Database: improve tests & remove a variant of createFunction()
2020-01-04 22:28:55 +01:00
Sébastien Rombauts
0fd0746863
Merge pull request #253 Keep inline functions for GCov code coverage
...
Keep inline functions for GCov code coverage
2020-01-04 22:18:57 +01:00
Sébastien Rombauts
a879fbbe9f
Add -fkeep-inline-functions COMPILE_FLAGS to SQLiteCpp
...
Prevent the compiler from removing the unused inline functions so that they get tracked as "non-covered"
This will reduce the current coverage from (incorrect) 100% to realistic 9%"
2020-01-04 22:18:10 +01:00
Sébastien Rombauts
dcc623d745
Remove some redundant inline keywords
2020-01-04 20:46:11 +01:00
Sébastien Rombauts
d4bafc0e68
Merge pull request #252 Run Valgrind memcheck on Travis CI from SRombauts/travis-valgrind
...
Run Valgrind memcheck on Travis CI
2020-01-04 19:20:40 +01:00
Sébastien Rombauts
4f4d833868
Add a new non static variant for getHeaderInfo() (TODO: need unit tests)
2020-01-04 19:11:24 +01:00
Sébastien Rombauts
ddb4929ddb
Fix and improve read-header unit tests, as well as backup tests
2020-01-04 19:10:32 +01:00
Sébastien Rombauts
55de873f66
Fix Database::getHeaderInfo() for case where the file is not even 100 bytes long
2020-01-04 18:54:27 +01:00
Sébastien Rombauts
5a1fa743e5
Add Valgrind to Travis CI, and improve the build Matrix with more variables
...
Should detect the slight bug we currently have in our test of Database read header
2020-01-04 18:07:29 +01:00
Sébastien Rombauts
c06db7f48b
editorconfig: only 2 space indentation for YAML CI configuration files
2020-01-04 17:38:16 +01:00
Sébastien Rombauts
9ea0cffc15
Replace Database::backup() "C" implementation by calling the Backup class
2020-01-03 22:58:42 +01:00