1395 Commits

Author SHA1 Message Date
Jason Simmons
1945052c8e Remove image sizes from Picture::GetAllocationSize (flutter/engine#20673) 2020-08-21 16:26:02 -07:00
Srujan Gaddam
d9c5ff0499 Add null checks for CanvasElement attributes (flutter/engine#20580)
Changes in processing compatibility info in dart:html requires
these getters to be null-checked.
2020-08-20 15:50:01 -07:00
David Worsham
3a6e0d47c6 fuchsia: Convert legacy permutations to build flag (flutter/engine#20647) 2020-08-19 19:09:51 -07:00
Dan Field
73490a2ca4 Hint freed (flutter/engine#19842)
* Hint the VM when a layer or picture goes out of scope
2020-08-19 14:04:31 -07:00
nturgut
2919c3bbef updating editing state after location change. focusing on the element (flutter/engine#20620) 2020-08-19 14:03:30 -07:00
nturgut
7d3b44dd47 [web] update chrome version (flutter/engine#20470)
* update chrome version, should be merged after recipe changes

* changing directory to use chrome driver in LUCI

* changing directory path's order

* add cipd packages's chrome version for mac

* addressing reviewer comments

* more documentation. update readme

* remove late since it didn't build. remove distinction in paths for local and LUCI.

* addressing reviewer comments. (non-null fields needs rechanging)

* addressing reviewer comments. adding 2.6 on files missing the notation
2020-08-19 12:28:44 -07:00
Mouad Debbar
8f6c340c7b [web] Prepare for read-only input fields (flutter/engine#20520) 2020-08-18 23:11:02 -07:00
Greg Spencer
0764e7cf1a Remove doc comments in copied web interfaces (flutter/engine#20494)
* Remove doc comments in copied web interfaces

* Whitespace changes to improve readability
2020-08-18 17:15:16 -07:00
Yegor
a18f17805c rename "compositor"/"surface" to "canvaskit"/"html"; document conventions (flutter/engine#20579)
* rename "compositor"/"surface" to "canvaskit"/"html"; document conventions
2020-08-18 13:30:58 -07:00
nturgut
ab6a3aa43a [web] Build unit tests with dart2js instead of build_runner (flutter/engine#20390)
* change from build_runner to dart2js

* add internalBootstrapBrowserTest to some of the tests

* add internalBootstrapBrowserTest to all remaining tests

* make tests build in paralel. Total time dropped from 586 to 177 seconds for 8 core MacBook

* change isolates with pool

* fixing analysis errors

* skipping canvaskit tests for ios-safari

* copy image files to the build directory

* adding internalBootstrapBrowserTest to newly added tests

* add internalBootstrapBrowserTest to faling path iterator test

* necessary changes to make chrome windows work

* in windows test in chrome instead of edge. our edge code was for legacy edge

* do not run golden unit tests on Windows LUCI bots for now

* addressing reviewer comments. Adding a method for deciding when to run integration tests.

* remove lines that I forgot to remove

* fixing analysis error. add issue for todo

* add bootstap to a test file

* adding bootstrap to another test

* add internalBootstrapBrowserTest to a golden test

* return test result in bat file. use archieve package to unzip

* fixing logs for chrome_installer

* use archieve and archieve entity instead of dynamic

* adding comments for windows platform archieve part

* addressing reviewer comments

* change readme file
2020-08-17 16:19:27 -07:00
Yegor
a1e5e33bda use anonymous in some deletable Sk classes (flutter/engine#20528) 2020-08-17 11:57:12 -07:00
David Worsham
ad2bff1014 Reland: "fuchsia: Remove dead code / break dependencies" (flutter/engine#20532)
Reland #19396 with a fix for improper scale that was affecting internal tests

Tested: Ran all unittests, ran internal tests, and ran workstation on Fuchsia
BUG: 53062, 53063
2020-08-14 20:41:18 -07:00
Jason Simmons
0a9e612fdd Fix web_ui warnings flagged by the next Dart analyzer update (flutter/engine#20524) 2020-08-14 13:29:50 -07:00
xster
5ac78f5be6 Refactor initial route code take 2 (flutter/engine#20468) 2020-08-13 14:18:11 -07:00
Jason Simmons
a67e03a61c Do not access members after calling ClearDartWrapper (flutter/engine#20465) 2020-08-13 11:06:02 -07:00
Yegor
7f9b0eb7ca Clean-up CanvasKit canvas sizing. (flutter/engine#20387)
* Clean-up CanvasKit canvas sizing.

* cache size correctly
2020-08-13 09:21:08 -07:00
Mehmet Fidanboylu
0f611fe4b7 Plumbing for setting domain network policy (flutter/engine#20218) 2020-08-13 07:26:43 -07:00
Yegor
71ad89d9e6 Delete CSS paint code (flutter/engine#20426)
* Delete CSS paint code
2020-08-12 14:42:34 -07:00
gaaclarke
232d6c4fca Revert "Refactor initial route code (#19684)" (flutter/engine#20450)
This reverts commit 21404b56c6c183a829d9c758bec2330155e2d86d.
2020-08-12 12:43:08 -07:00
Yegor
6351bc19c4 Make CkVertices a ManagedSkiaObject (flutter/engine#20421) 2020-08-12 09:32:08 -07:00
xster
21404b56c6 Refactor initial route code (flutter/engine#19684) 2020-08-11 19:52:04 -07:00
Ferhat
606cb02b86 [web] Add comment for clip update. (flutter/engine#20384) 2020-08-11 13:49:19 -07:00
Yegor
6c936c540c CanvasKit: memory management for image and shader classes (flutter/engine#20349)
* memory-manage images and shaders
2020-08-11 11:16:42 -07:00
Ferhat
c983a483c6 Fix nullability warning and change registeredFonts to non-nullable (flutter/engine#20379)
* Fix nullability warning and change registeredFonts to non-nullable
* Renamed var
2020-08-10 17:27:26 -07:00
Ferhat
39d067388a Add Path iterator tests, sync verbs with skia enums, fix PathIterator.peek. (flutter/engine#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
0c921d3582 switch to non-overloaded arcTo methods (flutter/engine#20341) 2020-08-10 15:07:17 -07:00
Ming Lyu (CareF)
61fa4d1ff6 remove FrameTiming named constructor (flutter/engine#20380) 2020-08-10 12:21:03 -07:00
Yegor
b277f2ef44 remove write parameter from _checkScreenshot (flutter/engine#20340) 2020-08-10 08:57:37 -07:00
Mouad Debbar
9cea82e454 [web] Implement support for WidgetSpan (aka paragraph placeholders) (flutter/engine#20276) 2020-08-08 18:10:28 -07:00
Ming Lyu (CareF)
24b22ade69 FrameTiming build start timestamp fix and add vsync start timestamp (flutter/engine#20229) 2020-08-07 19:41:01 -07:00
nturgut
4425a3b157 [web] Save the autofill information (flutter/engine#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
6f5ee087ee fix clipped and transformed content in HTML clip (flutter/engine#20310)
* fixed clipped and transformed content in HTML clip
2020-08-07 11:28:00 -07:00
Yegor
cf38d1320f Use weak references instead of resurrection, if available (flutter/engine#20283)
* Use weak references instead of resurrection, if available
2020-08-06 21:42:12 -07:00
Mouad Debbar
901440373d [web] Eagerly calculate relevant indices during line break detection (flutter/engine#20278) 2020-08-06 19:29:11 -07:00
Yegor
52d1be3f47 Implement our own WebGL version detection (flutter/engine#20306) 2020-08-06 14:04:19 -07:00
Yegor
0535e4b0db remove leftover temp annotation from pre-null safe world (flutter/engine#20234)
Co-authored-by: David Iglesias <ditman@gmail.com>
2020-08-06 14:03:52 -07:00
Harry Terkelsen
5210bc1812 Roll CanvasKit to 0.17.3. (flutter/engine#20272)
* WIP on using TypefaceFontProvider

* Support pushPaintStyle
2020-08-06 12:14:36 -07:00
Zachary Anderson
275f2b04cc Revert "fuchsia: Remove dead code / break dependencies (#19396)" (flutter/engine#20302)
This reverts commit 017f07942e8e80a4e886def19c6fffac7ce18479.
2020-08-06 12:06:06 -07:00
Ming Lyu (CareF)
5a07f10d7d add a named constructor to FrameTiming (flutter/engine#20269) 2020-08-05 17:26:02 -07:00
Adlai Holler
bfd36563a7 Migrate a few last places to GrDirectContext (flutter/engine#20235)
* Migrate a few last places to GrDirectContext

This is a followup to #19962 to cover a few places where we
were still using GrContext. No functional impact.

* Formatting
2020-08-05 10:31:43 -07:00
MichealReed
30dc7ad82d Implemented web image codec instantiation for CanvasKit. (flutter/engine#20194) 2020-08-04 15:01:02 -07:00
Jason Simmons
a8651dad7a Remove unnecessary breaks after returns in lib/web_ui switch statements (flutter/engine#20241)
These are now flagged by the Dart analyzer.
2020-08-04 14:50:44 -07:00
David Worsham
017f07942e fuchsia: Remove dead code / break dependencies (flutter/engine#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
be6640e520 [web] Include trailing spaces in text box measurements (flutter/engine#20208) 2020-08-03 12:38:42 -07:00
Jim Graham
c32ae6bc2b update nullability of drawAtlas methods and flesh out docs (flutter/engine#20176) 2020-07-31 17:26:02 -07:00
Greg Spencer
e994f832d2 Move platform specific information to PlatformConfiguration class (flutter/engine#19652) 2020-07-31 17:21:02 -07:00
Juyeong Lee
8fefd60dda Fix Typos (flutter/engine#19691) 2020-07-31 16:32:58 -07:00
Zachary Anderson
e3000379c7 Reland: Avoid a copy in EncodeImage (flutter/engine#20003) 2020-07-31 08:24:08 -07:00
Greg Spencer
da16206acd Fix lint errors in lib/ui (flutter/engine#19988)
This fixes all of the lint errors in lib/ui, except for a few (three, I think) where it would have changed the API, converting non-const references to pointers. For those, I just did NOLINT on the particular line instead of ignoring the whole file.
2020-07-30 20:21:37 -07:00
nturgut
f0869ac213 add information collection for safari bots (flutter/engine#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