219 Commits

Author SHA1 Message Date
Sébastien Rombauts
64b35bbd4e Add a basic Database unit test 2014-03-06 20:04:00 +01:00
Sébastien Rombauts
9a17223ede Add a basic Database unit test 2014-03-05 21:15:14 +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
0.8.0
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
b2a34a1ee4 Small cleanup to CMake config and updated copyright date 2014-02-23 11:36:28 +01:00
Sébastien Rombauts
180bd897e2 Merge pull request #16 from wjl/open-with-vfs
Support opening a database with a custom VFS.
2014-02-18 19:23:22 +01:00
Wesley J. Landaker
4dfb3cc4b0 Support opening a database with a custom VFS. 2014-02-18 09:18:40 -07:00
Sébastien Rombauts
8322d32ea8 Changelog for v0.7.0 0.7.0 2014-02-09 18:58:55 +01:00
Sébastien Rombauts
84473175c5 Find Doxygen package 2014-02-07 21:49:02 +01:00
Sébastien Rombauts
c823017724 Fixed Travis CI build
- removed Doxygen from the Travis build
2014-02-07 16:57:21 +01:00
Sébastien Rombauts
e7aa4f46bb Added options in the root CMakeList.txt to inactivate any optional targets & move back to a single CMakeList.txt 2014-02-07 16:34:05 +01:00
Sébastien Rombauts
d6f5029f6c Some small cleanup and uniformisation arround the new createFunction() API 2014-02-06 22:48:35 +01:00
Sébastien Rombauts
5095b086e1 Merge pull request #15 from saaqibz/master
Added wrapper for sqlite3_create_function_v2
2014-02-06 18:02:37 +01:00
AlexZ
de04b3c2e8 added wrapper for sqlite3_create_function_v2 2014-02-06 09:53:08 -06:00
Sébastien Rombauts
bac9020ba0 Merge pull request #14 from r4d2/master
(partial) std::string API implemented
2014-02-06 11:06:33 +01:00
r4d2
905c3d7bb5 std::string API (implementing issue #13 2014-01-12 00:15:10 +01:00
Sébastien Rombauts
d7f349ba62 Merge pull request #9 from niXman/master
QtCreator project files added
2013-11-29 23:08:49 -08:00
niXman
b5a2e183d1 example1 QtCreator project added 2013-11-30 04:25:18 +04:00
niXman
17edbe921c QtCreator project files added 2013-11-30 04:17:16 +04:00
Sébastien Rombauts
cc17771d2a Added a new Column::getName() method inspired by NachoSoto
- Close #8 pull request

 to pull-request #8
0.6.0
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
ef6fac6b71 Complete the documentation of the assertion handler for issue #7 2013-11-01 23:48:46 +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
8bf7339e6b Include "Exception.h" only on selected cpp files 2013-11-01 18:47:28 +01:00
Sébastien Rombauts
bc1275a32c Do not produce an error message if "build" directory is already there. 2013-11-01 11:55:34 +01:00
Sébastien Rombauts
4b96240012 Merge pull request #6 from ncorgan/cmake_var_fix
cmake: fixed CMake variable detecting Linux
2013-10-28 07:47:04 -07:00
Nicholas Corgan
908ff6f7d3 cmake: fixed CMake variable detecting Linux 2013-10-28 06:43:11 -07:00
Sébastien Rombauts
d752de0898 Merge pull request #5 from ncorgan/linux_64bit_cmake_fix
Added -fPIC flag to Linux builds
2013-10-27 09:56:13 -07:00
Nicholas Corgan
fd903b286d Added -fPIC flag to Linux builds
* When linking a shared library against SQLiteCpp, GCC/Clang throws a relocation error
2013-10-27 09:35:32 -07:00
Sébastien Rombauts
1af6930fc7 Added a cppcheck rule to the "all" target
- Travis: apt-get install cppcheck
2013-10-24 07:06:35 +02:00
Sébastien Rombauts
c93b461628 Updated submodule googletest just up to the 1.7.0 SVN release tag
- the release tag has not been added to the git repository
2013-10-24 06:57:16 +02:00
Sébastien Rombauts
28e9b702f7 Suppressed the flag SQLITE_ENABLE_COLUMN_METADATA from SQLiteC++ wrapper source code.
- it can be defined by CMake in client code application
2013-09-26 00:14:31 +02:00
Sébastien Rombauts
c5828d8787 Layout of the Troubleshooting section 2013-09-22 23:29:28 +02:00
Sébastien Rombauts
b1a8e45b20 Fixed issue #3 by stating that SQLiteC++ requires a sqlite3 library compiled with SQLITE_ENABLE_COLUMN_METADATA defined
- see http://www.sqlite.org/compile.html#enable_column_metadata
 - added an Troublesooting section in README.md
2013-09-22 23:27:12 +02: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
ec3b042bf5 Updated TODO (Unit Test) and Changelog (0.5.1) 2013-09-04 22:31:52 +02:00
Sébastien Rombauts
5b6170dfa1 Replace abort() by return EXIT_FAILURE 2013-09-03 10:30:36 +02:00
Sébastien Rombauts
7d775e67c8 Adding a build script for Linux/Unixes 2013-09-02 22:42:51 +02:00
Sébastien Rombauts
9c7d929ec5 Readme: CMake bash code formating 2013-09-02 22:34:54 +02:00
Sébastien Rombauts
98e35bddcf Adding a build script
- using the generic command "cmake --build ." instead of "make"
 - using the generic command "ctest" instead of "make test"
 - updated readme
2013-09-02 22:12:14 +02:00
Sébastien Rombauts
2b5d66eb25 Added a "sqlite3/CMakeLists.txt" file defining the SQLite3 static library for easier Windows build. 2013-09-01 17:30:54 +02:00
Sébastien Rombauts
d75c7a9449 Added a proper "src/CMakeLists.txt" file defining the static library.
- This enable using this SQLiteCpp repository as a Git submodule,
 - simply add_subdirectory (SQLiteCpp/src) to you main CMakeLists.txt
   and link to the "SQLiteCpp" wrapper library.
2013-09-01 17:22:49 +02:00
Sébastien Rombauts
a8b471e7ed Travis CI build status at the beginning of the README
- remove an old TODO already done
2013-09-01 16:37:04 +02:00
Sébastien Rombauts
8c001280a0 Added googletest as a submodule
- from the chromium git repository: https://git.chromium.org/git/external/googletest.git
2013-08-29 20:14:46 +02:00
Sébastien Rombauts
66ea7c7fa5 Adapting the CMake and test for Visual Studio under Windows 2013-08-25 20:06:03 +02:00
Sébastien Rombauts
66ac428732 Improving the Layout of the build status.
+ some more comments on building the wrapper as a Library
2013-08-25 19:25:56 +02:00
Sébastien Rombauts
9f8418d8c1 Adding picture of the current build status of Travis CI
- Improving CMake build & test explanations
2013-08-25 19:14:48 +02:00