chunhtai
2a12d78c17
Fixed ios layout change to not refocus semantics object if the focus … ( #21029 )
...
* Fixed ios layout change to not refocus semantics object if the focus is outside of flutter
* update
* addressing comments
2020-09-09 15:39:21 -07:00
Chinmay Garde
f0fb74b8fb
Avoid crashing and display error if the process cannot be prepared for JIT mode Dart VM. ( #20980 )
2020-09-08 13:41:31 -07:00
xster
09a5bf7acf
Tweak the mdns error message ( #20991 )
2020-09-08 10:54:42 -07:00
gaaclarke
5047e5adbe
Started printing out error messages when the observatory won't be reachable because of permissions problems. ( #20960 )
2020-09-03 14:05:47 -07:00
LongCatIsLooong
9d6152ccc7
Fix iOS text field input keyboard flickering & crash ( #20805 )
2020-09-03 13:55:02 -07:00
Mehmet Fidanboylu
569fd19357
Reland "Pass platform configuration to Dart VM for insecure socket policy ( #20733 )"
...
This reverts commit 77dd1c05b99d137b5b348598f69ec75c93e0a433.
2020-08-27 14:23:31 -07:00
renyou
77dd1c05b9
Revert "Pass platform configuration to Dart VM for insecure socket policy ( #20733 )" ( #20812 )
...
This reverts commit d241105d7a840a7ba88bc2c0ce4a9f415f83aaab.
2020-08-27 08:23:30 -07:00
chunhtai
8308b6ad8c
Avoid passing nil to IOS accessibility announcement ( #20700 )
2020-08-26 10:38:03 -07:00
Mehmet Fidanboylu
d241105d7a
Pass platform configuration to Dart VM for insecure socket policy ( #20733 )
2020-08-25 10:56:03 -07:00
Chris Yang
1c13abaab1
The ForwardingGestureRecognizers to have back reference to the PlatformViewsController so it can access FlutterViewController when its available ( #20708 )
2020-08-24 12:41:02 -07:00
Chris Yang
e7136c3f59
Ensure threads are merged when tearing down the Rasterizer ( #19919 )
2020-08-19 08:31:01 -07:00
Mehmet Fidanboylu
3aff256928
Enable iOS plumbing for network security and add tests ( #20492 )
2020-08-16 21:20:26 -07:00
gaaclarke
f60e836968
Started stubbing in the FlutterView property of the mock ( #20542 )
...
FlutterViewControllers.
2020-08-15 21:03:20 -07:00
gaaclarke
0cda2931e5
Fixed the accessibility ios unit tests by sending in mock view ( #20522 )
...
controllers instead of views.
2020-08-14 10:42:21 -07:00
Dan Field
6d44559b7d
Remove the dummy rasterizer delegate now that flutter_runner is in tree, and cleanup ctor params ( #20486 )
2020-08-13 14:46:01 -07:00
xster
0c504da039
Refactor initial route code take 2 ( #20468 )
2020-08-13 14:18:11 -07:00
Mehmet Fidanboylu
dd2c5a1b8b
Plumbing for setting domain network policy ( #20218 )
2020-08-13 07:26:43 -07:00
gaaclarke
2ac5b3460a
Revert "Refactor initial route code ( #19684 )" ( #20450 )
...
This reverts commit 8d08e6c369e349986831d83204a79af3fcb8d8ca.
2020-08-12 12:43:08 -07:00
xster
8d08e6c369
Refactor initial route code ( #19684 )
2020-08-11 19:52:04 -07:00
LongCatIsLooong
33a68818c5
[iOS TextInput] Fixes selection clamping & composing range change logic ( #20348 )
2020-08-10 09:45:36 -07:00
chunhtai
aea9046b5c
fix ios layout change cause the accessibility focus to jump randomly. ( #20167 )
...
* fix ios layout change cause the accessibility focus to jump randomly.
* format
* addressing review comments
2020-08-05 16:32:59 -07:00
gaaclarke
d36c65c984
refactored the accessibility bridge to have a view controller instead of a view ( #18800 )
2020-08-05 10:00:52 -07:00
Justin McCandless
11964ec300
Clipboard hasStrings method on iOS ( #19859 )
...
* Implement Clipboard hasStrings method on iOS
* Test call to hasStrings
* Formatting fixes
* Move test to its own file
* Alphabetical order
* Update licenses
* arguments nil instead of empty dictionary
* Guarantee hasStrings will be true when tested
* Formatting
2020-08-03 16:08:52 -07:00
Chris Yang
02d71d60ef
Use a single mask view to clip iOS platform view ( #20050 )
2020-08-03 10:07:19 -07:00
Greg Spencer
98cfd1db78
Move platform specific information to PlatformConfiguration class ( #19652 )
2020-07-31 17:21:02 -07:00
Justin McCandless
fcc1eaf8ff
Fix iOS Keyboard stuck as UIKeyboardTypeNamePhonePad ( #20181 )
...
P0 bug fix
2020-07-31 11:57:48 -07:00
LongCatIsLooong
f2b02d8fd5
[iOS] Fixes text input plugin crash ( #20127 )
2020-07-30 11:32:49 -07:00
Adlai Holler
c57aff1800
Use the GrDirectContext factories instead of deprecated GrContext ones ( #19962 )
...
This is part of a larger effort to expose the difference between GrDirectContext,
which runs on the GPU thread and can directly perform operations like uploading
textures, and GrRecordingContext, which can only queue up work to be delivered
to the GrDirectContext later.
2020-07-28 13:32:09 -07:00
LongCatIsLooong
d96371e03f
Add autofill save for iOS and Android ( #18643 )
2020-07-28 10:23:55 -07:00
chunhtai
48a6fde39f
fix On iOS, dialog titles are announced twice ( #19826 )
2020-07-17 11:16:51 -07:00
Justin McCandless
d327828632
Fix loss of negative text selection ranges ( #19785 )
...
iOS now matches Android behavior in that empty selections put the cursor at the start of the field.
2020-07-17 08:10:05 -07:00
Dan Field
3d104f4364
remove obsolete check on FlutterPlatformViewsController::OnCreate ( #19819 )
...
* remove obsolete check
* FML_DCHECK flutter_view_ in methods that actually use it
2020-07-16 15:37:10 -07:00
chunhtai
5a25a28174
Makes IOS dispatch showOnCcreen action for header semantics nodes ( #19788 )
...
* Makes IOS dispatchs showOnCcreen action for header semantics nodes
* update
* format
2020-07-16 11:00:28 -07:00
gaaclarke
9345347587
Added the ability to set properties in interface builder for FlutterViewController. ( #19458 )
2020-07-09 17:23:32 -07:00
gaaclarke
41c503cc23
Changed iOS channels to start cleaning up the accessibility handler when the bridge is deleted ( #19556 )
...
Started cleaning up the accessibility handler when the bridge is
deleted and made nilling out channels safer by making sure they don't
overwrite newly setup handlers.
2020-07-08 13:26:29 -07:00
Dan Field
eab9b7f2a4
Call Dart_NotifyLowMemory more on iOS ( #19289 )
2020-07-08 04:44:03 -07:00
Chinmay Garde
0dc86cda19
Only attempt surface creation in viewDidLayoutSubviews if the application is active. ( #19592 )
...
UIKit does not guarantee that the application is in the active state when it
lays out it subviews. However, in `viewDidLayoutSubviews`, Flutter attempts to
create the render surface and wait for the first frame. These operations require
GPU access which is forbidden when in the background on iOS. This layout while
in the background only seems to happen under very specific circumstances as
described in the reproducible test case. Notably, this behavior cannot be
reproduced when the application is just launched with the "Background Fetch"
XCode run scheme. The other instance of invocations to create the rendering
surface have been audited and I can confirm that those are already in the
correct lifecycle callbacks. This was the only instance where the surface
creation was in a non-lifecycle callback.
Fixes https://github.com/flutter/flutter/issues/55969
(This issue has a clear reproducible test case and was used as the basis for
verification.)
Fixes https://github.com/flutter/flutter/issues/57676
(This is significantly harder to reproduce but the issue looks to be the same. I
tried this patch on multiple devices overnight and could not reproduce this.)
This underlying cause here was identified by the enhanced GPU error reporting
introduced in iOS 14. I am not able to submit those patches because the Beta
builders are not available on infra. I will submit those when available so that
issues like this have more actionable error messages in the future.
2020-07-07 17:14:01 -07:00
David Worsham
4cd3ec077d
Fix broken mac/fuchsia compiles ( #19339 )
2020-06-26 14:53:54 -07:00
Emmanuel Garcia
24d2143b98
EndFrame should be always called by rasterizer ( #19257 )
2020-06-24 14:02:48 -07:00
gaaclarke
2a9fed87a7
Made [SemanticsObject setAccessibilityContainer] a noop. ( #19249 )
2020-06-23 20:34:48 -07:00
Chris Yang
5b1b59a34d
Reland "Add GetBoundingRectAfterMutations to EmbeddedViewParams to calculate the final bounding rect for platform view #19170 " ( #19212 )
2020-06-22 15:10:02 -07:00
LongCatIsLooong
db4801c1e8
[iOS] text input methods to only call updateEditState once ( #19161 )
2020-06-22 09:37:29 -07:00
Brian Osman
9cecc5f115
Revert "Add GetBoundingRectAfterMutations to EmbeddedViewParams to calculate the final bounding rect for platform view ( #19170 )" ( #19204 )
...
This reverts commit f5c315fe56f5fa67503ffbc9282edc086921aaa3.
2020-06-22 07:30:59 -04:00
Chris Yang
f5c315fe56
Add GetBoundingRectAfterMutations to EmbeddedViewParams to calculate the final bounding rect for platform view ( #19170 )
2020-06-21 21:01:53 -07:00
Wu Zhong
d7d9e8b76f
Fixes FlutterEngine internal retain cycle ( #18595 )
2020-06-17 15:33:49 -07:00
LongCatIsLooong
e70c87d626
[iOS] handle text plugin negative range ( #19068 )
2020-06-17 11:38:03 -07:00
Gary Qian
3a96741247
Platform resolved locale and Android localization refactor ( #18645 )
2020-06-16 04:29:50 -07:00
gaaclarke
ca2a370578
started polling the gpu usage ( #18752 )
2020-06-15 16:48:14 -07:00
gaaclarke
c00882a71a
updated tests names ( #18966 )
2020-06-15 13:25:00 -07:00
Wu Zhong
0e8f89cd71
Fixes UI freezes when multiple Flutter VC shared one engine ( #18816 )
...
Co-authored-by: Aaron Clarke <aaclarke@google.com>
2020-06-10 10:22:38 -07:00