Commit Graph

504 Commits

Author SHA1 Message Date
Bobby Holley
ea8c2c8456 Bug 505385 - Part 0: Remove the last vestiges of manual animation reset within imagelib. r=joe
This stuff should now all be taken care of by the AnimationConsumers infrastructure.
2012-10-12 12:11:20 -04:00
Josh Matthews
08a5eceeeb Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
ae359191a3 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
1194df95ea Bug 505385 - Part 17: Clean up unused arguments in imgStatusTracker observers, document unclear things, etc. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
0ba2557f02 Bug 505385 - Part 17: Consolidate image request failure handling code into a central location and deal with preexisting errors correctly. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
7bc0fd2874 Bug 505385 - Part 15: Fix cases where pending requests in nsImageLoadingContent could be cancelled and never receive OnStartRequest. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
3b45c5148f Bug 505385 - Part 14: Update image request status on decoding errors. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
de69f2ada1 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
44a4791d51 Bug 505385 - Part 12: Ensure clones of static image proxies result in more static proxies. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
f3459980ad Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
2265705a65 Bug 505385 - Part 10: Remove GetConsumers from imgStatusTracker by delegating all remaining notification operations from imgRequest to the status tracker. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
6949f501f2 Bug 505385 - Part 9: Hoist decoder and container observer out of imgRequest into imgStatusTracker. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
af9ce4332d Bug 505385 - Part 8: Remove image reference from proxies, and delegate operations on images to the owning request or the status tracker. r=joe 2012-10-11 21:34:23 -04:00
Bobby Holley
c63c777ca4 Bug 505385 - Part 7: Initialize imgRequestProxy with a status tracker. r=joe
This is sort of symbolic for now, since we keep mOwner and mImage and just
pull them off the tracker, but we'll soon change that. ;-)
2012-10-11 21:34:22 -04:00
Bobby Holley
7a41acba96 Bug 505385 - Part 6: Expose imgRequest::GetStatusTracker, and ensure that it's never null. r=joe
We're slowly turning imgStatusTracker into the central coordination point between imgRequest,
imgRequestProxy, and Image, so we need it to be a bit more visible.
2012-10-11 21:34:22 -04:00
Bobby Holley
c708293662 Bug 505385 - Part 5: Expose pointers to the imgRequest and Image on imgStatusTracker. r=joe
This will help us decouple imgRequest and imgRequestProxy.
2012-10-11 21:34:22 -04:00
Bobby Holley
07b4446c58 Bug 505385 - Part 4: Fix some warnings. r=joe 2012-10-11 21:34:22 -04:00
Bobby Holley
9abde7bec9 Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe 2012-10-11 21:34:22 -04:00
Bobby Holley
ee2a546a5b Bug 505385 - Part 1: Hoist proxy list into imgStatusTracker. r=joe 2012-10-11 21:34:22 -04:00
Bobby Holley
052f0f73fa Bug 505385 - Part 0: Remove the last vestiges of manual animation reset within imagelib. r=joe
This stuff should now all be taken care of by the AnimationConsumers infrastructure.
2012-10-11 21:34:22 -04:00
Trevor Saunders
9b60ca6b7e bug 797445 - remove prmem.h from imagelib r=joe 2012-10-03 14:10:31 -04:00
Kyle Huey
655e8a2821 Bug 799791: Remove unused boolean parameters and dead branches. r=jlebar 2012-10-11 09:35:43 -07:00
Kyle Huey
fde0463ade Bug 789846: Ensure that we unblock unload if we're only pretending that the request finished. r=joe 2012-10-09 09:47:14 -07:00
Adam Dane [:hobophobe]
b6c0d53efb Bug 793585 - Only default the shared state if it's not there. r=joe 2012-10-08 16:09:11 -05:00
Neil Rashbrook
7ed85d673e Bug 794884 Followup to export SupportImageWithMimeType from libxul for mimei.cpp r=joe 2012-10-07 19:01:08 +01:00
Ed Morley
cc9e8c3305 Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Justin Dolske
56267a7d31 Bug 793366 - Add noise to the white background used for transparent images in image documents. r=jaws r=bz r=joe
--HG--
rename : toolkit/themes/pinstripe/global/TopLevelImageDocument.css => toolkit/themes/pinstripe/global/media/TopLevelImageDocument.css
rename : toolkit/themes/pinstripe/global/TopLevelVideoDocument.css => toolkit/themes/pinstripe/global/media/TopLevelVideoDocument.css
rename : toolkit/themes/winstripe/global/TopLevelImageDocument.css => toolkit/themes/winstripe/global/media/TopLevelImageDocument.css
rename : toolkit/themes/winstripe/global/TopLevelVideoDocument.css => toolkit/themes/winstripe/global/media/TopLevelVideoDocument.css
2012-10-05 14:44:11 -07:00
Josh Matthews
8228273a70 Bug 792821 - Add more informative documentation to getImgCacheForDocument. r=joe 2012-09-25 23:51:18 -04:00
Ryan VanderMeulen
9f8074ca32 Backout e5269e137290, (bug 794606), e94dbc151121 (bug 794602), and 0ea0cfc7f6f4 (bug 792821) due to mochitest-other orange on a CLOSED TREE. 2012-10-04 19:34:19 -04:00
Josh Matthews
f72d24896e Bug 792821 - Add more informative documentation to getImgCacheForDocument. r=joe 2012-09-25 23:51:18 -04:00
Jeff Muizelaar
fa081a82fc Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.

