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
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
Sébastien Rombauts
2b384d1441
Fix #94 warning: "'extern' variable has an initializer"
2016-07-26 07:39:35 +02:00
Sébastien Rombauts
f77b707206
Revert recent switch from uint32_t/int64_t to use int/unsigned/long/long long and fix #93
2016-07-19 10:56:08 +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
2abcf45bb9
Remove Column::errmsg() method : use Database or Statement equivalents
2016-07-06 21:41:04 +02:00
Sébastien Rombauts
300f278281
Move #include <sqlite3.h> from Column.h to the .cpp
2016-07-06 21:20:19 +02:00
Sébastien Rombauts
b033abb3fd
Add unit tests for the new Column getter and cast operator
2016-07-06 21:20:19 +02:00
Sébastien Rombauts
646d25ca95
Switch from sqlite3_int64 to int64_t
2016-07-05 11:05:16 +02:00
Douglas Heriot
9a07f3918d
Fix build on Linux, including cpplint warnings.
2016-07-02 14:05:14 +02:00
Douglas Heriot
a84c04aada
Add bindNoCopy methods to allow binding std::string with SQLITE_STATIC.
...
Should be safe, as long as you can guarantee the std::string exists while executing the query.
Added an accessor to Column that returns a std::string, that can handle BLOB or TEXT values that contain null-bytes.
Also more binding & Column cast support for uint32_t - fixes ambiguous overload errors when using unsigned-integer types.
Note that I didn't use uint64_t, because unsigned 64-bit integers doesn't fit into SQLite (except for using int64_t and dealing with overflow with custom functions).
Added a C++11 move constructor to Statement, to allow storing it inside STL containers (eg. vector).
2016-07-02 14:05:14 +02:00
Sébastien Rombauts
c53d885393
Update copyright notice to 2016
2016-02-10 10:27:47 +01: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
09db07ccc7
Updated version to 1.0.0 changelog and copyright date
2015-05-03 23:32:57 +02:00
Sébastien Rombauts
18620457b1
Add some more Unit Tests
2015-05-03 23:29:22 +02:00
Sébastien Rombauts
78ea5b254f
Removed all meaningless (void) from method definitions
2014-03-13 21:56:28 +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
Sébastien Rombauts
ff946bd295
Changed Column::getText() to return empty string "" by default instead of NULL pointer (to handle std::string conversion)
...
- Fix issue #17
2014-02-26 18:43:19 +01:00
Sébastien Rombauts
b0e9104047
Using the C++11 "noexcept" keyword instead of "throw()"
...
- added a compatibility #define for older compilers
2014-02-26 18:36:18 +01:00
Sébastien Rombauts
cc17771d2a
Added a new Column::getName() method inspired by NachoSoto
...
- Close #8 pull request
to pull-request #8
2013-11-22 13:35:35 +01:00
Sébastien Rombauts
05a37fd64c
Renamed Column::getName() to Column::getOriginName()
2013-11-22 06:58:07 +01:00
Sébastien Rombauts
7669bcbf90
Adding a Column::getName() function
...
- thanks to a patch provided by Nellis Willers,
- requires the SQLITE_ENABLE_COLUMN_METADATA preprocessor macro to be also defined at compile times of the SQLite library
- v0.5.1
2013-04-07 18:25:19 +02:00
Sébastien Rombauts
833aeead7a
Fix a bug for the "brief" Doxygen tag of all files
...
- patched by moving the @ingroup command before the @brief one
2013-03-16 17:50:37 +01:00
Sébastien Rombauts
83a3ca6f37
Doxygen group name without the trailing ++
2013-03-15 15:46:11 +01:00
Sébastien Rombauts
4ee32ec736
Doxygen group name without the trailing "++"
2013-03-15 15:32:41 +01:00
Sébastien Rombauts
19e66c288a
Updated Doxygen documentation
2013-03-10 18:17:02 +01:00
Sebastien Rombauts
1a82510821
Reorganizing the directory, the sources and the msvc files
2013-03-10 12:38:50 +01:00