Commit Graph

27075 Commits

Author SHA1 Message Date
Igor Solomennikov
2cbb155e34 Fix three minor compiler warnings. 2022-01-31 15:15:18 -08:00
Igor Solomennikov
ea55469ec8 Remove deprecated UITextViewDelegate methods.
textView(_:shouldInteractWith:in:) were deprecated in iOS 10.

This change is purely deletion of code because newer UITextViewDelegate
methods:  textView(_:shouldInteractWith:in:interaction:) were already
implemented.
2022-01-31 15:15:18 -08:00
Igor Solomennikov
6848210a4c Remove UIScrollView workaround that was only used in iOS 11.0-11.2
Not needed anymore since min supported iOS version is now 12.2
2022-01-31 15:15:18 -08:00
Igor Solomennikov
ec96c7a1c6 Do not use UIVC.topLayoutGuide and UIVC.bottomLayoutGuide.
Both are deprecated in iOS 12.
2022-01-31 15:15:18 -08:00
Michelle Linington
50a9186477 Merge branch 'mlin/PR/BackoffRemoteConfigFetches' 2022-01-31 13:56:55 -08:00
Michelle Linington
2a6ca73beb PR Feedback: Remove sneaky transaction annotation 2022-01-31 13:56:41 -08:00
Michelle Linington
4b6f40eaa0 Lint 2022-01-31 13:56:41 -08:00
Michelle Linington
0592b77faa Remote config fetch failures should exponentially back off 2022-01-31 13:56:41 -08:00
Martin Böttcher
5e7c4fd920 Merge branch 'martin/IOS-2130' 2022-01-31 21:05:32 +01:00
Michelle Linington
cbcb4251e4 Public initializer 2022-01-31 21:04:05 +01:00
Michelle Linington
98048d669b Removed unnecessary check for valid launch time 2022-01-31 21:04:05 +01:00
Michelle Linington
9bc1c492a5 Lint 2022-01-31 21:04:05 +01:00
Michelle Linington
8f477657c1 Fix lint script 2022-01-31 21:04:05 +01:00
Michelle Linington
e4d324fe5d Re-add log message 2022-01-31 21:04:05 +01:00
Michelle Linington
c0cddbb71d Lint 2022-01-31 21:04:05 +01:00
Michelle Linington
bae392bb4e Update Pods 2022-01-31 21:04:05 +01:00
Michelle Linington
97409f3295 Improves performance of launch jobs
Randall hit an issue where his device would take a few seconds to start
up. His logs indicate that his device is spending time running
LaunchJobs.

The first change here is to make sure we explicitly set the launch job
work at an ultra-high priority. This is okay, since we don't actually
present UI until after we finish these jobs. Running this work at
UserInteractive is appropriate since it quite literally prevents the
user from interacting with the app. There's also no other time-sensitive
UI work we need to be doing (like running animations) that we could be
contending with.

The second change is to add a bit more logging that allows us to monitor
the amount of work these jobs are doing. This will allow us to see if
these jobs are performing an excessive amount of work.

Finally, I moved these LaunchJobs to Swift. Mostly because the ObjC
implementations were block based. The additional code was going to
indent things further and our linter aggressiely indents blocks to begin
with. Moving this to Swift is much more readable.
2022-01-31 21:04:05 +01:00
Nora Trapp
e417c1c184 "Bump build to 5.28.0.11." (nightly-01-31-2022) 2022-01-31 21:04:05 +01:00
Martin Böttcher
98b86654cc small code change 2022-01-31 21:02:07 +01:00
Michelle Linington
9291f0a141 Merge branch 'mlin/PR/SlowLaunchJobs' 2022-01-31 11:00:50 -08:00
Michelle Linington
6fc0909234 Public initializer 2022-01-31 11:00:13 -08:00
Michelle Linington
10b2fbd15e Removed unnecessary check for valid launch time 2022-01-31 11:00:13 -08:00
Michelle Linington
70bb7b8809 Lint 2022-01-31 11:00:13 -08:00
Michelle Linington
220a49134e Fix lint script 2022-01-31 11:00:13 -08:00
Michelle Linington
e1da8368f6 Re-add log message 2022-01-31 11:00:13 -08:00
Michelle Linington
91aaffe16b Lint 2022-01-31 11:00:13 -08:00
Michelle Linington
ba90bd25f6 Update Pods 2022-01-31 11:00:13 -08:00
Michelle Linington
06a83d065c Improves performance of launch jobs
Randall hit an issue where his device would take a few seconds to start
up. His logs indicate that his device is spending time running
LaunchJobs.

