- 11 Oct, 2018 1 commit
-
-
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.
-
- 06 Oct, 2018 2 commits
-
-
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.
-
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.
-
- 05 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 27 Jun, 2018 1 commit
-
-
Ian Hickson authored
This is an attempt to reland #18488 with less breakage on macOS.
-
- 15 Jun, 2018 2 commits
-
-
Ian Hickson authored
This reverts commit 77508722.
-
Ian Hickson authored
-
- 12 Mar, 2018 1 commit
-
-
Jason Simmons authored
-
- 10 Nov, 2017 1 commit
-
-
Todd Volkert authored
* executable.dart#main() depends on runner.dart#run() * Refactor code such that non-commands don't depend on commands. No code was actually changed in this PR - code was merely moved from point A to point B.
-
- 08 Nov, 2017 1 commit
-
-
Yegor authored
-
- 26 Sep, 2017 1 commit
-
-
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).
-
- 22 Mar, 2017 1 commit
-
-
Jakob Andersen authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 15 Feb, 2017 1 commit
-
-
Todd Volkert authored
-
- 14 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 07 Jan, 2017 1 commit
-
-
Todd Volkert authored
This removes direct file access from within flutter_tools in favor of using `package:file` via a `FileSystem` that's accessed via the `ApplicationContext`. This lays the groundwork for us to be able to easily swap out the underlying file system when running Flutter tools, which will be used to provide a record/replay file system, analogous to what we have for process invocations.
-
- 01 Dec, 2016 1 commit
-
-
Dan Rubel authored
* reapply handle new Observatory URL changes Fixes https://github.com/flutter/flutter/issues/6843 * allow non numeric IPv4 addresses Fixes https://github.com/flutter/flutter/issues/7051
-
- 28 Nov, 2016 2 commits
-
-
Dan Rubel authored
- 14 Nov, 2016 1 commit
-
-
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
-
- 16 Sep, 2016 1 commit
-
-
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
-
- 25 Aug, 2016 1 commit
-
-
Chris Bracken authored
This change adds a top-level getBuildDirectory func and funcs for android, aot, asset, ios build products. Developers may now add a "build-dir" mapping to their ~/.flutter_settings (JSON format) config file. Output directory is relative to the main flutter application directory. This change also changes the default build directory for iOS builds to a subdirectory of the configured build directory, 'build/ios' by default.
-
- 24 Aug, 2016 1 commit
-
-
Yegor authored
-
- 17 Aug, 2016 1 commit
-
-
John McCutchan authored
-
- 11 Aug, 2016 1 commit
-
-
John McCutchan authored
-
- 09 Aug, 2016 1 commit
-
-
Yegor authored
-
- 14 Jun, 2016 1 commit
-
-
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
-
- 07 Jun, 2016 1 commit
-
-
Devon Carew authored
* refactor the --resident run option into a separate file * update daemon to run --resident apps * re-plumbing daemon start * send app logs * update tests * review changes * fix test runner * remove PackageMap.createGlobalInstance; rely on the ctor * review comments
-
- 19 May, 2016 1 commit
-
-
Devon Carew authored
-
- 13 May, 2016 1 commit
-
-
Devon Carew authored
* rename service_protocol.dart to protocol_discovery.dart * add a wrapper around the obs. protocol * use json-rpc in run * consolidate obs. code; implement flutter run --benchmark * review comments
-
- 10 May, 2016 1 commit
-
-
Devon Carew authored
* send ext.flutter.exit * listen for help restart, quit * refactor into a separate class
-
- 28 Apr, 2016 1 commit
-
-
Yegor authored
-
- 27 Apr, 2016 1 commit
-
-
Devon Carew authored
* rework flutter run * fix npe with --debug-port * connect to obs and exit when that conneciton closes * update todos
-
- 19 Apr, 2016 1 commit
-
-
Jason Simmons authored
-
- 04 Apr, 2016 1 commit
-
-
Devon Carew authored
-
- 21 Mar, 2016 1 commit
-
-
Devon Carew authored
-
- 14 Mar, 2016 2 commits
-
-
Hixie authored
-
Ian Hickson authored
-