Commit Graph

129 Commits

Author SHA1 Message Date
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Seth Fowler
8c3903226a Bug 871671 - Only pause the PNG decoder when we really need a new frame. r=joe
--HG--
extra : rebase_source : e2ae7acd6005e5913f2c3d45c83771c8fbed729c
2013-05-22 09:52:10 +08:00
Ed Morley
6a4be11ca0 Backed out changeset fea91386092f (bug 871671) 2013-05-21 12:39:25 +01:00
Seth Fowler
39660769e8 Bug 871671 - Only pause the PNG decoder when we really need a new frame. r=joe 2013-05-21 17:36:22 +08:00
Joe Drew
071c6950d2 Bug 869125 - Use the preallocated first frame in the PNG and GIF decoders when possible so we don't flash unnecessarily. r=seth
--HG--
extra : rebase_source : b2b914fd86c7946392588726082b885b09a97b37
2013-05-07 22:25:03 -04:00
Glenn Randers-Pehrson
373912d113 Bug 857040 - Warn on bad CRC instead of error exit. r=joe 2013-05-06 09:04:16 -04:00
Alfred Kayser
d63916b4eb Bug 685471 - In PNG decoder, the allocating of mHeaderBuf can be prevented. (followup) r=joe@drew.ca 2013-05-04 13:42:26 +02:00
Alfred Kayser
8374926681 Bug 685471 - In PNG decoder, the allocating of mHeaderBuf can be prevented. r=joe@drew.ca 2013-05-04 11:39:47 +02:00
Joe Drew
d9e7df5f65 Bug 863958 - Don't call SetSize from the ICO decoder if we already have the size. r=seth
--HG--
extra : rebase_source : 924fbe8460992b919d3d7072d162f23eaef30e2f
2013-04-25 16:34:30 -04:00
Timothy Nikkel
13ed3b291e Bug 863970. Remove some dead code in imagelib. r=seth 2013-04-24 23:37:00 -05:00
Joe Drew
c7c11b03b9 Bug 863123 - Set APNG attributes on the right frame, rather than one frame behind. r=seth 2013-04-22 10:57:17 -04:00
Masatoshi Kimura
7c989863ee Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
Seth Fowler
f9d0108ed6 Bug 857623 - Ensure we always call PostFrameStop before PostDecodeDone in nsGIFDecoder2.cpp. r=tn 2013-04-05 18:02:39 -07:00
Jonathan Kew
dd3cfda9ac bug 854441 - prefer downscaling a larger icon rather than upscaling a smaller one, if exact size is not available. r=seth 2013-04-02 08:18:09 +01:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Shih-Chiang Chien
c665155214 Bug 852053 - Support WBMP on FirefoxOS only. r=joe 2013-03-20 14:03:07 +08:00
Joe Drew
897f5fe8e0 Bug 853536 - Never write to size-only decoders when we've already gotten the size. r=jrmuizel
--HG--
extra : rebase_source : 14e8cf30dc665eab10e04ef643513bcfad633ea2
2013-03-23 11:05:55 -04:00
Joe Drew
1587c1c909 Bug 853337 - Make sure we actually call Flush and MarkDirty on frames when we've done some decoding work. r=seth 2013-03-22 22:05:44 -04:00
Wes Johnston
e254391954 Bug 419588 - Add support for a resolution media fragment. r=seth 2013-03-22 16:12:40 -07:00
Joe Drew
b331eb8555 Bug 716140 - Allocate frames asynchronously with a separate worker dispatched to the main thread. r=seth
--HG--
extra : rebase_source : 116fa383362c5ff7016e81c345645fa2607cf9a3
2013-02-27 14:23:08 -05:00
Joe Drew
5b5ff16d15 Bug 716140 - Set the size of images via ImageMetadata objects. r=seth
* * *
imported patch jpeg-size-decode-more-writing

