summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2006-11-03 Tania Bento <tbento@redhat.com>generics-merge-20061104Tania Bento2006-11-032-47/+37
| | | | | | | | | | | | | | | | * java/awt/TextArea.java (getMinimumSize): Changed documentation. (getPreferredSize): Changed documentation. (getMinimumSize(int,int)): Changed documenation. (getPreferredSize(int,int)): Changed documenation. (minimumSize): Changed documentation. (preferredSize): Changed documenation. (minimumSize(int,int)): Changed documentation. Checked if minimum size had been previously set and changed values of Dimension returned if peer == null. (preferredSize(int, int)): Checked if preferred size had been previously set and changed values of Dimension returned if peer = null.
* 2006-11-03 Tania Bento <tbento@redhat.com>Tania Bento2006-11-032-18/+26
| | | | | * java/awt/event/ComponentEvent.java (paramString): Changed format of string representation returned.
* 2006-11-03 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-033-8/+75
| | | | | | | | | | | | | | | | * javax/swing/text/html/HTMLDocument.java (HTMLReader.FormAction.start): Added support for textarea. (HTMLReader.FormAction.end): Added support for textarea. (HTMLReader.HeadAction.end): Call super to actually close the block. (HTMLReader.inTextArea): New field. (HTMLReader.textAreaDocument): New field. (HTMLReader.handleText): Call textAreaContent when inside a textarea tag. (HTMLReader.textAreaContent): Implemented to initialize the text area's model. * javax/swing/text/html/FormView.java (createComponent): Added support for textarea tag.
* 2006-11-03 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-032-4/+12
| | | | | * javax/swing/text/html/HTMLDocument.java (HTMLReader.IsindexAction.start): Implemented.
* 2006-11-03 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-033-14/+67
| | | | | | | | | | | | | | * javax/swing/text/html/StyleSheet.java (addRule): Implemented. * javax/swing/text/html/HTMLDocument.java (HTMLReader.inStyleTag): New field. (HTMLReader.styles): New field. (HTMLReader.HeadAction.end): Implemented to read all stylesheets, if any. (HTMLReader.StyleAction.start): Set inStyleTag flag. (HTMLReader.StyleAction.end): Set inStyleTag flag. (HTMLReader.handleText): When inside a style tag, add content to the styles array.
* 2006-11-02 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-024-36/+209
| | | | | | | | | | | | | | | | | | | | * javax/swing/text/html/FormView.java (maxIsPreferred): New field. (createComponent): Initialize components correctly. (getMaximumSpan): Return the preferred span for components that need this. The maxIsPreferred flag is set accordingly in createComponent. * javax/swing/text/html/HTMLDocument.java (HTMLReader.FormAction.start): Implemented to set the correct model as attribute. (HTMLReader.FormAction.setModel): New helper method. (HTMLReader.FormAction.end): Call super to finish the element. Added TODO about things left to do. (HTMLReader.handleComment): Use SimpleAttributeSet rather than htmlAttributeSet. * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create): Create BlockView for FORM tags. Create FormView for INPUT, TEXTAREA and SELECT tags.
* 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-11-022-5/+38
| | | | * java/awt/geom/GeneralPath.java: API doc fixes.
* Forgot this file.Roman Kennke2006-11-021-14/+0
|
* 2006-11-02 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-022-11/+20
| | | | | | * javax/swing/text/html/ImageView.java (getImageURL): Fetch attribute from element. Consider the base URL for relative image locations.
* 2006-11-02 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-023-36/+151
| | | | | | | | | | | | | | | | | | | | * javax/swing/JEditorPane.java (setContentType): Strip off attributes. * javax/swing/text/html/HTMLEditorKit.java (LinkController.activateLink(int,JEditorPane,int,int): New method. Implements activation of a hyperlink. (LinkController.activateLinke(int,JEditorPane)): Delegate to the other activateLink() method. (LinkController.createHyperlinkEvent): New helper method. (LinkController.mouseClicked): Implemented to activate the link. (LinkController.mouseDragged): Added comment that this method does nothing. (LinkController.mouseMoved): Update cursor for hyperlinks. (mouseHandler): Renamed field to linkController. (HTMLEditorKit): Create a link controller. (clone): Give the clone a new link controller. (deinstall): De-install link controller as mouseMotionListener too. (install): Install link controller as mouseMotionListener too.
* 2006-11-02 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-024-60/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 29644 * javax/swing/text/FlowView.java (FlowStrategy.changedUpdate): Reversed condition. This caused wrong layout and bad performance. (FlowStrategy.insertUpdate): Reversed condition. This caused wrong layout and bad performance. (FlowStrategy.removeUpdate): Reversed condition. This caused wrong layout and bad performance. (LogicalView): Changed to be a subclass of CompositeView. (LogicalView()): Only take one Element argument. (LogicalView.childAllocation): New method for implementing the abstract CompositeView method. (LogicalView.forwardUpdateToView): Overridden for correct reparenting. (getMinimumSpan): Overridden to handle line breaking correctly. (getPreferredSpan): Implemented to handle line breaking correctly. (getViewAtPoint): New method for implementing the abstract CompositeView method. (getViewIndexAtPosition): Overridden to handle leaf elements correctly. (isAfter): New method for implementing the abstract CompositeView method. (isBefore): New method for implementing the abstract CompositeView method. (loadChildren): Overridden to handle leaf elements correctly. (paint): New method for implementing the abstract CompositeView method. (calculateMinorAxisRequirements): Use preferredSpan in calculation. (loadChildren): Initialize flow layout by sending a synthetic insertUpdate() to the layout strategy. * javax/swing/text/GlyphView.java (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's font metrics if component is not available. Add initial offset to result. (breakView): Be more clever when breaking the view. (getBreakLocation): New helper method to determine a good break location. (getBreakWeight): Be more clever when breaking the view. (getTabbedSpan): Make sure we have a painter. Use view's start and end offset rather than the element's. * javax/swing/text/Utilities.java (drawTabbedText): Avoid useless add and sub with the y offset.
* 2006-11-02 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-029-53/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 29644 * gnu/java/awt/peer/ClasspathFontPeer.java (getStringBounds): Removed abstract method. This is replaced in java.awt.Font to use a TextLayout. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (GtkWindowPeer): Set a font on the window object. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (FreetypeGlyphVector(Font,String,FontRenderContext,int)): Changed to take char,int,int instead of String. Filter control characters. (FreetypeGlyphVector(Font,String,FontRenderContext)): Create char array out of string. (getLogicalBounds): Don't translate bounds. They already are translated. * gnu/java/awt/peer/gtk/GdkFontMetrics.java (stringWidth): Filter out control characters. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getStringBounds): Removed unneeded method. (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector constructor. * gnu/java/awt/peer/qt/QtFontPeer.java (getStringBounds): Removed unneeded method. * gnu/java/awt/peer/x/XFontPeer.java (getStringBounds): Removed unneeded method. * gnu/java/awt/peer/x/XFontPeer2.java (getStringBounds): Removed unneeded method. * java/awt/Font.java (getStringBounds(char[],int,int,FontRenderContext)): Use TextLayout to determine the bounds. (getStringBounds(CharacterIterator,int,int,FontRenderContext)): Delegate to the char[] version of this method. (getStringBounds(String,FontRenderContext)): Delegate to the char[] version of this method. (getStringBounds(String,int,int,FontRenderContext)): Delegate to the String version of this method.
* 2006-11-01 Tania Bento <tbento@redhat.com>Tania Bento2006-11-012-5/+22
| | | | | | * java/awt/ScrollPaneAdjustable.java (paramString): Changed format of string representation returned. (paramStringHelper): New private method.
* 2006-11-01 Tania Bento <tbento@redhat.com>Tania Bento2006-11-012-0/+15
| | | | | * java/awt/GridBagLayout.java (toString): Implemented method.
* * ChangeLog: Fix latest entry.Thomas Fitzsimmons2006-10-311-2/+2
|
* 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-10-312-4/+11
| | | | | | * native/plugin/gcjwebplugin.cc (GCJ_New): Move GThread initialization to NP_Initialize. (NP_Initialize): Initialize GThread library.
* 2006-10-31 Tania Bento <tbento@redhat.com>Tania Bento2006-10-312-1/+8
| | | | | | * javax/swing/JTextField.java (fireActionPerformed): When creating the new event, if actionCommand == null, then getText() is used.
* 2006-10-31 Francis Kung <fkung@redhat.com>Francis Kung2006-10-312-1/+6
| | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (fillArc): Corrected arc type to Arc2D.PIE.
* 2006-10-31 Roman Kennke <kennke@aicas.com>Roman Kennke2006-10-312-15/+53
| | | | | | | | | * javax/swing/text/html/HTMLDocument.java (HTMLReader.PreAction.end): Implemented. (HTMLReader.PreAction.start): Implemented. (HTMLReader.inPreTag): New field. (HTMLReader.handleTag): When inside a pre tag, call preContent(). (HTMLReader.preContent): Implemented.
* 2006-10-31 Tania Bento <tbento@redhat.com>Tania Bento2006-10-312-1/+8
| | | | | | | * javax/swing/JTextField.java (fireActionPerformed): When creating the new event, actionCommand should be used as the command, not getText().
* 2006-10-31 Roman Kennke <kennke@aicas.com>Roman Kennke2006-10-312-2/+16
| | | | | | * javax/swing/text/html/HTMLEditorKit.java (write): Use HTMLWriter or MinimalHTMLWriter for writing HTML or Styled documents.
* 2006-10-31 David Fu <fchoong@netbeans.jp>Roman Kennke2006-10-312-0/+1130
| | | | * javax/swing/text/html/HTMLWriter.java: New class.
* 2006-10-30 Roman Kennke <kennke@aicas.com>Roman Kennke2006-10-302-14/+38
| | | | | | * java/awt/dnd/DragSourceContext.java (dragExit): Use constant fields instead of 0. (updateCurrentCursor): Completed implementation.
* 2006-10-30 Roman Kennke <kennke@aicas.com>Roman Kennke2006-10-302-5/+10
| | | | | | * java/awt/dnd/DragGestureRecognizer.java (resetRecognizer): Added API docs. Do not replace the events object but rather clear() it. Removed not implemented tag.
* 2006-10-30 Roman Kennke <kennke@aicas.com>Roman Kennke2006-10-302-3/+6
| | | | | * java/awt/datatransfer/DataFlavor.java (writeExternal): Remove not implemented tag.
* 2006-10-30 Roman Kennke <kennke@aicas.com>Roman Kennke2006-10-303-132/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/datatransfer/DataFlavor.java (javaFileListFlavor): Don't explicitly specify class. (plainTextFlavor): Don't explicitly specify class. (mimeType): Changed to type MimeType. Remove final. (representationClass): Remove final. (DataFlavor): Don't do anything here. (DataFlavor(Class,String,String)): Removed. (DataFlavor(Class,String)): Initialize here. (DataFlavor(String,String,ClassLoader)): Initialize in init(). (DataFlavor(String,String)): Initialize in init(). (DataFlavor(String)): Initialize in init(). (init): New initialization method. (getMimeType): Delegate to MimeType.toString(). (getParameter(String,String)): Removed. Is now done in MimeType. (getParameter(String)): Delegate to MimeType. (getPrimaryType): Delegate to MimeType. (getRepresentationClassFromMime): Removed. (getRepresentationClassFromMimeThrows): Removed. (getSubType): Delegate to MimeType. (hashCode): Take MimeType.toString() for the hashCode. (isFlavorRemoveObjectType): Return true only when representation class is remove and serializable and the mime type is remote. (isFlavorSerializedObjectType): Return true only when representation class is serializable and the mime type is serialized. (isMimeTypeEqual): Rewritten to delegate to MimeType.matches(). (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual(). (readExternal): Implemented stub method. (writeExternal): Implemented stub method. * java/awt/datatransfer/MimeType.java: New helper class.
* 2006-10-28 Roman Kennke <kennke@aicas.com>generics-merge-20061029Roman Kennke2006-10-282-3/+49
| | | | | * javax/swing/TransferHandler.java (importData): Implemented stub method. Added API docs.
* 2006-10-26 Christian Elias Naur <elias@oddlabs.com>Thomas Fitzsimmons2006-10-264-0/+46
| | | | | | | | * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New function. * native/jni/classpath/classpath_jawt.h: Likewise. * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added initializer for surface_info_x11->depth.
* 2006-10-26 Tania Bento <tbento@redhat.com>Tania Bento2006-10-262-1/+6
| | | | | * java/awt/FileDialog.java: (setFile): Changed if-clause condition.
* 2006-10-25 Francis Kung <fkung@redhat.com>Francis Kung2006-10-259-611/+146
| | | | | | | | | | | * include/gnu_java_nio_VMChannel.h, * include/java_net_VMNetworkInterface.h, * include/gnu_java_nio_EpollSelectorImpl.h, * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h, * include/gnu_java_nio_FileChannelImpl.h, * include/gnu_java_nio_KqueueSelectorImpl.h, * include/gnu_java_nio_VMPipe.h, * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
* 2006-10-25 Tania Bento <tbento@redhat.com>Tania Bento2006-10-253-2/+65
| | | | | | | | | | | | | | | | * java/awt/Dialog.java: Created new private variable next_dialog_number. (Dialog(Frame, String, boolean, GraphicsConfiguration)): Set cursor to default cursor. (Dialog(Dialog, STring, boolean, GraphicsConfiguration)): Same. (generateName): New method. (getUniqueLong): New private method. * java/awt/FileDialog.java: Created new private variable next_file_dialog_number. (setFile): If file == "", set it to null. (generateName): New method. (getUniqueLong): New private method.
* 2006-10-25 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-10-252-7/+40
| | | | | * java/net/MulticastSocket.java: (setNetworkInterface): Rewritten.
* 2006-10-25 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-10-253-1/+9
| | | | | | | * native/jni/java-net/javanet.h: Added declaration for _javanet_create_inetaddress. * native/jni/java-net/javanet.c: (_javanet_create_inetaddress): Removed static keyword.
* Lots of changes.Robert Schuster2006-10-2513-101/+520
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-10-25 Robert Schuster <robertschuster@fsfe.org> * gnu/java/net/PlainDatagramSocketImpl.java: (connect): Use VMChannel instance for connect call. (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive. (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive. (setOption): Handle multicast options. (getOption): Handle multicast options. * gnu/java/net/PlainSocketImpl.java: (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive. (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive. (setOption): Filter unappropriate options. (getOption): Filter unappropriate options. (connect): Use given SocketAddress. (close): Reset address and port. (getInetAddress): * include/Makefile.am: Removed all occurences of gnu_java_net_VMPlainDatagramSocketImpl.h. * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed. * native/jni/java-net/Makefile.am: Removed gnu_java_net_VMPlainDatagramSocketImpl.c from sources. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c: Removed. as SocketException, declare to throw SocketException. * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions for SocketException and ConnectException. (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead of IOException. (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead of IOException. (Java_gnu_java_nio_VMChannel_accept): Rewritten. (JCL_thread_interrupted): New function. (initIDs): Added initialisation for isThreadInterrupted method id. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added CPNET_IP_TTL to java_sockopt enum. (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL case, handle SO_LINGER case properly. (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL case, handle SO_LINGER case properly. (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New function. (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New function. (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New function. (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be IPV6_LEAVE_GROUP. * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed. * vm/reference/gnu/java/nio/VMChannel.java: (connect(int, byte[], int, int)): Declare to throw SocketException. (connect6): Declare to throw SocketException. (connect(InetSocketAddress, int)): Catch IOException and rethrow (isThreadInterrupted): New method. * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL field. (setTimeToLive): New method. (getTimeToLive): New method. (setMulticastInterface(int, InetAddress)): New method. (setMulticastInterface(int, int, Inet4Address): New method. (setMulticastInterface6(int, int, Inet6Address): New method. (setOptions): Handle SO_LINGER case. (getOptions): Add missing SO_REUSEADDR case. * java/net/Socket.java: (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket when exception was thrown out of connect(). (setSoLinger): Replaced instantiations with valueOf calls, replaced Boolean.FALSE with Integer.valueOf(-1). * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration. * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation. * NEWS: Documented VM interface changes.
* 2006-10-25 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-10-242-1/+6
| | | | | * java/net/Inet6Address.java: (isMulticastAddress): Fixed check.
* 2006-10-25 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-10-242-0/+11
| | | | | | | Fixes PR29576 * java/net/MulticastSocket.java: (getNetworkInterface): Return a special NetworkInterface instance if the socket's multicast interface is set to any.
* 2006-10-25 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-10-243-1/+46
| | | | | | | | | | Fixes PR29576 * java/net/NetworkInterface.java: (createAnyInterface): New method. (equals): Added if-statement to handle case where netif.name is null. * vm/reference/java/net/VMNetworkInterface.java: (hashCode): Rewritten. (VMNetworkInterface): New constructor.
* 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-10-243-13/+31
| | | | | | * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS. * tools/toolwrapper.c (main): Set bootclasspath, not classpath. Add ASM_JAR to bootclasspath.
* *** empty log message ***Tania Bento2006-10-241-1/+0
|
* 2006-10-24 Tania Bento <tbento@redhat.com>Tania Bento2006-10-242-50/+34
| | | | | | | | | | | | | * java/awt/Scrollbar.java: (setLineIncrement): Removed unnecessary if-clause and if lineIncrement == 0, then it should be set to 1, not 0. (setPageIncrement): Removed unnecessary if-clause and if pageIncrement == 0, then it should be set to 1, not 0. (setValues): If visibleAmount <= 0, it should be set to 1, not 0. If maximum <= minimum, maximum should be set to mininum + 1. The actual value of maximum is maximum - visibleAmount, so I made this change to the appropriate if-check. Remove the two unneccessary if-clauses.
* 2006-10-23 Francis Kung <fkung@redhat.com>Francis Kung2006-10-234-45/+53
| | | | | | | | | | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (cairoSetFont): New method. (copy): Set font using setFont method. (setFont): Call cairoSetFont. (setup): Set font using setFont method. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c (install_font_peer): Removed. (cairoDrawGlyphVector): Removed call to install_font_peer. (cairoSetFont): New method.
* 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-10-235-70/+122
| | | | | | | | | | | * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file. * gnu/java/awt/peer/gtk/GtkMainThread.java: Post NativeEventLoopRunningEvent after GTK main loop start and stop. * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning. (getNextEvent): Set dispatchThread to null. (postEventImpl): Set nativeLoopRunning. (pop): Interrupt event dispatch thread. * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
* 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2006-10-223-0/+11
| | | | | | | * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h): Added include. * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h): Likewise.
* 2006-10-23 Marco Trudel <mtrudel@gmx.ch>Raif S. Naffah2006-10-224-158/+76
| | | | | | | | | | | * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test. * javax/crypto/CipherOutputStream.java: Re-implemented. * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded decryption mode and check if it is a complete block. (engineUpdate(byte[], int, int, byte[], int)): Likewise. (engineDoFinal(byte[], int, int)): In padded decryption mode, take partially processed data into account.
* * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):Tom Tromey2006-10-204-6/+15
| | | | | | | | Don't use mangled class name for .h file. * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass): Don't use mangled class name for .c file. * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass): Handle classes from the default package.
* 2006-10-20 Francis Kung <fkung@redhat.com>Francis Kung2006-10-202-0/+16
| | | | * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
* 2006-10-19 Francis Kung <fkung@redhat.com>Francis Kung2006-10-193-30/+36
| | | | | | | | PR 29510 * java/awt/image/BufferedImage.java (constructor): Updated some properties of default image types. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (argb32): Updated field to match default in BufferedImage.
* 2006-10-18 Roman Kennke <kennke@aicas.com>Roman Kennke2006-10-183-9/+27
| | | | | | | | | | | | PR 29419 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (copyArea): Changed size comparison to return when size == 0 too. * javax/swing/JViewport.java (paintBackingStore): Check width and height of blitted area and only do blit if its > 0. (paintBlit): Check width and height of blitted area and only do blit if its > 0.
* 2006-10-18 Roman Kennke <kennke@aicas.com>Roman Kennke2006-10-188-41/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 27091 * gnu/java/awt/peer/gtk/GtkFramePeer.java (maximize): New native method. (unmaximize): New native method. (iconify): New native method. (deiconify): New native method. (getState): Implemented. (setState): Implemented. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (oldState): Rename to windowState and made protected, so that the FramePeer can access it. (postWindowEvent): Handle state change events more gently and correctly. * java/awt/Frame.java (getState): Fetch state from getExtendedState(). (setExtendedState): Update the peer. Check if the state change is actually supported. (getExtendedState): Update the state from the peer. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c (maximize): New method. (unmaximize): New method. (iconify): New method. (deiconify): New method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (AWT_FRAME_NORMAL): New macro. (AWT_FRAME_ICONIFIED): New macro. (AWT_FRAME_MAXIMIZED_BOTH): New macro. (window_window_state_cb): Rewritten to handle window state changes more gently (mostly on the java side of the world). * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
* 2006-10-18 Tania Bento <tbento@redhat.com>Tania Bento2006-10-182-1/+13
| | | | | | | * java/awt/CardLayout.java: (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as its height and width if Container passed as argument is null. (gotoComponent): Consider the case where the component is not visible.