-
Notifications
You must be signed in to change notification settings - Fork 25k
Convert TextLayoutManager to Kotlin and Make Internal #51966
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
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D76444163 |
|
This pull request was exported from Phabricator. Differential Revision: D76444163 |
Summary: Pull Request resolved: facebook#51966 This starts off mechanically, but needed a couple changes: 1. Some null handling changes to `TextTransform` internals 2. We type MapBuffer keys as `Int` instead of `Short`, because Kotlin does not allow the implicit widening cast that Java does. I also made these internal 3. Some shifts around casting 4. Mark TextLayoutManager internal, and remove usages of `UnstableReactNativeAPI` I verified that there were no usages of the Java side of TextLayoutManager throughout `react-native-libraries`, so marking TextLayoutManager internal is unlikely to break 3p libraries. Changelog: [Android][Breaking] - Make Java Side TextLayoutManager Internal Differential Revision: D76444163
544a356 to
3899ead
Compare
|
This pull request was exported from Phabricator. Differential Revision: D76444163 |
Summary: Pull Request resolved: facebook#51966 This starts off mechanically, but needed a couple changes: 1. Some null handling changes to `TextTransform` internals 2. We type MapBuffer keys as `Int` instead of `Short`, because Kotlin does not allow the implicit widening cast that Java does. I also made these internal 3. Some shifts around casting 4. Mark TextLayoutManager internal, and remove usages of `UnstableReactNativeAPI` I verified that there were no usages of the Java side of TextLayoutManager throughout `react-native-libraries`, so marking TextLayoutManager internal is unlikely to break 3p libraries. Changelog: [Android][Breaking] - Make Java Side TextLayoutManager Internal Differential Revision: D76444163
3899ead to
9e6b2cd
Compare
|
This pull request was exported from Phabricator. Differential Revision: D76444163 |
9e6b2cd to
2003d53
Compare
Summary: Pull Request resolved: facebook#51966 This starts off mechanically, but needed a couple changes: 1. Some null handling changes to `TextTransform` internals 2. We type MapBuffer keys as `Int` instead of `Short`, because Kotlin does not allow the implicit widening cast that Java does. I also made these internal 3. Some shifts around casting 4. Mark TextLayoutManager internal, and remove usages of `UnstableReactNativeAPI` I verified that there were no usages of the Java side of TextLayoutManager throughout `react-native-libraries`, so marking TextLayoutManager internal is unlikely to break 3p libraries. Changelog: [Android][Breaking] - Make Java Side TextLayoutManager Internal Differential Revision: D76444163
Summary: Pull Request resolved: facebook#51966 This starts off mechanically, but needed a couple changes: 1. Some null handling changes to `TextTransform` internals 2. We type MapBuffer keys as `Int` instead of `Short`, because Kotlin does not allow the implicit widening cast that Java does. I also made these internal 3. Some shifts around casting 4. Mark TextLayoutManager internal, and remove usages of `UnstableReactNativeAPI` I verified that there were no usages of the Java side of TextLayoutManager throughout `react-native-libraries`, so marking TextLayoutManager internal is unlikely to break 3p libraries. Changelog: [Android][Breaking] - Make Java Side TextLayoutManager Internal Differential Revision: D76444163
|
This pull request was exported from Phabricator. Differential Revision: D76444163 |
2003d53 to
9081c4c
Compare
|
This pull request was successfully merged by @NickGerleman in e82a677 When will my fix make it into a release? | How to file a pick request? |
|
This pull request has been merged in e82a677. |
Summary:
This starts off mechanically, but needed a couple changes:
TextTransforminternalsIntinstead ofShort, because Kotlin does not allow the implicit widening cast that Java does. I also made these internalUnstableReactNativeAPII verified that there were no usages of the Java side of TextLayoutManager throughout
react-native-libraries, so marking TextLayoutManager internal is unlikely to break 3p libraries.Changelog:
[Android][Breaking] - Make Java Side TextLayoutManager Internal
Differential Revision: D76444163