Yegor
5c8a62608b
Delete CSS paint code ( #20426 )
...
* Delete CSS paint code
2020-08-12 14:42:34 -07:00
gaaclarke
2ac5b3460a
Revert "Refactor initial route code ( #19684 )" ( #20450 )
...
This reverts commit 8d08e6c369e349986831d83204a79af3fcb8d8ca.
2020-08-12 12:43:08 -07:00
Yegor
e0d515369f
Make CkVertices a ManagedSkiaObject ( #20421 )
2020-08-12 09:32:08 -07:00
xster
8d08e6c369
Refactor initial route code ( #19684 )
2020-08-11 19:52:04 -07:00
Ferhat
832e811785
[web] Add comment for clip update. ( #20384 )
2020-08-11 13:49:19 -07:00
Yegor
be78eba183
CanvasKit: memory management for image and shader classes ( #20349 )
...
* memory-manage images and shaders
2020-08-11 11:16:42 -07:00
Ferhat
e1f17f388f
Fix nullability warning and change registeredFonts to non-nullable ( #20379 )
...
* Fix nullability warning and change registeredFonts to non-nullable
* Renamed var
2020-08-10 17:27:26 -07:00
Ferhat
6988f01779
Add Path iterator tests, sync verbs with skia enums, fix PathIterator.peek. ( #20381 )
...
* Sync verb enum to skia. Fix PathIterator.peek, add tests
* Add constant for iterator buffer size
2020-08-10 17:24:28 -07:00
Yegor
e35fbbd90d
switch to non-overloaded arcTo methods ( #20341 )
2020-08-10 15:07:17 -07:00
Ming Lyu (CareF)
8b72bbcec9
remove FrameTiming named constructor ( #20380 )
2020-08-10 12:21:03 -07:00
Yegor
8780859f0a
remove write parameter from _checkScreenshot ( #20340 )
2020-08-10 08:57:37 -07:00
Mouad Debbar
02daceb261
[web] Implement support for WidgetSpan (aka paragraph placeholders) ( #20276 )
2020-08-08 18:10:28 -07:00
Ming Lyu (CareF)
409a5e5963
FrameTiming build start timestamp fix and add vsync start timestamp ( #20229 )
2020-08-07 19:41:01 -07:00
nturgut
5be470ae91
[web] Save the autofill information ( #20256 )
...
* changes for autofill. Commit save=false works. added submit button. set form actions
* save the forms on the dom
* fix tests. fix input element location. fix single element forms
* fix failing ios test. add more unit test methods for submitting the form
* address reviewer comments
* remove only the forms from the map
* remove debug line
* fix issues with login info saving. format file
* fix textarea id. fix unit tests methods
* remove debug line
* fixes flickering in safari. remove an unnecessary secind append in firefox
* address reviewer comments
* address reviewer comments
2020-08-07 13:28:50 -07:00
Yegor
0809f21392
fix clipped and transformed content in HTML clip ( #20310 )
...
* fixed clipped and transformed content in HTML clip
2020-08-07 11:28:00 -07:00
Yegor
e020907bac
Use weak references instead of resurrection, if available ( #20283 )
...
* Use weak references instead of resurrection, if available
2020-08-06 21:42:12 -07:00
Mouad Debbar
cfd852892e
[web] Eagerly calculate relevant indices during line break detection ( #20278 )
2020-08-06 19:29:11 -07:00
Yegor
4eaf651347
Implement our own WebGL version detection ( #20306 )
2020-08-06 14:04:19 -07:00
Yegor
9a5a17f378
remove leftover temp annotation from pre-null safe world ( #20234 )
...
Co-authored-by: David Iglesias <ditman@gmail.com>
2020-08-06 14:03:52 -07:00
Harry Terkelsen
0bc5fbff1a
Roll CanvasKit to 0.17.3. ( #20272 )
...
* WIP on using TypefaceFontProvider
* Support pushPaintStyle
2020-08-06 12:14:36 -07:00
Zachary Anderson
47c1c61a92
Revert "fuchsia: Remove dead code / break dependencies ( #19396 )" ( #20302 )
...
This reverts commit 12a37478de2cc9aff7f8fc72bc3a47f5f02e083c.
2020-08-06 12:06:06 -07:00
Ming Lyu (CareF)
8ddc5aa4fd
add a named constructor to FrameTiming ( #20269 )
2020-08-05 17:26:02 -07:00
MichealReed
06c89cd1c8
Implemented web image codec instantiation for CanvasKit. ( #20194 )
2020-08-04 15:01:02 -07:00
Jason Simmons
da7a54f655
Remove unnecessary breaks after returns in lib/web_ui switch statements ( #20241 )
...
These are now flagged by the Dart analyzer.
2020-08-04 14:50:44 -07:00
David Worsham
12a37478de
fuchsia: Remove dead code / break dependencies ( #19396 )
...
The fuchsia code around metrics and sizing was just sending this
information through a side-channel, when the engine already had the
information available. So, delete all of it to make future CLs simpler.
Additionally, the SceneUpdateContext has many unneccesary dependencies
re: metrics and PaintTasks. Break those to make future CLs simpler.
Tested: Ran all unittests and ran workstation on Fuchsia
BUG: 53062, 53063
2020-08-03 22:09:26 -07:00
Mouad Debbar
c6fba72b4f
[web] Include trailing spaces in text box measurements ( #20208 )
2020-08-03 12:38:42 -07:00
Jim Graham
22fb58b774
update nullability of drawAtlas methods and flesh out docs ( #20176 )
2020-07-31 17:26:02 -07:00
Juyeong Lee
13e993ed1a
Fix Typos ( #19691 )
2020-07-31 16:32:58 -07:00
nturgut
c134e1658d
add information collection for safari bots ( #20123 )
...
* add information collection for safari bots
* remove unused parts. add cast to fix analyze errors
* add more information. address reviwer comments
* address reviewr comments
* typo fix
2020-07-30 15:21:34 -07:00
Mouad Debbar
f288fe563d
[web] Enable canvas measurement by default ( #19924 )
2020-07-29 16:18:07 -07:00
Mouad Debbar
f0cc38fdb5
[web] Set correct defaults for text in canvas ( #20067 )
2020-07-29 08:56:42 -07:00
nturgut
d2d02917d9
[a11y-web] Semantics fix ( #19898 )
...
* fixinf enable semantics
* fix unit tests
* fix indentation
* addressing reviewer comments
* fix comment
* make commnt starts upper case
* fix grammar in comment
* Add one more comment
2020-07-28 10:29:02 -07:00
nturgut
4220301e40
re-enable integration tests. increase sdk version. ( #20075 )
2020-07-27 19:37:47 -07:00
nturgut
f27729e97b
both trees are red, stop running integration tests ( #20060 )
2020-07-27 11:15:56 -07:00
nturgut
c0ac43da97
Add a todo to felt (PR to rerun the tree) ( #20025 )
2020-07-25 21:12:15 -07:00
Jason Simmons
b48566470c
Upgrade the analyzer package to version 0.39.15 for Dart 2.10 support ( #20024 )
2020-07-24 18:26:43 -07:00
Jason Simmons
02c11acc24
Add Dart 2.10 annotations to the web engine sources ( #20019 )
2020-07-24 15:56:17 -07:00
Jonah Williams
9dac7148e1
[null-safety] fix real type failures in web engine ( #20010 )
...
remove extra null checks
2020-07-24 12:37:35 -07:00
Siva
3bb6cc265e
Manual merge of Dart a3815b6590...24c7666def ( #19967 )
...
* Manual merge or Dart into flutter a3815b6590...24c7666def
dart-lang/sdk@24c7666def Update tests that have the current version number hardcoded
dart-lang/sdk@f88ce7aef5 Increase Dart version to 2.10
* Update language version.
* Update license.
* Hpdate language version.
* Update license.
2020-07-24 11:00:34 -07:00
nturgut
debb36da5d
Address platform changes in the integration tests. ( #20008 )
2020-07-24 10:52:57 -07:00
Harry Terkelsen
fa1526221f
Roll CanvasKit to 0.17.2 ( #19960 )
2020-07-22 13:29:53 -07:00
Ferhat
37fa2850d1
[web] Prevent crash when restore is called incorrectly after recording ends. ( #19948 )
...
* Prevent crash when restore is called after picture recording ends
* Addressed reviewer comments
2020-07-22 12:55:22 -07:00
Ferhat
5d921fcb57
[web] Fixes arc scaling when counter clockwise ( #19927 )
...
* [web] Fix arc scaling when counter clockwise
* update golden write
* Removed unused var
2020-07-22 10:02:07 -07:00
Dan Field
5281322421
Refactor instantiateImageCodec/decodeImageFromPixels to provide an ImageDescriptor ( #19537 )
...
Refactors instantiateImageCodec and decodeImageFromPixels to provide intermediate data about the image width, height, and bytes per pixel. This allows for more fine grained control from Dart, particularly when trying to reason about how or whether to maintain aspect ratio in the targetWidth/targetHeight parameters.
This leaves the existing methods functional by re-implementing them to use the new ImmutableBuffer/ImageDescriptor class.
The ImmutableBuffer class is provided so that callers can avoid copying the image data multiple times if they wish to re-recreate the image descriptor.
Related Issues
2020-07-21 14:59:18 -07:00
Harry Terkelsen
c02a60e95b
Mark used pictures so they aren't deleted on the next frame. ( #19913 )
2020-07-21 09:13:14 -07:00
Jason Simmons
128dbc3e88
Fix failing Dart analyzer checks in the web UI tests ( #19871 )
2020-07-19 21:50:54 -07:00
Yegor
0a4d369766
Allow custom CanvasKit URL ( #19822 )
2020-07-17 16:44:57 -07:00
Mouad Debbar
f831af3978
[web] Cache line break property lookups ( #19846 )
2020-07-17 14:48:56 -07:00
Yegor
e51642e450
JS-interop clean-up ( #19850 )
2020-07-17 13:15:15 -07:00
Yegor
842abd8d49
Add CPU-only rendering mode for CanvasKit as a fallback ( #19823 )
...
* Add CPU-only rendering mode for CanvasKit as a fallback
2020-07-17 11:28:18 -07:00