| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* doc/www.gnu.org/newsitems.txt doc/www.gnu.org/announce/20040502.wml
doc/www.gnu.org/downloads/downloads.wml updated with release 0.09
information
|
|
|
|
|
|
| |
* README: Move text around. Add section on active projects which use
modified versions of the libraries.
* NEWS: Add important updates for this release.
|
|
|
|
|
|
| |
* javax/swing/JComponent.java (reshape): Call super.reshape().
* javax/swing/ViewportLayout.java (layoutContainer): Call
parent.countComponents().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ASCII equivalent.
* javax/swing/DefaultBoundedRangeModel.java: Likewise.
* javax/swing/DefaultButtonModel.java: Likewise.
* javax/swing/DefaultListModel.java: Likewise.
* javax/swing/JList.java: Likewise.
* javax/swing/JSlider.java: Likewise.
* javax/swing/ListModel.java: Likewise.
* javax/swing/Popup.java: Likewise.
* javax/swing/SwingUtilities.java: Likewise.
|
| |
|
|
|
|
|
|
|
| |
* java/text/DecimalFormat.java
(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
(parse): Fixed handling of exponentiation notation and grouping.
|
|
|
|
|
|
|
|
| |
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
New files.
* native/jni/gtk-peer/Makefile.am:
Added new files to build.
|
|
|
|
|
|
|
|
|
|
| |
when size is smaller.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
(implTruncate): Always save current position. Only reposition file
pointer to where we started if not beyond new lenght. Reposition file
pointer to file length if it points beyond the end of file.
* java/io/RandomAccessFile.java (setLength): Use truncate for
shrinking the file and seek plus write for expanding the file.
|
|
|
|
|
|
|
| |
Mark Wielaard <mark@klomp.org>
* java/io/File.java (toURI): New method.
(toURL): Use isDirectory() directly.
|
|
|
|
|
| |
* java/util/zip/InflaterInputStream.java (skip): Copied implementation
from java.io.InputStream.
|
|
|
|
|
|
|
| |
* java/lang/Object.java (static): Remove static initializer.
* java/lang/Throwable.java (nl): Remove static field.
(StaticData): New private static inner class.
(stackTraceStringBuffer): Use StaticData.nl.
|
|
|
|
|
| |
* java/lang/Class.java: Clean up confusing stateements about system
classloader versus bootstrap classloader.
|
|
|
|
|
|
|
|
| |
* java/lang/Runtime.java (loadLib): New private method.
(load): Call loadLib.
(loadLibrary): Call loadLib.
* java/lang/Runtime.java (runShutdownHooks): Use Thread.yield().
|
|
|
|
|
|
| |
* INSTALL: Update needed library versions, add texinfo version
requirement, mention website/hacker guide.
* doc/hacking.texinfo: Include item on texinfo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/gnu_java_awt_peer_gtk_GdkFontMetrics.h,
include/gnu_java_awt_peer_gtk_GdkGraphics.h,
include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
Fixed stange method signatures produced by buggy gcjh.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(dispose): Removed.
(remove): Removed.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(dispose): Removed.
(requestFocus): Removed.
(gtkWidgetSetUSize): Removed.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(setTitle): Removed.
* native/jni/gtk-peer/gthread-jni.c
(gdk_threads_wake): Removed
* native/jni/java-io/javaio.h
(_javaio_open_read): Added prototype.
(_javaio_open_readwrite): Likewise.
* native/jni/java-lang/java_lang_VMDouble.c:
Include java_lang_VMDouble.h.
* native/jni/java-lang/java_lang_reflect_Array.c
(getLength): Removed.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
(nativeGetLength): Removed.
|
|
|
|
|
|
|
|
|
|
| |
* include/java_nio_channels_Channels.h,
native/jni/java-nio/java_nio_channels_Channels.c:
New files.
* include/Makefile.am:
Generate include/java_nio_channels_Channels.h.
* native/jni/java-nio/Makefile.am:
Compile java_nio_channels_Channels.c.
|
|
|
|
|
| |
* java/util/prefs/AbstractPreferences.java
(AbstractPreferences): Added parenthesis for clarity. Closes bug #7940.
|
|
|
|
|
|
|
|
|
|
|
| |
(compose(Raster, Raster, WritableRaster)): Removed unused variable
transferType.
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
unused variables hScrollbarHeight and vScrollbarWidth.
(preferredSize): Likewise.
* gnu/java/security/provider/DSAParameters.java (engineToString):
Removed unused call to System.getProperty("line.seperator");
* java/security/Security.java (loadProviders): Return result.
|
|
|
|
| |
* java/util/HashMap.java (rehash): Add entry at start of bucket.
|
|
|
|
| |
length when new length is smaller then current position.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/InetAddress.java
(static): ANY_IF should be an instance of Inet4Address.
(InetAddress): Remove unused constructors.
(getByName): Create instance of Inet4Address for IPv4 addresses.
(getAllByName): Likewise.
(getInaddrAny): Likewise.
* java/net/Inet4Address.java
(Inet4Address): New constructor which takes hostname_alias. route all
other construtors through this one.
* java/net/Inet6Address.java
(Inet6Address): Call correct super constructor.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/nio/ByteBuffer.java,
java/nio/CharBuffer.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java:
(compareTo): Fixed bogus implementation in all buffer classes.
|
|
|
|
|
|
| |
* java/applet/Applet.java (preferredSize): Call parent's
preferredSize if the applet stub is null.
(minimumSize): Likewise for parent's minimumSize.
|
|
|
|
|
|
|
|
|
| |
* include/gnu_java_net_PlainSocketImpl.h
(connect): Fixed signature of method.
* include/gnu_java_nio_channels_FileChannelImpl.h
(lock): Likewise.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
(lock): Likewise.
|
|
|
|
| |
* .project: New file.
|
|
|
|
|
| |
* java/util/zip/Deflater.java (strategy): Removed.
* java/util/zip/DeflaterEngine.java (buffer): Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/java_nio_MappedByteBufferImpl.h:
New file.
* include/Makefile.am:
Generate java_nio_MappedByteBufferImpl.h.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
(implTruncate): Fixed typo.
* native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
New file.
* native/jni/java-nio/Makefile.am:
Compile java_nio_MappedByteBufferImpl.c.
|
|
|
|
|
|
| |
* javax/print/PrintServiceLookup.java: New file.
* javax/print/Makefile.am (EXTRA_DIST):
Added PrintServiceLookup.java.
|
|
|
|
|
| |
* javax/print/DocFlavor.java:
Implemented all flavor classes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/print/attribute/standard/ColorSupported.java,
javax/print/attribute/standard/Compression.java,
javax/print/attribute/standard/CopiesSupported.java,
javax/print/attribute/standard/Fidelity.java,
javax/print/attribute/standard/Finishings.java,
javax/print/attribute/standard/JobImpressionsSupported.java,
javax/print/attribute/standard/JobKOctetsSupported.java,
javax/print/attribute/standard/JobMediaSheetsSupported.java,
javax/print/attribute/standard/JobSheets.java,
javax/print/attribute/standard/JobState.java,
javax/print/attribute/standard/JobStateReason.java,
javax/print/attribute/standard/JobStateReasons.java,
javax/print/attribute/standard/Media.java,
javax/print/attribute/standard/MediaSizeName.java,
javax/print/attribute/standard/MultipleDocumentHandling.java,
javax/print/attribute/standard/NumberUpSupported.java,
javax/print/attribute/standard/OrientationRequested.java,
javax/print/attribute/standard/PDLOverrideSupported.java,
javax/print/attribute/standard/PageRanges.java,
javax/print/attribute/standard/PresentationDirection.java,
javax/print/attribute/standard/PrintQuality.java,
javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
javax/print/attribute/standard/PrinterMoreInfo.java,
javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
javax/print/attribute/standard/PrinterResolution.java,
javax/print/attribute/standard/PrinterState.java,
javax/print/attribute/standard/PrinterStateReason.java,
javax/print/attribute/standard/PrinterStateReasons.java,
javax/print/attribute/standard/PrinterURI.java,
javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
javax/print/attribute/standard/Severity.java,
javax/print/attribute/standard/SheetCollate.java,
javax/print/attribute/standard/Sides.java: New files.
* javax/print/attribute/standard/Makefile.am
(EXTRA_DIST): Added new files.
|
|
|
|
|
|
| |
ClassLoaderHelper.java.
* javax/print/Makefile.am (EXTRA_DIST): Fixed DonPrintJob.java typo
by DocPrintJob.java.
|
|
|
|
|
|
|
|
|
| |
Mark Wielaard <mark@klomp.org>
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
(Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
Fill buffer with a do-while bytes_read < 1 loop.
Check for length == 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/AbstractButton.java,
javax/swing/ActionMap.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultListModel.java,
javax/swing/ImageIcon.java,
javax/swing/JComboBox.java,
javax/swing/JComponent.java,
javax/swing/JFrame.java,
javax/swing/JInternalFrame.java,
javax/swing/JMenuBar.java,
javax/swing/JMenuItem.java,
javax/swing/JOptionPane.java,
javax/swing/JProgressBar.java,
javax/swing/JRootPane.java,
javax/swing/JScrollBar.java,
javax/swing/JScrollPane.java,
javax/swing/JSeparator.java,
javax/swing/JSlider.java,
javax/swing/JTabbedPane.java,
javax/swing/JTable.java,
javax/swing/JTextField.java,
javax/swing/JToolBar.java,
javax/swing/JToolTip.java,
javax/swing/JTree.java,
javax/swing/JViewport.java,
javax/swing/JWindow.java,
javax/swing/KeyStroke.java,
javax/swing/LookAndFeel.java,
javax/swing/SwingUtilities.java,
javax/swing/Timer.java,
javax/swing/ToolTipManager.java,
javax/swing/UIDefaults.java,
javax/swing/ViewportLayout.java,
javax/swing/border/TitledBorder.java,
javax/swing/filechooser/FileSystemView.java,
javax/swing/plaf/basic/BasicButtonListener.java,
javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
javax/swing/plaf/basic/BasicGraphicsUtils.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/basic/BasicMenuItemUI.java,
javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
javax/swing/plaf/basic/BasicRootPaneUI.java,
javax/swing/plaf/basic/BasicScrollBarUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicSliderUI.java,
javax/swing/plaf/basic/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/table/JTableHeader.java,
javax/swing/table/TableColumn.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/DefaultCaret.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/tree/DefaultTreeCellEditor.java:
Clean ip imports.
|
|
|
|
|
| |
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
(create): Declare variable on top of function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/jni/java-io/java_io_VMObjectStreamClass.c
(getFieldReference): Use char* for strings, not jbyte*.
* native/jni/java-lang/java_lang_VMProcess.c
(copy_string): Likewise.
* native/jni/java-lang/java_lang_VMSystem.c:
Include jcl.h for JCL_FindClass definition.
* native/jni/java-nio/gnu_java_nio_NIOServerSocket.c
(getPlainSocketImpl): Return NULL.
* native/jni/java-nio/java_nio_DirectByteBufferImpl.c
(getImpl): Don't return anything.
(adjustAddress): Return NULL.
|
|
|
|
|
|
| |
* javax/imageio/stream/ImageInputStream.java: Removed unused import.
* java/io/BufferedReader.java (skip): Removed unused
variable.
|
|
|
|
|
| |
* include/jni.h.in (GetStringUTFChars):
Made it return const char * instead of const jbyte *.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/text/FormatBuffer.java,
gnu/java/text/AttributedFormatBuffer.java,
gnu/java/text/StringFormatBuffer.java: New classes to implement
attributed iterators in java.text.
* gnu/java/text/FormatCharacterIterator.java: Moved
from java/text as it is an internal class.
* gnu/java/text/Makefile.am: Added new files to EXTRA_DIST.
* java/text/Makefile.am: Removed moved classes from EXTRA_DIST.
2004-04-28 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/MessageFormat.java:
(class Field): New class.
(formatToCharacterIterator): New method.
(format): Use formatInternal now.
(formatInternal): New method. String formatter should
be done here (with attributes). Attributes merging supported.
(parse): More documentation.
(getFormatsByArgumentIndex): New method.
(setFormatByArgumentIndex): New method.
(setFormatsByArgumentIndex): New method.
2004-04-28 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/SimpleDateFormat.java:
(formatWithAttribute): New method. It implements
the formatting process with attributes.
(format): Use formatWithAttribute.
(formatToCharacterIterator): New method. Use
formatWithAttribute.
2004-04-28 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormat.java
(scanFix): Build attribute array. Fixed error reporting.
(applyPatternWithSymbols): Store attributes for the prefix and
suffix.
(formatInternal): New method. Changed the way the string is
computed. Implemented attributes. Cleant up rounding in
exponential notation.
(format): Use formatInternal.
(formatToCharacterIterator): New method.
(exponentRound, negativePrefixRanges, positivePrefixRanges,
negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
New fields.
2004-04-28 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/Format.java: Updated importations. Removed unnecessary
classes.
|
|
|
|
|
|
| |
* java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
32 bit pixels not 8 bit pixels.
(isCompatibleRaster): Added javadoc comment.
|
|
|
|
|
| |
* java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
scanline stride.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
(getColorModel): Return the actual color model.
(getRaster): Implemented.
(ColorRaster): New inner class.
* java/awt/SystemColor.java (createContext): Use ColorModel when creating
a PaintContext.
* java/awt/Color.java (<init>): Make exception more verbose.
(createContext): Use ColorModel when creating a PaintContext.
|
|
|
|
|
|
|
|
|
|
|
| |
* include/Makefile.am: add java_lang_VMProcess.h
* include/java_lang_VMProcess.h: new file
* include/java_lang_VMRuntime.h: regenerate
* native/jni/java-lang/Makefile.am: add java_lang_VMProcess.c
* native/jni/java-lang/java_lang_VMProcess.c: new file
* vm/reference/java/lang/Makefile.am: add VMProcess.java
* vm/reference/java/lang/VMProcess.java: new file
* vm/reference/java/lang/VMRuntime.java (exec): use VMProcess
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/print/Doc.java
(getPrintData): Throws IOException.
(getReaderForText): Likewise.
(getStreamForBytes): Likewise.
* javax/print/DocFlavor.java:
Fixed filename in copyright.
(serialVersionUID): New field.
* javax/print/ServiceUIFactory.java:
Made all constants final.
* javax/print/AttributeException.java
javax/print/MultiDoc.java
javax/print/MultiDocPrintJob.java
javax/print/MultiDocPrintService.java
javax/print/StreamPrintService.java
javax/print/URIException.java: New files.
* javax/print/Makefile.am
(EXTRA_DIST): Added all new files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/print/attribute/standard/Copies.java,
javax/print/attribute/standard/DateTimeAtCompleted.java,
javax/print/attribute/standard/DateTimeAtCreation.java,
javax/print/attribute/standard/DateTimeAtProcessing.java,
javax/print/attribute/standard/DocumentName.java,
javax/print/attribute/standard/JobHoldUntil.java,
javax/print/attribute/standard/JobImpressions.java,
javax/print/attribute/standard/JobImpressionsCompleted.java,
javax/print/attribute/standard/JobKOctets.java,
javax/print/attribute/standard/JobKOctetsProcessed.java,
javax/print/attribute/standard/JobMediaSheets.java,
javax/print/attribute/standard/JobMediaSheetsCompleted.java,
javax/print/attribute/standard/JobMessageFromOperator.java,
javax/print/attribute/standard/JobName.java,
javax/print/attribute/standard/JobOriginatingUserName.java,
javax/print/attribute/standard/JobPriority.java,
javax/print/attribute/standard/JobPrioritySupported.java,
javax/print/attribute/standard/NumberOfDocuments.java,
javax/print/attribute/standard/NumberOfInterveningJobs.java,
javax/print/attribute/standard/NumberUp.java,
javax/print/attribute/standard/OutputDeviceAssigned.java,
javax/print/attribute/standard/PagesPerMinute.java,
javax/print/attribute/standard/PagesPerMinuteColor.java:
Fixed @return tag all over.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/print/event/PrintEvent.java,
javax/print/event/PrintJobAdapter.java,
javax/print/event/PrintJobAttributeEvent.java,
javax/print/event/PrintJobAttributeListener.java,
javax/print/event/PrintJobEvent.java,
javax/print/event/PrintJobListener.java,
javax/print/event/PrintServiceAttributeEvent.java,
javax/print/event/PrintServiceAttributeListener.java,
javax/print/event/Makefile.am: New files.
* configure.ac: Generate javax/print/event/Makefile.
* javax/print/Makefile.am (SUBDIRS): Added event.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/print/attribute/AttributeSetUtilities.java
(verifyCategoryForValue): Fixed typo in javadoc.
* javax/print/attribute/HashAttributeSet.java
(containsKey): Fixed @return tag.
(comtainsValue): Likewise.
(equals): Likewise.
* javax/print/attribute/IntegerSyntax.java
(equals): Likewise.
* javax/print/attribute/ResolutionSyntax.java
(equals): Likewise.
(getCrossFeedResolution): Removed unused code.
(getFeedResolution): Likewise.
* javax/print/attribute/SetOfIntegerSyntax.java
(SetOfIntegerSyntax): Fixed HTML entities in javadoc.
(equals): Fixed @return tag.
* javax/print/attribute/TextSyntax.java
(TextSyntax): Take locale into account.
(hashCode): Better implementation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/print/CancelablePrintJob.java,
javax/print/Doc.java,
javax/print/DocFlavor.java,
javax/print/DocPrintJob.java,
javax/print/FlavorException.java,
javax/print/PrintException.java,
javax/print/PrintService.java,
javax/print/ServiceUIFactory.java: New files.
* javax/print/Makefile.am (EXTRA_DIST): Added all new files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/io/File.java: Moved all native methods to the new class
VMFile and removed the "Internal" suffix.
* vm/reference/java/io/VMFile.java: New file.
* vm/reference/java/io/Makefile.am (EXTRA_DIST): Added VMFile.java.
* include/java_io_File.h: Removed.
* include/java_io_VMFile.h: New file.
* include/Makefile.am: Generate java_io_VMFile.h.
* native/jni/java-io/java_io_File.c: Moved all methods to
java_io_VMFile.c and renamed them accordingly.
* native/jni/java-io/java_io_VMFile.c: New file.
* native/jni/java-io/Makefile.am: Removed java_io_File.c and added
java_io_VMFile.c to build.
|