Commit Graph

196 Commits

Author SHA1 Message Date
Mouad Debbar eb139936eb [web] Fix right click issues (#15103) 2020-01-03 09:21:04 -08:00
Nurhan Turgut c2f44be47d fix selection issue (#14604) 2019-12-23 12:36:10 -08:00
Nurhan Turgut 42bb7c9eea [web] fix leaking problem in tests for text editing. (#14582)
* fix leaking problem in tests for text editing. removing skips for firefox

* addressing pr comments
2019-12-20 15:27:40 -08:00
Yegor 33813929e3 [web] implement pushImageFilter (#14599)
implement pushImageFilter in the HTML and CanvasKit backends
2019-12-20 12:10:56 -08:00
Yegor 9b299f2c23 fix editable placement in a11y mode (#14581) 2019-12-20 12:09:54 -08:00
Nurhan Turgut fac66c28d6 [web] Long press fix on Safari on IOS (#14588)
* fixing long press by listening click

* documenting the code. creating a new method

* addressing reviewer comments
2019-12-20 09:25:00 -08:00
Ferhat 40b84fc193 Fix lint warnings across web_ui, add missing browserEngine case in text field. (#14535)
* Fix lint warnings across web_ui

* add textureCoordinates/indices getters for Vertices

* fix compositor indices
2019-12-19 17:39:33 -08:00
Jim Graham 929b1edff5 Engine support for ImageFiltered widget (#14491)
web_ui support coming in https://github.com/flutter/flutter/issues/47163
2019-12-19 16:47:08 -08:00
Jim Graham 22413efc48 Update formatting in web_ui scene bulder to match flutter style and dartfmt. (#14539) 2019-12-19 12:50:39 -08:00
Chiung-Ming Huang 68d919670f Fix DOM-based ParagraphRuler.hitTest() (#14504)
* [web] Fix ParagraphRuler.hitTest

* [web] Add a test-case for paragraph.getPositionForOffset and nested TextSpans

* [web] Add a test-case for paragraph.getPositionForOffset and nested TextSpans

* [web] remove trailing spaces

* [web] avoid differences of overflow-wrap between chrome and firefox
2019-12-19 12:36:43 -05:00
Nurhan Turgut f5b877af9a [web] Run engine tests on Safari locally by launching safari installed on MacOS (#14555)
* Launch safari browser

* Adding safari tests to supported browsers

* changing the directrory for redirect file. This works without opening a permision pop-up. Note: there is no headless mode in safari

* addressing reviewer comments
2019-12-19 08:05:16 -08:00
Nurhan Turgut 2ba5633369 instructions for running firefox/safari tests (#14562)
* instructions for running firefox/safari tests

* addressing reviewer comments.
2019-12-19 07:33:51 -08:00
Lau Ching Jun 0f90e6546b Revert "[web] Calculate align offset for each paragraph line (LineMetrics.left) (#14537)" (#14569)
This reverts commit 1ecfdcb94c.
2019-12-18 22:06:00 -08:00
Kaushik Iska f2dbeb8aa7 Reland Wire up Opacity on Fuchsia (#14559)
This reverts commit 6ea69a0d43.

On top of the revert, it reverted a commit in the PR:
https://github.com/flutter/engine/pull/14024

This reverts commit ea67e5b0b9.
2019-12-18 16:05:38 -08:00
Mouad Debbar 1ecfdcb94c [web] Calculate align offset for each paragraph line (LineMetrics.left) (#14537) 2019-12-18 14:29:51 -08:00
Tong Mu f2e841d50a [Web] Fix pointer binding (#14378)
Refactors pointer_binding, fixes a few issues related to the pointer data converter in Web, and adds a number of tests for all three adapters.
2019-12-18 13:33:16 -08:00
chunhtai 988b8f149d Fix FontLoader does not remove the cache in web engine (#14536) 2019-12-18 10:58:01 -08:00
Kaushik Iska 6ea69a0d43 Revert "Wire up Opacity on Fuchsia, round 2 (#14024)" (#14543)
This reverts commit d117ac979c.
2019-12-18 10:29:47 -08:00
Nurhan Turgut c216ba42b2 Calling onConnectionClosed when the input element is blurred (#14484)
* close connection call

* closing connection on blur

* remove the timer and check the window focus directly. address reviewer comments.

* addressing reviewer comments
2019-12-17 16:18:54 -08:00
Yegor 6c71f89fb5 Introduce an auto-deletable SkiaObject; make SkPaint a SkiaObject (#14486)
* Introduce `SkiaObject` an object that's backed by Skia C++ objects that need to be explicitly deleted.
* Automatically delete `SkiaObject`s at the end of frame.
* Make `SkPaint` a `SkiaObject`.

Because `SkiaObject`s are deleted at the end of the frame, the object can be reused as many times as necessary within the frame. `SkPaint` in particular is a fairly expensive object. Reusing this object, for example, on `drawRRect` drops the canvas paint time by 30%.
2019-12-13 15:42:04 -08:00
Nurhan Turgut 19124783ce adding firefox unit tests to font loading (#14487) 2019-12-13 15:26:19 -08:00
Mouad Debbar 00cbfd3f70 [web] Remove Paragraph._lines which isn't necessary anymore (#14485) 2019-12-13 15:08:17 -08:00
Mouad Debbar 35adf37ce1 [web] Implement Paragraph.getLineBoundary (#14479) 2019-12-13 13:53:55 -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