Commit Graph

  • f290ce11ab Move Blob's read to an impl of std::io::Read. John Gallagher 2015-12-14 13:45:44 -05:00
  • 5ac5f3e9b5 Make blob_open take a DatabaseName instead of a str. John Gallagher 2015-12-14 13:38:36 -05:00
  • 73611d45d5 Merge branch 'blob' of https://github.com/gwenn/rusqlite into gwenn-blob John Gallagher 2015-12-14 13:35:05 -05:00
  • 19abb53e97 Merge pull request #100 from jgallagher/bindgen-update John Gallagher 2015-12-13 15:01:53 -05:00
  • 4b512212d2 Inline decode_result_with_errmsg to fix dead code warning John Gallagher 2015-12-13 14:59:47 -05:00
  • bf96a15bcf Merge remote-tracking branch 'origin/master' into bindgen-update John Gallagher 2015-12-13 08:45:59 -05:00
  • b883ab651d Update unsafety of C function pointers for new bindgen John Gallagher 2015-12-13 08:40:51 -05:00
  • 699141df22 Merge pull request #99 from gwenn/simple-exec John Gallagher 2015-12-13 08:35:31 -05:00
  • e94a5b8411 Add bindgen / sqlite version note to libsqlite3-sys John Gallagher 2015-12-12 16:39:05 -05:00
  • 6e208fa655 Update bindings with bindgen 0.15.0/sqlite3 3.8.10 Gwenael Treguier 2015-11-08 12:01:25 +01:00
  • 1c4ca000cf Simplify execute_batch implementation. Gwenael Treguier 2015-12-13 14:15:56 +01:00
  • d5faf2fab3 Merge branch 'master' of https://github.com/jgallagher/rusqlite into stmt-cache Gwenael Treguier 2015-12-13 11:23:54 +01:00
  • 888dce0d8f Rustfmt Gwenael Treguier 2015-12-13 11:05:11 +01:00
  • 6f0f121d61 Merge remote-tracking branch 'remotes/jgallagher/master' into blob Gwenael Treguier 2015-12-13 10:53:29 +01:00
  • 38e630f231 Add description of features to README John Gallagher 2015-12-12 16:04:11 -05:00
  • b177502404 Merge pull request #97 from jgallagher/remove-sqlite-prefix John Gallagher 2015-12-12 15:56:39 -05:00
  • 71459ed03b Add to CONTRIBUTORS John Gallagher 2015-12-12 15:50:44 -05:00
  • 6bcc3edccd BREAKING CHANGE: Remove common prefix on TransactionBehavior case names. John Gallagher 2015-12-12 14:22:50 -05:00
  • b1cde705be Rename SqliteLoadExtensionGuard -> LoadExtensionGuard. John Gallagher 2015-12-12 14:20:11 -05:00
  • 3d15a8a15c Rename SqliteTransaction* -> Transaction*. John Gallagher 2015-12-12 14:17:43 -05:00
  • 9cac56d6a2 Rename SqliteOpenFlags -> OpenFlags. John Gallagher 2015-12-12 14:13:29 -05:00
  • ea5cb41bbf Rename SqliteRow -> Row. John Gallagher 2015-12-12 14:11:24 -05:00
  • b932640181 Rename SqliteRows -> Rows. John Gallagher 2015-12-12 14:09:37 -05:00
  • ec654352d9 Rename SqliteStatement -> Statement. John Gallagher 2015-12-12 14:08:04 -05:00
  • eb60bb3111 Rename SqliteResult -> Result. John Gallagher 2015-12-12 14:06:03 -05:00
  • f0b6bf9152 Rename SqliteError -> Error. John Gallagher 2015-12-12 13:53:58 -05:00
  • 4327a84edb Rename SqliteConnection -> Connection. John Gallagher 2015-12-12 13:50:12 -05:00
  • 87299009ba Merge pull request #95 from jgallagher/gwenn-functions John Gallagher 2015-12-12 10:46:55 -05:00
  • 4830b0a648 Add unit test for function with variable number of arguments John Gallagher 2015-12-12 10:44:08 -05:00
  • 5039e57637 Merge branch 'master' into gwenn-functions John Gallagher 2015-12-11 19:21:39 -05:00
  • 36be658e42 Merge pull request #94 from jgallagher/gwenn-named-param John Gallagher 2015-12-11 19:21:01 -05:00
  • 5fdb2e1fda Allow named parameters to be omitted. John Gallagher 2015-12-11 16:34:58 -05:00
  • caf1e95e31 Add functions feature to travis and Changelog. John Gallagher 2015-12-11 16:28:46 -05:00
  • 3bcde498bd Expand comments. John Gallagher 2015-12-11 16:27:39 -05:00
  • ecef092303 Add remove_function to clear a user-defined function. John Gallagher 2015-12-11 15:47:52 -05:00
  • 3baf7b10f8 Add unit test demonstrating a closure-based UDF. John Gallagher 2015-12-11 15:35:59 -05:00
  • 3913e89f94 Allow user scalar functions to return results. John Gallagher 2015-12-11 15:08:40 -05:00
  • 81ec7fe7cd Add get to function::Context. John Gallagher 2015-12-11 14:46:28 -05:00
  • 94d40c41c7 Introduce Context wrapper for user-defined functions. John Gallagher 2015-12-11 13:54:08 -05:00
  • 29494f46f6 Let create_scalar_function take an FnMut instead of a extern "C" fn. John Gallagher 2015-12-11 12:01:05 -05:00
  • aae431760e rustfmt - no code changes John Gallagher 2015-12-11 11:41:40 -05:00
  • 0c3575e845 Fix segfault in regexp user function test John Gallagher 2015-12-11 11:40:53 -05:00
  • 9f5f4ac385 Merge branch 'functions' of https://github.com/gwenn/rusqlite into gwenn-functions John Gallagher 2015-12-11 11:31:25 -05:00
  • 489b7df451 Add named parameters to Changelog John Gallagher 2015-12-10 20:51:16 -05:00
  • 599e30f372 Rename bind_named_parameters -> bind_parameters_named. John Gallagher 2015-12-10 20:49:47 -05:00
  • 0051ff47a6 Refactor: Extract match to get an expected row into its own method. John Gallagher 2015-12-10 20:48:38 -05:00
  • b7468b2c4b Make parameter_index return a Result<Option<_>> instead of squashing string conversion errors into None. John Gallagher 2015-12-10 20:41:31 -05:00
  • 186cb5893b Rename query_named_row -> query_row_named. John Gallagher 2015-12-10 20:31:07 -05:00
  • 8d4b3e6a31 Remove commented-out code John Gallagher 2015-12-10 20:30:43 -05:00
  • 21528452d7 Clean up comments on named parameter methods John Gallagher 2015-12-10 20:30:05 -05:00
  • 7338f23d4b Add extra assertions around binding named parameters John Gallagher 2015-12-10 20:27:09 -05:00
  • 2f220161a5 Add extra check to named-parameter insertion unit test John Gallagher 2015-12-10 20:16:46 -05:00
  • ab6ab3b2e9 Run rustfmt on named_params.rs John Gallagher 2015-12-10 17:01:19 -05:00
  • 53979407c5 Merge branch 'named-param' of https://github.com/gwenn/rusqlite into gwenn-named-param John Gallagher 2015-12-10 16:53:43 -05:00
  • a1f1480b18 Run rustfmt on all crate files John Gallagher 2015-12-10 16:48:09 -05:00
  • 26a7930d73 Merge pull request #93 from jgallagher/online-backup John Gallagher 2015-12-10 16:36:15 -05:00
  • 09825dbd90 Add feature tests to Travis John Gallagher 2015-12-10 16:22:01 -05:00
  • 49951ca3be Add backup and restore methods to SqliteConnection (behind backup Cargo feature) John Gallagher 2015-12-10 16:06:16 -05:00
  • 3781b8f47f rustfmt backup.rs John Gallagher 2015-12-10 13:13:15 -05:00
  • 8c2e0a0da7 Rename BackupName -> DatabaseName John Gallagher 2015-12-09 16:27:18 -05:00
  • 5ebbf5a1a2 Use &str instead of String inside BackupName John Gallagher 2015-12-09 00:48:40 -05:00
  • e2f8e73635 Initial implementation of the online backup API. John Gallagher 2015-12-09 00:19:59 -05:00
  • e71104e6c3 Bump version to 0.5.0 John Gallagher 2015-12-08 21:30:19 -05:00
  • 51a542c0f7 Fix broken load_extension feature John Gallagher 2015-12-08 21:15:23 -05:00
  • c99ecd6681 Merge pull request #88 from jgallagher/flexible-build-script John Gallagher 2015-12-07 11:22:08 -05:00
  • e0b3ad7c9b Merge remote-tracking branch 'origin/master' into flexible-build-script John Gallagher 2015-12-07 11:15:21 -05:00
  • fe6afe2a94 Merge branch 'master' of https://github.com/jgallagher/rusqlite into functions Gwenael Treguier 2015-12-06 21:33:21 +01:00
  • 7ab79d6de6 Add Failure documentation. Gwenael Treguier 2015-12-06 19:57:20 +01:00
  • da69584b9f Add Example and Failure documentation Gwenael Treguier 2015-12-05 13:43:03 +01:00
  • 5b86871d76 Merge branch 'master' of https://github.com/jgallagher/rusqlite into named-param Gwenael Treguier 2015-12-05 12:32:16 +01:00
  • fa03bcd564 Fix use declaration. Gwenael Treguier 2015-12-05 12:28:12 +01:00
  • 18ff9cf4ca Merge branch 'master' of https://github.com/jgallagher/rusqlite into stmt-cache Gwenael Treguier 2015-12-05 11:58:06 +01:00
  • 2cf0455f8d Add Failure documentation Gwenael Treguier 2015-12-05 11:28:33 +01:00
  • cef1d3285e Merge branch 'master' of https://github.com/jgallagher/rusqlite into blob Gwenael Treguier 2015-12-05 11:11:23 +01:00
  • ac08a18c43 Merge pull request #86 from jgallagher/gwenn-trace_extension John Gallagher 2015-12-01 13:19:43 -05:00
  • c2b9ae1b98 Merge pull request #91 from jgallagher/document-failures John Gallagher 2015-12-01 12:11:26 -05:00
  • 3d654aeed1 Add more documentation for failure modes of functions that return s John Gallagher 2015-12-01 12:05:29 -05:00
  • 9a4503ad5f Merge pull request #90 from jgallagher/fix-str-error-messages John Gallagher 2015-12-01 11:49:37 -05:00
  • 1af3fcd053 Fix error messages when failing to convert paths and strings to C-compatible versions John Gallagher 2015-12-01 11:47:55 -05:00
  • 7fbe1172e2 Make libsqlite3-sys's build script slightly more intelligent. John Gallagher 2015-12-01 11:33:48 -05:00
  • 49cb1efe62 Merge branch 'master' into gwenn-trace_extension John Gallagher 2015-12-01 11:13:23 -05:00
  • 992f01f03b Merge pull request #87 from jgallagher/relax-static-bound-on-query-map John Gallagher 2015-12-01 11:11:59 -05:00
  • 635616842c Remove 'static requirement on output of closure given to query_map and query_and_then. John Gallagher 2015-12-01 10:55:01 -05:00
  • 86165725de Add krdln to CONTRIBUTORS John Gallagher 2015-12-01 10:43:55 -05:00
  • 33573fa0f7 Merge pull request #85 from krdln/update-libc John Gallagher 2015-12-01 10:44:57 -05:00
  • cba64a7dee Add trace feature to Changelog John Gallagher 2015-12-01 10:37:01 -05:00
  • e6fef5107d Change profile() to take a Rust fn instead of an extern "C" fn. John Gallagher 2015-12-01 10:34:18 -05:00
  • 8e31a64dde Update Cargo.tomls to libc ~0.2 Michał Krasnoborski 2015-12-01 06:18:44 +00:00
  • ace5b1ebdc Change trace() to take a Rust fn instead of an extern "C" fn. John Gallagher 2015-11-30 16:33:47 -05:00
  • dbfa6ca31f Change config_log to take a Rust fn instead of an extern "C" fn. John Gallagher 2015-11-30 15:29:50 -05:00
  • eaf080261b Merge branch 'trace_extension' of https://github.com/gwenn/rusqlite into gwenn-trace_extension John Gallagher 2015-11-30 13:13:43 -05:00
  • 30ce399e91 Merge pull request #83 from jgallagher/gwenn-debug John Gallagher 2015-11-30 12:19:28 -05:00
  • 0729e195c3 Use debug_struct for formatting. Gwenael Treguier 2015-11-11 15:14:31 +01:00
  • 20c1213482 Remove feature duration. Gwenael Treguier 2015-11-11 15:03:07 +01:00
  • a2327fb048 Revert "Remove usage of unstable library feature 'duration'" Gwenael Treguier 2015-11-11 15:00:39 +01:00
  • 4d2d8b43e6 Clean use statement. Gwenael Treguier 2015-11-11 14:45:25 +01:00
  • e052053a79 Merge remote-tracking branch 'jgallagher/master' into stmt-cache Gwenael Treguier 2015-11-11 14:42:08 +01:00
  • ddd976c158 Cleanup use statements. Gwenael Treguier 2015-11-11 14:39:54 +01:00
  • db7345624f Merge remote-tracking branch 'jgallagher/master' into named-param Gwenael Treguier 2015-11-11 14:39:15 +01:00
  • 50bfba1e1d Ignore test_log. Gwenael Treguier 2015-11-11 14:29:40 +01:00