-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,100 @@ | ||
# Changelog | ||
|
||
## [1.0.0] (2022-02-10) | ||
|
||
* Project updated to kotlin 1.6.0. | ||
* Project now targets java 11. | ||
* Opening a Gif from a file will now use a buffered RandomAccessFile, to limit read operations. | ||
* As GifDescriptor can be used by multiple Gifs, we synchronize the read block when decoding a frame to avoid weird multi-threading artifacts. | ||
|
||
## [0.9.0] (2021-11-10) | ||
|
||
- Simplify bitmap pool, aka stop pooling. It's not that useful. | ||
- GifDrawable's backgroundColor is now a val. | ||
* Simplify bitmap pool, aka stop pooling. It's not that useful. | ||
* GifDrawable's backgroundColor is now a val. | ||
|
||
## [0.8.1] (2021-10-11) | ||
|
||
- Fix an issue where the decoder would not reset the canvas before restarting the animation loop. | ||
* Fix an issue where the decoder would not reset the canvas before restarting the animation loop. | ||
Depending on the disposal method of the last frame, it could lead to artifacts. | ||
|
||
## [0.8.0] (2021-10-01) | ||
|
||
- Breaking: `advance()` now decodes the frame. It used to be done by the `getFrame` methods. | ||
* Breaking: `advance()` now decodes the frame. It used to be done by the `getFrame` methods. | ||
With this change, `getFrames` will either simply copy the internal buffer, or called `advance` if needed. | ||
- Breaking: `decoder.Result` class has been replaced by the `kotlin.Result` class, now stable. | ||
* Breaking: `decoder.Result` class has been replaced by the `kotlin.Result` class, now stable. | ||
Several function in the Gif class that would return nullable now return `kotlin.Result` instead. | ||
- Bump kotlin to 1.5.31, AGP to 7.0.2 | ||
- Target SDK 31 | ||
* Bump kotlin to 1.5.31, AGP to 7.0.2 | ||
* Target SDK 31 | ||
|
||
## [0.7.3] (2021-09-21) | ||
|
||
- Add a helper method to create a shallow copy of a Gif sharing GifDescriptors. | ||
* Add a helper method to create a shallow copy of a Gif sharing GifDescriptors. | ||
|
||
## [0.7.2] (2021-08-12) | ||
|
||
- Fix a signed error in Dimension and Position: they were short instead of unsigned short, causing issues for giant gifs. | ||
* Fix a signed error in Dimension and Position: they were short instead of unsigned short, causing issues for giant gifs. | ||
|
||
## [0.7.1] (2021-08-07) | ||
|
||
- Memory optimization (free data from memory early). | ||
- Get rid of the useless BitmapShader in the GifDrawable. | ||
* Memory optimization (free data from memory early). | ||
* Get rid of the useless BitmapShader in the GifDrawable. | ||
|
||
## [0.7.0] (2021-08-07) | ||
|
||
- Update documentation. | ||
- Minor refactor (Point becomes Position). | ||
- Upgrade Android Gradle Plugin to 7.0.0, and dependencies in general. | ||
- Deprecate setRepeatCount and getRepeatCount in the GifDrawable. | ||
* Update documentation. | ||
* Minor refactor (Point becomes Position). | ||
* Upgrade Android Gradle Plugin to 7.0.0, and dependencies in general. | ||
* Deprecate setRepeatCount and getRepeatCount in the GifDrawable. | ||
|
||
## [0.6.1] (2021-07-09) | ||
|
||
- Upgrade gradle wrapper to 7.1.1. | ||
- Bump libraries, including AGP and kotlin. | ||
- Add a few comments there and there. | ||
- Change package of utility classes. | ||
* Upgrade gradle wrapper to 7.1.1. | ||
* Bump libraries, including AGP and kotlin. | ||
* Add a few comments there and there. | ||
* Change package of utility classes. | ||
|
||
## [0.6.0] (2021-05-15) | ||
|
||
- Update kotlin to 1.5.0. | ||
- Update AGP to 4.2.1. | ||
* Update kotlin to 1.5.0. | ||
* Update AGP to 4.2.1. | ||
|
||
## [0.5.1] (2021-03-31) | ||
|
||
- Get rid of netty, replaced by a naive homebrew solution. | ||
* Get rid of netty, replaced by a naive homebrew solution. | ||
|
||
## [0.5.0] (2021-03-26) | ||
|
||
- Breaking: parser and Gif now avoid Exceptions, in favor of Result<>. | ||
- Bump a few libs and kotlin. | ||
* Breaking: parser and Gif now avoid Exceptions, in favor of Result<>. | ||
* Bump a few libs and kotlin. | ||
|
||
## [0.4.0] (2021-02-27) | ||
|
||
- Introduce an API to decode files directly via a random access file instead of loading everthing from an InputStream. | ||
* Introduce an API to decode files directly via a random access file instead of loading everthing from an InputStream. | ||
|
||
## [0.3.0] (2021-02-26) | ||
|
||
- Change package name to app.redwarp.gif (because I don't own the domain redwarp.net). | ||
- Change publication repository to Maven Central. | ||
* Change package name to app.redwarp.gif (because I don't own the domain redwarp.net). | ||
* Change publication repository to Maven Central. | ||
|
||
## [0.2.2] (2021-01-08) | ||
|
||
- Adds a constant state to the GifDrawable, to facilitate copy. Uncharted territory. | ||
* Adds a constant state to the GifDrawable, to facilitate copy. Uncharted territory. | ||
|
||
## [0.2.1] (2021-01-08) | ||
|
||
- Increase robustness of GIF parsing by not throwing an exception on a wrong disposal method. | ||
* Increase robustness of GIF parsing by not throwing an exception on a wrong disposal method. | ||
Instead, default to "not specified". | ||
|
||
## [0.2.0] (2021-01-08) | ||
|
||
- Improve timing of frames by having the loop independant of the draw call. | ||
- Made sure that if the drawable is not drawn again, the loop stops. No need to calculate in vacum. | ||
* Improve timing of frames by having the loop independant of the draw call. | ||
* Made sure that if the drawable is not drawn again, the loop stops. No need to calculate in vacum. | ||
|
||
## [0.1.1] (2021-01-06) | ||
|
||
- Code cleanup | ||
* Code cleanup | ||
|
||
## [0.1.1] (2021-01-05) | ||
|
||
- Initial release | ||
- API is not stable/final yet. | ||
* Initial release | ||
* API is not stable/final yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters