Josh Matthews
80d0bbfb1b
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
41e3c3120f
Bug 505385 - Part 14: Update image request status on decoding errors. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
db4200e616
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
4fec30568a
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
d09d8af2a1
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
d6ba50447f
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
679f2d5e91
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
dd877db859
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
76c30997de
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
89f6f2488d
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
3f63b1f753
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
2660c14e19
Bug 505385 - Part 4: Fix some warnings. r=joe
2012-10-11 21:34:22 -04:00
Bobby Holley
202b6c0ce8
Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe
2012-10-11 21:34:22 -04:00
Bobby Holley
0e79614bc1
Bug 505385 - Part 1: Hoist proxy list into imgStatusTracker. r=joe
2012-10-11 21:34:22 -04:00
Bobby Holley
bb7d1c3abe
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
05978c735c
bug 797445 - remove prmem.h from imagelib r=joe
2012-10-03 14:10:31 -04:00
Kyle Huey
923f1139b2
Bug 799791: Remove unused boolean parameters and dead branches. r=jlebar
2012-10-11 09:35:43 -07:00
Kyle Huey
11b8389ee5
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]
a7a2243900
Bug 793585 - Only default the shared state if it's not there. r=joe
2012-10-08 16:09:11 -05:00
Neil Rashbrook
0c86b78e7a
Bug 794884 Followup to export SupportImageWithMimeType from libxul for mimei.cpp r=joe
2012-10-07 19:01:08 +01:00
Ed Morley
bd0d1f6c0a
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
d4e138c368
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
d47a117592
Bug 792821 - Add more informative documentation to getImgCacheForDocument. r=joe
2012-09-25 23:51:18 -04:00
Ryan VanderMeulen
d3510ae5f7
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
f58ee6c31e
Bug 792821 - Add more informative documentation to getImgCacheForDocument. r=joe
2012-09-25 23:51:18 -04:00
Jeff Muizelaar
fb8c5e5cd5
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
1e809c4aa8
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
4f4ff0b9d8
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
8d8ddeb184
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
b76cc85271
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
9f93c7b069
Back out 134f5b1d6d50 for leaking at shutdown on a CLOSED TREE
2012-10-03 16:31:28 -04:00
Jeff Muizelaar
c3e16c5475
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
af82a52095
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
89405c97c8
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
3b864e9976
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
a8b5aa2d73
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
481b289d62
Backout 629c399c6f8c for breaking the tree
2012-10-03 13:37:45 -04:00
Joe Drew
bb1da39f0e
Backout d13f5f15df86 for busting the tree
2012-10-03 13:37:14 -04:00
Joe Drew
af79edbfe3
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
4e1c276d8c
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
c20a54b23f
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
e1dc8d9cc1
Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi
2012-10-02 09:43:00 -07:00
Matt Woodrow
10c1bdf174
Bug 795722 - Clear our cached ImageContainer when the imgFrame changes. r=joe
2012-10-02 17:01:25 +13:00
Joe Drew
86b407c027
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
1905ac69f9
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
372fb21863
Bug 795862 - Back out bug 486918 for build bustage in unreviewed code.
2012-10-01 14:16:03 +02:00
Joe Drew
3a386776a9
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
6c58b4dd5f
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
02a5ccdfef
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
80ebba0430
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