Closed Bug 225164 Opened 22 years ago Closed 22 years ago

nsIconDecoder needs not be built anymore on win32

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Biesinger, Assigned: stdowa+bugzilla)

Details

(Keywords: helpwanted, memory-footprint)

Attachments

(1 file, 3 obsolete files)

since Bug 222694 was fixed, nsIconDecoder.cpp needs not be built anymore on win32 - nsICODecoder.cpp will be used instead for moz-icon urls. hence, Makefile.in should be changed appropriately. filing on bsmedberg on neil's request
I need a little more detail in this bug ;) 1) do we still need to build all the other stuff in http://lxr.mozilla.org/mozilla/source/modules/libpr0n/decoders/icon/ 1a) and on which platforms? 2) Why does nsICODecoder live in decoders/bmp?
1) yes, the other stuff is needed 1a) non-windows should continue to build the same file set as today. windows should stop building nsIconDecoder. 2) "because that's where hyatt put it" :) but more seriously, it shares code with the bmp decoder, it is a general decoder for .ico files, it works on all platforms, it wouldn't make sense in the icon/ directory.
Attached patch you test this (obsolete) — Splinter Review
I don't know how to test this... what kind of regressions are we looking for here? I don't even know what icon: uris do. What happens if you disable the BMP decoder... should we revert to building nsIconDecoder.cpp or do something else? --BDS
.
Assignee: bsmedberg → cbiesinger
QA Contact: bsmedberg
> what kind of regressions are we looking for here? basically, moz-icon: urls not working. e.g: moz-icon://.htm should show the icon of the program associated with .htm files (e.g. mozilla) this is used in the helper app dialog & pref panels > What happens if you disable the >BMP decoder... then that's your own fault :) don't you need to remove icondecoder registration from nsIconModule too?
.
Assignee: cbiesinger → neil.parkwaycc.co.uk
Passing the parcel :-P
Assignee: neil.parkwaycc.co.uk → nobody
Keywords: helpwanted
> basically, moz-icon: urls not working. moz-icon: urls still work with the patch.
Attached patch patch (obsolete) — Splinter Review
Attachment #135313 - Attachment is obsolete: true
Attachment #152151 - Flags: review?(cbiesinger)
Attachment #152151 - Flags: review?(cbiesinger) → review+
Attachment #152151 - Flags: superreview?(tor)
actually, gnome does not need this file either, it produces PNGs...
Comment on attachment 152151 [details] [diff] [review] patch Since only os2 and mac need nsIconDecoder, you should make the makefile change conditionally compile for only those platforms.
Attachment #152151 - Flags: superreview?(tor) → superreview-
Attached patch patch (obsolete) — Splinter Review
Attachment #152151 - Attachment is obsolete: true
Attached patch patchSplinter Review
With one less tab...
Attachment #152209 - Attachment is obsolete: true
Attachment #152210 - Flags: superreview?(tor)
Attachment #152210 - Flags: review?(tor)
Attachment #152210 - Flags: superreview?(tor) → superreview+
Attachment #152210 - Flags: review?(tor)
Assignee: nobody → sdwalker
-> fixed, timeless checked in the last patch with biesi's review+ carried over.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: