Sébastien Rombauts
35aaf73191
Add implicit cast operators to char & short and their unsigned variants
...
Fix #179 error: conversion from 'SQLite::Column' to 'unsigned char' is ambiguous
2019-03-03 09:54:40 +01:00
Sébastien Rombauts
2e69a81ccf
Fix #189 unit test "Column.basis" failing on Visual Studio 2013
...
The implicit cast to std::string() would fallback to const char* with MSVC 2010-2013 (witch does not work with the NULL char in the middle)
Without it, trying to access a binary blob with implicit cast to string
ends up converting it to a C-style char*, damaging the data by truncating it to the first null character!
2019-03-03 08:55:18 +01:00
Sébastien Rombauts
ca45c67884
Fix #167 sqlite3 library cannot be built on Linux when dynamically linked
2019-03-03 00:18:00 +01:00
Sébastien Rombauts
5dcb9af594
Updated changelog with past year changes
2019-03-02 23:58:08 +01:00
Sébastien Rombauts
804879d27d
Revert OLD cmake policy & tested commented out
2019-03-02 23:46:59 +01:00
Sébastien Rombauts
df7d113a3b
Add test case to try to repro the reported ambiguous bind() int64_t on LP64 Android
2019-03-02 23:43:03 +01:00
Sébastien Rombauts
efa3da6534
Merge pull request #187 from IAmWebSA/master
...
Sqlite 3.27.1 -> 3.27.2 version bump
2019-03-02 23:36:08 +01:00
Sébastien Rombauts
2cb3cb2fef
Update copyright notice
2019-03-02 15:46:53 +01:00
IAmWebSA
71a37d5f60
Sqlite 3.27.1 -> 3.27.2 version bump
2019-03-01 08:35:19 +01:00
Sébastien Rombauts
4f60c90f32
Merge pull request #183 from IAmWebSA/master
...
Updated SQlite to 3.27.1
2019-02-13 09:10:36 +01:00
Sébastien Rombauts
9667c523a0
Merge pull request #157 from hubslave/patch-1
...
Add a move constructor to Database
2019-02-13 09:10:03 +01:00
Jorrit Wronski
890155363c
CMake compatibility ( #170 )
...
* Added compatibility with older and newer CMake versions, fixed an issue with the SQLite SEE tests
* Fixed include directory handling
* Add comments
2019-02-13 08:32:53 +01:00
Simon
7de6b1e8f7
Updated SQlite to 3.27.1
...
Updated SQlite to 3.27.1 to be on newest level
2019-02-13 08:19:44 +01:00
Sébastien Rombauts
6c7b79e103
Merge pull request #176 from tjhowse/master
...
Fix error message regarding git submodule init/update.
2019-02-03 20:07:13 +01:00
Travis Howse
28e72f3ec0
Fix error message regarding git submodule init/update.
2019-02-01 14:34:46 +10:00
Sébastien Rombauts
d1a610f2f3
Merge pull request #172 from JakubFornadel/patch-1
...
Update VariadicBind.h
2018-12-18 21:22:40 +01:00
Jakub Fornadel
b280587204
Update VariadicBind.h
...
Remove warning: expression result unused [-Wunused-value]
https://stackoverflow.com/questions/14370043/can-operators-be-overloaded-for-initializer-list-literals
2018-12-18 11:44:35 +01:00
Sébastien Rombauts
8465f05e7e
Merge pull request #169 from jowr/MSVC2017
...
- Added tests for all MSVC compilers available on AppVeyor
- Enabled tests for Debug and Release configuration
- Added some macro definitions to silence warnings/errors from googletest with MSVC 2017
2018-11-29 09:21:44 +01:00
Jorrit Wronski
a786257320
Formatted the MSVC<2015 warning properly
2018-11-28 22:06:05 +01:00
Jorrit Wronski
f4c9aedf09
Fix problems with MSVC 2017 and issue warnings for MSVC < 2015
2018-11-28 21:37:05 +01:00
Jorrit Wronski
be235ffa94
Add more tests with MSVC compilers
2018-11-28 21:30:26 +01:00
hubslave
65f719d82b
Add a move constructor to Database
...
This makes it possible to e.g. return Databases from functions. Gated behind a __cplusplus >= 201103L check for compatibility with older C++ versions.
2018-03-29 16:48:16 +03:00
Sébastien Rombauts
b454170da1
Update changelog with recent fixes
2018-02-23 17:16:49 +01:00
Sébastien Rombauts
d412dc06ff
Fix a warning regarding C compilation
2018-02-23 17:11:23 +01:00
Sébastien Rombauts
a41629f9ed
Fix #155 Statement::bind truncates long integer to 32 bits on x86_64 Linux
...
Reproduced the problem with a dedicated unit test, then fixed the bug.
Thanks @tszypenbejl for the clear analysis and the fix.
2018-02-23 17:10:53 +01:00
Sébastien Rombauts
d15a84e46e
Cleanup TODOs in CMakeLists.txt
2018-02-19 14:55:57 +01:00
Sébastien Rombauts
d020c5f694
Update copyright notices to 2018
2018-01-24 11:26:38 +01:00
Sébastien Rombauts
f7a3b00769
Add a .gitbugtraq file for Git GUIs (SmartGit/TortoiseGit) to show links to the Github issue tracker.
2017-12-31 19:12:48 +01:00
Sébastien Rombauts
0386c4359a
Fix README Markdown formatting
2017-12-30 18:35:16 +01:00
Sébastien Rombauts
eba308d064
Fix #141 Added reference to sqlite_orm: modern C++14, header only all in one file, no raw string queries, BSD-3 license
2017-12-30 18:23:06 +01:00
Sébastien Rombauts
2de458d2f4
Merge pull request #151 from gocarlos/master
...
added better instructions for using this project with cmake
2017-12-30 18:07:42 +01:00
Sébastien Rombauts
db24582227
Remove coverity scans that are triggered for every build of the matrix and stall the OSX build
2017-12-30 18:03:23 +01:00
Sébastien Rombauts
b4a932e48a
sqlite3_db_config() not using nullptr: cannot pass object of non-POD type 'std::__1::nullptr_t' through variadic function
2017-12-20 15:37:37 +01:00
Sébastien Rombauts
94b75d56c0
Add gcc 7 compiler to Travis-CI
2017-12-20 15:37:37 +01:00
Sébastien Rombauts
86985dfd1f
Fix nullptr detection with AppleClang
2017-12-17 21:42:23 +01:00
Carlos Gomes Martinho
ed30e7751d
style fix
2017-12-15 09:39:27 +01:00
Carlos Gomes Martinho
2019477b48
added better instructions for linux compilation
2017-12-15 09:38:02 +01:00
Sébastien Rombauts
48740ac7c4
Remove custom clang and osx image version
2017-12-13 19:02:16 +01:00
Sébastien Rombauts
5ed4a1ab79
nullptr compatibility: special detection for clang
2017-12-13 17:18:48 +01:00
Sébastien Rombauts
ae1703f1ce
Set Doxygen HTML timestamp to NO
2017-12-13 10:36:24 +01:00
Sébastien Rombauts
4f32da182c
Add my Utils.h file to define nullptr on C++98 and C++03 compilers
2017-12-13 10:34:55 +01:00
Sébastien Rombauts
3f3b174fb3
Travis CI : enable automatic Coverity scans
2017-12-06 08:49:29 +01:00
Sébastien Rombauts
0a70eb8e5d
Add a badge for the Coverity scan results
2017-12-06 00:12:35 +01:00
Sébastien Rombauts
1832a35fec
Merge pull request #148 from xforce/master
...
Allows long int for bind when used with name
2017-11-09 20:48:49 +01:00
Alexander Guettler
cebea884c3
Add the fix from a3160dcfc2f80f692f3477a67c202ff87f75fa5a also to the bind by name functions
2017-11-09 11:05:01 -08:00
Sébastien Rombauts
7c4689eb51
Update changelog
2017-11-06 13:03:06 +01:00
Sébastien Rombauts
2286e66d53
Fix a signed/unsigned warning
2017-11-06 13:02:46 +01:00
Sébastien Rombauts
a3160dcfc2
Add Statement binding for long int values to Fix #147
2017-11-06 13:02:23 +01:00
Sébastien Rombauts
eb065bf741
Update version to 2.2.0
2.2.0
2017-09-19 15:17:26 +02:00
Sébastien Rombauts
ab9e11e6c2
Updated changelog
2017-08-31 10:50:45 +02:00