Commit Graph

9953 Commits

Author SHA1 Message Date
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
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
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
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
1b432e8b3a Tweak body text tap handling. 2020-12-11 16:46:28 -03:00
Matthew Chen
883daeb1ab Use labels to render body text where possible. 2020-12-11 16:33:38 -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
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
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
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
Matthew Chen
0531e44170 Clean up codebase. 2020-12-10 13:02:25 -03:00
Matthew Chen
a36c275d89 Clean up codebase. 2020-12-10 12:57:51 -03:00
Matthew Chen
fae130c8cb "Bump build to 5.1.0.2." (Internal) 2020-12-10 12:51:58 -03:00
Matthew Chen
f45679b826 "Bump build to 5.1.0.1." (Internal) 2020-12-10 12:45:27 -03:00
Matthew Chen
fd722bb714 Disable re-use of message components. 2020-12-10 12:45:15 -03:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Nora Trapp
2d1b5dc28b "Bump build to 5.1.0.0." (Internal) 2020-12-09 15:37:55 -08:00
Nora Trapp
f63641467c "Bump build to 5.0.1.0." 2020-12-09 14:57:58 -08:00
Nora Trapp
d886b89190 Preserve scroll state when returning from pip 2020-12-09 14:53:28 -08:00
Nora Trapp
cff80a0f94 Fix pip when no one else is in the call 2020-12-09 14:53:07 -08:00
Matthew Chen
3bef37035b "Bump build to 5.0.0.78." (Internal) 2020-12-09 16:52:43 -03:00
Nora Trapp
bac01d7394 "Bump build to 5.0.0.77." 2020-12-08 23:47:08 -08:00
Nora Trapp
beea3a3f73 Sync translations 2020-12-08 23:47:00 -08:00
Nora Trapp
13e1283ed3 "Bump build to 5.0.0.76." (Internal) 2020-12-08 19:58:50 -08:00
Nora Trapp
6aa95b7ab5 "Bump build to 5.0.0.75." 2020-12-08 17:53:00 -08:00
Nora Trapp
a6527fc078 "Bump build to 5.0.0.74." 2020-12-08 17:52:52 -08:00