- 13 Feb, 2023 1 commit
-
-
Ben Konyi authored
Observatory is being deprecated for Dart 3.0 so it should no longer be referenced in tooling messaging / flags. See https://github.com/dart-lang/sdk/issues/50233
-
- 31 Jan, 2023 1 commit
-
-
Chris Bracken authored
* Reland: [macos] add flavor options to tool commands Adds --flavor option to flutter run and flutter build. Running against preexisting devicelab flavor tests for feature parity between macOS, iOS, and Android. This relands #118421 by alex-wallen which was reverted in #118858 due to the following test failures: The bail-out with "Host and target are the same. Nothing to install." added in `packages/flutter_tools/lib/src/commands/install.dart` triggered failures in the following tests, which unconditionally attempt to install the built app, which is unsupported on desktop since the host and target are the same: * https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791495589540422465/+/u/run_flutter_view_macos__start_up/test_stdout * https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791496218824259121/+/u/run_complex_layout_win_desktop__start_up/test_stdout * https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791496218165602641/+/u/run_flutter_gallery_win_desktop__start_up/test_stdout Fixes #64088 * Partial revert: eliminate install check on desktop The original flavour support patch included a check that triggered a failure when flutter install is run on desktop OSes. This was intentional, since the host and target devices are the same and installation is unnecessary to launch the app on currently-supported desktop OSes. Note that Windows UWP apps *do* require installation to run, and we used to have an install command for those apps, though UWP is no longer supported. Since that part of the change was orthogonal to flavour support itself, I'm reverting that component of the change and we can deal with it separately if so desired.
-
- 20 Jan, 2023 1 commit
-
-
Jenn Magder authored
This reverts commit 73096fd9.
-
- 19 Jan, 2023 1 commit
-
-
Alex Wallen authored
* Add new macos target configured for flavors * Rename Free App copy-Info.plist to Free App Info.plist * Remove bogus entitlements * Remove Generated.xcconfig * Audit project.pbxproj * Remove unused configs * share one info.plist * Modify scheme so that paid app works * Codesign automatic * Pipe flavor as scheme into xcodebuild * Ignore incoming flavor string * pipe flavor for flutter run to work * Add devicelab tests * Error if host and target device are same for flutter install desktop * Avoid bang (!) by promoting a local. Co-authored-by: Jenn Magder <magder@google.com> * Add supportsInstall property * Override in test classes * Add install test on macOS * Refactor application_package and add tests for package directory Co-authored-by: a-wallen <stephenwallen@google.com> Co-authored-by: Jenn Magder <magder@google.com>
-
- 09 Jan, 2023 1 commit
-
-
Jenn Magder authored
-
- 07 Nov, 2022 1 commit
-
-
Chris Bracken authored
Increases the minimum macOS deployment target from macOS 10.13 (High Sierra) to 10.14 (Mojave) in the macOS app templates. Includes: * Update migration for macOS 10.11 apps to upgrade to 10.14 * Adds migration for macOS 10.13 apps to upgrade to 10.14 * Apply migration to all examples, and integration tests This does not increase version in the plugin templates since those will need to wait until the 10.14 framework rolls to stable channel, so new plugins can build with apps created with `flutter create` on stable channel. Issue: https://github.com/flutter/flutter/issues/114445 See RFC: http://flutter.dev/go/flutter-drop-macOS-10.13-2022-q4 See previous patch: https://github.com/flutter/flutter/pull/107689
-
- 17 Oct, 2022 1 commit
-
-
Jenn Magder authored
-
- 04 Oct, 2022 1 commit
-
-
Jenn Magder authored
-
- 26 Sep, 2022 1 commit
-
-
Liam Appelbe authored
-
- 16 Sep, 2022 2 commits
-
-
Liam Appelbe authored
This reverts commit f8f69575.
-
Jenn Magder authored
-
- 13 Sep, 2022 1 commit
-
-
Zachary Anderson authored
-
- 12 Sep, 2022 1 commit
-
-
Liam Appelbe authored
* Migrate packages/flutter_tools/bin * Fix NPE * Fix test * Fix test * Fix l10n optionalParameters * Fix ChromeTab nullability * Fix another type cast error * Fix another cast error * Fix another cast error (copied from #110711) * Fix NPE * Fix another NPE * Assert that testDirectory is not null
-
- 12 Aug, 2022 1 commit
-
-
Jenn Magder authored
-
- 30 Jul, 2022 1 commit
-
-
Jenn Magder authored
-
- 29 Jul, 2022 1 commit
-
-
Jenn Magder authored
-
- 15 Jul, 2022 1 commit
-
-
Jenn Magder authored
-
- 13 Jul, 2022 1 commit
-
-
jensjoha authored
Speedup coverage test runs by using (new) coverage handle with caching. On a `flutter test --coverage` run on `packages/flutter` the runtime goes from ~828 seconds to ~617 seconds, or a ~25% reduction in time spent (testing without coverage takes ~236 seconds so the overhead of `--coverage` in this case goes from ~592 seconds to ~381 seconds, or a ~35% reduction).
-
- 02 Jun, 2022 1 commit
-
-
Jenn Magder authored
-
- 31 May, 2022 1 commit
-
-
Chris Bracken authored
In https://github.com/flutter/flutter/pull/103771, we rolled dependencies in Flutter, which triggered an update of package:coverage to v1.3.1. The new version includes https://github.com/dart-lang/coverage/pull/370 in which two deprecations landed: * The `Resolver` default constructor was deprecated and replaced with the `Resolver.create` static factory method, which unfortunately happens to be async. * The `packagesPath` parameter to `HitMap.parseJson`, which takes the path to the `.packages` file of the package for which coverage is to be collected, was deprecated. This parameter was replaced with `packagePath` in https://github.com/dart-lang/coverage/pull/370 which was part of the overall deprecation of the .packages file in Dart itself https://github.com/dart-lang/sdk/issues/48272. The overall goal being that end-user code shouldn't need to know about implementation details such as whether dependency information is stored in a .packages file or a package_info.json file, but rather use the package_config package to obtain the package metadata and perform other functions such as resolving its dependencies to filesystem paths. packagesPath was replaced by packagePath, which takes the path to the package directory itself. Internally, package:coverage then uses package_config to do the rest of the package/script URI resolution to filesystem paths. This migrates off the deprecated `packagesPath` parameter to the replacement `packagePath` paramter. Issue: https://github.com/flutter/flutter/issues/103830
-
- 24 May, 2022 1 commit
-
-
Jenn Magder authored
-
- 19 May, 2022 1 commit
-
-
Liam Appelbe authored
* Use libraryFilters flag to speed up coverage collection * Allow libraryNames to be null * Unconditionally enable the reportLines flag * Fix analysis errors
-
- 13 May, 2022 1 commit
-
-
Jenn Magder authored
-
- 02 May, 2022 1 commit
-
-
Jenn Magder authored
-
- 27 Apr, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 26 Apr, 2022 1 commit
-
-
Jonah Williams authored
-
- 15 Apr, 2022 1 commit
-
-
Jenn Magder authored
-
- 12 Apr, 2022 1 commit
-
-
Jenn Magder authored
-
- 08 Apr, 2022 1 commit
-
-
Jenn Magder authored
-
- 28 Mar, 2022 1 commit
-
-
Jenn Magder authored
-
- 17 Mar, 2022 1 commit
-
-
Chris Bracken authored
This changes the default build architectures for Flutter macOS apps to x86_64 and arm64. Previously, we manually excluded arm64 builds via the EXCLUDE_ARCHS Xcode setting in Flutter's generated xcconfig file. This eliminates setting EXCLUDE_ARCHS during the build and updates the default architectures in the tool and in the macos_assemble.sh wrapper. Issue: https://github.com/flutter/flutter/issues/97681 Umbrella issue: https://github.com/flutter/flutter/issues/60113
-
- 08 Mar, 2022 1 commit
-
-
Jenn Magder authored
-
- 18 Feb, 2022 1 commit
-
-
Ben Konyi authored
-
- 02 Feb, 2022 1 commit
-
-
Collin Jackson authored
-
- 13 Jan, 2022 2 commits
-
-
Spt authored
-
stuartmorgan authored
-
- 15 Dec, 2021 1 commit
-
-
Jenn Magder authored
-
- 11 Nov, 2021 1 commit
-
-
Greg Spencer authored
-
- 02 Nov, 2021 1 commit
-
-
Jenn Magder authored
-
- 21 Oct, 2021 1 commit
-
-
omerlevran46 authored
-