Sasha Weiss
96a76065df
Performance improvements to import performance for messages
2025-02-19 11:48:25 -08:00
Max Radermacher
6ac078c370
Remove method that’s only used by unit tests
2025-02-14 01:32:29 -06:00
Ehren Kret
0a5677997e
remove NSDate OWS objc category
2025-02-05 11:06:42 -06:00
Pete Walters
f4ad46f176
Clean up Upload error handling
2025-01-27 11:04:58 -06:00
Harry
e7742ff04f
Include source progresses in OWSProgress
2025-01-17 10:37:36 -07:00
Max Radermacher
b32554cdc3
Don’t inherit SSKBaseTest where it’s not necessary
2025-01-16 18:17:18 -06:00
Max Radermacher
e110740ab3
Remove the bulk of OWSOperation
2024-12-18 13:57:04 -06:00
Harry
6073e5e05f
Use UInt64 instead of UInt32 for OWSProgress
2024-12-09 09:44:14 -06:00
Harry
08258d820a
Add OWSProgress utility to periodically update with a task and estimated completion time
2024-12-06 09:19:11 -08:00
Harry
41c47c1235
Add OWSProgress for be used for backup progress tracking
2024-12-06 09:18:30 -08:00
Max Radermacher
7bfe049f30
Improve URLSession error handling
2024-12-02 15:17:19 -06:00
Sasha Weiss
2000b82c0b
One KeyValueStore to rule them all
2024-11-15 18:47:54 -06:00
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
Harry
f149718964
Make backup media list endpoint handling more efficient
2024-10-25 11:09:51 -07:00
Pete Walters
d9e411208a
ChunkedInputStreamTransform performance improvements
2024-10-24 15:04:17 -05:00
Max Radermacher
07f3a0a2f7
Fix SerialTaskQueue
2024-10-18 02:46:11 -05:00
Ehren Kret
de32c7799d
remove NSObject and Dependencies extension computed vars for SignalServiceKit
2024-10-11 23:12:59 -05:00
Harry
ce5689dcb3
Remove MockDB in favor of InMemoryDB
2024-10-07 19:06:08 -07:00
Harry
ba2f10732e
Parametrize transaction type in DB v2 protocol
2024-10-04 16:12:52 -07:00
Ehren Kret
5ea36cd91b
enable internal imports by default
2024-09-29 20:03:17 -05:00
Ehren Kret
a9792152fb
remove FunctionalUtil
2024-09-23 15:01:18 -05:00
Ehren Kret
eefdcadf0b
convert OWSError to swift
2024-09-23 15:01:18 -05:00
Ehren Kret
8476d64a01
remove NSData+OWS
2024-09-12 12:01:19 -05:00
Ehren Kret
1298bc414f
migrate NSString+OWS to swift
2024-09-10 12:26:09 -05:00
Harry
b6a049a621
Reject link preview urls with unsafe characters in path
2024-08-21 11:59:27 -07:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder
2024-08-06 10:22:07 -07:00
Ehren Kret
8db47c5f62
inline Cryptography.generateRandomBytes
2024-08-01 15:33:26 -05:00
Adam Sharp
18a0d40d62
Fix various compiler errors in tests under Xcode 16
2024-07-03 11:29:37 -04:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
...
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Sasha Weiss
f55ba3682e
Exhaustively enumerate errors in ParamParser
2024-06-13 11:10:11 -07:00
Sasha Weiss
4a7be90003
Send support for DeleteForMe sync messages
2024-06-04 15:18:39 -07:00
Sasha Weiss
af12f210cb
Receive support for DeleteForMe sync messages
2024-06-04 15:15:24 -07:00
Sasha Weiss
11e9404d76
Add ThreadSoftDeleteManager
2024-06-04 14:58:58 -07:00
Harry
e9038e0a38
Abstract ImageMetadata loading so it can use more than just in memory Data
2024-05-30 15:29:15 -07:00
Pete Walters
0c2ec56809
Add HMAC validation to backup import.
2024-05-08 12:22:45 -05:00
Sasha Weiss
6ff76dd7e6
Do away with some ObjC test infra
2024-05-06 09:57:21 -07:00
Sasha Weiss
a25868491f
Make defaults in TSIncomingMessageBuilder explicit and complete
2024-05-02 15:56:02 -07:00
Max Radermacher
0b3d2a8f18
Remove and fix confusing substring methods
2024-05-01 15:46:25 -05:00
Ehren Kret
25335708f0
move ensureArabicNumerals test into the tests for the target where it is defined
2024-04-27 13:33:46 -05:00
Ehren Kret
b63a2d6bf4
migrate NSData+Image to swift
2024-04-26 05:24:55 -05:00
Harry
237bf46219
Remove TSAttachment bridging in TSMessage methods
2024-04-25 10:24:00 -07:00
Ehren Kret
70ac6f28d0
migrate NSString+SSK to swift
2024-04-24 09:26:12 -05:00
Ehren Kret
3b51f00f6a
migrate two factory methods of UIImage+OWS to swift
2024-04-22 00:17:31 -05:00
Ehren Kret
110a880d6c
remove and disallow warnings in SignalServiceKitTests target
2024-04-21 09:55:30 -05:00
Pete Walters
c9fb03a211
Add random IV to backup file
2024-04-19 13:11:43 -05:00
Pete Walters
b58a7e0411
Change from Compression.framework to zlib
2024-04-19 12:39:44 -05:00
Pete Walters
e76251c9d6
Remove unecessary finalize from ChunkedInputStream
2024-04-04 17:45:07 -05:00
Jordan Rose
2727a70b90
Make AtomicValue's lock-sharing explicit
...
Also:
- Remove AtomicUInt's @objc, it's no longer used from ObjC
- Remove Codable conformances, they would implicitly use shared locks
and weren't used in practice
2024-03-27 10:57:32 -07:00
Pete Walters
43901289ca
Decrypt/unzip backup files
2024-03-26 09:23:56 -05:00
Max Radermacher
4e9ebdb392
Don’t inherit from SSKBaseTestObjC unless needed
2024-03-18 13:48:34 -05:00