Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-05 | Use set style for imports. | Sam Judd | |
2014-10-26 | Protect error logging with DEBUG property. | Sam Judd | |
Fixes #171. | |||
2014-10-26 | Always use ARGB_8888 to decode gif frames. | Sam Judd | |
Fixes #216. | |||
2014-10-26 | Synchronize gif decoder getNextFrame. | Sam Judd | |
This does not make GifDecoder thread safe in that it doesn't guarantee that a decoder will decode a particular frame, but should keep state consistent and prevent crashes from concurrent writes to buffers. Fixes #212. | |||
2014-10-23 | Document width/height values. | Sam Judd | |
Fixes #145. | |||
2014-10-23 | Clear data from GifHeaderParsers before pooling. | Sam Judd | |
2014-10-22 | Return null when gif frame cannot be decoded. | Sam Judd | |
More work toward #212. | |||
2014-10-21 | Set minimum and default frame delays. | Sam Judd | |
Fixes #205. | |||
2014-10-21 | Clean up GifDrawable resources more reliably. | Sam Judd | |
Each time we call get() on a drawable resource, we get a new Drawable. We call get() repeatedly on resources when they are retrieved from either the set of active resources or the in memory cache. Each time we create a new GifDrawable it holds on to one or two temporary Bitmaps outside it's shared state to render the current frame and obey the dispose_previous method. This change means we more aggressively cleanup those resources when we think each Drawable is no longer being used. The side affect is that we may reset back to the beginning of the Drawable in some circumstances. Cleanup in in memory resources makes it less likely that frames would be retrieved from in memory, so this also works toward #207. | |||
2014-10-21 | Always decode gif frames in sequence. | Sam Judd | |
Fixes #207. | |||
2014-10-19 | Reset frame pointer in setData in GifDecoder. | Sam Judd | |
Fixes #204. | |||
2014-10-19 | Decode GIFs with more codes than can fit in table. | Sam Judd | |
Fixes #203 | |||
2014-10-19 | Set transIndex for GIFs with transparent pixels. | Sam Judd | |
Fixes #201. | |||
2014-10-18 | Skip image blocks in parser. | Sam Judd | |
2014-10-17 | Add api to set default decode format. | Sam Judd | |
Fixes #177. | |||
2014-10-02 | Add a GifEncoder/GifResourceEncoder. | Sam Judd | |
2014-09-28 | Decode first gif frame before returning resource. | Sam Judd | |
Fixes #159. | |||
2014-09-14 | Allow GIFs without Graphics Control Extensions. | Sam Judd | |
The GCE is an optional extension that may or may not be included per frame (it's slightly more complicated than this), we shouldn't throw if it isn't present. Fixes #134. | |||
2014-08-31 | Fix some comments: - typos, - documented empty blocks, - shortened some ↵ | Robert Papp | |
{@link}s, - converted some multi-line comments to single-line/javadocs. | |||
2014-08-05 | Fold GifData into GifDrawable. | Sam Judd | |
2014-08-03 | Fix concurrency exceptions in GifResourceDecoder. | Sam Judd | |
2014-07-14 | Add checkstyle for javadocs. | Sam Judd | |
2014-07-14 | Fix issues with artifacts in certain gif frames. | Sam Judd | |
2014-07-11 | Fix exception when GIF can't be decoded | Sam Judd | |
We get a GifHeader object, but it has 0 frames which eventually causes a divide by zero exception. Since the real problem is that we couldn't decode the gif, we check in the decoder if the decode failed and then simply return null. | |||
2014-07-10 | Provide final frame dimensions to GifDrawable. | Sam Judd | |
This allows the intrinsic width and height to be constant which plays more nicely with the android framework. | |||
2014-07-02 | Add checkstyle plugin and and fix style issues. | Sam Judd | |
2014-06-17 | Fix exception where currentImage is manipulated. | Sam Judd | |
2014-06-16 | Fix gifs showing images from recycled bitmaps. | Sam Judd | |
2014-06-16 | Move GifDecoder related classes into third_party. | Sam Judd | |