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 RCTSurfaceSizeMeasureMode from public contract of RCTSurfaceHostingProxyRootView #38866

Closed
wants to merge 1 commit into from

Conversation

philIip
Copy link
Contributor

@philIip philIip commented Aug 8, 2023

Summary:
Changelog: [Internal]

All callsites to initWithSurface:sizeMeasureMode:moduleRegistry pass down RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact. since that's the case, let's simplify the constructor since initWithSurface: passes that value by default.

Differential Revision: D48140102

@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 Aug 8, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Aug 8, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,948,137 +13
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 9,541,969 +13
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 676676c
Branch: main

philIip added a commit to philIip/react-native that referenced this pull request Aug 8, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

Changelog: [Internal]

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Differential Revision: D48140102

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

philIip added a commit to philIip/react-native that referenced this pull request Aug 8, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

Changelog: [Internal]

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Differential Revision: D48140102

fbshipit-source-id: 62218abe97eb2152865f5581e016af32ad636249
philIip added a commit to philIip/react-native that referenced this pull request Aug 9, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

Changelog: [Internal]

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Differential Revision: D48140102

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

philIip added a commit to philIip/react-native that referenced this pull request Aug 9, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

Changelog: [Internal]

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Differential Revision: D48140102

fbshipit-source-id: 0de00d67b8dd2327de885b973df185704ae9e49d
philIip added a commit to philIip/react-native that referenced this pull request Aug 9, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

Changelog: [Internal]

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Differential Revision: D48140102

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

philIip added a commit to philIip/react-native that referenced this pull request Aug 9, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

Changelog: [Internal]

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Differential Revision: D48140102

fbshipit-source-id: ac93361423c2fdfce0557482a5e30172b8107b29
philIip added a commit to philIip/react-native that referenced this pull request Aug 9, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

Changelog: [Internal]

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Differential Revision: D48140102

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

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

philIip added a commit to philIip/react-native that referenced this pull request Aug 10, 2023
Summary:
Pull Request resolved: facebook#38869

## Changelog:

[iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Reviewed By: mdvacca, cipolleschi

Differential Revision: D48140317

fbshipit-source-id: d87ea48f911de08e260c2c12cc5141565afb084a
philIip added a commit to philIip/react-native that referenced this pull request Aug 10, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

## Changelog:

[iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Reviewed By: sammy-SC, cipolleschi

Differential Revision: D48140102

fbshipit-source-id: 976579779f531083a639bda3eb514feba99f4047
philIip added a commit to philIip/react-native that referenced this pull request Aug 16, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

## Changelog:

[iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Reviewed By: sammy-SC, cipolleschi

Differential Revision: D48140102

fbshipit-source-id: a3f8ae019be5454c7dd04a81b66eeb98fafbea01
philIip added a commit to philIip/react-native that referenced this pull request Aug 16, 2023
Summary:
Pull Request resolved: facebook#38869

## Changelog:

[iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Reviewed By: mdvacca, cipolleschi

Differential Revision: D48140317

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

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

philIip added a commit to philIip/react-native that referenced this pull request Aug 16, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

## Changelog:

[iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Reviewed By: sammy-SC, cipolleschi

Differential Revision: D48140102

fbshipit-source-id: cf5b95ae6e9fe05fbb4e838e7e8b4ed089e0fc56
philIip added a commit to philIip/react-native that referenced this pull request Aug 16, 2023
Summary:
Pull Request resolved: facebook#38869

## Changelog:

[iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Reviewed By: mdvacca, cipolleschi

Differential Revision: D48140317

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

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

philIip added a commit to philIip/react-native that referenced this pull request Aug 16, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

## Changelog:

[iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Reviewed By: sammy-SC, cipolleschi

Differential Revision: D48140102

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

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

philIip added a commit to philIip/react-native that referenced this pull request Aug 16, 2023
Summary:
Pull Request resolved: facebook#38869

## Changelog:

[iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Reviewed By: mdvacca, cipolleschi

Differential Revision: D48140317

fbshipit-source-id: 382fc9363e238cf391557a2bc76daada65aed2c9
philIip added a commit to philIip/react-native that referenced this pull request Aug 16, 2023
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

## Changelog:

[iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Reviewed By: sammy-SC, cipolleschi

Differential Revision: D48140102

fbshipit-source-id: 40c45309354926d6f8b3eb36fc78b8db4cc7cc2a
…stingProxyRootView (facebook#38866)

Summary:
Pull Request resolved: facebook#38866

## Changelog:

[iOS][Breaking] - Remove sizeMeasureMode argument from RCTSurfaceHostingProxyRootView constructor

All callsites to `initWithSurface:sizeMeasureMode:moduleRegistry` pass down `RCTSurfaceSizeMeasureModeWidthExact | RCTSurfaceSizeMeasureModeHeightExact`. since that's the case, let's simplify the constructor since `initWithSurface:` passes that value by default.

Reviewed By: sammy-SC, cipolleschi

Differential Revision: D48140102

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

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

@github-actions
Copy link

This pull request was successfully merged by @philIip in 0d83c1a.

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 Aug 17, 2023
facebook-github-bot pushed a commit that referenced this pull request Aug 18, 2023
Summary:
Pull Request resolved: #38869

## Changelog:

[iOS][Breaking]- After [#38866](#38866) and [#38868](#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Reviewed By: mdvacca, cipolleschi

Differential Revision: D48140317

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

This pull request has been reverted by f2b1024.

philIip added a commit to philIip/react-native that referenced this pull request Aug 22, 2023
Summary:
## Changelog:

[iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Differential Revision: D48577192

fbshipit-source-id: 94b59ed242b13547f0678c9f5616c33c021f840e
philIip added a commit to philIip/react-native that referenced this pull request Aug 22, 2023
Summary:
Pull Request resolved: facebook#39118

## Changelog:

[iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Differential Revision: D48577192

fbshipit-source-id: a7b246ec990495ed149a5bd9f71197b675574e44
philIip added a commit to philIip/react-native that referenced this pull request Aug 23, 2023
Summary:
Pull Request resolved: facebook#39118

## Changelog:

[iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Reviewed By: christophpurrer

Differential Revision: D48577192

fbshipit-source-id: 789b96d2872448a49621184906be63164edd4788
philIip added a commit to philIip/react-native that referenced this pull request Aug 23, 2023
Summary:
Pull Request resolved: facebook#39118

## Changelog:

[iOS][Breaking]- After [facebook#38866](facebook#38866) and [facebook#38868](facebook#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Reviewed By: christophpurrer

Differential Revision: D48577192

fbshipit-source-id: 8726dc0cff60542e8429aae1d15a8e793b2f2c1f
facebook-github-bot pushed a commit that referenced this pull request Aug 23, 2023
Summary:
Pull Request resolved: #39118

## Changelog:

[iOS][Breaking]- After [#38866](#38866) and [#38868](#38868), these are not needed anymore. instead of depending on the host view and overriding `createSurfaceWithBridge:` in a subclass create a specialized surface, we just rely on composition instead and provide a surface to the hosting view.

Reviewed By: christophpurrer

Differential Revision: D48577192

fbshipit-source-id: 8dbc96f1844d0ca1ed603cbe446575571c5f3e3b
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 Reverted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants