Commit Graph
11244 Commits
Author SHA1 Message Date
Gwendal Roué e08dfdb0bf Merge pull request #1183 from groue/dev/strong-observation
Starting a ValueObservation keeps a strong reference on the database connection.
2022-03-17 19:17:03 +01:00
Gwendal Roué 6236b8a068 Move Headers build phase before Compile Sources
This prevents a build error when running tests with Xcode 13.3:

error: Cycle inside GRDBiOS; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
2022-03-17 18:50:11 +01:00
Gwendal Roué 55dea6f9d2 Makefile: support for Xcode 13.3 2022-03-17 18:44:30 +01:00
Gwendal Roué cdb08988f4 CHANGELOG 2022-03-17 18:44:30 +01:00
Gwendal Roué 881bbd3f0d Update documentation 2022-03-17 18:44:30 +01:00
Gwendal Roué 6ab3fea8fb Refactor ValueObservation 2022-03-17 18:44:30 +01:00
Gwendal Roué 287ceb8b07 Documentation & cleanup 2022-03-17 18:44:30 +01:00
Gwendal Roué 4eefb9afbe Merge pull request #1184 from GetToSet/ethanwong/update-row-adapter-doc
Update RowAdapter doc to cover all concrete adapters.
2022-03-17 18:05:09 +01:00
Ethan Wong 4ea04ec978 Update RowAdapter doc to cover all concrete adapters. 2022-03-18 00:59:16 +08:00
Gwendal Roué c30b49117b If a scope is found, there is no point searching for prefetched rows 2022-03-04 12:04:02 +01:00
Gwendal Roué ec975819b7 Fix for container.decodeNil(forKey:) in the context of including(all:) 2022-03-04 11:55:53 +01:00
Gwendal Roué b974dfa9a7 Use fetchSet when available 2022-03-04 11:40:42 +01:00
Gwendal Roué e19f21be99 TODO 2022-03-04 10:28:23 +01:00
Gwendal Roué 9b0e41ad58 Details about date formats 2022-02-13 12:27:27 +01:00
Gwendal Roué d40474d2b7 Merge branch 'development' v5.21.0 2022-02-06 12:14:25 +01:00
Gwendal Roué 685074932e v5.21.0 2022-02-06 12:14:05 +01:00
Gwendal Roué f1a23bacc0 Extend the thank you notice 2022-02-06 12:10:35 +01:00
Gwendal Roué fbef103f01 CHANGELOG 2022-02-06 12:09:27 +01:00
Gwendal Roué fc9f0bcad1 Wording 2022-02-06 10:20:06 +01:00
Gwendal Roué 1929e96d11 Merge pull request #1165 from BeehiveInnovations/development
Add dynamic library to products to support dynamic linking
2022-02-06 10:13:31 +01:00
Gwendal Roué 9d4eb8a6dd test_install_SPM_Dynamic_Project: use a destination
Otherwise `make test_install_SPM_Dynamic_Project` uses a default destination, which CAN be the current mac, and thus require code signing:

% make test_install_SPM_Dynamic_Project
...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], ... }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
...
❌  error: Signing for "ios-dynamic" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'ios-dynamic' from project 'ios-dynamic')
** BUILD FAILED **
2022-02-06 10:00:58 +01:00
Fahad 3914a9ec21 Updated Makefile. Updated code-signing team 2022-02-06 01:25:34 +04:00
Fahad 29bacc138c Replaced test project with iOS project 2022-02-06 01:14:19 +04:00
Beehive InnovationsandGwendal Roué ba866359b2 Update README.md
Co-authored-by: Gwendal Roué <gr@pierlis.com>
2022-02-03 23:11:54 +04:00
Beehive InnovationsandGwendal Roué ffced55d3c Update README.md
Co-authored-by: Gwendal Roué <gr@pierlis.com>
2022-02-03 22:52:10 +04:00
Beehive Innovations 74caa96dcb Undo and use automatic
More clarity on this now - helps compile optimize and skip producing a `.a` static library entirely.
2022-02-03 22:13:12 +04:00
Beehive Innovations f6bea21e80 The first target should explicitly say static
Otherwise the behavior is undefined since omitting the type may at some point in time cause Xcode to pull it in as dynamic (when they fix their dependency resolution).
2022-02-03 21:44:06 +04:00
Fahad 27f6125099 Dynamic library test added 2022-02-03 13:36:52 +04:00
Beehive Innovations 70ea2027e4 Renamed dynamic library name
In line with naming standard used by other libraries
2022-02-03 13:11:24 +04:00
Beehive Innovations e28658c574 Updated SPM installation instructions
Added note about static / dynamic
2022-02-03 13:09:52 +04:00
fahad@guidedways.com c184b76849 Add dynamic library to products to allows dynamic linking 2022-02-03 09:25:42 +04:00
Gwendal Roué d23d74f65f Merge pull request #1164 from groue/dev/migrator-is-not-concurrent
Drop async apis from DatabaseMigrator
2022-02-01 18:17:02 +01:00
Gwendal Roué 984a5b4c4c CHANGELOG 2022-02-01 16:55:05 +01:00
Gwendal Roué 8e84beee36 Fix Swift 5.6 warnings 2022-02-01 10:08:24 +01:00
Gwendal Roué 95ce4a3f8a Drop async apis from DatabaseMigrator
This is because DatabaseMigrator can't be Sendable as long as it runs migrations that embed non-@Sendable closures.
2022-02-01 09:53:20 +01:00
Gwendal Roué 98ca653c6a Merge branch 'development' v5.20.0 2022-02-01 09:07:15 +01:00
Gwendal Roué e5a8e130d7 v5.20.0 2022-02-01 07:44:09 +01:00
Gwendal Roué 72e8dd2816 Cleanup 2022-01-31 20:20:02 +01:00
Gwendal Roué b5338650db Bump performance comparison dependencies 2022-01-31 19:23:55 +01:00
Gwendal Roué 75f72472ff Cleanup 2022-01-31 08:37:57 +01:00
Gwendal Roué 09f7d4d952 Complete #1161 2022-01-30 15:27:11 +01:00
Gwendal Roué c1c3cf6605 Merge pull request #1162 from groue/dev/fix-truncate-optimization
Fix truncate optimization handling
2022-01-30 15:26:14 +01:00
Gwendal Roué fc7f24ef6e Test case insensitivity of truncation optimization prevention 2022-01-30 14:57:37 +01:00
Gwendal Roué 3d0b34590f Fix typo 2022-01-30 14:49:31 +01:00
Gwendal Roué 2d6c2873e0 CHANGELOG 2022-01-30 14:42:22 +01:00
Gwendal Roué 4e65425c00 Cleanup 2022-01-30 14:41:29 +01:00
Gwendal Roué b82f92f726 Test for cursor next() followed by forEach() 2022-01-30 14:33:22 +01:00
Gwendal Roué b8c0e9d2c2 Fix failing test for cached statement which does not prevent the truncate optimization 2022-01-30 14:24:28 +01:00
Gwendal Roué b2df255306 Failing test for cached statement which does not prevent the truncate optimization 2022-01-30 14:12:46 +01:00
Gwendal Roué c60b8cfc53 Refactor prevention of truncate optimization
We now always use the same authorizer, which is always ready to prevent truncate optimization depending on the current transaction observers.
2022-01-30 14:07:43 +01:00