1. 18 Jun, 2022 1 commit
  2. 02 Jun, 2021 1 commit
  3. 27 May, 2021 1 commit
  4. 02 Mar, 2021 1 commit
  5. 27 Jan, 2021 1 commit
  6. 13 Nov, 2020 1 commit
  7. 30 Sep, 2020 1 commit
  8. 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
  9. 06 May, 2020 1 commit
  10. 23 Apr, 2020 1 commit
  11. 20 Apr, 2020 1 commit
  12. 08 Jan, 2020 1 commit
  13. 07 Jan, 2020 1 commit
  14. 06 Jan, 2020 1 commit
  15. 17 Dec, 2019 1 commit
  16. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  17. 06 Nov, 2019 1 commit
  18. 23 Oct, 2019 2 commits
  19. 22 Oct, 2019 2 commits
  20. 11 Oct, 2019 1 commit
  21. 04 Oct, 2019 1 commit
    • James D. Lin's avatar
      Clean up ProjectFileInvalidator.findInvalidated a bit (#41889) · 14c5c6e1
      James D. Lin authored
      In preparation for some refactoring that I will be doing to
      `ProjectFileInvalidator.findInvalidated`, make its code a bit
      clearer:
      * Indicate which arguments may be null.
      * Don't bother calling `FileStat.statSync` on the `.packages` file
        for the initial load.  This makes the checks for the `.packages`
        file consistent with those for other files.
      * Use `DateTime.isAfter()` instead of comparing microseconds
        ourselves.
      
      While I was touching this file, I also removed some unnecessary
      comparisons to `false`. (`_ManifestAssetBundle.wasBuiltOnce()` is the
      only implementation I can find of `AssetBundle.wasBuiltOnce()`, and
      it never returns `null`.)
      14c5c6e1
  22. 13 Jul, 2019 1 commit
  23. 21 Mar, 2019 2 commits
  24. 20 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      some spaces formatting (#29452) · a6af4228
      Alexandre Ardhuin authored
      * some space formattings
      
      * always use blocks in if-else if a block is used
      
      * format spaces in for and while
      
      * allow multiline if conditions
      
      * fix missing space
      a6af4228
  25. 15 Mar, 2019 1 commit