Commit Graph

  • 3a7d150680 Remove extraneous brackets, check _imageLoaded before doing work Garrett Moon 2016-03-11 21:23:52 -08:00
  • 53f6dadbbb Should be nullable not _Nullable Garrett Moon 2016-03-11 16:34:49 -08:00
  • af61645faf Add support for attempting to get image synchronously Garrett Moon 2016-03-11 15:51:17 -08:00
  • a4e3ba49b4 Merge pull request #1349 from levi/patch-8 appleguy 2016-03-11 21:21:09 -08:00
  • e645a511be Merge pull request #1370 from guodac/subnode-layout-changed appleguy 2016-03-11 19:05:00 -08:00
  • 5f7569a9e9 Merge pull request #1371 from nguyenhuy/async_layout_cleaned_up appleguy 2016-03-11 19:00:00 -08:00
  • fa8f2f4429 Implement async transition Huy Nguyen 2016-03-08 23:30:03 -08:00
  • cdd1bd1e39 [ASRangeController] Ensure that visibilityDidChange: is always called on app launch for all initial cells. Scott Goodson 2016-03-11 17:18:32 -08:00
  • 508ac44238 make sure ASCV's layoutFacilitator triggers layout recalculation when its subnode has size change Gordon Chen 2016-03-11 16:49:33 -08:00
  • e3dde87bfd [ASDisplayNode] Add REQUIRES_SUPER to a few ASDisplayNode+Subclasses.h methods that do require it. Scott Goodson 2016-03-10 20:55:01 -08:00
  • 6bd4a7507b Merge pull request #1365 from facebook/ASCellNodeVisibilitySync appleguy 2016-03-10 20:52:48 -08:00
  • ff8ffffb7b [ASCellNode] Upgrades to ASCellNodeVisibilityEvent to ensure it is always synchronized with visibilityDidChange: Scott Goodson 2016-03-10 20:21:00 -08:00
  • f3f92423ad Use property underscore notation for recursivelyTriggerDisplayAndBlock Levi McCallum 2016-03-10 19:57:33 -08:00
  • c2b0670132 Merge pull request #1363 from facebook/ASWeakSetAllObjects appleguy 2016-03-10 19:40:00 -08:00
  • 0e460ca00a [ASRangeController] Don't bother asking UIKit for the visible index paths if view is zero-sized, as it triggers a reloadData. Scott Goodson 2016-03-10 19:10:25 -08:00
  • aab2ecc26e [ASWeakSet] Properly cast kCFNull so that build settings for unit tests don't flag it (warnings as errors). Scott Goodson 2016-03-10 17:22:26 -08:00
  • c3fb665ec1 [ASWeakSet] Support -allObjects to return a retained array of contents. Scott Goodson 2016-03-10 16:20:21 -08:00
  • d40b6c61c8 Merge pull request #1352 from ejensen/deprecated-enum appleguy 2016-03-10 00:28:02 -08:00
  • 7f623412dc Merge pull request #1351 from ejensen/videonode-currentItem-getter appleguy 2016-03-10 00:27:13 -08:00
  • 17d1cbec7b Merge pull request #1359 from facebook/RangeMemory appleguy 2016-03-09 23:15:13 -08:00
  • f2409bdc0a Merge remote-tracking branch 'origin/RangeMemory' into RangeMemory Scott Goodson 2016-03-09 21:23:25 -08:00
  • 21bebb9d29 [ASRangeController] Improvements to application state change and memory warning handling. Scott Goodson 2016-03-09 19:36:45 -08:00
  • c385423fb3 [ASRangeController] Improvements to application state change and memory warning handling. Scott Goodson 2016-03-09 19:36:45 -08:00
  • 27b8bcc3c6 [ASRangeController] Support observing UIApplicationState methods, notifying cells of invisibility & freeing memory on backgrounding. Scott Goodson 2016-03-09 19:22:57 -08:00
  • 32bc6c2125 Merge pull request #1357 from maicki/AddASLayoutRangeModeLowMemory appleguy 2016-03-09 18:58:17 -08:00
  • a3331b42ae Replace sleep() in ASBasicImageDownloaderTests with XCTest asynchronous expectations Eric Jensen 2016-03-09 18:57:31 -08:00
  • f45d4ac4fb Cleanup code Michael Schneider 2016-03-09 18:56:39 -08:00
  • 7119dc3d59 Correct ASVideoNode's currentItem getter method Eric Jensen 2016-03-09 11:42:41 -08:00
  • fbbfd14130 Merge pull request #1355 from maicki/AddASLayoutRangeModeLowMemory appleguy 2016-03-09 17:19:19 -08:00
  • a788f5e2d9 Enable ASRangeControllerAutomaticLowMemoryHandling Michael Schneider 2016-03-09 16:59:01 -08:00
  • 620fdfc059 Merge pull request #1346 from tomizimobile/buttonNodeSelectedHighlightedState appleguy 2016-03-09 16:54:12 -08:00
  • 58544e2217 Merge pull request #1347 from aaronschubert0/astextnode-truncation-fix appleguy 2016-03-09 16:50:25 -08:00
  • 5fde235d87 Merge pull request #1356 from rcancro/textShrinkningOptimizations appleguy 2016-03-09 16:48:29 -08:00
  • 0bc60605e5 Merge pull request #1348 from eanagel/fix-collection-hang appleguy 2016-03-09 16:41:51 -08:00
  • bcb1832fcd Fixed some text shrinking issues rcancro 2016-03-09 15:27:33 -08:00
  • 13207dc2da Change memory notification method name Michael Schneider 2016-03-09 14:53:37 -08:00
  • bf822dee37 Add ASLayoutRangeModeLowMemory Michael Schneider 2016-03-09 14:40:40 -08:00
  • 9d4c53b0fa Replace usage of deprecated NSControlCharacterAction value Eric Jensen 2016-03-09 11:44:13 -08:00
  • 52391dcc27 Change method name in implementation Levi McCallum 2016-03-09 10:42:56 -08:00
  • a07f7b73f0 Change method name in header Levi McCallum 2016-03-09 10:42:35 -08:00
  • d4a0c34d86 Add ASSizeRangeMakeWithExactCGSize method Levi McCallum 2016-03-09 10:39:46 -08:00
  • 167b7d404e Add header for extern ASSizeRangeMakeWithExactCGSize Levi McCallum 2016-03-09 10:38:25 -08:00
  • 352247184a Ensure that we use the correct default size for collection nodes even if layoutSubviews has not been called yet. This is a more conservative approach than the previous one. Ethan Nagel 2016-03-09 09:56:32 -08:00
  • a22278340f fixed indentation Tom King 2016-03-09 10:27:38 -05:00
  • 71eb9582fb [ASTextNode] Fix default ellipsis not showing for line breaks Aaron Schubert 2016-03-09 15:10:26 +00:00
  • cd85389397 support the combined [.Selected, .Highlighted] state in ASButtonNode Tom King 2016-03-09 09:23:15 -05:00
  • de4e4db671 Merge pull request #1340 from ejensen/documentation-corrections appleguy 2016-03-09 02:52:48 -08:00
  • 1ce3834e0e Merge pull request #1343 from rcancro/cacheFontScale appleguy 2016-03-09 02:41:13 -08:00
  • 112489927e Merge pull request #1338 from tomizimobile/truncationTokenFix appleguy 2016-03-09 02:16:45 -08:00
  • 9759ed0848 Merge pull request #1336 from hannahmbanana/ASImageNodeScaleFactorLabel appleguy 2016-03-09 02:11:57 -08:00
  • 3f4b4b9f3c [ASImageNode] More refined naming and documentation for [ASImageNode shouldShowImageScalingOverlay] Hannah Troisi 2016-03-08 23:30:17 -08:00
  • 51eccb3d96 [ASImageNode] More refined naming and documentation for [ASImageNode shouldShowImageScalingOverlay] Hannah Troisi 2016-03-08 23:30:17 -08:00
  • 3fe44b4e23 Merge branch 'ASImageNodeScaleFactorLabel' of https://github.com/hannahmbanana/AsyncDisplayKit into ASImageNodeScaleFactorLabel Hannah Troisi 2016-03-08 23:16:11 -08:00
  • fbe72a06e4 [ASImageNode] A ASImageNode debug feature showing pixel scaling amount - shows a red text label overlay on bottom right hand corner of ASImageNodes with pixel scaling factor - import AsyncDisplayKit+Debug.h and enable using [ASImageNode setEnableImageDebugOverlay] Hannah Troisi 2016-03-07 09:44:16 -08:00
  • d64c05a68e [ASImageNode] A ASImageNode debug feature showing pixel scaling amount - shows a red text label overlay on bottom right hand corner of ASImageNodes with pixel scaling factor - import AsyncDisplayKit+Debug.h and enable using [ASImageNode setEnableImageDebugOverlay] Hannah Troisi 2016-03-07 09:44:16 -08:00
  • 91b81d0e80 Merge remote-tracking branch 'facebook/master' Hannah Troisi 2016-03-08 23:12:42 -08:00
  • 8703920d55 [Xcode Project] Add new file to the framework target. Update to recommended build settings to resolve 1 of 1 warnings. Scott Goodson 2016-03-08 22:58:27 -08:00
  • 06ea9461cb [ASScrollDirection] Fix tests to use the more intuitive naming for scroll directions. Scott Goodson 2016-03-08 22:48:02 -08:00
  • 8cbb5d86dc Merge pull request #1344 from eanagel/fix-collection-hang appleguy 2016-03-08 18:10:05 -08:00
  • 5a3dab5610 Ensure that er use the correct default size for collection nodes even if layoutSubviews has not been called yet Ethan Nagel 2016-03-08 17:03:55 -08:00
  • 06a6bd6606 fix typo and kick off build again. rcancro 2016-03-08 16:32:24 -08:00
  • 3ebdf5928c Made a few changes to font scale adjustment rcancro 2016-03-08 12:05:26 -08:00
  • c2f85397ce Mark depreciated protocols with deprivation attribute Eric Jensen 2016-03-08 09:59:46 -08:00
  • 84357c4a48 Correct a couple more documentation comments Eric Jensen 2016-03-08 09:51:57 -08:00
  • 3d34c177ed Flatten indentation of parameter hierarchy Eric Jensen 2016-03-08 09:23:10 -08:00
  • 86ccd33a84 Correct a few documentation comments for method parameters Eric Jensen 2016-03-07 16:52:34 -08:00
  • 1457e97c59 create local variables for performance and clarity Tom King 2016-03-08 08:54:07 -05:00
  • 5c28bb8e21 [ASScrollDirection] Ensure definitions of "positive" scroll direction in batch context match the layout controller. Scott Goodson 2016-03-08 00:52:14 -08:00
  • f7ff8b4173 Updated tests to cover the new API and repeated all of the test logic for URL initialisation to ensure that the functionality is the same Gareth Reese 2016-03-08 08:30:13 +00:00
  • 6b74ad75a1 Merge pull request #1341 from rahul-malik/rmalik-run-loop-queue appleguy 2016-03-07 23:53:07 -08:00
  • f388180a1d Refactor the run loop implementation code into a proper queue abstraction. ASRunLoopQueue can process a specified number of items per run loop iteration via a block based api. Rahul Malik 2016-03-07 23:06:18 -08:00
  • 9c0d0542dd [ASScrollDirection] Fix scroll direction interpretation after recent changes to this logic. Scott Goodson 2016-03-07 22:50:48 -08:00
  • fa15ab7bab [ASImageNode] A ASImageNode debug feature showing pixel scaling amount - shows a red text label overlay on bottom right hand corner of ASImageNodes with pixel scaling factor - import AsyncDisplayKit+Debug.h and enable using [ASImageNode setEnableImageDebugOverlay] Hannah Troisi 2016-03-07 09:44:16 -08:00
  • 39f5686982 Revert "[_ASAsyncTransaction] Reduce locking overhead by removing C++ stack-allocated MutexLocker objects." Scott Goodson 2016-03-07 14:46:06 -08:00
  • f4d5791717 in ASTextNode, bail from touchesMoved:withEvent: if the previousLocationInView is the same as the locationInView. On 3D Touch enabled phones, this gets fired with chages in force, and will usually get fired immediately after touchedBegan:withEvent, causing touches to usually be cancelled Tom King 2016-03-07 17:15:30 -05:00
  • 9e72679ffd [ASDataController] Swap order of section / item in optimized indexpath creation from yesterday :). Scott Goodson 2016-03-07 12:08:31 -08:00
  • de49e5ec17 Merge pull request #1337 from rahul-malik/rmalik-mem-fix appleguy 2016-03-07 11:45:28 -08:00
  • 5af8b78d78 Transfer node ownership from renderQueue to displayingNodes queue before removing the node from the renderQueue. Rahul Malik 2016-03-07 11:30:23 -08:00
  • d1e6a650f0 [ASImageNode] A ASImageNode debug feature showing pixel scaling amount - shows a red text label overlay on bottom right hand corner of ASImageNodes with pixel scaling factor - import AsyncDisplayKit+Debug.h and enable using [ASImageNode setEnableImageDebugOverlay] Hannah Troisi 2016-03-07 09:44:16 -08:00
  • 8c7305c47c Merge pull request #1331 from maicki/ASViewControllerExample appleguy 2016-03-06 17:49:56 -08:00
  • 0c9ec66479 Merge pull request #1317 from rahul-malik/rmalik-run-loop appleguy 2016-03-06 13:46:58 -08:00
  • d8eb589d34 Enable Sample scheme as shared in ASViewController example Michael Schneider 2016-03-06 13:43:47 -08:00
  • 62a39c49ea Break up scheduling of node rendering across various run loops Rahul Malik 2016-03-02 12:00:21 -08:00
  • e56c3b03f2 Merge pull request #1332 from facebook/ASDataReload appleguy 2016-03-05 23:00:12 -08:00
  • 8cfd951f42 [ASDataController] If app code issues edit commands before first reload, ignore them, as UIKit will call -reloadData. Scott Goodson 2016-03-05 20:22:18 -08:00
  • 562a2183b7 Update deployment target Michael Schneider 2016-03-05 20:52:30 -08:00
  • 4c834685c8 Merge pull request #1329 from hannahmbanana/debugFeatures appleguy 2016-03-05 20:52:25 -08:00
  • c4f6c9035b [ASDataController] If app code issues edit commands before first reload, ignore them, as UIKit will call -reloadData. Scott Goodson 2016-03-05 20:22:18 -08:00
  • 6a32e5ccc0 [ASDataController] If app code issues edit commands before first reload, ignore them, as UIKit will call -reloadData. Scott Goodson 2016-03-05 20:22:18 -08:00
  • cc7ca4a08f [ASDataController] If app code issues edit commands before first reload, ignore them, as UIKit will call -reloadData. Scott Goodson 2016-03-05 20:22:18 -08:00
  • 397181538e Change header of main.m Michael Schneider 2016-03-05 20:09:31 -08:00
  • c4c4a92ac5 Add ASViewController example Michael Schneider 2016-03-05 20:08:18 -08:00
  • 354ccf3e5f Merge pull request #1327 from samhsiung/fix_scrollable_directions appleguy 2016-03-05 16:35:48 -08:00
  • a7f54ed042 Merge pull request #1328 from lkzhao/collectionView-sectionInset-fix appleguy 2016-03-05 16:29:48 -08:00
  • 9d5fed280d A debug feature on ASControlNode to visualize tap-able areas (by adding a highlight overlay ASDisplayNode as a subnode) when addTarget:action:ControlEvent: is called. Uses hitTestSlop to get ASControlNode's UIEdgeInset and set the highlight overlay's frame to be the ASControlNode frame + edge insets. Disables clip to bounds on ASControlNode. Enabled by calling +[ASControlNode setEnableHitTestDebug:YES]; Hannah Troisi 2016-03-05 16:08:55 -08:00
  • 03e84e20ac updated with deprecated message Luke Zhao 2016-03-05 13:04:20 -08:00
  • 85394f09b4 Account for alwaysBounce(Vertical|Horizontal) when calculating scrollable directions Samuel Hsiung 2016-03-04 21:33:08 -08:00
  • 30463db034 Merge pull request #1326 from maicki/ASViewControllerFixContentInset appleguy 2016-03-04 19:24:37 -08:00
  • 15a789c719 Fix content inset problems if ASViewControllers root node has usesImplicitHierarchyManagement set to YES Michael Schneider 2016-03-04 19:22:09 -08:00
  • 0a76c7b5d2 Merge pull request #1301 from lkzhao/collectionView-sectionInset-fix appleguy 2016-03-04 14:26:55 -08:00