849 Commits

Author SHA1 Message Date
Pierre Proske
060d5323c3 Rename DLL_API to –SQLITECPP_API, and add –visibility attribute for gcc 2023-02-14 11:31:54 +11:00
Pierre Proske
1eca00cb01 Fixed meson build thanks to @ninjaoflight 2023-02-14 10:34:48 +11:00
Pierre Proske
6110463dfe
Update include/SQLiteCpp/SQLiteCppExport.h
Use _WIN32 instead of WIN32

Co-authored-by: Jonathan Guzmán <jonguz5@hotmail.com>
2023-02-13 12:30:55 +11:00
Pierre Proske
8f8eee6168 Simplify CMake for shared libs 2023-02-07 12:45:31 +11:00
Pierre Proske
14cba69a33 Now working with example 2023-02-06 19:43:35 +11:00
Pierre Proske
f2253419b2 Incorrect include 2023-02-06 14:59:35 +11:00
Pierre Proske
e3fc62dd35 More fixes, should be working now 2023-02-06 13:19:57 +11:00
Pierre Proske
25ab3ce1c2 Add dll export/import macros 2023-02-03 18:27:21 +11:00
Sébastien Rombauts
bac9a8a6ad
Merge pull request #399 add disable option for sqlite3_expanded_sql from ninjaoflight/optional-sqlite3_expanded_sql 2023-02-02 07:46:57 +01:00
Sébastien Rombauts
ad6606b320
Merge pull request #404 Add documentation for prepared statements in transactions from ewarchul/query_transactions_example 2023-02-02 07:45:38 +01:00
ewarchul
80f9facf66 Add documentation for prepared statements in transactions 2023-01-04 09:52:19 +01:00
Sébastien Rombauts
8716c52f84
Merge pull request #400 CMakr/meson Lint corrections from ninjaoflight/lint-corrections 2022-12-21 12:27:19 +01:00
Sébastien Rombauts
ca7e6cf42d
Merge pull request #401 Fix meson installation from dougnazar/fix_meson_install 2022-12-21 12:24:51 +01:00
Doug Nazar
3a6206c350 Fix meson installation
Fix include directory name so include files get installed.
Flag library for installation on non-Windows platforms.
2022-12-21 03:06:21 -05:00
Jonathan Guzmán
c07f9ba8f0
add_definitions changed to target_compile_definitions 2022-12-19 20:05:37 -06:00
Jonathan Guzmán
e78539059d
[meson] correct the SQLITE_HAS_CODEC definition 2022-12-19 20:03:45 -06:00
Jonathan Guzmán
c95a32378e
change add_definitions to target_compile_definitions 2022-12-19 20:00:16 -06:00
Jonathan Guzmán
1841e6b66f
add disable option for sqlite3_expanded_sql
make sqlite3_expanded_sql use optional and give a warning at compile time
along with a exception at runtime when used in an application
2022-12-19 19:18:31 -06:00
Sébastien Rombauts
0d2550bc9a
Merge pull request #395 add meson usage guide from ninjaoflight/meson-readme-guide 2022-12-17 21:51:28 +01:00
Sébastien Rombauts
377aacc252
Merge pull request #397 Add a Transaction::rollback() method from SRombauts/add-transaction-rollback 2022-12-17 21:49:57 +01:00
Sébastien Rombauts
cd508f4bee
Merge pull request #384 Add Mingw GitHub actions from SRombauts/mingw-github-actions 2022-12-17 21:49:30 +01:00
Sébastien Rombauts
4e03e590c4 Add an explicit generator to the matrix config of Github Actions to handle MinGW Makefiles 2022-12-17 14:15:49 +01:00
Jonathan Guzmán
bc8c8ffcc5
add example wrap
this wrap file is only for demonstrations purposes
once there is a proper wrap in wrapdb this should be deleted
if want to use bleeding edge or tag check the meson wrap manual
2022-12-16 22:54:29 -06:00
Jonathan Guzmán
2554472a6c
add meson samples 2022-12-16 22:44:34 -06:00
Jonathan Guzmán
841247f061
add meson usage guide 2022-12-16 21:13:54 -06:00
Sébastien Rombauts
cc0044a603 Add a Transaction::rollback() method 2022-12-15 19:00:04 +01:00
Sébastien Rombauts
fc92d9cf92 Reduce the number of images to test on AppVeyor, to speed up the build 2022-12-15 18:59:14 +01:00
Sébastien Rombauts
81a28af858 Fix Savepoint_test comments and file formatting 2022-12-15 18:57:21 +01:00
Sébastien Rombauts
7b61ad1095
Merge pull request #396 Rename Savepoint RollbackTo() and fix class comments and formatting from SRombauts/rename-savepoint-rollback-to 2022-12-15 18:42:33 +01:00
Sébastien Rombauts
ce9699decf Rename Savepoint::rollback() to Savepoint::rollbackTo() 2022-12-15 13:41:49 +01:00
Sébastien Rombauts
4a9cc0adce Fix Savepoint comments and file formatting
Improved Savepoint description, it was mostly copy-pasted from Transaction with missing bits of information
Conform to the SQLiteCpp code style, mainly braces have to be located on their own line
2022-12-15 13:30:19 +01:00
Sébastien Rombauts
343299a31d
Merge pull request #390 fix incorrect work of savepoint from spoyler/save_point
Fix #381
2022-12-15 13:12:10 +01:00
Sébastien Rombauts
6ebb328f0e
Merge pull request #391 meson project changes based on wrap submission review from ninjaoflight/meson-macos-fix 2022-12-15 11:18:49 +01:00
Sébastien Rombauts
66975600be
Merge pull request #394 check if SQLITE_OPEN_NOFOLLOW is defined from ninjaoflight/macos-11-fix 2022-12-15 11:16:36 +01:00
Jonathan Guzmán
f71633cc2d
set warning level to 3 2022-12-14 19:21:46 -06:00
Jonathan Guzmán
e8b812e1e1
meson code review
change version to 3.2.1
change file sources array to files()
comment default flags
check for sqlite3_load_extension support
change warning() to message('warning:
2022-12-13 21:02:32 -06:00
Jonathan Guzmán
d4ff61fd2e
check if SQLITE_OPEN_NOFOLLOW is defined
under MacOS 11 BigSur(macos-latest) the macro SQLITE_OPEN_NOFOLLOW
is not defined so it may cause compilation issues for those versions
2022-12-13 19:37:17 -06:00
Sébastien Rombauts
403839d910
Merge pull request #393 Fix preprocessor issues from jowr/fix_preprocessor_issues 2022-12-13 15:10:56 +01:00
Jorrit Wronski
f1f1748f65 Correct use of the __has_include preprocessor macro 2022-12-13 11:03:10 +01:00
Jorrit Wronski
a1510849f8 Do not compare the version number for external SQLite3 libraries 2022-12-13 11:01:56 +01:00
Sébastien Rombauts
bd5bf7996a Release 3.2.1
Bugfixes and cmake/meson build system fixes only
2022-12-12 18:14:25 +01:00
Сидоров Андрей Алексеевич
1a63044624 Add release for savepoint after rollabck in destructor for deleting it form sqlite transaction stack. 2022-12-12 12:35:34 +03:00
Sébastien Rombauts
833f007a0b Fix Github Actions subdir example to also triggers on pull requests
Also fix the introduced mixed endlines
2022-12-12 09:17:28 +01:00
Sébastien Rombauts
cd5f3ff085 Fix Github Actions to also triggers on pull requests
Not only on push from myself!
2022-12-12 09:12:28 +01:00
Sébastien Rombauts
a5c783db99
Merge pull request #389 [meson] add missing compile options from ninjaoflight/meson-fixes 2022-12-12 09:06:19 +01:00
Jonathan Guzmán
2d0d1aa69c
[meson] correct wrong option message 2022-12-11 20:06:42 -06:00
Jonathan Guzmán
c1b9420ba9
add missing compile options 2022-12-11 19:48:41 -06:00
Sébastien Rombauts
8e00fef2e5
Merge pull request #388 make std::filesystem optional from ninjaoflight/std-filesystem-optional 2022-12-11 22:46:39 +01:00
Jonathan Guzmán
8d36ab8304
make std::filesystem optional
Add a switch to disable std::filesystem so it can be optinally disabled
this should let users that older compilers versions to disable it
2022-12-11 14:39:49 -06:00
Sébastien Rombauts
55b30a2a3c
Merge pull request #386 [meson] Update SQLite from 3.39.3 to 3.40.0 from ninjaoflight/sqlite-meson-update 2022-12-11 21:37:34 +01:00