Open
Bug 131849
Opened 22 years ago
Updated 2 years ago
addressbook build system requires exporting internal files
Categories
(MailNews Core :: Address Book, defect)
MailNews Core
Address Book
Tracking
(Not tracked)
NEW
People
(Reporter: dmosedale, Unassigned)
References
Details
Attachments
(9 files, 1 obsolete file)
5.61 KB,
patch
|
bryner
:
review+
|
Details | Diff | Splinter Review |
4.63 KB,
patch
|
Details | Diff | Splinter Review | |
2.70 KB,
patch
|
Details | Diff | Splinter Review | |
4.30 KB,
patch
|
Details | Diff | Splinter Review | |
17.04 KB,
patch
|
standard8
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
2.50 KB,
patch
|
dmosedale
:
review+
dmosedale
:
superreview+
benjamin
:
approval-aviary1.1a2+
|
Details | Diff | Splinter Review |
6.98 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
930 bytes,
patch
|
Details | Diff | Splinter Review | |
2.28 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
When addrbook/build attempts to build (at least on Windows and *nix), it depends on every header in addrbook/src being exported to dist for no good reason. Instead, it should just add LOCAL_INCLUDES += -I$(srcdir)/../src or equivalent.
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 1•19 years ago
|
||
This patch only exports the necessary header files to dist, in addition, a couple of files are changed to support this. I've tested on linux with clobber builds of thunderbird and suite and it appears to work fine. I can't see any reason why the windows build should fail either because the headers that were exported into dist aren't required for any of the idl files.
Attachment #177305 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 2•19 years ago
|
||
Comment on attachment 177305 [details] [diff] [review] Patch (checked in) Sorry, but although I'm sure this is good stuff I don't know the build system well enough to review this.
Attachment #177305 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 3•19 years ago
|
||
Comment on attachment 177305 [details] [diff] [review] Patch (checked in) For reviewer's info: this is a build configuration change for address book header files.
Attachment #177305 -
Flags: review?(bryner)
Updated•19 years ago
|
Attachment #177305 -
Flags: review?(bryner) → review+
Comment 4•19 years ago
|
||
Patch checked in by timeless. Leaving this open whilst checking all trees remain green. 2005-03-14 09:30 timeless%mozdev.org mozilla/ mailnews/ import/ text/ src/ nsTextAddress.cpp 1.44 2/1 2005-03-14 09:30 timeless%mozdev.org mozilla/ mailnews/ build/ Makefile.in 1.10 1/0 2005-03-14 09:30 timeless%mozdev.org mozilla/ mailnews/ addrbook/ src/ nsAbBaseCID.h 1.6 0/1 2005-03-14 09:30 timeless%mozdev.org mozilla/ mailnews/ addrbook/ src/ Makefile.in 1.55 0/42 2005-03-14 09:30 timeless%mozdev.org mozilla/ mailnews/ addrbook/ build/ Makefile.in 1.46 1/0
Comment 5•19 years ago
|
||
This will hopefully fix the build bustage on windows and mac.
Assignee: sspitzer → mark
Status: NEW → ASSIGNED
Comment 6•19 years ago
|
||
Ok, second attempt to fix the bustage on windows - this time it's palm sync. I've had to put a couple of the taken out headers back in as palmsync uses the member variables of one of the non-exported classes :-(
Comment 7•19 years ago
|
||
This patch was the additional fixes supplied by timeless (thank you) for finally fixing the windows bustage. The nsAbPalmSync.cpp change in this patch was a temporary one to copy the static function "PRTime2Seconds" from nsAddrDatabase.cpp to the former file. This means we now have 4 definitions of this same function in mailnews. Before I close this bug, I want to resolve the above PRTime2Seconds item, and also see if the palm sync extension really needs the nsAbCardProperty.h and nsAbMDBCardProperty.h headers - ideally it should run off the idl files like the rest of mailnews.
Comment 8•19 years ago
|
||
This patch does a bit of tidy up to centralise the PRTime2Seconds functions (and Seconds2PRTime function) into one central place in nsMsgUtils. To do this without adding the minimal of extra requires to address book & palm sync, I've re-arranged some of the includes. As far as I can tell Palm Sync should work, but I can't get a Windows dev environment to work, and I'd like to get this in.
Updated•19 years ago
|
Attachment #177892 -
Flags: review?(bienvenu)
Comment 9•19 years ago
|
||
Comment on attachment 177892 [details] [diff] [review] Centralise PRTime2Seconds functions looks OK - I can try this patch against palmsync...
Attachment #177892 -
Flags: review?(bienvenu) → review+
Comment 10•19 years ago
|
||
Updated previous patch that David tested for me with palm sync - missing item in the requires for palm sync. Carrying forward his r.
Attachment #177892 -
Attachment is obsolete: true
Attachment #178141 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #178141 -
Flags: review+
Updated•19 years ago
|
Attachment #178141 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Comment 11•19 years ago
|
||
Comment on attachment 178141 [details] [diff] [review] Centralise PRTime2Seconds funcs and fix palm sync compilation (checked in) Timeless checked this patch in. 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ db/ msgdb/ src/ nsMsgHdr.cpp 1.115 2/2 Bug 131849 addressbook build system requires exporting internal files patch by bugzilla@standard8.demon.co.uk r=bienvenu sr=neil 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ extensions/ palmsync/ src/ Makefile.in 1.7 2/0 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ extensions/ palmsync/ src/ nsAbPalmSync.cpp 1.26 1/9 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ imap/ src/ nsImapProtocol.cpp 1.601 1/9 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ addrbook/ src/ Makefile.in 1.57 1/0 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ addrbook/ src/ nsAddrDatabase.cpp 1.127 1/10 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ addrbook/ src/ nsAddrDatabase.h 1.50 0/3 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ base/ src/ nsMsgSearchDBView.cpp 1.44 1/0 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ base/ util/ nsMsgUtils.cpp 1.103 29/0 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ base/ util/ nsMsgUtils.h 1.48 11/2 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ db/ msgdb/ public/ nsMsgDatabase.h 1.117 0/5 2005-03-22 09:39 timeless%mozdev.org mozilla/ mailnews/ db/ msgdb/ src/ nsMsgDatabase.cpp 1.349 0/19
Comment 12•19 years ago
|
||
Ok, the main parts of this patch are in, it would be nice to rework some of the palm sync code such that address book doesn't have to export nsAbCardProperty.h and nsAbMDBCardProperty.h - but that is for now waiting on some fairly major code changes to nsIAbCard.idl in bug 279405.
Depends on: 279405
Whiteboard: Main Patches in, may need to work on palm sync (waiting outcome of bug 279405)
Comment 13•19 years ago
|
||
Simple patch so we don't export nsVCard.h. I can't see anywhere outside of address book where this file is used, and seamonkey & tb compile ok with this patch on linux. We still need to export nsVCardObj.h at the current time (hence I haven't removed it).
Attachment #187230 -
Flags: superreview?(dmose)
Attachment #187230 -
Flags: review?(dmose)
Reporter | ||
Comment 14•19 years ago
|
||
Comment on attachment 187230 [details] [diff] [review] Remove nsVCard.h from exports (checked in) r+sr=dmose
Attachment #187230 -
Flags: superreview?(dmose)
Attachment #187230 -
Flags: superreview+
Attachment #187230 -
Flags: review?(dmose)
Attachment #187230 -
Flags: review+
Reporter | ||
Comment 15•19 years ago
|
||
Comment on attachment 187230 [details] [diff] [review] Remove nsVCard.h from exports (checked in) Be sure you've tested this patch against a clobber tree, or at the very least after explicitly removing any existing links/copies of nsVCard.h from dist.
Comment 16•19 years ago
|
||
Comment on attachment 187230 [details] [diff] [review] Remove nsVCard.h from exports (checked in) Tested patch against clobber builds for tb & suite and no problems found. Requesting approval, this patch stops address book exporting a header file that it doesn't need to. No functional changes.
Attachment #187230 -
Flags: approval1.8b3?
Attachment #187230 -
Flags: approval-aviary1.1a2?
Updated•19 years ago
|
Attachment #187230 -
Flags: approval1.8b3?
Attachment #187230 -
Flags: approval-aviary1.1a2?
Attachment #187230 -
Flags: approval-aviary1.1a2+
Comment 17•19 years ago
|
||
Comment on attachment 187230 [details] [diff] [review] Remove nsVCard.h from exports (checked in) Checking in mailnews/addrbook/public/nsIMsgVCardService.idl; /cvsroot/mozilla/mailnews/addrbook/public/nsIMsgVCardService.idl,v <-- nsIMsgVCardService.idl new revision: 1.3; previous revision: 1.2 done Checking in mailnews/addrbook/src/Makefile.in; /cvsroot/mozilla/mailnews/addrbook/src/Makefile.in,v <-- Makefile.in new revision: 1.60; previous revision: 1.59 done Checking in mailnews/addrbook/src/nsMsgVCardService.cpp; /cvsroot/mozilla/mailnews/addrbook/src/nsMsgVCardService.cpp,v <-- nsMsgVCardService.cpp new revision: 1.5; previous revision: 1.4 done
Updated•19 years ago
|
Component: Address Book → MailNews: Address Book
Product: Mozilla Application Suite → Core
Updated•19 years ago
|
QA Contact: nbaca → addressbook
Comment 18•19 years ago
|
||
This patch starts to remove nsDirPrefs.h from the public includes, bug 323181 should do the rest of removing it from the exports.
Attachment #208282 -
Flags: superreview?(bienvenu)
Attachment #208282 -
Flags: review?(bienvenu)
Updated•19 years ago
|
Attachment #208282 -
Flags: superreview?(bienvenu)
Attachment #208282 -
Flags: superreview+
Attachment #208282 -
Flags: review?(bienvenu)
Attachment #208282 -
Flags: review+
Comment 19•19 years ago
|
||
Comment on attachment 208282 [details] [diff] [review] Start removing nsDirPrefs.h from public includes (checked in). This patch checked in (as are all the others so far on this bug).
Attachment #208282 -
Attachment description: Start removing nsDirPrefs.h from public includes. → Start removing nsDirPrefs.h from public includes (checked in).
Comment 20•19 years ago
|
||
this gets palm sync building again - I'll check this in since it fixes build bustage.
Updated•19 years ago
|
Attachment #187230 -
Attachment description: Remove nsVCard.h from exports → Remove nsVCard.h from exports (checked in)
Updated•19 years ago
|
Attachment #177305 -
Attachment description: Patch → Patch (checked in)
Updated•19 years ago
|
Attachment #177393 -
Attachment description: Fix build bustage on Win & Mac → Fix build bustage on Win & Mac (checked in)
Updated•19 years ago
|
Attachment #177407 -
Attachment description: Second attempt to fix bustage on Windows → Second attempt to fix bustage on Windows (checked in)
Updated•19 years ago
|
Attachment #177532 -
Attachment description: Additional bustage fix. → Additional bustage fix (checked in)
Updated•19 years ago
|
Attachment #178141 -
Attachment description: Centralise PRTime2Seconds funcs and fix palm sync compilation. → Centralise PRTime2Seconds funcs and fix palm sync compilation (checked in)
Updated•19 years ago
|
Attachment #208761 -
Attachment description: fix palmsync build bustage → fix palmsync build bustage (checked in)
Comment 21•19 years ago
|
||
This patch moves the added #defines to a central location in nsIAbDirectory. I don't see there being a problem with them there and they'd probably need to be moved eventually anyway.
Attachment #211493 -
Flags: superreview?(bienvenu)
Attachment #211493 -
Flags: review?(bienvenu)
Updated•19 years ago
|
Attachment #211493 -
Flags: superreview?(bienvenu)
Attachment #211493 -
Flags: superreview+
Attachment #211493 -
Flags: review?(bienvenu)
Attachment #211493 -
Flags: review+
Updated•19 years ago
|
Attachment #211493 -
Attachment description: Follow-up patch for palmsync build bustage fix → Follow-up patch for palmsync build bustage fix (checked in)
Comment 22•18 years ago
|
||
The only files that are left are the ones below: nsAbCardProperty.h nsAbMDBCardProperty.h nsVCardObj.h nsAb*CardProperty need palmsync to stop requiring the use of them. nsVCardObj.h needs a vcard rewrite. I'm reassigning this to the default owner as I won't be working on either of these in the near future, but someone else may want to.
Assignee: bugzilla → nobody
Status: ASSIGNED → NEW
Whiteboard: Main Patches in, may need to work on palm sync (waiting outcome of bug 279405)
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•