--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Jeff Muizelaar
644f4e96df Bug 792954. Add a WeakPtr implementation to use instead of nsISupportsWeakReference. r=joe,ehsan,Waldo
This patch also replaces the usage of nsISupportsWeakReference in RasterImage as an example.

--HG--
extra : rebase_source : ac6a039dcc3227a04ac4c2221f38856bb308c695
2012-10-04 15:45:07 -04:00
Jeff Muizelaar
4751b78423 Bug 566370. Remove return type from AddProxy(). r=joe
No one checks it, and it's not really useful.

--HG--
extra : rebase_source : 164f3c18f707551670af1acd4d735f705903a9d2
2012-10-03 18:39:59 -04:00
Josh Matthews
ac15360713 Bug 795571 - Update nsIChannel consumers concerned with privacy status to use the correct NS_UsePrivateBrowsing. r=ehsan 2012-10-03 18:43:26 -04:00
Jeff Muizelaar
b3159f57d8 Bug 662246. Log image url in profiles during decoding. r=joe
--HG--
extra : rebase_source : 83a418d1b8b5dbb2d5f6bfe2725f04d0459cfca0
2012-10-03 16:36:26 -04:00
Joe Drew
b610b33b73 Back out 134f5b1d6d50 for leaking at shutdown on a CLOSED TREE 2012-10-03 16:31:28 -04:00
Jeff Muizelaar
c500015d76 Bug 794884. Make SupportImageWithMimeType return a bool. r=joe.
This cleans things up quite a bit.
---
 content/base/src/nsObjectLoadingContent.cpp |    4 +---
 docshell/base/nsWebNavigationInfo.cpp       |    4 +---
 image/src/imgLoader.cpp                     |    7 ++-----
 image/src/imgLoader.h                       |    2 +-
 layout/build/nsContentDLF.cpp               |    4 +---
 5 files changed, 6 insertions(+), 15 deletions(-)
2012-10-03 16:17:47 -04:00
Jeff Muizelaar
1993038640 Bug 794884. Make SupportImageWithMimeType a static function. r=joe,r=bz
This removes supportImageWithMimeType from the idl and makes all the
callers call the static function directly. To do this we also need
to export imgLoader.h and imgRequest.h.
---
 content/base/src/nsObjectLoadingContent.cpp |    9 ++-------
 docshell/base/nsWebNavigationInfo.cpp       |    8 +++++---
 docshell/base/nsWebNavigationInfo.h         |    5 -----
 image/public/imgILoader.idl                 |    9 +--------
 image/src/Makefile.in                       |    4 ++++
 image/src/imgLoader.cpp                     |    2 +-
 image/src/imgLoader.h                       |    1 +
 layout/build/nsContentDLF.cpp               |    5 ++---
 8 files changed, 16 insertions(+), 27 deletions(-)
2012-10-03 16:17:40 -04:00
Jeff Muizelaar
123d948acf Bug 794884. Avoid unecessarily including imgStatusTracker.h. r=joe
---
 image/src/imgRequest.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
