- 07 Dec, 2017 2 commits
-
-
Kevin Moore authored
This reverts commit 9315a79b. There is an unfortunate interaction with verifyThenRunCommand
-
Kevin Moore authored
-
- 06 Dec, 2017 1 commit
-
-
Kevin Moore authored
Adds a class `PubContext` with a fixed set of allowed values Make it clear these values should not be changed casually Fixed one inconsistency already: update_packages vs update_pkgs Provide more information for verify calls Eliminate `ctx_` prefix.
-
- 02 Dec, 2017 1 commit
-
-
Kevin Moore authored
* Provide more information in PUB_ENVIRONMENT for `pub get/upgrade` Should help diagnose and fix https://github.com/dart-lang/pub-dartlang-dart/issues/636
-
- 21 Nov, 2017 1 commit
-
-
Martin Kustermann authored
* Add support for NDK discovery and add --prefer-shared-library option We would like to be able to use native tools (e.g. simpleperf, gdb) with precompiled flutter apps. The native tools work much better with *.so files instead of the custom formats the Dart VM uses by default. The reason for using blobs / instruction snapshots is that we do not want to force flutter users to install the Android NDK. This CL adds a `--prefer-shared-library` flag to e.g. `flutter build apk` which will use the NDK compiler (if available) to turn the precompiled app assembly file to an `*.so` file. If the NDK compiler is not available it will default to the default behavior. * Rebase, add test for NDK detection, augment flutter.gradle with @Input for flag * Use InMemoryFileSystem for test * Remove unused import * Address some analyzer warnings
-
- 17 Nov, 2017 1 commit
-
-
Greg Spencer authored
I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once. This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
-
- 22 Oct, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 03 Oct, 2017 1 commit
-
-
Alexander Markov authored
Add hidden options --extra-front-end-options and --extra-gen-snapshot-options to flutter tool (#12219) This CL introduces 2 hidden options to 'flutter build aot' and 'flutter run' for passing arbitrary arguments to front-end server and to gen_snapshot tool when building and running flutter app in --profile or --release modes. The ability to pass arbitrary options simplifies various experiments, as it removes the need to change defaults and rebuild flutter engine for every tested configuration.
-
- 26 Sep, 2017 2 commits
-
-
Todd Volkert authored
(it's the command that populates the .packages file)
-
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).
-
- 31 Aug, 2017 1 commit
-
-
Alexander Aprelev authored
This adds --preview-dart-2 flag that enables use of Dart 2.0 Frontend in Flutter tools.
-
- 25 Aug, 2017 1 commit
-
-
Zachary Anderson authored
-
- 23 Aug, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 22 Aug, 2017 2 commits
-
-
Mikkel Nygaard Ravn authored
This reverts commit 8d07d3f6.
-
Mikkel Nygaard Ravn authored
-
- 19 Jul, 2017 1 commit
-
-
Ian Hickson authored
-
- 10 Jul, 2017 1 commit
-
-
Seth Ladd authored
* report run target and if it is an emulator * don't print debug * rename parameter, remove unused variable * fix test * fix comment * tweak from review, and fix analyzer error * send custom parameters for the event, not the session * fix mock * use the +1 for usage
-
- 09 Jun, 2017 1 commit
-
-
Ian Hickson authored
-
- 08 May, 2017 1 commit
-
-
xster authored
* handle errors * review notes
-
- 27 Apr, 2017 2 commits
-
-
xster authored
FlutterCommand.runCommand subclasses can optionally return a FlutterCommandResult which is used to append additional analytics. Fix flutter run timing report and add a bunch of dimensional data
-
Zachary Anderson authored
-
- 26 Apr, 2017 1 commit
-
-
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
-
- 02 Apr, 2017 1 commit
-
-
Ian Hickson authored
This should make the message in Travis logs look better.
-
- 21 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
* Avoid downloading artifacts twice * Don't update cache before `flutter upgrade` is executed (`flutter upgrade` might bump the engine version) * Don't update cache twice during `flutter precache` Fixes #8249. * add test
-
- 10 Mar, 2017 2 commits
-
-
Todd Volkert authored
* Rename `Device.platform` to `Device.targetPlatform` to avoid collision with the exported variable from `platform.dart`
-
Alexandre Ardhuin authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 27 Jan, 2017 3 commits
-
-
Ian Hickson authored
Move the drive/run common stuff to RunCommandBase, rather than the superclass which applies to everything. Implement --no-resident (fixes https://github.com/flutter/flutter/issues/5448). This is particularly useful when running flutter from scripts. Rename RunAndStayResident to ColdRunner.
-
Ian Hickson authored
...for the port arguments
-
Ian Hickson authored
...and add --diagnostic-port. ...and document port 0.
-
- 24 Jan, 2017 1 commit
-
-
Ian Hickson 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.
-
- 29 Nov, 2016 1 commit
-
-
John McCutchan authored
-
- 14 Nov, 2016 2 commits
-
-
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
-
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
-
- 01 Nov, 2016 1 commit
-
-
Adam Barth authored
Fixes #6417
-
- 28 Sep, 2016 1 commit
-
-
John McCutchan authored
When using --use-application-binary: - [x] Stop flutter run from checking for a pubspec.yaml in current directory - [x] Stop flutter run from invoking pub get - [x] Set 'shouldBuild' based on --use-application-binary - [x] Stop requiring 'lib/main.dart' to be present before running. - [x] Stop building an FLX when launching on Android
-
- 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
-
- 08 Sep, 2016 1 commit
-
-
Dan Rubel authored
When flutter run is used on a Mac and no devices are specified or attached, suggest launching a simulator first. Fixes https://github.com/flutter/flutter/issues/5674
-
- 01 Sep, 2016 1 commit
-
-
Dan Rubel authored
* improve device matching error message fixes https://github.com/flutter/flutter/issues/5675
-