summaryrefslogtreecommitdiffstats
path: root/libjava/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2003-10-091-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove modality check. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): Initialize insets to use latest insets. * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New field. (postConfigureEvent): Update latestInsets field when insets change. Remove call to setSize. Move validate call outside of if blocks. (setVisible): Call setBounds before showing window. (nativeSetVisible): New native method. * java/awt/Window.java (show): Show visible owned windows. (hide): Hide visible owned windows. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Implement modality using GTK grabs. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (global_gtk_window_group): New global variable. (gtkInit): Initialize global_gtk_window_group. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Clamp width and height values to at least 1. Add this window to the global GTK window group. (setVisible): Rename to nativeSetVisible. (setup_window): Remove function. (setSize): Clamp width and height values to at least 1. (nativeSetBounds): Likewise. (gdk_window_get_root_geometry): Remove function. * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry and setup_window declarations. Declare global_gtk_window_group. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72252 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2003-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (gtkSetFont): Handle BOLD and ITALIC style specifiers. (gtkWidgetSetForeground): New method. * gnu/java/awt/peer/gtk/GtkComponentPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods. (setBackground, setForeground): Implement. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (gtkSetFont): Handle BOLD and ITALIC style specifiers. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): Position PangoLayout relative to text's baseline. * jni/gtk-peer/gtkpeer.h: Define AWT font style constants. * java/awt/FlowLayout.java (layoutContainer): Fix offset problem for CENTER and RIGHT alignments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72246 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-08 Michael Koch <konqueror@gmx.de>mkoch2003-10-081-20/+23
| | | | | | | * java/security/Security.java: Reformated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72240 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-08 Michael Koch <konqueror@gmx.de>mkoch2003-10-081-1/+2
| | | | | | | | | * java/text/SimpleDateFormat.java (compileFormat): Replace Character.isLetter() test with Character.isLowerCase() || Character.isUpperCase(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72239 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StrictMath.java (toDegrees): Multiply beforetromey2003-10-082-4/+10
| | | | | | | | | | | | | | dividing. (toRadians): Likewise. 2003-10-08 C. Brian Jones <cbj@gnu.org> * java/lang/Math.java (toRadians): multiply before dividing to reduce decimal error (toDegrees): ditto git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72238 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-08 Michael Koch <konqueror@gmx.de>mkoch2003-10-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/gcj/protocol/core/Connection.java, gnu/gcj/protocol/core/CoreInputStream.java, gnu/gcj/protocol/core/Handler.java, gnu/gcj/protocol/core/natCoreInputStream.cc, gnu/gcj/protocol/file/Connection.java, gnu/gcj/protocol/file/Handler.java, gnu/gcj/protocol/gcjlib/Connection.java, gnu/gcj/protocol/gcjlib/Handler.java, gnu/gcj/protocol/http/Connection.java, gnu/gcj/protocol/http/Handler.java, gnu/gcj/protocol/jar/Connection.java, gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol. * gnu/java/net/protocol/core/Connection.java, gnu/java/net/protocol/core/CoreInputStream.java, gnu/java/net/protocol/core/Handler.java, gnu/java/net/protocol/core/natCoreInputStream.cc, gnu/java/net/protocol/file/Connection.java, gnu/java/net/protocol/file/Handler.java, gnu/java/net/protocol/gcjlib/Connection.java, gnu/java/net/protocol/gcjlib/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: Moved from gnu/gcj/protocol. * gnu/gcj/runtime/FirstThread.java, java/net/URL.java: Use moved protocol handlers. * Makefile.am (ordinary_java_source_files): Moved files. (nat_source_files): Likewise. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72233 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-08 Michael Koch <konqueror@gmx.de>mkoch2003-10-081-1/+1
| | | | | | | | * java/util/LinkedList.java: Removed whitespace to match classpath's version again. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72230 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-08 Michael Koch <konqueror@gmx.de>mkoch2003-10-081-10/+15
| | | | | | | | | | * java/util/prefs/Preferences.java (defaultFactoryClass): Fixed class name. (getFactory): Create instance of class returned by Class.forName(), reformated code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72229 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>mkoch2003-10-022-13/+28
| | | | | | | | | | | | | * java/net/InetSocketAddress.java (InetSocketAddress): Made exception more clear. (equals): Handle case when addr is null. (toString): Likewise. * java/net/NetworkInterface.java (static): Load native library. (getNetworkInterfaces): Rewritten. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72047 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2003-10-021-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New field. (initializeInsets): New method. (GtkComponentPeer): Call initializeInsets. Call setCursor and setBounds unconditionally. (setBounds): Convert coordinates if parent is a Window. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move field to GtkComponentPeer. (GtkContainerPeer): Don't initialize insets. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): New method. (create): Call new GtkWindowPeer create method. * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets): New method. (create): Call new GtkWindowPeer create method. (setBounds): Remove method. (postConfigureEvent): Likewise. * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window type constants with GDK window type constants. (create(int,boolean,int,int,GtkWindowPeer)): New method. (create(int,boolean)): Likewise. (create()): Call create(int,boolean). (nativeSetBounds): New native method declaration. (setBounds): Call native method declaration. (setSize): New native method declaration. (setBoundsCallback): Likewise. (postConfigureEvent): Handle change in insets. Call setSize and setBoundsCallback methods. * java/awt/Window.java (Window): Set visible to false. (setBoundsCallback): New method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (gtkWidgetGetLocationOnScreen): If this component is not a container, adjust the location returned based on the peer's allocation. (set(String,boolean)): Revert change from 2003-09-19. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Fix inset calculation. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI glue for Window.setBoundsCallback. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Set up stacking order, window decorations and window manager hints. (setBoundsCallback): New method. (setSize): New method. (nativeSetBounds): New method. * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72043 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/VMClassLoader.java (loadClass): Now native.tromey2003-10-022-8/+13
| | | | | | | | * java/lang/natClassLoader.cc (loadClass): Implement. * prims.cc (_Jv_RunMain): Initialize ClassLoader. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72038 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-02 Michael Koch <konqueror@gmx.de>mkoch2003-10-023-18/+45
| | | | | | | | | | | | | | | | | | * java/net/InetAddress.java (zeros): Removed. (ANY_IF): Initalizie in static block. (static): Load library with native methods here and initialize ANY_IF. (isAnyLocalAddress): Check if equal to ANY_IF. (equals): Use addr directly instead of addr1. Simplify for loop. (toString): Rename "result" to "host" and add IP address allways. (getLocalHost): Merged documentation from classpath. * java/net/ServerSocket.java (ServerSocket): New package-private constructor used by java.nio. * java/net/URLConnection.java (getRequestProperties): Check if already connected. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72032 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-02 Michael Koch <konqueror@gmx.de>mkoch2003-10-021-156/+112
| | | | | | | | * java/nio/ByteBufferHelper.java: Rewrote all methods by suggestions from Eric Blake. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72030 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed a little mistake that got into last commit.mkoch2003-10-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72025 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-02 Michael Koch <konqueror@gmx.de>mkoch2003-10-021-7/+13
| | | | | | | | | | | * java/net/URL.java (DEFAULT_SEARCH_PATH): New static variable. (ph_cache): Made it a HashMap. (getURLStreamHandler): Rename propVal to ph_search_path and use DEFAULT_SEARCH_PATH. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72023 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-01 Andrew Haley <aph@redhat.com>aph2003-10-013-50/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * jcf-parse.c (java_parse_file): Write otable and atable. * java-tree.h (atable_methods): New. (atable_decl): New. (atable_syms_decl): New. (enum java_tree_index): Add JTI_ATABLE_METHODS, JTI_ATABLE_DECL, JTI_ATABLE_SYMS_DECL. Rename JTI_METHOD_SYMBOL* to JTI_SYMBOL*. (symbol_*type): Rename method_symbol* to symbol*type. (emit_offset_symbol_table): Delete. (emit_symbol_table): New. (get_symbol_table_index): New. (atable_type): New. * expr.c (build_field_ref): Handle flag_indirect_dispatch. (build_known_method_ref): Likewise. (get_symbol_table_index): Rename from get_offset_table_index. Parameterize to allow re-use by differing types of symbol table. (build_invokevirtual): Pass table to get_offset_table_index. * decl.c (java_init_decl_processing): Push types and decls for atable and atable_syyms. * class.c (build_static_field_ref): Handle flag_indirect_dispatch. (make_class_data): Add new fields atable and atable_syms. (emit_symbol_table): Rename from emit_offset_symbol_table. Parameterize to allow re-use by different types of symbol table. (build_symbol_entry): Renamed from build_method_symbols_entry. 2003-10-01 Andrew Haley <aph@redhat.com> * java/lang/natClass.cc (initializeClass): Check for otable and atable. (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite loops using for(). Search superinterfaces. Check for fields as well as methods. Initialize atable as well as otable: check for static methods as well as virtual methods. * java/lang/Class.h (struct _Jv_AddressTable): New. (atable): New. (atable_syms): New. * include/jvm.h (_Jv_equalUtf8Consts): constify. * prims.cc (_Jv_equalUtf8Consts): constify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71979 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/10596:tromey2003-09-292-26/+95
| | | | | | | | | | | | | | | | | * include/jvm.h (_Jv_FinalizeString, _Jv_RegisterStringFinalizer): Declare. * java/lang/natString.cc (_Jv_FinalizeString): Renamed from unintern. (intern): Updated. (_Jv_NewStringUtf8Const): Likewise. * java/lang/ref/natReference.cc (finalize_referred_to_object): Add special case when finalizing a String. (in_hash): New function. (_Jv_RegisterStringFinalizer): Likewise. (maybe_add_finalize): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71915 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed little typo.mkoch2003-09-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71900 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-29 Michael Koch <konqueror@gmx.de>mkoch2003-09-291-13/+52
| | | | | | | | | | | | | | | | | * java/net/InetAddress.java: (isMulticastAddress): Dont use local variable to store address length. Let the compiler optimize this. (getHostName): Merged dcoumentation from classpath. (getAddress): Likewise. (getHostAddress): Likewise. (hashCode): Likewise. (equals): Likewise. (toString): Likewise. (getByName): Likewise. (getAllByName): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71899 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-29 Michael Koch <konqueror@gmx.de>mkoch2003-09-291-168/+168
| | | | | | | * java/awt/image/IndexColorModel.java: Reformated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71898 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-29 Michael Koch <konqueror@gmx.de>mkoch2003-09-292-51/+59
| | | | | | | | * java/net/InetAddress.java, java/net/URL.java: Reformated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71897 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/DateFormat.java (format): Throw IllegalArgumentExceptionbryce2003-09-282-23/+25
| | | | | | | | | if j' is not a Number or Date instance. * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList instead of Vector. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71871 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/SimpleDateFormat (parse): Revert patch of 2003-09-25.bryce2003-09-281-12/+10
| | | | | | | Don't call setTimeZone on calendar. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71870 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-27 Michael Koch <konqueror@gmx.de>mkoch2003-09-271-2/+7
| | | | | | | * java/net/URL.java (getURLStreamHandler): Compile fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71853 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-27 Michael Koch <konqueror@gmx.de>mkoch2003-09-271-21/+32
| | | | | | | | | | * java/net/URL.java (getURLStreamHandler): Check if we have to use cache before trying to retrieve handler from cache. Rename facName to clsName to match classpath more. Reformated some little pieces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71852 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-26 Michael Koch <konqueror@gmx.de>mkoch2003-09-261-47/+61
| | | | | | | | * java/rmi/server/RMIClassLoader.java: Reformatted file, no functional code changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71831 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-26 Sascha Brawer <brawer@dandelis.ch>mkoch2003-09-262-141/+151
| | | | | | | | | | | | | | * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): Save space for some pixels at the buffer end. Added Javadoc. 2003-09-26 Tom Tromey <tromey@redhat.com> * java/io/ObjectOutputStream.java (writeFields): Fixed indentation. (putFields): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71829 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-26 Michael Koch <konqueror@gmx.de>mkoch2003-09-261-229/+77
| | | | | | | | * java/nio/ByteBufferHelper.java: Totally reworked with help from Eric Blake. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71823 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.tromey2003-09-262-7/+162
| | | | | | | * java/awt/geom/PathIterator.java: Documentation fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71820 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Michael Koch <konqueror@gmx.de>mkoch2003-09-251-12/+3
| | | | | | | | * java/lang/reflect/Proxy.java (getProxyClass): Remove workaround for gcj 3.0.x. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71796 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Ingo Proetel <proetel@aicas.com>mkoch2003-09-251-13/+19
| | | | | | | | * java/io/ObjectOutputStream.java: Allow putFields be called more than once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71791 138bc75d-0d04-0410-961f-82ee72b054a4
* Really commit the files.mkoch2003-09-253-8/+28
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71790 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>mkoch2003-09-251-11/+12
| | | | | | | | * java/text/SimpleDateFormat.java (parse): Don't use class calendar field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71782 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Sascha Brawer <brawer@dandelis.ch>mkoch2003-09-253-3/+66
| | | | | | | | | | | | | | | | * java/awt/font/FontRenderContext.java (getTransform): Return copy of internal transform object. Add Javadoc. * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same winding rule as Sun J2SE. * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix. 2003-09-25 Ingo Proetel <proetel@aicas.com> * java/rmi/Naming.java: Added comments, now accepts pseudo protocol "rmi". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71777 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>mkoch2003-09-251-5/+5
| | | | | | | | | | | | * java/text/DecimalFormat.java (format): Don't immediatly round baseNumber to long. (setMinimumIntegerDigits): Call super. (setMinimumFractionDigits): Likewise. (setMaximumIntegerDigits): Likewise. (setMaximumFractionDigits): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71773 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Michael Koch <konqueror@gmx.de>mkoch2003-09-252-20/+21
| | | | | | | | | | | | | | * java/net/InetAddress.java: Reorder imports, remove implementation comment. (isMulticastAddress): Merged documentation from classpath. * java/net/URLConnection.java (setRequestProperty): Check key for null, fix documentation. (adREquestProperty): Check key for null, remove wrong implementation and replace it with comment to overwrite this method in subclasses, fix documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71767 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Proxy.java (generate): Uncomment protectiontromey2003-09-257-687/+820
| | | | | | | | | | | | | | | | | | | | | | | | | domain code. * java/lang/natClassLoader.cc (defineClass): Added `loader' argument. (linkClass0): Now in VMClassLoader. (markClassErrorState0): Likewise. (getSystemClassLoaderInternal): New method. * java/lang/natClass.cc (initializeClass): Use VMClassLoader::resolveClass. * java/lang/ClassLoader.java: New version, from Classpath. * java/lang/Class.java (getProtectionDomain): protectionDomainPermission and unknownProtectionDomain now in VMClassLoader. * java/lang/Class.h: VMClassLoader now a friend class. * gnu/gcj/runtime/VMClassLoader.java (instance): Now package-private. * gcj/javaprims.h: Regenerated class list. * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass. * java/lang/VMClassLoader.java: New version from Classpath; modified for libgcj use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71765 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Michael Koch <konqueror@gmx.de>mkoch2003-09-254-395/+699
| | | | | | | | | | | | | | | * java/nio/ByteBufferHelper.java: New file. * java/nio/ByteBufferImpl.java, java/nio/DirectByteBufferImpl.java, java/nio/MappedByteBufferImpl.java (getType,putType): Use new helper class ByteBufferHelper. * Makefile.am (ordinary_java_source_files): Added java/nio/ByteBufferHelper.java. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71757 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StringBuffer.java (substring): Don't set `shared' onbryce2003-09-241-4/+5
| | | | | | | small Strings, even if buffer is already shared. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71726 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.neroden2003-09-241-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71710 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCALneroden2003-09-232-0/+12
| | | | | | | markers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71699 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>bryce2003-09-221-2/+3
| | | | | | | | | | | | | | | PR java/12350: * java/lang/StringBuffer.java (substring): Fix handling of shared flag. 2003-09-21 Ralph Loader <suckfish@ihug.co.nz> PR java/12350 * libjava.lang/PR12350.java: New file. * libjava.lang/PR12350.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71651 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-22 Michael Koch <konqueror@gmx.de>mkoch2003-09-221-53/+87
| | | | | | | | | * java/net/InetAddress.java: Moves around some code, reformats and adds documentation. No functional changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71649 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-22 Michael Koch <konqueror@gmx.de>mkoch2003-09-221-12/+17
| | | | | | | | | | | | * java/net/JarURLConnection.java (JarURLConnection): Modifed code to match classpath more, fixed comment. (getCertificates): Made it more error prone. (getMainAttributes): Likewise. (getAttributes): Implemented. (getManifest): Reformatted code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71643 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/Component.java: Indentation cleanup from Classpath.tromey2003-09-202-14/+42
| | | | | | | | | | 2003-09-20 Dalibor Topic <robilad@kaffe.org> * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument checking to follow 1.4.2 spec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71612 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-19 David Daney <ddaney@avtrex.com>tromey2003-09-201-1/+6
| | | | | | | | * java/lang/ref/Reference.java (clear): Set referent to null and synchronize. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71597 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2003-09-193-60/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a top-level GTK window. (getArgs): Add "title" property. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use "allow_shrink" and "allow_grow" properties. * java/awt/Dialog.java: Initialize resizable to true and change comments accordingly. Initialize visible to false in constructors. * java/awt/Frame.java (dispose): Remove method. * java/awt/Window.java (ownedWindows): New field. (Window(Window,GraphicsConfiguration)): Add a weak reference to owner's ownedWindows vector. (finalize): Remove method. (hide): Hide owned windows. (dispose): Dispose of owned windows. (getOwnedWindows): Implement. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove unused GtkArg code. (set(String,boolean)): Clamp gboolean parameter to g_object_set to TRUE or FALSE. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Set window's size requisition. (connectHooks): Fix indentation. (setResizable): Remove function. (static setBounds): Likewise. (setBounds): Replace call to setBounds with GTK size requisition and resize calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71585 138bc75d-0d04-0410-961f-82ee72b054a4
* * win32-threads.cc: (ensure_interrupt_event_initialized) Newmembar2003-09-191-2/+27
| | | | | | | | | | | | | | | | | | | | | | | function for lazy initialization of an auto-reset event. (_Jv_CondWait) Added thread interrupt support. (_Jv_ThreadInitData) Added initialization of interrupt support members. (_Jv_ThreadDestroyData) Added cleanup of interrupt support members. (_Jv_ThreadStart) Removed unused code. (_Jv_Win32GetInterruptEvent) New method for returning interrupt event to an external caller. (_Jv_ThreadInterrupt) Implemented. * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset event for interrupt support as well as a mutex which regulates access to this. (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt event to an external caller. * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned process. (waitFor) Added interrupt support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71562 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-19 Michael Koch <konqueror@gmx.de>mkoch2003-09-192-8/+6
| | | | | | | | | | * java/net/DatagramSocket.java (getLocalAddress): Renamed result variable to localAddr. * java/net/MulticastSocket.java: No need to import gnu.java.net.PlainDatagramSocketImpl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71561 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-18 Sascha Brawer <brawer@dandelis.ch>tromey2003-09-181-2/+2
| | | | | | | | * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl): Replace UTF-8 characters in Javadoc by XML/HTML escape sequence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71549 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud