Closed
Bug 245430
Opened 22 years ago
Closed 21 years ago
Investigate static build version of thunderbird
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird1.1
People
(Reporter: mscott, Assigned: mscott)
References
Details
(Whiteboard: fixed-aviary1.0)
Attachments
(11 files, 2 obsolete files)
|
3.12 KB,
patch
|
Details | Diff | Splinter Review | |
|
643 bytes,
patch
|
Details | Diff | Splinter Review | |
|
40.58 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.83 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.54 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.63 KB,
patch
|
Details | Diff | Splinter Review | |
|
628 bytes,
patch
|
Details | Diff | Splinter Review | |
|
2.90 KB,
patch
|
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
|
2.49 KB,
patch
|
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
|
1.44 KB,
patch
|
pkwarren
:
review+
|
Details | Diff | Splinter Review |
|
1.46 KB,
patch
|
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
tracking bug for various patches to support static builds
| Assignee | ||
Comment 1•22 years ago
|
||
ignores issues with packaging in mail\config
these changes at least get the build off the ground for windows
| Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.7
| Assignee | ||
Comment 2•22 years ago
|
||
| Assignee | ||
Comment 3•22 years ago
|
||
this larger patch is still a work in progress and trys to remove the
dist\thunderbird packaging step.
| Assignee | ||
Comment 4•22 years ago
|
||
*** Bug 226800 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 5•22 years ago
|
||
This eliminates the dist\thunderbird step for windows.
mail\config only does the chrome repackaging
mail\installer\Makefile.in zips up the contents of dist\bin and removes files
we d on't want packaged that were previously not getting copied to
dist\thunderbird.
Attachment #149978 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•22 years ago
|
||
| Assignee | ||
Comment 7•22 years ago
|
||
my previous patch (150060) got the mail biff indicator working but broke the
application icon associated with the executable. This patch addresses that.
Still one remaining problem: when you mouse over the biff indicator in the
system tray the icon is now disappearing. I don't know why that is yet.
| Assignee | ||
Comment 8•22 years ago
|
||
I think you also need the patch in
http://bugzilla.mozilla.org/show_bug.cgi?id=239835
to fix some weird issues with the mail biff icon and static builds.
| Assignee | ||
Comment 9•22 years ago
|
||
*** Bug 245892 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 10•22 years ago
|
||
this patch restores the old mail biff resource ID of 101. It adds another
application icon that has a lower name than the biff icon ID of 101 because
windows goes in alphabetical order when picking the ICO from a resource to use
as the application icon.
| Assignee | ||
Comment 11•22 years ago
|
||
| Assignee | ||
Comment 12•22 years ago
|
||
| Assignee | ||
Comment 13•22 years ago
|
||
Attachment #150464 -
Attachment is obsolete: true
| Assignee | ||
Comment 14•22 years ago
|
||
Comment on attachment 150467 [details] [diff] [review]
fix static build crash on OS X. Don't use global static string objects
On OS X, global static string objects crash if you are running a static build.
This kept Thunderbird static builds from starting up.
So far I've only found this one occurrence. There may be more lurking out
there.
I added some extra nsMemory::Free calls before each assignment into
gDefaultCharacterSet to protect against any leaks.
Attachment #150467 -
Flags: superreview?(bienvenu)
Updated•22 years ago
|
Attachment #150467 -
Flags: superreview?(bienvenu) → superreview+
| Assignee | ||
Comment 15•22 years ago
|
||
| Assignee | ||
Comment 16•22 years ago
|
||
Comment on attachment 150479 [details] [diff] [review]
another static global string
I fixed this instance by making it a regular property on the protocol instance
and not a static property. I moved the pref code to read in the pref from
InitGlobals to the IMAP ctor. Feel free to object if you don't like that
approach David.
Attachment #150479 -
Flags: superreview?(bienvenu)
| Assignee | ||
Comment 17•22 years ago
|
||
I need to test this wallet patch out more before landing on the trunk
Comment 18•22 years ago
|
||
Comment on attachment 150479 [details] [diff] [review]
another static global string
sr=bienvenu
Attachment #150479 -
Flags: superreview?(bienvenu) → superreview+
| Assignee | ||
Comment 19•21 years ago
|
||
there is no remaining work to be done here on the branch. Just work to land all
these patches on the trunk.
Whiteboard: fixed-aviary1.0
Target Milestone: Thunderbird0.7 → Thunderbird0.8
Comment 20•21 years ago
|
||
This change appears to be the cause of the redness in the Linux Thunderbird
tinderbox build. It is failing saying it can't find the thunderbird binary in
the dist directory.
| Assignee | ||
Comment 21•21 years ago
|
||
*** Bug 247571 has been marked as a duplicate of this bug. ***
Comment 22•21 years ago
|
||
Still no white folder in tray for new mail... :-(
Comment 23•21 years ago
|
||
(In reply to comment #22)
> Still no white folder in tray for new mail... :-(
It only shows an empty space.
Comment 24•21 years ago
|
||
(In reply to comment #23)
> (In reply to comment #22)
> > Still no white folder in tray for new mail... :-(
> It only shows an empty space.
>
Yes, an annoying empty space...
| Assignee | ||
Comment 25•21 years ago
|
||
I don't think the missing biff indicator has anything to do with the static
build changes on windows anymore. I now see the problem in non static debug
builds. I think it has to do with the way processes are spun up with the new
profile manager. So I've spun off a separate bug, Bug #245430
Comment 26•21 years ago
|
||
(In reply to comment #25)
> I don't think the missing biff indicator has anything to do with the static
> build changes on windows anymore. I now see the problem in non static debug
> builds. I think it has to do with the way processes are spun up with the new
> profile manager. So I've spun off a separate bug, Bug #245430
Is there a seperate bug for biff indicator?
| Assignee | ||
Comment 27•21 years ago
|
||
this is actually all checked in on the branch and the trunk except for the
wallet change. I need to get that reviewed so it can land on the trunk.
Target Milestone: Thunderbird0.8 → Thunderbird0.9
| Assignee | ||
Updated•21 years ago
|
Target Milestone: Thunderbird0.9 → Thunderbird1.1
Comment 28•21 years ago
|
||
This was noted as fixed on the branch, and mostly in the trunk. It didn't sound
like it would take 3 more releases to fix it. Why was this pushed out past 0.9?
| Assignee | ||
Comment 29•21 years ago
|
||
it is fixed on the branch and the trunk. The only thing that isn't a static
build is the OS X build because we need some wallet changes I haven't had time
to get into the trunk yet.
Comment 30•21 years ago
|
||
We should at least update the summary (or OS), then, since the problem has been
fixed for all OSes but one. Make it look less like this is a big problem that's
being delayed that long...
| Assignee | ||
Comment 31•21 years ago
|
||
Comment on attachment 150482 [details] [diff] [review]
wallet change
Philip did some string work in wallet recently. I'll tag him for a reviewer for
this patch :)
In order to use wallet in a static build on the mac, we can't have global
nsAutoStrings defined anywhere.
Attachment #150482 -
Flags: review?(pkwarren)
Comment 32•21 years ago
|
||
Comment on attachment 150482 [details] [diff] [review]
wallet change
>@@ -2759,7 +2759,7 @@
> }
>
> buffer.Append(BREAK);
>- buffer += wallet_url.get();
>+ buffer += wallet_url;
Can wallet_url ever be unitialized or null here?
>@@ -3314,6 +3314,8 @@
> if (fillins.Length() == 0) { /* user pressed CANCEL */
> wallet_ReleasePrefillElementList(wallet_list);
> wallet_list = nsnull;
>+ nsMemory::Free(wallet_url);
>+ wallet_url = NULL;
Maybe change this to nsnull when you check it in to more closely match the rest
of the code.
Be careful with the wallet code - it is very fragile =).
Attachment #150482 -
Flags: review?(pkwarren) → review+
| Assignee | ||
Comment 33•21 years ago
|
||
Comment on attachment 150482 [details] [diff] [review]
wallet change
remove global autostring so we can turn on static builds for Thunderbird Mac OS
X.
I'll change:
wallet_url = NULL;
to
wallet_url = nsnull;
before checking in
Attachment #150482 -
Flags: superreview?(bienvenu)
Comment 34•21 years ago
|
||
Comment on attachment 150482 [details] [diff] [review]
wallet change
- wallet_url = urlName;
+ wallet_url = ToNewUnicode(urlName);
w/o seeing the surrounding code, this isn't going to cause a leak, is it? is it
possible that wallet_url has a value here that we're crunching, since it's a
global?
| Assignee | ||
Comment 35•21 years ago
|
||
addresses David's concern by calling nsMemory::Free on wallet_url before we
call ToNewUnicode.
Attachment #178298 -
Flags: superreview?(bienvenu)
Updated•21 years ago
|
Attachment #178298 -
Flags: superreview?(bienvenu) → superreview+
| Assignee | ||
Comment 36•21 years ago
|
||
the wallet change has been checked in. Once we fix Bug #286742, then we can turn
on static builds for Mac OS X.
| Assignee | ||
Comment 37•21 years ago
|
||
mac builds are now static on the trunk
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 38•20 years ago
|
||
Comment on attachment 150482 [details] [diff] [review]
wallet change
clearing request
Attachment #150482 -
Flags: superreview?(bienvenu)
You need to log in
before you can comment on or make changes to this bug.
Description
•