- 09 Jun, 2023 1 commit
-
-
Andrew Kolos authored
rename generated asset manifest file back to `AssetManifest.bin` (from `AssetManifest.smcbin`) (#128529) Closes https://github.com/flutter/flutter/issues/128456, which is now linked to in a code comment in this change. Reopens https://github.com/flutter/flutter/issues/124883. This effectively reverts https://github.com/flutter/flutter/pull/126077 and is intended to be cherry-picked into stable.
-
- 07 Jun, 2023 1 commit
-
-
Andrew Kolos authored
Fixes https://github.com/flutter/flutter/issues/127090. https://github.com/flutter/flutter/pull/122505 did a few things to speed up the first asset load that a flutter app performs. One of those things was to not include the main asset in its own list of variants in the asset manifest. The idea was that we know that the main asset always exists, so including it in its list of variants is a waste of storage space and loading time (even if the cost was tiny). However, the assumption that the main asset always exists is wrong. From [Declaring resolution-aware image assets](https://docs.flutter.dev/ui/assets-and-images#resolution-aware), which predates https://github.com/flutter/flutter/pull/122505: > Each entry in the asset section of the pubspec.yaml should correspond to a real file, with the exception of the main asset entry. If the main asset entry doesnât correspond to a real file, then the asset with the lowest resolution is used as the fallback for devices with device pixel ratios below that resolution. The entry should still be included in the pubspec.yaml manifest, however. For example, it's valid to declare `assets/image.png` as an asset even if only `assets/3x/image.png` exists on disk. This fix restores older behavior of including a main asset as a variant of itself in the manifest if it exists. This fix also includes a non-user-visible behavior change: * `"dpr"` is no longer a required field in the asset manifest's underlying structure. For the main asset entry, we do not include `"dpr"`. It makes less sense for the tool to decide what the default target dpr for an image should be. This should be left to the framework.
-
- 15 May, 2023 1 commit
-
-
Andrew Kolos authored
Fixes #124883. Will require a g3fix. Renames `AssetManifest.bin` to `AssetManifest.smcbin` (madeup extension for "Standard Message Codec binary").
-
- 12 Jan, 2023 1 commit
-
-
Andrew Kolos authored
* initial * update asset_bundle_package_test * Update asset_bundle_test.dart * Update asset_bundle_package_fonts_test.dart * update pubspec checksum for smc dependency * flutter update-packages --force-upgrade * prefer += 1 over ++ Co-authored-by: Jonah Williams <jonahwilliams@google.com> * add regexp comment * rescope int list comparison function * update packages Co-authored-by: Jonah Williams <jonahwilliams@google.com>
-
- 07 Dec, 2022 1 commit
-
-
Casey Hillers authored
Revert "Speed up first asset load by encoding asset manifest in binary rather than JSON (#113637)" (#116662) This reverts commit 56cad89b.
-
- 05 Dec, 2022 1 commit
-
-
Andrew Kolos authored
-
- 01 Oct, 2022 1 commit
-
-
Andrew Kolos authored
-
- 29 Sep, 2022 1 commit
-
-
Jason Simmons authored
-
- 27 Sep, 2022 1 commit
-
-
Andrew Kolos authored
-
- 18 Jun, 2022 1 commit
-
-
Jonah Williams authored
-
- 02 Nov, 2021 1 commit
-
-
Jenn Magder authored
-
- 31 Mar, 2021 1 commit
-
-
Jenn Magder authored
-
- 27 Jan, 2021 1 commit
-
-
Jonah Williams authored
* opt out the flutter tool * oops EOF * fix import * Update tool_backend.dart * Update daemon_client.dart * fix more
-
- 13 Nov, 2020 1 commit
-
-
Jonah Williams authored
-
- 10 Nov, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] remove most globals from asset system and remove Cache manipulation in unit tests (#70011)
-
- 16 Sep, 2020 1 commit
-
-
Michael R Fairhurst authored
-
- 25 Jun, 2020 1 commit
-
-
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.
-
- 16 May, 2020 1 commit
-
-
Jonah Williams authored
-
- 06 Mar, 2020 1 commit
-
-
Zachary Anderson authored
* Reland: [flutter_tool] Where possible, catch only subtypes of Exception * Add armv7f to getIOSArchForName
-
- 04 Mar, 2020 2 commits
-
-
Jenn Magder authored
This reverts commit 57c6721c.
-
Flutter GitHub Bot authored
-
- 28 Feb, 2020 2 commits
-
-
Zachary Anderson authored
This reverts commit 9de7787f.
-
Zachary Anderson authored
-
- 27 Feb, 2020 2 commits
-
-
Zachary Anderson authored
This reverts commit f1cd47ef.
-
Zachary Anderson authored
-
- 07 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 06 Jan, 2020 1 commit
-
-
Jonah Williams authored
-
- 27 Nov, 2019 1 commit
-
-
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
-
- 23 Oct, 2019 1 commit
-
-
Jonah Williams authored
-
- 22 Oct, 2019 2 commits
-
-
Jonah Williams authored
This reverts commit 3597bae6.
-
Ian Hickson authored
-
- 11 Oct, 2019 1 commit
-
-
Ian Hickson authored
...because otherwise, processes that think they're manipulating your filesystem will be doing crazy things the test is ignoring, leading to (at best) failures and (at worst) flakes or disk corruption.
-
- 24 Sep, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Jul, 2019 1 commit
-
-
Ian Hickson authored
Move tools tests into a general.shard directory in preparation to changing how we shard tools tests (#36108)
-
- 31 May, 2019 1 commit
-
-
Jonah Williams authored
This reverts commit 445505d6.
-
- 30 May, 2019 1 commit
-
-
Jonah Williams authored
-
- 21 Feb, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 05 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 05 Sep, 2018 1 commit
-
-
Danny Tuppeny authored
Move asset_bundle_package_test to MemoryFileSystem to avoid setting fs.currentDirectory in tests (#21427) * Update asset_bundle_package_test to use MemoryFileSystem This updates all tests in this file to use a memory filesystem (same as I did for asset_bundle_package_font_test) based on the current platform. There were already a few minor tests at the bottom using a MemoryFileSystem and being run for all platforms - however this complicated the shared code I changed above to support Windows natively so I changed them to also work the same as others (that is, they just run the native platforms so require running on all to get full coverage - though this is the case for almost all other tests anyway). * Move fixPath to the correct place
-