Closed
Bug 76788
Opened 24 years ago
Closed 24 years ago
remove redundant global symbols from address book
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: waterson, Assigned: kandrot)
References
Details
(Keywords: memory-footprint)
Attachments
(6 files)
1.20 KB,
patch
|
Details | Diff | Splinter Review | |
10.05 KB,
patch
|
Details | Diff | Splinter Review | |
10.74 KB,
patch
|
Details | Diff | Splinter Review | |
3.76 KB,
patch
|
Details | Diff | Splinter Review | |
14.58 KB,
patch
|
Details | Diff | Splinter Review | |
4.16 KB,
patch
|
Details | Diff | Splinter Review |
This stuff is checked in on STATIC_BUILD_20010418_BRANCH, but needs r=.
Reporter | ||
Updated•24 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla0.9.1
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
candace, could you r=? thanks.
Reporter | ||
Comment 4•24 years ago
|
||
Reporter | ||
Updated•24 years ago
|
Reporter | ||
Comment 6•24 years ago
|
||
sr=waterson, ship it!
Assignee: waterson → dprice
Status: ASSIGNED → NEW
Reporter | ||
Comment 7•24 years ago
|
||
(these changes are on the STATIC_BUILD_20010418_BRANCH.)
Assignee | ||
Comment 9•24 years ago
|
||
Part of tonight's checkin (part 3 of 3 in my part of checking in Ron's changes).
Status: NEW → ASSIGNED
Comment 10•24 years ago
|
||
dribble this in as you can get to it.
not critical for the 0.9.1 betas that I know of but we want to continue with
progress.
moving the target milestone to reduce the size of the list.
check it in in the next week if its ready
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Assignee | ||
Comment 11•24 years ago
|
||
Checked in the changes.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 12•24 years ago
|
||
this patch doesn't build on win32.
forgive my ignorance here, but if we make kFirstNameColumn extern, where will
it find it? nsAddrDatabase.cpp? that's not in the same module.
Comment 13•24 years ago
|
||
did this get tested on linux? if I'm right, it would have died on loading the
absync module due to the unresolved symbols. it would have built fine, though.
kandrot, can you back this out?
Comment 14•24 years ago
|
||
to be fair, you'd probably need a commercial build to test this.
chuang?
Comment 15•24 years ago
|
||
We got an optimized linux static build from the brach.
The tests we ran are only limited to startup and page-load performance.
There was no intensive QA blessings on every features in the static build.
We definitely need to test this thing throughly, identify bugs and fix them. If
we do decide to ship it.
Comment 16•24 years ago
|
||
reopen this bug...
address book changes was backed out of trunk due to build bustage on win32 a
while back.
sspitzer or chuang, we will need your help to get address book changes correctly
so it will build on windows. :-) we're cutting a new static build branch right
now; will inform you guys when we're ready.
-thanks!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 17•24 years ago
|
||
Is there a set of changes to this patch that will fix the problems we had when
last I checked in? Who is the person to contact who can make the needed
changes. I do not know what the code does, or I would. Thanks.
Comment 18•24 years ago
|
||
there hasn't been a patch (yet) that will work for both the static branch and
the tip.
the problem is that these strings have to live in two different modules on the
trunk and then within the same module on the static branch.
can't we just make them static where they are used in both places, so that when
linking the two .a libraries together, there won't be duplicately defined
symbols? there will be some extra bloat (the strings will be defined twice, but
statically only), but at least the same fix will work for the tip as well as the
static branch.
I can work with kandrot soon (tomorrow?) on this.
I can help
Comment 19•24 years ago
|
||
Try the two patches, move the constants into idl. I tried it on the trunk and
it is working. Hope it will work on the static build.
Comment 20•24 years ago
|
||
Comment 21•24 years ago
|
||
Comment 22•24 years ago
|
||
The patches are against trunk. It moves the constants into nsIAddrDatabase.idl
and remove all extern const statements from addrbook and absync.
Comment 23•24 years ago
|
||
Thanks you Candice!
I manually applied the patches to our static branch and they resolve the build
bustage for dynamic build. I will go ahead check in your patches into to our
branch. They will land when we get the branch landed on the trunk!
Thanks you for whipping out the fixes so quickly! :-)
Comment 24•24 years ago
|
||
Comment 25•24 years ago
|
||
patch landed to static branch
Reporter | ||
Comment 26•24 years ago
|
||
I'm still seeing some duplicate symbols...
multiple definition of `kAddressCharSetColumn'
multiple definition of `kMailListName'
multiple definition of `kMailListNickName'
multiple definition of `kMailListDescription'
multiple definition of `kMailListTotalAddresses'
Comment 27•24 years ago
|
||
Comment 28•24 years ago
|
||
r = chuang. Looks good.
Comment 29•24 years ago
|
||
When are these going back into the trunk?
Comment 30•24 years ago
|
||
this is fixed by waterson landing the static branch today.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
QA Contact: esther → stephend
Fixed using code verification through LXR.
Verified.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•