Commit Graph

717 Commits

Author SHA1 Message Date
Joel Maher
c6cc559d6f Bug 636753 - annotate reftest manifests to note tests that fail on Android (2 of 2). r=dbaron a=test-only 2011-03-18 11:54:15 -04:00
Daniel Holbert
7898bd203a Bug 614649, patch 0: In SVG-as-an-image internals, rename "mNeedsPreserveAspectRatioFlush" & friends to "mImageNeedsTransformInvalidation". r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Karl Tomlinson
80d6421e45 b=631978 check old icon names first for bidi icons r=roc a=blocking-betaN+ 2011-02-08 17:31:00 -05:00
Karl Tomlinson
b32fc2f6bd b=621962 modifiy comment to address review on patch in 57536671a363; a=comment only change which blocks a hardblocker! 2011-02-08 17:30:42 -05:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Karl Tomlinson
aa266c5603 b=621962 convert -ltr/-rtl moz-icon stock names to gtk stock ids r=roc a=blocking-final+ 2011-02-03 12:24:33 -05:00
Karl Tomlinson
4b4ff7a007 b=621962 no longer add stock id to icon name mappings for icons found by name r=roc 2011-02-03 12:22:52 -05:00
Karl Tomlinson
bbb387b3d8 b=621962 rearrange nsIconChannel::Init to make what is happening clearer r=roc 2011-02-03 12:22:33 -05:00
Karl Tomlinson
6cfe6c1fec b=621962 don't realize unnecessary windows for stock image widget r=roc 2011-02-03 12:22:09 -05:00
Karl Tomlinson
a7f9bc6e96 b=621962 remove support for compilation with GTK+ < 2.4.0 r=roc 2011-02-03 12:20:44 -05:00
Daniel Holbert
046dbe6c85 (no bug) Fix end-of-line whitespace in SVG-as-an-image code & tests. r+a=whitespace-only DONTBUILD 2011-02-02 22:36:09 -08:00
Glenn Randers-Pehrson
7229090f14 Bug 623796 - nsPNGDecoder.cpp:642:44: warning: passing NULL to non-pointer argument 2 of 'void MOZ_PNG_set_crc_action(png_struct*, int, int)'; r,a=joe
--HG--
extra : rebase_source : 747f5ffab5cb20bbd29f5382d214c30ee1ad87e5
2011-01-31 22:45:10 -05:00
Alon Zakai
7c927c7d4b Bug 601723 - Fix gifs not animating on page reload. r=joe a=blocking-final 2011-01-26 10:52:42 -08:00
Daniel Holbert
9cd70e1bf6 Bug 627858: Use AutoSaveRestore objects in SVGDrawingCallback::operator(), rather than manually saving & restoring gfxContext state. r=jwatt a=roc 2011-01-24 10:32:34 -08:00
Max Stepin
9be21cad7f Bug 222176 - Animated GIF loops 1 time too many (additional patch); r,a=joe 2011-01-23 23:29:32 -05:00
Max Stepin
29190cb208 Bug 222176 - Animated GIF loops 1 time too many; r=bholly,joe a=joe 2011-01-21 15:18:01 -05:00
Ryan VanderMeulen
e7f3ef6be5 Bug 586130 - Warning C4099 fixes (libpr0n). r=joedrew a=bsmedberg 2011-01-20 19:49:09 -08:00
timeless@mozdev.org
5d6d929c9e Bug 619797 - imgRequest::Init should manage observer more carefully, r+a=joedrew 2011-01-09 09:48:00 -08:00
Vladimir Vukicevic
89eb608706 b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b 2011-01-12 17:45:13 -08:00
timeless@mozdev.org
610550a597 Bug 620898 warning ... will be initialized after mWindowId in Image and imgRequest. r=joe a=joe 2011-01-10 21:59:58 -08:00
Daniel Holbert
15a7fae4e1 Bug 623945: Null-check animationController before using it, in SVGDocumentWrapper::StartAnimation/StopAnimation. r=roc a=joe 2011-01-10 21:58:00 -08:00
Daniel Holbert
dae760be62 Bug 615423: Add null-check to SVGDocumentWrapper::StartAnimation, to fix shutdown crash. r=roc a=blocking-final 2010-12-20 10:44:05 -08:00
Mihai Sucan
6af7fd5fc9 Bug 603706 - Need a way to track the originating window for all nsIConsoleMessages; r=joe,bzbarsky, a=blocking2.0 2010-12-20 12:21:59 -04:00
Daniel Holbert
f7c70c8531 Bug 272288 Patch 3: Evaluate whether we should start animating, when SVG-as-image document finishes loading. r=roc a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
ebf2a2f077 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
Ehsan Akhgari
53a68bac14 Bug 629632 - Mark the intermittently failing tests as random; r=joe 2011-03-22 14:44:32 -04:00
Mats Palmgren
a1431d3f47 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
e8adc001f2 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
0ade119807 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
201fbb3800 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
ddfb4ec44c 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
e25f68a8cf Bug 609752 - Remove mChannel from nsProgressNotificationProxy. r=dougt,jduell a=blocking-fennec 2010-11-21 11:21:57 -08:00
Daniel Holbert
6f00bf9e8b 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
7d7735705e 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
d54a0c55a5 Bug 611797 part 1: Expand NS_DECL_IMGICONTAINER in RasterImage & VectorImage. r+a=joe 2010-11-17 12:37:08 -08:00
Daniel Holbert
cca5a43b65 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
d55cd7386a 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
c8a54bc253 Backed out changeset 5a5ead36d721 (bug 610796) due to non-libxul-build bustage 2010-11-16 11:24:04 -08:00
Daniel Holbert
ff2dff48de 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
3a7978ffc3 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
0a67be7b51 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
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