1. 30 Sep, 2019 1 commit
  2. 16 Sep, 2019 1 commit
  3. 13 Sep, 2019 1 commit
  4. 05 Sep, 2019 1 commit
  5. 28 Aug, 2019 1 commit
  6. 22 Aug, 2019 1 commit
  7. 17 Aug, 2019 1 commit
  8. 10 Aug, 2019 1 commit
  9. 29 Jul, 2019 1 commit
  10. 24 Jul, 2019 1 commit
  11. 19 Jul, 2019 1 commit
  12. 18 Jul, 2019 1 commit
  13. 16 Jul, 2019 1 commit
  14. 28 Jun, 2019 1 commit
  15. 26 Jun, 2019 1 commit
  16. 11 Jun, 2019 1 commit
  17. 08 Jun, 2019 2 commits
  18. 30 May, 2019 1 commit
  19. 22 May, 2019 2 commits
  20. 16 May, 2019 1 commit
  21. 25 Apr, 2019 1 commit
  22. 08 Apr, 2019 1 commit
  23. 27 Mar, 2019 1 commit
  24. 19 Mar, 2019 1 commit
  25. 21 Feb, 2019 1 commit
  26. 01 Feb, 2019 1 commit
  27. 11 Nov, 2018 1 commit
  28. 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
  29. 05 Oct, 2018 2 commits
  30. 03 Oct, 2018 1 commit
  31. 01 Oct, 2018 1 commit
  32. 19 Sep, 2018 1 commit
    • Greg Spencer's avatar
      Added more extensive ANSI color printing support on terminals. (#20958) · 7caa6594
      Greg Spencer authored
      This adds support to AnsiTerminal for colored output, and makes all tool output written to stderr (with the printError function) colored red.
      
      No color codes are sent if the terminal doesn't support color (or isn't a terminal).
      
      Also makes "progress" output print the elapsed time when not connected to a terminal, so that redirected output and terminal output match (redirected output doesn't print the spinner, however).
      
      Addresses #17307
      7caa6594
  33. 14 Sep, 2018 1 commit
  34. 12 Sep, 2018 1 commit
  35. 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
  36. 17 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Clean up usage of temporary directories (#20682) · 3dec6a69
      Ian Hickson authored
      All temporary directory start with `flutter_` and have their random component separated from the name by a period, as in `flutter_test_bundle.YFYQMY`.
      
      I've tried to find some of the places where we didn't cleanly delete temporary directories, too. This greatly reduces, though it does not entirely eliminate, the directories we leave behind when running tests, especially `flutter_tools` tests.
      
      While I was at it I standardized on `tempDir` as the variable name for temporary directories, since it was the most common, removing occurrences of `temp` and `tmp`, among others.
      
      Also I factored out some common code that used to catch exceptions that happen on Windows, and made more places use that pattern.
      3dec6a69
  37. 15 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Shim package:test to avoid matcher issues (#20602) · 686d8f8a
      Ian Hickson authored
      * Upgrade everything except matcher.
      * Roll matcher (and test)
      * Adjust tests that depend on flutter:test directly to depend on a shim
      * Require use of package:test shim and remove other references to package:test
      686d8f8a