Closed
Bug 1471278
Opened 8 years ago
Closed 8 years ago
Port bug 1449686 to TB: Remove most XPCOM special directories as they are unused
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 63.0
People
(Reporter: Paenglab, Assigned: jorgk-bmo)
Details
(Keywords: regression, Whiteboard: [Thunderbird-temporary-fix])
Attachments
(3 files, 4 obsolete files)
|
1.19 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.86 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
|
1.52 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
The becky importer needs a special directory which is removed (NS_WIN_DOCUMENTS_DIR).
| Reporter | ||
Comment 1•8 years ago
|
||
I hope, becky is the only directory. At least on Windows it builds with this patch.
| Reporter | ||
Updated•8 years ago
|
Keywords: regression
| Assignee | ||
Comment 2•8 years ago
|
||
Comment on attachment 8987874 [details] [diff] [review]
special_dir.patch
Thanks, sure, this will compile, but it won't work.
M-C removed opening the Windows "documents" directory here:
https://hg.mozilla.org/mozilla-central/rev/221a0435d2dd#l1.139
This function now needs to go into here:
https://dxr.mozilla.org/comm-central/rev/51678c5b0b3edd827c57a70f1c5baf02d44acead/mailnews/import/becky/src/nsBeckyUtils.cpp#39
I'll take care of it.
Attachment #8987874 -
Flags: review?(jorgk)
| Assignee | ||
Updated•8 years ago
|
Keywords: leave-open
| Assignee | ||
Comment 3•8 years ago
|
||
This will let us compile, but Becky will be broken. We have some tests for Becky, so they may fail now.
Assignee: richard.marti → jorgk
Attachment #8987874 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•8 years ago
|
||
Tweaked comment.
Attachment #8987912 -
Attachment is obsolete: true
| Assignee | ||
Updated•8 years ago
|
Whiteboard: [Thunderbird-temporary-fix]
| Assignee | ||
Comment 5•8 years ago
|
||
https://hg.mozilla.org/comm-central/rev/298f45b92eeac214d20bf31f974fae2cc9483e64
Tweak nsBeckyUtils.cpp so it compiles after removal of documents dir retrieval in bug 1449686. rs=bustage-fix
| Assignee | ||
Comment 6•8 years ago
|
||
Nathan, you can be a C-C reviewer ;-)
Attachment #8987949 -
Flags: review?(nfroyd)
| Assignee | ||
Comment 7•8 years ago
|
||
Here's the M-C part. Quite painless.
Attachment #8987950 -
Flags: review?(nfroyd)
Updated•8 years ago
|
Attachment #8987950 -
Flags: review?(nfroyd) → review+
Comment 8•8 years ago
|
||
Comment on attachment 8987949 [details] [diff] [review]
1471278-win-docs-cc.patch
Review of attachment 8987949 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the changes in moz.build and the #include below. Your call on whether you want to check AppendNative for success.
::: mailnews/import/becky/src/moz.build
@@ +15,5 @@
>
> FINAL_LIBRARY = 'import'
> +
> +LOCAL_INCLUDES += [
> + '/%s/xpcom/io' % CONFIG['mozreltopsrcdir'],
It looks like SpecialSystemDirectory.h is exported, so you shouldn't need all this.
::: mailnews/import/becky/src/nsBeckyUtils.cpp
@@ +27,5 @@
> #include "nsIImportMail.h"
> #include "nsThreadUtils.h"
>
> #include "nsBeckyUtils.h"
> +#include "SpecialSystemDirectory.h" // from xpcom/io
It looks like this header is exported, so the comment is unnecessary.
@@ +41,2 @@
> NS_ENSURE_SUCCESS(rv, rv);
> + directory->AppendNative(NS_LITERAL_CSTRING("Becky"));
Check for success, just because?
Attachment #8987949 -
Flags: review?(nfroyd) → review+
| Assignee | ||
Comment 9•8 years ago
|
||
Nathan, thanks for the quick turnaround. I assumed SpecialSystemDirectory.h wasn't exported and didn't check :-( - I'll address the issues.
| Assignee | ||
Comment 10•8 years ago
|
||
Carrying forward froydnj's r+.
I fixed the commit message which didn't have the correct reviewer abbreviation.
Dear Sheriff, please land the second patch "1471278-restore-win-docs.patch" onto Mozilla's inbound. Thanks.
Attachment #8987950 -
Attachment is obsolete: true
| Assignee | ||
Updated•8 years ago
|
Attachment #8987963 -
Flags: review+
| Assignee | ||
Comment 11•8 years ago
|
||
C-C patch with Nathan's comments addressed.
Attachment #8987949 -
Attachment is obsolete: true
Attachment #8987967 -
Flags: review+
| Assignee | ||
Updated•8 years ago
|
Attachment #8987963 -
Attachment description: 1471278-restore-win-docs.patch → 1471278-restore-win-docs.patch - This one is for M-C
Comment 12•8 years ago
|
||
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/516d30430621
Restore GetSpecialSystemDirectory() for Win_Documents when compiling Thunderbird. r=froydnj
Comment 13•8 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•8 years ago
|
Keywords: leave-open
Comment 14•8 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/a7a82010440e
Use GetSpecialSystemDirectory() for Win_Documents. r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•8 years ago
|
Target Milestone: --- → Thunderbird 63.0
You need to log in
before you can comment on or make changes to this bug.
Description
•