Closed Bug 280247 Opened 20 years ago Closed 19 years ago

Remove XP_MAC from xpcom

Categories

(Core :: XPCOM, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 281889

People

(Reporter: Usul, Assigned: Usul)

References

Details

Attachments

(6 files, 1 obsolete file)

Cleaning bug. We only build Mach-O these days. This bug is to clean up CFM code
Status: NEW → ASSIGNED
Patch removing XP_MAC in xpcom/base.
other directories within xpcom will follow.
Attachment #172733 - Flags: review?(dougt)
xpcom/components
Attachment #172736 - Flags: review?(dougt)
Attached patch remove XP_MAC from xpcom/ds (obsolete) — Splinter Review
remove from ds, asking review to darin so dougt doesn't have all the patches to
review.
Attachment #172738 - Flags: review?(darin)
asking darin for xpcom/io.
file nsLocalFileMac.h can be removed
Attachment #172743 - Flags: review?(darin)
files in xpcom/reflect/xptcall/src/md/mac can be removed
Attachment #172815 - Flags: review?(dougt)
Attachment #172818 - Flags: review?(darin)
I think I got them all.
Comment on attachment 172738 [details] [diff] [review]
remove XP_MAC from xpcom/ds

>Index: nsTimelineService.cpp

> static PRTime Now(void)
> {
>     return PR_Now();
> }

It would seem that you could just replace all instances of Now()
with PR_Now() and then eliminate Now().


r=darin with that change
Attachment #172738 - Flags: review?(darin) → review+
Comment on attachment 172743 [details] [diff] [review]
remove XP_MAC from xpcom/io

I think that nsLocalFileMac.{h,cpp} could also be CVS removed.

r=darin
Attachment #172743 - Flags: review?(darin) → review+
Comment on attachment 172818 [details] [diff] [review]
remove XP_MAC from xpcom/typelib/xpidl

r=darin
Attachment #172818 - Flags: review?(darin) → review+
I think you should get someone like Simon Fraser or Mike Pinkerton to give these
changes an overall approval before they are checked in.
(In reply to comment #11)
> I think you should get someone like Simon Fraser or Mike Pinkerton to give these
> changes an overall approval before they are checked in.

I plan to ask sfraser for sr
adressing darin's comment and asking smfr for sr
Attachment #172738 - Attachment is obsolete: true
Attachment #172908 - Flags: superreview?(sfraser_bugs)
Attachment #172743 - Flags: superreview?(sfraser_bugs)
Attachment #172818 - Flags: superreview?(sfraser_bugs)
Comment on attachment 172818 [details] [diff] [review]
remove XP_MAC from xpcom/typelib/xpidl

Please, deal with bug 161453 too !
Depends on: 161453
(In reply to comment #14)
> (From update of attachment 172818 [details] [diff] [review] [edit])
> Please, deal with bug 161453 too !

Will do once these are gone.
Blocks: 283572
Attachment #172733 - Flags: review?(dougt) → review+
Attachment #172736 - Flags: review?(dougt) → review+
Attachment #172815 - Flags: review?(dougt) → review+
What about the stuff in mozilla/xpcom/reflect/xptcall/src/md/mac/ and other (if
any) mac specific files?
(In reply to comment #16)
> What about the stuff in mozilla/xpcom/reflect/xptcall/src/md/mac/ and other (if
> any) mac specific files?

I need to check those and see what can/needs to be done.
i don't see any reason to remove the xptcall impls
Attachment #172908 - Flags: approval1.8b3?
Attachment #172908 - Flags: superreview?(sfraser_bugs) → superreview+
Attachment #172908 - Flags: approval1.8b3? → approval1.8b3+
Attachment #172908 - Flags: superreview+ → review+
Attachment #172733 - Flags: review+
Attachment #172733 - Flags: approval1.8b3?
Attachment #172733 - Flags: approval1.8b3? → approval1.8b3+
landed xpcom/ds and xpcom/base parts
see 281889, comment #24

*** This bug has been marked as a duplicate of 281889 ***
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
No longer blocks: 283572
Attachment #172743 - Flags: superreview?(sfraser_bugs)
Attachment #172818 - Flags: superreview?(sfraser_bugs)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: