Commit Graph

268 Commits

Author SHA1 Message Date
L. David Baron
d6d6914e7a Conditionally adjust two reftest references to match the non-assembly version of the code. (Bug 465088) r=bholley 2009-01-29 12:39:17 -08:00
Joe Drew
d5cccedfce Bug 473161 - Fix imgRequest::Cancel() to call Cancel() on the loadgroup instead of the channel. The fix to bug 89419 included a mistaken change from cancelling the loadgroup to cancelling the channel. r=bzbarsky, sr=vladimir, a=blocking1.9.1+ 2009-01-29 14:18:56 -05:00
Joe Drew
763c2531bd Backout bug 473161 2009-01-26 17:12:05 -05:00
Joe Drew
4b8233638e Back out tests for bug 466586 2009-01-26 17:09:48 -05:00
Joe Drew
40b7703a1f Backed out changeset 18988bc1c727 2009-01-26 17:08:14 -05:00
Joe Drew
962cd7d3c1 Backed out changeset 72fda0d63f66 2009-01-26 17:07:54 -05:00
Joe Drew
daedbb0955 Backed out changeset 7d9bea3fa51a 2009-01-26 17:07:38 -05:00
Joe Drew
2528fd153b Bug 473161 - Fix imgRequest::Cancel() to call Cancel() on the loadgroup instead of the channel. The fix to bug 89419 included a mistaken change from cancelling the loadgroup to cancelling the channel. r=bzbarsky, sr=vladimir, a=blocking1.9.1+ 2009-01-26 15:34:03 -05:00
Joe Drew
a3bb205467 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-26 15:34:01 -05:00
Joe Drew
480285ad5f Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document. 2009-01-26 15:33:59 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Arpad Borsos
89096c497d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Joe Drew
a42f4c7dae Backed out changeset 84c6254be42a; pushing into CLOSED TREE 2009-01-19 13:22:59 -05:00
Joe Drew
ec27a55772 Bug 455508 - Investigating 20% Tp regression on fast Talos machines. Up the image cache to 50 MB and turn off time-based expiry. CLOSED TREE for perf testing. 2009-01-19 12:37:11 -05:00
Joe Drew
97cfb1a65a Backed out changeset bc77b82becfc 2009-01-17 12:25:43 -05:00
Joe Drew
d4b7f712c7 Bug 455508 - Perf test. Disable the time-based expiry of cache elements to see
if it has an effect. CLOSED TREE for perf tests.
2009-01-17 11:06:28 -05:00
rsx11m
1e88f9ff71 Bug 444898 - JPEG writer uses poor quality default options for compression. r=tor+dolske, sr=pavlov 2009-01-16 15:16:32 +01:00
Phil Ringnalda
d5e6a4296b Fix spelling of immediatly, to get more builds going immediately in the CLOSED TREE 2009-01-11 00:06:41 -08:00
Dave Camp
790d678de5 Bug 442809: respect application caches in imgLoader.cpp. r=joedrew, sr=vlad 2009-01-04 21:52:22 -08:00
Joe Drew
141960a0b9 Keep track of the URI we're keyed on in imgRequests. This makes it possible to avoid leaks. b=468160 r=bzbarsky sr=vlad 2008-12-23 20:31:30 -05:00
Joe Drew
aac2d03952 Bug 468160 - Add test that does a redirect to a PNG inside an <object> tag. Our Mochitest framework will test for leaks for us. 2008-12-23 20:31:30 -05:00
Joe Drew
ba5f4381c0 Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-22 17:20:46 -05:00
Justin Dolske
5c689a4061 Bug 455057 - some chrome images have embedded profiles. r=dbaron, ui-r=faaborg 2008-12-20 21:46:38 -08:00
Siddharth Agarwal
67bb2aad37 Bug 469739 - Add support for displaying Vista UAC shield icon; r=joe sr=vladimir 2008-12-21 02:31:35 +01:00
Joe Drew
b3ed052b57 Don't discard animated images so we don't have to worry about how to restore them. b=414259 r/sr=vlad 2008-12-19 17:35:50 -05:00
Joe Drew
a29562512b Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-19 17:35:50 -05:00
Joe Drew
c77de5254f Backed out changeset 4b22cab7e989 2008-12-11 16:47:47 -08:00
Joe Drew
3670f5ac6c Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-11 15:28:58 -08:00
Robert Sayre
58f4455a2a Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak. 2008-12-11 01:27:58 -08:00
Robert Sayre
a72651bef5 Backout JOEDREW! patches for bug 468160 and bug 414259. Looks like they make mochitest leak. 2008-12-11 00:57:49 -08:00
Joe Drew
cf5541dc63 Fix the obvious mistakes I'd made in the previous patch for bug 468160. 2008-12-10 21:10:03 -08:00
Joe Drew
0f5fffdcd6 Keep track of the URI we're keyed on in imgRequests. This makes it possible to avoid leaks. b=468160 r=bzbarsky sr=vlad 2008-12-10 20:58:28 -08:00
Joe Drew
b1879ea25f Don't discard animated images so we don't have to worry about how to restore them. b=414259 r/sr=vlad 2008-12-10 20:58:28 -08:00
Joe Drew
004fd475bb Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-10 16:26:15 -08:00
Joe Drew
294499eab5 Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-10 16:25:34 -08:00
Shawn Wilsher
bf0e65a35b Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Shawn Wilsher
6ea17d3edc Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
52fa025019 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Serge Gautherie
be4694b633 Bug 458847 - colordepth.html TEST-UNEXPECTED-FAIL on my Windows 2000: 24<->32 bit colors mismatch; (Av2a) Allow higher values, on all platforms; r=dbaron 2008-12-02 13:45:09 +01:00
Brad Lassey
cc9f2ff870 Bug 460767 - Crash in imgRequest.cpp in OOM conditions r=pavlov r=joedrew a19b2=beltzner. CLOSED TREE 2008-11-24 11:57:47 -05:00
Joe Drew
a2b8f5356f Backed out changeset 6bedb1e92dd0 due to refcount leaks 2008-11-07 15:01:35 -05:00
Joe Drew
8fd1536f32 Bug 393936 - Cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call CancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). r=bz, sr=pavlov, a=blocking1.9.1+ 2008-11-07 14:35:22 -05:00
Dave Townsend
68663a73e2 Backed out changeset 673d1ba18849 from bug 455057 as the likely cause of the Vista Ts regression 2008-11-07 15:21:35 +00:00
Dave Townsend
2545ad97e1 Backed out changeset 673d1ba18849 from bug 455057 as the likely cause of the
Vista Ts regression
2008-11-07 15:21:23 +00:00
Justin Dolske
23299930f7 Bug 455057 - some chrome images have embedded profiles (sRGB chunk removal). ui-r=faaborg, r=dbaron 2008-11-05 19:19:44 -08:00
Joe Drew
6683bd098a Crash [@imgRequest::NotifyProxyListener(imgRequestProxy*)] at tokyomango.com - bug 441563 r=vladimir sr=pavlov 2008-11-06 16:31:20 -05:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Ian
ee43bba9c1 Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky
5964ca6e14 Backed out changeset d07aa0d0712a: Relanding: Bug 373701. Make sure to properly cancel multipart image loads when they need canceling. r=joedrew, sr=biesi 2008-10-02 09:53:35 -04:00