- 27 Mar, 2019 1 commit
-
-
Jonah Williams authored
-
- 26 Mar, 2019 2 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
-
- 12 Mar, 2019 1 commit
-
-
Danny Tuppeny authored
* Add a `flutter create --list-samples` command * Add some comments/docs * Tweak text
-
- 08 Mar, 2019 2 commits
-
-
Jonah Williams authored
This reverts commit 3fd36200.
-
Jonah Williams authored
-
- 06 Mar, 2019 1 commit
-
-
Phil Quitslund authored
-
- 01 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* add trailing commas on list/map/parameters * add trailing commas on Invocation with nb of arg>1 * add commas for widget containing widgets * add trailing commas if instantiation contains trailing comma * revert bad change
-
- 21 Feb, 2019 2 commits
-
-
Greg Spencer authored
Fix the length of the valueHelp on the --sample option for the create command, and turn on wrapping. (#28264) The wrapping for some commands was never actually turned on, so this turns it on. Also, it shortens the `valueHelp` for the `--sample` option to be just "id" instead of "the sample ID of the desired sample from the API documentation website (http://docs.flutter.io)", which was causing the line to get far too long. Fixes #23074
-
Alexandre Ardhuin authored
-
- 13 Feb, 2019 3 commits
-
-
Jonah Williams authored
This reverts commit 76061c4f.
-
Jonah Williams authored
-
KyleWong authored
When creating a flutter project, Make sure: applicationid for android conforms to: https://developer.android.com/studio/build/application-id Make sure: bundleid for ios conforms to: https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html (Not only the name,but also the organization, as it's a check for whole bundleid.)
-
- 08 Feb, 2019 2 commits
-
-
Jonah Williams authored
This reverts commit 98971f3c.
-
Jonah Williams authored
-
- 26 Jan, 2019 1 commit
-
-
Jonah Williams authored
-
- 10 Jan, 2019 1 commit
-
-
Greg Spencer authored
Now that we have our DNS mapping we should refer to the master docs site that way everywhere.
-
- 30 Oct, 2018 1 commit
-
-
Greg Spencer authored
This adds flutter create --sample which allows users to execute a command which will create a working sample app from samples embedded in the API docs. The command looks something like this: flutter create --sample=chip.DeletableChipAttributes.onDeleted mysample
-
- 17 Oct, 2018 1 commit
-
-
Sebastian Roth authored
Simple convenience function if users create flutter projects in custom folder structures and but want to specify a custom project name.
-
- 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.
-
- 10 Oct, 2018 1 commit
-
-
Greg Spencer authored
We decided that redefining the default for templates was premature. We're going to go back to having "module" in experimental land again, and we'll try again when we have the feature set fully baked. This keeps the writing of the .metadata files, and writing the template type to them, because that was a good improvement, and there are still a bunch of added tests that improve our coverage.
-
- 08 Oct, 2018 1 commit
-
-
Greg Spencer authored
Fixes a gradle error where it was failing to find a plugin because of an absolute path in the .flutter-plugins file instead of a relative path. I had originally removed this variable because I thought it was redundant with the projectDir, but apparently I was wrong about that (one resolves to a relative path, and one resolves to an absolute path). This PR reverts that part of the change and reintroduces the (not really) redundant variable.
-
- 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 2 commits
-
-
Greg Spencer authored
This all happened because I was trying to be a little too helpful... Part of the job of the "create" command is to recreate missing pieces of existing projects, and now that the default has changed, I wanted to make it so that if someone had created a default flutter create project before, that they could run a default flutter create there again, and not have it trashed by using the new default template (application) over the old one (app). This meant I had to detect what type of project it was. Unfortunately, in the past we didn't write anything in the .metadata file to identify the type of project, and since the goal was regenerating missing files, I can't count on anything existing, so it's just a heuristic match. This simplifies the heuristics down to just detecting the difference between "app" and "application" projects, and only detect the other types if they're explicitly listed in the .metadata file (I changed the code in my original PR to add the project type to the .metadata file). People used to have to specify the type for those anyhow, so it shouldn't be a surprise to users. So, the main difference in the new heuristics from my last attempt is that if you have a directory that has some other stuff it (like maybe a "plugin" project), then we'll recreate (pronounced "mess up") the project using the "application" template, but that was true before (except it would use the "app" template). Fixes #22726
-
Alexandre Ardhuin authored
-
- 04 Oct, 2018 1 commit
-
-
Greg Spencer authored
This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated. flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated. I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template. Fixes #22530 Fixes #22344
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 30 Aug, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 18 Aug, 2018 1 commit
-
-
Ian Hickson authored
* Fixes resulting from audit of issues links I looked at every link to GitHub in our repo. For cases where we had a TODO that was waiting for a bug to be fixed, and the bug has now been fixed, I applied the pending change. For cases where the link was out of date, I updated the link. * Update run_test.dart skip this test again since it failed on linux and macos bots
-
- 16 Aug, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 02 Aug, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 20 Jul, 2018 2 commits
-
-
Leaf Petersen authored
* Remove uses of deprecated constants * Change int.parse to int.tryParse where appropriate
-
Sigurd Meldgaard authored
With a fix of a path being printed relative instead of absolute.
-
- 16 Jul, 2018 2 commits
-
-
Sigurd Meldgaard authored
This reverts commit 57d78cc7.
-
Sigurd Meldgaard authored
-
- 28 Jun, 2018 3 commits
-
-
Sigurd Meldgaard authored
Add iOS module template This will enable integration of flutter-views into existing iOS project.
-
Sigurd Meldgaard authored
This reverts commit 8be198d8 that broke the build.
-
Sigurd Meldgaard authored
Add iOS module template This will enable integration of flutter-views into existing iOS project.
-
- 22 Jun, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
-