Adlai Holler
15e03d85cf
[ASThrashTesting] Move update into an archivable object so we can replay tests
2016-06-22 14:19:59 -07:00
Adlai Holler
290897cb56
[ASThrashTesting] Little more cleanup
2016-06-22 13:06:16 -07:00
Adlai Holler
64835c0db7
[ASThrashTesting] It's working! + Cleanup
2016-06-22 13:04:47 -07:00
Adlai Holler
fcf2db79f8
[ASTableViewThrashTests] Initial commit
2016-06-21 18:46:08 -07:00
Adlai Holler
0002d333f0
[ASDisplayNodeTests] Add some removeFromSupernode tests
2016-06-16 17:59:50 -07:00
Hannah Troisi
c857e809f4
Clean up header comments (for consistent Facebook licensing info) ( #1741 )
...
[Licensing] Clean up header comments (for consistent Facebook licensing info)
2016-06-11 23:31:39 -07:00
appleguy
c211c76c64
Merge pull request #1735 from levi/betterFlatten3
...
[ASLayout] Clean up flattening process of ASLayout
2016-06-11 23:15:16 -07:00
appleguy
a7128cd213
Merge pull request #1605 from lappp9/override-callback-for-display-range
...
[ASDisplayNode] Added callbacks for entering and exiting fetch data and display ranges
2016-06-11 22:21:20 -07:00
Levi McCallum
a3e8f556a3
Clean up flattening process in ASLayout
2016-06-10 12:43:46 -07:00
Levi McCallum
ca2fb0bc74
Update FBSnapshotTestCase and generate @3x images
2016-06-08 13:33:03 -07:00
Luke Parham
fc5467b110
fixed typo and added backwards compatibility for 'visibilityDidChange'
2016-06-06 02:02:23 -05:00
Luke Parham
e510120031
changed '-visibilityDidChange:' to '-visiblieStateDidChange:' to match the others
2016-06-06 00:56:21 -05:00
Luke Parham
d47059dffe
updated load and display did change methods
2016-06-06 00:56:21 -05:00
Luke Parham
8526171b30
reenabled new tests
2016-06-06 00:56:21 -05:00
Luke Parham
449a2cc517
added callbacks for entering and exiting fetch data and display ranges
2016-06-06 00:56:21 -05:00
appleguy
3725e53fe9
Merge pull request #1687 from levi/constrainedSize
...
[ASDisplayNode] Move constrained size to ASLayout
2016-06-05 18:26:03 -07:00
Hannah Troisi
52d58992da
[ASVideoNode] Change superclass to ASNetworkImageNode so that it can be its own placeholder ( #1710 )
...
* [ASVideoNode] Change superclass to ASNetworkImageNode so that ASVideoNode can be its own placeholder
- remove _placeholderImageNode property of ASVideoNode (use self.image now instead)
- move layoutSpecThatFits: code to calculateSizeThatFits: & layout: methods as ASImageNode uses calculateSizeThatFits:
* [ASVideoNode] Tweaks to the definition of the delegate protocols to integrate with ASNetworkImageNode (superclass)
2016-06-05 18:18:52 -07:00
Levi McCallum
c469ad273b
[ASLayout] Cache constrained size range
2016-06-05 09:22:46 -07:00
appleguy
4804f429b9
Revert "[ASCollectionView] Add a "Null Object" for a layout inspector if custom layout is given but no layout inspector" ( #1713 )
2016-06-04 22:49:10 -07:00
appleguy
c9b448bc95
Merge pull request #1674 from maicki/RefactorASCollectionViewLayoutInspectingUsage
...
[ASCollectionView] Add a "Null Object" for a layout inspector if custom layout is given but no layout inspector
2016-06-04 21:30:48 -07:00
Michael Schneider
750d57d964
Disable _ASDisplayLayer test
2016-06-04 20:05:41 -07:00
Michael Schneider
a914e3c428
Change visibleSizeRange to return a range with 0 location and length
2016-06-04 15:40:07 -07:00
Michael Schneider
00d9372ee4
Add a "Null Object" for a layout inspector if no no flow layout is given
...
The purpose of the ASCollectionViewCustomLayoutInspector is to provide a default implementation if given a custom layout, but no layout inspector.
2016-06-04 13:58:23 -07:00
Michael Schneider
19bb6519ed
Fix crash truncating a string of a node with a zero size
...
The crash happens in the placeholderImage of ASTextNode. The node is not visible in the time it try to get the `placeholderImage` and so the `visibleRange` has count 0 and a crash happens while accessing the first object of an empty array.
2016-06-03 09:53:59 -07:00
Michael Schneider
e84f9f27c2
Fix measurement of ASEditableTextNode
...
- Add ability to measure the ASEditableTextNode based on the content now by calling measure:
- ASEditableTextNode considers preferredFrameSize now
- Fix crash if ASEditableTextNode is included in a horizontal stack
- Add tests for ASEditableTextNode
2016-05-31 16:29:40 -07:00
Erekle
100d2b4f26
moved spinner to ASVIdeoPlayerNode
2016-05-19 15:07:39 +04:00
Erekle
98c451118b
removed play button
...
* Removed play button from ASVideoNode
* Removed play button tests
* added some checks in ASVideoPlayerNode
* added new delegate method for time formats
2016-05-13 00:46:55 +04:00
appleguy
495f32f0ef
Merge pull request #1570 from maicki/FixASTextNodeAttributedStringInconsitency
...
[ASTextNode] Fix API ASTextNode API inconsistencies
2016-05-10 13:44:56 -07:00
rcancro
22e026a5e1
fix truncater method to only return the truncater.
2016-05-09 16:36:27 -07:00
Michael Schneider
29ab87a1e4
Fix API ASTextNode API inconsistencies
...
- Deprecate attributedString in ASTextNode in favor of attributedText to be aligned with UILabel
- Deprecate truncationAttributedString in ASTextNode in favor of truncationAttributedText to be aligned with attributedText
2016-05-04 21:03:31 -07:00
Robin Chou
39ee33f21a
Update remaining tests.
2016-04-28 21:13:34 -04:00
Robin Chou
9c2909a968
Updating tests.
2016-04-28 21:04:04 -04:00
Michael Schneider
5cfc16733a
Add node as parameter in ASLayoutSpecBlock
2016-04-22 11:22:20 -07:00
Michael Schneider
87a37a283e
Add a block API to provide an ASLayoutSpec without having to subclass ASDisplayNode
2016-04-20 19:16:54 -07:00
Eric Jensen
6a4bc3fd5b
Rename setPlaceholderImage to setVideoPlaceholderImage in order to prevent super class setter conflict
2016-04-18 22:30:32 -07:00
Eric Jensen
b5c3b15069
Observe playbackLikelyToKeepUp in order to handle player buffer filling and emptying
2016-04-18 22:13:49 -07:00
Eric Jensen
e65d63a502
Simplified and improved video node's handling of state changes:
...
- Simplified visibility state change handling.
- Placeholder image is now updated after switching assets.
- Improves memory usage by clearing the placeholder image in clearFetchedData.
2016-04-18 22:13:49 -07:00
appleguy
f9d00eea93
Merge pull request #1550 from maicki/FixArrayDiffStaticAnalyzer
...
[NSArray+Diffing] Static analyzer issue with common indexes algorithm in _asdk_commonIndexesWithArray:
2016-04-18 22:01:29 -07:00
Michael Schneider
9d07336c75
Fix static analyzer issue with common indexes algorithm in _asdk_commonIndexesWithArray:
...
The issue was: The left operand of '>=' is a garbage value in else if check for lengths[i+1][j] ... I had to rewrite the algorithm to quiet the static analyzer.
2016-04-18 14:38:32 -07:00
Eric Jensen
c1c1358baf
Fix video stalling by pausing the video after backgrounding the application
2016-04-18 13:53:43 -07:00
Eric Jensen
983c2f1f49
Replacing ASVideoNode's playButton now cleans-up the previous button's state
2016-04-18 13:53:43 -07:00
Eric Jensen
cdb926c0a1
Correct mismatch between video gravity and placeholder image content mode
2016-04-18 13:53:43 -07:00
Scott Goodson
11744b7f31
[ASVideoNode] Cleanup from recent diffs, standardizing on .asset rather than .url.
2016-04-17 20:12:37 -07:00
appleguy
94d0d908dc
Merge pull request #1323 from gazreese/AVPlayerItem-construction
...
[ASVideoNode] Add support for HTTP Live Streaming Video
2016-04-17 19:30:23 -07:00
Huy Nguyen
a35647b200
Remove unused _enqueueAsyncSizingWithSentinel and asyncSizingQueue methods of ASDisplayNode
2016-04-15 22:08:21 +03:00
Garrett Moon
f4b526a8db
Fix non example build
2016-04-13 14:23:02 -07:00
Michael Schneider
28c4fede57
Add support for newly added a11y properties in iOS 8 / 9 and tvOS
...
New a11y properties:
- accessibilityNavigationStyle
- accessibilityHeaderElements
- accessibilityActivationPoint
- accessibilityPath
2016-04-09 11:23:25 -07:00
Michael Schneider
b284d3f606
Enable tests for accessibility properties for layer backed nodes
2016-04-09 11:23:25 -07:00
Gareth Reese
9e28e07925
ASVideoNode updates based on review comments in https://github.com/facebook/AsyncDisplayKit/pull/1323
2016-04-07 14:08:45 +01:00
Gareth Reese
c8a414be9b
Merged branch 'master' into AVPlayerItem-construction
2016-04-06 15:22:10 +01:00