Skip to content
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

Reuse Yoga enum ToString functions #41021

Closed
wants to merge 2 commits into from

Conversation

NickGerleman
Copy link
Contributor

Summary:
Yoga has generated public ToString functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Differential Revision: D50347728

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Oct 17, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

@analysis-bot
Copy link

analysis-bot commented Oct 17, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,623,856 +53
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 20,997,418 +60
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 2bf1a8f
Branch: main

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Differential Revision: D50347728

fbshipit-source-id: 7f6317eed6e0b1919d15374ae700c78b0c0175dd
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Differential Revision: D50347728

fbshipit-source-id: 48112be6639d57bcb2a034f31c8fcb8ac4720ef5
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: 21ade343d394116f5e3885c03f0f186aa4ba6296
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: da552af70bfb6c68dcd9fd3044f5af1773630bb5
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: a434d431b9bb4920f9b05422cd87ea539b1e5c03
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: 93d28cccf310b590efc1b796c6a92bf0ab10bebb
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: bb9c92fb250c8af28e86d3651359f7a0d77ab565
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: 30c94a904e371ac9b3f8fd9879459b1efefb98f7
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: e16675e41a93b18e6f5ff2543162886df3012b42
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: 3a1a860c680cac2ac1a54fce32f7725cf8fad666
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: c914b42662de9583a096ad9cee2f6abdfe36381b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: b53c2631f0cd9339356a388a1a89ee8f02ea3eac
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

nicoburns and others added 2 commits October 17, 2023 20:54
Summary:

### Changes made
- Regenerated tests (as some aspect ratio tests seem to be out of date compared to the fixtures)
- Added SpaceEvenly variant to the "Align" enums (via enums.py)
- Implemented `align-content: space-evenly` alignment in CalculateLayout.cpp
- Added generated tests `align-content: space-evenly`
- Updated NumericBitfield test to account for the fact that the Align enum now requires more bits (this bit could do with being reviewed as I am not 100% certain that it's valid to just update the test like this).

### Changes not made
- Any attempt to improve the spec-compliance of content alignment in general (e.g. I think facebook/yoga#1013 probably still needs to happen)

X-link: facebook/yoga#1422

Reviewed By: yungsters

Differential Revision: D50305438

Pulled By: NickGerleman
Summary:

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50347728

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9a03e99.

@github-actions
Copy link

Warnings
⚠️

E2E tests for ci/circleci: test_e2e_ios failed with errors. See the logs for details

⚠️

E2E tests for ci/circleci: test_e2e_ios failed with errors. See the logs for details

Generated by 🚫 dangerJS against b37ec4e

Othinn pushed a commit to Othinn/react-native that referenced this pull request Oct 30, 2023
Summary:
Pull Request resolved: facebook#41021

Yoga has generated public `ToString` functions for enums already. Don't duplicate in Fabric.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D50347728

fbshipit-source-id: 353106091eb5a5ab6e98a816da876bb4ccadbd29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants