Commit Graph

2186 Commits

Author SHA1 Message Date
gwenn
670b1c221e
Merge pull request #644 from gwenn/alloc
Introduce `alloc` to generate C string allocated by sqlite3
2020-02-29 13:21:27 +01:00
gwenn
5356a609de Introduce alloc to generate C string allocated by sqlite3
Safe to send to SQLite for deallocation.
2020-02-29 13:09:42 +01:00
gwenn
a3e5ea990d
Merge pull request #640 from Genomicsplc/wasm-no-thread-checks
don't perform threading mode checks on wasm32
2020-02-29 10:01:25 +01:00
Joshua C. Randall
09ad553081 don't perform threading mode checks on wasm32 2020-02-24 22:48:54 +00:00
gwenn
0222662392
Merge pull request #638 from gwenn/clippy
Clippy + rust fmt
2020-02-22 12:03:00 +01:00
gwenn
15fc3b4b71 Clippy + rust fmt 2020-02-22 11:50:00 +01:00
gwenn
0acdb19a38
Merge pull request #635 from gwenn/actions
[ci skip] try a static build
2020-02-19 18:45:51 +01:00
gwenn
0868d7d68d [ci skip] try a static build 2020-02-18 21:21:31 +01:00
gwenn
39b49391cd [ci skip] try a static build 2020-02-18 21:17:37 +01:00
gwenn
4b10acad2b [ci skip] try a static build 2020-02-18 21:09:43 +01:00
gwenn
6010ed1618
Merge pull request #634 from gwenn/actions
[ci skip] Try to fix github actions script
2020-02-18 20:54:29 +01:00
gwenn
4cf59a8fdb [ci skip] Try to fix github actions script 2020-02-18 20:50:28 +01:00
gwenn
97478c2b39
Merge pull request #633 from gwenn/actions
Add github actions script
2020-02-18 20:28:19 +01:00
gwenn
7f877c5409 Add github actions script 2020-02-18 19:49:43 +01:00
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