Closed
Bug 441808
Opened 16 years ago
Closed 14 years ago
Replace "#expand __Var__" by "@Var@", in </mail/*>
Categories
(Thunderbird :: Build Config, defect)
Thunderbird
Build Config
Tracking
(Not tracked)
RESOLVED
WONTFIX
Thunderbird 3
People
(Reporter: sgautherie, Assigned: sgautherie)
References
Details
Attachments
(2 files, 1 obsolete file)
1.41 KB,
patch
|
standard8
:
review-
|
Details | Diff | Splinter Review |
1.74 KB,
patch
|
Details | Diff | Splinter Review |
While looking at <http://mxr.mozilla.org/mozilla/search?string=general.useragent.locale&find=/mail/&filter=%5E%5B%5E%5C0%5D*%24&tree=mozilla> I wondered if |#expand pref("general.useragent.locale", "__AB_CD__");| could be replaced by |pref("general.useragent.locale", "@AB_CD@");| as it seems to be "everywhere" else.
Comment 1•16 years ago
|
||
(In reply to comment #0) > While looking at > <http://mxr.mozilla.org/mozilla/search?string=general.useragent.locale&find=/mail/&filter=%5E%5B%5E%5C0%5D*%24&tree=mozilla> > > I wondered if > |#expand pref("general.useragent.locale", "__AB_CD__");| > could be replaced by > |pref("general.useragent.locale", "@AB_CD@");| > as it seems to be "everywhere" else. It certainly looks that way. I'd be interested in seeing if there's a define or something in a makefile for __AB_CD__ instead of @AB_CD@, as well as doing the change.
Status: UNCONFIRMED → NEW
Component: Preferences → Build Config
Ever confirmed: true
QA Contact: preferences → build-config
Assignee | ||
Comment 2•16 years ago
|
||
(In reply to comment #1) > I'd be interested in seeing if there's a define or > something in a makefile for __AB_CD__ instead of @AB_CD@ <http://mxr.mozilla.org/mozilla/search?string=__AB_CD__&case=on&filter=%5E%5B%5E%5C0%5D*%24&tree=mozilla> There is none. <http://mxr.mozilla.org/mozilla/source/config/preprocessor.txt#154> "__ : empty string if they are not defined. @ : not defined, the preprocessor will terminate with a fatal error."
Assignee: nobody → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #326724 -
Flags: review?(bugzilla)
Comment 3•16 years ago
|
||
Comment on attachment 326724 [details] [diff] [review] (Av1) <all-thunderbird.js> #expand pref("general.useragent.extra.thunderbird", "Thunderbird/__APP_VERSION__"); How about doing this one at the same time? (Note, leave "Thunderbird" as it is please), just the app version.
Assignee | ||
Comment 4•16 years ago
|
||
Av1, with comment 3 suggestion(s).
Attachment #326724 -
Attachment is obsolete: true
Attachment #326925 -
Flags: review?(bugzilla)
Attachment #326724 -
Flags: review?(bugzilla)
Assignee | ||
Updated•16 years ago
|
Attachment #326724 -
Attachment description: (Av1) <all-thunderbird.js.> → (Av1) <all-thunderbird.js>
Assignee | ||
Comment 5•16 years ago
|
||
The remaining occurrences in </mail/*> from <http://mxr.mozilla.org/mailnews/search?string=%5E%5C%23expand+®exp=on&find=%2Fmail%2F%5E%5B%5E%5C0%5D*%24&tree=mailnews> (untested either)
Attachment #326927 -
Flags: review?(bugzilla)
Assignee | ||
Updated•16 years ago
|
Summary: In <all-thunderbird.js>, update |general.useragent.locale| "code" ? → Replace "#expand __Var__" by "@Var@", in </mail/*>
Target Milestone: --- → Thunderbird 3
Comment 6•16 years ago
|
||
Comment on attachment 326925 [details] [diff] [review] (Av1a) <all-thunderbird.js> This doesn't work, I end up with the processed file showing these lines the same as the unprocessed file.
Attachment #326925 -
Flags: review?(bugzilla) → review-
Comment 7•16 years ago
|
||
Comment on attachment 326927 [details] [diff] [review] (Bv1) </mail/base/content/*> I'd like to know what Core thinks about changing these globally. I'm happy with the prefs.js ones because thats what the others do. Therefore cancelling review for the time being, please re-request once you know what is happening with the dependent bug.
Attachment #326927 -
Flags: review?(bugzilla)
Assignee | ||
Comment 8•16 years ago
|
||
Comment on attachment 326927 [details] [diff] [review] (Bv1) </mail/base/content/*> Bug 451601 removed the <help.rdf> part :-)
Comment 9•16 years ago
|
||
I don't see why why should switch expand/subsitution in all files, is #expand planned to be removed from the preprocessor or is this just doing changes for change's sake?
Assignee | ||
Comment 10•16 years ago
|
||
(In reply to comment #9) I replied in bug 441853 comment 2.
Comment 11•14 years ago
|
||
Won't fix in a similar style to bug 441853
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•