-
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
Replace usages of YGConfigSetUseLegacyStretchBehaviour #37093
Conversation
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Base commit: b3478cb |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 50ae18fe20a30c3d607caba15b080cafad0ecc46
c5027e1
to
4d8993e
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 6828d6bf537591e1811d85122f162f9497771c4d
4d8993e
to
957b5b5
Compare
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: f6289229414b7e10f42918cb557a421a82b3c02d
This pull request was exported from Phabricator. Differential Revision: D45300631 |
957b5b5
to
a3fef74
Compare
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: a410ae9b22b463755e6d454f7fee80abd8b91f5e
a3fef74
to
b336921
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 9178f9e175b6abeec7770cca0371230ce8f07b49
b336921
to
863596b
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 054be9d2cf52a9848ccbaf0e325519c77600e844
863596b
to
9ca493b
Compare
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 401ad047ad2a8466acb0f799844f7f32d033ffc0
9ca493b
to
e1ac479
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 6c2ec36336764e5e7fe3cce55f1d32953afdac92
e1ac479
to
ffcd273
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
This pull request was exported from Phabricator. Differential Revision: D45300631 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: cff1981e63460ac7149c67d2a4d93e412393eea1
db508e1
to
de0ffc9
Compare
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 43e6504a311bd14a90691635524e50f787b19f9b
de0ffc9
to
9ef530c
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 7dec964c9e09c9ebcb59c5971af2fb8a139fe836
9ef530c
to
e015f16
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 77069bfdbd3a2c516be920aaae5a45a5b063ea08
e015f16
to
8d0dede
Compare
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 4640f033b52f14db3f26dc682799a4c2c3235132
8d0dede
to
14668e8
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: dbe8c82b3de677b9788878dc2b4fa2aaccabe156
14668e8
to
9213f88
Compare
This pull request was exported from Phabricator. Differential Revision: D45300631 |
Summary: This searches fbsource for the following strings corresponding to node or config creation using Yoga Java bindings. 1. `YogaNodeFactory.create` 2. `YogaConfigFactory.create` Apart from benchmarks/tests, thie leaves RN Paper, Litho and Native Templates. These are opted into compatibility with current Yoga behavior, using either `YogaErrata.CLASSIC`, or `YogaErrata.ALL` where `UseLegacyStretchBehaviour` is currently set. Differential Revision: https://internalfb.com/D45299721 fbshipit-source-id: 1814cb375ab0a51e9b0bbb58bd35aac4ce8e33c6
Summary: Now that our own usages are removed, mark this as deprecated to encourage users to move to the errata API. The same will be done to variants of this function on other platforms before releasing, and the functions will be removed after releasing. Differential Revision: D45300343 fbshipit-source-id: 11980ef895bc2bc8073fa6c10df4ccd11eb71c91
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 97b5f4a70f77a590d77248f2a9d2b8fa6633004e
This pull request was exported from Phabricator. Differential Revision: D45300631 |
9213f88
to
5fa19e4
Compare
This pull request has been merged in b0cf746. |
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 9f94bdbbe7eda091adac016231083b2486c583d9
Summary: Pull Request resolved: facebook#37093 This replaces product usages of `YGConfigSetUseLegacyStretchBehaviour` with instead setting `YGErrataAll`, to opt out of future conformance fixes which may impact compatibility. We need to still audit C/C++ usage for where we should be applying `YGErrataClassic`, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D45300631 fbshipit-source-id: 9f94bdbbe7eda091adac016231083b2486c583d9
Summary:
This replaces product usages of
YGConfigSetUseLegacyStretchBehaviour
with instead settingYGErrataAll
, to opt out of future conformance fixes which may impact compatibility.We need to still audit C/C++ usage for where we should be applying
YGErrataClassic
, port this change to the RN desktop fork, then mark the function as deprecated (taking care to allow deprecated functions in the Yoga bindings to call deprecated C ABI functions without warning).Changelog: [Internal]
Differential Revision: D45300631