Closed
Bug 455378
Opened 16 years ago
Closed 16 years ago
WinCE missing APIs and Windows Messages (plus compiler warning)
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: wolfe, Assigned: wolfe)
References
Details
(Keywords: mobile)
Attachments
(1 file)
2.07 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
Removed code inside nsWindow::SynthesizeNativeKeyEvent, since much of the code to synthesize native key events is not available in WinMobile devices.
Remove WM_QUERYENDSESSION and WM_MOUSEACTIVATE window message handling - since WinMobile does not provide these windows messages.
Cleaned up compiler warning by casting int to long inside an NS_ASSERTION
Attachment #338701 -
Flags: review?(doug.turner)
Comment 1•16 years ago
|
||
Comment on attachment 338701 [details] [diff] [review]
NSWINDOW.CPP changes for WinCE compiling
+ NS_ASSERTION(sIMECursorPosition <= (long)sIMECompUnicode->Length(), "illegal pos");
long -> PRInt32
Lots of stuff is going to be busted if we can't send native key events. I would be okay with this change _temporarily_.
File a bug, change the comment to include the bug number.
ere, okay with that?
Attachment #338701 -
Flags: superreview?(emaijala)
Attachment #338701 -
Flags: review?(doug.turner)
Attachment #338701 -
Flags: review+
Comment 2•16 years ago
|
||
Comment on attachment 338701 [details] [diff] [review]
NSWINDOW.CPP changes for WinCE compiling
Of course a proper implementation would be nice, but having this done temporarily is ok with (just add that too to the comment). I'm not a super-reviewer though...
Updated•16 years ago
|
Attachment #338701 -
Flags: superreview?(emaijala) → superreview+
Updated•16 years ago
|
Assignee: nobody → wolfe
Comment 3•16 years ago
|
||
Comment on attachment 338701 [details] [diff] [review]
NSWINDOW.CPP changes for WinCE compiling
mfinkle raises the point that it might be better to stub out the enum values rather than adding more ifdefs.
please also file a follow up bug to investigate further what we're missing by these events not firing.
Attachment #338701 -
Flags: superreview+ → superreview?
Comment 4•16 years ago
|
||
checked in on Tue Sep 23 21:10:58 2008 -0700
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Attachment #338701 -
Flags: superreview?
Assignee | ||
Comment 5•16 years ago
|
||
Added two new bugs:
Bug 459264 - WinCE nsWindow::SynthesizeNativeKeyEvent() needs re-programming
and
Bug 459273 - WinCE Explore whether App Activate Messages Are Received
to handle left-over issues with this bug.
Updated•16 years ago
|
Component: General → Widget: Win32
Product: Fennec → Core
QA Contact: general → win32
You need to log in
before you can comment on or make changes to this bug.
Description
•