Closed Bug 166917 Opened 23 years ago Closed 23 years ago

Clean up SDK includes

Categories

(Core :: XPCOM, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file)

88.40 KB, application/octet-stream
alecf
: review+
rpotts
: superreview+
jesup
: approval+
Details
I want to do at least the following: Remove obsolete #includes from required XPCOM headers. Export all glue headers into the SDK directory. Push nsError.h into the SDK. (eg freeze the defines in that file)
Attached file proposed patch
zip attachment. 544kb. most of the patch is a global search and replaces from NS_INIT_REFCNT to NS_INIT_ISUPPORTS. This does a few things: converts NS_INIT_REFCNT() to NS_INIT_ISUPPORTS() removes includes of "nsComObsolete.h" and "nsISupportsObsolete.h" from xpcom public includes. (and sprinkles some #includes where needed) makes all of the xpcom glue headers be exported into the sdk directory. makes nsError.h part of the sdk. (this include common error codes, NS_FAILED, NS_SUCCEEDED macros)
Comment on attachment 98152 [details] proposed patch sr=rpotts@netscape.com. ignoring changes to makefiles in c-sdk and the changes to nsAppRunner.cpp
Attachment #98152 - Flags: superreview+
r=alecf
Comment on attachment 98152 [details] proposed patch oops, r=alecf This looks very mechanical, I spent a few minutes taking random samples from the patch.. they all looked fine.
Attachment #98152 - Flags: review+
Thanks. Landing now.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
mirrors were busted and the tree was closed - i couldn't land. Try again later.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
landed.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: