Ferhat
b080bdf56f
Prevent recycling of canvas multiple times ( #23089 )
2020-12-15 16:42:40 -08:00
Mouad Debbar
730ad8601b
[web] Calculate height and baseline for rich text ( #23064 )
2020-12-15 15:48:34 -08:00
Yegor
3d4c021fbd
[canvaskit] cache and reuse platform view overlays ( #23061 )
2020-12-15 14:57:05 -08:00
Yegor
d0b6e4269f
[canvaskit] improve image error handling and messaging ( #22951 )
2020-12-14 14:46:15 -08:00
Mouad Debbar
8ead1df40b
[web] Align offset for lines of rich text ( #23043 )
2020-12-14 13:23:03 -08:00
Mouad Debbar
5d0310fd7f
[web] Separate the height ruler from the other rulers ( #22964 )
2020-12-14 13:13:02 -08:00
Harry Terkelsen
360a16ad75
CanvasKit fix embedded view clipping ( #22937 )
2020-12-14 13:08:03 -08:00
Harry Terkelsen
405b105fe8
Pass angles for SweepGradient in degrees, not radians ( #21677 )
2020-12-11 16:54:54 -08:00
Harry Terkelsen
25293df2eb
Implement pushColorFilter in CanvasKit ( #22838 )
...
* Implement pushColorFilter in CanvasKit
* Add test
* Update goldens lock
2020-12-11 16:54:28 -08:00
Yegor
3cdb6de239
[canvaskit] reuse canvases when window resizes ( #22966 )
2020-12-11 15:05:11 -08:00
Mouad Debbar
3a035ee044
[web] Add complex rich text test cases and fix them ( #22948 )
2020-12-11 11:28:49 -08:00
Mouad Debbar
7bdaf3795b
[web] Introduce flag to enable new rich text implementation ( #22942 )
2020-12-11 09:28:37 -08:00
Mouad Debbar
14c8c24456
[web] Fix regression in foreground style ( #22999 )
2020-12-10 16:30:09 -08:00
David Iglesias
50d830a1ac
[web] Do not reset 'cursor' in PersistedPlatformView. ( #22977 )
2020-12-10 16:03:02 -08:00
Jim Graham
bb81b954b9
Allow Tile mode for blur filter and add new decal TileMode ( #22982 )
...
Add a new TileMode.decal enum value and allow TileMode in ImagerFilter.blur() constructor
2020-12-10 14:37:17 -08:00
nturgut
3a30ae3d5c
Fix ios voiceover (for safari >13.4) ( #22965 )
...
* fixes voice over for higher ios-safari versions
* change enable conditions for webkit
* adding click event for removal. adding unit tests
* run the mobile semantics enabler test on mobile browsers
* remove test method that gave different result on LUCI.(further inv. needed)
2020-12-10 11:59:44 -08:00
Ferhat
4797b06652
[web] Fix drag failure when RMB pointer up event is not received ( #22946 )
2020-12-10 10:32:04 -08:00
Ferhat
91ec9451dd
[web] Optimize BitmapCanvas. Fixes overallocation of canvas elements ( #22856 )
2020-12-10 09:08:29 -08:00
Harry Terkelsen
fb486d9d90
Fix platform view transforms in CanvasKit ( #22945 )
2020-12-09 16:13:02 -08:00
nturgut
2948fee1bf
[web] For Firefox focusing on the DOM element after blur propagates ( #22953 )
...
* For Firefox focusing on the DOM element after blur propagates
* modify the unit tests. remove webkit skip
* change async testing to a more common usage
2020-12-09 16:07:06 -08:00
Mouad Debbar
da5b0f9b36
[web] Default styles for rich text ( #22941 )
2020-12-08 15:22:20 -08:00
Mouad Debbar
df30ffef4f
[web] Fix edge cases when force-breaking lines ( #22910 )
2020-12-08 13:30:41 -08:00
Yegor
c31dc58918
[canvaskit] fix TransformLayer.preroll ( #22890 )
2020-12-08 12:04:58 -08:00
Mouad Debbar
a3ee6150e1
[web] Handle long text and ellipsis in rich text ( #22873 )
2020-12-07 13:28:14 -08:00
Yegor
47add1dc32
re-enable pointer events inside platform views ( #22874 )
2020-12-04 13:25:22 -08:00
Mouad Debbar
6a5971dac7
[web] Initial rich measurement implementation ( #22779 )
2020-12-03 16:33:03 -08:00
Yegor
37738353cd
Make CkPicture resurrectable ( #22807 )
...
* Make CkPicture resurrectable
* disable goldens on Firefox
* add non-recording canvas test; fix Firefox test
2020-12-03 13:13:44 -08:00
Yegor
b63e911472
Better handle image codec instantiation failure ( #22809 )
2020-12-02 12:27:11 -08:00
Lasse R.H. Nielsen
105004dd2d
Stop using the List constructor. ( #22793 )
2020-12-02 11:53:01 -08:00
Greg Spencer
d2ad4419bb
Fix PlatformDispatcher.locale to return something meaningful when there are no locales. ( #22608 )
...
Returns an "undefined" locale (language code "und") from PlatformDispatcher.locale when no locales are defined.
2020-12-01 09:54:56 -08:00
Mouad Debbar
587c023abf
[web] Add new line break type (prohibited) ( #22771 )
2020-11-30 13:05:10 -08:00
nturgut
fbf6818741
Enabling semantics tests for safari, ios-safari and firefox ( #22662 )
...
* enable safari tests for almost all the methods for semantics tests
* enable almost all semantics tests for firefox
* Safari desktop have different scroll max values for different versions
* fix assert
2020-11-23 15:45:55 -08:00
Yegor
b249d568cf
Add Instrumentation class ( #22650 )
2020-11-21 08:38:02 -08:00
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
Harry Terkelsen
fc55814609
Implement Scene.toImage() in CanvasKit mode. ( #22085 )
2020-11-19 17:33:43 -08:00
Ferhat
23324c10dd
[web] Fix test failure on high dpi device ( #22618 )
2020-11-19 14:56:30 -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
Ferhat
c81a2ecb58
[web]Update @dart annotation. Change shaders to allocate smaller canvas ( #22481 )
2020-11-13 13:55:32 -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
Yegor
cdc44862e7
Make CkPath resurrectable ( #22446 )
2020-11-11 17:29:01 -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
Mouad Debbar
0cb821f263
[web] Restore the ability to set a custom url strategy ( #22371 )
2020-11-09 22:28:48 -08:00
Mouad Debbar
10f06b5abf
[web] Implement style inheritance during paragraph construction ( #22365 )
2020-11-06 15:44:31 -08:00