1. 08 Oct, 2021 3 commits
  2. 05 Oct, 2021 1 commit
  3. 04 Oct, 2021 1 commit
  4. 01 Oct, 2021 2 commits
  5. 22 Sep, 2021 1 commit
  6. 03 Aug, 2021 1 commit
  7. 08 Jul, 2021 1 commit
  8. 15 Jun, 2021 1 commit
  9. 10 Jun, 2021 1 commit
  10. 19 May, 2021 1 commit
  11. 14 May, 2021 1 commit
  12. 21 Apr, 2021 1 commit
  13. 18 Apr, 2021 1 commit
  14. 17 Apr, 2021 1 commit
  15. 16 Apr, 2021 1 commit
  16. 07 Apr, 2021 1 commit
  17. 06 Apr, 2021 1 commit
  18. 03 Apr, 2021 1 commit
  19. 30 Mar, 2021 1 commit
  20. 13 Mar, 2021 1 commit
  21. 08 Mar, 2021 1 commit
  22. 02 Mar, 2021 1 commit
  23. 24 Feb, 2021 1 commit
  24. 18 Feb, 2021 2 commits
  25. 11 Feb, 2021 2 commits
  26. 27 Jan, 2021 1 commit
  27. 22 Jan, 2021 2 commits
  28. 20 Nov, 2020 1 commit
  29. 29 Oct, 2020 1 commit
  30. 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
  31. 30 Sep, 2020 1 commit
  32. 21 Sep, 2020 1 commit
  33. 17 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] use flutter tool handler for dwds resources and precache tool... · 3e838da9
      Jonah Williams authored
      [flutter_tools] use flutter tool handler for dwds resources and precache tool pub dependencies (#65814)
      
      If the tool is downloaded from a precompiled snapshot, or if the backing source files in the pub cache are deleted, the dwds debugging functionality will break as the client.js file cannot be located. Instead use the PackageConfig to verify that package location, downloading if it is missing.
      
      Override the dwds middleware to avoid Isolate.resolvePackageUri
      
      Fixes #53644
      Fixes #65475
      3e838da9
  34. 20 Jul, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] Add plumbing for widget cache (#61766) · 07caa0fb
      Jonah Williams authored
      To support #61407 , the tool needs to check if a single widget reload is feasible, and then conditionally perform a fast reassemble.
      
      To accomplish this, the FlutterDevice class will have a WidgetCache injected. This will eventually contain the logic for parsing the invalidated dart script. Concurrent with the devFS update, the widget cache will be updated/checked if a single widget reload is feasible. If so, an expression evaluation with the target type is performed and the success is communicated through the devFS result. An integration test which demonstrates that this works is already present in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/test/integration.shard/hot_reload_test.dart#L86
      
      Finally, when actually performing the reassemble the tool simply checks if this flag has been set and calls the alternative reassemble method.
      
      Cleanups:
      
      Remove modules, as this is unused now.
      07caa0fb