summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2007-04-13 Gary Benson <gbenson@redhat.com>gbenson-calendar-branchGary Benson2007-04-132-4/+32
| | | | | | | | * java/util/GregorianCalendar.java (computeFields): Moved the majority of the logic into... (internalComputeFields): New method. (setDefaultFields): Only set areFieldsSet all fields were set. (computeTime): Sometimes call internalComputeFields.
* 2007-04-13 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-132-7/+25
| | | | | | * java/util/GregorianCalendar.java (defaults): Moved from within setDefaultFields. (setDefaultFields): Only set fields that are undefined.
* 2007-04-13 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-132-1/+5
| | | | | * java/util/Calendar.java (clear): Do not call complete.
* 2007-04-13 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-133-6/+20
| | | | | | | * java/util/Calendar.java (complete): Reorder, and set isTimeSet. * java/util/GregorianCalendar.java (computeTime): Do not set isTimeSet.
* 2007-04-13 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-132-2/+7
| | | | | | * java/util/Calendar.java (setTimeZone): Don't recalculate anything, just invalidate the fields.
* 2007-04-13 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-132-1/+11
| | | | | | * java/util/GregorianCalendar.java (setDefaultFields): Change DAY_OF_WEEK_IN_MONTH default, and add some comments.
* 2007-04-13 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-133-14/+30
| | | | | | | | | * java/util/Calendar.java (clear()): Zero cleared fields rather than using a default. (clear(int)): Likewise. * java/util/GregorianCalendar.java (setDefaultFields): New method. (computeTime): Call setDefaultFields if fields are not set.
* 2007-04-13 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-132-13/+10
| | | | | | | * java/util/Calendar.java (explicitDSTOffset): Remove. (set(int, int)): Remove explicitDSTOffset stuff. (set(int, int, int)): Likewise.
* 2007-04-12 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-122-56/+71
| | | | | * java/util/GregorianCalendar.java (computeTime): Reorder the cases into priority order.
* 2007-04-12 Christian Thalinger <twisti@complang.tuwien.ac.at>gbenson-calendar-branchpointChristian Thalinger2007-04-123-1/+22
| | | | | | | | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (clipboard_get_func): Call DeleteLocalRef. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c (clipboard_targets_received): Likewise. (clipboard_uris_received): Likewise.
* 2007-04-12 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2007-04-125-0/+219
| | | | | | | | * LICENSE: Added m4/ax_func_which_gethostbyname_r.m4 license. * configure.ac: Added AX_FUNC_WHICH_GETHOSTBYNAME_R check. * m4/ax_func_which_gethostbyname_r.m4: New file. * native/jni/native-lib/cpnet.c (cpnet_getHostByName): Check for different number of arguments of gethostbyname_r.
* * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New staticMark Wielaard2007-04-122-1/+39
| | | | | | | inner class. (transCache): New static LRUChache field. (copyTransformToAttrs): Check whether a TransformAttribute already exists in the transCache for the given AffineTransform.
* * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8.Mark Wielaard2007-04-122-0/+5
|
* 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2007-04-112-2/+7
| | | | | * native/jni/java-nio/javanio.c: Include fcntl.h instead of sys/fcntl.h.
* 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2007-04-112-0/+9
| | | | | * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed warning on some compilers, e.g. MIPSpro.
* 2007-04-11 Francis Kung <fkung@redhat.com>Francis Kung2007-04-113-14/+25
| | | | | | | | | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid unneeded object reference. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant checks.
* 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2007-04-112-0/+5
| | | | * configure.ac: Added AC_C_INLINE.
* * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.cMark Wielaard2007-04-102-1/+8
| | | | | (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile): Destroy surface after it is used to create a cairo context.
* 2007-04-09 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-092-8/+27
| | | | | | | | | | | * javax/management/ObjectName.java: (parse(String)): Catch multiple wildcards, initialise with an empty string (so null isn't appended), and emit comma even when wildcard ends the list. (checkComponents()): Catch newlines. (quote(String)): Handle newlines and quotes correctly.
* 2007-04-09 Francis Kung <fkung@redhat.com>Francis Kung2007-04-094-44/+13
| | | | | | | | | | | | PR 31311 * gnu/java/awt/peer/gtk/ComponentGraphics.java (dispose): Removed method. (disposeSurface): Removed method. * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface after it is used to create a cairo context.
* 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-092-8/+81
| | | | | | | | | | | | * javax/management/ObjectName.java: (propertyValuePattern): New cache variable. (parse(String)): Record in propertyListPattern not propertyPattern and set propertyValuePattern. (isPropertyPattern()): Semantics altered to be the OR of isPropertyListPattern() and isPropertyValuePattern(). (isPropertyListPattern()): Implemented. (isPropertyValuePattern()): Implemented. (isPropertyValuePattern(String)): Implemented.
* 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-072-3/+12
| | | | | * javax/management/ObjectName.java: (parse(String)): Fix result of getKeyPropertyListString().
* * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactor,Mark Wielaard2007-04-077-6/+9
| | | | | | | | resource/META-INF/services/javax.xml.parsers.SAXParserFactory, resource/META-INF/services/javax.xml.parsers.TransformerFactory, resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory, resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList, resource/META-INF/services/org.xml.sax.driver: Removed.
* 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-072-7/+14
| | | | | | * javax/management/ObjectName.java: (checkComponents()): Separate value and key illegal characters to allow value wildcards.
* 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-072-25/+24
| | | | | | * javax/management/ObjectName.java (parse(String)): Fix parsing where the wildcard is juxtaposed between other pairs.
* * configure.ac (VERSION): Set to 0.96-pre.Mark Wielaard2007-04-062-1/+5
|
* 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-064-1/+58
| | | | | | | | | | | | | | | | * javax/management/MBeanAttributeInfo.java: (serialVersionUID): Added. * javax/management/MBeanFeatureInfo.java: (writeObject(ObjectOutputStream)): Added for later 1.6 support. * javax/management/Notification.java: (serialVersionUID): Added. (Notification(String,Object,long,long)): Make default message the empty string not null. (Notification(String,Object,long,long,String)): Set source explicitly. (writeObject(ObjectOutputStream)): Added to match Sun.
* 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-062-1/+6
| | | | | * java/util/Hashtable.java: (putAllInternal(Map)): Remove redundant semi-colon.
* 2007-04-06 Mark Wielaard <mark@klomp.org>Mark Wielaard2007-04-066-32/+69
| | | | | | | | * lib/mkcollections.pl.in: Add externalclasses. * java/util/Collections.java: Unroll enhanced for loops. * java/util/HashMap.java: Likewise. * java/util/Hashtable.java: Likewise. * java/util/TreeMap.java: Likewise.
* 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-063-10/+159
| | | | | | | | | | | | | | | * gnu/javax/management/Translator.java: (getTypeName(type)): Move type name creation to its own method. * javax/management/ObjectName.java: (WILDCARD): Added. 2007-04-04 Andrew Haley <aph@redhat.com> * javax/management/ObjectName.java: (serialVersionUID): Declare. Make all fields transient. (parse): Break out from constructor. (writeObject, readObject): New methods.
* 2007-04-05 Francis Kung <fkung@redhat.com>Francis Kung2007-04-052-1/+4
| | | | * include/Makefile.am: Remove old entry.
* 2007-04-05 Francis Kung <fkung@redhat.com>Francis Kung2007-04-052-1/+5
| | | | | * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer): Remove failing subClass call.
* 2007-04-05 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-052-3/+19
| | | | | * java/util/GregorianCalendar.java (computeFields): Fix WEEK_OF_MONTH calculation.
* 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2007-04-052-0/+25
| | | | | | | PR classpath/22800: * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits) (doubleToRawLongBits, longBitsToDouble): Swap the byte ordering for little-endian arms without VFP.
* 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2007-04-052-2/+12
| | | | | | | * native/jni/java-net/java_net_VMNetworkInterface.c [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added #ifdef. (getVMInterfaces): Added UNUSED argument attribute.
* 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2007-04-053-22/+47
| | | | | | | | | | | * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c [HAVE_ICONV] (createRawData, getData, infid, outfid): Added #ifdef. (openIconv): Added UNUSED argument attribute, so we can build with -Werror. (decode): Likewise. (closeIconv): Likewise.
* * autogen.sh: Recognize automake 1.10.Mark Wielaard2007-04-059-9/+20
| | | | | | | | | | * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability. * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS. * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise. * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Likewise. * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Likewise. * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Likewise. * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise.
* * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.cMark Wielaard2007-04-044-7/+23
| | | | | | | | (cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL. * gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and call deliver() after pixels have been set. * gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only set icon when image has been properly loaded.
* 2007-04-04 Francis Kung <fkung@redhat.com>Francis Kung2007-04-044-50/+53
| | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawCairoSurface): Made protected. * gnu/java/awt/peer/gtk/ComponentGraphics.java (cairoDrawGlyphVector): Removed method. (cairoSetFont): Removed method. (disposeNative): Removed method. (drawCairoSurface): New method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added locking. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
* 2007-04-04 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-042-1/+5
| | | | | * java/util/GregorianCalendar.java (GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
* 2007-04-04 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-043-10/+22
| | | | | | | | * java/nio/channels/spi/SelectorProvider.java (inheritedChannel): Make method concrete and move default impl to here. Perform security checks as mandated by the spec. * gnu/java/nio/SelectorProviderImpl.java (inheritedChannel): Removed. Default impl is in SelectorProvider.
* 2007-04-04 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-042-4/+9
| | | | | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (init_glib_threads): Create global reference on lock object.
* 2007-04-04 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-043-39/+70
| | | | | | | | | | | | | | | * java/awt/Frame.java (weakFrames): Make private. (weakFramesQueue): New field. A reference queue to collect GCed references. (getFrames): Only do one iterations to avoid collecting null references. (hasDisplayableFrames): New helper method. Checks if there are any displayable frames. This is used by the event queue shutdown check. (noteFrame): Clean up GCed frames in the list. * java/awt/EventQueue.java (isShutdown): Move frame checking code into Frame.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-034-0/+56
| | | | | | | | | | * java/lang/System.java (inheritedChannel): New method, wraps SelectorProvider.inheritedChannel(). * java/nio/channels/spi/SelectorProvider.java (inheritedChannel): New abstract method. * gnu/java/nio/SelectorProviderImpl.java (inheritedChannel): New method, return null as default.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-032-1/+9
| | | | | | * java/nio/ByteOrder.java (nativeByteOrder): Let this fail when the corresponding property is not set properly.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-032-3/+19
| | | | | | * javax/swing/plaf/basic/BasicTreeUI.java (getPathBounds): Consider the tree's insets. Added a bunch of null checks.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-032-39/+77
| | | | | | | | | | | | * javax/swing/plaf/basic/BasicLabelUI.java (cachedInsets): New field. Used for reusing the insets instance. (getFontMetrics): New helper method for fetching a suitable FontMetrics object. (getPreferredSize): Use new helper method for font metrics. (paint): Only do something if we have an icon or text. Use cached Insets instance and new font metrics helper. (paintDisabledText): Don't restore the graphics' color. (paintEnabledText): Don't restore the graphics' color.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-034-16/+15
| | | | | | | | | | * javax/swing/plaf/metal/MetalButtonUI.java (paintButtonPressed): Fill the whole button not only visibleRect. * javax/swing/plaf/metal/MetalLookAndFeel.java (LAF_defaults): Removed. (getDefaults): Always fetch super's defaults. * javax/swing/plaf/metal/MetalMenuBarUI.java (update): Don't leave 2 pixel gap.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-034-0/+12
| | | | | | * native/target/.cvsignore, * native/target/Linux/.cvsignore, * native/target/generic/.cvsignore: Some new ignores.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-039-3149/+16
| | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GThreadMutex.java, * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c, * native/jni/gtk-peer/gthread-jni.c, * native/jni/gtk-peer/gthread-jni.h: Removed. * native/jni/gtk-peer/Makefile.am: Removed obsolete entries for removed files. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c Removed unused bits from gthread-jni.c.