Commit Graph

1037 Commits

Author SHA1 Message Date
Bobby Holley
c32a1505e2 Bug 435296 - Tests. r=dolske 2009-09-12 16:44:19 -06:00
Bobby Holley
f9b8d27445 Bug 512435 - Tests. r=dolske 2009-09-12 16:44:19 -06:00
Bobby Holley
86dd317584 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Alfred Kayser
004cdccd0f Bug 514776 - [r=joe sr=vlad] 2009-09-12 00:27:13 -05:00
Alfred Kayser
453dfcf028 Bug 513738 - [r=JOEDREW!] 2009-09-04 20:47:11 -05:00
Joe Drew
1fd72ad1bb Bug 511689 - Ensure we're always on the correct frame when decoding GIF images. r=jrmuizel,alfredkeyser sr=vlad 2009-09-02 11:50:14 -04:00
Joe Drew
f605743309 Bug 513749 - Mismerge/thinko makes animated images do extra work. r=bholley 2009-09-02 11:48:23 -04:00
Benjamin Smedberg
ba372f3a4c 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
Jeff Muizelaar
1b8c2efe61 imported patch jpeg-icc 2009-08-13 18:33:24 -04:00
Bobby Holley
6be6d69d7c Bug 509929 - Reference cycle between nsProgressNotificationProxy and nsHttpChannel on channel redirect. r=biesi 2009-08-13 13:20:41 +02:00
Bobby Holley
4275f152b5 Bug 507902 - nsImageFrame static Icon Loads should not use the mListener of the first instantiated nsImageFrame.r=bz,joe 2009-08-12 16:23:38 +02:00
Joe Drew
310e7e78c5 Bug 506063. Add rect emptiness check to imgContainer::ExtractCurrentFrame(). r=vlad
--HG--
extra : rebase_source : 958125394452e818ea3a797e0848ac04373a7080
2009-08-05 14:39:05 +12:00
Peter Weilbacher
c0eddbab76 [OS/2] Bug 413529 - enable WPS icons again for all apps, r=wuno@lsvw 2009-08-01 22:21:08 +03:00
Bobby Holley
cd0b27cceb Bug 504822 - Remove XBM support from Mozilla. r=joe sr=vladimir 2009-07-29 10:13:08 -04:00
Justin Dolske
cf30b610c0 Bug 503573 - moz-icon doesn't work on Window CE. r=vlad 2009-07-28 23:19:34 -07:00
Justin Dolske
b141dbb643 Bug 506811 - nsIconChannel assumes writing to non-aligned 32bit int is ok. r=joe 2009-07-28 23:19:31 -07:00
Christian Biesinger
f8b424f36e 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
3e4562bc01 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
Ryo Kawaguchi
091c57b039 Bug 506409: Merge Draw*ImageInternal methods into their Draw*Image callers, and fix a comment in imgIContainer.idl. patch=ryo r=roc 2009-07-27 16:48:13 -07:00
Joe Drew
99c29cce56 Bug 505474 - Restore tracking of whether we've finished decoding a given GIF frame, so we don't call EndImageFrame() twice for a single frame. r=vlad
Before bug 753 landed, we implicitly tracked whether we'd called
EndImageFrame() by setting mImageFrame to null inside EndImageFrame(). Once
we stopped doing that, we tried writing to memory that had already been freed.

(This memory is actually freed once we error out on the invalid GIF, but the
internal state-tracking mechanics made it so we never wrote to that memory
even though we have stale pointers to it. Unfortunately when we entered
EndImageFrame() a second time, that state tracking was invalid and we
attempted to write to the stale pointer.)

This patch introduces a tracking variable, mCurrentFrame, which is set to the
frame of the currently-decoding frame when we're in the middle of decoding
it, and -1 otherwise. This ensures we don't enter EndImageFrame() a second
time, restoring the functionality we had prior to bug 753.
2009-07-21 21:20:01 -07:00
Joe Drew
cdf4b6870f Bug 505473 - Fix alpha handling so we composite animated GIFs properly. r=vlad 2009-07-21 21:19:59 -07:00
Rob Arnold
78c5a292a0 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
2aa59235f2 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
0ea9820eec Bug 496292 - Support changing the Accept header via a preference; r=joedrew sr=bzbarsky 2009-07-15 11:52:40 +04:30
Glenn Randers-Pehrson
fb50b68efa Bug 397593. Reject any ancillary chunks after IDAT that have a bad CRC. r=joe,sr=vlad
--HG--
extra : rebase_source : 461bff64a9cff608435520eaab6c78f64e354d51
2009-06-29 11:08:40 +12:00
Kyle Huey
c2e65659f8 Bug 415761. Support Unicode file names in GetHIconFromFile. r=vlad
--HG--
extra : rebase_source : 855aeee93d123575f1f98c3d9833d31510feae1e
2009-06-24 17:50:36 -04:00
timeless@mozdev.org
c6754e9e28 Bug 494680 nsMozIconURI::SetSpec warning: comparison between signed and unsigned
r+sr=biesi
2009-06-27 18:42:50 -07:00
Steven Michaud
e4958ecdca get rid of nsIInternetConfigService. b=489864 r=josh sr=roc 2009-06-23 14:09:19 -05:00
Joe Drew
42d5d18bb7 Bug 496593 - Image cache entry comparison is wrong. r=vladimir, sr=bzbarsky 2009-06-15 15:33:48 -07:00
Joe Drew
0fa618a7c1 Bug 472590 - Always call OnStopFrame() from the GIF decoder, even if we didn't decode any rows (due to an invalid GIF). r=vlad 2009-05-14 21:56:54 -04:00
Alfred Kayser
4837cd5ca8 Bug 488685. GIF decoder should pass correct frame width. r=vlad,sr=joe
--HG--
extra : rebase_source : 1effad65df83ee2e2e50882f702c159a88fe909b
2009-05-13 22:20:36 +12:00
Joe Drew
32d2e9d9b8 Bug 483407 - Add an ok(true) to ensure we have at least one ok() statement. 2009-05-12 00:07:21 -04:00
Steven Michaud
b323b81296 Backed out changeset add33a95e3ef to fix talos crashes. b=489864 2009-05-11 15:40:32 -05:00
Steven Michaud
d170a6ab3a Backed out changeset add33a95e3ef to fix talos crashes. b=489864 2009-05-11 15:39:37 -05:00
Joe Drew
3f93bf4541 Bug 490949 - Add missing file. 2009-05-11 15:28:39 -04:00
Joe Drew
3ba9ebd8d4 Bug 490949 - Test to ensure that we reload images when they have Cache-Control: no-cache specified. 2009-05-11 15:15:42 -04:00
Joe Drew
d3a6720b34 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
Steven Michaud
580be164cf get rid of nsIInternetConfigService (patch mostly by joshmoz@mozilla.com). b=489864 r=josh sr=roc 2009-05-11 13:17:35 -05:00
Joe Drew
4ecdd21e8e Bug 490384 - Disable the ok() test in the test for bug 466586, because it's failing more frequently than it ought, and we can't figure out why. Pushing into a CLOSED TREE to help fix orangeness. 2009-05-08 17:43:03 -04:00
Joe Drew
a9bc9ba859 Bug 490384 - revert debugging code in CLOSED TREE 2009-05-08 17:28:08 -04:00
Joe Drew
6a4496f657 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
c77ce2595e 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
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Benjamin Smedberg
147cdd7058 Bug 486064 - gfxtypes.h and gfxTypes.h conflict in flattened include directories on case-insensitive filesystems, r=joe
--HG--
rename : gfx/idl/gfxtypes.idl => gfx/idl/gfxidltypes.idl
2009-05-04 12:38:16 -04:00
Siddharth Agarwal
c61dd94f15 Part 3 of bug 472093 -- fix build system to use NTDDI_VERSION instead of random checks -- add MOZ_NTDDI_* defines, switch code over to use these defines.
r=ted for build config parts, r=jmathies for app association and download manager changes, r+sr=bz for helper app service, r=vlad + sr=ted for stock icons.
2009-04-12 20:25:29 +05:30
Serge Gautherie
c17d8fb2ec Bug 488091 - Review |make check| usages; (Av2a) Remove empty targets; r=ted.mielczarek 2009-04-29 00:57:50 +02:00
timeless@mozdev.org
b394eaaeea Backed out changeset b1207d1e0ea4
reverting commit which breaks computers running antivirus software
2009-04-26 05:34:42 +02:00
Bob Clary
e3b53a78e3 bug 285595 - crash test by Neel Mehta. 2009-04-24 10:08:08 -07:00
Peter Weilbacher
8f59ba8025 Bug 488468: qcms build break with pre-4 GCCs (#if 0 commented text should be C/C++ commented), r=jmuizelaar 2009-04-23 19:38:11 +02:00
Joe Drew
c3671f00b6 Re-enable colour management reftests now that bug 488955 is fixed. 2009-04-22 13:50:02 -04:00