Commit Graph

2100 Commits

Author SHA1 Message Date
Chris Yang
8bcd94817f Fix ios_platform_view_tests app name. (Trivail) (#52446) 2020-03-12 15:39:01 -07:00
Shi-Hao Hong
183da8f837 [gen_l10n] Fix suppportedLocales list (#52448)
* Fix suppportedLocales list

* Refactor integration tests for gen_l10n tool to catch exceptions
2020-03-12 12:58:13 -07:00
Jonah Williams
d98213c46f [flutter_tools] reland: Update background isolates when performing hot reload/restart (#52479)
Reland of #52149
2020-03-12 12:48:05 -07:00
Chris Yang
7fb7ea63b3 Reland "Add ios platform view integration test (#51882)" (#52440) 2020-03-11 16:32:47 -07:00
Shi-Hao Hong
96fd143cd7 [gen_l10n] Optional Headers (#52125)
* Expose --header and --header-file arguments for gen_l10n
2020-03-11 13:55:54 -07:00
Emmanuel Garcia
4049889d9e Make --androidx flag a noop in flutter create (#52340) 2020-03-10 20:05:41 -07:00
Mouad Debbar
5bb552270d [web] Add benchmarks for text layout (#51663) 2020-03-10 18:46:03 -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
Greg Spencer
d19c44344b Add sample for InheritedNotifier, convert two others to DartPa… (#52349)
This adds a sample for InheritedNotifier, and converts a couple of other samples to be DartPad samples. I also added a new sample template stateful_widget_material_ticker, which adds a TickerProviderStateMixin to the state object so that animation controllers can be created there easily.
2020-03-10 15:23:45 -07:00
Ben Konyi
66b978a197 Update pub dependencies to roll forward package:test (#52273) 2020-03-10 13:26:02 -07:00
Jonah Williams
4ce34f2516 [benchmarks] remove archived build aot benchmarks (#52283) 2020-03-09 20:15:59 -07:00
Francisco Magdaleno
e9905b6ad8 [Keyboard] Collects windows key data (#52265) 2020-03-09 17:21: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
9437639590 [flutter_tools] fix coverage measurement to report on lib and not test (#52093) 2020-03-06 10:24:23 -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
Alexandre Ardhuin
c2ae654ddf enable avoid_single_cascade_in_expression_statements (#51944) 2020-03-05 08:03:26 +01:00
Flutter GitHub Bot
9c5009b251 [gen_l10n] Escape quote characters in ARB files (#51952) 2020-03-04 20:41:03 -08:00
Jonah Williams
124aa6f8b1 [flutter_tools] use package:test for coverage and remove build_runner test precompilation (#51966) 2020-03-04 17:12:58 -08:00
Jenn Magder
7593228665 Mark devicelab tests as no longer flaky (#51977) 2020-03-04 17:03:18 -08:00
Jason Simmons
c971ba0db4 Increase the timeout for the cull_opacity_perf_test to 45 seconds (#51962)
Fixes https://github.com/flutter/flutter/issues/51795
2020-03-04 13:53:01 -08:00
Flutter GitHub Bot
e22ceb0c7a Add textfield perf test to devicelab (#51788) 2020-03-04 13:16:03 -08:00
Jenn Magder
32716b9e9b Bitcode strip embedded iOS frameworks (#51914) 2020-03-04 13:15:33 -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
Shi-Hao Hong
c98500dea3 Update gen_l10n tool to require base locale; Stocks app refresh (#51602) 2020-02-28 22:21:01 -08:00
Jonah Williams
9b4159c5ee [flutter_tools] support run -d chrome test scripts (#51658) 2020-02-28 14:21:02 -08:00
Mouad Debbar
03d6b58002 [web] Allow benchmarks to customize their score keys (#51493) 2020-02-28 13:54:45 -08:00
Yegor
bae79599c2 add docs about writing/running web benchmarks (#50989)
* add docs about writing/running web benchmarks

* explain how to run like devicelab

* add WidgetBuildRecorder docs
2020-02-28 10:16:35 -08:00
Yegor
cd0fbd3205 improve web benchmark error reporting (#51490) 2020-02-28 10:14:22 -08:00
stuartmorgan
33bb1faf5b Reland: Always use new plugin schema for plugin template (#49832)
Now that the new schema is supported on the stable channel, and the old
schema is considered legacy, the template should always create plugins
using the new schema.
2020-02-27 22:48:25 -08:00
Jason Simmons
d499d61efe Update Android activities because plugin registration is now done by FlutterActivity.configureFlutterEngine (#50841) 2020-02-27 18:16:04 -08:00
Jonah Williams
08d079f6c2 [flutter_tools] wire up complete support for Dart obfuscation (#50509) 2020-02-27 08:58:33 -08:00
Dan Field
c75db98337 Live image cache (#51485)
* Reland "Live image cache" (#51441)

This reverts commit 419a2853a8.

* Make evict safer
2020-02-26 16:01:56 -08:00
Greg Spencer
9e744c5710 Implement VisualDensity for text fields. (#51438)
This implements VisualDensity changes for text fields*. By default, the layout of the text field does not change.

If the ThemeData.visualDensity is set to a value other than zero, then the density of the UI will increase or decrease. See the VisualDensity docs for more information.

(*In reality, the changes are on the InputDecorator class, not on the text field.)

I also fixed a problem that I think I found with _Decoration where it doesn't compare isDense or isCollapsed as part of its operator==.
2020-02-26 13:38:28 -08:00
Jonah Williams
55072246d0 [flutter_tools] remove build script from tool package (#50690) 2020-02-26 08:25:04 -08:00
Alexandre Ardhuin
a4054938ce unnecessary multiline strings (#50806) 2020-02-25 18:12:17 -08:00
Dan Field
419a2853a8 Revert "Live image cache" (#51441)
* Revert "Live image cache (#51249)"

This reverts commit e2dcdb60e3.

* fix tests for other commit
2020-02-25 16:52:47 -08:00
Nate Bosch
9228b87eb3 Don't use a default test randomize ordering seed (#51018)
Fixes #51010

The test package differentiates between passing and not passing this
argument. A previous version had a bug that treated passing `0`
identically to not passing the argument, and the flutter test runner
relied on this bug by always passing a value and using a default of `0`.

- Remove the argument defaults throughout to make it clear that `null`
  is a valid value and the default.
- Remove the argument defaulting on the argument parser.
- Update the wording of the usage for this argument, this will also be
  updated on the `package:test` side.
2020-02-25 13:01:40 -08:00
Christopher Fujino
704fb4cbc7 Remove usage of ideviceinstaller in favor of ios-deploy (#50772) 2020-02-25 09:09:40 -08:00
Hans Muller
13e1336e6c Generate message lookup in gen_l10n (#50733) 2020-02-24 20:17:13 -08:00
Yegor
d95a1a70a2 add WidgetBuildRecorder for benchmarking building widgets (#51088) 2020-02-24 16:08:40 -08:00
Dan Field
889e606ceb Script to find Flutter earliest Flutter revision that contains an engine revision (#50948) 2020-02-24 14:49:12 -08:00
Jonah Williams
e6e79bce6f [flutter_tools] remove vm_service_client dependency from flutter tool (#51227) 2020-02-24 14:19:43 -08:00