-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A minor overhaul #68
A minor overhaul #68
Commits on May 2, 2024
-
Bump minimum Swift version to 5.8. Update CI. General package cleanup…
…. General docs cleanup.
Configuration menu - View commit details
-
Copy full SHA for 11190b8 - Browse repository at this point
Copy the full SHA 11190b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e996789 - Browse repository at this point
Copy the full SHA e996789View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2ca495 - Browse repository at this point
Copy the full SHA f2ca495View commit details -
Make
String
accept integer and real values as well as textual value……s when being decoded, make `Double` and `Float` accept integer values, use recommended APIs for translating between ByteBuffer and Data
Configuration menu - View commit details
-
Copy full SHA for b8ae701 - Browse repository at this point
Copy the full SHA b8ae701View commit details -
SQLiteStatement: Use sqlite_prepare_v3() instead of _v2(). Factor out…
… error handling. Make sure statements get finalized when errors occur. Use sqlite3_bind_blob64() and sqlite3_bind_text64() instead of the 32-bit ones. Simplify reading of blob data.
Configuration menu - View commit details
-
Copy full SHA for 9e3ea3d - Browse repository at this point
Copy the full SHA 9e3ea3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a60e8d - Browse repository at this point
Copy the full SHA 1a60e8dView commit details -
Tests: Make all tests async. Add helper to replace use of defer {}. A…
…dd set of async assertions. Make tests resilient against array index range violations. Handle blobs more sensibly instead of torturing Data. Get rid of lots of force-unwraps. Use "throws error" assertion instead of messy do/catch clauses. Avoid crashing if opening a DB fails. Use singleton thread pool and MTELG always.
Configuration menu - View commit details
-
Copy full SHA for 7cb2579 - Browse repository at this point
Copy the full SHA 7cb2579View commit details -
Remove incorrect new protocol requirements. Add passthroughs for the …
…convenience methods. Factor out the `open()` implementation so the core part can be shared by the ELF and async versions. Don't leak sqlite3* handles if sqlite3_busy_handler() fails for some reason. Throw more specific errors from `open()`. Don't log at error level. Use the async version of NIOThreadPool.runIfActive() when possible.
Configuration menu - View commit details
-
Copy full SHA for 3028277 - Browse repository at this point
Copy the full SHA 3028277View commit details -
Split the SQLDatabase protocol into its own file. Group SQLiteConnnec…
…tion's async methods together.
Configuration menu - View commit details
-
Copy full SHA for c51dcfe - Browse repository at this point
Copy the full SHA c51dcfeView commit details
Commits on May 3, 2024
-
We always pass SQLITE_OPEN_FULLMUTEX (serialized mode) to sqlite3_ope…
…n_v2(), so there's no point in setting multithread mode as the default during compilation; use serialized as the default instead.
Configuration menu - View commit details
-
Copy full SHA for 1c93f94 - Browse repository at this point
Copy the full SHA 1c93f94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2566f04 - Browse repository at this point
Copy the full SHA 2566f04View commit details
Commits on May 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89e319f - Browse repository at this point
Copy the full SHA 89e319fView commit details -
Apply several SQLite compilation settings according to upstream docum…
…entation, plus omitting several APIs that aren't usable through this package anyway.
Configuration menu - View commit details
-
Copy full SHA for ccc22b5 - Browse repository at this point
Copy the full SHA ccc22b5View commit details -
As recommended in the docs, mark custom functions SQLITE_DIRECTONLY b…
…y default (security hardening). Provide an initializer flag to override it if needed.
Configuration menu - View commit details
-
Copy full SHA for 0e5ca1a - Browse repository at this point
Copy the full SHA 0e5ca1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c9aa9b - Browse repository at this point
Copy the full SHA 8c9aa9bView commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6daa67b - Browse repository at this point
Copy the full SHA 6daa67bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f72ea1 - Browse repository at this point
Copy the full SHA 6f72ea1View commit details -
Lots of documentation comments. Reorganize SQLiteConnection a little.…
… SQLiteDatabase is Sendable.
Configuration menu - View commit details
-
Copy full SHA for 84c80bd - Browse repository at this point
Copy the full SHA 84c80bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 575470b - Browse repository at this point
Copy the full SHA 575470bView commit details