зеркало из https://github.com/mozilla/pjs.git
1726aadd2c
between mozilla concepts and java concepts wrong before. The correct mapping is: Mozilla concept Java concept KeyDown keyPressed KeyUp keyReleased KeyPress keyTyped KeyCode keyCode CharCode keyChar M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java - Force the keyCode to be VK_UNDEFINED if this is a KEY_TYPED event. - For security, log any exceptions thrown during ctor of KeyEvent. M webclient/src_moz/EmbedEventListener.cpp - remove unused automatic vars. M webclient/src_moz/NavigationImpl.cpp - roll back change done by Brian Ryner, since it doesn't make sense under mozilla 1.7. M webclient/src_share/jni_util.cpp - reverse mapping of CHAR_CODE and KEY_CODE to their java counterparts. M webclient/test/automated/src/classes/org/mozilla/webclient/KeyListenerTest.java - Add in some code to make it easier to run this testcase in a manual fashion. |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile.in | ||
bal_util.cpp | ||
bal_util.h | ||
jni_util.cpp | ||
jni_util.h | ||
jni_util_export.cpp | ||
jni_util_export.h | ||
runem.pl | ||
runem_commercial.pl | ||
runem_solaris |