Commit Graph

975 Commits

Author SHA1 Message Date
Jason Simmons bdd4e4d948 Do not assume that createTypeface is called before getStyle in the AssetManagerFontStyleSet (#14343) 2019-12-13 09:23:08 -08:00
Nurhan Turgut 7922bc80e9 [web] adding firefox unit tests to font loading (#14467)
* adding firefox unit tests to font loading

* reviewer suggestions
2019-12-13 07:28:27 -08:00
Yegor 18c89f1cf6 [web][refactor] Split html and canvaskit classes more (#14320)
* Split surface and canvaskit classes more

* fix licenses

* address comments
2019-12-12 13:20:49 -08:00
Nurhan Turgut f650bcaf77 Refactoring text editing. Strategy pattern is used to handle different browser/operating system and a11y behavior. (#14131)
* adding the default text editing strategy

* [DRAFT] Refactoring text editing. Strategy pattern is used to handle different browser/operating system and a11y behaviour. Unit tests are missing. Documentation needs updating.

* addressing PR comments

* addressing PR comments. Fixing documentation

* fixing persistenttextediting element which is used in a11y mode

* removing texteditingelement and using texteditingstrategy from hybridtextediting. fixing the unit tests. fixing comments

* fix unit tests

* add todos for firefox tests

* fixing chrome/android a11y issue
2019-12-12 11:18:02 -08:00
Alexander Aprelev 0081e8c516 Remove unused _TypeNone enum field. (#14440)
* Remove unused field
* Similarly remove _TypeNone from web_ui
2019-12-12 09:43:44 -08:00
Dwayne Slater 80d80ff6e6 Add ability to control dithering on Paint (#13868) 2019-12-11 14:53:50 -08:00
Chinmay Garde 49d6552e76 Verify accounting for loop counts in Gif and WebP assets is consistent. (#14321)
Asserts that the Skia fix is pulled into Flutter Engine https://skia-review.googlesource.com/c/skia/+/259161. This should have happened in https://github.com/flutter/engine/pull/14315.

Fixes https://github.com/flutter/flutter/issues/46289
Fixes https://github.com/flutter/flutter/issues/45246
2019-12-10 20:04:15 -08:00
Kaushik Iska 3e55f64c4f [web] Update build_web_compilers to 2.7.1 (#14305)
* [web] Update build_web_compilers to 2.7.1

This was causing problems with the dart compiler location
for web.

The compiler seems to be present in out/host_debug_unopt/dart-sdk/lib/dev_compiler/kernel/amd/dart_sdk.js as opposed to out/host_debug_unopt/dart-sdk/lib/dev_compiler/amd/dart_sdk.js

* also update build_runner
2019-12-10 16:12:53 -08:00
Nurhan Turgut deb8e57135 Fix for tab not working (#14165)
* some logs

* Masking moddifier state for lock keys if the key code is not the same as the modifier. this fixes tab issue happening when numlock/capslock is on.

* removing modifier state for locks

* addresing pr comments'
2019-12-10 14:55:46 -08:00
Harry Terkelsen 434f6f9c87 Add support for platform views in the CanvasKit backend (#14263)
* Add support for platform views in the CanvasKit backend

* Respond to comments

* Update license file
2019-12-09 17:59:50 -08:00
Nurhan Turgut 2805da9e5d Enable web engine unit tests on Firefox (#14267)
* Enable web engine unit tests on Firefox

* addressing PR comments

* addressing PR comments

* fix the version name on the lock file
2019-12-09 16:27:14 -08:00
Harry Terkelsen 3a2ec830ed Use the versioned canvaskit from unpkg. (#14264)
The one from particles.skia.org is not intended for production use.
2019-12-09 14:28:13 -08:00
Harry Terkelsen a614c0a2d4 Convert radians to degrees in canvaskit backend for drawArc (#14163) 2019-12-09 11:00:44 -08:00
Nurhan Turgut 91ef612ee0 [web] [tests] Changing configurations for firefox (#14148)
* Changing configurations for firefox

* remove headless

* change comments on configurations files

* remove unused boolean
2019-12-05 15:17:34 -08:00
Mouad Debbar 0506c65f59 [web] DOM text measurement return a LineMetrics list if single-line (#14138) 2019-12-05 12:15:03 -08:00
Ferhat 90c42f4ca6 Fix firefox detection to fix app startup for other browsers (#14145) 2019-12-05 10:48:55 -08:00
David Worsham d117ac979c Wire up Opacity on Fuchsia, round 2 (#14024)
* Remove erroneous ChildView opacity

* Wire frame metrics through contexts

* Maintain layer stack inside of SceneBuilder

* Remove EnsureSingleChild

* Centralize system-composite and elevation logic

* Wire up OpacityLayer to Scenic
2019-12-04 19:29:31 -08:00
Yegor 5d9509ae05 [web][felt] fix source map path (#14134) 2019-12-04 13:28:23 -08:00
Mouad Debbar 8d1c59811c [web] Fix text measurement when constraint width is infinite (#14132) 2019-12-04 13:27:14 -08:00
chunhtai 3e6d6bc612 add pointer data santizing in flutter web engine (#14082) 2019-12-03 18:41:36 -08:00
Casey Hillers 6179380243 Update fallback to Roboto url to be HTTPS (#14086) 2019-12-03 12:25:53 -08:00
Brian Osman 1a96087747 Update to newer path fill-type API in Skia (#14070) 2019-12-03 11:57:54 -05:00
Harry Terkelsen 8d6fa7e85c Fallback to Roboto if no suitable font is found (#14061) 2019-11-27 17:20:28 -08:00
Nurhan Turgut 4bdd15cd54 more tests for enabling semantics (#14060)
* more tests for enabling semantics

* addressing pr comments
2019-11-27 14:53:48 -08:00
Mouad Debbar bc07e6a239 [web] Initial support for LineMetrics (#13985) 2019-11-27 12:56:44 -08:00