1. 03 Nov, 2020 1 commit
  2. 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
  3. 23 Oct, 2020 1 commit
  4. 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
  5. 13 Oct, 2020 1 commit
  6. 09 Oct, 2020 1 commit
    • James D. Lin's avatar
      [flutter tools] Add a DelegatingLogger class (#67581) · e4206ac5
      James D. Lin authored
      [flutter tools] Add a DelegatingLogger class
      
      Move most of `DelegateLogger` `from test/src/testbed.dart` to
      `lib/src/base/logger.dart` to better formalize the common practice of
      chaining `Logger`s together.  I renamed the class since it isn't
      itself the delegate and to better match the `Delegating...` classes
      from `package:collection`.
      
      Additionally, add a freestanding `asLogger<T>` function to "cast" a
      `Logger` into a matching delegate if possible.  This will allow
      `Logger` chains to be ordered a *bit* more freely (e.g.
      `NotifyingLogger` and `AppRunLogger` will no longer required to be
      at the end of the chain, an unwritten rule that has led to breakage in
      google3).  Chain order still matters since lack of virtual dispatch
      means that parent `Logger`s can never invoke child methods, however.
      
      I made `asLogger<T>` a freestanding function because I didn't want to
      make it part of the `Logger` interface (and I thought that making it
      an extension method might be weird).
      
      Bonus cleanup:
      There no longer appears to be a way to construct an `AppRunLogger`
      with a null parent, so remove all of code paths for that case and
      make the `parent` construction parameter required.
      e4206ac5
  7. 05 Oct, 2020 1 commit
  8. 03 Oct, 2020 1 commit
  9. 23 Sep, 2020 2 commits
  10. 22 Sep, 2020 1 commit
  11. 19 Sep, 2020 1 commit
  12. 15 Sep, 2020 1 commit
  13. 11 Sep, 2020 1 commit
  14. 17 Aug, 2020 1 commit
  15. 10 Aug, 2020 1 commit
  16. 03 Aug, 2020 1 commit
  17. 31 Jul, 2020 1 commit
  18. 20 Jul, 2020 2 commits
  19. 17 Jul, 2020 1 commit
  20. 15 Jul, 2020 1 commit
  21. 09 Jul, 2020 1 commit
  22. 25 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] remove most use of global packages path (#60231) · 82a6f9bf
      Jonah Williams authored
      The global packages path could cause tests to fail when it would be overriden to unexpected (in test setup) values. Remove most usage and make it a configuration on buildInfo, along with most other build information. Cleanup the asset builder to require the .packages path and the resident runners to no longer require it, since they already have the information in build_info.
      
      It needs to stick around for the fuchsia deps we do not control.
      
      Filled #60232 for remaining work.
      82a6f9bf
  23. 18 Jun, 2020 3 commits
  24. 09 Jun, 2020 1 commit
  25. 08 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] only restrict devices based on arch + buildMode, not emulator status (#58887) · 4f88ed1d
      Jonah Williams authored
      instead of restricting profile/release mode based on whether the tool thinks the device is an emulator, restrict based on the device target architecture and the requested build mode. Notably, this enables release mode on x86_64 Android emulators, but not x86 emulators since we do not support that as an AOT target.
      
      This does not add release mode support for simulators, since this requires us to build and upload artifacts for simulator/x86_64
      4f88ed1d
  26. 04 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] remove zone level overrides of verbose and daemon logging (#57448) · f5de6aad
      Jonah Williams authored
      Make it possible for all FlutterCommands to be global free, by moving instantiation to inside the Zone context. Additionally, provide VerboseLogger and NotifyLogger (daemon) at the top level and remove from command-specific overrides.
      
      This allows removing a work around where web devices needed to look up directly from the context in non-test code.
      
      Technically the output preferences are still zone injected, but these will be moved soon as they were not being used correctly by the top level command (the injection comes after ArgParser reads the overflow values, causing numerous wrap issues)
      f5de6aad
  27. 01 Jun, 2020 1 commit
  28. 27 May, 2020 1 commit
  29. 30 Mar, 2020 1 commit
  30. 24 Mar, 2020 1 commit
  31. 11 Mar, 2020 1 commit
  32. 06 Mar, 2020 2 commits
  33. 05 Mar, 2020 2 commits
  34. 04 Mar, 2020 1 commit