1869 Commits

Author SHA1 Message Date
Dan Field
7c21151e64 SingleFrameCodec GetAllocationSize and ImageDescriptor.dispose (flutter/engine#26435) 2021-05-27 20:54:02 -07:00
chunhtai
d4cb4f3a3d support history entry replace in multi entries browser history (flutter/engine#26456) 2021-05-27 16:55:25 -07:00
Yegor
e4ed8ffcd8 Reclaim paragraph memory more aggressively (flutter/engine#26438)
* delete paragraphs between layout and render
2021-05-27 13:58:41 -07:00
Brandon DeRosier
3a80cfb8fd Use the image generator registry & protocol for resolving image decoders. (flutter/engine#26338)
This is a continuation of flutter/flutter#17356 and flutter/flutter#82603.
2021-05-26 15:46:38 -07:00
David Iglesias
4316a6b2ed [web] Ensure handleNavigationMessage can receive null arguments. (flutter/engine#26406) 2021-05-25 18:09:01 -07:00
Christopher Crawford
0ea34941c7 Add Dart SPIR-V transpiler (flutter/engine#25480) 2021-05-25 14:34:03 -07:00
Alexander Aprelev
67abe0b333 Reland "Provide better messaging when user attempts to use non-secure http connection. (#26226)" (flutter/engine#26400)
This reverts commit 6b463d837e120c70fc3c5dbf4535e19bbba5d228 as dart sdk with corresponding changes has landed in internal repo.
2021-05-25 09:08:23 -07:00
Alexander Aprelev
6b463d837e Revert "Provide better messaging when user attempts to use non-secure http connection. (#26226)" (flutter/engine#26371)
This reverts commit fbd8d578c659d0fd5c4bc268b2c95ca275187bd3 because it breaks g3 Fuchsia tests since g3 fuchsia doesn't have updated dart sdk.
2021-05-24 11:13:37 -07:00
Alexander Aprelev
fbd8d578c6 Provide better messaging when user attempts to use non-secure http connection. (flutter/engine#26226)
* Provide better message when user attempts to use non-secure http connection.

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-05-21 10:46:25 -07:00
Brandon DeRosier
a83c8ab61d Refactor: Group together externally-managed UIDartState. (flutter/engine#26247)
Group together externally-managed UIDartState.

It's a frequent pattern to enable access to shell resources from the
framework via UIDartState. These handles are passed through several
other objects, where they lay mostly dormant. This refactor just aims
to ease maintenance of this state.

UIDartState is essentially just an easy to extend bus for dropping
off the shell kids in UIDartState, with constructors/operators that
remove the need for providing a full initializer lists in unittests.
2021-05-20 18:01:53 -07:00
Yegor
40327d5d01 roll CanvasKit 0.27.0 (flutter/engine#26304) 2021-05-20 17:54:01 -07:00
David Iglesias
54d5f148ac [web] Render PlatformViews with SLOT tags. (flutter/engine#25747) 2021-05-20 17:29:01 -07:00
Yegor
e3646a04a3 recall the last frame in the animated image after resurrection (flutter/engine#26277) 2021-05-20 16:38:27 -07:00
Alexander Markov
28e7fbfd72 Cleanup toString transformer (flutter/engine#26298)
This change removes uses of toString transformer from Flutter engine. The transformer is already wired up in Dart SDK: front-end server from Dart SDK supports --delete-tostring-package-uri option. After this change only the integration test is left in the Flutter engine to make sure dart:ui is properly transformed.

dart-lang/sdk#46022
2021-05-20 13:11:23 -07:00
Ian Hickson
b1d5bc7fbb Let the framework toggle between single- and multi-entry histories (flutter/engine#26164) 2021-05-20 12:29:01 -07:00
Harry Terkelsen
c1eb1cf458 Fix CanvasKit SVG clipPath leak (flutter/engine#26227) 2021-05-19 17:50:53 -07:00
Yegor
119d24d270 fix mobile a11y placeholder (flutter/engine#26238) 2021-05-19 14:44:02 -07:00
Jonah Williams
75017d4e26 plumb frame number through to framework (flutter/engine#26233) 2021-05-19 09:59:01 -07:00
Hattomo (TomohiroHattori)
42830111e7 Adapt to avoid_escaping_inner_quotes lint (flutter/engine#25871) 2021-05-18 14:44:01 -07:00
Jim Graham
d96a378a31 Web ImageFilter.matrix support (flutter/engine#25982) 2021-05-17 15:44:01 -07:00
Brandon DeRosier
b9982cdec7 Add image generator registry (flutter/engine#25987)
Add image generator protocol and priority registry.

The protocol supports multi-frame images as well as optional
subpixel/downsampled decoding.
2021-05-17 12:12:46 -07:00
Yegor
a6cb19169a Reland "Fix a11y placeholder on desktop; auto-enable engine semantics" (flutter/engine#26134)
This reverts commit fa6511a20fe24e8f6b9d7dd699942dfc77f2c0ef.
2021-05-14 21:53:26 -07:00
Harry Terkelsen
bee2412969 Move CanvasKit files from parts to libraries (flutter/engine#26139) 2021-05-14 15:43:56 -07:00
Yegor
a790ebce3b web: improve engine dev cycle on Windows (flutter/engine#25812)
* felt.bat: simple incremental felt for Windows
2021-05-13 17:14:46 -07:00
Dan Field
e5527c55a9 Revert "SceneBuilder.addPicture returns the layer (#26074)" (flutter/engine#26133) 2021-05-13 15:44:02 -07:00
LongCatIsLooong
177d73babf add TextLeadingDistribution to webui TextStyle (flutter/engine#25777) 2021-05-13 15:29:02 -07:00
gaaclarke
4d98fd9744 Switch PlatformMessages to hold data in Mappings (flutter/engine#25867) 2021-05-13 10:28:25 -07:00
Harry Terkelsen
c02b879b3a Use cached CanvasKit instance if available (flutter/engine#26059)
* If CanvasKit has already been initialized, don't load it again.

This could be useful for hot restart or for DartPad.

* Don't redownload script if it is already loaded.

* trailing whitespace

* Touch up comments
2021-05-13 09:49:22 -07:00
Ferhat
96734d1ed4 Move more parts to libs. Move bitmap/dom canvas to /html (flutter/engine#26072) 2021-05-12 12:54:35 -07:00
Sam Rawlins
ab389f1427 Remove "unnecessary" imports. (flutter/engine#25736)
In each library where an import is removed, the library uses some elements
provided by the import, BUT there is another import which provides all of the
same elements, and at least one more which the library uses.

In this change, we remove the imports which can be simply removed in favor of
the other already present imports.

See https://github.com/dart-lang/sdk/issues/44569 for more information.
2021-05-12 09:24:50 -07:00
Dan Field
51f1eb4284 SceneBuilder.addPicture returns the layer (flutter/engine#26074) 2021-05-11 20:11:30 -07:00
David Iglesias
f008ec9958 [web] Resolve OS as iOs for iDevice Safari requesting desktop version of app. (flutter/engine#25957) 2021-05-11 13:59:01 -07:00
Ferhat
d9ba08c67b Revert "[web] Catch image load failures in --release builds (#25602)" (flutter/engine#26073)
This reverts commit 68aaf6df0a808f3cd407cc109172bb360d077d29.
2021-05-11 12:50:19 -07:00
Ferhat
68aaf6df0a [web] Catch image load failures in --release builds (flutter/engine#25602) 2021-05-11 09:17:14 -07:00
Yegor
848c588bf0 Fix a11y tab traversal (flutter/engine#25797)
* fix race with framework when using tab to traverse in a11y mode
2021-05-10 19:25:42 -07:00
Ferhat
b937510da2 Move parts to libraries (flutter/engine#26054) 2021-05-10 13:39:18 -07:00
Ferhat
093260e060 Remove debug print (flutter/engine#26051) 2021-05-10 13:32:18 -07:00
Dan Field
2e2d3b74a5 Make SceneBuilder.push* not return nullable objects (flutter/engine#25991) 2021-05-07 23:39:01 -07:00
Ferhat
28c8b21329 Move more parts to libraries. (flutter/engine#25863) 2021-05-07 14:25:14 -07:00
Kaushik Iska
2fead370b3 Streamline frame timings recording (flutter/engine#25892) 2021-05-07 12:14:01 -07:00
Dan Field
b26e387750 Delete unused method from engine_layer.h (flutter/engine#25924) 2021-05-07 10:34:01 -07:00
Ferhat
d9c668cf82 [web] Fix incorrect physical size due to visualviewport api on iOS (flutter/engine#25895) 2021-05-06 21:02:08 -07:00
gaaclarke
1734ce7f8a Moved PlatformMessage's to unique_ptrs (flutter/engine#25860) 2021-05-06 20:19:01 -07:00
Yegor
fa6511a20f Revert "Fix a11y placeholder on desktop; auto-enable engine semantics (#25830)" (flutter/engine#25898)
It broke an integration test on the framework side.

This reverts commit 9e8cb6ac312e41bd70945f8178b0077b44a5241d.
2021-05-03 14:44:58 -07:00
Yegor
9e8cb6ac31 Fix a11y placeholder on desktop; auto-enable engine semantics (flutter/engine#25830)
* auto-enable semantics

* fix a11y placeholder on desktop
2021-05-03 11:30:24 -07:00
heke123
c59ffe8b9a Use "blur_sigma" instead of "blur_radius" in Shadow. (flutter/engine#25760) 2021-04-30 14:34:02 -07:00
Ferhat
c3bebcf344 Move path part files to libraries (flutter/engine#25842) 2021-04-30 11:14:46 -07:00
David Worsham
8b52e92f15 fuchsia: Handle multiple views in platformViews path (flutter/engine#25343) 2021-04-28 23:57:30 -07:00
Jim Graham
6586623199 Fix html version of drawImageNine (flutter/engine#25605) 2021-04-28 01:08:38 -07:00
Ferhat
39caf3500e Fix incorrect platformchannel response when clipboard getData is not supported (flutter/engine#25743) 2021-04-27 11:53:16 -07:00