1289 Commits

Author SHA1 Message Date
liyuqian
02f828632c Use FixtureTest to remove duplicate code (flutter/engine#19219)
Fixes https://github.com/flutter/flutter/issues/59109
2020-06-30 10:55:38 -07:00
Harry Terkelsen
caa3fb9ff3 Cache CanvasKit objects and delete if not used. (flutter/engine#19341) 2020-06-29 16:40:57 -07:00
Yegor
b0a55b693d migrate web engine implementation to null-safe Dart (flutter/engine#19172)
Migrate dart:_engine to null safe dart
2020-06-26 14:13:01 -07:00
David Worsham
919f8e6a42 Move fuchsia/scenic integration behind #define (flutter/engine#19003)
Additionally create "_next" permutations for all of the test binaries
on Fuchsia, in order to test both code-paths.

Using the #define follow-up CLs can also create a flutter_runner_next
binary that does not contain any legacy integration code.

BUG: 53847
2020-06-26 14:03:18 -07:00
nturgut
9d794cae6b Autofill Menu appears on top left of the page (flutter/engine#19030)
* fixing the position of the form

* only apply the fix to blink based desktop browsers

* remove extra log

* address reviewer comments

* addressing reviewer comments

* adding more comments for chrome behavior
2020-06-25 14:19:48 -07:00
Harry Terkelsen
d5425fc0f1 Add more logging for when assets fail to load (flutter/engine#19241) 2020-06-25 14:02:34 -07:00
nturgut
dfb9bd8f34 collect logs using the new web_installers repo (flutter/engine#19298) 2020-06-25 10:27:53 -07:00
nturgut
b36e0f6e4e skip ios safari tests on felt level (flutter/engine#19280)
* skip ios safari tests on felt level

* instead of skipping use the new web_installers repo

* re-skip the test. led run failed with another error

* remove led json
2020-06-24 20:51:38 -07:00
nturgut
eeac18d23d Run IOS unit tests on LUCI (flutter/engine#19141)
* change the version of simulator. luci bots only has 13.0

* skip failing pointer binding tests

* skip path_metrics (canvaskit) and a method from surface_test

* fix analyzer errors

* remove extra added touch event context test

* removing left overs for screenshot debugging

* apply reviewers suggestion for skipping tests
2020-06-23 15:22:01 -07:00
nturgut
d17556b67b Enable firefox integration tests (flutter/engine#19164)
* firefox integration tests enable

* addressing reviewer comments
2020-06-22 13:16:57 -07:00
Ferhat
771e210302 Fix fonts.clear exception in IE11 (flutter/engine#19180) 2020-06-22 09:24:31 -07:00
Gary Qian
855fa8fde8 Revert method channel platform resolved locale (flutter/engine#19136) 2020-06-19 17:40:22 -07:00
Ferhat
6ba1cd9bbe [web] Fix conic to quad conversion assertion. (flutter/engine#18811)
* Fix subdivision assertion in Conic to Quad conversion

* Use const for upper bound

* remove unused import
2020-06-19 17:01:45 -07:00
Luigi Rosso
1e92630b3c Fix issue with cubic bounds misaligning. (flutter/engine#19054)
Merging on infra flake on embedder.cc
2020-06-19 16:45:19 -07:00
Jason Simmons
ad2e2cf1fe Remove obsolete comment from web_ui pubspec (flutter/engine#19100) 2020-06-19 15:28:02 -07:00
Jonah Williams
61118a291d [nnbd] build platform dill in agnostic mode (flutter/engine#19167)
In agnostic mode, both sound and unsound modes are supported.
2020-06-19 13:26:50 -07:00
nturgut
ca3a8d7aa1 [web] Running integration tests on Safari on Local (flutter/engine#18488)
* rebase. carry driver functionality to drivermanager

* rebase. nabling integration tests on Safari on MacOS

* addressing reviewer comments, updating web_drivers dependency commit number

* addressing reviewer comments

* addressing reviewer comments
2020-06-18 16:48:04 -07:00
Harry Terkelsen
890b2ff093 Roll CanvasKit to 0.16.2. (flutter/engine#19011) 2020-06-18 10:54:48 -07:00
Jason Simmons
c7bc6e9ad0 Avoid creating a vector when constructing Dart typed data objects for platform messages (flutter/engine#18838) 2020-06-18 09:58:03 -07:00
Dan Field
07849dc46c Parameterize upscaling for image decoding (flutter/engine#19067)
Adds an `allowUpscale` parameter to the Dart interfaces for instantiateImageCodec and decodeImageFromPIxels. If set to false, the image bounds will be clamped at their intrinsic dimensions.

A later commit will change the default to true.
2020-06-18 09:42:08 -07:00
zljj0818
1fd49da298 Poor video scaling quality #53080 (flutter/engine#18814)
Use bilinear instead of nearest filter to draw surface texture

Related Issues:
https://github.com/flutter/flutter/issues/53080

Tests:
- TextureLayerTest
2020-06-17 11:14:05 -07:00
Siva
5bb06562b0 Manual roll of Dart 021a49e88c...4b9aa2bd7e (flutter/engine#19079)
1. Manual roll of Dart 021a49e88c...4b9aa2bd7e
dart-lang/sdk@4b9aa2bd7e Revert "[VM/Runtime] Cleanup package config initialization code"
dart-lang/sdk@d44457f79d [Core Libraries] Eliminate the fork in the core libraries.
dart-lang/sdk@29e93bcdbd [VM/Runtime] Cleanup package config initialization code
dart-lang/sdk@07e2921287 [ddc] Cleanup false assumption from subtype check
dart-lang/sdk@62893f9b00 Reland "[vm] Check prefix.loadLibrary is called and returns before prefix members are used."
dart-lang/sdk@ed9112e862 Sort declarations in api_test.dart
dart-lang/sdk@a9bb706ce2 Migration: allow the client to specify which files to analyze/migrate.
dart-lang/sdk@651464c909 Implement the rest of the ArgumentList ASTNode logic in the context type visitor in feature_computer.dart, tests added in feature_computer_test.dart
dart-lang/sdk@c7d9fa996b Clean up some unnecessary code in completion manager
dart-lang/sdk@e11eb2cd08 [nnbd_migration] Fix #42263, tool inserting ! on toString/hashCode

2. Adjusted all flutter libraries.yaml files to account for elimination of the
fork in the Dart core librarie

3. Adjusted flutter gn file to account for elimination of the fork in the
Dart core librarie
2020-06-16 19:41:06 -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
Dan Field
0b5b38c8b4 Instantiate image codec doc fix (flutter/engine#19062)
Correctly describe the way aspect ratio is managed when one parameter is not specified.
2020-06-16 15:14:04 -07:00
Gary Qian
c9fa545cf3 Platform resolved locale and Android localization refactor (flutter/engine#18645) 2020-06-16 04:29:50 -07:00
Luigi Rosso
6b6e8d35bb Adding support for image filtering in CanvasKit backend. (flutter/engine#19035) 2020-06-15 09:01:37 -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
liyuqian
b58ef5144e Add ui_benchmarks (flutter/engine#18945) 2020-06-11 10:55:03 -07:00
Mouad Debbar
30bd32a625 [web] Provide a hook to disable location strategy (flutter/engine#18969) 2020-06-10 21:51:45 -07:00
nturgut
3c39c76a51 renaming variables on integration tests manager (flutter/engine#18975) 2020-06-10 16:33:52 -07:00
nturgut
60f74491f2 Update firefox.dart (flutter/engine#18939) 2020-06-10 11:29:19 -07:00
nturgut
389517d57e [web] running ios unit tests from felt … (flutter/engine#18856)
* running ios unit tests from felt by booting/shutingdown simulators. create simulator with felt

* changing the readme file for ios,mac,xcode spellings

* addressing reviewer comments

* fix analyse error

* fixing cleanup issue. solution: adding and await and using for loop instead of foreach
2020-06-10 09:33:17 -07:00
Todd Volkert
816d136b0d Add support for horizontalDoubleArrow and verticalDoubleArrow cursors (flutter/engine#18916) 2020-06-10 07:17:11 -07:00
nturgut
06f525d2cf remove failing tests on safari (flutter/engine#18944) 2020-06-09 17:19:47 -07:00
Brian Osman
3a2315895e SkMatrix::MakeFoo is deprecated, use SkMatrix::Foo instead (flutter/engine#18934) 2020-06-09 16:55:13 -04:00
Harry Terkelsen
2800316cf1 Fix CanvasKit text colors by not passing a Malloc'ed array. (flutter/engine#18936)
Also, don't use `jsify` since it will turn the `Float32Array` into
a JS Array, which CanvasKit doesn't recognize as an SkColor.
2020-06-09 13:39:27 -07:00
Mouad Debbar
2eb1af6787 [web] Line break algorithm using unicode properties (flutter/engine#18795) 2020-06-09 12:53:06 -07:00
nturgut
aabf5661e7 Add user agent for Chromium based Edge Browser to browser detection (flutter/engine#18910)
* Add user agent for Chromium based Edge Browser to browser detection

* fix the comment left for the default return
2020-06-09 12:47:10 -07:00
Yegor
3a75937e4a nullability clean-ups (flutter/engine#18880)
* nullability clean-ups
2020-06-08 10:55:24 -07:00
Yegor
f53e3cad55 null-annotate remaining engine code (flutter/engine#18852)
* null-annotate remaining engine code
2020-06-05 21:00:07 -07:00
Harry Terkelsen
11fe823a9a Roll CanvasKit to 0.16.1 (flutter/engine#18618)
* Roll CanvasKit to 0.16.1

Fixes https://github.com/flutter/flutter/issues/58014
Fixes https://github.com/flutter/flutter/issues/56938

* Use multiple shared color arrays

* Use fresh color arrays for computeTonalColors

* Use drawColorInt

* Add TODO to use a flattened array when CanvasKit supports it
2020-06-05 14:51:44 -07:00
Yegor
9ed3637fa0 add nullability annotations to lib/ui/painting.dart (flutter/engine#18374)
* add nullability annotations to lib/ui/painting.dart
2020-06-05 10:26:14 -07:00
Yegor
f6b8e644c4 add nullability annotations to lib/web_ui painting.dart (flutter/engine#18395)
* add nullability annotations to lib/web_ui painting.dat
2020-06-05 08:20:55 -07:00
Yegor
84949bf44a add nullability annotations to ui/text.dart (flutter/engine#18400)
* add nullability annotations to ui/text.dart
2020-06-05 08:19:14 -07:00
Dan Field
16681d7292 Record path memory usage in SkPictures (flutter/engine#18827) 2020-06-04 15:48:25 -07:00
Yegor
b411311639 null annotate window.dart (flutter/engine#18789) 2020-06-04 14:31:08 -07:00
nturgut
0f62d15509 [web] Adding profile parameter to firefox (flutter/engine#18792)
* opening firefox with a given profile

* use .dart_tool for temporary directory. delete the directory if exits before creation
2020-06-04 13:22:13 -07:00
Yegor
ea849e7c04 null-annotate semantics.dart (flutter/engine#18791) 2020-06-04 11:35:24 -07:00
Yegor
43f11163e2 Minimize child DOM node moves in many-to-many update (flutter/engine#18648)
* minimize child DOM node moves in many-to-many update
2020-06-04 10:53:38 -07:00
Dan Field
305435e0a5 Live region announcements for iOS (flutter/engine#18798) 2020-06-03 19:13:04 -07:00