Closed Bug 279510 Opened 20 years ago Closed 20 years ago

Remove TARGET_CARBON from widget/src/mac and gfx/src/mac

Categories

(Core Graveyard :: Widget: Mac, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterv, Assigned: sfraser_bugs)

Details

Attachments

(2 files, 1 obsolete file)

We only support OS X anyway.
Attached patch nsMacWindow (obsolete) — Splinter Review
I personally don't have time right now to go through all of them. Here's what I
had laying around already.
Attachment #172200 - Flags: superreview?(sfraser_bugs)
Attachment #172200 - Flags: review?(sfraser_bugs)
Status: NEW → ASSIGNED
Assignee: sfraser_bugs → qa-mozilla
Status: ASSIGNED → NEW
I'll do the clean up directory by directory.
First patch cleans up /fgx/src/mac, to finish the clean up the following files
needs to be cvs removed :
nsPrintSettingsMac.{h|cpp}
nsPrintOptionsMac.{h|cpp}
nsDeviceContextSpecMac.{h|cpp}

Asking r to pink.
Attachment #172200 - Attachment is obsolete: true
Attachment #172478 - Flags: review?(pinkerton)
Comment on attachment 172478 [details] [diff] [review]
remove TARGET_CARBON in gfx/src/mac

Looks good although CurrentPortIsWMPort() could probably just go away.
Attachment #172478 - Flags: superreview+
Assignee: qa-mozilla → sfraser_bugs
second directory that is cleaned up. files
nsMenuBar.{h|cpp}
nsMenu.{h|cpp}
nsMenuItem.{h|cpp}
Can be cvs removed.
Attachment #172494 - Flags: review?(pinkerton)
Attachment #172200 - Flags: superreview?(sfraser_bugs)
Attachment #172200 - Flags: review?(sfraser_bugs)
Attachment #172494 - Flags: superreview+
Comment on attachment 172478 [details] [diff] [review]
remove TARGET_CARBON in gfx/src/mac

r=pink
Attachment #172478 - Flags: review?(pinkerton) → review+
Comment on attachment 172494 [details] [diff] [review]
remove TARGET_CARBON from widget/src/mac

+#if (UNIVERSAL_INTERFACES_VERSION >= 0x0330)

is this even still needed? we use this in a couple of places.

r=pink
Attachment #172494 - Flags: review?(pinkerton) → review+
Status: NEW → ASSIGNED
Changes are in, with a bit more cleanup including the
UNIVERSAL_INTERFACES_VERSION stuff. Thanks Ludovic!
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
widget/src/mac/nsCheckButton.cpp seems not to be used. 
In Firefox and Camino, this source is not compiled. 

Is this used in another place?
There are a number of native widget classes in widger/src/mac that are unused. I
kept them around in case we want to revive native widgets at some point, but
maybe we should just remove them. Mike?
if we revive "native widgets" i think it should be through the same xbl-linked
mechanism as we do native scrollbars, in which case they won't be nsIWidgets.
Those unused ones can prolly all go.
Thank you for the comment, Mike-san,Simon-san.
And I agreed.
I removed those old native wiget files.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: