1. 26 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] reland: drive service (#68887) · 183fe75d
      Jonah Williams authored
      Overhaul of flutter drive in order to deliver a better experience, namely:
      
      * flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive.
      * Removes web-initialize-platform as this is no longer used
      * flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service.
      * VM service connection now provides access to memory info without launching devtools (only for debug/profile mode)
      
      Web changes
      
      * Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible
      
      Additional NNBD related bug fixes:
      
      No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
      183fe75d
  2. 23 Oct, 2020 2 commits
  3. 22 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] refactor drive launch into separate service, split by... · 2e75f52a
      Jonah Williams authored
      [flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451)
      
      Overhaul of flutter drive in order to deliver a better experience, namely:
      
      flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive.
      Removes web-initialize-platform as this is no longer used
      flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service.
      VM service connection now provides access to memory info without launching devtools (only for debug/profile mode)
      Web changes
      
      Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible
      
      Additional NNBD related bug fixes:
      
      No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
      2e75f52a
  4. 19 Oct, 2020 2 commits
  5. 13 Oct, 2020 1 commit
  6. 12 Oct, 2020 1 commit
  7. 09 Oct, 2020 2 commits
    • Jonah Williams's avatar
      [flutter_tools] pretty print hot reload rejection error (#66701) · bdb830a8
      Jonah Williams authored
      If the vm of an attached device rejects a hot reload, pretty print the reason. Suggest a hot restart so that users are aware that they do not have to detach and rebuild. Also resets the last compilation time, so a subsequent restart would still apply the last change. Adds an integration test for the const field removal.
      
      Fixes #64027
      bdb830a8
    • Jonah Williams's avatar
      [flutter_tools] hot reload/restart update for asset manager change (#66742) · 9a3a0dc1
      Jonah Williams authored
      Do not upload all assets on initial devFS sync. This should increase the reliability of the initial connection, even in the face of flaky devfs behavior, in addition to a moderate perf improvement.
      
      Updates fast-start to build assets as part of the initial bundle
      
      Requires flutter/engine#21436
      Requires flutter/engine#21586
      Requires flutter/engine#21611
      9a3a0dc1
  8. 05 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] disable source maps by default for release builds, enable for... · aa90dbe7
      Jonah Williams authored
      [flutter_tools] disable source maps by default for release builds, enable for run and with command line arg (#67331)
      
      Disables source map production by default for build web. For web builds performed as a part of flutter run --release, enable the source maps, or allow force enabling with --source-maps command line flag.
      
      fixes #67328
      aa90dbe7
  9. 02 Oct, 2020 4 commits
  10. 30 Sep, 2020 1 commit