1306 Commits

Author SHA1 Message Date
Yegor
de74f8a581
migrate web engine implementation to null-safe Dart (#19172)
Migrate dart:_engine to null safe dart
2020-06-26 14:13:01 -07:00
David Worsham
220a831028
Move fuchsia/scenic integration behind #define (#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
760366b474
Autofill Menu appears on top left of the page (#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
b5691124a3
Add more logging for when assets fail to load (#19241) 2020-06-25 14:02:34 -07:00
nturgut
d758e069da
collect logs using the new web_installers repo (#19298) 2020-06-25 10:27:53 -07:00
nturgut
2c04b9ab8e
skip ios safari tests on felt level (#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
3fcf5463b9
Run IOS unit tests on LUCI (#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
683cc1594d
Enable firefox integration tests (#19164)
* firefox integration tests enable

* addressing reviewer comments
2020-06-22 13:16:57 -07:00
Ferhat
f16a16eaf6
Fix fonts.clear exception in IE11 (#19180) 2020-06-22 09:24:31 -07:00
Gary Qian
637a8e7cd0
Revert method channel platform resolved locale (#19136) 2020-06-19 17:40:22 -07:00
Ferhat
b8654ff0f5
[web] Fix conic to quad conversion assertion. (#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
a5a212200b
Fix issue with cubic bounds misaligning. (#19054)
Merging on infra flake on embedder.cc
2020-06-19 16:45:19 -07:00
Jason Simmons
91a63d6a44
Remove obsolete comment from web_ui pubspec (#19100) 2020-06-19 15:28:02 -07:00
Jonah Williams
676cd566f7
[nnbd] build platform dill in agnostic mode (#19167)
In agnostic mode, both sound and unsound modes are supported.
2020-06-19 13:26:50 -07:00
nturgut
a358e99a6e
[web] Running integration tests on Safari on Local (#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
40ef2e5b14
Roll CanvasKit to 0.16.2. (#19011) 2020-06-18 10:54:48 -07:00
Jason Simmons
9fcfec39c0
Avoid creating a vector when constructing Dart typed data objects for platform messages (#18838) 2020-06-18 09:58:03 -07:00
Dan Field
5157a6b210
Parameterize upscaling for image decoding (#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
f9eeee310c
Poor video scaling quality #53080 (#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
e3f3fecb18
Manual roll of Dart 021a49e88c...4b9aa2bd7e (#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
00aa0bc071
take web_ui to null safety (#19027)
move web_ui to NNBD syntax
2020-06-16 15:28:06 -07:00
Dan Field
71cb701080
Instantiate image codec doc fix (#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
3a96741247
Platform resolved locale and Android localization refactor (#18645) 2020-06-16 04:29:50 -07:00
Luigi Rosso
cba8990d13
Adding support for image filtering in CanvasKit backend. (#19035) 2020-06-15 09:01:37 -07:00
Yegor
194acdfaed
apply null safety syntax to mobile dart:ui (#18933)
* apply null safety syntax to mobile dart:ui
2020-06-12 12:42:12 -07:00
liyuqian
369e0a9b91
Add ui_benchmarks (#18945) 2020-06-11 10:55:03 -07:00
Mouad Debbar
2739bbfcfe
[web] Provide a hook to disable location strategy (#18969) 2020-06-10 21:51:45 -07:00
nturgut
965fbbed17
renaming variables on integration tests manager (#18975) 2020-06-10 16:33:52 -07:00
nturgut
a6435210ac
Update firefox.dart (#18939) 2020-06-10 11:29:19 -07:00
nturgut
eaa2f7f90f
[web] running ios unit tests from felt … (#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
7e6c856ea0
Add support for horizontalDoubleArrow and verticalDoubleArrow cursors (#18916) 2020-06-10 07:17:11 -07:00
nturgut
03b7bad6d1
remove failing tests on safari (#18944) 2020-06-09 17:19:47 -07:00
Brian Osman
925943b74d
SkMatrix::MakeFoo is deprecated, use SkMatrix::Foo instead (#18934) 2020-06-09 16:55:13 -04:00
Harry Terkelsen
e46f50b2d8
Fix CanvasKit text colors by not passing a Malloc'ed array. (#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
3e9f8f3151
[web] Line break algorithm using unicode properties (#18795) 2020-06-09 12:53:06 -07:00
nturgut
04eb18dea8
Add user agent for Chromium based Edge Browser to browser detection (#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
f581f428e9
nullability clean-ups (#18880)
* nullability clean-ups
2020-06-08 10:55:24 -07:00
Yegor
ff6462e457
null-annotate remaining engine code (#18852)
* null-annotate remaining engine code
2020-06-05 21:00:07 -07:00
Harry Terkelsen
5741134bc0
Roll CanvasKit to 0.16.1 (#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
2230d18612
add nullability annotations to lib/ui/painting.dart (#18374)
* add nullability annotations to lib/ui/painting.dart
2020-06-05 10:26:14 -07:00
Yegor
e87a05fbba
add nullability annotations to lib/web_ui painting.dart (#18395)
* add nullability annotations to lib/web_ui painting.dat
2020-06-05 08:20:55 -07:00
Yegor
612568c67b
add nullability annotations to ui/text.dart (#18400)
* add nullability annotations to ui/text.dart
2020-06-05 08:19:14 -07:00
Dan Field
7e38261e1a
Record path memory usage in SkPictures (#18827) 2020-06-04 15:48:25 -07:00
Yegor
fe80dff37b
null annotate window.dart (#18789) 2020-06-04 14:31:08 -07:00
nturgut
201dc00cb9
[web] Adding profile parameter to firefox (#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
4ce831e469
null-annotate semantics.dart (#18791) 2020-06-04 11:35:24 -07:00
Yegor
d30024829e
Minimize child DOM node moves in many-to-many update (#18648)
* minimize child DOM node moves in many-to-many update
2020-06-04 10:53:38 -07:00
Dan Field
343af33344
Live region announcements for iOS (#18798) 2020-06-03 19:13:04 -07:00
nturgut
895ef3375e
[web] Remove connection close on blur for desktop browsers (#18743)
* Do not close the text editing connection when an input text element is blurred (upon clicking another element on the page) on a desktop browser. keep the current behaviour for mobile browsers

* change the unit tests for blur

* refocus after blur so that the user can keep inputing text to the TextFormField

* skipping failing firefox check. active element didn't get updated in firefox in the automated test. manually checks working
2020-06-03 12:12:00 -07:00
Dan Field
25054fb470
Implement GetAllocationSize for Vertices (#18756)
* Implement GetAllocationSize for Vertices

* Reflect vertex buffer size in pictures
2020-06-03 10:35:14 -07:00