Bobby Holley
ebbc4de5ce
Bug 516335 - Calling lockImage multiple times for borderImage. r=joe
2009-09-15 18:33:14 -06:00
Bobby Holley
fa0a6faa59
Bug 516486 - mDiscardable should be immutable - use lockImage() instead for animated images. r=joe
2009-09-15 18:30:52 -06:00
Bobby Holley
05b4959846
Bug 516335 - Stopgap patch to disable failing assertion. r=bz
2009-09-15 00:09:22 -06:00
Bobby Holley
39f194a2cb
Bug 516311 - Disable decode-on-draw and discarding until we can figure out what's going on with perf. r=joe
2009-09-13 19:18:59 -06:00
Dão Gottwald
d2a50b8639
Backed out experimental code from changeset 455f624cabca (CLOSED TREE)
2009-09-13 11:32:45 +02:00
Joe Drew
eb6ccf7482
Tell imgContainer to decode while/after loading, effectively disabling decode-on-draw. Test commit in a CLOSED TREE to check perf impliciations.
2009-09-12 22:41:50 -04:00
Bobby Holley
2d5ec55945
Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad
2009-09-12 16:44:18 -06:00
Joe Drew
e7fc1ba7bd
Bug 513749 - Mismerge/thinko makes animated images do extra work. r=bholley
2009-09-02 11:48:23 -04:00
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Bobby Holley
f0f0fc4ad0
Bug 509929 - Reference cycle between nsProgressNotificationProxy and nsHttpChannel on channel redirect. r=biesi
2009-08-13 13:20:41 +02:00
Joe Drew
948c8755b3
Bug 506063. Add rect emptiness check to imgContainer::ExtractCurrentFrame(). r=vlad
...
--HG--
extra : rebase_source : 958125394452e818ea3a797e0848ac04373a7080
2009-08-05 14:39:05 +12:00
Bobby Holley
9328bfd38b
Bug 504822 - Remove XBM support from Mozilla. r=joe sr=vladimir
2009-07-29 10:13:08 -04:00
Christian Biesinger
ce834cd636
Fix memory leaks from changeset dcda49ff1a26 - need to make sure that
...
the destructor gets called for the hashtable entries.
Also fixes a nit (AddRef() -> NS_ADDREF_THIS())
r+sr=bz
2009-07-28 19:46:04 +02:00
Christian Biesinger
d8e3f09412
Bug 487638 - status bar blames wrong resource when downloading slow responding resource
...
- Makes nsDocLoader store the last-sent status message for each request in the
corresponding nsRequestInfo, and keeps a flag to indicate whether the request
is done
- When a request finishes, it looks for a random request that is not done and
has a non-empty status, and if it finds one, sends that status message to the
listeners
- To make this all work, the patch also changes imagelib so that status and
state messages sent for images are sent with the imgIRequest as the request and
not the channel. This is necessary because the channel is not part of the
loadgroup for images, only the imgIRequest is.
- Make the BrowserStatusFilter always update its pending status message if it
is dirty, even when that matches the currently displayed status message
r+sr=bz
2009-07-28 18:13:48 +02:00
Joe Drew
cf033832bc
Bug 505473 - Fix alpha handling so we composite animated GIFs properly. r=vlad
2009-07-21 21:19:59 -07:00
Rob Arnold
ab58aae54b
Bug 502711 - imgITools cannot decode images stored in JARs r=joe
...
--HG--
extra : rebase_source : 002851f48d458d7ab0a4bbf87fd79fc893c425cb
2009-07-21 15:57:25 -07:00
Joe Drew
6c441f55f7
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Ehsan Akhgari
7155374c25
Bug 496292 - Support changing the Accept header via a preference; r=joedrew sr=bzbarsky
2009-07-15 11:52:40 +04:30
Joe Drew
8ba9ed33c5
Bug 496593 - Image cache entry comparison is wrong. r=vladimir, sr=bzbarsky
2009-06-15 15:33:48 -07:00
Joe Drew
26ec677495
Bug 490949 - Take into account the load flags of the image's load group when checking whether we're bypassing the cache. r=vlad
2009-05-11 15:15:36 -04:00
Joe Drew
4c02392b9d
Bug 490384 - revert debugging code in CLOSED TREE
2009-05-08 17:28:08 -04:00
Joe Drew
970a462be7
Bug 490384 - Commit some debugging code to a CLOSED TREE in the hopes that we can reproduce the oranges.
2009-05-08 15:24:55 -04:00
Joe Drew
29f13caf96
Bug 490384 - Only evict unused cache entries when under memory pressure. r=vlad a=sdwilsh for push into CLOSED TREE
...
Prior to thise, when we were under memory pressure, we would remove every
entry from the cache, even ones that were currently held in memory due to
their use on e.g. a web page. Now we only remove things from the cache that
will actually free up memory, further fixing bug 466586.
2009-05-07 16:55:06 -04:00
Adam Barth
1bea884aa2
Bug 465007. Harmonize content sniffing in HTML5 and Firefox. r=jdrew,sr=bzbarsky
2009-04-06 12:30:03 +12:00
Alfred Kayser
c8e30768ab
Bug 418871 - Remove unused parts from imgIContainer.idl. r=joe, sr=vlad
2009-04-05 16:52:18 +02:00
Stuart Parmenter
4dd5b6bb44
removing ifdef DEBUG_pavlov code
2009-03-26 09:31:26 -07:00
Neil Rashbrook
e28a2a1aa1
Bug 485598 imgRequestProxy should use XPCOM allocator for XPCOM outparams r=joedrew sr=jag
2009-03-29 12:46:12 +01:00
Joe Drew
ea1f5e5a2d
Bug 479328 and bug 481753 - Ensure imgRequest always knows when it's in the cache, and doesn't try to do cache manipulation when it isn't. Also, fix redirect handling to not simply invalidate the cache entry. r=vlad, sr=bzbarsky
2009-03-17 17:07:16 -04:00
Joe Drew
aecde3bf69
Backed out changeset 987a23d40e86 because of leaks on a11y tests on Linux
2009-03-12 00:22:50 -04:00
Joe Drew
a49559a6a7
Bug 481753 - imgRequests call imgLoader functions assuming that they're in the cache when they aren't
...
Teach imgRequest to keep track of when it's in the cache, and not do cache
operations when it isn't.
2009-03-11 21:31:26 -04:00
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
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
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
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
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
Jim Mathies
fc1a190574
Bug 455353 - Backout of code added to imagelib in Bug 355555. r=dougt
2009-01-30 13:13:52 -06: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
962cd7d3c1
Backed out changeset 72fda0d63f66
2009-01-26 17:07:54 -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
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
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