Commit Graph

2183 Commits

Author SHA1 Message Date
Thom Chiovoloni
a776f460e8 Cache param count and make statement cache more effective 2020-04-16 12:05:56 -07:00
Thom Chiovoloni
6485b324d7 Name fields of RawStatement 2020-04-16 12:05:56 -07:00
Thom Chiovoloni
1207a7cc06 Make clippy behave slightly more reasonably 2020-04-16 08:21:43 -07:00
Thom Chiovoloni
418ef10af2 Add a wrapper for strings allocated on sqlite heap 2020-04-16 08:21:43 -07:00
Thom Chiovoloni
ca3583e1df See if we can turn on the stack-use-after-return asan check 2020-04-16 03:09:51 -07:00
Thom Chiovoloni
185899eab1 Run asan in CI. Fixes #713 2020-04-16 03:09:51 -07:00
Thom Chiovoloni
4abc8a4fdd Try to turn on x86_64-pc-windows-gnu 2020-04-16 03:09:51 -07:00
Thom Chiovoloni
b079463bd2 Ignore checked-in generated or external code, and add badges 2020-04-16 01:25:27 -07:00
Thom Chiovoloni
424e7bfa67 Apparently we don't actually need a token for public repos? 2020-04-16 01:25:27 -07:00
Thom Chiovoloni
ca6ab8e560 Try code coverage 2020-04-16 01:25:27 -07:00
Thom Chiovoloni
4f19827ee9 Update badges 2020-04-15 21:37:39 -07:00
Thom Chiovoloni
9322b0e881 Update links & copyright statement 2020-04-15 21:37:39 -07:00
Thom Chiovoloni
45fd77ee43 UnlockNotification should hold mutex when calling condvar 2020-04-15 13:52:19 -07:00
Thom Chiovoloni
c9ef5bd63c Make VTab / VTabCursor unsafe trait as implmenting them on the wrong type is unsound 2020-04-15 10:33:04 -07:00
Thom Chiovoloni
3c6b57fe1b Fix vtab::Module lifetime 2020-04-15 10:33:04 -07:00
Thom Chiovoloni
e85963852d Fix shellcheck compaints about upgrade.sh 2020-04-15 09:49:23 -07:00
Thom Chiovoloni
2327d3b774 Fix format string error in rusqlite::trace::log 2020-04-14 12:23:15 -07:00
Thom Chiovoloni
abbab7216a Better docs and cleaner SmallCString 2020-04-14 10:26:41 -07:00
Thom Chiovoloni
ac30e169ae Use SmallCString in most places 2020-04-14 10:26:41 -07:00
Thom Chiovoloni
552416039e Optimize named params via caching and use of smallvec 2020-04-14 10:26:41 -07:00
Thom Chiovoloni
cf9b6e9ae2 Avoid relying on sqlite to justify str::from_utf8_unchecked 2020-04-14 09:31:29 -07:00
Thom Chiovoloni
1b27ce0541 Docs for new aux api 2020-04-14 08:06:37 -07:00
Thom Chiovoloni
2ef3628dac Actually fix auxdata api... 2020-04-14 08:06:37 -07:00
Thom Chiovoloni
71b2f5187b Ensure type use for auxdata is repr(C) 2020-04-14 08:06:37 -07:00
Thom Chiovoloni
38aea89809 Remove implementations of std::error::Error::description 2020-04-12 12:06:53 -07:00
Thom Chiovoloni
5a8108bd86 Implement source and not cause for FromSqlError 2020-04-12 12:06:53 -07:00
gwenn
611c8e8b02 Rustfmt 2020-04-11 22:18:22 -07:00
gwenn
4dbfdc85fe Fix ValueRef::from_value
Handle text with internal nuls (#657)
2020-04-11 22:18:22 -07:00
Thom Chiovoloni
214986d232 Bundled should work on CI windows, probably 2020-04-11 22:04:22 -07:00
Thom Chiovoloni
24295a5210 Add macos to CI 2020-04-11 22:04:22 -07:00
Thom Chiovoloni
3423b0e032 Pass target to setup-rust-action for if/when windows-gnu is re-enabled 2020-04-11 22:04:22 -07:00
Thom Chiovoloni
8b625ab226 Run CI on cron to be notified of bustage due to new stable releases and such 2020-04-11 22:04:22 -07:00
Thom Chiovoloni
06de08ad8d Pass clippy args all in one place (easier to copy/paste) 2020-04-11 22:04:22 -07:00
Thom Chiovoloni
47b7c5508f Use hecrj/setup-rust-action for some CI since it has better matchers 2020-04-11 22:04:22 -07:00
Thom Chiovoloni
2c8f8b0eab Fix cargo doc CI 2020-04-11 22:04:22 -07:00
Thom Chiovoloni
ac1416152e Missed a checkout@v1 2020-04-11 22:04:22 -07:00
Thom Chiovoloni
e4dafe4d4c
Merge pull request #698 from thomcc/checkout-v2
Use checkout@v2
2020-04-11 20:39:52 -07:00
Thom Chiovoloni
12d1d170a1 Use checkout@v2 2020-04-11 20:31:42 -07:00
Thom Chiovoloni
8ce09df917
Merge pull request #695 from thomcc/update-bundled-sqlite
Upgrade bundled sqlite to 3.31.1
2020-04-10 18:51:41 -07:00
Thom Chiovoloni
22564d3099 Upgrade bundled sqlite to 3.31.1 2020-04-10 16:15:34 -07:00
Thom Chiovoloni
def06b2958
Merge pull request #694 from thomcc/no-va-list
Exclude va_list and functions using it from the bundled bindings file and when cross compiling
2020-04-10 10:11:12 -07:00
Thom Chiovoloni
e04426176f
Merge pull request #693 from thomcc/unchecked-transaction
Allow opting out of compile-time transaction checking
2020-04-10 10:06:37 -07:00
Thom Chiovoloni
8d5f56568c
Merge pull request #692 from xfix/allow-non-unicode
Allow non-Unicode file names on Unix-like platforms
2020-04-10 05:33:45 -07:00
Thom Chiovoloni
288aa961a7 Exclude va_list and functions using it from the bundled bindings file 2020-04-10 05:29:35 -07:00
Thom Chiovoloni
d408e3bcd2 Allow opting out of compile-time transaction checking 2020-04-09 12:39:40 -07:00
Konrad Borowski
c8078dfd1f Allow non-Unicode file names on Unix-like platforms 2020-04-09 10:35:38 +02:00
Thom Chiovoloni
156fa9fcf2
Merge pull request #691 from thomcc/prep-0.22
Prep rusqlite 0.22.0 and libsqlite3-sys 0.17.3
2020-04-08 11:31:14 -07:00
Thom Chiovoloni
6b8e2fc02b Prep rusqlite 0.22.0 and libsqlite3-sys 0.17.3 2020-04-08 10:59:28 -07:00
Thom Chiovoloni
35458e4ebb
Merge pull request #690 from thomcc/revert-fix-invalid-unicode
Revert "Merge pull request #499 from xfix/unix-invalid-unicode"
2020-04-08 10:48:13 -07:00
Thom Chiovoloni
ca13698273 Revert "Merge pull request #499 from xfix/unix-invalid-unicode"
This reverts commit 061748e1f5, reversing
changes made to cf3cdecf12.
2020-04-08 10:38:32 -07:00