Commit Graph

1328 Commits

Author SHA1 Message Date
Daniel Holbert
901759a6ef Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00
Mats Palmgren
702b90e2aa Bug 610601 - re-use the frame only if there is image data. r+a=joe 2010-12-08 03:20:52 +01:00
Daniel Holbert
b0db35142b Bug 614392 patch 2: Update concrete imgIContainer::GetType() implementations with NS_IMETHOD_(). r=joe sr=bz a=blocking-beta9+ 2010-12-07 10:40:28 -08:00
Daniel Holbert
f715fd8c32 Bug 614392: Use [noscript, notxpcom] instead of "%{C++" for convenience method imgIContainer::GetType. r=joe sr=bz a=blocking-beta9+ 2010-12-07 10:38:21 -08:00
Emmanuel Gil Peyrot
e0e2698968 Bug 606990 - Remove CAIRO_HAS_DDRAW_SURFACE/CAIRO_DDRAW_USE_GL dead code. r=vlad,jmuizelaar a=bsmedberg 2010-11-24 11:11:45 +01:00
Joe Drew
c09e907566 Bug 528946 - Move the iframe below the script in test_bug497665.html so we don't get checkFirst is not defined when the iframe's onload races parsing the script, a=test 2009-11-19 13:46:00 -08:00
Alon Zakai
8c2350d5af Bug 609752 - Remove mChannel from nsProgressNotificationProxy. r=dougt,jduell a=blocking-fennec 2010-11-21 11:21:57 -08:00
Daniel Holbert
c1f07be8c6 Bug 612662 patch 4: Prevent reentrant calls to VectorImage::Draw, and prevent scrollbars (even unpainted ones) in SVG-as-an-image helper documents. r=roc a=blocking-final+ 2010-11-19 08:56:06 -08:00
Daniel Holbert
b34bc7fce4 Bug 611797 part 2: Shift shared code from VectorImage/RasterImage to Image superclass, and add impl for VectorImage::ShouldAnimate. r+a=joe 2010-11-17 12:39:23 -08:00
Daniel Holbert
270fe09e87 Bug 611797 part 1: Expand NS_DECL_IMGICONTAINER in RasterImage & VectorImage. r+a=joe 2010-11-17 12:37:08 -08:00
Daniel Holbert
81cf8876e1 Bug 610796 followup: Fix non-libxul build issue from main patch, by using a virtual function call to a helper method. (Revert this changeset once we drop support for non-libxul builds). r=roc a=blocking-final+ 2010-11-16 15:19:21 -08:00
Daniel Holbert
a2c43c8b3e Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
061141f4a4 Backed out changeset 5a5ead36d721 (bug 610796) due to non-libxul-build bustage 2010-11-16 11:24:04 -08:00
Daniel Holbert
a8277ced14 Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
0f8a89b3b5 Bug 610491: Preemptively stop SVG animations in SVG-as-an-image in OnStartRequest. r=roc a=roc 2010-11-16 10:35:59 -08:00
Matt Woodrow
ced3693cdf Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Daniel Holbert
6c15ec8375 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
229960c414 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
074ce91253 Bug 610216 - Fix build bustage when SMIL is disabled. r=dholbert a=bustage 2010-11-08 10:59:59 +01:00
Daniel Holbert
c56a6df9b7 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
dfa15fbaa9 Bug 591145 - Remove configure checks for encoders. r=khuey a=bsmedberg 2010-11-05 18:23:05 +01:00
Jory A. Pratt
62693166cc 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
bcadafcc7b correctly remove event listeners in browser_image.js 2010-10-21 10:11:52 +02:00
Dão Gottwald
f79b9320bb no bug - stop using switchToTabHavingURI in this test
--HG--
extra : rebase_source : 5d008141da6e923c003d00bb7e48cd1d482a483e
2010-10-17 21:50:15 +02:00
Dão Gottwald
fc5b43c997 Backed out changeset 6e4cddb22430 in order to fix debug test failures 2010-10-17 21:34:08 +02:00
Dão Gottwald
ac4aee4e8c no bug - stop using switchToTabHavingURI in this test
--HG--
extra : rebase_source : a27d931a8067443d8c183a5650025e2d212bc00e
2010-10-16 19:48:29 +02:00
Ehsan Akhgari
2cd994e2d1 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
21ffc841c6 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
28f9e7df01 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
d69ca293fd Bug 601557 - Retain requests to avoid early GC. 2010-10-04 04:38:42 -04:00
Daniel Holbert
22914ca238 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
7ff86033dd 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
d0a05da6a3 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
0e0e895f9e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Joel Maher
c5435ea8f3 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
598875a11b 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
e23595f3c1 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
070fb82846 Bug 590116. r=joe, sr=vlad, a=blocking-betaN+ 2010-09-14 21:45:32 +05:30
Daniel Holbert
54a4012873 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
40ae4c2141 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
ef5de07886 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
6602afc21b 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
7e4eafdb4f 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
00e08f5d34 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
3908bca6f8 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
4117f60321 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
8d15e5f9b2 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
2425e04135 Bug 514033 - Error recovery for imagelib - part 8 - Remove GIFWrite.r=joe,a=blocker 2010-09-12 08:22:30 -07:00
Bobby Holley
00e7ec9676 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
0578a96924 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