2012-10-03 16:17:26 -04:00
Joe Drew
fd6c77a4b5 Bug 796174 - Only use the high-quality downscaler on downscales, not 1.0 scales. r=jlebar 2012-10-03 14:29:42 -04:00
Joe Drew
d4b85c8bfc Bug 795940 - Always hold on to a reference to our image from a ScaleRequest so it can't delete itself while we're outstanding. r=jlebar 2012-10-03 14:29:33 -04:00
Joe Drew
d6233c525d Backout 629c399c6f8c for breaking the tree 2012-10-03 13:37:45 -04:00
Joe Drew
3734e4bbfe Backout d13f5f15df86 for busting the tree 2012-10-03 13:37:14 -04:00
Joe Drew
d661a5f844 Bug 796174 - Only use the high-quality downscaler on downscales, not 1.0 scales. r=jlebar 2012-10-03 13:27:46 -04:00
Joe Drew
b56a38f7a3 Bug 795940 - Always hold on to a reference to our image from a ScaleRequest so it can't delete itself while we're outstanding. r=jlebar 2012-10-03 13:26:02 -04:00
Ed Morley
f08ff327ef Bug 761049 - Disable browser_bug666317.js on Linux for frequent failures that cause havoc in subsequent tests 2012-10-03 11:49:40 +01:00
Tom Schuster
68bf2735b6 Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi 2012-10-02 09:43:00 -07:00
Matt Woodrow
3418ee7f6e Bug 795722 - Clear our cached ImageContainer when the imgFrame changes. r=joe 2012-10-02 17:01:25 +13:00
Joe Drew
85c156d2ef Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar 2012-09-27 14:12:56 -04:00
Tatiana Meshkova
dcadb6368a Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar 2012-04-03 14:57:22 -07:00
Ms2ger
a72f8370a2 Bug 795862 - Back out bug 486918 for build bustage in unreviewed code. 2012-10-01 14:16:03 +02:00
Joe Drew
4b9e01692f Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar 2012-09-27 14:12:56 -04:00
Tatiana Meshkova
ebd8a29749 Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar 2012-04-03 14:57:22 -07:00
Joe Drew
d9b49a5d54 Bug 786444 - Part 2 - Make imgFrame's lock status a count, not a boolean, so you can lock it multiple times and still be correct. r=jlebar
Also add a bunch of NS_ABORT_IF_FALSEs that verify that the lock status is
always valid.
2012-09-26 11:33:06 -04:00
Joe Drew
f8f335672e Bug 786444 - Part 1 - Add an RAII class to make locking imgFrame more foolproof, use it, and be sure to lock imgFrame more correctly. r=jlebar 2012-09-26 11:33:06 -04:00
Joe Drew
da4919a598 Bug 786449 - Add a place to explicitly initialize RasterImage on the main thread at startup. r=jlebar 2012-09-26 11:33:06 -04:00
Ed Morley
722b933229 Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE 2012-09-28 23:00:28 +01:00
Joe Drew
db8e984995 Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar
--HG--
extra : rebase_source : 386bee19522e3cb8bca16ec40e3c092a52ae18d2
2012-09-27 14:12:56 -04:00
Tatiana Meshkova
50ec738dc1 Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar
--HG--
extra : rebase_source : fa22f42c832ae57b8e221ee03c68a45d33a929d3
2012-04-03 14:57:22 -07:00
Joe Drew
3a94d4fce6 Bug 786444 - Part 2 - Make imgFrame's lock status a count, not a boolean, so you can lock it multiple times and still be correct. r=jlebar
Also add a bunch of NS_ABORT_IF_FALSEs that verify that the lock status is
always valid.

--HG--
extra : rebase_source : 70cce5ed671586529e7d698e4bcdc86f5c748aa5
2012-09-26 11:33:06 -04:00
Joe Drew
555228332f Bug 786444 - Part 1 - Add an RAII class to make locking imgFrame more foolproof, use it, and be sure to lock imgFrame more correctly. r=jlebar
--HG--
extra : rebase_source : 255805f32aa06b3719a1442388b7b759c1c16c89
2012-09-26 11:33:06 -04:00
Joe Drew
b44769c993 Bug 786449 - Add a place to explicitly initialize RasterImage on the main thread at startup. r=jlebar
--HG--
extra : rebase_source : d23afb459bca8c36467ad2af042580a96666b886
2012-09-26 11:33:06 -04:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
3fb0e93449 Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Matt Woodrow
58d3d65ab2 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
8b36b9562b Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Matt Woodrow
0b20201fde Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Alexandre Dumont
d7aab8168c Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Phil Ringnalda
dd13abdce5 Back out 85d6cbd01d39, 56fc051c1932, a2ad17b87332 (bug 781053) for OS X debug assertions and crashes
--HG--
extra : rebase_source : ab24a2f8e9eddcf33ea39344abb7afbf400bf6e0
2012-09-24 21:23:05 -07:00
Matt Woodrow
35030f54e2 Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Joe Drew
112c6bf654 Bug 787899 - Don't cancel the loading of a multipart/x-mixed-replace stream of we fail to initialize a part. r=jrmuizel 2012-09-11 14:03:52 -04:00
Joe Drew
d6864e44fa Bug 787899 - Tests for ensuring we don't mess up multipart/x-mixed-replace streams when the server lies about a part's MIME type. r=jlebar 2012-09-06 18:05:27 -04:00
Joe Drew
f4348da77b Bug 787899 - Always re-sniff the MIME type of parts on multipart/x-mixed-replace streams. r=jlebar 2012-09-06 18:05:23 -04:00
Joe Drew
430f02b8e7 Bug 789046 - Port a bug fix from the Webkit GIF decoder back to its progenitor, Mozilla! r=jlebar 2012-09-21 18:32:49 -04:00
Joe Drew
69a896a375 Bug 758200 - Zero out buffers when allocating new frames in GIF images. r=jlebar 2012-09-21 18:32:47 -04:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Ehsan Akhgari
a17cac3016 Bug 788275 - Part 0: Make nsCORSListenerProxy's constructor not cause the object to be destroyed before it is constructed; r=bzbarsky
That is always a nice property to have!
2012-09-18 22:16:23 -04:00
Ehsan Akhgari
fcd86f137d Bug 791908 - Remove prtypes.h #includes in image/; r=joe 2012-09-18 10:52:30 -04:00
Justin Lebar
7a233fab87 Bug 744309 - Don't kick off a new decode from RasterImage::ShutdownDecoder. r=joedrew 2012-09-17 21:53:37 -04:00
Jeff Muizelaar
ac204f120b Bug 791305. Use libjpeg's color conversion code instead of our own. r=joe,r=khuey
libjpeg-turbo supports converting directly to a format compatible with cairo's
FORMAT_RGB24. Use that instead of our own handcoded function. This also gives
us SSE2 and NEON version of this function.

