Michael Koch
4aa74bd346
2003-11-26 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(impl): Made private.
(bound): New private member variable.
(DatagramSocket): Fixed documentation, use getImpl().
(getImpl): New package-private method.
(isClosed): Use getImpl().
(getLocalAddress): Completed documentation, use getImpl().
(getLocalPort): Use getImpl().
(getSoTimeout): Likewise.
(setSoTimeout): Likewise.
(getSendBufferSize): Likewise.
(setSendBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(connect): Likewise.
(disconnect): Likewise.
(receive): Likewise.
(send): Likewise.
(setReuseAddress): Likewise.
(setTrafficClass): Likewise.
(bind): Added message to exception.
(isClosed): Completed documentation.
(getChannel): Likewise.
(connect): Added missing exception, refined exception message.
(isBound): Completed documentation, just return bound.
(isConnected): Completed documentation.
(getRemoteSocketAddress): Likewise.
(getReuseAddress): Completed documentation, use getImpl().
(setSoBroadcast): Likewise.
(getSoBroadcast): Likewise.
(getTrafficClass): Likewise.
(getLocalSocketAddress): Simplified.
* java/net/MulticastSocket.java
(MulticastSocket): Removed comment not applying anymore.
(getInterface): Use getImpl().
(getTTL): Likewise.
(getTimeToLive): Likewise.
(setInterface): Likewise.
(setNetworkInterface): Likewise.
(getNetworkInterface): Likewise.
(setLoopback): Likewise.
(getLoopback): Likewise.
(setTTL): Likewise.
(setTimeToLive): Likewise.
(joinGroup): Likewise.
(leaveGroup): Likewise.
(send): Likewise.
From-SVN: r73951
2003-11-26 14:33:41 +00:00
Michael Koch
948888e1e1
2003-11-26 Michael Koch <konqueror@gmx.de>
...
* java/net/Socket.java
(implCreated): Dont set default value explicitely, added
documentation.
(inputShutdown): Likewise.
(outputShutdown): Likewise.
(bound): New private member variable.
(bind): Set bound to true.
(close): Set bound to false.
(isBound): Return bound.
* java/net/ServerSocket.java
(bound): New private member variable.
(bind): Set bound to true.
(close): Set bound to false.
(isBound): Return bound.
From-SVN: r73949
2003-11-26 12:45:21 +00:00
Michael Koch
a7c084ac63
2003-11-26 Michael Koch <konqueror@gmx.de>
...
* java/net/URL.java
(URL): Fixed documentation to be HTML compliant.
(getContent): Completed documentation.
(getFile): Likewise.
(getPath): Likewise.
(getAuthority): Likewise.
(getHost): Likewise.
(getDefaultPort): Likewise.
(getProtocol): Likewise.
(hashCode): Likewise.
(openConnection): Likewise.
(openStream): Likewise.
(set): Likewise.
(getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
From-SVN: r73947
2003-11-26 11:45:31 +00:00
Michael Koch
57a5c93b1f
2003-11-26 Michael Koch <konqueror@gmx.de>
...
* java/net/InetSocketAddress.java
(hostname): Made private, added documentation.
(addr): Likewise.
(port): Likewise.
(equals): Completed documentation.
(getAddress): Likewise.
(getHostName): Likewise.
(getPort): Likewise.
(hashCode): Likewise.
(isUnresolved): Likewise.
(toString): Likewise.
From-SVN: r73946
2003-11-26 10:41:02 +00:00
Michael Koch
6cf0ea4b86
2003-11-26 Michael Koch <konqueror@gmx.de>
...
* gnu/java/net/protocol/file/Handler.java
(Handler): New explicit constructor.
(openConnection): Added documentation.
* gnu/java/net/protocol/jar/Handler.java
(Handler): New explicit constructor.
(openConnection): Added documentation.
From-SVN: r73945
2003-11-26 10:17:51 +00:00
Michael Koch
e08932b2a7
2003-11-26 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramPacket.java
(DatagramPacket): Fixed documentation to become legal HTML.
From-SVN: r73944
2003-11-26 10:11:45 +00:00
Michael Koch
3366ae3675
javaprims.h: Added missing java.util.Currency.
...
2003-11-25 Michael Koch <konqueror@gmx.de>
* gcj/javaprims.h: Added missing java.util.Currency.
From-SVN: r73927
2003-11-25 18:26:08 +00:00
Michael Koch
7d9c11e559
xfails: Removed these two tests, they mystically pass now...
...
2003-11-25 Michael Koch <konqueror@gmx.de>
* testsuite/libjava.mauve/xfails:
Removed these two tests, they mystically pass now:
-FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
test_params failed - 5getInetAddress did not return proper values
(number 1)
-FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
test_BasicServer failed - 11 exception was thrown :Illegal seek
(number 1)
From-SVN: r73919
2003-11-25 10:31:27 +00:00
Michael Koch
66e5d61fba
2003-11-25 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(factory): Made private.
(closed): Removed.
(DatagramSocket): Check impl argument, use constructor with
SocketAddress argument.
(close): Set impl to null, use isClosed().
(isClosed): Check for impl == null.
(getLocalAddress): Use isClosed().
(getLocalPort): Check if socket is closed.
(getSoTimeout): Likewise.
(setSoTimeout): Likewise.
(getSendBufferSize): Likewise.
(setSendBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(receive): Likewise.
(send): Likewise.
(bind): Likewise.
(connect): Likewise.
(setReuseAddress): Likewise.
(getReuseAddress): Likewise.
(setBroadcast): Likewise.
(getBroadcast): Likewise.
(setTrafficClass): Likewise.
(getTrafficClass): Likewise.
* java/net/MulticastSocket.java
(getInterface): Check if socket is closed.
(getTTL): Likewise.
(getTimeToLive): Likewise.
(setInterface): Likewise.
(setNetworkInterface): Likewise.
(getNetworkInterface): Likewise.
(setLoopbackMode): Likewise.
(setTTL): Likewise.
(setTimeToLive): Likewise.
(joinGroup): Likewise.
(leaveGroup): Likewise.
(send): Likewise.
* java/net/ServerSocket.java
(closed): Removed.
(close): Check if socket is closed, set impl to null.
(isClosed): Check impl == null;
(ServerSocket): Check impl argument.
(getInetAddress): Check if socket is bound.
(getLocalPort): Likewise.
(getLocalSocketAddress): Likewise.
(bind): Check if socket is closed.
(implAccept): Likewise.
(setSoTimeout): Likewise.
(getSoTimeout): Likewise.
(setReuseAddress): Likewise.
(getReuseAddress): Likewise.
(setReceiveBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(toString): Make output compliant to JDK 1.4.2.
* java/net/Socket.java
(closed): Removed.
(Socket): Fixed documentation.
(connect): Check if socket is closed, changed exception text,
fixed documentation.
(getInputStream): Check of socket is closed and connected.
(getOutputStream): Likewise.
(bind): Check if socket is closed.
(setTcpNoDelay): Likewise.
(getTcpNoDelay): Likewise.
(setSoLinger): Likewise.
(getSoLinger): Likewise.
(sendUrgentData): Likewise.
(setOOBInline): Likewise.
(getOOBInline): Likewise.
(setSoTimeout): Likewise.
(getSoTimeout): Likewise.
(setSendBufferSize): Likewise.
(getSendBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setKeepAlive): Likewise.
(getKeepAlive): Likewise.
(close): Likewise.
(shutdownInput): Likewise.
(shutdownOutput): Likewise.
(getReuseAddress): Likewise.
(getTrafficClass): Likewise.
(setTrafficClass): Likewise.
(isClosed): Check impl == null.
(toString): Added missing ']'.
From-SVN: r73918
2003-11-25 10:09:48 +00:00
Tom Tromey
2758ce13c1
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (propdir): New macro.
(install-data-local): Install logging.properties.
(core_java_source_files): Added java.util.logging.*.
* java/util/logging/logging.properties: New file.
From-SVN: r73907
2003-11-25 01:57:29 +00:00
Michael Koch
473432eb02
2003-11-25 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(DatagramSocket): Move binding code to bind(), simplify constructors.
* java/net/MulticastSocket.java
(MulticastSocket): Call parent constructor with null argument,
bind socket after setReuseAddress is called, simplify constructors.
From-SVN: r73902
2003-11-24 23:00:07 +00:00
Michael Koch
3f04702836
2003-11-24 Michael Koch <konqueror@gmx.de>
...
* javax/swing/BoxLayout.java
(serialVersionUIR): New member variable.
(X_AXIS, Y_AXIS): Documentation added.
(LINE_AXIS, PAGE_AXIS): New constants.
(grid): Renamed from gridbag.
(BoxLayout): Use new constants, throw exception if invalid value for
way, added documentation.
(BoxLayout): Removed.
(addLayoutComponent): Use new constants, added documentation.
(removeLayoutComponent): Likewise.
(addLayoutContainer): Added documentation.
(preferredLayoutSize): Added documentation, check given argument.
(minimumLayoutSize): Likewise.
(layoutContainer): Likewise.
(getLayoutAlignmentX): Likewise.
(getLayoutAlignmentY): Likewise.
(invalidateLayout): Likewise.
(maximumLayoutSize): Likewise.
From-SVN: r73878
2003-11-24 16:55:43 +00:00
Michael Koch
539edbe025
* gnu/java/net/natPlainDatagramSocketImplWin32.cc
...
(peekData): Use offset and maximal free space in datagram packet.
(receive): Likewise.
(send): Use offset in datagram packet.
From-SVN: r73848
2003-11-23 01:38:31 +00:00
Michael Koch
343c49ce75
2003-11-22 Michael Koch <konqueror@gmx.de>
...
* gnu/java/net/natPlainDatagramSocketImplPosix.cc
(peekData): Use offset and maximal free space in datagram packet.
(receive): Likewise.
(send): Use offset in datagram packet.
From-SVN: r73843
2003-11-22 16:49:47 +00:00
Michael Koch
d3f010ec28
2003-11-22 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/DatagramChannelImpl.java
(getNativeFD): Use getPlainDatagramSocketImpl().
* gnu/java/nio/NIODatagramSocket.java
(getPlainDatagramSocketImpl): Renamed from getImpl().
* gnu/java/nio/NIOSocket.java
(getPlainSocketImpl): Renamed from getImpl().
(setChannel): Use getPlainSocketImpl().
* gnu/java/nio/SocketChannelImpl.java
(SocketChannelImpl): Use getPlainSocketImpl().
(getPlainSocketImpl): Renamed from getImpl().
(getNativeFD): Use getPlainSocketImpl().
From-SVN: r73840
2003-11-22 15:13:01 +00:00
Graydon Hoare
875a15d0da
JLayeredPane.java: Implement.
...
2003-11-18 Graydon Hoare <graydon@redhat.com>
* javax/swing/JLayeredPane.java: Implement.
* javax/swing/JFrame.java (getContentPane): Make public
* javax/swing/javax/swing/JRootPane.java (setContentPane):
Use JLayeredPane.FRAME_CONTENT_LAYER.
From-SVN: r73825
2003-11-22 00:03:35 +00:00
Mark Wielaard
4716418ffe
* java/lang/Float.java (static): Removed.
...
From-SVN: r73805
2003-11-21 13:24:28 +00:00
Graydon Hoare
0bceb0511d
TextLayout.java: Implement simple layouts using attributed strings and glyph vectors.
...
2003-11-18 Graydon Hoare <graydon@redhat.com>
* java/awt/font/TextLayout.java: Implement simple layouts
using attributed strings and glyph vectors.
From-SVN: r73780
2003-11-21 00:10:28 +00:00
Graydon Hoare
146a1ecb87
GdkClasspathFontPeerMetrics.java: New file.
...
2003-11-17 Graydon Hoare <graydon@redhat.com>
* gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
(GdkFontLineMetrics): New inner class.
(getLineMetrics): Return new GdkFontLineMetrics.
(getFontMetrics): Return new GdkClasspathFontPeerMetrics.
(layoutGlyphVector): Create GdkGlyphVector.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
(GdkGraphics2D): Initialize state via mathod calls.
(cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
(cairoTranslate, cairoScale, cairoRotate): Remove.
(various methods): use setTransform for special transform cases.
(DrawState): New inner class.
(stateSave): New method.
(stateRestore): New method.
(various methods): use stateSave, stateRestore.
(getClipInDevSpace): New method.
(clip, clipRect, setClip, getClip, getClipBounds):
Follow spec more closely.
(getTransform): Return clone of transform.
(setStroke): Set linewidth to passed width / 2.0.
(setPaintMode): Set SrcOver rather than Xor.
(setColor): Set paint to passed color.
(drawRaster, drawImage, PainterThread, drawPixels): Take affine
transform from image to user space.
(drawRenderedImage, drawRenderableImage): Implement.
(getFontRenderContext, getFontMetrics, drawString, getFont):
Implement
(drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
Implement.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
Match changes to java side.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
Release resources.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
Don't use pango for metrics.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
New file.
From-SVN: r73776
2003-11-20 22:44:01 +00:00
Guilhem Lavaux
c618b5f802
[multiple changes]
...
2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
Jim Pick <jim@kaffe.org>
* java/text/DecimalFormat.java (getCurrency, setCurrency): New
methods.
2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormatSymbols.java (getCurrency,
setCurrency): New methods.
Co-Authored-By: Jim Pick <jim@kaffe.org>
From-SVN: r73735
2003-11-19 12:06:38 +00:00
Sascha Brawer
b6b8f69047
FlatteningPathIterator.java: Entirely re-written.
...
2003-11-19 Sascha Brawer <brawer@dandelis.ch>
* java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
* java/awt/geom/doc-files/FlatteningPathIterator-1.html:
Describe how the implementation works.
From-SVN: r73734
2003-11-19 12:02:11 +00:00
Michael Koch
edfe1ac771
2003-11-19 Michael Koch <konqueror@gmx.de>
...
* java/net/Socket.java
(implCreated): New variable that indicates created impl.
(getImpl): New method.
(toString): Return more SUN compliant string representation.
(various): Use getImpl() instead of impl.
From-SVN: r73732
2003-11-19 08:34:21 +00:00
Andreas Tobler
d6fcadb293
libjava.exp: Add DYLD_LIBRARY_PATH for darwin.
...
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
the right libgcc. Add -multiply_defined suppress and -bind_at_load
flags.
From-SVN: r73725
2003-11-19 05:53:29 +01:00
Tom Tromey
e2534315a1
re PR libgcj/13026 (libgcj verifier failure)
...
PR libgcj/13026:
* verify.cc (state::copy): Only set local_changed if we're in a
subroutine. Correctly copy local variables which were modified
by the subroutine.
(push_jump_merge): Added more debugging output.
From-SVN: r73722
2003-11-19 03:09:30 +00:00
Tom Tromey
6c363de7ea
jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null.
...
* jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
is null.
From-SVN: r73707
2003-11-18 17:56:33 +00:00
Andreas Tobler
0ec5fef218
jar.exp: Cleanup files and reset CLASSPATH.
...
2003-11-18 Andreas Tobler <a.tobler@schweiz.ch>
* libjava.jar/jar.exp: Cleanup files and reset CLASSPATH.
From-SVN: r73696
2003-11-18 08:17:01 +01:00
Jeff Sturm
217ec3ae92
* libjava.compile/PR12857.java: New test case.
...
From-SVN: r73692
2003-11-18 04:19:24 +00:00
Graydon Hoare
ccdf1a46ee
BasicDefaults.java: Rewrite to spec.
...
2003-11-17 Graydon Hoare <graydon@redhat.com>
* javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
* javax/swing/UIDefaults.java: Modify to reflect rewrite.
From-SVN: r73688
2003-11-18 01:36:56 +00:00
Tom Tromey
edc6a9c48b
re PR libgcj/13062 (StreamTokenizer ignores commentChar)
...
PR libgcj/13062:
* java/io/StreamTokenizer.java (commentChar): Clear other
attributes for character.
(quoteChar): Likewise.
From-SVN: r73653
2003-11-16 21:15:55 +00:00
Tom Fitzsimmons
5c859e1034
GridBagLayout.java (getLayoutDimensions): Return array of two zero-length int arrays when layoutInfo is null.
...
2003-11-14 Tom Fitzsimmons <fitzsim@redhat.com>
* java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
zero-length int arrays when layoutInfo is null.
(getLayoutWeights): Return array of two zero-length double arrays when
layoutInfo is null.
From-SVN: r73622
2003-11-14 22:44:29 +00:00
Tom Tromey
dd168984f6
* libjava.jar/simple.jar: Replaced.
...
From-SVN: r73614
2003-11-14 19:38:39 +00:00
Tom Tromey
b86ca9a2dc
jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to JvGetStringUTFRegion.
...
* jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
JvGetStringUTFRegion.
* java/lang/natPosixProcess.cc (new_string): Pass length of string
to JvGetStringUTFRegion.
* java/lang/natDouble.cc (parseDouble): Pass length of string to
JvGetStringUTFRegion.
* java/lang/natWin32Process.cc (startProcess): Pass length of
string to JvGetStringUTFRegion.
* java/lang/natClass.cc (forName): Pass length of string to
JvGetStringUTFRegion.
* gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
of string to JvGetStringUTFRegion.
* gnu/gcj/convert/natIconv.cc (init): Pass length of string to
JvGetStringUTFRegion.
* gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
to JvGetStringUTFRegion.
* gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
string to JvGetStringUTFRegion.
From-SVN: r73571
2003-11-14 01:48:30 +00:00
Tom Fitzsimmons
d794fb9fbc
jniutf.c: New file.
...
2003-11-13 Tom Fitzsimmons <fitzsim@redhat.com>
* libjava.jni/jniutf.c: New file.
* libjava.jni/jniutf.java: New file.
* libjava.jni/jniutf.out: New file.
From-SVN: r73569
2003-11-14 01:43:14 +00:00
Mohan Embar
650dc9b332
* gnu/java/nio/natSelectorImplPosix.cc
...
(helper_put_filedescriptors): Change to static linkage.
(helper_get_filedescriptors): Likewise.
From-SVN: r73545
2003-11-13 10:09:40 +00:00
Tom Fitzsimmons
2860518a07
GtkComponentPeer.java (prepareImage): Remove null check.
...
2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
null check.
* gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
* java/awt/Component.java (prepareImage): Likewise.
From-SVN: r73513
2003-11-12 22:03:49 +00:00
Tom Fitzsimmons
94f773991e
gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment): Rename to nativeSetAlignment.
...
2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
Rename to nativeSetAlignment.
From-SVN: r73500
2003-11-12 17:38:22 +00:00
Danny Smith
2fe6fc5268
jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
...
* jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
(JNI_GetCreatedJavaVMs): Likewise.
(JNI_GetDefaultJavaVMInitArgs): Likewise.
* include/jni.h (JNIIMPEXP): Remove definition
and replace with...
(__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
symbols,
(__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
From-SVN: r73484
2003-11-12 05:56:44 +00:00
Thomas Fitzsimmons
a5966c9ef9
Makefile.am: Add GdkPixbufDecoder.java and gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
...
2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
* Makefile.am: Add GdkPixbufDecoder.java and
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
* Makefile.in: Regenerate.
* gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
New constructor.
(startProduction): Create ByteArrayInputStream when url and filename are
null.
(produce): Declare stream parameter as InputStream.
* gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
as InputStream.
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
(GdkPixbufDecoder(byte[],int,int)): New constructor.
(produce): Declare stream parameter as InputStream.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
if image is null. Set image's observer before running PrepareImage
thread. Pass image to startProduction.
* gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
source's member functions.
(observer): New field.
(setObserver): New method.
(setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
* gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
new GtkImage.
(prepareImage): Implement.
* java/awt/Component.java: Add static fields incrementalDraw and
redrawRate.
(imageUpdate): Implement.
(createImage): Call Toolkit's createImage if peer is null.
(prepareImage): Throw NPE if image is null.
* java/awt/MediaTracker.java: Fix return value.
From-SVN: r73476
2003-11-12 00:37:34 +00:00
Tom Tromey
ec629ef5a4
For PR java/12915:
...
* libjava.lang/PR12915.java: New file.
* libjava.lang/PR12915.out: New file.
From-SVN: r73460
2003-11-11 20:11:43 +00:00
Tom Tromey
0259239a6a
jacks.exp (gcj_jacks_write): Enable "assert" constraint.
...
* libjava.jacks/jacks.exp (gcj_jacks_write): Enable "assert"
constraint.
* libjava.jacks/jacks.xfail: Added new xfails.
From-SVN: r73458
2003-11-11 20:04:22 +00:00
Thomas Fitzsimmons
009ed5cc5c
GtkLabelPeer.java (create()): Call new create.
...
2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
(create(String, float)): New method.
(setText): Make native.
(nativeSetAlignment): New method.
(setAlignment): Call nativeSetAlignment.
(getArgs): Remove method.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(find_fg_color_widget, find_bg_color_widget): New functions.
(gtkWidgetSetForeground): Call find_fg_color_widget.
(gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
prelight colors.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
widget in event box.
(setText, setAlignment): Implement new native methods.
From-SVN: r73453
2003-11-11 17:04:47 +00:00
Michael Koch
5237cd77c2
Font.java, [...]: Removed some redundant obj == null checks.
...
2003-11-11 Michael Koch <konqueror@gmx.de>
* java/awt/Font.java,
java/awt/datatransfer/DataFlavor.java,
java/math/BigInteger.java,
java/net/Inet4Address.java,
java/net/Inet6Address.java,
java/rmi/MarshalledObject.java,
java/rmi/server/RMIClassLoader.java,
java/security/cert/CertStore.java,
java/sql/Timestamp.java,
java/text/SimpleDateFormat.java,
javax/naming/CompoundName.java:
Removed some redundant obj == null checks.
From-SVN: r73448
2003-11-11 12:22:20 +00:00
Michael Koch
c824ce21ca
2003-11-11 Michael Koch <konqueror@gmx.de>
...
* java/nio/ByteBuffer.java
(equals): Remove redundant obj == null check.
From-SVN: r73447
2003-11-11 11:56:58 +00:00
Michael Koch
4ba6d1c3e2
natPipeImpl.cc, [...]: Removed
...
2003-11-11 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/natPipeImpl.cc,
gnu/java/nio/natSelectorImpl.cc: Removed
* gnu/java/nio/natPipeImplEcos.cc,
gnu/java/nio/natPipeImplPosix.cc,
gnu/java/nio/natPipeImplWin32.cc,
gnu/java/nio/natSelectorImplEcos.cc,
gnu/java/nio/natSelectorImplPosix.cc,
gnu/java/nio/natSelectorImplWin32.cc: New files
* configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
gnu/java/nio/natSelectorImpl.cc
* configure: Regenerated.
From-SVN: r73446
2003-11-11 11:49:12 +00:00
Michael Koch
e055c06770
URLStreamHandler.java (toExternalForm): Print port only if host is printed too and port was really given to URL.
...
2003-11-11 Micheal Koch <konqueror@gmx.de>
* java/net/URLStreamHandler.java (toExternalForm): Print port only
if host is printed too and port was really given to URL.
From-SVN: r73445
2003-11-11 11:34:24 +00:00
Gary Benson
84083f51be
Timestamp.java (valueOf): Correctly handle nanoseconds.
...
2003-11-10 Gary Benson <gbenson@redhat.com>
* java/sql/Timestamp.java (valueOf): Correctly handle
nanoseconds.
From-SVN: r73437
2003-11-11 00:51:44 +00:00
Tom Tromey
9472b498dd
For PR java/12996:
...
* libjava.jar/simple.jar: New file.
* libjava.jar/simple.xfail: New file.
* libjava.jar/simple.out: New file.
* libjava.jar/simple.java: New file.
* libjava.jar/jar.exp: New file.
From-SVN: r73426
2003-11-10 21:30:10 +00:00
Tom Tromey
b425ed522b
* java/net/Inet4Address.java (serialVersionUID): Updated.
...
From-SVN: r73398
2003-11-09 23:07:11 +00:00
Tom Tromey
49b8ea5ab0
* libjava.jacks/jacks.xfail: Updated.
...
From-SVN: r73371
2003-11-08 18:56:51 +00:00
Jeff Sturm
edf6d50b51
FirstThread.java (Klocale, Kcalendar): New fields.
...
* gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
New fields.
From-SVN: r73360
2003-11-08 13:43:12 +00:00