Commit Graph

1201 Commits

Author SHA1 Message Date
John Gallagher
4852d826c8 Merge branch 'update-deps' of https://github.com/oherrala/rusqlite into oherrala-update-deps 2017-11-12 15:07:31 -07:00
John Gallagher
3d34ab4168
Merge pull request #287 from euclio/patch-1
add glob for sqlite sources in .gitattributes
2017-11-12 15:04:34 -07:00
John Gallagher
9d98ee54c0
Merge pull request #286 from mcgoo/vcpkg
msvc/vcpkg dynamic builds now require explicit opt-in
2017-11-12 15:03:49 -07:00
John Gallagher
08228ec7c6
Merge pull request #283 from king6cong/master
code indent
2017-11-12 15:03:31 -07:00
John Gallagher
b5f57c14c5
Merge pull request #276 from cactorium/master
Add Other variant for the Error type
2017-11-12 15:02:41 -07:00
Nick Fitzgerald
ea7207b83d Update bindgen dependency to the latest version
This also required adjusting the fixup inserting `SQLITE_DETERMINISTIC` into the
bindings if it was missing. Now that `bindgen` uses the `quote` crate for code
generation, instead of `syntex`, we can't rely on the output being formatted (it
only is formatted if there is a usable `rustfmt` on the `$PATH`). Even better
than this `contains` tweak would be switching to regexps or something.

Despite that formatting hiccup, newer `bindgen` releases are more reliable due
to many bug fixes, and also build in approximately half the time that older
`bindgen` versions do.
2017-11-11 17:09:19 -08:00
Lorenzo Villani
8cbfc00ec6 Add support for linking to SQLCipher 2017-10-24 19:52:19 +02:00
Ossi Herrala
28d58529b7 Update dependencies
* Gcc crate has been renamed to cc.
* Chrono::UTC has been renamed to Chrono::Utc.
* bitflags 1.0 uses associated constants. So prefix OpenFlags.
2017-10-09 23:25:40 +03:00
Pro
c08ee8be82 Export RowIndex trait to allow external code to be generic over what can index be 2017-09-20 15:34:06 +02:00
gwenn
c842e789bd Merge remote-tracking branch 'jgallagher/master' into vtab 2017-09-11 19:45:22 +02:00
edelangh
ab643c90ce review panic in InnerConnection.drop 2017-09-06 16:50:21 +02:00
gwenn
148dc0baf0 Fix more clippy warnings 2017-08-18 21:26:44 +02:00
edelangh
0d1907887e add cfg for test 2017-07-20 16:40:24 +02:00
gwenn
f7c1a8e7b8 Fix some clippy warnings 2017-07-19 21:26:39 +02:00
edelangh
bdd4f9a1a9 Added drop for Connection to prevent fd leak
Added call to flush_prepared_statement_cache
otherwise InnerConnection receives DatabaseBusy on sqlite3_close
2017-07-19 12:22:31 +02:00
louis
301634add7 fixed timezone issue 2017-07-18 09:56:02 -06:00
louis
6188a6a97c added more tests 2017-07-18 17:46:49 +02:00
louis
8bc97972f8 fixed %F instead of %F:%s 2017-07-18 17:43:25 +02:00
louis
0a114c4436 Fixed loss of time information during string conversion 2017-07-11 17:15:07 +02:00
louis
0d001583b2 Fixed loss of time information during string conversion 2017-07-11 17:01:25 +02:00
Andy Russell
6a4592da3c add glob for sqlite sources in .gitattributes 2017-06-21 15:00:01 -04:00
Jim McGrath
c2df3c27c5 msvc/vcpkg dynamic builds now require explicit opt-in 2017-06-16 10:33:07 -05:00
gwenn
83fb80d346 Docs.rs now supports building non-default features 2017-06-09 20:04:28 +02:00
gwenn
99ef10d599 Merge remote-tracking branch 'jgallagher/master' into doc-rs 2017-06-09 19:49:57 +02:00
king6cong
13a32e4004 code indent 2017-06-02 17:19:39 +08:00
Kelvin Ly
dde762bf0e Rename Error::Other to Error::ToSqlConversionFailure 2017-05-30 19:22:14 -04:00
John Gallagher
d5bd7d9601 Bump libsqlite3-sys to 0.8.1.
This minor version includes some internal rearranging of constants that
should not affect the public interface, and additions to the build
system that allow the use of vcpkg on Windows.
2017-05-29 16:56:47 -04:00
John Gallagher
4956e815cc Merge pull request #282 from mcgoo/vcpkg
document use of vcpkg
2017-05-29 15:09:21 -04:00
Jim McGrath
90731a4b99 document use of vcpkg 2017-05-29 13:58:27 -05:00
John Gallagher
0dad144516 Merge pull request #281 from jgallagher/publish-0.12.0
Bump to 0.12.0
2017-05-29 14:43:46 -04:00
John Gallagher
58aca46a3d Bump version to 0.12.0. 2017-05-29 13:42:15 -04:00
John Gallagher
90c01b900d Update Changelog 2017-05-29 13:42:10 -04:00
John Gallagher
e873183170 Add contributor 2017-05-29 13:40:23 -04:00
John Gallagher
5e86b65587 Add contributor 2017-05-29 13:40:23 -04:00
John Gallagher
99dfc51f56 Add contributor 2017-05-29 13:40:23 -04:00
John Gallagher
60aca5507b Add contributor 2017-05-29 13:40:23 -04:00
John Gallagher
20de96083a Merge pull request #280 from jgallagher/to-sql-str-u8
Add ToSql impls for str and [u8].
2017-05-29 13:39:35 -04:00
John Gallagher
8c7f7a40a6 Merge pull request #279 from jgallagher/new-deps
Update to bitflags 0.9.
2017-05-29 12:26:05 -04:00
John Gallagher
3827a835ef Add ToSql impls for str and [u8]. 2017-05-29 11:20:52 -04:00
John Gallagher
4623064f4d Update to bitflags 0.9. 2017-05-29 10:52:19 -04:00
John Gallagher
6b360a11c2 Merge pull request #258 from gwenn/constants
Constants
2017-05-29 10:37:26 -04:00
John Gallagher
0c67a342e0 Merge pull request #270 from gwenn/linguist-vendored
Use the linguist-vendored attribute to vendor sqlite3 sources
2017-05-29 10:30:44 -04:00
John Gallagher
b1927b31bf Merge pull request #278 from mcgoo/vcpkg
for msvc abi builds, add support for using sqlite from a vcpkg installation if available
2017-05-29 10:23:08 -04:00
John Gallagher
7e779b04ee Merge pull request #267 from THeK3nger/readme-bundle
Add example for enabling bundled features in Readme
2017-05-29 10:12:39 -04:00
John Gallagher
b7ce75b463 Merge pull request #264 from gwenn/outdated
Upgrade outdated dependencies
2017-05-29 10:11:09 -04:00
John Gallagher
50dcaf44ac Merge pull request #263 from sfackler/master
Set HAVE_USLEEP
2017-05-29 10:08:17 -04:00
John Gallagher
33b7382ae7 Merge pull request #261 from aidanhs/aphs-empty-blob-function
Fix functions for empty blobs
2017-05-29 10:02:22 -04:00
Jim McGrath
b3faed0f75 only depend on vcpkg for cfg(target_env = "msvc") 2017-05-28 06:15:47 -05:00
Jim McGrath
0dd10f85ba for msvc abi builds, add support for using sqlite from a vcpkg installation if available 2017-05-27 22:35:46 -05:00
Kelvin Ly
022f1e8671 Add Other variant for the Error type 2017-05-19 23:48:06 -04:00