81 Commits

Author SHA1 Message Date
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
Yegor
30879c3f50 take web_ui to null safety (flutter/engine#19027)
move web_ui to NNBD syntax
2020-06-16 15:28:06 -07:00
Yegor
b457938f23 apply null safety syntax to mobile dart:ui (flutter/engine#18933)
* apply null safety syntax to mobile dart:ui
2020-06-12 12:42:12 -07:00
Siva
a5281b393d Manual roll of Dart 617bc54b71...39e0e75fcf (flutter/engine#18215)
This roll unforks the Dart SDK to use the non nullable SDk,
the engine platform file is built with all the dart:* libraries
opted in except for dart:ui

dart-lang/sdk@617bc54b71 [dart2js] unit test patch for unfork cl.
dart-lang/sdk@ce5d18b0f0 [CFE] - Update exectations of CFE unit tests to account for NNBD unfork
dart-lang/sdk@be0c78a7cc [dart2js] Fix platform-binaries on bots.
dart-lang/sdk@03ce33f80c [BUILD] - Initial CL to unfork the NNBD Dart SDK
2020-05-07 20:58:44 -07:00
Jason Simmons
b4b5342886 [web] Upgrade the test package to remove the dependency on package_resolver (flutter/engine#18135) 2020-05-05 10:57:02 -07:00
Siva
048552580a Revert all build changes made to test the Dart NNBD unfork CL. (flutter/engine#18033) 2020-04-29 12:32:30 -07:00
Siva
267d63e320 Trial PR to enable null safety unfork in the Dart SDK. (flutter/engine#17818)
* Trial PR to enable null safety unfork in the Dart SDK.

* Fix web-sdk builds.

* Manua; Roll of Dart cab69e77066b0db305187fd6e618a4f524ae9efd...03429b20cd67f85d65cc589b529ab8c1a4780912

dart-lang/sdk@ cab69e7706 [BUILD] - Initial CL to unfork the NNBD Dart SDK NOTE: This is a trial submit and will be reverted immediately.
2020-04-27 19:51:23 -07:00
Jonah Williams
9bb1af01f0 build a precompiled SDK with canvas kit enabled (flutter/engine#17115) 2020-03-12 14:50:22 -07:00
vsmenon
d66d21edab Remove mirrors on the web (flutter/engine#16516) 2020-02-10 13:58:04 -08:00
Yegor
e101a7c901 use percent for golden diff rates; tighten the values (flutter/engine#16430) 2020-02-05 15:53:45 -08:00
Chinmay Garde
426c48aaac Remove all uses of the redundant flutter_root variable. (flutter/engine#16311)
This was only necessary when the Engine had to build in multiple buildroots
where the sources where checked out at different paths relative to the
buildroot. This is no longer the case and there are already cases GN rules
have been written that mix and match variable usage with the direct
specification of the path to the Flutter sources relative to the sole buildroot.
2020-01-31 21:49:48 -08:00
vsmenon
08f169dbcc [web] update dart:js and dart:js_util to new upstream locations (flutter/engine#15681) 2020-01-15 15:58:47 -08:00
Yegor
8b63cb5933 fix text blurriness in HTML-rendered text (flutter/engine#15649)
* fix text blurriness in HTML-rendered text
2020-01-15 14:20:28 -08:00
Jonah Williams
fb6777923d allow ignoring toString, hashCode, and == in api_conform_test (flutter/engine#13907) 2019-11-19 10:21:31 -08:00
Jason Simmons
2c61d2336b Reformat BUILD.gn files to comply with the format checker presubmit script (flutter/engine#13401) 2019-10-29 09:49:16 -07:00
vsmenon
9a39e19daf Enable/tweak web sdk source maps, take 2 (flutter/engine#13161)
Update outline step to remove absolute paths here as well.  See: https://dart-review.googlesource.com/c/sdk/+/122178/5/utils/dartdevc/BUILD.gn
2019-10-21 21:20:58 -07:00
Kaushik Iska
0bd17221f7 Revert "Enable/tweak web sdk source maps (#13141)" (flutter/engine#13148)
This reverts commit 71a51d73955d7caef22fcf1bc799d4593c05f7c7.
2019-10-15 13:37:52 -07:00
vsmenon
71a51d7395 Enable/tweak web sdk source maps (flutter/engine#13141) 2019-10-15 11:29:10 -07:00
Ferhat
a3654ec08f [web] Add basic color per vertex drawVertices API support (flutter/engine#13066)
* Implement basic drawVertices for BlendMode.srcOver and hairline rendering
* Implement maxDiffRate parameter for screenshot tests
2019-10-14 13:16:05 -07:00
Devon Carew
00ae651c92 remove references to package:_chrome (flutter/engine#12931) 2019-10-08 09:41:46 -07:00