Closed
Bug 7955
Opened 26 years ago
Closed 23 years ago
Component Registry file is missing type/creator info
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: sfraser_bugs, Assigned: dougt)
References
Details
(Keywords: helpwanted)
The Component Registry file that gets created has no icon, because its type
and creator are blank. I guess this bug depends on 6181.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M10
Comment 1•26 years ago
|
||
SSSUUUURRRREEEE...
I doubt that dp is using nsFileSpec to create the registry, because I recall that
libreg still uses nspr paths.
Comment 3•26 years ago
|
||
xpcom is planning on using filespec for file operations for a ton of other
reasons too. There are a few road blocks to the conversion still. I will talk
about that in the xpcom needs to use filespec bug report.
Reporter | ||
Updated•26 years ago
|
Hardware: All → Macintosh
Reporter | ||
Comment 4•26 years ago
|
||
Why is this all platforms? Type/creator info is only present on Mac.
Updated•26 years ago
|
Target Milestone: M10 → M11
Comment 5•26 years ago
|
||
Adding dougt -- he added support for this to nsFileSpec. (Maybe this is a dup).
Updated•26 years ago
|
Target Milestone: M11 → M15
Comment 6•26 years ago
|
||
If nsIFile or whatever supports this, maybe we can use that.
Assignee: dp → dougt
Status: ASSIGNED → NEW
Assignee | ||
Comment 7•26 years ago
|
||
nsIFIle will support this.
Assignee | ||
Comment 8•26 years ago
|
||
assigning to sdagley. Steve, could you do the QI and set in the right place??
Assignee: dougt → sdagley
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 9•25 years ago
|
||
Re-assigning to samir since the installer creates the registry
Assignee: sdagley → sgehani
Status: ASSIGNED → NEW
Target Milestone: M15 → M16
Reporter | ||
Comment 10•25 years ago
|
||
We need all files to have proper types/creators. Currently, .xpt files are
missing these too.
Comment 11•25 years ago
|
||
The installer doesn't create the registry. XPCOM's autoreg process does.
Besides, the creator is already being set as 'MOSS' for Netscape builds which is
correct. Wow! That was an easy fix :o)
Simon,
Restoration of type/creator occurs during AppleSingle decoding. The bug is that
the release process must set these because XPInstall is generic and can't force
a type/creator in installed files during its extraction process. That would be
a bug against jj. CC'ing him to bring this issue to his attention.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 12•25 years ago
|
||
We can either
1. fix RegXPCom so that it creates the component registry using nsFileSpec,
therefore assigning the proper file type/creator when the file is created, or
2. I can add yet another patch to the packaging system and set the Component
Registry's type/creator before I build [xpcom.xpi]. However, if I remember
correctly, this version of the component registry is not the one that end up on
the user's machine, right? I thought that xpinstall was regenerating one at
install time. If this is the case, we're back to square 1.
PS: btw, why is this bug already marked fixed?
Comment 13•25 years ago
|
||
We should be using nsILocalFileMac for this. SetFileTypeAndCreator
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 14•25 years ago
|
||
The lowest level before calling into OS to create the component registry is
libreg. This aint fixed. I am going to assign it to dveditz.
Comment 15•25 years ago
|
||
Ok this is assigned to sgehani who is in the same group as dveditz. Can you
coordiate this with dan.
Comment 16•25 years ago
|
||
JJ,
This bug was marked fixed because the Component Registry being generated already
has the creator set to 'MOSS' as I specified in my comment above. And yes, we
do delete the Component Registry so it can autoreg the first time. Not sure if
that's still the current thinking. DP?
The bug was reopened because we were getting the 'MOSS' creator for free as teh
default file creator. DP's point is that we should be setting it explicitly in
registry code. Fair enough.
Status: REOPENED → ASSIGNED
Reporter | ||
Comment 17•25 years ago
|
||
Also note that the creator code should be 'MOZZ" in mozilla and 'MOSS" in
commercial. We really need some kind of service to get the app name/creator.
Updated•25 years ago
|
Target Milestone: M16 → M17
Comment 19•25 years ago
|
||
dp is no longer @netscape.com. reassigning qa contact to default for this component
QA Contact: dp → rayw
Comment 20•24 years ago
|
||
-> XPCOM Registry owner for triage.
Assignee: sgehani → dougt
Status: ASSIGNED → NEW
QA Contact: rayw → dougt
Assignee | ||
Updated•24 years ago
|
Keywords: helpwanted
Target Milestone: --- → Future
Reporter | ||
Comment 21•24 years ago
|
||
This file shows up as a Stuffit Archive on Mac OS X, which is certainly wrong.
Comment 22•24 years ago
|
||
There sure are ample methods on nsILocalFileMac for setting type/creator info.
Just a matter of finding out where to put it in the component mgr. Though the
file may be made in registry C code, I think the component mgr could find out
whether it existed before calling the registry, and if it didn't and now it
does, set the file type.
Assignee | ||
Comment 23•23 years ago
|
||
do we really need to have a type/creator for components/compreg.dat? What do we
do for xpti.dat?
Status: NEW → RESOLVED
Closed: 25 years ago → 23 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•