Commit Graph

  • 167ac90578 Get rid of ErrorKind Ivan Ukhov 2015-08-01 17:38:08 -04:00
  • ba257b99bc Add the possibility to read binary data Ivan Ukhov 2015-08-01 17:19:21 -04:00
  • ea9eff2fd2 Introduce Type and Statement::kind for reading it Ivan Ukhov 2015-08-01 16:23:05 -04:00
  • e73c9cd508 Bump the version number Ivan Ukhov 2015-08-01 15:14:37 -04:00
  • 18ea605451 Get rid of the livetime parameter of Connection Ivan Ukhov 2015-08-01 15:14:10 -04:00
  • ff3c62b4db A cosmetic adjustment Ivan Ukhov 2015-08-01 14:09:08 -04:00
  • b433054c82 Clean up the unit tests Ivan Ukhov 2015-08-01 14:07:34 -04:00
  • 02f8c79c9f Bump the version number Ivan Ukhov 2015-08-01 13:55:46 -04:00
  • 3d0bf10912 Add Statement::columns Ivan Ukhov 2015-08-01 13:55:34 -04:00
  • 2275f8157f Update sqlite3-sys Ivan Ukhov 2015-08-01 13:55:22 -04:00
  • dc85cb98ff Refactor a bit the tests Ivan Ukhov 2015-08-01 11:29:21 -04:00
  • 65ad5d276d Bump the version number Ivan Ukhov 2015-07-31 16:07:45 -04:00
  • 9df0978335 Use AsRef<str> instead of &str Ivan Ukhov 2015-07-31 16:05:52 -04:00
  • 955172be04 Update the version badge Ivan Ukhov 2015-07-30 08:15:08 -04:00
  • e3222f050d Extend the example Ivan Ukhov 2015-07-30 08:12:43 -04:00
  • c2911c0b36 Bump the version number Ivan Ukhov 2015-07-27 11:39:12 -04:00
  • ebbf073c82 Fix the handling of C strings Ivan Ukhov 2015-07-27 11:38:54 -04:00
  • 4fac86f604 Do not require sudo Ivan Ukhov 2015-07-12 16:22:16 -04:00
  • 97ab6d14d8 Clean up the tests Ivan Ukhov 2015-07-07 09:38:06 -04:00
  • 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