[commit-cp] classpath java/awt/Component.java gnu/java/awt/...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]>05/10/04 14:05:58 Modified files: java/awt : Component.java gnu/java/awt/peer/gtk: GdkGraphics.java . : ChangeLog Log message: 2005-10-04 Roman Kennke <[EMAIL PROTECTED]> * java/awt/Component.java (getFont): Fall back to peer.getGraphics().getFont() if no font is found. (getGraphics): Set font here. This avoids a loop in the above fallback. * gnu/java/awt/peer/gtk/GdkGraphics.java (GdkGraphics): Don't initialize font here. This would cause a loop in the above fallback. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Component.java.diff?tr1=1.78&tr2=1.79&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/gnu/java/awt/peer/gtk/GdkGraphics.java.diff?tr1=1.47&tr2=1.48&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5104&tr2=1.5105&r1=text&r2=text
[commit-cp] classpath java/awt/Component.java gnu/java/awt/...
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke 06/10/13 15:15:13 Modified files: java/awt : Component.java gnu/java/awt/peer/gtk: GtkWindowPeer.java . : ChangeLog Added files: gnu/java/awt : ComponentReshapeEvent.java Log message: 2006-10-13 Roman Kennke <[EMAIL PROTECTED]> PR 29448 * java/awt/Component.java (dispatchEventImpl): Special handle ComponentReshapeEvents to update the AWT's knowledge about a component's size. * gnu/java/awt/ComponentReshapeEvent.java: New class. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent): Directly dispatch a ComponentReshapeEvent to update the AWT's knowledge about the component bounds. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/ComponentReshapeEvent.java?cvsroot=classpath&rev=1.1 http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Component.java?cvsroot=classpath&r1=1.149&r2=1.150 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/gtk/GtkWindowPeer.java?cvsroot=classpath&r1=1.53&r2=1.54 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8677&r2=1.8678
[commit-cp] classpath java/awt/Component.java gnu/java/awt/...
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke 06/11/29 12:56:40 Modified files: java/awt : Component.java gnu/java/awt/peer/swing: SwingComponentPeer.java gnu/java/awt/peer/gtk: GtkComponentPeer.java . : ChangeLog Log message: 2006-11-29 Roman Kennke <[EMAIL PROTECTED]> * java/awt/Component.java (isShowing): Simplified condition code and avoid unnecessary if-codepaths. (coalesceEvents): Always coalesce paint events and let the peer figure out the expanding of the repaint area. * gnu/java/awt/peer/swing/SwingComponentPeer.java (currentPaintEvents): Removed. Replaced by paintArea. (paintArea): New field. Tracks the dirty area. (SwingComponentPeer): Removed init of currentPaintEvents. (coalescePaintEvent): Simplified to only union the dirty regions. (handleEvent): Paint dirty region that was tracked in paintArea. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): New field. Tracks the dirty region. (coalescePaintEvent): Implemented to track the dirty region. (paintComponent): Use the dirty region in paintArea. Protect state by putting the paint and dispose code in a try-finally. (updateComponent): Use the dirty region in paintArea. Protect state by putting the paint and dispose code in a try-finally. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Component.java?cvsroot=classpath&r1=1.150&r2=1.151 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java?cvsroot=classpath&r1=1.6&r2=1.7 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java?cvsroot=classpath&r1=1.121&r2=1.122 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8878&r2=1.8879
[commit-cp] classpath java/awt/Component.java gnu/java/awt/...
CVSROOT:/sources/classpath Module name:classpath Changes by: Mario Torre08/05/07 14:22:01 Modified files: java/awt : Component.java gnu/java/awt/peer/x: XFramePeer.java XGraphics2D.java XWindowPeer.java XEventPump.java . : ChangeLog Log message: 2008-05-07 Mario Torre <[EMAIL PROTECTED]> * gnu/java/awt/peer/x/XEventPump.java (handleEvent): xEvent.code is now masked to identify and react to syntetic events. Added UnmapNotify, DestroyNotify and ClientMessage to the list of event handled. * gnu/java/awt/peer/x/XFramePeer.java (getState): initial implementation. * gnu/java/awt/peer/x/XGraphics2D.java (setPaint): fix NPE, this is a workaround, the code have to be fixed in a better way. * gnu/java/awt/peer/x/XWindowPeer.java (getXwindow): new method to allow access to the underling xwindow. (standardSelect): add more events for notification. (XWindowPeer): call set_wm_delete_window to ask the WM to notify us when a delete event occur. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Component.java?cvsroot=classpath&r1=1.158&r2=1.159 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/x/XFramePeer.java?cvsroot=classpath&r1=1.5&r2=1.6 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/x/XGraphics2D.java?cvsroot=classpath&r1=1.10&r2=1.11 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/x/XWindowPeer.java?cvsroot=classpath&r1=1.6&r2=1.7 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/x/XEventPump.java?cvsroot=classpath&r1=1.8&r2=1.9 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9604&r2=1.9605