1. 19 Sep, 2023 1 commit
    • David Iglesias's avatar
      [web] Encode AssetManifest.bin as JSON and use that on the web. (#131382) · c7c9d8ee
      David Iglesias authored
      This PR modifies the web build slightly to create an `AssetManifest.json`, that is a JSON(base64)-encoded version of the `AssetManifest.bin` file.
      
      _(This should enable all browsers to download the file without any interference, and all servers to serve it with the correct headers.)_
      
      It also modifies Flutter's `AssetManifest` class so it loads and uses said file `if (kIsWeb)`.
      
      ### Issues
      
      * Fixes https://github.com/flutter/flutter/issues/124883
      
      ### Tests
      
      * Unit tests added.
      * Some tests that run on the Web needed to be informed of the new filename, but their behavior didn't have to change (binary contents are the same across all platforms).
      * I've deployed a test app, so users affected by the BIN issue may take a look at the PR in action:
        * https://dit-tests.web.app
      c7c9d8ee
  2. 09 Jun, 2023 1 commit
  3. 15 May, 2023 1 commit
    • Andrew Kolos's avatar
      rename AssetManifest.bin (#126077) · d3e0e03e
      Andrew Kolos authored
      Fixes #124883. Will require a g3fix.
      
      Renames `AssetManifest.bin` to `AssetManifest.smcbin` (madeup extension for "Standard Message Codec binary").
      d3e0e03e
  4. 08 Feb, 2023 2 commits
  5. 07 Feb, 2023 1 commit
  6. 27 Jan, 2023 1 commit
  7. 13 Jan, 2023 1 commit
  8. 12 Jan, 2023 1 commit
  9. 12 Dec, 2022 1 commit
  10. 07 Dec, 2022 1 commit
  11. 05 Dec, 2022 1 commit
  12. 29 Nov, 2022 1 commit
  13. 15 Nov, 2022 1 commit
  14. 31 Oct, 2022 1 commit
  15. 24 Oct, 2022 1 commit
  16. 30 Sep, 2022 1 commit
  17. 27 Sep, 2022 1 commit
  18. 22 Jul, 2022 1 commit
  19. 19 Jul, 2022 1 commit
  20. 30 Jun, 2022 1 commit
  21. 29 Jun, 2022 1 commit
  22. 18 Jun, 2022 1 commit
  23. 04 May, 2022 1 commit
  24. 27 Apr, 2022 1 commit
  25. 11 Nov, 2021 1 commit
  26. 02 Nov, 2021 1 commit
  27. 08 Oct, 2021 3 commits
  28. 03 Jun, 2021 1 commit
  29. 31 Mar, 2021 1 commit
  30. 24 Mar, 2021 1 commit
  31. 05 Mar, 2021 1 commit
  32. 18 Feb, 2021 1 commit
  33. 27 Jan, 2021 1 commit
  34. 10 Nov, 2020 1 commit
  35. 09 Jul, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] fix recursive asset variant issue (#61129) · 741608a2
      Jonah Williams authored
      Fixes #45075
      Fixes #57210
      
      If an asset was included directly from the project root directory, then the same asset when copied to various output or ephemeral directories would also be picked up as an asset variant. This could cause assets to be recursively copied into asset/build/ephemeral directories, as each time it would run it would pick up all of the previous "variants".
      
      The solution is to include project ephemeral directories, in addition to the build directory.
      741608a2
  36. 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
  37. 01 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] do not include material icon incorrectly (#58335) · 4845df90
      Jonah Williams authored
      If a dependency specified uses-material-design: true and the main pubspec specifies uses-material-design: false, then the MaterialIcons font would be included in the font manifest, but not in the AssetManifest or final bundle. Remove it from the FontManifest if this occurs
      4845df90