40 Commits

Author SHA1 Message Date
Sébastien Rombauts
be1a8eeace Release 3.0.0 2020-01-31 09:43:28 +01:00
Sébastien Rombauts
adad71b1db Add an example2 based on SQLiteCpp_Example repository
Demonstrates how to use SQLiteCpp as a subdirectory (out of tree) of a CMake project.
2020-01-29 23:29:13 +01:00
Sébastien Rombauts
f298ee2e0d Fix logs of char fields of header on example for getHeaderInfo() (#251)
Need cast to int to not be displayed as a character
2020-01-01 20:43:59 +01:00
Patrick Servello
ab012273de Added example for getHeaderInfo() (#251) 2020-01-01 20:22:40 +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
Sébastien Rombauts
e893575a76 Add unit tests for getLibVersion() and getLibVersionNumber() 2016-07-25 22:20:19 +02:00
Sébastien Rombauts
648ffe01e8 Add Database::VERSION, getLibVersion() and getLibVersionNumber()
Usefull to get SQLite3 version without including sqlite3.h in application code
2016-07-25 21:53:47 +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
4e7c12f629 Add VariadicBind.h from PR #85 to CMake for Visual Studio
+ fix style issues (cpplint)
2016-07-02 14:04:39 +02:00
Sébastien Rombauts
b913932be2 Add a unit test for transactions
+ a few small minor new assert in other tests
2016-06-28 13:17:33 +02:00
Paul Dreik
356c50a342 do not run variadic bind example for c++ older than c++14 2016-06-15 21:01:51 +02:00
Paul Dreik
9234eb3216 polish before pull request 2016-06-15 20:43:11 +02:00
Paul Dreik
3022d50b38 initial submission of variadic template for bind
tested with
CXXFLAGS="-std=c++14" cmake
with gcc 5.3.1.
2016-06-04 22:06:38 +02:00
Sébastien Rombauts
c53d885393 Update copyright notice to 2016 2016-02-10 10:27:47 +01: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
b9322fb0ab Example now print SQLite version 2015-05-03 23:32:31 +02:00
Sébastien Rombauts
8797f16d12 Add Statement::getColumnName(aIndex)
- enable getting names befor gettings rows of result
2015-05-03 23:32:05 +02:00
Sébastien Rombauts
416958f094 Add sample code for getColumn() by name
- sample code provided by #46
 - rework example for better readability
2015-05-03 23:28:52 +02:00
Sébastien Rombauts
d45ec996a3 Fix the example overload pb on GCC & Clang
- uses explicit getText() instead of implicit conversion
2015-05-03 23:28:26 +02:00
Sébastien Rombauts
82364ea419 Minor improvement of example1 to demonstrate variable reuse 2015-05-03 23:28:09 +02:00
Kartik Kumar
b6eb04e37c Changes paths to example db and logo to absolute paths using helper function to extract path to examples sub-directory. 2015-03-26 15:29:59 +01:00
Sébastien Rombauts
e07e6230e8 Remove all project files as they are all outdated: use CMake only 2014-08-06 10:08:05 +02:00
Sébastien Rombauts
78ea5b254f Removed all meaningless (void) from method definitions 2014-03-13 21:56:28 +01:00
Sébastien Rombauts
3af95da230 Added comments and test arround Database::exec() method 2014-03-13 21:44:07 +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
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
c84e5122d3 Renamed Assert.h to Assertion.h for Win32 build
- MSVC was confused about cassert/assert.h vs Assert.h
2013-11-01 23:38:52 +01:00
Sébastien Rombauts
256dedfa1e Fix Linux build of "example1" 2013-11-01 21:36:36 +01:00
Sébastien Rombauts
ecd22dc112 Fix issue #7 : SQLITECPP_ENABLE_ASSERT_HANDLER
- SQLITECPP_ASSERT() can call a user defined SQLite::assertion_failed() handler.
2013-11-01 21:33:43 +01:00
Sébastien Rombauts
466504aadb Fixed the 3 warnings specifis to 64 bits GCC build
- warnings revealed by issue 3
 - but also shown by Travis CI builds
2013-09-15 23:02:29 +02:00
Sébastien Rombauts
5b6170dfa1 Replace abort() by return EXIT_FAILURE 2013-09-03 10:30:36 +02:00
Sébastien Rombauts
dd9295b1a6 Improving the example, showing the column names 2013-03-24 14:13:12 +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
3ee357900e Fixed the example failing to find the example files in the new directory structure
+ Fixed a GCC unused variable warning in example1
2013-03-13 18:05:55 +01:00
Sebastien Rombauts
1a82510821 Reorganizing the directory, the sources and the msvc files 2013-03-10 12:38:50 +01:00