1. 31 Aug, 2017 1 commit
  2. 03 Aug, 2017 1 commit
  3. 21 Jul, 2017 1 commit
  4. 20 Jul, 2017 1 commit
  5. 19 Jul, 2017 1 commit
  6. 17 Jul, 2017 4 commits
  7. 10 Jul, 2017 1 commit
  8. 11 May, 2017 1 commit
  9. 02 May, 2017 1 commit
  10. 27 Apr, 2017 1 commit
  11. 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
  12. 20 Apr, 2017 1 commit
  13. 19 Apr, 2017 1 commit
    • John McCutchan's avatar
      Handle reassemble timeouts gracefully. (#9467) · 367e11a4
      John McCutchan authored
      - [x] Switch the reassemble timeout to 5 seconds.
      - [x] Print a status message if reassemble fails:
      
      ```
      Performing hot reload...
      Reassembling app.flx$main took too long. Hot reload may have failed.
      Reloaded 0 of 418 libraries in 5,322ms.
      ```
      
      Fixes #9316
      Fixes #8861
      Fixes #8857
      Fixes #8856
      367e11a4
  14. 18 Apr, 2017 2 commits
  15. 17 Apr, 2017 2 commits
    • John McCutchan's avatar
      Improve flutter_tools handling of the device being unplugged while syncing DevFS (#9431) · acd75c0a
      John McCutchan authored
      - [x] Catch SocketErrors and handle them gracefully.
      - [x] Print 'Lost connection to device' when the service protocol connection is severed unexpectedly.
      - [x] Print 'Application finished' when the application exits otherwise.
      
      After this PR:
      
      ```
      Launching lib/main.dart on Nexus 7 in debug mode...
      Running 'gradle assembleDebug'...                     1.2s
      Built build/app/outputs/apk/app-debug.apk (21.7MB).
      Syncing files to device...
      Application finished.
      DevFS sync failed. Lost connection to device: SocketException: OS Error: Connection refused, errno = 111, address = 127.0.0.1, port = 53062
      Could not perform initial file synchronization.
      ```
      
      Fixes #6705
      acd75c0a
    • John McCutchan's avatar
      Use a different message on the first reload. (#9418) · 5e731337
      John McCutchan authored
      The first hot reload does a bunch of work that we used to hide behind the
      loader screen. This PR changes the messsage printed to the user on the first
      reload from:
      
      'Performing hot reload...'
      
      to:
      
      'Initializing hot reload...'
      
      Subsequent reloads say 'Performing hot reload...'
      5e731337
  16. 14 Apr, 2017 1 commit
  17. 11 Apr, 2017 1 commit
  18. 07 Apr, 2017 1 commit
  19. 20 Mar, 2017 1 commit
    • Jakob Andersen's avatar
      Remove legacy .apk build. (#8793) · 7b2367ed
      Jakob Andersen authored
      * Remove legacy .apk build.
      
      Print out an error message telling the user to upgrade the project if
      it's not Gradle-based. Removed all the obvious traces of the legacy
      build.
      
      Added support for Dart VM kernel snapshots in Gradle builds.
      
      Fixed Android installs to verify that the app is actually installed, and
      not just rely on the presence of the .sha1 file.
      7b2367ed
  20. 17 Mar, 2017 1 commit
    • Michael Goderbauer's avatar
      Remove support for function keys. (#8840) · 2291a568
      Michael Goderbauer authored
      Function keys don't work great on any platform we support:
      * Mac doesn't have first-class function keys.
      * On Ubuntu: F1 opens the system help and F10 opens the file dialog.
      * ... and Windows is a mess as well.
      2291a568
  21. 16 Mar, 2017 1 commit
  22. 15 Mar, 2017 1 commit
  23. 14 Mar, 2017 1 commit
  24. 13 Mar, 2017 1 commit
    • Ian Hickson's avatar
      Make hot mode a little less aggressive about catching errors. (#8743) · 0edc4d2a
      Ian Hickson authored
      It was resulting in weird situations where the tool would dump an
      error message and stack but not quit, or would fail hard but then just
      hang.
      
      Instead, specifically catch errors you expect. As an example of this,
      there's one error we expect from the DartDependencySetBuilder, so we
      catch that one, turn it into a dedicated exception class, then in the
      caller catch that specific exception.
      0edc4d2a
  25. 10 Mar, 2017 1 commit
  26. 08 Mar, 2017 1 commit
  27. 07 Mar, 2017 1 commit
    • Michael Goderbauer's avatar
      Faster hot reload (#8600) · 644e7b13
      Michael Goderbauer authored
      This implements the `DartDependencySetBuilder` completely in Dart instead of calling out to `sky_snapshot` (Linux/Mac) or `gen_snapshot` (Windows) and allows us to use the same code path on all supported host platforms.
      
      It also slightly reduces hot reload times on Linux from ~750ms to ~690ms for the unchanged flutter_gallery app and significantly reduces hot reload times on Windows from almost 1.5s to just slightly slower than on Linux.
      
      This change will also allow us to retire `sky_snapshot` completely in the future.
      644e7b13
  28. 04 Mar, 2017 1 commit
  29. 03 Mar, 2017 1 commit
  30. 01 Mar, 2017 3 commits
    • Michael Goderbauer's avatar
      [devFS] Use URI to represent paths on device (#8446) · 17057bb4
      Michael Goderbauer authored
      * [devFS] Use URI to represent paths on device
      
      Previosuly, regular file paths in the format of the host platform were used to represent paths on device. That works when host and device share the same (POSIX) file path format. With a Windows host, this breaks. URIs are the solution as they are platform independent and the VM service on the device already interpreted the file paths as URIs anyways.
      
      * review comments
      
      * switch to file paths
      
      * fix tests on Windows
      
      * review comments
      17057bb4
    • Jakob Andersen's avatar
      Don't print stacktraces from ToolExit errors during flutter run. (#8453) · 41d81132
      Jakob Andersen authored
      Instead, actually exit the tool.
      
      Fixes #8363.
      41d81132
    • Michael Goderbauer's avatar
      Roll forward #8467 (#8477) · 65835af4
      Michael Goderbauer authored
      * Revert "Revert "Simplify path handling logic in dependency checker and devFS (#8414)" (#8467)"
      
      This reverts commit 96ba7f76.
      
      * Intentionally use a self-package URI in flutter_gallery
      
      * tests to catch problems with self-package imports
      65835af4
  31. 28 Feb, 2017 1 commit
  32. 27 Feb, 2017 1 commit
  33. 23 Feb, 2017 1 commit