Mehmet Fidanboylu
dd2c5a1b8b
Plumbing for setting domain network policy ( #20218 )
2020-08-13 07:26:43 -07:00
stuartmorgan
2bc0bfdab4
Send locale information in the macOS embedding ( #20461 )
...
Queries the system list of user-preferred languages, and sends it to the
engine just after starting it up, as well as after any OS locale change.
macOS portion of https://github.com/flutter/flutter/issues/45152
2020-08-12 19:31:22 -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
Kaushik Iska
43067ed4fc
engineCallbackOnPresent should return false if glContext is invalid ( #20337 )
...
Co-authored-by: Kaushik Iska <kaushikiska@google.com>
2020-08-10 16:44:20 -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
DongXu
fa16c3d0ba
iOS external texture supports rendering NV12 pixelbuffer ( #20082 )
2020-08-03 11:20:45 -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
Siva
b955e15ee9
Manual roll of Dart from 24c7666def...40fd1c456e ( #20092 )
...
* Manual roll of Dart from 24c7666def...40fd1c456e
dart-lang/sdk@40fd1c456e Revert "[dart:io] Add Abort() on HttpClientRequest"
dart-lang/sdk@17d7296a42 [vm/nnbd/bytecode] Fix reuse of type arguments in bytecode
dart-lang/sdk@58b6f40c73 Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns. (reland)
dart-lang/sdk@fc8a6d9f9b [VM/compiler] Dereference TypeRef literal when propagating constants.
dart-lang/sdk@0689ec527a Move "test.dart" (well, most of its contents) into pkg/test_runner.
dart-lang/sdk@1094b3c61d Prepare static error test updater tool to handle web tests.
dart-lang/sdk@b258585f2f [observatory] Migrate from deprecated isInstanceOf to isA.
dart-lang/sdk@dfe1d9b682 Disable OverrideContributor for Cider.
dart-lang/sdk@aea99b2f5c scope debug property assist to Diagnosticables
dart-lang/sdk@4b96f20a79 [dart:io] Add Abort() on HttpClientRequest
dart-lang/sdk@1b1a39708c [build] Use frameworks instead of libs
dart-lang/sdk@3fef522496 Revert "Reland "[vm] Replaces fuchsia.deprecatedtimezone""
dart-lang/sdk@8c664d4f3f Revert "Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns."
dart-lang/sdk@2efb5bebc7 [ dart:_http ] Fix typo in HTTP response timeline event
dart-lang/sdk@0884dae36c Revert "Fix the #include path for ICU headers"
dart-lang/sdk@5171534e81 Scope tweaks. Report REFERENCED_BEFORE_DECLARATION in more places.
dart-lang/sdk@6bba75079a Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns.
dart-lang/sdk@b4ebbb7f5c [build] Update gn to match Fuchsia
dart-lang/sdk@cb428a7a02 [dart2js] Remove old bug work around in collector.
dart-lang/sdk@08663c20ab Change flutter patch to match existing DEPS on master branch
dart-lang/sdk@146ad014d9 update js/meta for the 2.10 dev sdk
dart-lang/sdk@488c718793 [co19] Roll co19 to d79951e06e443213243e54c2c32694b79a221b65
dart-lang/sdk@ba20edd7be Add patch for flutter-engine when changing to version 2.10
* Rev buildroot to latest version.
* Update license.
* update.
* Update gn revision.
* Format BUILD.gn files as the gn revision has been updated.
2020-07-29 13:10:15 -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
Emmanuel Garcia
933c8b8441
bool SubmitFrame -> void SubmitFrame ( #18984 )
2020-07-23 16:16:02 -07:00
Todd Volkert
48f90888a6
Add support for playing alert sound on MacOS ( #19970 )
...
flutter/flutter#62143
2020-07-23 14:00:13 -07:00
gaaclarke
21efd7325e
Made the linter print out more information in its output and fixed bugs ( #19895 )
2020-07-22 15:38:09 -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
Tong Mu
fbef051f5c
Add all system cursors (engine) ( #19550 )
...
* Support all system cursors in WIn, Linux, mac, Web and Android.
2020-07-15 15:37:18 -07:00
David Worsham
fef0fccb79
Fix Mac / iOS builds ( #19728 )
2020-07-13 18:34:49 -07:00
David Worsham
9353692cdb
fuchsia: Enable most unittests ( #19583 )
...
Tweak the primary flutter build rule so that fuchsia is more similar to
other platforms in how tests and the shell are built.
Only embedder_unittests and GLFW tests are disabled on Fuchsia now.
TEST: Ran unittests on host/fuchsia; workstation on fuchsia
BUG: fxb/53847, fxb/54056
2020-07-13 17:36:19 -07:00
Andy Weiss
015f2ea765
Use the main bundle if the App bundle is not found ( #18749 )
...
It looks like half the code in this function was updated to use the
main bundle but this one line was still only using the _dartBundle. I am
pretty sure that is a mistake and instead we want to use the mainBundle
as a backup both to find the plist and to find the assets.
2020-07-11 21:08:27 -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
Emmanuel Garcia
b990ad11bd
Implement external view embedder on Android ( #19033 )
...
The external view embedder allows to embed Android views in a Flutter app.
2020-06-20 12:51:55 -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
zljj0818
f9eeee310c
Poor video scaling quality #53080 ( #18814 )
...
Use bilinear instead of nearest filter to draw surface texture
Related Issues:
https://github.com/flutter/flutter/issues/53080
Tests:
- TextureLayerTest
2020-06-17 11:14:05 -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
Todd Volkert
7e6c856ea0
Add support for horizontalDoubleArrow and verticalDoubleArrow cursors ( #18916 )
2020-06-10 07:17:11 -07:00
Dan Field
096dab8be9
fix build ( #18950 )
2020-06-09 20:47:48 -07:00
David Worsham
66d85bceb7
Move Surface and friends to flow/ ( #18938 )
2020-06-09 16:03:01 -07:00