gcc/libjava/jni/gtk-peer
Thomas Fitzsimmons d0b8b6fbf6 GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter.
2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
	Add keyLocation parameter.
	* java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
	string.
	(paramString): Generate keyChar string according to keyChar, not
	keyCode.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
	(state_to_awt_mods): Handle ALT key.
	(keyevent_state_to_awt_mods): New function.
	(get_first_keyval_from_keymap): New function.
	(keysym_to_awt_keycode): Get virtual key code from keymap.
	Handle missing VK_ values.
	(keysym_to_awt_keylocation): New function.
	(keyevent_to_awt_keychar): New function.
	(generates_key_typed_event): Handle non-text-component case.
	Handle GDK_KP_Delete and GDK_KP_Enter.
	(awt_event_handler): Call new functions to get postKeyEvent
	parameters.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
	Update postKeyEvent method signature.
	* jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
	VK_ defines.

From-SVN: r70178
2003-08-05 18:04:09 +00:00
..
gnu_java_awt_peer_gtk_GdkFontMetrics.c
gnu_java_awt_peer_gtk_GdkGraphics.c
gnu_java_awt_peer_gtk_GtkButtonPeer.c GtkButtonPeer.java: Call getName rather than getXLFD. 2003-07-29 19:42:37 +00:00
gnu_java_awt_peer_gtk_GtkCanvasPeer.c
gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
gnu_java_awt_peer_gtk_GtkChoicePeer.c
gnu_java_awt_peer_gtk_GtkClipboard.c
gnu_java_awt_peer_gtk_GtkComponentPeer.c GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: Create vbox and layout for GtkPlug. 2003-07-27 20:01:00 +00:00
gnu_java_awt_peer_gtk_GtkEvents.c GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
gnu_java_awt_peer_gtk_GtkImagePainter.c
gnu_java_awt_peer_gtk_GtkLabelPeer.c GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
gnu_java_awt_peer_gtk_GtkListPeer.c
gnu_java_awt_peer_gtk_GtkMainThread.c GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
gnu_java_awt_peer_gtk_GtkMenuPeer.c
gnu_java_awt_peer_gtk_GtkPanelPeer.c
gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
gnu_java_awt_peer_gtk_GtkToolkit.c
gnu_java_awt_peer_gtk_GtkWindowPeer.c
gthread-jni.c
gthread-jni.h
gtkpeer.h GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00