-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 #1461
YGEdge -> yoga::Edge #1461
Conversation
This pull request was exported from Phabricator. Differential Revision: D51152779 |
This pull request was exported from Phabricator. Differential Revision: D51152779 |
e3cdb72
to
77da8f0
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] Differential Revision: D51152779 fbshipit-source-id: adb8fecf7f653d9f816e1eaef615498cdf6de055
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
This pull request was exported from Phabricator. Differential Revision: D51152779 |
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
77da8f0
to
007a4e2
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
This pull request was exported from Phabricator. Differential Revision: D51152779 |
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
007a4e2
to
9ee7b0e
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: b8447fc07fc4ca32e591e9aa4640fdb1806995a9
This pull request was exported from Phabricator. Differential Revision: D51152779 |
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
9ee7b0e
to
ee739ff
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
This pull request was exported from Phabricator. Differential Revision: D51152779 |
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
ee739ff
to
447dbd6
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: 8da1fe209b1930af0b70f5c23aadb61a35587bfc
This pull request was exported from Phabricator. Differential Revision: D51152779 |
447dbd6
to
28e2d90
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
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 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
28e2d90
to
473e607
Compare
This pull request was exported from Phabricator. 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
02c06f7
to
81f5c80
Compare
This pull request was exported from Phabricator. Differential Revision: D51152779 |
81f5c80
to
81513a4
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
This pull request was exported from Phabricator. Differential Revision: D51152779 |
81513a4
to
f155cde
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
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
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
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
f155cde
to
b616c85
Compare
This pull request was exported from Phabricator. 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
b616c85
to
99e7f54
Compare
This pull request was exported from Phabricator. Differential Revision: D51152779 |
Summary: X-link: facebook/react-native#41392 We're moving `CompactValue` to be an internal detail of `yoga::Style`, where users outside of the style will be dealing with a resolved/non-compact representation. This change renames usages of `CompactValue` to `Style::Length`, which will be Yoga's representation for CSS input lengths. Right now one is just a type alias of the other, but this will let us change the internals of CompactValue with the rest of the world looking the same. A few factory functions are added to `yoga::value` for creating CSS values. There are some shenanigans around how we want to represent CSS pixels (one YGUnitPoint), when we also end up adding CSS points (slightly larger than one YGUnitPoint). For now, I reused `point` until making other changes. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D51000389
Summary: X-link: facebook/react-native#41390 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. Reviewed By: joevilches Differential Revision: D51068417
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
99e7f54
to
fefb9c6
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: e9293b6215a8f4a3c65852d583a29693ae34f8aa
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
Summary: Pull Request resolved: #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 325ccea. |
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