100 Commits

Author SHA1 Message Date
sigmundch
9eb3d24186 Revert "[web]: update libraries.json to use the include feature. (#30961)" (flutter/engine#31123) 2022-01-28 11:25:11 -08:00
Mouad Debbar
25ad7b4adf [web] Fix screenshot tests running locally (flutter/engine#31054) 2022-01-25 10:05:02 -08:00
sigmundch
c11791240a [web]: update libraries.json to use the include feature. (flutter/engine#30961) 2022-01-24 10:55:10 -08:00
Mouad Debbar
91e7f57f14 [web] Remove usage of flutter/goldens (flutter/engine#30116) 2022-01-24 11:20:11 -05:00
Mouad Debbar
f111c9f844 [web] Move ui files to lib/ (flutter/engine#30051) 2022-01-14 11:20:10 -08:00
sigmundch
5d1a6d167e [web] bring libraries.yaml/libraries.json up to date (flutter/engine#30467) 2022-01-04 21:45:07 -08:00
Yegor
e7c4fcc17d [web] consolidate JS interop code (attempt 2) (flutter/engine#30161)
The original https://github.com/flutter/engine/pull/30007 was reverted
because it broke the framework. Turns out the framework still used the
WebExperiments code, which has been cleaned up in https://github.com/flutter/flutter/pull/94739.

This PR must land after https://github.com/flutter/flutter/pull/94739.

This reverts commit ae31d5a5d82c8091d859c27922e5f52e3a264286.
2021-12-07 09:27:06 -08:00
Jim Graham
ae31d5a5d8 Revert "[web] consolidate JS interop code (#30007)" (flutter/engine#30137)
This reverts commit 01a91d484eab5fae50381ab7c94fcdca9fbb56a9.
2021-12-04 18:54:31 -08:00
Yegor
01a91d484e [web] consolidate JS interop code (flutter/engine#30007)
* Consolidate and check JavaScript access
* Remove all `ignore: implicit_dynamic_function`
* Add `js_access_test.dart` that validates JS access
* Make `engine.dart` an exports-only library
* Fix `sdk_rewriter_test.dart` and `ci/analyze.sh` (they skipped some tests)
2021-12-03 15:46:03 -08:00
Mouad Debbar
b44dfd45b3 [web] Use fuzzy matching in Gold (flutter/engine#29847) 2021-11-29 16:07:33 -05:00
Mouad Debbar
e784b12872 [web] Start support for Skia Gold (flutter/engine#29139) 2021-11-15 16:05:31 -08:00
Yegor
5e017917d5 [web] move all build artifacts under web_ui/build (flutter/engine#29666)
* [web] move all build artifacts under web_ui/build
2021-11-11 13:47:59 -08:00
godofredoc
454e39efe6 Migrate golds script to use main branch. (flutter/engine#29389) 2021-10-28 14:28:05 -07:00
sigmundch
357aae21f0 [web] use 'dart compile js' instead of 'dart2js' in web_ui and felt (flutter/engine#29179) 2021-10-14 14:33:01 -07:00
Anthony
50adf078fd [Re-land] Add SPIR-V FragmentShader API to painting.dart (flutter/engine#28208)
[Re-land] Add SPIR-V FragmentShader API to painting.dart

- Add a SPIR-V FragmentShader interface in painting.dart
- Create end to end pixel tests for ops supported by the SPIR-V to SkSL transpiler
- The end to end tests also test the c++ fragment shader implementation

Co-authored-by: Christopher Crawford <chriscraws@gmail.com>
2021-08-20 11:24:14 -04:00
Zachary Anderson
e3f282c563 Revert "Add SPIR-V FragmentShader API to painting.dart (#26996)" (flutter/engine#28202)
This reverts commit 1b518619357cc1666a9fca183c9766d1ece16d0f.
2021-08-19 12:38:10 -07:00
Anthony
1b51861935 Add SPIR-V FragmentShader API to painting.dart (flutter/engine#26996)
Add SPIR-V FragmentShader API to painting.dart
2021-08-18 12:58:25 -04:00
Zachary Anderson
5c4431a610 Use a pool for dart actions to avoid OOMs (flutter/engine#27781)
* Use a pool for dart actions to avoid OOMs

* Add Windows support
2021-07-29 23:43:49 -07:00
Zachary Anderson
e4e5297094 Adjust web_sdk rule deps (flutter/engine#27435) 2021-07-15 09:57:35 -07:00
Yegor
6dfbdc3f05 [web] delete e2etests and all related tooling (flutter/engine#27299)
* [web] delete e2etests and all related tooling
2021-07-12 12:16:31 -07:00
Zachary Anderson
7829bfd192 Fix prebuilt Dart SDK use on Windows (flutter/engine#27264) 2021-07-08 17:05:54 -07:00
Zachary Anderson
83066bd45d Add an option to use a prebuilt Dart SDK (flutter/engine#26931) 2021-07-08 10:36:34 -07:00
Dan Field
72d7ac4ba4 Remove unnecessary experiment flag (flutter/engine#27072)
* Remove unnecessary experiment flag

* add explicit --no-sound-null-safety
2021-07-01 12:27:42 -07:00
Dan Field
81388c9511 Revert "--sound-null-safety instead of enable-experiment where possible (#26999)" (flutter/engine#27059)
This reverts commit a34de4830b50728b589903abfe69a7d809967b73.
2021-06-29 21:36:07 -07:00
Dan Field
a34de4830b --sound-null-safety instead of enable-experiment where possible (flutter/engine#26999) 2021-06-29 15:36:03 -07:00
Yegor
660d911915 [web] migrate web_sdk to null safety (flutter/engine#26720) 2021-06-11 18:04:02 -07:00
Yegor
7a60f2fb7f [web] text_editing_test.dart nnbd; bump test dep (flutter/engine#26709) 2021-06-11 12:31:51 -07:00
Yegor
339073d44b [web] migrate some felt code to null safety (flutter/engine#26644)
* [web] migrate some felt code to null safety
2021-06-09 11:30:51 -07:00
Mouad Debbar
d05c96d8fa [web] Fix some regex issues in the sdk_rewriter (flutter/engine#25866) 2021-05-03 11:10:11 -07:00
Mouad Debbar
6d732d05b6 [web] Start splitting the engine into smaller libs (flutter/engine#25569) 2021-04-19 15:09:39 -07:00
Michael Goderbauer
d627e66bcf remove ignores (flutter/engine#25131) 2021-03-25 10:19:01 -07:00
Yegor
5a5f326745 [web] Make window.locale(s) non-null; upgrade to null safe deps (flutter/engine#24922)
* Make window.locale(s) non-null

* upgrade deps to null-safe; migrate some test libs
2021-03-11 14:28:49 -08:00
Jonah Williams
11f0419aa4 [web] specify all defines used for html, ck, auto rendering modes (flutter/engine#23433) 2021-01-05 21:18:56 -08:00
Siva
ae14ea248a Add missing sdk constriant in pubspec.yaml files. (flutter/engine#23124)
* Add missing sdk constriants in pubspec.yaml files.

* Update tools/android_lint/pubspec.yaml

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2020-12-17 09:45:26 -08:00
Yegor
d2213fc58e Make CkPicture resurrectable (flutter/engine#22807)
* Make CkPicture resurrectable

* disable goldens on Firefox

* add non-recording canvas test; fix Firefox test
2020-12-03 13:13:44 -08:00
Ferhat
ba105e0ea0 [web]Update @dart annotation. Change shaders to allocate smaller canvas (flutter/engine#22481) 2020-11-13 13:55:32 -08:00
nturgut
00333158e6 Upgrades to felt (running on multiple modes, multiple backends, single test target option) (flutter/engine#22260)
* testing running the tests on all build modes

* don't run debug mode on other browsers

* fix platform message test failures

* some cleanup. change dispose platform channel message

* adding flags to control the integration tests better with felt

* running tests by target name, selecting web rendering backend

* fix conditions

* carrying some conditions to helper methods. Adding comments

* create a blocked list for failing canvaskit test

* parse parameters before all integration tests

* Give better warning to developers for tests that are blocked for CI

* address some reviwer comments (more remains)

* remove named parameters

* also run with auto mode

* add verbose option

* reduce the number of tests running. skip url_test for now
2020-11-11 17:18:15 -08:00
Yegor
06a9b5b950 Update pubspecs to null-safe dependencies (flutter/engine#22366)
* update pubspecs to null-safe dependencies

* remove build_runner dep; upgrade quiver

* use analysis_options.yaml to control analysis scope
2020-11-06 17:54:53 -08:00
Jason Simmons
717ab830a1 Roll the path package in web_ui and web_test_utils to match the version used by the framework (flutter/engine#22309) 2020-11-04 22:23:31 -08:00
Jonah Williams
d3d5bd8761 [null-safety] update path version (flutter/engine#22134) 2020-10-26 18:49:42 -07:00
Angjie Li
6ade27bd24 Auto detect mode to determine which rendering backend to use. (flutter/engine#21852) 2020-10-22 16:17:02 -07:00
Jonah Williams
18e2315345 [null-safety] fix build rule to produce sound dill (flutter/engine#21784)
The space in the argument name was causing this argument to be dropped and the sound and unsound dills to be identical.
2020-10-12 16:35:09 -07:00
nturgut
e73acfbe6e E2e screenshot tests2 (flutter/engine#21383)
* carrying code

* more changes for carrying the code

* rebase changes onto ios-screenshot tests

* adding screenshot capability to text_editing e2e test

* address some comments

* change enable flag for isUnitTestsScreenshotsAvailable

* addressing the reviewer comments

* change the dependency for path

* add to licencense file

* changing goldens commit no. the new commit has the screenshot goldens

* update readme file

* firefox tests needs LUCI changes

* change to release mode since screenshots were taken in release mode

* change window size

* some argument changes

* small comment change

* test the chrome linux tests again

* use roboto font instead of default font

* addressing reviewer comments

* change commit for goldens
2020-10-12 16:25:57 -07:00
Juyeong Lee
8fefd60dda Fix Typos (flutter/engine#19691) 2020-07-31 16:32:58 -07:00
Siva
03706dce89 Manual roll of Dart from 24c7666def...40fd1c456e (flutter/engine#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
Jason Simmons
775070bf96 Upgrade the analyzer package to version 0.39.15 for Dart 2.10 support (flutter/engine#20024) 2020-07-24 18:26:43 -07:00
Jonah Williams
a9c252c62d [null-safety] update web_sdk build rules to use package_config (flutter/engine#19741)
Work towards flutter/flutter#60999

All dart compilations must eventually use package-config, since this contains the language versions. Update all of the web_sdk rules.
2020-07-15 09:54:12 -07:00
Yegor
078629ad1e First batch of CanvasKit bindings using @JS (flutter/engine#19450)
* first batch of @JS bindings
2020-07-01 18:30:58 -07:00
Jonah Williams
284c2bd0db update compilation rules for null-safety (flutter/engine#19386)
Re-attempt at #19162 which seems to be stuck on a bad framework revision
2020-06-29 14:00:27 -07:00
Eric Seidel
a1c9ce5e56 Teach web_sdk/sdk_rewritter.dart how to write a stamp file. (flutter/engine#19114) 2020-06-18 19:53:03 -07:00