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
Sébastien Rombauts
f462c937e2
Fixing a typo
2013-08-24 19:41:35 +02:00
Sébastien Rombauts
4709d4b49a
Hyperlink to Travis-CI last build results.
2013-08-24 19:30:42 +02:00
Sébastien Rombauts
ada826aa8f
Adding a "test" target to CMake & a Travis CI config file
2013-08-24 19:24:06 +02:00
Sébastien Rombauts
a02c80d157
Adding a basic CMake configuration file
2013-08-18 23:13:15 +02:00
Sébastien Rombauts
aeea5c4e6d
Fixes #1 : answer the question about "Multithreading/Monothreading" an thread-safety
...
SQLite supports three mode of thread safety, as describe in "SQLite And Multiple Threads" :
see http://www.sqlite.org/threadsafe.html
This SQLiteC++ wrapper does not add any lock (no mutexes) nor any other thread-safety mecanism
above the SQLite library itself, by design, for lightness and speed.
Thus, SQLiteC++ naturally supports the "Multi Thread" mode of SQLite ;
"In this mode, SQLite can be safely used by multiple threads
provided that no single database connection is used simultaneously in two or more threads."
But SQLiteC++ does not support the fully thread-safe "Serialized" mode of SQLite,
because of the way it shares the underling SQLite precompiled statement
in a custom shared pointer (See the inner class "Statement::Ptr").
2013-04-27 13:42:49 +02:00
Sébastien Rombauts
4d828fe6b1
Fixed two SQLiteC++ Coverity Issues in Database::execAndGet() and Database::tableExists()
...
- adding a (void) cast in front of query.executeStep()
- adding comments explaining how errors are handled in this thow methods
Thank you to Donald Jones and Mark Pashley of Ubiquisys for reporting this to me.
2013-04-27 13:42:48 +02:00
Sébastien Rombauts
3442a9a002
Eclipse CDT Release build configuration
2013-04-08 07:35:40 +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
0.5.1
2013-04-07 18:25:19 +02:00
Sébastien Rombauts
1f55ddbbdb
Cleaning of include dependencies
2013-04-07 18:16:31 +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
3ee357900e
Fixed the example failing to find the example files in the new directory structure
...
+ Fixed a GCC unused variable warning in example1
0.5.0
2013-03-13 18:05:55 +01:00
Sébastien Rombauts
017927741f
Minor version update
2013-03-12 22:55:03 +01:00
Sébastien Rombauts
6b82881841
- to have a good unit test coverage
2013-03-12 21:46:26 +01:00
Sébastien Rombauts
47ef0468f3
Fixed the Makefile after reorganization of the source files
2013-03-10 19:08:08 +01:00
Sébastien Rombauts
19e66c288a
Updated Doxygen documentation
2013-03-10 18:17:02 +01:00
Sébastien Rombauts
562650bf39
fixed filepath in VS2010 sqlite libray project
2013-03-10 18:15:57 +01:00
Sébastien Rombauts
f91579a951
Reordering the README, adding a Coding Style Guideline section
2013-03-10 17:16:14 +01:00
Sébastien Rombauts
50f7d1eb11
How to contribute
2013-03-10 16:40:11 +01:00
Sébastien Rombauts
ae14bf71e9
Installation instructions
2013-03-10 16:35:03 +01:00
Sébastien Rombauts
501c91e18f
Small updates to TODO and README
2013-03-10 16:06:42 +01:00
Sebastien Rombauts
5c4b45c2aa
Updated TODO.txt and README.md
2013-03-10 12:47:08 +01:00
Sebastien Rombauts
1a82510821
Reorganizing the directory, the sources and the msvc files
2013-03-10 12:38:50 +01:00
Sebastien Rombauts
7c25eff6ff
reordering goals : MIT License in last position
2013-03-10 10:45:14 +01:00
Sebastien Rombauts
ca3d9b2abc
Updating the VS2008 project with _CRT_SECURE_NO_WARNINGS
2013-03-10 08:20:14 +01:00
Sébastien Rombauts
49df5556a8
Adding the copyright notice in the LICENSE file
2013-03-09 23:09:15 +01:00
Sébastien Rombauts
44fde46e2a
Blob example using an in-memory database
2013-03-09 23:00:02 +01:00
Sébastien Rombauts
65ad65b40c
Adding a test/example for blob methods, with a fix for bind(blob)
2013-03-09 22:50:53 +01:00
Sébastien Rombauts
66cf354a65
Updated changelog, TODO and a comment
2013-03-09 21:25:52 +01:00
Sébastien Rombauts
6a367c50e2
Added binding of a binary blob of data
2013-03-09 17:54:58 +01:00
Sébastien Rombauts
8fa9d7ac09
Merge branch 'master' of https://github.com/SRombauts/SQLiteCpp
2013-03-09 12:29:56 +01:00
Sébastien Rombauts
c0fb139bb6
example updated : the third row converted to float values, and renamed "weigth" instead of "size"
2013-03-09 12:28:23 +01:00
Sébastien Rombauts
545dd01bc6
Repairing Linux compilation
2013-03-09 08:40:03 +01:00
Sébastien Rombauts
0d08dc1e45
Updated ignore for VS2010 usage
2013-03-08 22:04:00 +01:00
Sébastien Rombauts
2412de7676
Adding getBlob, getType and isInteger/isFloat/isText/isBlob/isNull methods to the Column class
2013-03-08 21:49:28 +01:00
Sébastien Rombauts
dc4802edd5
Adding the method getBytes to the Column object, returning the size in bytes of the text value.
2013-03-08 21:24:38 +01:00
Sébastien Rombauts
bc5b64d4a3
Updated documentation, removing consteness of the getColumn() method, and increasing version to v0.5
2013-03-08 21:22:33 +01:00
Sébastien Rombauts
a9caa61264
Updated README (copyright 2013) and TODO
2013-03-08 20:29:16 +01:00
Sébastien Rombauts
244a8bff60
Adding mpSQLite to the statement Shared Pointer for error reporting
2013-03-07 11:48:52 +01:00
Sébastien Rombauts
d535ccb09f
Adding an encapsulation to the statement ref counter : a shared pointer class
2013-03-07 09:00:37 +01:00
Sébastien Rombauts
c94fe1fb4b
This wrapper is not thread safe
2013-03-06 17:25:05 +01:00
Sébastien Rombauts
0ffa0b8f0c
using assert() in example program to provide a basic test coverage
2013-03-06 17:15:18 +01:00
Sébastien Rombauts
56aa208f62
copyright 2012-2013
2013-03-06 17:10:01 +01:00
Sébastien Rombauts
4448038af4
Using (optional) assert() on errors in destructors, where exceptions are not allowed
2013-03-06 17:06:00 +01:00
Sébastien Rombauts
3f226983f0
Minor update of README.md and some more TODO (eg. C++11 support)
2013-03-06 17:02:47 +01:00