1. 17 Feb, 2016 1 commit
  2. 15 Feb, 2016 1 commit
    • Adam Barth's avatar
      Internalize our dependency on the Dart SDK · 94c5949c
      Adam Barth authored
      This patch teaches the flutter command to download the Dart SDK into
      cache, removing another step from the Getting Started workflow. The
      version of the Dart SDK is controlled by the "dart-sdk.version" file in
      the bin/cache directory.
      
      Fixes #54
      94c5949c
  3. 09 Feb, 2016 1 commit
    • Adam Barth's avatar
      Remove FLUTTER_DEV environment var · c83b663a
      Adam Barth authored
      This check is triggering even for folks who don't have FLUTTER_DEV set, which
      is breaking their toolchain because we're not running `pub get` on the
      flutter_tools package.
      c83b663a
  4. 06 Feb, 2016 1 commit
  5. 01 Feb, 2016 1 commit
  6. 24 Nov, 2015 1 commit
  7. 18 Nov, 2015 1 commit
    • Adam Barth's avatar
      Handle adb error cases more gracefully · 3027497f
      Adam Barth authored
      We now print a sensible message if we can't find `dart` or `adb`. Also, we
      print a sensible message if the device isn't authorized.
      
      Fixes #380
      Fixes #358
      3027497f
  8. 16 Nov, 2015 1 commit
  9. 13 Nov, 2015 1 commit
  10. 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
  11. 10 Nov, 2015 1 commit
  12. 08 Nov, 2015 1 commit
  13. 07 Nov, 2015 1 commit
  14. 05 Nov, 2015 2 commits