Commit Graph

  • 55dde134e1 Merge pull request #122 from gwenn/zeroblob John Gallagher 2016-02-01 14:14:14 -05:00
  • 905edf84ef Merge pull request #125 from gwenn/raw_pointer_derive John Gallagher 2016-02-01 14:13:37 -05:00
  • 2d0175b7dd Fix warning with Rust 1.6 gwenn 2016-02-01 18:41:52 +01:00
  • 43613a0020 Moves ZeroBlob from types to blob module. gwenn 2016-02-01 18:13:07 +01:00
  • f0902c95c3 Merge pull request #124 from jgallagher/gwenn-appveyor John Gallagher 2016-02-01 11:48:38 -05:00
  • e041f971e8 Update appveyor configuration: John Gallagher 2016-02-01 11:09:25 -05:00
  • 53b70c4b78 Merge branch 'appveyor' of https://github.com/gwenn/rusqlite into gwenn-appveyor John Gallagher 2016-02-01 11:07:54 -05:00
  • e619f83819 Merge pull request #123 from jgallagher/gwenn-aggregate John Gallagher 2016-02-01 10:52:27 -05:00
  • f4c3ba0fa2 rustfmt John Gallagher 2016-02-01 10:48:30 -05:00
  • f488277373 Introduce ZeoBlob struct. gwenn 2016-01-31 18:17:28 +01:00
  • eb521c0f3a Fix URL gwenn 2016-01-28 20:35:00 +01:00
  • 78cc7f2306 Upgrade to SQLite 3.10.2 gwenn 2016-01-28 20:26:59 +01:00
  • 7b174093bf Fix URL gwenn 2016-01-28 19:10:37 +01:00
  • a3dc0d42c9 Merge branch 'appveyor' of https://github.com/gwenn/rusqlite into appveyor gwenn 2016-01-28 18:29:29 +01:00
  • b0261791b8 Try appveyor with the gnu/mingw version. gwenn 2016-01-28 18:25:33 +01:00
  • ea14115d6c Ensure there is no allocation in final aggregation step. gwenn 2016-01-28 18:12:23 +01:00
  • ec7565383f Update appveyor.yml gwenn 2016-01-25 19:04:52 +01:00
  • eda881349a Update appveyor.yml gwenn 2016-01-25 18:36:06 +01:00
  • 9dc91c7e58 Update appveyor.yml gwenn 2016-01-25 18:35:22 +01:00
  • 32c31cdb60 Try to fix appveyor build. gwenn 2016-01-24 18:54:54 +01:00
  • 9b97d88362 Try to fix appveyor gwenn 2016-01-24 17:32:07 +01:00
  • b8e3db4338 Try to fix error: cannot open input file 'sqlite3.lib' gwenn 2016-01-24 17:26:19 +01:00
  • 6a1554d91e Try to fix appveyor build by setting SQLITE3_LIB_DIR gwenn 2016-01-24 17:00:57 +01:00
  • 1bf3e58055 Add appveyor configuration file gwenn 2016-01-24 16:32:39 +01:00
  • e17678b173 IntArray virtual table. gwenn 2016-01-24 12:18:21 +01:00
  • 2d6705b03e First, try to implement a simple virtual table. gwenn 2016-01-23 18:34:09 +01:00
  • 5b62e2dd5f Virtual Table: WIP gwenn 2016-01-10 20:56:04 +01:00
  • 0afdc111d1 Merge branch 'master' into gwenn-stmt-cache John Gallagher 2016-01-07 15:53:23 -05:00
  • 0d317d2e23 Merge pull request #115 from jgallagher/gwenn-aggregate John Gallagher 2016-01-07 15:49:37 -05:00
  • 501d8782a5 Fix typo in Changelog John Gallagher 2016-01-07 15:33:04 -05:00
  • abc5d9e219 Test all features on Travis John Gallagher 2016-01-07 15:15:43 -05:00
  • ca761d7697 Avoid creating an aggregation context unnecessarily if the function is called against 0 rows. John Gallagher 2016-01-07 15:14:24 -05:00
  • 267018b80d Update Changelog with aggregate functions note John Gallagher 2016-01-07 12:40:23 -05:00
  • 199dfc455b Internal refactor - extract common error handling code John Gallagher 2016-01-07 12:39:16 -05:00
  • b189f6ba66 Change how Aggregate works when called on no rows. John Gallagher 2016-01-07 12:33:32 -05:00
  • e4819b6adc Give Aggregate::finalize ownership of the context it created John Gallagher 2016-01-07 11:42:39 -05:00
  • ab262a55de Merge branch 'aggregate' of https://github.com/gwenn/rusqlite into gwenn-aggregate John Gallagher 2016-01-07 11:40:40 -05:00
  • 782f59d669 Merge pull request #114 from jgallagher/typo-fix John Gallagher 2016-01-07 11:40:01 -05:00
  • 726bd59932 Fix typo "rowss" in docs. John Gallagher 2016-01-07 11:36:01 -05:00
  • 840a86a883 Add blob feature to doc-publishing script John Gallagher 2016-01-07 11:32:56 -05:00
  • 25b554bd99 Update Changelog with cache feature John Gallagher 2016-01-07 11:31:57 -05:00
  • 0a371b7145 Rename StatementCache::release -> cache_stmt John Gallagher 2016-01-07 11:30:51 -05:00
  • 7b29277d6f Use discard() instead of cacheable = false to avoid prevent cached statements from returning to the cache. John Gallagher 2016-01-07 11:24:20 -05:00
  • ed0923bba9 Update for RowIndex change John Gallagher 2016-01-07 11:20:42 -05:00
  • a9a953e6b7 Merge branch 'stmt-cache' of https://github.com/gwenn/rusqlite into gwenn-stmt-cache John Gallagher 2016-01-07 11:19:59 -05:00
  • 38e9d57a98 Merge pull request #112 from jgallagher/gwenn-dynamic John Gallagher 2016-01-07 11:19:08 -05:00
  • a9d8473ff5 Update Changelog with latest PRs John Gallagher 2016-01-07 11:14:05 -05:00
  • f290c15d0d Merge branch 'dynamic' of https://github.com/gwenn/rusqlite into gwenn-dynamic John Gallagher 2016-01-07 11:12:05 -05:00
  • 246eb72d2a Merge pull request #110 from gwenn/row-index John Gallagher 2016-01-07 11:06:41 -05:00
  • 12f26e78b3 Introduce RowIndex trait (like in rust-postgres) gwenn 2016-01-02 12:13:37 +01:00
  • 9db82e74db Make possible to execute dynamic queries. gwenn 2016-01-02 10:28:00 +01:00
  • 987b06cf79 Add some documentation gwenn 2015-12-20 19:27:28 +01:00
  • 83b9fd0aba Test a user-defined aggregate function: my_sum. gwenn 2015-12-20 12:23:51 +01:00
  • 9b4fdc29ee Add benchmarks for statement cache. gwenn 2015-12-20 09:46:05 +01:00
  • 1ec2dee533 Ensure features documentation is generated. gwenn 2015-12-19 17:22:54 +01:00
  • 68b4943a39 Add some doc gwenn 2015-12-19 17:14:06 +01:00
  • 5876be3d48 Add test with cacheable set to false gwenn 2015-12-19 17:01:06 +01:00
  • cb1951c21a Fix borrowing gwenn 2015-12-19 16:56:41 +01:00
  • 7bdf80ccdb Introduce two distinct lifetime parameters. gwenn 2015-12-19 16:49:11 +01:00
  • 468ded3e08 Merge branch 'master' of https://github.com/jgallagher/rusqlite into aggregate gwenn 2015-12-18 20:39:08 +01:00
  • 86ffc24bb9 Merge branch 'master' of https://github.com/jgallagher/rusqlite into stmt-cache Gwenael Treguier 2015-12-18 20:25:52 +01:00
  • 8d84e2b076 Activate cache feature in travis. Gwenael Treguier 2015-12-18 20:21:41 +01:00
  • 30c8910d19 Still some lifetime problem... Gwenael Treguier 2015-12-18 20:18:46 +01:00
  • 85fb89b280 Fail to create a new CachedStatement. Gwenael Treguier 2015-12-17 20:33:34 +01:00
  • 109c26fea4 Replace LruCache by VecDeque. Gwenael Treguier 2015-12-17 20:02:49 +01:00
  • 38cf8d597b Bump to rusqlite 0.6.0 and libsqlite3-sys 0.4.0. John Gallagher 2015-12-17 00:16:30 -05:00
  • 94492ebef3 Merge pull request #105 from jgallagher/check-sqlite-threading-mode John Gallagher 2015-12-17 00:02:10 -05:00
  • b241f98920 Add test and check for SQLite being in single-threaded mode John Gallagher 2015-12-16 23:33:56 -05:00
  • bf2a63cc8d Merge pull request #104 from jgallagher/better-error-reporting John Gallagher 2015-12-16 23:54:06 -05:00
  • 2e082d7f94 Document new Error enum. John Gallagher 2015-12-16 23:46:39 -05:00
  • 7920dbc5ff Only check for SQLITE_CONSTRAINT_NOTNULL on new enough versions of SQLite. John Gallagher 2015-12-15 14:41:54 -05:00
  • 2129cdb0f2 Add Send and Sync bounds to boxed errors to be comaptible with io::Error. John Gallagher 2015-12-15 14:34:42 -05:00
  • 047861b928 Move Error into its own module (internal organization only - public API remains). John Gallagher 2015-12-13 01:04:09 -05:00
  • aac4d59fcc Change Error from a struct to an enum (BREAKING CHANGE). John Gallagher 2015-12-13 00:54:08 -05:00
  • b385ae002b Add ErrorCode enum and Error struct to libsqlite3-sys. John Gallagher 2015-12-12 23:32:37 -05:00
  • 1f26093fc6 Move error codes into module (internal change only - public API stays the same). John Gallagher 2015-12-12 23:13:48 -05:00
  • bf859a8008 Attempt to enable extended result codes for all connections John Gallagher 2015-12-12 23:10:35 -05:00
  • 17e54eb6f6 Add extended result codes to libsqlite3-sys John Gallagher 2015-12-12 23:10:21 -05:00
  • 69de98db90 Merge pull request #103 from jgallagher/keep-docs-on-released-versions John Gallagher 2015-12-16 16:00:01 -05:00
  • a1a1a4d2f0 Add to CONTRIBUTORS John Gallagher 2015-12-16 15:56:05 -05:00
  • c7c1c88c1c Add shell script to publish docs John Gallagher 2015-12-16 15:54:40 -05:00
  • 0e61905a8b Remove doc publishing from .travis.yml John Gallagher 2015-12-16 15:54:31 -05:00
  • ff02213b53 Introduce a RefCell in CachedStatement. Gwenael Treguier 2015-12-16 20:10:31 +01:00
  • 9257987b37 Try to introduce a CachedStatement struct. Gwenael Treguier 2015-12-16 19:42:03 +01:00
  • 880a78ae83 Partial fix following John suggestions. Gwenael Treguier 2015-12-15 21:49:59 +01:00
  • 108b6b6fcd Merge branch 'master' of https://github.com/jgallagher/rusqlite into stmt-cache Gwenael Treguier 2015-12-15 21:03:31 +01:00
  • 13c93e0f8b Rustfmt Gwenael Treguier 2015-12-15 20:57:32 +01:00
  • 0b42e3c78c Merge branch 'master' of https://github.com/jgallagher/rusqlite into aggregate Gwenael Treguier 2015-12-15 20:55:46 +01:00
  • 458951e2d5 First draft to support user defined aggregate functions. Gwenael Treguier 2015-12-15 20:54:23 +01:00
  • 3716ed6dcd Merge pull request #101 from jgallagher/gwenn-blob John Gallagher 2015-12-15 14:30:26 -05:00
  • c63238108c Add comment to write recommending write_all. John Gallagher 2015-12-15 14:24:05 -05:00
  • 3482e1c453 Add unit test confirming write_all to a Blob fails if given too much data. John Gallagher 2015-12-15 13:39:47 -05:00
  • f8540062f8 Add blob feature to README and Changelog John Gallagher 2015-12-14 16:24:11 -05:00
  • d24968db15 Expand comments. John Gallagher 2015-12-14 16:21:38 -05:00
  • 900c241c4e Fix logic in seek to disallow seeking past the end John Gallagher 2015-12-14 16:11:07 -05:00
  • af9b45851a Truncate instead of erroring if asked to read/write too much data from a Blob. John Gallagher 2015-12-14 16:06:53 -05:00
  • c15a8dba79 More extensive unit tests for Blob. John Gallagher 2015-12-14 15:03:29 -05:00
  • a43da3ef73 rustfmt John Gallagher 2015-12-14 14:13:14 -05:00
  • 7a7d13f520 Move Blob's seek to an impl of std::io::Seek. John Gallagher 2015-12-14 14:12:11 -05:00
  • 439f8583e7 Move Blob's write to an impl of std::io::Write. John Gallagher 2015-12-14 13:50:18 -05:00