Commit Graph
41 Commits
Author SHA1 Message Date
Brent Simmons ea3080011e Support WAL mode. 2026-10-27 11:50:34 -07:00
Brent Simmons 4d99f1c915 Simplify DatabaseQueue. Drop redundant Mutex and State. 2026-10-21 19:51:13 -07:00
Brent Simmons af70d3ead0 Switch from OSAllocatedUnfairLock to Mutex. 2026-10-21 19:23:07 -07:00
Brent Simmons a9e14ab84b Make rs_SQLValueListWithPlaceholders non-nullable. 2026-09-16 15:12:39 -07:00
Brent Simmons 8a6a94f0fb Report failures from writing to the database. 2026-09-16 13:18:57 -07:00
Brent Simmons 6d259827f0 Use a constant logging system name instead of getting it from Bundle. 2026-08-02 10:33:23 -07:00
Brent Simmons 8bc74f136d Continue post-DatabaseResult simplification. 2026-06-10 17:36:48 -07:00
Brent Simmons e412f333d6 Remove no-longer-needed DatabaseResult. 2026-06-10 13:23:24 -07:00
Brent Simmons 8f4a979608 Remove no-longer-needed code for suspending and resuming SQLite databases on iOS. 2026-06-06 16:04:56 -07:00
Brent Simmons fea5b057d3 Use DELETE instead of WAL, since we're not doing concurrent reads on databases. 2026-05-31 11:58:39 -07:00
Brent Simmons 6fdda05ec3 Report per-database duration when vacuuming. 2026-05-29 16:51:35 -07:00
Brent Simmons 40cda0b2be Add Images module which manages a database of metadata about images. 2026-05-29 08:52:54 -07:00
Brent Simmons ceb9518777 Add system for keeping track of vacuum dates and vacuuming when needed. 2026-05-27 16:47:19 -07:00
Brent Simmons 0c4fd3ed2d Remove no-longer-used vacuumIfNeeded. 2026-04-29 16:35:06 -07:00
Brent Simmons a1ce49286e Delete some unused code. 2026-04-29 16:19:20 -07:00
Brent Simmons e9ae90ca26 Delete no-longer-needed code. 2026-04-29 15:40:32 -07:00
Brent Simmons bca1449a22 Use the new swiftString method to get UTF-8 String instead of UTF-16 String. 2026-04-26 10:58:46 -07:00
Brent Simmons 3dfe7e19b5 Add extension method swiftString to get a UTF-8 Swift string — so we don’t have UTF-16-backed Strings, which take more memory (generally) and are slower to manipulate in our code which prepares Strings for UI display (stripping HTML etc.). 2026-04-26 10:50:58 -07:00
Brent Simmons 4a2c62cc6c Make app run on iOS 17 and up. 2026-03-29 21:31:02 -07:00
Brent Simmons f3ea3e496a Add logging to vacuum command. 2026-03-13 08:51:00 -07:00
Brent Simmons e9a4076bea Fix static analysis warning — check for nil query. 2026-03-07 21:02:40 -08:00
Brent Simmons a9b4efeaab Remove most uses of forEach. (Note: not talking about SwiftUI ForEach, which is fine and good and should not be removed.) 2026-01-04 12:36:41 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons d0d7d0c823 Fix various SwiftLint warnings. 2026-01-02 15:13:44 -08:00
Brent Simmons e45490fb1e Fix various SwiftLint warnings. 2026-01-02 11:57:55 -08:00
Brent Simmons e96b92a4c3 Fix various SwiftLint warnings. 2026-01-02 10:45:46 -08:00
Brent Simmons 36956c0345 Fix various SwiftLint warnings. 2026-01-02 10:17:41 -08:00
Brent Simmons 9de8c69f19 Fix various SwiftLint warnings. 2025-12-31 13:44:42 -08:00
Brent Simmons 4fd16aadc9 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:20:48 -08:00
Brent Simmons 24a2e68fb5 Convert to async/await 2025-11-16 19:59:48 -08:00
Brent Simmons 57da6ed63c Convert ArticlesDatabase to approachable concurrency. 2025-11-15 10:13:30 -08:00
Brent Simmons 79c0cfd894 Convert RSDatabase to approachable concurrency. 2025-11-14 10:39:46 -08:00
Brent Simmons 94aacab419 Convert Secrets and SyncDatabase to approachable concurrency. 2025-11-10 20:45:05 -08:00
Brent Simmons dbef575b25 Finish converting SyncDatabase to actor. 2025-11-06 16:47:52 -08:00
Brent Simmons c609d485cf Vacuum SyncDatabase every 11 days. 2025-11-06 10:54:19 -08:00
Brent Simmons 65977cf4a3 Add FMDatabase and FMResultSet categories. 2025-11-06 10:39:58 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 66bc751501 Make DatabaseError a LocalizedError. 2025-10-02 20:26:03 -07:00
Brent Simmons 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
Brent Simmons 6f38765afb Delete unused ODB code. 2025-04-24 15:57:57 -07:00
Brent Simmons adb6c51a96 Move modules to Modules folder. 2025-04-23 17:13:24 -07:00