1. 22 Nov, 2023 1 commit
  2. 16 Nov, 2023 1 commit
  3. 26 Oct, 2023 1 commit
  4. 13 Sep, 2023 1 commit
    • Christopher Fujino's avatar
      [flutter_tools] Run ShutdownHooks when handling signals (#134590) · 3d7cd359
      Christopher Fujino authored
      Fixes https://github.com/flutter/flutter/issues/134566.
      
      Prior to this fix, `ShutdownHooks` were run in the private helper
      function `_exit()` defined in the `package:flutter_tools/runner.dart`
      library. Independent of this, the tool had signal handling logic that
      traps SIGINT and SIGTERM. However, these handlers called `exit()` from
      `dart:io`, and didn't run these hooks.
      
      This PR moves the `_exit()` private helper to
      `package:flutter_tools/src/base/process.dart` and renames it to
      `exitWithHooks()`, so that it can be called by the signal handlers in
      `package:flutter_tools/src/base/signals.dart`.
      3d7cd359
  5. 12 Sep, 2023 1 commit
  6. 23 Aug, 2023 1 commit
  7. 08 May, 2023 1 commit
  8. 19 Apr, 2023 3 commits
  9. 12 Apr, 2023 1 commit
  10. 05 Apr, 2023 1 commit
  11. 12 Oct, 2022 1 commit
  12. 02 Sep, 2022 2 commits
  13. 15 Jun, 2022 1 commit
  14. 10 Jan, 2022 1 commit
  15. 11 Nov, 2021 1 commit
  16. 03 Nov, 2021 1 commit
  17. 01 Nov, 2021 1 commit
  18. 15 Oct, 2021 1 commit
  19. 08 Oct, 2021 3 commits
  20. 13 Jul, 2021 1 commit
  21. 12 Jul, 2021 1 commit
  22. 09 Apr, 2021 1 commit
  23. 22 Mar, 2021 1 commit
  24. 06 Mar, 2021 1 commit
  25. 04 Mar, 2021 1 commit
  26. 14 Feb, 2021 1 commit
  27. 12 Feb, 2021 1 commit
  28. 27 Jan, 2021 1 commit
  29. 13 Jan, 2021 1 commit
  30. 12 Oct, 2020 1 commit
  31. 03 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] rethrow process exceptions as tool exit from gradle build (#64745) · bd3eee75
      Jonah Williams authored
      The flutter tool is currently unable to detect missing permissions in gradle/gradle.bat that would cause a gradle build to fail via process exception. Rather than crashing and exiting, we can display the exception as an error message and tool exit.
      
      While linux/macOS are able to add the +x bit, this is not possible on windows with our current file system/OS API. These crashes represent a substantial amount of crash reporting, but are otherwise not actionable on our end.
      bd3eee75
  32. 15 Jun, 2020 1 commit
  33. 04 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] remove zone level overrides of verbose and daemon logging (#57448) · f5de6aad
      Jonah Williams authored
      Make it possible for all FlutterCommands to be global free, by moving instantiation to inside the Zone context. Additionally, provide VerboseLogger and NotifyLogger (daemon) at the top level and remove from command-specific overrides.
      
      This allows removing a work around where web devices needed to look up directly from the context in non-test code.
      
      Technically the output preferences are still zone injected, but these will be moved soon as they were not being used correctly by the top level command (the injection comes after ArgParser reads the overflow values, causing numerous wrap issues)
      f5de6aad
  34. 28 Apr, 2020 1 commit
  35. 22 Apr, 2020 1 commit