aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
AgeCommit message (Collapse)AuthorFilesLines
2002-03-06unicode-decomp.pl: Move from chartables.pl...Eric Blake2-621/+2090
2002-03-04 Eric Blake <ebb9@email.byu.edu> * scripts/unicode-decomp.pl: Move from chartables.pl, and remove the code for generating include/java-chartables.h. * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and merge with Classpath. * scripts/unicode-muncher.pl: Copy from Classpath. * scritps/MakeCharTables.java: New file. * gnu/gcj/convert/Blocks-3.txt: New file. * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file. * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file. * gnu/java/lang/CharData.java: Copy from Classpath. * Makefile.am (ordinary_java_source_files): Add gnu/java/lang/CharData.java. * configure.in: Remove --enable-fast-character option. * java/lang/Character.java: Merge algorithms and Javadoc with Classpath. * java/lang/natCharacter.cc: Implement Unicode lookup table more efficiently. * include/java-chardecomp.h: Regenerate. * include/java-chartables.h: Regenerate. From-SVN: r50368
2002-03-06MediaTracker.java: Implemented.Bryce McKinlay1-2/+343
* java/awt/MediaTracker.java: Implemented. * Makefile.am: Add MediaTracker. * Makefile.in: Rebuilt. From-SVN: r50349
2002-03-06natPosixProcess.cc (fail): Removed.Tom Tromey1-126/+153
* java/lang/natPosixProcess.cc (fail): Removed. (startProcess): Simplified error-handling. Preserve LD_LIBRARY_PATH across exec. From-SVN: r50342
2002-03-03* java/util/Timer (TaskQueue.stop): set elements to zero.Mark Wielaard1-0/+1
From-SVN: r50254
2002-03-01Add pointer support to the reflection code.Anthony Green1-29/+36
From-SVN: r50180
2002-02-28natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.Adam Megacz1-3/+4
2002-02-27 Adam Megacz <adam@xwt.org> * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'. From-SVN: r50120
2002-02-27natSystem.cc (init_properties): Use __VERSION__.Tom Tromey1-2/+2
* java/lang/natSystem.cc (init_properties): Use __VERSION__. * gij.cc (version): Use __VERSION__. * include/config.h.in: Rebuilt. * acconfig.h (GCJVERSION): Removed. * configure: Rebuilt. * configure.in (GCJVERSION): Removed. From-SVN: r50088
2002-02-27natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'.Tom Tromey1-3/+3
* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'. From-SVN: r50081
2002-02-25natPlainDatagramSocketImpl.cc: whops; removed 'make' typo.Adam Megacz1-1/+1
2002-02-24 Adam Megacz <adam@xwt.org> * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make' typo. Sorry. From-SVN: r50019
2002-02-25natPlainDatagramSocketImpl.cc: Updated #includes for Win32...Adam Megacz1-6/+8
2002-02-24 Adam Megacz <adam@xwt.org> * java/net/natPlainDatagramSocketImpl.cc: Updated #includes for Win32, changed #ifdefs to check WIN32 instead of the (now-obsolete) USE_WINSOCK, and removed support for socket timeouts on Win32 pending further discussion. From-SVN: r50017
2002-02-24Win32Process.java: Created a dummy class to allow build process to run to ↵Adam Megacz1-0/+63
completion. 2002-02-24 Adam Megacz <adam@xwt.org> * java/lang/Win32Process.java: Created a dummy class to allow build process to run to completion. From-SVN: r50013
2002-02-24natMethod.cc (_Jv_CallAnyMethodA): Define ffi_result union for ffi_call result.Jeff Sturm1-1/+42
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Define ffi_result union for ffi_call result. Cast ffi_result members to jvalue. From-SVN: r50007
2002-02-22URL.java (getPath): New JDK 1.3 method.Per Bothner2-19/+42
* java/net/URL.java (getPath): New JDK 1.3 method. * java/net/URLStreamHandler.java (parseURL): It is wrong to prepend '/' to the file part of a relative url. * java/net/URLStreamHandler.java (parseURL): Minor optizations - append '/' rather than "/". * java/net/URLStreamHandler.java (parseURL): Don't canonicalize "xx/.." or "./" URLs - JDK doesn't. We probably should canonicalize for a context-relative url, though. * java/net/URL.java (sameFile): Delegate to URLStreamHandler. * java/net/URLStreamHandler.java (canonicalizeFilename): New helper. (sameFile): New method. Uses canonicalizeFilename. From-SVN: r49980
2002-02-22natSystem.cc (init_properties): Include the `Inc.' in java.vendor and ↵Tom Tromey1-2/+2
java.vm.vendor. * java/lang/natSystem.cc (init_properties): Include the `Inc.' in java.vendor and java.vm.vendor. * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most recent copyright date. * gnu/gcj/convert/Convert.java (version): Print `Inc'. * gij.cc (version): Print `Inc'. From-SVN: r49975
2002-02-18natPlainDatagramSocketImpl.cc (bind): Call setsockopt to enable SO_BROADCAST.Bryce McKinlay1-1/+5
2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to enable SO_BROADCAST. From-SVN: r49835
2002-02-15Makefile.in: Rebuilt with Eric's change below.Bryce McKinlay1-122/+1
* Makefile.in: Rebuilt with Eric's change below. * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat), round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)): Removed functions which are now implemented in Math.java. From-SVN: r49782
2002-02-15javaprims.h (java::lang): Add java::lang::StrictMath.Eric Blake2-82/+2440
2002-02-14 Eric Blake <ebb9@email.byu.edu> * gcj/javaprims.h (java::lang): Add java::lang::StrictMath. * Makefile.am (core_java_source_files): Add java/lang/StrictMath.java. * java/lang/Math.java: Merge with Classpath. * java/lang/StrictMath.java: New file - merge with Classpath. From-SVN: r49781
2002-02-14[multiple changes]Mark Wielaard7-120/+211
2002-02-14 Mark Wielaard <mark@klomp.org> * java/math/BigInteger.java: import gnu.java.math.MPN not the whole package as a workaround for gcj 3.0.x 2002-02-14 Mark Wielaard <mark@klomp.org> * java/security/BasicPermission.java: extends with fully qualified classname as workaround for gcj 3.0.4. 2002-02-14 Eric Blake <ebb9@email.byu.edu> * java/net/DatagramSocketImpl.java (setOption, getOption): Work around gcj bug of wrong emitted qualifier for inherited method. * java/net/SocketImpl.java (setOption, getOption): Ditto. * java/util/WeakHashMap.java (WeakEntrySet): Add non-private constructor to reduce amount of emitted bytecode. While this happens to work around a jikes 1.15 bug, it is still a useful patch even for correct compilers. * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto. * gnu/java/rmi/server/UnicastRemoteCall.java (DummyObjectOutputStream, DummyObjectInputStream): Ditto. 2002-02-14 Eric Blake <ebb9@email.byu.edu> * java/net/DatagramSocketImpl.java: Reformat (no code changes). * java/net/SocketImpl.java: Ditto. * java/rmi/server/RMIClassLoader.java: Ditto. * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto. 2002-02-14 Mark Wielaard <mark@klomp.org> Thanks to Takashi Okamoto * java/util/Arrays.java (ArrayList.indexOf()): this.equals(). * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise. * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get(). From-SVN: r49778
2002-02-12natFilePosix.cc: Copied this from natFile.cc.Adam Megacz1-0/+0
2002-02-12 Adam Megacz <adam@xwt.org> * java/io/natFilePosix.cc: Copied this from natFile.cc. * java/io/natFile.cc: Removed from repository. * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}. From-SVN: r49700
2002-02-12natFileWin32.cc, [...]: Added #undef STRICT to make windows.h and ↵Adam Megacz2-0/+2
java/lang/reflect/Modifier.h cooperate. 2002-02-11 Adam Megacz <adam@xwt.org> * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc: Added #undef STRICT to make windows.h and java/lang/reflect/Modifier.h cooperate. From-SVN: r49692
2002-02-12natFileWin32.cc: Created a placeholder class with lots of FIXMEs.Adam Megacz1-63/+48
2002-02-11 Adam Megacz <adam@xwt.org> * java/io/natFileWin32.cc: Created a placeholder class with lots of FIXMEs. From-SVN: r49691
2002-02-08natFile.cc (_access): Use __builtin_alloca.Tom Tromey1-12/+13
* java/io/natFile.cc (_access): Use __builtin_alloca. (_stat): Likewise. (attr): Likewise. (getCanonicalPath): Likewise. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (performRenameTo): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (performDelete): Likewise. From-SVN: r49607
2002-02-07natThrowable.cc: Updated copyright.Tom Tromey3-3/+3
* java/lang/natThrowable.cc: Updated copyright. * java/io/natFileWin32.cc: Updated copyright. * java/io/natFileDescriptorWin32.cc: Updated copyright. * win32-threads.cc: Updated copyright. * name-finder.cc: Updated copyright. * include/name-finder.h: Updated copyright. From-SVN: r49586
2002-02-07natFile.cc (_access): Don't stack-allocate buffer.Tom Tromey1-23/+19
* java/io/natFile.cc (_access): Don't stack-allocate buffer. Size buffer based on real size of string. (_stat): Likewise. (attr): Likewise. (getCanonicalPath): Likewise. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (unixroot): Removed. (performRenameTo): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (performDelete): Likewise. (performListRoots): Always return new array. From-SVN: r49584
2002-02-07prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.Tom Tromey1-1/+1
* prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize. * win32.cc (win32_exception_handler): Now static. * include/win32.h (_Jv_platform_initialize): Declare. (win32_exception_handler): Don't declare. * java/lang/natSystem.cc (currentTimeMillis): Use _Jv_platform_gettimeofday. * posix.cc (_Jv_platform_gettimeofday): Renamed. (_Jv_select): Use new name. (_Jv_platform_initialize): New function. * include/posix.h (_Jv_platform_gettimeofday): Renamed from _Jv_gettimeofday. (_Jv_platform_initialize): Declare. From-SVN: r49583
2002-02-07embedded updatesAnthony Green4-4/+57
From-SVN: r49562
2002-02-06configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.Bryce McKinlay1-1/+1
* configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES. Symlink PLATFORMH to platform.h. * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add PLATFORMOBJS. * java/lang/natSystem.cc: #include platform.h not posix.h. * Makefile.in: Rebuilt with libgcj automake. * configure: Rebuilt. From-SVN: r49534
2002-02-02* java/io/natFile.cc: Removed old "FIXME" comments.Tom Tromey1-13/+1
From-SVN: r49434
2002-02-02natPosixProcess.cc (myclose): New function.Tom Tromey1-14/+27
* java/lang/natPosixProcess.cc (myclose): New function. (fail): Use it. (startProcess): Likewise. From-SVN: r49433
2002-02-02configure.in: Added support for mingw.Adam Megacz2-0/+0
2002-02-01 Adam Megacz <adam@xwt.org> * configure.in: Added support for mingw. * java/lang/Win32Process.java: Created as empty file. * java/lang/natWin32Process.cc: Created as empty file. From-SVN: r49425
2002-01-30natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return ↵Tom Tromey1-2/+3
type. * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return type. From-SVN: r49345
2002-01-30List.java (addNotify): Correctly check to see if peer does not exist.Tom Tromey1-1/+1
* java/awt/List.java (addNotify): Correctly check to see if peer does not exist. From-SVN: r49335
2002-01-29GridLayout.java (layoutContainer): Use number of rows to compute height of ↵Tom Tromey3-5/+5
each cell... * java/awt/GridLayout.java (layoutContainer): Use number of rows to compute height of each cell, and number of columns to compute width of each cell. * java/awt/Window.java (getOwnedWindows): Don't return null. * java/awt/FlowLayout.java (layoutContainer): Set width and height of component. Increment x using horizontal gap, not vertical gap. From-SVN: r49320
2002-01-28MouseEvent.java (modifiers): Removed field.Tom Tromey2-6/+4
* java/awt/event/MouseEvent.java (modifiers): Removed field. (when): Likewise. * java/awt/event/InputEvent.java (modifiers, when): Now package-private. From-SVN: r49275
2002-01-26MemoryImageSource.java (newPixels(byte[], ColorModel, int, int): Remove ↵Bryce McKinlay1-8/+2
empty "if" statement to work around compiler bug. * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel, int, int): Remove empty "if" statement to work around compiler bug. (newPixels(int[], ColorModel, int, int): Likewise. From-SVN: r49245
2002-01-25FlowLayout.java (layoutContainer): Correctly compute loop termination condition.Tom Tromey2-6/+6
* java/awt/FlowLayout.java (layoutContainer): Correctly compute loop termination condition. * java/awt/GridLayout.java (getSize): Use `real_cols' to compute width. From-SVN: r49216
2002-01-25Shape.java: Merged with Classpath.Tom Tromey2-237/+728
* java/awt/Shape.java: Merged with Classpath. * java/awt/Scrollbar.java: Merged with Classpath. From-SVN: r49208
2002-01-25Container.java (addNotify): Unconditionally call addNotifyContainerChildren ↵Tom Tromey1-5/+2
and superclass addNotify. * java/awt/Container.java (addNotify): Unconditionally call addNotifyContainerChildren and superclass addNotify. From-SVN: r49206
2002-01-25ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue.Tom Tromey1-1/+1
* java/awt/image/ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue. From-SVN: r49203
2002-01-25PixelGrabber.java (grabPixels()): Call grabPixels(0).Bryce McKinlay1-23/+8
* java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0). * java/awt/image/PixelGrabber.java (grabPixels(long)): Wait to be notified that the ImageProducer has completed. From-SVN: r49201
2002-01-25natObject.cc (X86 compare_and_swap): Use +m constraint.Bryce McKinlay1-2/+3
2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint. From-SVN: r49198
2002-01-24BorderLayout.java (addLayoutComponent): Added missing `else'.Tom Tromey1-1/+1
* java/awt/BorderLayout.java (addLayoutComponent): Added missing `else'. From-SVN: r49172
2002-01-24Makefile.in: Rebuilt.Tom Tromey12-250/+2807
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * java/awt/Toolkit.java: Merged with Classpath. * java/awt/PrintGraphics.java: New file from Classpath. * java/awt/PrintJob.java: New file from Classpath. * java/awt/datatransfer/Clipboard.java: New file from Classpath. * java/awt/datatransfer/ClipboardOwner.java: New file from Classpath. * java/awt/datatransfer/DataFlavor.java: New file from Classpath. * java/awt/datatransfer/FlavorMap.java: New file from Classpath. * java/awt/datatransfer/MimeTypeParseException.java: New file from Classpath. * java/awt/datatransfer/StringSelection.java: New file from Classpath. * java/awt/datatransfer/SystemFlavorMap.java: New file from Classpath. * java/awt/datatransfer/Transferable.java: New file from Classpath. * java/awt/datatransfer/UnsupportedFlavorException.java: New file from Classpath. From-SVN: r49171
2002-01-24Makefile.in: Rebuilt.Tom Tromey3-53/+372
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * java/awt/image/AreaAveragingScaleFilter.java: New file from Classpath. * java/awt/image/CropImageFilter.java: New file from Classpath. * java/awt/image/FilteredImageSource.java: New file from Classpath. * java/awt/image/ImageFilter.java: New file from Classpath. * java/awt/image/MemoryImageSource.java: New file from Classpath. * java/awt/image/PixelGrabber.java: New file from Classpath. * java/awt/image/RGBImageFilter.java: New file from Classpath. * java/awt/image/ReplicateScaleFilter.java: New file from Classpath. * java/awt/image/ImageProducer.java: Replaced with Classpath version. * java/awt/image/ImageObserver.java: Replaced with Classpath version. * java/awt/image/ImageConsumer.java: Replaced with Classpath version. * java/awt/GridBagConstraints.java (clone): Catch CloneNotSupportedException. From-SVN: r49169
2002-01-24Makefile.in: Rebuilt.Tom Tromey9-4/+1723
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * java/awt/image/AreaAveragingScaleFilter.java: New file from Classpath. * java/awt/image/CropImageFilter.java: New file from Classpath. * java/awt/image/FilteredImageSource.java: New file from Classpath. * java/awt/image/ImageFilter.java: New file from Classpath. * java/awt/image/MemoryImageSource.java: New file from Classpath. * java/awt/image/PixelGrabber.java: New file from Classpath. * java/awt/image/RGBImageFilter.java: New file from Classpath. * java/awt/image/ReplicateScaleFilter.java: New file from Classpath. * java/awt/image/ImageProducer.java: Replaced with Classpath version. * java/awt/image/ImageObserver.java: Replaced with Classpath version. * java/awt/image/ImageConsumer.java: Replaced with Classpath version. * java/awt/GridBagConstraints.java (clone): Catch CloneNotSupportedException. From-SVN: r49157
2002-01-23natField.cc (setAddr): New function.Per Bothner1-9/+19
* java/lang/reflect/natField.cc (setAddr): New function. Calls getAddr and then checks that the field isn't final. (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat, setDouble, set): Use setAddr instead of getAddr, to check for FINAL. (set): Call setAddr before check that new value has right type, to better match specified semantics. From-SVN: r49153
2002-01-23TextField.java: Replaced with Classpath version.Tom Tromey3-86/+1413
* java/awt/TextField.java: Replaced with Classpath version. * java/awt/TextArea.java: Replaced with Classpath version. * java/awt/TextComponent.java: Replaced with Classpath version. From-SVN: r49113
2002-01-22* java/awt/GridBagConstraints.java: Updated copyright.Tom Tromey1-4/+33
From-SVN: r49109
2002-01-22Add license clarification.Mark Wielaard49-245/+784
From-SVN: r49107
2002-01-22Add license clarification.Mark Wielaard589-3027/+9441
From-SVN: r49104