1. 12 Oct, 2020 28 commits
  2. 10 Oct, 2020 5 commits
  3. 09 Oct, 2020 7 commits
    • Marcin Jeleński's avatar
      Export finder factory (#67779) · 43999247
      Marcin Jeleński authored
      43999247
    • Alexander Markov's avatar
      1973cf2d
    • keyonghan's avatar
      2639ac1d
    • 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
    • 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] remove train and inject-plugins command (#67766) · 5fa80171
      Jonah Williams authored
      The train command does nothing and was originally added to provide a no-output default for generating app-jit snapshots. The inject-plugins command is only for a repo-only analysis check, which is not necessary since we regenerate during pub get.
      
      #29805
      5fa80171
    • Jonah Williams's avatar
      92702a28