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
9dc358196a
Basic implementation of transitioning API for layout specs
2016-02-10 11:44:10 -08:00
Michael Schneider
5d474bcb1a
Remove ASDisplayNode -shouldUseNewRenderingRange method and ASRangeControllerStable class
2016-02-07 15:03:23 -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
Huy Nguyen
fda9efafa6
Add timestamp to notifications of rendering engine and avoid race conditions in ASRangeControllerBeta
...
- Accurately remove notification observer
2016-02-04 15:44:44 -08:00
appleguy
6d11df735b
Merge pull request #1163 from nguyenhuy/range_tuning_params
...
Range controller automatically extends to full mode
2016-02-03 19:09:32 -08:00
Garrett Moon
1b08114eca
Allow prevention of downscaling
2016-02-02 19:10:12 -08:00
Huy Nguyen
69e674c1c8
Range controller registers to rendering engine and extern to full range if needed
2016-02-02 01:23:04 -08:00
appleguy
191d978154
Merge pull request #1155 from nguyenhuy/range_tuning_params
...
[ASRangeController] Reduce early creation of views and layers in nested, orthogonal views
2016-02-01 19:15:00 -08:00
appleguy
f15bd92df1
Merge pull request #1156 from levi/implicitNodeMembership
...
[ASDisplayNode] Implicit node hierarchy handling with ASLayouts
2016-02-01 18:33:32 -08:00
Levi McCallum
d168ec78ce
Implement simple, in-order add/remove subnode support when changing layout specs
2016-02-01 17:49:48 -08:00
Levi McCallum
bd1de07c77
Add custom comparision block to array diffing category
2016-02-01 17:49:48 -08:00
Levi McCallum
9f25b54f9e
Support insertion on first layout of display node
2016-02-01 17:49:48 -08:00
Levi McCallum
e852cb612c
Simplify usage of diffing API
2016-02-01 17:49:47 -08:00
Levi McCallum
3abe6d9181
Simplify measure call structure
2016-02-01 17:49:47 -08:00
Levi McCallum
822fc96f96
Add LCS diffing support to NSArray
2016-02-01 17:49:47 -08:00
Huy Nguyen
0b188c7a95
Add minimum tuning params
2016-02-01 16:24:19 -08:00
Luke Parham
2d1499ab4f
added muting property and delegate callback to override video tapping
2016-01-29 09:27:48 -08:00
Luke Parham
af37a48421
removed unnecessary clear color and improved comment
2016-01-28 23:34:16 -08:00
appleguy
8d9d5a0cc3
Merge pull request #1132 from garrettmoon/switchToInstanceDrawAndDisplay
...
[ASDisplayNode+AsyncDisplay] Implement instance methods of draw and display, use for text and image performance boost.
2016-01-28 16:17:31 -08:00
Garrett Moon
1ecfd81e3e
Address comments
2016-01-28 16:05:49 -08:00
Garrett Moon
7b002c408d
Ensure context is non-null
2016-01-28 08:38:40 -08:00
Garrett Moon
48150668c6
Fix up build
2016-01-28 08:33:18 -08:00
Luke Parham
b9d7e0fd0b
Merge branch 'master' into ASVideoNode
2016-01-28 01:45:30 -08:00
Luke Parham
83f9be256b
fixed drawing for default play button
2016-01-28 01:35:08 -08:00
Luke Parham
3b38559c4d
added ASDefaultPlayButton, but need to make drawing dynamic so its always a centered circle, also fixed video player preview layer stuff
2016-01-28 01:09:01 -08:00
Garrett Moon
d7d36c0a6b
Addressing Scott's comments
2016-01-27 21:08:04 -08:00
Garrett Moon
01c1680904
Switch to instance methods of draw and display
...
This patch switches to instance methods of draw and display for
ASTextNode and ASImageNode to attempt to increase their performance.
It also fixes some thread safety issues in ASImageNode which appear
to have been regressions (though probably not hit very often).
And it sets up work for allowing modification of CGContexts before
and after a node's contents are drawn.
2016-01-27 20:08:02 -08:00
Levi McCallum
ee23830318
Remove setNeedsDataFetch queuing, as interfaceState always performs fetch on re-enter
2016-01-27 18:25:39 -08:00
Levi McCallum
ec7a3599bd
Add setNeedsDataFetch
method to queue off screen fetchData
calls
2016-01-27 14:52:37 -08:00
Matej Knopp
0a45bd9596
[_ASAsyncTransaction] implement operation priority
...
Signed-off-by: Matej Knopp <matej.knopp@gmail.com>
2016-01-26 15:31:40 +01:00
Aaron Schubert
28b03e3a28
[tvOS] Expose UIFocusEnvironment Protocol methods to ASDisplayNode
2016-01-13 10:09:44 +00:00
Aaron Schubert
cc4f604ea3
[tvOS] Initial commit to make build run.
2016-01-12 14:43:30 +00:00
Scott Goodson
0feaa2a368
Improvements to the efficiency of recursivelySetInterfaceState: and the beta range controller.
2016-01-10 02:40:47 -08:00
Scott Goodson
984fe43997
[ASRangeController] Inspect delegate's ASInterfaceState to delay preloading beyond viewport until visible.
2016-01-03 19:14:07 -08:00
Scott Goodson
b273f358f5
[ASRangeController] Initial implementation of functional-style, ASInterfaceState-based range controller.
2016-01-01 00:48:44 -08:00
Scott Goodson
df3ce787f7
Ensure that the uncommon __unloadNode codepath does not unintentionally trigger node removal.
2015-12-29 23:11:33 -08:00
Scott Goodson
44feece701
Implement node-backing for ASTableView and ASCollectionView, with a strong back-pointer in these cases.
2015-12-26 23:05:34 -08:00
Scott Goodson
4b560a703a
PR #1000 on GitHub! Provide a Beta API to enable the new, high efficiency render-ahead mechanism.
2015-12-26 16:34:44 -08:00
Scott Goodson
a1429ea23b
Add ability to enable new rendering range with a class method in ASDisplayNode+Beta.h
2015-12-26 14:22:24 -08:00
Scott Goodson
a2cf2a88e6
Overhaul header files / includes to eliminate circular references that Xcode 7 is angry about.
2015-12-25 19:22:00 -08:00
Scott Goodson
882d4b336e
Merge branch 'master' into pr/664
2015-12-25 14:32:41 -08:00
Scott Goodson
99fbc97bda
Optimizations for ASTextNode handling of renderer allocation and deallocation.
...
Optimizations for ASDisplayNode handling of bridged property "contentMode", especially for layer-backed nodes.
2015-12-25 01:36:32 -08:00
Scott Goodson
4ca97e2f4d
Optimize string handling for CALayer gravity & UIView content mode. Finally fix protocol rename.
2015-12-24 23:13:50 -08:00
Scott Goodson
928c440b4c
Several small optimizations, especially to _ASPendingState and other hot paths.
2015-12-23 16:38:33 -08:00
Scott Goodson
065625f246
Make ASCollectionView always create an ASCollectionNode. Add visibilityDidChange:, interfaceStateDidChange:fromState:
2015-12-22 21:46:46 -08:00
Adlai Holler
69767d558e
Merge branch 'master' into update-objc
...
Conflicts:
AsyncDisplayKit/Private/ASDisplayNode+FrameworkPrivate.h
2015-12-22 00:28:21 -05:00
Scott Goodson
b8602d1073
Fix ASBasicImageDownloader tests - prevent use of init / new instead of +sharedImageDownloader.
2015-12-20 15:42:57 -08:00