Closed
Bug 366774
Opened 18 years ago
Closed 14 years ago
Remove unused preference bidi.characterset
Categories
(Core :: Layout: Text and Fonts, enhancement)
Core
Layout: Text and Fonts
Tracking
()
VERIFIED
FIXED
mozilla6
People
(Reporter: fahlmanc_ca, Assigned: ewong)
Details
Attachments
(1 file, 9 obsolete files)
7.99 KB,
patch
|
ewong
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-GB; rv:1.8.0.9) Gecko/20061211 SeaMonkey/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-GB; rv:1.8.0.9) Gecko/20061211 SeaMonkey/1.0.7
In about:config there is a setting bidi.characterset , but other settings use within them the abbreviated term charset. For consistency, bidi.characterset could be renamed to bidi.charset.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•18 years ago
|
||
The setting isn't used and probably never will be (see bug 79676 comment 24, third paragraph from the end). Rather than renaming it, it should just be removed.
OS: Windows 98 → All
Hardware: PC → All
Comment 2•17 years ago
|
||
No comment in over a year.
Assignee: general → nobody
Component: General → Preferences
QA Contact: general → prefs
Version: unspecified → Trunk
Comment 3•17 years ago
|
||
(In reply to comment #1)
> The setting isn't used and probably never will be
I just traced this. There is an attribute bidiCharacterSet on nsIMarkupDocumentViewer.idl (implemented by nsDocumentViewer.cpp) which calls through to nsPresContext.cpp which reads the default from preferences.
Nobody actually uses the attribute ;-)
Comment 4•14 years ago
|
||
Editing the Subject to reflect what was said to comment #1 and #3, and confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Rename the setting bidi.characterset to bidi.charset to be consistent → Remove unused preference bidi.characterset
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•14 years ago
|
||
Attachment #520496 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #520496 -
Flags: review? → review?(benjamin)
Assignee | ||
Comment 6•14 years ago
|
||
Attachment #520497 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 7•14 years ago
|
||
Attachment #520498 -
Flags: review?(benjamin)
Assignee | ||
Comment 8•14 years ago
|
||
Attachment #520499 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #520499 -
Flags: review? → review?(mrbkap)
Assignee | ||
Comment 9•14 years ago
|
||
Attachment #520500 -
Flags: review?(smontagu)
Comment 10•14 years ago
|
||
Comment on attachment 520500 [details] [diff] [review]
Removed unused preference bidi.characterset (p5) (v1)
> // ------------------
> // Charset Mode
> // ------------------
These comment lines should be removed, and also the following #defines:
IBMBIDI_CHARSET_STR
IBMBIDI_CHARSET
GET_BIDI_OPTION_CHARACTERSET
SET_BIDI_OPTION_CHARACTERSET
>+#define IBMBIDI_NULL 0 // placeholder for future use.
This isn't necessary.
Assignee | ||
Comment 11•14 years ago
|
||
Attachment #520500 -
Attachment is obsolete: true
Attachment #520502 -
Flags: review?(smontagu)
Attachment #520500 -
Flags: review?(smontagu)
Updated•14 years ago
|
Attachment #520502 -
Flags: review?(smontagu) → review+
Comment 12•14 years ago
|
||
Comment on attachment 520496 [details] [diff] [review]
Removed unused preference bidi.characterset (p1) (v1)
If nobody objects, I think my review should be good for the other patches here too.
Attachment #520496 -
Flags: review?(benjamin) → review+
Updated•14 years ago
|
Attachment #520497 -
Flags: review?(bzbarsky) → review+
Comment 13•14 years ago
|
||
Comment on attachment 520498 [details] [diff] [review]
Removed unused preference bidi.characterset (p3) (v1)
> // ------------------
> // Charset Mode
> // ------------------
Delete these lines here too. r=me with that
Attachment #520498 -
Flags: review?(benjamin) → review+
Updated•14 years ago
|
Attachment #520499 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 14•14 years ago
|
||
Attachment #520498 -
Attachment is obsolete: true
Attachment #520506 -
Flags: review+
Comment 15•14 years ago
|
||
Comment on attachment 520499 [details] [diff] [review]
Removed unused preference bidi.characterset (p4) (v1)
This isn't really necessary. This is just a test that's using the pref as part of some data.
Attachment #520499 -
Flags: review+ → review-
Comment 16•14 years ago
|
||
By "pref" I meant "pref name".
Assignee | ||
Updated•14 years ago
|
Attachment #520499 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 17•14 years ago
|
||
Pushed to mozilla-central:
http://hg.mozilla.org/mozilla-central/rev/582c92878440d956e227341c66603de34d2e3b8e
http://hg.mozilla.org/mozilla-central/rev/baf7456adc9854ea331f9defc096beb1d2990145
http://hg.mozilla.org/mozilla-central/rev/3f7277e15d8df0907d14d50f194cc0cef17f7da4
http://hg.mozilla.org/mozilla-central/rev/96bfa1480f5f9332650034b503cc34240c6579fd
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.2a1
Turned the whole tree red, I think because patch 5 has a missing close paren.
Backed out:
https://hg.mozilla.org/mozilla-central/rev/9bc24665869d
https://hg.mozilla.org/mozilla-central/rev/e49949eeaef3
https://hg.mozilla.org/mozilla-central/rev/2928c63ffb5b
https://hg.mozilla.org/mozilla-central/rev/8db1df84708c
https://hg.mozilla.org/mozilla-central/rev/cb191997bd5e
https://hg.mozilla.org/mozilla-central/rev/54b9f7d8db85
https://hg.mozilla.org/mozilla-central/rev/cca1fece061f
https://hg.mozilla.org/mozilla-central/rev/8302f5191d92
Assignee: ewong → nobody
Status: RESOLVED → REOPENED
Component: Preferences → Layout: Text
Product: SeaMonkey → Core
QA Contact: preferences → layout.fonts-and-text
Resolution: FIXED → ---
Target Milestone: seamonkey2.2a1 → ---
Assignee: nobody → ewong
Comment 20•14 years ago
|
||
Ah right:
+ (IBMBIDI_SUPPORTMODE_MOZILLA<<12)
should be:
+ (IBMBIDI_SUPPORTMODE_MOZILLA<<12))
Assignee | ||
Comment 21•14 years ago
|
||
Fixed missing parenthesis.
Attachment #520502 -
Attachment is obsolete: true
Attachment #528059 -
Flags: review+
Comment 22•14 years ago
|
||
Edmund: if you don't mind, it'd be nice to have commit messages that more clearly explain what each patch does. Also, it seems like part 1 wouldn't compile without part 2, so these should be merged, and you need to update the uuid for nsIMarkupDocumentViewer and nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH.
Comment 23•14 years ago
|
||
> nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH.
Ixnay on this as there is an existing bug in progress to remove all *MOZILLA_2_0_BRANCH interfaces from mozilla-central.
Assignee | ||
Comment 24•14 years ago
|
||
This patch merges all the aforementioned patches into one patch with the following changes:
Changed the UUID for nsIMarkupDocumentViewer and
nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH.
Attachment #528093 -
Flags: review+
Comment 25•14 years ago
|
||
You *did* push to tryserver this time didn't you?
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 26•14 years ago
|
||
(In reply to comment #25)
> You *did* push to tryserver this time didn't you?
Pushed to try with a green tree.
Updated•14 years ago
|
Keywords: checkin-needed
Comment 27•14 years ago
|
||
Though the commit message should include "r=smontagu"
Assignee | ||
Comment 28•14 years ago
|
||
Attachment #528093 -
Attachment is obsolete: true
Attachment #529345 -
Flags: review+
Comment 29•14 years ago
|
||
So which patch needs to be checked in? It'd be nice to mark obsolete patches as obsolete....
Comment 30•14 years ago
|
||
Anyone?
Assignee | ||
Updated•14 years ago
|
Attachment #528059 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Attachment #520506 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Attachment #520497 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Attachment #520496 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 32•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
Comment 33•13 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0
Verified issue using Windows XP, Windows 7, Ubuntu and Mac OS X - bidi.characterset preference is removed about:config.
Setting resolution to VERIFIED FIXED.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•