Commit Graph

371 Commits

Author SHA1 Message Date
Jeff Muizelaar
a28d4dd5a6 Add some tests that exercise bug 525326. r=joe 2009-11-02 13:15:09 -05:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Jeff Muizelaar
186c457ded Add a test for gif comment parsing. 2009-10-21 13:31:04 -04:00
Ginn Chen
8c25058d62 Bug 516665 disorted images with moz-icon://*?size=dialog r=bobbyholley 2009-10-20 14:01:12 +08:00
Jeff Muizelaar
673fac182d Bug 519589. Add some tests for GIF transparency.
This is the begining of the long needed GIF test suite.
2009-10-17 00:06:36 -04:00
Bobby Holley
11bcc9cfff Bug 512269 - UUID rev that should have been in the last push.r=joe 2009-10-15 21:17:04 -07:00
Bobby Holley
1258825d19 Bug 512269 - imgIDecoder shouldn't use an nsIInputStream for input. r=joe 2009-10-15 19:54:44 -07:00
Alfred Kayser
6b7fae6459 Bug 519589 - Restore our handling of transparent pixels outside the colormap's bounds. r=joe 2009-10-15 21:37:39 -04:00
L. David Baron
04deabf021 Change NS_ABORT_IF_FALSE to NS_ASSERTION since the icon decoder causes it to fire quite a bit. (Bug 518704) 2009-10-07 20:22:42 -07:00
Bobby Holley
ba376437d0 Bug 517543 - need a STATUS_DECODE_COMPLETE for imgIRequest.r=joe 2009-10-06 21:39:30 -07:00
Bobby Holley
26aa9ebc91 Bug 517091 - Don't do an expensive asynchronous RequestDecode() if there's already an active full decoder. r=joe 2009-09-19 12:33:00 -07:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
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
a33d570dcc orange fix - disabled the wrong test in f34cc41267d8. r=lumpy 2009-09-13 22:00:39 -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
Bobby Holley
d6c1c80ee0 Bug 516265 - GIF Decoder doesn't send close notifications if it never gets a size. r=joe 2009-09-13 14:53:55 -04: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
1d155c0cba Bug 435296 - Tests. r=dolske 2009-09-12 16:44:19 -06:00
Bobby Holley
a5ecb73f88 Bug 512435 - Tests. r=dolske 2009-09-12 16:44:19 -06: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
Alfred Kayser
e9d19c5ee2 Bug 514776 - [r=joe sr=vlad] 2009-09-12 00:27:13 -05:00
Alfred Kayser
a06970896c Bug 513738 - [r=JOEDREW!] 2009-09-04 20:47:11 -05:00
Joe Drew
df1ed238ec 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
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
Jeff Muizelaar
129b69170c imported patch jpeg-icc 2009-08-13 18:33:24 -04: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
Bobby Holley
ca7b88296e 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
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
Peter Weilbacher
91e21a542e [OS/2] Bug 413529 - enable WPS icons again for all apps, r=wuno@lsvw 2009-08-01 22:21:08 +03:00
Bobby Holley
9328bfd38b Bug 504822 - Remove XBM support from Mozilla. r=joe sr=vladimir 2009-07-29 10:13:08 -04:00
Justin Dolske
a03d767bfa Bug 503573 - moz-icon doesn't work on Window CE. r=vlad 2009-07-28 23:19:34 -07:00
Justin Dolske
bd374e7c5d Bug 506811 - nsIconChannel assumes writing to non-aligned 32bit int is ok. r=joe 2009-07-28 23:19:31 -07: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
Ryo Kawaguchi
f8f1c8c15b 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
ec0ef86e27 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
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
Glenn Randers-Pehrson
16d2b43447 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
467383f766 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
8120af189c Bug 494680 nsMozIconURI::SetSpec warning: comparison between signed and unsigned
r+sr=biesi
2009-06-27 18:42:50 -07:00
Steven Michaud
3cf940577e get rid of nsIInternetConfigService. b=489864 r=josh sr=roc 2009-06-23 14:09:19 -05:00
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
8d0a42255e 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