1719 Commits

Author SHA1 Message Date
Ferhat
ff8593f303
[web] Fix svg based stroke rendering. (#23969) 2021-01-27 13:40:21 -08:00
Ian Hickson
0540bc876d
Continue filling in the list of FontFeatures (#23730) 2021-01-27 02:49:02 -08:00
Yegor
e598d2f9e4
[canvaskit] fix text background, foreground, color; add text style tests (#23800)
* [canvaskit] fix text background, foreground, familyFallback; add style tests

* add leak test

* update goldens_lock.yaml

* remove solo

* Warn when popping out of empty text style stack
2021-01-26 20:19:46 -08:00
Ferhat
7ffca994cc
Fix flake due to shadow rendering difference on webkit (#23961) 2021-01-26 16:59:01 -08:00
Michael Reed
1411cb671b
Pass sampling rather than rely on (deprecated) filter-quality (#23963) 2021-01-26 15:14:01 -08:00
Mouad Debbar
40c3a9725f
[web] Fix alignment issue in rich paragraphs (#23965) 2021-01-26 13:02:45 -08:00
Daco Harkes
a6119a3db5
add ffi_allocation_patch.dart to libraries.yaml 2 (#23954) 2021-01-26 14:44:35 +01:00
Harry Terkelsen
8320617d15
Adds Roboto as a global font fallback in CanvasKit (#23928) 2021-01-25 14:10:04 -08:00
Yegor
a5c305e4e4
push methods return layers with correct class names (#23542) 2021-01-23 20:31:48 -08:00
Ferhat
a242dd866b
[web] Fix shadows for arbitrary paths on PhysicalShape (#23830) 2021-01-22 14:22:17 -08:00
Paul Berry
6dec57f575
Remove workarounds now that type promotion accounts for local boolean variables. (#23862)
This change removes workarounds that were introduced prior to landing
Dart language feature
https://github.com/dart-lang/language/issues/1274, which allows type
promotion in null safe code to account for local boolean variables.
The workarounds ensured that the code would analyze the same
regardless of whether the feature was enabled, allowing for a smoother
transition.  Now that the feature has fully landed, the workarounds
aren't needed anymore.
2021-01-22 12:54:34 -08:00
Emmanuel Garcia
a4836a61f8
Call Dart plugin registrant if available (#23813) 2021-01-21 23:44:01 -08:00
Dan Field
5dc24693d5
Reland path vol tracker (#23840)
This time making sure to deref the native object on GC.
2021-01-21 16:03:43 -08:00
Harry Terkelsen
5b9cd44b1a
Automatically download Noto fonts as backup fonts in CanvasKit mode (#23728)
* Revert "Revert "[CanvasKit] Automatically fall back to Noto fonts (#23096)" (#23357)"

This reverts commit f9f4d0168dc6e03324844db942a4bca717ebb2e0.

* WIP

* Use an Interval Tree to store the unicode ranges for the Noto Fonts

* Update licenses

* Remove debug print statements

* Respond to comments

* Fix analysis error

* Add tests

* Respond to comments

* Fix test

* Update goldens lock

* Skip screenshot test on Safari

* Skip CanvasKit tests on iOS Safari

* Move CanvasKit initialization so it doesn't run on iOS Safari
2021-01-21 12:58:33 -08:00
Dan Field
e37235b647
revert path volatility tracker (#23822) 2021-01-21 08:34:02 -08:00
Ferhat
6a6c8af18d
[web] Make null paint color consistent with mobile&desktop (#23778) 2021-01-20 13:53:38 -08:00
Ferhat
82aac14cfb
[web] Fix drawPoints api crash when strokeWidth is not specified. (#23773) 2021-01-20 11:39:06 -08:00
chunhtai
c97bdae2a0
update browser history switching (#23471) 2021-01-20 09:34:02 -08:00
Ferhat
2b994d5d16
[web] Fix shadow rendering using boxshadow due to webkit repaint area bug (#23769) 2021-01-20 09:29:03 -08:00
Yegor
688578e687
[canvaskit] fix addPlaceholder JS bindings; add paragraph test (#23685) 2021-01-20 09:19:02 -08:00
Greg Spencer
df5f3b086c
Implement handling of framework-handled key events (#23655) 2021-01-19 16:44:01 -08:00
Mouad Debbar
9bc776a841
[web] Add --watch flag to 'felt test' (#23727) 2021-01-19 13:16:00 -08:00
Ferhat
9a4f4159d8
[web] Fix linear gradient tiling offset. (#23691) 2021-01-15 11:08:55 -08:00
Mouad Debbar
30f7e9f55e
[web] Reland: Enable the new rich paragraph implementation (#23696) 2021-01-15 10:57:15 -08:00
Sam Rawlins
a43b2bd907
Return null in Future<WebSocketChannel>.catchError handler (#23101) 2021-01-14 14:29:58 -08:00
Zachary Anderson
3e3da2e361
Ensure gen_snapshot for the target is built when needed (#23694) 2021-01-14 14:29:02 -08:00
Mouad Debbar
3fd4c63fab
[web] Fix letter spacing for rich paragraphs (#23683) 2021-01-14 12:37:41 -08:00
Ferhat
3f691f07ba
[web] Fix semantic node order for webkit (#23601) 2021-01-14 11:36:50 -08:00
Mouad Debbar
9d75996c1b
Revert "[web] Enable the new rich paragraph implementation (#23162)" (#23687)
This reverts commit 51dd6aa034700b0603a8a2fe222836c798cef9a2.
2021-01-14 10:00:13 -08:00
Michael Ludwig
37131f16d9
Use non-deprecated SkImageFilter factory functions (#23649)
* Only use factory functions from SkImageFilters.h

Fully addresses https://github.com/flutter/flutter/issues/40602

* Update image filter factories in unittests

SkImageFilter::MakeMatrixFilter -> SkImageFilters::MatrixTransform

* Fix header
2021-01-14 09:33:55 -05:00
Mouad Debbar
d7b25f9a33
[web] Reland: Enable the new rich paragraph implementation (#23659) 2021-01-13 16:14:02 -08:00
Mouad Debbar
22bbc3c3e0
[web] Fix text cutoff when rendering paragraphs on DomCanvas (#23638) 2021-01-13 13:39:01 -08:00
Yegor
3a89dff758
Switch to directional shadows (#23459)
* Switch to directional shadows

* update goldens
2021-01-13 12:29:58 -08:00
Yegor
7ba7d74b5c
use the profile build of CanvasKit in --profile mode (#23592) 2021-01-13 12:02:12 -08:00
Mouad Debbar
4814b157d1
[web] Fix layout exception when text is null (#23653) 2021-01-13 11:54:02 -08:00
Zachary Anderson
859494fb40
Revert "[web] Enable the new rich paragraph implementation (#23162)" (#23651)
This reverts commit 51dd6aa034700b0603a8a2fe222836c798cef9a2.
2021-01-13 10:02:01 -08:00
Jason Simmons
f1278d0e71
Link SkShaper/SkParagraph into the engine by default (#23626) 2021-01-12 15:49:01 -08:00
Yegor
d2b8154790
[canvaskit] apply invser scale on the left (#23550) 2021-01-12 13:27:46 -08:00
Mouad Debbar
51dd6aa034
[web] Enable the new rich paragraph implementation (#23162) 2021-01-11 20:20:00 -08:00
Harry Terkelsen
62a1e8eed3
Roll CanvasKit to 0.22 (#23348) 2021-01-11 18:18:38 -08:00
Mouad Debbar
497dcb5c2a
[web] Apply font-family and other styles to the paragraph element (#23596) 2021-01-11 15:34:01 -08:00
Ferhat
2dee0d2f07
Convert mousewheel+Control events to pointerdata on non MacOS as well (#23597) 2021-01-11 15:11:23 -08:00
Chinmay Garde
cb2a81e1c2
During image decoding, avoid using smart pointers for DartWrappables that cross thread-boundaries. (#23503) 2021-01-08 20:54:02 -08:00
Yegor
2bcb01b80c
Add flt-renderer and flt-build-mode debug attributes to <body> (#23430)
* add flt-renderer and flt-build-mode debug attributes to <body>
* explicitly specify renderer in tests
2021-01-08 18:45:45 -08:00
Mouad Debbar
a68c169850
[web] Fix more tests that are specific to DomParagraph (#23551) 2021-01-08 16:30:35 -08:00
Mouad Debbar
cbda3c08ea
[web] Fix tests in preparation for enabling new rich paragraph implementation (#23515) 2021-01-08 14:20:05 -08:00
Michael Goderbauer
40a262b67c
Update outdated links (#23513) 2021-01-08 10:14:01 -08:00
Mouad Debbar
2bcca6c6cd
[web] Draw shadows for text in rich paragraphs (#23470) 2021-01-07 13:03:26 -08:00
Jason Simmons
83732f262c
Provide a runtime switch for selecting SkParagraph text layout (#23474) 2021-01-07 12:59:03 -08:00
Mouad Debbar
599a0728f9
[web] Placeholders for rich paragraphs (#23160) 2021-01-06 14:31:19 -08:00