Sébastien Rombauts
a865d1c61a
Update copyright notice to 2025
2025-05-19 21:20:36 +02:00
Sébastien Rombauts
1909a777d5
Update copyright notice to 2024
2024-08-16 20:46:14 +02:00
Sébastien Rombauts
7dbcf482f2
Update copyright notice to 2023
2023-05-24 18:49:55 +02:00
Sébastien Rombauts
cf3b75063b
Minor code formating changes & comments
2023-05-24 18:49:40 +02:00
Pierre Proske
2f00790811
Rename DLL_API to SQLITECPP_API, and add visibility attribute for gcc
2023-02-14 13:07:55 +11:00
Pierre Proske
25ab3ce1c2
Add dll export/import macros
2023-02-03 18:27:21 +11:00
Sébastien Rombauts
ffe155c4b8
Copyright notice 2022
2022-09-18 15:25:14 +02:00
Sébastien Rombauts
beb2b29640
Update copyright to 2021
2021-10-06 18:40:51 +02:00
Sébastien Rombauts
da4d692c13
Start a new 3.x branch requiring C++11 and CMake 3.1
...
- Remove support for Visual Studio < 2015
- Remove Statement::isOk() deprecated in 2.2.0 and renamed to Statement::hasRow()
2020-01-02 00:04:06 +01:00
Sébastien Rombauts
e6288ee920
Update copyright notice
2020-01-01 08:08:59 +01:00
Sébastien Rombauts
2cb3cb2fef
Update copyright notice
2019-03-02 15:46:53 +01:00
Sébastien Rombauts
d020c5f694
Update copyright notices to 2018
2018-01-24 11:26:38 +01: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
Sébastien Rombauts
d04c8699d2
Apply code style
2016-08-05 07:56:20 +02:00
Jens Alfke
30e285ff89
Fixed link errors calling Exception::getErrorCode()
...
getErrorCode() and getExtendedErrorCode()'s implementations were
accidentally declared as inline in the .cpp file. This causes the
compiler to not generate any code for them, resulting in link errors
when a client calls them.
Fixed by moving the implementations into the header, where they need to
be if they're inline.
2016-08-04 16:36:09 -07:00
Sébastien Rombauts
401b7361ed
Renamed errmsg() and getErrStr() methods to getErrorMsg() and getErrorStr()
2016-07-13 18:37:22 +02:00
Sébastien Rombauts
91abc3cb44
Remove unused Exception constructor
2016-07-13 18:32:44 +02:00
Sébastien Rombauts
fd8f50bdd9
Remove last #include <sqlite3.h> from a header : add a few public constants
...
- Move #include <sqlite3.h> from Exception.h to a new corresponding .cpp
- Add SQLite::OPEN_READONLY...
2016-07-13 17:16:41 +02:00
Sébastien Rombauts
a2abbf1d96
Fix Doxygen comments
2016-07-05 08:02:23 +02:00
Sébastien Rombauts
90699f95ea
Cleanup post merge request #84 : one more exception constructor
2016-06-27 11:34:25 +02:00
Douglas Heriot
2cd31179f4
Use new Exception constructors everywhere appropriate.
...
Fix compiling with C++11.
Added public assessor methods to Exception class.
Added more Exception constructors as needed.
2016-05-26 12:34:14 +10:00
Douglas Heriot
832e89440f
Better exception messages when statements fail
...
Added new constructor to Exception that takes sqlite3* pointer, allowing for getting more information out. Makes it much easier to debug syntax errors in prepared statements, for example.
2016-05-26 00:34:34 +10:00
Sébastien Rombauts
d36c39ccf3
Fix CppDepends most useful warnings:
...
- Convert last old-style cast to reinterpret_cast<>
- Statement::Ptr is now private, with a friend declaration for Column
- noexcept should not be defined as the depreacted throw()
2015-06-01 22:05:24 +02:00
Sébastien Rombauts
16be0dc3aa
Fix #58 "Compile fails in gcc 5.1.0" : correct detection of noexcept support for GCC >= 4.7
2015-05-27 12:26:30 +02:00
Sébastien Rombauts
41e285347b
Fixed #20 MSVC still does not have "noexcept" keyword
2014-03-28 16:38:36 +01:00
Sébastien Rombauts
6d8b808320
Fixed many cpplint warnings
2014-03-07 13:12:31 +01:00
Sébastien Rombauts
7bfaafecba
Moved include files out of the src/ dir, to an include/ dir
...
+ started a void test file
2014-03-04 23:04:38 +01:00