Commit Graph

13022 Commits

Author SHA1 Message Date
Eric Jensen
565da7d493 Add missing NS_NOESCAPE in overwritten methods (#1139)
Fixes -Wmissing-noescape warnings
2018-10-04 09:33:08 -07:00
Huy Nguyen
e70325563a Only clear ASCollectionView's data during deallocation (#1154)
This is a follow up on #1136. Our experiment results show that clearing data frequently is the cause of our #1 crash. @maicki and I believe that this is because if the collection view is being used, silently clearing its data without notifying the backing UICollectionView can put it out-of-sync and causes mayhem next time the collection view processes a batch update. If you look at the stack trace closely, you'll notice that the crash doesn't occur on the same run loop that clearData is called. This made it extremely tricky to investigate and identify the root cause.

Another interesting question would be whether or not we want to clear the data during deallocation at all, since the data will be cleared out soon anyway.
2018-10-03 16:14:01 -07:00
Michael Zuccarino
9588692361 Clean up timing of layout tree flattening/ copying of unflattened tree for Weaver (#1157)
* Simpler Huy fix for more efficient delayed flattening of the layout tree

* Nit

* Remove pbx changes

* Update CHANGELOG.md

* Add note about change in timing of _flattenedLayout capture
2018-10-03 14:49:15 -07:00
Peter
2b72e06ffe TextNode width extension fix 2018-10-03 02:39:59 +04:00
Peter
bacdfcc6af TextNode width extension fix 2018-10-03 02:39:41 +04:00
Peter
4617a5b0c4 More RTL fixes
Fixed in-call speaker mode
2018-10-03 01:37:43 +04:00
Peter
7929819c87 App changelog support
Fixed message sent events in secret chats
Fixed crash when processing invalid proxy settings
2018-10-03 01:36:40 +04:00
Peter
07ab64b763 API for getting resource path 2018-10-03 01:34:39 +04:00
Peter
c3f76303e8 no message 2018-10-03 01:30:27 +04:00
Peter
9a84348e22 no message 2018-10-03 01:30:05 +04:00
ernestmama
5e0579308d Rollout ASDeallocQueueV2 #trivial (#1143) 2018-10-01 11:20:12 -07:00
Max Wang
f656dbbedd Guard photo library with macro for tests (#1147)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* remove uncessary assert

* Fix collection cell editing bug for iOS 9 & 10

* Revert "Fix collection cell editing bug for iOS 9 & 10"

This reverts commit 06e18a10596622ff8a68835c95a23986d7bf61ea.

* Only test when photo library is enabled.

It will fail to build if photo library is disabled cause the test is
depending on it.

* Add ChangeLog.
2018-09-28 09:14:52 -07:00
Peter
606e607de4 no message 2018-09-27 21:01:30 +01:00
Peter
2e9350d717 no message 2018-09-27 21:01:04 +01:00
Peter
bcc7d11fdb no message 2018-09-27 21:00:42 +01:00
Peter
501de4a5fe no message 2018-09-26 20:39:18 +01:00
Peter
d13f8b6376 Merge commit 'd568c385872f454062f3dbecdf41c5644dc8a115' 2018-09-25 21:47:15 +01:00
Peter
77fe9db7d1 no message 2018-09-25 21:47:11 +01:00
Ilya Laktyushin
d568c38587 no message 2018-09-25 21:03:30 +01:00
Peter
8d03477771 no message 2018-09-25 17:59:02 +01:00
Peter
1ba4a0e596 Merge commit '2ace780b67a5909063c47a8519b67054ae8f1988' 2018-09-25 17:58:31 +01:00
Peter
2ea851fbd8 no message 2018-09-25 17:58:25 +01:00
Peter
287cfeaab1 no message 2018-09-25 17:57:44 +01:00
Peter
dc12e079a3 Merge commit '4c028908e1f06084a5a41e74001efe20cae52d46'
# Conflicts:
#	TelegramUI/SecureIdAuthControllerNode.swift
#	TelegramUI/SecureIdAuthFormFieldNode.swift
2018-09-25 16:42:03 +01:00
Peter
9588da80b1 no message 2018-09-25 16:23:14 +01:00
overtake
e7d49f528f Merge branch 'master' of https://github.com/peter-iakovlev/Signals 2018-09-25 15:46:55 +01:00
Ilya Laktyushin
2ace780b67 Merge branch 'master' of bitbucket.org:iakovlevpeterp/legacycomponents 2018-09-25 12:54:58 +01:00
Ilya Laktyushin
edce41c4b8 no message 2018-09-25 12:54:54 +01:00
Ilya Laktyushin
4c028908e1 Merge branch 'master' of github.com:peter-iakovlev/TelegramUI 2018-09-25 12:29:58 +01:00
Ilya Laktyushin
92d95510c7 no message 2018-09-25 12:29:53 +01:00
Ilya Laktyushin
be6f4b6a86 no message 2018-09-25 12:28:51 +01:00
Ilya Laktyushin
664def281f Merge branch 'master' of github.com:peter-iakovlev/TelegramCoreDev 2018-09-25 12:28:45 +01:00
Peter
1f29ac5f27 Merge commit 'cb30aa60a85dd2083fa5203491a94690013f7fbf'
# Conflicts:
#	TelegramUI/PresenceStrings.swift
2018-09-25 01:38:02 +01:00
Peter
97fc5d83e1 no message 2018-09-25 01:36:44 +01:00
Peter
ab8ce7dcf6 Merge commit 'ead9a21e57377eececd55edbfdf3a4f8768be78c' 2018-09-25 01:36:18 +01:00
Peter
d7ff3e80fa no message 2018-09-25 01:36:14 +01:00
Peter
b5d1421842 no message 2018-09-25 01:35:25 +01:00
Peter
ebc1068939 no message 2018-09-25 01:35:07 +01:00
Peter
e56e4c2aee no message 2018-09-25 01:34:42 +01:00
Ilya Laktyushin
f3c966308f no message 2018-09-24 17:22:43 +01:00
Ilya Laktyushin
cc3934f637 no message 2018-09-24 17:20:33 +01:00
Ilya Laktyushin
a61a29f6f6 no message 2018-09-24 17:18:34 +01:00
Ilya Laktyushin
ead9a21e57 no message 2018-09-23 14:47:19 +01:00
Ilya Laktyushin
cb30aa60a8 Merge branch 'master' of github.com:peter-iakovlev/TelegramUI 2018-09-23 14:46:54 +01:00
Ilya Laktyushin
53ec081c05 no message 2018-09-23 14:46:45 +01:00
Peter
c55d7615a3 Merge commit '91a7d1271a59ec1e59f1379309c25da9ce87d9c9' 2018-09-23 00:18:38 +01:00
Peter
8afe773e02 no message 2018-09-23 00:18:33 +01:00
Peter
103d1719dc Merge commit '5b75d7bf0eb8d40ab029209c4739c7901274bbf8' 2018-09-23 00:18:10 +01:00
Peter
5a5c721bcf no message 2018-09-23 00:18:05 +01:00
overtake
91a7d1271a no message 2018-09-21 18:25:03 +01:00