1. 12 Jan, 2023 1 commit
  2. 20 Sep, 2022 1 commit
  3. 19 Sep, 2022 1 commit
  4. 17 Jun, 2022 1 commit
  5. 14 Mar, 2022 1 commit
  6. 10 Jan, 2022 1 commit
  7. 30 Aug, 2021 1 commit
    • Sigurd Meldgaard's avatar
      Stop calling top level pub (#89032) · bce36620
      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.
      bce36620
  8. 12 Jul, 2021 1 commit
  9. 13 Apr, 2021 1 commit
  10. 23 Mar, 2021 1 commit
  11. 26 Jan, 2021 1 commit
  12. 29 Sep, 2020 1 commit
  13. 23 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] only lock if an upgrade/download will be performed... · f1472e1f
      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.
      f1472e1f
  14. 18 Jun, 2020 1 commit
    • Greg Spencer's avatar
      Make flutter and dart scripts invoke their batch file equivalents on Windows (#59789) · 6db22118
      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.
      6db22118
  15. 17 Jun, 2020 1 commit
  16. 01 Jun, 2020 1 commit
    • Greg Spencer's avatar
      Revert flutter command to shlock when flock isn't available (#58281) · 5267d987
      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.
      5267d987
  17. 31 May, 2020 1 commit
  18. 29 May, 2020 2 commits
  19. 27 May, 2020 1 commit
    • Greg Spencer's avatar
      Update the flutter script's locking mechanism and follow_links (#57590) · 379e11b6
      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.
      379e11b6
  20. 18 May, 2020 1 commit
  21. 14 May, 2020 1 commit
  22. 03 Mar, 2020 1 commit
  23. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      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
      449f4a66
  24. 24 Oct, 2019 1 commit
  25. 15 Oct, 2019 1 commit
  26. 25 Aug, 2019 1 commit
  27. 22 Aug, 2019 1 commit
  28. 15 Jun, 2019 1 commit
  29. 03 Jun, 2019 1 commit
  30. 03 Apr, 2019 1 commit
  31. 29 Mar, 2019 1 commit
  32. 27 Mar, 2019 1 commit
  33. 16 Mar, 2019 1 commit
  34. 05 Feb, 2019 1 commit
  35. 31 Jan, 2019 1 commit
  36. 28 Aug, 2018 1 commit
  37. 16 Aug, 2018 2 commits
  38. 12 Aug, 2018 1 commit
    • Greg Spencer's avatar
      Switch from infinite retries on upgrade to 10 retries. (#20450) · 01d64444
      Greg Spencer authored
      This changes the flutter tool to just try 10 times before giving up when running "flutter upgrade". Infinite retries can hang bots, and really don't provide a lot of help: if we've failed to upgrade for for nearly a minute, trying every five seconds, then something is just not responding.
      
      Also, changed the bot default warning level to "normal" from "all", because the solver messages are VERY verbose: several megs of output for doing packages get on Flutter. "normal" will give warnings, user messages and errors, which should be sufficient to diagnose problems on the bots without spamming the log.
      
      I removed the retrying for building the snapshot on flutter.bat because we don't do that on the other platforms, and because I can't imagine how running it again would give a different answer.
      
      I also fixed a problem in the whitespace detection when no files matched the type of file that it is looking for, and removed the code that waits until failure to print the logs on setup, since reducing the log output made a huge difference.
      01d64444