Joe Drew
f7bd752ce7
Bug 481553 - Make imgRequests not try to update their status in the image cache when they aren't stored in it. r=vlad
2009-03-04 22:56:14 -05:00
Joe Drew
508f9839eb
Bug 479502 - Hold on to a reference to the entry when NotifyExpired is called. r=vlad
...
The expiration tracker doesn't hold on to references to imgCacheEntries, so if
we're deleting it from the cache, that'll bring its refcount to zero. We
always assume that, when we're calling a function, there exists a reference
that lasts as long as the function does. This patch just makes that true for
the NotifyExpired case.
2009-02-25 14:09:44 -05:00
Doug Turner
cdcc58d70c
Bug 461849 - enable icon decoder on Windows Mobile. r=stuart
2009-02-19 18:56:49 -08:00
Joe Drew
2774b195e4
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-30 21:17:47 -05:00
Joe Drew
664b5a4343
Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document.
2009-01-30 21:17:35 -05:00
Boris Zbarsky
ac1ce67cea
Bug 455367. Don't just assume that all image loads get data; ask imagelib instead. r=kaie, r=joedrew, sr=jst
2009-02-16 09:11:30 -05:00
Neil Rashbrook
2b7a424a9b
Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz
2009-02-16 11:27:22 +00:00
Joe Drew
0b154c324c
Backed out changeset af9270b650e6
2009-02-13 18:24:22 -05:00
Joe Drew
7ee4e55b58
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-30 21:17:47 -05:00
Jesse Ruderman
5f1cc5c3ce
Add a bunch of crashtests
2009-02-10 00:09:40 -08:00
Vladimir Vukicevic
ff530b54bb
Back out bug 466586 (eBay preview image occasionally disappears after briefly appearing), due to 476349 crashes
2009-02-02 21:23:09 -08:00
Vladimir Vukicevic
5491a16c93
Backing out test for bug 466586
2009-02-02 21:14:59 -08:00
Boris Zbarsky
749a81258a
Bug 475897. Rev imgIContainer iid in CLOSED TREE
2009-02-03 15:45:27 -05:00
Arpad Borsos
51bf75177c
Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc
2009-02-02 18:49:58 +01:00
Joe Drew
ca2541f607
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-30 21:17:47 -05:00
Joe Drew
a7a5803b59
Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document.
2009-01-30 21:17:35 -05:00
Jim Mathies
fc1a190574
Bug 455353 - Backout of code added to imagelib in Bug 355555. r=dougt
2009-01-30 13:13:52 -06:00
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