Bobby Holley
46533669e3
Bug 513681 - part 13 - switch from "HEADERONLY" flag to IsSizeDecode()/SetSizeDecode().r=joe,a=blocker
2010-08-13 19:10:53 -04:00
Bobby Holley
250ad09167
Bug 513681 - part 10 - make decoder implementations inherit from Decoder.r=joe,a=blocker
2010-08-12 15:58:25 -04:00
Bobby Holley
428182998f
ug 513681 - part 9 - Move PNG callbacks into decoder class.r=joe,a=blocker
2010-08-12 15:53:31 -04:00
Bobby Holley
5d773a2acf
Bug 513681 - part 8 - Fold nsJPEGDecoder::Flush() into nsJPEGDecoder::Close().r=joe,a=blocker
2010-08-12 14:16:36 -04:00
Bobby Holley
9cbae4f0a2
Bug 513681 - part 7 - rename mImageContainer to mImage in nsGIFDecoder2 for consistency with the rest of the decoders.r=joe,a=blocker
2010-08-12 13:58:44 -04:00
Bobby Holley
d7bebcd3f1
Bug 513681 - part 5 - move the decoders out of their subdirectories.r=joe,a=blocker
...
--HG--
rename : modules/libpr0n/decoders/gif/GIF2.h => modules/libpr0n/decoders/GIF2.h
rename : modules/libpr0n/decoders/jpeg/iccjpeg.c => modules/libpr0n/decoders/iccjpeg.c
rename : modules/libpr0n/decoders/jpeg/iccjpeg.h => modules/libpr0n/decoders/iccjpeg.h
rename : modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp => modules/libpr0n/decoders/nsBMPDecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsBMPDecoder.h => modules/libpr0n/decoders/nsBMPDecoder.h
rename : modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp => modules/libpr0n/decoders/nsGIFDecoder2.cpp
rename : modules/libpr0n/decoders/gif/nsGIFDecoder2.h => modules/libpr0n/decoders/nsGIFDecoder2.h
rename : modules/libpr0n/decoders/bmp/nsICODecoder.cpp => modules/libpr0n/decoders/nsICODecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsICODecoder.h => modules/libpr0n/decoders/nsICODecoder.h
rename : modules/libpr0n/decoders/bmp/nsIconDecoder.cpp => modules/libpr0n/decoders/nsIconDecoder.cpp
rename : modules/libpr0n/decoders/bmp/nsIconDecoder.h => modules/libpr0n/decoders/nsIconDecoder.h
rename : modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp => modules/libpr0n/decoders/nsJPEGDecoder.cpp
rename : modules/libpr0n/decoders/jpeg/nsJPEGDecoder.h => modules/libpr0n/decoders/nsJPEGDecoder.h
rename : modules/libpr0n/decoders/png/nsPNGDecoder.cpp => modules/libpr0n/decoders/nsPNGDecoder.cpp
rename : modules/libpr0n/decoders/png/nsPNGDecoder.h => modules/libpr0n/decoders/nsPNGDecoder.h
2010-08-12 00:59:59 -04:00
Bobby Holley
6bb6a9c74b
Bug 513681 - part 4 - Get rid of CIDs and friends for decoders.r=joe,a=blocker
2010-08-12 00:31:37 -04:00
Bobby Holley
9de0c252df
Bug 513681 - part 2 - remove support for the MOZ_IMG_DECODERS build option.r=joe,khuey.a=blocker
2010-08-11 20:12:24 -04:00
Bobby Holley
3ae7b09e52
Bug 513681 - part 1 - fix a few warnings.r=joe,a=blocker
2010-08-13 18:15:20 -04:00
Bobby Holley
4d20b09df3
Bug 587371 - Image.h PRUint32 getters shouldn't be COM-y. r=joe,a=blocker
2010-08-14 18:23:47 -04:00
Ilpo Ruotsalainen
820e122c88
Bug 489142 - Use fastpath in JPEG decoder when CMS mode is tagged-only. r=joedrew, approval2.0=benjamin
...
--HG--
extra : rebase_source : 7759b352b6b39c2fd6407e0614cbd342fd4f84db
2010-07-16 14:05:40 -07:00
Nils Maier
bc6be3b7e3
Bug 521495 - moz-icon:// protocol does not work with SVG icons. r=joe
...
--HG--
extra : rebase_source : 4db9f6f86c2a2811d2b21dc28a4ede4216f4e705
2010-07-15 10:14:11 +02:00
Saint Wesonga
e7a357dcaf
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Benjamin Smedberg
b164ed30f3
Followup to bug 568691 landing, QT-specific JS component on a CLOSED TREE.
2010-07-01 15:44:46 -04:00
Benjamin Smedberg
63c0077443
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Jeff Muizelaar
c4f1d3499c
Bug 570451 - Avoid adding unneeded lines to image; r=joe sr=vlad
2010-06-25 15:20:18 -04:00
Benjamin Smedberg
45af085fff
Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
...
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
f13550a209
Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work.
2010-06-10 14:11:40 -04:00
Neil Rashbrook
9b48d90832
Bug 570002 Allow moz-icon://file:/// URIs again as download manager etc. use it r=joedrew
2010-06-17 12:27:14 +01:00
Justin Wood
e4c1a8ba2e
Backout Bug 570002 (changeset 218c8700878c) due to test failure.
2010-06-10 18:22:27 -04:00
Neil Rashbrook
23ff4f2785
Bug 570002 Allow moz-icon://file:/// URIs again r=joedrew,josh
2010-06-10 21:44:38 +01:00
Glenn Randers-Pehrson
b3979b6582
Bug 551438 - "Require system libpng to be at version 1.4.1 or later" [r=joedrew]
...
--HG--
extra : rebase_source : bd1b6257e157ac5109d3dda738a0b1bc4fd8211e
2010-03-12 09:15:00 -05:00
Walter Meinl
dfdc8214b2
[OS/2] Bug 565847 - follow-up for icondecoder changes, r=joshmoz
2010-05-15 15:52:44 +03:00
Josh Aas
2beb9f7d50
Improvements for moz-icon URI code. Include a crash fix and tests. b=559496 r=joe r=jst
2010-05-13 16:20:30 -04:00
David Baron
945430ee19
Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin]
2010-04-20 10:41:21 +02:00
Smokey Ardisson
ba91a93b28
Bug 397823 - moz-icon URL for nonexistent content type doesn't return generic icon on Mac OS X; fall back to fetching the icon for NSFileTypeUnknown. r=josh
2010-04-12 00:35:50 -04:00
Ted Mielczarek
9034abfe3b
bug 553635 - link libimgicon into libxul in gtk builds. r=bsmedberg
2010-03-20 12:14:15 -04:00
Joe Drew
e4b3d4e2f4
Bug 546272 - Some animated images have cropped frames. Fix several issues that didn't make sense in a world where frames aren't always at (0, 0), and make the GIF decoder report its real sizes. r=roc,vlad
2010-03-10 17:09:06 -05:00
Glenn Randers-Pehrson
a16fd7ff34
Bug 544747 - Update libpng to version 1.4.1. r=joe
2010-03-09 13:22:44 -05:00
Mike Kristoffersen
abdb2aa82c
Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
...
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Brad Lassey
7941559ff8
bug 547521 - enable building for windows mobile with --disable-libxul r=ted
2010-03-04 13:47:35 -05:00
Glenn Randers-Pehrson
f3231fdc19
Bug 532645 - "Upgrade libpng to version 1.4.0" [r+rs=joe]
2010-01-05 15:46:26 -06:00
Jonathan Kew
6cabc4d1a6
Bug 531363: test flags correctly in jpeg decoder. r=bholley
2009-12-14 10:35:46 +00:00
Glenn Randers-Pehrson
3f588b2770
Bug 529683 - Code cleanup needed in PNG decoder, r=joe
2009-12-03 18:41:00 -08:00
Zeev Tarantov
ea7a198dd0
Bug 482119 - Remove unused write_icc_profile. r=joe
2009-11-14 19:48:55 +01:00
Glenn Randers-Pehrson
051d876b20
Bug 504805 - "Update libpng to version 1.2.40" [rs=joe]
2009-11-10 19:39:31 -06:00
Ginn Chen
8c25058d62
Bug 516665 disorted images with moz-icon://*?size=dialog r=bobbyholley
2009-10-20 14:01:12 +08: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
Phil Ringnalda
e62c83fdc6
Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted
2009-09-18 19:59:53 -07: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
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
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
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
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
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
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
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
Alfred Kayser
5fa1beb6bc
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
Steven Michaud
e8a3b22bb1
Backed out changeset add33a95e3ef to fix talos crashes. b=489864
2009-05-11 15:39:37 -05:00
Steven Michaud
4a54908c46
get rid of nsIInternetConfigService (patch mostly by joshmoz@mozilla.com). b=489864 r=josh sr=roc
2009-05-11 13:17:35 -05:00
Siddharth Agarwal
81ff1e06cd
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
Peter Weilbacher
ad01d91539
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
Jeremy Huddleston
24fc1bebb1
Bug 485863 - modules/libpr0n/decoders/icon fails to build nsString problems. r=benjamin
2009-04-20 16:52:03 +02:00
L. David Baron
cb2aaaa3fe
Free gIconFactory in GTK nsIconChannel implementation. (Bug 488184) r=karlt
2009-04-16 13:55:12 -07:00
Josh Aas
979f0b0b62
Remove unused Carbon icon decoder. b=486907 sr=pav
2009-04-07 16:10:35 -04:00
Jeff Muizelaar
9980cb2188
Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
...
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Alfred Kayser
c8e30768ab
Bug 418871 - Remove unused parts from imgIContainer.idl. r=joe, sr=vlad
2009-04-05 16:52:18 +02:00
Joe Drew
fc5c15825a
Backed out changeset 6f3c2171bbb2:
...
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar
eaef2088cb
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 15:09:56 -04:00
Doug Turner
cdcc58d70c
Bug 461849 - enable icon decoder on Windows Mobile. r=stuart
2009-02-19 18:56:49 -08:00
Arpad Borsos
51bf75177c
Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc
2009-02-02 18:49:58 +01: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
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
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
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
Doug Turner
921312204b
Bug 457728 - icon decoder wince fixes. patch by blassey, r=stuart/dougt
2008-09-29 11:06:09 -07:00
Oleg Romashin
88bcb5a900
Bug 451263 - Implement moz-icon for Qt port. Add missing icon/qt directory part. r=vladimir.
2008-09-24 18:45:42 -05:00
Oleg Romashin
2f3f67b169
Bug 451263 - Implement moz-icon for Qt port. r=vladimir.
2008-09-20 04:03:23 -04:00
Doug Turner
a49e520740
Bug 453836 - handle OOM while images decoding. r=jim
2008-09-10 13:23:29 -07:00
Marco Bonardo
fed5a1056a
Bug 442731 - GIF favicons are not resampled in places.sqlite (large icons are stored), r=dietrich, pavlov
2008-09-02 13:59:59 +02:00
Bobby Holley
87c0ed791b
Bug 452676 - PNG Pseudo-CMS chunks (gAMA and cHRM) aren't handled properly with color management on. r=vlad,joe
2008-08-30 15:54:58 -07:00
Brian Crowder
075862a92a
Bug 422776 - reduce narrow Windows API calls in imagelib, original patch by Brad Lassey <blassey@mozilla.com>, r=pavlov
2008-08-27 14:44:55 -07:00
Reed Loden
b89ad17341
Backed out changeset 6eec92f9276a from bug 416157 because the image tests need to be updated before it can be landed.
2008-08-20 02:03:01 -05:00
Michael Moy
f9e264bb68
Bug 416157 - "Add JPEG SSE2 color processing for ycc_rgb_convert_argb" [r=stuart sr=vlad]
2008-08-20 00:03:46 -05:00
Glenn Randers-Pehrson
743e5b22f5
Bug 428045 – Incorrect transparency in .png image. sr=tor, r=pavlov
2008-08-19 10:12:31 +02:00
Bobby Holley
f0efbd4775
Code to fastpath Alpha PNGs in LCMS - part of bug 445552. r=vlad
2008-08-17 22:08:53 -07:00
Bobby Holley
ead2727c2c
Floating point path through lcms as part of bug 445552. r=vlad
2008-08-16 14:44:51 -07:00
Bobby Holley
3b34cb4ebc
Bug 449681 – switch color_management pref from off/on bool to off/on/taggedonly int. r=vlad
2008-08-11 21:55:36 -07:00
Bobby Holley
4a0c36fc63
Firefox honors embedded ICC intent flag - bug 444014 r=vlad
2008-07-23 10:33:12 -07:00
Robert Longson
be6dcc3eb6
Bug 444996 - Compilation broken on various platforms. INT_MAX was not declared in this scope. r+sr=vladimir
2008-07-16 10:20:24 +01:00
Vladimir Vukicevic
04fc36140f
b=443693, check png info callback correctly; r=joe
2008-07-11 13:52:30 -07:00
gavin@gavinsharp.com
e74996a506
Bug 427978: default to using file extension if file used in moz-icon doesn't exist, patch by Jim Mathies <jmathies@mozilla.com>, r=stuart, a=schrep
2008-04-16 13:16:31 -07:00
johnath@mozilla.com
7d1d211b40
Back out test-landing of JOEDREW!'s bug 425941.
2008-04-04 09:02:44 -07:00