This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/16040] InputEvent.getModifersEx() returns wrong values
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2004 19:58:47 -0000
- Subject: [Bug AWT/16040] InputEvent.getModifersEx() returns wrong values
- References: <20040617204631.16040.konqueror@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-30 19:58 -------
Subject: Bug 16040
CVSROOT: /cvs/gcc
Module name: gcc
Branch: java-gui-branch
Changes by: fitzsim@gcc.gnu.org 2004-07-30 19:48:35
Modified files:
libjava : ChangeLog
libjava/gnu/awt: LightweightRedirector.java
libjava/gnu/awt/xlib: XEventLoop.java
libjava/gnu/java/awt/peer/gtk: GtkButtonPeer.java
GtkComponentPeer.java
GtkListPeer.java
GtkTextFieldPeer.java
libjava/java/awt: AWTKeyStroke.java Component.java
Container.java
DefaultKeyboardFocusManager.java
libjava/javax/swing: JMenuItem.java KeyStroke.java
SwingUtilities.java
libjava/javax/swing/plaf/basic: BasicButtonListener.java
BasicInternalFrameUI.java
libjava/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkComponentPeer.c
gnu_java_awt_peer_gtk_GtkEvents.c
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
gtkpeer.h
Log message:
2004-07-30 Thomas Fitzsimmons <fitzsim@redhat.com>
PR AWT/16040
* gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
getModifiers. Replace old button masks with new ones.
* gnu/awt/xlib/XEventLoop.java: Likewise.
* gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
* gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
* java/awt/AWTKeyStroke.java: Remove old modifier masks.
* java/awt/Component.java: Replace old modifier masks with new
ones.
* java/awt/Container.java: Call getModifiersEx, not
getModifiers.
* java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
old modifier masks.
* javax/swing/JMenuItem.java: Replace old button masks with new
ones.
* javax/swing/KeyStroke.java: Call getModifiersEx, not
getModifiers.
* javax/swing/SwingUtilities.java: Likewise.
* javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
* javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
mask macros with new ones.
* jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
macros with new ones representing new masks.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2660.2.306&r2=1.2660.2.307
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/awt/LightweightRedirector.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1&r2=1.1.92.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/awt/xlib/XEventLoop.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3&r2=1.3.14.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/awt/peer/gtk/GtkButtonPeer.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.8.2.4&r2=1.8.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.16.2.17&r2=1.16.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/awt/peer/gtk/GtkListPeer.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.7.2.3&r2=1.7.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/awt/peer/gtk/GtkTextFieldPeer.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.9.4.4&r2=1.9.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/AWTKeyStroke.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1&r2=1.1.54.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/Component.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.37.2.17&r2=1.37.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/Container.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.34.2.15&r2=1.34.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/DefaultKeyboardFocusManager.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.54.7&r2=1.1.54.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/JMenuItem.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2.18.13&r2=1.2.18.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/KeyStroke.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3.18.2&r2=1.3.18.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/SwingUtilities.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.6.2.12&r2=1.6.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicButtonListener.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicInternalFrameUI.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.15.2.20&r2=1.15.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.19.2.9&r2=1.19.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.11.8.4&r2=1.11.8.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/jni/gtk-peer/gtkpeer.h.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.12.8.4&r2=1.12.8.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16040