3578 Commits

Author SHA1 Message Date
eggfly
517f61119f Avoid crashing when FlutterImageView is resized to zero dimension (flutter/engine#27946) 2021-08-09 19:25:01 -07:00
Brandon DeRosier
941f0a93cd Fix StandardMessageCodec test leaks (flutter/engine#27959) 2021-08-09 15:19:07 -07:00
Jenn Magder
693dd0381c Support iOS universal links route deep linking (flutter/engine#27874) 2021-08-09 14:35:11 -07:00
Emmanuel Garcia
1af82bec75 Fix memory leak in PlatformViewsController (flutter/engine#27915) 2021-08-09 12:50:02 -07:00
moko256
846c5c5beb UWP: Fix uwptools that does not uninstall package (flutter/engine#27694) 2021-08-09 10:24:41 -07:00
Matej Knopp
41a21b299b Do not call CoreWindow::Visible from raster thread (flutter/engine#27760) 2021-08-07 22:26:28 +02:00
ColdPaleLight
8b0b0ee703 Fix the SurfaceTexture related crash by Replacing the JNI weak global reference with a WeakReference<SurfaceTexture> (flutter/engine#27924) 2021-08-06 15:05:02 -07:00
eggfly
f1fd54b45a Implementation of two or more threads merging for multiple platform views (flutter/engine#27662)
Implementation of two or more threads merging for both lightweight multiple engines and standalone multiple engines.
2021-08-06 10:31:59 -07:00
xiaoxiaowesley
f4bfc0c5f7 fix crash SemanticsObject dealloc and access the children (flutter/engine#27786) 2021-08-05 20:30:02 -07:00
ColdPaleLight
396f7190b9 Prevent a race between SurfaceTexture.release and attachToGLContext (flutter/engine#27884) 2021-08-05 13:15:02 -07:00
ColdPaleLight
0620217342 Fix wrong EGL value in AndroidEnvironmentGL (flutter/engine#27878) 2021-08-05 13:10:01 -07:00
moko256
6b538a20bd fix a typo in https://github.com/flutter/engine/pull/27311 (flutter/engine#27687) 2021-08-05 13:05:02 -07:00
Jenn Magder
ef50866478 Unskip iOS launch URL tests (flutter/engine#27854) 2021-08-04 18:37:05 -07:00
David Worsham
b00c549840 Fix thread names + add test (flutter/engine#27897) 2021-08-04 18:05:02 -07:00
chunhtai
55e38ef779 Check a11y bridge alive before returning a11y container (flutter/engine#27865) 2021-08-04 08:30:02 -07:00
Emmanuel Garcia
09e80c18f1 Allow collapsed compositing range (flutter/engine#27869) 2021-08-03 13:20:02 -07:00
Jonah Williams
2cc2854964 Add GestureSettings and configure touch slop from Android ViewConfiguration (flutter/engine#27836) 2021-08-03 12:55:02 -07:00
Matej Knopp
daf0fb7387 Fix race condition in FlutterSurfaceManager (flutter/engine#27828) 2021-08-02 06:20:01 -07:00
Chris Bracken
8803824c64 Migrate all Python hashbangs to Python 3 (flutter/engine#27838)
Migrates all `#!/usr/bin/env python` hashbang lines to use python3.

Also updates the licence tool to treat python3 scripts on par with
python 2 scripts.

Issue: https://github.com/flutter/flutter/issues/83043
2021-07-31 11:09:12 -07:00
Matej Knopp
7cf7937a38 Do not generate keydown event for empty modifier flags (flutter/engine#27817)
* Do not generate keydown event for empty modifier flags

* Mask 0x100 bit instead of comparison

* Comment

* Update comment

* comment

* Add comment
2021-07-30 18:00:54 -07:00
Tong Mu
b2924176cc [Keyboard] Send empty key events when no key data should (flutter/engine#27774)
The keyboard system on each platform now sends an empty key data instead of nothing if no key data should be sent.
2021-07-30 13:35:39 -07:00
Kaushik Iska
6ac3632741 [fuchsia] Fix DynamicLibrary.open path on Fuchsia (flutter/engine#27819) 2021-07-30 11:19:18 -07:00
Jia Hao
8180d547f6 Revert "Revert "Use preDraw for the Android embedding (#27645)" (#27788)" (flutter/engine#27811) 2021-07-30 10:59:02 -07:00
Renzo Olivares
ceb3cb1d1a Add support for IME_FLAG_NO_PERSONALIZED_LEARNING on Android (flutter/engine#27691) 2021-07-29 23:04:02 -07:00
Zachary Anderson
407d7bbe5d Revert "Unskip iOS launch URL tests (#27777)" (flutter/engine#27802)
This reverts commit f52ef4b5e1ac158ee6f9643a1615d3d668f578f8.
2021-07-29 22:40:51 -07:00
Jenn Magder
f52ef4b5e1 Unskip iOS launch URL tests (flutter/engine#27777) 2021-07-29 13:14:02 -07:00
chunhtai
d1c5086b7e Sets accessibility panel title when route changes (flutter/engine#27713) 2021-07-29 10:34:01 -07:00
Jia Hao
014270f859 Revert "Use preDraw for the Android embedding (#27645)" (flutter/engine#27788)
This reverts commit bd6e47b7d0ac5ddda308e70a16b8f8e1d6c66e25.
2021-07-29 23:02:06 +08:00
Jia Hao
573de315ec Fix crash when splash screen is not specified for FlutterFragmentActivity (flutter/engine#27062) 2021-07-28 20:09:01 -07:00
Jia Hao
bd6e47b7d0 Use preDraw for the Android embedding (flutter/engine#27645) 2021-07-28 19:59:02 -07:00
Jason Simmons
27d018d498 Log all Skia trace events if the --trace-skia flag is passed (flutter/engine#27680) 2021-07-27 14:34:02 -07:00
Matej Knopp
9bfd5820b9 macOS: Do not use dispatch queue when canceling idle callback (flutter/engine#27732)
Fixes https://github.com/flutter/flutter/issues/86932

Relying on dispatch queue to bump call on main thread in this instance
is problematic because platform plugin can hold the dispatch queue.
Using performSelectorOnMainThread: instead works, because it is
processed by the CFRunLoop independent of dispatch queue.
2021-07-27 14:06:17 -07:00
wqyfavor
3ad5050003 Fix potential crash of frame management while merging threads for platform views. (flutter/engine#27695) 2021-07-27 09:09:02 -07:00
moko256
bd9583cd04 Windows: Implement GetPreferredLanguages for UWP and support l18n (flutter/engine#27311) 2021-07-23 16:41:57 -07:00
Kaushik Iska
a3b9412f5c Set AppStartUp UserTag from engine (flutter/engine#27646) 2021-07-23 13:31:02 -07:00
Jason Simmons
c2676c854e Remove an assertion in AndroidImageGenerator::Register that was dereferencing a null (flutter/engine#27674) 2021-07-23 12:39:01 -07:00
Hakkyu Kim
487b8743cb Removes unnecessary error message: "Invalid read in StandardCodecByteStreamReader" for cpp BasicMessageChannel (flutter/engine#26956) 2021-07-22 14:26:01 -07:00
Jaeheon Yi
0821f23495 [ui] Coerce DOWN pointer to inside the view. (flutter/engine#27632)
Floating point error can cause edge pointer coordinates to fall
slightly outside of the view's logical bounding box, causing a failure
of gesture recognition in Dart code. This patch coerces the DOWN pointer
to inside the logical view boundary.

https://github.com/flutter/flutter/issues/86882
2021-07-22 14:15:38 -07:00
Emmanuel Garcia
d39722bd71 Fix NPE and remove global focus listener when tearing down the view (flutter/engine#27655) 2021-07-22 13:58:09 -07:00
freiling
6ad8eb6ec7 [fuchsia] boot lockup debugging improvements (flutter/engine#27459) 2021-07-22 13:06:01 -07:00
Siva
ff9b2b6507 Uncomment terminate unit test (Dart side fix has rolled into the engine) (flutter/engine#27649) 2021-07-22 10:25:01 -07:00
Dan Field
298ab24bf5 Reland use a pbuffer surface when in the background (flutter/engine#27629)
* Reland "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (#27607)"

This reverts commit 78663924741a29aeca10648015e39db6fbd28be4.

* Do not let gradle download SDK deps
2021-07-21 15:07:35 -07:00
Brandon DeRosier
e2c58529b5 Add native Android image decoder supported by API 28+ (flutter/engine#26746) 2021-07-21 13:52:29 -07:00
Dan Field
c39eb51448 Fix android zip bundles (flutter/engine#27604) 2021-07-21 12:56:02 -07:00
George Wright
95afd688f9 Add a unit test for FlutterFrameBufferProvider (flutter/engine#27591) 2021-07-21 12:47:07 -07:00
Siva
3635ddb39f Comment out terminate unit test until fix lands in Dart. (flutter/engine#27625)
* Comment out terminate unit test until fix lands in Dart.

* Address review comments.
2021-07-21 12:24:16 -07:00
Tong Mu
1a71c70587 Update key mapping to the latest logical key values (flutter/engine#25883)
This PR updates the key mapping tables of every platform according to the change to keycode_gen.
2021-07-21 01:58:09 -07:00
Tamir Duberstein
1481993626 Add fuchsia.net.name.Lookup (flutter/engine#27595)
fuchsia.net.NameLookup is transitioning to fuchsia.net.name.Lookup.
2021-07-20 22:57:07 -07:00
Dan Field
7866392474 Revert "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141)" (flutter/engine#27607)
This reverts commit 9520cdc6c45bc45f8e944618a0ff641fd5f5429a.
2021-07-20 16:40:55 -07:00
Tamir Duberstein
8739c597bf Reformat manifests (flutter/engine#27603)
cmx: $FUCHSIA_DIR/scripts/style/json-fmt.py
cml: $FUCHSIA_DIR/out/default/host-tools/formatjson5 --replace
2021-07-20 16:19:36 -07:00