Sébastien Rombauts
b830e6406f
Merge pull request #111 from Yanpas/cmake_link
...
linked SQLiteCpp to sqlite3
SRombauts: explicitely as PUBLIC
2017-04-12 16:21:50 +02:00
Sébastien Rombauts
efa4917f22
Merge branch 'master' into cmake_link
2017-04-12 16:19:06 +02:00
Sébastien Rombauts
0938ca68a7
Set theme jekyll-theme-slate
2017-04-08 21:38:36 +02:00
Sébastien Rombauts
03b2293805
Update README.md
...
Copyright notice 2017 and PayPal.me link & logo
2017-04-08 14:36:18 +02:00
Sébastien Rombauts
d390342be7
Merge pull request #120 from vbraun/cpplint-py3
...
Make cpplint.py Python-3 compatible
2017-04-06 17:01:09 +02:00
Volker Braun
a537dd6375
Make cpplint.py Python-3 compatible
2017-04-06 16:20:33 +02:00
Sébastien Rombauts
c6dc1c7cdf
Merge pull request #119 from timrae/fix-warnings
...
Fix some warnings and increase safety checking on gcc
2017-03-31 07:27:29 +02:00
Timothy Rae
2123ef0348
Use pedantic warnings
...
From the gcc manual:
Issue all the warnings demanded by strict ISO C and ISO C++; reject all programs that use forbidden extensions, and some other programs that do not follow ISO C and ISO C++. For ISO C, follows the version of the ISO C standard specified by any -std option used.
Note: ISO C++98 doesn't support the "long long" data type, so we disable that warning
-Winit-self can be removed as it's enabled by -Wall
2017-03-31 12:41:21 +09:00
Timothy Rae
400ab71fa3
Fix unused parameter warning
2017-03-31 12:22:48 +09:00
Timothy Rae
b23f2e155f
Use -Wextra flag with gcc
...
From the manual:
This enables some extra warning flags that are not enabled by -Wall. (This option used to be called -W. The older name is still supported, but the newer name is more descriptive.)
-Wclobbered
-Wempty-body
-Wignored-qualifiers
-Wimplicit-fallthrough=3
-Wmissing-field-initializers
-Wmissing-parameter-type (C only)
-Wold-style-declaration (C only)
-Woverride-init
-Wsign-compare (C only)
-Wtype-limits
-Wuninitialized
-Wshift-negative-value (in C++03 and in C99 and newer)
-Wunused-parameter (only with -Wunused or -Wall)
-Wunused-but-set-parameter (only with -Wunused or -Wall)
2017-03-31 12:22:38 +09:00
Timothy Rae
4c339031f0
Remove const from Database::isUnencrypted() return type
...
Compiling with gcc pedantic mode was leading to a warning: "type qualifiers ignored on function return type"
2017-03-31 12:12:46 +09:00
Sébastien Rombauts
6932525174
Merge pull request #118 from timrae/add-install-target
...
Add install step
2017-03-27 13:57:03 +02:00
Timothy Rae
8387b594eb
Add install step
2017-03-27 18:41:44 +09:00
Sébastien Rombauts
4d6356f700
Merge pull request #117 from dunkelfalke/patch-1
...
Update Statement.h documentation
2017-03-21 18:15:42 +01:00
dunkelfalke
f4a7e7c7ea
Update Statement.h
...
Missing parameter name in the documentation comment
2017-03-21 17:45:39 +01:00
Sébastien Rombauts
f69986a1c5
Merge pull request #114 from dend456/master
...
Added convenience functions for constructing objects from a row
2017-02-13 18:14:36 +01:00
dend
f01a644dc0
Added convenience functions for constructing objects from a row
2017-02-12 22:10:29 -05:00
Sébastien Rombauts
92bbeccffe
Fix #113 SQLite 3.7.15 minimum for sqlite3_errstr()
...
SQLite 3.7.15 was release in 2012-12-12
2017-02-03 15:09:34 +01:00
Sébastien Rombauts
f00d69c9ad
Fix #112 format error in README
2017-01-31 08:53:06 +01:00
Yan Pashkovsky
870bb9963f
linked SQLiteCpp to sqlite3
...
Now there is no need to link each target ot both libs
2016-12-28 19:40:33 +03:00
Sébastien Rombauts
cb44cca41c
Merge pull request #107 from jowr/master: encrypted databases
...
Added ability to open encrypted databases.
2016-12-25 11:28:30 +01:00
Jorrit Wronski
dbd31fb56b
Fixed some compiler warnings
2016-12-23 14:57:09 +01:00
Jorrit Wronski
d26bd2cb8a
Added tests for the encrypted database
2016-12-23 14:54:02 +01:00
Jorrit Wronski
498525bb26
Final modifications for cpplint and gcc
2016-12-23 14:20:54 +01:00
Jorrit Wronski
f5a25167a4
Debugging GCC build errors remotely is not fun...
2016-12-23 14:16:37 +01:00
Jorrit Wronski
a7d5ea4c2b
Trying to gcc happy
2016-12-23 14:06:36 +01:00
Jorrit Wronski
823828fc9e
Made encryption test static and fixed the encryption docs
2016-12-23 13:52:59 +01:00
Jorrit Wronski
02f8fe19c0
Fixed some documentation and corrected the encryption detection.
2016-12-23 08:02:13 +01:00
Jorrit Wronski
685ff293c5
moved the key handling to a new function, added a check for an encrypted database
2016-12-22 17:52:06 +01:00
Sébastien Rombauts
13d12f1e48
Travis CI : do not try to "brew install cmake" on OS X
2016-12-02 15:05:30 +01:00
Jorrit Wronski
611ab22458
Added ability to open encrypted databases.
2016-12-01 23:37:22 +01:00
Sébastien Rombauts
b6512c4c6f
Merge pull request #102 from Nemo1369/master
...
Remove redundant const specifier
2016-09-09 13:44:36 +02:00
Mikhail Komarov
51885d7aa6
Redundant const specifier removed
2016-09-09 13:31:36 +03:00
Sébastien Rombauts
6d1806b2e4
Merge pull request #100 from Asriwi/master
...
Link libssp when targetted
2016-09-02 18:29:27 +02:00
Sébastien Rombauts
343a3ca907
Update README to mention the new "SQLiteCpp_Example" side repository
2016-09-02 18:21:51 +02:00
Sébastien Rombauts
c5bc2d80cc
Fix broken build.sh (missing "fi")
2016-09-02 17:34:27 +02:00
Ashley Williams
acbad05257
Revert linking ssp in SQLiteCpp and link ssp in the example project for MSYS and MINGW
2016-08-30 20:06:05 +01:00
Ashley Williams
4b4bc3f17a
Link libssp when targetted
2016-08-29 18:50:28 +01:00
Sébastien Rombauts
d04c8699d2
Apply code style
2016-08-05 07:56:20 +02:00
Sébastien Rombauts
bfd8bb2c63
Merge pull request #96 from couchbasedeps/master
...
Fixed link errors calling Exception::getErrorCode()
2016-08-05 07:50:31 +02:00
Jens Alfke
30e285ff89
Fixed link errors calling Exception::getErrorCode()
...
getErrorCode() and getExtendedErrorCode()'s implementations were
accidentally declared as inline in the .cpp file. This causes the
compiler to not generate any code for them, resulting in link errors
when a client calls them.
Fixed by moving the implementations into the header, where they need to
be if they're inline.
2016-08-04 16:36:09 -07:00
Sébastien Rombauts
9d1ea82313
Fix #95 : rewrite old instruction about adding SQLiteCpp as a CMake subdirectory
2016-08-02 16:24:31 +02:00
Sébastien Rombauts
1470735e94
Switch googletest submodule to latest commit of github.com/google/googletest.git
2016-08-01 22:29:40 +02:00
Sébastien Rombauts
b99e8c62e9
Cleanup Travis CI configuration
2016-07-26 21:58:52 +02:00
Sébastien Rombauts
da725ed1cf
Fix compiler warning (unused variable)
2016-07-26 17:44:24 +02:00
Sébastien Rombauts
2b384d1441
Fix #94 warning: "'extern' variable has an initializer"
2.0.0
2016-07-26 07:39:35 +02:00
Sébastien Rombauts
53c727c68d
Update version to 2.0.0
2016-07-25 22:21:04 +02: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
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