Closed
Bug 231337
Opened 21 years ago
Closed 20 years ago
Clean up old Mac OS X runtime tests
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jaas, Assigned: jaas)
Details
Attachments
(1 file, 3 obsolete files)
6.61 KB,
patch
|
Details | Diff | Splinter Review |
Since lots of the Mac code in Mozilla was written for Mac OS 9 first, when Mac OS X added there were sometimes runtime checks used to determine whether Mac OS X was being run. Now, since any time Mozilla code is run on a Mac it must be Mac OS X and therefore those checks are unnecessary. This patch cleans out lots of old code and elimintes the wasteful checks.
I'll mark this ready for review when I'm done testing and cleaning for sure... just here for my organizational purposes now.
Attachment #139326 -
Flags: review?(sbwoodside)
Attachment #139326 -
Flags: superreview?(bz-vacation)
patch is good - compiles fine, no bustage in my testing. pretty straightforward
Comment 3•21 years ago
|
||
I'm not likely to get to this anytime soon (next 2 weeks, probably).
Comment 4•21 years ago
|
||
cc'ing bryner because he told me on irc yesterday that he was going to do this, or had a patch, or something.
Attachment #139326 -
Flags: review?(sdagley)
Comment 5•21 years ago
|
||
Comment on attachment 139326 [details] [diff] [review] patch v1.0 This reminds me we've got a lot of #if TARGET_CARBON in the code. Any plans to change that?
Attachment #139326 -
Flags: review?(sdagley) → review+
I plan on taking care of the carbon ifdefs sometime in the next couple months, but I figured I'd get the runtime stuff done first so we don't waste time on calls to gestalt and whatnot.
Attachment #139326 -
Flags: review?(sbwoodside)
This patch needs some whitespace cleanup, and perhaps the gestalt.h does not need to be included in some of the files... coming up
The only difference between this patch and the first one is replacing some tabs with the correct number of spaces.
Attachment #139326 -
Attachment is obsolete: true
Attachment #140481 -
Flags: superreview?(bz-vacation)
Attachment #140481 -
Flags: review?(sdagley)
Updated•21 years ago
|
Attachment #140481 -
Flags: review?(sdagley) → review+
Updated•21 years ago
|
Attachment #139326 -
Flags: superreview?(bzbarsky)
Comment 9•21 years ago
|
||
Comment on attachment 140481 [details] [diff] [review] patch v1.1 (whitespace cleanup) >Index: xpfe/appshell/src/nsAppShellService.cpp >@@ -1017,37 +1009,4 @@ > takeAction = PR_TRUE; > } >- if (!takeAction) >- return NS_OK; Can't you remove the code up to this point too? It seems like this whole method is really OS9-only.... sr=bzbarsky with this issue addressed one way or another (either removing all the unused code here or explaining why it can't be removed).
Attachment #140481 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Comment 10•20 years ago
|
||
This patch removes the method bz commented about altogether. also, the patch is updated to the current trunk code. Not requesting a review yet since I haven't tested it. Just putting the patch here so I can keep track of it.
Attachment #140481 -
Attachment is obsolete: true
Assignee | ||
Comment 11•20 years ago
|
||
Landed this patch. This patch is the same as the one bz sr'd but it is updated for the current trunk (removed some changes already made on the trunk) and addresses his comment by removing the rest of the code in the method.
Attachment #163008 -
Attachment is obsolete: true
Assignee | ||
Comment 12•20 years ago
|
||
Anyone know why when I try to land this patch, cvs picks up a bunch of files under the "Tag: ldapcsdk_50_client_branch" heading that I don't mean to modify? CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: Tag: ldapcsdk_50_client_branch CVS: directory/c-sdk/config/Makefile directory/c-sdk/config/nfspwd CVS: directory/c-sdk/ldap/clients/tools/Makefile CVS: directory/c-sdk/ldap/libraries/libiutil/Makefile CVS: directory/c-sdk/ldap/libraries/libldif/Makefile CVS: directory/c-sdk/ldap/libraries/libssldap/Makefile CVS: No tag CVS: gfx/src/mac/nsNativeThemeMac.cpp CVS: gfx/src/mac/nsRenderingContextMac.cpp CVS: gfx/src/mac/nsRenderingContextMac.h CVS: xpfe/appshell/src/nsAppShellService.cpp CVS: ----------------------------------------------------------------------
Comment 13•20 years ago
|
||
Because you're not running 'cvs commit' on just the files you want to commit? Also, you did notice that the trunk is closed due to mac bustage, right? Making checkins right now is a bad idea; doing it in mac code is a really bad idea.
Assignee | ||
Comment 14•20 years ago
|
||
I didn't land the patch due to the cvs commit funniness. I've never had "cvs commit" pick up anything but my intended changes before. Also I should have noticed the bustage - my bad, won't happen again.
Comment 15•20 years ago
|
||
LDAP makefiles are mangled by the build system when not using a separate objdir. don't know about nfspwd.
Assignee | ||
Comment 16•20 years ago
|
||
really landed this time
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•