Yegor
b502fcb9fc
Implement image resurrection ( #22575 )
2020-11-20 10:38:02 -08:00
Ferhat
1bf5c8b084
[web] Implement tilemode for gradient shaders. ( #22597 )
2020-11-20 09:06:55 -08:00
vsmenon
550c750252
Remove opt outs for dart:ui ( #22603 )
...
* Remove null safety opt outs for dart:ui
2020-11-19 18:54:12 -08:00
Harry Terkelsen
fc55814609
Implement Scene.toImage() in CanvasKit mode. ( #22085 )
2020-11-19 17:33:43 -08:00
Matěj Žídek
93a8e6f04a
replace dead links ( #22530 )
2020-11-19 14:58:02 -08:00
Ferhat
23324c10dd
[web] Fix test failure on high dpi device ( #22618 )
2020-11-19 14:56:30 -08:00
Greg Spencer
4b859cee93
Fix typos and fix some env var state leakage in tests ( #22576 )
...
This just fixes some typos, and a small state leak in some of the tests that set env variables.
2020-11-17 21:51:37 -08:00
Yegor
35a0b9fe68
Refactor CanvasKit image ref counting; fix a minor memory leak ( #22549 )
...
* Refactor SkiaObjectBox ref counting
* make CkAnimatedImage a Codec
* disallow double dispose; better assertion messages
2020-11-17 17:40:34 -08:00
Greg Spencer
9a5fd321f6
Reland: Remove the Window class now that it is no longer used. ( #22566 )
...
Reland #22505 , now that flutter/flutter#70637 has landed.
Removes references to dart:ui.Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate.
2020-11-17 16:39:07 -08:00
Ian Hickson
1a5ec52a6c
Also maintain the zone on the ChannelBuffers.push callback ( #22454 )
2020-11-17 09:48:03 -08:00
Harry Terkelsen
ab5d1cdb1e
Migrate to CanvasKit 0.19.0 ( #22511 )
2020-11-16 16:24:04 -08:00
Jim Graham
b0966e8123
Revert "Remove the Window class now that it is no longer used. ( #22505 )" ( #22519 )
...
This reverts commit 2004a7b3756d27c76f0c0ffcfaae885fb61f091a.
2020-11-13 23:12:12 -08:00
Greg Spencer
2004a7b375
Remove the Window class now that it is no longer used. ( #22505 )
...
This removes the Window class, now that the framework no longer uses it.
2020-11-13 14:38:15 -08:00
Ferhat
c81a2ecb58
[web]Update @dart annotation. Change shaders to allocate smaller canvas ( #22481 )
2020-11-13 13:55:32 -08:00
nturgut
03ff8a4096
TBR: remove the extra values which was overshadowing the test result ( #22483 )
...
* remove the extra values which was overshadowing the test result
* increase difference. canvaskit gives different results
* increase difference more. firefox gave 1.7 diff. add comments
2020-11-12 18:24:38 -08:00
LongCatIsLooong
e872177c1f
Exposing ColorFilter to ImageFilter conversion and Compose() ( #20309 )
2020-11-12 15:34:02 -08:00
Yegor
c712e4d195
make CkContourMeasureIter and CkContourMeasure resurrectable ( #22459 )
2020-11-12 13:27:39 -08:00
Greg Spencer
9f09ff2455
Reland: "Make PlatformDispatcher.locale and locales return consistent values ( #22267 )" ( #22473 )
...
This reverts commit d37b862, relanding #22267 , now that flutter/flutter#70252 has landed to prevent the problems it had the first time.
Here is the original PR description:
For some reason (probably a bad merge on my part), the return values for locale and locales are not the same on web as they are on other platforms for the PlatformDispatcher and SingletonFlutterWindow classes. The web versions are non-nullable and the others are nullable.
This converts them to be the same (non-nullable) values
2020-11-12 13:20:13 -08:00
Jim Graham
d37b86216a
Revert "Make PlatformDispatcher.locale and locales return consistent values ( #22267 )" ( #22461 )
...
This reverts commit dc8864182c531994852a8263f77596a6131ed8fd.
2020-11-11 23:39:59 -08:00
Yegor
cdc44862e7
Make CkPath resurrectable ( #22446 )
2020-11-11 17:29:01 -08:00
nturgut
4d44b7e7d9
Upgrades to felt (running on multiple modes, multiple backends, single test target option) ( #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
Greg Spencer
dc8864182c
Make PlatformDispatcher.locale and locales return consistent values ( #22267 )
...
For some reason (probably a bad merge on my part), the return values for locale and locales are not the same on web as they are on other platforms for the PlatformDispatcher and SingletonFlutterWindow classes. The web versions are non-nullable and the others are nullable.
This converts them to be the same (non-nullable) values.
2020-11-11 16:30:22 -08:00
Mouad Debbar
5f063f1b3d
[web] Refactor _measureSubstring to better suit rich text measurement ( #22443 )
2020-11-11 15:50:01 -08:00
Mouad Debbar
468bc3e9ac
[web] Reuse the existing font string builer in TextStyle ( #22444 )
2020-11-11 15:49:46 -08:00
Mouad Debbar
f62b754e7f
[web] Better data structure to prepare for rich text measurement ( #22442 )
2020-11-11 15:49:24 -08:00
Yegor
cdb5b2af00
Remove double-referencing from CkImage to SkImage ( #22415 )
2020-11-11 14:04:02 -08:00
Ferhat
6e15044ef5
[web] Speed up PageView/CustomPainter rendering ( #22408 )
2020-11-10 14:41:58 -08:00
Yegor
1a13dac529
Simplify API for scheduling Skia object deletions ( #22409 )
2020-11-10 10:01:39 -08:00
Mouad Debbar
0cb821f263
[web] Restore the ability to set a custom url strategy ( #22371 )
2020-11-09 22:28:48 -08:00
Yegor
1e3ceb037f
Update pubspecs to null-safe dependencies ( #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
Ferhat
d6b71fa9b3
[web] Remove as checks (_generalNullableAsCheckImplementation) / pushSurface calls ( #22357 )
2020-11-06 17:54:06 -08:00
Emmanuel Garcia
7ab39127ee
loadFontFromList returns void instead of string ( #22373 )
2020-11-06 17:24:02 -08:00
Mouad Debbar
10f06b5abf
[web] Implement style inheritance during paragraph construction ( #22365 )
2020-11-06 15:44:31 -08:00
Mouad Debbar
d3c0727907
[web] Split the EngineParagraph interface from the legacy implementation ( #22307 )
2020-11-06 12:23:35 -08:00
Konstantin Scheglov
cf376142ed
Ignore several import_of_legacy_library_into_null_safe ( #22326 )
2020-11-06 09:55:29 -08:00
Ferhat
6c5f9391a6
[web] Fix recycling same canvas more than once and add assert to detect ( #22342 )
2020-11-06 00:50:53 -08:00
Ferhat
879525a9f5
Remove sink parameter since _BaseAdapter exposes _callback ( #22335 )
2020-11-05 19:44:04 -08:00
张风捷特烈
1c2a56ce02
Update painting.dart ( #22221 )
2020-11-05 15:24:02 -08:00
Ian Hickson
ad79d23358
Refactor platform message logic ( #22181 )
2020-11-05 15:19:01 -08:00
Ferhat
39f9855c1f
[web] Improve dom canvas speed. Fix density calculation regression in recomputeTransformClip ( #22328 )
2020-11-05 13:17:03 -08:00
Jason Simmons
e66a720137
Roll the path package in web_ui and web_test_utils to match the version used by the framework ( #22309 )
2020-11-04 22:23:31 -08:00
Sarbagya Dhaubanjar
deb7c662d2
Updated return-type for PathMetric.extractPath to be non-nullable ( #22292 )
2020-11-04 14:54:03 -08:00
Ferhat
d5b726985f
[web] Enable Control+MouseWheel browser zoom ( #22285 )
2020-11-04 12:32:25 -08:00
Mouad Debbar
08cc9e7114
[web] Put the paragraph painting logic in the Paragraph class ( #22239 )
2020-11-03 21:10:44 -08:00
Yegor
d27ff811b9
Make some errors more idiomatic ( #22261 )
2020-11-03 12:57:51 -08:00
Mouad Debbar
5fe35fd416
[web] Canoncalize font family on input fields ( #22215 )
2020-11-03 11:53:04 -08:00
Ferhat
59b01e0e5a
[web] Fix repaint logic for cullrect,transform changes ( #22273 )
2020-11-03 11:31:48 -08:00
Daco Harkes
ccdb6819ce
WeakPersistentHandle migration ( #19843 )
...
and roll Dart to 52783837369de45d3372cb6c6b7cdd63e71cd829.
2020-11-03 13:06:53 +01:00
Yegor
e9c62e7495
do not print in _computePixelDensity ( #22257 )
2020-11-02 17:32:29 -08:00
Harry Terkelsen
7c8f57c07d
Report error when instantiating CanvasKit network image ( #22159 )
2020-11-02 14:58:49 -08:00