Commit Graph

2170 Commits

Author SHA1 Message Date
Alexandre Ardhuin
f5a9902577 enable avoid_equals_and_hash_code_on_mutable_classes (#52507) 2020-04-06 13:36:01 -07:00
Amir Hardon
80bc3f4a3c Test creation of Android AlertDialogs with a platform view context (#53980) 2020-04-06 12:36:01 -07:00
stuartmorgan
2d623278e7 Restructure the Windows app template (#53600)
This moves the app template more toward being a more generic starting
point for any Flutter application, eliminating some hard-code
assumptions about there being a single window/engine pair that is
directly bound to the life of the application:
- Moves the runloop into its own class, making it capable of servicing
  any number of engine instances.
- Moves the logic for setting up a window containing only a Flutter view
  into a window subclass for ease of re-use.
- Makes quit-on-window-close an optional property. (Long term this
  should be even more generic, like a quit-when-last-window-closes
  option, but this is a short-term improvement that removes the binding
  between the runloop and the window).
- Allows for multiple instances of Win32Window to exist without issues
  relating to the window class registration.

Since there are getting to be a non-trivial number of files associated
with the runner, this moves the source into a runner/ directory, as is
already done on some other platforms.

Note that creating multiple Flutter windows at the same time still
doesn't work correctly even with this change, but this addresses some of
the known issues, and makes it easier to test in the future (e.g., for
debugging engine-level issues with multiple instances).

Fixes #45397
2020-04-06 12:24:05 -07:00
Anisov Aleksey
be6234d56e Read custom app project name from gradle.properties (#52791) 2020-04-05 20:46:44 -07:00
Todd Volkert
f5fe1e3e62 Update roll_dev to work with new version numbers (#54015) 2020-04-04 21:28:34 -07:00
Amir Hardon
caeaac7739 disable MotionEvents test (#54023) 2020-04-04 19:25:11 -07:00
Amir Hardon
f0aea666d7 revive the android_views test (#53963) 2020-04-04 16:41:01 -07:00
Yegor
4b92c16755 Use "measured_frame" instead of "CrRendererMain" to detect process ID (#53969) 2020-04-03 16:51:44 -07:00
Shi-Hao Hong
4e811d2819 [gen_l10n] Fix plural parsing for translated messages (#53954) 2020-04-03 15:46:01 -07:00
Yegor
c6ee4d268f Temporarily mark web benchmarks as flaky (#53967) 2020-04-03 15:35:44 -07:00
Yegor
29c88081b9 Collect chrome://tracing data in Web benchmarks (#53879)
Collect chrome://tracing data in Web benchmarks
2020-04-03 15:10:39 -07:00
Shi-Hao Hong
365528aad6 Use no locale as synonym for nb (#53880) 2020-04-03 11:56:02 -07:00
Kate Lovett
63f8b9a4d5 Improving A11y for Flutter Gallery Demos (#53616) 2020-04-03 10:34:14 -07:00
Shi-Hao Hong
6837b0e353 [gen_l10n] Add scriptCode handling (#53868)
* [gen_l10n] Add scriptCode handling
2020-04-03 09:46:01 -07:00
Greg Spencer
a8b3d1b74f Add toggleable attribute to Radio (#53846)
This adds a new toggleable attribute to the Radio widget. This allows a radio group to be set back to an indeterminate state if the selected radio button is selected again.

Fixes #53791
2020-04-02 15:40:37 -07:00
Greg Spencer
e20080b5d1 Add LICENSE file to packages/flutter, add test to make sure it… (#53799)
This adds a LICENSE file to the packages/flutter directory so that it can be found when building, and a test to make sure it exists in produced binaries.
2020-04-02 10:38:25 -07:00
Shi-Hao Hong
19e7db585d [gen_l10n] Escape special JSON characters in generateString utility function (#53605) 2020-04-01 11:16:01 -07:00
Emmanuel Garcia
e61ab4a832 Copy APK into a known location, so it can be easily discovered (#53718) 2020-04-01 10:03:56 -07:00
Yegor
0d07788069 Add benchmark reproducing large static scrolling content (#53686) 2020-04-01 00:41:02 -07:00
Jose Alba
d14a301e41 Revert "[Slider] Rebase. (#52663)" (#53698)
This reverts commit e71cf1cdbe.
2020-03-31 16:14:22 -07:00
Casey Hillers
025f7ae642 Add ability to shard customer tests (#53433) 2020-03-31 14:01:01 -07:00
Kate Lovett
d3be7e1577 Restore codegen in separate PR (#53617) 2020-03-31 13:21:01 -07:00
Emmanuel Garcia
183b3c321e Turn metal on in the platform views benchmark (#53676) 2020-03-31 11:56:23 -07:00
Alexander Aprelev
c6665e43da Roll flutter engine to 10887c2abe7b7fe5866e84d6b63dd546f02fc963 (#53669)
* Update stack trace test expectations to adjust for a fix landed in dart sdk

* Include engine roll to 10887c2abe7b7fe5866e84d6b63dd546f02fc963

* Update column for the exception expectation
2020-03-31 11:28:03 -07:00
Kate Lovett
560c72287b TODO Audits - 1 (#53604) 2020-03-31 11:21:01 -07:00
Kate Lovett
9b6fd7cb0b Separate PR (#53619) 2020-03-31 11:16:02 -07:00
Jose Alba
e71cf1cdbe [Slider] Rebase. (#52663) 2020-03-31 10:56:01 -07:00
Jonah Williams
8cb1d269f6 [versions] update EVERYTHING (#53467) 2020-03-30 14:09:38 -07:00
gaaclarke
12c7edec4d Revert "disabled flutter_gallery_ios32__transition_perf (#53435)" (#53442)
This reverts commit ba0df45c12.
2020-03-27 16:06:11 -07:00
gaaclarke
ba0df45c12 disabled flutter_gallery_ios32__transition_perf (#53435) 2020-03-27 15:35:40 -07:00
Mouad Debbar
45a8b3db81 complete text layout benchmark (#53295) 2020-03-27 14:56:02 -07:00
Jenn Magder
57b0ddbd60 Uninstall app flag (#53385) 2020-03-27 10:13:54 -07:00
xster
ef7eb7edb3 Remove flutter attach test timeout (#53317) 2020-03-26 09:56:02 -07:00
gaaclarke
83a74e11d2 Started caching results from iana. (#53286) 2020-03-25 18:16:02 -07:00
xster
1376746237 Reland #53153 to attach to existing modules and apps for Android (#53289) 2020-03-25 16:45:49 -07:00
Jenn Magder
12dfa1e9fb Mark stable devicelab tests as unflaky (#53310) 2020-03-25 16:24:17 -07:00
adityapstar
a57feac62e fixed typo in HttpClient failure message (#53211) 2020-03-25 15:26:01 -07:00
chunhtai
9fdd4d2e0c Renamed test class to avoid conflict with the navigator page api. (#53279) 2020-03-25 12:11:01 -07:00
Jenn Magder
b684041bb8 Revert "Let flutter attach find the service port by looking through old logs again (#53153)" (#53282)
This reverts commit 0c5ffdc9ef.
2020-03-25 10:53:45 -07:00
xster
0c5ffdc9ef Let flutter attach find the service port by looking through old logs again (#53153) 2020-03-24 23:26:01 -07:00
Mouad Debbar
af21e74fef [web] Write benchmarks to measure canvas-based text layout (#52434) 2020-03-24 22:10:25 -07:00
Darren Austin
142b526f1b Material Date Picker redesign (#50546)
Date Picker UI redesign
2020-03-24 18:44:57 -07:00
Erik Ernst
d99ab6aa2c Update utils.dart to work with the breaking change of SDK issue 40678 (#53093) 2020-03-24 14:21:01 -07:00
Jonah Williams
10571920c0 [flutter_tools] update to latest dwds API (#52936)
Should fix issues introduced in web-server device and allow loading org-dartlang-app URIs
2020-03-23 18:47:50 -07:00
stuartmorgan
685e9d1e47 Add pre-stable support for create on Windows (#51895)
Adds initial support for flutter create of apps and plugins. This is derived from the current FDE example app and sample plugin, adding template values where relevant.

Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the create output about the fact that it won't be stable.

Plugins don't currently have a version marker since in practice this is not a significant problem for plugins yet the way it is for runners; we can add it later if that changes.

Fixes #30704
2020-03-23 10:42:26 -07:00
Yegor
2e36be7691 Enable more material and cupertino tests on the Web (#52961) 2020-03-20 11:36:24 -07:00
Jenn Magder
8001abec43 Add entitlement checks to codesigning test (#52919) 2020-03-20 10:23:56 -07:00
Yegor
5ea13b8493 fix KeySet.hashCode; enable multiple web tests (#52861)
fix KeySet.hashCode; enable multiple web tests
2020-03-20 08:49:19 -07:00
Ian Hickson
74a505b195 Some minor cleanup for the customer_testing shard (#49501)
* Allow projects that don't have tests on every platform.
  We don't really need to enforce that random projects have
  tests on every platform.

* Add some text at the end of the shard so we know it's
  actually running all the tests.
2020-03-19 19:03:36 -07:00
Chris Yang
b05210c707 Move ios screenshot test to flutter gold. (#52553) 2020-03-19 16:27:41 -07:00