--HG--
extra : rebase_source : 18f48925f023a33ec2a097d4f4e5cc2ab40be1e9
2012-09-14 15:54:55 -04:00
Daniel Holbert
f32f6b5f8b Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Boris Zbarsky
06092f65fb Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
Jeff Gilbert
5602d6cd75 Bug 782860 - Add basic WebGL reftests - r=bjacob 2012-09-06 18:46:39 -07:00
Luqman Aden
46d1c6ded1 Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel 2012-09-06 01:31:29 -04:00
Ehsan Akhgari
08bfa558c1 Backout changeset 25fd2119c8e1 (bug 714937) for possible orange 2012-09-06 18:51:02 -04:00
Luqman Aden
8abf3c5145 Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel 2012-09-06 01:31:29 -04:00
Ehsan Akhgari
65c5e19c37 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Matthews
4716a41074 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Josh Matthews
a0111e957d Bug 722861 - Tests for imgLoader privacy-respecting changes. r=joe 2012-06-26 00:04:59 -04:00
Landry Breuil
038741989a Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Adam Dane [:hobophobe]
a22d4741ee Bug 785774 - Make multipart test rely on signaling instead of wishful thinking. r=joe 2012-08-28 20:23:22 -05:00
Josh Matthews
22c30bb0c4 Back out bug 722861. 2012-08-27 15:31:29 -04:00
Josh Matthews
1de8cc6897 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Josh Matthews
25784e9669 Bug 722861 - Tests for imgLoader privacy-respecting changes. 2012-06-26 00:04:59 -04:00
Robert Lickenbrock
b450620ff0 Bug 784756 - Remove an unnecessary loop from DecodeWorker::DecodeABitOf() that caused it to always take 5ms, even when decoding didn't take that long. r=joe 2012-08-24 11:24:36 -07:00
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
James May
9ceb8b4946 Bug 702555 - Remove obsolete, broken debug method PrintImageDecoders() in imgLoader. r=jlebar 2012-08-23 11:40:02 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Matt Woodrow
7591d1ef12 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Ed Morley
13229f367c Bug 685516 - Mark more tests as random; rs=khuey 2012-08-17 14:31:30 +01:00
Ed Morley
28543fd4a1 Merge mozilla-central to mozilla-inbound 2012-08-16 16:16:10 +01:00
Kyle Huey
a1639d15a9 Bug 651866: Disable test. 2012-08-16 08:03:12 -07:00
Aryeh Gregor
ae3de24018 Bug 782608 - Use NS_FAILED instead of boolean test (image/); r=jlebar 2012-08-14 12:10:41 +03:00
Ed Morley
9cdd0db8cb Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Kyle Huey
fa127e8648 Merge m-c to b-s. 2012-08-15 06:25:20 -07:00
Kyle Huey
a4d0bedef5 Bug 685516: Disable some more tests. 2012-08-14 21:05:24 -07:00
Kyle Huey
2fc3f31d0c Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-08-13 15:58:53 -07:00
Kyle Huey
f8ba220f4b Bug 685516: Disable a bunch of failing tests on Android XUL. r=jrmuizel 2012-08-13 11:22:11 -07:00
Kyle Huey
adc77cb365 Bug 685516: Instead of decoding small images synchronously and large images asynchronously, always decode synchronously for some time, and post the remainder to the event loop if necessary. r=joe 2012-08-13 11:12:15 -07:00
Kyle Huey
6af553f44c Bug 693319: Factor out some common code in RasterImage for dealing with decode flag changes. r=bholley 2012-08-13 09:35:32 -07:00
Kyle Huey
b90f5dc91d Bug 683290: Make RasterImage::GetFrame actually honor the flags it is passed. r=bholley 2012-08-13 09:34:32 -07:00
Mark Capella
7e0b8d3bac Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Aryeh Gregor
df6a8bf05b Bug 782252 - Cast more setjmp()/longjmp() nsresult usage; r=ehsan 2012-08-07 20:17:27 +03:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ms2ger
a10183dff5 Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Aryeh Gregor
48c36e7140 Bug 779442 - Fix a few more incorrect uses of nsresult; r=ehsan 2012-08-01 11:17:10 +03:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Nathan Froyd
4bc9878dfb Bug 778282 - remove libs:: rule from image/test/browser/Makefile.in; r=glandium 2012-07-27 16:40:28 -04:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
fa1820d9a6 Bug 777292 - Cast the result of setjmp() to nsresult where it's incorrectly used that way; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
bcce1c96d2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Nicolas Silva
e2ab39fb96 Bug 773462 - Rename calls to ImageContainer::SetCurrentImage into ImageContainer::SetCurrentImageInTransaction when the method is used within a layer transaction. r=roc 2012-07-26 14:11:22 -04:00
Adam Dane [:hobophobe]
024e640b1e Bug 767779 - Test slow-loading GIF with trailing garbage. r=joe 2012-07-18 16:32:24 -05:00
Adam Dane [:hobophobe]
aec2a05a5d Bug 767779 - Stop eating animation frames for non-multipart. r=joe 2012-07-21 20:07:15 -05:00
Justin Lebar
a863832283 Bug 772987 - Part 2: Use Static{Auto,Ref}Ptr where appropriate. r=mounir
--HG--
extra : rebase_source : 4e3e72ba53cd0177160f80231eebeb4972119eec
2012-07-26 15:33:45 -04:00
Glenn Randers-Pehrson
77ec0c84cb Bug 745202 - Disable palette-index-checking when using the system PNG decoder. r=joe 2012-07-23 20:02:20 -04:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Jeff Gilbert
63ff1a9c10 Bug 775793 - Clarify BMP decoding for unexpected alpha pixels - r=bbondy 2012-07-23 13:20:57 -07:00
Ryan VanderMeulen
8fcf36c164 Merge m-c to inbound. 2012-07-21 14:32:18 -04:00
Brian R. Bondy
2cbbf768cb Bug 775794. r=jgilbert 2012-07-21 13:57:35 -04:00
Olli Pettay
cbb387d73c Backout Bug 767779 to fix major image painting problems, r=backout
--HG--
extra : rebase_source : c9f7dcb012d7a1b9e2f6b9e0b1560e9cf55ee1ab
2012-07-21 14:03:29 +03:00
Adam Dane [:hobophobe]
1dabe388b7 Bug 767779 - Test slow-loading GIF with trailing garbage. r=joe 2012-07-18 16:32:24 -05:00
Adam Dane [:hobophobe]
326485e15c Bug 767779 - Stop eating animation frames for non-multipart. r=joe 2012-07-16 20:40:46 -05:00
Eddy Bruel
59fd358b84 bug 722555 - Add RGBA support to BMP encoder; r=jgilbert 2012-07-17 16:20:14 +02:00
Brian R. Bondy
a0e0dd034e Bug 770122 - Crash on websites withs ICO containing invalid GIFs. r=joe. 2012-07-16 19:10:18 -04:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Tim Taubert
f440f14fe4 merge m-c to fx-team 2012-07-04 14:16:49 +02:00
Ehsan Akhgari
df2fb388c2 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Tim Taubert
be06bb05b8 Bug 769634 - imgITools should provide cropping functionality; r=bbondy 2012-07-03 08:22:10 +02:00
Matt Woodrow
c96dc0e2ed Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ehsan Akhgari
bb4d966720 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (imagelib parts); r=joedrew 2012-06-13 00:16:43 -04:00
Ed Morley
a73fc227f9 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
d8b05307aa Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Adam Dane [:hobophobe]
8299ec53b3 Bug 759535 - Cleanup unused variable from Bug 733553. r=joe 2012-05-30 00:25:34 -05:00
Matt Brubeck
98d7066537 Back out 3c3bd7bd9093 (bug 722555) because of Linux PGO compiler segfault 2012-06-08 15:46:17 -07:00
Eddy Bruel
05aa3e75c7 Bug 722555 - Add support for encoding RGBA BMPs - r=jgilbert 2012-06-08 12:58:07 -07:00
Ms2ger
2a9cd723f1 Bug 758659 - Don't use int32 in GIF2.h; r=bholley 2012-06-06 09:35:41 +02:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Takanori MATSUURA
4e1026d682 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Adam Dane [:hobophobe]
67c6cd51fb Bug 756927 - Stop including big.png in the test, as it can take a bit to decode. r=joe 2012-05-20 20:59:04 -05:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Adam Dane [:hobophobe]
014d9b0dd3 Bug 733553 - Tests for multipart streams via mochitest-plain using httpd.js. r=joe 2012-05-19 14:42:23 -05:00
Adam Dane [:hobophobe]
7f04cb4204 Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe 2012-05-19 14:32:37 -05:00
Ryan VanderMeulen
bcfe82d03b Backout bug 733553 due to mochitest orange. 2012-05-19 12:10:26 -04:00
Adam Dane [:hobophobe]
2d63b26b4f Bug 733553 - Tests for multipart streams via mochitest-plain using httpd.js. r=joe 2012-05-10 18:37:42 -05:00
Adam Dane [:hobophobe]
2fb449e6aa Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe 2012-05-08 21:35:32 -05:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jared Wein
f9d2879f69 Bug 754133 - Set the background of standalone images to white. r=bz 2012-05-15 10:52:12 -07:00
Matt Woodrow
a3e3a511ef Bug 749118 - Translate the source correctly in RasterImage::CopyFrame. r=joe 2012-05-11 19:49:15 +12:00
Brian R. Bondy
8bd81b5744 Bug 682201 - Backout 4db54f0cede5 due to intermittent oranges. r=me 2012-05-10 07:19:00 -04:00
Brian R. Bondy
c855682538 Bug 682201 - Enable Android reftest for BMP, ICO decoder and encoder. r=joe 2012-05-03 09:09:09 -04:00
Joe Drew
756646f15d Back out changeset 501d38d3892c (Bug 733553) for causing crashes in xpcshell tests. 2012-05-08 21:59:30 -04:00
Adam Dane [:hobophobe]
e1da62aa08 Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
--HG--
extra : rebase_source : 21ebc85f26fcbc4a4a27387d1ec5007c0886c386
2012-05-08 16:19:01 -05:00
Brian R. Bondy
eb5d0026e1 Bug 750983 - ICO crash [mozilla::image::Decoder::Write]. r=joe 2012-05-08 08:38:43 -04:00
Brian R. Bondy
e0ba4eb257 Bug 745141 - crash in imgRequestProxy::OnDiscard with abort message. r=jlebar 2012-05-08 08:25:08 -04:00
Ali Juma
ee7a3a3249 Bug 733941 - Let callers of imgIContainer::draw choose to clamp instead of tile. r=roc a=blocking-fennec 2012-04-17 18:04:15 -04:00
Jared Wein
da8eb0d095 Bug 740668 - Add noise to background of image document. r=joe,zpao 2012-04-10 16:03:48 -07:00
Patrick McManus
46695bea53 bug 742935: fix landing problem with 717759 r=honzab 2012-04-09 10:22:07 -04:00
Kyle Huey
50f43dd111 Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
b1e7e0165e Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-04-07 09:00:04 -07:00
Daniel Holbert
e6b26aaf99 backout ca2cbec4255a (diagnostic patch for bug 739711) 2012-04-05 13:25:19 -07:00
Daniel Holbert
107a8aaf7d Bug 739711: add some diagnostic printfs to let us see if we're hitting canvas drawImage for SVG images on android. r=roc 2012-04-04 19:37:28 -07:00
Timothy Nikkel
444b9b5437 Backout f5c4aedd43a6 (bug 740841) for causing bug 742081. 2012-04-04 00:13:27 -05:00
Timothy Nikkel
324fd7315a Bug 740841. If the image is not decoded already in RasterImage::GetFrame we will ignore the passed in decode flags. r=joe 2012-04-01 16:31:21 -05:00
Robert Lickenbrock
7746162a82 Bug 734681 - Make UNTIL_SIZE decodes shutdown the decoder if decoding is already finished. r=joe. This should fix the intermittent reftest failures introduced by Bug 715308.
--HG--
extra : rebase_source : 9661582cc39e18d6ac1c36085c1fa8ee8d0eaffb
2012-03-26 09:05:13 -07:00
Jeff Gilbert
0c50aa229e Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Patrick McManus
a7669f6540 bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab 2012-03-22 19:39:32 -04:00
Matt Brubeck
51ba20bc98 Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Patrick McManus
25a5bea7c6 bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab
--HG--
extra : rebase_source : cb9795b5442102a777602f59c225ab9572e06cea
2012-03-20 13:11:32 -04:00
Justin Lebar
1c3acf88cb Bug 736761 - Don't crash if images are discarded after XPCOM shutdown. r=joe 2012-03-18 09:56:00 -04:00
Justin Lebar
0b22c2a7c4 Bug 735894 - Fire the discard timeout twice as often, so images are discarded after between 1 and 1.5 discard timeout intervals, instead of between 1 and 2 intervals. r=joe
--HG--
extra : rebase_source : 2ca143b901616b42d3e7c8f25349d04f5f0cb288
2012-03-15 16:30:41 -04:00
Justin Lebar
bc51699ce4 Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe
--HG--
extra : rebase_source : 013b58b9148f0fd4d7f0eb7104674d6aa63bca82
2012-03-15 16:30:41 -04:00
Justin Lebar
95189d171f Bug 731419 - Part 1: Discard image data immediately on tab close, imagelib changes. r=joe
--HG--
extra : rebase_source : 5e08cc235f1a9cb7b63d83df13760f2f2a4de0a4
2012-03-10 01:29:28 -05:00
Justin Lebar
28a851ada2 Bug 731419 - Part 0: Test that drawing an image out of a display:none iframe works. r=me
--HG--
extra : rebase_source : 96932ca3f45be49e4ecd6ab4b43ead062db0d8b3
2012-03-10 01:29:28 -05:00
Justin Lebar
0ef78736cc Back out bug 731419 and bug 732820 due to orange.
Backs out changesets 55e63a03ccad 45d2f5e2fe31 f78900832562 6184b50776fc 35d8045aeadd 42e887fec034.
2012-03-09 18:32:42 -05:00
Justin Lebar
f642bdcb45 Bug 732820 - Part 4: Followup, use PRUint64 instead of ssize_t, since ssize_t doesn't exist on Windows.
--HG--
extra : rebase_source : 3319d5541bac26fb4bc63323c88b4efd65a47fe1
2012-03-09 18:15:54 -05:00
Justin Lebar
c2e9dc29c0 Bug 731419 - Part 1: Discard image data immediately on tab close, imagelib changes. r=joe 2012-03-09 17:21:01 -05:00
Justin Lebar
47528f36ac Bug 731419 - Part 0: Test that drawing an image out of a display:none iframe works. r=me 2012-03-09 17:21:01 -05:00
Justin Lebar
255839214e Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe 2012-03-09 17:21:01 -05:00
Michael Wu
ab5dda36e3 Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
Justin Lebar
b18e3bbd15 Bug 734135 - When we draw an unlocked image, move it to the back of the discard queue.
Bug 734135 - When we draw an unlocked image, move it to the back of the discard queue. r=joe

