- 29 Dec, 2015 1 commit
-
-
Ian Hickson authored
Fixes #1034, at least for start and listen.
-
- 08 Dec, 2015 1 commit
-
-
Adam Barth authored
We've been bulding these binaries using Travis for a while. We can start using them now.
-
- 29 Nov, 2015 1 commit
-
-
Adam Barth authored
1) Moved basic utility code into base/ directory to make it clear which code doesn't depend on Flutter-specific knowldge. 2) Move the CommandRunner subclasses into a runner/ directory because these aren't commands themselves.
-
- 23 Nov, 2015 1 commit
-
-
Kris Giesing authored
-
- 20 Nov, 2015 1 commit
-
-
Jason Simmons authored
This updates the Flutter tools to match the proposed new packaging of artifacts in the engine release script. * The GCS URL for artifacts is now gs://mojo/flutter/$revision/$platform * Categories have been removed from the Artifact class * All artifacts for a given platform now live in a zip file. If an artifact is not present in the local cache, then the zip will be downloaded and extracted. Note that darwin-x64 artifacts go through a different process that (for now) continues to use the old format.
-
- 18 Nov, 2015 1 commit
-
-
Adam Barth authored
This makes run_mojo more similar to flutter start.
-
- 17 Nov, 2015 3 commits
-
-
Adam Barth authored
The new flutter.mojo is ready for use.
-
Kris Giesing authored
-
Kris Giesing authored
-
- 12 Nov, 2015 1 commit
-
-
Hixie authored
Other changes in this patch: - Make the 'flutter' tool say "Updating flutter tool..." when it calls pub get, to avoid confusion about what the pub get output is about. - Make the bash flutter tool call pub get when the revision has changed. (This was already happening on Windows.) - Fix a raft of bugs found by the analyzer. - Fix some style nits in various bits of code that happened to be near things the analyzer noticed. - Remove the logic in "flutter test" that would run "pub get", since upon further reflexion it was determined it didn't work anyway. We'll probably have to add better diagnostics here and say to run the updater script. - Remove the native velocity tracker script, since it was testing code that has since been removed. Notes on ignored warnings: - We ignore warnings in any packages that are not in the Flutter repo or in the author's current directory. - We ignore various irrelevant Strong Mode warnings. We still enable strong mode because even though it's not really relevant to our needs, it does (more or less accidentally) catch a few things that are helpful to us. - We allow CONSTANTS_LIKE_THIS, since we get some of those from other platforms that we are copying for sanity and consistency. - We allow one-member abstract classes since we have a number of them where it's perfectly reasonable. - We unfortunately still ignore warnings in mojom.dart autogenerated files. We should really fix those but that's a separate patch. - We verify the actual source file when we see the 'Name non-constant identifiers using lowerCamelCase.' lint, to allow one-letter variables that use capital letters (e.g. for physics expressions) and to allow multiple-underscore variable names. - We ignore all errors on lines that contain the following magic incantation and a "#" character: // analyzer doesn't like constructor tear-offs - For all remaining errors, if the line contains a comment of the form // analyzer says "..." ...then we ignore any errors that have that "..." string in them.
-
- 10 Nov, 2015 1 commit
-
-
Adam Barth authored
-
- 09 Nov, 2015 1 commit
-
-
Alhaad Gokhale authored
That way we can control if we want to use devtools to run on Linux and also cleanly separate out the two uses. R=@jamesr
-
- 02 Nov, 2015 1 commit
-
-
Devon Carew authored
-
- 31 Oct, 2015 1 commit
-
-
Adam Barth authored
This flag builds a local FLX file and pushes that to the device instead of using an HTTP server.
-
- 29 Oct, 2015 2 commits
-
-
Alhaad Gokhale authored
-
Alhaad Gokhale authored
Made changes as discussed. R=@jamesr
-
- 17 Oct, 2015 1 commit
-
-
Devon Carew authored
-
- 12 Oct, 2015 1 commit
-
-
Adam Barth authored
This patch makes `flutter start` work without a clone of the engine git repository. Making this work pulled a relatively large refactor of how the commands interact with application packages and devices. Now commands that want to interact with application packages or devices inherit from a common base class that holds stores of those objects as members. In production, the commands download and connect to devices based on the build configuration stored on the FlutterCommandRunner. In testing, these fields are used to mock out the real application package and devices.
-
- 10 Oct, 2015 1 commit
-
-
Adam Barth authored
I'm trying to get a feel for the code by writing some simple cleanup patches.
-
- 06 Oct, 2015 1 commit
-
-
Alex Fandrianto authored
In 0.0.15, additional cmdline arguments were not dropped, but now in 0.0.16, the arguments are no longer forwarded. This patchset would restore this forwarding functionality. For example, the following command is intended to pass `enable-multiprocess` to the mojo_shell. `enable-multiprocess` in 0.0.16 does not get passed along, but this patchset would allow it to once again. pub run sky_tools -v --very-verbose run_mojo \ --mojo-path $MOJO_DIR/src \ --app app.flx --android \ -- \ --enable-multiprocess
-
- 29 Sep, 2015 1 commit
-
-
Ian Fischer authored
Also add unchecked runSync wrapper and use it in places where command failures don’t matter.
-
- 25 Sep, 2015 4 commits
-
-
James Robinson authored
-
James Robinson authored
Also refactors the command line assembling to make a bit more sense. Fixes #53
-
James Robinson authored
This makes the 'package-root' option universal for sky_tools and configures the ArtifactStore with it statically at startup. The actual sky_engine revision is computed on demand.
-
Nicolas Lacasse authored
The flags control which build of mojo to run (Debug or Release). Default is Release.
-
- 24 Sep, 2015 2 commits
-
-
Ian Fischer authored
Refactor all the commands to be Commands from the Args package. Also use CommandRunner for the top-level command.
-
James Robinson authored
sky_viewer.mojo no longer needs a window manager embedding as of sky_engine 0.0.27, so this updates the sky_tools run_mojo command so it works again. This really should be expressed in the pubspec dependencies to avoid broken combinations but that needs to happen on the sky side.
-
- 23 Sep, 2015 2 commits
-
-
James Robinson authored
-
James Robinson authored
This teaches commands that need binary artifacts to explicitly instantiate an instance of the ArtifactStore with the appropriate packageRoot string. The ArtifactStore can then remember the package root and compute the engine revision when created and remember those for subsequence calls.
-
- 22 Sep, 2015 2 commits
-
-
James Robinson authored
This teaches sky_tools mojo_run --android to invoke mojo's devtool's mojo_run script with the right flags for invoking sky_viewer on android. This tells the devtools script to load sky_viewer.mojo from https://storage.googleapis.com/... and to load app.flx (or whatever the developer specifies as --app) from the filesystem using the devtools http server.
-
James Robinson authored
This initial version assumes the developer has mojo_shell and all other services sitting on disk somewhere and that they're on linux and only want to run on linux. This can be generalized down the line to support more use cases. This downloads the sky_viewer.mojo corresponding to the packages/sky_engine/REVISION in the developer's directory, so they can specify whatever revision they want. sky_tools run_mojo downloads sky_viewer.mojo into its cache directory if it is not present and constructs a command line to pass to mojo_shell that maps the shebang stamped into the flx to the downloaded sky_viewer.mojo. Since sky_viewer.mojo lives in the cloud and mojo_shell can load from the cloud this could also map to an https URL. This should likely be an option.
-