Commit Graph

26927 Commits

Author SHA1 Message Date
Jordan Rose
fc2d02ef99 Improve logging 2022-01-24 17:10:37 -08:00
Michelle Linington
ec7d95394e Sync translations 2022-01-24 16:42:12 -08:00
Nora Trapp
c005afd79b Adjust megaphone priority and remove old megaphones 2022-01-24 10:42:34 -08:00
Nora Trapp
9d69b22feb "Bump build to 5.27.0.106." (nightly-01-24-2022) 2022-01-24 04:00:11 -08:00
Martin Böttcher
ecc804ca4b animate switching off homeviews selection mode if only cell content is changed 2022-01-24 12:54:34 +01:00
Nora Trapp
78ab14e38e "Bump build to 5.27.0.105." (nightly-01-23-2022) 2022-01-23 04:00:08 -08:00
Nora Trapp
09284615c7 "Bump build to 5.27.0.104." (nightly-01-22-2022) 2022-01-22 04:01:04 -08:00
Martin Böttcher
424f2b5790 Merge branch 'martin/IOS-2124' 2022-01-22 12:29:27 +01:00
Michelle Linington
533e17429d "Bump build to 5.27.0.103." (Internal) 2022-01-22 12:27:56 +01:00
Michelle Linington
a45f805159 "Feature flags for .qa." 2022-01-22 12:27:56 +01:00
Michelle Linington
df5ea903d1 "Bump build to 5.27.0.102." (Beta) 2022-01-22 12:27:56 +01:00
Michelle Linington
c3f1b39785 "Feature flags for .beta." 2022-01-22 12:27:56 +01:00
Michelle Linington
afe0816e09 Sync translations 2022-01-22 12:27:56 +01:00
Nora Trapp
48565ee1b0 Tweak change phone number feature flags 2022-01-22 12:27:56 +01:00
Nora Trapp
fdf632d63a "Bump build to 5.27.0.101." (nightly-01-21-2022) 2022-01-22 12:27:56 +01:00
Michelle Linington
fe51a94c15 "Bump build to 5.27.0.103." (Internal) 2022-01-21 10:34:39 -08:00
Michelle Linington
8ecb6afc66 "Feature flags for .qa." 2022-01-21 10:34:35 -08:00
Michelle Linington
f7f0806f54 "Bump build to 5.27.0.102." (Beta) 2022-01-21 10:34:31 -08:00
Michelle Linington
5ba11da60b "Feature flags for .beta." 2022-01-21 10:34:23 -08:00
Michelle Linington
657d8e461e Sync translations 2022-01-21 10:34:11 -08:00
Nora Trapp
513a37892e Tweak change phone number feature flags 2022-01-21 10:16:35 -08:00
Nora Trapp
2d4f0cc2a2 "Bump build to 5.27.0.101." (nightly-01-21-2022) 2022-01-21 04:01:02 -08:00
Martin Böttcher
d5d688f0c7 background and selected background of HomeViewCells got broken if reused 2022-01-21 10:29:47 +01:00
Michelle Linington
93e57ab9de "Bump build to 5.27.0.100." (Internal) 2022-01-20 23:26:27 -08:00
Michelle Linington
895ca97c47 "Feature flags for .qa." 2022-01-20 23:26:24 -08:00
Michelle Linington
fd9301e556 "Bump build to 5.27.0.99." (Beta) 2022-01-20 23:26:19 -08:00
Michelle Linington
8b17d4c8da "Feature flags for .beta." 2022-01-20 23:26:14 -08:00
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