Closed
Bug 168572
Opened 22 years ago
Closed 22 years ago
nsDirectoryServiceDefs.h needs to be frozen
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dougt, Assigned: dougt)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
ccarlen
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
Freeze the current defines in these two files.
Comment 1•22 years ago
|
||
I think the definitions in these files can be frozen, but the entire files can't
be frozen. That is, any key that's there must remain and be supported but we
will always need to add new definitions. Especially for nsDirectoryServiceDefs.h
which defines many OS-defined locations. New versions of an OS come out, new
locations are defined, and we need to be able to add definitions to
nsDirectoryServiceDefs.h to reflect that.
Assignee | ||
Comment 2•22 years ago
|
||
sure. that makes sense for files containing pure constants
Assignee | ||
Comment 3•22 years ago
|
||
Assignee | ||
Comment 4•22 years ago
|
||
nsAppDirectoryServiceDefs.h needs to move out of xpcom. where to??
Assignee | ||
Comment 5•22 years ago
|
||
Comment on attachment 99434 [details] [diff] [review]
patch v.1
we need to clean up some stuff!
Attachment #99434 -
Attachment is obsolete: true
Attachment #99434 -
Flags: needs-work+
Assignee | ||
Comment 6•22 years ago
|
||
not close, but closer.
Not freezing application cruft that needs to be moved out of xpcom.
removing private define from the Defs header.
Assignee | ||
Updated•22 years ago
|
Summary: nsDirectoryServiceDefs.h nsAppDirectoryServiceDefs.h → nsDirectoryServiceDefs.h needs to be frozen
Assignee | ||
Comment 7•22 years ago
|
||
Comment 8•22 years ago
|
||
Comment on attachment 102018 [details] [diff] [review]
comment marking included defines frozen
sr=alecf
Attachment #102018 -
Flags: superreview+
Comment 9•22 years ago
|
||
Comment on attachment 102018 [details] [diff] [review]
comment marking included defines frozen
r=ccarlen
Attachment #102018 -
Flags: review+
Comment 10•22 years ago
|
||
Comment on attachment 102018 [details] [diff] [review]
comment marking included defines frozen
>Index: nsDirectoryServiceDefs.h
>+/*
>+ * Defines the property names for directories available from nsIDirectoryService. These
>+ * dirs are always available even if no nsIDirectoryServiceProviders have been registered
>+ * with the service. Application level keys are defined in nsAppDirectoryServiceDefs.h.
>+ *
>+ * Keys whose definition ends in "DIR" or "FILE" return a single nsIFile (or subclass).
>+ * Keys whose definition ends in "LIST" return an nsISimpleEnumerator which enumerates a
>+ * list of file objects.
>+ *
>+ * Defines listed in this file are FROZEN.
>+ */
comment blocks should start with /** no? are we allowed to grow this list in
the future? i can't think of any reason why not, but we should perhaps mention
that fact in the documentation for this header.
r/sr=darin
Assignee | ||
Comment 11•22 years ago
|
||
/cvsroot/mozilla/xpcom/io/nsDirectoryServiceDefs.h,v <-- nsDirectoryServiceDefs.h
new revision: 1.20; previous revision: 1.19
done
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
•