The first change here is to make sure we explicitly set the launch job
work at an ultra-high priority. This is okay, since we don't actually
present UI until after we finish these jobs. Running this work at
UserInteractive is appropriate since it quite literally prevents the
user from interacting with the app. There's also no other time-sensitive
UI work we need to be doing (like running animations) that we could be
contending with.

The second change is to add a bit more logging that allows us to monitor
the amount of work these jobs are doing. This will allow us to see if
these jobs are performing an excessive amount of work.

Finally, I moved these LaunchJobs to Swift. Mostly because the ObjC
implementations were block based. The additional code was going to
indent things further and our linter aggressiely indents blocks to begin
with. Moving this to Swift is much more readable.
2022-01-31 11:00:13 -08:00
Nora Trapp
4e35ed0171 "Bump build to 5.28.0.11." (nightly-01-31-2022) 2022-01-31 04:00:33 -08:00
Martin Böttcher
4a86ff0f4c corrected safeAreaInsets handling of context menu 2022-01-31 11:06:41 +01:00
Martin Böttcher
f331f00646 UI tweaks to context menus 2022-01-31 09:31:17 +01:00
Nora Trapp
1c660f88b5 "Bump build to 5.28.0.10." (nightly-01-30-2022) 2022-01-30 04:00:31 -08:00
Igor Solomennikov
fe0db0bf7c Clean up frameworks.
Remove dependencies on AddressBook and AddressBookUI.
Use CoreServices instead of MobileCoreServices.
2022-01-29 14:41:54 -08:00
Nora Trapp
41bb89b2f0 "Bump build to 5.28.0.9." (nightly-01-29-2022) 2022-01-29 04:00:28 -08:00
Jordan Rose
9ef7f44d98 Merge branch 'jrose/faster-localAddress' 2022-01-28 18:33:49 -08:00
Jordan Rose
2c6dc927d8 SSK: Prefer SignalServiceAddress(uuid:phoneNumber:) if we have a UUID
...rather than stringifying the UUID just to parse it back. For
-[TSAccountManager localAddress] in particular the savings are
surprisingly substantial because the UUID string went into an
autorelease pool.
2022-01-28 18:02:31 -08:00
Jordan Rose
266fa28440 Merge branch 'jrose/better-group-update-cache-key' 2022-01-28 17:47:28 -08:00
Jordan Rose
8a90831e04 GV2: Don't stringify the cache key for GV2 updates
The cache key is the group secret params data; stringifying it just
makes the cache slower.
2022-01-28 15:56:20 -08:00
Jordan Rose
27841970f3 Merge branch 'jrose/better-paged-group-updates' 2022-01-28 15:54:31 -08:00
Jordan Rose
fe5788a089 Process one page of group updates at a time
...instead of parsing them all from the server and *then* processing
them (85200228cf). This should keep from blowing out an arbitrary
amount of RAM in pathological cases.
2022-01-28 15:27:34 -08:00
Michelle Linington
b935c43f5e "Bump build to 5.28.0.8." (Internal) 2022-01-28 13:38:26 -08:00
Michelle Linington
e19b800b17 Merge branch 'release/5.27.0' 2022-01-28 13:37:59 -08:00
Michelle Linington
7011af27fd "Bump build to 5.27.0.118." (Internal) 2022-01-28 13:32:56 -08:00
Michelle Linington
cf30d7199d "Feature flags for .qa." 2022-01-28 13:32:52 -08:00
Michelle Linington
8d7d746170 "Bump build to 5.27.0.117." (Beta) 2022-01-28 13:32:49 -08:00
Michelle Linington
262528ab0d "Feature flags for .beta." 2022-01-28 13:32:42 -08:00
Michelle Linington
93fa39e53f "Bump build to 5.27.0.116." 2022-01-28 13:32:36 -08:00
Michelle Linington
a2bfe15fbc "Feature flags for .production." 2022-01-28 13:32:33 -08:00
Michelle Linington
e3d18733da Bump copyright 2022-01-28 13:23:47 -08:00
Michelle Linington
29d7ef4adb Sync translations 2022-01-28 13:23:25 -08:00