Kacperos155
be5400ca99
Small improvements & code cleanup
2022-07-23 16:07:53 +02:00
Jonathan Guzmán
e32daec169
link library statically when building unit tests
...
make the meson file link statically the library when building the unit tests
executable so it does not fail on windows
as the symbols are not exported by default
2022-04-19 22:03:40 -06:00
Jonathan Guzmán
9f5d446e36
use c++14 on windows
...
on windows may show an error in xstddef if c++11 is used
this is a workarround for that issue
"deduced return types are a C++14 extension"
2022-04-19 21:59:52 -06:00
Jonathan Guzmán
179ef091c6
define preprocesor definition
...
define NON_AMBIGOUS_OVERLOAD to prevent ambiguous overload
and use int instead of long to prevent ambiguous overload errors
2022-04-19 21:58:04 -06:00
Jonathan Guzmán
6b6078ab3f
use int64_t instead of long long(unit tests)
...
using long long may be ambigous for the compiler in the call of bind()
using a fixed type(int64_t) solves this issue
this issue was replicated on both Arch Linux&Windows
with clang 13.0.1/14.0.1
2022-04-19 21:12:46 -06: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
hong.guo
2971d4c975
add compatible definition for std::experimental::filesystem
2021-11-26 13:20:14 +08: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