328 Commits

Author SHA1 Message Date
Ivan Ukhov
7441967fbc Eliminate Binding; introduce Parameter 2015-06-19 11:31:29 -04:00
Ivan Ukhov
56c36f7ddc Remove unnecessary uses in the examples 2015-06-19 09:21:31 -04:00
Ivan Ukhov
9da539a257 Bump the version number 2015-06-19 07:52:11 -04:00
Ivan Ukhov
dfe55f4953 Simplify in-memory examples 2015-06-19 07:51:34 -04:00
Ivan Ukhov
e1be1eb3fd Merge branch 'uasi-open-takes-asref-path' 2015-06-19 07:49:24 -04:00
Tomoki Aonuma
423ecac84a sqlite::open() takes an AsRef<Path> value
Now we can pass either a string or a Path to it, just like to
std::fs::File::open().
2015-06-19 13:26:15 +09:00
Ivan Ukhov
d155b7d33d Remove the excessive examples/ 2015-06-14 11:37:56 -04:00
Ivan Ukhov
610aea0221 Update the usage example 2015-06-14 11:33:55 -04:00
Ivan Ukhov
a31345da43 Introduce the edge feature for backward compatibility 2015-06-12 15:01:12 -04:00
Ivan Ukhov
6d4454a6f5 Bump the version number 2015-06-12 14:35:08 -04:00
Ivan Ukhov
37ae860747 A minor change 2015-06-12 14:34:57 -04:00
Ivan Ukhov
41803cc3ca Switch to {open, prepare, close}_v2 2015-06-12 14:34:50 -04:00
Ivan Ukhov
40e08d5b97 Rename raw to ffi 2015-06-12 14:23:18 -04:00
Ivan Ukhov
f776e1daf6 Adjust the description of Database 2015-06-12 14:21:29 -04:00
Ivan Ukhov
9bd6db2ab5 Add a stress test 2015-06-11 22:14:36 -04:00
Ivan Ukhov
10d99dadce Bump the version number 2015-06-10 19:21:29 -04:00
Ivan Ukhov
9d489564fc Make it compile using Rust nightly 2015-06-10 19:20:50 -04:00
Ivan Ukhov
7a74500862 Bump the version number 2015-06-08 21:43:29 -04:00
Ivan Ukhov
64aa37f474 Give &strs instead of Strings to Database::process’ callback 2015-06-08 21:42:34 -04:00
Ivan Ukhov
daefd7d1be Bump the version number 2015-06-08 18:33:17 -04:00
Ivan Ukhov
d036ddc071 Use From for convertin codes to error kinds 2015-06-08 18:19:15 -04:00
Ivan Ukhov
15539354b4 Change the error kind when there is no code available 2015-06-08 18:11:37 -04:00
Ivan Ukhov
985cde931f Treat SQLite result codes as error kinds 2015-06-08 18:05:17 -04:00
Ivan Ukhov
bde720bddc Refactor the error handling 2015-06-08 17:43:31 -04:00
Ivan Ukhov
dd47f92a1f Bump the version number 2015-06-08 15:27:28 -04:00
Ivan Ukhov
1fdedd03f9 Rename instruct to execute and iterate to process 2015-06-08 15:00:44 -04:00
Ivan Ukhov
e0e5d9198b Fix a comment 2015-06-08 14:58:05 -04:00
Ivan Ukhov
068145028e Update the example 2015-06-08 14:56:54 -04:00
Ivan Ukhov
a8d74c2cbf Remove an inline 2015-06-08 14:54:32 -04:00
Ivan Ukhov
a5c0234aa1 Clean up the busy callback 2015-06-08 14:52:13 -04:00
Ivan Ukhov
fd9cf2b2d2 Eliminate a memory leak in iterate 2015-06-08 13:33:26 -04:00
Ivan Ukhov
4f97dda5d7 Split execute into instruct and iterate 2015-06-08 13:27:07 -04:00
Ivan Ukhov
81dcb73b8f Refine set_busy_handler 2015-06-08 11:36:50 -04:00
Ivan Ukhov
159b22c159 Add a test for set_busy_handler 2015-06-08 09:43:13 -04:00
Ivan Ukhov
1f0db50312 Move a test from /tests to /src 2015-06-08 09:37:44 -04:00
Ivan Ukhov
a8396a0d1e Export BusyCallback 2015-06-08 09:22:37 -04:00
Ivan Ukhov
ca11887ca8 Bump the version number 2015-06-08 08:42:25 -04:00
Ivan Ukhov
bfa3a976c8 Rename a couple of functions; add set_busy_timeout 2015-06-08 07:53:28 -04:00
Ivan Ukhov
2698514218 Rename statement to prepare_statement 2015-06-07 22:17:07 -04:00
Ivan Ukhov
87b237aa7d Add set_busy_handler 2015-06-07 22:15:59 -04:00
Ivan Ukhov
4ee6d75ce4 Bump the version number 2015-06-05 15:01:08 -04:00
Ivan Ukhov
b10d44d0c0 Change Display for ResultCode 2015-06-05 15:00:30 -04:00
Ivan Ukhov
29b5b9f643 Add a version badge 2015-06-03 22:14:48 -04:00
Ivan Ukhov
a4ddec7ce5 A stylistic adjustment 2015-06-03 13:04:12 -04:00
Ivan Ukhov
5e232e0757 Bump the version number 2015-06-01 16:30:17 -04:00
Ivan Ukhov
dd85dc01d7 Make Value::read take an immutable statement 2015-06-01 16:30:02 -04:00
Ivan Ukhov
2e14e2055d Bump the version number 2015-06-01 16:27:21 -04:00
Ivan Ukhov
0e6ee0c10d Make execute and statement take immutable self 2015-06-01 16:27:09 -04:00
Ivan Ukhov
c5c87066e9 Bump the version number 2015-06-01 11:39:43 -04:00
Ivan Ukhov
475fa14c0c Drop the lifetime parameter of Database 2015-06-01 11:39:22 -04:00