Commit Graph

  • 5f3753e691 Reduce the number of semicolons in the examples Ivan Ukhov 2015-07-07 09:37:09 -04:00
  • 557fbeb12d A minor adjustment Ivan Ukhov 2015-07-07 09:33:39 -04:00
  • 06b54cecb0 Make use of Option::take instead of mem::replace Ivan Ukhov 2015-07-07 07:55:21 -04:00
  • 0390d179d5 Adjust the example Ivan Ukhov 2015-07-04 10:24:01 -04:00
  • acf1211eb4 Bump the version number Ivan Ukhov 2015-07-04 10:08:36 -04:00
  • 883ce7dce3 Clean up SQL literals Ivan Ukhov 2015-07-04 09:29:46 -04:00
  • 961dad0f65 Extend the example Ivan Ukhov 2015-07-04 09:27:13 -04:00
  • 0572f80ed0 Adjust the documentation Ivan Ukhov 2015-07-04 09:21:38 -04:00
  • d94275417a Rename Database to Connection Ivan Ukhov 2015-07-04 08:53:26 -04:00
  • 626c022106 Implement std::error::Error for Error Ivan Ukhov 2015-07-04 08:42:03 -04:00
  • fa4ceac00a Rename success! to ok! Ivan Ukhov 2015-06-19 20:30:28 -04:00
  • e9f6fc0f1a Adjust an error message Ivan Ukhov 2015-06-19 20:24:34 -04:00
  • d8835fec8c Move a macro Ivan Ukhov 2015-06-19 20:23:12 -04:00
  • 827386c588 Remove an obsolete crate attribute Ivan Ukhov 2015-06-19 20:18:07 -04:00
  • 0d079a05c6 Use the same name for type parameters Ivan Ukhov 2015-06-19 13:15:42 -04:00
  • bdd468d177 Bump the version number Ivan Ukhov 2015-06-19 13:10:41 -04:00
  • 74d513e3cb Test only on Rust v1.0.0 Ivan Ukhov 2015-06-19 13:10:36 -04:00
  • fad63fc9d0 Fix the signature of bind Ivan Ukhov 2015-06-19 13:10:09 -04:00
  • 28929e8f1b Document State Ivan Ukhov 2015-06-19 13:03:54 -04:00
  • 4f488e2545 Work around a compiler bug present in 1.0.0 only Ivan Ukhov 2015-06-19 13:03:47 -04:00
  • 66b4fc4060 Set up Travis to run several versions of Rust Ivan Ukhov 2015-06-19 11:40:06 -04:00
  • d05c9e5d85 Move State closer to Statement Ivan Ukhov 2015-06-19 11:34:03 -04:00
  • cf80303a1d A minor adjustment Ivan Ukhov 2015-06-19 11:33:11 -04:00
  • 7441967fbc Eliminate Binding; introduce Parameter Ivan Ukhov 2015-06-19 11:31:29 -04:00
  • 56c36f7ddc Remove unnecessary uses in the examples Ivan Ukhov 2015-06-19 09:21:31 -04:00
  • 9da539a257 Bump the version number Ivan Ukhov 2015-06-19 07:52:11 -04:00
  • dfe55f4953 Simplify in-memory examples Ivan Ukhov 2015-06-19 07:51:34 -04:00
  • e1be1eb3fd Merge branch 'uasi-open-takes-asref-path' Ivan Ukhov 2015-06-19 07:49:24 -04:00
  • 423ecac84a sqlite::open() takes an AsRef<Path> value Tomoki Aonuma 2015-06-19 13:10:22 +09:00
  • d155b7d33d Remove the excessive examples/ Ivan Ukhov 2015-06-14 11:37:56 -04:00
  • 610aea0221 Update the usage example Ivan Ukhov 2015-06-14 11:33:55 -04:00
  • a31345da43 Introduce the edge feature for backward compatibility Ivan Ukhov 2015-06-12 15:01:12 -04:00
  • 6d4454a6f5 Bump the version number Ivan Ukhov 2015-06-12 14:35:08 -04:00
  • 37ae860747 A minor change Ivan Ukhov 2015-06-12 14:34:57 -04:00
  • 41803cc3ca Switch to {open, prepare, close}_v2 Ivan Ukhov 2015-06-12 14:34:50 -04:00
  • 40e08d5b97 Rename raw to ffi Ivan Ukhov 2015-06-12 14:23:18 -04:00
  • f776e1daf6 Adjust the description of Database Ivan Ukhov 2015-06-12 14:21:29 -04:00
  • 9bd6db2ab5 Add a stress test Ivan Ukhov 2015-06-11 22:14:36 -04:00
  • 10d99dadce Bump the version number Ivan Ukhov 2015-06-10 19:21:29 -04:00
  • 9d489564fc Make it compile using Rust nightly Ivan Ukhov 2015-06-10 19:20:50 -04:00
  • 7a74500862 Bump the version number Ivan Ukhov 2015-06-08 21:43:29 -04:00
  • 64aa37f474 Give &strs instead of Strings to Database::process’ callback Ivan Ukhov 2015-06-08 21:42:34 -04:00
  • daefd7d1be Bump the version number Ivan Ukhov 2015-06-08 18:33:17 -04:00
  • d036ddc071 Use From for convertin codes to error kinds Ivan Ukhov 2015-06-08 18:19:15 -04:00
  • 15539354b4 Change the error kind when there is no code available Ivan Ukhov 2015-06-08 18:11:37 -04:00
  • 985cde931f Treat SQLite result codes as error kinds Ivan Ukhov 2015-06-08 18:05:17 -04:00
  • bde720bddc Refactor the error handling Ivan Ukhov 2015-06-08 17:43:31 -04:00
  • dd47f92a1f Bump the version number Ivan Ukhov 2015-06-08 15:27:28 -04:00
  • 1fdedd03f9 Rename instruct to execute and iterate to process Ivan Ukhov 2015-06-08 15:00:44 -04:00
  • e0e5d9198b Fix a comment Ivan Ukhov 2015-06-08 14:58:05 -04:00
  • 068145028e Update the example Ivan Ukhov 2015-06-08 14:56:54 -04:00
  • a8d74c2cbf Remove an inline Ivan Ukhov 2015-06-08 14:54:32 -04:00
  • a5c0234aa1 Clean up the busy callback Ivan Ukhov 2015-06-08 14:52:13 -04:00
  • fd9cf2b2d2 Eliminate a memory leak in iterate Ivan Ukhov 2015-06-08 13:33:26 -04:00
  • 4f97dda5d7 Split execute into instruct and iterate Ivan Ukhov 2015-06-08 13:27:07 -04:00
  • 81dcb73b8f Refine set_busy_handler Ivan Ukhov 2015-06-08 11:28:43 -04:00
  • 159b22c159 Add a test for set_busy_handler Ivan Ukhov 2015-06-08 09:43:13 -04:00
  • 1f0db50312 Move a test from /tests to /src Ivan Ukhov 2015-06-08 09:37:44 -04:00
  • a8396a0d1e Export BusyCallback Ivan Ukhov 2015-06-08 09:22:37 -04:00
  • ca11887ca8 Bump the version number Ivan Ukhov 2015-06-08 08:42:25 -04:00
  • bfa3a976c8 Rename a couple of functions; add set_busy_timeout Ivan Ukhov 2015-06-08 07:53:28 -04:00
  • 2698514218 Rename statement to prepare_statement Ivan Ukhov 2015-06-07 22:17:07 -04:00
  • 87b237aa7d Add set_busy_handler Ivan Ukhov 2015-06-07 22:15:59 -04:00
  • 4ee6d75ce4 Bump the version number Ivan Ukhov 2015-06-05 15:01:08 -04:00
  • b10d44d0c0 Change Display for ResultCode Ivan Ukhov 2015-06-05 15:00:30 -04:00
  • 29b5b9f643 Add a version badge Ivan Ukhov 2015-06-03 22:14:48 -04:00
  • a4ddec7ce5 A stylistic adjustment Ivan Ukhov 2015-06-03 13:04:12 -04:00
  • 5e232e0757 Bump the version number Ivan Ukhov 2015-06-01 16:30:17 -04:00
  • dd85dc01d7 Make Value::read take an immutable statement Ivan Ukhov 2015-06-01 16:30:02 -04:00
  • 2e14e2055d Bump the version number Ivan Ukhov 2015-06-01 16:27:21 -04:00
  • 0e6ee0c10d Make execute and statement take immutable self Ivan Ukhov 2015-06-01 16:27:09 -04:00
  • c5c87066e9 Bump the version number Ivan Ukhov 2015-06-01 11:39:43 -04:00
  • 475fa14c0c Drop the lifetime parameter of Database Ivan Ukhov 2015-06-01 11:39:22 -04:00
  • 2cdf79bca0 Fix the lifetime binding of Database::open Ivan Ukhov 2015-06-01 11:23:02 -04:00
  • c0c44e67b8 Bump the version number Ivan Ukhov 2015-06-01 11:21:25 -04:00
  • 6f14484f88 Implement Display for Error and ResultCode Ivan Ukhov 2015-06-01 11:20:44 -04:00
  • 7c0a85c655 Rename _phantom to phantom Ivan Ukhov 2015-05-30 10:31:41 -04:00
  • 1f4f6e9d70 Delegate the creation of statements to the statement module Ivan Ukhov 2015-05-29 16:58:48 -04:00
  • d549a64686 Get rid of sqlite3_errstr Ivan Ukhov 2015-05-29 16:41:34 -04:00
  • 74dbee006f Bump the version number Ivan Ukhov 2015-05-29 14:39:34 -04:00
  • ef550d6d75 Return error message from SQLite Ivan Ukhov 2015-05-29 14:33:39 -04:00
  • 4baf4517f8 Add Error::last Ivan Ukhov 2015-05-29 14:15:01 -04:00
  • 72ff84e686 Refactor Error handling Ivan Ukhov 2015-05-29 14:04:39 -04:00
  • 1d16210de7 Move Error and Result from lib.rs to separate modules Ivan Ukhov 2015-05-29 13:50:05 -04:00
  • e56b3891bc A few minor adjustments Ivan Ukhov 2015-05-29 13:34:48 -04:00
  • ae0a12444b Implement column reading Ivan Ukhov 2015-05-29 13:08:02 -04:00
  • f7f9af43ed Implement prepared statements Ivan Ukhov 2015-05-29 11:24:01 -04:00
  • 1dfeee881b Move Database into a separate file Ivan Ukhov 2015-05-29 09:44:06 -04:00
  • 9f95b9f645 Bump the version number Ivan Ukhov 2015-05-29 09:34:10 -04:00
  • e9d7efdf77 Describe ExecuteCallback Ivan Ukhov 2015-05-29 09:29:45 -04:00
  • 83fb866c60 Add an illustrative example Ivan Ukhov 2015-05-29 09:25:39 -04:00
  • d17b371c4d Make Database::execute accept None Ivan Ukhov 2015-05-29 08:58:19 -04:00
  • 6bece46d5b Detail the test Ivan Ukhov 2015-05-28 22:49:00 -04:00
  • 056b5df6d4 Implement Database::execute Ivan Ukhov 2015-05-28 21:30:02 -04:00
  • dc41fa1f68 Add a comment Ivan Ukhov 2015-05-28 19:21:48 -04:00
  • af29001883 Add a comment Ivan Ukhov 2015-05-28 19:21:25 -04:00
  • 4431d24fd7 Adjust a comment Ivan Ukhov 2015-05-28 19:20:58 -04:00
  • 6ff668acd0 Implement Database::open Ivan Ukhov 2015-05-28 19:19:08 -04:00
  • c92519df56 Add primary result codes Ivan Ukhov 2015-05-28 18:35:53 -04:00
  • 81d32ebe84 Set up Travis CI Ivan Ukhov 2015-05-28 17:24:45 -04:00