Commit Graph

2380 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Scott Goodson
c6093cffdf Fix assertion format specifier from previous commit. 2016-03-26 23:57:16 -07:00
Scott Goodson
6a887a8acf [ASDisplayNode] Alternative implementation of interfaceState -> invisible that avoids a subclass call from -dealloc. 2016-03-26 23:24:30 -07:00
appleguy
82a4f5c7e7 Merge pull request #1440 from facebook/FixTruncationEdgeCase
[ASTextNode] Fix edge case where text truncator may not run (manually hosted nodes)
2016-03-26 20:33:34 -07:00
Scott Goodson
daf41ebb43 [ASTextNode] Fix edge case where text truncator may not run (manually hosted nodes that are lacking the expected call to -measure).
This fixes the scenario described in https://github.com/facebook/AsyncDisplayKit/issues/1295
2016-03-26 18:19:02 -07:00
Scott Goodson
a36cf79300 [AsyncDisplayKit] Main .podspec update to 1.9.7.1 (final GM of 1.9.7, as the tag changed). Uses PINRemoteImage 2.1.2. 2016-03-25 20:50:12 -07:00
Hannah Troisi
c1a62e79e2 Merge remote-tracking branch 'facebook/master' 2016-03-25 15:47:31 -07:00
appleguy
dba16ce009 Merge pull request #1433 from levi/patch-12
Fix PagerNode from not loading
2016-03-25 12:02:12 -07:00
Levi McCallum
c07175bfcb Fix conditional 2016-03-25 11:54:56 -07:00
Levi McCallum
687be58621 Fix PagerNode from not loading 2016-03-25 10:02:47 -07:00
appleguy
c1330682f9 Merge pull request #1430 from levi/patch-11
[ASPagerNode] Prevent calculation of current index path when the collection view is empty
2016-03-24 21:43:30 -07:00
Levi McCallum
f51ca78570 Simplify boolean logic 2016-03-24 21:40:49 -07:00
Levi McCallum
d845a18dfb Prevent calculation of current index path when the collection view is empty 2016-03-24 21:33:01 -07:00
appleguy
1199dd69f7 Merge pull request #1429 from ejensen/scroll-enabled-fix
[ASEditableTextNode] Assign textView's scrollEnabled on creation
2016-03-24 21:03:08 -07:00
appleguy
809563ece4 Merge pull request #1420 from hannahmbanana/fixSocialSampleApp
[SocialAppLayout example] update to use ASTextNode's passthroughNonlinkTouches property
2016-03-24 21:01:46 -07:00
Eric Jensen
057ec55941 Correct documentation comments 2016-03-24 20:08:03 -07:00
Eric Jensen
7de48da44f Correct ASEditableTextNode's default value according to the documentation 2016-03-24 20:00:53 -07:00
Eric Jensen
f988f86f7f Assign the textView's scrollEnabled property in ASEditableTextNode's didLoad method.
This prevents a mismatch if the scrollEnabled property on ASEditableTextNode is set before the textView is loaded.
2016-03-24 19:51:16 -07:00
Scott Goodson
eed812dcdf [ASRangeController] Slight tweaks to the default Full ranges, for memory savings in multi-tabbed apps with still-excellent preloading consistency. 1.9.7 2016-03-23 23:36:59 -07:00
appleguy
36d23230fe Merge pull request #1421 from Adlai-Holler/AvoidMutatingSublayersDuringEnumeration
[ASDisplayNode] When Enumerating Subtree, Copy sublayers to Avoid NSFastEnumerationMutation Exception
2016-03-23 23:33:48 -07:00
Hannah Troisi
6c4af53434 Revert project changes for Social App Example 2016-03-23 23:25:26 -07:00
Adlai Holler
a90a83b607 Copy sublayers to avoid NSFastEnumerationMutation exception 2016-03-23 21:57:23 -07:00