1. 07 Feb, 2024 7 commits
    • Dan Field's avatar
      Dispose precached image info (#143017) · 7514c16a
      Dan Field authored
      `precacheImage` was failing to dipose the `ImageInfo` it receives. That's part of the contract of being an image listener.
      
      I'm doing this in the frame callback for the same reason as evicting it from the cache.
      7514c16a
    • Polina Cherkasova's avatar
      Instrument CurvedAnimation. (#143007) · ac5c3dec
      Polina Cherkasova authored
      ac5c3dec
    • Andrew Brampton's avatar
      Update _goldens_io.dart to generate failure images during a size mism… (#142177) · 10f1e635
      Andrew Brampton authored
      Update the `matchesGoldenFile()` / `LocalComparisonOutput` code to generate failure images for golden tests that fail when the image sizes do not match. This can make it far quicker to identify what is wrong with the test image.
      
      Fixes https://github.com/flutter/flutter/issues/141488
      
      - [ x I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
      10f1e635
    • auto-submit[bot]'s avatar
      Reverts "Activate InkSparkle on CanvasKit" (#143036) · 310a7edb
      auto-submit[bot] authored
      Reverts flutter/flutter#138545
      
      Initiated by: zanderso
      
      Reason for reverting: Failing in post-submit: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20web_long_running_tests_5_5/14975/overview
      
      ```
      ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
      The following FormatException was thrown running a test:
      Invalid Shader Data
      
      When the exception was thrown, this was the stack:
      dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.da
      
      Original PR Author: bleroux
      
      Reviewed By: {Piinks}
      
      This change reverts the following previous change:
      Original Description:
      ## Description
      
      This PR activates the M3 `InkSparkle` splash animation on Android + CanvasKit.
      Before it `InkSparkle` was only activated on native Android.
      
      ## Related Issue
      
      Fixes https://github.com/flutter/flutter/issues/138487
      
      ## Tests
      
      Updates several existing tests.
      310a7edb
    • Bruno Leroux's avatar
      Activate InkSparkle on CanvasKit (#138545) · 7f811fb4
      Bruno Leroux authored
      ## Description
      
      This PR activates the M3 `InkSparkle` splash animation on Android + CanvasKit.
      Before it `InkSparkle` was only activated on native Android.
      
      ## Related Issue
      
      Fixes https://github.com/flutter/flutter/issues/138487
      
      ## Tests
      
      Updates several existing tests.
      7f811fb4
    • Chris Bracken's avatar
      [Windows] Fix signed/unsigned int comparison (#142341) · 9f8fe3f0
      Chris Bracken authored
      Previously, we were comparing the signed int `target_length` (returned by WideCharToMultiByte) to a size_t string length, resulting in a signed/unsigned comparison warning as follows:
      
      ```
      windows\runner\utils.cpp(54,43): warning C4018:  '>': signed/unsigned mismatch
      ```
      
      WideCharToMultiByte returns:
      * 0 on error
      * the number of bytes written to the buffer pointed to by its fifth parameter, lpMultiByteStr, on success.
      
      As a result it's safe to store the return value in an unsigned int, which eliminates the warning.
      
      No changes to tests since this is dependent on end-user project settings/modifications and does not trigger a warning with default project settings.
      
      Fixes: https://github.com/flutter/flutter/issues/134227
      9f8fe3f0
    • auto-submit[bot]'s avatar
      Reverts "Move native assets to `isolated/` directory" (#143027) · ceca6066
      auto-submit[bot] authored
      Reverts flutter/flutter#142709
      
      Initiated by: vashworth
      
      Reason for reverting: `Mac tool_tests_general` started failing on this commit: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20tool_tests_general/15552/overview
      
      Original PR Author: dcharkes
      
      Reviewed By: {christopherfujino, chingjun, reidbaker}
      
      This change reverts the following previous change:
      Original Description:
      Native assets in other build systems are not built with `package:native_assets_builder` invoking `build.dart` scripts. Instead all packages have their own blaze rules. Therefore we'd like to not depend on `package:native_assets_builder` from flutter tools in g3 at all.
      
      This PR aims to move the imports of `native_assets_builder` and `native_assets_cli` into the `isolated/` directory and into the files with a `main` function that are not used in with other build systems.
      
      In order to be able to remove all imports in files used by other build systems, two new interfaces are added `HotRunnerNativeAssetsBuilder` and `TestCompilerNativeAssetsBuilder`. New parameters are then piped all the way through from the entry points:
      
      * bin/fuchsia_tester.dart
      * lib/executable.dart
      
      The build_system/targets dir is already excluded in other build systems.
      
      So, after this PR only the two above files and build_system/targets import from `isolated/native_assets/` and only `isolated/native_assets/` import `package:native_assets_cli` and `package:native_assets_builder`.
      
      Context:
      
      * https://github.com/flutter/flutter/issues/142041
      ceca6066
  2. 06 Feb, 2024 13 commits
  3. 05 Feb, 2024 8 commits
  4. 04 Feb, 2024 3 commits
  5. 03 Feb, 2024 4 commits
  6. 02 Feb, 2024 5 commits