Commit Graph

3364 Commits

Author SHA1 Message Date
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
appleguy
9422f92586 Merge pull request #1244 from Adlai-Holler/AHCollectionSectionSideInsets
[ASCollectionView] Always Honor Layout's sectionInset in Both Dimensions
2016-02-18 17:35:41 -08:00
appleguy
7ef1c2989d Merge pull request #1236 from ngleanh/master
[ASMultiplexImageNode] Check loadedImageIdentifer before sending it to delegate
2016-02-18 17:34:52 -08:00
appleguy
3f0b5b5d4e Merge pull request #1245 from rcancro/exposeCurrentScale
Exposing currentScaleFactor
2016-02-18 16:46:08 -08:00
rcancro
2adc30440f Exposing currentScaleFactor 2016-02-18 16:41:58 -08:00
Luke Zhao
cefc985171 reset tests 2016-02-18 16:28:03 -08:00
Luke Zhao
40791dd859 optimize reload data, reload sections, & move nodes performance & logic 2016-02-18 14:44:16 -08:00
Scott Goodson
eeb81a54de [ASDisplayNode+Beta] Expose helper functions, ASPerformBlockOnMainThread & ASPerformBlockOnBackgroundThread. 2016-02-18 13:59:20 -08:00
Adlai Holler
76708c47cf [ASCollectionView] Always honor sectionInset in both dimensions 2016-02-18 09:54:48 -08:00
appleguy
e272dcc21a Merge pull request #1223 from rcancro/fontAdjuster
[ASTextNode] Add support for adjusting font size to make text fit within constrained size without truncating.
2016-02-17 22:55:24 -08:00
appleguy
c526fcdff4 Merge pull request #1239 from rahul-malik/rmalik-concurrent-alloc
[ASDataController] Concurrent allocation of ASCellNodes
2016-02-17 22:53:35 -08:00
Rahul Malik
19cc368d15 In addition to allocating nodes in the background, perform that operation concurrently in ASDataController 2016-02-17 22:30:58 -08:00
Scott Goodson
0cf972d7ac [ASVideoNode] Remove beta warning in preparation for 1.9.7 launch. 2016-02-17 22:28:12 -08:00
Scott Goodson
4a37b0882e [ASCollectionView] iOS 7-only issue where willDisplayCell: is not called, fixed for only that OS version.
This includes some method moves to make sure related methods are in closer proximitiy.
2016-02-17 22:21:46 -08:00
rcancro
070982a50b fixed tests??? (it did locally anyway) 2016-02-17 13:08:16 -08:00
Anh Nguyen
8d603bf5e6 Check loadedImageIdentifer before sending it to delegate 2016-02-17 16:49:15 +07:00
appleguy
205feef58c Merge pull request #1235 from Adlai-Holler/AHSynchronousImageLoadingPath
[ASNetworkImageNode] Provide Synchronous Loading Path on Cache Hits
2016-02-16 23:47:02 -08:00
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
Adlai Holler
da3af0cade Remove null handling docs for nonnull argument 2016-02-16 19:47:08 -08:00
Adlai Holler
da953ac421 Provide a Synchronous Path for Loading Memory-Cached Images 2016-02-16 19:43:47 -08:00
Garrett Moon
8f07197573 Don't need this :) 2016-02-16 19:05:17 -08:00
appleguy
0c335e3aba Merge pull request #1228 from keywind/patch-2
[Examples] remove second [self addSubnode:self.soldOutOverlay]
2016-02-16 17:46:03 -08:00
rcancro
d4ca8f4fd8 add ASTextKitFontAdjuster.mm to the build. 2016-02-16 16:16:39 -08:00
rcancro
0e7fae1825 reverted some debug code 2016-02-16 16:16:29 -08:00
rcancro
a920e353c6 adjust font size to make text fit within constrained size
# Conflicts:
#	AsyncDisplayKit/ASTextNode.mm
2016-02-16 16:16:22 -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
appleguy
52afe2a6ac Merge pull request #1229 from rcancro/disableWordKerning
[ASTextNode] Remove wordkerner to fix jumbled text bug
2016-02-16 11:27:46 -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
Dafeng Jin
a459752205 Update ItemNode.m
addSubnode self.soldOutOverlay twice
2016-02-16 10:30:39 +08:00
appleguy
dc0db53a0d Merge pull request #1226 from facebook/displaySchedulerConcurrency
[ASDisplayNode] Allow display-scheduling method to be called concurrently.
2016-02-13 01:04:37 -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
appleguy
966ca34f42 Merge pull request #1224 from levi/pagerNodeRotation
[ASPagerNode] Add automatic rotation support
2016-02-12 14:21:27 -08:00
Levi McCallum
66c8c8f47d Add rotation support to ASPagerNode 2016-02-12 13:45:22 -08:00
appleguy
c1ca225e8d Merge pull request #1222 from Adlai-Holler/AHFixChangeSetIssues
[_ASHierarchyChangeSet] Improve Logic when Shifting Indexes
2016-02-12 13:27:49 -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
appleguy
ec1ab3f93e Merge pull request #1221 from nguyenhuy/fix_ASPagerNode_constrainedSize_crash
ASPagerNode uses its view's size for node constrained sizes
2016-02-12 00:01:46 -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
appleguy
3a86a9d99e Merge pull request #1219 from binl/bl_reloads_indexPaths_in_changeSet
[ASDataController] Adjust index paths for reloads contained in the same changeset as deletes / inserts.
2016-02-11 17:48:30 -08:00
Bin Liu
3911fb1c34 Adjust reloads' indexPaths in ChangeSet 2016-02-11 14:11:10 -08:00
appleguy
f6b85c9b07 Merge pull request #1218 from nguyenhuy/constrained_size_pager_node
[ASPagerNode] Add constrainedSizeForNodeAtIndexPath to ASPagerNodeDataSource
2016-02-11 10:57:36 -08:00
Huy Nguyen
3e56a327c7 Add constrainedSizeForNodeAtIndexPath to ASPagerNodeDataSource 2016-02-11 10:47:27 -08:00