1248 Commits

Author SHA1 Message Date
Yegor
d501c49cce
do not lock petitparser (#18703) 2020-06-01 11:49:45 -07:00
Ferhat
cf899edecd
[web] Fix nineslice assertion (#18542)
* Fix nineslice assertion
2020-06-01 11:12:34 -07:00
Yegor
f49bd05014
implement SkPath.computeMetrics (#18667)
* implement SkPath.computeMetrics
2020-06-01 09:43:15 -07:00
Jason Simmons
175a92b467
Upgrade the meta package version for compatibility with petitparser-3.0.4 (#18700) 2020-06-01 09:36:22 -07:00
chenjianguang
89cf074d37
Setup default font manager after engine created, to improve startup performance (#18225) 2020-05-28 17:53:04 -07:00
Ferhat
506bd71415
[web] Fix child removal after reuse by other BitmapCanvas (#18604)
* Fix child removal after reuse by other BitmapCanvas
* Address review comments
2020-05-26 17:28:49 -07:00
Harry Terkelsen
1a8349888e
Revert "Update CanvasKit to 0.15.0 (#18570)" (#18600)
This reverts commit 1166a3543c86ce7ebc68b455feb0a3d927bf6583.

Reason: breaks dashboard
2020-05-26 09:51:07 -07:00
Harry Terkelsen
1166a3543c
Update CanvasKit to 0.15.0 (#18570)
Fixes https://github.com/flutter/flutter/issues/56938
2020-05-21 17:49:52 -07:00
Chris Bracken
9f4468602c
null-annotate semantics.dart (#18553)
Covers the remaining API surface of the semantics library.
2020-05-21 14:24:08 -07:00
Ferhat
7f69f0d7a9
[web] Fix arc rendering when it starts a new sub path. (#18535)
* Fix Path.addArc failure due to incorrect start position
2020-05-20 16:46:28 -07:00
Tong Mu
f3a38f0bb2
System mouse cursor: Web (#17718)
Adds system mouse cursor to the web engine.
2020-05-20 14:54:38 -07:00
Ferhat
4be3a031b6
[web] Reuse ImageElement(s) across frames (#18437)
* reuse images across frames
* Change implementation to CrossFrameCache at picture level
* Update licenses_flutter
2020-05-20 14:46:41 -07:00
Yegor
2cabca4405
compensate for DPR in canvas blur (#18484)
* compensate for DPR in canvas blur
2020-05-19 12:37:29 -07:00
Luigi Rosso
e5e843e9d4
Adding ImageShader support for CanvasKit (#18369)
* Adding ImageShader support for CanvasKit and fixing indices parameter for vertices.

* Removing trailing spaces.

* Using longer variable names.
2020-05-19 10:39:47 -07:00
Yegor
03b5f2cfd3
implement MaskFilter.blur as shadow on Safari (#18216)
* implement MaskFilter.blur as shadow on Safari
2020-05-18 11:58:49 -07:00
Yegor
cd4b83d3db
auto-pop pushed layers (#18451) 2020-05-18 10:01:37 -07:00
Yegor
570b474728
Implement local, locales, and onLocaleChanged for the web (#18137)
* implement `locale`, `locales`, and `onLocaleChanged` in the web version of `Window.

Co-authored-by: Simon Lightfoot <simon@devangels.london>
2020-05-16 10:10:32 -07:00
nturgut
c39f859f03
fix the issue in the test and remove them from the blacklist for chrome (#18441) 2020-05-15 17:47:51 -07:00
Yegor
f6847b1c17
sync ui geometry.dart into web_ui geometry.dart; add null safety annotations (#18356)
sync ui geometry.dart into web_ui geometry.dart; add null safety
2020-05-15 17:09:14 -07:00
Chris Bracken
af2b806700
null-annotate native calls in lib/ui/semantics.dart (#18436)
Also covers counterparts of these calls in web_ui.
2020-05-15 16:28:00 -07:00
Chris Bracken
fb21b34f02
null-annotate native calls in lib/ui/window.dart (#18430) 2020-05-15 15:38:57 -07:00
Chris Bracken
430a107e20
Delete unused web_ui RuntimeDelegate, Engine (#18429)
These were part of the old compositor but no longer referenced anywhere
in the web engine.
2020-05-15 14:11:56 -07:00
Ferhat
c2347aad5a [web] Implement setPreferredOrientation (#18432)
* Implement preferred orientation
* update comments
2020-05-15 13:48:20 -07:00
nturgut
cb71dcd377
Run integration tests on luci, use cipd package for Chrome (#18180)
* try to run integration tests on luci

* adds extra logs to check if chrome is on lUCI

* use the cipd chrome package for integration tests in LUCI

* add driver version for chrome 83.(cipd package has 83 now)

* no headless mode didn't worked on the bots. try the other option

* On LUCI also use chrome driver as a cipd package

* change the directory name to fit the cpid package

* adding blacklist functionality

* remove logs added for troubleshooting. remove the check that blocks int-test runs on LUCI

* add more comments to blacklists

* also use CIPD package chrome for unit tests

* addressing reviewer comments

* run integration tests first, upon reviewer request

* fix bug. keep running integration tests after unit tests

* update the logs for LUCI

* fix todo comments
2020-05-15 12:46:53 -07:00
Chris Bracken
dc7e24e15a
null-annotate lib/ui/natives.dart (#18349) 2020-05-15 09:33:11 -07:00
Jason Simmons
73e9ce878e
Manual Dart roll to 95e11bc2d30f7c1b9c49a4fc97a44c4b32fe66d8 (#18398) 2020-05-14 19:47:02 -07:00
Yegor
b37427eaaf
null-annotate compositing.dart (#18351) 2020-05-14 19:16:28 -07:00
Yegor
609519ec14
release previous canvas when picture is not painted (#18404) 2020-05-14 18:25:13 -07:00
Ferhat
e24c1282d5
[web] Remap cupertino fonts to -apple-system (#18388)
* Remap cupertino fonts to -apple-system
* Update text tests for fallback checks
2020-05-14 17:22:34 -07:00
nturgut
8deea8ed04
[web] change viewinsets instead of physical size for keyboard (#18328)
* changing viewInsets instead of physicalSize during text editing on mobile devices

* fix indentation

* fixing rotation issues. recalculating insets after physical size change. addressing reviewer comments

* make ui.windowpadding abstract. adding windowpadding implementation to engine.
2020-05-14 16:59:31 -07:00
Chris Bracken
7e12824978
null-annotate lib/ui/pointer.dart (#18354) 2020-05-14 15:17:29 -07:00
Chris Bracken
4afc2b4d65
null-annotate lib/ui/plugins.dart (#18353) 2020-05-14 15:16:28 -07:00
Chris Bracken
b415c239f7
null-annotate lib/ui/isolate_name_server.dart (#18352) 2020-05-14 15:15:05 -07:00
Chris Bracken
08b61ce561
Delete unused decode UTF-8, JSON functions (#18360)
These were added in 7e5d63513a7ae854605dbd38582cead55594e9f0 for use in
_handleNavigationMessage. That function was deleted in
f37aafd456fc6a1c2dba5bc1b63123b0e665e6cd, but the support methods were
left in the code. `// ignore: unused` annotations were added to all
private native entry points by dnfield (to work around what is arguably
a bug) in 6179ac637724e8f93b7f3c8dcfda93a6b9b7995e, and were applied to
these two methods, I suspect unintentionally.

In any case, they appear entirely unused at present.
2020-05-14 09:12:28 -07:00
Yegor
bf1287c120
null-annotate lerp.dart, annotations.dart, channel_buffers.dart, hash_codes.dart (#18348) 2020-05-13 16:35:22 -07:00
Jason Simmons
9e3e3ba687
[web] Represent CSS identity transforms as 'none' instead of null (#18288) 2020-05-13 11:47:03 -07:00
Ferhat
21b4d2f1f8
[web] Fix paragraph positioning (#18329)
* Fix text positioning
* Update golden locks
2020-05-13 09:09:18 -07:00
Ferhat
ff6942f57b
Add fontFeatures and decorationThickness to textstyle (#18235) 2020-05-08 15:20:38 -07:00
Nurhan Turgut
1b3b4ec88f
skip font loading tests for safari (#18232) 2020-05-08 13:30:13 -07:00
Yegor
703525502b
make compiler worker count configurable (#17616)
* make compiler worker count configurable
2020-05-08 11:18:02 -07:00
Yegor
68bf137634
skip painting clipped out pictures (#18204) 2020-05-08 11:14:30 -07:00
Siva
9b905d3f03
Manual roll of Dart 617bc54b71...39e0e75fcf (#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
Ferhat
e7ee47d917
[web] Implement matrix parameter for linear gradient (#18208)
* Implement linear gradient matrix
* update golden locks
* Remove matrix check in RadialGradient
2020-05-07 17:22:54 -07:00
Nurhan Turgut
d6aa099de7
Autofill main part (#17986)
* changes for getting the configuration

* running autofill

* simplifications, remove unused map

* more changes

* make single autofill fields work. remove print messages

* remove an extra line

* remove extra file. also update chrome version

* addressing reviewers comments

* addressing reviewer comments

* addressing reviewer comments

* addressing reviewer comments

* changing comments

* changing comments

* adding a comment on subscriptions lifecycle

* fixing a bug which was failing the existing unit tests

* add unit tests for AutofillInfo and EngineAutofillForm. add autocomplete to textarea

* add unit tests for method channels

* remove json from the end of the file

* do not change the input type for the focused element

* check name instead of autocomplete for firefox

* check name instead of autocomplete for firefox in other methods as well

* fixing a bug in the autofillhints file, testing if firefox is failing for username hint or for all autocomplete values

* fix the breaking unit test
2020-05-06 12:58:46 -07:00
Ferhat
80c090d9ea
Fix path bounds for multiple rects. Implement winding rules (#18165) 2020-05-05 20:53:51 -07:00
Jason Simmons
905836d466
[web] Upgrade the test package to remove the dependency on package_resolver (#18135) 2020-05-05 10:57:02 -07:00
Ferhat
a0983d36f7
[web] Add support for ColorFilter on images (#18111)
* Implement Color filter for images
* Add blend modes
* complete set of blend modes
* Add golden test for blend modes, fix size setting when using drawImage instead of drawImageRect
* Add comments
* Update golden locks
* Fix analyzer errors
Co-authored-by: Harry Terkelsen <hterkelsen@users.noreply.github.com>
* fix blend group count in test
2020-05-05 10:22:16 -07:00
Ferhat
4b7380b55f
[web] Workaround for compositing bug in chrome/webkit (#18128)
* Fix compositing error when multiple canvas(s) are reused
* address review comments
* track all element counts
2020-05-05 10:11:56 -07:00
Mouad Debbar
b774f6a40b
[web] Add support for syncing unicode line break properties (#18040) 2020-05-04 20:59:41 -07:00
Cedric GESTES
db6fb7f1fd
[web] also hide scrollbars in text_editing (#18019) 2020-05-04 14:02:46 -07:00