1282 Commits

Author SHA1 Message Date
appleguy
3d2f398948 Merge pull request #1234 from garrettmoon/removeSemiColon
Remove an extraneous semicolon :)
2016-02-16 23:38:10 -08:00
Scott Goodson
e1597f902a Increase default value for leadingScreensForBatching to 2.0, as 1.0 is not enough
for most network conditions / backend performance.
2016-02-16 22:19:27 -08:00
Garrett Moon
8f07197573 Don't need this :) 2016-02-16 19:05:17 -08:00
appleguy
a4789f3524 Merge pull request #1231 from garrettmoon/reducePlaceholderFadeCost
[Placeholders] Only start a fading animation if we're visible. And a threadsafety fix.
2016-02-16 15:20:24 -08:00
appleguy
0ab73c1c23 Merge pull request #1230 from binl/bl_coalesce_reloads
[_ASHierarchyChangeSet] Improve reload handling in BatchUpdates
2016-02-16 15:19:41 -08:00
Garrett Moon
74661e27f6 Only start a fading animation if we're visible. And a threadsafety fix. 2016-02-16 13:42:56 -08:00
Bin Liu
db1a91234d Improve reload handling in BatchUpdates 2016-02-16 11:04:21 -08:00
rcancro
23019cbbea Remove wordkerner in ASTextNode to fix jumbled text bug 2016-02-16 09:34:38 -08:00
Scott Goodson
fce722b0c8 [ASDisplayNode] Allow display-scheduling method to be called concurrently. 2016-02-13 00:58:56 -08:00
appleguy
f3696cfef0 Merge pull request #1225 from garrettmoon/addImageLoadingDelegateMethod
[ASNetworkImageNode] Add fetch data delegate method; cache respondsToSelector results.
2016-02-12 15:22:54 -08:00
Garrett Moon
7d80fb31bd rename imageNodeDidStartLoading to imageNodeDidStartFetchingData 2016-02-12 15:10:58 -08:00
Garrett Moon
cf1e4c87f5 Add image loading delegate method / cache instead of respondsToSelector 2016-02-12 15:04:14 -08:00
Levi McCallum
66c8c8f47d Add rotation support to ASPagerNode 2016-02-12 13:45:22 -08:00
Adlai Holler
bb99de4e0f Fix some logic issues in ASHierarchyChangeSet 2016-02-12 08:20:47 -08:00
appleguy
d237dc8bec Merge pull request #1220 from binl/bl_fix_changeset_datacontroller
[ASDataController] Improvements to index paths shifting reloads in changesets.
2016-02-12 00:06:24 -08:00
Huy Nguyen
5b135e1837 ASPagerNode uses its view's size for node constrained sizes 2016-02-11 23:59:41 -08:00
Bin Liu
88ff693327 Fixes in ChangeSet and DataController 2016-02-11 23:51:32 -08:00
Bin Liu
3911fb1c34 Adjust reloads' indexPaths in ChangeSet 2016-02-11 14:11:10 -08:00
Huy Nguyen
3e56a327c7 Add constrainedSizeForNodeAtIndexPath to ASPagerNodeDataSource 2016-02-11 10:47:27 -08:00
Levi McCallum
b267821d4c Wrap implicit node hierarchy management behind feature flag property 2016-02-10 19:21:29 -08:00
Garrett Moon
063cf86579 PINRemoteImage 2.0 moved its tag, who the hell are these idiots. -signed, author of PINRemoteImage 2016-02-10 18:35:29 -08:00
appleguy
07adec12a0 Merge pull request #1183 from levi/layoutTransition
[ASLayoutSpec] Add API to animate layout spec transitions, with implicit subnode management.
2016-02-10 15:30:49 -08:00
Levi McCallum
cb7ce44bf2 Revert updates to ASViewController 2016-02-10 15:22:43 -08:00
Levi McCallum
2e74a75492 Resize ASViewController node on view controller size transitions 2016-02-10 15:16:26 -08:00
Levi McCallum
163ddb1240 Layout only immediate subnodes of a node 2016-02-10 15:13:46 -08:00
appleguy
e57f2cd00b Merge pull request #1209 from garrettmoon/addPINRemoteImageDownloader
[ASImageNode] Add PINRemoteImage as the default image downloader for both Network & Multiplex nodes.
2016-02-10 15:11:33 -08:00
Levi McCallum
6f37bb40d9 Allow layouts to be accessible in context 2016-02-10 14:39:46 -08:00
Garrett Moon
e3315f4b44 Skip decoding as ASDK will handle that. 2016-02-10 13:28:30 -08:00
Garrett Moon
622c851779 Fix downloader test 2016-02-10 12:24:45 -08:00
Levi McCallum
870cc405e6 Remove removedSubnodes instead of insertedSubnodes 2016-02-10 11:44:13 -08:00
Levi McCallum
50a41df7b0 Return current layout if pending layout isn't needed 2016-02-10 11:44:13 -08:00
Levi McCallum
499c3331ce Optimize insertion/deletion node calculation & expose inserted/deleted subnodes to transition context 2016-02-10 11:44:13 -08:00
Levi McCallum
d669cadcba Use core layoutSublayouts method for layout step 2016-02-10 11:44:13 -08:00
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
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
9dc358196a Basic implementation of transitioning API for layout specs 2016-02-10 11:44:10 -08:00