Closed
Bug 332362
Opened 18 years ago
Closed 18 years ago
Correct misuse of ifdefs in /mailnews
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(4 files)
2.42 KB,
patch
|
kairo
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
4.33 KB,
patch
|
Bienvenu
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
2.65 KB,
patch
|
Bienvenu
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
1.54 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
There are various ifdefs in /mailnews where the wrong one has been used. SeaMonkey needs them correcting in preparation for building it with MOZ_XUL_APP=1.
Assignee | ||
Comment 1•18 years ago
|
||
Corrects ifndef MOZ_XUL_APP to ifdef MOZ_SUITE in jar.mn files under /mailnews. Of course, when these move to /suite then the ifdefs will be redundant, but in the meantime we need this. The mailnews/jar.mn is covered in bug 330053, but I'd missed these ones when I did that patch.
Attachment #216836 -
Flags: superreview?(neil)
Attachment #216836 -
Flags: review?
Assignee | ||
Updated•18 years ago
|
Attachment #216836 -
Flags: review? → review?(kairo)
Assignee | ||
Comment 2•18 years ago
|
||
SeaMonkey would also like to be able to use palmsync as a full extension (when it becomes a full xul app) - change the ifdefs and add SeaMonkey into the install.rdf.
Attachment #216837 -
Flags: superreview?(neil)
Attachment #216837 -
Flags: review?(bienvenu)
Assignee | ||
Comment 3•18 years ago
|
||
This changes MOZ_THUNDERBIRD to MOZ_XUL_APP for some of the ifdefs in nsMessengerWinIntegration - the ones I've changed it for are where it is picking up the newer toolkit interfaces which SeaMonkey hopes to pick up soon.
Attachment #216838 -
Flags: review?(bienvenu)
Comment 4•18 years ago
|
||
Comment on attachment 216836 [details] [diff] [review] Correct jar.mn files (checked in) looks good to me :)
Attachment #216836 -
Flags: review?(kairo) → review+
Updated•18 years ago
|
Attachment #216836 -
Flags: superreview?(neil) → superreview+
Updated•18 years ago
|
Attachment #216837 -
Flags: superreview?(neil) → superreview+
Assignee | ||
Updated•18 years ago
|
Attachment #216838 -
Flags: superreview?(neil)
Updated•18 years ago
|
Attachment #216838 -
Flags: review?(bienvenu) → review+
Comment 5•18 years ago
|
||
Comment on attachment 216838 [details] [diff] [review] Part 3. Correct MOZ_THUNDERBIRD to MOZ_XUL_APP in nsMessengerWinIntegration (checked in) > #ifdef MOZ_STATIC_BUILD > #define MAIL_DLL_NAME NULL >-#else >+#elif defined(MOZ_STATIC_MAIL_BUILD) > #define MAIL_DLL_NAME "mail.dll" >-#endif > #else > #define MAIL_DLL_NAME "msgbase.dll" > #endif I think I'd prefer #ifdef MOZ_STATIC_BUILD #define MAIL_DLL_NAME NULL #else #ifdef MOZ_STATIC_MAIL_BUILD #define MAIL_DLL_NAME "mail.dll" #else #define MAIL_DLL_NAME "msgbase.dll" #endif #endif
Attachment #216838 -
Flags: superreview?(neil) → superreview+
Assignee | ||
Updated•18 years ago
|
Attachment #216836 -
Attachment description: Correct jar.mn files. → Correct jar.mn files (checked in)
Assignee | ||
Comment 6•18 years ago
|
||
Comment on attachment 216838 [details] [diff] [review] Part 3. Correct MOZ_THUNDERBIRD to MOZ_XUL_APP in nsMessengerWinIntegration (checked in) Checked in with Neil's comments addressed.
Attachment #216838 -
Attachment description: Part 3. Correct MOZ_THUNDERBIRD to MOZ_XUL_APP in nsMessengerWinIntegration → Part 3. Correct MOZ_THUNDERBIRD to MOZ_XUL_APP in nsMessengerWinIntegration (checked in)
Updated•18 years ago
|
Attachment #216837 -
Flags: review?(bienvenu) → review+
Assignee | ||
Updated•18 years ago
|
Attachment #216837 -
Attachment description: Part 2. SeaMonkey would like to have PalmSync as an extension as well. → Part 2. SeaMonkey would like to have PalmSync as an extension as well (checked in)
Assignee | ||
Comment 7•18 years ago
|
||
Two more corrections to ifdefs I've just found.
Attachment #216863 -
Flags: superreview?(bienvenu)
Attachment #216863 -
Flags: review?(bienvenu)
Updated•18 years ago
|
Attachment #216863 -
Flags: superreview?(bienvenu)
Attachment #216863 -
Flags: superreview+
Attachment #216863 -
Flags: review?(bienvenu)
Attachment #216863 -
Flags: review+
Assignee | ||
Updated•18 years ago
|
Attachment #216863 -
Attachment description: Part 4. Two more corrections. → Part 4. Two more corrections (checked in).
Assignee | ||
Comment 8•18 years ago
|
||
Ok, I think all the misuse cases are fixed. We can always re-open if I or anyone else finds any more.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•