Commit Graph

709 Commits

Author SHA1 Message Date
Mounir Lamouri
cc33a99998 Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Joel Maher
77d017bea1 Bug 597056. Firefox browser-chrome tests are ending up in Fennec. ifdef them away for mobile builds. r=mfinkle. a=sayrer 2010-09-29 14:21:09 -04:00
Daniel Holbert
b4e3fd237e Bug 599497: Notify the SVG-as-image helper doc's parser of stop request before calling ContinueInterruptedParsing, to keep it from hanging when there's no data left. r=jst a=blocking-beta-7 2010-09-25 10:51:37 -07:00
Tom Brinkman
ceef26ba74 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Siddharth Agarwal
cfc0ed2c21 Bug 590116. r=joe, sr=vlad, a=blocking-betaN+ 2010-09-14 21:45:32 +05:30
Daniel Holbert
9280adab71 Bug 595401: Make SVGRootRenderingObserver toggle "mInObserverList" if it adds itself as a rendering observer. r=roc a=blocking
--HG--
extra : rebase_source : 9fc516456c13906f843c473d5c04c845cb4cacee
2010-09-13 17:06:53 -04:00
Bobby Holley
25302d83c3 Bug 514033 - Error recovery for imagelib - part 16 - Eliminate checks for infallible malloc, use infallible malloc when we need it.r=joe,a=blocker 2010-09-12 08:22:31 -07:00
Bobby Holley
6fd21749ad Bug 514033 - Error recovery for imagelib - part 15 - Rename Is*Error to Has*Error.r=joe,a=blocker 2010-09-12 08:22:31 -07:00
Bobby Holley
d802000b21 Bug 514033 - Error recovery for imagelib - part 14 - Log data errors to the console.r=joe,a=blocker 2010-09-12 08:22:31 -07:00
Bobby Holley
2def2be9ee Bug 514033 - Error recovery for imagelib - part 13 - Stop checking IsError() in decoder implementations.r=joe,a=blocker 2010-09-12 08:22:31 -07:00
Bobby Holley
d9a7098dd2 Bug 514033 - Error recovery for imagelib - part 12 - Make Decoder API methods return void.r=joe,a=blocker 2010-09-12 08:22:31 -07:00
Bobby Holley
6768bbbda2 Bug 514033 - Error recovery for imagelib - part 11 - Move error-case teardown notifications into Decoder::Finish(), and call it unconditionally.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
93bfdd8baa Bug 514033 - Error recovery for imagelib - part 10 - Make mObserver and friends Decoder-private.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
4f052631cc Bug 514033 - Error recovery for imagelib - part 9 - Coalesce end-of-decode notifications into superclass.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
6b88ca3f31 Bug 514033 - Error recovery for imagelib - part 8 - Remove GIFWrite.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
5b4da946e7 Bug 514033 - Error recovery for imagelib - part 7 - Move mIsHidden check inside nsPNGDecoder::EndImageFrame.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
578246d765 Bug 514033 - Error recovery for imagelib - part 6 - Get rid of EndFrameDecode() and friends.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
b3f97bdc86 Bug 514033 - Error recovery for imagelib - part 5 - Coalesce OnStartDecode into superclass.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
aad9b96c04 Bug 514033 - Error recovery for imagelib - part 4 - Stop returning errors from image decoders.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
83acf8a223 Bug 514033 - Error recovery for imagelib - part 3 - Make errors returned by superclass methods contingent only on IsError().r=joe,a=blocker 2010-09-12 08:22:28 -07:00
Bobby Holley
9401c8f0d2 Bug 514033 - Error recovery for imagelib - part 2 - Notify the superclass error reporting framework when an error occurs.r=joe 2010-09-12 08:22:27 -07:00
Bobby Holley
eb1d2f2ae8 Bug 514033 - Error recovery for imagelib - part 1 - Introduce error tracking to Decoder.r=joe,a=blocker 2010-09-12 08:22:27 -07:00
Bobby Holley
bb2adb491c Bug 593489 - Make Image hold onto its URI.r=joe,a=blockerblocker 2010-09-12 08:22:26 -07:00
Mounir Lamouri
afad64a8ef Bug 594952 - Fix compilation of SVGDocumentWrapper.cpp when SMIL is disabled. r=dholbert a2.0=bustage 2010-09-10 07:04:30 +02:00
Daniel Holbert
ecd6d13497 Bug 594650: Replace static variable in header file with static variable + accessor method, to fix codesighs & Composer.dll bustage. r=roc r=taras a=bustage 2010-09-09 09:41:58 -07:00
L. David Baron
c5062dc79d Fix missing negation. (Bug 276431) r=dholbert a=orange 2010-09-08 15:56:15 -07:00
Daniel Holbert
66639dce30 Bug 276431 Patch 14: Add SVGRootRenderingObserver helper-class, to catch invalidations in helper-document. r=roc a=blocking 2010-09-08 13:40:40 -07:00
Daniel Holbert
582d6bc46c Bug 276431 Patch 13: Fill in implementation for mozilla::imagelib::VectorImage. r=joe r=roc a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
7399c41bb2 Bug 276431 Patch 12: Add SVGDocumentWrapper helper-class. r=joe r=roc a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
d36664dafe Bug 276431 Patch 11: Add stub code for VectorImage. r=joe a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
f246613ef4 Bug 276431 Patch 10: Make imgContainer::Draw take image-viewport-size, and improve nsLayoutUtils drawing wrappers. r=roc r=joe a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
4212070b9f Bug 276431 Patch 7: Add sentinel value "mozilla::imagelib::kFullImageSpaceRect" in imgIContainer. r=joe a=blocking 2010-09-08 13:40:39 -07:00
Daniel Holbert
f3ccf9a90b Bug 276431 part 2: Add imgIContainer::GetRootLayoutFrame. r=joe a=blocking 2010-09-08 13:40:38 -07:00
Daniel Holbert
053e30a125 Bug 276431 part 1: For SVG images, pass through OnStartRequest/OnDataAvailable/OnStopRequest from imgRequest. r=joe a=blocking 2010-09-08 13:40:38 -07:00
Alon Zakai
b04266cca8 Tests for bug 359608 - Animated GIFs are animated even when user navigates to another page.r=joe,a=blocker 2010-09-07 17:34:18 -07:00
Alon Zakai
4606f548ac Bug 359608 - Animated GIFs are animated even when user navigates to another page.r=bholley,bz;sr=bz;a=blocker 2010-09-07 17:33:02 -07:00
Bobby Holley
5f50423481 Bug 590838 - Combine imgRequestProxy::mLocksHeld and imgRequestProxy::mDeferredLocks.r=joe 2010-08-25 23:21:34 -07:00
Max Stepin
078d2ce3cc Bug 580182. Make dispose=previous actually work correctly. r=joe, a=joe 2010-09-07 15:10:42 -04:00
Doug Turner
59a14c27ff Bug 592308. IsLowMemory() is terribly slow and there is nothing to do about it. r=bsmedberg a=blocking-fennec2.0 2010-09-02 19:02:06 -03:00
Dan Witte
ccd3c28130 Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
86583b1783 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Bobby Holley
75637d22a2 Bug 590252 - part 5 - Make RequestDecode() SyncDecode() on images that are small enough.r=joe,a=blocker 2010-08-26 15:54:21 -07:00
Bobby Holley
02d8f53c2f Bug 590252 - part 4 - Don't do progressive display on redecodes.r=joe,a=blocker 2010-08-25 19:07:01 -04:00
Bobby Holley
f537275f66 Bug 590252 - part 3 - Only flush invalidations when we need to.r=joe,a=blocker 2010-08-25 16:11:09 -04:00
Bobby Holley
de6f4e8b2f Bug 590252 - part 2 - Make decoder implementations use the Decoder superclass invalidation framework.r=joe,a=blocker 2010-08-24 17:12:04 -04:00
Bobby Holley
6cc5f55cb2 Bug 590252 - part 1 - Add framework to Decoder superclass to handle invalidations.r=joe,a=blocker 2010-08-24 16:40:45 -04:00
Bobby Holley
d0989f8f70 Bug 590260 - Decode more bytes at a time during image redecodes.r=joe,a=blocker 2010-08-25 18:58:27 -04:00
Dan Witte
8de0079a42 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Dan Witte
8937bd5738 Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+ 2010-08-25 17:51:21 -07:00
Dan Witte
f2000be3eb Merge. 2010-08-23 17:30:33 -07:00
Daniel Holbert
a4aa680184 (no bug) tabs-vs-spaces consistency fix in imagelib Makefile.in. [one-liner whitespace-only] a=NPOTB 2010-08-23 15:45:16 -07:00
Daniel Holbert
1270ce9d8f Bug 587902, part 3: Add NS_ABORT_IF_FALSE statements in imgStatusTracker for assumptions about mImage. r=joe a=blocking 2010-08-23 15:44:35 -07:00
Daniel Holbert
45d36a247a Bug 587902, part 2: Instantiate imgRequest::mImage only after we know its mimetype. r=joe a=blocking 2010-08-23 15:44:07 -07:00
Daniel Holbert
2605301c67 Bug 587902, part 1: Allow an imgStatusTracker to be instantiated before its Image. r=joe a=blocking 2010-08-23 15:44:07 -07:00
Daniel Holbert
03b9bef68e Bug 587800: Move GetCurrentFrameIndex & GetNumFrames from Image to RasterImage. r=bholley a=blocking 2010-08-23 15:44:07 -07:00
Daniel Holbert
3e6fd6e245 Bug 587779: remove unused nsresult return-val from Image::GetCurrentFrameRect. r=bholley a=blocking 2010-08-23 15:44:07 -07:00
Bobby Holley
9b62c35018 Bug 578357 - Use fallible allocation for image frames.r=joe,cjones;a=blocker 2010-08-23 15:42:51 -07:00
Daniel Holbert
104025f246 Bug 591014: Null-check mImage in imgRequestProxy::GetStaticRequest. r=joe a=blocking-beta5 2010-08-26 20:47:20 +00:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Dan Witte
4439f97632 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+ 2010-08-21 00:31:11 -07:00
Daniel Holbert
6c91434310 Bug 584841 patch 12: Rename variables & methods to use 'image' terminology instead of 'container'. r=bholley a=blocking 2010-08-13 21:09:51 -07:00
Daniel Holbert
2beeaed444 Bug 584841 patch 11: Move remaining imagelib-private methods from imgIContainer interface to Image abstract class. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
54b9eeb916 Bug 584841 patch 10: Give imgStatusTracker an Image* instead of imgIContainer*. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
ef4b0b88ba Bug 584841 patch 9: Move RasterImage-specific methods from imgIContainer interface to RasterImage class. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
9575c46247 Bug 584841 patch 8: Add method imgIContainer::GetImageType to distinguish Raster vs Vector Images. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
7bdd38e74d Bug 584841 patch 7: Rename imgContainer source files. r=bholley a=blocking
--HG--
rename : modules/libpr0n/src/imgContainer.cpp => modules/libpr0n/src/RasterImage.cpp
rename : modules/libpr0n/src/imgContainer.h => modules/libpr0n/src/RasterImage.h
2010-08-13 21:09:49 -07:00
Daniel Holbert
5dae469d66 Bug 584841 patch 6: Fix whitespace from imgContainer class rename. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
bf34a05c14 Bug 584841 patch 5: Rename imgContainer class to mozilla::imagelib::RasterImage. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
c562101036 Bug 584841 patch 4: Rename imgDiscardTracker source files. r=bholley a=blocking
--HG--
rename : modules/libpr0n/src/imgDiscardTracker.cpp => modules/libpr0n/src/DiscardTracker.cpp
rename : modules/libpr0n/src/imgDiscardTracker.h => modules/libpr0n/src/DiscardTracker.h
2010-08-13 21:09:49 -07:00
Daniel Holbert
9dfa690f63 Bug 584841 patch 3: Rename imgDiscardTracker class to mozilla::imagelib::DiscardTracker. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
fad731edb0 Bug 584841 patch 2: Use Image pointers in place of imgContainer pointers in a few places. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
615dfd73de Bug 584841 patch 1: Create mozilla::imagelib::Image abstract class. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
5b754a5516 Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
548c074147 Bug 582004 part 1: Make imgStatusTracker::*FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Bobby Holley
bb3ebd274f Bug 586566: Fold nsIconDecoder into decoders/bmp. r=dholbert a=blocking
--HG--
rename : modules/libpr0n/decoders/icon/nsIconDecoder.cpp => modules/libpr0n/decoders/bmp/nsIconDecoder.cpp
rename : modules/libpr0n/decoders/icon/nsIconDecoder.h => modules/libpr0n/decoders/bmp/nsIconDecoder.h
2010-08-13 21:09:48 -07:00
Bobby Holley
108e3fdc74 Bug 513681 - part 17 - remove imgIDecoder.r=joe,sr=shaver,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
d130c66290 Bug 513681 - part 16 - Move end-of-decode logic into Finish() and cleanup into destructor, abolishing Shutdown().r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
a8ba41c37a Bug 513681 - part 15 - Coalesce OnStartFrame/OnStopFrame into superclass.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
ec845f918a Bug 513681 - part 14 - Coalesce size-setting into superclass.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
18722046a2 Bug 513681 - part 13 - switch from "HEADERONLY" flag to IsSizeDecode()/SetSizeDecode().r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
68132bdc6f Bug 513681 - part 12 - Ensure that IsDecodeFinished() is only called with a non-null decoder.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
ffd3ad3887 Bug 513681 - part 11 - make RasterImage carry a pointer to a Decoder.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
2288ea1376 Bug 513681 - part 10 - make decoder implementations inherit from Decoder.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
6d36a28a66 Bug 513681 - part 9 - Move PNG callbacks into decoder class.r=joe,a=blocker 2010-08-22 22:30:46 -04:00
Bobby Holley
bb57916dc5 Bug 513681 - part 8 - Fold nsJPEGDecoder::Flush() into nsJPEGDecoder::Close().r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
d530205f84 Bug 513681 - part 7 - rename mImageContainer to mImage in nsGIFDecoder2 for consistency with the rest of the decoders.r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
a5f3d16c03 Bug 513681 - part 6 - Introduce Decoder.cpp and Decoder.h (with virtual destructor).r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
277ad1663a Bug 513681 - part 5 - move the decoders out of their subdirectories.r=joe,a=blocker
--HG--
rename : modules/libpr0n/decoders/gif/GIF2.h => modules/libpr0n/decoders/GIF2.h
rename : modules/libpr0n/decoders/jpeg/iccjpeg.c => modules/libpr0n/decoders/iccjpeg.c
rename : modules/libpr0n/decoders/jpeg/iccjpeg.h => modules/libpr0n/decoders/iccjpeg.h
rename : modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp => modules/libpr0n/decoders/nsBMPDecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsBMPDecoder.h => modules/libpr0n/decoders/nsBMPDecoder.h
rename : modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp => modules/libpr0n/decoders/nsGIFDecoder2.cpp
rename : modules/libpr0n/decoders/gif/nsGIFDecoder2.h => modules/libpr0n/decoders/nsGIFDecoder2.h
rename : modules/libpr0n/decoders/bmp/nsICODecoder.cpp => modules/libpr0n/decoders/nsICODecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsICODecoder.h => modules/libpr0n/decoders/nsICODecoder.h
rename : modules/libpr0n/decoders/bmp/nsIconDecoder.cpp => modules/libpr0n/decoders/nsIconDecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsIconDecoder.h => modules/libpr0n/decoders/nsIconDecoder.h
rename : modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp => modules/libpr0n/decoders/nsJPEGDecoder.cpp
rename : modules/libpr0n/decoders/jpeg/nsJPEGDecoder.h => modules/libpr0n/decoders/nsJPEGDecoder.h
rename : modules/libpr0n/decoders/png/nsPNGDecoder.cpp => modules/libpr0n/decoders/nsPNGDecoder.cpp
rename : modules/libpr0n/decoders/png/nsPNGDecoder.h => modules/libpr0n/decoders/nsPNGDecoder.h
2010-08-22 22:30:45 -04:00
Bobby Holley
aafd48c682 Bug 513681 - part 4 - Get rid of CIDs and friends for decoders.r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
315c1087fb Bug 513681 - part 3 - instantiate decoders without using COM goop.r=joe,a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
8d69ad0207 Bug 513681 - part 2 - remove support for the MOZ_IMG_DECODERS build option.r=joe,khuey.a=blocker 2010-08-22 22:30:45 -04:00
Bobby Holley
404336876f Bug 513681 - part 1 - fix a few warnings.r=joe,a=blocker 2010-08-22 22:30:44 -04:00
Bobby Holley
daad8d9668 Bug 587371 - Image.h PRUint32 getters shouldn't be COM-y. r=joe,a=blocker 2010-08-22 22:30:44 -04:00
Markus Stange
94f1a7ca57 Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe 2010-08-13 15:30:27 +02:00
Markus Stange
ac97761cb7 Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe 2010-08-13 15:30:02 +02:00
Olli Pettay
545eb51b42 Bug 589431 - Crash when using profile manager [@ mozilla::imagelib::DiscardTracker::ReloadTimeout ], r=bholley, a=blocking
--HG--
extra : rebase_source : c5039b467ea61a80ba835767c9dde328db52fb4c
2010-08-22 21:17:25 +03:00
Kyle Huey
c5800700be Backing out Bug 513681 and Bug 587371 for timeouts. 2010-08-22 10:13:09 -04:00
Bobby Holley
54a728146b Bug 513681 - part 17 - remove imgIDecoder.r=joe,sr=shaver,a=blocker 2010-08-14 15:48:06 -04:00
Bobby Holley
2679ea50c1 Bug 513681 - part 16 - Move end-of-decode logic into Finish() and cleanup into destructor, abolishing Shutdown().r=joe,a=blocker 2010-08-14 15:40:21 -04:00
Bobby Holley
2cfa69fe88 bug 513681 - part 15 - Coalesce OnStartFrame/OnStopFrame into superclass.r=joe,a=blocker 2010-08-14 13:41:04 -04:00
Bobby Holley
f7ddf62d00 Bug 513681 - part 14 - Coalesce size-setting into superclass.r=joe,a=blocker 2010-08-14 13:06:35 -04:00
Bobby Holley
46533669e3 Bug 513681 - part 13 - switch from "HEADERONLY" flag to IsSizeDecode()/SetSizeDecode().r=joe,a=blocker 2010-08-13 19:10:53 -04:00
Bobby Holley
4fed8a60e8 Bug 513681 - part 12 - Ensure that IsDecodeFinished() is only called with a non-null decoder.r=joe,a=blocker 2010-08-14 11:31:27 -04:00
Bobby Holley
bb217f49d1 Bug 513681 - part 11 - make RasterImage carry a pointer to a Decoder.r=joe,a=blocker 2010-08-13 18:58:54 -04:00
Bobby Holley
250ad09167 Bug 513681 - part 10 - make decoder implementations inherit from Decoder.r=joe,a=blocker 2010-08-12 15:58:25 -04:00
Bobby Holley
428182998f ug 513681 - part 9 - Move PNG callbacks into decoder class.r=joe,a=blocker 2010-08-12 15:53:31 -04:00
Bobby Holley
5d773a2acf Bug 513681 - part 8 - Fold nsJPEGDecoder::Flush() into nsJPEGDecoder::Close().r=joe,a=blocker 2010-08-12 14:16:36 -04:00
Bobby Holley
9cbae4f0a2 Bug 513681 - part 7 - rename mImageContainer to mImage in nsGIFDecoder2 for consistency with the rest of the decoders.r=joe,a=blocker 2010-08-12 13:58:44 -04:00
Bobby Holley
4e9dccf71f Bug 513681 - part 6 - Introduce Decoder.cpp and Decoder.h.r=joe,a=blocker 2010-08-10 20:11:12 -04:00
Bobby Holley
d7bebcd3f1 Bug 513681 - part 5 - move the decoders out of their subdirectories.r=joe,a=blocker
--HG--
rename : modules/libpr0n/decoders/gif/GIF2.h => modules/libpr0n/decoders/GIF2.h
rename : modules/libpr0n/decoders/jpeg/iccjpeg.c => modules/libpr0n/decoders/iccjpeg.c
rename : modules/libpr0n/decoders/jpeg/iccjpeg.h => modules/libpr0n/decoders/iccjpeg.h
rename : modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp => modules/libpr0n/decoders/nsBMPDecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsBMPDecoder.h => modules/libpr0n/decoders/nsBMPDecoder.h
rename : modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp => modules/libpr0n/decoders/nsGIFDecoder2.cpp
rename : modules/libpr0n/decoders/gif/nsGIFDecoder2.h => modules/libpr0n/decoders/nsGIFDecoder2.h
rename : modules/libpr0n/decoders/bmp/nsICODecoder.cpp => modules/libpr0n/decoders/nsICODecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsICODecoder.h => modules/libpr0n/decoders/nsICODecoder.h
rename : modules/libpr0n/decoders/bmp/nsIconDecoder.cpp => modules/libpr0n/decoders/nsIconDecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsIconDecoder.h => modules/libpr0n/decoders/nsIconDecoder.h
rename : modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp => modules/libpr0n/decoders/nsJPEGDecoder.cpp
rename : modules/libpr0n/decoders/jpeg/nsJPEGDecoder.h => modules/libpr0n/decoders/nsJPEGDecoder.h
rename : modules/libpr0n/decoders/png/nsPNGDecoder.cpp => modules/libpr0n/decoders/nsPNGDecoder.cpp
rename : modules/libpr0n/decoders/png/nsPNGDecoder.h => modules/libpr0n/decoders/nsPNGDecoder.h
2010-08-12 00:59:59 -04:00
Bobby Holley
6bb6a9c74b Bug 513681 - part 4 - Get rid of CIDs and friends for decoders.r=joe,a=blocker 2010-08-12 00:31:37 -04:00
Bobby Holley
1d73561460 Bug 513681 - part 3 - instantiate decoders without using COM goop.r=joe,a=blocker 2010-08-11 20:49:50 -04:00
Bobby Holley
9de0c252df Bug 513681 - part 2 - remove support for the MOZ_IMG_DECODERS build option.r=joe,khuey.a=blocker 2010-08-11 20:12:24 -04:00
Bobby Holley
3ae7b09e52 Bug 513681 - part 1 - fix a few warnings.r=joe,a=blocker 2010-08-13 18:15:20 -04:00
Bobby Holley
4d20b09df3 Bug 587371 - Image.h PRUint32 getters shouldn't be COM-y. r=joe,a=blocker 2010-08-14 18:23:47 -04:00
Bobby Holley
f82f638ea9 Bug 583825 - Progressive decoding/display of images no longer works; r=joe a=blocking
Since really we want to send OnStartContainer once per-proxy, it doesn't make the most sense to have such handling be done in imgRequest and imgStatusTracker. This patch moves all that into imgRequestProxy, and fixes the bug.
2010-08-12 11:59:37 -04:00
Joe Drew
c52fae20f3 Bug 583028 - Hold on to a runnable while it's outstanding, and add proxies for it to notify when it does get run. This makes us delay onload less. r=bholley a=blocking 2010-08-12 11:59:28 -04:00
Makoto Kato ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
9438e86b4d Use a known failure condition that more closely matches when the tests fail (when we use handwritten SSE2 assembly in the JPEG code), so that they don't produce unexpected pass results on 64-bit Windows. (Bug 582850) r=joedrew / dbaron a2.0=tests 2010-08-11 12:32:53 -07:00
Bobby Holley
ccbe5fc67b Bug 579122 - imgRequestProxy race condition can fire 2 OnStartDecodes in a row.r=joe 2010-08-02 15:44:49 -04:00
Daniel Holbert
c63155e8f1 (no bug, comment-only) Fix typo in comment with the condensed version of imgContainer's CID. 2010-08-05 07:53:43 -07:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Bobby Holley
7c0c7249a2 Bug 578591 and bug 579139 - Disable test_bug435296.html and test_bug478398.html due to intermittent orange. r=lumpy 2010-07-31 14:39:06 -04:00
L. David Baron
c06c57f6e6 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
L. David Baron
9cc2e9ec05 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Makoto Kato
2732a9078d Bug 578588 - Test suite may not work correctly on Win64 because navigator.platform is Win64. r=sayrer, a=Test Only 2010-07-30 17:18:45 +09:00
Joe Drew
42e42531be Bug 572520: step 9, test asynchronous notification for regular loads and channel loads on static, animated, and 404 images. r=jrmuizel,bholley 2010-07-28 14:52:59 -07:00
Joe Drew
9ecbf020a6 Bug 572520: step 8, make LoadImage and LoadImageWithChannel scriptable so they are testable from js unit tests. r=jrmuizel sr=vlad 2010-07-28 14:52:50 -07:00
Joe Drew
364a44e4bd Bug 572520: step 7.1, Add some logging to imgStatusTracker. r=bholley 2010-07-28 14:52:34 -07:00
Joe Drew
e2fa5f1de8 Bug 572520: step 7, delay otherwise-synchronous notifications, and send them asynchronously later. r=jrmuizel,bholley sr=bz 2010-07-28 14:52:14 -07:00
Joe Drew
dce4fe07b6 Bug 572520: step 6, centralize the tracking of load/decode status. Make a single class, imgStatusTracker, which keeps track of the state of an image, and also takes care of calling notifications on imgRequestProxys. r=jrmuizel,bholley 2010-05-14 16:47:59 -04:00
Joe Drew
92722f5a0a Bug 572520: step 5, remove imgContainerRequest because it duplicates the body of NotifyProxyListener. Put its required abilities into imgRequestProxy and imgContainer. r=jrmuizel 2010-05-10 23:27:41 -04:00
Joe Drew
2dcfdc1cef Bug 572520: step 4, don't restart animation in NotifyProxyListener, do it in AddProxy instead. r=jrmuizel,bholley 2010-05-10 23:25:11 -04:00
Joe Drew
e6a143b60a Bug 572520: step 3, remove unused parameters on imgRequestProxy::on*. r=jrmuizel,bholley 2010-05-10 23:25:11 -04:00
Joe Drew
a66fc6b5d5 Bug 572520: step 1, undef LoadImage all over the place. r=jrmuizel,bholley 2010-07-28 14:51:37 -07:00
Bobby Holley
3b9b8747c5 Bug 580669 - Mac Menu icon crash with enabled image discarding.r=joe 2010-07-26 16:45:15 -04:00
Ilpo Ruotsalainen
820e122c88 Bug 489142 - Use fastpath in JPEG decoder when CMS mode is tagged-only. r=joedrew, approval2.0=benjamin
--HG--
extra : rebase_source : 7759b352b6b39c2fd6407e0614cbd342fd4f84db
2010-07-16 14:05:40 -07:00
timeless@mozdev.org
8ad4980739 Bug 577230 nsJPEGEncoder::mImageBufferReadPoint will be initialized after nsJPEGEncoder::mFinished
r=jmuizelaar

