Adlai Holler
dbe469a94a
Standardize "extern" decls on AS_EXTERN ( #972 )
...
* Standardize "extern" decls on AS_EXTERN
* Rebase & remove from implementation files
2018-06-18 15:53:34 -07:00
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
cac14e0bce
Standardize Property Declaration Style in Core Classes ( #870 )
...
* Audit property attributes for core classes
* Update style guide
* Go crazy
* Update changelog
2018-05-24 14:42:43 -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
5e73396cde
Enable collection node interactive moves ( #735 )
...
* Add support for interactive moves
* Enable drag & drop in collection view example
* Update changelog
* Change the gating logic to match UIKit
* Add a warning when we prevent interactive movement due to async layout
2018-01-09 14:34:32 -08: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
Michael Schneider
13c467b2f4
Fix internal Linter warnings #trivial ( #340 )
...
* Fix internal Linter warnings
* Remove explicit copy for block as let us just use the default one
2017-06-08 10:45:03 -07:00
Michael Schneider
b6734faa3b
Extract ASLayoutElement and ASLayoutElementStylability into categories #trivial ( #131 )
...
* Initial move of code into layout category
* Cleanup
* Some more
2017-05-02 14:38:06 -07: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