--HG--
extra : rebase_source : c78206fa9abdb1aa3b054f7ab4d53affe0883ece
2012-03-08 09:14:00 -05:00
Nicholas Nethercote
d8a85cb65a Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Ryan VanderMeulen
7d622d5057 Bug 648690 - Update libpng to version 1.5.9 (Mozilla changes). r=joedrew, f=dolske 2012-03-03 22:18:31 -05:00
Boris Zbarsky
30ad782016 Bug 732319. Fix leaks on CORS failures in imagelib. r=joe 2012-03-02 23:44:55 -05:00
Boris Zbarsky
539252559a Bug 732178. Set up the image cache validator before the CORS listener. r=joe,sicking 2012-03-02 00:13:54 -05:00
Nicholas Nethercote
03ef610e18 Bug 731890 - Convert the 12 "images" memory reporters to a single multi-reporter. r=jlebar.
--HG--
extra : rebase_source : e4ac7a1c03c4a033f2ea5fe54f79654cba3d3574
2012-03-01 16:05:32 -08:00
Justin Lebar
b682bbe4a5 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Ryan VanderMeulen
8e36e4ec19 Back out libpng update due to xpcshell failures (44fc3b0c25f7 and 7b74d51579b4). r=warlock 2012-02-27 20:36:29 -05:00
Ryan VanderMeulen
c7774277cd Bug 648690 - Update libpng to version 1.5.9 (Mozilla changes). r=joedrew 2012-02-27 18:57:27 -05:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Nicholas Nethercote
d2ae47a087 Bug 711901 - Use mallocSizeOf in the source image memory reporters. r=joedrew.
--HG--
extra : rebase_source : 9c39bbb44cb40fa900a8245842a50d894c02f4e0
2012-02-19 19:51:48 -08:00
Justin Lebar
8f51dc6a1f Bug 726004 - Fix intermittent reftest orange introduced by bug 715308 by not flushing invalidations when the decoder detects an error. r=joe
--HG--
rename : browser/devtools/debugger/test/test-editor-mode => browser/devtools/debugger/test/test-script-switching-02.js
extra : rebase_source : 4eeface3fbf6a257ca3f86cf05e13df276ff9743
2012-02-13 21:21:11 -05:00
Joe Drew
9578a10a77 Bug 724584: Pass in aRequest as an nsIRequest* (instead of an nsIChannel*) in mgRequest::Init. r=jrmuizel 2012-02-13 14:36:14 -08:00
Jeff Gilbert
03fda999f2 Bug 723453 - Split cases for ConvertHostARGB - r=joe 2012-02-10 15:41:24 -08:00
Jeff Gilbert
bb0d6daa5c Bug 723221 - Premultiply JPG data correctly - r=joe 2012-02-10 15:37:16 -08:00
Justin Lebar
4a02173a7b Bug 715308 and bug 721510 - Back out rev 350ba395c, backing in bug 715308 and bug 721510, plus randomorange/crash fixes. r=joe 2012-02-09 15:04:30 -05:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Justin Lebar
2864b402b2 Back out bug 715308 and bug 721510 due to crashes and intermittent OSX reftest failures. r=joe 2012-02-02 10:59:01 -05:00
Jeff Muizelaar
6c47155183 Bug 341287. Expand __LINE__ before pasting. r=jlebar
Currently, the code is just append '__LINE__' to the variable
instead of the actual line number. This fixes that by expanding
the __LINE__ identifier before pasting it.
2012-01-30 15:28:49 -05:00
Bas Schouten
f987b74374 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Robert O'Callahan
01d0e1b487 Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats 2012-01-30 18:16:54 +13:00
Justin Lebar
9ba0fda8fc Bug 721510 - Always decode at least one chunk in RasterImage::DecodeWorker::DecodeSomeOfImage. r=joe 2012-01-27 12:09:01 -05:00
Matt Brubeck
53c892b7f7 Back out b4decc9b812f (bug 721510) because of frequent Mac reftest failures on a CLOSED TREE 2012-01-27 14:49:50 -08:00
Justin Lebar
1b2e841696 Bug 721589 - Fix intermittent orange in image/test/mochitest/test_error_events.html. r=joe 2012-01-27 09:23:00 -05:00
Justin Lebar
dc1e299a3b Bug 721510 - Always decode at least one chunk in RasterImage::DecodeWorker::DecodeSomeOfImage. r=joe 2012-01-27 12:09:01 -05:00
Justin Lebar
3cf08a580f Bug 715308 - Part 1: Decode RasterImage::Draw()'n images before other images. r=joe
--HG--
extra : rebase_source : b958a682e5a92767ba1887a7d6df5a53f146fda2
2012-01-26 15:54:04 -05:00
Justin Lebar
59042e506b Bug 715308 - Part 0: Add tests for image onload/onerror. r=joe
--HG--
extra : rebase_source : 2f1f152975bfa4c7c5fa3ef6d05d7e0c02640f6e
2012-01-26 15:54:04 -05:00
Dão Gottwald
2e4b60b563 No bug - fix some browser chrome tests that pollute the global scope 2012-01-24 23:08:42 +01:00
Marco Bonardo
db50a6a74a Merge last green PGO from inbound to central 2012-01-24 13:27:20 +01:00
Serge Gautherie
554a747e5a Bug 490384. (Dv1a) Improve and reenable test_bug466586.html. r=joe. 2012-01-24 07:02:07 +01:00
Brian R. Bondy
c9d17b4506 Bug 719202 - Innocuous uninitialized BMP header value. r=joe 2012-01-23 18:28:58 -05:00
Atul Aggarwal
f0d240c486 Bug 698263 - Rename mozilla::imagelib namespaces to mozilla::image r=joe 2012-01-06 21:32:27 +05:30
Jeff Muizelaar
9c9e2eed37 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Brubeck
2e1e2ae3c5 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Ms2ger
d0513e5d06 Merge m-c to m-i. 2012-01-11 12:15:35 +01:00
Ms2ger
236b6c12a8 Bug 699731 - Remove PR_INT64_MAX / PR_UINT64_MAX from non-nsprpub source; r=ted 2012-01-11 09:23:07 +01:00
Kyle Huey
9cc71b5f7f Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Jeff Muizelaar
399ccd4bcc 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
7c14cd7e41 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
Matt Woodrow
9e8b8fec4f Bug 715916 - Check the result of GetFrame in RasterImage::GetImageContainer. r=joe 2012-01-11 13:33:20 +13:00
Brian R. Bondy
7d2e2d3b74 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
78a88c9865 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
ffb02e6264 Bug 712959 - Imagelib should notice when all image.mem.* prefs change. r=joe 2011-12-22 09:21:00 -05:00
Bobby Holley
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
aceman
eb3ebc1fc0 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Carlo Alberto Ferraris
489a3d2e7e 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
3df8aefc9c Bug 704558 - Added encoder options in encodeImage and encodeScaledImage. r=bbondy 2011-12-16 19:43:10 -05:00
Matt Brubeck
a33e8cc7f3 Back out 97b8cff2764f (bug 376997) for Android reftest failures 2011-12-16 13:10:44 -08:00