Adlai Holler
e244b10e1e
Add a note about order of operations issue with frame/bounds/position
2016-02-20 15:43:00 -08:00
Adlai Holler
b929bfdd33
I am not a smart man
2016-02-20 15:43:00 -08:00
Adlai Holler
edf6ee59e8
[ASDisplayNode] Remove RespectThreadAffinityOfNode function
2016-02-20 15:43:00 -08:00
Adlai Holler
b47c2d5ecf
[ASTextNode] Remove more thread affinity dispatches
2016-02-20 15:43:00 -08:00
Adlai Holler
2a94d88b4b
[ASImageNode] Remove thread affinity dispatches
2016-02-20 15:43:00 -08:00
Adlai Holler
d9fc11f0f2
[ASDisplayNode] Remove thread affinity assertion in -shouldRasterizeDescendants
2016-02-20 15:43:00 -08:00
Adlai Holler
12d5c73325
[ASTextNode] Remove thread affinity dispatch
2016-02-20 15:43:00 -08:00
Adlai Holler
e9712cdfa1
Make the tests sturdier, improve setNeedsLayout/setNeedsDisplay bridging
2016-02-20 15:43:00 -08:00
Adlai Holler
636c8c04f3
Improve bridging of frame property
2016-02-20 15:43:00 -08:00
Adlai Holler
563d0893a3
Beef up the properties, beef up the demo app
2016-02-20 15:43:00 -08:00
Adlai Holler
7a6006e627
Apply same fix on opaqueness
2016-02-20 15:40:47 -08:00
Adlai Holler
b0cbd2dd59
Fix background color issue
2016-02-20 15:40:47 -08:00
Adlai Holler
71edc810d3
Revert unnecessary change to [ASDisplayNode setOpaque:]
2016-02-20 15:40:47 -08:00
Adlai Holler
a46bd8e29b
More tests, all but 1 passing
2016-02-20 15:40:47 -08:00
Adlai Holler
1514cef36d
Beef up the unit tests and make em pass
2016-02-20 15:40:47 -08:00
Adlai Holler
07b4addf1a
Document re-entrancy hazard in ASPendingStateController
2016-02-20 15:40:47 -08:00
Adlai Holler
9136ecc77b
The node is used now
2016-02-20 15:40:47 -08:00
Adlai Holler
55e3f1ee00
Fix a stupid type mismatch in ASWeakSet
2016-02-20 15:40:47 -08:00
Adlai Holler
70bc80a304
Fix map table type in ASWeakSet
2016-02-20 15:40:47 -08:00
Adlai Holler
0c6ad25f46
Add some documentation
2016-02-20 15:40:47 -08:00
Adlai Holler
3d22b18bcf
Finish that thought.
2016-02-20 15:40:47 -08:00
Adlai Holler
97d73cbbc3
Actually do the thing
2016-02-20 15:40:47 -08:00
Adlai Holler
c9d53517fa
Lock node's properties while pending view state is applied
2016-02-20 15:40:47 -08:00
Adlai Holler
b5b5f9f559
Some clean up
2016-02-20 15:40:47 -08:00
Adlai Holler
ea304f7f37
Nodes always read bridged properties from pending state
2016-02-20 15:40:47 -08:00
Adlai Holler
99b674c346
Lay some foundation for our new pending state controller
2016-02-20 15:40:47 -08:00
Scott Goodson
d899f12f70
[ASCellNode] Layout delegate should not be public as it must not be reset externally.
...
Do not call layout delegate method before the cell node is loaded. This can happen if
application code calls -setNeedsLayout on the cell manually, and can confuse UIKit state
because we submit an empty batch update call on the next runloop.
2016-02-20 15:24:44 -08:00
Scott Goodson
ca8357a364
[AS*ImageNode] dispatch to the background before scheduling image download request (perf).
2016-02-20 13:01:03 -08:00
Scott Goodson
cd6ca2885e
[ASButtonNode] lazily initialize label, image, and backgroundImage (skip if never needed).
2016-02-20 13:00:01 -08:00
appleguy
b75d6627bb
Revert "Revert "Revert "[ASCollectionView / ASTableView] Optimize reloadData and reloadSection: methods."""
2016-02-19 23:26:29 -08:00
appleguy
2b10d84a2b
Revert "fix scheduling issue that causes collectionView to not animate"
2016-02-19 23:26:12 -08:00
appleguy
f3300ded68
Merge pull request #1246 from Xinchi/master
...
[ASCellNode] Support monitoring scrollViewDidScroll events / visible amount of self
2016-02-19 22:25:10 -08:00
Max Gu
67c8cd5ccf
Removing underscore
2016-02-19 22:21:07 -08:00
Max Gu
548b600504
Removing 2 unnecessary checks
2016-02-19 22:18:08 -08:00
Max Gu
115fc2b3da
Adding visibility monitoring for ASTableVieww
2016-02-19 22:15:44 -08:00
Scott Goodson
a1061301e0
[ASDataController] Revert the reloadData optimizations again - need to fix apps relying on prior behavior.
...
The optimization seems correct now, but apps like Pinterest have some core code relying on edit operation
order that is actually not permitted by UIKit (and this diff) but were tolerated previously. We will
re-land this once we have time to adapt the code.
2016-02-19 21:31:39 -08:00
Max Gu
382509fac8
Letting ASCellNode and its subclasses handle didScroll
2016-02-19 21:30:36 -08:00
Max Gu
53cbd643de
Removing ASCellNode+Internal
2016-02-19 14:56:02 -08:00
Max Gu
a834382bcb
Update for visibility monitoring
2016-02-19 14:27:22 -08:00
Max Gu
274029a5e0
Removing an unnecessary property
2016-02-19 13:02:02 -08:00
Max Gu
fa4fc2b6ae
Merge remote-tracking branch 'upstream/master'
2016-02-19 12:59:00 -08:00
Max Gu
650b500f92
Merge branch 'master' of https://github.com/Xinchi/AsyncDisplayKit
2016-02-19 12:52:03 -08:00
Max Gu
03446d97e1
Adding scroll visibility
2016-02-19 12:46:12 -08:00
Engin Kurutepe
d1793d50c8
fix umbrella header
2016-02-19 14:32:04 +01:00
appleguy
58a3ba5e8f
Revert "Revert "[ASCollectionView / ASTableView] Optimize reloadData and reloadSection: methods.""
2016-02-18 23:06:14 -08:00
appleguy
e44987f293
Merge pull request #1248 from rcancro/currentScaleFactor
...
[ASTextNode] Properly set and clear the currentScaleFactor
2016-02-18 20:05:10 -08:00
rcancro
a62de38670
currentScaleFactor management
2016-02-18 20:01:23 -08:00
appleguy
32aa333c21
Revert "[ASCollectionView / ASTableView] Optimize reloadData and reloadSection: methods."
2016-02-18 19:50:06 -08:00
Max Gu
75eab1db07
Adding scroll visibility
2016-02-18 18:00:37 -08:00
appleguy
33d4c8693d
Merge pull request #1171 from lkzhao/ASDataController-reload
...
[ASCollectionView / ASTableView] Optimize reloadData and reloadSection: methods.
2016-02-18 17:36:14 -08:00