Commit Graph

1429 Commits

Author SHA1 Message Date
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
John Gallagher
7398ffcb4a Merge pull request #247 from jgallagher/no-buildtime-bindgen-by-default
Rework build process to not run bindgen by default
2017-03-03 16:07:12 -05:00
John Gallagher
ab1f784b5e Add buildtime_bindgen tests to CI. 2017-03-03 15:47:42 -05:00
John Gallagher
5a4b401965 Update Changelog for 0.10.1. 2017-03-03 15:39:00 -05:00
John Gallagher
ad58fd3fe4 Add build notes to README. 2017-03-03 15:37:45 -05:00
John Gallagher
f0dfab0349 Only check for and require SQLITE3_INCLUDE_DIR if we're running bindgen at buildtime. 2017-03-03 15:37:45 -05:00
John Gallagher
06383c65cb Update build process to use prebuilt bindings.
Adds buildtime_bindgen feature to run bindgen dynamically.
2017-03-03 15:37:45 -05:00
John Gallagher
9510e25ef3 Add prebuilt bindings for all relevant SQLite versions. 2017-03-03 15:37:45 -05:00
John Gallagher
09e3f28935 Merge pull request #246 from gwenn/build-scripts-comments
Add comments in build scripts (#244)
2017-03-03 15:37:34 -05:00
gwenn
a5ff2387fa Add comments in build scripts (#244) 2017-03-03 21:15:54 +01:00
John Gallagher
84d21ecf91 Merge pull request #245 from jgallagher/update-bundled-sqlite
Update bundled SQLite to 3.17.0.
2017-03-03 13:27:49 -05:00
John Gallagher
0a35f4bb1e Version bumps to use new bundled SQLite. 2017-03-03 13:07:27 -05:00
John Gallagher
62eef1c8a0 Update bundled SQLite source to 3.17.0 2017-03-03 13:07:15 -05:00
John Gallagher
321dfff41a Add limits feature to doc-publishing script 2017-02-28 09:56:38 -05:00
John Gallagher
acf612985e Update Changelog with 0.10.0 release date 2017-02-28 09:34:28 -05:00
John Gallagher
e536ce02e8 Merge pull request #239 from gwenn/clippy
Fix clippy warnings
2017-02-28 09:33:21 -05:00
gwenn
faa94d1246 Fix clippy warnings
And fix bench.
2017-02-24 20:10:51 +01:00
John Gallagher
4918fb8f50 Merge pull request #234 from jgallagher/semver-check
Perform a runtime check that the SQLite version isn't older than the one we found at build time.
2017-02-24 10:06:22 -05:00
John Gallagher
39d71810ce Merge branch 'master' into semver-check 2017-02-23 15:36:54 -05:00
John Gallagher
0d8c6ca5d7 Merge pull request #238 from gwenn/categories
Add categories and keywords to libsqlite3-sys
2017-02-23 15:36:10 -05:00
gwenn
aedb681f54 Add categories and keywords to libsqlite3-sys 2017-02-23 21:07:10 +01:00
John Gallagher
6bac06cc49 Merge pull request #237 from sgrif/sg-remove-libc
Remove the dependency on `libc`
2017-02-16 13:25:55 -05:00
Sean Griffin
2c58b3f804 Remove the dependency on libc
Recent versions of bindgen use `std::os::raw` over `libc`, but currently
`libsqlite3-sys` is overriding that. `std::os::raw` is a subset of
`libc` that exports only the relevant type definitions, but not any
functions which require additional linking. This enables
`libsqlite3-sys` to be more easily used on targets that may not have a
libc available (presumably sqlite itself would have been compiled with
musl in that case)
2017-02-16 11:17:24 -05:00
John Gallagher
7a8dfbd555 Add to CONTRIBUTORS 2017-02-11 10:51:29 -05:00
John Gallagher
28f990773c Merge pull request #236 from miedzinski/urlfix
Fix URL Markdown syntax in Connection docs
2017-02-11 10:49:54 -05:00
Dominik Miedziński
1b1573c5b2 Fix URL Markdown syntax in Connection docs 2017-02-11 10:50:13 +01:00
John Gallagher
56eee2c13c Perform a runtime check that the SQLite version isn't older than the one we found at build time. 2017-02-09 20:56:51 -05:00
John Gallagher
7444f7b30a Merge pull request #233 from jgallagher/clarify-old-sqlite-version-support
Clarify support of older SQLite versions.
2017-02-09 20:38:37 -05:00
John Gallagher
358cca1638 Clarify support of older SQLite versions. 2017-02-09 20:23:17 -05:00