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 #1449

Closed
wants to merge 1 commit into from

Conversation

NickGerleman
Copy link
Contributor

Summary:
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/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
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
@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
5. Move JNI bindings fully to public API

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
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
@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 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
@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 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 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
@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/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
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
Copy link
Contributor

This pull request has been merged in c46ea9c.

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
facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Nov 11, 2023
Summary:
Pull Request resolved: #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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants