480 Commits

Author SHA1 Message Date
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
Sébastien Rombauts
014a8e2d70 Merge pull request #143 from Skabunkel/master
updated sqlite3 to version 3.20.1
2017-08-31 10:41:58 +02:00
Skabunkel
fcf6db7f5d updated sqlite3 to version 3.20.1
* Updated sqlite3/sqlite3.h and sqlite3/sqlite3.c
* Updated test Statment.invalid since error message has changed.
2017-08-30 20:32:28 +02:00
Sébastien Rombauts
4f7899c959 Rename Statement::mbIsOk to mbHasRow 2017-08-28 17:17:18 +02:00
Sébastien Rombauts
473a307b6d Merge branch 'try_execute' 2017-08-28 17:17:04 +02:00
Sébastien Rombauts
c14d884ba5 Mutualize code into tryExecuteStep() from PR #142 using SQLITE_MISUSE when statement needs to be reseted 2017-08-28 17:10:38 +02:00
Sébastien Rombauts
94c7897d1b Cleanup on PR #142 : remove whitespaces and mutualize some code 2017-08-28 16:00:50 +02:00
Henrik Jakobsson Majava
f4947e7a03 Added tests for tryExecuteStep and tryReset 2017-08-28 15:10:56 +02:00
Henrik Jakobsson Majava
8191046ea5 Added tryExecuteStep and tryReset 2017-08-28 11:00:17 +02:00
Sébastien Rombauts
1a46a942b3 Merge pull request #140 from fekir/clean_destructors
Remove virtual destructor since there are no virtual methods or subclasses
2017-08-22 22:38:04 +02:00
fekir
ec8253236b Remove virtual destructor since there are no virtual methods or subclasses 2017-08-22 18:32:40 +02:00
Sébastien Rombauts
5479cc09bf Merge pull request #139 from fekir/clean_destructors
Remove unnecessary noexcept identifier from destructors
2017-08-22 11:07:03 +02:00
fekir
1fd32277c1 Remove unnecessary noexcept identifier from destructors 2017-08-21 22:01:21 +02:00
Sébastien Rombauts
926ebdab8f Merge pull request #137 from fekir/remove_noexcept
Remove noexcept
2017-08-21 11:12:16 +02:00
Sébastien Rombauts
9c15cf7c98 Merge pull request #136 from fekir/fix_stream
Ensure that operator<< correctly prints strings with embedded '\0'
2017-08-21 11:10:57 +02:00
Sébastien Rombauts
3c3b23a712 Merge pull request #134 from drivehappy/master
Warning cleanup under MSVC and Clang
2017-08-21 11:08:35 +02:00
Sébastien Rombauts
8d0ef9700a Merge pull request #138 from fekir/enhance_sqlite_exception
Enhance sqlite exception with overloaded constructor and default copy constructor and assignment operator
2017-08-21 11:04:22 +02:00
fekir
a826dcacc1 Improve test for constructor consistency 2017-08-19 09:19:55 +02:00
fekir
b2f059e188 Add test for constructor consistency 2017-08-19 09:18:28 +02:00
fekir
67ac88fb1e Add SQLite::Exception constructor that takes const char* in order to avoid possible std::bad_alloc exception
std::runtime_error provides such overload in c++11, therefore it will make no difference when compiling for c++03, but should provide no harm either
2017-08-19 08:59:57 +02:00
fekir
94ebe5ced6 Add default copy constructor to exception class
The throw statement may copy the exception, since exception are thrown by value
Having const members disables the assignment operator
2017-08-19 08:53:01 +02:00
fekir
d3a10465b5 Remove unused variable 2017-08-18 20:24:36 +02:00
fekir
db156e6282 Remove noexcept from setBusyTimeout since it may throw (it is also documented) 2017-08-18 20:20:55 +02:00
fekir
697929cfbe Remove noexcept since std::string constructor may throw 2017-08-18 20:20:29 +02:00
fekir
21ead7c5a4 Ensure that operator<< correctly prints strings with embedded '\0' 2017-08-18 18:24:10 +02:00
drivehappy
d39ff3475e Fixing tab indentation to use spaces. 2017-08-03 15:36:26 -07:00
drivehappy
6adc4cd5a8 Fixing unused parameter warning under Clang. 2017-08-03 13:34:16 -07:00
drivehappy
218aca1b13 Fixing warning under MSVC. 2017-08-03 13:33:08 -07:00
Sébastien Rombauts
670d710f62 Update version to 2.1.0 and add appropriate changelog 2.1.0 2017-07-18 14:56:18 +02:00
Sébastien Rombauts
1a2c7cbba7 Update sqlite3 from 3.13 to 3.19.3 (2017-06-08)
Fix #125 Incompatibility in 3.19.0 using a new CMake variable SQLITE_USE_LEGACY_STRUCT
2017-07-18 14:55:25 +02:00
Sébastien Rombauts
078941cdb1 Fix #130 Statement::getColumns() template function now uses T{} instead of T()
Thanks to @cycycyc for providing this improvement
2017-07-17 15:26:02 +02:00
Sébastien Rombauts
f08c15f43b print CMake version 2017-04-12 17:31:19 +02:00
Sébastien Rombauts
ad3956ab4f Comment out #111 "linked SQLiteCpp to sqlite3" since it breacks PR #118 "install step" 2017-04-12 17:31:11 +02:00
Sébastien Rombauts
b830e6406f Merge pull request #111 from Yanpas/cmake_link
linked SQLiteCpp to sqlite3

SRombauts: explicitely as PUBLIC
2017-04-12 16:21:50 +02:00
Sébastien Rombauts
efa4917f22 Merge branch 'master' into cmake_link 2017-04-12 16:19:06 +02:00
Sébastien Rombauts
0938ca68a7 Set theme jekyll-theme-slate 2017-04-08 21:38:36 +02:00