2043 Commits

Author SHA1 Message Date
Levi McCallum
e57761ffbe Fix pending layout reference causing nil references 2016-02-10 11:44:13 -08:00
Levi McCallum
a00e9bb41c Clean up node transition API 2016-02-10 11:44:12 -08:00
Levi McCallum
3444fa18dd Remove viewWillLayoutSubviews from ASViewController 2016-02-10 11:44:12 -08:00
Levi McCallum
8737e242f8 Extract measurement and transition into different methods based on feedback 2016-02-10 11:44:12 -08:00
Levi McCallum
8bfa3e4012 Remove ivar 2016-02-10 11:44:12 -08:00
Levi McCallum
5cf5cb8452 Delegate layout frame calculation to sublayout method 2016-02-10 11:44:12 -08:00
Levi McCallum
1513ee8ca5 Expose the layout's immediate sublayouts as the accessing nodes 2016-02-10 11:44:11 -08:00
Levi McCallum
4361c3bbb4 Remove disabled APIs 2016-02-10 11:44:11 -08:00
Levi McCallum
8cdea808ec Expose calculated frame on layout 2016-02-10 11:44:11 -08:00
Levi McCallum
a93013702d Add transition context to iOS framework 2016-02-10 11:44:11 -08:00
Levi McCallum
d8d76635ff Perform animation transition on measureWithSizeRange instead of separate method 2016-02-10 11:44:11 -08:00
Levi McCallum
8238da8d00 Fix node deletion and flatten identification issues 2016-02-10 11:44:11 -08:00
Levi McCallum
043012718b Remove debug log 2016-02-10 11:44:11 -08:00
Levi McCallum
51977ed162 Identify flattened layouts to allow filtering of non-hierarchy nodes 2016-02-10 11:44:11 -08:00
Levi McCallum
3b1a32c413 Clean up implicit hierarchy management to enable custom animation 2016-02-10 11:44:11 -08:00
Levi McCallum
6a2903f2ec Revert "Update LCS diffing to support insertions before deletions"
This reverts commit 8d90f1bccda0b7d99639085e0bfa3488c3c01dbe.
2016-02-10 11:44:10 -08:00
Levi McCallum
8f3788d0b2 Update LCS diffing to support insertions before deletions 2016-02-10 11:44:10 -08:00
Levi McCallum
a2045f19c5 Add test for complete reordering of LCS diff 2016-02-10 11:44:10 -08:00
Levi McCallum
9dc358196a Basic implementation of transitioning API for layout specs 2016-02-10 11:44:10 -08:00
appleguy
b033b544d5 Merge pull request #1212 from binl/bl_fix_allocator_subarray
[ASDataController] Fix allocatedNodes Subarray to match indexPaths subarray
2016-02-10 11:34:25 -08:00
Garrett Moon
752f0540d0 Fix warnings 2016-02-10 10:38:41 -08:00
Bin Liu
9e53dcd402 Fix allocatedNodes Subarray to match indexPaths subarray 2016-02-10 01:35:07 -08:00
appleguy
4c1654673a Merge pull request #1211 from rahul-malik/rmalik-optional-methods
[Table, Collection, Pager] Update data source protocols to not @require non-block node method.
2016-02-09 23:24:45 -08:00
Rahul Malik
3e5daf4ccd Update data source protocols to make synchronous node creation api methods optional. 2016-02-09 22:47:43 -08:00
Scott Goodson
a471c19216 [ASDisplayNode] Remove locking in -isNodeLoaded when called on main, as an optimization.
Additionally, this is often needed in threading-critical cases where interaction of sophisticated
3rd-party code with framework internals like ASDataController may cause deadlocks.
2016-02-09 22:35:35 -08:00
appleguy
45b071aa21 Merge pull request #1210 from bhamodi/patch-1
Update Copyright License.
2016-02-09 22:06:20 -08:00
Garrett Moon
5c2690e7e9 set reformed progress block to nil if progress block is nil 2016-02-09 14:24:05 -08:00
Baraa Hamodi
419c6038d7 Update Copyright License. 2016-02-09 14:20:23 -08:00
Garrett Moon
48fc4810cd Addressing comments 2016-02-09 14:06:41 -08:00
appleguy
cae47e23e1 Merge pull request #1201 from maicki/ASRangeControllerCleanup
[ASRangeController] Remove deprecated range controller implementation that is no longer used.
2016-02-09 12:23:44 -08:00
Garrett Moon
820390e496 Fix build and podfile 2016-02-09 10:31:10 -08:00
Michael Schneider
bdb486cf9e Fix sample build errors 2016-02-09 06:56:34 -08:00
appleguy
914d6e7dc9 Merge pull request #1200 from maicki/ASVideoNodeLockRename
[ASVideoNode] Rename lock instance variable
2016-02-08 23:47:09 -08:00
appleguy
c1c9981408 Merge pull request #1199 from maicki/ASControlNodeLocking
[ASControlNode] Add locking for event dispatch table.
2016-02-08 22:29:43 -08:00
Garrett Moon
0be51c1ca2 Leave ASBasicImageDownloader alone. 2016-02-08 16:30:34 -08:00
Garrett Moon
5a4e4dcac4 Add default PINRemoteImageDownloader 2016-02-08 16:00:19 -08:00
Michael Schneider
28207c678d Remove ASRangeHandler protocol with all classes that implement it
With the move to the new ASRangeController we don't need the ASRangeHandler protocol anymore
2016-02-08 12:57:05 -08:00
appleguy
08017071bf Merge pull request #1198 from maicki/DisableAppTransportSecurity
Disable App Transport Security in AsyncDisplayKitTestsHost target
2016-02-08 12:23:11 -08:00
appleguy
5fc9cbe56f Merge pull request #1202 from nguyenhuy/remove_weird_file
Remove .ASVideoNode.mm.un~
2016-02-08 12:21:26 -08:00
Huy Nguyen
8dc576fed7 Remove .ASVideoNode.mm.un~ 2016-02-08 10:13:18 -08:00
Michael Schneider
e9d50ff3a1 Disable App Transport Security in AsyncDisplayKitTestsHost target
To be able to make http requests in tests we should disable the NSAppTransportSecurity of the AsyncDisplayKitTestsHost target. Otherwise tests like -[ASBasicImageDownloaderTests testAsynchronouslyDownloadTheSameURLTwice] will show an error.
2016-02-07 20:24:40 -08:00
Michael Schneider
545b3e7e5f Rename lock instance variable to be consistent with ASControlNode and ASImageNode lock variable naming 2016-02-07 19:12:02 -08:00
Michael Schneider
ef95394bac Add locking to ASControlNode 2016-02-07 17:18:24 -08:00
Michael Schneider
fa2a058585 Rename ASCollectionViewLayoutControllerBeta to ASCollectionViewLayoutController 2016-02-07 15:27:45 -08:00
Michael Schneider
e49a5d992c Remove unused ASCollectionViewLayoutController import 2016-02-07 15:27:15 -08:00
Michael Schneider
03536ddefd Remove shouldUpdateForVisibleIndexPaths
This method can be removed as ASRangeControllerBeta is the main ASRangeController now
2016-02-07 15:03:24 -08:00
Michael Schneider
026761c610 Rename ASRangeControllerBeta to ASRangeController and use exclusively 2016-02-07 15:03:24 -08:00
Michael Schneider
5d474bcb1a Remove ASDisplayNode -shouldUseNewRenderingRange method and ASRangeControllerStable class 2016-02-07 15:03:23 -08:00
appleguy
06bdcd0049 Merge pull request #1192 from garrettmoon/updateASTextNodeDocumentation
[ASTextNode] Indicate that truncation mode is overridden by attributes in attributedString
2016-02-06 17:43:36 -08:00
Scott Goodson
9e87813425 Micro-optimizations in ASDisplayNode that help reduce overhead when recursing large hierarchies. 2016-02-05 21:43:14 -08:00