John Gallagher
29494f46f6
Let create_scalar_function take an FnMut instead of a extern "C" fn.
2015-12-11 12:01:05 -05:00
John Gallagher
aae431760e
rustfmt - no code changes
2015-12-11 11:41:40 -05:00
John Gallagher
0c3575e845
Fix segfault in regexp user function test
2015-12-11 11:40:53 -05:00
John Gallagher
9f5f4ac385
Merge branch 'functions' of https://github.com/gwenn/rusqlite into gwenn-functions
...
Conflicts:
Cargo.toml
src/lib.rs
2015-12-11 11:31:25 -05:00
John Gallagher
a1f1480b18
Run rustfmt on all crate files
2015-12-10 16:48:09 -05:00
John Gallagher
26a7930d73
Merge pull request #93 from jgallagher/online-backup
...
Initial implementation of the online backup API.
2015-12-10 16:36:15 -05:00
John Gallagher
09825dbd90
Add feature tests to Travis
2015-12-10 16:33:46 -05:00
John Gallagher
49951ca3be
Add backup and restore methods to SqliteConnection (behind backup
Cargo feature)
2015-12-10 16:20:46 -05:00
John Gallagher
3781b8f47f
rustfmt backup.rs
2015-12-10 16:20:46 -05:00
John Gallagher
8c2e0a0da7
Rename BackupName -> DatabaseName
2015-12-10 16:20:45 -05:00
John Gallagher
5ebbf5a1a2
Use &str instead of String inside BackupName
2015-12-09 00:48:40 -05:00
John Gallagher
e2f8e73635
Initial implementation of the online backup API.
2015-12-09 00:19:59 -05:00
John Gallagher
e71104e6c3
Bump version to 0.5.0
2015-12-08 21:30:44 -05:00
John Gallagher
51a542c0f7
Fix broken load_extension feature
2015-12-08 21:15:23 -05:00
John Gallagher
c99ecd6681
Merge pull request #88 from jgallagher/flexible-build-script
...
Make libsqlite3-sys's build script slightly more intelligent.
2015-12-07 11:22:08 -05:00
John Gallagher
e0b3ad7c9b
Merge remote-tracking branch 'origin/master' into flexible-build-script
2015-12-07 11:15:21 -05:00
Gwenael Treguier
fe6afe2a94
Merge branch 'master' of https://github.com/jgallagher/rusqlite into functions
2015-12-06 21:33:21 +01:00
John Gallagher
ac08a18c43
Merge pull request #86 from jgallagher/gwenn-trace_extension
...
Add Rust interface to SQLite's logging, tracing, and profiling hooks
2015-12-01 13:19:43 -05:00
John Gallagher
c2b9ae1b98
Merge pull request #91 from jgallagher/document-failures
...
Add more documentation for failure modes of functions that return SQLiteResults.
2015-12-01 12:11:26 -05:00
John Gallagher
3d654aeed1
Add more documentation for failure modes of functions that return s
2015-12-01 12:05:29 -05:00
John Gallagher
9a4503ad5f
Merge pull request #90 from jgallagher/fix-str-error-messages
...
Fix error messages when failing to convert paths and strings to C-compatible versions
2015-12-01 11:49:37 -05:00
John Gallagher
1af3fcd053
Fix error messages when failing to convert paths and strings to C-compatible versions
2015-12-01 11:47:55 -05:00
John Gallagher
7fbe1172e2
Make libsqlite3-sys's build script slightly more intelligent.
...
* If SQLITE3_LIB_DIR is present in the environment, we use that.
* If SQLITE3_LIB_DIR is not present, we try to use pkg-config.
* If SQLITE3_LIB_DIR is not present and pkg-config fails, we fall back
to /usr/lib (if it exists).
2015-12-01 11:36:31 -05:00
John Gallagher
49cb1efe62
Merge branch 'master' into gwenn-trace_extension
2015-12-01 11:13:23 -05:00
John Gallagher
992f01f03b
Merge pull request #87 from jgallagher/relax-static-bound-on-query-map
...
Remove 'static requirement on output of closure given to query_map and query_and_then.
2015-12-01 11:11:59 -05:00
John Gallagher
635616842c
Remove 'static requirement on output of closure given to query_map and query_and_then.
...
The 'static bound was there to prevent callers from being able to save
off the `SqliteRow` handles passed into the closure. This PR changes the
closure to take `&SqliteRow`s instead, which provides the same feature
without restricting the output of the closure.
2015-12-01 10:58:32 -05:00
John Gallagher
86165725de
Add krdln to CONTRIBUTORS
2015-12-01 10:45:19 -05:00
John Gallagher
33573fa0f7
Merge pull request #85 from krdln/update-libc
...
Update Cargo.tomls to libc ~0.2
2015-12-01 10:44:57 -05:00
John Gallagher
cba64a7dee
Add trace feature to Changelog
2015-12-01 10:37:01 -05:00
John Gallagher
e6fef5107d
Change profile() to take a Rust fn instead of an extern "C" fn.
2015-12-01 10:34:18 -05:00
Michał Krasnoborski
8e31a64dde
Update Cargo.tomls to libc ~0.2
2015-12-01 06:18:44 +00:00
John Gallagher
ace5b1ebdc
Change trace() to take a Rust fn instead of an extern "C" fn.
2015-11-30 21:08:39 -05:00
John Gallagher
dbfa6ca31f
Change config_log to take a Rust fn instead of an extern "C" fn.
...
Moves the unit test for config_log out of #[ignore] and into its own
test file since it affects the entire process.
2015-11-30 21:08:39 -05:00
John Gallagher
eaf080261b
Merge branch 'trace_extension' of https://github.com/gwenn/rusqlite into gwenn-trace_extension
2015-11-30 13:13:43 -05:00
John Gallagher
30ce399e91
Merge pull request #83 from jgallagher/gwenn-debug
...
Use debug_struct for formatting.
2015-11-30 12:19:28 -05:00
Gwenael Treguier
0729e195c3
Use debug_struct for formatting.
2015-11-30 12:16:09 -05:00
Gwenael Treguier
20c1213482
Remove feature duration.
2015-11-11 15:03:07 +01:00
Gwenael Treguier
a2327fb048
Revert "Remove usage of unstable library feature 'duration'"
...
This reverts commit 9c415f9c9e
.
2015-11-11 15:00:39 +01:00
Gwenael Treguier
50bfba1e1d
Ignore test_log.
2015-11-11 14:29:40 +01:00
Gwenael Treguier
8bff40b6d6
Merge remote-tracking branch 'jgallagher/master' into trace_extension
2015-11-11 14:28:21 +01:00
John Gallagher
7586556db5
Add to CONTRIBUTORS
2015-11-03 11:37:23 -05:00
John Gallagher
cd2919cce1
Merge pull request #76 from jgallagher/update-travis-infrastructure
...
Update to travis CI's container-based infrastructure
2015-11-03 11:35:31 -05:00
John Gallagher
270abfc44f
Update to travis CI's container-based infrastructure
2015-11-03 11:33:52 -05:00
John Gallagher
ad80b8fb94
Merge pull request #75 from jgallagher/rfc1214
...
RFC1214 fix
2015-11-03 11:32:38 -05:00
John Gallagher
78979c44ee
Bump version to 0.4.0
2015-11-03 11:29:02 -05:00
John Gallagher
420c4d4d9f
Address RFC 1214 warning
2015-11-03 11:27:52 -05:00
John Gallagher
3e8530a364
Merge pull request #71 from jgallagher/gwenn-reset_asap
...
Reset SQLite statement ASAP after executing.
2015-09-22 10:22:10 -07:00
John Gallagher
b41275cbc8
Update Changelog and Cargo.toml to 0.3.1
2015-09-22 10:18:26 -07:00
John Gallagher
b1350c4c14
Merge branch 'master' into gwenn-reset_asap
2015-09-22 10:16:52 -07:00
John Gallagher
c3bc8b594a
Bump version to 0.3.0.
...
Updates Changelog and CONTRIBUTORS for changes in this version.
2015-09-21 10:39:13 -04:00