gwenn
406cd6d2cf
Merge pull request #630 from gwenn/pr/open-with-vfs
...
add ability to open sqlite connection with specified vfs
2020-02-09 12:54:45 +01:00
gwenn
7d1d6024e9
Factorize code
2020-02-09 12:21:20 +01:00
gwenn
2a90073c1e
Merge pull request #629 from gwenn/const
...
Add missing constants
2020-02-09 12:11:05 +01:00
gwenn
4d58a43b38
Fix compilation errors
2020-02-09 12:08:25 +01:00
gwenn
9e17a0b28e
Merge remote-tracking branch 'upstream/master' into pr/open-with-vfs
...
# Conflicts:
# src/inner_connection.rs
2020-02-09 11:58:49 +01:00
gwenn
953906aab9
Rustfmt
2020-02-09 11:48:45 +01:00
gwenn
922228f604
Fix clippy warnings
2020-02-09 11:48:08 +01:00
gwenn
05e87b8d8d
Add missing constants
2020-02-09 11:47:01 +01:00
gwenn
9ca29b950e
Merge pull request #627 from gwenn/ignore_path_change
...
Ignore PATH change
2020-02-09 08:24:41 +01:00
gwenn
cedd7a59f8
Merge pull request #628 from gwenn/bindgen
...
Upgrade to bindgen 0.53
2020-02-08 11:25:28 +01:00
gwenn
b0be8a1536
Upgrade to bindgen 0.53
2020-02-08 11:12:18 +01:00
gwenn
17759a912e
Ignore PATH change
...
Cargo itself changes the PATH.
So `libsqlite3-sys` is always rebuilt on Windows platform.
To avoid this, we ignore PATH change.
If the PATH has been modified in such a way that a different SQLite library is found,
you will have to also modify SQLITE3_LIB_DIR to make cargo rebuild `libsqlite3-sys`
Fix #435 .
2020-02-08 10:25:52 +01:00
gwenn
055352f07b
Merge pull request #619 from KamranMackey/master
...
Upgraded the bundled SQLite version to 3.31.0.
2020-01-26 21:02:09 +01:00
Kamran Mackey
c3f83c281a
Upgrade bundled SQLite version to 3.31.0.
...
Signed-off-by: Kamran Mackey <kamranm1200@gmail.com>
2020-01-26 12:44:03 -07:00
gwenn
fb165b4c3d
Merge pull request #624 from gwenn/error-codes
...
Add missing error codes
2020-01-26 18:34:48 +01:00
gwenn
b2c63c8224
Merge pull request #623 from gwenn/index-constraint-op
...
Add missing IndexConstraintOp entries
2020-01-26 18:26:40 +01:00
gwenn
cf7e2b5aec
Add missing error codes
2020-01-26 18:24:09 +01:00
gwenn
8cc4440f45
Add missing IndexConstraintOp entries
...
Remove conditional inclusions.
2020-01-26 18:14:52 +01:00
gwenn
5565d2e058
Add support to function flags ( #622 )
...
Breaking changes
2020-01-26 18:11:11 +01:00
gwenn
5d06bc25a6
Add missing IndexConstraintOp entries
...
Breaking changes
2020-01-26 17:51:51 +01:00
gwenn
b61c570cdd
Merge pull request #621 from gwenn/dbconfig
...
Add missing DbConfig entries
2020-01-26 17:36:15 +01:00
gwenn
19cfdbe82c
Merge pull request #620 from gwenn/description
...
Fix warnings related to deprecated Error::description
2020-01-26 17:11:19 +01:00
gwenn
e266211c48
Add missing DbConfig entries
2020-01-26 17:03:48 +01:00
gwenn
adb904650d
Fix warnings related to deprecated Error::description
2020-01-26 16:57:58 +01:00
gwenn
d1813caa1d
Merge pull request #617 from gwenn/params
...
Fix params macro
2020-01-18 19:29:14 +01:00
gwenn
f8991082da
Fix params macro
...
See #614
2020-01-18 19:04:28 +01:00
gwenn
ea7f0da6ae
Merge pull request #613 from thomcc/modern_sqlite
...
Separate the `modern_sqlite` and `bundled` features.
2020-01-14 20:40:39 +01:00
Thom Chiovoloni
585797b4d6
Add FromSql for Box<str>, Rc<str> and Arc<str>
2020-01-14 08:26:16 -08:00
Thom Chiovoloni
c70d148542
Remove most of the code using feature=bundled
as a version check
2020-01-14 08:11:36 -08:00
gwenn
a788d40f10
Merge pull request #610 from gwenn/0.17.1
...
Prepare 0.17.1 of libsqlite3-sys
2020-01-09 19:50:59 +01:00
gwenn
dbc25a9fd5
Prepare 0.17.1 of libsqlite3-sys
2020-01-09 19:13:47 +01:00
Thom Chiovoloni
844839d9a5
Allow crates with a direct dep on libsqlite3-sys to know if sqlcipher
has been enabled
2020-01-08 04:11:39 -08:00
gwenn
54163a4146
Merge pull request #604 from arthurprs/busytimeout_overflow
...
Fix i32 overflow in Connection::busy_timeout
2019-12-29 17:54:10 +01:00
arthurprs
cae86b2bfe
Fix i32 overflow in Connection::busy_timeout
2019-12-28 20:18:10 +01:00
gwenn
ff2a5a5588
Merge pull request #602 from gwenn/clippy
...
Fix some Clippy warnings
2019-12-19 20:19:35 +01:00
gwenn
2d25b34428
Fix some Clippy warnings
2019-12-19 20:08:04 +01:00
gwenn
fe81e7bc10
Merge pull request #601 from gwenn/bindgen
...
Upgrade bindgen to version 0.52
2019-12-14 08:34:42 +01:00
gwenn
cade470f15
Use runtime
feature for bindgen
...
https://github.com/rust-lang/rust-bindgen/issues/1694#issuecomment-565625756
> Are you using default-features = false? I think you need to change to
features = ["dynamic"] if so so that clang is runtime-detected.
Otherwise it needs a relatively-new libclang version.
2019-12-14 08:18:21 +01:00
gwenn
74b1c64761
[ci skip] Prepare release 0.21
2019-12-13 19:17:14 +01:00
gwenn
a0551496d8
Upgrade bindgen to version 0.52
2019-12-13 18:21:38 +01:00
gwenn
89c77895c3
Merge pull request #599 from mcginty/master
...
Download sqlite source via HTTPS.
2019-12-05 17:36:19 +01:00
Jake McGinty
8e1f70d465
Download sqlite source via HTTPS.
2019-12-05 11:46:23 +09:00
gwenn
3ef3c15ebe
Merge pull request #594 from stevenroose/tempfile
...
Replace deprecated tempdir with tempfile
2019-11-22 20:25:34 +01:00
Steven Roose
c162a4516c
Replace deprecated tempdir with tempfile
...
This also removes one dependency on the winapi crate. The current
version of the time crate also depends on winapi, but work is being done
to replace that version with 0.2 to remove the winapi dependency.
2019-11-22 11:12:53 +00:00
gwenn
bb3db3f877
Merge pull request #589 from gwenn/clippy
...
Fix clippy warnings
2019-11-03 11:39:45 +01:00
gwenn
8302a50fb8
Fix clippy warnings
2019-11-03 11:19:07 +01:00
gwenn
9484f5c15e
Merge pull request #588 from gwenn/session
...
Session
2019-11-02 15:21:55 +01:00
gwenn
de9f06f142
Fix ChangesetIter::start_strm
...
The input reference must still be alive after the function returns
2019-11-02 14:53:32 +01:00
gwenn
b57fd14b26
Test session feature on Travis
2019-11-02 10:58:12 +01:00
gwenn
fb9fb3790c
Fix segfaut by using a cursor instead of a slice.
2019-11-02 10:42:13 +01:00