--HG--
extra : rebase_source : 4749619bdf1ffad836353da6d22a9f37377d8080
2010-07-07 12:38:40 +03:00
timeless@mozdev.org
9868ec7503 Bug 577992 warning: unused variable ‘isSentinel’ in imgDiscardTracker::Reset
r=bholley

--HG--
extra : rebase_source : 790bb046a21e45ca79c23cfc522cf89430467f8b
2010-07-15 15:55:04 +03:00
Dão Gottwald
844a6ea7d9 remove bogus test for bug 521495 2010-07-15 11:35:33 +02:00
Nils Maier
bc6be3b7e3 Bug 521495 - moz-icon:// protocol does not work with SVG icons. r=joe
--HG--
extra : rebase_source : 4db9f6f86c2a2811d2b21dc28a4ede4216f4e705
2010-07-15 10:14:11 +02:00
Bobby Holley
1bd914f84a Added some checks for the random orange in bug 578591.r=joe 2010-07-14 13:53:01 -04:00
Bobby Holley
4fa9fdbc7e Tests for bug 478398, as well as for a few others, now that we have a discard timer pref.r=joe 2010-07-13 13:30:39 -04:00
timeless@mozdev.org
a2ec57da57 Bug 577229 nsPNGEncoder::mImageBufferReadPoint will be initialized after nsPNGEncoder::mFinished
r=jmuizelaar

--HG--
extra : rebase_source : 20c5eb547b819fde0bdd915f7dc1f9a154e9ea57
2010-07-07 12:35:29 +03:00
deadfones@gmail.com
1e52c216e2 Bug 478398 - Don't hard code get_discard_timer_ms, use a pref instead.r=joe 2010-07-11 21:51:52 -04:00
Bobby Holley
b3dbd599a1 Bug 553982 - myvidoop.com login broken on trunk.r=joe 2010-07-11 21:11:03 -04:00
Bobby Holley
0d93ccdb3d Bug 576621 - clearing cache does NOT clear cached images.r=joe,gavin 2010-07-11 21:01:53 -04:00
Daniel Holbert
987e1c5c55 Bug 276431 helper-patch: Make args to imgIContainer::Draw const. r=joe 2010-07-05 13:49:05 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00