aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2003-06-242003-06-24 Michael Koch <konqueror@gmx.de>Michael Koch4-2/+387
* java/net/SocketImpl.java (shutdownInput): Made it non-abstract method throwing an exception like in SUNs JRE. (shutdownOutput): Likewise. * java/net/SocketInputStream.java, java/net/SocketOutputStream.java: New files from classpath. From-SVN: r68416
2003-06-24Font.java, [...]: New versions from classpath.Michael Koch6-6/+22
2003-06-24 Michael Koch <konqueror@gmx.de> * java/awt/Font.java, java/awt/Window.java, java/awt/color/ColorSpace.java, java/awt/datatransfer/StringSelection.java, java/awt/image/ColorModel.java: New versions from classpath. From-SVN: r68415
2003-06-242003-06-24 Michael Koch <konqueror@gmx.de>Michael Koch3-0/+14
* Makefile.am (awt_java_source_files): Added new files: javax/swing/plaf/basic/BasicSplitPaneDivider.java, javax/swing/plaf/basic/BasicSplitPaneUI.java * Makefile.in: Regenerated. From-SVN: r68414
2003-06-24JTextComponent.java: New version from classpath.Michael Koch2-0/+12
2003-06-24 Michael Koch <konqueror@gmx.de> * javax/swing/text/JTextComponent.java: New version from classpath. From-SVN: r68410
2003-06-24Timer.java, [...]: New versions from classpath.Michael Koch16-135/+1910
2003-06-24 Michael Koch <konqueror@gmx.de> * javax/swing/Timer.java, javax/swing/plaf/ActionMapUIResource.java, javax/swing/plaf/ButtonUI.java, javax/swing/plaf/ColorChooserUI.java, javax/swing/plaf/ColorUIResource.java, javax/swing/plaf/ComboBoxUI.java, javax/swing/plaf/ComponentInputMapUIResource.java, javax/swing/plaf/basic/BasicBorders.java: New versions from classpath. * javax/swing/plaf/basic/BasicSplitPaneDivider.java. javax/swing/plaf/basic/BasicSplitPaneUI.java: New file from classpath. * javax/swing/plaf/basic/doc-files/BasicBorders-1.png, javax/swing/plaf/basic/doc-files/BasicBorders-2.png, javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png, javax/swing/plaf/doc-files/ComponentUI-1.dia, javax/swing/plaf/doc-files/ComponentUI-1.png: New binary files from classpath. From-SVN: r68409
2003-06-242003-06-24 Michael Koch <konqueror@gmx.de>Michael Koch2-26/+17
* java/io/LineNumberReader.java (skip): Dont do line number accounting here as this is already done in read(), simplified. From-SVN: r68408
2003-06-212003-06-21 Michael Koch <konqueror@gmx.de>Michael Koch2-20/+38
* java/io/File.java (static): Load javaio lib if existing (only in classpath). (File): Revised documentation to show the correct argument name. (createTempFile): Partly merged with classpath. (compareTo): Simplified. (lastModified): Throw exception if time < 0. (deleteOnExit): Revised documentation. From-SVN: r68310
2003-06-21PlainSocketImpl.java: Reformatted.Michael Koch2-35/+187
2003-06-21 Michael Koch <konqueror@gmx.de> * java/net/PlainSocketImpl.java: Reformatted. (PlainSocketImpl): Merged class documentaion with classpath. (in): Moved. (out): Moved. (PlainSocketImpl): New empty constructor. (finalize): Moved. (setOption): Merged documentation from classpath. (getOption): Likewise. (create): Likewise. (connect): Likewise. (bind): Likewise. (listen): Likewise. (accept): Likewise. (available): Likewise. (close): Likewise. (read): Likewise. (write): Likewise. (getInputStream): Made synchronozed to get sure that only one stream object can be created for this socket, merged documentation from classpath. (getOutputStream): Likewise. From-SVN: r68305
2003-06-21PlainSocketImpl.java: Reformatting.Michael Koch2-6/+25
2003-06-21 Michael Koch <konqueror@gmx.de> * java/net/PlainSocketImpl.java: Reformatting. (static): New implicit method. (read): Made package private. (write): Likewise. From-SVN: r68304
2003-06-21SimpleTimeZone.java: Removed unneeded import, reformatting.Michael Koch2-4/+10
2003-06-21 Michael Koch <konqueror@gmx.de> * java/util/SimpleTimeZone.java: Removed unneeded import, reformatting. From-SVN: r68301
2003-06-21DateFormat.java, [...]: New versions from classpath.Michael Koch4-16/+40
2003-06-21 Michael Koch <konqueror@gmx.de> * java/text/DateFormat.java, java/text/SimpleDateFormat.java, java/util/Locale.java: New versions from classpath. From-SVN: r68300
2003-06-21SpinnerModel.java: New file from classpath.Michael Koch12-12/+649
2003-06-21 Michael Koch <konqueror@gmx.de> * javax/swing/SpinnerModel.java: New file from classpath. * javax/swing/border/LineBorder.java, javax/swing/border/SoftBevelBorder.java, javax/swing/plaf/BorderUIResource.java, javax/swing/plaf/basic/BasicBorders.java: New versions from classpath. * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png, javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png, javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png, javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png, javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png, javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png: New binary files from classpath. From-SVN: r68299
2003-06-21LogRecord.java, [...]: New files from classpath.Michael Koch17-0/+6247
2003-06-21 Michael Koch <konqueror@gmx.de> * java/util/logging/LogRecord.java, java/util/logging/Logger.java, java/util/logging/SocketHandler.java, java/util/logging/SimpleFormatter.java, java/util/logging/Formatter.java, java/util/logging/ErrorManager.java, java/util/logging/Handler.java, java/util/logging/FileHandler.java, java/util/logging/LogManager.java, java/util/logging/Level.java, java/util/logging/ConsoleHandler.java, java/util/logging/StreamHandler.java, java/util/logging/LoggingPermission.java, java/util/logging/Filter.java, java/util/logging/MemoryHandler.java, java/util/logging/XMLFormatter.java: New files from classpath. From-SVN: r68295
2003-06-202003-06-20 Michael Koch <konqueror@gmx.de>Michael Koch2-6/+25
* java/io/ObjectStreamField.java (unshared): new member variable. (ObjectStreamField): New constructor. (isUnshared): New method. From-SVN: r68261
2003-06-202003-06-20 Michael Koch <konqueror@gmx.de>Michael Koch2-4/+17
* java/net/URLStreamHandler.java (hostsEqual): Rewritten. From-SVN: r68260
2003-06-20MappedByteFileBuffer.java, [...]: RemovedMichael Koch7-615/+308
2003-06-20 Michael Koch <konqueror@gmx.de> * gnu/java/nio/MappedByteFileBuffer.java, gnu/java/nio/natMappedByteFileBuffer.cc: Removed * java/nio/MappedByteBufferImpl.java: New file. * gnu/java/nio/FileChannelImpl.java: Use MappedByteBufferImpl instead of MappedByteFileBuffer. * Makefile.am (ordinary_java_source_files): Removed gnu/java/nio/MappedByteFileBuffer.java and added java/nio/MappedByteBufferImpl.java. (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc * Makefile.in: Regenerated. From-SVN: r68259
2003-06-192003-06-19 Michael Koch <konqueror@gmx.de>Michael Koch3-51/+111
* gnu/java/nio/DatagramChannelImpl.java (fd): Removed. (blocking): New member variable. (socket): Likewise. (DatagramChannelImpl): Throws IOException, initialize socket. (socket):Implemented. (implCloseSelectableChannel): Throws IOException, implemented. (implConfigureBlocking): Likewise. (connect): Likewise. (disconnect): Likewise. (isConnected): Likewise. (write): Likewise. (read): Likewise. (receive): Throws IOException. (send): Likewise. * gnu/java/nio/SocketChannelImpl.java (read): Implemented. (write): Implemented. From-SVN: r68208
2003-06-19JComponent.java, [...]: New versions from classpath.Michael Koch6-108/+90
2003-06-19 Michael Koch <konqueror@gmx.de> * javax/swing/JComponent.java, javax/swing/JInternalFrame.java, javax/swing/MenuSelectionManager.java, javax/swing/SwingUtilities.java, javax/swing/ToggleButtonModel.java: New versions from classpath. From-SVN: r68207
2003-06-192003-06-19 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+8
* java/text/CollationElementIterator.java (NULLORDER): Initialize with -1 as JDK documentation says. From-SVN: r68199
2003-06-19HttpURLConnection.java, [...]: Reworked import statements.Michael Koch9-141/+155
2003-06-19 Michael Koch <konqueror@gmx.de> * java/net/HttpURLConnection.java, java/net/Inet4Address.java, java/net/Inet6Address.java, java/net/SocketImpl.java, java/net/URLClassLoader.java: Reworked import statements. * java/net/InetAddress.java (getByAddress): Simplified. * java/net/ServerSocket.java (ServerSocket): Moved special handling during bind operation to bind(). (bind): Handle different cases when trying to bind a socket. * java/net/URLConnection.java (getHeaderFieldDate): Merged with classpath. (getHeaderFieldInt): Likewise. From-SVN: r68198
2003-06-192003-06-19 Michael Koch <konqueror@gmx.de>Michael Koch2-0/+10
* java/util/zip/InflaterInputStream.java (InflaterInputStream): Throw NullPointerException if in is null (as JDK does). From-SVN: r68197
2003-06-19Font.java [...]: New versions from classpath.Michael Koch48-465/+4941
2003-06-19 Michael Koch <konqueror@gmx.de> * java/awt/Font.java javax/swing/UIManager.java javax/swing/border/AbstractBorder.java javax/swing/border/BevelBorder.java javax/swing/border/Border.java javax/swing/border/CompoundBorder.java javax/swing/border/EmptyBorder.java javax/swing/border/EtchedBorder.java javax/swing/border/LineBorder.java javax/swing/border/MatteBorder.java javax/swing/border/TitledBorder.java javax/swing/plaf/BorderUIResource.java javax/swing/plaf/basic/BasicBorders.java javax/swing/plaf/basic/BasicButtonUI.java javax/swing/plaf/basic/BasicCheckBoxUI.java javax/swing/plaf/basic/BasicGraphicsUtils.java javax/swing/plaf/basic/BasicLabelUI.java javax/swing/plaf/basic/BasicRadioButtonUI.java javax/swing/plaf/basic/BasicToggleButtonUI.java: New versions from classpath. * javax/swing/border/SoftBevelBorder.java: New file from classpath. * javax/swing/border/doc-files/LineBorder-1.png, javax/swing/border/doc-files/BevelBorder-1.png, javax/swing/border/doc-files/BevelBorder-2.png, javax/swing/border/doc-files/BevelBorder-3.png, javax/swing/border/doc-files/EmptyBorder-1.png, javax/swing/border/doc-files/EtchedBorder-1.png, javax/swing/border/doc-files/EtchedBorder-2.png, javax/swing/border/doc-files/MatteBorder-1.png, javax/swing/border/doc-files/MatteBorder-2.png, javax/swing/border/doc-files/MatteBorder-3.png, javax/swing/border/doc-files/MatteBorder-4.png, javax/swing/border/doc-files/MatteBorder-5.png, javax/swing/border/doc-files/MatteBorder-6.png, javax/swing/border/doc-files/SoftBevelBorder-1.png, javax/swing/border/doc-files/SoftBevelBorder-2.png, javax/swing/border/doc-files/SoftBevelBorder-3.png, javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png, javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png: New binary files from classpath. * Makefile.am (awt_java_source_files): Added javax/swing/border/SoftBevelBorder.java. * Makefile.in: Regenerated. From-SVN: r68190
2003-06-192003-06-19 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+6
* gnu/java/security/x509/X509Certificate.java (writeReplace): Merged from classpath. From-SVN: r68187
2003-06-192003-06-19 Michael Koch <konqueror@gmx.de>Michael Koch3-5/+17
* gnu/java/nio/FileChannelImpl.java (map_address): Made public. (FileChannelImpl): Merged with classpath. * gnu/java/nio/natFileChannelImpl.cc (nio_mmap_file): Commented out unused arguments. (nio_unmmap_file): Likewise. (niu_msync): Likewise. From-SVN: r68186
2003-06-19IndexColorModel.java: New version from classpath.Michael Koch2-35/+58
2003-06-19 Michael Koch <konqueror@gmx.de> * java/awt/image/IndexColorModel.java: New version from classpath. From-SVN: r68185
2003-06-19Inet6Address.java (isAnyLocalAddress): Don't use "==" on arrays.Tom Tromey3-5/+15
* java/net/Inet6Address.java (isAnyLocalAddress): Don't use "==" on arrays. (isLoopbackAddress): Likewise. * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "==" on arrays. From-SVN: r68173
2003-06-18Oops, accidentally committed the 3.3 version to mainline. Undone.Franz Sirl1-3/+0
From-SVN: r68156
2003-06-18natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for ↵Matt Kraai2-2/+7
loop bound. * java/lang/natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound. From-SVN: r68153
2003-06-182003-06-18 Michael Koch <konqueror@gmx.de>Michael Koch8-252/+71
* gnu/java/nio/SelectorImpl.java (register): Use fd with value 0 for now, will be fixed later. * gnu/java/nio/ServerSocketChannelImpl.java (fd): Removed. (local_port): Removed. (InetSocketAddress): Removed. (ServerSocketChannelImpl): Just initialize internal socket object. (implCloseSelectableChannel): Close internal socket object. (implConfigureBlocking): Added comment. (accept): Use jaba.net stuff to accept socket. * gnu/java/nio/SocketChannelImpl.java (fd): Removed. (local_port): Removed. (InetSocketAddress): Removed. (SocketCreate): Removed. (SocketConnect): Removed. (SocketBind): Removed. (SocketListen): Removed. (SocketAvailable): Removed. (SocketClose): Removed. (SocketRead): Removed. (SocketWrite): Removed. (SocketChannelImpl): Just initialize internal socket object. (implCloseSelectableChannel): Close internal socket object. (implConfigureBlocking): Fixed implementation, added comment. (connect): Use internal socket object to connect. (socket): No need for sanity checks. (read): Comment out some stuff, this will be reimplemented in the next commit. (write): Likewise. * gnu/java/nio/natFileChannelImpl.cc (nio_mmap_file): Line wrapped. * gnu/java/nio/natSocketChannelImpl.cc: Removed. * Makefile.am (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc. * Makefile.in: Regenerated. From-SVN: r68145
2003-06-182003-06-18 Michael Koch <konqueror@gmx.de>Michael Koch2-0/+8
* java/util/Locale.java (equals): Merged from classpath. From-SVN: r68144
2003-06-18InetAddress.java: Reformatted to better match classpath's version.Michael Koch4-19/+64
2003-06-18 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java: Reformatted to better match classpath's version. * java/net/URL.java (equals): Simplified. * java/net/URLConnection.java (setDoInput): Revised documentation. (getDefaultUseCaches): Likewise. (setRequestProperty): Added @since tag. From-SVN: r68143
2003-06-172003-06-17 Michael Koch <konqueror@gmx.de>Michael Koch3-23/+29
* java/net/InetSocketAddress.java (InetSocketAddress): Use wildcard address if addr is null. (InetSocketAddress): Dont duplicate implementation. (InetSocketAddress): Throw exception when hostname is null. * java/net/Socket.java: Reworked imports. (Socket): Throw exception when raddr is null, handle case when laddr is null. From-SVN: r68106
2003-06-172003-06-17 Michael Koch <konqueror@gmx.de>Michael Koch4-23/+49
* java/nio/DirectByteBufferImpl.java (address): Made package private. (DirectByteBufferImpl): New constructor. * java/nio/natDirectByteBufferImpl.cc (allocateImpl): Moved to java.nio namespace, implemented. (freeImpl): Likewise. (getImpl): Likewise. (putImpl): Likewise. * jni.cc (_Jv_JNI_NewDirectByteBuffer): Implemented. (_Jv_JNI_GetDirectBufferAddress): Implemented. (_Jv_JNI_GetDirectBufferCapacity): Implemented. From-SVN: r68105
2003-06-17powerpc-signal.h: New File.Franz Sirl4-2/+95
2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * include/powerpc-signal.h: New File. * configure.in: Use it. * configure: Regenerated. From-SVN: r68088
2003-06-172003-06-17 Michael Koch <konqueror@gmx.de>Michael Koch2-4/+12
* java/util/Locale.java (getDisplayLanguage): Made it final. (getDisplayCountry): Likewise. (getDisplayVariant): Likewise. (getDisplayName): Likewise. From-SVN: r68086
2003-06-17PropertyResourceBundle.java: Removed unneeded import.Michael Koch2-1/+5
2003-06-17 Michael Koch <konqueror@gmx.de> * java/util/PropertyResourceBundle.java: Removed unneeded import. From-SVN: r68084
2003-06-17AbstractPreferences.java, [...]: Reworked imports, removed unused imports.Michael Koch4-11/+18
2003-06-17 Michael Koch <konqueror@gmx.de> * java/util/prefs/AbstractPreferences.java, java/util/prefs/PreferencesFactory.java: Reworked imports, removed unused imports. * java/util/prefs/Preferences.java (systemNodeForPackage): Method takes a Class not an Object. (userNodeForPackage): Likewise. (nodeForPackage): Likewise. From-SVN: r68081
2003-06-17X509Certificate.java: Explicitely import used classes.Michael Koch2-2/+10
2003-06-17 Michael Koch <konqueror@gmx.de> * gnu/java/security/x509/X509Certificate.java: Explicitely import used classes. From-SVN: r68080
2003-06-17ZipEntry.java, [...]: Reworked imports, only import used classes.Michael Koch5-7/+16
2003-06-17 Michael Koch <konqueror@gmx.de> * java/util/zip/ZipEntry.java, java/util/zip/ZipFile.java, java/util/zip/ZipInputStream.java, java/util/zip/ZipOutputStream.java: Reworked imports, only import used classes. From-SVN: r68079
2003-06-17ArrayHelper.java, [...]: Reformatted to match classpath's versions.Michael Koch3-222/+187
2003-06-17 Michael Koch <konqueror@gmx.de> * gnu/java/lang/ArrayHelper.java, gnu/java/lang/ClassHelper.java: Reformatted to match classpath's versions. From-SVN: r68078
2003-06-142003-06-14 Michael Koch <konqueror@gmx.de>Michael Koch5-42/+34
* gnu/java/nio/FileChannelImpl.java (map_address): Removed incorrect comment. * gnu/java/nio/SelectorImpl.java (register): Remove code duplication and code for file channel handling. * gnu/java/nio/ServerSocketChannelImpl.java (serverSocket): Renamed from sock_object. (ServerSocketChannel): Initialize serverSocket. (socket): Return serverSocket. * gnu/java/nio/SocketChannelImpl.java (socket): Renamed from sock_object. (isConnectionPenging): Simplified. (socket): Return socket. From-SVN: r67940
2003-06-14BasicPermission.java: New version from classpath.Michael Koch2-3/+7
2003-06-14 Michael Koch <konqueror@gmx.de> * java/security/BasicPermission.java: New version from classpath. From-SVN: r67934
2003-06-14Attribute.java: New version from classpath.Michael Koch2-3/+6
2003-06-14 Michael Koch <konqueror@gmx.de> * javax/naming/directory/Attribute.java: New version from classpath. From-SVN: r67933
2003-06-14BufferedReader.java, [...]: New versions from classpath.Michael Koch3-1/+11
2003-06-14 Michael Koch <konqueror@gmx.de> * java/io/BufferedReader.java, java/io/FileOutputStream.java: New versions from classpath. From-SVN: r67932
2003-06-13prims.cc (catch_segv): Create exception in handler.Andrew Haley9-56/+45
2003-06-12 Andrew Haley <aph@redhat.com> * prims.cc (catch_segv): Create exception in handler. (catch_fpe): Likewise. (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise. (_Jv_ThrowSignal): Remove. * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp. * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference to nullp and arithexception. * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise. * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise. * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise. * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise. * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise. From-SVN: r67892
2003-06-12jni.cc (_Jv_JNI_check_types): New.Andrew Haley3-42/+109
2003-06-11 Andrew Haley <aph@redhat.com> * jni.cc (_Jv_JNI_check_types): New. (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type. (_Jv_JNI_GetPrimitiveArrayRegion): Ditto. (_Jv_JNI_GetPrimitiveArrayElements): Ditto. (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto. * java/lang/natVMSecurityManager.cc (getClassContext): Fix infinite loop. From-SVN: r67835
2003-06-12ClassLoader.java (loadClass): Not deprecated.Tom Tromey3-24/+14
* java/lang/ClassLoader.java (loadClass): Not deprecated. * java/io/PrintStream.java: Not deprecated. From-SVN: r67811
2003-06-12IntegerGraphicsState.java (drawOval): implemented.Scott Gilbertson5-4/+38
2003-06-11 Scott Gilbertson <scottg@mantatest.com> * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented. (fillOval): implemented * gnu/awt/xlib/XGraphics.java (drawArc): implemented. (fillArc): implemented. * gnu/gcj/xlib/GC.java (drawArc): added native method. (fillArc): added native method. * gnu/gcj/xlib/natGC.cc (drawArc): added native method. (fillArc): added native method. From-SVN: r67810
2003-06-11This should not get committed.Michael Koch1-1/+1
From-SVN: r67790
2003-06-11Forgot to add them to the commit command line too, AARGH.Michael Koch2-9/+12
From-SVN: r67788