1. 27 Nov, 2017 1 commit
  2. 22 Nov, 2017 1 commit
  3. 30 Oct, 2017 1 commit
  4. 03 Oct, 2017 1 commit
    • Alexander Markov's avatar
      Add hidden options --extra-front-end-options and --extra-gen-snapshot-options... · 7153dea2
      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.
      7153dea2
  5. 26 Sep, 2017 1 commit
    • Todd Volkert's avatar
      Run command validation on all commands. (#12246) · a08b5e00
      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).
      a08b5e00
  6. 21 Sep, 2017 1 commit
  7. 13 Sep, 2017 1 commit
    • Carlo Bernaschina's avatar
      Add --trace-skia parameter to flutter run (#12070) · ba36008a
      Carlo Bernaschina authored
      * Add --trace-skia parameter to flutter run
      
      Skia tracing is extremely useful for internal debug, but reduces the
      amount of space available in the Dart Timeline buffers.
      Disable skia tracing by default and expose them via the --trace-skia
      flag.
      
      * Roll Engine to 57a1445a45964d386500c39f5e8d06db060abadb
      ba36008a
  8. 31 Aug, 2017 1 commit
  9. 23 Aug, 2017 1 commit
  10. 22 Aug, 2017 2 commits
  11. 10 Jul, 2017 1 commit
    • Seth Ladd's avatar
      Run target analytics (#10902) · 834fbcb8
      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
      834fbcb8
  12. 23 Jun, 2017 1 commit
    • Ian Hickson's avatar
      Deep linking: automatically push the route hiearchy on load. (#10894) · 9adb4a78
      Ian Hickson authored
      The main purpose of this PR is to make it so that when you set the
      initial route and it's a hierarchical route (e.g. `/a/b/c`), it
      implies multiple pushes, one for each step of the route (so in that
      case, `/`, `/a`, `/a/b`, and `/a/b/c`, in that order). If any of those
      routes don't exist, it falls back to '/'.
      
      As part of doing that, I:
      
       * Changed the default for MaterialApp.initialRoute to honor the
         actual initial route.
      
       * Added a MaterialApp.onUnknownRoute for handling bad routes.
      
       * Added a feature to flutter_driver that allows the host test script
         and the device test app to communicate.
      
       * Added a test to make sure `flutter drive --route` works.
         (Hopefully that will also prove `flutter run --route` works, though
         this isn't testing the `flutter` tool's side of that. My main
         concern is over whether the engine side works.)
      
       * Fixed `flutter drive` to output the right target file name.
      
       * Changed how the stocks app represents its data, so that we can
         show a page for a stock before we know if it exists.
      
       * Made it possible to show a stock page that doesn't exist. It shows
         a progress indicator if we're loading the data, or else shows a
         message saying it doesn't exist.
      
       * Changed the pathing structure of routes in stocks to work more
         sanely.
      
       * Made search in the stocks app actually work (before it only worked
         if we happened to accidentally trigger a rebuild). Added a test.
      
       * Replaced some custom code in the stocks app with a BackButton.
      
       * Added a "color" feature to BackButton to support the stocks use case.
      
       * Spaced out the ErrorWidget text a bit more.
      
       * Added `RouteSettings.copyWith`, which I ended up not using.
      
       * Improved the error messages around routing.
      
      While I was in some files I made a few formatting fixes, fixed some
      code health issues, and also removed `flaky: true` from some devicelab
      tests that have been stable for a while. Also added some documentation
      here and there.
      9adb4a78
  13. 16 Jun, 2017 1 commit
    • Chris Bracken's avatar
      Refactor Xcode instance lookup (#10763) · c04f712a
      Chris Bracken authored
      Use a top-level getter in mac.dart rather than a static instance getter
      and a top-level getter in ios_workflow.dart. Makes this code consistent
      with how we do context lookups elsewhere.
      c04f712a
  14. 02 Jun, 2017 1 commit
  15. 27 Apr, 2017 2 commits
  16. 26 Apr, 2017 1 commit
    • Todd Volkert's avatar
      Switch many `Device` methods to be async (#9587) · 60c5ffc1
      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
      60c5ffc1
  17. 12 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Fix tests to use Ahem, and helpful changes around that (#9332) · 2a545243
      Ian Hickson authored
      * Fix tests to use Ahem, and helpful changes around that
      
      - Fix fonts that had metric-specific behaviours.
      
      - LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed
        to LiveTestWidgetsFlutterBinding.framePolicy.
      
      - LiveTestWidgetsFlutterBinding now defaults to using a frame policy
        that pumps slightly more frames, to animate the pointer crosshairs.
      
      - Added "flutter run --use-test-fonts" to enable Ahem on devices.
      
      - Changed how idle() works to be more effective in live mode.
      
      - Display the test name in live mode (unless ahem fonts are enabled).
      
      - Added a toString to TextSelectionPoint.
      
      - Style nit fixes.
      
      * Roll engine to get Ahem changes.
      
      * Update tests for dartdoc changes.
      
      * Fix flutter_tools tests
      2a545243
  18. 10 Mar, 2017 1 commit
  19. 09 Mar, 2017 1 commit
  20. 04 Mar, 2017 1 commit
  21. 17 Feb, 2017 1 commit
  22. 15 Feb, 2017 1 commit
  23. 02 Feb, 2017 1 commit
  24. 28 Jan, 2017 1 commit
  25. 27 Jan, 2017 3 commits
  26. 10 Jan, 2017 1 commit
  27. 09 Jan, 2017 1 commit
  28. 07 Jan, 2017 1 commit
    • Todd Volkert's avatar
      Update flutter_tools to use package:file throughout (#7385) · 8bb27034
      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.
      8bb27034
  29. 12 Dec, 2016 1 commit
  30. 07 Dec, 2016 1 commit
  31. 15 Nov, 2016 1 commit
  32. 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
  33. 10 Nov, 2016 1 commit
  34. 07 Nov, 2016 2 commits