Closed
Bug 178643
Opened 22 years ago
Closed 21 years ago
Remove uses of NS_INIT_ISUPPORTS from tree
Categories
(Core :: XPCOM, defect, P4)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Whiteboard: [treewide][patch])
Attachments
(4 files, 1 obsolete file)
2.09 KB,
patch
|
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
173.12 KB,
application/x-gzip
|
Details | |
7.79 KB,
patch
|
Details | Diff | Splinter Review | |
71.63 KB,
patch
|
bryner
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
Bug 174225 made NS_INIT_ISUPPORTS do nothing and deprecated it. We should
remove the callers from the tree, although probably we should wait until the 1.0
branch is used less.
Assignee | ||
Updated•22 years ago
|
Priority: -- → P4
Whiteboard: [treewide]
Target Milestone: --- → Future
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•22 years ago
|
||
This moves NS_INIT_ISUPPORTS to nsISupportsObsolete.h. This might require
changes to the commercial tree before it is checked in since
nsISupportsObsolete.h is not included in many files.
Assignee | ||
Comment 2•22 years ago
|
||
This is a gzipped patch. It was created using the files
replacer.sed:
-----
/^[ ]*NS_INIT_ISUPPORTS[ ]*([ ]*);\?[ ]*$/d
s/NS_INIT_ISUPPORTS[ ]*([ ]*);\?[ ]*//
-----
replacer sh:
-----
(find mozilla -name "*".cpp; find mozilla -name "*".h) | while read FILENAME;
do sed -f replacer.sed $FILENAME > $FILENAME.replacer.$$.tmp
if diff $FILENAME $FILENAME.replacer.$$.tmp >& /dev/null; then
rm $FILENAME.replacer.$$.tmp
else
echo $FILENAME
mv $FILENAME.replacer.$$.tmp $FILENAME
fi
done
-----
And then undoing the changes they made to the two files in the previous patch.
Note that everything between [] in the sed script is a space followed by a tab.
Assignee | ||
Comment 3•22 years ago
|
||
Comment on attachment 110632 [details]
treewide change
Requesting r and sr. I'm not expecting you to read every line... :-)
Attachment #110632 -
Attachment is patch: false
Attachment #110632 -
Attachment mime type: text/plain → application/x-gzip
Attachment #110632 -
Flags: superreview?(jaggernaut)
Attachment #110632 -
Flags: review?(dougt)
Assignee | ||
Updated•22 years ago
|
Attachment #110632 -
Attachment is patch: true
Attachment #110632 -
Attachment mime type: application/x-gzip → text/plain
Assignee | ||
Updated•22 years ago
|
Attachment #110632 -
Attachment is patch: false
Attachment #110632 -
Attachment mime type: text/plain → application/x-gzip
Comment 4•22 years ago
|
||
Comment on attachment 110630 [details] [diff] [review]
moving the macro to nsISupportsObsolete.h
sr=jag
Attachment #110630 -
Flags: superreview+
Comment 5•22 years ago
|
||
Comment on attachment 110632 [details]
treewide change
sr=jag
Attachment #110632 -
Flags: superreview?(jaggernaut) → superreview+
ok. this is fine, but i have a few minor things i wanted fixed so here's a
replacement patch, and the list of files i changed:
Index: mozilla/intl/ctl/src/nsULE.cpp
Index: mozilla/intl/lwbrk/public/nsIBreakState.h
Index: mozilla/mailnews/absync/src/nsAbSyncPostEngine.cpp
Index: mozilla/mailnews/base/src/nsCopyMessageStreamListener.cpp
Index: mozilla/mailnews/base/util/nsMsgFolder.cpp
Index: mozilla/mailnews/compose/src/nsURLFetcher.cpp
Index: mozilla/mailnews/local/src/nsLocalMailFolder.cpp
Index: mozilla/mailnews/local/src/nsParseMailbox.cpp
Index: mozilla/mailnews/mime/cthandlers/glue/nsMimeContentTypeHandler.cpp
Index: mozilla/mailnews/mime/src/nsMimeConverter.cpp
Index: mozilla/mailnews/mime/src/nsMimeObjectClassAccess.cpp
Index: mozilla/mailnews/mime/src/nsMsgHeaderParser.cpp
Index: mozilla/mailnews/mime/src/nsStreamConverter.cpp
Index: mozilla/mailnews/news/src/nsNewsFolder.cpp
Index: mozilla/widget/src/photon/nsWidget.cpp
Index: mozilla/xpcom/base/nsAgg.h
Index: mozilla/xpcom/components/nsXPComFactory.h
Attachment #110632 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Whiteboard: [treewide] → [treewide][patch]
Assignee | ||
Comment 7•22 years ago
|
||
Comment on attachment 110632 [details]
treewide change
Timeless said on IRC that I have r=timeless with his changes.
Attachment #110632 -
Flags: review?(dougt)
Assignee | ||
Comment 8•22 years ago
|
||
Comment 9•22 years ago
|
||
dbaron, can you post a final patch for review?
Comment 10•22 years ago
|
||
What was the nature of timeless' changes?
Assignee | ||
Comment 11•22 years ago
|
||
Cleaning up some formatting issues, if I remember correctly.
Assignee | ||
Comment 12•21 years ago
|
||
patch for remaining changes / new changes
Assignee | ||
Updated•21 years ago
|
Attachment #139758 -
Flags: superreview?(bryner)
Attachment #139758 -
Flags: review?(bryner)
Updated•21 years ago
|
Attachment #139758 -
Flags: superreview?(bryner)
Attachment #139758 -
Flags: superreview+
Attachment #139758 -
Flags: review?(bryner)
Attachment #139758 -
Flags: review+
Assignee | ||
Comment 13•21 years ago
|
||
Remaining fix checked in to trunk, 2004-01-23 15:12 -0800.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•