Chris Bracken
56fbdd0232
[lint] Enforce k prefix for global constants ( flutter/engine#33666 )
...
Enforces that all global constants are prefixed with a 'k' as per the
style guide and updates the codebase into conformance where necessary.
This does not change any public API.
Additional testing provided by the addition of the lint rule.
Ref: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#begin-global-constant-names-with-prefix-k
2022-05-27 18:33:38 -07:00
Zachary Anderson
ba64d1e1b5
Run some unit tests in parallel ( flutter/engine#33603 )
2022-05-26 20:14:06 -07:00
Zachary Anderson
5d5c396ec0
Run run_tests.py Dart tests in parallel ( flutter/engine#33619 )
2022-05-26 14:44:09 -07:00
Chris Yang
3720c4dff0
Revert "iOS spell-checker ObjC" ( flutter/engine#33570 )
2022-05-23 19:08:05 -07:00
Emmanuel Garcia
5ce95c21d7
Fix scenario tests on Android ( flutter/engine#33360 )
2022-05-20 12:38:05 -07:00
Jonah Williams
50eaa4b0e9
[dart:ui] dont create Timers in FragmentShader ( flutter/engine#33488 )
2022-05-19 14:08:05 -07:00
Chris Yang
8bbe46106a
iOS spell-checker ObjC ( flutter/engine#32941 )
2022-05-19 12:28:06 -07:00
Jonah Williams
815195114e
allow flutter tester to disable font loading from asset bundle ( flutter/engine#33323 )
2022-05-13 15:04:06 -07:00
Jonah Williams
a4895a7315
compile a flutter tester with SUPPORT_FRACTIONAL_TRANSLATION and raster cache disabled ( flutter/engine#33272 )
2022-05-12 12:49:04 -07:00
JsouLiang
8a5b063ca0
Use DlPathEffect Object ( flutter/engine#32159 )
...
* Define the DlPathEffect Object
* Complete the DlPathEffect Object
* Add DlPathEffect Unittests
* Cut down only DLDashPathEffect
* Create Intervals by other mode
* Fix unittest issues
* Delete base_quals, check array equal first
* Change licenses file and deps
* Add effect_bounds for DlPathEffect; Delete invalid test cases;
* Change the intervals API; fix the DlUnknownPathEffect::effect_bounds bug; update test cases
* fix some suggests of comments
* Change SetPathEffect one line like the others
* Change the DisplayListStreamDispatcher::setBlendMode api
* Delete licenses
* change the display_list_dispatcher setPathEffect api
* Update Licenses
* fix conflict
2022-05-12 09:45:30 +08:00
Jami Couch
2397cf14a9
Add support for iOS UndoManager ( flutter/engine#31415 )
2022-05-11 12:09:06 -07:00
Jonah Williams
8aef5df7b1
Add support for loading asset directly from ImmutableBuffer ( flutter/engine#32999 )
2022-05-10 19:39:04 -07:00
David Worsham
88c5519cfa
[fuchsia] Migrate unittests to CFv2 ( flutter/engine#32878 )
2022-05-06 18:54:05 -07:00
Jim Graham
26c1ba11fa
Text gradient matrix golden test ( flutter/engine#33153 )
2022-05-05 19:24:04 -07:00
Chris Bracken
d19ef3092c
[embedder] Fix typo in EmbedderA11yTest ( flutter/engine#33120 )
2022-05-04 18:19:05 -07:00
Jim Graham
5997dd3e9d
use new DlObjects throughout the DisplayList code ( flutter/engine#32896 )
2022-04-29 13:59:06 -07:00
Tong Mu
e6f56a53ff
[Linux] Make unit tests abort on critical errors, and fix two such errors ( flutter/engine#32348 )
2022-04-28 15:24:05 -07:00
Naud Ghebre
ea8342fc2b
[dart_test_runner] Adapt the dart runner to implement the suite fidl protocol so that it can be used in the v2 testing framework. ( flutter/engine#32751 )
2022-04-28 12:55:55 -07:00
Jim Graham
0e92250c2a
Display list test executables ( flutter/engine#32973 )
2022-04-27 17:04:07 -07:00
Zachary Anderson
fb5c781136
Delete AppLifecycleTests testDismissedFlutterViewControllerNotRespondingToApplicationLifecycle ( flutter/engine#32971 )
2022-04-27 16:14:04 -07:00
Alexander Aprelev
ef654d96c2
Remove unused pkg/pedantic dependency. ( flutter/engine#32894 )
...
The dependency is unused, but causes breakages during dart->engine roll since https://dart.googlesource.com/sdk/+/aa63ef8f4f506ffa9f160b960158e861be370b4a removed it from dart sdk.
2022-04-25 06:39:10 -07:00
Jim Graham
1afb88d9e4
Reland: simplify the logic around computing subtree opacity inheritance ( flutter/engine#32853 )
2022-04-22 16:19:04 -07:00
Chris Bracken
a970f9766a
Minor unique_ptr initialization cleanup ( flutter/engine#32821 )
...
Cleans up a few cases of std::unique_ptr(new T) that could have been
using std::make_unique<T>(...).
2022-04-20 17:08:00 -07:00
Jim Graham
272d144c55
Verbose display list comparisons ( flutter/engine#32737 )
2022-04-19 23:04:03 -07:00
egdaniel
ee03d13d72
Don't use Skia internal src file GrGLDefines. ( flutter/engine#32491 )
...
Skia's src files are not stable and may change constantly, flutter should not ever including them.
2022-04-14 13:08:11 -07:00
Jim Graham
1c35cc7dc2
make sure to sync PathEffet to null for Dart Canvas rendering ( flutter/engine#32672 )
2022-04-14 12:39:04 -07:00
Jim Graham
bd89e4452a
Designated field initialization of Paint/PrerollContexts ( flutter/engine#32634 )
2022-04-12 20:59:05 -07:00
Yegor
f6c36b8c51
fix races associated with unawaited futures ( flutter/engine#32593 )
2022-04-12 13:49:49 -07:00
Dan Field
4101b52aca
Unify unhandled error reporting, add PlatformDispatcher.onError ( flutter/engine#32078 )
2022-04-09 14:44:04 -07:00
Chris Bracken
92e109f579
Add API consistency test ( flutter/engine#32408 )
2022-04-07 15:26:04 -07:00
Kevin Lubick
f7b0a59a84
[skia] Fix more transitive includes ( flutter/engine#32430 )
2022-04-07 08:53:54 -04:00
Jim Graham
b8d19a2d36
assertion failure on empty indices in ui.Vertices constructor ( flutter/engine#32434 )
2022-04-05 14:56:04 -07:00
fzyzcjy
a6ca392650
Create ImageFilter.dilate/ImageFilter.erode ( flutter/engine#32334 )
2022-04-04 13:01:02 -07:00
Chris Yang
fc54e5ecac
Set iOS default frame rate to screen max. ( flutter/engine#29797 )
2022-04-01 14:34:47 -07:00
Kevin Lubick
cdd2946003
Fix includes of SkColorSpace et al ( flutter/engine#32382 )
2022-04-01 10:59:23 -07:00
Jason Simmons
c133cad506
Add an API for variable font axes in TextStyle and connect it to SkParagraph ( flutter/engine#32245 )
2022-03-28 13:35:02 -07:00
Dwayne Slater
346d9b3016
Add test for external textures on Android ( flutter/engine#31642 )
2022-03-25 10:59:54 -07:00
Gary Qian
0422046115
Revert "Delete io.flutter.app android v1 embedding" ( flutter/engine#32232 )
2022-03-24 00:10:04 -07:00
Gary Qian
08cef2ee55
Delete io.flutter.app android v1 embedding ( flutter/engine#32074 )
2022-03-23 20:22:54 -07:00
gaaclarke
237c111725
Dart Plugin Registrant - Reland e525aced2737 ( flutter/engine#32189 )
2022-03-23 18:20:05 -07:00
Zachary Anderson
1f2acee85b
Adds a plist flag for Impeller ( flutter/engine#32157 )
2022-03-21 09:35:26 -07:00
gaaclarke
9b0587193e
added dart plugin registrant test executables to run_tests.py ( flutter/engine#31726 )
2022-02-28 19:51:57 -08:00
Jim Graham
80605e564d
detect cases when Skia nops filters by returning nullptr to prevent crashes ( flutter/engine#31689 )
2022-02-25 17:00:11 -08:00
Jenn Magder
a9f3ed3e46
Delete scenario test TextSemanticsFocusTest ( flutter/engine#29370 )
2022-02-17 14:34:08 -08:00
godofredoc
65ca495690
Skip font-tests for host_profile variants. ( flutter/engine#31515 )
...
font-tests are not built by default in the host_profile variant. The
test was working properly because all the variants were being built
sequentially in the same host. With the separation of builds and tests
every variant is built in a separate host and host_profile does not have
access to font-tests built by host_debug.
Bug: https://github.com/flutter/flutter/issues/98642
2022-02-17 09:13:52 -08:00
George Wright
61fdc01618
Add a CSV output option to displaylist_benchmark_parser.py and add a README detailing how to run and process benchmarks on iOS/Android ( flutter/engine#31481 )
2022-02-15 19:43:26 -08:00
Dan Field
93d8ed15f0
Expose picture.debugDisposed, make sure we do not crash when working with disposed pictures ( flutter/engine#31453 )
2022-02-14 18:25:02 -08:00
Chris Bracken
81c662ef3d
Enable a11y unittests on Windows ( flutter/engine#31387 )
...
This enables accessibility unittests on Windows as part of our CI testing.
It also corrects two unit tests which were fixed by
https://github.com/flutter/engine/pull/29773 , which fixed
https://github.com/flutter/flutter/issues/78460 .
Finally it disables an AXFragmentRoot test that times out. We don't use
AXFragmentRoot in Flutter as it's only used with UI Automation APIs,
which Flutter does not use (we use MSAA).
Issue: https://github.com/flutter/flutter/issues/98225
2022-02-12 12:51:01 -08:00
Ben Konyi
56afd34216
Change support for VM service message from "The Dart VM Service is listening" to "The Dart VM service is listening" ( flutter/engine#31361 )
...
See https://github.com/dart-lang/sdk/issues/46756
2022-02-10 09:45:28 -08:00
Zachary Anderson
eca60c0b90
Add clang-analyzer-* and clang-diagnostic-* to .clang-tidy ( flutter/engine#31291 )
2022-02-09 12:26:34 -08:00