Closed
Bug 764285
Opened 12 years ago
Closed 12 years ago
Use virtual keycodes in SDK for Mac instead of defined by ourselves
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(2 files)
27.46 KB,
patch
|
smichaud
:
review+
|
Details | Diff | Splinter Review |
10.64 KB,
patch
|
smichaud
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
It doesn't make sense to redefine keycode by our naming rules.
Attachment #632591 -
Flags: review?(smichaud)
Assignee | ||
Comment 2•12 years ago
|
||
Use same naming rules when we define undefined keycodes.
Attachment #632592 -
Flags: review?(smichaud)
Comment 3•12 years ago
|
||
Comment on attachment 632591 [details] [diff] [review] part.1 Use virtual keycodes defined in SDK Where do symbols like "kVK_F16" live? I can't find them anywhere in the tree. What is the "SDK"? It seems to be a separate download. Which means that these patches will make it an additional build prerequisite.
Comment 4•12 years ago
|
||
> Where do symbols like "kVK_F16" live? I can't find them anywhere in the tree.
Never mind. I just found them in the Events.h header file of Apple's HIToolbox framework.
Comment 5•12 years ago
|
||
Comment on attachment 632591 [details] [diff] [review] part.1 Use virtual keycodes defined in SDK This looks fine to me. I notice that you've dropped the "tilde" keycode (0x32). But that's just because Events.h calls it by a different name (kVK_ANSI_Grave). I did a build (on OS X 10.7.4) of both this bug's patches, and it finished with no problems.
Attachment #632591 -
Flags: review?(smichaud) → review+
Comment 6•12 years ago
|
||
Comment on attachment 632592 [details] [diff] [review] part.2 Use naming rules of virtual keycodes in SDK for defining undefined keycode Looks fine to me. I did a build (on OS X 10.7.4) of both this bug's patches, and it finished with no problems.
Attachment #632592 -
Flags: review?(smichaud) → review+
Assignee | ||
Comment 7•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0f516031218f https://hg.mozilla.org/integration/mozilla-inbound/rev/83f49d543833
Target Milestone: --- → mozilla16
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/83f49d543833 https://hg.mozilla.org/mozilla-central/rev/0f516031218f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•