1. 03 Sep, 2020 1 commit
    • Jaime Blasco's avatar
      [flutter_tool] [web] Remove x-frame-options header during debug (#62115) · 0699c18e
      Jaime Blasco authored
      Currently flutter run -d web creates a server with the x-frame-options: SAMEORIGIN added by default (shelf add it's by default). This doesn't allow you to use it inside a frame.
      
      I am trying to build an embedded simulator in vscode and it requires using an iframe.
      
      With this PR I remove the header for debug and profile mode.
      0699c18e
  2. 19 Aug, 2020 1 commit
  3. 06 Aug, 2020 1 commit
  4. 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
  5. 15 Jul, 2020 1 commit
  6. 13 Jul, 2020 1 commit
  7. 10 Jul, 2020 1 commit
    • Anna Gringauze's avatar
      Added web compiler debug metadata (#61265) · 9cbe1dcc
      Anna Gringauze authored
      Made flutter tools serve metadata produced by the frontend server:
      
      pass --experimental-emit-metadata flag to flutter engine
      store and serve metadata from web asset server
      store and serve merged metadata from web asset server
      add tests to verify that metadata is served from memory
      update dwds version so it can read metadata
      configure dwds to read metadata from file
      Prerequisite changes (landed):
      
      sdk: https://dart-review.googlesource.com/c/sdk/+/150181
      flutter engine: flutter/engine#19168
      webdev:dart-lang/webdev#1064
      9cbe1dcc
  8. 02 Jul, 2020 1 commit
  9. 30 Jun, 2020 1 commit
  10. 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
  11. 24 Jun, 2020 2 commits
  12. 19 Jun, 2020 1 commit
  13. 12 Jun, 2020 1 commit
  14. 04 Jun, 2020 1 commit
  15. 28 Apr, 2020 1 commit
  16. 27 Apr, 2020 1 commit
  17. 24 Apr, 2020 1 commit
  18. 22 Apr, 2020 2 commits
  19. 20 Apr, 2020 1 commit
  20. 17 Apr, 2020 1 commit
  21. 15 Apr, 2020 1 commit
  22. 08 Apr, 2020 2 commits
  23. 03 Apr, 2020 1 commit
  24. 02 Apr, 2020 1 commit
  25. 24 Mar, 2020 1 commit
  26. 18 Mar, 2020 1 commit
  27. 13 Mar, 2020 1 commit
  28. 10 Mar, 2020 2 commits
  29. 05 Mar, 2020 1 commit
  30. 04 Mar, 2020 1 commit
  31. 24 Feb, 2020 1 commit
  32. 23 Feb, 2020 1 commit
  33. 21 Feb, 2020 1 commit
  34. 20 Feb, 2020 1 commit
  35. 18 Feb, 2020 1 commit
  36. 15 Feb, 2020 1 commit