Commit Graph

1907 Commits

Author SHA1 Message Date
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
gwenn
94670c0119 Rustfmt 2017-05-12 19:18:42 +02:00
gwenn
dfdd42fd09 Bind sqlite3_commit_hook and sqlite3_rollback_hook 2017-05-12 19:14:34 +02:00
gwenn
466b8aab2f Rename row parameter to row_id 2017-05-12 19:12:10 +02:00
gwenn
aa97e0620f Use the linguist-vendored attribute to vendor sqlite3 sources 2017-05-08 17:52:39 +02:00
Davide Aversa
ffeb450766 Add snippet for enabling bundled features in Readme 2017-05-02 09:36:41 +02:00
gwenn
e8bc9fcc21 TypeChooser has been renamed to ParseCallbacks 2017-04-27 18:42:10 +02:00
gwenn
3e6fffaf94 Due to rust monophormisation, there is no need for double indirection 2017-04-27 18:05:12 +02:00
gwenn
63a444a95f Fix memory leak and add test 2017-04-26 20:12:48 +02:00
gwenn
6eb98afd67 SQLITE_RECURSIVE is not available with SQLite 3.6.8 2017-04-25 21:08:41 +02:00
gwenn
3b575c3b4a Implementation of sqlite3_update_hook #260
First draft (no tested and a memory leak)
2017-04-25 20:58:22 +02:00
gwenn
197d1161c3 Field estimatedRows is not available with SQLite 3.7.7 2017-04-21 21:50:38 +02:00
gwenn
6371c0c6ec Fix bindgen 3.7.7 2017-04-21 21:38:29 +02:00
gwenn
1d684ae653 Merge remote-tracking branch 'jgallagher/master' into vtab 2017-04-21 20:01:04 +02:00
gwenn
30bba4618b Upgrade outdated dependencies
serde 0.9 -> 1.0
bitflags 0.7 -> 0.8
bindgen 0.21 -> 0.23
2017-04-21 19:47:47 +02:00
gwenn
9ea48db46f Some open flags are not available in 3.6.8 2017-04-20 20:59:07 +02:00
gwenn
fba280ff64 Some limits are not available in 3.6.8 2017-04-20 20:33:18 +02:00
Steven Fackler
d4177c5217 Set HAVE_USLEEP
SQLite otherwise has to sleep for a second at a time when waiting for a
lock (!)
2017-04-18 12:37:04 +02:00
Aidan Hobson Sayers
7bd969b8fd Fix functions for empty blobs
Expands fix from #175
2017-04-16 16:49:28 +01:00
gwenn
08f96a678e Rustfmt 2017-04-07 19:43:24 +02:00
gwenn
4e5b64fbca Use constants generated by bindgen where possible 2017-04-07 19:36:31 +02:00
John Gallagher
cd824aeaee Bump to 0.11.0 2017-04-06 14:10:32 -04:00
John Gallagher
87ab8aefc8 Merge pull request #257 from jgallagher/add-sqlite-3-7-16-bindgen
Add bindgen bindings for SQLite 3.7.16 to libsqlite3-sys.
2017-04-06 13:57:37 -04:00
John Gallagher
5a5d28ec69 Add bindgen bindings for SQLite 3.7.16 to libsqlite3-sys.
Bump to version 0.10.3 to use libsqlite3-sys 0.8.0.
2017-04-06 13:42:01 -04:00
John Gallagher
ae9b62b9b3 Merge pull request #256 from jgallagher/version-bump
Bump to 0.10.2.
2017-04-05 15:22:27 -04:00
John Gallagher
893bae1220 Bump to 0.10.2. 2017-04-05 14:34:06 -04:00
John Gallagher
401d1f81e1 Merge pull request #255 from jgallagher/fix-duplicated-constants
Avoid publicly exporting constants from libsqlite3-sys multiple times.
2017-04-05 14:31:31 -04:00
John Gallagher
549373f764 Fix incorrect ffi constant accesses. 2017-04-05 13:58:33 -04:00
John Gallagher
76363cca7e Merge pull request #253 from jgallagher/fix-unused-macro-warning
Fix unused macro warning when compiling tests without `trace` feature.
2017-04-05 13:30:46 -04:00
John Gallagher
61eb843c6b Merge remote-tracking branch 'origin/master' into fix-duplicated-constants 2017-04-05 13:10:48 -04:00
John Gallagher
83d9817905 Merge pull request #254 from jgallagher/add-fromsql-isize
Add FromSql/ToSql impls for isize.
2017-04-05 13:09:26 -04:00
John Gallagher
a13df1e3cd Avoid publicly exporting constants from libsqlite3-sys multiple times. 2017-04-05 13:05:28 -04:00
John Gallagher
4b2a6d2207 Fix unused macro warning when compiling tests without trace feature. 2017-04-05 12:54:58 -04:00
John Gallagher
a1206d5076 Add FromSql/ToSql impls for isize. 2017-04-05 12:52:37 -04:00
gwenn
3889c8d3e0 Merge remote-tracking branch 'jgallagher/master' into vtab 2017-03-09 19:24:43 +01:00
gwenn
c40b395410 Min SQLite version for vtab is 3.7.7 2017-03-09 19:24:02 +01:00
John Gallagher
ccf1f61127 Merge pull request #249 from jgallagher/reorganize-extract-row
Reorganize: Extract Row/Rows and helper types into their own mod file.
2017-03-09 09:30:28 -05:00
John Gallagher
ec78a2b5fa Reorganize: Extract Row/Rows and helper types into their own mod files. 2017-03-08 17:03:31 -05:00
gwenn
7f0082e44e Merge remote-tracking branch 'jgallagher/master' into vtab 2017-03-08 20:35:07 +01:00
John Gallagher
745341716c Merge pull request #248 from jgallagher/reorganize-extract-statement
Reorganize: Move Statement into its own module file
2017-03-08 12:41:34 -05:00
John Gallagher
6bd8516511 Roll convenient.rs into statement.rs. 2017-03-08 11:26:25 -05:00
John Gallagher
5bd7cb37c7 Move named_params.rs into statement.rs, greatly reducing the StatementCrateImpl trait size. 2017-03-08 11:20:43 -05:00
John Gallagher
59159fcb25 Rename execute_() to execute_with_bound_parameters(). 2017-03-08 11:11:05 -05:00
John Gallagher
723fc91a09 Minor refactor to avoid needing to expose Statement::decode_result(). 2017-03-08 11:04:22 -05:00
John Gallagher
38c9a4a159 Reorganize: Extract Statement and its impl into its own module. 2017-03-08 10:48:14 -05:00