joshualitt
be4da063e8
add support for JS types ( flutter/engine#40310 )
2023-03-17 08:27:53 -07:00
Jackson Gardner
5508a04de1
Output web test artifacts to out directory. ( flutter/engine#40355 )
...
Output web test artifacts to out directory.
2023-03-16 22:19:55 +00:00
Michael Goderbauer
c023f1986b
Remove work around for dart 3 compiler bug ( flutter/engine#40350 )
...
Remove work around for dart 3 compiler bug
2023-03-16 21:24:41 +00:00
Mouad Debbar
17f10a1e88
Reland "[web] Better way to detect CanvasKit variant ( #40154 )" ( flutter/engine#40347 )
...
Reland "[web] Better way to detect CanvasKit variant (#40154 )"
2023-03-16 17:29:39 +00:00
Michael Goderbauer
dcc4b1b535
Reland: Bump lower Dart SDK constraints to 3.0 ( flutter/engine#40318 )
...
* WIP
Bump to 3.0.0-0
* fix lints
* drop web_ui
* opt pointer_converter.dart out of dart 3
* Revert "drop web_ui"
This reverts commit b97a015d5cd0d7e0380a4231be4c31aad36671f1.
2023-03-16 08:07:39 -07:00
gaaclarke
bf20afaaa8
Revert "[web] Better way to detect CanvasKit variant ( #40154 )" ( flutter/engine#40329 )
...
This reverts commit 5799b8da8a224766eba773d3f221956cc47addc0.
2023-03-15 15:25:09 -07:00
Mouad Debbar
5799b8da8a
[web] Better way to detect CanvasKit variant ( flutter/engine#40154 )
...
[web] Better way to detect CanvasKit variant
2023-03-15 20:35:46 +00:00
Zachary Anderson
32b3e66d7c
Revert "Bump lower Dart SDK constraints to 3.0 ( #40178 )" ( flutter/engine#40317 )
...
Revert "Bump lower Dart SDK constraints to 3.0"
2023-03-15 18:53:00 +00:00
Michael Goderbauer
828f3deb86
Bump lower Dart SDK constraints to 3.0 ( flutter/engine#40178 )
...
Bump lower Dart SDK constraints to 3.0
2023-03-15 17:57:04 +00:00
gaaclarke
695cfa5fe8
Reland: "Added wide-gamut color support for ui.Image.toByteData and ui.Image.colorSpace" ( flutter/engine#40312 )
...
Reland: "Added wide-gamut color support for `ui.Image.toByteData` and `ui.Image.colorSpace`"
2023-03-15 17:29:10 +00:00
LongCatIsLooong
3dd20371cb
Reland "Make FlutterTest the default test font" ( #40188 ) ( flutter/engine#40245 )
...
Reland "Make FlutterTest the default test font" (#40188 )
2023-03-15 17:13:05 +00:00
Michael Goderbauer
bd58dd7222
Bump pubspecs to unblock Dart SDK roller ( flutter/engine#40297 )
...
Bump pubspecs to unblock Dart SDK roller
2023-03-15 06:46:22 +00:00
Casey Hillers
d850089e9e
Revert "Added wide-gamut color support for ui.Image.toByteData and ui.Image.colorSpace ( #40031 )" ( flutter/engine#40295 )
...
Revert "Added wide-gamut color support for `ui.Image.toByteData` and `ui.Image.colorSpace`"
2023-03-15 04:04:11 +00:00
gaaclarke
f4280b695c
Added wide-gamut color support for ui.Image.toByteData and ui.Image.colorSpace ( flutter/engine#40031 )
...
Added wide-gamut color support for `ui.Image.toByteData` and `ui.Image.colorSpace`
2023-03-14 22:25:47 +00:00
htoor3
9f5467e77c
Add null-aware access to semantics instance ( flutter/engine#40146 )
...
* Add null-aware access to semantics instance
* Change callsites to use nullable instance
* Revert
* Add test
* whitespace
* Typo
* Fix comment
* Whitespace
* Comment fix
2023-03-14 10:57:09 -05:00
Jackson Gardner
a2107a541a
Use plain Uint32List objects with the fragmenter APIs. ( flutter/engine#40239 )
...
Use plain Uint32List objects with the fragmenter APIs.
2023-03-13 16:54:22 +00:00
Lasse R.H. Nielsen
f53ad85609
Change extends Iterator to using implements ( flutter/engine#40175 )
...
The Dart 3.0 libraries will mark Iterator with the interface class modifier, which prevents extends. It will do so because the class has no implementation to inherit, and is only intended as an interface, which it is now possible to express.
This should unblock relanding https://dart-review.googlesource.com/c/sdk/+/287760
(Also working on disabling the class-modifiers experiment for Flutter dart: libraries, which was enabled along with the Dart SDK libraries, until the experiment can be intentionally turned back on.)
2023-03-13 13:43:04 +01:00
LongCatIsLooong
6f18a0383a
Revert "Make FlutterTest the default test font ( #40188 )" ( flutter/engine#40237 )
...
This reverts commit ab6696a9aebbe5b5b813b9f89169211e42888cac.
2023-03-10 15:42:18 -08:00
Yegor
e9abb22ba1
Revert "[web] Access engine version to get correct gstatic URL ( #40194 )" ( flutter/engine#40235 )
...
This reverts commit 46682951fe7f61296070c2fdfb673576628bbd89.
2023-03-10 14:46:06 -08:00
LongCatIsLooong
ab6696a9ae
Make FlutterTest the default test font ( flutter/engine#40188 )
...
Make FlutterTest the default test font
2023-03-10 20:00:24 +00:00
Harry Terkelsen
46682951fe
[web] Access engine version to get correct gstatic URL ( flutter/engine#40194 )
2023-03-10 10:16:48 -08:00
Mouad Debbar
c9d003f7b3
[web] Use CK's malloced array correctly ( flutter/engine#40181 )
...
[web] Use CK's malloced array correctly
2023-03-09 20:38:04 +00:00
Jason Simmons
d55465069a
Apply the buffer offset when converting a vertex color Int32List to a Uint32List ( flutter/engine#40066 )
...
Apply the buffer offset when converting a vertex color Int32List to a Uint32List
2023-03-09 19:56:59 +00:00
Mouad Debbar
e689699e2a
[web] Fix SkParagraphBuilder tests for the chromium variant ( flutter/engine#40152 )
...
[web] Fix SkParagraphBuilder tests for the chromium variant
2023-03-08 22:21:17 +00:00
Mouad Debbar
fe97e51d19
[web][felt] Add 'archive' target + 'profile' mode ( flutter/engine#40060 )
...
[web][felt] Add 'archive' target + 'profile' mode
2023-03-07 21:31:31 +00:00
Yegor
0893bbf690
[canvaskit] read pixels back in Picture.toImage ( flutter/engine#40004 )
...
[canvaskit] read pixels back in Picture.toImage
2023-03-07 01:24:59 +00:00
Jackson Gardner
b8c4597090
Compile skwasm with better space saving flags. ( flutter/engine#40093 )
...
Compile skwasm with better space saving flags.
2023-03-06 22:27:48 +00:00
godofredoc
bc2611e03c
Web engine build config cleanup. ( flutter/engine#40064 )
...
Web engine build config cleanup.
2023-03-04 00:28:18 +00:00
LongCatIsLooong
48c413ae2f
Add new test font ( flutter/engine#39809 )
...
Add new test font
2023-03-03 21:38:01 +00:00
Greg Spencer
ddfbc85928
Add platform channel System.exitApplication and System.requestAppExit support ( flutter/engine#39836 )
...
Add platform channel `System.exitApplication` and `System.requestAppExit` support
2023-03-03 19:13:00 +00:00
joshualitt
9defbf1d0b
[web] Add JS type test for JsStrategy. ( flutter/engine#39765 )
2023-03-03 10:09:03 -08:00
Michael Goderbauer
c6fb732042
Remove PlatformConfiguration and ViewConfiguration ( flutter/engine#40012 )
...
Remove PlatformConfiguration and ViewConfiguration
2023-03-02 23:14:04 +00:00
Mouad Debbar
7a368e10bd
[web] Remember which variant of CanvasKit is being used ( flutter/engine#40027 )
...
[web] Remember which variant of CanvasKit is being used
2023-03-02 21:04:04 +00:00
Michael Goderbauer
c0a8f3871b
Expose GestureSettings on FlutterView ( flutter/engine#39997 )
2023-03-01 17:51:27 -08:00
Jackson Gardner
a3dc9e77fb
Skwasm Renderer - initial implementation ( flutter/engine#39072 )
...
Skwasm Renderer - initial implementation
2023-03-02 00:01:04 +00:00
Harry Terkelsen
00328e0fe3
Fix typo in ColorFilter docs ( flutter/engine#36448 )
...
Fix typo in ColorFilter docs
2023-02-28 23:57:46 +00:00
Mouad Debbar
1d28b78f57
[web] Download CanvasKit chromium when possible ( flutter/engine#39827 )
...
[web] Download CanvasKit chromium when possible
2023-02-28 20:44:54 +00:00
Mouad Debbar
247f8e802c
[web] Glue code for CanvasKit Chromium ( flutter/engine#39592 )
...
[web] Glue code for CanvasKit Chromium
2023-02-24 20:33:06 +00:00
Jason Simmons
904ab9bfce
Revert "Match PlatformConfiguration properties to PlatformDispatcher ones ( #39685 )" ( flutter/engine#39833 )
...
This reverts commit 40867530358e80e71943d11831a58776465fca3a.
2023-02-24 02:45:15 +00:00
Michael Goderbauer
b27d0e8465
Fix referenes in docs ( flutter/engine#39828 )
2023-02-23 15:12:49 -08:00
pdblasi-google
4086753035
Match PlatformConfiguration properties to PlatformDispatcher ones ( flutter/engine#39685 )
...
* Match PlatformConfiguration properties to PlatformDispatcher ones
* Updated PlatformDispatcher to use PlatformConfiguration to back `nativeSpellCheckServiceDefined` and `brieflyShowPassword`
* Updated web PlatformDispatcher/Configuration to match new API
* Added a test to ensure `PlatformDispatcher` and `PlatformConfig` have the same getters with exceptions.
* Removed test that required adding `analyzer` as a dependency.
2023-02-23 21:42:19 +00:00
Mouad Debbar
2c378412f2
[web] Copy everything under the local canvaskit folder ( flutter/engine#39799 )
...
* [web] Copy everything under the local canvaskit folder
* Update compile_tests_step.dart
2023-02-23 15:06:18 +00:00
Michael Goderbauer
88bccb1e13
Deprecate WindowPadding ( flutter/engine#39775 )
2023-02-22 22:30:25 +00:00
Michael Goderbauer
97b7d4eda7
Rename WindowPadding to ViewPadding ( flutter/engine#39737 )
...
* Rename WindowPadding to ViewPadding
* webui
2023-02-19 22:20:24 +00:00
Mouad Debbar
f027ff2c95
[web] Don't include end-of-line characters in line boundary ( flutter/engine#39693 )
2023-02-17 23:27:19 +00:00
Mouad Debbar
9a0f7de3b7
[web] Make glassPaneElement and glassPaneShadow non-nullable ( flutter/engine#39692 )
2023-02-17 21:14:01 +00:00
Loïc Sharma
a9e12287f6
[dart:ui] Introduce PlatformDispatcher.implicitView ( flutter/engine#39553 )
...
This introduces `PlatformDispatcher.implicitView`, a low-level primitive for the framework's bootstrapping. Most code, including the framework after bootstrapping, will use `View.of(context)` instead of this new API. This new primitive will let us deprecate the `window` global.
Goals:
1. **Enable multi-window**. The `PlatformDispatcher.implicitView` is nullable. If `null`, the app must create a window to get a view it can draw into.
2. **Backwards compatibility**. For "single window" apps, `PlatformDispatcher.instance.implicitView` should behave as similar to `window` as possible.
1. The `PlatformDispatcher.instance.implicitView.viewId` should be `0`.
1. The `PlatformDispatcher.instance.implicitView` must be available synchronously at root isolate startup. This allows the framework to determine if it can make single window assumptions at startup.
2. The `PlatformDispatcher.instance.implicitView` reference must not change after startup: if it is null at startup, it must always be null; if it is non-null at startup, it must always be non-null. If "single window" app enters headless mode, the implicit view must remain non-null.
In the future, the embedder will control whether an implicit view is created: mobile & legacy desktop apps will have an implicit view, multi-window desktop apps won't have an implicit view. This requires updating the engine's embedder API and is out-of-scope for this change. For now, all apps will have an implicit view.
Part of https://github.com/flutter/flutter/issues/120306
2023-02-16 16:32:14 -08:00
Yegor
543f998577
[web] consolidate network code into httpFetch ( flutter/engine#39657 )
...
* consolidate network code into httpFetch
* make HTTP test cross-browser friendly; fix copypasta
2023-02-16 00:02:02 +00:00
LouiseHsu
a63ba37c86
Revert "Revert "Add support for double tap action from Apple Pencil 2 ( #39267 )" ( #39607 )" ( flutter/engine#39637 )
...
This reverts commit f112c452b80012e456f9ce41deb3009010fe2336.
2023-02-15 20:00:26 +00:00
Jonah Williams
f112c452b8
Revert "Add support for double tap action from Apple Pencil 2 ( #39267 )" ( flutter/engine#39607 )
...
This reverts commit adb83f7d563aaaa44148f7b6a6c76846feb17cb3.
2023-02-14 02:04:06 +00:00