715 Commits

Author SHA1 Message Date
Sébastien Rombauts
091726aa65 Fix Statement unit tests still using long
long & long long api have been replaced by int32_t and int64_t types

TODO: we need to continue cleanup APIs to remove all long from the codebase before we can release a new version
2022-07-24 16:19:37 +02:00
Sébastien Rombauts
6c2a3d151f Update changelog 2022-07-24 16:02:32 +02:00
modest
bfb8e6a017
Fix compilation issues earlier than iOS 13 (#359)
Co-authored-by: 叶 永平 <yyp@xieyongpingdeMacBook-Pro.local>
2022-07-24 14:21:23 +02:00
Sébastien Rombauts
9158225e5d
Merge pull request #349 from Kacperos155/refactoring-Statement&Column
Refactoring of Statement and Column classes
2022-03-29 12:27:15 +02:00
Sébastien Rombauts
454a2e226c
Merge pull request #352 from ninjaoflight/meson-support
add basic meson support.
2022-03-29 12:25:48 +02:00
Jonathan Guzmán
3db5d868ea
add basic meson support 2022-03-18 18:50:00 -06:00
Kacperos155
c5b3aa83a2 Restored Statement move constructor for compatibility with older compilers 2022-01-26 04:44:47 +01:00
Kacperos155
27a32521b7 Add test for Column std::shared_ptr; remove noexcept from throwing Column constructor 2022-01-26 04:19:10 +01:00
Kacperos155
10d779a349 Fixed #349; Column throw when constructed with nullptr 2022-01-26 03:22:17 +01:00
Kacperos155
354323a875 Minor refactoring to Statement and Column 2022-01-25 20:56:48 +01:00
Kacperos155
2800b65ac6 Set Statement move constractor to default; fix #347 2022-01-25 20:32:40 +01:00
Kacperos155
6da299db12 Replace Statement::Ptr with std::shared_ptr 2022-01-25 19:13:02 +01:00
Kacperos155
edf49ee141 Long size checks replaced with fixed width ints 2022-01-25 13:28:51 +01:00
Sébastien Rombauts
ce6dd9b822 Fix Github Actions build failing on "Ubuntu 16.04 GCC" for 3 months 2022-01-07 16:22:25 +01:00
Sébastien Rombauts
4f85b8b2c8 Fix Github Actions build failing on "Ubuntu 16.04 GCC" for 3 months 2022-01-07 16:21:26 +01:00
Sébastien Rombauts
a5aa46732d Updated SQLite3 from 3.36.0 to 3.37.2 (2022-01-06) 2022-01-07 15:43:15 +01:00
Sébastien Rombauts
7f83089e90
Merge pull request #341 from ardabbour/patch-1
Install the package.xml file
2022-01-07 15:16:53 +01:00
AR Dabbour
6e1242fab9
Install the package.xml file 2021-10-14 15:58:04 +03:00
Sébastien Rombauts
beb2b29640 Update copyright to 2021 2021-10-06 18:40:51 +02:00
Sébastien Rombauts
3aeeb8dfb1 Sync the two README since I made a copy on docs/ folder :( 2021-10-06 18:35:40 +02:00
Sébastien Rombauts
0da8c467da Updated SQLite3 from 3.34.0 to 3.36.0 (2021-06-18) 2021-10-06 18:24:01 +02:00
Sébastien Rombauts
38f7088b86
Merge pull request #340 from phoebe-leong/patch-1
add HTML keywords and properly link up the links in docs/README.md
2021-10-06 09:33:14 +02:00
Sébastien Rombauts
ded6951163
Merge pull request #339 Allow specifying transaction behaviors DEFERRED, IMMEDIATE, and EXCLUSIVE from jjenkins278/transaction_behavior 2021-10-06 09:31:01 +02:00
ph3b3
f89ebff297
add HTML keywords and properly link up the links! 2021-10-05 15:31:40 +11:00
John Jenkins
abd139c597 Allow specifying transaction behaviors DEFERRED, IMMEDIATE, and EXCLUSIVE 2021-10-04 16:27:08 -05:00
Sébastien Rombauts
c7909ee9c1
Merge pull request #337 Add catkin configuration from ardabbour/master 2021-10-02 22:39:03 +02:00
Sébastien Rombauts
4939c32712
Merge pull request #335 from jagerman/older-macos-avoid-std-filesystem
Disable std::filesystem on macOS when compiling C++17 but targetting <10.15
2021-10-02 22:35:18 +02:00
Sébastien Rombauts
ee37e4eb00
Merge pull request #338 fix load extension from paulo-coutinho/fix-load-extension 2021-10-02 21:33:34 +02:00
Paulo Coutinho
925923c507 fix load extension 2021-10-01 19:27:16 -03:00
AR Dabbour
320f4c5b46
Export cmake as the build type dependency 2021-09-13 10:53:18 +03:00
AR Dabbour
8e35c54e70
Conform to CMakeLists.txt project name 2021-09-13 10:51:23 +03:00
AR Dabbour
8ba1f630f0
Add catkin configuration 2021-09-13 10:34:39 +03:00
Jason Rhinelander
bfe0221b8c Disable std::filesystem on macOS targetting <10.15
macOS flat out refuses to compile if you touch std::filesystem when
targetting macOS < 10.15 (to be able to deploy a binary to older macOS
versions).

This disables the std::filesystem support when in C++17 mode with such a
target.
2021-08-19 22:01:23 -03:00
Sébastien Rombauts
44bd9c4f38
Merge pull request #334 fix link for HAS_CODEC from linux-fan-dave/master
We only need to link the cipher version of sqlite in case of HAS_CODEC
2021-07-25 17:22:54 +02:00
Sébastien Rombauts
cc66ccfbe3
Merge pull request #333 Added Database and Statement method getChanges() from SRombauts/get-changes
Fix #331 How to get the number of updated/deleted rows?
2021-07-25 12:35:55 +02:00
David Feurle
359aae4cbe We only need to link the cipher version of sqlite in case of HAS_CODEC 2021-07-25 12:13:40 +02:00
Sébastien Rombauts
64c34bc7bd Added unit tests for new getChanges() and fix comment being too long 2021-07-25 10:46:56 +02:00
Sébastien Rombauts
74c8627df1 Update changelog 2021-07-25 10:46:56 +02:00
Sébastien Rombauts
ca7c0e5f1a Added Database and Statement method getChanges()
Fix #331 How to get the number of updated/deleted rows?

Fix cpplint warnings about line size with a NOLINT comment when better to keep oneline
2021-07-25 10:46:56 +02:00
Sébastien Rombauts
0c46d86e0d
Merge pull request #324 Fix Readme installation instructions from franklange/fix_readme_install 2021-03-26 11:41:34 +01:00
Frank Lange
2383860654 Fix Readme installation instructions
Removes manually adding the include directory from the Readme install instructions. The manual step is not needed since the include dir is already added on the library target by the current CMake configuration.
2021-03-20 14:26:39 +01:00
Sébastien Rombauts
f6b32259f2 Fix build with system provided lib older than SQlite 3.31.0 from 2020-01-22 2021-01-18 13:05:56 +01:00
Sébastien Rombauts
e779e68c78
Merge pull request #305 Add other constants that work with sqlite3_open_v2 from LuAPi/more-flags 2021-01-18 12:35:53 +01:00
Ivan Shynkarenka
114f89de30
Fix #317 Visual Studio 2019 compilation error ('SQLite::Database::Database': delegating constructor calls itself) (#318)
* Visual Studio 2019 compilation error ('SQLite::Database::Database': delegating constructor calls itself) #317

* Visual Studio 2019 compilation error ('SQLite::Database::Database': delegating constructor calls itself) #317

* Visual Studio 2019 compilation error ('SQLite::Database::Database': delegating constructor calls itself) #317
2021-01-09 08:57:37 +01:00
Sébastien Rombauts
ef650e06d6 Update Travis CI config to remove a deprecation warning and old TODOs 2021-01-06 18:35:26 +01:00
Sébastien Rombauts
cac0000ada Merge #299 Added Savepoint support from catalogm 2021-01-06 11:07:44 +01:00
Sébastien Rombauts
a9ef8c9ae4 Update changelog 2021-01-06 10:58:32 +01:00
Sébastien Rombauts
9b6c0cf6ea
Merge pull request #295 Compile internal SQLite library with -ffunction-sections from smichaku/smichaku/sqlite-function-sections 2021-01-06 10:53:43 +01:00
Sébastien Rombauts
79b5d0dfe9
Update SQLite3 from 3.33.0 to 3.34.0 (2020-12-01) 2021-01-06 10:45:46 +01:00
Sébastien Rombauts
93580bda24 Fix the compilation of example2 on latest MSVC 2021-01-06 10:41:20 +01:00