Closed
Bug 11557
Opened 27 years ago
Closed 26 years ago
nsIFileSpec.idl should forward declare nsFileSpec
Categories
(Core :: XPCOM, defect, P5)
Core
XPCOM
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: beard, Assigned: dougt)
References
Details
Currently, it explicitly includes "nsFileSpec.h" which brings in a lot of extra
#includes for everybody, namely nsString.h, and friends. This causes lots of
source files to implicitly get nsString, nsCRT, etc.
In my tree, I've experimented with this and have had to touch the following list
of files to get them to correctly, explicitly #include nsString.h and nsCRT.h:
mozilla/mailnews/mime/emitters/src/nsEmitterUtils.cpp
mozilla/mailnews/imap/src/nsImapStringBundle.cpp
mozilla/mailnews/addrbook/src/nsCardDataSource.cpp
mozilla/xpfe/components/history/src/nsGlobalHistory.cpp
mozilla/layout/base/src/nsPresContext.cpp
mozilla/xpcom/components/xcDll.cpp
mozilla/netwerk/protocol/http/src/nsHTTPHandler.cpp
mozilla/mailnews/mime/emitters/src/nsMimeXmlEmitter.cpp
mozilla/mailnews/mime/emitters/src/nsMimeHtmlEmitter.cpp
mozilla/mailnews/compose/src/nsMsgComposeStringBundle.cpp
mozilla/netwerk/base/src/nsLoadGroup.cpp
mozilla/modules/libimg/src/if.cpp
mozilla/netwerk/protocol/about/src/nsAboutProtocolHandler.cpp
Updated•27 years ago
|
Assignee: dp → dougt
| Assignee | ||
Comment 1•27 years ago
|
||
Do you want to check these changes in?
| Reporter | ||
Comment 2•27 years ago
|
||
I have been propagating them forward but keep getting conflicts, so I filed this
bug to notify you of the problem. And there hasn't been a good time to check them
in. They're easy to find, just make the change to nsIFileSpec.idl, and things
will start to break, usually because they need either nsString.h or nsCRT.h.
| Assignee | ||
Updated•27 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M10
| Assignee | ||
Comment 3•27 years ago
|
||
risky change before m9 tree closure. Setting target milestone to m10.
| Assignee | ||
Comment 4•27 years ago
|
||
moving to m11.
| Assignee | ||
Updated•27 years ago
|
Target Milestone: M10 → M11
| Assignee | ||
Comment 5•27 years ago
|
||
moving to m11.
| Assignee | ||
Updated•27 years ago
|
Priority: P3 → P5
Target Milestone: M11 → M14
| Assignee | ||
Comment 6•27 years ago
|
||
moving after beta.
| Assignee | ||
Comment 7•26 years ago
|
||
will be fixed by 22047
| Assignee | ||
Comment 8•26 years ago
|
||
users should not be using nsFileSpec any longer.
Target Milestone: M14 → M20
| Assignee | ||
Comment 9•26 years ago
|
||
nsfilespec is dead.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•