Commit Graph

18 Commits

Author SHA1 Message Date
Elaine
a26ebaa2de
Handle undownloadable attachment rendering 2025-02-11 09:38:31 -07:00
Harry
8df602b184
Render most undownloadable attachments 2025-01-31 14:43:48 -08:00
Harry
b81666d6e9
Add AttachmentBackupPointer and AttachmentPointer 2025-01-27 08:54:25 -08:00
Harry
2af0bb31dc
Remove TSResource/Stream/Pointer/Thumbnail, use v2 types directly instead 2024-12-04 13:29:06 -08:00
Ehren Kret
a4d65d6119 remove Dependencies+MainApp.swift 2024-10-11 23:47:02 -05:00
Harry
8666ca69a2
Show audio waveform fallback as long as we have a duration 2024-10-08 21:02:58 -07:00
Adam Sharp
1a8c9fb5c6
Fix iOS 18 crash on launch due to offscreen rendering
Creating a UIImageView outside a view hierarchy now crashes on iOS 18. We can
avoid this offscreen rendering technique by removing UIImage.asTintedImage(),
configuring the tint colour and template rendering on the UIImage directly, and
rendering with UIGraphicsImageRenderer instead of lower-level Core Graphics
APIs.
2024-08-20 10:47:28 -04:00
Harry
918b2d5ffe
Handle message bubble single-tap (dismiss keyboard) vs double-tap (edit message) conflicts 2024-05-23 12:30:28 -07: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
4fca9517f4
Update a ton of CV code from TSAttachment->TSResource 2024-04-15 09:12:59 -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
Max Radermacher
2e91c8d92c
Move around a bunch of files in Signal/ 2024-03-25 13:26:31 -05:00