- 30 Oct, 2003 2 commits
-
-
2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com> * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on word wrapping. From-SVN: r73093
Thomas Fitzsimmons committed -
2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com> * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return scrolled window's size request. From-SVN: r73075
Thomas Fitzsimmons committed
-
- 29 Oct, 2003 8 commits
-
-
2003-10-29 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing. * java/awt/geom/QuadCurve2D.java: Likewise. 2003-10-29 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/CubicCurve2D.java: Added documentation. * java/awt/geom/QuadCurve2D.java: Likewise. * java/awt/geom/doc-files/QuadCurve2D-4.png, java/awt/geom/doc-files/QuadCurve2D-5.png, java/awt/geom/doc-files/CubicCurve2D-4.png, java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations. 2003-10-29 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement. (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation. (subdivide(double[],int,double[],int,double[],int)): Implement. 2003-10-29 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/doc-files/CubicCurve2D-1.png, java/awt/geom/doc-files/CubicCurve2D-2.png, java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations. From-SVN: r73048
Sascha Brawer committed -
From-SVN: r73047
Ito Kazumitsu committed -
2003-10-29 Mark Wielaard <mark@klomp.org> From Guilhem Lavaux <guilhem.lavaux@free.fr> * java/text/DateFormat.java (Field): New public static inner class. * java/text/Format.java (Field): Likewise. (formatToCharacterIterator): New method. * java/text/FormatCharacterIterator.java: New file. 2003-10-29 Mark Wielaard <mark@klomp.org> From Guilhem Lavaux <guilhem.lavaux@free.fr> * java/util/Currency.java: New file. 2003-10-29 Michael Koch <konqueror@gmx.de> * Makefile.am (ordinary_java_source_files): Added java/text/FormatCharacterIterator.java and java/util/Currency.java. * Makefile.in: Regenerated. From-SVN: r73046
Michael Koch committed -
2003-10-29 Dalibor Topic <robilad@kaffe.org> * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public static methods. From-SVN: r73043
Dalibor Topic committed -
2003-10-29 Julian Dolby <dolby@us.ibm.com> * javax/naming/spi/NamingManager.java (getContinuationContext): Call getObjectInstance() with Object, Name, Context and environment Hashtable from exception. Call fillInStackTrace() on exception when rethrown. * javax/naming/InitialContext.java (lookup(Name)): When a CannotProceedException is thrown use the ContinuationContext. (lookup(String)): Likewise. (close): Clear myProps and defaultInitCtx. From-SVN: r73041
Julian Dolby committed -
From-SVN: r73040
Michael Koch committed -
* java/net/InetAddress.java (equals): Remove redundant obj == null check. * java/net/SocketPermission.java (equals): Likewise. * java/net/URL.java (equals): Likewise. (getURLStreamHandler): Likewise. From-SVN: r73034
Michael Koch committed -
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (setOption): Directly return if no error occured. * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Likewise. From-SVN: r73033
Michael Koch committed
-
- 28 Oct, 2003 2 commits
-
-
* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a vtable slot for final methods. Add FIXME comment. From-SVN: r73023
Bryce McKinlay committed -
2003-10-28 David S. Miller <davem@redhat.com> * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0. From-SVN: r73006
David S. Miller committed
-
- 27 Oct, 2003 1 commit
-
-
Reported by Helmer Kraemer <hkraemer@freenet.de> * java/util/jar/JarInputStream.java (readManifest): Don't call closeEntry(). * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method. (finish): Use inbufWrite(). (write(int)): Likewise. (write(byte[],int,int)): Likewise. From-SVN: r72976
Mark Wielaard committed
-
- 26 Oct, 2003 3 commits
-
-
From-SVN: r72944
Bryce McKinlay committed -
* java/lang/reflect/AccessibleObject.java (secureSetAccessible): Don't check for AccessibleObject. Update javadocs. From-SVN: r72943
Bryce McKinlay committed -
2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz> * java/lang/reflect/Constructor.java (toString): Avoid extra whitespace on constructor with no modifiers. * java/lang/reflect/natConstructor.java (newInstance): Look up caller and perform accessibility check only if constructor is non-public and accessible flag is not set. 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz> * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with is_virtual_call argument. * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from natClass.cc. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use _Jv_isVirtualMethod. * java/lang/reflect/natMethod.cc (invoke): Don't use _Jv_LookupDeclaredMethod. (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified, look up method in target object's vtable. From-SVN: r72942
Bryce McKinlay committed
-
- 25 Oct, 2003 3 commits
-
-
2003-10-14 Graydon Hoare <graydon@redhat.com> * gnu/java/awt/ClasspathToolkit.java: New abstract class. * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class. * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: New concrete implementation of ClasspathFontPeer, with native part. * gnu/java/awt/peer/gtk/GdkGlyphVector.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: New class, with native part. * gnu/java/awt/peer/gtk/GdkGraphics2D.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs. From-SVN: r72931
Graydon Hoare committed -
* java/lang/reflect/Method.java (toString): Avoid extra whitespace on method with no modifiers. From-SVN: r72919
Bryce McKinlay committed -
PR libgcj/11780: * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform accessibility check only if target is non-public and accessible flag is not set. * java/lang/reflect/natField.cc (getAddr): Likewise. From-SVN: r72918
Bryce McKinlay committed
-
- 24 Oct, 2003 3 commits
-
-
2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent): Remove method. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent): New method. * java/awt/Window.java (Window(Window,GraphicsConfiguration), show, hide, dispose, getOwnedWindows): Synchronize on tree lock. (dispose): Post WINDOW_CLOSED event. (addWindowFocusListener, addWindowStateListener): Assign result of multicaster add back to window listener. (removeWindowFocusListener, removeWindowStateListener): Assign result of multicaster remove back to window listener. (dispatchEventImpl): Add null checks for focus and state listeners. (processWindowEvent): Handle case where windowListener is null but state or focus listeners exist. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI glue for postWindowEvent. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (window_delete_cb, window_destroy_cb, window_show_cb, window_focus_in_cb, window_focus_out_cb, window_window_state_cb, window_get_new_state): New functions. * jni/gtk-peer/gtkpeer.h: Define window event and frame state macros. Declare postWindowEventID. From-SVN: r72906
Thomas Fitzsimmons committed -
From-SVN: r72903
Anthony Green committed -
2003-10-22 Andrew Haley <aph@redhat.com> * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. (java_get_callee_fndecl): New. * jcf-parse.c (java_parse_file): Call emit_catch_table(). * java-tree.h (ctable_decl): New. (catch_classes): New. (java_tree_index): Add JTI_CTABLE_DECL, JTI_CATCH_CLASSES. * decl.c (java_init_decl_processing): Add catch_class_type. Add ctable_decl. Add catch_classes field. * class.c (build_indirect_class_ref): Break out from build_class_ref. (make_field_value): Check flag_indirect_dispatch. (make_class_data): Ditto. Tidy uses of PUSH_FIELD_VALUE. Add field catch_classes. (make_catch_class_record): New. * java-tree.h (PUSH_FIELD_VALUE): Tidy. 2003-10-22 Andrew Haley <aph@redhat.com> * java/lang/natClass.cc (initializeClass): Call _Jv_linkExceptionClassTable. (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call _Jv_Defer_Resolution on a method whose ncode is NULL. (_Jv_linkExceptionClassTable): New function. (_Jv_LayoutVTableMethods): If superclass looks like a constant pool entry, look it up. * java/lang/Class.h (struct _Jv_CatchClass): New. (_Jv_linkExceptionClassTable): New friend. (_Jv_Defer_Resolution): New friend. (class Class.catch_classes): New field. * include/java-interp.h (Jv_Defer_Resolution): New method. (_Jv_PrepareClass): Make a friend of _Jv_MethodBase. (_Jv_MethodBase.deferred): New field. (_Jv_Defer_Resolution): New function. * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers. * exception.cc (get_ttype_entry): Change return type to void**. (PERSONALITY_FUNCTION): Remove all code related to using a Utf8Const* for a match type. Change match type to be a pointer to a pointer, rather than a pointer to a Class. * defineclass.cc (handleCodeAttribute): Initialize method->deferred. (handleMethodsEnd): Likewise. From-SVN: r72886
Andrew Haley committed
-
- 23 Oct, 2003 1 commit
-
-
natObject.cc (_Jv_ObjectCheckMonitor): Use _Jv_MutexCheckMonitor instead of accessing mutex.owner directly. * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use _Jv_MutexCheckMonitor instead of accessing mutex.owner directly. From-SVN: r72872
Rainer Orth committed
-
- 22 Oct, 2003 7 commits
-
-
PR libgcj/12416: * java/lang/Class.h: Updated. * java/lang/natClass.cc (_getFields): Removed. (getFields): Likewise. (getDeclaredFields): Added `public_only' parameter. * java/lang/Class.java (getFields): Now implemented in java; from Classpath. (getDeclaredFields): Likewise. (getDeclaredFields(boolean)): Declare. (_getFields): Removed. (internalGetFields): New method, from Classpath. From-SVN: r72818
Tom Tromey committed -
PR libgcj/12416: * libjava.lang/PR12416.out: New file. * libjava.lang/PR12416.java: New file. From-SVN: r72817
Tom Tromey committed -
PR libgcj/12656: * gnu/gcj/runtime/natFirstThread.cc (call_main): Use _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal. From-SVN: r72811
Tom Tromey committed -
PR libgcj/12656: * libjava.lang/PR12656.java: New file. * libjava.lang/PR12656.out: New file. From-SVN: r72810
Tom Tromey committed -
2003-10-22 David Daney <ddaney@avtrex.com) * include/mips-signal.h: New file. * sysdep/dwarf2-backtrace.cc: New file. * sysdep/mips: New directory. * sysdep/mips/locks.h: New file. * Makefile.am(extra_cc_files): New, to allow extra c++ files to be added to libgcj. (extra_cc_source_files): Ditto. * configure.host(disable_dladdr): New shell variable passed to configure. (mips*-*-linux*): sysdeps_dir=mips, can_unwind_signal=yes, disable_dladdr=yes, use -mxgot. (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization. * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER (HAVE_DLADDR): Make it depend on setting of disable_dladdr. (EXTRA_CC_FILES): New, to support conditional addition of sysdep/dwarf2-backtrace.cc. * configure: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/config.h.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. From-SVN: r72808
David Daney committed -
2003-10-22 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation. java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration. 2003-10-22 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc. * java/awt/geom/doc-files: New directory. * java/awt/geom/doc-files/QuadCurve2D-1.png, java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations. 2003-10-22 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/QuadCurve2D.java (subdivide): Implement. 2003-10-22 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement. From-SVN: r72791
Sascha Brawer committed -
* java/io/File.java (equals): Removed redundant obj == null check. (createTempFile): Merged comments from classpath. From-SVN: r72790
Michael Koch committed
-
- 21 Oct, 2003 6 commits
-
-
2003-10-21 Sascha Brawer <brawer@dandelis.ch> Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au> * java/util/logging/ErrorManager.java (everUsed): Made volatile. (error): Synchronize on instance, not class. From-SVN: r72750
Sascha Brawer committed -
2003-10-21 Mark Wielaard <mark@klomp.org> Reported by M.Negovanovic * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New method. (reallyFindExplicitBeanInfo): Use new getBeanInfo() method. From-SVN: r72749
Mark Wielaard committed -
2003-10-21 Sascha Brawer <brawer@dandelis.ch> Fix for Classpath bug #6076. * java/awt/geom/GeneralPath.java (append): Re-written. 2003-10-21 Sascha Brawer <brawer@dandelis.ch> Fix for Classpath bug #6089. * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type. (getPathIterator, GeneralPathIterator): Re-written from scratch. 2003-10-21 Sascha Brawer <brawer@dandelis.ch> * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last point, not start of subpath. Fixes Classpath bug #6075. From-SVN: r72748
Sascha Brawer committed -
2003-10-21 Michael Koch <konqueror@gmx.de> * java/nio/ByteOrder.java, java/nio/DirectByteBufferImpl.java, java/nio/channels/FileChannelImpl.java: Add code to load library with code for native methods if needed. From-SVN: r72747
Michael Koch committed -
2003-10-21 Michael Koch <konqueror@gmx.de> * gnu/java/net/PlainDatagramSocketImpl.java, gnu/java/net/PlainSocketImpl.java, gnu/java/net/natPlainDatagramSocketImplPosix.cc, gnu/java/net/natPlainDatagramSocketImplWin32.cc, gnu/java/net/natPlainSocketImplPosix.cc, gnu/java/net/natPlainSocketImplWin32.cc: Renamed fnum to native_fd to match classpath more. From-SVN: r72746
Michael Koch committed -
posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 Jerry Quinn <jlquinn@optonline.net> * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. * include/no-threads.h (_Jv_MutexCheckMonitor): New. * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from _Jv_PthreadCheckMonitor. Simplify code. (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor. * include/win32-threads.h (_Jv_MutexCheckMonitor): New. * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare. * java/lang/Thread.java (holdsLock): New. * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and without JV_HASH_SYNCHRONIZATION. * java/lang/natThread.cc (java::lang::Thread::holdsLock): New. From-SVN: r72741
Jerry Quinn committed
-
- 20 Oct, 2003 1 commit
-
-
* java/text/RuleBasedCollator.java (RuleBasedCollator): Check rules not empty, fixed search in already existing collation elements. (is_special): Removed common whitespace characters. (text_argument): Dont return on whitespaces, add characters between two ' to string buffer. From-SVN: r72716
Michael Koch committed
-
- 18 Oct, 2003 2 commits
-
-
Connection.java, [...]: Merged copyright text from classpath to make it possible to merge the classes. 2003-10-18 Michael Koch <konqueror@gmx.de> * gnu/java/net/protocol/file/Connection.java, gnu/java/net/protocol/file/Handler.java, gnu/java/net/protocol/http/Connection.java, gnu/java/net/protocol/http/Handler.java, gnu/java/net/protocol/jar/Connection.java, gnu/java/net/protocol/jar/Handler.java: Merged copyright text from classpath to make it possible to merge the classes. From-SVN: r72638
Michael Koch committed -
2003-10-18 Mark Wielaard <mark@klomp.org> Reported by M.Negovanovic * java/beans/IndexedPropertyDescriptor.java (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex. From-SVN: r72637
Mark Wielaard committed
-
- 17 Oct, 2003 1 commit
-
-
* win32.cc: (_Jv_pipe) Implemented. * gnu/java/nio/natPipeImpl.cc: (nativeInit) Use _Jv_pipe instead of ::pipe. * include/posix.h: (_Jv_pipe) New inline. * include/win32.h: (_Jv_pipe) New declaration. From-SVN: r72616
Mohan Embar committed
-