Closed
Bug 225164
Opened 22 years ago
Closed 22 years ago
nsIconDecoder needs not be built anymore on win32
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Biesinger, Assigned: stdowa+bugzilla)
Details
(Keywords: helpwanted, memory-footprint)
Attachments
(1 file, 3 obsolete files)
|
1.68 KB,
patch
|
tor
:
superreview+
|
Details | Diff | Splinter Review |
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
Comment 1•22 years ago
|
||
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?
| Reporter | ||
Comment 2•22 years ago
|
||
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.
Comment 3•22 years ago
|
||
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
| Reporter | ||
Comment 5•22 years ago
|
||
> 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?
Comment 7•22 years ago
|
||
Passing the parcel :-P
Assignee: neil.parkwaycc.co.uk → nobody
Keywords: helpwanted
| Assignee | ||
Comment 8•22 years ago
|
||
> basically, moz-icon: urls not working.
moz-icon: urls still work with the patch.
| Assignee | ||
Comment 9•22 years ago
|
||
Attachment #135313 -
Attachment is obsolete: true
| Assignee | ||
Updated•22 years ago
|
Attachment #152151 -
Flags: review?(cbiesinger)
| Reporter | ||
Updated•22 years ago
|
Attachment #152151 -
Flags: review?(cbiesinger) → review+
| Assignee | ||
Updated•22 years ago
|
Attachment #152151 -
Flags: superreview?(tor)
| Reporter | ||
Comment 10•22 years ago
|
||
actually, gnome does not need this file either, it produces PNGs...
Comment 11•22 years ago
|
||
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-
| Assignee | ||
Comment 12•22 years ago
|
||
Attachment #152151 -
Attachment is obsolete: true
| Assignee | ||
Comment 13•22 years ago
|
||
With one less tab...
Attachment #152209 -
Attachment is obsolete: true
| Assignee | ||
Updated•22 years ago
|
Attachment #152210 -
Flags: superreview?(tor)
Attachment #152210 -
Flags: review?(tor)
Attachment #152210 -
Flags: superreview?(tor) → superreview+
| Assignee | ||
Updated•22 years ago
|
Attachment #152210 -
Flags: review?(tor)
| Assignee | ||
Updated•22 years ago
|
Assignee: nobody → sdwalker
| Assignee | ||
Comment 14•22 years ago
|
||
-> 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.
Description
•