Anthony Green
2d29f3a1c5
Fix USE_LDTL configury.
...
From-SVN: r69864
2003-07-27 23:52:57 +00:00
Thomas Fitzsimmons
f17163688b
gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: Create vbox and layout for GtkPlug.
...
2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
Create vbox and layout for GtkPlug.
From-SVN: r69861
2003-07-27 20:01:00 +00:00
Michael Koch
b528910ddd
2003-07-27 Michael Koch <konqueror@gmx.de>
...
* java/awt/Window.java
(Window): Removed now unused constructor. It became oboslete with the
new embedded window patch.
From-SVN: r69860
2003-07-27 19:38:00 +00:00
Thomas Fitzsimmons
0963808165
2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
...
Michael Koch <konqueror@gmx.de>
* gnu/java/awt/EmbeddedWindow.java
(EmbeddedWindow): Extends Frame instead of Window.
(window_id): New member variable to store the native window handle.
(create): Removed.
(EmbeddedWindow): New constructor.
(addNotify): New method.
(getHandler): Likewise.
(setWindowPeer): New native method.
* gnu/java/awt/EmbeddedWindowSupport.java
(EmbeddedWindowSupport): Fixed documentation.
(createEmbeddedWindow): Return EmbeddedWindowPeer instead of
WindowPeer, give it an EmbeddedWindow instance instead of the raw
window data.
* gnu/java/awt/natEmbeddedWindow.cc
(create): Removed.
(setWindowPeer): New method.
* gnu/java/awt/peer/EmbeddedWindowPeer.java,
gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
New files
* gnu/java/awt/peer/gtk/GtkToolkit.java
(GtkToolkit): Implements EmbeddedWindowSupport.
(createEmbeddedWindow): New method.
* java/awt/Window.java
(Window): Removed.
* Makefile.am
(java_source_files): Added EmbeddedWindowPeer.java.
(gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
(gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
* Makefile.in: Regenerated.
Co-Authored-By: Michael Koch <konqueror@gmx.de>
From-SVN: r69859
2003-07-27 19:04:42 +00:00
Ranjit Mathew
cc33095ccf
Win32Process.java (ConcreteProcess): Surround a command line element with quotes if it contains an embedded space or tab.
...
2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
* java/lang/Win32Process.java (ConcreteProcess): Surround
a command line element with quotes if it contains an
embedded space or tab.
* java/lang/natWin32Process.cc (startProcess): Do not
surround command line elements with quotes here.
From-SVN: r69844
2003-07-27 04:13:03 +00:00
Ranjit Mathew
6eb085352b
configure.host: Use -fcheck-references and -fuse-divide-subroutine for MinGW until we fix...
...
2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
* configure.host: Use -fcheck-references and
-fuse-divide-subroutine for MinGW until we fix
win32_exception_handler( ) in win32.cc w.r.t. Win32
Structured Exception Handling (SEH).
From-SVN: r69843
2003-07-27 04:11:55 +00:00
Ranjit Mathew
14a5a676c1
win32.cc (_Jv_platform_initProperties): Use generic names like "x86" for the "os.arch" property to be consistent with...
...
2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
* win32.cc (_Jv_platform_initProperties): Use generic names
like "x86" for the "os.arch" property to be consistent with
what Sun's JDK produces. Use the wProcessorArchitecture
member of the Win32 SYSTEM_INFO structure, filled in a call
to GetSystemInfo( ), instead of dwProcessorType.
From-SVN: r69837
2003-07-26 23:17:06 +00:00
Mohan Embar
d6f6aaf66c
Makefile.am: Use cross-compiling gcjh from the path for a crossed-native build.
...
2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
Ranjit Mathew <rmathew@hotmail.com>
* Makefile.am: Use cross-compiling gcjh from the path for
a crossed-native build.
* Makefile.in: Rebuilt.
* configure.in: Include libltdl in non-newlib builds.
Moved determination of gcj used to build libraries to
its own section. Fixed cross-compilation issues for
non-newlib builds.
* configure: Rebuilt.
Co-Authored-By: Ranjit Mathew <rmathew@hotmail.com>
From-SVN: r69836
2003-07-26 22:56:15 +00:00
Tom Tromey
49f60a1a01
natFileDescriptorPosix.cc (write): Try again on EINTR.
...
* java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
(write): Likewise.
(read): Likewise.
(read): Likewise.
From-SVN: r69807
2003-07-26 00:40:50 +00:00
Mark Wielaard
337ecadfd0
+ * java/lang/natRuntime.cc (_load): Add library name to
...
+ UnsatisfiedLinkError when thrown.
From-SVN: r69786
2003-07-25 13:04:15 +00:00
Mark Wielaard
ec8a1dd5a8
[multiple changes]
...
2003-07-25 Mark Wielaard <mark@klomp.org>
* Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
added.
* Makefile.in: Likewise.
2003-07-25 Jeroen Frijters <jeroen@frijters.net>
* java/awt/Component.java
(getPreferredSize): Call preferredSize.
(preferredSize): Moved body of getPreferredSize here.
(getMinimumSize): Call minimumSize.
(minimumSize): Moved body of getMinimumSize here.
(prepareImage): Fall back on Toolkit.prepareImage if there is no peer
(checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
pass -1
* java/awt/Container.java
(validate): Don't validate if there is no peer.
(update): Clear background before calling paint.
* java/awt/GridBagLayout.java
Completed the implementation and fixed several bugs.
* java/awt/MediaTracker.java
(MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
combine flags.
* java/awt/Window.java
(Window): Don't call setVisible(false). Windows are invisible by
default and calling virtual methods from constructor causes
compatibility problems (e.g. subclasses may assume that the peer
already exists).
2003-07-25 Michael Koch <konqueror@gmx.de>
* java/awt/GridBagLayout.java:
Totally reworked and partly implemented.
* java/awt/GridBagLayoutInfo.java:
New file.
From-SVN: r69785
2003-07-25 12:50:44 +00:00
Thomas Fitzsimmons
dbe4baf569
gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Don't pack label in an event box.
...
2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
Don't pack label in an event box.
From-SVN: r69754
2003-07-24 18:27:46 +00:00
Tom Tromey
b6d2b0f7f5
For PR libgcj/7482:
...
* verify.cc (ref_intersection): New class.
(type_val): Removed unresolved_reference_type,
uninitialized_unresolved_reference_type.
(is_assignable_from_slow): Rewrote.
(type::data): Removed.
(type::klass): New field.
(type::type): Added verifier argument.
(type::resolve): Removed.
(type::set_uninitialized): Updated for change to type_val.
(type::set_initialized): Likewise.
(type::isinitialized): Likewise.
(type::print): Likewise.
(construct_primitive_array_type): Likewise.
(type::compatible): Updated for change to type_val and to use
ref_intersection.
(type::isarray): Updated to use ref_intersection.
(type::isinterface): Likewise.
(type::element_type): Likewise.
(type::to_array): Likewise.
(type::verify_dimensions): Rewrote.
(type::merge): Likewise.
(check_class_constant): Updated for type constructor change.
(check_constant): Likewise.
(check_field_constant): Likewise.
(get_one_type): Likewise.
(initialize_stack): Likewise.
(verify_instructions_0): Likewise.
(verify_instructions_0) [op_invokeinterface]: Removed special
case.
(isect_list): New field.
(_Jv_BytecodeVerifier): Initialize it.
(~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
From-SVN: r69751
2003-07-24 17:18:00 +00:00
Tom Tromey
1c41b3d6cf
For PR libgcj/7482:
...
* libjava.lang/PR7482.java: New file.
* libjava.lang/PR7482.out: New file.
From-SVN: r69750
2003-07-24 17:17:24 +00:00
H. Väisänen
bb477ffa48
SimpleDateFormat.java (format): Zero pad unless field size is 2.
...
2003-07-24 H. V�is�nen <hvaisane@joyx.joensuu.fi>
* java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
unless field size is 2.
From-SVN: r69744
2003-07-24 15:43:04 +00:00
Thomas Fitzsimmons
434566e7e2
* gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
...
(connectHooks): New method.
(handleEvent): Remove.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
(createHooks): Remove declaration.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(generates_key_typed_event): Change to handle only certain
keyvals.
(awt_event_handler): Add special handling for GtkTextView.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
(textcomponent_commit_cb): New function.
(textcomponent_changed_cb): Likewise.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
(connectHooks): Remove.
From-SVN: r69728
2003-07-23 22:26:35 +00:00
Tom Tromey
ed6d741317
* java/lang/natSystem.cc (arraycopy): Check for overflow.
...
From-SVN: r69706
2003-07-23 15:31:43 +00:00
Tom Tromey
20da8c21f3
* boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
...
From-SVN: r69703
2003-07-23 15:08:07 +00:00
Tom Tromey
e1a4d10fc0
boehm.cc (_Jv_BuildGCDescr): Wrote.
...
* boehm.cc (_Jv_BuildGCDescr): Wrote.
Include limits.h.
From-SVN: r69700
2003-07-23 09:53:53 +00:00
Tom Tromey
5c798f921a
Window.java (getWarningString): Just return the string.
...
* java/awt/Window.java (getWarningString): Just return the
string.
(Window): Set warningString; check with security manager.
From-SVN: r69699
2003-07-23 09:53:34 +00:00
Scott Gilbertson
e81f8786c2
2003-07-22 Scott Gilbertson <scottg@mantatest.com>
...
* gnu/awt/xlib/XGraphicsConfiguration.java
(FontMetricsCache): Made static.
From-SVN: r69685
2003-07-22 19:44:10 +00:00
Tom Tromey
c39603389e
URLEncoder.java (encode(String)): Use platform default encoding.
...
* java/net/URLEncoder.java (encode(String)): Use platform default
encoding.
(encode(String,String)): Convert to 2-digit upper-case hex
number.
(hex): New field.
From-SVN: r69678
2003-07-22 18:03:47 +00:00
Thomas Fitzsimmons
9ef2dd1fad
2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(create): Remove unused method implementation.
(connectHooks): Remove debug messages.
From-SVN: r69634
2003-07-21 15:35:38 +00:00
Anthony Green
49e58846cf
AbstractGraphicsState.java (clone): Handle CloneNotSupportedException.
...
2003-07-20 Anthony Green <green@redhat.com>
* gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
CloneNotSupportedException.
* gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
* gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
* gnu/gcj/xlib/GC.java (clone): Ditto.
* gnu/awt/xlib/XGraphics.java (clone): Ditto.
* gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
* gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
handler.
* gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
From-SVN: r69623
2003-07-21 02:24:09 +00:00
Steve Pribyl
8ec880749f
natSharedLibLoader.cc (init): `libname' now a String.
...
2003-07-20 Steve Pribyl <steve@netfuel.com.>
* gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
String. Put dlerror() message into exception.
Include UnsatisfiedLinkError.
* gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
String. Now native.
From-SVN: r69622
2003-07-21 02:09:47 +00:00
Tom Tromey
ffd94572f4
Runtime.java: Comment fix.
...
* java/lang/Runtime.java: Comment fix.
* java/lang/ClassLoader.java (isAncestorOf): New method.
(getParent): Uncommented security check. Use isAncestorOf.
* include/jvm.h (_Jv_CheckAccess): Declare.
* java/lang/reflect/natConstructor.cc (newInstance): Perform
access check.
Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
* java/lang/reflect/natArray.cc (newInstance): Pass caller's
class loader to _Jv_GetArrayClass.
Include ArrayIndexOutOfBoundsException.h.
* java/lang/reflect/Field.java: Update comment to reflect status.
(equals): Fixed indentation.
* java/lang/Class.h (Class): Declare memberAccessCheck, not
checkMemberAccess. Make _Jv_CheckAccess a friend.
* java/lang/Class.java (memberAccessCheck): New method from
Classpath.
(checkMemberAccess): Removed.
(getDeclaredMethod): Use memberAccessCheck.
(getField): Likewise.
(getMethod): Likewise.
* resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
(_Jv_SearchMethodInClass): Likewise.
* prims.cc (_Jv_CheckAccess): New function.
* jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
(_Jv_JNI_GetAnyFieldID): Likewise.
* java/lang/natClass.cc (forName): Use getClassLoaderInternal.
(getClassLoader): Added security check.
(getConstructor): Call memberAccessCheck.
(getDeclaredClasses): Likewise.
(getDeclaredField): Likewise.
(getDeclaredFields): Likewise.
(_getConstructors): Likewise.
(getDeclaredConstructor): Likewise.
(getDeclaredMethods): Likewise.
(getFields): Likewise.
(getMethods): Likewise.
(newInstance): Likewise.
(_Jv_MakeVTable): Put method name in exception.
* java/lang/reflect/natMethod.cc (getType): Use
getClassLoaderInternal.
(_Jv_GetTypesFromSignature): Likewise.
(invoke): Perform access check.
(_Jv_CallAnyMethodA): Removed old FIXME comments.
Include ArrayIndexOutOfBoundsException.h.
* java/lang/reflect/natField.cc (getType): Use
getClassLoaderInternal.
(_Jv_CheckFieldAccessibility): Removed.
(getAddr): Use _Jv_CheckAccess; find caller.
Include ArrayIndexOutOfBoundsException.h.
From-SVN: r69621
2003-07-21 01:54:06 +00:00
Tom Tromey
3c87bc22a9
mauve.exp (mauve_find_harness_files): New proc.
...
* libjava.mauve/mauve.exp (mauve_find_harness_files): New proc.
(test_mauve): Use it.
(test_mauve_sim): Likewise.
From-SVN: r69620
2003-07-21 01:09:47 +00:00
Michael Koch
13cb8e55dd
2003-07-20 Michael Koch <konqueror@gmx.de>
...
* java/net/URL.java
(URL): Fixed documentation to name an argument correcty, Reformatted
one method declaration.
(getURLStreamHandler): Added documentation from classpath.
From-SVN: r69606
2003-07-20 07:30:59 +00:00
Tom Tromey
1b339d862a
* mauve-libgcj: Don't run CollationElementIterator tests.
...
From-SVN: r69596
2003-07-19 22:19:56 +00:00
Jeroen Frijters
35a6c8736a
URLClassLoader.java (addURL): Moved implementation to private addURLImpl() to avoid calling addURL from the...
...
2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
* java/net/URLClassLoader.java (addURL): Moved implementation to
private addURLImpl() to avoid calling addURL from the constructor.
(addURLImpl): Contains the code that was previously in addURL.
(addURLs): Call addURLImpl(), not addURL().
From-SVN: r69591
2003-07-19 15:47:56 +00:00
Tom Tromey
01482e6ded
verify.exp (gcj_verify_list_tests): Only change directory if new directory exists.
...
* libjava.verify/verify.exp (gcj_verify_list_tests): Only change
directory if new directory exists.
From-SVN: r69590
2003-07-19 15:43:20 +00:00
Graydon Hoare
cecc892aea
gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Handle missing event cases, connect to "value-changed" signal.
...
2003-07-18 Graydon Hoare <graydon@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
Handle missing event cases, connect to "value-changed" signal.
From-SVN: r69568
2003-07-18 19:27:42 +00:00
Graydon Hoare
9e508cc470
[ ChangeLog ]
...
2003-07-18 Graydon Hoare <graydon@redhat.com>
* java/awt/geom/CubicCurve2D.java,
java/awt/geom/Line2D.java,
java/awt/geom/QuadCurve2D.java,
java/awt/geom/Rectangle2D.java:
Fix path some calculations, make path iterators follow
a consistent style.
From-SVN: r69567
2003-07-18 19:20:33 +00:00
Mark Wielaard
c26052b06b
Handler.java (isLoggable): Check record level smaller or equal.
...
2003-07-18 Mark Wielaard <mark@klomp.org>
* java/util/logging/Handler.java (isLoggable): Check record level
smaller or equal.
From-SVN: r69563
2003-07-18 16:08:38 +00:00
Michael Koch
3aefaf2203
GtkToolkit.java: Reworked imports.
...
2003-07-17 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/peer/gtk/GtkToolkit.java:
Reworked imports.
From-SVN: r69522
2003-07-17 20:26:51 +00:00
Michael Koch
3a009999ba
UnicastServerRef.java: New version from classpath.
...
2003-07-14 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/server/UnicastServerRef.java:
New version from classpath.
From-SVN: r69322
2003-07-14 06:05:42 +00:00
Michael Koch
6a71677713
MemoryImageSource.java, [...]: New versions from classpath.
...
2003-07-14 Michael Koch <konqueror@gmx.de>
* java/awt/image/MemoryImageSource.java,
java/beans/PropertyEditorManager.java,
javax/naming/CompoundName.java,
javax/naming/spi/NamingManager.java,
javax/swing/AbstractButton.java,
javax/swing/ButtonModel.java,
javax/swing/SwingUtilities.java,
javax/swing/UIManager.java,
javax/swing/colorchooser/DefaultColorSelectionModel.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/InternalFrameEvent.java,
java/util/zip/ZipFile.java:
New versions from classpath.
From-SVN: r69321
2003-07-14 05:33:30 +00:00
Tom Tromey
ac65af9d6e
* libjava.verify/verify.exp: Fixed variable init.
...
From-SVN: r69309
2003-07-13 23:33:02 +00:00
Michael Koch
ae26c8e25f
FileChannelImpl.java, [...]: Removed.
...
2003-07-13 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java,
gnu/java/nio/natFileChannelImpl.cc: Removed.
* java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/RandomAccessFile.java,
java/nio/MappedByteBufferImpl.java:
Import java.nio.channels.FileChannelImpl instead of
gnu.java.nio.FileChannelImpl.
* java/nio/channels/FileChannelImpl.java,
java/nio/channels/natFileChannelImpl.cc:
New files.
* Makefile.am
(ordinary_java_source_files):
Removed gnu/java/nio/FileChannelImpl.java and added
java/nio/channels/FileChannelImpl.java.
(nat source_files):
Removed gnu/java/nio/natFileChannelImpl.cc and added
java/nio/channels/natFileChannelImpl.cc.
* Makefile.in: Regenerated.
From-SVN: r69296
2003-07-13 16:53:05 +00:00
Michael Koch
65278df216
BasicBorders.java, [...]: New versions from classpath.
...
2003-07-13 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicBorders.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/basic/BasicLookAndFeel.java,
javax/swing/plaf/basic/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/metal/MetalLookAndFeel.java:
New versions from classpath.
From-SVN: r69292
2003-07-13 15:29:11 +00:00
Michael Koch
5245ad0cf7
2003-07-13 Michael Koch <konqueror@gmx.de>
...
* gnu/java/awt/peer/gtk/GdkFontMetrics.java
* gnu/java/awt/peer/gtk/GdkGraphics.java
* gnu/java/awt/peer/gtk/GtkButtonPeer.java
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
* gnu/java/awt/peer/gtk/GtkClipboard.java
* gnu/java/awt/peer/gtk/GtkDialogPeer.java
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
* gnu/java/awt/peer/gtk/GtkFramePeer.java
* gnu/java/awt/peer/gtk/GtkGenericPeer.java
* gnu/java/awt/peer/gtk/GtkImage.java
* gnu/java/awt/peer/gtk/GtkImagePainter.java
* gnu/java/awt/peer/gtk/GtkLabelPeer.java
* gnu/java/awt/peer/gtk/GtkListPeer.java
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
* gnu/java/awt/peer/gtk/GtkMenuPeer.java
* gnu/java/awt/peer/gtk/GtkOffScreenImage.java
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
* gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
* gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
* gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
From-SVN: r69290
2003-07-13 15:09:20 +00:00
Michael Koch
c035ecda4d
2003-07-13 Michael Koch <konqueror@gmx.de>
...
* gnu/java/locale/LocaleInformation_de.java
* gnu/java/locale/LocaleInformation_en.java
* gnu/java/locale/LocaleInformation_nl.java
From-SVN: r69289
2003-07-13 15:00:20 +00:00
Michael Koch
754a9012a4
EmbeddedWindow.java, [...]: New files.
...
2003-07-13 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/EmbeddedWindow.java,
gnu/java/awt/EmbeddedWindowSupport.java,
gnu/java/awt/natEmbeddedWindow.cc:
New files.
* java/awt/Window.java
(Window): New constructor to support embedded windows.
* Makefile.am
(awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
gnu/java/awt/EmbeddedWindowSupport.java.
(nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
* Makefile.in: Regenerated.
From-SVN: r69288
2003-07-13 14:39:41 +00:00
Tom Tromey
783b7a595b
verify.exp: New file.
...
* libjava.verify/verify.exp: New file.
* libjava.verify/README.verify: New file.
From-SVN: r69253
2003-07-11 22:23:13 +00:00
Matt Kraai
d3276d3574
SharedLibLoader.java: Fix misspelling.
...
2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
* gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
* gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
* java/awt/im/InputContext.java: Remove a redundant
partial line.
From-SVN: r69238
2003-07-11 18:27:54 +00:00
Michael Koch
f9d232c3cb
libgcj.pc.in: New file.
...
2003-07-09 Michael Koch <konqueror@gmx.de>
* libgcj.pc.in: New file.
* Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
* Makefile.in: Regenerated.
* configure: Regenrated.
* configure.in: Create libgcj.pc from libgcj.pc.in.
From-SVN: r69175
2003-07-10 05:19:06 +00:00
Jeff Sturm
cd61dacbc8
SyncTest.java (run): Cache .class value.
...
2003-07-09 Jeff Sturm <jsturm@one-point.com>
* libjava.lang/SyncTest.java (run): Cache .class value.
From-SVN: r69153
2003-07-09 21:07:42 +00:00
Tom Tromey
4a2e29161f
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
From-SVN: r69152
2003-07-09 21:03:31 +00:00
Mark Wielaard
9ef68029df
ObjectOutputStream.java (writeObject): break after calling writeClassDescriptor().
...
* java/io/ObjectOutputStream.java (writeObject): break after
calling writeClassDescriptor().
From-SVN: r69135
2003-07-09 10:52:26 +00:00
Mark Mitchell
d17811fd1a
fold-const.c (make_range): Do not access operand 1 for a zero-operand operator.
...
* fold-const.c (make_range): Do not access operand 1 for a
zero-operand operator.
2003-07-08 Mark Mitchell <mark@codesourcery.com>
* cp-tree.def (NON_DEPENDENT_EXPR): New node.
* cp-tree.h (build_call_from_tree): Remove.
(build_member_call): Likewise.
(dependent_template_arg_p): Remove.
(any_dependent_template_arguments_p): New function.
(dependent_template_id_p): Likewise.
(any_type_dependent_arguments_p): Likewise.
(build_non_dependent_expr): Likewise.
(build_non_dependent_args): Likewise.
(build_x_compound_expr): Adjust prototype.
* call.c (build_new_method_call): Handle non-dependent expressions
correctly.
* decl2.c (grok_array_decl): Likewise.
(build_offset_ref_call_from_tree): Likewise.
(build_call_from_tree): Remove.
* error.c (dump_decl): Handle NON_DEPENDENT_EXPR.
(dump_expr): Likewise.
* init.c (build_member_call): Remove.
* mangle.c (write_expression): Update handling for template-ids.
* parser.c (cp_parser_primary_expression): Use
any_dependent_template_arguments_p. Update constant-expression
handling.
(cp_parser_postfix_expression): Use
any_type_dependent_arguments_p. Simplify call processing.
(cp_parser_unary_expression): Simplify.
(cp_parser_expression): Adjust for changes to
build_x_compound_expr.
(cp_parser_template_argument): Implement standard-conforming
parsing of non-type template arguments.
(cp_parser_direct_declarator): Use
cp_parser_fold_non_dependent_expr.
(cp_parser_fold_non_dependent_expr): New function.
(cp_parser_next_token_ends_template_argument_p): Likewise.
* pt.c (convert_template_argument): Do not call
maybe_fold_nontype_arg.
(tsubst_baselink): Likewise.
(tsubst_copy_and_build): Share common code. Make sizeof/alignof
processing work correctly for non-dependent expressions. Adjust
handling of COMPOUND_EXPR. Simplify call processing.
(value_dependent_expression_p): Deal with functional casts and
sizeof/alignof correctly.
(type_dependent_expression_p): Handle overloaded functions.
(any_type_dependent_arguments_p): New function.
(any_dependent_template_arguments_p): Likewise.
(dependent_template_p): Treat SCOPE_REFs as dependent.
(dependent_template_id_p): Simplify.
(build_non_dependent_expr): New function.
(build_non_dependent_args): Likewise.
* semantics.c (finish_stmt_expr): Don't make dependent
statement-expresions have void type.
(finish_call_expr): Handle non-dependent expressions
correctly.
* tree.c (lvalue_p_1): Treat NON_DEPENDENT_EXPRs as lvalues.
* typeck.c (cxx_sizeof_or_alignof_type): Give the expression
type size_t, even in templates.
(expr_sizeof): Likewise.
(finish_class_member_access_expr): Handle non-dependent expressions
correctly.
(build_x_indirect_ref): Likewise.
(build_x_binary_op): Likewise.
(build_x_unary_op): Likewise.
(build_x_conditional_expr): Likewise.
(build_x_compound_expr): Likewise.
* typeck2.c (build_x_arrow): Likewise.
2003-07-08 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/mangle17.C: Make sure template expressions are
dependent.
* g++.dg/abi/mangle4.C: Mark erroneous casts.
* g++.dg/debug/debug7.C: Mark erronous new-declarator.
* g++.dg/opt/stack1.C: Remove erroneous code.
* g++.dg/parse/template7.C: New test.
* g++.dg/template/dependent-expr1.C: Mark erroneous code.
* g++.old-deja/g++.pt/crash4.C: Likewise.
2003-07-09 Mark Mitchell <mark@codesourcery.com>
* gcj/array.h (JvPrimClass): Don't parenthesize the output.
From-SVN: r69130
2003-07-09 08:48:08 +00:00
Michael Koch
844c00ed16
GtkComponentPeer.java, [...]: Explicitly import used classes.
...
2003-07-09 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
gnu/java/awt/peer/gtk/GtkContainerPeer.java,
gnu/java/awt/peer/gtk/GtkDialogPeer.java,
gnu/java/awt/peer/gtk/GtkWindowPeer.java:
Explicitly import used classes.
* java/awt/Container.java: New version from classpath.
From-SVN: r69129
2003-07-09 07:50:01 +00:00
Michael Koch
7fbbd1223b
2003-07-09 Michael Koch <konqueror@gmx.de>
...
* libgcj.pc.in
* Makefile.am
* Makefile.in
* configure
* configure.in
From-SVN: r69128
2003-07-09 07:11:13 +00:00
Mark Wielaard
5be0088e45
cni.h: CNI now expands to Compiled Native Interface.
...
* gcj/cni.h: CNI now expands to Compiled Native Interface.
* java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
* java/lang/fdlibm.h: Likewise.
From-SVN: r69104
2003-07-08 21:27:37 +00:00
Adam Megacz
690e3ffd33
posix.cc: added #include<stdio.h>
...
2003-07-07 Adam Megacz <adam@xwt.org>
* posix.cc: added #include<stdio.h>
From-SVN: r69066
2003-07-08 04:49:16 +00:00
Thomas Fitzsimmons
aeb3535dfb
gnu_java_awt_peer_gtk_GtkMainThread.c: Fix formatting.
...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
formatting.
From-SVN: r69056
2003-07-07 21:50:47 +00:00
Thomas Fitzsimmons
b6fa901bc9
* gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
...
(setCaretPosition, setEditable): Rely entirely on native
implementation.
(getArgs): Remove.
(postTextEvent): New method.
(handleEvent): New method.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
method.
* java/awt/event/ActionEvent.java (paramString): Fix formatting.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(keysym_to_awt_keycode): Fix range checks.
(generates_key_typed_event): New function.
(awt_event_handler): Post AWT_KEY_RELEASED events to event
queue.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
(gtkInit): Store TextComponent's postTextEvent method ID.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
(setText): Post TEXT_VALUE_CHANGED event to event queue.
From-SVN: r69054
2003-07-07 19:56:04 +00:00
Rainer Orth
6b3517eaf5
configure.in: Check for usleep declaration.
...
* configure.in: Check for usleep declaration.
* acconfig.h (HAVE_USLEEP_DECL): Provide template.
* configure: Regenerate.
* include/config.h.in: Likewise.
* include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
From-SVN: r69041
2003-07-07 14:11:09 +00:00
Michael Koch
3d8daef2cd
2003-07-01 Michael Koch <konqueror@gmx.de>
...
* gnu/gcj/convert/natIconv.cc
(iconv_init): Fixed possible memory leak by releasing allocated iconv
handle.
From-SVN: r68774
2003-07-01 14:42:38 +00:00
Thomas Fitzsimmons
29e531ff29
glib-2.0.m4: New file.
...
* glib-2.0.m4: New file.
* gtk-2.0.m4: New file.
* glib.m4: Remove.
* gtk.m4: Remove.
* configure.in: Update AM_PATH_GTK macro call to
AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
jni/gtk-peer/gthread-jni.c,
jni/gtk-peer/gthread-jni.h:
New versions from classpath.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
From-SVN: r68746
2003-06-30 23:53:29 +00:00
Gary Benson
27758dc09f
For PR libgcj/11349:
...
2003-06-30 Gary Benson <gbenson@redhat.com>
For PR libgcj/11349:
* javax/naming/spi/NamingManager.java (getURLContext): Use
From-SVN: r68730
2003-06-30 19:15:56 +00:00
Michael Koch
1af3e06bee
2003-06-28 Michael Koch <konqueror@gmx.de>
...
* java/io/PrintStream.java
(checkError): Call flush() instead of direct flushing of the Writer
object.
(print): Call print(String) instead of direct print method of the
Writer Object.
(println): Call println(String) instead of direct println method of the
Writer Object.
(write): Simplified.
From-SVN: r68632
2003-06-28 08:27:29 +00:00
Michael Koch
c5b49e898e
2003-06-28 Michael Koch <konqueror@gmx.de>
...
* java/net/ServerSocket.java
(setChannel): New method.
* java/net/Socket.java
(setChannel): New method.
From-SVN: r68631
2003-06-28 08:13:24 +00:00
Michael Koch
5bbd6c3ee0
BeanContextSupport.java: New version from classpath.
...
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/beans/beancontext/BeanContextSupport.java:
New version from classpath.
From-SVN: r68606
2003-06-27 21:00:16 +00:00
Michael Koch
2f161fa8c1
Window.java, [...]: New versions from classpath.
...
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/awt/Window.java,
java/awt/font/GraphicAttribute.java,
java/awt/font/ImageGraphicAttribute.java,
java/awt/image/DataBufferByte.java,
java/awt/image/DataBufferInt.java,
java/awt/image/DataBufferUShort.java,
java/awt/image/DirectColorModel.java,
java/awt/image/PixelGrabber.java:
New versions from classpath.
From-SVN: r68605
2003-06-27 20:53:01 +00:00
Michael Koch
560d4c592f
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/security/Certificate.java
(getGuarantor): Removed wrong @deprecated tag.
(getPrincipal): Likewise.
(getPublicKey): Likewise.
(encode): Likewise.
(decode): Likewise.
(getFormat): Likewise.
(toString): Likewise.
* java/security/cert/PolicyQualifierInfo.java
(PolicyQualifierInfo): Made final.
* javax/security/auth/x500/X500Principal.java
(serialVersionUID): New member variable.
From-SVN: r68579
2003-06-27 16:11:27 +00:00
Michael Koch
24ce2fe6cd
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/rmi/server/SkeletonNotFoundException.java
(SkeletonNotFoundException): Removed wrong @deprecated tag.
* java/rmi/server/UnicastRemoteObject.java
(exportObject): Made package-private.
From-SVN: r68577
2003-06-27 15:58:42 +00:00
Michael Koch
7e6ec0d8cc
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/text/Format.java
(serialVersionUID): Fixed value.
From-SVN: r68576
2003-06-27 15:49:36 +00:00
Michael Koch
6ced3f39f6
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/net/Inet4Address.java
(Inet4Address): Made package-private.
* java/net/Inet6Address.java
(Inet4Address): Made package-private.
From-SVN: r68575
2003-06-27 15:48:15 +00:00
Michael Koch
824d4a1036
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/io/RandomAccessFile.java
(readLine): Removed wrong @deprecated tag.
(getChannel): Made final.
From-SVN: r68574
2003-06-27 15:46:59 +00:00
Michael Koch
c938cb682b
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/FileChannelImpl.java
(write): Removed.
From-SVN: r68572
2003-06-27 13:41:25 +00:00
Michael Koch
1226b900dc
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/nio/ByteBufferImpl.java
(ByteBufferImpl): Made it a package-private class
* java/nio/CharBufferImpl.java
(CharBufferImpl): Made it a package-private class
* java/nio/DirectByteBufferImpl.java
(DirectByteBufferImpl): Made it a package-private class
* java/nio/DoubleBufferImpl.java
(DoubleBufferImpl): Made it a package-private class
* java/nio/FloatBufferImpl.java
(FloatBufferImpl): Made it a package-private class
* java/nio/IntBufferImpl.java
(IntBufferImpl): Made it a package-private class
* java/nio/LongBufferImpl.java
(LongBufferImpl): Made it a package-private class
* java/nio/ShortBufferImpl.java
(ShortBufferImpl): Made it a package-private class
* java/nio/channels/FileChannel.java
(write): Made final.
* java/nio/channels/ServerSocketChannel.java
(ServerSocketChanne): Made protected.
From-SVN: r68571
2003-06-27 13:34:12 +00:00
Michael Koch
7fc600fc4c
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* javax/naming/CompositeName.java
(serialVersionUID): New member variable.
* javax/naming/CompoundName.java
(serialVersionUID): New member variable.
* javax/naming/InitialContext.java
(InitialContext): Throws NamingException.
(init): Likewise.
* javax/naming/LinkRef.java
(serialVersionUID): New member variable.
(gteLinkName): Throws NamingException.
* javax/naming/NamingException.java
(serialVersionUID): New member variable.
* javax/naming/NamingSecurityException.java
(NamingSecurityException): Made abstract.
(serialVersionUID): New member variable.
* javax/naming/ReferralException.java
(serialVersionUID): New member variable.
* javax/naming/StringRefAddr.java
(serialVersionUID): New member variable.
* javax/naming/directory/BasicAttribute.java:
Reworked imports.
(serialVersionUID): New member variable.
(get): Throws NamingException.
(getAll): Throws NamingException.
* javax/naming/directory/BasicAttributes.java:
Reworked imports.
(serialVersionUID): New member variable.
* javax/naming/ldap/UnsolicitedNotificationEvent.java
(serialVersionUID): New member variable.
From-SVN: r68570
2003-06-27 13:06:50 +00:00
Michael Koch
3556d877f8
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* Makefile.am
(awt_java_source_files): Added new files:
javax/swing/Popup.java,
javax/swing/PopupFactory.java
* Makefile.in: Regenerated.
From-SVN: r68569
2003-06-27 12:48:39 +00:00
Michael Koch
1c9d1c5bb9
JWindow.java, [...]: New versions from classpath.
...
2003-06-27 Michael Koch <konqueror@gmx.de>
* javax/swing/JWindow.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/TableModelEvent.java,
javax/swing/plaf/PopupMenuUI.java,
javax/swing/plaf/SplitPaneUI.java,
javax/swing/plaf/TabbedPaneUI.java,
javax/swing/plaf/TextUI.java,
javax/swing/plaf/TreeUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/basic/BasicTreeUI.java:
New versions from classpath.
* javax/swing/Popup.java,
javax/swing/PopupFactory.jav:
New source files from classpath.
* javax/swing/plaf/doc-files/TreeUI-1.png:
New binary files from classpath.
From-SVN: r68568
2003-06-27 12:41:52 +00:00
Michael Koch
534e254b61
2003-06-25 Michael Koch <konqueror@gmx.de>
...
* Makefile.am
(awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
* Makefile.in: Regenerated.
From-SVN: r68477
2003-06-25 12:41:56 +00:00
Michael Koch
55060f0e77
ActionMapUIResource.java, [...]: New versions from classpath.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/ActionMapUIResource.java,
javax/swing/plaf/BorderUIResource.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/ComponentUI.java,
javax/swing/plaf/DesktopIconUI.java,
javax/swing/plaf/DesktopPaneUI.java,
javax/swing/plaf/DimensionUIResource.java,
javax/swing/plaf/FileChooserUI.java,
javax/swing/plaf/FontUIResource.java,
javax/swing/plaf/IconUIResource.java,
javax/swing/plaf/InputMapUIResource.java,
javax/swing/plaf/InsetsUIResource.java,
javax/swing/plaf/InternalFrameUI.java,
javax/swing/plaf/LabelUI.java,
javax/swing/plaf/ListUI.java,
javax/swing/plaf/MenuBarUI.java,
javax/swing/plaf/MenuItemUI.java,
javax/swing/plaf/OptionPaneUI.java,
javax/swing/plaf/PanelUI.java,
javax/swing/plaf/ProgressBarUI.java,
javax/swing/plaf/RootPaneUI.java,
javax/swing/plaf/ScrollBarUI.java,
javax/swing/plaf/ScrollPaneUI.java,
javax/swing/plaf/SeparatorUI.java,
javax/swing/plaf/SliderUI.java,
javax/swing/plaf/TableHeaderUI.java,
javax/swing/plaf/TableUI.java,
javax/swing/plaf/ToolBarUI.java,
javax/swing/plaf/ToolTipUI.java,
javax/swing/plaf/ViewportUI.java:
New versions from classpath.
* javax/swing/plaf/SpinnerUI.java:
New file from classpath
From-SVN: r68476
2003-06-25 12:39:15 +00:00
Michael Koch
7099616c53
ColorModel.java: New version from classpath.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* java/awt/image/ColorModel.java:
New version from classpath.
From-SVN: r68474
2003-06-25 11:23:33 +00:00
Michael Koch
d0e029d8ae
PlainDatagramSocketImpl.java: Partly merged with classpath, this mainly adds documentation.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* java/net/PlainDatagramSocketImpl.java:
Partly merged with classpath, this mainly adds documentation.
From-SVN: r68468
2003-06-25 07:00:34 +00:00
Michael Koch
3cc9a95d27
2003-06-25 Michael Koch <konqueror@gmx.de>
...
* java/io/ObjectInputStream.java
(readClassDescriptor): New method.
(readObject): Moved functionality to readClassDescriptor().
* java/io/ObjectOutputStream.java
(writeClassDescriptor): New method.
(writeObject): Moved functionality to writeClassDescriptor().
From-SVN: r68465
2003-06-25 06:31:59 +00:00
Michael Koch
a7c0a4422b
BasicListUI.java, [...]: Added missing methods.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicListUI.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
Added missing methods.
From-SVN: r68456
2003-06-25 04:34:20 +00:00
Michael Koch
b990116248
AncestorEvent.java [...]: Compile fixes.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* javax/swing/event/AncestorEvent.java
javax/swing/event/HyperlinkEvent.java
javax/swing/event/InternalFrameEvent.java
javax/swing/event/ListDataEvent.java
javax/swing/event/TableModelEvent.java:
Compile fixes.
From-SVN: r68455
2003-06-25 04:16:18 +00:00
Michael Koch
cb64c638f0
URL.java: Renamed "handler" to "ph" in the whole file to match classpaths version.
...
2003-06-24 Michael Koch <konqueror@gmx.de>
* java/net/URL.java:
Renamed "handler" to "ph" in the whole file to match classpaths
version.
* java/net/URLStreamHandler.java:
(equals): Renamed "handler" to "ph".
From-SVN: r68439
2003-06-24 20:22:48 +00:00
Michael Koch
bbe53f03c8
AncestorEvent.java, [...]: New versions from classpath.
...
2003-06-24 Michael Koch <konqueror@gmx.de>
* javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/TableModelEvent.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/plaf/ComponentUI.java,
javax/swing/plaf/DesktopIconUI.java,
javax/swing/plaf/DesktopPaneUI.java,
javax/swing/plaf/DimensionUIResource.java,
javax/swing/plaf/FileChooserUI.java,
javax/swing/plaf/FontUIResource.java,
javax/swing/plaf/IconUIResource.java,
javax/swing/plaf/InputMapUIResource.java,
javax/swing/plaf/InsetsUIResource.java,
javax/swing/plaf/InternalFrameUI.java,
javax/swing/plaf/LabelUI.java,
javax/swing/plaf/ListUI.java,
javax/swing/plaf/MenuBarUI.java,
javax/swing/plaf/MenuItemUI.java,
javax/swing/plaf/OptionPaneUI.java,
javax/swing/plaf/PanelUI.java,
javax/swing/plaf/ProgressBarUI.java,
javax/swing/plaf/doc-files/ComponentUI-1.dia,
javax/swing/plaf/doc-files/ComponentUI-1.png:
New versions from classpath.
From-SVN: r68438
2003-06-24 20:17:27 +00:00
Michael Koch
3a63ab4010
2003-06-24 Michael Koch <konqueror@gmx.de>
...
* java/nio/Buffer.java
(cap): Made package-private.
(pos): Likewise.
(limit): Likewise.
(mark): Likewise.
From-SVN: r68417
2003-06-24 11:19:05 +00:00
Michael Koch
ed1f9b7c13
2003-06-24 Michael Koch <konqueror@gmx.de>
...
* 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-24 11:07:23 +00:00
Michael Koch
59b8aa7e50
Font.java, [...]: New versions from classpath.
...
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-24 10:50:21 +00:00
Michael Koch
5d09ad737c
2003-06-24 Michael Koch <konqueror@gmx.de>
...
* 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-24 10:23:32 +00:00
Michael Koch
92c268fa30
JTextComponent.java: New version from classpath.
...
2003-06-24 Michael Koch <konqueror@gmx.de>
* javax/swing/text/JTextComponent.java:
New version from classpath.
From-SVN: r68410
2003-06-24 09:51:28 +00:00
Michael Koch
a0ea855073
Timer.java, [...]: New versions from classpath.
...
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-24 09:48:43 +00:00
Michael Koch
20afd47571
2003-06-24 Michael Koch <konqueror@gmx.de>
...
* java/io/LineNumberReader.java
(skip): Dont do line number accounting here as this is already done in
read(), simplified.
From-SVN: r68408
2003-06-24 07:25:24 +00:00
Michael Koch
cff5cdc83d
2003-06-21 Michael Koch <konqueror@gmx.de>
...
* 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-21 17:06:56 +00:00
Michael Koch
6ecaa2701d
PlainSocketImpl.java: Reformatted.
...
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-21 14:02:10 +00:00
Michael Koch
5d938b1ac5
PlainSocketImpl.java: Reformatting.
...
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-21 13:24:13 +00:00
Michael Koch
6f705fc773
SimpleTimeZone.java: Removed unneeded import, reformatting.
...
2003-06-21 Michael Koch <konqueror@gmx.de>
* java/util/SimpleTimeZone.java:
Removed unneeded import, reformatting.
From-SVN: r68301
2003-06-21 12:49:39 +00:00
Michael Koch
73c7dd50e8
DateFormat.java, [...]: New versions from classpath.
...
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-21 12:42:26 +00:00
Michael Koch
5ee8128f1b
SpinnerModel.java: New file from classpath.
...
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-21 12:02:11 +00:00
Michael Koch
2d0c9050c3
LogRecord.java, [...]: New files from classpath.
...
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-21 10:31:55 +00:00
Michael Koch
319d764525
2003-06-20 Michael Koch <konqueror@gmx.de>
...
* java/io/ObjectStreamField.java
(unshared): new member variable.
(ObjectStreamField): New constructor.
(isUnshared): New method.
From-SVN: r68261
2003-06-20 12:13:19 +00:00
Michael Koch
f8b7363eed
2003-06-20 Michael Koch <konqueror@gmx.de>
...
* java/net/URLStreamHandler.java
(hostsEqual): Rewritten.
From-SVN: r68260
2003-06-20 12:07:22 +00:00
Michael Koch
c52c9fec50
MappedByteFileBuffer.java, [...]: Removed
...
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-20 12:01:54 +00:00
Michael Koch
98a91a724e
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* 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-19 16:42:25 +00:00
Michael Koch
536a695f04
JComponent.java, [...]: New versions from classpath.
...
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-19 16:30:09 +00:00
Michael Koch
2e5d98ced6
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* java/text/CollationElementIterator.java
(NULLORDER): Initialize with -1 as JDK documentation says.
From-SVN: r68199
2003-06-19 15:13:31 +00:00
Michael Koch
a05f6447e3
HttpURLConnection.java, [...]: Reworked import statements.
...
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-19 15:08:22 +00:00
Michael Koch
3580a7d585
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Throw NullPointerException if in is null (as
JDK does).
From-SVN: r68197
2003-06-19 14:46:21 +00:00
Michael Koch
8993c12bee
Font.java [...]: New versions from classpath.
...
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-19 10:48:46 +00:00
Michael Koch
d5b73c26ac
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* gnu/java/security/x509/X509Certificate.java
(writeReplace): Merged from classpath.
From-SVN: r68187
2003-06-19 09:45:44 +00:00
Michael Koch
b7a793afb7
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* 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-19 09:33:58 +00:00
Michael Koch
16e4b777c8
IndexColorModel.java: New version from classpath.
...
2003-06-19 Michael Koch <konqueror@gmx.de>
* java/awt/image/IndexColorModel.java:
New version from classpath.
From-SVN: r68185
2003-06-19 09:33:40 +00:00
Tom Tromey
7cbd1918f5
Inet6Address.java (isAnyLocalAddress): Don't use "==" on arrays.
...
* 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-19 01:19:27 +00:00
Franz Sirl
7d8b7202f8
Oops, accidentally committed the 3.3 version to mainline. Undone.
...
From-SVN: r68156
2003-06-18 15:29:12 +00:00
Matt Kraai
7b4a4fceef
natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound.
...
* java/lang/natVMSecurityManager.cc (getClassContext):
Use maxlen instead of len for loop bound.
From-SVN: r68153
2003-06-18 14:13:59 +00:00
Michael Koch
299f5809e2
2003-06-18 Michael Koch <konqueror@gmx.de>
...
* 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-18 08:56:55 +00:00
Michael Koch
20d513ff66
2003-06-18 Michael Koch <konqueror@gmx.de>
...
* java/util/Locale.java
(equals): Merged from classpath.
From-SVN: r68144
2003-06-18 08:15:42 +00:00
Michael Koch
75da2103e4
InetAddress.java: Reformatted to better match classpath's version.
...
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-18 08:09:48 +00:00
Michael Koch
7d8f4ff955
2003-06-17 Michael Koch <konqueror@gmx.de>
...
* 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-17 19:11:56 +00:00
Michael Koch
6f3aed57fb
2003-06-17 Michael Koch <konqueror@gmx.de>
...
* 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-17 19:09:56 +00:00
Franz Sirl
beea232412
powerpc-signal.h: New File.
...
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-17 15:56:09 +00:00
Michael Koch
b98cf05972
2003-06-17 Michael Koch <konqueror@gmx.de>
...
* java/util/Locale.java
(getDisplayLanguage): Made it final.
(getDisplayCountry): Likewise.
(getDisplayVariant): Likewise.
(getDisplayName): Likewise.
From-SVN: r68086
2003-06-17 14:16:22 +00:00
Michael Koch
99657762e9
PropertyResourceBundle.java: Removed unneeded import.
...
2003-06-17 Michael Koch <konqueror@gmx.de>
* java/util/PropertyResourceBundle.java:
Removed unneeded import.
From-SVN: r68084
2003-06-17 14:05:17 +00:00
Michael Koch
2a352ff13d
AbstractPreferences.java, [...]: Reworked imports, removed unused imports.
...
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-17 13:01:21 +00:00
Michael Koch
12d08f3a22
X509Certificate.java: Explicitely import used classes.
...
2003-06-17 Michael Koch <konqueror@gmx.de>
* gnu/java/security/x509/X509Certificate.java:
Explicitely import used classes.
From-SVN: r68080
2003-06-17 12:57:35 +00:00
Michael Koch
efc5eec6f3
ZipEntry.java, [...]: Reworked imports, only import used classes.
...
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-17 12:07:56 +00:00
Michael Koch
cea5ca6af4
ArrayHelper.java, [...]: Reformatted to match classpath's versions.
...
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-17 12:01:37 +00:00
Michael Koch
81d2d258f5
2003-06-14 Michael Koch <konqueror@gmx.de>
...
* 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-14 11:53:02 +00:00
Michael Koch
e8fb93c94f
BasicPermission.java: New version from classpath.
...
2003-06-14 Michael Koch <konqueror@gmx.de>
* java/security/BasicPermission.java:
New version from classpath.
From-SVN: r67934
2003-06-14 05:45:12 +00:00
Michael Koch
d10341eaa2
Attribute.java: New version from classpath.
...
2003-06-14 Michael Koch <konqueror@gmx.de>
* javax/naming/directory/Attribute.java:
New version from classpath.
From-SVN: r67933
2003-06-14 05:44:54 +00:00
Michael Koch
6b4683e27c
BufferedReader.java, [...]: New versions from classpath.
...
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-14 05:44:38 +00:00
Andrew Haley
bec3e66d1a
prims.cc (catch_segv): Create exception in handler.
...
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-13 12:20:45 +00:00
Andrew Haley
e976ed37ef
jni.cc (_Jv_JNI_check_types): New.
...
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-12 15:39:17 +00:00
Tom Tromey
3ad93a3475
ClassLoader.java (loadClass): Not deprecated.
...
* java/lang/ClassLoader.java (loadClass): Not deprecated.
* java/io/PrintStream.java: Not deprecated.
From-SVN: r67811
2003-06-12 03:13:14 +00:00
Scott Gilbertson
a28853b01b
IntegerGraphicsState.java (drawOval): implemented.
...
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-12 03:08:58 +00:00
Michael Koch
763ebfe05a
This should not get committed.
...
From-SVN: r67790
2003-06-11 18:27:39 +00:00
Michael Koch
e68b8bd0ff
Forgot to add them to the commit command line too, AARGH.
...
From-SVN: r67788
2003-06-11 18:20:40 +00:00
Michael Koch
c0081c100c
Forgot to add this file to cvs. Sorry.
...
From-SVN: r67781
2003-06-11 16:36:11 +00:00
Michael Koch
1d5d594da5
InputSubset.java: New version from classpath.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/awt/im/InputSubset.java:
New version from classpath.
From-SVN: r67770
2003-06-11 13:47:49 +00:00
Michael Koch
d6c2458f4e
AbstractAction.java, [...]: New versions from classpath.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java,
javax/swing/AbstractButton.java,
javax/swing/AbstractCellEditor.java,
javax/swing/AbstractListModel.java,
javax/swing/BorderFactory.java,
javax/swing/Box.java,
javax/swing/BoxLayout.java,
javax/swing/ButtonGroup.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultListModel.java,
javax/swing/DefaultListSelectionModel.java,
javax/swing/FocusManager.java,
javax/swing/ImageIcon.java,
javax/swing/InputMap.java,
javax/swing/JApplet.java,
javax/swing/JButton.java,
javax/swing/JCheckBox.java,
javax/swing/JCheckBoxMenuItem.java,
javax/swing/JColorChooser.java,
javax/swing/JComboBox.java,
javax/swing/JComponent.java,
javax/swing/JDesktopPane.java,
javax/swing/JDialog.java,
javax/swing/JEditorPane.java,
javax/swing/JFileChooser.java,
javax/swing/JFormattedTextField.java,
javax/swing/JFrame.java,
javax/swing/JLabel.java,
javax/swing/JLayeredPane.java,
javax/swing/JList.java,
javax/swing/JMenuBar.java,
javax/swing/JMenuItem.java,
javax/swing/JOptionPane.java,
javax/swing/JPanel.java,
javax/swing/JPasswordField.java,
javax/swing/JPopupMenu.java,
javax/swing/JProgressBar.java,
javax/swing/JRadioButton.java,
javax/swing/JRadioButtonMenuItem.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/JToggleButton.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/ListSelectionModel.java,
javax/swing/LookAndFeel.java,
javax/swing/RepaintManager.java,
javax/swing/ScrollPaneLayout.java,
javax/swing/SizeRequirements.java,
javax/swing/SwingConstants.java,
javax/swing/Timer.java,
javax/swing/UIDefaults.java,
javax/swing/UIManager.java,
javax/swing/border/AbstractBorder.java,
javax/swing/border/CompoundBorder.java,
javax/swing/colorchooser/AbstractColorChooserPanel.java,
javax/swing/colorchooser/ColorChooserComponentFactory.java,
javax/swing/colorchooser/ColorSelectionModel.java,
javax/swing/colorchooser/DefaultColorSelectionModel.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameAdapter.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/MouseInputAdapter.java,
javax/swing/event/SwingPropertyChangeSupport.java,
javax/swing/event/TableModelEvent.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/event/UndoableEditEvent.java,
javax/swing/filechooser/FileFilter.java,
javax/swing/filechooser/FileSystemView.java,
javax/swing/filechooser/FileView.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/table/AbstractTableModel.java,
javax/swing/table/DefaultTableCellRenderer.java,
javax/swing/table/DefaultTableColumnModel.java,
javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableColumn.java,
javax/swing/text/JTextComponent.java,
javax/swing/tree/AbstractLayoutCache.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/DefaultTreeCellEditor.java,
javax/swing/tree/DefaultTreeCellRenderer.java,
javax/swing/tree/DefaultTreeModel.java,
javax/swing/tree/DefaultTreeSelectionModel.java,
javax/swing/tree/FixedHeightLayoutCache.java,
javax/swing/tree/TreeCellEditor.java,
javax/swing/tree/TreeModel.java,
javax/swing/tree/TreeNode.java,
javax/swing/tree/TreePath.java,
javax/swing/tree/TreeSelectionModel.java,
javax/swing/tree/VariableHeightLayoutCache.java,
javax/swing/undo/AbstractUndoableEdit.java,
javax/swing/undo/CompoundEdit.java,
javax/swing/undo/StateEdit.java,
javax/swing/undo/UndoManager.java,
javax/swing/undo/UndoableEditSupport.java:
New versions from classpath.
* javax/swing/table/JTableHeader.java:
New file from classpath.
* Makefile.am
(java_awt_sources): Added javax/swing/table/JTableHeader.java.
* Makefile.in: Regenerated.
From-SVN: r67769
2003-06-11 13:20:41 +00:00
Michael Koch
6bd883297e
MappedByteBuffer.java, [...]: Removed unneeded imports.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/nio/MappedByteBuffer.java,
java/nio/channels/Channels.java,
java/nio/channels/ServerSocketChannel.java,
java/nio/channels/spi/AbstractSelector.java:
Removed unneeded imports.
From-SVN: r67756
2003-06-11 10:38:58 +00:00
Michael Koch
39b3ceceee
DatagramSocket.java: Partly merged with classpath.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java:
Partly merged with classpath.
From-SVN: r67755
2003-06-11 10:38:38 +00:00
Michael Koch
37f3981f80
Frame.java, [...]: New versions from classpath.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/awt/Frame.java,
java/awt/Graphics.java,
java/awt/Menu.java,
java/awt/Robot.java,
java/awt/image/ColorModel.java:
New versions from classpath.
From-SVN: r67754
2003-06-11 10:37:48 +00:00
Michael Koch
fbd98522de
PrintStream.java: Merged version from classpath.
...
2003-06-10 Michael Koch <konqueror@gmx.de>
* java/io/PrintStream.java:
Merged version from classpath.
(close): Removed sychronized keyword. This class is not garantied to
be thread-safe.
(write): Likewise.
From-SVN: r67717
2003-06-10 17:15:19 +00:00
Tom Tromey
4982b6384a
natFont.cc (getAscent): Correctly access "ascent" field.
...
* gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
field.
(getDescent): Likewise, for "descent".
From-SVN: r67695
2003-06-10 02:45:07 +00:00
Scott Gilbertson
0940ed88c4
natFont.cc (getMaxAscent): adjusted return value.
...
2003-06-09 Scott Gilbertson <scottg@mantatest.com>
* gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
(getMaxDescent): adjusted return value.
(getAscent): modified to use metrics for 'O'.
(getDescent): modified to use metrics for 'y'.
From-SVN: r67692
2003-06-10 01:50:12 +00:00
Anthony Green
a8a8de4875
URLStreamHandler.java (sameFile): Fix port value comparison.
...
2003-06-08 Anthony Green <green@redhat.com>
* java/net/URLStreamHandler.java (sameFile): Fix port value
comparison.
* java/net/URL.java (handler): Make package private.
* gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
From-SVN: r67640
2003-06-08 22:07:48 +00:00
Tom Tromey
0a56537c16
For PR libgcj/11085:
...
* java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
Limit number of characters in numeric field when required.
* java/text/DecimalFormat.java (parse(String,ParsePosition)):
Respect maximumIntegerDigits.
From-SVN: r67633
2003-06-08 19:00:02 +00:00
Roger Sayle
5f158b4400
builtins.c (define_builtin_type, [...]): Delete.
...
* builtins.c (define_builtin_type, builtin_types): Delete.
(define_builtin): Rewritten to take just the built-in code,
the function's name, type and fallback library function name.
All built-ins used by Java are implicit and BUILT_IN_NORMAL.
(initialize_builtins): Overhaul to define the GCC builtins
used by gcj manually, providing the Java run-time's
implementations as the fallback library function.
* libjava.lang/MathBuiltin.java: New test case.
* libjava.lang/MathBuiltin.out: New file.
From-SVN: r67632
2003-06-08 18:17:53 +00:00
Michael Koch
742ed2f3da
2003-06-08 Michael Koch <konqueror@gmx.de>
...
* java/net/Socket.java
(Socket): Dont initialize inputShutdown and outputShutdown twice,
call bind() and connect() to actually do the bind and connect tasks.
(bind): Connect to canonical address if bindpoint is null, create
socket and bind it to bindpoint.
(connect): Check for exceptions.
From-SVN: r67618
2003-06-08 10:12:09 +00:00
Michael Koch
f61e212582
2003-06-08 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
into the Multicast constructors.
* java/net/DatagramSocketImpl.java
(getOption): Removed.
(setOption): Removed.
* java/net/MulticastSocket.java
(MulticastSocket): Call setReuseAddress (true).
* java/net/SocketImpl.java
(getOption): Removed.
(setOption): Removed.
From-SVN: r67617
2003-06-08 09:25:54 +00:00
Jeff Sturm
31de261d68
re PR libgcj/10886 (The RMI registry that comes with GCJ does not work correctly)
...
PR libgcj/10886:
* gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
Test for empty vector.
From-SVN: r67610
2003-06-08 01:35:32 +00:00
Mark Wielaard
39072dc8df
Security.java (secprops): Initialize.
...
* java/security/Security.java (secprops): Initialize.
(loadProviders): Return boolean.
(static): Check result of loadProvider calls. If necessary
display WARNING and fallback to Gnu provider.
From-SVN: r67597
2003-06-07 18:38:09 +00:00
Mark Wielaard
60e9f0d726
re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions)
...
2002-06-06 James Clark <jjc@jclark.com>
Fix for PR libgcj/8738:
* gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
* gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
(write): Always decrease avail when count is increased.
* java/lang/natString.cc (getBytes): Check converter havePendingBytes()
and whether output buffer is full before increasing size.
2002-06-06 Mark Wielaard <mark@klomp dot org>
* java/io/PrintStream.java (writeChars(char[],int, int)):
Check converter.havePendingBytes().
(writeChars(String,int,int)): Likewise.
* java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
Check converter.havePendingBytes() and flush buffer when stalled.
From-SVN: r67595
2003-06-07 18:35:00 +00:00
Michael Koch
248e983efb
2003-06-07 Michael Koch <konqueror@gmx.de>
...
* include/posix.h
(O_DSYNC): Define O_DSYNC on platforms not
supporting O_FSYNC (newlib).
From-SVN: r67587
2003-06-07 14:30:32 +00:00
Mark Wielaard
6d8176f059
Toolkit.java (getDefaultToolkit): Add exception cause to AWTError.
...
* java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
AWTError.
From-SVN: r67542
2003-06-06 13:12:47 +00:00
Mark Wielaard
f07188514e
re PR libgcj/6181 (Mauve Introspector.jdk11: getBeanInfo fail for AWT classes)
...
* libjava.mauve/mauve.exp (test_mauve): Add -wno-deprecated to GCJ.
PR libgcj/6181:
* libjava.mauve/xfails: Remove getBeanInfo() failures.
PR libgcj/6293:
* libjava.mauve/xfails: Remove PipedStream.close() failure.
From-SVN: r67536
2003-06-06 10:03:30 +00:00
Michael Koch
b82a670a20
BasicOptionPaneUI.java: More compile fixes from my stupid work yesterday.
...
2003-06-06 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes from my stupid work yesterday.
From-SVN: r67531
2003-06-06 06:21:02 +00:00
Matt Kraai
86fb951d4c
w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.
...
* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.
From-SVN: r67526
2003-06-06 03:34:36 +00:00
Loren J. Rittle
49c72d225b
posix.h (O_SYNC): Define if not available and a reasonable...
...
* libjava/include/posix.h (O_SYNC): Define if not available
and a reasonable, perhaps more conservative, replacement exists.
(O_DSYNC): Likewise.
* java/io/natFileDescriptorPosix.cc (open): Revert last patch.
From-SVN: r67517
2003-06-05 22:37:02 +00:00
Michael Koch
7786a3e47a
BorderUIResource.java, [...]: More compile fixes for latest Border commit.
...
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes for latest Border commit. I should not commit
something in this heat here ...
From-SVN: r67513
2003-06-05 21:18:31 +00:00
Michael Koch
486f6e5f72
2003-06-05 Michael Koch <konqueror@gmx.de>
...
* javax/swing/border/BevelBorder.java
(BevelBorder): Removed.
* javax/swing/border/EmptyBorder.java:
Reformatted.
(EmptyBorder): Removed.
(getBorderInsets): Dont use l, r, t and b.
* javax/swing/border/EtchedBorder.java
(EtchedBorder): Removed.
* javax/swing/border/LineBorder.java
(LineBorder): Removed.
* javax/swing/border/MatteBorder.java
(MatteBorder): Removed.
* javax/swing/border/TitledBorder.java
(defaultBorder): Use other default for now.
(defaultFont): Likewise.
(defaultColor): Likewise.
From-SVN: r67511
2003-06-05 20:57:39 +00:00
Michael Koch
48243c88a7
Border.java: New version from classpath.
...
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/Border.java:
New version from classpath.
From-SVN: r67508
2003-06-05 20:03:26 +00:00
Michael Koch
93152c2fd6
AbstractBorder.java, [...]: New versions from Classpath.
...
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/AbstractBorder.java,
javax/swing/border/BevelBorder.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:
New versions from Classpath.
From-SVN: r67507
2003-06-05 19:59:44 +00:00
Michael Koch
fe7f8a4ebd
Button.java, [...]: New versions from Classpath.
...
2003-06-05 Michael Koch <konqueror@gmx.de>
* java/awt/Button.java,
java/awt/Checkbox.java,
java/awt/CheckboxMenuItem.java,
java/awt/Choice.java,
java/awt/Container.java,
java/awt/Dialog.java,
java/awt/EventQueue.java,
java/awt/FileDialog.java,
java/awt/Frame.java,
java/awt/Label.java,
java/awt/List.java,
java/awt/Menu.java,
java/awt/MenuItem.java,
java/awt/Panel.java,
java/awt/PopupMenu.java,
java/awt/Rectangle.java,
java/awt/ScrollPane.java,
java/awt/Scrollbar.java,
java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/Window.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/dnd/DragSource.java,
java/awt/dnd/DragSourceContext.java,
java/awt/event/HierarchyEvent.java,
java/awt/event/MouseWheelEvent.java,
java/awt/im/InputContext.java,
java/awt/image/BufferedImage.java,
java/awt/image/ComponentColorModel.java,
java/awt/image/Raster.java,
java/awt/image/WritableRaster.java,
java/awt/peer/ComponentPeer.java,
java/awt/print/PageFormat.java,
java/awt/print/PrinterJob.java:
New versions from Classpath.
From-SVN: r67506
2003-06-05 19:58:40 +00:00
Scott Gilbertson
9faf44582d
SimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly(true).
...
2003-06-05 Scott Gilbertson <scottg@mantatest.com>
* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
numberFormat.setParseIntegerOnly(true).
From-SVN: r67504
2003-06-05 17:57:31 +00:00
Bert Deknuydt
ad23ad2cbe
posix-threads.h: Include <machine/pal.h> on OSF.
...
2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
* include/posix-threads.h: Include <machine/pal.h> on OSF.
From-SVN: r67491
2003-06-05 15:43:58 +00:00
Andrew Haley
9f47031337
x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it.
...
2003-06-03 Andrew Haley <aph@redhat.com>
* include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
stack volatile to prevent optimization from removing it.
From-SVN: r67379
2003-06-03 16:13:22 +00:00
Roger Sayle
4fa26a6079
flags.h (flag_wrapv): New flag controlling overflow semantics.
...
* flags.h (flag_wrapv): New flag controlling overflow semantics.
* toplev.c (flag_wrapv): Declare the variable with default false.
(lang_independent_options): New option "-fwrapv" to set the above.
* fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
as x, when signed arithmetic overflow wraps around.
(fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
* loop.c (basic_induction_var): Ignore BIVs that rely on undefined
overflow when flag_wrapv is true.
* java/lang.c (java_init_options): Prescribe wrap-around two's
complement arithmetic overflow by setting flag_wrapv.
* doc/invoke.texi: Document new -fwrapv command line option.
* doc/c-tree.texi: Mention that the overflow semantics of
NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
upon both flag_wrapv and flag_trapv.
* gcc.dg/fwrapv-1.c: New test case.
* gcc.dg/fwrapv-2.c: New test case.
* libjava.lang/Overflow.java: New test.
* libjava.lang/Overflow.out: New file.
From-SVN: r67270
2003-05-31 13:23:32 +00:00
Michael Koch
98ad580793
2003-05-27 Michael Koch <konqueror@gmx.de>
...
* java/util/zip/Deflater.java
(FILTERED): Merged documentation from classpath.
* java/util/zip/DeflaterOutputStream.java
(DeflaterOutputStream): Merged documentation and argument validity
check from classpath.
(deflate): Merged documentation from classpath.
(finish): Likewise.
* java/util/zip/Inflater.java
(Inflater): Merged class documentation from classpath.
(zstream): Reordered.
(is_finished): Reordered.
(dict_needed): Reordered.
(Inflater): Reordered, merged documentation from classpath.
(end): Likewise.
(finalize): Merged documentation from classpath.
(finished): Likewise.
(getAdler): Likewise.
(getRemaining): Likewise.
(getTotalIn): Likewise.
(getTotalOut): Likewise.
(inflate): Likewise.
(needsDictionary): Likewise.
(needsInput): Likewise.
(reset): Likewise.
(setDictionary): Likewise.
(setInput): Likewise.
From-SVN: r67185
2003-05-27 06:34:29 +00:00
Michael Koch
5191f392bb
2003-05-27 Michael Koch <konqueror@gmx.de>
...
* java/net/URLConnection.java
(getHeaderFieldInt): Merged with classpath.
From-SVN: r67184
2003-05-27 06:17:57 +00:00
Michael Koch
c414a2c3c9
2003-05-27 Michael Koch <konqueror@gmx.de>
...
* java/io/PrintStream.java
(PrintStream): Reformatted.
(PrintStream): New method, merged from classpath.
(write): Reformatted.
From-SVN: r67183
2003-05-27 06:04:28 +00:00
Michael Koch
91adbcf731
System.java: Explicitely import needed classes.
...
2003-05-27 Michael Koch <konqueror@gmx.de>
* java/lang/System.java:
Explicitely import needed classes.
From-SVN: r67182
2003-05-27 06:03:14 +00:00
Michael Koch
b91c701d19
NetPermission.java, [...]: New versions from classpath.
...
2003-05-26 Michael Koch <konqueror@gmx.de>
* java/net/NetPermission.java,
java/net/NetworkInterface.java,
java/net/PasswordAuthentication.java,
java/net/SocketPermission.java:
New versions from classpath.
From-SVN: r67174
2003-05-26 12:58:02 +00:00
Michael Koch
c7684ffe55
PushbackInputStream.java, [...]: Merged new versions from classpath.
...
2003-05-25 Michael Koch <konqueror@gmx.de>
* java/io/PushbackInputStream.java,
java/net/Authenticator.java,
java/net/ContentHandler.java,
java/net/ContentHandlerFactory.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/DatagramSocketImplFactory.java,
java/net/FileNameMap.java,
java/net/SocketImplFactory.java,
java/net/SocketOptions.java,
java/net/URLStreamHandlerFactory.java:
Merged new versions from classpath.
From-SVN: r67165
2003-05-25 11:40:19 +00:00
Michael Koch
eceea3010f
Checkbox.java, [...]: New versions from classpath.
...
2003-05-25 Michael Koch <konqueror@gmx.de>
* java/awt/Checkbox.java,
java/awt/Dialog.java,
java/awt/Font.java,
java/awt/Frame.java,
java/awt/ScrollPaneAdjustable.java,
java/awt/Scrollbar.java,
java/awt/Window.java:
New versions from classpath.
From-SVN: r67164
2003-05-25 11:24:27 +00:00
Jeff Sturm
a8e097d6db
re PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)
...
PR libgcj/10838:
* java/io/ObjectInputStream (enableResolveObject):
Fixed spelling of permission name.
From-SVN: r67111
2003-05-23 03:15:36 +00:00
Michael Koch
669e91abfa
2003-05-20 Michael Koch <konqueror@gmx.de>
...
* java/io/DataInputStream.java
(convertFromUTF): Merged comment from classpath.
* java/io/PrintStream.java
(error_occured): Renamed from error, merged comment from classpath.
(PrintStream): No need to initialized error.
(checkError): Replace error with error_occurred.
(setError): Likewise.
From-SVN: r66997
2003-05-20 11:53:11 +00:00
Michael Koch
c93aa80414
DataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation.
...
2003-05-20 Michael Koch <konqueror@gmx.de>
* java/io/DataInputStream.java:
Reformatted, Replaced < and & with html entitites in documentation.
* java/io/File.java:
Reformatted.
* java/io/PrintWriter.java:
Moved class documentation.
From-SVN: r66992
2003-05-20 09:13:19 +00:00
Michael Koch
c2a40660aa
Accidently comitted this during last commit, revert this little change:
...
-TAR = tar
+TAR = gtar
From-SVN: r66991
2003-05-20 09:04:38 +00:00
Michael Koch
3a5eb28322
ByteBufferImpl.java, [...]: Moved files to java/nio.
...
2003-05-20 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java,
gnu/java/nio/CharBufferImpl.java,
gnu/java/nio/CharViewBufferImpl.java,
gnu/java/nio/DirectByteBufferImpl.java,
gnu/java/nio/DoubleBufferImpl.java,
gnu/java/nio/DoubleViewBufferImpl.java,
gnu/java/nio/FloatBufferImpl.java,
gnu/java/nio/FloatViewBufferImpl.java,
gnu/java/nio/IntBufferImpl.java,
gnu/java/nio/IntViewBufferImpl.java,
gnu/java/nio/LongBufferImpl.java,
gnu/java/nio/LongViewBufferImpl.java,
gnu/java/nio/natDirectByteBufferImpl.cc,
gnu/java/nio/ShortBufferImpl.java,
gnu/java/nio/ShortViewBufferImpl.java:
Moved files to java/nio.
* gnu/java/nio/SocketChannelImpl.java
* 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:
Dont import anything.
* java/nio/ByteBufferImpl.java,
java/nio/CharBufferImpl.java,
java/nio/CharViewBufferImpl.java,
java/nio/DirectByteBufferImpl.java,
java/nio/DoubleBufferImpl.java,
java/nio/DoubleViewBufferImpl.java,
java/nio/FloatBufferImpl.java,
java/nio/FloatViewBufferImpl.java,
java/nio/IntBufferImpl.java,
java/nio/IntViewBufferImpl.java,
java/nio/LongBufferImpl.java,
java/nio/LongViewBufferImpl.java,
java/nio/natDirectByteBufferImpl.cc,
java/nio/ShortBufferImpl.java,
java/nio/ShortViewBufferImpl.java:
Moved from gnu/java/nio.
* Makefile.am
(ordinary_java_source_files): Moved files from gnu/java/nio to
java/nio.
(nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
to java/nio.
* Makefile.in: Regenerated.
From-SVN: r66990
2003-05-20 08:58:31 +00:00
Michael Koch
336931c175
2003-05-19 Michael Koch <konqueror@gmx.de>
...
* java/util/Calendar.java
(get): Not final anymore since JDK 1.4
(set): Likewise.
From-SVN: r66956
2003-05-19 09:14:57 +00:00
Michael Koch
66852893a2
CollationKey.java: Merged copyright and dat from classpath.
...
2003-05-19 Michael Koch <konqueror@gmx.de>
* java/text/CollationKey.java:
Merged copyright and dat from classpath.
* java/text/RuleBasedCollator.java:
Merged class documentation from classpath.
From-SVN: r66955
2003-05-19 09:09:23 +00:00
Michael Koch
27d645f767
2003-05-19 Michael Koch <konqueror@gmx.de>
...
* java/nio/CharBuffer.java
(toString): Compile fix.
From-SVN: r66953
2003-05-19 07:48:35 +00:00
Michael Koch
10832fce7c
2003-05-19 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/ByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/DirectByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/FileLockImpl.java
(isValid): Reformatted.
* java/nio/Buffer.java
(Buffer): Fixed off-by-one bug in handling mark.
* java/nio/ByteBuffer.java:
Added newline.
* java/nio/CharBuffer.java
(toString): Don't use relative get to get string data.
From-SVN: r66946
2003-05-19 06:59:23 +00:00
Michael Koch
18abc5e1d9
2003-05-16 Michael Koch <konqueror@gmx.de>
...
* java/io/natFileDescriptorPosix.cc
(open): Commented out the O_SYNC and O_DSYNC usage until its better
tested.
From-SVN: r66859
2003-05-16 08:09:32 +00:00
Michael Koch
cc1b3d6b64
2003-05-14 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/FileLockImpl.java
(released): New member variable.
(FileLockImpl): Initialize released.
(releaseImpl): New native method.
(release): Implemented.
* gnu/java/nio/SelectorImpl.java: Reformatted.
* gnu/java/nio/SelectionKeyImpl.java: Reformatted.
* gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
(accept): Throws IOException.
* gnu/java/nio/SocketChannelImpl.java: Reformatted.
(implConfigureBlocking): Throws IOException.
(connect): Likewise.
(read): Likewise.
(write): Likewise.
* gnu/java/nio/natFileLockImpl.cc: New file.
* java/nio/channels/FileLock.java: Reformatted.
* Makefile.am:
(ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
(nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
* Makefile.in: Regenerated.
From-SVN: r66799
2003-05-14 06:37:59 +00:00
Michael Koch
d24273abda
2003-05-13 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/CharViewBufferImpl.java
(CharViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/DoubleViewBufferImpl.java
(DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/FloatViewBufferImpl.java
(FloatViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/IntViewBufferImpl.java
(IntViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/LongViewBufferImpl.java
(LongViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/ShortViewBufferImpl.java
(ShortViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
From-SVN: r66780
2003-05-13 20:11:02 +00:00
Michael Koch
c484a5fbd3
2003-05-13 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/natDirectByteBufferImpl.cc
(allocateImpl): jlong -> RawData*.
(freeImpl): Likewise.
From-SVN: r66760
2003-05-13 12:57:32 +00:00
Michael Koch
c6f824e248
2003-05-13 Michael Koch <konqueror@gmx.de>
...
* java/nio/channels/FileChannel.java
(MapMode.m): Made it package-private to match JDK 1.4.
* java/nio/charset/Charset.java
(decode): Made it final to match JDK 1.4.
From-SVN: r66756
2003-05-13 10:25:00 +00:00
Michael Koch
e48d8b8886
2003-05-13 Michael Koch <konqueror@gmx.de>
...
* java/io/FileDescriptor.java
(SYNC): New constant.
(DSYNC): Likewise.
(getLength): Renamed from lenght() to match classpath's
FileDescriptor.java.
* java/io/RandomAccessFile.java
(RandomAccessFile): Removed unneeded mode check, implemented mode
"rws" and "rwd", merged documentation from classpath.
(setLength): Reformatted.
(length): Use new getLength() of FileDescriptor.
* java/io/natFileDescriptorEcos.cc
(getLength): Renamed from length().
* java/io/natFileDescriptorPosix.cc
(open): Implemented support for SYNC and DSYNC.
(seek): Use getLength() instead of length().
(getLength): Renamed from length().
* java/io/natFileDescriptorWin32.cc
(getLength): Renamed from length().
(seek): Use getLength() instead of length().
(available): Likewise.
* gnu/java/nio/natFileChannelImpl.cc
(size): Use getLength() instead of length().
From-SVN: r66755
2003-05-13 09:13:31 +00:00
Michael Koch
3b6b673dab
2003-05-13 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/ByteBufferImpl.java
(ByteBufferImpl): All constructors revised.
(slice): Reimplemented.
(duplicate): Reimplemented.
(asReadOnlyBuffer): Reimplemented.
* java/nio/ByteBuffer.java:
Reformatted.
(array_offset): Renamed from "offset" to match all other buffer
classes.
(ByteBuffer): All constructors revised.
(allocateDirect): Implemented.
(allocate): New implementation, documentation reworked.
(wrap): Likewise.
(get): Documentation reworked.
(put): New implementation, documentation reworked.
(hasArray): Documentation reworked.
(arrayOffset): Likewise.
(hashCode): Likewise.
(equals): Likewise.
(compareTo): Likewise.
(order): Likewise.
(compact): Likewise.
(isDirect): Likewise.
(slice): Likewise.
(duplicate): Likewise.
(asReadOnlyBuffer): Likewise.
* Makefile.am
(ordinary_java_source_files):
Added gnu/java/nio/DirectByteBufferImpl.java.
(nat_source_files):
Added gnu/java/nio/natDirectByteBufferImpl.cc.
* Makefile.in: Regenerated.
From-SVN: r66749
2003-05-13 06:04:19 +00:00
Michael Koch
36d4669b73
ByteBufferImpl.java: Reformatted.
...
2003-05-12 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java: Reformatted.
(nio_get_*): Removed.
(nio_put_*): Removed.
(as*Buffer): Implemented.
(compact): Implemented.
(get): Documentation added.
(put): Documentation added.
(get*): Newly implemented.
(put*): Newly implemented.
* gnu/java/nio/CharBufferImpl.java: Reformatted.
(CharBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/DirectByteBufferImpl.java
(allocateDirect): objects can be null not 0.
* gnu/java/nio/DoubleBufferImpl.java: Reformatted.
(DoubleBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/FloatBufferImpl.java: Reformatted.
(FloatBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/IntBufferImpl.java: Reformatted.
(IntBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/LongBufferImpl.java: Reformatted.
(LongBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/ShortBufferImpl.java: Reformatted.
(ShortBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
(CharBuffer): Revised.
(order): Removed.
* java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
(DoubleBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
(FloatBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
(IntBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
(LongBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
(ShortBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* gnu/java/nio/natByteBufferImpl.cc: Removed.
* gnu/java/nio/natCharBufferImpl.cc: Removed.
* Makefile.am
(ordinary_java_source_files): Added the following files:
gnu/java/nio/CharViewBufferImpl.java,
gnu/java/nio/DoubleViewBufferImpl.java,
gnu/java/nio/FloatViewBufferImpl.java,
gnu/java/nio/IntViewBufferImpl.java,
gnu/java/nio/LongViewBufferImpl.java,
gnu/java/nio/ShortViewBufferImpl.java
(nat_source_files): Removed the following files:
gnu/java/nio/natByteBufferImpl.cc,
gnu/java/nio/natCharBufferImpl.cc
* Makefile.in: Regenerated.
From-SVN: r66733
2003-05-12 20:45:20 +00:00
Michael Koch
5560b019e4
CharViewBufferImpl.java, [...]: New files, not yet to be compiled.
...
2003-05-12 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/CharViewBufferImpl.java,
gnu/java/nio/DirectByteBufferImpl.java,
gnu/java/nio/DoubleViewBufferImpl.java,
gnu/java/nio/FloatViewBufferImpl.java,
gnu/java/nio/IntViewBufferImpl.java,
gnu/java/nio/LongViewBufferImpl.java,
gnu/java/nio/ShortViewBufferImpl.java,
gnu/java/nio/natDirectByteBufferImpl.cc:
New files, not yet to be compiled.
From-SVN: r66727
2003-05-12 18:32:17 +00:00
Michael Koch
9ca5e6948d
ButtonUI.java, [...]: New versions from classpath.
...
2003-05-10 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/ButtonUI.java,
javax/swing/plaf/ColorUIResource.java,
javax/swing/plaf/ComponentUI.java,
javax/swing/plaf/DimensionUIResource.java,
javax/swing/plaf/FontUIResource.java,
javax/swing/plaf/IconUIResource.java,
javax/swing/plaf/InsetsUIResource.java,
javax/swing/plaf/LabelUI.java,
javax/swing/plaf/ListUI.java,
javax/swing/plaf/OptionPaneUI.java,
javax/swing/plaf/PanelUI.java,
javax/swing/plaf/TabbedPaneUI.java,
javax/swing/plaf/TextUI.java,
javax/swing/plaf/TreeUI.java,
javax/swing/plaf/ViewportUI.java,
javax/swing/plaf/basic/BasicBorders.java,
javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxUI.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/plaf/basic/BasicGraphicsUtils.java,
javax/swing/plaf/basic/BasicIconFactory.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/basic/BasicListUI.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java,
javax/swing/plaf/basic/BasicPanelUI.java,
javax/swing/plaf/basic/BasicRadioButtonUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/plaf/basic/BasicTreeUI.java,
javax/swing/plaf/basic/BasicViewportUI.java,
javax/swing/plaf/metal/MetalLookAndFeel.java:
New versions from classpath. This adds copyrights to all files and
some serialVersionUIDs.
From-SVN: r66658
2003-05-10 08:14:36 +00:00
Michael Koch
ddf87cfafa
2003-05-10 Michael Koch <konqueror@gmx.de>
...
* java/nio/CharBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
* java/nio/DoubleBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
(put): Reformatted.
* java/nio/FloatBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
* java/nio/IntBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
* java/nio/LongBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
* java/nio/ShortBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
From-SVN: r66657
2003-05-10 07:50:00 +00:00
Michael Koch
c363e02d01
2003-05-10 Michael Koch <konqueror@gmx.de>
...
* java/nio/CharBuffer.java
(put): Fixed precondtion check.
(toString): Make it work without backing array.
(put): Skip one level of method calling.
From-SVN: r66656
2003-05-10 07:41:59 +00:00
Michael Koch
2d133a9fd0
Identity.java, [...]: New versions from classpath.
...
2003-05-10 Michael Koch <konqueror@gmx.de>
* java/security/Identity.java,
java/security/IdentityScope.java,
java/security/Key.java,
java/security/KeyPair.java,
java/security/PrivateKey.java,
java/security/Provider.java,
java/security/PublicKey.java,
java/security/SecureRandom.java,
java/security/SecureRandomSpi.java,
java/security/SignedObject.java,
java/security/Signer.java,
java/security/cert/Certificate.java,
java/security/cert/PKIXCertPathBuilderResult.java,
java/security/cert/X509Certificate.java:
New versions from classpath.
From-SVN: r66655
2003-05-10 07:12:48 +00:00
Tom Tromey
553ada109d
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Removed old files.
* gnu/java/nio/natDoubleBufferImpl.cc: Removed.
* gnu/java/nio/natFloatBufferImpl.cc: Removed.
* gnu/java/nio/natIntBufferImpl.cc: Removed.
* gnu/java/nio/natLongBufferImpl.cc: Removed.
* gnu/java/nio/natShortBufferImpl.cc: Removed.
From-SVN: r66640
2003-05-09 19:16:54 +00:00
Michael Koch
2c478ce37c
2003-05-09 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/ByteBufferImpl.java
(nio_cast): Removed.
(ByteBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
(asCharBuffer): Removed implementation and throw exception.
(asShortBuffer): Likewise.
(asIntBuffer): Likewise.
(asLongBuffer): Likewise.
(asFloatBuffer): Likewise.
(asDoubleBuffer): Likewise.
* gnu/java/nio/CharBufferImpl.java
(CharBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/DoubleBufferImpl.java
(DoubleBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/FloatBufferImpl.java
(FloatBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/IntBufferImpl.java
(IntBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/LongBufferImpl.java
(LongBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/ShortBufferImpl.java
(ShortBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/natByteBufferImpl.cc
(nio_cast): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
* gnu/java/nio/natCharBufferImpl.cc
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
From-SVN: r66626
2003-05-09 07:55:59 +00:00
Michael Koch
44db872cf5
2003-05-09 Michael Koch <konqueror@gmx.de>
...
* java/net/JarURLConnection.java
(getJarEntry): Merged documentation from classpath.
(getJarFile): Likewise.
(getMainAttributes): Likewise.
(getAttributes): Likewise.
(getManifest): Likewise.
(getCertificates): Reformatted.
* java/net/URLConnection.java:
Little classpath merge.
From-SVN: r66625
2003-05-09 07:11:11 +00:00
Michael Koch
d8048dc2f7
2003-05-09 Michael Koch <konqueror@gmx.de>
...
* java/io/DataOutputStream.java
(writeShort): Made it synchronized.
(writeChar): Likewise.
(writeInt): Likewise.
(writeLong): Liekwise.
(writeUTF): Made it synchronized, renamed argument to match classpath.
* java/io/InputStreamReader.java
(converter): Added documentation.
(read): Merged documentation from classpath.
* java/io/OutputStreamWriter.java
(OutputStreamWriter): Merged documentation from classpath.
(close): Reformatted.
(getEncoding): Likewise.
(flush): Likewise.
(write): Merged documentation from classpath, reformatted.
From-SVN: r66624
2003-05-09 07:10:58 +00:00
Tom Tromey
b8e61e1eb3
configure.host: Set with_libffi_default and libgcj_interpreter to "yes".
...
* configure.host <powerpc64*-*>: Set with_libffi_default and
libgcj_interpreter to "yes".
From-SVN: r66609
2003-05-08 18:53:44 +00:00