Closed Bug 513955 Opened 15 years ago Closed 15 years ago

Replace KL* APIs to TIS* APIs

Categories

(Core :: Widget: Cocoa, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file, 4 obsolete files)

nsChildView uses KL* APIs but they cannot be used for 64bit build. We should replace them with TIS* APIs. And also, we need to find the alternative of KeyTranslate, GetScriptManagerVariable and GetScriptVariable.
(In reply to comment #0) > And also, we need to find the alternative of KeyTranslate, Looks like that uchar resource is always available of every keyboard layout on 10.5. So, we can drop the KCHR related block.
Status: NEW → ASSIGNED
Attached patch Patch v1.0 (obsolete) (deleted) — Splinter Review
Attached patch Patch v2.0 (obsolete) (deleted) — Splinter Review
Attachment #398674 - Attachment is obsolete: true
Attached patch Patch v2.1 (obsolete) (deleted) — Splinter Review
Attachment #398824 - Attachment is obsolete: true
Attachment #398844 - Flags: review?(joshmoz)
Attached patch Patch v2.1.1 (obsolete) (deleted) — Splinter Review
oops, the previous patch include a debug code, sorry for the spam.
Attachment #398844 - Attachment is obsolete: true
Attachment #398845 - Flags: review?(joshmoz)
Attachment #398844 - Flags: review?(joshmoz)
Attached patch Patch v2.2 (deleted) — Splinter Review
fix a mistake.
Attachment #398845 - Attachment is obsolete: true
Attachment #398850 - Flags: review?(joshmoz)
Attachment #398845 - Flags: review?(joshmoz)
Blocks: 468509
Comment on attachment 398850 [details] [diff] [review] Patch v2.2 + isRomanKeyboardLayout = kt.mScript == smRoman; Use parens around the "==" operation to make this easier to read. Thanks!
Attachment #398850 - Flags: review?(joshmoz) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: