Commit Graph

25012 Commits

Author SHA1 Message Date
overtake
3ca08f7aae forward messages fro channel with unsigned messages 2017-03-14 17:14:49 +03:00
Ahmed Denison-Afifi
b1cfd76cee Update example podfile platform to match AsyncDisplayKit (#3176)
* Update podfile platform
2017-03-14 12:34:06 +00:00
overtake
45c19fbc4c changes 2017-03-14 11:50:09 +03:00
Benjamin Scholtysik (Reimold)
77ef59e666 Merge pull request #400 from bitstadium/master
Master
2017-03-13 13:18:01 -07:00
overtake
edd14a8f41 no message 2017-03-13 19:43:35 +03:00
Michael Schneider
dae3a72d4b [Tests] Add launch image back for test host app (#3171)
* Add launch image back

* Add TestHostResources back to BUCK file

* Use the new launch image in Buck
2017-03-13 09:10:55 -07:00
Michael Schneider
be74cd8231 Cell nodes can be used without using it within a collection or table view. In this case if a size change happened we should call super as there is no interactionDelegate (#3168) 2017-03-13 07:33:06 -07:00
overtake
5f9643aa18 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-03-12 22:39:16 +03:00
Peter
246bf1bc33 no message 2017-03-12 22:38:46 +03:00
overtake
178cab30d8 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-03-12 21:54:33 +03:00
Peter
53f23831cc no message 2017-03-12 21:53:41 +03:00
overtake
02269ab60e Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-03-12 21:07:50 +03:00
Peter
6457c89007 no message 2017-03-12 21:03:01 +03:00
overtake
f99074c62d for migration 2017-03-12 19:04:13 +03:00
overtake
ff5c66e7bb Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-03-12 19:03:56 +03:00
overtake
6532d1115e Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-03-12 19:03:46 +03:00
Peter
b424fae986 no message 2017-03-12 19:02:36 +03:00
Peter
44ff4fe420 no message 2017-03-12 19:01:07 +03:00
overtake
94ec63f287 Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-03-12 15:19:17 +03:00
Peter
e840d27434 no message 2017-03-12 13:28:38 +03:00
Huy Nguyen
326c97a0c1 When update title of a button node, need to get title node via setter (#3167)
* When update title of a button node, need to get title node via setter

* Explain why we need to call self.titleNode

* Fix previous comment
2017-03-11 09:12:00 -08:00
Huy Nguyen
74b9b56632 flexShrinkAdjustment lambda must always return CGFloat (#3166) 2017-03-11 06:58:04 -08:00
overtake
9d7eb29039 Merge branches 'master' and 'master' of https://github.com/peter-iakovlev/Postbox 2017-03-11 12:46:32 +03:00
overtake
b3da75142a remove selectWithKey duplicate 2017-03-11 12:46:26 +03:00
Peter
a3c5fed024 no message 2017-03-11 12:44:37 +03:00
overtake
2b252f340b Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-03-10 21:44:11 +03:00
overtake
b84989e58c no message 2017-03-10 21:44:05 +03:00
overtake
d3a0226f72 Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore
Conflicts:
	TelegramCore/ProcessSecretChatIncomingDecryptedOperations.swift
2017-03-10 21:43:46 +03:00
overtake
678236b6bc - no message 2017-03-10 21:43:11 +03:00
Peter
c4021393ea no message 2017-03-10 21:34:58 +03:00
Peter
7f5a4ac3e1 no message 2017-03-10 21:34:39 +03:00
Michael Schneider
0540c863ca Improve locking situation in ASDisplayNode subclasses (#3159)
* Improve locking situation in ASDisplayNode subclasses

* Adress first number of comments

* Don’t hold the lock while calling _updateComposedTruncationText
2017-03-10 17:29:09 +00:00
Michael Schneider
0d0176d376 ASControlNode should not receive any touches if it’s disabled (#3161) 2017-03-10 17:14:20 +00:00
Adlai Holler
bfe35fc0b1 Add production workaround for missing elements (#3158) 2017-03-10 14:35:20 +00:00
Adlai Holler
a0e67a8b15 ASMultidimensionalArrayUtils -> ASTwoDimensionalArrayUtils (#3157)
* Requery subarray count less in ASMultidimensionalArrayUtils

* Simplify (gut) ASMultidimensionalArrayUtils

* Remove weird change

* Add bounds-checking for graceful failure
2017-03-10 14:33:30 +00:00
Huy Nguyen
54325ecf66 Minor fix in ASStackLayoutSpecSnapshotTests (#3160) 2017-03-09 14:21:29 -08:00
Huy Nguyen
18c906aa5c Some bug fixes for ASStackLayoutSpec: (#3153)
- Avoid returning a NaN flexShrinkAdjustment.
- Bail early (instead of assert) if a line has a positive `flexFactorSum` but then no flexible item can be found via flex adjustments, for example because the flexible items have zero size.
- Continue flexing other lines when one line is inflexible.
- Add unit test for the first 2 fixes.
2017-03-09 13:35:17 -08:00
Huy Nguyen
4f440a34e0 Gratefully handle unknown headers and footers in collection view (#3154)
- UICollectionViewFlowLayout asks its delegate, which is ASCollectionView, for reference size of headers and footers. If a header or footer is unavailable, its backing collection element will be nil and a zero size should be returned immediately.
2017-03-09 13:35:08 -08:00
Michael Schneider
f0de855970 [ASControlNode] Align touch and tracking system in ASControlNode to UIControl (#3145)
* Align touch and tracking system in ASControlNode to UIControl

Currently the touch and tracking system of ASControlNode does not align with the system of UIControl. ASControlNode does not even consider `beginTrackingWithTouch:withEvent:` or `continueTrackingWithTouch:withEvent:`.
This commit will change the ASControlNode logic around touch event handling and tracking to align with UIControl.

* Add assertion for layer backed nodes that would like to add an action target for a control event

* Adress comments
2017-03-09 12:43:29 -08:00
Adlai Holler
7ec293d590 Add Validation to ASElementMap to Avoid Crashes in Production (#3156)
* Add validation to ASElementMap to avoid production crashes

* Only assert sometimes
2017-03-09 12:19:28 -08:00
overtake
2e63934914 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-03-09 22:30:24 +03:00
overtake
2cba4c7b0c access 2017-03-09 22:30:19 +03:00
Peter
1c6f0ce185 no message 2017-03-09 22:29:33 +03:00
Adlai Holler
3155d72882 When converting index paths, only wait if asked (#3155) 2017-03-09 10:56:35 -08:00
overtake
a7e752e7b9 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-03-09 21:15:36 +03:00
overtake
8da40d0b01 some passcode changes 2017-03-09 21:15:30 +03:00
Peter
54d3af26b1 no message 2017-03-09 21:14:48 +03:00
Peter
ba2e6ae0d3 Merge commit '4830bdeb05b2b8b4946e9f4f41fdaa1892e96172' 2017-03-09 21:14:06 +03:00
Peter
7caa5add94 no message 2017-03-09 21:14:01 +03:00
overtake
98e376cdd7 passcode 2017-03-09 10:22:57 +03:00