Commit Graph

17 Commits

Author SHA1 Message Date
Brent Simmons
8a611f4109 Make ArticleStatus Sendable. 2024-11-11 21:46:08 -08:00
Brent Simmons
75a56be4d6 Make Article a class. 2024-11-10 21:45:16 -08:00
Brent Simmons
2b76968391 Fix some package paths. Treat warnings as errors in all local modules. 2024-11-09 09:44:22 -08:00
Brent Simmons
fe728c72b3 Use Swift 5.10. 2024-11-08 20:50:21 -08:00
Brent Simmons
5506187d51 Make RSWeb a local module. Normalize Swift language version and platforms in local modules. 2024-11-06 21:01:17 -08:00
Brent Simmons
4fa4c6a541 Continue renaming webFeed to feed. 2024-11-02 11:08:58 -07:00
Brent Simmons
70be7e2bd2 Accept Xcode’s suggested renaming of Embed App Extensions to Embed Foundation Extensions. 2024-11-01 21:05:45 -07:00
Brent Simmons
19ce65844a Use Swift 5.9. 2024-10-31 22:17:56 -07:00
Maurice Parker
7f531282d6 Restrict RSCore version so that we don't pick up version 1.1 when it happens 2022-11-01 20:24:58 -05:00
Duncan Babbage
cc855f3832 link and URL vars for Article. Storage as rawLink
link and externalLink fall back to providing the raw stored value if URLs cannot be created even with repair.
2021-09-30 16:51:59 +13:00
Joe Heck
3409275a23 fixing name of lock 2021-05-10 11:55:24 -07:00
Joe Heck
8df105aad4 replacing os_unfair_lock with NSLock
learned that os_unfair_lock with & was quite unsafe when used within
swift. Apparently in swift, &foo in Swift means "make a copy of foo and
pass it inout to a function, then overwrite its value with whatever
the function did to it when that function returns."

And if you're using it within a struct, it's apparently even more
dangerous. because the address of self can change from call to call
— self might not even have an address, it might be contained in
registers only.

Using NSlock will be a smidge less performant, but notably more safe.
2021-05-10 11:14:04 -07:00
Maurice Parker
91ce7ff189 Update to the latest RSCore 2021-02-07 20:26:30 -06:00
Maurice Parker
fb6e51124f Made internal packages dynamic and removed Asset catalog from the share extension. Fixes #2680 2020-12-21 10:55:00 -06:00
Maurice Parker
37cfccede6 Use simple module name for dependencies instead of the fully qualified version 2020-07-30 20:43:18 -05:00
Maurice Parker
66991a85e6 Convert Account into a Swift Package 2020-07-30 07:27:14 -05:00
Maurice Parker
fbfdbb04c7 Convert Articles, ArticlesDatabase, and SyncDatabase to Swift Packages 2020-07-30 04:54:21 -05:00