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
Michael Goderbauer
7e544890cb
Fix dartdocs of dart:ui ( flutter/engine#20140 )
2020-07-29 23:56:02 -07:00
Mouad Debbar
ae15718079
[web] Enable canvas measurement by default ( flutter/engine#19924 )
2020-07-29 16:18:07 -07:00
Siva
03706dce89
Manual roll of Dart from 24c7666def...40fd1c456e ( flutter/engine#20092 )
...
* Manual roll of Dart from 24c7666def...40fd1c456e
dart-lang/sdk@40fd1c456e Revert "[dart:io] Add Abort() on HttpClientRequest"
dart-lang/sdk@17d7296a42 [vm/nnbd/bytecode] Fix reuse of type arguments in bytecode
dart-lang/sdk@58b6f40c73 Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns. (reland)
dart-lang/sdk@fc8a6d9f9b [VM/compiler] Dereference TypeRef literal when propagating constants.
dart-lang/sdk@0689ec527a Move "test.dart" (well, most of its contents) into pkg/test_runner.
dart-lang/sdk@1094b3c61d Prepare static error test updater tool to handle web tests.
dart-lang/sdk@b258585f2f [observatory] Migrate from deprecated isInstanceOf to isA.
dart-lang/sdk@dfe1d9b682 Disable OverrideContributor for Cider.
dart-lang/sdk@aea99b2f5c scope debug property assist to Diagnosticables
dart-lang/sdk@4b96f20a79 [dart:io] Add Abort() on HttpClientRequest
dart-lang/sdk@1b1a39708c [build] Use frameworks instead of libs
dart-lang/sdk@3fef522496 Revert "Reland "[vm] Replaces fuchsia.deprecatedtimezone""
dart-lang/sdk@8c664d4f3f Revert "Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns."
dart-lang/sdk@2efb5bebc7 [ dart:_http ] Fix typo in HTTP response timeline event
dart-lang/sdk@0884dae36c Revert "Fix the #include path for ICU headers"
dart-lang/sdk@5171534e81 Scope tweaks. Report REFERENCED_BEFORE_DECLARATION in more places.
dart-lang/sdk@6bba75079a Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns.
dart-lang/sdk@b4ebbb7f5c [build] Update gn to match Fuchsia
dart-lang/sdk@cb428a7a02 [dart2js] Remove old bug work around in collector.
dart-lang/sdk@08663c20ab Change flutter patch to match existing DEPS on master branch
dart-lang/sdk@146ad014d9 update js/meta for the 2.10 dev sdk
dart-lang/sdk@488c718793 [co19] Roll co19 to d79951e06e443213243e54c2c32694b79a221b65
dart-lang/sdk@ba20edd7be Add patch for flutter-engine when changing to version 2.10
* Rev buildroot to latest version.
* Update license.
* update.
* Update gn revision.
* Format BUILD.gn files as the gn revision has been updated.
2020-07-29 13:10:15 -07:00
Mouad Debbar
f89185175c
[web] Set correct defaults for text in canvas ( flutter/engine#20067 )
2020-07-29 08:56:42 -07:00
Dan Field
5f38af543e
support fallback codecs on Windows, macOS, iOS ( flutter/engine#19989 )
2020-07-28 17:46:02 -07:00
Adlai Holler
e5614964f4
Use the GrDirectContext factories instead of deprecated GrContext ones ( flutter/engine#19962 )
...
This is part of a larger effort to expose the difference between GrDirectContext,
which runs on the GPU thread and can directly perform operations like uploading
textures, and GrRecordingContext, which can only queue up work to be delivered
to the GrDirectContext later.
2020-07-28 13:32:09 -07:00
nturgut
8a56925414
[a11y-web] Semantics fix ( flutter/engine#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
81f2d37070
re-enable integration tests. increase sdk version. ( flutter/engine#20075 )
2020-07-27 19:37:47 -07:00
nturgut
f491fb0126
both trees are red, stop running integration tests ( flutter/engine#20060 )
2020-07-27 11:15:56 -07:00
nturgut
bf4cd9d73d
Add a todo to felt (PR to rerun the tree) ( flutter/engine#20025 )
2020-07-25 21:12:15 -07:00
Jason Simmons
775070bf96
Upgrade the analyzer package to version 0.39.15 for Dart 2.10 support ( flutter/engine#20024 )
2020-07-24 18:26:43 -07:00
Jason Simmons
99192706be
Add Dart 2.10 annotations to the web engine sources ( flutter/engine#20019 )
2020-07-24 15:56:17 -07:00
Jonah Williams
b6aadb0406
[null-safety] fix real type failures in web engine ( flutter/engine#20010 )
...
remove extra null checks
2020-07-24 12:37:35 -07:00
Siva
4f1710e807
Manual merge of Dart a3815b6590...24c7666def ( flutter/engine#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
fe01de71bf
Address platform changes in the integration tests. ( flutter/engine#20008 )
2020-07-24 10:52:57 -07:00
gaaclarke
ee0e1788d9
Made the linter print out more information in its output and fixed bugs ( flutter/engine#19895 )
2020-07-22 15:38:09 -07:00
Harry Terkelsen
874d729d5a
Roll CanvasKit to 0.17.2 ( flutter/engine#19960 )
2020-07-22 13:29:53 -07:00
Ferhat
cf8cbbd9e1
[web] Prevent crash when restore is called incorrectly after recording ends. ( flutter/engine#19948 )
...
* Prevent crash when restore is called after picture recording ends
* Addressed reviewer comments
2020-07-22 12:55:22 -07:00
Ferhat
1ab64f15b3
[web] Fixes arc scaling when counter clockwise ( flutter/engine#19927 )
...
* [web] Fix arc scaling when counter clockwise
* update golden write
* Removed unused var
2020-07-22 10:02:07 -07:00
Dan Field
baa6f4ac3c
Refactor instantiateImageCodec/decodeImageFromPixels to provide an ImageDescriptor ( flutter/engine#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
9ee17b93f7
Mark used pictures so they aren't deleted on the next frame. ( flutter/engine#19913 )
2020-07-21 09:13:14 -07:00
Jason Simmons
7a223e5734
Fix failing Dart analyzer checks in the web UI tests ( flutter/engine#19871 )
2020-07-19 21:50:54 -07:00
Yegor
88a5bfb010
Allow custom CanvasKit URL ( flutter/engine#19822 )
2020-07-17 16:44:57 -07:00
Mouad Debbar
a5b27c369e
[web] Cache line break property lookups ( flutter/engine#19846 )
2020-07-17 14:48:56 -07:00
Yegor
8e65af9882
JS-interop clean-up ( flutter/engine#19850 )
2020-07-17 13:15:15 -07:00
Yegor
c15ec725d2
Add CPU-only rendering mode for CanvasKit as a fallback ( flutter/engine#19823 )
...
* Add CPU-only rendering mode for CanvasKit as a fallback
2020-07-17 11:28:18 -07:00
Mouad Debbar
9c1e8407a2
[web] Improve perf and code size of line breaker ( flutter/engine#19787 )
2020-07-16 16:56:05 -07:00
gaaclarke
96ba83732d
Added a more complete docstring for SemanticsFlags ( flutter/engine#19817 )
2020-07-16 13:13:26 -07:00
Yegor
9360b355ec
Move CkCanvas to new JS-interop ( flutter/engine#19748 )
...
* Move CkCanvas to new JS-interop
* Make SkiaObject compatible with JS-interop; text bindings
* fix drawVertices
2020-07-16 11:56:37 -07:00
Tong Mu
78f0fc74d9
Add all system cursors (engine) ( flutter/engine#19550 )
...
* Support all system cursors in WIn, Linux, mac, Web and Android.
2020-07-15 15:37:18 -07:00
Mouad Debbar
6f800ecb40
[web][3/3] Handle surrogate during line break detection ( flutter/engine#19745 )
2020-07-15 12:29:52 -07:00
Zachary Anderson
c6313931cb
Revert "Avoid a copy in EncodeImage ( #19504 )" ( flutter/engine#19739 )
...
This reverts commit dad9640ddef265e1c62433c0044dde04723b5653.
2020-07-14 10:29:34 -07:00
nturgut
d831e5aa86
Migrating web_analysis from Cirrus to LUCI (PART 1) ( flutter/engine#19726 )
...
* adding a script for web_analysis for using from luci.
* addressing reviewer comments
2020-07-14 10:14:31 -07:00
Mouad Debbar
9cdf5e4208
[web][2/3] Implement rules of the line break algorithm ( flutter/engine#19610 )
2020-07-14 09:31:40 -07:00
Yegor
55f9686982
Rebuild CkPath on top of @JS bindings with 3.28x speed-up on the path benchmark ( flutter/engine#19694 )
...
* SkPath bindings
* CkPath uses SkPath
2020-07-14 09:09:00 -07:00
David Worsham
cbd3cd9c0d
fuchsia: Enable most unittests ( flutter/engine#19583 )
...
Tweak the primary flutter build rule so that fuchsia is more similar to
other platforms in how tests and the shell are built.
Only embedder_unittests and GLFW tests are disabled on Fuchsia now.
TEST: Ran unittests on host/fuchsia; workstation on fuchsia
BUG: fxb/53847, fxb/54056
2020-07-13 17:36:19 -07:00
Ferhat
fd68000d9c
[web] Implement ulps for path ops ( flutter/engine#19711 )
...
* Implement ulps for path ops
* Address review comments
* cache abs()
* dartfmt and update licenses
2020-07-13 13:43:11 -07:00
nturgut
70de7f832c
Support decimal information on the TextInputType ( flutter/engine#19664 )
...
* adding decimal inoutmode
* change intentation
2020-07-13 13:08:54 -07:00
Yegor
b81f1d369c
CkPaint uses SkPaint ( flutter/engine#19562 )
2020-07-11 11:34:42 -07:00
Srujan Gaddam
42c28d6091
Incorporate compat info changes into flutter engine ( flutter/engine#19606 )
...
Changes related to compatibility info require changes in
Flutter engine libraries. This CL adds null-asserts wherever
necessary to maintain behavior and adds some small modifications
to handle the change in nullability. Warnings about unnecessary
null assertions are disabled temporarily in this CL as well.
Original issue: https://github.com/dart-lang/sdk/issues/41905
2020-07-10 16:49:58 -07:00
Zachary Anderson
dad9640dde
Avoid a copy in EncodeImage ( flutter/engine#19504 )
2020-07-10 14:36:13 -07:00
nturgut
5e7a8abf87
don't throw error for the new autofill request ( flutter/engine#19633 )
...
* don't throw error for the new autofill request
* change comment
2020-07-10 13:58:19 -07:00
nturgut
4815ac39ef
using text capitalization value in web ( flutter/engine#19564 )
...
* using text capitalization value in web engine
* update editing state
* add capitalization support to autofill fields
* add autocapitalize attribute for mobile browsers which effects on screen keyboards
* removing changes on the input value. only keeping onscreen keyboard changes
* update unit tests. tests are added for ios-safari. android chrome is still not supported
* changing license files this time don't update LICENSES file
* Update licenses_flutter
* addresing reviewer comments
2020-07-09 20:25:51 -07:00
Andre
402412982f
Use identical in hashValues instead of operator== ( flutter/engine#19615 )
2020-07-09 20:29:33 -04:00
Ferhat
13f0e9a583
[web] Update SurfacePath to use PathRef ( flutter/engine#19557 )
...
* Update SurfacePath to use PathRef
* Fix test analysis errors
* Switch DDRect to use path to reduce paint time processing
* Implement toString() for debug mode
* Fix contains (bounds inclusive) edge case, add test
* Update recording canvas test for drawDRRect change
* Update diffrate for arc/conic render change
* Add test for winding for beveled border. Fix checkOnCurve
* Fix mono quad winding on curve check
* fix _chopCubicAtYExtrema and add test case
* Address reviewer comments / setAll API usage
2020-07-09 13:55:39 -07:00
Jason Simmons
9a39551dfb
Clarify the relationship between PictureRecorder and Canvas ( flutter/engine#19393 )
2020-07-09 11:06:03 -07:00
Luigi Rosso
4185636e42
Add CanvasKit platform support for Skia.setResourceCacheMaxBytes. ( flutter/engine#19254 )
...
* Add CanvasKit platform support for Skia.setResourceCacheMaxBytes.
2020-07-09 10:12:24 -07:00