--HG--
extra : rebase_source : 34f28c95b7164c35678f9e61faa3a8497da25893
2013-02-27 14:23:08 -05:00
Joe Drew
39b180a45f Bug 716140 - Set metadata directly on frames. r=seth
--HG--
extra : rebase_source : d3899816bb6b5f816955a53c2cd7ad1bf8ad788a
2013-02-27 14:23:08 -05:00
Joe Drew
7d7f4428f7 Bug 716140 - Preallocate frames before going into a decoder. r=seth
--HG--
extra : rebase_source : 6445356bc4a01ac2890eca855103e58bda772095
2013-02-01 20:06:30 -05:00
Joe Drew
a4fb0a698b Bug 716140 - Always run a size decode before doing a full decode so we know the size before decoding. r=jlebar
--HG--
extra : rebase_source : de3388c861b00b135b658ea9a9225b0cc58e389a
2013-01-31 13:38:24 -05:00
Joe Drew
ffcb478530 Bug 716140 - Make animated image formats (PNG and GIF) explicitly pause decoding and ask for a new image frame when they need new frames.
--HG--
extra : rebase_source : 3a4148d8d144784075ec88668359c333420c3d4a
2013-01-28 12:27:35 -05:00
Joe Drew
7aa4fdd72d Bug 716140 - Make mImageData and mColormap (and their sizes) protected members of mozilla::image::Decoder rather than the leaf classes.
--HG--
extra : rebase_source : d4f506a669d5b18a33676434ad0cc512216956d5
2013-01-28 12:26:36 -05:00
Joe Drew
e3aad71854 Bug 716140 - Add SetObserver method to Decoder instead of initializing it in the constructor. r=seth
In order to have "throw-away" imgStatusTrackers that we'll use to track an
individual decode chunk's status, we need to be able to change the observer on
a decoder.

--HG--
extra : rebase_source : b10a050022f80dddeeea62e77d3f208598311d4f
2013-01-18 16:47:18 -05:00
Joe Drew
7ab61b029d Bug 716140 - Track image metadata in a separate object, and sync it to the image once decoding is done. r=jlebar
--HG--
extra : rebase_source : ba1173bc1cf090ed02f3a9a7927382c302576088
2012-12-20 11:49:25 -05:00
Joe Drew
8a43b8d666 Bug 716140 - Don't call Set* methods directly on images from decoders; call them from the Decoder base class. r=seth
--HG--
extra : rebase_source : 9f7ec3cb8b8393053abbc872d706a6304a157d55
2012-12-19 15:11:42 -05:00
Gregory Szorc
09e7b06723 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Shih-Chiang Chien
52d6dc4b9b Bug 847310 - WBMP decoder implementation. r=joe 2013-03-08 11:17:29 +08:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
58b7ec0116 Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.

--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Ryan VanderMeulen
9e38519fb1 Backed out changeset 45d4f7b16c2f (bug 847559) for bustage. 2013-03-05 12:59:00 -05:00
Joe Drew
5eda554e17 Bug 847559 - Handle writes to a size-only JPEG decoder after we've gotten the size. r=seth
--HG--
extra : rebase_source : c02aa4f03dbba90d07f55d383a507bb27f605287
2013-02-27 14:23:08 -05:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
afd08540c0 Bug 784841 - Part 18p: Convert /image; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Josh Matthews
e67f726896 Bug 844684 - Decode GIFs that include an application extension string shorter than 11 bytes. r=joe 2013-02-27 00:24:18 -05:00
Daniel Holbert
5854492293 Bug 837313: Mark image/decoders, image/decoders/icon, and image/decoders/icon/win as FAIL_ON_WARNINGS. r=joe 2013-02-01 23:19:15 -08:00
Chris Peterson
cd87a59758 Bug 834611 - Part 3: Mark widget/android, mozglue/android, and image/decoders/icon/android as FAIL_ON_WARNINGS. r=kats 2013-01-25 11:03:56 -08:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Filippo Cristofoletti
e96b538e75 Bug 243763 - explicit cast from LONG to int8_t. r=bbondy 2013-01-11 12:05:31 -05:00
Seth Fowler
9ab61d4fcd Bug 822846 - Use nsMimeTypes.h instead of working with literal strings in imagelib. r=joe 2013-01-08 13:40:47 -08:00
Ryan VanderMeulen
1ed577fa28 Backed out changeset 5244caae8c46 (bug 822846) for Windows build bustage. 2012-12-23 11:45:38 -05:00
Seth Fowler
7278eff009 Bug 822846 - Use nsMimeTypes.h instead of working with literal strings in imagelib. r=joe 2012-12-19 13:33:56 -08:00
Neil Rashbrook
b87325632b Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Joe Drew
d070cfdc5f Bug 716140 - Convert the XPCOM imgIDecoderObserver interface into a private C++ interface, imgDecoderObserver, so we can more easily make changes to it. r=jrmuizel 2012-12-18 11:37:15 -05:00