Commit Graph

20554 Commits

Author SHA1 Message Date
Matthew Chen
bfe102c0c7 Update Cocoapods. 2020-12-15 11:16:39 -03:00
Matthew Chen
4ba64c78af Fix "mark as read" for early read receipts. 2020-12-15 11:15:24 -03:00
Matthew Chen
fe95bcfb61 Merge branch 'charlesmchen/cvc73' 2020-12-15 11:13:33 -03:00
Matthew Chen
3174559060 Serialize access to avatar cache. 2020-12-14 11:35:54 -03:00
Matthew Chen
087144b4a5 Ensure layout validity before access. 2020-12-14 11:35:53 -03:00
Matthew Chen
786500babd Fix footer colors for remotely deleted messages. 2020-12-14 11:35:53 -03:00
Matthew Chen
ec5d396e70 Improve scroll continuity vs. auto-scroll. 2020-12-14 11:35:53 -03:00
Matthew Chen
2d2f7cf891 Restore ellipses to truncated text. 2020-12-14 11:35:53 -03:00
Nora Trapp
042786507d "Bump build to 5.1.0.7." (Internal) 2020-12-11 18:23:45 -08:00
Nora Trapp
e72a9b10e3 "Bump build to 5.1.0.6." (Internal) 2020-12-11 18:23:37 -08:00
Nora Trapp
19a9d1414b Merge branch 'release/5.0.2' 2020-12-11 18:19:30 -08:00
Nora Trapp
6122856c32 "Bump build to 5.0.2.0." 2020-12-11 18:15:06 -08:00
Nora Trapp
83ba597e63 Sync translations 2020-12-11 18:14:57 -08:00
Nora Trapp
c6a85faf3c Add missing files.. 2020-12-11 18:09:02 -08:00
Nora Trapp
059164bf7a Show a tooltip for starting a group call 2020-12-11 17:31:24 -08:00
Nora Trapp
5409063ac5 Add megaphone for group calls 2020-12-11 15:24:11 -08:00
Nora Trapp
b5cf5d9cd8 Change group calling to a remote kill switch 2020-12-11 15:09:03 -08:00
Michelle Linington
bf3c04c334 Merge branch 'mlin/PR/ObjCGenericsSupport_FunctionalUtil' 2020-12-11 12:31:26 -08:00
Michelle Linington
80c6a4e6be Add support for lightweight generics in ObjC functional utilities
NSArray supports lightweight generics in ObjC. Our extension on NSArray
for map/filter/reduce does not. This change tweaks the interface to
better support generics.

Also, fixes some tests that weren't compiling.
2020-12-11 12:30:44 -08:00
Matthew Chen
f3204a633c "Bump build to 5.1.0.5." (Internal) 2020-12-11 17:17:40 -03:00
Matthew Chen
8520947561 Fix body text label configs. 2020-12-11 17:15:56 -03:00
Matthew Chen
7a473e7a50 Merge branch 'charlesmchen/cvc72' 2020-12-11 16:49:35 -03:00
Matthew Chen
8e1ed4d307 Fix the body media dismiss animations. 2020-12-11 16:49:14 -03:00
Matthew Chen
151e1158a9 Rename CVItemViewModel, CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
b0a47572b8 Revert "Remove CVItemViewModelBridge protocol."
This reverts commit 81a012a02e1a210bfc0fbf165335aa047c622e96.
2020-12-11 16:49:14 -03:00
Matthew Chen
04cebf3ae3 Remove CVItemViewModelBridge protocol. 2020-12-11 16:49:14 -03:00
Matthew Chen
200aec4d7a Merge CVItemViewModel and CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
31836f3bf3 Fix build break. 2020-12-11 16:48:47 -03:00
Matthew Chen
6f26c35c83 Merge branch 'charlesmchen/cvc71' 2020-12-11 16:46:44 -03:00
Matthew Chen
1b432e8b3a Tweak body text tap handling. 2020-12-11 16:46:28 -03:00
Matthew Chen
b3f93cdc88 Fix broken tests. 2020-12-11 16:33:38 -03:00
Matthew Chen
883daeb1ab Use labels to render body text where possible. 2020-12-11 16:33:38 -03:00
Matthew Chen
671e94559b Merge branch 'charlesmchen/cvc70' 2020-12-11 16:32:51 -03:00
Matthew Chen
ca798f8f02 Improve perf of text measurement cache keys. 2020-12-11 16:32:36 -03:00
Matthew Chen
bfe6e837db Remove support for CVC measurement on main thread. 2020-12-11 16:32:36 -03:00
Matthew Chen
7aba0172cc "Bump build to 5.1.0.4." (Internal) 2020-12-11 16:19:20 -03:00
Nora Trapp
b3558ca5ee Merge branch 'release/5.1.0' 2020-12-10 14:36:32 -08:00
Nora Trapp
c55e9dcd8b Fix measurement in release builds 2020-12-10 14:35:54 -08:00
Nora Trapp
1e4ed5924d Merge branch 'release/5.1.0' 2020-12-10 14:34:13 -08:00
Nora Trapp
3f1ea63d7a Merge branch 'release/5.0.1' into release/5.1.0 2020-12-10 14:33:49 -08:00
Nora Trapp
6587cbb199 "Bump build to 5.0.1.1." 2020-12-10 14:31:41 -08:00
Nora Trapp
80cdecb20a Sync translations 2020-12-10 14:31:19 -08:00
Michelle Linington
ee924d5a9c Merge branch 'mlin/PR/IOS-838' into release/5.0.1 2020-12-10 14:24:38 -08:00
Michelle Linington
c6004c9fc5 PR Feedback. Adopt similar behavior in AttachmentTextView 2020-12-10 14:23:30 -08:00
Michelle Linington
fea0215f05 IOS-838: ConversationInputTextView cursor adjustments don't behave properly
At the moment, when trying to drag the input/selection cursor(s) in
the ConverationInputTextView, as soon as you reach the top or bottom
edge of a draft with >4 lines, you'll immediately scroll to the very top
or the very bottom.

This is because we're currently overriding the default implementation of
setContentOffset:animated: to always perform the adjustment without
animation. We do this because we don't want the animated content offset
adjustment to interfere with the growing the bounds of the text view.
This can cause the text to overshoot the updated bounds pre-iOS 13.

But we only grow the text view in response to the text changing. So
instead of disabling all content offset animations, we can get away with
just disabling content offset animations while the text is changing.

So this commit:
- Sets a flag between -textViewShouldChange... and -textViewDidChange:
- On iOS 13 and later, we'll always respect the animate argument of
  setContentOffset:animated:
- Pre-iOS 13, we'll ignore the animate parameter if the flag is set
2020-12-10 14:23:30 -08:00
Matthew Chen
e71ee7ab80 "Bump build to 5.1.0.3." (Internal) 2020-12-10 13:32:19 -03:00
Nora Trapp
cb79cc42d2 Fix measurement in release builds 2020-12-10 13:32:07 -03:00
Matthew Chen
cf45efbc00 Merge branch 'charlesmchen/cvc69' 2020-12-10 13:23:36 -03:00
Matthew Chen
961c20ea4c Clean up codebase. 2020-12-10 13:21:18 -03:00
Matthew Chen
62856840da Clean up codebase. 2020-12-10 13:17:24 -03:00