- 03 Nov, 2023 1 commit
-
-
- 25 Aug, 2023 1 commit
-
-
Ian Hickson authored
-
- 15 Jun, 2023 1 commit
-
-
Christopher Fujino authored
Fixes https://github.com/flutter/flutter/issues/112833 Most of the actual changes here are in [packages/flutter_tools/lib/src/version.dart](https://github.com/flutter/flutter/pull/124558/files#diff-092e00109d9e1589fbc7c6de750e29a6ae512b2dd44e85d60028953561201605), while the rest is largely just addressing changes to the constructor of `FlutterVersion` which now has different dependencies. This change makes `FlutterVersion` an interface with two concrete implementations: 1. `_FlutterVersionGit` which is mostly the previous implementation, and 2. `_FlutterVersionFromFile` which will read a new `.version.json` file from the root of the repo The [`FlutterVersion` constructor](https://github.com/flutter/flutter/pull/124558/files#diff-092e00109d9e1589fbc7c6de750e29a6ae512b2dd44e85d60028953561201605R70) is now a factory that first checks if `.version.json` exists, and if so returns an instance of `_FlutterVersionFromGit` else it returns the fallback `_FlutterVersionGit` which will end up writing `.version.json` so that we don't need to re-calculate the version on the next invocation. `.version.json` will be deleted in the bash/batch entrypoints any time we need to rebuild he tool (this will usually be because the user did `flutter upgrade` or `flutter channel`, or manually changed the commit with git).
-
- 21 Mar, 2023 1 commit
-
-
Christopher Fujino authored
[flutter_tools] replace --no-analytics with --suppress-analytics
-
- 13 Mar, 2023 1 commit
-
-
Sigurd Meldgaard authored
Use the pub cache resolved by pub itself. To add packages to the flutter.zip download they are packaged as tar.gz and added to the pub-cache on first run by using `pub cache preload`.
-
- 06 Mar, 2023 1 commit
-
-
Sigurd Meldgaard authored
-
- 12 Jan, 2023 1 commit
-
-
Deokgyu Yang authored
As the results of "uname -s" command is like the below on MSYS2 on Windows Terminal, MSYS_NT-10.0-22621 This patch fixes the Flutter command working on this kind of systems. Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
-
- 20 Sep, 2022 1 commit
-
-
jensjoha authored
Fix flutter tool crash on upgrade caused by app-jit
-
- 19 Sep, 2022 1 commit
-
-
jensjoha authored
-
- 17 Jun, 2022 1 commit
-
-
Michael Thomsen authored
-
- 14 Mar, 2022 1 commit
-
-
Christopher Fujino authored
-
- 10 Jan, 2022 1 commit
-
-
Ian Hickson authored
-
- 30 Aug, 2021 1 commit
-
-
Sigurd Meldgaard authored
* Use `dart __deprecated_pub` instead of `pub` to invoke pub from tools The top level `pub` commmand has been deprecated and will print a message. It is however implemented via the __deprecated_pub command that prints no message.
-
- 12 Jul, 2021 1 commit
-
-
Ian Hickson authored
-
- 13 Apr, 2021 1 commit
-
-
Jonah Williams authored
-
- 23 Mar, 2021 1 commit
-
-
Jenn Magder authored
-
- 26 Jan, 2021 1 commit
-
-
Ben Konyi authored
The CFE now logs to stdout by default when compiling a program which has non-null-safe dependencies. Since flutter_tools has not yet migrated, we need to suppress this message when compiling the tool. Fixes https://github.com/flutter/flutter/issues/74366
-
- 29 Sep, 2020 1 commit
-
-
Marcus Tomlinson authored
-
- 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.
-
- 18 Jun, 2020 1 commit
-
-
Greg Spencer authored
This makes the flutter and dart scripts invoke their batch file equivalents if running under MINGW (i.e. git-bash) on Windows. This allows for proper locking, and makes sure that people aren't using two different (and non-mutally-aware) locking systems when running flutter on Windows. I also fixed a couple of places where we look for MINGW32, which fails under MINGW64. It just looks for MINGW now.
-
- 17 Jun, 2020 1 commit
-
- 01 Jun, 2020 1 commit
-
-
Greg Spencer authored
This reverts the flutter command to use shlock when flock isn't available. It seems that the mkdir method isn't as reliable as we want. I think that this is because the trap isn't always be executed, which is why I think that shlock uses PIDs to help it be more reliable. Unfortunately, that means that we're back to not working over network shares (which is where things were before I moved to the mkdir method, so not really a regression). I did leave in the mkdir method for platforms that have neither flock nor shlock (which should be very few and far between, but still), so at least we'll do some locking there now.
-
- 31 May, 2020 1 commit
-
-
Mehmet Fidanboylu authored
This reverts commit cd593dae.
-
- 29 May, 2020 2 commits
-
-
Christopher Fujino authored
-
Greg Spencer authored
This removes the extraneous whitespace printed when the flutter command is invoked, but didn't wait for a lock. It only is a problem when the carriage return isn't honored (as in IDE consoles).
-
- 27 May, 2020 1 commit
-
-
Greg Spencer authored
Update the flutter and dart scripts' locking mechanism and follow_links function to be more robust and support more platforms. This adds support for using mkdir as a fallback if the system doesn't have flock instead of using shlock, since shlock doesn't work on shared filesystems. It also fixes a problem in the follow_links function where it failed when the link resolved to the root directory.
-
- 18 May, 2020 1 commit
-
-
Christopher Fujino authored
-
- 14 May, 2020 1 commit
-
-
Ben Konyi authored
-
- 03 Mar, 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
-
- 24 Oct, 2019 1 commit
-
-
Jefferson Quesado authored
-
- 15 Oct, 2019 1 commit
-
-
Jacob MacDonald authored
-
- 25 Aug, 2019 1 commit
-
-
Ian Hickson authored
This reverts commit 8a258dca.
-
- 22 Aug, 2019 1 commit
-
-
ryenus authored
Otherwise the error messages would be executed as code when the output is supposed to be sourced, e.g. $(flutter bash-completion)
-
- 15 Jun, 2019 1 commit
-
-
Jonah Williams authored
-
- 03 Jun, 2019 1 commit
-
-
Ian Hickson authored
-
- 03 Apr, 2019 1 commit
-
-
Christopher Fujino authored
-
- 29 Mar, 2019 1 commit
-
-
Jonah Williams authored
-
- 27 Mar, 2019 1 commit
-
-
Jonah Williams authored
-
- 16 Mar, 2019 1 commit
-
-
Jonah Williams authored
-