Closed Bug 141248 Opened 23 years ago Closed 22 years ago

Implement keyboard charset for nsIPlatformCharset for Mac

Categories

(Core :: Internationalization, defect)

PowerPC
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.1beta

People

(Reporter: nhottanscp, Assigned: nhottanscp)

References

Details

(Keywords: intl)

Attachments

(1 file, 3 obsolete files)

nsIPlatformCharset provides a selector "kPlatformCharsetSel_KeyboardInput" which
is supposed to return a charset name based on the currently active keyboard script.
http://lxr.mozilla.org/seamonkey/source/intl/uconv/public/nsIPlatformCharset.h

Currenty, there is no implementation for "kPlatformCharsetSel_KeyboardInput".
http://lxr.mozilla.org/seamonkey/search?string=nsPlatformCharset%3A%3AGetCharset
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2alpha
Blocks: 108029
QA -> yokoyama for the code implementation, feel free to reassign it back to IQA 
in case you need IQA's help.
Keywords: intl
QA Contact: ruixu → yokoyama
Target Milestone: mozilla1.2alpha → mozilla1.1beta
Attached patch change line breaks of the patch (obsolete) (deleted) — Splinter Review
Attachment #81918 - Attachment is obsolete: true
Comment on attachment 81919 [details] [diff] [review]
change line breaks of the patch

r=ftang
please make sure you 0x00FFF & with the return value of
GetScriptManagerVariable(smKeyScript), 
I remember there was some problem if I don't do that. CAnnot remember what is
broken without it.
Attachment #81919 - Flags: review+
Attached patch Changed to address ftang's comment. (obsolete) (deleted) — Splinter Review
Attachment #81919 - Attachment is obsolete: true
Comment on attachment 82095 [details] [diff] [review]
Changed to address ftang's comment.

copy 'r='
Attachment #82095 - Flags: review+
Whiteboard: need 'sr'
Comment on attachment 82095 [details] [diff] [review]
Changed to address ftang's comment.

rs=brendan@mozilla.org if you:

- break the overlong line in the case kPlatformCharsetSel_KeyboardInput;
statement so it wraps nicely within 80 columns;

- put a break; after the default: case's statement, in case someone some day
adds a case at the end.

/be
Attachment #82095 - Flags: superreview+
Attachment #82095 - Attachment is obsolete: true
Whiteboard: need 'sr'
Comment on attachment 84462 [details] [diff] [review]
Address super reviewer's comment.

copy 'r' and 'sr'
Attachment #84462 - Flags: superreview+
Attachment #84462 - Flags: review+
checked in to the trunk

I make this bug as Macintosh specific and open a separate XP bug.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
QA Contact: yokoyama → nhotta
Hardware: All → Macintosh
Resolution: --- → FIXED
Summary: Implement keyboard charset for nsIPlatformCharset → Implement keyboard charset for nsIPlatformCharset for Mac
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: