aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2003-11-27BasicDefaults.java (BasicDefaults): Put AbstractUndoableEdit.undoText and ↵Mark Wielaard2-0/+8
AbstractUndoableEdit.redoText. 2003-11-27 Mark Wielaard <mark@klomp.org> * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText. From-SVN: r73983
2003-11-27UIDefaults.java: Reformated to match classpath's version.Michael Koch2-38/+43
2003-11-27 Michael Koch <konqueror@gmx.de> * javax/swing/UIDefaults.java: Reformated to match classpath's version. From-SVN: r73981
2003-11-27UIManager.java (getDefaults, [...]): Declare as public.Sascha Brawer2-10/+17
2003-11-27 Sascha Brawer <brawer@dandelis.ch> * javax/swing/UIManager.java (getDefaults, getDimension, getIcon, getInsets, getInstalledLookAndFeels, getInt, getLookAndFeel, getString, getSystemLookAndFeelClassName): Declare as public. From-SVN: r73980
2003-11-26StateEdit.java (getPresentationName): Docfix.Sascha Brawer7-430/+814
2003-11-26 Sascha Brawer <brawer@dandelis.ch> * javax/swing/undo/StateEdit.java (getPresentationName): Docfix. * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo, isSignificant): Likewise. 2003-11-26 Sascha Brawer <brawer@dandelis.ch> * javax/swing/undo/CompoundEdit.java: Re-format, document. (inProgress): Set initial value to true. (undo, redo, die, canUndo, canRedo): Also call inherited implementation; simplify code structure. (getPresentationName, getUndoPresentationName, getRedoPresentationName): Make behavior dependent on lastEdit. (addEdit, isSignificant): Completely re-written. 2003-11-26 Sascha Brawer <brawer@dandelis.ch> * javax/swing/undo/StateEdit.java: Re-format, document. (undo, redo): Also call inherited implementation. 2003-11-26 Sascha Brawer <brawer@dandelis.ch> * javax/swing/undo/StateEditable.java: Re-format, document. 2003-11-26 Sascha Brawer <brawer@dandelis.ch> * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document. (AbstractUndoableEdit): Initialize hasBeenDone to true. (canUndo, canRedo): Simplify. (getUndoPresentationName, getRedoPresentationName): Support localized message; call getPresentationName() only once. From-SVN: r73967
2003-11-26ZipFile (Zipfile(File)): Set file path as name.David Belanger2-3/+8
2003-11-26 David Belanger <dbelan2@cs.mcgill.ca> * java/util/zip/ZipFile (Zipfile(File)): Set file path as name. (ZipFile(File,int)): Likewise. From-SVN: r73965
2003-11-26HashMap.java (putAll): Use Iterator hasNext() method.Stuart Ballard3-9/+15
2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net> * java/util/HashMap.java (putAll): Use Iterator hasNext() method. (putAllInternal): Likewise. * java/util/Hashtable.java (putAll): Use Iterator hasNext() method. (putAllInternal): Likewise. From-SVN: r73964
2003-11-262003-11-26 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+39
* java/net/URLStreamHandler.java (parseURL): Added comment in catch statement. (canonicalizeFilename): Add documentation. (sameURL): Completed documentation. (equals): Likewise. (hostsEqual): Likewise. (getDefaulPort): Likewise. (hashCode): Likewise. (toExternalForm): Likewise. (getHostName): Fix empty hostname check, completed documentation. From-SVN: r73962
2003-11-26natDouble.cc (parseDouble): Reverted patch of 2003-11-13.Tom Tromey2-1/+6
* java/lang/natDouble.cc (parseDouble): Reverted patch of 2003-11-13. From-SVN: r73956
2003-11-26URLStreamHandler (parseUrl): Fixed URL parsing ('@' should be checked to ↵Guilhem Lavaux2-7/+33
distinguish port from userinfo). 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org> Mark Wielaard <mark@klomp.org> * java/net/URLStreamHandler (parseUrl): Fixed URL parsing ('@' should be checked to distinguish port from userinfo). (toExternalForm): Add @ userInfo if necessary. Co-Authored-By: Mark Wielaard <mark@klomp.org> From-SVN: r73953
2003-11-262003-11-26 Michael Koch <konqueror@gmx.de>Michael Koch2-42/+37
* java/net/DatagramSocket.java (DategramSocket, bind): Moved binding code from DatagramSocket constructor to bind method. From-SVN: r73952
2003-11-262003-11-26 Michael Koch <konqueror@gmx.de>Michael Koch3-113/+222
* 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-262003-11-26 Michael Koch <konqueror@gmx.de>Michael Koch3-14/+46
* 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-262003-11-26 Michael Koch <konqueror@gmx.de>Michael Koch2-9/+60
* 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-262003-11-26 Michael Koch <konqueror@gmx.de>Michael Koch2-3/+44
* 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-262003-11-26 Michael Koch <konqueror@gmx.de>Michael Koch3-1/+41
* 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-262003-11-26 Michael Koch <konqueror@gmx.de>Michael Koch2-5/+10
* java/net/DatagramPacket.java (DatagramPacket): Fixed documentation to become legal HTML. From-SVN: r73944
2003-11-25javaprims.h: Added missing java.util.Currency.Michael Koch2-0/+5
2003-11-25 Michael Koch <konqueror@gmx.de> * gcj/javaprims.h: Added missing java.util.Currency. From-SVN: r73927
2003-11-25xfails: Removed these two tests, they mystically pass now...Michael Koch2-2/+11
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-252003-11-25 Michael Koch <konqueror@gmx.de>Michael Koch5-107/+354
* 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-25Makefile.in: Rebuilt.Tom Tromey4-0/+65
* 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-242003-11-25 Michael Koch <konqueror@gmx.de>Michael Koch3-39/+55
* 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-242003-11-24 Michael Koch <konqueror@gmx.de>Michael Koch2-91/+248
* 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-23* gnu/java/net/natPlainDatagramSocketImplWin32.ccMichael Koch2-5/+14
(peekData): Use offset and maximal free space in datagram packet. (receive): Likewise. (send): Use offset in datagram packet. From-SVN: r73848
2003-11-222003-11-22 Michael Koch <konqueror@gmx.de>Michael Koch2-5/+14
* 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-222003-11-22 Michael Koch <konqueror@gmx.de>Michael Koch5-7/+21
* 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-22JLayeredPane.java: Implement.Graydon Hoare4-8/+346
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-21* java/lang/Float.java (static): Removed.Mark Wielaard2-14/+5
From-SVN: r73805
2003-11-21TextLayout.java: Implement simple layouts using attributed strings and glyph ↵Graydon Hoare2-8/+157
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-20GdkClasspathFontPeerMetrics.java: New file.Graydon Hoare8-288/+802
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-19[multiple changes]Guilhem Lavaux3-0/+58
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-19FlatteningPathIterator.java: Entirely re-written.Sascha Brawer3-26/+987
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-192003-11-19 Michael Koch <konqueror@gmx.de>Michael Koch2-48/+143
* 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-19libjava.exp: Add DYLD_LIBRARY_PATH for darwin.Andreas Tobler2-7/+31
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-19re PR libgcj/13026 (libgcj verifier failure)Tom Tromey2-3/+10
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-18jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null.Tom Tromey2-2/+9
* jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null. From-SVN: r73707
2003-11-18jar.exp: Cleanup files and reset CLASSPATH.Andreas Tobler2-2/+14
2003-11-18 Andreas Tobler <a.tobler@schweiz.ch> * libjava.jar/jar.exp: Cleanup files and reset CLASSPATH. From-SVN: r73696
2003-11-18* libjava.compile/PR12857.java: New test case.Jeff Sturm2-0/+8
From-SVN: r73692
2003-11-18BasicDefaults.java: Rewrite to spec.Graydon Hoare3-82/+312
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-16re PR libgcj/13062 (StreamTokenizer ignores commentChar)Tom Tromey2-4/+25
PR libgcj/13062: * java/io/StreamTokenizer.java (commentChar): Clear other attributes for character. (quoteChar): Likewise. From-SVN: r73653
2003-11-14GridBagLayout.java (getLayoutDimensions): Return array of two zero-length ↵Tom Fitzsimmons2-5/+22
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* libjava.jar/simple.jar: Replaced.Tom Tromey2-0/+4
From-SVN: r73614
2003-11-14jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to ↵Tom Tromey10-14/+36
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-14jniutf.c: New file.Tom Fitzsimmons4-0/+32
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-13* gnu/java/nio/natSelectorImplPosix.ccMohan Embar2-2/+8
(helper_put_filedescriptors): Change to static linkage. (helper_get_filedescriptors): Likewise. From-SVN: r73545
2003-11-12GtkComponentPeer.java (prepareImage): Remove null check.Tom Fitzsimmons4-9/+5
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-12gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment): Rename to ↵Tom Fitzsimmons2-1/+6
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-12jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.Danny Smith3-13/+37
* 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-12Makefile.am: Add GdkPixbufDecoder.java and ↵Thomas Fitzsimmons11-47/+207
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-11For PR java/12915:Tom Tromey3-0/+11
* libjava.lang/PR12915.java: New file. * libjava.lang/PR12915.out: New file. From-SVN: r73460
2003-11-11jacks.exp (gcj_jacks_write): Enable "assert" constraint.Tom Tromey3-0/+32
* libjava.jacks/jacks.exp (gcj_jacks_write): Enable "assert" constraint. * libjava.jacks/jacks.xfail: Added new xfails. From-SVN: r73458