Adlai Holler
35d59acd83
Add support for acquiring multiple locks at once ( #958 )
...
* Add ASLocking which supports -tryLock and taking multiple locks safely
* Better multi locking
* Assert about lock set capacity
2018-06-05 12:31:30 -07:00
Adlai Holler
0f9b1e6789
Make objects conform to NSLocking ( #851 )
...
* Make display node, layout spec, and style conform to NSLocking so that users/subclasses can access their locks
* Update the changelog
* Align slashes
* Put it back, when we're in ASDisplayNode
* Go a little further
* Put back the changes I didn't mean to commit
* Kick the CI
* Fix yoga build
* Put back non-locking change
* Address comments from Scott
2018-03-25 10:46:04 -07:00
Adlai Holler
2b12654810
Use NS_RETURNS_RETAINED macro to save time ( #843 )
...
* Use NS_RETURNS_RETAINED macro to save time
* Update changelog and do the thing with the license headers
2018-03-21 08:13:09 -07:00
Adlai Holler
9b8a919a93
Revert "Faster collection operations ( #748 )" ( #759 )
...
This reverts commit 5c13403ef75c030adc7a4d51a7792a9c6c1c348b.
2018-01-22 11:38:09 -08:00
Adlai Holler
5c13403ef7
Faster collection operations ( #748 )
...
* Faster collection operations
* Fix a few things
* Put the stupid semicolon
* Address warning
* Cut down retain/releases during collection operations
* Update CHANGELOG.md
2018-01-22 13:22:03 +00:00
Huy Nguyen
4ba6f451f6
[Cleanup] Remove deprecated APIs ( #529 )
...
* Remove preferredFrameSize
* Remove -measure:
* Remove -measureWithSizeRange:
* Remove ASLayoutable
* Remove .name
* Remove deprecated style forwardings
That includes following properties that are declared on ASDisplayNode and ASLayoutSpec: spacingBefore, spacingAfter, flexGrow, flexShrink, flexBasis, alignSelf, ascender, descender, sizeRange and layoutPosition.
* Remove usesImplicitHierarchyManagement
* Remove deprecated range update callbacks:
-visibilityDidChange:
-visibleStateDidChange:
-displayStateDidChange:
-loadStateDidChange:
* Remove -clearFetchedData
* Remove -cancelLayoutTransitionsInProgress
* Remve ASDisplayNode+Deprecated.h
* Remove ASLayoutRangeTypeRender and ASLayoutRangeTypeFetchData
* Remove -[ASTableView clearContents]
* Remove reloadDataImmediately
* Remove ASStaticLayoutSpec
* Remove ASDimensionDeprecated
* Remove optional -pagerNode:constrainedSizeForNodeAtIndex: delegate method in ASPagerDelegate
* Remove suppressesInvalidCollectionUpdateExceptions
* Remove -[ASCollectionViewLayoutInspector initWithCollectionView]
* Remove ASVideoPlayerNode.loadAssetWhenNodeBecomesVisible
* Update CHANGELOG
* Update license of ASLayoutSpecTests.m
* Update examples/PagerNode
* Remove ASEnvironmentTraitCollection
* Remove -ASViewController.nodeConstrainedSize
* More on removing ASLayoutable
2017-09-07 19:25:42 +01:00
Adlai Holler
8ec4b312cf
Overhaul our logging, add activity tracing support. ( #399 )
...
* Improve the os_log and os_activity integration
* Address feedback from Scott and Huy
2017-07-03 19:03:26 -07:00
appleguy
486410d7d6
[Yoga] Minimize number of nodes that have MeasureFunc set on them. ( #369 )
...
This has one important benefit: fixing the stretching behavior of spacer nodes.
In addition, it should help efficiency of Yoga and certainly minimize calls
to layoutThatFits:.
Next up for Yoga is a mostly-red diff, deleting the non-Contiguous code branches.
2017-06-18 18:18:12 -07:00
Adlai Holler
a9837f2dc8
Replace NSMutableSet with NSHashTable when Appropriate #trivial ( #321 )
...
* Use NSHashTable to avoid needless -hash and -isEqual: calls
* Mark debug-only methods as such for clarity
* Address feedback
2017-06-05 16:33:37 -07:00
Michael Schneider
82b7806473
[Layout] Remove finalLayoutElement ( #96 )
...
* Remove finalLayoutElement
* Add changelog
* Remove some documentation
2017-05-03 10:45:01 -07:00
Huy Nguyen
29d6d7df58
ASLayoutSpec to use more default implementations ( #73 )
2017-04-27 10:46:47 +01:00
Garrett Moon
8013e25524
Update license v2 ( #67 )
...
* Fixed license
* Update all licenses
* Update Dangerfile for new license
* Update already updated licenses
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
* Closer…
2017-04-24 16:59:57 -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
873ae64cec
Remove macOS support ( #3245 )
2017-04-05 11:58:11 -07:00
Adlai Holler
73ca6ab514
Shuffle & Cleanup Stuff ( #3080 )
2017-02-26 18:14:13 -08:00