Closed Bug 237001 Opened 21 years ago Closed 21 years ago

clean up nsLegacyCheck and nsObjectIgnore

Categories

(SeaMonkey :: Installer, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: ajschult784)

Details

Attachments

(1 file, 2 obsolete files)

nsLegacyCheck currently contains methods SetFileName, SetMessage and InitNext, which it needs because it doesn't pass the parameters like nsRunApp does. This is pretty easy to fix in the parser, which would allow the mehods to be removed. nsLegacyCheck becomes an nsRunApp clone. the same is needed for the nsObjectIgnore class from bug 234741 once it exists.
Attached patch patch (obsolete) — Splinter Review
Attachment #143495 - Flags: review?(bsmedberg)
Comment on attachment 143495 [details] [diff] [review] patch Since these classes are essentially the same, can they be unified?
Attachment #143495 - Flags: review?(bsmedberg) → review+
Attachment #143495 - Flags: superreview?(dveditz+bmo)
Comment on attachment 143495 [details] [diff] [review] patch >-nsLegacyCheck::InitNext() >-{ InitNext() is still in the .h file, does this link? >+ char *currVal = NULL, *currVal2 = NULL; "currVal" gets used for two different things, two separate more descriptive names would be better if you feel like cleaning up the old code. There's no excuse for currVal2, though, it's only used for the legacy check message. sr=dveditz with those nits.
Attachment #143495 - Flags: superreview?(dveditz+bmo) → superreview+
Attached patch patch for checkin (obsolete) — Splinter Review
patch addressing dveditz's nits and updated to trunk
Attachment #143495 - Attachment is obsolete: true
Attached patch patch6Splinter Review
identical changes to nsObjectIgnore
Comment on attachment 146398 [details] [diff] [review] patch for checkin bz checked this in
Attachment #146398 - Attachment is obsolete: true
Summary: clean up nsLegacyCheck → clean up nsLegacyCheck and nsObjectIgnore
Comment on attachment 146426 [details] [diff] [review] patch6 more of the same...
Attachment #146426 - Flags: superreview?(dveditz)
Attachment #146426 - Flags: review?(bsmedberg)
Attachment #146426 - Flags: review?(bsmedberg) → review+
Comment on attachment 146426 [details] [diff] [review] patch6 sr=dveditz
Attachment #146426 - Flags: superreview?(dveditz) → superreview+
checked in by timeless
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: