Commit Graph

93 Commits

Author SHA1 Message Date
Garrett Moon
8c3775f5e2 Need to check availability before use of macros. (#3254)
* Need to check availability before use of macros.

* Get rid of PCH and enforce macro definition.

* Remove prefix

* Switch to global warning instead, much better.
2017-04-10 15:06:40 -07:00
Garrett Moon
68a8d5f468 Add download resume support (#3246)
* Adds support for resuming downloads that were canceled due to exiting preload range.

* Update to latest PINRemoteImage

* Fix warnings

* Address comments. Thanks @nguyenhuy!
2017-04-10 11:18:05 -07:00
Adlai Holler
b41816d40d Standardize Dependency Flags for PINRemoteImage, IGListKit (#3244)
* no message

* Go further

* Make the symbols public so that apps actually build

* Move ASAvailability into the umbrella header

* Remove duplicate define

* Put the file back where it was in the list

* Revert "Put the file back where it was in the list"

This reverts commit 6a80c15b5b5efe5ff39812a018114e8bdc1dc0cf.
2017-04-07 15:04:50 -07:00
Adlai Holler
73ca6ab514 Shuffle & Cleanup Stuff (#3080) 2017-02-26 18:14:13 -08:00
Garrett Moon
6a9781f64c Update for 2.2 (#3068) 2017-02-23 11:09:54 -08:00
Garrett Moon
75fddb1f77 Upgrades to latest PINRemoteImage which should fix GIF rendering. (#3057) 2017-02-21 11:43:36 -08:00
Michael Schneider
77f29a8b7b Fix CI that broke due to Yoga merge (#3012)
* Fix CI that broke due to Yoga merge

* Next round

* Add clean before building

* Try something else

* Some more burritos
2017-02-10 11:17:25 -08:00
appleguy
f91265757e [Yoga] Initial commit for supporting Yoga-powered layout calculation. (#2982)
* [Yoga + AsyncDisplayKit] Initial commit for supporting Yoga-powered layout calculation.

Because this results in ASLayout objects, it preserve support for automaticallyManagesSubnodes
as well as the animated transition system. More work remains to vet performance of the new mode,
and it will remain in +Beta for the forseeable future.

I'm not sure that this should ever be used as the primary ASDK layout system, but it should remain an
option for some apps to experiment with if they require an implementation that more strictly mirrors
W3C standard Flexbox.

* [Yoga] Improve usage of ASHierarchyState to ensure simultaneous yoga layouts can't happen.

* [Yoga] Strictly minimize the impact of the Yoga integration on existing code.

Created new file ASDisplayNode+Yoga.mm, reduced size and number of integration points in core code.

* [Yoga] Figured out how to further reduce ASDisplayNode.mm impact by allocating _yogaNode in property accessor, and changing all accesses to use the property.
2017-02-09 16:10:29 -08:00
Scott Goodson
1fa6be357a [Build] Finally, it appears necessary to manually specify that the pch needs to be built at the start. 2017-02-04 17:14:42 -08:00
Scott Goodson
b03a9b68dd [Build] Restore operational AsyncDisplayKit-Prefix.pch
This was regressed by the large project file changes in 404795dc02

I don't yet have full context on the goals of that change, but it's definitely necessary to have the .pch
with the current requirements of the project. This line ensures that Cocoapods adds it.
2017-02-04 16:38:55 -08:00
Adlai Holler
404795dc02 Remove Support for iOS 7 (#2930)
* Drop support for iOS 7

* Copy reference images

* Update deployment for sample projects

* Update version

* Update "Life Without Cocoapods"
2017-02-01 14:40:37 -08:00
Garrett Moon
c396e4db68 Bump podspec to 2.1 2017-02-01 13:30:43 -08:00
Adlai Holler
38aac9d019 IGListKit Support II: Electric Boogaloo (#2942)
* Reimplement IGListKit support in a cleaner way

* Rename and fix some stuff

* Fix supplementaries more

* Update docs

* Update test

* Cleanup minor things

* Tweak it

* Indentation

* Remove irrelevant changes

* Break out cell into its own file

* Fix indentation

* Address feedback
2017-01-30 11:16:59 -08:00
Adlai Holler
70c48ba906 Link AssetsLibrary weakly (#2929) 2017-01-24 17:09:24 -08:00
Michael Schneider
d9be4783e5 [ASLayout] General Layout Cleanup (#2920)
* Remove duplicate import

* Move `ASLayoutController` related code out of CoreGraphics+ASConvenience

* Further cleanup

* Move private layout files to Privat/Layout

* Move ASLayoutElementStylePrivate into Private/Layout

* Further cleanup

* Move tvOS related files to tvOS folder

* Further cleanup
2017-01-24 11:54:05 -08:00
Garrett Moon
a427dce609 Update to 2.0.2 2017-01-23 13:06:15 -08:00
Huy Nguyen
be6faa107a Support Buck build (#2849)
* Support Buck build

* Simplify pod_install hook and buck-file dir's structure

* Update PINRemoteImage's BUCK

* Frameworks linking:
- Weak linking Photos and MapKit.
- Revisit //:Tests' list.
2017-01-04 14:11:28 -08:00
Garrett Moon
bec299fa87 Update to 2.0.1 2016-12-20 14:57:38 -08:00
Garrett Moon
2e1d6c122e Update to 2.0 (#2735) 2016-12-08 15:35:55 -08:00
Garrett Moon
54eba883d8 Update to RC 2 (#2723) 2016-12-06 15:11:00 -08:00
Garrett Moon
d57760797a Update to beta 7 of PINRemoteImage - fixes image corruption issues. (#2720) 2016-12-06 11:11:00 -08:00
Garrett Moon
9706b85145 Remove files that no longer exist from podfile exclusion (#2697)
* Remove files that no longer exist from podfile exclusion

* Missed some references to dealloc2main
2016-12-02 13:29:16 -08:00
Garrett Moon
d9209e69c2 Update to RC 1 (#2695) 2016-12-02 10:00:15 -08:00
Garrett Moon
7c685620aa Update podspec to beta 3 2016-11-29 14:58:41 -08:00
Scott Goodson
3bfb437f2b [Cocoapods] Update version to 2.0-beta.2 2016-11-23 16:15:51 -08:00
appleguy
55b5dff80c [ASLayoutSpec] Initial commit to support visualizing layout specs (with Playground app). (#2554)
* Initial ASLayoutSpecPlayground commit

* Initial exploratory stab at the main challenge of the app - visualizing ASLayoutSpecs

* Halfway through moving debug features out of ASDK framework files and into debug files. Project builds.

* [ASLayoutSpecPlayground] Created new Inspector node, cleaning up internal implementation to start formalizing support for layout spec visualization.

* Workaround for ensuring creation of visualizerNode for ALL layoutspecs

* continued development

* Layout Inspector Work in Progress

* Resizing the playground works in the shrink direction, not for grow.

* added new ASLayoutableInspectorNode features

* Cleaned up examples code.

* Cleaning up  code.

* more code cleanup

* [ASLayoutableInspector] Transition to an ASTableNode-based architecture to support larger numbers of buttons / customizable types.

* [ASLayoutableInspector] Support different layoutable property types to set up buttons that can edit all of them.

* Huy debugging

* Refactored layout inspector code for extensibility.

* Properly lock layoutableContextMap

* Fix context handling in ASDisplayNode:measureWithSizeRange

* Fix ASLayoutSpecPlayground:ViewController:toggleVisualization

* added slider to InspectorCell

* [ASLayoutSpecPlayground] Improvements to propagation of visualize mode, resize handle, minor cleanup.

* Fix to ASEnvironment

* [ASLayoutSpecPlayground] Fix a few minor issues from the merge with latest master.

* Implement layout spec cache

* add pager ndoe

* add more examples

* add more layout examples

* [ASLayoutPlayground] Fix merge issues

* [ASLayoutPlayground] Fix up the example project from the 2.0 API changes.

* [ASLayoutPlayground] Some fixes (#2411)

* [ASLayoutPlayground]: Some fixes
* Fixed crash when tapping descender.
* Fixed setting the item to inspect.
* Fixed button states in inspector node.
* Added sliders for spacingBefore, spacingAfter, ascender.

* [ASLayoutSpecPlayground] Deselect the buttons when editing is over.

* [ASLayoutSpecPlayground] Changed flexGrow/Shrink's values from YES/NO to 1.0/0.0

* [Project] Create new Debug/ directory for advanced tools dedicated to debugging.

* [LayoutSpecPlayground] Rename project without AS in title, to be consistent with LayoutSpecExamples.

* [Bulid] Fix Xcode project to use new Debug subdirectory / group.

* [Bulid] Fix a small merge error.

* [Build] Fix build issue for Framework target.

* [Bulid] Fix podspec to expose InspectorNode header; Remove old-cocoapods emojis from ASDKgram :)

* Move aside ASLayoutSpecPlayground-Swift to match master

* [LayoutSpecPlayground] Cleanup implementation in several files, xcodeproj, etc.

* [ASControlNode] Add comment for new assertion, to be enabled in a separate diff.
2016-11-08 20:16:16 -08:00
Garrett Moon
06f5754b37 This way we only have to update the version number in one place. (#2577) 2016-11-08 16:19:52 -08:00
Garrett Moon
47f9084bee Include latest version of PINRemoteImage and PINCache (#2565) 2016-11-07 15:01:33 -08:00
Scott Goodson
735d1411d2 [Cocoapods] Update podspec to 2.0-beta.1 version; reference AsyncDisplayKit Twitter account. 2016-11-05 19:32:41 -07:00
Garrett Moon
c65c233613 Fix to beta 5 of PINRemoteImage (#2464)
Beta 4 added a PINCache subspec which was required for ASDK. However,
Beta 5 reverted this in an attempt to fix automatically updated versions
of ASDK. So this patch sets the specific version to beta 5 until we're
ready to launch.
2016-10-21 17:26:16 -07:00
appleguy
2c6f8b0506 [AsyncDisplayKit 2] Final changes to ease migration of clients to 2.0 APIs. (#2460) 2016-10-21 13:12:13 -07:00
Garrett Moon
46cf1e3032 Fix asdk again (#2446)
* Man whoever is maintaining PINRemoteImage really needs to get theirselves together!

* Learning from previous mistakes, we should set a specific version on this.
2016-10-20 15:43:32 -07:00
Garrett Moon
093653b507 Upgrades to the latest PINRemoteImage (#2414) 2016-10-18 08:35:25 -07:00
Hannah Troisi
76a81b2a57 [Cocoapods] Update PINCache dependency to include performance improvements
Includes PINCache 3 beta (in latest PINRemoteImage release) AND Update master version number to 2.0-beta.1 ahead of API changes
2016-08-02 23:01:02 -07:00
Scott Goodson
da674589c6 [Cocoapods] Update podspec to version 1.9.90. 2016-07-30 18:14:58 -07:00
Hannah Trosi
5856bd3b59 [Cocoapods] Update podspec with 1.9.81 2016-07-10 12:53:44 -07:00
Scott Goodson
1e3e5a56b9 [Cocoapods] Use 1.9.80 instead... 2016-06-06 14:56:40 -07:00
Garrett Moon
7358fa9182 Missed #def ing out the header I guess? 2016-06-06 12:33:50 -07:00
Scott Goodson
4890777dcb [Cocoapods] Fix podspec for 1.9.8 to ensure the dependency on PINRemoteImage is fully defined. 2016-06-06 11:20:35 -07:00
Scott Goodson
252508e33c [Cocoapods] Update podspec for the 1.9.8 release. 2016-06-05 23:59:55 -07:00
Scott Goodson
9c5b2fcb18 [Cocoapods] Update podspec to version 1.9.74. 2016-05-17 11:01:09 -07:00
Scott Goodson
44ad32095b [Build / Cocoapods] Use new PINRemoteImage, but temporarily disable tvOS for 1.9.73 due to bulid warnings. 2016-05-03 19:35:57 -07:00
Garrett Moon
dd87885269 beta 2 of PINRemoteImage *should* work with tvos without a subspec 2016-05-03 15:47:54 -07:00
Scott Goodson
2032cffd90 [Cocoapods, Build] Disable tvOS in podspec for now due to Cocoapods support problems. 2016-04-29 14:50:45 -07:00
Scott Goodson
fc0db52884 [Cocoapods, Build] Podspec to version 1.9.73 in preparation for releasing 1.9.7.3, conforming to 3-number version limit imposed on dynamic frameworks. 2016-04-26 23:35:22 -07:00
Wendy
4daee3ca76 Update PINRemoteImage 2016-04-26 18:35:03 -07:00
Scott Goodson
15a4e18844 [Examples] Officially add tvOS to podspec, ensure Podfiles correctly show minimum supported version 7.0 instead of 7.1 2016-04-22 20:29:52 -07:00
Steffen Matthischke
e08c3e7cac Replace FLAnimatedImage with PINRemoteImage in the comment 2016-04-13 17:27:33 +02:00
Steffen Matthischke
75e5171ba8 Add Core subspec. Add all mandatory files to the Core subspec. 2016-04-13 13:28:39 +02:00
Scott Goodson
a305d409ad [Podspec] Bump to 1.9.7.2 2016-04-11 12:55:10 -07:00