This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Migrate TextInputSemanticsObject to ARC #52785
Merged
auto-submit
merged 1 commit into
flutter:main
from
jmagman:TextInputSemanticsObject-arc
May 15, 2024
Merged
Migrate TextInputSemanticsObject to ARC #52785
auto-submit
merged 1 commit into
flutter:main
from
jmagman:TextInputSemanticsObject-arc
May 15, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmagman
commented
May 13, 2024
Comment on lines
+27
to
+31
@synthesize inputDelegate = _inputDelegate; | ||
@synthesize markedTextRange = _markedTextRange; | ||
@synthesize markedTextStyle = _markedTextStyle; | ||
@synthesize selectedTextRange = _selectedTextRange; | ||
@synthesize tokenizer = _tokenizer; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These UITextInput
properties were redeclared in the interface:
engine/shell/platform/darwin/ios/framework/Source/accessibility_text_entry.h
Lines 17 to 21 in 14fccda
@property(nonatomic, copy, readonly) NSMutableString* markedText; | |
@property(copy) UITextRange* selectedTextRange; | |
@property(nonatomic, strong, readonly) UITextRange* markedTextRange; | |
@property(nonatomic, copy) NSDictionary<NSAttributedStringKey, id>* markedTextStyle; | |
@property(nonatomic, assign) id<UITextInputDelegate> inputDelegate; |
Instead, swap to @synthesize
so the properties aren't redeclared.
feeb677
to
8422892
Compare
hellohuanlin
approved these changes
May 14, 2024
stuartmorgan-g
approved these changes
May 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
8422892
to
1454c39
Compare
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
May 15, 2024
auto-submit bot
pushed a commit
to flutter/flutter
that referenced
this pull request
May 15, 2024
…148428) flutter/engine@bf1c6da...41b86b5 2024-05-15 [email protected] Roll Skia from 475559da107d to b9a304eb05d2 (1 revision) (flutter/engine#52857) 2024-05-15 [email protected] Migrate TextInputSemanticsObject to ARC (flutter/engine#52785) 2024-05-15 [email protected] Roll Fuchsia Linux SDK from NbCi2ETfLHPLLB-JV... to Ftw7GopnudHydGS1y... (flutter/engine#52853) 2024-05-15 [email protected] Roll Dart SDK from 7d9de0c0b231 to f773d45634ed (2 revisions) (flutter/engine#52854) 2024-05-15 [email protected] Roll buildroot (flutter/engine#52826) 2024-05-15 [email protected] Roll Skia from 4a7419d662d5 to 475559da107d (5 revisions) (flutter/engine#52848) 2024-05-15 [email protected] Roll Skia from a9ba7411d4b2 to 4a7419d662d5 (1 revision) (flutter/engine#52844) 2024-05-15 [email protected] Roll Dart SDK from 1eec9de2f9c6 to 7d9de0c0b231 (1 revision) (flutter/engine#52841) 2024-05-15 [email protected] Roll Skia from b3aadd56d187 to a9ba7411d4b2 (1 revision) (flutter/engine#52839) 2024-05-15 [email protected] Roll Skia from c0caf10486ce to b3aadd56d187 (3 revisions) (flutter/engine#52837) 2024-05-15 [email protected] Roll Skia from fad584324d85 to c0caf10486ce (1 revision) (flutter/engine#52835) 2024-05-15 [email protected] Migrate SemanticsObject and FlutterSemanticsScrollView to ARC (flutter/engine#52824) 2024-05-15 [email protected] Roll Dart SDK from 0b77fbab8cf5 to 1eec9de2f9c6 (1 revision) (flutter/engine#52833) 2024-05-15 [email protected] Roll Skia from d0d87c26b489 to fad584324d85 (1 revision) (flutter/engine#52831) 2024-05-15 [email protected] Re-add `MipFilter::kBase`, but keep `kNearest` as the default. (flutter/engine#52779) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from NbCi2ETfLHPL to Ftw7GopnudHy If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
accessibility_text_entry.*
files toTextInputSemanticsObject.*
FlutterInactiveTextInput
interface from the header file into the implementation, the only place it's used.Blocked on
SemanticsObject
ARC migration #52824Part of flutter/flutter#137801.