Commit Graph

27 Commits

Author SHA1 Message Date
Harry
04ff253927
Move around thumbnail constants to new file 2024-06-18 08:44:17 -07:00
Harry
918b2d5ffe
Handle message bubble single-tap (dismiss keyboard) vs double-tap (edit message) conflicts 2024-05-23 12:30:28 -07:00
Ehren Kret
0ab16e43a4
remove the last chunk of objc in the main app target 2024-05-13 12:35:01 -05:00
Harry
36784dcced
Add invalid v2 Attachment content type 2024-05-07 15:06:59 -07:00
Harry
633014ae72
Remove a few easy TSAttachmentStream bridges 2024-05-03 14:33:53 -07:00
Harry
fb4410c4c3
Get YYImages off AttachmentStream/TSResourceStream 2024-05-03 14:33:10 -07:00
Harry
5aac1ec836
CVAttachmentProgressView.ProgressType.downloading doesn't always mean downloading 2024-04-30 13:30:18 -04:00
Harry
e955e607a3
Modernize + asyncify AudioWaveformManager 2024-04-29 13:11:16 -07:00
Max Radermacher
177b43e229
Update to Lottie v4.4.3 2024-04-25 18:19:25 -05:00
Harry
01b494ef15
Move audioWaveform generation up to TSResourceStream 2024-04-25 15:47:15 -07:00
Harry
4b48f11636
Typo fix unenecrypted->unencrypted 2024-04-25 15:44:52 -07:00
Harry
b26bc0af7b
Define v2 AttachmentDownloadState 2024-04-25 15:44:02 -07:00
Harry
5b9fb46243
Delete CloneAsSignalAttachmentRequest, implement SignalAttachmentCloner 2024-04-25 10:20:27 -07:00
Ehren Kret
039d2625b9 convert OWSMath.h to swift
OWSMath.swift overlaps somewhat with Math+OWS.swift but no worse than
OWSMath.h did previously. There are future refactoring efforts that
should occur there to use more of the extensions of Math+OWS.swift and
less of the extensions from OWSMath.swift
2024-04-21 23:26:16 -05:00
Harry
f8f892af6a
Fix isAnimatedImage usage (gifs) 2024-04-18 11:32:20 -07:00
Harry
51817bee42
Fix stickers (#8342) 2024-04-18 10:04:04 -07:00
Harry
4fca9517f4
Update a ton of CV code from TSAttachment->TSResource 2024-04-15 09:12:59 -07:00
Harry
d246764d58
Fix casting to TSAttachmentPointer 2024-04-12 10:01:47 -07:00
Ehren Kret
ed6cdb675a migrate isDefinitelyAnimated/isMaybeAnimated to swift 2024-04-11 22:19:16 -05:00
Ehren Kret
de101a0c31 inline isAudio/isVideo/isImage/isBinaryData 2024-04-11 22:19:16 -05:00
Ehren Kret
fd94424be0 start migrating MIMETypeUtil to swift 2024-04-11 22:19:16 -05:00
Harry
ae67a311ff
Replace foo as? TSAttachmentStream with foo.asResourceStream() 2024-04-11 13:46:40 -07:00
Jordan Rose
b0de59f2e2 Remove required from every init that is not dynamically dispatched
This included:
- Removing unavailable inits wholesale if no longer `required`
- Marking a few classes `final` so they could continue using
  `Self(...)` rather than `OWSWhatever(...)`
2024-04-01 15:27:20 -07:00
Harry
16d810e9fa
Use TSResourceId in upload notifications 2024-03-29 14:44:00 -07: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
Harry
c5268b134f
Modernize QuotedReplyModel types 2024-03-25 21:10:55 -07:00
Max Radermacher
2e91c8d92c
Move around a bunch of files in Signal/ 2024-03-25 13:26:31 -05:00