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

Remove usage of Gutters arrays and YGGutter as index #39597

Closed
wants to merge 1 commit into from

Conversation

NickGerleman
Copy link
Contributor

Summary:
Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

@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 labels Sep 22, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Sep 22, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 16,902,229 -595
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 20,380,986 -605
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: f174f02
Branch: main

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 22, 2023
Summary:
X-link: facebook/react-native#39597

Pull Request resolved: facebook#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

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

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 22, 2023
Summary:
Pull Request resolved: facebook#39597

X-link: facebook/yoga#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

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

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 26, 2023
Summary:
Pull Request resolved: facebook#39597

X-link: facebook/yoga#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

fbshipit-source-id: 9a12dd475febd50e3c52b35c15c040bf038ffe9a
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 26, 2023
Summary:
X-link: facebook/react-native#39597

Pull Request resolved: facebook#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

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

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 26, 2023
Summary:
Pull Request resolved: facebook#39597

X-link: facebook/yoga#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

fbshipit-source-id: 3fe0dcdd7f78339b9c4af352df6eed4171fab0d7
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 26, 2023
Summary:
X-link: facebook/react-native#39597

Pull Request resolved: facebook#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

fbshipit-source-id: cd7064c70cee9715625d17746b805f6269ab825e
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 28, 2023
Summary:
X-link: facebook/react-native#39597

Pull Request resolved: facebook#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

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

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 28, 2023
Summary:
Pull Request resolved: facebook#39597

X-link: facebook/yoga#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Differential Revision: D49530923

fbshipit-source-id: 6d703fd06a37f2ec9df4da4a7209b8ca2babdce6
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Oct 3, 2023
Summary:
X-link: facebook/react-native#39597


Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Reviewed By: rshest

Differential Revision: D49530923
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 3, 2023
Summary:

X-link: facebook/yoga#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Reviewed By: rshest

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

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 3, 2023
Summary:

X-link: facebook/yoga#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Reviewed By: rshest

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

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

Summary:

X-link: facebook/yoga#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Reviewed By: rshest

Differential Revision: D49530923
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Oct 3, 2023
Summary:
X-link: facebook/react-native#39597


Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Reviewed By: rshest

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

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

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Warnings
⚠️ One hour and a half have passed and the E2E jobs haven't finished yet.

Generated by 🚫 dangerJS against af6720d

facebook-github-bot pushed a commit to facebook/yoga that referenced this pull request Oct 3, 2023
Summary:
X-link: facebook/react-native#39597

Pull Request resolved: #1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Reviewed By: rshest

Differential Revision: D49530923

fbshipit-source-id: 47b06a7301fb283acc493dba159f496159d59580
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

This pull request was successfully merged by @NickGerleman in 4da0d44.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions bot added the Merged This PR has been merged. label Oct 3, 2023
facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Oct 3, 2023
Summary:
X-link: facebook/react-native#39597

X-link: facebook/yoga#1406

Similar in vain to D49362819, we want to stop exposing pre-resolved CompactValue, and allow enum class usage without becoming annoying.

This also simplifies gap resolution a bit. I moved this to Style, to make it clear we aren't relying on any node state. I plan to do some similar cleanup for other resolution later.

Reviewed By: rshest

Differential Revision: D49530923

fbshipit-source-id: 47b06a7301fb283acc493dba159f496159d59580
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.

3 participants