Signal-iOS/SignalUI
Adam Sharp f19110add6 Add TSMutex to replace UnfairLock
Renames UnfairLock to TSMutex and refreshes its interface to remove methods
that are unused except in tests.

TSMutex has a generic parameter State that supports non-sendable and
non-copyable values. UnfairLock is a type alias of TSMutex<Void>.

The withLock() function is also no longer inherited from NSLocking, instead
being implemented to be similar to OSAllocatedUnfairLock's API.

Finally, the class is audited for sendability and compiles without warnings
under strict concurrency checking.
2024-11-15 16:31:03 -05:00
..
Appearance Device linking redesign 2024-11-13 19:03:28 -07:00
AppLaunch delete Dependencies+SignalUI.swift 2024-10-12 00:06:27 -05:00
AttachmentApproval remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
AttachmentMultisend Fully Swiftify StorageServiceManager 2024-11-07 17:32:41 -08:00
AV Clean up DeviceSleepManager 2024-11-04 14:34:57 -06:00
Calls Handle 404s when reading call links 2024-10-09 19:28:31 -05:00
ContactSharing remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
ConversationView enable internal imports by default 2024-09-29 20:03:17 -05:00
Fonts Add more contact badges 2024-03-29 16:08:35 -06:00
ImageEditor Fix icon tint colors throughout the app 2024-08-29 12:54:19 -07:00
LinkPreview Consolidate error handling for OWSURLSession 2024-11-04 15:49:11 -06:00
Payments Add TSMutex to replace UnfairLock 2024-11-15 16:31:03 -05:00
RecipientPickers Asyncify CDS lookups 2024-11-06 19:01:28 -06:00
SafetyNumbers Redesign device linking scanner with photo picker 2024-10-29 10:56:12 -06:00
Search remove Dependencies protocol entirely 2024-10-12 00:26:22 -05:00
Sending Update backup proto with view once quote type 2024-11-14 08:55:47 -08:00
Stickers remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Stories Add Signal colors 2024-11-05 14:27:57 -07:00
SwiftUIExtensions Device linking redesign 2024-11-13 19:03:28 -07:00
UIKitExtensions Increase default size of filter icon, adjust animation timing 2024-10-29 19:17:23 -04:00
Usernames remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Utils use asyncRequest for spam reporting 2024-10-22 10:57:19 -05:00
VideoEditor Remove conditional compiler directives 2024-09-18 12:00:57 -04:00
ViewControllers Update Signal logo 2024-11-05 15:02:37 -07:00
Views migrate to async swift for ProvisioningController continue button 2024-11-12 08:58:22 -06:00
Wallpapers enable internal imports by default 2024-09-29 20:03:17 -05:00
SignalUI.h Work around use of deprecated UIButton API 2024-07-03 14:27:48 -04:00