1. 30 Jul, 2018 1 commit
    • Ian Hickson's avatar
      Clean up startProgress logic. (#19695) (#20009) · acf4b6c1
      Ian Hickson authored
      Disallow calling stop() or cancel() multiple times. This means that
      when you use startProgress you have to more carefully think about what
      exactly is going on.
      
      Properly cancel startProgress in non-ANSI situations, so that
      back-to-back startProgress calls all render to the console.
      acf4b6c1
  2. 26 Jul, 2018 2 commits
  3. 20 Jul, 2018 1 commit
  4. 19 Jul, 2018 1 commit
    • Danny Tuppeny's avatar
      Add `--machine` support for `flutter attach` (#19077) · ed9afbbc
      Danny Tuppeny authored
      * Extract some of startApp into a reusable method
      
      * Get basic attach --machine working
      
      * Attach --machine tweaks
      
      Move validation to validate method and create daemon early so we get the startup event before trying to get a connection.
      
      * Bump daemon version so we know whether it's valid to flutter attach
      
      * Tweak output text
      
      * Swap package imports for relative
      
      * Review tweaks (naming, formatting, typedefs)
      
      * Separate arguments from process spawning
      
      This will make calling attach easier
      
      * Add a basic test for flutter attach --machine
      
      * Fix crash if port unforward modifies the list of forwarded ports
      
      * Add a no-op port forwarder for flutter-tester
      
      * Switch to using BasicProject instead of our own inline code
      
      * Fix expectation in test now we have a portForwarder
      
      * Remove stale TODO (this is done)
      
      * Tweak formatting
      
      * Change some Completers to void to fix Dart 2 issues
      ed9afbbc
  5. 16 Jul, 2018 2 commits
  6. 12 Jul, 2018 1 commit
  7. 11 Jul, 2018 1 commit
  8. 06 Jul, 2018 1 commit
    • abykov2's avatar
      Adding a setup function for hot restart (#18921) · e5d9feb5
      abykov2 authored
      * Adding a setup function for hot restart that can be overwritten to perform any necessary initialization before a restart is started.
      
      * Adding a test for setupHotRestart
      
      * Removing local pubspec change
      
      * Fixing some type annotation errors
      
      * Responding to comments
      e5d9feb5
  9. 27 Jun, 2018 1 commit
  10. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  11. 08 Jun, 2018 3 commits
    • Chris Bracken's avatar
      It's time to #deleteDart1 (again) (#18316) · 3daebd05
      Chris Bracken authored
      * It's time to #deleteDart1 (#18293)
      
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      
      * Fix indentation, remove no longer necessary .toList()
      
      * Only push udpated kernel if >0 invalidated srcs
      3daebd05
    • Chris Bracken's avatar
      Revert "It's time to #deleteDart1 (#18293)" (#18313) · 9495df4b
      Chris Bracken authored
      Several benchmarks started failing during kernel compile:
      1. Timeouts:
         * commands_test
         * hot_mode_dev_cycle__benchmark
         * run_machine_concurrent_hot_reload
         * service_extensions_test
      
      2. Kernel compiler crash:
         * hot_mode_dev_cycle_linux__benchmark
         * routing_test
      
      3. Unexpected termination:
         * hot_mode_dev_cycle_win__benchmark
      
      This reverts commit ed63e708.
      9495df4b
    • Chris Bracken's avatar
      It's time to #deleteDart1 (#18293) · ed63e708
      Chris Bracken authored
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      ed63e708
  12. 05 Jun, 2018 3 commits
  13. 25 May, 2018 2 commits
  14. 10 May, 2018 1 commit
  15. 14 Apr, 2018 1 commit
  16. 12 Apr, 2018 1 commit
    • Siva's avatar
      Turn off unused changes report during hot reload (#16520) · dbddcf26
      Siva authored
      * A new UI is being designed to make the unused reload messaging clearer,
      the UI will use the coverage data to highlight lines in the UI that were not executed during a reload.
      
      In lieu of that we are turning off the unused reload messages experiment.
      
      There were some issues in Dart2 also with this functionality
      - source fingerprinting is not implemented in Dart2
      - some additional synthetic functions are generated for invocation argument checking that are not appropriately filtered out.
      dbddcf26
  17. 24 Mar, 2018 1 commit
  18. 17 Mar, 2018 3 commits
  19. 16 Mar, 2018 2 commits
  20. 06 Mar, 2018 3 commits
  21. 02 Mar, 2018 1 commit
  22. 16 Feb, 2018 1 commit
  23. 14 Feb, 2018 1 commit
  24. 08 Feb, 2018 1 commit
  25. 02 Feb, 2018 1 commit
  26. 31 Jan, 2018 1 commit
    • jensjoha's avatar
      [kernel/flutter] Improve speed of first hot reload (#13699) · 5ccd5a1e
      jensjoha authored
      * [kernel/flutter] Improve speed of first hot reload
      
      * [kernel/flutter] Improve speed of first hot reload
      
      * Revert "[kernel/flutter] Improve speed of first hot reload"
      
      This reverts commit f3dc133878ec7405a8efb5715f1cfe720f4ea05f.
      
      * Revert "[kernel/flutter] Improve speed of first hot reload"
      
      This reverts commit f7bcb082b01cf9cf48f02c6aad9e5c79705def8f.
      
      * Revert "Revert "[kernel/flutter] Improve speed of first hot reload""
      
      This reverts commit 73c7a1a8e85a4c0397984d8b65a98b2f71bf84f3.
      
      * [kernel/flutter] Improve speed of first hot reload
      
      Do so by not evicting unnecessary paths (while still evicting paths
      that was changed between the generation of the package file and the
      initial upload).
      
      * Fix grammar in method name
      
      * Fix bad merge
      
      * Add method to super class
      5ccd5a1e
  27. 11 Jan, 2018 1 commit
  28. 08 Jan, 2018 1 commit