1. 20 Jan, 2023 1 commit
  2. 19 Jan, 2023 1 commit
    • Alex Wallen's avatar
      [macos] add flavor options to commands in the `flutter_tool` (#118421) · 73096fd9
      Alex Wallen authored
      * Add new macos target configured for flavors
      
      * Rename Free App copy-Info.plist to Free App Info.plist
      
      * Remove bogus entitlements
      
      * Remove Generated.xcconfig
      
      * Audit project.pbxproj
      
      * Remove unused configs
      
      * share one info.plist
      
      * Modify scheme so that paid app works
      
      * Codesign automatic
      
      * Pipe flavor as scheme into xcodebuild
      
      * Ignore incoming flavor string
      
      * pipe flavor for flutter run to work
      
      * Add devicelab tests
      
      * Error if host and target device are same for flutter install desktop
      
      * Avoid bang (!) by promoting a local.
      Co-authored-by: 's avatarJenn Magder <magder@google.com>
      
      * Add supportsInstall property
      
      * Override  in test classes
      
      * Add install test on macOS
      
      * Refactor application_package and add tests for package directory
      Co-authored-by: 's avatara-wallen <stephenwallen@google.com>
      Co-authored-by: 's avatarJenn Magder <magder@google.com>
      73096fd9
  3. 08 Nov, 2022 1 commit
    • Alex Wallen's avatar
      [tool] Support `--flavor` option for `flutter install`. (#114048) · 7020f59a
      Alex Wallen authored
      * Alphabetize setup calls
      
      * Add --flavor as an option for install
      
      * Add verbose logging in install command
      
      * Test that flavors build succeeds with proper flavor and fails with bogus one.
      
      * Remove unused import
      
      * The import was used...
      
      * SQUASH
      
      * Add flavor install test
      
      * Rename test
      
      * Add flavors install integration tests
      
      * correct error message
      
      * remove unused imports
      
      * Delete copy test
      
      * update test target
      
      * Refactor mechanism to read buildInfo
      
      * Remove unused import
      
      * Set affected test targets to bringup: true
      Co-authored-by: 's avatara-wallen <stephenwallen@google.com>
      7020f59a
  4. 10 May, 2022 1 commit
  5. 09 May, 2022 1 commit
  6. 06 Apr, 2022 1 commit
  7. 22 Dec, 2021 1 commit
  8. 11 Nov, 2021 1 commit
  9. 02 Nov, 2021 1 commit
  10. 06 Oct, 2021 1 commit
  11. 31 Mar, 2021 1 commit
  12. 27 Jan, 2021 1 commit
  13. 13 Oct, 2020 1 commit
  14. 16 Sep, 2020 1 commit
  15. 02 Sep, 2020 1 commit
  16. 09 Jun, 2020 1 commit
  17. 08 Jun, 2020 1 commit
  18. 11 May, 2020 1 commit
  19. 27 Mar, 2020 1 commit
  20. 25 Feb, 2020 1 commit
  21. 10 Jan, 2020 1 commit
  22. 06 Jan, 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. 13 Sep, 2019 1 commit
  25. 08 Apr, 2019 1 commit
  26. 30 Mar, 2019 2 commits
  27. 05 Oct, 2018 1 commit
  28. 05 Jun, 2018 1 commit
  29. 26 Sep, 2017 1 commit
    • Todd Volkert's avatar
      Run command validation on all commands. (#12246) · a08b5e00
      Todd Volkert authored
      This makes command validation happen as part of `verifyThenRunCommand()`,
      using a newly introduced protected method (`validateCommand()`) rather than
      a `commandValidator` property (that subclasses were responsible for manually
      invoking).
      a08b5e00
  30. 29 Jun, 2017 1 commit
  31. 26 Apr, 2017 1 commit
    • Todd Volkert's avatar
      Switch many `Device` methods to be async (#9587) · 60c5ffc1
      Todd Volkert authored
      `adb` can sometimes hang, which will in turn hang the Dart isolate if
      we're using `Process.runSync()`. This changes many of the `Device` methods
      to return `Future<T>` in order to allow them to use the async process
      methods. A future change will add timeouts to the associated calls so
      that we can properly alert the user to the hung `adb` process.
      
      This is work towards #7102, #9567
      60c5ffc1
  32. 20 Apr, 2017 1 commit
  33. 10 Mar, 2017 1 commit
  34. 04 Mar, 2017 1 commit
  35. 14 Nov, 2016 2 commits
    • Dan Rubel's avatar
      Refactor flutter command exit code - part 3 of 3 (#6838) · 34e466f1
      Dan Rubel authored
      * Remove the workaround that pinned args to v0.13.6
      This reverts most of the changes in commit 6331b6c8
      * throw exception if exit code is not an integer
      * rework command infrastructure to throw ToolExit when non-zero exitCode
      * convert commands to return Future<Null>
      * cleanup remaining commands to use throwToolExit for non-zero exit code
      * remove isUnusual exception message
      * add type annotations for updated args package
      34e466f1
    • Dan Rubel's avatar
      Refactor flutter command exit code - part 2 (#6817) · e384c0d9
      Dan Rubel authored
      * convert pubGet to throw ToolExit on non-zero exit code
      * convert commandValidator to throw ToolExit for non-zero exit code
      * convert flutter commands to throw ToolExit for non-zero exit code
      * use convenience method throwToolExit
      * only show "if this problem persists" for unusual exceptions
      e384c0d9
  36. 16 Sep, 2016 1 commit
    • Dan Rubel's avatar
      Refactor flutter command execution (#5892) · 18212382
      Dan Rubel authored
      * refactor _run to runCmd
      
      * replace requiresProjectRoot getter with call to commandValidator
      
      * replace requiresDevice getter with call to findTargetDevice
      
      * trace command requires a debug connection, not a device
      
      * inline androidOnly getter
      
      * rename command methods to verifyTheRunCmd and runCmd
      
      * move common verification into BuildSubCommand
      
      * rename deviceForCommand to device
      
      * rename methods to verifyThenRunCommand and runCommand
      18212382
  37. 22 Jun, 2016 1 commit
  38. 14 Jun, 2016 1 commit
    • Ian Hickson's avatar
      Lock flutter tool while updating artifacts (#4476) · f92f71fe
      Ian Hickson authored
      This prevents multiple simultaneous runs of the analyzer from stomping
      over each other (e.g. multiple runs of 'update-packages'). Certain
      long-lived commands (like analyze, run, logs) are exempted once they've
      done enough work to be safe from most stomping action.
      
      This still doesn't make us entirely safe from craziness, e.g. if you're
      half way through an 'update-packages' run and you call 'git pull', who
      knows what state you'll end up in. But there's only so much one can do.
      
      Fixes https://github.com/flutter/flutter/issues/2762
      f92f71fe