Commit Graph

26900 Commits

Author SHA1 Message Date
Michelle Linington
40ce0ccc2a Sync translations 2022-01-20 23:25:02 -08:00
Michelle Linington
abfc1bd897 Update release notes 2022-01-20 23:17:18 -08:00
Martin Böttcher
88e41f29fa
corrected and adjusted background color of selected home view cells (#3907)
* corrected and adjusted background color of selected home view cells

* using multipleSelectionBackgroundView instead of replacing selectionBackgroundColor
2022-01-21 07:58:23 +01:00
Michelle Linington
9e2b483d50 "Bump build to 5.27.0.98." (Internal) 2022-01-20 18:13:14 -08:00
Michelle Linington
ab8b1a8dbc "Feature flags for .qa." 2022-01-20 18:13:10 -08:00
Michelle Linington
bfd26c1c75 "Bump build to 5.27.0.97." (Beta) 2022-01-20 18:12:52 -08:00
Michelle Linington
bbf6e7298a "Feature flags for .beta." 2022-01-20 18:12:46 -08:00
Michelle Linington
db01c5a012 Sync translations 2022-01-20 18:12:31 -08:00
Jordan Rose
a61bbdf7f3 Merge branch 'jrose/nse-group-data-caches' 2022-01-20 17:30:26 -08:00
Jordan Rose
904bb36d7f Turn group data caches back on in the NSE
Without the GroupV2Params caches, processing multiple large group
updates is extremely wasteful, decrypting the same profile keys and
UUIDs over and over again. The size of these caches has also been
*increased* to match the group size limit, or else there's no benefit
for large groups.

Other LRUCache instances are still off by default in the NSE by virtue
of the "NSE max" defaulting to 0.
2022-01-20 16:49:37 -08:00
Jordan Rose
f672663de5 Merge branch 'jrose/better-group-param-hashes' 2022-01-20 16:46:55 -08:00
Jordan Rose
0edd86f3f7 Improve cache keys for group member profiles, UUIDs, and blobs
When Data is put into an NSCache it gets converted to an NSData, which
is a CFData underneath. CFData's hash function only looks at a prefix
of the data, and the secret params were taking up a good chunk of that
prefix, leading to hash collisions. By putting more variable data
first, we get better hashes *and* exit memcmp faster in the case of a
collision.
2022-01-20 16:08:34 -08:00
Jordan Rose
6372b0a51e Merge branch 'jrose/lazy-group-changes' 2022-01-20 16:07:03 -08:00
Jordan Rose
58a688ad61 Lazily deserialize individual group changes
If there are several group changes being returned at once,
deserializing all of them up front can lead to excessive memory use,
especially for very large groups. This commit switches to
deserializing each change as it is used, which doubles the amount of
CPU work (because we loop through the changes twice) in exchange for
only ever having one Change object graph in memory at a time. It does
also mean we can get a protobuf deserialization error a bit later in
the process if the data is ever corrupted, but that shouldn't cause
additional issues at these particular call sites.
2022-01-20 12:00:50 -08:00
Nora Trapp
1358f78f81 Small change number design tweaks. 2022-01-20 10:26:34 -08:00
Nora Trapp
d9ff29064b "Bump build to 5.27.0.96." (nightly-01-20-2022) 2022-01-20 04:00:58 -08:00
Martin Böttcher
6f92b5eb7c
rotating the device lost the selection state of the home view tableview (#3906)
* rotating the device lost the selection state of the home view tableview

* changed indexpath based selection state restoration to uniqueIds of associated threads

* unified table data reload method call
2022-01-20 08:57:06 +01:00
Martin Böttcher
8163c9074c
changed context menu animations (#3908)
* changed context menu animations

* improved gestures for quickly selecting multiple conversations; fixed clipped table content when toolbar is shown

* changed handling of two finger multi-select gesture; simplified animation code

* added accessibility hint and debug assert
2022-01-20 08:56:27 +01:00
Martin Böttcher
f63c6cbae4
made refresh timer handling more robust (#3911) 2022-01-20 08:35:07 +01:00
Nora Trapp
8f4b4bafa0 "Bump build to 5.27.0.95." (Internal) 2022-01-19 18:29:19 -08:00
Nora Trapp
674d3b1be7 Merge branch 'release/5.26.10' 2022-01-19 18:29:13 -08:00
Nora Trapp
ba6efd36d4 "Bump build to 5.26.10.1." (Beta) 2022-01-19 18:26:25 -08:00
Nora Trapp
0402c12a26 "Feature flags for .beta." 2022-01-19 18:26:24 -08:00
Nora Trapp
068f153a20 "Bump build to 5.26.10.0." 2022-01-19 18:26:18 -08:00
Nora Trapp
fca3ab04a8 "Feature flags for .production." 2022-01-19 18:26:04 -08:00
Nora Trapp
2767e201a9 Ensure we read sourceUuid from incoming messages via REST 2022-01-19 18:25:56 -08:00
Nora Trapp
7b368f8741 "Bump build to 5.27.0.94." (nightly-01-19-2022) 2022-01-19 04:00:55 -08:00
Martin Böttcher
034be2a9bd
fixed indentation during multi select mode in iOS 12 (#3905)
* fixed indentation during multi select mode in iOS 12

* changed line break
2022-01-18 21:18:23 +01:00
Martin Böttcher
e442a878c8
configuring emoji reactions now animates even freshly replaced emojis (#3909) 2022-01-18 20:52:09 +01:00
Evan Hahn
c95aa74c82 Merge branch 'evanhahn/rename-hidemenu-method' 2022-01-18 09:34:46 -06:00
Evan Hahn
7d8adb1c63 Rename HomeViewController method 2022-01-18 09:34:13 -06:00
Nora Trapp
2989bf08b6 "Bump build to 5.27.0.93." (nightly-01-18-2022) 2022-01-18 04:00:51 -08:00
Nora Trapp
3d341320dc "Bump build to 5.27.0.92." (nightly-01-17-2022) 2022-01-17 04:00:47 -08:00
Nora Trapp
12b242c6ea "Bump build to 5.27.0.91." (nightly-01-16-2022) 2022-01-16 04:00:44 -08:00
Nora Trapp
4bd307cf0b "Bump build to 5.27.0.90." (nightly-01-15-2022) 2022-01-15 04:00:55 -08:00
Michelle Linington
e6d26f60a3 Update Pods 2022-01-14 18:24:42 -08:00
Michelle Linington
536b77eab0 Merge branch 'ringrtc/v2.17.0' 2022-01-14 18:14:59 -08:00
Jim Gustafson
edce9ec629 Update to RingRTC v2.17.0 2022-01-14 18:14:42 -08:00
Michelle Linington
edf9d207d1 Merge branch 'jim/fix-speaker-issues' 2022-01-14 18:12:23 -08:00
Jim Gustafson
44d2545acf Fix speaker use for calling scenarios 2022-01-14 18:11:34 -08:00
Michelle Linington
abbf9479e7 "Bump build to 5.27.0.89." (Internal) 2022-01-14 12:33:52 -08:00
Jordan Rose
a678532380 Don't use promises in LoopingVideo
AVAsset is already lazily loaded; init(url:) is cheap.
2022-01-14 09:58:16 -08:00
Martin Böttcher
7acc0cd5f0
reduce avatar flicker if a displayed thread cell gets an update notification (#3901) 2022-01-14 18:01:23 +01:00
Martin Böttcher
0991b05048
pinned archived threads will be displayed in archive, fixed visibility of context menu button (#3898) 2022-01-14 18:01:00 +01:00
Martin Böttcher
d07fe9a44e
cleanup of entering and leaving multiselect mode (#3899)
* cleanup of entering and leaving multiselect mode

* clearing state if multi select mode has ended, corrected animation en- or disabling table view editing mode
2022-01-14 18:00:12 +01:00
Martin Böttcher
e687020258
unified navigationbar appearance of archive view (#3900)
* unified navigationbar appearance of archive view

* moved comment and the corresponding code line to its original place
2022-01-14 17:58:46 +01:00
Martin Böttcher
6eaab9231b
Context menu polish on home view (#3902)
* changed animation showing context menu

* added support for two-finger multi-select gesture
2022-01-14 17:39:34 +01:00
Nora Trapp
33184a6549 "Bump build to 5.27.0.88." (nightly-01-14-2022) 2022-01-14 04:00:38 -08:00
Nora Trapp
548e579522 "Bump build to 5.27.0.87." (nightly-01-13-2022) 2022-01-13 12:07:47 -08:00
Nora Trapp
5598826c76 Don't show update contact button when contact is already up-to-date 2022-01-13 12:07:36 -08:00