gcc/libjava/java
Thomas Fitzsimmons b59b508138 GtkComponentPeer.java (insets): New field.
2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
	field.
	(initializeInsets): New method.
	(GtkComponentPeer): Call initializeInsets.  Call setCursor and
	setBounds unconditionally.
	(setBounds): Convert coordinates if parent is a Window.
	* gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
	field to GtkComponentPeer.
	(GtkContainerPeer): Don't initialize insets.
	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
	New method.
	(create): Call new GtkWindowPeer create method.
	* gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
	New method.
	(create): Call new GtkWindowPeer create method.
	(setBounds): Remove method.
	(postConfigureEvent): Likewise.
	* gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
	type constants with GDK window type constants.
	(create(int,boolean,int,int,GtkWindowPeer)): New method.
	(create(int,boolean)): Likewise.
	(create()): Call create(int,boolean).
	(nativeSetBounds): New native method declaration.
	(setBounds): Call native method declaration.
	(setSize): New native method declaration.
	(setBoundsCallback): Likewise.
	(postConfigureEvent): Handle change in insets.  Call setSize and
	setBoundsCallback methods.
	* java/awt/Window.java (Window): Set visible to false.
	(setBoundsCallback): New method.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
	(gtkWidgetGetLocationOnScreen): If this component is not a
	container, adjust the location returned based on the peer's
	allocation.
	(set(String,boolean)): Revert change from 2003-09-19.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
	(awt_event_handler): Fix inset calculation.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
	glue for Window.setBoundsCallback.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
	Set up stacking order, window decorations and window manager
	hints.
	(setBoundsCallback): New method.
	(setSize): New method.
	(nativeSetBounds): New method.
	* jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.

From-SVN: r72043
2003-10-02 18:34:56 +00:00
..
applet AppletContext.java: Fix typo and remove redundant modifiers. 2002-11-14 20:35:27 +00:00
awt GtkComponentPeer.java (insets): New field. 2003-10-02 18:34:56 +00:00
beans MemoryImageSource.java, [...]: New versions from classpath. 2003-07-14 05:33:30 +00:00
io [multiple changes] 2003-09-26 19:59:56 +00:00
lang VMClassLoader.java (loadClass): Now native. 2003-10-02 15:34:28 +00:00
math BigDecimal (divide): Correctly handle ROUND_HALF_EVEN when amount is greater than 0.5. 2003-08-01 15:07:49 +00:00
net 2003-10-02 Michael Koch <konqueror@gmx.de> 2003-10-02 15:17:13 +00:00
nio ByteBufferHelper.java: Rewrote all methods by suggestions from Eric Blake. 2003-10-02 15:02:32 +00:00
rmi RMIClassLoader.java: Reformatted file, no functional code changes. 2003-09-26 20:03:28 +00:00
security Acl.java: Fix broken p tag. 2003-08-26 22:42:37 +00:00
sql 2003-09-18 Jeroen Frijters <jeroen@frijters.net> 2003-09-18 06:11:41 +00:00
text DateFormat.java (format): Throw IllegalArgumentException if j' is not a Number or Date instance. 2003-09-28 05:23:29 +01:00
util jcf-parse.c (java_parse_file): Write otable and atable. 2003-10-01 16:22:13 +00:00