| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* java/util/GregorianCalendar.java
(defaults): Moved from within setDefaultFields.
(setDefaultFields): Only set fields that are undefined.
|
|
|
|
|
| |
* java/util/Calendar.java
(clear): Do not call complete.
|
|
|
|
|
|
|
| |
* java/util/Calendar.java
(complete): Reorder, and set isTimeSet.
* java/util/GregorianCalendar.java
(computeTime): Do not set isTimeSet.
|
|
|
|
|
|
| |
* java/util/Calendar.java
(setTimeZone): Don't recalculate anything, just invalidate
the fields.
|
|
|
|
|
|
| |
* java/util/GregorianCalendar.java
(setDefaultFields): Change DAY_OF_WEEK_IN_MONTH default,
and add some comments.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* java/util/Calendar.java
(explicitDSTOffset): Remove.
(set(int, int)): Remove explicitDSTOffset stuff.
(set(int, int, int)): Likewise.
|
|
|
|
|
| |
* java/util/GregorianCalendar.java
(computeTime): Reorder the cases into priority order.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
inner class.
(transCache): New static LRUChache field.
(copyTransformToAttrs): Check whether a TransformAttribute already
exists in the transCache for the given AffineTransform.
|
| |
|
|
|
|
|
| |
* native/jni/java-nio/javanio.c: Include fcntl.h instead of
sys/fcntl.h.
|
|
|
|
|
| |
* native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
warning on some compilers, e.g. MIPSpro.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* configure.ac: Added AC_C_INLINE.
|
|
|
|
|
| |
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile):
Destroy surface after it is used to create a cairo context.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* javax/management/ObjectName.java:
(parse(String)): Fix result of getKeyPropertyListString().
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* javax/management/ObjectName.java:
(checkComponents()): Separate value and
key illegal characters to allow value wildcards.
|
|
|
|
|
|
| |
* javax/management/ObjectName.java
(parse(String)): Fix parsing where the wildcard
is juxtaposed between other pairs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* java/util/Hashtable.java:
(putAllInternal(Map)): Remove redundant semi-colon.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* include/Makefile.am: Remove old entry.
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkToolkit.java
(createDragGestureRecognizer): Remove failing subClass call.
|
|
|
|
|
| |
* java/util/GregorianCalendar.java
(computeFields): Fix WEEK_OF_MONTH calculation.
|
|
|
|
|
|
|
| |
PR classpath/22800:
* native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
(doubleToRawLongBits, longBitsToDouble): Swap the byte
ordering for little-endian arms without VFP.
|
|
|
|
|
|
|
| |
* native/jni/java-net/java_net_VMNetworkInterface.c
[HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added
#ifdef.
(getVMInterfaces): Added UNUSED argument attribute.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* java/util/GregorianCalendar.java
(GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(init_glib_threads): Create global reference on lock object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* java/nio/ByteOrder.java
(nativeByteOrder): Let this fail when the corresponding
property is not set properly.
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
(getPathBounds): Consider the tree's insets. Added a bunch of
null checks.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* native/target/.cvsignore,
* native/target/Linux/.cvsignore,
* native/target/generic/.cvsignore: Some new ignores.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|