1. 23 Jul, 2018 3 commits
  2. 20 Jul, 2018 4 commits
  3. 19 Jul, 2018 3 commits
    • 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
    • Danny Tuppeny's avatar
      Make cleanup of flutter processes in tests more reliable (#19307) · 442fc3cf
      Danny Tuppeny authored
      * Make cleanup of flutter processes in tests more reliable
      
      * Fix quit signals
      
      I confused SigInt&SigTerm for SigTerm&SigKill when I first did this. SigTerm can be blocked and doesn't guarantee the process will be terminated.
      
      * Don't use deprecated constants
      
      * Fix typo
      
      * Add some additional info to debug buffer
      
      * Fix return types on Futures
      442fc3cf
    • Danny Tuppeny's avatar
      Flutter `emulator launch` crash running in dart-2-mode (#19454) · d3f6128c
      Danny Tuppeny authored
      * Only printError on our simple messages
      
      Any other type is a real error that should be a normal crash (to get a proper error log).
      
      See #19453.
      
      * Add toList() to convert Iterable<String> -> List<String>
      
      This code previously throw in Dart-2 mode.
      
      Fixes #19453.
      
      * Move getSimulatorPath into Xcode
      
      * Add a test that we tried to launch the simulator
      
      * Remove unused import
      d3f6128c
  4. 18 Jul, 2018 1 commit
  5. 17 Jul, 2018 1 commit
  6. 16 Jul, 2018 4 commits
  7. 14 Jul, 2018 1 commit
    • Greg Spencer's avatar
      Add Bash and Zsh command-line completion for flutter (#19243) · 5d0d1b03
      Greg Spencer authored
      This uses @kevmoo's completion package to do command line completion for flutter, and a new command "bash-completion" (with alias "zsh-completion") that will output the necessary shell script setup code, and adds the hidden command "completion" that does the actual completion.
      
      Because it adds a dependency, I also had to do flutter update-packages --force-upgrade.
      
      Fixes #18988.
      5d0d1b03
  8. 12 Jul, 2018 5 commits
    • Alexander Aprelev's avatar
      Revert "Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717... · 7ebf2728
      Alexander Aprelev authored
      Revert "Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)" (#19295)" (#19322)
      
      This reverts commit cc122f16.
      7ebf2728
    • Alexander Aprelev's avatar
      Preserve original kernel file for isolate spawn requests. (#18127) · b075229d
      Alexander Aprelev authored
      * Preserve original kernel file for isolate spawn requests.
      
      This change gives incremental kernel files ".incremental.dill" extension thereby preserving original kernel file.
      
      Bug: https://github.com/flutter/flutter/issues/16084
      Bug: https://github.com/flutter/flutter/issues/17012
      Bug: https://github.com/flutter/flutter/issues/17983
      
      * Factor out naming logic into separate function
      
      * Fix string vs uri
      b075229d
    • Alexander Aprelev's avatar
      Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart... · cc122f16
      Alexander Aprelev authored
      Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)" (#19295)
      
      This reverts commit 700cb767 as it
      breaks Windows tests.
      cc122f16
    • Alexander Aprelev's avatar
      Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277) · 700cb767
      Alexander Aprelev authored
      * Revert "Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) (#19044)" (#19276)"
      
      This reverts commit cf932490 as it also
      includes fix for type error that broke tests.
      
      * Add type cast for dart2 type checks.
      
      * Move up to latest goldens
      
      * Make inDirectory() type-parameterized.
      
      * Add typecasting to transitions_perf_test.dart and microbenchmarks.
      
      * Add boolean flag initialization in save_catalog_screenshots.dart
      
      * Add type conversion to gallery transition test
      700cb767
    • Chris Bracken's avatar
      Push /usr/bin to front of PATH for ios-deploy runs (#19281) · 379a2d56
      Chris Bracken authored
      ios-deploy relies on LLDB.framework, which relies on /usr/bin/python and
      the 'six' module that's installed on the system. However, it appears to
      use the first version of Python on PATH, rather than explicitly
      specifying the system install.  If a user has a custom install of Python
      (e.g., via Homebrew or MacPorts) ahead of the system Python on their
      PATH, LLDB.framework will pick up that version instead. If the user
      hasn't installed the 'six' module, ios-deploy will fail with a
      relatively cryptic error message.
      
      This patch pushes /usr/bin to the front of PATH for the duration of the
      ios-deploy run to avoid this scenario.
      
      This patch also removes checks for package six.
      
      Neither Flutter nor any of its direct dependencies/tooling relies on
      package six. ios-deploy depends on LLDB.framework (included with Xcode),
      which relies on a Python script that imports this package but uses
      whichever Python is at the front of the path. Flutter now invokes
      ios-deploy with a PATH with /usr/bin forced to the front in order to
      avoid this problem.
      
      We could have retained the check out of paranoia, but this seems
      unnecessary since it's entirely possible LLDB.framework may one day drop
      this dependency, in which case I'd expect the base system install of
      Python would likely drop it as well.
      379a2d56
  9. 11 Jul, 2018 6 commits
  10. 10 Jul, 2018 2 commits
  11. 09 Jul, 2018 3 commits
  12. 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
  13. 04 Jul, 2018 1 commit
  14. 03 Jul, 2018 2 commits
  15. 01 Jul, 2018 1 commit
  16. 29 Jun, 2018 2 commits