Commit Graph

277 Commits

Author SHA1 Message Date
Thom Chiovoloni
b86acc1d79
Merge branch 'hotfix-sys-0.25.2' 2022-10-26 19:43:15 -07:00
Thom Chiovoloni
6e20eb2182 Regenerate bundled SQLcipher (cherry-picking went wrong?) 2022-10-26 19:39:38 -07:00
Thom Chiovoloni
589524ab6e Bump libsqlite3-sys version to 0.25.2 2022-10-26 19:39:38 -07:00
heavenboy8
2585881991 bump sqlcipher to 4.5.2 2022-10-26 19:39:38 -07:00
gwenn
02b3f07079 Upgrade bindgen to version 0.61 2022-10-18 20:17:31 +02:00
gwenn
ff1b3d5ed4
Merge pull request #1223 from gwenn/const
Reuse constants already defined in SQLite <= 3.14.0
2022-10-05 19:30:17 +02:00
gwenn
da9c831b9d Upgrade SQLite bundled version to 3.39.4 2022-10-04 17:23:35 +00:00
gwenn
c5b63f67f0 Upgrade SQLite bundled version to 3.39.3 2022-09-12 16:48:20 +00:00
gwenn
dae4390c5e Reuse constants already defined in SQLite <= 3.14.0 2022-09-02 20:04:18 +02:00
gwenn
2dd11143c9 Remove min_sqlite_version_3_7_16 feature
And associated bindgen
2022-08-30 13:05:47 -07:00
gwenn
6766d6a6cd Remove old_sqlite feature
And associated bindgen_3.6.8.rs
2022-08-30 13:05:47 -07:00
gwenn
987755f58e Oops 2022-08-30 13:05:47 -07:00
gwenn
6e740d0611 Change default minimal SQLite API version
From 3.6.8 to 3.14.0.
Use `old_sqlite` feature to keep 3.6.8 (or 3.7.16) as the minimal version.
Use `modern_sqlite` for SQLite API > 3.14.0.
Also remove old 3.6.23 and 3.7.7 bindings.
2022-08-30 13:05:47 -07:00
heavenboy8
f6da1acefc bump sqlcipher to 4.5.2 2022-08-17 08:28:08 +02:00
Daniel Kahn Gillmor
53b1b598cb Drop bindgen layout tests
The auto-generated bindgen layout tests are architecture dependent and
cause breakage on 32-bit platforms at least.

Note that this does not yet remove the layout tests from
bindgen-bindings/bindgen_*.rs -- i'm not sure how those are generated.

Addresses: #722
2022-08-16 14:26:58 -07:00
Thom Chiovoloni
12fc73d122 Bump libsqlite3-sys patch version number 2022-07-22 02:32:53 -07:00
Thom Chiovoloni
d4c1b22c42 Bump libsqlite3-sys to 3.39.2 2022-07-22 02:32:53 -07:00
gwenn
98281f8a5b Upgrade SQLite bundled version to 3.39.1 2022-07-17 17:23:47 +00:00
gwenn
153d8fbc71 Prepare for next release 2022-07-14 13:44:05 +02:00
gwenn
efff01cd4a Upgrade SQLite bundled version to 3.39.0 2022-06-28 16:43:01 +00:00
gwenn
441b03cbf9 Upgrade bindgen to version 0.60 2022-06-07 20:08:11 +02:00
gwenn
618e9a1274 Clean code
Typos, deprecated code usages, ...
2022-05-29 13:33:51 +02:00
gwenn
c3c6c71391 Upgrade SQLite bundled version to 3.38.3 2022-04-30 07:23:21 +00:00
Thom Chiovoloni
f8b9ad8907 Disable winsqlite3 on 32 bit targets 2022-04-03 08:08:45 -07:00
Thom Chiovoloni
3f6570f8bf Prep libsqlite3-sys release 0.24.2 2022-03-29 22:44:47 -07:00
Thom Chiovoloni
202617f7af Bump bundled sqlite to 3.38.2 2022-03-26 19:52:42 -07:00
Thom Chiovoloni
c3b419b1e5 Bump bundled sqlite to 3.38.1 2022-03-12 11:08:35 -08:00
Thom Chiovoloni
8d0582a8af Force use of buildtime_bindgen under winsqlite3 for now 2022-03-12 11:08:24 -08:00
Thom Chiovoloni
8db9aff358 Prep libsqlite3-sys release 0.24.1 2022-03-05 09:03:28 -08:00
Thom Chiovoloni
db8f70f2b5 Update bundled SQLcipher to v4.5.1 (equivalent to SQLite 3.37.2) 2022-03-05 08:50:16 -08:00
gwenn
2dc92fb73c Prepare release 0.27.0 2022-02-27 18:41:10 +01:00
gwenn
5648122b09 Upgrade SQLite bundled version to 3.38.0 2022-02-23 17:36:23 +00:00
gwenn
897ef9cf25 Fix shell scripts
Replace `$_` by `$0` because `$_` doesn't work when using `sh upgrade.sh`.
Replace `bash` by `sh` because we should not depend on bash.
And also remove unused `CUR_DIR` variable.
2022-01-15 10:35:30 +01:00
gwenn
2536df39d2 Upgrade SQLite bundled version to 3.37.2 2022-01-11 18:02:02 +00:00
Thom Chiovoloni
9cbe5a5e89
Move Limits enum from libsqlite3-sys into rusqlite 2022-01-08 16:45:35 -08:00
gwenn
e1fd731cb0 clippy::unseparated_literal_suffix 2022-01-06 05:07:27 -08:00
gwenn
c10e2f39ef clippy::single_match_else 2022-01-06 04:56:59 -08:00
gwenn
68f41d6e9e clippy::semicolon_if_nothing_returned 2022-01-06 04:56:42 -08:00
gwenn
406ac6a7fc clippy::must_use_candidate 2022-01-06 04:56:24 -08:00
link2xt
3af939ab8d Upgrade bundled SQLCipher to 4.5.0 2022-01-03 21:42:30 +00:00
gwenn
0a2b50c734 Upgrade SQLite bundled version to 3.37.1 2022-01-02 17:55:20 +00:00
gwenn
0ce15c546a Fix clippy warnings 2021-12-18 08:42:04 +01:00
Thom Chiovoloni
03dbb7821c Prep releases libsqlite3-sys:0.23.2 and rusqlite:0.26.2 2021-12-07 19:58:11 -08:00
gwenn
30f8c8c502 Fix callbacks lifetime 2021-12-01 04:28:09 -08:00
gwenn
d70fbac231
Merge pull request #1046 from gwenn/split_upgrade_script
Split upgrade script
2021-11-28 18:58:15 +01:00
gwenn
aede11e6fd Upgrade checks
List Rust enums / structs impacted when new SQLite constants are
introduced.
2021-11-28 18:09:42 +01:00
gwenn
4ec670edeb Split upgrade script
Such as we can upgrade SQLite / SQLCipher without regenerating SQLCipher / SQLite files
2021-11-28 10:09:37 +00:00
gwenn
006c8b77e7 Add new SQLITE_CONSTRAINT_DATATYPE constant 2021-11-28 09:04:45 +00:00
gwenn
795a53d368 Bump bundled sqlite3 version to 3.37.0 2021-11-28 08:45:16 +00:00
Umang Raghuvanshi
74faf8a12c
libsqlite3-sys: darwin: fix crypto link framework
SecurityFoundation.framework is an unrelated macOS framework which does not directly provide cryptography functions. This framework also doesn't exist on iOS, which breaks linking This commit changes to link against Security.framework instead, as noted in the SQLCipher docs [1].

[1] https://www.zetetic.net/blog/2013/6/27/sqlcipher-220-release.html
2021-11-15 18:40:49 +01:00