-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YGEdge -> yoga::Edge #41391
YGEdge -> yoga::Edge #41391
Conversation
This pull request was exported from Phabricator. Differential Revision: D51152779 |
Base commit: caae388 |
Summary: X-link: facebook/react-native#41391 Pull Request resolved: facebook#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Differential Revision: D51152779 fbshipit-source-id: adb8fecf7f653d9f816e1eaef615498cdf6de055
This pull request was exported from Phabricator. Differential Revision: D51152779 |
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Differential Revision: D51152779 fbshipit-source-id: 25a6436f50bec4f3bdde157b535ed1815fac85cc
86a70b9
to
a3be543
Compare
Summary: X-link: facebook/react-native#41391 Pull Request resolved: facebook#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: d76b850375c3d2c791ba8bd1dcf2c0b961a45738
This pull request was exported from Phabricator. Differential Revision: D51152779 |
a3be543
to
d58b8ea
Compare
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 57bc135d97ebd62a899f533e593a8d9b3251246e
Summary: X-link: facebook/react-native#41391 Pull Request resolved: facebook#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 5958bbbb9fbb65e7ea16e2fe3dd824e4f369fa9f
This pull request was exported from Phabricator. Differential Revision: D51152779 |
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: b8447fc07fc4ca32e591e9aa4640fdb1806995a9
d58b8ea
to
2eb88b2
Compare
Summary: X-link: facebook/react-native#41391 Pull Request resolved: facebook#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 7870a11a01ef224068341fb84afec82341f5d80f
This pull request was exported from Phabricator. Differential Revision: D51152779 |
2eb88b2
to
03b1fd1
Compare
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 31fa8969badd3dbb175d79a4b8b0319eea68807f
Summary: X-link: facebook/react-native#41391 Pull Request resolved: facebook#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 6717ed59fcb6479e8b7973e10bcd2dfc5a50847b
This pull request was exported from Phabricator. Differential Revision: D51152779 |
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 8da1fe209b1930af0b70f5c23aadb61a35587bfc
03b1fd1
to
a33a7fe
Compare
Summary: X-link: facebook/react-native#41391 Pull Request resolved: facebook#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: f9471715fc9bb5f7ec11b3579d7f570cddc3174f
This pull request was exported from Phabricator. Differential Revision: D51152779 |
a33a7fe
to
516021a
Compare
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 17378a8710afa2b22c63ae5098be51a3391a6019
Summary: X-link: facebook/react-native#41391 Pull Request resolved: facebook#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 7697e8b529e56bc18e250459aa25719e4a5c7128
This pull request was exported from Phabricator. Differential Revision: D51152779 |
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: f3955620b881126fb71e2a6d0771f3622da1598b
86884a1
to
32b95bb
Compare
Summary: X-link: facebook/react-native#41391 Pull Request resolved: facebook#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: de91bb48688a12dd42fe12ba2251436d47f90cec
Summary: X-link: facebook/react-native#41391 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779
Summary: X-link: facebook/react-native#41391 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779
Summary: X-link: facebook/react-native#41391 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779
This pull request was exported from Phabricator. Differential Revision: D51152779 |
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 3a7f77b200d23d9f3619ce20fcb2331c7d067a8e
32b95bb
to
de0c004
Compare
This pull request was exported from Phabricator. Differential Revision: D51152779 |
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 8af126d6078f3ea50f6d80f79852eb5954413e19
de0c004
to
a365708
Compare
Summary: X-link: facebook/react-native#41391 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779
Summary: X-link: facebook/react-native#41391 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779
Summary: X-link: facebook/react-native#41391 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779
Differential Revision: https://internalfb.com/D51000389 fbshipit-source-id: fe2b4cbb82658931217b468967c24d582ecc978a
Summary: Yoga passes `MeasureMode`/`YGMeasureMode` to express constraints in how a box should be measured, given definite or indefinite available space. This is modeled after Android [MeasureSpec](https://developer.android.com/reference/android/view/View.MeasureSpec), with a table above `calculateLayoutImpl()` explaining the CSS terms they map to. This can be confusing when flipping between the spec, and code. This switches internal usages to the CSS terms, but leaves around `YGMeasureMode` since it is the public API passed to measure functions. Differential Revision: D51068417 fbshipit-source-id: 2a4ebd327bb63a97840b987e817e18587b4c06d8
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: e9293b6215a8f4a3c65852d583a29693ae34f8aa
This pull request was exported from Phabricator. Differential Revision: D51152779 |
a365708
to
5e22e88
Compare
Summary: X-link: facebook/react-native#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 06554f67bfd7709cbc24fdd9a5474e897e9e95d8
This pull request has been merged in b5f04d1. |
Summary: X-link: facebook/react-native#41391 Pull Request resolved: #1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 06554f67bfd7709cbc24fdd9a5474e897e9e95d8
Summary: Pull Request resolved: facebook#41391 X-link: facebook/yoga#1461 Converts usages of `YGEdge` within internal APIs to `yoga::Edge` scoped enum. With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API. Changelog: [internal] Reviewed By: rshest Differential Revision: D51152779 fbshipit-source-id: 06554f67bfd7709cbc24fdd9a5474e897e9e95d8
Summary:
Converts usages of
YGEdge
within internal APIs toyoga::Edge
scoped enum.With the exception of YGUnit which is in its own state of transition, this is the last public yoga enum to need to be moved to scoped enum form for usages internal to the Yoga public API.
Changelog: [internal]
Differential Revision: D51152779