14914 Commits

Author SHA1 Message Date
Rene Cacheaux
777b48cc33 Adds layout controller for collection views. This new layout controller leverages UICollectionViewLayout's layoutAttributesForElementsInRect in order to calculate index paths for items in AsyncDisplayKit ranges. Flow layout is still a requirement in order to test the waters. 2015-06-21 18:37:00 -05:00
Hannah Troisi
710c51593e Cleaned up Kittens sample app and added comments for clarity.
In particular, the NSValue-boxed CGSize array used as a data model for the kittens
is generated with random sizes, for unclear reasons.  It turns out this is a workaround
to convince PlaceKitten to send us unique images.
2015-06-21 11:36:19 -07:00
Rene Cacheaux
0adac6851a Adds abstract ASLayoutController implementation in preparation for custom layout ASLayoutController implementation. 2015-06-21 13:24:24 -05:00
Rene Cacheaux
33118df73b Merge branch 'master' into CollectionViewLayoutSupport 2015-06-21 11:45:56 -05:00
Rene Cacheaux
e46c13edc5 Exposes ASCollectionView's ability to determine scroll direction. Scroll direction detection can now support 2-axis collection view layouts. ASCollectionView can now determine scrollable axes. 2015-06-21 11:45:25 -05:00
Andreas Linde
b62984073f Update documentation
And add crash only build specific modulemap to Xcode project
2015-06-21 12:36:06 +02:00
appleguy
ed4ccfcc7f Merge pull request #491 from RCacheaux/CollectionViewLayoutSupport
Custom Collection view layout prep PR
2015-06-20 20:18:54 -07:00
appleguy
c12cbdd21a Merge pull request #493 from facebook/LayerDrivenLayout
Remove -[_ASDisplayView layoutSubviews] and use only -[_ASDisplayLayer layoutSublayers]
2015-06-20 20:16:13 -07:00
Scott Goodson
904905189c Remove -[_ASDisplayView layoutSubviews] and use only -[_ASDisplayLayer layoutSublayers].
This helps us support special cases such as ASScrollNode correctly driving the -layout
method for subclasses even though it is based on UIScrollView & can't use _ASDisplayView.

I suspect this will be useful for ASCollectionNode and ASTableNode as well, which would
allow nesting those classes inside of other collections / tables (e.g. horizontal
unit within a vertical unit).
2015-06-20 19:40:01 -07:00
Rene Cacheaux
a7f7620b8c Turns ASScrollDirection into Option set in preparation for supporting 2-axis collection view layouts. Clears test host target warnings. 2015-06-20 18:25:48 -05:00
Gwynne Raskind
2a5e4a7523 Statically overload __cxa_throw() to capture backtraces from C++ exceptions at throw time. Makes reasonable best efforts at speed. 2015-06-20 17:02:05 +02:00
Andreas Linde
9b54a5b172 Merge pull request #173 from bitstadium/feature/update-documentation
Documentation updates and fixes
2015-06-20 09:40:25 +02:00
Andreas Linde
936c358e5c Merge pull request #171 from bitstadium/feature/Add-VersionString
Add marketing version string of a crash
2015-06-20 09:39:45 +02:00
Andreas Linde
ed7834e6bc Merge pull request #170 from lukasspiess/feature/update-travis-integration
Extend .travis.yml to support more test targets
2015-06-20 09:30:08 +02:00
appleguy
c271462b16 Merge pull request #488 from facebook/CleanupFrameSetter
Clean up logic in setFrame: for clarity and compactness
2015-06-19 17:36:17 -07:00
Andreas Linde
ea91c0722c Documentation updates and fixes 2015-06-19 15:29:42 +02:00
Andreas Linde
4d38c17979 Also send CFBundleShortVersion value for crashes 2015-06-19 13:52:04 +02:00
Andreas Linde
ee91a1cbf4 Update PLCR to commit 273a7e7cd4b77485 2015-06-19 12:22:10 +02:00
Lukas Spieß
4b84a374bf Remove pod validation from .travis.yml 2015-06-19 11:42:44 +02:00
Victor Mayorov
b94640a59d Merge remote-tracking branch 'AsyncDisplayKit/master' 2015-06-19 12:38:01 +03:00
Victor Mayorov
503b16fd62 Fixed crash on multiple -[ASTableView reloadData]. Implemented test. 2015-06-19 12:37:38 +03:00
Scott Goodson
b4aaf50953 Clean up login in setFrame: for clarity and compactness 2015-06-18 13:16:35 -07:00
appleguy
590063f421 Merge pull request #485 from victormayorov/master
Fixed bounds in ASDisplayNode
2015-06-18 13:05:24 -07:00
Lukas Spieß
7a98217909 Extend .travis.yml to support more test targets 2015-06-18 18:09:26 +02:00
Andreas Linde
5681b7791f Merge pull request #169 from bitstadium/feature/cocoapods-subspecs
CocoaPod specs update
2015-06-18 16:48:36 +02:00
Andreas Linde
1247e9a3f4 Update readme with CocoaPod options 2015-06-18 16:28:18 +02:00
Andreas Linde
e08e1ec998 Update Podspecs
- We need two separate Podspecs, one (default) for prebuild binaries and one to build from source
- Various fixes to make them actually work
- `pod spec lint` requires the option `--use-library` right now to pass
2015-06-18 16:12:18 +02:00
Diego Torres
d8e8010522 Only translations are shared across all other subspecs. 2015-06-18 15:47:32 +02:00
Diego Torres
82439a600a - Revert feature config to all enabled.
- Added a feature config only for podspec.
- podspec will replace feature config file upon installation
2015-06-18 15:47:32 +02:00
Diego Torres
8aaff552fe Change default subspec name to CompiledLib 2015-06-18 15:47:32 +02:00
Diego Torres
c0488792d0 [Subspecs] Only UserFeedback requires CoreText 2015-06-18 15:47:32 +02:00
Diego Torres
47f11f84f7 Podspec divided in subspecs.
Feature Config now defaults to everything turned off
2015-06-18 15:47:32 +02:00
Andreas Linde
f621373e6a Fixes for crash only build
Make sure `BITFeedbackMessage` and `BITFeedbackMessageAttachment` classes are not included in crash only build
2015-06-18 15:44:32 +02:00
Andreas Linde
3ae00f08f8 Rename HockeyNullability.h
to HockeySDKNullability.h
2015-06-18 15:42:57 +02:00
Andreas Linde
3bcf222bdc Minor style fix in documentation 2015-06-17 15:14:35 +02:00
Andreas Linde
691b3dbe69 Update documentation
- Combine main README and SDK Setup documents (later has a reduced introduction section)
- Restructure and extend the documentation
- Remove the Authentication document and link to our support page instead
2015-06-17 15:12:47 +02:00
Victor Mayorov
0c7b1051d6 Fixed bounds 2015-06-15 18:35:32 +03:00
Victor Mayorov
e94699ae31 Fixed bounds in ASDisplayNode. Bounds.origin shouldn't be affected by -[ASDisplayNode setFrame:] method. 2015-06-15 18:30:44 +03:00
Ilya Laktyushin
67bae10549 SPipe replay 2015-06-15 17:51:14 +03:00
Peter
de82a285c1 no message 2015-06-15 10:40:56 +03:00
appleguy
66e241162f Merge pull request #483 from facebook/podfileUpdates
Update .podspec to refer to 1.2.1 release tag.
2015-06-14 20:09:57 -07:00
Scott Goodson
d8fcfce840 Update .podspec to refer to 1.2.1 release tag. 2015-06-14 20:08:54 -07:00
appleguy
80cc0e64d0 Merge pull request #482 from facebook/DisableAsyncDataFetching
Disable asyncDataFetching in ASTableView and ASCollectionView init
2015-06-14 20:01:56 -07:00
Scott Goodson
ba5a6e15c0 Disable asyncDataFetching in ASTableView and ASCollectionView init methods.
It's currently unreliable for some use cases that issue editing calls while
content is displayed or being interacted with.  The performance gain is not
sufficient to sacrifice correctness for the clients that hit this issue,
so it will remain off until fully resolved.
2015-06-14 19:59:39 -07:00
appleguy
a4a03fdcf4 Merge pull request #481 from facebook/PrecompositingOpacity
Support transparent (e.g. clearColor) background for precomposited trees.
2015-06-14 17:32:09 -07:00
Scott Goodson
c50f3b9cad Support transparent (e.g. clearColor) background for precomposited trees. 2015-06-14 17:30:42 -07:00
appleguy
2a7f45ed40 Merge pull request #479 from joostvandijk/rasterized-node-offset
Fix offset issue for rasterized nodes
2015-06-13 17:35:55 -07:00
Joost van Dijk
bd7941507b Use a zero origin for root container node frame during rasterization 2015-06-13 20:51:58 +02:00
appleguy
4ddd1f4ace Merge pull request #478 from victormayorov/master
Fixed crash in ASNetworkImageNode.
2015-06-13 11:13:24 -07:00
Peter
80c4254b20 no message 2015-06-13 17:22:23 +03:00