summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* import classpathx jaxp 20030123JAXP_CVS_20030814ClasspathxBrian Jones2003-02-01120-157/+157
|
* Initial revisionBrian Jones2003-02-01277-0/+54249
|
* * gnu/java/awt/peer/gtk/GtkToolkit.java (static): UseTom Tromey2003-01-312-2/+8
| | | | INIT_LOAD_LIBRARY.
* 2003-01-31 Julian Dolby <dolby@us.ibm.com>Tom Tromey2003-01-312-1/+12
| | | | * java/util/Properties.java (load): Ignore backslash before EOF.
* * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c:Tom Tromey2003-01-312-2/+7
| | | | Include GdkFontMetrics.h, not GdkGraphics.h.
* * java/net/SocketImpl.java (localport): set to -1 by defaultBrian Jones2003-01-304-1/+40
| | | | | | * native/jni/java-net/javanet.h (SOCKOPT_SO_KEEPALIVE): new #define * native/jni/java-net/javanet.c (_javanet_set_option): case SO_KEEPALIVE (_javanet_get_option): case SO_KEEPALIVE
* * native/jni/java-net/javanet.c (_javanet_bind): following gcj'sBrian Jones2003-01-302-7/+52
| | | | | | | | | | | example and setting SO_REUSEADDR before binding the port, testing with JDK seems to indicate it does this as well (_javanet_set_option): support SO_REUSEADDR; use JNI_TRUE/JNI_FALSE instead of 1/0 where applicable. Do not throw exception if setting SO_TIMEOUT fails; appears JDK does not throw exception and may be using alarm or setitimer (see `man 7 socket' on GNU/Linux) (_javanet_get_option): support SO_REUSEADDR; use JNI_TRUE/JNI_FALSE instead of 1/0 where applicable
* 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>Tom Tromey2003-01-282-13/+25
| | | | | * java/awt/Component.java (processPaintEvent): Dispose of Graphics object when finished.
* Updates for jazzlib 0.06John Leuner2003-01-281-8/+1
|
* Released verion 0.06 of jazzlibJohn Leuner2003-01-272-4/+4
|
* * gnu/classpath/Configuration.java.in: Reverted change ofTom Tromey2003-01-273-8/+8
| | | | | 2003-01-17. * java/awt/Toolkit.java: Likewise.
* * java/text/CollationElementIterator.java (secondaryOrder): return valueBrian Jones2003-01-252-10/+18
| | | | | | is supposed to be a short instead of an int; merged with gcj (tertiaryOrder): ditto (primaryOrder): merged with gcj
* 2003-01-25 Stephen Crawley <crawley@dstc.edu.au>Brian Jones2003-01-252-17/+47
| | | | | | * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents (toString): do not return Strings starting with . and - erroneously. Improves Mauve results to 12 of 600 instead of 16 of 338 on DiagBigDecimal.
* 2003-01-25 C. Brian Jones <cbj@gnu.org>Brian Jones2003-01-253-9/+64
| | | | | | | | | | | | | | * NEWS: note jni.h updates and patches * include/jni.h.in (AttachCurrentThreadAsDaemon): new function 2003-01-25 Stephen Crawley <crawley@dstc.edu.au> * include/jni.h.in (JNI_VERSION_1_4): new define (NewDirectByteBuffer): new function (GetDirectBufferAddress): new function (GetDirectBufferCapacity): new function (_JNI_VM_INTERNAL_TYPES_DEFINED): if defined, do not use default declarations for jobject, jfieldID, and jmethodID
* * java/io/ObjectOutputStream.java (writeObject): Rethrow fatalMark Wielaard2003-01-242-0/+10
| | | | ObjectStreamExceptions.
* * java/io/ObjectOutputStream.java (writeObject): Reformat.Mark Wielaard2003-01-231-0/+20
| | | | | | | | | | | | | | | | | | | (annotateClass): Likewise. (annotateProxyClass): Likewise. (write): Likewise. * (callWriteMethod): No longer native. * (getBooleanField): Likewise. * (getByte): Likewise. * (getCharField): Likewise. * (getDoubleField): Likewise. * (getFloatField): Likewise. * (getIntField): Likewise. * (getLongField): Likewise. * (getShortField): Likewise. * (getObjectField): Likewise. * native/jni/java-io/java_io_ObjectOutputStream.c: Removed. * native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Remove java_io_ObjectOutputStream.c.
* * java/io/ObjectOutputStream.java (writeObject): Reformat.Mark Wielaard2003-01-193-393/+189
| | | | | | | | | | | | | | | | | | | (annotateClass): Likewise. (annotateProxyClass): Likewise. (write): Likewise. * (callWriteMethod): No longer native. * (getBooleanField): Likewise. * (getByte): Likewise. * (getCharField): Likewise. * (getDoubleField): Likewise. * (getFloatField): Likewise. * (getIntField): Likewise. * (getLongField): Likewise. * (getShortField): Likewise. * (getObjectField): Likewise. * native/jni/java-io/java_io_ObjectOutputStream.c: Removed. * native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Remove java_io_ObjectOutputStream.c.
* * java/io/ObjectInputStream.java (ObjectInputStream): Set dump flagMark Wielaard2003-01-194-368/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | according to System property. (resolveObject): Moved to allign with libgcj version. (read): Make sure result is positive. (getField): New method. (getMethod): Likewise. (callReadMethod): No longer native. (setBooleanField): Likewise. (setByteField): Likewise. (setCharField): Likewise. (setDoubleField): Likewise. (setFloatField): Likewise. (setIntField): Likewise. (setLongField): Likewise. (setShortField): Likewise. (setObjectField): Likewise. (setDump): Removed. * native/jni/java-io/java_io_ObjectInputStream.c (callReadMethod): removed. (setBooleanField): removed. (setByteField): removed. (setCharField): Removed. (setDoubleField): Removed. (setFloatField): Removed. (setIntField): Removed. (setLongField): Removed. (setShortField): Removed. (setObjectField): Removed. * include/java_io_ObjectInputStream.h: Regenerated.
* 2003-01-18 Archie Cobbs <archie@dellroad.org>Mark Wielaard2003-01-182-3/+8
| | | | | * gnu/java/io/encode/EncoderUTF8.java (bytesInCharArray): Use offset. (convertToBytes): Likewise.
* * java/awt/Toolkit.java (default_toolkit_name): Use AWT_TOOLKIT.Tom Tromey2003-01-173-3/+15
| | | | | * gnu/classpath/Configuration.java.in (AWT_TOOLKIT): New constant.
* * NEWS: Describe java.io.(VM)ObjectStreamClass.Mark Wielaard2003-01-171-0/+19
| | | | | | | | | | | | | | | * configure.in (AC_OUTPUT): Add vm/reference/java/io/Makefile. * include/java_io_VMObjectOutputStream.h: New pregenerated header file. * java/io/ObjectStreamClass.java (getClassUID): Call VMObjectStreamClass.hasClassInitializer(). (hasClassInitializer): Removed. * native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Add java_io_ObjectStreamClass.c * native/jni/java-io/java_io_ObjectStreamClass.c: New file. * vm/reference/java/Makefile.am (SUBDIRS): Add io. * vm/reference/java/io/.cvsignore: New file. * vm/reference/java/io/Makefile.am: New file. * vm/reference/java/io/VMObjectStreamClass.java: New class.
* 2003-01-17 Mark Wielaard <mark@klomp.org>Mark Wielaard2003-01-173-82/+21
| | | | | | | | | | | | | | | | | Jeroen Frijters <jeroen@sumatra.nl> * java/net/URLClassLoader.java (Resource.getCodeSource): Fix check certs == null. (getCanonicalFileURL): Removed method. (JarURLLoader): Don't call removed method. (FileURLLoader): Likewise. (FileURLLoader.getResource): Don't canonicalize file name. 2003-01-17 Mark Wielaard <mark@klomp.org> * java/lang/ClassLoader.java (normalize): Removed. (getResource): Don't call normalize. (getResources): Likewise.
* * NEWS: Describe java.io.(VM)ObjectStreamClass.Mark Wielaard2003-01-171-0/+16
| | | | | | | | | | | | | | | * configure.in (AC_OUTPUT): Add vm/reference/java/io/Makefile. * include/java_io_VMObjectOutputStream.h: New pregenerated header file. * java/io/ObjectStreamClass.java (getClassUID): Call VMObjectStreamClass.hasClassInitializer(). (hasClassInitializer): Removed. * native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Add java_io_ObjectStreamClass.c * native/jni/java-io/java_io_ObjectStreamClass.c: New file. * vm/reference/java/Makefile.am (SUBDIRS): Add io. * vm/reference/java/io/.cvsignore: New file. * vm/reference/java/io/Makefile.am: New file. * vm/reference/java/io/VMObjectStreamClass.java: New class.
* * NEWS: Describe java.io.(VM)ObjectStreamClass.Mark Wielaard2003-01-179-27/+127
| | | | | | | | | | | | | | | * configure.in (AC_OUTPUT): Add vm/reference/java/io/Makefile. * include/java_io_VMObjectOutputStream.h: New pregenerated header file. * java/io/ObjectStreamClass.java (getClassUID): Call VMObjectStreamClass.hasClassInitializer(). (hasClassInitializer): Removed. * native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Add java_io_ObjectStreamClass.c * native/jni/java-io/java_io_ObjectStreamClass.c: New file. * vm/reference/java/Makefile.am (SUBDIRS): Add io. * vm/reference/java/io/.cvsignore: New file. * vm/reference/java/io/Makefile.am: New file. * vm/reference/java/io/VMObjectStreamClass.java: New class.
* * java/awt/image/ColorModel.java (ColorModel): Call getNumComponents().Mark Wielaard2003-01-163-10/+10
| | | | | * java/awt/image/ImageFilter.java (getFilterInstance): Calling clone() doesn't throw exception.
* * java/net/SocketImpl.java (toString): Don't explicitly callMark Wielaard2003-01-162-2/+8
| | | | toString() on possible null address.
* 2003-01-14 Michael Koch <konqueror@gmx.de>Michael Koch2003-01-162-3/+9
| | | | | * java/net/MulticastSocket.java (setInterface): Merged with libgcj, reindented.
* 2003-01-15 Scott Gilbertson <scottg@mantatest.com>Tom Tromey2003-01-152-21/+34
| | | | | | | | * java/awt/CardLayout.java (show): Rewrote. (gotoComponent): Removed `target' argument. Simplified code. Don't pre-compute `choice' unless `what' is FIRST or LAST. Changed all callers. (NONE): Removed.
* 2003-01-14 Michael Koch <konqueror@gmx.de>Michael Koch2003-01-144-1/+21
| | | | | | | | | * java/net/InetSocketAddress.java (serialVersionUID): New member variable. * java/net/NetPermission.java (NetPermission): Dont implement java.io.Serialization directly. * java/net/SocketAddress.java: (serialVersionUID): Documentation added.
* 2003-01-14 Michael Koch <konqueror@gmx.de>Michael Koch2003-01-1416-33/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/Label.java (Label): Implements javax.accessibility.Accessible; * java/awt/List.java (List): Implements javax.accessibility.Accessible; * java/awt/ScrollPane.java (ScrollPane): Implements javax.accessibility.Accessible; * java/awt/Scrollbar.java (Scrollbar): Implements javax.accessibility.Accessible; * java/awt/TextComponent.java (setCaretPosition): Throw exception, documentation added. * java/awt/Toolkit.java: Added some newlines in method documentations. (createButton): Exception documentation added. (createTextField): Exception documentation added. (createLabel): Exception documentation added. (createList): Exception documentation added. (createCheckbox): Exception documentation added. (createScrollbar): Exception documentation added. (createScrollPane): Exception documentation added. (createTextArea): Exception documentation added. (createChoice): Exception documentation added. (createFrame): Exception documentation added. (createWindow): Exception documentation added. (createDialog): Exception documentation added. (createMenuBar): Exception documentation added. (createMenu): Exception documentation added. (createMenuItem): Exception documentation added. (createFileDialog): Exception documentation added. (createCheckboxMenuItem): Exception documentation added. (loadSystemColors): Exception documentation added. (setDynamicLayout): Exception documentation added. (isDynamicLayoutSet): Exception documentation added. (isDynamicLayoutActive): Exception documentation added. (getScreenSize): Exception documentation added. (getScreenResolution): Exception documentation added. (getScreenInsets): Exception documentation added. (getColorModel): Exception documentation added. (getSystemClipboard): Exception documentation added. (getSystemSelection): Exception documentation added. (getMenuShortcutKeyMask): Exception documentation added. (getSystemEventQueue): Exception documentation added. * java/awt/Window.java: Reindented some code. (Window): Centralized implementation, documentation added. (finalize): Documentation added. (hide): Fixed typo in comment. (getWindowListeners): Documentation added. * java/awt/color/ColorSpace.java (toRGB): Documentation added. * java/awt/color/ICC_ColorSpace.java (ICC_ColorSpace): Documentation added. (toRGB): Throw exception, documentation added. (fromRGB): Throw exception, documentation added. (toCIEXYZ): Documentation added. (fromCIEXYZ): Documentation added. (getMinValue): Documentation added. (getMaxValue): Documentation added. * java/awt/geom/Dimension2D.java (clone): Documentation added. * java/awt/geom/GeneralPath.java (clone): Documentation added. * java/awt/geom/Line2D.java (clone): Documentation added. * java/awt/geom/QuadCurve2D.java (clone): Documentation added. * java/awt/image/ColorModel.java (ColorModel): Throw exception, documentation added. * java/awt/image/ImageFilter.java (clone): Doesnt throw CloneNotSupportedException.
* * doc/api/Makefile.am (install-data-local): Avoid error whenTom Tromey2003-01-142-2/+8
| | | | | htmllist is empty. (uninstall-local): Likewise.
* 2003-01-10 Michael Koch <konqueror@gmx.de>Tom Tromey2003-01-112-8/+13
| | | | | * java/awt/DisplayMode.java (equals): Fixed argument type and implementation.
* * java/util/ResourceBundle.java (static): Fixed indentation.Tom Tromey2003-01-102-12/+23
| | | | | (getCallingClassLoader): Likewise. (getObject): Likewise.
* * java/net/Socket.java: add missing @since tags, most of patchBrian Jones2003-01-102-5/+47
| | | | from Sasha Brawer, includes a couple of javadoc typo fixes.
* * mkinstalldirs: updated to automake 1.6Brian Jones2003-01-1012-1010/+2401
| | | | | | | | | | | | | | | | | | * missing: ditto * install-sh: ditto * config.sub: ditto * config.guess: ditto * depcomp: ditto * doc/texinfo.tex: ditto * configure.in: check for headers sys/ioctl.h asm/ioctls.h * native/jni/java-net/java_net_PlainSocketImpl.c: include config.h, checks for HAVE_SYS_IOCTL_H and HAVE_ASM_IOCTL_H, exclude for _AIX asm/ioctls.h, parts of patch from Julian Dolby 2003-01-10 Julian Dolby <dolby@us.ibm.com> * native/fdlibm/fdlibm.h: define _XOPEN_SOURCE for AIX * native/fdlibm/ieeefp.h: defines for _POWER as well as __PPC__
* 2003-01-10 Michael Koch <konqueror@gmx.de>Michael Koch2003-01-102-232/+232
| | | | | * java/io/ObjectOuputStream.java: Reformated, no code or documentation changes.
* * THANKYOU: fixed Weldon's email referenceBrian Jones2003-01-063-5/+31
| | | | | | | | | 2003-01-05 Julian Dolby <dolby@us.ibm.com> * java/util/ResourceBundle.java (tryBundle): If an exception occurs, do not try to use the bundle. * (static): initialize static reference to loaded ResourceBundle and ResourceBundle$Security * (getCallingClassLoader): Use new static references
* Merge with libgcj.Mark Wielaard2003-01-033-86/+77
| | | | | | | | | | | | | | * java/io/ObjectStreamClass.java (isProxyClass): Now a field. (setClass): Throws InvalidClassException. (setSuperclass): Use getClassUID if not a proxy Class. (setFields): Make sure to call setAccessible(true). (setUID): Renamed to... (getClassUID): Return the uid. Call setAccessible(true) for field. Fall back to Gnu provider SHA algorithm if necessary. (getDefinedSUID): Removed method. (hasClassInitializer): Don't throw NoSuchMethodError. (static): Removed. * java/io/ObjectOutputStream.java (writeObject): Use isProxyClass.
* 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>Tom Tromey2003-01-033-4/+11
| | | | | | | * gnu/java/rmi/server/UnicastServerRef.java (unexportObject): Don't throw RemoteException. * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't throw RemoteException.
* * java/util/zip/ZipFile.java (entries): Now HashMap.Mark Wielaard2003-01-022-64/+130
| | | | | | | | | | | | | | | (readLeShort(DataInput, byte[])): Read from given byte array. (readLeInt(DataInput, byte[]): Likewise. (readLeShort(byte[] b, int off)): New method. (readLeInt(byte[] b, int off)): Likewise. (readEntries): Use byte arrays to read info in bigger chunks. (getEntries): Return HashMap. (getEntry): Use HashMap. (locBuf): New private field. (checkLocalHeader): Use locBuf to read info in one chunk. (getInputStream): Use entries HashMap, wrap PartialInputStream in BufferedInputStream. (ZipEntryEnumeration): Use HashMap and Interator.
* * java/awt/Transparency.java: Don't mark fields as static orTom Tromey2003-01-015-13/+21
| | | | | | | final. * java/awt/Scrollbar.java: Typo fix. * java/awt/BasicStroke.java: Typo fixes. * java/awt/Adjustable.java: Don't mark fields as static or final.
* * java/util/logging/LogManager.java (readConfiguration): RemoveTom Tromey2002-12-313-4/+8
| | | | | extra `lib'. * javax/naming/InitialContext.java (init): Remove extra `lib'.
* * javax/naming/InitialContext.java (init): UseTom Tromey2002-12-315-35/+70
| | | | | | | | | | | | gnu.classpath.home.url. * java/util/logging/LogManager.java (readConfiguration): Use gnu.classpath.home.url. * java/security/Security.java: Use new properties. (loadProviders): Accept base url; use it. * java/lang/System.java: Document gnu.classpath.vm.shortname, and gnu.classpath.home.url. (gnu.classpath.home.url): Define. (gnu.classpath.vm.shortname): Likewise.
* * gnu/java/net/protocol/file/Handler.java (parseURL): Make sure thatMark Wielaard2002-12-282-1/+12
| | | | host != null.
* java/io/RandomAccessFile: corrected skipBytes() to stop at EOFDaryl Lee2002-12-272-3/+8
|
* java/io/PipedOutputStreaml.java: corrected connect() for test of previous ↵Daryl Lee2002-12-262-1/+6
| | | | connection
* * java/util/Properties.java (formatForOutput): Don't fallMark Wielaard2002-12-242-0/+6
| | | | through to default case after escaping character.
* * java/net/URLStreamHandler.java (toExternalForm): Ignore portMark Wielaard2002-12-242-1/+7
| | | | if zero or smaller.
* java/io/PipedWriter.java corrected connect() method test for existing connectionDaryl Lee2002-12-242-1/+5
|
* * INSTALL: updated link to bugs, tool version numbersBrian Jones2002-12-2428-73/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * TODO: removed easy HTML API generation todo item, it's done now; mention that CNI code won't be included in Classpath CVS for now since only gcj is using it * README: remove special mention of ORP * NEWS: add blurb about infrastructure improvements * HACKING: update automake, autoconf version numbers; remove mention of gcjh for compiling JNI libraries; updated gcj/jikes version numbers * lib/Makefile.am: distribute glibj.zip; uninstall no-zip case; separate resources target; avoid extra gen-classlist.sh calls; support DESTDIR * doc/api/Makefile.am: distribute HTML API documentation; install documentation in pkgdatadir/api; uninstall appropriately; support DESTDIR * resource/gnu/java/awt/peer/gtk/Makefile.am: add uninstall-local target; support DESTDIR * resource/java/security/Makefile.am: add uninstall-local target; support DESTDIR * javax/swing/Makefile.am: BoundedRangeModel missing .java extension * javax/transaction/xa/Makefile.am: Removed xa/ from filenames * java/awt/dnd/Makefile.am: added missing .java files to dist * java/net/Makefile.am: added missing .java files to dist * java/nio/channels/Makefile.am: added missing .java files to dist * javax/naming/Makefile.am: added missing .java files to dist * javax/naming/directory/Makefile.am: added missing .java files to dist * javax/naming/event/Makefile.am: new file * javax/naming/event/.cvsignore: new file * javax/naming/ldap/Makefile.am: new file * javax/naming/ldap/.cvsignore: new file * javax/naming/spi/Makefile.am: added missing .java files to dist * javax/sql/Makefile.am: added missing .java files to dist * javax/sql/.cvsignore: new file * javax/swing/plaf/Makefile.am: added missing .java files to dist * javax/swing/Makefile.am: added missing .java files to dist * Makefile.am: ignore errors during dist-hook * configure.in: add missing directory Makefiles to output; add check for 'date', 'cp', and 'mkdir' * acinclude.m4: remove check for 'find' and 'cp'