Skip to content

Retier react/renderer/textlayoutmanager headers (#58851) - #58851

Closed
j-piasecki wants to merge 2 commits into
react:mainfrom
j-piasecki:export-D123394863
Closed

j-piasecki wants to merge 2 commits into
react:mainfrom
j-piasecki:export-D123394863

Conversation

@j-piasecki

@j-piasecki j-piasecki commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Make TextMeasurementRounding.h private; it is only used by the iOS text layout manager and its tests. The Windows TextLayoutManager.h and TextLayoutUtil.h now reach LayoutConstraints.h and ContextContainer.h through the <React/RendererCore.h> and <React/Utils.h> umbrellas, matching the other platform variants, since both headers are public and reject direct includes from for-frameworks headers.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D123394863

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 5, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Oct 5, 2026
@meta-codesync

meta-codesync Bot commented Oct 5, 2026

Copy link
Copy Markdown

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D123394863.

@meta-codesync meta-codesync Bot changed the title Retier react/renderer/textlayoutmanager headers Retier react/renderer/textlayoutmanager headers (#58851) Oct 5, 2026
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Oct 5, 2026
Summary:

Make `TextMeasurementRounding.h` private; it is only used by the iOS text layout manager and its tests. The Windows `TextLayoutManager.h` and `TextLayoutUtil.h` now reach `LayoutConstraints.h` and `ContextContainer.h` through the `<React/RendererCore.h>` and `<React/Utils.h>` umbrellas, matching the other platform variants, since both headers are public and reject direct includes from for-frameworks headers.

Changelog: [Internal]

Differential Revision: D123394863
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Oct 5, 2026
Summary:

Make `TextMeasurementRounding.h` private; it is only used by the iOS text layout manager and its tests. The Windows `TextLayoutManager.h` and `TextLayoutUtil.h` now reach `LayoutConstraints.h` and `ContextContainer.h` through the `<React/RendererCore.h>` and `<React/Utils.h>` umbrellas, matching the other platform variants, since both headers are public and reject direct includes from for-frameworks headers.

Changelog: [Internal]

Differential Revision: D123394863
Summary:
Make `AppRegistryBinding.h`, `LayoutEventEmitter.h` and the deprecated `SurfaceRegistryBinding.h` private; they are only used inside React Native. `UIManagerViewTransitionDelegate.h` now reaches `Float.h` through the `<React/Graphics.h>` umbrella instead of including it directly, since `Float.h` is public and its guard rejects direct includes from for-frameworks headers.

Changelog: [Internal]

Differential Revision: D123391983
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Oct 9, 2026
Summary:

Make `TextMeasurementRounding.h` private; it is only used by the iOS text layout manager and its tests. The Windows `TextLayoutManager.h` and `TextLayoutUtil.h` now reach `LayoutConstraints.h` and `ContextContainer.h` through the `<React/RendererCore.h>` and `<React/Utils.h>` umbrellas, matching the other platform variants, since both headers are public and reject direct includes from for-frameworks headers.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D123394863
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Oct 9, 2026
Summary:

Make `TextMeasurementRounding.h` private; it is only used by the iOS text layout manager and its tests. The Windows `TextLayoutManager.h` and `TextLayoutUtil.h` now reach `LayoutConstraints.h` and `ContextContainer.h` through the `<React/RendererCore.h>` and `<React/Utils.h>` umbrellas, matching the other platform variants, since both headers are public and reject direct includes from for-frameworks headers.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D123394863
Summary:
Pull Request resolved: react#58851

Make `TextMeasurementRounding.h` private; it is only used by the iOS text layout manager and its tests. The Windows `TextLayoutManager.h` and `TextLayoutUtil.h` now reach `LayoutConstraints.h` and `ContextContainer.h` through the `<React/RendererCore.h>` and `<React/Utils.h>` umbrellas, matching the other platform variants, since both headers are public and reject direct includes from for-frameworks headers.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D123394863
@meta-codesync meta-codesync Bot closed this in 29953c1 Oct 9, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 9, 2026
@meta-codesync

meta-codesync Bot commented Oct 9, 2026

Copy link
Copy Markdown

This pull request has been merged in 29953c1.

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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant