Commit Graph

676 Commits

Author SHA1 Message Date
Daniel Holbert
e507b06630 Bug 610748: Stop SVGDocumentWrapper from trying to unregister as a shutdown observer (and spamming a failure warning) *during* shutdown. r=roc a=roc 2010-11-09 21:50:29 -08:00
Daniel Holbert
24d6b4c874 Bug 609814: Unregister SVGDocumentWrapper as XPCOM shutdown observer when we're done with it. r=roc a=blocking-final 2010-11-08 09:45:18 -08:00
Mounir Lamouri
b6a36b5882 Bug 610216 - Fix build bustage when SMIL is disabled. r=dholbert a=bustage 2010-11-08 10:59:59 +01:00
Daniel Holbert
0c7a86d62e Bug 606942: Pause SMIL Animation Controller (not just time container), and allow helper-images to suspend, when SVG-as-an-image is paused. r=roc a=blocking-final 2010-11-06 12:13:01 -07:00
Jory A. Pratt
ee9165f0b2 Bug 591145 - Remove configure checks for encoders. r=khuey a=bsmedberg 2010-11-05 18:23:05 +01:00
Jory A. Pratt
221b49a484 Bug 591145 - Remove option to not clobber when changing encoder. r=khuey a=bsmedberg 2010-11-05 18:22:56 +01:00
Dão Gottwald
6d06140d75 correctly remove event listeners in browser_image.js 2010-10-21 10:11:52 +02:00
Dão Gottwald
fb4740e982 no bug - stop using switchToTabHavingURI in this test
--HG--
extra : rebase_source : 5d008141da6e923c003d00bb7e48cd1d482a483e
2010-10-17 21:50:15 +02:00
Dão Gottwald
7b1c733e7a Backed out changeset 6e4cddb22430 in order to fix debug test failures 2010-10-17 21:34:08 +02:00
Dão Gottwald
1031ee6288 no bug - stop using switchToTabHavingURI in this test
--HG--
extra : rebase_source : a27d931a8067443d8c183a5650025e2d212bc00e
2010-10-16 19:48:29 +02:00
Ehsan Akhgari
50b7ea5c7b Bug 604495 - Memory corruption in the GIF decoder destruction; r=joe a=blocking-final+
--HG--
extra : rebase_source : cc0de4cde5c66dd69b446c0e0368a9d0560f40ca
2010-10-14 19:53:42 -04:00
Daniel Holbert
3c294d2cc5 Bug 589558, patch 1: Implement VectorImage::GetFrame & CopyFrame, using Draw. r=joe a=blocking-betaN+ 2010-10-12 12:00:30 -07:00
Alon Zakai
59ba7c8aa3 Bug 595142 - Animated gif/apng do not animate when used as background. r=bholley,joe a=blocking-final+ 2010-10-07 11:54:34 -07:00
Josh Matthews
90338b14d0 Bug 601557 - Retain requests to avoid early GC. 2010-10-04 04:38:42 -04:00
Daniel Holbert
0ab9d147fb Bug 543864 patch 2: Make VectorImage::GetWidth & GetHeight return 0 in case of errors. r=roc a=roc 2010-10-06 15:18:52 -07:00
Julian Seward
79013f2e5c Bug 543864 patch 1: Make RasterImage::GetWidth & GetHeight return 0 in case of errors. r=roc a=roc 2010-10-06 15:18:52 -07:00
Daniel Holbert
ea89a8f156 Bug 601470: Promote GetSourceDataSize & GetDecodedDataSize from RasterImage to Image superclass, and add implementations for VectorImage. r=joe a=joe
--HG--
rename : layout/reftests/svg/image/lime100x100.svg => modules/libpr0n/test/mochitest/lime100x100.svg
2010-10-06 08:37:12 -07:00
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