Commit Graph

916 Commits

Author SHA1 Message Date
Tong Wu
a5765331bc Re-enable deploy_gallery. (#54248) 2020-04-09 16:15:01 -07:00
Jonah Williams
4b98c0565a Revert "fix and re-land "re-enable android_view_test (#54214)" (#54312)" (#54387)
This reverts commit 13052b10e4.
2020-04-09 12:41:00 -07:00
Jacob MacDonald
efdce3cf72 drop image package dependency for goldens (#54144) 2020-04-09 11:21:23 -07:00
Chris Yang
13052b10e4 fix and re-land "re-enable android_view_test (#54214)" (#54312) 2020-04-09 11:03:02 -07:00
Filip Hracek
1593788cd9 Rename GPU thread to raster thread in API docs (#53422) 2020-04-08 18:57:03 -07:00
Jonah Williams
dbecf2afd5 Revert "enable the regressed test (#54214)" (#54307)
This reverts commit f8784e72a9.
2020-04-08 13:58:33 -07:00
Chris Yang
f8784e72a9 enable the regressed test (#54214) 2020-04-08 12:42:03 -07:00
Michael Goderbauer
d47ad7ec0d Reverse dependency between services and scheduler (#54212) 2020-04-08 09:12:03 -07:00
Jonah Williams
0a25309fb1 [versions] update versions (#54247) 2020-04-07 19:42:02 -07:00
Jose Alba
3441d6cbe7 Slider rebase work (#53916)
* [Slider] Rebase.

* disabled thumb color with alphaBlend of colorScheme surface

* test remove alphablend

* Change rectangular track to how it used to be

* Chaned to adaptive slider

* blank lines

Co-authored-by: Will Larche <larche@google.com>
2020-04-07 17:10:18 -04:00
Michael Thomsen
98e7791ec9 Roll pinned xml and petitparser versions (#54181) 2020-04-07 12:16:03 -07:00
Konstantin Scheglov
b0492cc976 Fix newly reported prefer_const_constructors lints. (#54176) 2020-04-07 08:59:01 -07:00
Amir Hardon
ba18e99d1b Enable the android_views AlertDialog test (#54163) 2020-04-07 08:32:13 -07:00
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
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
Kate Lovett
63f8b9a4d5 Improving A11y for Flutter Gallery Demos (#53616) 2020-04-03 10:34:14 -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
Jose Alba
d14a301e41 Revert "[Slider] Rebase. (#52663)" (#53698)
This reverts commit e71cf1cdbe.
2020-03-31 16:14:22 -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
chunhtai
9fdd4d2e0c Renamed test class to avoid conflict with the navigator page api. (#53279) 2020-03-25 12:11: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
Chris Yang
b05210c707 Move ios screenshot test to flutter gold. (#52553) 2020-03-19 16:27:41 -07:00
Sam Rawlins
5d0e87ce38 Exclude codegen/lib/main.dart from static analysis (#52829) 2020-03-18 13:16:02 -07:00
Jonah Williams
da0788a180 Update fuchsia remote debug protocol to use package:test shim instead of package:test_api (#52706)
This is necessary to ensure the tests can run in google3. Fixes https://b.corp.google.com/issues/151657461
2020-03-18 09:12:46 -07:00
Jonah Williams
6884086e5c [flutter_tools] Update to latest dwds APIs (#51004)
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
2020-03-17 17:29:53 -07:00
Jonah Williams
a7011c4817 [flutter_tools] don't force service worker cache files to be absolute (#52606) 2020-03-17 10:17:03 -07:00
Michael Thomsen
e36f4a467f Fix paths causing test failures (#52660) 2020-03-16 14:05:48 +01:00
Michael Thomsen
e167181444 Move flutter_gallery to the testing folder (#52532)
Move Flutter Gallery to dev/integration_tests/ as it is an older copy used only for testing. The current version of the Flutter Gallery now lives in https://github.com/flutter/gallery.
2020-03-16 10:31:42 +01:00
Chris Yang
8bcd94817f Fix ios_platform_view_tests app name. (Trivail) (#52446) 2020-03-12 15:39:01 -07:00
Chris Yang
7fb7ea63b3 Reland "Add ios platform view integration test (#51882)" (#52440) 2020-03-11 16:32:47 -07:00
Chris Yang
fc5350ed04 Revert "Add ios platform view integration test (#51882)" (#52373)
This reverts commit 357fd2db38.
2020-03-10 18:42:15 -07:00
Chris Yang
357fd2db38 Add ios platform view integration test (#51882) 2020-03-10 17:33:01 -07:00
Ben Konyi
66b978a197 Update pub dependencies to roll forward package:test (#52273) 2020-03-10 13:26:02 -07:00
Jonah Williams
c1112d3f7e [flutter_tools] Reland: Allow providing dart-defines to Android, iOS, macOS builds (#52044) 2020-03-06 14:53:36 -08:00
Jonah Williams
ee476a7bd1 Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds (#51714)" (#52041)
This reverts commit ee60eeea3e.
2020-03-05 12:51:42 -08:00
Jonah Williams
ee60eeea3e [flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds (#51714) 2020-03-05 12:38:40 -08:00
Jonah Williams
bbf913bc4c [flutter_tools] resolve requests to web directory in debug mode (#51995) 2020-03-05 12:34:03 -08:00
Ben Konyi
3edd3eb4a2 Updated package:test, package:test_core, package:coverage, package:package_config (#51946)
This is required to roll forward package:vm_service to 3.0.0 and is
blocking a DevTools release.
2020-03-04 11:40:52 -08:00
Jenn Magder
e491544588 Move embedding and linking Flutter frameworks into the tool (#51453)
* Move embedding and linking Flutter frameworks into the tool

* Unused import

* Migrate

* Rename run, add comments, remove typedef

* Add status log to tell the user what we did

* Remove Podfile migration, create IOSMigration superclass

* word-smiting

Co-Authored-By: Jonah Williams <jonahwilliams@google.com>

* for space

Co-Authored-By: Jonah Williams <jonahwilliams@google.com>

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-03-03 12:11:28 -08:00
Shi-Hao Hong
d2c734a36f Simple repeating word fixes (#51871) 2020-03-03 11:13:07 -08:00
Greg Spencer
1ba4f1f509 Add Linux and Windows target platforms (#51519)
This PR adds the linux and windows target platform enum values, along with automatically setting the defaultTargetPlatform to the appropriate value on those platforms.

Fixes #31366
2020-03-03 04:38:04 -08:00
Chris Bracken
f3018c378a Revert "Temporarily disable the flutter_driver_screenshot_test. (#51665)" (#51783)
The original commit actually *enabled* the test by removing the
flaky: true field in the commit.

This reverts commit 1d3fcfd6ca.
2020-03-02 09:45:24 -08:00
Chris Yang
1d3fcfd6ca Temporarily disable the flutter_driver_screenshot_test. (#51665) 2020-02-29 10:01:18 -08:00
Jonah Williams
9b4159c5ee [flutter_tools] support run -d chrome test scripts (#51658) 2020-02-28 14:21:02 -08:00