- 15 Oct, 2019 3 commits
-
-
Jonah Williams authored
-
Gary Qian authored
-
Yegor authored
-
- 14 Oct, 2019 2 commits
-
-
Yegor authored
fix and enable painting tests on the Web
- 24 Sep, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 20 Sep, 2019 1 commit
-
-
Alexander Aprelev authored
This reverts commit b12bdd0e as it breaks existing tests that expect image loaded after certaing number of pupms. With image loading done on separate isolate pumping is not guaranteed to get image loaded.
-
- 19 Sep, 2019 1 commit
-
-
Alexander Aprelev authored
* Use separate isolate for image loading. Use TransferableTypedData to const-cost receive bytes from that isolate.
-
- 17 Sep, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 17 Jul, 2019 1 commit
-
-
Matan Shukry authored
Using custom exception class for network loading error
-
- 11 Jul, 2019 1 commit
-
-
Dan Field authored
-
- 28 Jun, 2019 1 commit
-
-
- 15 Jun, 2019 1 commit
-
-
Jonah Williams authored
* add web and io implemenations of network and asset image * fix foundation import * update to remove extra asset image indirection * skip chunk test * address comments * disable non-functional test * disable all golden tests * address comments
-
- 10 Jun, 2019 1 commit
-
-
Jonah Williams authored
-
- 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
-
- 20 May, 2019 1 commit
-
-
Todd Volkert authored
Currently, the fact that NetworkImage uses a static HttpClient makes it impossible to properly test, as a mock in one test will be reused in another test. This change fixes that. https://github.com/flutter/flutter/issues/32374
-
- 29 Mar, 2019 1 commit
-
-
Jonah Williams authored
-
- 28 Mar, 2019 1 commit
-
-
Jonah Williams authored
-
- 20 Feb, 2019 1 commit
-
-
Kaushik Iska authored
* Add outer try block for obtainKey errors. Add docs. * change to // from ///, and do specific error handling * Add return statement after error * Add test
-
- 03 Jan, 2019 1 commit
-
-
Jonah Williams authored
* Ensure all errors thrown by image providers can be caught by developers. Add an `onError` parameter to the ImageCache.putIfAbsent method. In the event that an error is thrown when resolving an image, catch if this parameter is provided. Use the onError parameter to ensure that all errors thrown are forwarded to the ImageStream error channel instead of directly into the void.
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 12 Jun, 2018 1 commit
-
-
Jonah Williams authored
-
- 02 Feb, 2018 1 commit
-
-
Alexandre Ardhuin authored
* work around const lints * update nonconst doc
-
- 07 Dec, 2017 1 commit
-
-
Ian Hickson authored
This allows the scheduler library to depend on the services library and the painting library to depend on the scheduler library without the services library having to depend on the scheduler library. While I was at it I also cleaned up some of the binding logic: the licenses logic can now be overridden (and the test library does so), and the image cache can now be overridden as well.
-
- 31 Aug, 2017 1 commit
-
-
Alexandre Ardhuin authored
* upgrade to linter-0.1.35 * re-enable lint prefer_const_constructors * address review comments
-
- 27 Apr, 2017 1 commit
-
-
Todd Volkert authored
-
- 17 Jan, 2017 1 commit
-
-
Adam Barth authored
* MultiTapGestureRecognizer previously would assert if there was no competition. * GestureArenaTeam would always select the first recongizer as the winner even if a later recognizer actually accepted the pointer sequence. * debugPrintStack would fail a type check if maxFrames was non-null. * FractionalOffset.lerp would throw a null-pointer exception if its second argument was null. Also, add a number of tests for previously untested lines of code.
-
- 06 Jan, 2017 1 commit
-
-
Ian Hickson authored
Also, make hasOneLineDescription more discerning. Also, add a test for hasOneLineDescription. Also, add a test for GravitySimulation, to test the toString.
-