Commit Graph

66 Commits

Author SHA1 Message Date
Matt Woodrow
08c9e05cce Bug 715916 - Check the result of GetFrame in RasterImage::GetImageContainer. r=joe 2012-01-11 13:33:20 +13:00
Kyle Huey
3a27625aad Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Jeff Muizelaar
09e3da77b4 Bug 695859. Don't progressively display images during decode if we have all of the data. r=bholley
This should reduce the amount of image repainting that happens during download.

--HG--
extra : rebase_source : 2dd2ea707e163fbf2ef344ba17e944b5c8f227fd
2011-10-19 18:06:14 -04:00
Jeff Muizelaar
fa7bc8f2f2 Bug 715240. Only track decode on draw latency when we have all of the data. r=joe,f=jlebar
Previously, could start counting before the image was completely downloaded. This
would cause the download time to be included.

--HG--
extra : rebase_source : 42a208c345e338e2fc7141d5b1b4a9d8cc32720b
2011-12-19 16:42:36 -05:00
Brian R. Bondy
f903525b7b Bug 683205 - Reftests for RLE8 BMPs. r=joe.
--HG--
rename : image/test/reftest/bmp/bmp-8bpp/os2bmp-size-32x32-8bpp.bmp => image/test/reftest/bmp/bmp-8bpp/os2-bmp-size-32x32-8bpp.bmp
2012-01-03 21:37:59 -05:00
Jeff Walden
82023879ca Bug 714572 - Fix nearly all clang warnings building image/. r=bholley
--HG--
extra : rebase_source : 585983448ac6dae86d309530d5ddbda856bdcfa9
2012-01-02 14:23:41 -06:00
Justin Lebar
a02be5e264 Bug 712959 - Imagelib should notice when all image.mem.* prefs change. r=joe 2011-12-22 09:21:00 -05:00
Bobby Holley
4b6add2c77 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
aceman
42a71aa907 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Carlo Alberto Ferraris
f397e142ef Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Tim Abraldes
30a6568785 Bug 704558 - Added encoder options in encodeImage and encodeScaledImage. r=bbondy 2011-12-16 19:43:10 -05:00
Matt Brubeck
0b0e4462a3 Back out 97b8cff2764f (bug 376997) for Android reftest failures 2011-12-16 13:10:44 -08:00
Rob Campbell
6103bfc002 merge fx-team to m-c
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Carlo Alberto Ferraris
5c2ef67719 Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Brian O'Keefe
755f228bc5 Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Glenn Randers-Pehrson
9164a2768a Bug 392867 - libpng requires error callbacks to not return. Separate out nsPNGDecoder's ErrorCallback and WarningCallback, and call longjmp from ErrorCallback. r=joe a=ehsan 2011-12-14 14:49:25 -05:00
Brian R. Bondy
219f5b33ab Bug 710079 - ICO files that contain PNG would end in some uninitialized memory. r=joe. a=joe 2011-12-13 18:15:28 -05:00
Ms2ger
d1c6d7451e Bug 709522 - Remove unused imgFrame::Get{X,Y,Width,Height}; r=joe a=ehsan 2011-12-13 09:49:31 +11:00
Daniel Holbert
f64d8c413c Bug 708888: Remove no-longer-needed SVGDocumentWrapper::kSVGAtom. r=roc 2011-12-09 01:11:06 -08:00
Daniel Holbert
8e8e026462 Bug 708443 patch 2: disable debug output from animationPolling.js, and add emacs modeline. r=jwir3 2011-12-08 17:39:23 -08:00
Daniel Holbert
648631d434 back out 653fa694343e (Bug 704482) for leaks 2011-12-08 15:18:47 -08:00
Daniel Holbert
40ecf3af86 Bug 704482 patch 3: Mochitest to verify that we still allow certain whitelisted events to trigger SMIL animations in script-disabled environments. r=birtles r=jwir3
--HG--
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-SVGLoad.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-begin.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-beginEvent.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-end.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-endEvent.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-repeat.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-repeatEvent.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-repeatN.svg
rename : image/test/mochitest/test_changeOfSource.html => image/test/mochitest/test_smilEventsAllowedInImages.html
2011-12-08 13:34:09 -08:00
Daniel Holbert
0b2cb236d4 Bug 708443 patch 1: Remove call to nonexistent function 'imageLoadCallback' and other misc cleanup in animationPolling.js. r=jwir3 2011-12-08 13:31:29 -08:00
Matt Woodrow
78a47350cf Bug 705580 - Add animated image test that uses an ImageLayer. r=joe 2011-12-05 11:53:38 +13:00
Matt Woodrow
fd0cbc3f03 Bug 705580 - Remove the cached ImageContainer when the current frame changes. r=joe 2011-12-05 11:53:38 +13:00
Cameron McCormack
0fb03e07e0 Bug 703176 - Ensure all browser chrome mochitests do fail when uncaught JS exceptions occur. (v1.1) r=jmaher 2011-12-02 23:25:03 +11:00
Brian R. Bondy
92611c1537 Bug 700930 - BMP ICOs <= 8BPP can have bad color tables when processed partially. r=joe 2011-11-27 15:18:17 -05:00
Benoit Girard
e3cfcafa7f Bug 703231 - [Mac] Fix scan lines while decoding images caused by high quality down scaling. r=joe 2011-11-24 18:23:19 -05:00
Brian R. Bondy
79cc826316 Bug 687982 - innocuous uninitialized value fix in nsBMPDecoder. r=joe 2011-11-16 10:14:40 -05:00
Scott Johnson
0650ce0a3f Bug 702093 - Pre-load the reference image in the bullet animation polling test to overcome an intermittent orange. r=dholbert 2011-11-16 15:59:55 +13:00
Scott Johnson
2aa0b5cda6 Bug 702503 - Remove PR_TRUE/PR_FALSE added with bug 666446 and replace with bool values. r=dholbert
--HG--
extra : rebase_source : 6156ccbce49e7eeeb38488802a6f100d419b8335
2011-11-15 15:45:43 +13:00
Scott Johnson
b4d5bb9b4f Bug 702093 - Add debugging information to test_bullet_animation mochitest to assist in conquering bug 702093. r=dholbert 2011-11-14 14:19:32 +13:00
Brian O'Keefe
6817f95a05 Bug 650720 - Fix the JPEG and BMP encoders to composite onto black, instead of white. r=joe 2011-11-14 11:21:19 +13:00
Marco Bonardo
8c72c90eb0 Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
Gregory Szorc
3c849fad59 Merge b-s to m-c 2011-11-10 15:15:29 -08:00
Ed Morley
fddedbce14 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Joe Drew
75fffd167f Back out bug 674619 since it does things I didn't realize when I reviewed it. 2011-11-08 13:24:35 -05:00
Scott Johnson
dba867517c Bug 666446, Part 10/10 - Add mochitests to imagelib for testing animated gif image cases [r=dholbert,joe]. 2011-11-09 13:39:16 -08:00
Scott Johnson
63e27b0196 Bug 666446, Part 9/10 - Implement methods in RasterImage in order to faciliate refresh driver-based animations. [r=dholbert,joe] 2011-11-09 13:39:16 -08:00
Scott Johnson
e4fbf31815 Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats] 2011-11-09 13:39:15 -08:00
Michael Wu
34d5f356e4 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Yury
c373de63b1 Bug 674619 - cmyk image with adobe marker not converted properly. r=joe 2011-11-07 19:57:59 +00:00
Jeff Muizelaar
34d35f37f6 Bug 695962. imglib: Remove a bunch of null checks after new. r=bholley 2011-10-19 23:21:56 -04:00
Jeff Muizelaar
f24dfcb1b4 Bug 695498. Cleanup WriteToDecoder a little. r=bholley
Removes the unobvious CONTAINER_ENSURE() which makes the fact that we only
adjust mBytesDecoded when we don't have success more obvious. This also takes
out a check for mDecoder that is unneeded because of the kungFuDeathGrip.
2011-10-19 14:48:18 -04:00
Jeff Muizelaar
335ba970e4 Bug 691754. Change the decoder constructor to use a c++ reference instead of a pointer. r=joe
A raster image always outlives it's decoder so we can refer to it using a reference instead of a pointer.

--HG--
extra : rebase_source : 4859ee63656ad76833e2faf6bd6e1f1693085e0c
2011-09-29 09:17:13 -04:00
Marco Bonardo
c8b3b9cc5e Backout 8e79374481ff (bug 650720) for xpcshell test failure 2011-11-09 16:54:40 +01:00
Brian O'Keefe
c289f0a85b Bug 650720 - Fix the JPEG and BMP encoders to composite onto black, instead of white. r=roc,joedrew
Since canvas uses premultiplied alpha, just discard the alpha channel for the
desired result.
2011-11-09 15:56:16 +01:00
Matt Woodrow
0be2048708 Bug 695610 - Move ImageContainer caching into imgIContainer. r=joe 2011-11-09 16:14:41 +13:00
Boris Zbarsky
bc76c20cb9 Backed out changeset 0d2caaf1d0a8 (bug 432391) because the validator seems to trigger onload firing at some bogus time 2011-10-18 22:43:40 -04:00