278 Commits

Author SHA1 Message Date
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
9bb0aed805 Update googletest to latest, and deactivate certain class of warnings for its compilation 2015-05-27 11:45:59 +02:00
Sébastien Rombauts
b7a3910579 cpplint output correct MSVC warnings 2015-05-27 11:44:51 +02:00
Sébastien Rombauts
e46500dae8 Merge pull request #56 from aurelien35/Dev
Removed a warning in release build with Visual Studio
2015-05-21 11:41:27 +02:00
Aurelien ALBERT
5a8a6e243e Removed a warning in release build with Visual Studio 2015-05-21 10:52:46 +02:00
Sébastien Rombauts
e4b5d6eeed Update version to 1.1.0 with bugfix and new loadExtension() 1.1.0 2015-05-18 21:10:48 +02:00
Sébastien Rombauts
594b9c26b2 Merge pull request #52 from nazim-can-bedir/master
Added conditional support for extension loading
2015-05-17 07:40:33 +02:00
ncr
99db2f8bdb Added conditional support for extension loading 2015-05-16 17:42:45 +03:00
Sébastien Rombauts
e8af4f6738 Merge pull request #51 from portwaypoint/master
Added support for extension loading
2015-05-13 12:23:35 +02:00
Richard Jones
368049a613 Added support for extension loading 2015-05-08 09:47:12 +01:00
Sébastien Rombauts
318f742b5c Revert use sqlite_errstr instead of sqlite3_errmsg that fixed #48
- sqlite3_errstr() is new from SQLite v3.7.15, not supported on Ubuntu 12.04
   which is what is used for continuous integration with Travis CI
 - Only case of error is SQLITE_BUSY: "database is locked" (some statements are not finalized)
   so use this generic string instead
2015-05-06 09:36:15 +02:00
Sébastien Rombauts
3ffc07b1c2 Merge pull request #49 from onuraslan/fix-48
Use sqlite_errstr instead of sqlite3_errmsg
2015-05-06 04:05:54 +02:00
Onur Aslan
e55fffefd7 Use sqlite_errstr instead of sqlite3_errmsg
mpSQLite is free'd with sqlite3_close. It's no more accesible.
Fixes: #48
2015-05-06 00:22:43 +03:00
Sébastien Rombauts
4f4c9aa918 Add a release badge to show 1.0.0 1.0.0 2015-05-03 23:33:04 +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
e537195625 Fix #47 setBusyTimeout in constructor
- add corresponding Unit Test
2015-05-03 23:32:50 +02:00
Sébastien Rombauts
3c39f1ff1c Fix 3 new cpplint warnings about max line size 2015-05-03 23:32:40 +02:00
Sébastien Rombauts
b9322fb0ab Example now print SQLite version 2015-05-03 23:32:31 +02:00
Sébastien Rombauts
f5e0cafa72 Minor fixes to comments and fix the build 2015-05-03 23:32:24 +02:00
Sébastien Rombauts
31dbcda9ad Minor fixes to comments and an API 2015-05-03 23:32:14 +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
078365febc Fix part of issue #34 about 64 bits long with GCC on AMD64 2015-05-03 23:31:02 +02:00
Sébastien Rombauts
7e16e8545f Re-enable SQLITE_ENABLE_COLUMN_METADATA by default under Windows 2015-05-03 23:30:33 +02:00
Sébastien Rombauts
f407e4e469 Add unit test for Column names
- improve other Column unit test
2015-05-03 23:30:16 +02:00
Sébastien Rombauts
1ed18ce273 Add unit test about Column operators 2015-05-03 23:30:03 +02:00
Sébastien Rombauts
abebb231c6 Add a new test to show persistence in file (on contrary to in memory databases) 2015-05-03 23:29:51 +02:00
Sébastien Rombauts
59ceff2ec2 Deactivate unit test for setBusyTimeout() not supported before SQLite 3.7.15
- sqlite3 3.7.9-2ubuntu1 of Ubuntu 12.04 used by Travis CI
2015-05-03 23:29:43 +02:00
Sébastien Rombauts
acaed41465 setBusyTimeout() now uses check() and throw in case of error
- add unit test for setBusyTimeout()
 - add unit test for in memory databases
2015-05-03 23:29:31 +02:00
Sébastien Rombauts
18620457b1 Add some more Unit Tests 2015-05-03 23:29:22 +02:00
Sébastien Rombauts
b10bf6faa5 Re-enable SQLITE_ENABLE_COLUMN_METADATA by default under Windows
- cleanup to the CMakeLists.txt for better readability
2015-05-03 23:29:01 +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
7fbfc29677 Fix #23 optimized Statement::getColumn() by name
- fix Statement::getColumn(apName) provided by #45 but was not working
  instead of using #46 that conflicts with current master
- rework it by using a map of columns name as
  a cache populated the first time the method is called
- add corresponding Unit Test
2015-05-03 23:28:41 +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
6a2f8a6a8b Cleanup and comment on the overload for GCC & Clang 2015-05-03 23:28:19 +02:00
Sébastien Rombauts
82364ea419 Minor improvement of example1 to demonstrate variable reuse 2015-05-03 23:28:09 +02:00
Sébastien Rombauts
29a9645314 Fix cpplint style warning introduced by #45 2015-05-03 23:28:01 +02:00
Sébastien Rombauts
6499f93b07 Fix cmake find Python Interpreter (instead of Libs)
- and use it
2015-05-03 23:27:21 +02:00
Sébastien Rombauts
dae5388ece Merge pull request #45 from HighSparrow/master
Fix issue: Column by name #23
2015-04-20 20:52:58 +02:00
Sébastien Rombauts
170fdd55c7 cpplint: do not break build for style warnings 2015-04-20 20:51:09 +02:00
Jack.Yuan
b6fdf50669 Fix issue: Column by name #23
add method `Column getColumn(const char* aName);` in Statement.h
2015-04-17 15:59:58 +08:00
Jack.Yuan
134efd6392 Update Statement.cpp 2015-04-17 15:58:36 +08:00
Sébastien Rombauts
5ec39df7e0 Fix #44 update information on alternate wrappers, and remove the outdated dedicated file. 2015-04-14 16:57:44 +02:00
Sébastien Rombauts
4c0cc910bb Simplify scripts following changes to paths of the example 2015-03-26 17:54:38 +01: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
7cfd3e82f1 Merge pull request #42 from MariadeAnton/bii/updates
improved biicode support

Thanks, I've re-run the build with succes!
2015-03-25 14:52:15 +01:00
Sébastien Rombauts
e10b17682f CMake find_package(Python) to use cpplint 2015-03-24 22:04:48 +01:00
Sébastien Rombauts
bb035143a9 Fix a CMake warning 2015-03-24 21:55:19 +01:00
Sébastien Rombauts
a5d0ba4023 Merge pull request #41 from MariadeAnton/sqlite/update
Update sqlite to v3.8.8.3
2015-03-24 21:06:42 +01:00
mariadeanton
2b5704e9e5 sqlite v3.8.8.3. 2015-03-24 17:24:58 +01:00
mariadeanton
0aa4a43ae8 improved biicode support 2015-03-24 17:06:29 +01:00