488 Commits

Author SHA1 Message Date
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
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