Commit Graph
5091 Commits
Author SHA1 Message Date
appleguy 6d1c52b042 Merge pull request #1456 from maicki/ASEnvironment
[ASEnvironment] Add support for ASEnvironment, supporting generalized state propagation both up and down node and layout spec trees.
2016-03-31 21:05:38 -07:00
appleguy ea935456b8 Merge pull request #1437 from ejensen/editable-text-node-layout-manager
[ASEditableTextNode] Allow TextKit component customization
2016-03-31 20:46:19 -07:00
Michael Schneider 20ee9bca8d Rename ASEnvironmentStateCreate to ASEnvironmentStateMakeDefault 2016-03-31 20:43:20 -07:00
Michael Schneider 5baab95506 Add up propagation of ASEnvironmentLayoutOptionsState in ASLayoutSpec while setting a child 2016-03-31 20:43:20 -07:00
Michael Schneider f46f5640ff Add improvements
- Remove defaults for ASEnvironmentLayoutOptionsState and ASEnvironmentHierarchyState
- Add locking for ASEnvironmentLayoutExtensibilityForwarding
- Other smaller improvements
2016-03-31 20:43:20 -07:00
Michael Schneider 4e757f0969 General improvements
- Refactor naming of ASEnvironmentCollection to ASEnvironmentState
- Remove struct pointers
- Move ASEnvironmentStatePropagation to a enum class
- Move merge functions to pure functions
- Move ASLayoutOptionsForwarding and ASLayoutableExtensibility into ASLayoutSpec and ASDisplayNode
- Remove ASLayoutableSetValuesForLayoutable and move into explicit classes (ASDisplayNode, ASTextNode)
2016-03-31 20:43:20 -07:00
Michael Schneider 65b4961802 Add extensibility support for ASEnvironmentLayoutOptionsState 2016-03-31 20:43:20 -07:00
Michael Schneider 96df35e41a Initial commit for ASEnvironment 2016-03-31 20:43:20 -07:00
appleguy 94bfc17d0d Merge pull request #1467 from hannahmbanana/master
[Documentation] update README.md to add Carthage sheild + update CocoaPods download count
2016-03-31 19:40:32 -07:00
appleguy b54c8de27e Merge pull request #1463 from marmelroy/master
[AsyncDisplayKit] - Fix Travis issues
2016-03-31 19:39:38 -07:00
Hannah Troisi 2903d7ea1b removing files required to run website locally 2016-03-31 12:35:59 -07:00
Hannah Troisi 2b18d70de7 Merge remote-tracking branch 'facebook/master' 2016-03-31 12:31:32 -07:00
Roy Marmelstein 4415bbbd06 Workaround for https://github.com/facebook/xctool/issues/666 2016-03-31 10:10:09 +02:00
Roy Marmelstein f719a06a4c [AsyncDisplayKit] - Switch Travis to Xcode 7.3 2016-03-31 09:55:30 +02:00
Hannah Troisi eac5b48274 Merge pull request #1 from hannahmbanana/hannahmbanana-patch-1
[Documentation] update README.md
2016-03-31 00:08:09 -07:00
Scott Goodson 212e0f6c2b [AsyncDisplayKit] Move build server to iOS 9.3. Fix Carthage build. 2016-03-31 00:04:56 -07:00
Hannah Troisi f5a002b867 Update README.md
added Carthage compatibility shield, updated CocoaPods download number (>320k)
2016-03-31 00:04:52 -07:00
Hannah Troisi 4ca0ccfb3e Create Gemfile 2016-03-30 23:30:52 -07:00
Scott Goodson 41948cc8c9 Increment Podspec to 1.9.8 version for this development cycle (not shipping 1.9.8 for a while though). 2016-03-30 16:34:50 -07:00
Hannah Troisi 883f2b2b99 added screenshots/gifs and descriptions to examples/README.md 2016-03-30 12:34:35 -07:00
Hannah Troisi 02509fa225 Testing adding screenshot to README.md 2016-03-30 10:10:39 -07:00
Hannah Troisi 5f45d00bdf Merge remote-tracking branch 'facebook/master' 1.9.7.1 2016-03-30 09:54:43 -07:00
appleguy 503ab09fe9 Merge pull request #1458 from levi/collectionNodeBetaFix
Make ASCollectionNode+Beta header public to projects
2016-03-29 21:49:15 -07:00
Levi McCallum 320da47de6 Make ASCollectionNode+Beta header public to projects 2016-03-29 21:44:49 -07:00
Hannah Troisi 09d2a1457b Merge remote-tracking branch 'facebook/master' into 500pxgram 2016-03-29 14:55:06 -07:00
Hannah Troisi 55efc4cfb3 Final code cleanup 2016-03-29 14:53:42 -07:00
appleguy cdf11cebf7 Merge pull request #1454 from nguyenhuy/layoutable_context
[ASLayoutableContext] Properly lock layoutableContextMap
2016-03-29 14:34:07 -07:00
Huy Nguyen 387f3bf634 Properly lock layoutableContextMap
Signed-off-by: Huy Nguyen <huy@pinterest.com>
2016-03-29 13:40:57 -07:00
Hannah Troisi f1dbc45cef Move NavigationController and statusBarOpaqueUnderlayView to AppDelegate 2016-03-29 13:13:20 -07:00
Hannah Troisi 53741a4e0a cleaned up model, view files 2016-03-29 13:00:44 -07:00
Eric Jensen a4a0b1f85e Synchronize ASPanningOverriddenUITextView's scrollsToTop when the scrollEnabled property changes 2016-03-29 12:18:57 -07:00
Hannah Troisi 0f4481718c Changed UITableViewController to UIViewController 2016-03-29 00:50:52 -07:00
Hannah Troisi 112bfa8e71 Switched ASDKViewController from UIViewController to ASViewController, renamed files. 2016-03-29 00:04:08 -07:00
Hannah Troisi d96582913a excluded questionable photos from 500px data source endpoint call. removed unneeded files for ASDK example. 2016-03-28 23:00:32 -07:00
Hannah Troisi b5e502fbc9 [Examples: ASDKgram] Initial commit of a new sample app - a 500px photo feed / social app using layout specs and nodes. 2016-03-28 21:31:37 -07:00
Hannah Troisi 63c6c24b19 Merge remote-tracking branch 'facebook/master' 2016-03-28 17:59:35 -07:00
Scott Goodson 1ea1560694 [ASDisplayNode] Rasterized subnodes require special handling for __exitHierarchy. 2016-03-28 17:58:35 -07:00
Adlai Holler f205a6cc28 Copy sublayers in recursivelyTriggerDisplayForLayer to avoid NSFastEnumerationMutation exception 2016-03-28 16:54:50 -07:00
Hannah Troisi 700e27cee8 Merge remote-tracking branch 'facebook/master' 2016-03-28 10:42:35 -07:00
Scott Goodson 096df7b385 [ASDisplayNode] Remove #if gating of ASDisplayNode hitTest: (I'd misread this as _ASDisplayView's implementation, and both are needed). 2016-03-28 07:49:14 -07:00
Scott Goodson cd493358cc [ASControlNode] Upgrades to +setEnableHitTestDebug: to intersect hitTestSlop with parents' bounds+slop, to accurately predict and visualize UIKit event delivery edge cases. 2016-03-27 22:02:13 -07:00
Scott Goodson 3e2414da6f [ASInterfaceState] Fix for an edge case of exiting Visible state before node deallocation. 2016-03-27 18:15:40 -07:00
Michael Schneider c6f00b1541 Use batchCount for indexes passed into internal layout nodes method and NSMaxRange 2016-03-27 17:54:40 -07:00
Michael Schneider 0284e55359 Add explicit range parameter for internal layout nodes method and better documentation 2016-03-27 17:48:17 -07:00
Michael Schneider 552b79deaa Remove onMainThread: argument in internal layout nodes method 2016-03-27 17:48:17 -07:00
Michael Schneider 1f9e9b8483 Refactor ASDataController layout nodes methods 2016-03-27 17:48:17 -07:00
appleguy 97798010cb Merge pull request #1443 from nguyenhuy/layoutable_context
[ASLayoutable] Introduce ASLayoutableContext, thread-local storage for layout passes.
2016-03-27 17:40:42 -07:00
Huy Nguyen 7bb3015950 Rename ASLayoutableContext methods 2016-03-27 17:38:41 -07:00
Huy Nguyen 81d26994c5 Introduce ASLayoutableContext
- The struct is mapped to ID of the current thread and used by subnodes to decide whether they should proceed measurement.
2016-03-27 17:09:59 -07:00
appleguy e4c6a49cb2 Merge pull request #1441 from facebook/Invisibility
[ASDisplayNode] Alternative implementation of interfaceState -> invisible that avoids a subclass call from -dealloc.
2016-03-27 00:44:45 -07:00