1. 14 Nov, 2016 2 commits
    • Dan Rubel's avatar
      Refactor flutter command exit code - part 3 of 3 (#6838) · 34e466f1
      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
      34e466f1
    • Dan Rubel's avatar
      Refactor flutter command exit code - part 2 (#6817) · e384c0d9
      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
      e384c0d9
  2. 22 Sep, 2016 1 commit
  3. 16 Sep, 2016 1 commit
    • Dan Rubel's avatar
      Refactor flutter command execution (#5892) · 18212382
      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
      18212382
  4. 25 Aug, 2016 1 commit
    • Chris Bracken's avatar
      Support a configurable build directory (#5601) · b5f763b4
      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.
      b5f763b4
  5. 10 Aug, 2016 1 commit
  6. 25 Jul, 2016 3 commits
  7. 21 Jul, 2016 1 commit
  8. 11 May, 2016 1 commit
  9. 04 Apr, 2016 1 commit
  10. 28 Mar, 2016 1 commit
  11. 21 Mar, 2016 1 commit
  12. 17 Mar, 2016 1 commit
  13. 14 Mar, 2016 1 commit
  14. 11 Mar, 2016 1 commit
  15. 09 Mar, 2016 2 commits
  16. 07 Mar, 2016 1 commit
  17. 04 Mar, 2016 1 commit
  18. 02 Mar, 2016 1 commit
    • Adam Barth's avatar
      Switch Material Design icons to using the iconfont · 870894fc
      Adam Barth authored
      Rather than managing all the Material Design icons manually, we now
      manage them using an icon font. The icon font contains glyphs for each
      icon in an efficient vector format.
      
      This patch updates the FLX tooling to include the MaterialIcons font and
      updates the Icon widget to use the font instead of asset images.
      
      Fixes #2313
      Fixes #2218
      Fixes #2009
      Fixes #994
      870894fc
  19. 17 Feb, 2016 1 commit
  20. 10 Feb, 2016 1 commit
  21. 04 Feb, 2016 1 commit
    • Todd Volkert's avatar
      Refactor flx.build() to allow for external toolchain hooks. · f0379df5
      Todd Volkert authored
      This splits flx.build() into two methods, flx.build() and
      flx.assemble().  builD() now does the following:
      1) constructs the manifest map by reading the manifest from the
         file system
      2) "compiles" the dart code into the snapshot file
      3) Invokes assemble()
      
      This allows external build toolchains to construct their own
      manifest map (possibly using a different manifest syntax)
      and create their own snapshot file
      f0379df5
  22. 03 Feb, 2016 3 commits
  23. 28 Jan, 2016 1 commit
  24. 20 Jan, 2016 1 commit
  25. 10 Dec, 2015 1 commit
  26. 29 Nov, 2015 1 commit
    • Adam Barth's avatar
      Clean up code organization in flutter_tools · 9662d49e
      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.
      9662d49e
  27. 25 Nov, 2015 1 commit
  28. 20 Nov, 2015 1 commit
  29. 18 Nov, 2015 2 commits
  30. 17 Nov, 2015 1 commit
    • Adam Barth's avatar
      Add all the icon sizes to the FLX · a8ab3d69
      Adam Barth authored
      Adding all the sizes of all the icons adds about 50 KB to the stocks FLX.
      That's probably the right trade-off until we get better at pruning the set of
      assets.
      
      Fixes #235
      a8ab3d69
  31. 12 Nov, 2015 1 commit
    • Hixie's avatar
      flutter analyze command · a0227cab
      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.
      a0227cab
  32. 07 Nov, 2015 1 commit
  33. 04 Nov, 2015 1 commit