Chip Collier
3e4f15aef7
Merge pull request #1 from chamakits/feature/bundle-update-bindgens
...
Regenerate bindgen based on bundled sqlite
2016-10-08 08:10:41 +02:00
Omar Ferrer
4b0d0f0d89
Deleted unneeded shell.c
2016-10-08 01:59:42 -04:00
Omar Ferrer
cf29cf8c87
Added bundled to be tested too in both remote CI
2016-10-08 01:48:38 -04:00
Omar Ferrer
70203f9ed6
Changing binding from std::os::raw back to libc
2016-10-08 01:39:57 -04:00
Omar Ferrer
5c46dbcb71
Updated README to have document the 'bundled' feature
2016-10-08 01:22:57 -04:00
Omar Ferrer
b2da510b04
Reran bindgens to match the bundled sqlite.
...
Added manually to the bindgens a type entry for 'Struct_sqlite3' pointing to sqlite3 to prevent changing multiple files.
Reran bindgens as:
bindgen --builtins --link=sqlite3 --output=./libsqlite3-sys/src/bindgen.rs ./libsqlite3-sys/sqlite3/sqlite3.h
2016-10-08 01:12:30 -04:00
Chip Collier
dde6e9ee3a
Added feature to build a static sqlite from the bundled amalgamation.
2016-06-15 16:34:13 +02:00
Chip Collier
a9421e2047
adding sqlite v3.13.0 amalgamation
2016-06-15 16:33:37 +02:00
John Gallagher
bf8c495b69
Merge pull request #175 from gwenn/empty-blob
...
Empty blob
2016-06-13 14:46:56 -04:00
gwenn
9f05147660
Fix issue jgallagher/rusqlite#174
2016-06-13 20:32:39 +02:00
gwenn
95050f10a8
Add test with empty blob (issue #174 ).
2016-06-13 20:22:21 +02:00
John Gallagher
982499ba51
Merge pull request #173 from jgallagher/merge-0.7.3
...
Merge 0.7.3 changes
2016-06-01 22:12:25 -04:00
John Gallagher
58b7aea4f7
Merge branch 'release-0.7' into merge-0.7.3
2016-06-01 21:31:26 -04:00
John Gallagher
49394c8532
Merge pull request #172 from jgallagher/bugfix-insert-multiple-tables
...
Remove sanity check in `insert()` that could return `StatementFailedToInsertRow`.
2016-06-01 21:24:46 -04:00
John Gallagher
b235b89555
Bump to version 0.7.3.
2016-06-01 21:06:56 -04:00
John Gallagher
ad0b823560
Remove sanity check in insert()
that could return StatementFailedToInsertRow
.
...
This was intended to detect an `UPDATE` query passed to `insert`, but
incorrectly failed if inserts to different tables caused the same row ID
to be returned from both. `UPDATE`s are no longer detectable.
2016-06-01 20:52:22 -04:00
John Gallagher
5941be0456
Merge pull request #170 from jgallagher/rust-1.9-reexported-trait-bugfix
...
Remove workaround for Rust compiler bug that was fixed in 1.9.
2016-05-30 10:02:45 -04:00
John Gallagher
d43a1abc78
Merge branch 'master' into rust-1.9-reexported-trait-bugfix
2016-05-29 23:54:47 -04:00
John Gallagher
326d8999e8
Merge pull request #169 from jgallagher/deprecated
...
Use new Rust 1.9 attribute: #[deprecated(since = "...", note = "...")]
2016-05-29 23:42:22 -04:00
John Gallagher
1de7f4ae06
Add deprecation note to Changelog.
2016-05-29 20:39:27 -04:00
John Gallagher
b1b438158d
Remove workaround for Rust compiler bug that was fixed in 1.9.
2016-05-29 20:38:46 -04:00
John Gallagher
7c0eba0475
Add since
and note
for all deprecation tags.
2016-05-29 20:36:20 -04:00
John Gallagher
f1089176f1
Merge pull request #168 from gwenn/clippy
...
Simply use `cargo clippy`
2016-05-29 14:08:08 -04:00
gwenn
6a4eacc927
Simply use cargo clippy
2016-05-28 11:16:55 +02:00
gwenn
f817ec86bc
Use new Rust 1.9 attribute: #[deprecated].
2016-05-26 21:16:09 +02:00
John Gallagher
9e49452300
Merge pull request #161 from jgallagher/safe-fromsql
...
Redesign FromSql
2016-05-26 00:14:35 -04:00
John Gallagher
8adb96131b
Remove now-unnecessary FFI re-exports.
2016-05-25 19:53:18 -04:00
John Gallagher
2f4990dafd
Rename BorrowedValue -> ValueRef.
2016-05-24 21:34:18 -04:00
John Gallagher
308789495c
Add FromSql breaking change note to Changelog.
2016-05-24 20:16:13 -04:00
John Gallagher
d9df23ca90
Fix doc comment example of FromSql implementation.
2016-05-24 20:12:29 -04:00
John Gallagher
0fbfad2452
Remove functions::FromValue.
...
With the new definition of FromSql, we can reuse it since we can convert
a sqlite3_value into a BorrowedValue.
2016-05-24 20:08:12 -04:00
John Gallagher
4662b9b932
Allow FromSql::<f64> to work on SQLite integer values.
2016-05-24 20:05:32 -04:00
John Gallagher
9d47d5109a
Add doc comments for BorrowedValue and friends.
2016-05-24 19:48:26 -04:00
John Gallagher
734f18c985
Impl From
for converting Value <-> BorrowedValue
2016-05-24 19:36:38 -04:00
John Gallagher
5b0cdbaa56
Redo FromSql to make implementing it not unsafe
.
...
Pass implementers a BorrowedValue instead of relying on them to use
the FFI interface. We take the responsibility of converting the raw
statement and column index into a BorrowedValue.
2016-05-23 21:49:54 -04:00
John Gallagher
c90cd37c00
Add types::BorrowedValue.
2016-05-23 21:48:56 -04:00
John Gallagher
efc6c89370
Add RawStatement::column_type.
2016-05-23 21:46:51 -04:00
John Gallagher
1a17d3b117
Merge pull request #159 from jgallagher/refactor-types-mod
...
Refactor FromSql/ToSql out of types/mod.rs into their own submodules.
2016-05-22 20:31:43 -04:00
John Gallagher
dccfd7e801
Refactor: Extract ToSql into its own module.
2016-05-22 20:16:54 -04:00
John Gallagher
0e96e2269c
Refactor: Extract FromSql into its own module.
2016-05-22 20:01:03 -04:00
John Gallagher
1950158c87
Bump to 0.7.2
2016-05-19 20:38:17 -05:00
John Gallagher
8ce2f5888f
Document CachedStatement::discard.
2016-05-19 20:36:41 -05:00
John Gallagher
dc1b0e39ed
Re-export DropBehavior and SqliteTransactionBehavior.
2016-05-19 20:35:27 -05:00
John Gallagher
84985dbd84
Bump to 0.7.1
2016-05-19 20:32:57 -05:00
John Gallagher
d27ed0de63
Re-export Savepoint.
2016-05-19 20:32:17 -05:00
John Gallagher
9379002076
Bump to version 0.7.0.
...
Also bumps libsqlite3-sys to 0.5.0.
2016-05-19 20:26:18 -05:00
John Gallagher
e3b7d9612f
Add new features to README.
2016-05-19 20:26:18 -05:00
John Gallagher
0dfaf2816f
Update feature list in doc-publishing script
2016-05-19 20:26:18 -05:00
John Gallagher
261f82ef73
Merge pull request #157 from jgallagher/rustfmt
...
Rustfmt
2016-05-19 20:25:29 -05:00
John Gallagher
c4417bee0e
Manual fixes for rustfmt overly long lines.
2016-05-19 20:09:40 -05:00