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

Modularize and document public API #41317

Closed
wants to merge 1 commit into from

Conversation

NickGerleman
Copy link
Contributor

Summary:
X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:

  1. Documenting most public APIs
  2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
  3. Reordering headers and definitions for consistent grouping
  4. Removed Yoga-internal.h, making all top-level headers public. YGNodeDeallocate is folded into a public YGNodeFinalize API
  5. Move JNI bindings fully to public API

Differential Revision: D50963424

@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. fb-exported labels Nov 3, 2023
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 3, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting most public APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping
4. Removed `Yoga-internal.h`, making all top-level headers public. `YGNodeDeallocate` is folded into a public `YGNodeFinalize` API
5. Move JNI bindings fully to public API

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

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting most public APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping
4. Removed `Yoga-internal.h`, making all top-level headers public. `YGNodeDeallocate` is folded into a public `YGNodeFinalize` API
5. Move JNI bindings fully to public API

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 3, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting most public APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping
4. Removed `Yoga-internal.h`, making all top-level headers public. `YGNodeDeallocate` is folded into a public `YGNodeFinalize` API with its use-case documented
5. Move JNI bindings fully to public API

Changelog: [Internal]

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

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

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

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting most public APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping
4. Removed `Yoga-internal.h`, making all top-level headers public. `YGNodeDeallocate` is folded into a public `YGNodeFinalize` API with its use-case documented
5. Move JNI bindings fully to public API

Changelog: [Internal]

Differential Revision: D50963424
@analysis-bot
Copy link

analysis-bot commented Nov 3, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,653,454 -230
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,033,433 -212
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 0479beb
Branch: main

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 4, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting most public APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping
4. Removed `Yoga-internal.h`, making all top-level headers public. `YGNodeDeallocate` is folded into a public `YGNodeFinalize` API with its use-case documented
5. Move JNI bindings fully to public API

Changelog: [Internal]

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

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

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

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting most public APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping
4. Removed `Yoga-internal.h`, making all top-level headers public. `YGNodeDeallocate` is folded into a public `YGNodeFinalize` API with its use-case documented
5. Move JNI bindings fully to public API

Changelog: [Internal]

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 6, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting most public APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping
4. Removed `Yoga-internal.h`, making all top-level headers public. `YGNodeDeallocate` is folded into a public `YGNodeFinalize` API with its use-case documented
5. Move JNI bindings fully to public API

Changelog: [Internal]

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 6, 2023
Summary:

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting most public APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping
4. Removed `Yoga-internal.h`, making all top-level headers public. `YGNodeDeallocate` is folded into a public `YGNodeFinalize` API with its use-case documented
5. Move JNI bindings fully to public API

Changelog: [Internal]

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 6, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 6, 2023
Summary:

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 8, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 8, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 8, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 8, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 9, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 9, 2023
Summary:

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 10, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 10, 2023
Summary:

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 10, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 10, 2023
Summary:

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 10, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 10, 2023
Summary:

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 10, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

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

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

Summary:

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 11, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 11, 2023
Summary:
X-link: facebook/react-native#41317


This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

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

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

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

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424
facebook-github-bot pushed a commit to facebook/yoga that referenced this pull request Nov 11, 2023
Summary:
X-link: facebook/react-native#41317

Pull Request resolved: #1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424

fbshipit-source-id: 45124b7370256fc63aefd6d5b7641466e9a79d3b
facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Nov 11, 2023
Summary:
X-link: facebook/react-native#41317

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424

fbshipit-source-id: 45124b7370256fc63aefd6d5b7641466e9a79d3b
Copy link

This pull request was successfully merged by @NickGerleman in 5910032.

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 Nov 11, 2023
Othinn pushed a commit to Othinn/react-native that referenced this pull request Jan 9, 2024
Summary:
Pull Request resolved: facebook#41317

X-link: facebook/yoga#1449

This aims to clean up the public Yoga C API, by:
1. Documenting public YGNode, YGValue, YGConfig APIs
2. Splitting APIs for specific objects into different header files (because Yoga.h was big enough without documentation)
3. Reordering headers and definitions for consistent grouping

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D50963424

fbshipit-source-id: 45124b7370256fc63aefd6d5b7641466e9a79d3b
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