1. 01 Jun, 2023 1 commit
  2. 15 Apr, 2023 1 commit
    • Andrew Kolos's avatar
      [flutter_tools] Remove `Version.unknown` (#124771) · 68ec71f4
      Andrew Kolos authored
      Fixes #124756 by removing the concept of `Version.unknown`.
      
      `Version` fields that needed the ability to represent an unknown version have been made nullable. Assigning `null` to them represents an unknown version.
      68ec71f4
  3. 15 Dec, 2022 1 commit
    • hellohuanlin's avatar
      [tools]Build IPA validation UI Polish (#116744) · 0916375f
      hellohuanlin authored
      * [tools]some ui polish for build ipa validation
      
      * do not print out a few success validations
      
      * rename installed type to success for more general usage
      
      * forgot nit after reverting custom validation types and re-use doctor types
      0916375f
  4. 20 Jul, 2021 1 commit
  5. 07 Apr, 2021 1 commit
  6. 05 Apr, 2021 2 commits
  7. 27 Jan, 2021 1 commit
  8. 29 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] do not error flutter doctor on missing AS/intellij plugins (#66782) · 9bc533c9
      Jonah Williams authored
      In cases where the Intellij/AS plugins are not located, display links to where they can be downloaded but do not surface an error. This should generally reduce confusion about whether the plugins are required for every installed IDE. For example, frequently users may only install AS so that they can install the Android SDK - or they may have multiple copies of Intellij installed.
      
      For example: #66762
      9bc533c9
  9. 16 Sep, 2020 1 commit
  10. 26 Mar, 2020 1 commit
  11. 07 Feb, 2020 1 commit
  12. 06 Jan, 2020 1 commit
  13. 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
  14. 19 Nov, 2019 1 commit
  15. 30 Sep, 2019 1 commit
  16. 02 Jul, 2019 1 commit
  17. 19 Dec, 2018 1 commit
  18. 12 Dec, 2018 1 commit
  19. 11 Oct, 2018 1 commit
    • Greg Spencer's avatar
      Re-land text wrapping/color PR (#22831) · 081d2a7a
      Greg Spencer authored
      This attempts to re-land #22656.
      
      There are two changes from the original:
      
      I turned off wrapping completely when not sending output to a terminal. Previously I had defaulted to wrapping at and arbitrary 100 chars in that case, just to keep long messages from being too long, but that turns out the be a bad idea because there are tests that are relying on the specific form of the output. It's also pretty arbitrary, and mostly people sending output to a non-terminal will want unwrapped text.
      
      I found a better way to terminate ANSI color/bold sequences, so that they can be embedded within each other without needed quite as complex a dance with removing redundant sequences.
      
      As part of these changes, I removed the Logger.supportsColor setter so that the one source of truth for color support is in AnsiTerminal.supportsColor.
      
      *     Turn on line wrapping again in usage and status messages, adds ANSI color to doctor and analysis messages. (#22656)
      
          This turns on text wrapping for usage messages and status messages. When on a terminal, wraps to the width of the terminal. When writing to a non-terminal, wrap lines at a default column width (currently defined to be 100 chars). If --no-wrap is specified, then no wrapping occurs. If --wrap-column is specified, wraps to that column (if --wrap is on).
      
          Adds ANSI color to the doctor and analysis output on terminals. This is in this PR with the wrapping, since wrapping needs to know how to count visible characters in the presence of ANSI sequences. (This is just one more step towards re-implementing all of Curses for Flutter. :-)) Will not print ANSI sequences when sent to a non-terminal, or of --no-color is specified.
      
          Fixes ANSI color and bold sequences so that they can be combined (bold, colored text), and a small bug in indentation calculation for wrapping.
      
          Since wrapping is now turned on, also removed many redundant '\n's in the code.
      081d2a7a
  20. 06 Oct, 2018 2 commits
    • Greg Spencer's avatar
      Revert "Turn on line wrapping in usage and status messages, adds ANSI color to... · 2d81adf7
      Greg Spencer authored
      Revert "Turn on line wrapping in usage and status messages, adds ANSI color to doctor and analysis messages. (#22656)" (#22759)
      
      This reverts commit e4386321
      because it breaks 160 benchmarks, and several devicelab tests,
      due to changing the format of the output.
      2d81adf7
    • Greg Spencer's avatar
      Turn on line wrapping in usage and status messages, adds ANSI color to doctor... · e4386321
      Greg Spencer authored
      Turn on line wrapping in usage and status messages, adds ANSI color to doctor and analysis messages. (#22656)
      
      This turns on text wrapping for usage messages and status messages. When on a terminal, wraps to the width of the terminal. When writing to a non-terminal, wrap lines at a default column width (currently defined to be 100 chars). If --no-wrap is specified, then no wrapping occurs. If --wrap-column is specified, wraps to that column (if --wrap is on).
      
      Adds ANSI color to the doctor and analysis output on terminals. This is in this PR with the wrapping, since wrapping needs to know how to count visible characters in the presence of ANSI sequences. (This is just one more step towards re-implementing all of Curses for Flutter. :-)) Will not print ANSI sequences when sent to a non-terminal, or of --no-color is specified.
      
      Fixes ANSI color and bold sequences so that they can be combined (bold, colored text), and a small bug in indentation calculation for wrapping.
      
      Since wrapping is now turned on, also removed many redundant '\n's in the code.
      e4386321
  21. 04 Oct, 2018 1 commit
  22. 01 Oct, 2018 1 commit
  23. 19 Sep, 2018 1 commit
  24. 12 Sep, 2018 1 commit
  25. 05 Sep, 2018 1 commit
    • tonyzhao1's avatar
      Create categories for doctor validators (#20758) · 58d98ce3
      tonyzhao1 authored
      * First step in Flutter Doctor refactor. Assigns categories to all validators.
      
      * Revert "Roll engine e54bc4ea1832..a84b210b3d26 (6 commits) (#20453)"
      
      This reverts commit 05c2880a.
      
      * Split iOS and Android workflows into workflow and validator classes.
      
      * Change ValidatorCategory to handle standalone validators that share a
      category (e.g. IntelliJ).
      
      Also make Android Studio and Android toolchain use separate categories.
      
      At this stage, flutter doctor output matches what it was previously.
      (The summary() method itself has not yet been changed )
      
      * Change doctor summary code to support validator categories.
      
      Output is still unchanged.
      
      * Handle small formatting issues.
      
      * Flip Flutter category's isGroup field to false until it's actually
      needed.
      
      * Revert auto-generated formatting changes to keep those lines from
      muddying the pull.
      
      * Small fixes pointed out by analyzer.
      
      * Properly fix analyzer issues around const constructors.
      
      * Small changes to address comments.
      
      * Add tests to verify grouped validator behavior and validationtype
      merging.
      
      * Update doctor.dart
      
      * Add comments for clarification.
      58d98ce3
  26. 04 Apr, 2018 1 commit
  27. 07 Jul, 2017 1 commit
  28. 29 Jun, 2017 1 commit
  29. 02 Jun, 2017 1 commit
  30. 04 Mar, 2017 1 commit
  31. 28 Feb, 2017 1 commit
  32. 24 Feb, 2017 1 commit
    • Jakob Andersen's avatar
      Relax Android Studio version check. (#8389) · 7f9a53b1
      Jakob Andersen authored
      It's not just $HOME/.AndroidStudio2.2, it might also be
      .AndroidStudioPreview2.3, or .AndroidStudioFooBar1.7, or whatever.
      
      Made the Version parser less throw-happy, and relaxed the directory name
      checks to allow for the above.
      
      Fixes #8353.
      7f9a53b1
  33. 23 Feb, 2017 1 commit
  34. 22 Feb, 2017 1 commit
    • Jakob Andersen's avatar
      Fix bug parsing Gradle version. (#8326) · 3676ffe4
      Jakob Andersen authored
      * Fix bug parsing Gradle version.
      
      Version from pub_semver requires versions of the format X.Y.Z. Gradle
      doesn't follow semantic versioning, though, so version parsing would
      fail on versions like '3.2'. Fixed by writing a custom Version class.
      
      Also removed a check for apksigner when building Gradle-based projects.
      
      Fixes #8298
      3676ffe4
  35. 20 Feb, 2017 1 commit
    • Jakob Andersen's avatar
      Teach flutter tools to find gradle (#8241) · 77efc38b
      Jakob Andersen authored
      * Teach flutter tools to find gradle
      
      Flutter tools will now use Gradle from Android Studio, which is now found automatically.
      
      flutter doctor will verify that Android Studio has been installed, and that the included Gradle is at least version 2.14.1.
      
      It is still possible to manually configure the path to Android Studio (flutter config --android-studio-dir=XXX) or Gradle (flutter config --gradle-dir=XXX), but this should only be necessary if they're installed somewhere non-standard.
      
      Only tested on Linux and macOS for now.
      
      Fixes #8131
      77efc38b