- 04 Mar, 2018 1 commit
-
-
Todd Volkert authored
Fixes https://github.com/flutter/flutter/issues/15136
-
- 01 Mar, 2018 1 commit
-
-
Todd Volkert authored
Fixes https://github.com/flutter/flutter/issues/14950
-
- 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
-
- 18 Jan, 2018 1 commit
-
-
Ian Hickson authored
Generate the "version" file from git tags. Remove the old VERSION file and mentions of versions in pubspec.yaml files. Replace the old update_versions.dart script with a new roll_dev.dart script. Update "flutter channel". Update "flutter upgrade", including making it transition from alpha to dev. Update "flutter --version" and "flutter doctor".
-
- 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.
-
- 10 Jan, 2018 1 commit
-
-
Leaf Petersen authored
Rolling the Dart SDK to 2.0, with associated package updates. https://groups.google.com/forum/#!topic/flutter-dev/E22RdKAYjs8
-
- 05 Dec, 2017 3 commits
-
-
Greg Spencer authored
The purpose of this PR is to make it so that when the user runs 'flutter', if they have a .pub-cache directory in their flutter root, we use that instead of the default location for the pub cache. Otherwise, it should act as before. The eventual goal is to support a pre-populated flutter .zip/.tar.gz file that has everything the developer needs in one bundle. In order for that to actually work, we need to have the pub cache be self-contained, and not in the user's home dir. Another advantage of this is that if you have multiple flutter repos that you're switching between, then the versions in the pub cache will remain static when you switch between them. This is an attempt to re-land: #13248. Includes a fix for the test that makes it work on bots in the presence of PUB_CACHE being set, and no other changes.
-
Greg Spencer authored
* Revert "Add tests." This reverts commit 31bad961ff2220a2708917ff8f748fed7efa9b51. * Revert "Use .pub-cache from Flutter root, if it exists. (#13248)" This reverts commit 72d6bcc3.
-
Greg Spencer authored
The purpose of this PR is to make it so that when the user runs 'flutter', if they have a .pub-cache directory in their flutter root, we use that instead of the default location for the pub cache. Otherwise, it should act as before. The eventual goal is to support a pre-populated flutter .zip/.tar.gz file that has everything the developer needs in one bundle. In order for that to actually work, we need to have the pub cache be self-contained, and not in the user's home dir. Another advantage of this is that if you have multiple flutter repos that you're switching between, then the versions in the pub cache will remain static when you switch between them.
-
- 08 Nov, 2017 1 commit
-
-
Alexandre Ardhuin authored
* enable lint prefer_asserts_in_initializer_lists * enable --assert-initializer
-
- 13 Sep, 2017 1 commit
-
-
Ian Hickson authored
This ports the five-second retry interval from flutter.bat to the Bash version. Failures during "pub get" of the flutter tool are common on Travis and so this should help Travis reliability if nothing else.
-
- 05 Jul, 2017 1 commit
-
-
Ian Hickson authored
-
- 02 Jul, 2017 1 commit
-
-
Ian Hickson authored
(Needs https://github.com/dart-lang/sdk/issues/28519)
-
- 11 May, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 02 May, 2017 1 commit
-
-
Michael Goderbauer authored
* Populate PUB_ENVIRONMENT for initial pub get * review comments * change order
-
- 15 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
Some Windows Versions close the entire shell if EXIT is called without /B. This also adds retry logic for downloading the Dart SDK.
-
- 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.
-
- 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.
-
- 09 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
* return 1 when checks in `flutter.bat` fail * don't assume file extension of git (depending on the system it can be `git.exe` or `git.bat`)
-
- 08 Feb, 2017 2 commits
-
-
Michael Goderbauer authored
-
Michael Goderbauer authored
Call `pub upgrade` instead of manually deleting `pubspec.lock` and then calling `pub get`. `pub upgrade` ignores the `pubspec.lock`, but is otherwise identically to 'pub get' (https://www.dartlang.org/tools/pub/cmd/pub-upgrade).
-
- 07 Feb, 2017 2 commits
-
-
Michael Goderbauer authored
-
Michael Goderbauer authored
-
- 28 Jan, 2017 1 commit
-
-
Michael Goderbauer authored
fixes https://github.com/flutter/flutter/issues/7654
-
- 27 Jan, 2017 1 commit
-
-
Michael Goderbauer authored
Currently, this only calls out to the PowerShell Script, which is kind of slow. In the future, we will transfer more logic from PowerShell to cmd for faster starup time.
-
- 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
-
- 11 Apr, 2016 1 commit
-
-
Devon Carew authored
* better messaging about windows support * fix lints
-
- 28 Mar, 2016 1 commit
-
-
Adam Barth authored
The .packages file is replacing the packages directory of symlinks.
-
- 09 Feb, 2016 1 commit
-
-
Adam Barth authored
This check is triggering even for folks who don't have FLUTTER_DEV set, which is breaking their toolchain because we're not running `pub get` on the flutter_tools package.
-
- 06 Feb, 2016 1 commit
-
-
Devon Carew authored
-
- 01 Feb, 2016 1 commit
-
-
Collin Jackson authored
-
- 14 Nov, 2015 1 commit
-
-
Nathan Kerr authored
Need to change working directories so that the command works when called from outside the flutter directory. Removed accidental debug code.
-
- 12 Nov, 2015 1 commit
-
-
Hixie authored
Other changes in this patch: - Make the 'flutter' tool say "Updating flutter tool..." when it calls pub get, to avoid confusion about what the pub get output is about. - Make the bash flutter tool call pub get when the revision has changed. (This was already happening on Windows.) - Fix a raft of bugs found by the analyzer. - Fix some style nits in various bits of code that happened to be near things the analyzer noticed. - Remove the logic in "flutter test" that would run "pub get", since upon further reflexion it was determined it didn't work anyway. We'll probably have to add better diagnostics here and say to run the updater script. - Remove the native velocity tracker script, since it was testing code that has since been removed. Notes on ignored warnings: - We ignore warnings in any packages that are not in the Flutter repo or in the author's current directory. - We ignore various irrelevant Strong Mode warnings. We still enable strong mode because even though it's not really relevant to our needs, it does (more or less accidentally) catch a few things that are helpful to us. - We allow CONSTANTS_LIKE_THIS, since we get some of those from other platforms that we are copying for sanity and consistency. - We allow one-member abstract classes since we have a number of them where it's perfectly reasonable. - We unfortunately still ignore warnings in mojom.dart autogenerated files. We should really fix those but that's a separate patch. - We verify the actual source file when we see the 'Name non-constant identifiers using lowerCamelCase.' lint, to allow one-letter variables that use capital letters (e.g. for physics expressions) and to allow multiple-underscore variable names. - We ignore all errors on lines that contain the following magic incantation and a "#" character: // analyzer doesn't like constructor tear-offs - For all remaining errors, if the line contains a comment of the form // analyzer says "..." ...then we ignore any errors that have that "..." string in them.
-
- 11 Nov, 2015 2 commits
-
-
Nathan Kerr authored