- 18 Jul, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 08 Jun, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 25 May, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 03 Feb, 2022 1 commit
-
-
Ian Hickson authored
-
- 21 Jan, 2022 1 commit
-
-
Marcel Kirchhoff authored
* Call image stream listeners with new flag * Make _synchronousCall private * Rename _synchronousCall parameter to be more descriptive and add more documentation * Rename _hasInitialListeners to _addingInitialListeners and provide a better explanation * Formatting fix * Add tests * Remove dependency on decoration_test.dart * Simplify tests * Remove empty line in comment * Documentation * Trigger tests * Trigger tests * Flip boolean value
-
- 11 Dec, 2021 1 commit
-
-
Dan Field authored
* Remove chunk event subscription when disposing a MultiFrameImageStreamCompleter * Add impl.. * stray prints
-
- 07 Sep, 2021 1 commit
-
-
Anis Alibegić authored
-
- 23 Aug, 2021 1 commit
-
-
Alexander Dahlberg authored
Fixes test/painting/image_stream_test.dart of #85160 The problem: The timeDilation was changed to 2.0 but not restored. The changed timeDilation carried on to following tests which messed up some of them when using test ordering seed 456. The Fix: Restore timeDilation to 1.0 at the end of test.
-
- 27 Jul, 2021 1 commit
-
-
Greg Spencer authored
* Randomize tests, exclude tests that fail with randomization. * Disable some more tool tests
-
- 15 Jul, 2021 1 commit
-
- 14 Jul, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 31de052e.
-
Ian Hickson authored
-
- 13 Jul, 2021 2 commits
-
-
Ian Hickson authored
This reverts commit e2490f29.
-
Ian Hickson authored
-
- 01 Jul, 2021 1 commit
-
-
Greg Spencer authored
This reverts commit b5f9612c because it is taking about 40% longer to run the tests, which is causing timeouts.
-
- 29 Jun, 2021 1 commit
-
-
Greg Spencer authored
This turns on order shuffling for all tests that don't fail with it on, marking those tests that do fail with a tag so that they will be run without shuffling on. To determine which tests fail with it on, I ran all the tests 100 times with different random shuffle seeds, and then also ran it with the date seeds from today until the end of July, and tagged all of the test suites (files) that fail, with a seed that caused them to fail.
-
- 28 May, 2021 1 commit
-
-
Seven authored
* Fix single frame image is decoded even cached * Add MultiFrameImageStreamCompleter decode test for one frame image
-
- 06 Mar, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 27 Jan, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 Oct, 2020 1 commit
-
-
Dwayne Slater authored
-
- 06 Oct, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 05 Oct, 2020 1 commit
-
-
Dan Field authored
* Reland dispose images when done (#67100) Changes since last time: - Test for CanvasKit image rendering (https://github.com/flutter/flutter/pull/67176) - Fix CanvasKit dispose impl (https://github.com/flutter/engine/pull/21555) - Update internal google3 customer with a problematic ImageStream Listener impl (cl/335091311, cl/335459002) This reverts commit 473358d9.
-
- 01 Oct, 2020 2 commits
-
-
Dan Field authored
* Dispose of images after using them Adds ImageInfo.clone, ImageInfo.dispose, and ImageInfo.isCloneOf. Makes all stateful holders of ui.Image objects properly clone and dispose of them. Behavior change for ImageStreamCompleter: Removing the last listener after registering at least one listener results in the object being disposed, and new listeners cannot be added, unless a keepAlive handle is created. Makes all non-stateful holders of ui.Image (i.e. paintImage and RawImage) assert that whoever gave the image to them has not disposed it on them.
- 22 Sep, 2020 1 commit
-
-
Dan Field authored
-
- 11 Jun, 2020 1 commit
-
-
Alexandre Ardhuin authored
* add language version 2.8 in packages/flutter * enable non-nullable analyzer flag
-
- 22 Apr, 2020 1 commit
-
-
Rene Floor 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 May, 2019 2 commits
-
-
Paul Berry authored
The dart analyzer fails to warn about missing returns in function expressions due to a bug that has been fixed but not yet rolled into Flutter (see https://dart-review.googlesource.com/c/sdk/+/100301). So it failed to catch that https://github.com/flutter/flutter/pull/33217 accidentally introduced a call to `testWidgets` that passed it a synchronous callback.
-
Todd Volkert authored
I forgot to add `onChunk` to them in #33092
-
- 21 May, 2019 2 commits
-
-
Todd Volkert authored
This is another step towards supporting image loading progress notification at the widgets layer. This adds an `ImageChunkEvent` class along with associated `ImageChunkListener` callback signature and an `onChunk` property to `ImageStreamListener`. The events serve to notify registered listeners when byte chunks are received while loading an image. https://github.com/flutter/flutter/issues/32374
-
Todd Volkert authored
The current API was broken in that you registered multiple callbacks at once, but when you removed listeners, only the primary listener was used to determine what was removed. This led to unintuitive cases where the caller could get unexpected behavior. This updates the API to add and remove listeners using a newly introduced [ImageStreamListener] object, a value object that has references to the individual callbacks that may fire. flutter/flutter#24722 flutter/flutter#32374 flutter/flutter#32935
-
- 02 Apr, 2019 1 commit
-
-
Amir Hardon authored
There were 2 possible scenarios in which _handleAppFrame is added more than once as a frame callback. When this happens it is possible that the second invocation will try to access _nextFrame.image when _nextFrame is null and crash. The 2 scenarios are: Scenario 1 A GIF frame is decoded and a Flutter frame is executed before it's time to show the next GIF frame. The timer that's waiting for enough time to elapse is invoked, and schedules a callback for the next Flutter frame(here). Before the next Flutter frame is executed, MultiFrameImageStreamCompleter#removeListener is called followed by ``MultiFrameImageStreamCompleter#addListenerthat is invoking_decodeNextFrameAndSchedule` which is adding `_handleAppFrame` again as a next frame callback. Scenario 2 removeListener and addListener are called multiple times in succession, every call to addListener can result in another registration of _handleAppFrame to the next Flutter frame callbacks list. This patch fixes the issue by guarding against a second registration of _handleAppFrame.
-
- 09 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 07 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* fix indentof statements in BlockFunctionBody * fix indentof statements in BlockFunctionBody in tests
-
- 06 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* fix some formatting issues * address review comments * fix indent
-
- 21 Feb, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 29 Jan, 2019 2 commits
-
-
Alexandre Ardhuin authored
-
Konstantin Scheglov authored
-