- 17 Aug, 2023 3 commits
-
-
Loïc Sharma authored
Relands https://github.com/flutter/flutter/pull/132669 after it was reverted by https://github.com/flutter/flutter/pull/132773. The test failures were fixed separately by https://github.com/flutter/flutter/pull/132766 Tracking issue: https://github.com/flutter/flutter/issues/132592 Cherrypick issue: https://github.com/flutter/flutter/issues/132718
-
yaakovschectman authored
Reverts flutter/flutter#132669 Introduced failure on `windows/mac/linux framework_library_tests`. ``` 05:41 +7318 ~22 -1: /b/s/w/ir/x/w/flutter/packages/flutter/test/material/menu_bar_theme_test.dart: (tearDownAll) [E] Expected: leak free Actual: <Instance of 'Leaks'> Which: contains leaks: # The text is generated by leak_tracker. # For leak troubleshooting tips open: # https://github.com/dart-lang/leak_tracker/blob/main/doc/TROUBLESHOOT.md notDisposed: total: 3 objects: ValueNotifier<_OverlayEntryWidgetState?>: test: Constructor parameters override theme parameters identityHashCode: 407433615 FocusScopeNode: test: Constructor parameters override theme parameters identityHashCode: 513181650 FocusScopeNode: test: Constructor parameters override theme parameters identityHashCode: 704743556 package:matcher expect package:flutter_test/src/widget_tester.dart 458:18 expect package:leak_tracker_flutter_testing/src/leak_tracking_flutter_testing.dart 81:5 _tearDownTestingWithLeakTracking ===== asynchronous gap =========================== dart:async _CustomZone.registerBinaryCallback package:leak_tracker_flutter_testing/src/leak_tracking_flutter_testing.dart 59:9 configureLeakTrackingTearDown.<fn> ```
-
Loïc Sharma authored
https://github.com/flutter/engine/pull/43974 added a license file to the Dart SDK's ZIP archive. As a result, extracting the Dart SDK now needs to overwrite the cache's `LICENSE.dart_sdk_archive.md` file. This is a short-term solution that will be cherry-picked for the next [3.14 beta release](https://github.com/flutter/flutter/issues/132267). Addresses https://github.com/flutter/flutter/issues/132592. The long-term solution is tracked by https://github.com/flutter/flutter/issues/132702
-
- 09 Aug, 2023 1 commit
-
-
Zachary Anderson authored
Context: https://github.com/flutter/flutter/issues/131862 This PR injects a "realm" component to the storage base URL when the contents of the file `bin/internal/engine.realm` is non-empty. As documented in the PR, when the realm is `flutter_archives_v2`, and `bin/internal/engine.version` contains the commit hash for a commit in a `flutter/engine` PR, then the artifacts pulled by the tool will be the artifacts built by the presubmit checks for the PR. This works for everything but the following two cases: 1. Fuchsia artifacts are not uploaded to CIPD by the Fuchsia presubmit builds. 2. Web artifacts are not uploaded to gstatic by the web engine presubmit builds. For (1), the flutter/flutter presubmit `fuchsia_precache` is driven by a shell script outside of the repo. It will fail when the `engine.version` and `engine.realm` don't point to a post-submit engine commit. For (2), the flutter/flutter web presubmit tests that refer to artifacts in gstatic hang when the artifacts aren't found, so this PR skips them.
-
- 05 Feb, 2021 1 commit
-
-
godofredoc authored
This is in preparation to move the flutter artifacts to a more secure location. Bug: go/fxb/64576
-
- 03 Feb, 2021 1 commit
-
-
Alexander Aprelev authored
This is to avoid Windows Command Prompt window from changing the fonts and colors as it transitions into Powershell with its drawing progress bar. Instead simple console text will be printed: ``` C:\src\f\flutter>bin\flutter doctor Checking Dart SDK version... Downloading Dart SDK from Flutter engine 2c144c3eeb4b25fd78b90dd3e2a24c36f4201021... Expanding downloaded archive... Building flutter tool... ... ``` Fixes https://github.com/flutter/flutter/issues/74864
-
- 12 Oct, 2020 1 commit
-
-
Jonah Williams authored
In case different powershell module is installed over the default name. Fixes #22896
-
- 23 Sep, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] only lock if an upgrade/download will be performed (linux/macos) and output building messages to stderr (#65422) Currently an invocation of flutter/dart will always attempt to acquire a lock. This can pose problems for tools that attempt to run multiple dart/flutter instances. Instead update the lock logic (on Linux/macOS) so that we only attempt to acquire it if an update/snapshot needs to be performed. To avoid repeatedly performing downloads/snapshots if multiple flutter/dart invocations are fired off concurrently when an update needs to be performed, do a second check of the download/snapshot condition after the lock is released. Additionally, moves all of the building/debug output to stderr on both the bash and batch scripts. This allows machine mode consumption of the tool to ignore needing to parse/handle the rebuild messages.
-
- 17 Sep, 2020 1 commit
-
-
Niklas Schulze authored
update_dart_sdk.ps1: Ensure Start-BitsTransfer always throws an exception in case of errors (#65929)
-
- 31 Aug, 2020 1 commit
-
-
Jonah Williams authored
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 08 Aug, 2019 1 commit
-
-
Danny Tuppeny authored
-
- 05 Apr, 2019 1 commit
-
-
Tim Sneath authored
-
- 06 Feb, 2019 1 commit
-
-
KyleWong authored
-
- 27 Jul, 2018 1 commit
-
-
Niklas Schulze authored
-
- 27 Feb, 2018 1 commit
-
-
Alexander Aprelev authored
-
- 14 Feb, 2018 1 commit
-
-
Alexander Aprelev authored
* Use engine-built dart sdk * Download dart-sdk from engine * Move up deps to fix dart sdk constraint problem * Update update_dart_sdk.ps1 for Windows * Fix tests so they pass analysis * More types for tests * Roll engine * Update dart sdk stamp location in flutter.bat * Add newline
-
- 11 Jan, 2018 1 commit
-
-
Michael Goderbauer authored
In the packaged ZIP files for Flutter we bundle mingit on Windows to make setup for our users easier (they don't have to download and install git anymore). This change makes Flutter use the bundled mingit if it is available and if git is not installed on the system. This change will still require that users add `flutter\bin` to their path or they'll have to execute `flutter\bin\flutter.bat` directly. A follow-up PR will add a pre-configured Flutter Console that people can start with a double-click to minimize setup even further. Also in this PR: * If 7Zip is not available to unpack the Dart SDK try 7Zip's standalone version.
-
- 07 Dec, 2017 1 commit
-
-
Jakob Andersen authored
Add support for configuring the base storage URL for Flutter's artifacts. If FLUTTER_STORAGE_BASE_URL is set, use it instead of storage.googleapis.com. The pub server can be overridden by setting PUB_HOSTED_URL.
-
- 24 Jul, 2017 1 commit
-
-
Michael Goderbauer authored
This reverts commit bc4a3f17.
-
- 19 Jul, 2017 1 commit
-
-
Michael Goderbauer authored
* work around for appveyor connectivity issues Unfortuantelly, this slows down our build :( * review feedback
-
- 13 Jun, 2017 1 commit
-
-
Alexander Aprelev authored
* Support 'be' channel so you can download dart-sdk from the tip. This is triggered when you put 'hash/<build hash>' into dart-sdk.version file. For example, 'hash/c0617d20158955d99d6447036237fe2639ba088c' * Add README.md * Fix grammar, spacing, 80 chars, nicer ===
-
- 10 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
Windows' built-in unzippers are painfully slow. It drives me mad! Unzip SDK with 7-Zip: ~10s Unzip SDK with Windows: ~90s
-
- 08 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
This should make our scripts compatible with PowerShell 2 or newer. PowerShell 2 was released in October 2009 and shipped with Windows 7 as default. (I suspect the scripts are now also compatible with PowerShell 1, but that's unconfirmed). This fixes #8606. The PR also introduces better error handling when Flutter fail to download the Dart SDK to fix #8627.
-
- 07 Mar, 2017 2 commits
-
-
Michael Goderbauer authored
-
Michael Goderbauer authored
* for Win 7, we need to import BitsTransfer before using it * switch to PowerShell's build-in archive expander (instead of relying on .NET)
-
- 24 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 23 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
Mainly: Don't call out to PoerShell (expansive!) if Dart SDK is upto date.
-
- 14 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 24 Jan, 2017 1 commit
-
-
Michael Goderbauer authored
This brings the Windows script up to par with the Linux/Mac script. `flutter doctor` works. There are two scripts (`bin/flutter` and `bin/internal/update_dart-sdk`), which are platform dependent (bash script on Linux/Max, PowerShell script on Windows) and we need to keep an eye on making sure that their logic stays in sync. Both scripts are rather simple and I am not expecting many changes to them. I also made sure that both versions follow the same structure to make it easier to keep them consistent. Required for https://github.com/flutter/flutter/issues/138
-