OSDN Git Service

3dcb93016e43aac1a5e278f44e0ed9d5f5207f20
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2
3         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
4         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
5
6 2003-11-16  Tom Tromey  <tromey@redhat.com>
7
8         PR libgcj/13062:
9         * java/io/StreamTokenizer.java (commentChar): Clear other
10         attributes for character.
11         (quoteChar): Likewise.
12
13 2003-11-14  Tom Fitzsimmons  <fitzsim@redhat.com>
14
15         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
16         zero-length int arrays when layoutInfo is null.
17         (getLayoutWeights): Return array of two zero-length double arrays when
18         layoutInfo is null.
19
20 2003-11-13  Tom Tromey  <tromey@redhat.com>
21
22         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
23         JvGetStringUTFRegion.
24         * java/lang/natPosixProcess.cc (new_string): Pass length of string
25         to JvGetStringUTFRegion.
26         * java/lang/natDouble.cc (parseDouble): Pass length of string to
27         JvGetStringUTFRegion.
28         * java/lang/natWin32Process.cc (startProcess): Pass length of
29         string to JvGetStringUTFRegion.
30         * java/lang/natClass.cc (forName): Pass length of string to
31         JvGetStringUTFRegion.
32         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
33         of string to JvGetStringUTFRegion.
34         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
35         JvGetStringUTFRegion.
36         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
37         to JvGetStringUTFRegion.
38         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
39         string to JvGetStringUTFRegion.
40
41 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
42
43         * gnu/java/nio/natSelectorImplPosix.cc
44         (helper_put_filedescriptors): Change to static linkage.
45         (helper_get_filedescriptors): Likewise.
46
47 2003-11-12  Tom Fitzsimmons  <fitzsim@redhat.com>
48
49         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
50         null check.
51         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
52         * java/awt/Component.java (prepareImage): Likewise.
53
54         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
55         Rename to nativeSetAlignment.
56
57 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
58
59         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
60         (JNI_GetCreatedJavaVMs): Likewise.
61         (JNI_GetDefaultJavaVMInitArgs): Likewise.
62         * include/jni.h (JNIIMPEXP): Remove definition
63         and replace with...
64         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
65         symbols,
66         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
67
68 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
69
70         * Makefile.am: Add GdkPixbufDecoder.java and
71         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
72         * Makefile.in: Regenerate.
73         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
74         New constructor.
75         (startProduction): Create ByteArrayInputStream when url and filename are
76         null.
77         (produce): Declare stream parameter as InputStream.
78         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
79         as InputStream.
80         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
81         (GdkPixbufDecoder(byte[],int,int)): New constructor.
82         (produce): Declare stream parameter as InputStream.
83         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
84         if image is null.  Set image's observer before running PrepareImage
85         thread.  Pass image to startProduction.
86         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
87         source's member functions.
88         (observer): New field.
89         (setObserver): New method.
90         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
91         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
92         new GtkImage.
93         (prepareImage): Implement.
94         * java/awt/Component.java: Add static fields incrementalDraw and
95         redrawRate.
96         (imageUpdate): Implement.
97         (createImage): Call Toolkit's createImage if peer is null.
98         (prepareImage): Throw NPE if image is null.
99         * java/awt/MediaTracker.java: Fix return value.
100
101 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
102
103         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
104         (create(String, float)): New method.
105         (setText): Make native.
106         (nativeSetAlignment): New method.
107         (setAlignment): Call nativeSetAlignment.
108         (getArgs): Remove method.
109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
110         (find_fg_color_widget, find_bg_color_widget): New functions.
111         (gtkWidgetSetForeground): Call find_fg_color_widget.
112         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
113         prelight colors.
114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
115         widget in event box.
116         (setText, setAlignment): Implement new native methods.
117
118 2003-11-11  Michael Koch  <konqueror@gmx.de>
119
120         * java/awt/Font.java,
121         java/awt/datatransfer/DataFlavor.java,
122         java/math/BigInteger.java,
123         java/net/Inet4Address.java,
124         java/net/Inet6Address.java,
125         java/rmi/MarshalledObject.java,
126         java/rmi/server/RMIClassLoader.java,
127         java/security/cert/CertStore.java,
128         java/sql/Timestamp.java,
129         java/text/SimpleDateFormat.java,
130         javax/naming/CompoundName.java:
131         Removed some redundant obj == null checks.
132
133 2003-11-11  Michael Koch  <konqueror@gmx.de>
134
135         * java/nio/ByteBuffer.java
136         (equals): Remove redundant obj == null check.
137
138 2003-11-11  Michael Koch  <konqueror@gmx.de>
139
140         * gnu/java/nio/natPipeImpl.cc,
141         gnu/java/nio/natSelectorImpl.cc: Removed
142         * gnu/java/nio/natPipeImplEcos.cc,
143         gnu/java/nio/natPipeImplPosix.cc,
144         gnu/java/nio/natPipeImplWin32.cc,
145         gnu/java/nio/natSelectorImplEcos.cc,
146         gnu/java/nio/natSelectorImplPosix.cc,
147         gnu/java/nio/natSelectorImplWin32.cc: New files
148         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
149         gnu/java/nio/natSelectorImpl.cc
150         * configure: Regenerated.
151
152 2003-11-11  Micheal Koch  <konqueror@gmx.de>
153
154         * java/net/URLStreamHandler.java (toExternalForm): Print port only
155         if host is printed too and port was really given to URL.
156
157 2003-11-10  Gary Benson  <gbenson@redhat.com>
158
159         * java/sql/Timestamp.java (valueOf): Correctly handle
160         nanoseconds.
161
162 2003-11-09  Tom Tromey  <tromey@redhat.com>
163
164         * java/net/Inet4Address.java (serialVersionUID): Updated.
165
166 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
167
168         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
169         New fields.
170
171 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
172
173         * java/io/ByteArrayOutputStream.java (resize):
174         Fix off-by-one error.
175
176 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
177
178         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
179         public.
180
181 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
182
183         PR libgcj/12231
184         * java/lang/Win32Process.java (hasExited) Changed from
185         public to private.
186         (startProcess): Likewise.
187         (cleanup): Likewise.
188         * java/lang/natWin32Process.cc (cleanup) Don't close
189         input, output and error streams.
190         (ChildProcessPipe): New helper class.
191         (startProcess): Refactored to use ChildProcessPipe.
192         Use CREATE_NO_WINDOW when launching child process.
193
194 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
195
196         * include/win32.h (_Jv_platform_close_on_exec): Changed
197         signature and declared extern.
198         * win32.cc (_Jv_platform_close_on_exec): Implemented.
199         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
200         (create): Use new signature of _Jv_platform_close_on_exec.
201         * gnu/java/net/natPlainSocketImplWin32.cc 
202         (create): Eliminated a few typecasts
203         Use new signature of _Jv_platform_close_on_exec.
204         (accept): Eliminated a few typecasts
205         Use new signature of _Jv_platform_close_on_exec.
206         * java/io/natFileDescriptorWin32.cc (open): Use
207         _Jv_platform_close_on_exec.
208
209 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
210
211         * java/lang/natClass.cc (newInstance): Throw InstantiationException
212         if class has no null-argument constructor.
213
214 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
215
216         PR libgcj/12647:
217         * win32-threads.cc (_Jv_CondWait): Respect mutex's
218         refcount when releasing and reacquiring it.
219
220 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
221
222         * win32.cc: (dirExists) Internal helper function to
223         test for directory existence.
224         (getUserHome) New helper function refactored out
225         of _Jv_platform_initProperties. Uses USERPROFILE
226         instead of HOMEDIR and attempts to support Win9X and NT.
227         (_Jv_platform_initProperties) Use getUserHome.
228
229 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
230
231         PR libgcj/11521:
232         * gnu/java/net/natPlainSocketImplWin32.cc
233         (bind): Don't use SO_REUSEADDR
234
235 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
236
237         PR libgcj/6652:
238         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
239
240 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
241
242         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
243         dispatch for final methods.
244
245 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
246
247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
248         word wrapping.
249
250 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
251
252         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
253         scrolled window's size request.
254
255 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
256
257         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
258         * java/awt/geom/QuadCurve2D.java: Likewise.
259
260 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
261
262         * java/awt/geom/CubicCurve2D.java: Added documentation.
263         * java/awt/geom/QuadCurve2D.java: Likewise.
264
265         * java/awt/geom/doc-files/QuadCurve2D-4.png,
266         java/awt/geom/doc-files/QuadCurve2D-5.png,
267         java/awt/geom/doc-files/CubicCurve2D-4.png,
268         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
269
270 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
271
272         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
273         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
274         (subdivide(double[],int,double[],int,double[],int)): Implement.
275
276 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
277
278         * java/awt/geom/doc-files/CubicCurve2D-1.png,
279         java/awt/geom/doc-files/CubicCurve2D-2.png,
280         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
281
282 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
283
284         * java/text/DecimalFormat.java
285         (scanFormat) corrected so that '%' may appear in a pattern.
286
287 2003-10-29  Mark Wielaard  <mark@klomp.org>
288
289         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
290         * java/text/DateFormat.java (Field): New public static inner class.
291         * java/text/Format.java (Field): Likewise.
292         (formatToCharacterIterator): New method.
293         * java/text/FormatCharacterIterator.java: New file.
294
295 2003-10-29  Mark Wielaard  <mark@klomp.org>
296
297         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
298         * java/util/Currency.java: New file.
299
300 2003-10-29  Michael Koch  <konqueror@gmx.de>
301
302         * Makefile.am (ordinary_java_source_files): Added
303         java/text/FormatCharacterIterator.java and java/util/Currency.java.
304         * Makefile.in: Regenerated.
305
306 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
307
308         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
309         static methods.
310
311 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
312
313         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
314         getObjectInstance() with Object, Name, Context and environment
315         Hashtable from exception. Call fillInStackTrace() on exception when
316         rethrown.
317         * javax/naming/InitialContext.java (lookup(Name)): When a
318         CannotProceedException is thrown use the ContinuationContext.
319         (lookup(String)): Likewise.
320         (close): Clear myProps and defaultInitCtx.
321
322 2003-10-29  Michael Koch  <konqueror@gmx.de>
323
324         * java/net/InetAddress.java
325         (equals): Remove redundant obj == null check.
326         * java/net/SocketPermission.java
327         (equals): Likewise.
328         * java/net/URL.java
329         (equals): Likewise.
330         (getURLStreamHandler): Likewise.
331
332 2003-10-29  Michael Koch  <konqueror@gmx.de>
333
334         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
335         (setOption): Directly return if no error occured.
336         * gnu/java/net/natPlainSocketImplPosix.cc
337         (setOption): Likewise.
338
339 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
340
341         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
342         vtable slot for final methods. Add FIXME comment.
343
344 2003-10-28  David S. Miller  <davem@redhat.com>
345
346         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
347
348 2003-10-26  Mark Wielaard  <mark@klomp.org>
349
350         Reported by Helmer Kraemer <hkraemer@freenet.de>
351         * java/util/jar/JarInputStream.java (readManifest): Don't call
352         closeEntry().
353
354         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
355         (finish): Use inbufWrite().
356         (write(int)): Likewise.
357         (write(byte[],int,int)): Likewise.
358
359 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
360
361         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
362         Don't check for AccessibleObject. Update javadocs.
363         
364         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
365
366 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
367
368         * java/lang/reflect/Constructor.java (toString): Avoid extra 
369         whitespace on constructor with no modifiers.
370         * java/lang/reflect/natConstructor.java (newInstance): Look up
371         caller and perform accessibility check only if constructor is
372         non-public and accessible flag is not set.
373
374 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
375
376         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
377         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
378         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
379         is_virtual_call argument.
380         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
381         natClass.cc.
382         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
383         _Jv_isVirtualMethod.
384         * java/lang/reflect/natMethod.cc (invoke): Don't use 
385         _Jv_LookupDeclaredMethod.
386         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
387         look up method in target object's vtable.
388
389 2003-10-25  Graydon Hoare  <graydon@redhat.com>
390
391         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
392         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
393         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
394         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
395         New concrete implementation of ClasspathFontPeer, with native part.
396         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
397         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
398         New class, with native part.
399         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
400         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
401         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
402
403 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
404
405         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
406         on method with no modifiers.
407
408 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
409
410         PR libgcj/11780:
411         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
412         accessibility check only if target is non-public and accessible flag
413         is not set.
414         * java/lang/reflect/natField.cc (getAddr): Likewise.
415
416 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
417
418         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
419         Remove method.
420         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
421         New method.
422         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
423         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
424         (dispose): Post WINDOW_CLOSED event.
425         (addWindowFocusListener, addWindowStateListener): Assign result
426         of multicaster add back to window listener.
427         (removeWindowFocusListener, removeWindowStateListener): Assign
428         result of multicaster remove back to window listener.
429         (dispatchEventImpl): Add null checks for focus and state
430         listeners.
431         (processWindowEvent): Handle case where windowListener is null
432         but state or focus listeners exist.
433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
434         glue for postWindowEvent.
435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
436         (window_delete_cb, window_destroy_cb, window_show_cb,
437         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
438         window_get_new_state): New functions.
439         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
440         macros.  Declare postWindowEventID.
441
442 2003-10-24  Anthony Green  <green@redhat.com>
443
444         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
445         we have no interpreter.
446
447 2003-10-22  Andrew Haley  <aph@redhat.com>
448
449         * java/lang/natClass.cc (initializeClass): Call
450         _Jv_linkExceptionClassTable.
451         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
452         _Jv_Defer_Resolution on a method whose ncode is NULL.
453         (_Jv_linkExceptionClassTable): New function.
454         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
455         entry, look it up.
456         * java/lang/Class.h (struct _Jv_CatchClass): New.
457         (_Jv_linkExceptionClassTable): New friend.
458         (_Jv_Defer_Resolution): New friend.
459         (class Class.catch_classes): New field.
460         * include/java-interp.h (Jv_Defer_Resolution): New method.
461         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
462         (_Jv_MethodBase.deferred): New field.
463         (_Jv_Defer_Resolution): New function.
464         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
465         * exception.cc (get_ttype_entry): Change return type to void**.
466         (PERSONALITY_FUNCTION): Remove all code related to using a
467         Utf8Const* for a match type.  Change match type to be a pointer to
468         a pointer, rather than a pointer to a Class.
469         * defineclass.cc (handleCodeAttribute): Initialize
470         method->deferred.
471         (handleMethodsEnd): Likewise.
472
473 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
474
475         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
476         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
477
478 2003-10-22  Tom Tromey  <tromey@redhat.com>
479
480         PR libgcj/12416:
481         * java/lang/Class.h: Updated.
482         * java/lang/natClass.cc (_getFields): Removed.
483         (getFields): Likewise.
484         (getDeclaredFields): Added `public_only' parameter.
485         * java/lang/Class.java (getFields): Now implemented in java; from
486         Classpath.
487         (getDeclaredFields): Likewise.
488         (getDeclaredFields(boolean)): Declare.
489         (_getFields): Removed.
490         (internalGetFields): New method, from Classpath.
491
492         PR libgcj/12656:
493         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
494         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
495
496 2003-10-22  David Daney  <ddaney@avtrex.com)
497
498         * include/mips-signal.h: New file.
499         * sysdep/dwarf2-backtrace.cc: New file.
500         * sysdep/mips: New directory.
501         * sysdep/mips/locks.h: New file.
502         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
503         added to libgcj.
504         (extra_cc_source_files): Ditto.
505         * configure.host(disable_dladdr):  New shell variable passed to
506         configure.
507         (mips*-*-linux*): sysdeps_dir=mips,
508         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
509         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
510         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
511         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
512         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
513         (EXTRA_CC_FILES): New, to support conditional addition of
514         sysdep/dwarf2-backtrace.cc.
515         * configure: Regenerated.
516         * Makefile.in: Regenerated.
517         * gcj/Makefile.in: Regenerated.
518         * include/config.h.in: Regenerated.
519         * include/Makefile.in: Regenerated.
520         * testsuite/Makefile.in: Regenerated.
521         
522 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
523
524         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
525         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
526
527 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
528
529         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
530         * java/awt/geom/doc-files: New directory.
531         * java/awt/geom/doc-files/QuadCurve2D-1.png,
532         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
533         
534 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
535
536         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
537
538 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
539
540         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
541
542 2003-10-22  Michael Koch  <konqueror@gmx.de>
543
544         * java/io/File.java
545         (equals): Removed redundant obj == null check.
546         (createTempFile): Merged comments from classpath.
547
548 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
549
550         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
551         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
552         (error): Synchronize on instance, not class.
553
554 2003-10-21  Mark Wielaard  <mark@klomp.org>
555
556         Reported by M.Negovanovic
557         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
558         method.
559         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
560
561 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
562
563         Fix for Classpath bug #6076.
564         * java/awt/geom/GeneralPath.java (append): Re-written.
565
566 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
567
568         Fix for Classpath bug #6089.
569         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
570         (getPathIterator, GeneralPathIterator): Re-written from scratch.
571
572 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
573
574         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
575         point, not start of subpath.  Fixes Classpath bug #6075.
576
577 2003-10-21  Michael Koch  <konqueror@gmx.de>
578
579         * java/nio/ByteOrder.java,
580         java/nio/DirectByteBufferImpl.java,
581         java/nio/channels/FileChannelImpl.java:
582         Add code to load library with code for native methods if needed.
583
584 2003-10-21  Michael Koch  <konqueror@gmx.de>
585
586         * gnu/java/net/PlainDatagramSocketImpl.java,
587         gnu/java/net/PlainSocketImpl.java,
588         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
589         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
590         gnu/java/net/natPlainSocketImplPosix.cc,
591         gnu/java/net/natPlainSocketImplWin32.cc:
592         Renamed fnum to native_fd to match classpath more.
593
594 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
595
596         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
597         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
598         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
599         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
600         _Jv_PthreadCheckMonitor.  Simplify code.
601         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
602         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
603         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
604         * java/lang/Thread.java (holdsLock): New.
605         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
606         without JV_HASH_SYNCHRONIZATION.
607         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
608
609 2003-10-20  Michael Koch  <konqueror@gmx.de>
610
611         * java/text/RuleBasedCollator.java
612         (RuleBasedCollator): Check rules not empty, fixed search in already
613         existing collation elements.
614         (is_special): Removed common whitespace characters.
615         (text_argument): Dont return on whitespaces, add characters between
616         two ' to string buffer.
617
618 2003-10-18  Michael Koch  <konqueror@gmx.de>
619
620         * gnu/java/net/protocol/file/Connection.java,
621         gnu/java/net/protocol/file/Handler.java,
622         gnu/java/net/protocol/http/Connection.java,
623         gnu/java/net/protocol/http/Handler.java,
624         gnu/java/net/protocol/jar/Connection.java,
625         gnu/java/net/protocol/jar/Handler.java:
626         Merged copyright text from classpath to make
627         it possible to merge the classes.
628
629 2003-10-18  Mark Wielaard  <mark@klomp.org>
630
631         Reported by M.Negovanovic
632         * java/beans/IndexedPropertyDescriptor.java
633         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
634
635 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
636
637         * win32.cc (_Jv_pipe): Implemented.
638         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
639         _Jv_pipe instead of ::pipe.
640         * include/posix.h (_Jv_pipe): New inline.
641         * include/win32.h (_Jv_pipe): New declaration.
642         
643 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
644
645         * java/lang/StringBuffer.java (getChars): Fix array index checks.
646         (append, substring, insert): Likewise.
647         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
648         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
649         
650 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
651
652         * java/lang/natString.cc (getChars):
653         Fix validation of array indexes.
654         (getBytes, regionMatches, startsWith, valueOf): Likewise.
655         * testsuite/libjava.lang/String_overflow.java: New file.
656         * testsuite/libjava.lang/String_overflow.out: New file.
657
658 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
659
660         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
661         overflow a jint.
662         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
663         check for overflowing size_t, since the lower level functions
664         take a jint.
665         * testsuite/libjava.lang/newarray_overflow.java:  New file.
666         * testsuite/libjava.lang/newarray_overflow.out:  New file.
667         
668 2003-10-15  Michael Koch  <konqueror@gmx.de>
669
670         * java/text/RuleBasedCollator.java
671         (RuleBasedCollator): Moved around, documentation added.
672         (compare): Documentation added.
673         (equals): Likewise.
674         (getCollationElementIterator): Likewise.
675         (getCollationKey): Likewise.
676         (getRules): Likewise.
677         (hashCode): Likewise.
678
679 2003-10-15  Michael Koch  <konqueror@gmx.de>
680
681         * java/text/RuleBasedCollator.java
682         (CollationElement): Renamed from RBCElement and moved into
683         RuledBasedCollator as inner class.
684
685 2003-10-15  Michael Koch  <konqueror@gmx.de>
686
687         * java/text/CollationElementIterator.java
688         (CollationElementIterator): Moved, documenatation added, call setText.
689         (next): Reformated.
690         (reset): Reformated.
691         (setText): New method.
692         (getOffset): New method.
693         * java/text/CollationKey.java
694         (getSourceString): Reformated.
695         (hashCode): Reformated.
696         (toByteArray): Reformated.
697
698 2003-10-15  Michael Koch  <konqueror@gmx.de>
699
700         * java/util/zip/InflaterInputStream.java
701         (InflaterInputStream): Renamed infl to inf and bufsize to size,
702         added description to exception, check for inf == null and size < 0.
703
704 2003-10-15  Michael Koch  <konqueror@gmx.de>
705
706         * java/text/AttributedCharacterIterator.java,
707         java/text/CharacterIterator.java: Reformated.
708
709 2003-10-15  Michael Koch  <konqueror@gmx.de>
710
711         * javax/swing/UIDefaults.java (putDefaults):
712         Readded accidently removed "public" modifier.
713
714 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
715
716         * interpret.cc (_Jv_InterpMethod::run): Don't
717         use libffi types, they were meant to be internal.
718         * gcj/javaprims.h (_Jv_ulong): New typedef.
719
720 2003-10-13  Tom Tromey  <tromey@redhat.com>
721
722         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
723         (defineClass): Updated.
724         (_Jv_NewClass): Likewise.
725         * prims.cc (_Jv_InitPrimClass): Don't call
726         _Jv_InitNewClassFields.
727
728 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
729
730         PR libgcj/12592
731         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
732         not just \n.
733
734 2003-10-13  Michael Koch  <konqueror@gmx.de>
735
736         * java/io/File.java: Reformated.
737         (equals): Check for obj == null.
738
739 2003-10-13  Michael Koch  <konqueror@gmx.de>
740
741         * java/net/JarURLConnection.java
742         (jarFileURL): Added dcoumentation.
743         (jarFileURLConnection): Reformated documentation.
744         (entryName): Renamed from "element", documentation rewritten.
745         (connectionCache): Renamed from "conn_cache", documentation
746         reformated.
747         (JarURLConnection): Check URL protocol.
748         (getEntryName): Use entryName.
749         (connect): Use connectionCache.
750         (getInputStream): Use entryName, fixed comment.
751         (getJarEntry): Use entryName.
752         (getHeaders): Use entryName.
753         * java/net/URLConnection.java
754         (addRequestProperty): Fixed documentation.
755         (setDefaultRequestProptery): Added comment that it does nothing since
756         JDK 1.3.
757         (getDefaultRequestProperty): Likewise.
758
759 2003-10-13  Michael Koch  <konqueror@gmx.de>
760
761         * java/net/java/net/URLStreamHandlerFactory.java
762         (createURLStreamHandler): Removed redundant "public" modifier.
763         * java/sql/DatabaseMetaData.java:
764         (DatabaseMetaData):  Readded accidently removed "public" modifier.
765         * java/sql/ParameterMetaData.java:
766         (ParameterMetaData): Readded accidently removed "public" modifier.
767         * java/sql/PreparedStatement.java:
768         (PreparedStatement): Readded accidently removed "public" modifier.
769         * java/sql/Ref.java:
770         (Ref): Readded accidently removed "public" modifier.
771
772 2003-10-13  Michael Koch  <konqueror@gmx.de>
773
774         * java/nio/Buffer.java
775         (hasRemaining): Made implementation more clear.
776         * java/nio/MappedByteBuffer.java
777         (loaded): New member variable.
778         (force): Added comment.
779         (isLoaded): Return value of loaded.
780         (load): Set loaded to true, added comment.
781
782 2003-10-12  Michael Koch  <konqueror@gmx.de>
783
784         * gnu/java/nio/PipeImpl.java
785         (SourceChannelImpl): New inner class.
786         (SinkChannelImpl): New inner class.
787         (sink): New member variable.
788         (source): New member variable.
789         (PipeImpl): Add SelectorProvider argument, implemented.
790         (nativeInit): New method.
791         (sink): Return sink channel.
792         (source): Return source channel.
793         * gnu/java/nio/SelectorProviderImpl.java
794         (openPipe): Give provider as argument to PipeImpl constructor.
795         * java/nio/channels/spi/SelectorProvider.java
796         (pr): Removed.
797         (systemDefaultProvider): New member variable.
798         (provider): Made it synchronized, use property
799         java.nio.channels.spi.SelectorProvider.
800         * gnu/java/nio/natPipeImpl.cc: New file.
801         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
802         * Makefile.in: Regenerated.
803
804 2003-10-12  Michael Koch  <konqueror@gmx.de>
805
806         * javax/swing/table/DefaultTableModel.java,
807         javax/swing/table/TableCellEditor.java,
808         javax/swing/table/TableCellRenderer.java,
809         javax/swing/table/TableColumnModel.java,
810         javax/swing/table/TableModel.java,
811         javax/swing/text/AbstractDocument.java,
812         javax/swing/text/Document.java,
813         javax/swing/text/MutableAttributeSet.java,
814         javax/swing/text/StyledDocument.java,
815         javax/swing/text/ViewFactory.java,
816         javax/swing/tree/DefaultMutableTreeNode.java,
817         javax/swing/tree/MutableTreeNode.java,
818         javax/swing/tree/RowMapper.java,
819         javax/swing/tree/TreeCellEditor.java,
820         javax/swing/tree/TreeCellRenderer.java,
821         javax/swing/tree/TreeModel.java,
822         javax/swing/tree/TreeNode.java,
823         javax/swing/tree/TreeSelectionModel.java,
824         javax/swing/undo/StateEditable.java,
825         javax/swing/undo/UndoableEdit.java:
826         Removed redundant modifiers.
827
828 2003-10-12  Michael Koch  <konqueror@gmx.de>
829
830         * javax/swing/event/AncestorListener.java,
831         javax/swing/event/CaretListener.java,
832         javax/swing/event/CellEditorListener.java,
833         javax/swing/event/ChangeListener.java,
834         javax/swing/event/DocumentEvent.java,
835         javax/swing/event/DocumentListener.java,
836         javax/swing/event/HyperlinkListener.java,
837         javax/swing/event/InternalFrameListener.java,
838         javax/swing/event/ListDataListener.java,
839         javax/swing/event/ListSelectionListener.java,
840         javax/swing/event/MenuDragMouseListener.java,
841         javax/swing/event/MenuKeyListener.java,
842         javax/swing/event/MenuListener.java,
843         javax/swing/event/MouseInputListener.java,
844         javax/swing/event/PopupMenuListener.java,
845         javax/swing/event/TableColumnModelListener.java,
846         javax/swing/event/TableModelListener.java,
847         javax/swing/event/TreeExpansionListener.java,
848         javax/swing/event/TreeModelListener.java,
849         javax/swing/event/TreeSelectionListener.java,
850         javax/swing/event/TreeWillExpandListener.java,
851         javax/swing/event/UndoableEditListener.java,
852         javax/swing/plaf/UIResource.java,
853         javax/swing/plaf/metal/MetalLookAndFeel.java:
854         Removed redundant modifiers.
855
856 2003-10-12  Michael Koch  <konqueror@gmx.de>
857
858         * javax/swing/Action.java,
859         javax/swing/BoundedRangeModel.java,
860         javax/swing/CellEditor.java,
861         javax/swing/ComboBoxEditor.java,
862         javax/swing/ComboBoxModel.java,
863         javax/swing/DesktopManager.java,
864         javax/swing/JComboBox.java,
865         javax/swing/ListCellRenderer.java,
866         javax/swing/ListSelectionModel.java,
867         javax/swing/MenuElement.java,
868         javax/swing/MutableComboBoxModel.java,
869         javax/swing/Renderer.java,
870         javax/swing/RootPaneContainer.java,
871         javax/swing/ScrollPaneConstants.java,
872         javax/swing/SingleSelectionModel.java,
873         javax/swing/SpinnerModel.java,
874         javax/swing/SwingConstants.java,
875         javax/swing/UIDefaults.java,
876         javax/swing/WindowConstants.java,
877         javax/swing/border/Border.java,
878         javax/swing/colorchooser/ColorSelectionModel.java:
879         Removed redundant modifiers.
880
881 2003-10-11  Michael Koch  <konqueror@gmx.de>
882
883         * javax/transaction/Status.java,
884         javax/transaction/Synchronization.java,
885         javax/transaction/Transaction.java,
886         javax/transaction/TransactionManager.java,
887         javax/transaction/UserTransaction.java,
888         javax/transaction/xa/XAResource.java,
889         javax/transaction/xa/Xid.java:
890         Removing redundant modifiers.
891
892 2003-10-11  Michael Koch  <konqueror@gmx.de>
893
894         * javax/print/attribute/Attribute.java,
895         javax/print/attribute/AttributeSet.java,
896         javax/print/attribute/PrintRequestAttributeSet.java:
897         Removing redundant modifiers.
898
899 2003-10-11  Michael Koch  <konqueror@gmx.de>
900
901         * javax/sql/ConnectionEventListener.java,
902         javax/sql/ConnectionPoolDataSource.java,
903         javax/sql/DataSource.java,
904         javax/sql/PooledConnection.java,
905         javax/sql/RowSet.java,
906         javax/sql/RowSetInternal.java,
907         javax/sql/RowSetListener.java,
908         javax/sql/RowSetMetaData.java,
909         javax/sql/RowSetReader.java,
910         javax/sql/RowSetWriter.java,
911         javax/sql/XAConnection.java,
912         javax/sql/XADataSource.java:
913         Removing redundant modifiers.
914
915 2003-10-11  Michael Koch  <konqueror@gmx.de>
916
917         * javax/naming/Context.java,
918         javax/naming/Name.java,
919         javax/naming/NameParser.java,
920         javax/naming/NamingEnumeration.java,
921         javax/naming/Referenceable.java,
922         javax/naming/directory/Attribute.java,
923         javax/naming/directory/Attributes.java,
924         javax/naming/directory/DirContext.java,
925         javax/naming/event/EventContext.java,
926         javax/naming/event/EventDirContext.java,
927         javax/naming/event/NamespaceChangeListener.java,
928         javax/naming/event/NamingListener.java,
929         javax/naming/event/ObjectChangeListener.java,
930         javax/naming/ldap/Control.java,
931         javax/naming/ldap/ExtendedRequest.java,
932         javax/naming/ldap/ExtendedResponse.java,
933         javax/naming/ldap/HasControls.java,
934         javax/naming/ldap/LdapContext.java,
935         javax/naming/ldap/UnsolicitedNotification.java,
936         javax/naming/ldap/UnsolicitedNotificationListener.java,
937         javax/naming/spi/DirObjectFactory.java,
938         javax/naming/spi/DirStateFactory.java,
939         javax/naming/spi/InitialContextFactory.java,
940         javax/naming/spi/InitialContextFactoryBuilder.java,
941         javax/naming/spi/ObjectFactory.java,
942         javax/naming/spi/ObjectFactoryBuilder.java,
943         javax/naming/spi/Resolver.java,
944         javax/naming/spi/StateFactory.java:
945         Removing redundant modifiers.
946
947 2003-10-11  Michael Koch  <konqueror@gmx.de>
948
949         * java/security/Key.java,
950         * java/security/PrivateKey.java,
951         * java/security/PublicKey.java,
952         * java/security/acl/Acl.java,
953         * java/security/acl/AclEntry.java,
954         * java/security/acl/Group.java,
955         * java/security/acl/Owner.java,
956         * java/security/acl/Permission.java,
957         * java/security/cert/X509Extension.java,
958         * java/security/interfaces/DSAKey.java,
959         * java/security/interfaces/DSAKeyPairGenerator.java,
960         * java/security/interfaces/DSAParams.java,
961         * java/security/interfaces/DSAPrivateKey.java,
962         * java/security/interfaces/DSAPublicKey.java,
963         * java/security/interfaces/RSAKey.java,
964         * java/security/interfaces/RSAPrivateCrtKey.java,
965         * java/security/interfaces/RSAPrivateKey.java,
966         * java/security/interfaces/RSAPublicKey.java:
967         Removed redundant modifiers.
968
969 2003-10-11  Michael Koch  <konqueror@gmx.de>
970
971         * gnu/java/rmi/server/ProtocolConstants.java,
972         gnu/java/security/der/DER.java:
973         Removing redundant modifiers.
974
975 2003-10-11  Michael Koch  <konqueror@gmx.de>
976
977         * java/util/Map.java,
978         java/util/Observer.java,
979         java/util/zip/Checksum.java,
980         java/util/zip/ZipConstants.java:
981         Removed redundant modifiers.
982
983 2003-10-11  Michael Koch  <konqueror@gmx.de>
984
985         * java/text/AttributedCharacterIterator.java,
986         java/text/CharacterIterator.java:
987         Removed redundant modifiers.
988
989 2003-10-11  Michael Koch  <konqueror@gmx.de>
990
991         * java/sql/Array.java,
992         java/sql/Blob.java,
993         java/sql/CallableStatement.java,
994         java/sql/Clob.java,
995         java/sql/Connection.java,
996         java/sql/DatabaseMetaData.java,
997         java/sql/Driver.java,
998         java/sql/ParameterMetaData.java,
999         java/sql/PreparedStatement.java,
1000         java/sql/Ref.java,
1001         java/sql/ResultSet.java,
1002         java/sql/ResultSetMetaData.java,
1003         java/sql/SQLData.java,
1004         java/sql/SQLInput.java,
1005         java/sql/SQLOutput.java,
1006         java/sql/Savepoint.java,
1007         java/sql/Statement.java,
1008         java/sql/Struct.java:
1009         Removed redundant modifiers.
1010
1011 2003-10-11  Michael Koch  <konqueror@gmx.de>
1012
1013         * java/nio/channels/Channel.java,
1014         java/nio/channels/GatheringByteChannel.java,
1015         java/nio/channels/ReadableByteChannel.java,
1016         java/nio/channels/ScatteringByteChannel.java,
1017         java/nio/channels/WritableByteChannel.java:
1018         Removed redundant modifiers.
1019
1020 2003-10-11  Michael Koch  <konqueror@gmx.de>
1021
1022         * java/rmi/activation/ActivationInstantiator.java,
1023         java/rmi/activation/ActivationMonitor.java,
1024         java/rmi/activation/ActivationSystem.java,
1025         java/rmi/activation/Activator.java,
1026         java/rmi/dgc/DGC.java,
1027         java/rmi/registry/Registry.java,
1028         java/rmi/registry/RegistryHandler.java,
1029         java/rmi/server/LoaderHandler.java,
1030         java/rmi/server/RMIClientSocketFactory.java,
1031         java/rmi/server/RMIFailureHandler.java,
1032         java/rmi/server/RMIServerSocketFactory.java,
1033         java/rmi/server/RemoteCall.java,
1034         java/rmi/server/RemoteRef.java,
1035         java/rmi/server/ServerRef.java,
1036         java/rmi/server/Skeleton.java,
1037         java/rmi/server/Unreferenced.java:
1038         Removed redundant modifiers.
1039
1040 2003-10-11  Michael Koch  <konqueror@gmx.de>
1041
1042         * java/net/ContentHandlerFactory.java,
1043         java/net/DatagramSocketImplFactory.java,
1044         java/net/FileNameMap.java,
1045         java/net/SocketImplFactory.java,
1046         java/net/SocketOptions.java,
1047         java/net/URLStreamHandlerFactory.java:
1048         Removed redundant modifiers.
1049
1050 2003-10-11  Michael Koch  <konqueror@gmx.de>
1051
1052         * java/io/Externalizable.java,
1053         java/io/FileFilter.java,
1054         java/io/FilePermission.java,
1055         java/io/ObjectInput.java,
1056         java/io/ObjectInputValidation.java,
1057         java/io/ObjectOutput.java,
1058         java/io/ObjectStreamClass.java,
1059         java/io/ObjectStreamConstants.java,
1060         java/io/Serializable.java:
1061         Removed redundant modifiers.
1062
1063 2003-10-11  Ingo Proetel  <proetel@aicas.com>
1064
1065         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
1066         codebase and context classloader.
1067
1068 2003-10-11  Michael Koch  <konqueror@gmx.de>
1069
1070         * java/beans/beancontext/BeanContext.java,
1071         java/beans/beancontext/BeanContextChild.java,
1072         java/beans/beancontext/BeanContextChildComponentProxy.java,
1073         java/beans/beancontext/BeanContextChildSupport.java,
1074         java/beans/beancontext/BeanContextContainerProxy.java,
1075         java/beans/beancontext/BeanContextMembershipListener.java,
1076         java/beans/beancontext/BeanContextProxy.java,
1077         java/beans/beancontext/BeanContextServiceProvider.java,
1078         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1079         java/beans/beancontext/BeanContextServiceRevokedListener.java,
1080         java/beans/beancontext/BeanContextServices.java,
1081         java/beans/beancontext/BeanContextServicesListener.java:
1082         Removed redundant modifiers.
1083
1084 2003-10-11  Michael Koch  <konqueror@gmx.de>
1085
1086         * java/beans/AppletInitializer.java,
1087         java/beans/BeanInfo.java,
1088         java/beans/Customizer.java,
1089         java/beans/DesignMode.java,
1090         java/beans/PropertyEditor.java,
1091         java/beans/Visibility.java:
1092         Removed redundant modifiers.
1093
1094 2003-10-11  Michael Koch  <konqueror@gmx.de>
1095
1096         * java/awt/print/Pageable.java,
1097         * java/awt/print/Printable.java,
1098         java/awt/print/PrinterGraphics.java:
1099         Removed redundant modifiers.
1100
1101 2003-10-11  Michael Koch  <konqueror@gmx.de>
1102
1103         * java/awt/peer/ButtonPeer.java,
1104         java/awt/peer/CheckboxMenuItemPeer.java,
1105         java/awt/peer/CheckboxPeer.java,
1106         java/awt/peer/ChoicePeer.java,
1107         java/awt/peer/ComponentPeer.java,
1108         java/awt/peer/ContainerPeer.java,
1109         java/awt/peer/DialogPeer.java,
1110         java/awt/peer/FileDialogPeer.java,
1111         java/awt/peer/FramePeer.java,
1112         java/awt/peer/LabelPeer.java,
1113         java/awt/peer/ListPeer.java,
1114         java/awt/peer/MenuBarPeer.java,
1115         java/awt/peer/MenuComponentPeer.java,
1116         java/awt/peer/MenuItemPeer.java,
1117         java/awt/peer/MenuPeer.java,
1118         java/awt/peer/PopupMenuPeer.java,
1119         java/awt/peer/RobotPeer.java,
1120         java/awt/peer/ScrollPanePeer.java,
1121         java/awt/peer/ScrollbarPeer.java,
1122         java/awt/peer/TextAreaPeer.java,
1123         java/awt/peer/TextComponentPeer.java,
1124         java/awt/peer/TextFieldPeer.java,
1125         java/awt/peer/WindowPeer.java:
1126         Removed redundant modifiers.
1127
1128 2003-10-11  Michael Koch  <konqueror@gmx.de>
1129
1130         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
1131         * gnu/java/nio/ServerSocketChannelImpl.java
1132         (serverSocket): Made it a NIOServerSocket.
1133         (impl): Removed.
1134         (ServerSocketChannelImpl): Initialize only serverSocket.
1135         (initServerSocket): Removed.
1136         (getNativeFD): Rewritten.
1137         (implConfigureBlocking): Set socket timeout and removed comment.
1138         (accept): Rewritten.
1139         * gnu/java/nio/SocketChannelImpl.java
1140         (impl): New variable.
1141         (connected): Removed.
1142         (SocketChannelImpl): Initialize impl too.
1143         (getImpl): New method.
1144         (isConnected): Rewritten.
1145         (read): Rewritten, set position in buffer correctly.
1146         (write): Set position in buffer correctly.
1147         * java/net/ServerSocket.java (getImpl): New method.
1148         * gnu/java/nio/NIOServerSocket.java,
1149         gnu/java/nio/natNIOServerSocket.cc: New files.
1150         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
1151         * Makefile.am
1152         (ordinary_java_source_files):
1153         Added gnu/java/nio/NIOServerSocket.java.
1154         (nat_source_files):
1155         Removed gnu/java/nio/natServerSocketChannelImpl.cc
1156         and added gnu/java/nio/natNIOServerSocket.cc.
1157         * Makefile.in: Regenerated.
1158
1159 2003-10-11  Michael Koch  <konqueror@gmx.de>
1160
1161         * java/awt/ActiveEvent.java,
1162         java/awt/datatransfer/ClipboardOwner.java,
1163         java/awt/datatransfer/FlavorMap.java,
1164         java/awt/datatransfer/Transferable.java,
1165         java/awt/dnd/Autoscroll.java,
1166         java/awt/dnd/peer/DragSourceContextPeer.java,
1167         java/awt/dnd/peer/DropTargetContextPeer.java,
1168         java/awt/dnd/peer/DropTargetPeer.java,
1169         java/awt/font/MultipleMaster.java,
1170         java/awt/font/OpenType.java,
1171         java/awt/im/spi/InputMethodDescriptor.java,
1172         java/awt/image/ImageObserver.java,
1173         java/awt/image/ImageConsumer.java,
1174         java/awt/image/ImageProducer.java,
1175         java/awt/image/RGBImageFilter.java,
1176         java/awt/image/RasterOp.java,
1177         java/awt/image/renderable/RenderableImage.java:
1178         Removed redundant modifiers.
1179
1180 2003-10-11  Michael Koch  <konqueror@gmx.de>
1181
1182         * gnu/awt/j2d/DirectRasterGraphics.java,
1183         gnu/java/awt/EmbeddedWindowSupport.java:
1184         Removed redundant modifiers.
1185
1186 2003-10-09  Michael Koch  <konqueror@gmx.de>
1187
1188         * gnu/java/nio/SelectorImpl.java (register):
1189         Use ServerSocketChannelSelectionKey for server socket channels,
1190         removed unneeded comments.
1191         * gnu/java/nio/ServerSocketChannelImpl.java
1192         (ServerSocketChannelImpl): Made class public final.
1193         (impl): New member variable.
1194         (ServerSocketChannelImpl): Initialize member variables correctly.
1195         (initServerSocket): New method.
1196         (getNativeFD): Likewise.
1197         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1198         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1199         * Makefile.am (ordinary_java_source_files):
1200         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1201         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1202         * Makefile.in: Regenrated.
1203
1204 2003-10-09  Michael Koch  <konqueror@gmx.de>
1205
1206         * java/nio/channels/spi/AbstractSelectableChannel.java
1207         (registered): Made private.
1208         (blocking): Likewise.
1209         (LOCK): Likewise.
1210         (provider): Likewise.
1211         (keys): Made it a private LinkedList.
1212         (AbstractSelectableChannel): Initialize keys.
1213         (isRegistered): New implementation.
1214         (locate): Rewritten.
1215         (register): Rewritten.
1216         * java/nio/channels/spi/AbstractSelectionKey.java
1217         (ok): Removed.
1218         (cancelled): New member variable.
1219         (cancel): Rewritten.
1220         (isValid): Rewritten.
1221         * java/nio/channels/spi/AbstractSelector.java:
1222         Some methods moved.
1223         (closed): Make private.
1224         (provider): Likewise.
1225         (cancelledKeys): New member variable.
1226         (AbstractSelector): Initialize cancelledKeys.
1227         (cancelKey): New method.
1228
1229 2003-10-09  Tom Tromey  <tromey@redhat.com>
1230
1231         * java/lang/ClassLoader.java (setSigners): Implemented.
1232         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
1233         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
1234         Initialize new fields.
1235         * java/lang/Class.java (getSigners): Now native.
1236         (setSigners): Declare.
1237         * java/lang/natClass.cc (getSigners): New method.
1238         (getSigners): Likewise.
1239         * java/lang/Class.h (Class::signers): New field.
1240         (Class::setSigners): New method.
1241
1242 2003-10-09  Michael Koch  <konqueror@gmx.de>
1243
1244         * java/rmi/server/RMIClassLoader.java:
1245         Removed unused imports, little reformatings.
1246         (getClassLoader): New method, implementation was part of old loadCLass
1247         method.
1248         (loadClass): Simplified by moving functionality to new method and
1249         reworking the code a bit.
1250         (getClassAnnotation): Merged documentation from classpath.
1251
1252 2003-10-09  Michael Koch  <konqueror@gmx.de>
1253
1254         * java/math/BigInteger.java
1255         (add): Removed unused local variable len.
1256
1257 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1258
1259         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
1260         modality check.
1261         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1262         Initialize insets to use latest insets.
1263         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1264         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
1265         field.
1266         (postConfigureEvent): Update latestInsets field when insets
1267         change.  Remove call to setSize.  Move validate call outside of
1268         if blocks.
1269         (setVisible): Call setBounds before showing window.
1270         (nativeSetVisible): New native method.
1271         * java/awt/Window.java (show): Show visible owned windows.
1272         (hide): Hide visible owned windows.
1273         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1274         (awt_event_handler): Implement modality using GTK grabs.
1275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1276         (global_gtk_window_group): New global variable.
1277         (gtkInit): Initialize global_gtk_window_group.
1278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1279         Clamp width and height values to at least 1.  Add this window to
1280         the global GTK window group.
1281         (setVisible): Rename to nativeSetVisible.
1282         (setup_window): Remove function.
1283         (setSize): Clamp width and height values to at least 1.
1284         (nativeSetBounds): Likewise.
1285         (gdk_window_get_root_geometry): Remove function.
1286         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
1287         and setup_window declarations.  Declare global_gtk_window_group.
1288
1289         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1290         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1291         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1292         (gtkWidgetSetForeground): New method.
1293         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1294         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1295         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
1296         (setBackground, setForeground): Implement.
1297         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1298         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1299         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1300         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1301         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
1302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1303         Position PangoLayout relative to text's baseline.
1304         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
1305
1306         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
1307         for CENTER and RIGHT alignments.
1308
1309 2003-10-08  Michael Koch  <konqueror@gmx.de>
1310
1311         * java/security/Security.java: Reformated.
1312
1313 2003-10-08  Michael Koch  <konqueror@gmx.de>
1314
1315         * java/text/SimpleDateFormat.java
1316         (compileFormat): Replace Character.isLetter() test with
1317         Character.isLowerCase() || Character.isUpperCase().
1318
1319 2003-10-08  Tom Tromey  <tromey@redhat.com>
1320
1321         * java/lang/StrictMath.java (toDegrees): Multiply before
1322         dividing.
1323         (toRadians): Likewise.
1324
1325 2003-10-08  C. Brian Jones  <cbj@gnu.org>
1326
1327         * java/lang/Math.java
1328         (toRadians): multiply before dividing to reduce decimal error
1329         (toDegrees): ditto
1330
1331 2003-10-08  Michael Koch  <konqueror@gmx.de>
1332
1333         * gnu/gcj/protocol/core/Connection.java,
1334         gnu/gcj/protocol/core/CoreInputStream.java,
1335         gnu/gcj/protocol/core/Handler.java,
1336         gnu/gcj/protocol/core/natCoreInputStream.cc,
1337         gnu/gcj/protocol/file/Connection.java,
1338         gnu/gcj/protocol/file/Handler.java,
1339         gnu/gcj/protocol/gcjlib/Connection.java,
1340         gnu/gcj/protocol/gcjlib/Handler.java,
1341         gnu/gcj/protocol/http/Connection.java,
1342         gnu/gcj/protocol/http/Handler.java,
1343         gnu/gcj/protocol/jar/Connection.java,
1344         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
1345         * gnu/java/net/protocol/core/Connection.java,
1346         gnu/java/net/protocol/core/CoreInputStream.java,
1347         gnu/java/net/protocol/core/Handler.java,
1348         gnu/java/net/protocol/core/natCoreInputStream.cc,
1349         gnu/java/net/protocol/file/Connection.java,
1350         gnu/java/net/protocol/file/Handler.java,
1351         gnu/java/net/protocol/gcjlib/Connection.java,
1352         gnu/java/net/protocol/gcjlib/Handler.java,
1353         gnu/java/net/protocol/http/Connection.java,
1354         gnu/java/net/protocol/http/Handler.java,
1355         gnu/java/net/protocol/jar/Connection.java,
1356         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
1357         * gnu/gcj/runtime/FirstThread.java,
1358         java/net/URL.java: Use moved protocol handlers.
1359         * Makefile.am
1360         (ordinary_java_source_files): Moved files.
1361         (nat_source_files): Likewise.
1362         * Makefile.in: Regenerated.
1363
1364 2003-10-08  Michael Koch  <konqueror@gmx.de>
1365
1366         * gnu/java/nio/SocketChannelImpl.java
1367         (read): Write only read data to buffer.
1368
1369 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1370
1371         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
1372         out.
1373         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
1374         (JCL_free): Attach "unused" attribute to env parameter.
1375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
1376         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1377         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1378         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1379         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1380         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1381         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1382         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1383         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
1384         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1386         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1387         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
1388         parameters.
1389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
1390         (initNativeState): Pass 0 as info argument to
1391         gtk_selection_add_target.
1392         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1393         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
1394         unused method implementations.
1395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1396         (awt_event_handler): Add break statement after default label.
1397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
1398         (drawPixels): Remove unused variable i.
1399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1400         (setEnabled): Remove method implementation.
1401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1402         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
1403         argument.
1404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
1405         unused function.
1406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
1407         (menu_pos): Assign TRUE to push_in.
1408         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
1409         argument.
1410         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1411         (create): Remove unused variable layout.
1412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1413         Pass window_widget, rather than window, to
1414         gtk_widget_set_size_request.
1415         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
1416         structure initialization with NULL values.
1417         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
1418
1419 2003-10-08  Michael Koch  <konqueror@gmx.de>
1420
1421         * java/util/LinkedList.java:
1422         Removed whitespace to match classpath's version again.
1423
1424 2003-10-08  Michael Koch  <konqueror@gmx.de>
1425
1426         * java/util/prefs/Preferences.java
1427         (defaultFactoryClass): Fixed class name.
1428         (getFactory): Create instance of class returned by Class.forName(),
1429         reformated code.
1430
1431 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
1432
1433         * javax/swing/table/AbstractTableModel.java
1434         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
1435         helped stop pulling my hair on this +1 then -1 tricky thing!
1436
1437 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1438
1439         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
1440         Remove unused parameters.
1441         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
1442         Likewise.
1443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1444         (keyevent_state_to_awt_mods): Export function.
1445         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1446         (getCaretPosition): Fix TextArea case.
1447         (textcomponent_commit_cb): Get exact event time and modifier
1448         state.
1449         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
1450
1451 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
1452
1453         * java/net/InetSocketAddress.java
1454         (InetSocketAddress): Made exception more clear.
1455         (equals): Handle case when addr is null.
1456         (toString): Likewise.
1457         * java/net/NetworkInterface.java
1458         (static): Load native library.
1459         (getNetworkInterfaces): Rewritten.
1460
1461 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1462
1463         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
1464         field.
1465         (initializeInsets): New method.
1466         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
1467         setBounds unconditionally.
1468         (setBounds): Convert coordinates if parent is a Window.
1469         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
1470         field to GtkComponentPeer.
1471         (GtkContainerPeer): Don't initialize insets.
1472         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1473         New method.
1474         (create): Call new GtkWindowPeer create method.
1475         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
1476         New method.
1477         (create): Call new GtkWindowPeer create method.
1478         (setBounds): Remove method.
1479         (postConfigureEvent): Likewise.
1480         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
1481         type constants with GDK window type constants.
1482         (create(int,boolean,int,int,GtkWindowPeer)): New method.
1483         (create(int,boolean)): Likewise.
1484         (create()): Call create(int,boolean).
1485         (nativeSetBounds): New native method declaration.
1486         (setBounds): Call native method declaration.
1487         (setSize): New native method declaration.
1488         (setBoundsCallback): Likewise.
1489         (postConfigureEvent): Handle change in insets.  Call setSize and
1490         setBoundsCallback methods.
1491         * java/awt/Window.java (Window): Set visible to false.
1492         (setBoundsCallback): New method.
1493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1494         (gtkWidgetGetLocationOnScreen): If this component is not a
1495         container, adjust the location returned based on the peer's
1496         allocation.
1497         (set(String,boolean)): Revert change from 2003-09-19.
1498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1499         (awt_event_handler): Fix inset calculation.
1500         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1501         glue for Window.setBoundsCallback.
1502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1503         Set up stacking order, window decorations and window manager
1504         hints.
1505         (setBoundsCallback): New method.
1506         (setSize): New method.
1507         (nativeSetBounds): New method.
1508         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
1509
1510 2003-10-02  Tom Tromey  <tromey@redhat.com>
1511
1512         * java/lang/VMClassLoader.java (loadClass): Now native.
1513         * java/lang/natClassLoader.cc (loadClass): Implement.
1514         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
1515
1516 2003-10-02  Michael Koch  <konqueror@gmx.de>
1517
1518         * java/net/InetAddress.java
1519         (zeros): Removed.
1520         (ANY_IF): Initalizie in static block.
1521         (static): Load library with native methods here and initialize ANY_IF.
1522         (isAnyLocalAddress): Check if equal to ANY_IF.
1523         (equals): Use addr directly instead of addr1. Simplify for loop.
1524         (toString): Rename "result" to "host" and add IP address allways.
1525         (getLocalHost): Merged documentation from classpath.
1526         * java/net/ServerSocket.java
1527         (ServerSocket): New package-private constructor used by java.nio.
1528         * java/net/URLConnection.java
1529         (getRequestProperties): Check if already connected.
1530
1531 2003-10-02  Michael Koch  <konqueror@gmx.de>
1532
1533         * java/nio/ByteBufferHelper.java:
1534         Rewrote all methods by suggestions from Eric Blake.
1535
1536 2003-10-02  Michael Koch  <konqueror@gmx.de>
1537
1538         * java/net/URL.java
1539         (DEFAULT_SEARCH_PATH): New static variable.
1540         (ph_cache): Made it a HashMap.
1541         (getURLStreamHandler): Rename propVal to ph_search_path and use
1542         DEFAULT_SEARCH_PATH.
1543
1544 2003-10-02  Michael Koch  <konqueror@gmx.de>
1545
1546         * javax/swing/table/AbstractTableModel.java
1547         (findColumnName): Prevent from NullPointerException if argument
1548         columnName is null.
1549
1550 2003-10-02  Michael Koch  <konqueror@gmx.de>
1551
1552         * javax/swing/table/AbstractTableModel.java:
1553         This patch is based on a patch done by Arnaud Vandyck
1554         <arnaud.vandyck@ulg.ac.be>.
1555         (getColumnName): Fixed method documentation.
1556         (findColumn): Likewise.
1557         (getColumnClass): Likewise.
1558         (isCellEditable): Likewise.
1559         (setValueAt): Likewise.
1560         (addTableModelListener): Likewise.
1561         (removeTableModelListener): Likewise.
1562         (getTableModelListeners): New method.
1563
1564 2003-10-02  Michael Koch  <konqueror@gmx.de>
1565
1566         * javax/swing/table/AbstractTableModel.java:
1567         Reformated.
1568
1569 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
1570
1571         Fix PR libgcj/12475
1572         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
1573         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
1574
1575 2003-10-01  Tom Tromey  <tromey@redhat.com>
1576
1577         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
1578
1579 2003-10-01  Andrew Haley  <aph@redhat.com>
1580
1581         * java/lang/natClass.cc (initializeClass): Check for otable and
1582         atable.
1583         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
1584         loops using for().  Search superinterfaces.  Check for fields as
1585         well as methods.  Initialize atable as well as otable: check for
1586         static methods as well as virtual methods.
1587         * java/lang/Class.h (struct _Jv_AddressTable): New.
1588         (atable): New.
1589         (atable_syms): New.
1590         * include/jvm.h (_Jv_equalUtf8Consts): constify.
1591         * prims.cc (_Jv_equalUtf8Consts): constify.
1592
1593 2003-09-29  Tom Tromey  <tromey@redhat.com>
1594
1595         PR libgcj/10596:
1596         * include/jvm.h (_Jv_FinalizeString,
1597         _Jv_RegisterStringFinalizer): Declare.
1598         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
1599         unintern.
1600         (intern): Updated.
1601         (_Jv_NewStringUtf8Const): Likewise.
1602         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1603         Add special case when finalizing a String.
1604         (in_hash): New function.
1605         (_Jv_RegisterStringFinalizer): Likewise.
1606         (maybe_add_finalize): Likewise.
1607
1608 2003-09-29  Michael Koch  <konqueror@gmx.de>
1609
1610         * java/net/InetAddress.java:
1611         (isMulticastAddress): Dont use local variable to store address length.
1612         Let the compiler optimize this.
1613         (getHostName): Merged dcoumentation from classpath.
1614         (getAddress): Likewise.
1615         (getHostAddress): Likewise.
1616         (hashCode): Likewise.
1617         (equals): Likewise.
1618         (toString): Likewise.
1619         (getByName): Likewise.
1620         (getAllByName): Likewise.
1621
1622 2003-09-29  Michael Koch  <konqueror@gmx.de>
1623
1624         * java/awt/image/IndexColorModel.java: Reformated.
1625
1626 2003-09-29  Michael Koch  <konqueror@gmx.de>
1627
1628         * java/net/InetAddress.java,
1629         java/net/URL.java: Reformated.
1630
1631 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
1632
1633         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
1634         significant bit of descriptor. Include the vtable and sync_info 
1635         fields.
1636
1637 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1638
1639         * java/text/DateFormat.java (format): Throw IllegalArgumentException
1640         if `obj' is not a Number or Date instance.
1641         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
1642         instead of Vector.
1643
1644 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1645
1646         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
1647         Don't call setTimeZone on calendar.
1648
1649 2003-09-27  Michael Koch  <konqueror@gmx.de>
1650
1651         * java/net/URL.java (getURLStreamHandler): Compile fixes.
1652
1653 2003-09-27  Michael Koch  <konqueror@gmx.de>
1654
1655         * java/net/URL.java (getURLStreamHandler):
1656         Check if we have to use cache before trying to retrieve handler from
1657         cache. Rename facName to clsName to match classpath more. Reformated
1658         some little pieces.
1659
1660 2003-09-27  Michael Koch  <konqueror@gmx.de>
1661
1662         * gnu/java/nio/SelectionKeyImpl.java
1663         (ch): Make package-private again. Jikes found this bug.
1664         Jeff Sturm submitted PR12426 for this to bugzilla
1665         to fix this bug in gcj.
1666
1667 2003-09-26  Michael Koch  <konqueror@gmx.de>
1668
1669         * java/rmi/server/RMIClassLoader.java:
1670         Reformatted file, no functional code changes.
1671
1672 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
1673
1674         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
1675         Save space for some pixels at the buffer end.  Added Javadoc.
1676
1677 2003-09-26  Tom Tromey  <tromey@redhat.com>
1678
1679         * java/io/ObjectOutputStream.java (writeFields): Fixed
1680         indentation.
1681         (putFields): Likewise.
1682
1683 2003-09-26  Michael Koch  <konqueror@gmx.de>
1684
1685         * java/nio/ByteBufferHelper.java:
1686         Totally reworked with help from Eric Blake.
1687
1688 2003-09-26  Tom Tromey  <tromey@redhat.com>
1689
1690         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
1691         * java/awt/geom/PathIterator.java: Documentation fixes.
1692
1693 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
1694
1695         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
1696         (select): Likewise.
1697         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
1698
1699 2003-09-25  Michael Koch  <konqueror@gmx.de>
1700
1701         * gnu/java/nio/DatagramChannelImpl.java
1702         (getNativeFD): New method.
1703         * gnu/java/nio/SelectionKeyImpl.java
1704         (SelectionKeyImpl): Class made abstract.
1705         (fd): Removed.
1706         (SelectionKeyImpl): Remove fd argument.
1707         (getNativeFD): New method.
1708         * gnu/java/nio/SocketChannelImpl.java
1709         (getNativeFD): New method.
1710         gnu/java/nio/DatagramChannelSelectionKey.java,
1711         * gnu/java/nio/SocketChannelSelectionKey.java:
1712         New files.
1713         * Makefile.am (ordinary_java_source_files):
1714         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
1715         gnu/java/nio/SocketChannelSelectionKey.java.
1716         * Makefile.in: Regenerated.
1717
1718 2003-09-25  Michael Koch  <konqueror@gmx.de>
1719
1720         * java/lang/reflect/Proxy.java
1721         (getProxyClass): Remove workaround for gcj 3.0.x.
1722
1723 2003-09-25  Michael Koch  <konqueror@gmx.de>
1724
1725         * gnu/java/net/PlainDatagramSocketImpl.java
1726         (finalize): Moved to directly after constructor.
1727         (getNativeFD): New method.
1728         * gnu/java/net/PlainSocketImpl.java
1729         (getNativeFD): New method.
1730
1731 2003-09-25  Ingo Proetel  <proetel@aicas.com>
1732
1733         * java/io/ObjectOutputStream.java:
1734         Allow putFields be called more than once.
1735
1736 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
1737
1738         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
1739         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
1740         * java/awt/image/BufferedImage.java (toString): Implement.
1741
1742 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
1743
1744         * aclocal.m4: Rebuilt.
1745         * configure: Rebuilt.
1746
1747 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
1748
1749         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
1750         field.
1751
1752 2003-09-25  Michael Koch  <konqueror@gmx.de>
1753
1754         * gnu/java/nio/SelectorImpl.java
1755         (implSelect): Renamed from java_do_select.
1756         (select): Call native implSelect() and add support for Thread
1757         interruption.
1758         * gnu/java/nio/natSelectorImpl.cc
1759         (implSelect): Renamed from java_do_select.
1760
1761 2003-09-25  Michael Koch  <konqueror@gmx.de>
1762
1763         * gnu/java/nio/SelectorImpl.java
1764         (selectNow): Made final, throws IOException.
1765         (select): Likewise.
1766         (getFDsAsArray): Made final.
1767         (selectedKeys): Likewise.
1768         (wakeup): Likewise.
1769         (deregisterCancelledKeys): Likewise.
1770         (register): Likewise.
1771         (ass): Removed.
1772         (add_selected): Removed.
1773         * gnu/java/nio/natSelectorImpl.cc:
1774         No need to include bstring.h or gcj/cni.h.
1775         (helper_put_filedescriptors): Rewritten.
1776         (helper_get_filedescriptors): Rewritten.
1777
1778 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
1779
1780         * java/awt/font/FontRenderContext.java (getTransform): Return
1781         copy of internal transform object. Add Javadoc.
1782         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
1783         winding rule as Sun J2SE.
1784         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
1785
1786 2003-09-25  Ingo Proetel  <proetel@aicas.com>
1787
1788         * java/rmi/Naming.java:
1789         Added comments, now accepts pseudo protocol "rmi".
1790
1791 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
1792
1793         * java/text/DecimalFormat.java (format): Don't immediatly round
1794         baseNumber to long.
1795         (setMinimumIntegerDigits): Call super.
1796         (setMinimumFractionDigits): Likewise.
1797         (setMaximumIntegerDigits): Likewise.
1798         (setMaximumFractionDigits): Likewise.
1799
1800 2003-09-25  Michael Koch  <konqueror@gmx.de>
1801
1802         * gnu/java/nio/DatagramChannelImpl.java
1803         (DatagramChannelImpl): Made class final.
1804         (blocking): Made private.
1805         (socket): Made it a NIODatagramSocket and private.
1806         (DatagramChannelImpl): create NIODatagramSocket instead of
1807         DatagramSocket.
1808         (implConfigureBlocking): Set socket timeout.
1809         (connect): Check that channel is not closed.
1810         (write): Implemented.
1811         (write): Rewritten.
1812         (read): Implemented.
1813         (read): Rewritten.
1814         (receive): Implemented.
1815         (send): Implemented.
1816         * gnu/java/nio/SelectionKeyImpl.java
1817         (readyOps): Made private.
1818         (interestOps): Made private.
1819         (impl): Made private.
1820         (ch): Made private.
1821         (readyOps): Check if selection key is valid.
1822         (interestOps): Likewise.
1823         * gnu/java/nio/SelectorImpl.java
1824         (closed): Removed.
1825         (keys): Made private.
1826         (selected): Made private.
1827         (finalize): New method.
1828         (implCloseSelector): Rewritten.
1829         (keys): Return unmodifiable Set.
1830         (deregisterCancelledKeys): Fixed typo in method name.
1831         * gnu/java/nio/SocketChannelImpl.java
1832         (SocketChannelImpl): Made class final.
1833         (socket): Made it a NIOSocket and private.
1834         (blocking): Made private.
1835         (connected): Made private.
1836         (connectionPending): New member variable.
1837         (SocketChannelImpl): New implementation.
1838         (finalizer): Use isConnected().
1839         (connect): Rewritten.
1840         (finishConnect): Throws IOException, implemented.
1841         (isConnectionPending): Return connectionPending.
1842         (read): Rewritten.
1843         (write): Rewritten.
1844         * gnu/java/nio/NIOConstants.java: New file.
1845         * Makefile.am (ordinary_java_source_files):
1846         Added gnu/java/nio/NIOConstants.java.
1847         * Makefile.in: Regenerated.
1848
1849 2003-09-25  Michael Koch  <konqueror@gmx.de>
1850
1851         * java/net/InetAddress.java:
1852         Reorder imports, remove implementation comment.
1853         (isMulticastAddress): Merged documentation from classpath.
1854         * java/net/URLConnection.java
1855         (setRequestProperty): Check key for null, fix documentation.
1856         (adREquestProperty): Check key for null, remove wrong implementation
1857         and replace it with comment to overwrite this method in subclasses,
1858         fix documentation.
1859
1860 2003-09-25  Tom Tromey  <tromey@redhat.com>
1861
1862         * java/lang/reflect/Proxy.java (generate): Uncomment protection
1863         domain code.
1864         * java/lang/natClassLoader.cc (defineClass): Added `loader'
1865         argument.
1866         (linkClass0): Now in VMClassLoader.
1867         (markClassErrorState0): Likewise.
1868         (getSystemClassLoaderInternal): New method.
1869         * java/lang/natClass.cc (initializeClass): Use
1870         VMClassLoader::resolveClass.
1871         * java/lang/ClassLoader.java: New version, from Classpath.
1872         * java/lang/Class.java (getProtectionDomain):
1873         protectionDomainPermission and unknownProtectionDomain now in
1874         VMClassLoader.
1875         * java/lang/Class.h: VMClassLoader now a friend class.
1876         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
1877         package-private.
1878         * gcj/javaprims.h: Regenerated class list.
1879         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
1880         * java/lang/VMClassLoader.java: New version from Classpath;
1881         modified for libgcj use.
1882
1883 2003-09-25  Michael Koch  <konqueror@gmx.de>
1884
1885         * java/nio/ByteBufferHelper.java:
1886         New file.
1887         * java/nio/ByteBufferImpl.java,
1888         java/nio/DirectByteBufferImpl.java,
1889         java/nio/MappedByteBufferImpl.java
1890         (getType,putType): Use new helper class ByteBufferHelper.
1891         * Makefile.am (ordinary_java_source_files):
1892         Added java/nio/ByteBufferHelper.java.
1893         * Makefile.in: Regenerated.
1894
1895 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1896
1897         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
1898         PR libgcj/12388.
1899
1900 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
1901
1902         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
1903         Strings, even if buffer is already shared.
1904
1905 2003-09-24  Michael Koch  <konqueror@gmx.de>
1906
1907         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
1908
1909 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
1910
1911         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
1912         (write): Likewise.
1913         (SocketInputStream): Declare `read' and `write' methods native.
1914         Remove implementations which called back into PlainSocketImpl.
1915         Remove unneccessary overridden methods.
1916         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
1917         to inner class PlainSocketImpl.SocketInputStream.
1918         (write): Likewise.
1919         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
1920         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
1921         * gnu/java/net/SocketInputStream.java: Remove unused file.
1922         * gnu/java/net/SocketOutputStream.java: Likewise.
1923         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
1924         and SocketOutputStream.
1925         * Makefile.in: Rebuilt.
1926
1927 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
1928
1929         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
1930
1931         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
1932         markers.
1933
1934 2003-09-22  Anthony Green  <green@redhat.com>
1935
1936         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
1937         * configure: Rebuilt.
1938
1939 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
1940
1941         PR java/12350:
1942         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
1943
1944 2003-09-22  Michael Koch  <konqueror@gmx.de>
1945
1946         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
1947         compiler warning but produces a different one now.
1948
1949 2003-09-22  Michael Koch  <konqueror@gmx.de>
1950
1951         * java/net/InetAddress.java:
1952         Moves around some code, reformats and adds documentation.
1953         No functional changes.
1954
1955 2003-09-22  Michael Koch  <konqueror@gmx.de>
1956
1957         * java/net/JarURLConnection.java
1958         (JarURLConnection): Modifed code to match classpath more, fixed comment.
1959         (getCertificates): Made it more error prone.
1960         (getMainAttributes): Likewise.
1961         (getAttributes): Implemented.
1962         (getManifest): Reformatted code.
1963
1964 2003-09-20  Tom Tromey  <tromey@redhat.com>
1965
1966         * java/awt/Component.java: Indentation cleanup from Classpath.
1967
1968 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
1969
1970        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
1971        checking to follow 1.4.2 spec.
1972
1973 2003-08-11  Ingo Proetel  <proetel@aicas.com>
1974
1975         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
1976         is compatible in case client and server are running in the same VM
1977         (remerged from Classpath on 2003-09-20)
1978
1979 2003-09-19  David Daney <ddaney@avtrex.com>
1980
1981         * java/lang/ref/Reference.java (clear): Set referent to null and
1982         synchronize.
1983
1984 2003-09-19  Michael Koch  <konqueror@gmx.de>
1985
1986         * gnu/java/nio/NIODatagramSocket.java,
1987         gnu/java/nio/NIOSocket.java: New files.
1988         * Makefile.am (ordinary_java_source_files):
1989         Added gnu/java/nio/NIODatagramSocket.java and
1990         gnu/java/nio/NIOSocket.java.
1991         * Makefile.in: Regenerated.
1992
1993 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1994
1995         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
1996         top-level GTK window.
1997         (getArgs): Add "title" property.
1998         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
1999         "allow_shrink" and "allow_grow" properties.
2000         * java/awt/Dialog.java: Initialize resizable to true and change
2001         comments accordingly.  Initialize visible to false in
2002         constructors.
2003         * java/awt/Frame.java (dispose): Remove method.
2004         * java/awt/Window.java (ownedWindows): New field.
2005         (Window(Window,GraphicsConfiguration)): Add a weak reference to
2006         owner's ownedWindows vector.
2007         (finalize): Remove method.
2008         (hide): Hide owned windows.
2009         (dispose): Dispose of owned windows.
2010         (getOwnedWindows): Implement.
2011         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2012         unused GtkArg code.
2013         (set(String,boolean)): Clamp gboolean parameter to g_object_set
2014         to TRUE or FALSE.
2015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2016         (create): Set window's size requisition.
2017         (connectHooks): Fix indentation.
2018         (setResizable): Remove function.
2019         (static setBounds): Likewise.
2020         (setBounds): Replace call to setBounds with GTK size requisition
2021         and resize calls.
2022
2023 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
2024
2025         * win32-threads.cc: (ensure_interrupt_event_initialized) New
2026         function for lazy initialization of an auto-reset event.
2027         (_Jv_CondWait) Added thread interrupt support.
2028         (_Jv_ThreadInitData) Added initialization of interrupt support
2029         members.
2030         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2031         (_Jv_ThreadStart) Removed unused code.
2032         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2033         to an external caller.
2034         (_Jv_ThreadInterrupt) Implemented.
2035         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2036         event for interrupt support as well as a mutex which regulates
2037         access to this.
2038         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2039         event to an external caller.
2040         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2041         process.
2042         (waitFor) Added interrupt support.
2043
2044 2003-09-19  Michael Koch  <konqueror@gmx.de>
2045
2046         * java/net/DatagramSocket.java (getLocalAddress):
2047         Renamed result variable to localAddr.
2048         * java/net/MulticastSocket.java:
2049         No need to import gnu.java.net.PlainDatagramSocketImpl.
2050
2051 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
2052
2053         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2054         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2055
2056 2003-09-18  Tom Tromey  <tromey@redhat.com>
2057
2058         * javax/naming/InitialContext.java: Reindented.
2059
2060 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
2061             Helmer Kraemer <hkraemer@freenet.de>
2062
2063         * javax/naming/spi/NamingManager.java (getURLContext,
2064         getObjectInstance, getStateToBind): Always use current thread's
2065         context class loader when calling Class.forName.
2066
2067 2003-09-18  Michael Koch  <konqueror@gmx.de>
2068
2069         * java/util/Timer.java (finalize): Added "throws Throwable".
2070
2071 2003-09-18  Michael Koch  <konqueror@gmx.de>
2072
2073         * java/net/DatagramSocket.java
2074         (ch): Removed.
2075         (receive): Use getChannel() instead of ch.
2076         (send): Likewise.
2077         (getChannel): Return null.
2078         * java/net/ServerSocket.java
2079         (ch): Removed.
2080         (setChannel): Removed.
2081         (implAccept): Use getChannel() instead of ch.
2082         (close): Likewise.
2083         (getChannel): Return null.
2084         * java/net/Socket.java
2085         (ch): Removed.
2086         (connect): Use getChannel() instead of ch.
2087         (setChannel): Removed.
2088         (getChannel): Return null.
2089
2090 2003-09-18  Mark Wielaard  <mark@klomp.org>
2091
2092         Reported by Guilhem Lavaux and Julian Dolby
2093         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2094         field "serialPersistentFields", not "getSerialPersistentFields".
2095
2096 2003-09-18  Ingo Proetel  <proetel@aicas.com>
2097
2098         * java/util/TimeZone.java: Initialize lazily.
2099         * java/util/Locale.java (readManifest): Fix check for country.
2100         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2101         traceable 
2102         * java/util/Calendar.java: Make use of ResourceBundle better
2103         traceable.
2104
2105 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
2106
2107         * java/sql/Timestamp.java
2108         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2109
2110 2003-09-18  David P Grove  <groved@us.ibm.com>
2111
2112         * java/io/LineNumberReader (read): Don't reset pos & limit when
2113         markPos is 0.
2114
2115 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
2116
2117         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2118         constant.
2119         (computeArguments): use computeTypicalArguments.
2120
2121         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2122         Compile_jikes.java and RMICException.java.
2123         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2124         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2125         * gnu/java/rmi/rmic/RMICException.java: Likewise.
2126  
2127         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2128  
2129         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2130         (computeTypicalArguments): New method.
2131         (compile): Print compiler output to System.out. Collect compiler
2132         error output and use it in exception message.
2133  
2134         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
2135         (destination): Initialize to null.
2136         (run): Replace file separator with '.' when processing class.
2137         (processClass): Replace '.' with file separator when compiling
2138         classes.
2139         (findClass): Use SystemClassLoader to load class.
2140         (generateStub): Use full class name for generated stub, that puts
2141         it in right path.  Replace '.' with file separator when generating
2142         stub file name. Write just the stub class name without package
2143         information as class name, and constructor name. Write only
2144         interface names for interfaces extending java.rmi.Remote as
2145         implemented.
2146         (generateSkel): Use full class name for generated skel, that puts
2147         it in right path.  Replace '.' with file separator when generating
2148         stub file name. Write just the stub class name without package
2149         information as class name.
2150
2151 2003-09-18  Michael Koch  <konqueror@gmx.de>
2152
2153         * Makefile.am (rmi_java_source_files):
2154         Added gnu/java/rmi/rmic/Compile_kjc.java,
2155         gnu/java/rmi/rmic/Compile_jikes.java and
2156         gnu/java/rmi/rmic/RMICException.java
2157         * Makefile.in: Regenerated.
2158
2159 2003-09-17  Graydon Hoare  <graydon@redhat.com>
2160
2161         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2162         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2163         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2164         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
2165         New files.
2166
2167 2003-09-16  Graydon Hoare  <graydon@redhat.com>
2168
2169         * java/awt/BufferedImage.java (setData): Support non-component
2170         sample models.
2171         (getData): Same.
2172
2173 2003-09-10  Graydon Hoare  <graydon@redhat.com>
2174
2175         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2176         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2177
2178 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
2179
2180         * configure.in: Standardized help text case of
2181         --enable-hash-synchronization
2182         New configure switch --enable-libgcj-multifile and corresponding
2183         automake conditional ONESTEP.
2184         * configure: Rebuilt.
2185         * Makefile.am: Use automake conditional ONESTEP to determine
2186         whether classfiles should be compiled individually or all
2187         at once.
2188         * Makefile.in: Rebuilt.
2189
2190 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
2191
2192         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2193         Remove method declaration.
2194         (create()): Call native create.
2195         (create(int)): New method.
2196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2197         (create): Add window_id parameter.  Call gtk_plug_new with
2198         window_id parameter.
2199         (construct): Remove method implementation.
2200
2201 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
2202
2203         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2204         (mostlyclean-local): New target patterned after clean-local
2205         which recursively deletes all libtool objects using 'libtool rm'.
2206         (clean-local): Slightly modified comment to alleviate monotony.
2207         (distclean-local): New target patterned after clean-local
2208         which recursively deletes all .d files.
2209         * Makefile.in: Rebuilt.
2210
2211 2003-09-11  Tom Tromey  <tromey@redhat.com>
2212
2213         * java/net/URLStreamHandler.java (parseURL): If original file
2214         ends with "/", so must canonical result.
2215         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2216         with nul-termination and finding previous "/".
2217
2218 2003-09-11  Michael Koch  <konqueror@gmx.de>
2219
2220         * acconfig.h: Removed most items.
2221         * configure.in: Added descriptions to AC_DEFINE macros that where in
2222         acconfig.h before.
2223         * include/config.h.in: Regenerated.
2224
2225 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
2226
2227         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
2228         if one is installed. Improve Javadoc.
2229         (getSystemEventQueueImpl): Improve Javadoc.
2230
2231 2003-09-11  Tom Tromey  <tromey@redhat.com>
2232
2233         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
2234         file does not exist.
2235
2236 2003-09-10  Anthony Green  <green@redhat.com>
2237
2238         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
2239         Specify full name when referencing ::java::net::InetAddress.
2240         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
2241         Fix argument type.
2242
2243 2003-09-10  Michael Koch  <konqueror@gmx.de>
2244
2245         * acconfig.h (__NO_MATH_INLINES): Removed.
2246         * configure.in: Removed check for g++ math inlining bug from 2000.
2247         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
2248         libgcj_cxxflags.
2249         * configure: Regenerated.
2250
2251 2003-09-10  David Daney <ddaney@avtrex.com>
2252
2253         * java/util/Arrays.java (equals(all variants)): Quit using
2254         NullPointerException catching to detect null valued parameters.
2255
2256 2003-09-10  Michael Koch  <konqueror@gmx.de>
2257
2258         * java/net/DatagramSocket.java,
2259         java/net/MulticastSocket.java,
2260         java/net/ServerSocket.java,
2261         java/net/Socket.java:
2262         Use gnu.java.net.Plain*SocketImpl instead of
2263         java.net.PlainSocketImpl.
2264         * java/net/PlainDatagramSocketImpl.java,
2265         java/net/PlainSocketImpl.java,
2266         java/net/SocketInputStream.java,
2267         java/net/SocketOutputStream.java,
2268         java/net/natPlainDatagramSocketImplNoNet.cc,
2269         java/net/natPlainDatagramSocketImplPosix.cc,
2270         java/net/natPlainDatagramSocketImplWin32.cc,
2271         java/net/natPlainSocketImplNoNet.cc,
2272         java/net/natPlainSocketImplPosix.cc,
2273         java/net/natPlainSocketImplWin32.cc:
2274         Removed.
2275         * gnu/java/net/PlainDatagramSocketImpl.java,
2276         gnu/java/net/PlainSocketImpl.java,
2277         gnu/java/net/SocketInputStream.java,
2278         gnu/java/net/SocketOutputStream.java,
2279         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
2280         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2281         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2282         gnu/java/net/natPlainSocketImplNoNet.cc,
2283         gnu/java/net/natPlainSocketImplPosix.cc,
2284         gnu/java/net/natPlainSocketImplWin32.cc:
2285         New files (moved from java/net).
2286         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
2287         instead of java/net/natPlain*SocketImpl.cc.
2288         * configure: Regenerated.
2289         * Makefile.am: Moved files from java/net to gnu/java/net.
2290         * Makefile.in: Regenerated.
2291
2292 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2293
2294         * configure: Regenerate.
2295
2296 2003-09-04  Tom Tromey  <tromey@redhat.com>
2297
2298         * configure.host: Removed erroneous comment.
2299
2300         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
2301         lvalue cast; use correct rvalue cast.
2302
2303 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
2304
2305         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
2306         and height arguments to GtkWindowPeer.create method call.
2307         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2308         (create(int,int,int)): New method.
2309         (create(int)): Add call to new create method.
2310         (create()): Add width and height arguments to create method
2311         call.
2312         (GtkWindowPeer): Remove call to setBounds.
2313         * java/awt/Frame.java (Frame(String)): Initialize visible field
2314         to false.
2315         (Frame(GraphicsConfiguration)): Likewise.
2316         (Frame(String,GraphicsConfiguration)): Likewise.
2317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2318         Add width and height parameters.  Call
2319         gtk_window_set_default_size.
2320         (connectHooks): Remove unused name variable.
2321         (static setBounds): Call gtk_window_resize not
2322         gtk_widget_set_usize.
2323         (setBounds): Remove unused nchildren variable.
2324
2325 2003-08-31  Ingo Proetel  <proetel@aicas.com>
2326
2327         * java/util/logging/Logger.java: provide class and method information
2328         * java/util/logging/LogManager.java: create handlers
2329         * java/util/logging/SimpleFormatter.java: print souceClassName and
2330         sourceMethodName
2331
2332 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
2333
2334         * win32.cc: fixed tab, indentation and whitespace
2335         inconsistencies
2336         removed jvm.h include
2337         added includes java/lang/UnsupportedOperationException.h,
2338         java/io/IOException.h, java/net/SocketException.h
2339         (WSAEventWrapper): class implementation
2340         (_Jv_WinStrError): implemented both overloads
2341         (_Jv_ThrowIOException): implemented both overloads
2342         (_Jv_ThrowSocketException): implemented both overloads
2343         (_Jv_select): implemented
2344         * include/win32.h: fixed tab, indentation and whitespace
2345         inconsistencies
2346         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
2347         added jvm.h include
2348         (WSAEventWrapper): added class declaration
2349         (_Jv_WinStrError): added both overload declarations
2350         (_Jv_ThrowIOException): added both overload declarations
2351         (_Jv_ThrowSocketException): added both overload declarations
2352         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
2353         (_Jv_select): added declaration
2354         (_Jv_socket): removed
2355         (_Jv_connect): removed
2356         (_Jv_close): removed
2357         (_Jv_bind): removed
2358         (_Jv_accept): removed
2359         (_Jv_listen): removed
2360         (_Jv_write): removed
2361         (_Jv_read): removed
2362         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
2363         whitespace inconsistencies
2364         replaced <windows.h> #include with <platform.h>
2365         removed jvm.h include
2366         (testCanUseGetHandleInfo): new function which tests whether Win32
2367         GetHandleInformation() call can be used with console buffer handles
2368         (only supported on >=WinNT 5.0)
2369         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
2370         (valid): rewrote implementation using GetHandleInformation()
2371         (sync):         changed exception throwing to use error string and exception
2372         helper methods declared in include/win32.h
2373         (open): likewise
2374         (write): likewise
2375         (setLength): likewise
2376         (close): likewise
2377         (seek): likewise
2378         (getFilePointer): likewise
2379         (read): likewise
2380         * java/io/natFileWin32.cc: fixed tab, indentation and
2381         whitespace inconsistencies
2382         replaced <windows.h> #include with <platform.h>
2383         removed jvm.h include
2384         (_access): use JV_TEMP_UTF_STRING
2385         (_stat): likewise
2386         (performMkDir): use JV_TEMP_UTF_STRING
2387         (performRenameTo): likewise
2388         (performDelete): likewise
2389         (performCreate): likewise
2390         (performSetReadOnly): likewise
2391         (performSetLastModified): likewise
2392         * java/lang/natWin32Process.cc: fixed tab, indentation and
2393         whitespace inconsistencies
2394         replaced <windows.h> #include with <platform.h>
2395         removed includes gcj/cni.h, jvm.h
2396         (new_string): removed
2397         (startProcess): use JV_TEMP_UTF_STRING,
2398         changed exception throwing to use error string and exception
2399         helper methods declared in include/win32.h
2400         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
2401         whitespace inconsistencies
2402         replaced <windows.h> #include with <platform.h>
2403         removed jvm.h include
2404         removed DISABLE_JAVA_NET conditional code
2405         removed POSIX conditional code not relevant to Win32
2406         (aton): use JV_TEMP_UTF_STRING
2407         removed POSIX conditional code not relevant to Win32
2408         (lookup): likewise
2409         (getLocalHostName): likewise
2410         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
2411         whitespace inconsistencies
2412         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
2413         removed DISABLE_JAVA_NET conditional code
2414         removed POSIX conditional code not relevant to Win32
2415         (winsock2GetRealNetworkInterfaces): new function to compute network
2416         interfaces via Winsock2 API
2417         (determineGetRealNetworkInterfacesFN): new function for returning
2418         a function pointer to the function used to compute network interfaces.
2419         (getRealNetworkInterfaces): implemented
2420         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
2421         whitespace inconsistencies
2422         removed gcj/cni.h include
2423         removed DISABLE_JAVA_NET conditional code
2424         removed POSIX conditional code not relevant to Win32
2425         changed net POSIXisms to Win32isms
2426         replaced _Jv socket-related calls with their real Win32 equivalents
2427         changed exception throwing to use error string and exception
2428         helper methods declared in include/win32.h
2429         (peekData): implemented timeout support
2430         (receive): likewise
2431         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
2432         whitespace inconsistencies
2433         removed gcj/cni.h and gcj/javaprims.h includes
2434         removed DISABLE_JAVA_NET conditional code
2435         removed POSIX conditional code not relevant to Win32
2436         changed net POSIXisms to Win32isms
2437         replaced _Jv socket-related calls with their real Win32
2438         equivalents
2439         changed exception throwing to use error string and exception
2440         helper methods declared in include/win32.h
2441         (throwConnectException): helper function for connect()
2442         (connect): implemented timeout support
2443         (accept): likewise
2444         (doRead): new helper function common to both read() method overloads,
2445         includes timeout support
2446         (read): implemented both overloads in terms of doRead()
2447         (available): implemented using ioctlsocket()
2448
2449 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
2450
2451         * java/net/natInetAddressWin32.cc,
2452         java/net/natNetworkInterfaceWin32.cc,
2453         java/net/natPlainDatagramSocketImplWin32.cc,
2454         java/net/natPlainSocketImplWin32.cc:
2455         Readded code enclosed in DISABLE_JAVA_NET defines
2456         in preparation for MinGW cleanup / networking
2457         patch
2458
2459 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
2460
2461         * Makefile.am: Fixed problems with parallel makes.
2462         (all_java_class_files): Readded definition.
2463         (all_java_class_files): New target which depends on
2464         libgcj-@gcc_version@.jar
2465         * Makefile.in: Rebuilt
2466
2467 2003-08-28  Tom Tromey  <tromey@redhat.com>
2468
2469         * Makefile.in: Rebuilt.
2470         * Makefile.am (ordinary_java_source_files): Added new files.
2471         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
2472         friend.
2473         * java/net/URLClassLoader.java (findClass): Don't use
2474         findURLResource.  Use loader's getClass method.
2475         (URLLoader.getClass): New method.
2476         (addURL): Handle `gcjlib' URLs.
2477         (SoURLLoader): New class.
2478         (SoResource): Likewise.
2479         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
2480         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
2481         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
2482         (_Jv_RegisterCoreHook): Declare.
2483         (_Jv_FindCore): Declare.
2484         * gnu/gcj/runtime/SharedLibHelper.java: New file.
2485         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
2486         typedef.
2487         (core_hook): New function.
2488         (struct SharedLibDummy) [saved_core]: New field.
2489         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
2490         (register_hook): Set protection domain and class loader on new
2491         class.
2492         (finalize): Free core chain.
2493         * gnu/gcj/Core.java (Core): New constructor.
2494         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
2495         SharedLibHelper.
2496         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
2497         (_Jv_create_core): New function.
2498         (create): Use it.
2499         (default_register_resource): New function.
2500         (_Jv_RegisterCoreHook): New global.
2501         (_Jv_RegisterResource): Use it.
2502         (core_chain_struct): Removed.
2503         (_Jv_FindCore): New function.
2504         (_Jv_FreeCoreChain): New function.
2505
2506 2003-08-29  Michael Koch  <konqueror@gmx.de>
2507
2508         * java/net/natInetAddressWin32.cc,
2509         java/net/natNetworkInterfaceWin32.cc,
2510         java/net/natPlainDatagramSocketImplWin32.cc,
2511         java/net/natPlainSocketImplWin32.cc:
2512         Removed code enclosed in DISABLE_JAVA_NET defines.
2513
2514 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
2515
2516         * Makefile.am: (write_entries_to_file) New parameterized
2517         function for writing entries to a file one line at a time.
2518         (all_java_class_files): Removed definition.
2519         (.java.class) Removed.target.
2520         (libgcj-@gcc_version@.jar): Changed dependency to
2521         $(all_java_source_files); added compilation step which compiles
2522         all changed source files in one pass.
2523         (libgcj.la) Refactored to use write_entries_to_file.
2524         (lib-gnu-awt-xlib.la) Likewise.
2525         (install-data-local) Likewise.
2526         (write-entries-to-file-check) New target which tests write_entries_to_file.
2527         (all-recursive): Changed dependency from $(all_java_class_files)
2528         to libgcj-@gcc_version@.jar
2529         * Makefile.in: Rebuilt.
2530
2531 2003-08-26  Tom Tromey  <tromey@redhat.com>
2532
2533         * java/lang/StrictMath.java: Typo fix.
2534         * java/lang/Math.java: Typo fix.
2535
2536 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
2537
2538         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
2539         of the removed Thread.
2540
2541 2003-08-26  Mark Wielaard  <mark@klomp.org>
2542
2543         Reported by David Holmes <dholmes@dltech.com.au>.
2544         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
2545         Collections.synchronizedMap.
2546         * java/lang/ThreadLocal.java (valueMap): Likewise.
2547
2548 2003-08-26  Mark Wielaard  <mark@klomp.org>
2549
2550         * java/security/acl/Acl.java: Fix broken p tag.
2551         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
2552         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
2553         * javax/swing/plaf/TreeUI.java: Likewise.
2554         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
2555         * java/util/Properties.java: Use the word umlaut, not &auml; in api
2556         documentation.
2557         * java/util/PropertyResourceBundle.java: Likewise and add closing code
2558         tag.
2559
2560 2003-08-26  Tom Tromey  <tromey@redhat.com>
2561
2562         * Makefile.in: Rebuilt.
2563         * Makefile.am: Removed all GNU-make-specific FIXME comments.
2564
2565         * java/lang/ref/Reference.java (get): Indentation fix.
2566         (clear): Comment fix.
2567         (enqueue): Likewise.
2568         (lock): Likewise.
2569         (referent): Likewise.
2570
2571 2003-08-26  Tom Tromey  <tromey@redhat.com>
2572
2573         PR java/12058:
2574         * java/lang/reflect/natArray.cc (set): Allow null as argument.
2575
2576         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
2577         (ProxyData.getPackage): New method.
2578         (ProxyData.getProxyData): Use package name, not Package.
2579         (ClassFactory.ClassFactory): Updated.
2580
2581 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
2582         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
2583         * Makefile.in: re-generated.
2584         * gnu/awt/j2d/IntegerGraphicsState.java
2585         (ScreenCoupledImage): new interface.
2586         (drawImage): detect ScreenCoupledImage instances.
2587         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
2588         * gnu/awt/xlib/XEventLoop.java
2589         (createEvent): re-formatted, and rearranged to avoid null pointer.
2590         * gnu/awt/xlib/XGraphics.java
2591         (drawImage): added XOffScreenImage handling.
2592         * gnu/awt/xlib/XOffScreenImage.java: new file.
2593         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
2594         * gnu/gcj/xlib/GC.java (copyArea): new native method.
2595         * gnu/gcj/xlib/XAnyEvent.java
2596         (TYPE_KEY_PRESS): new constant.
2597         (TYPE_KEY_RELEASE): new constant.
2598         (TYPE_MOTION_NOTIFY): new constant.
2599         (TYPE_ENTER_NOTIFY): new constant.
2600         (TYPE_LEAVE_NOTIFY): new constant.
2601         (TYPE_FOCUS_IN): new constant.
2602         (TYPE_FOCUS_OUT): new constant.
2603         (TYPE_KEYMAP_NOTIFY): new constant.
2604         (TYPE_GRAPHICS_EXPOSE): new constant.
2605         (TYPE_NO_EXPOSE): new constant.
2606         (TYPE_VISIBILITY_NOTIFY): new constant.
2607         (TYPE_CREATE_NOTIFY): new constant.
2608         (TYPE_DESTROY_NOTIFY): new constant.
2609         (TYPE_MAP_REQUEST): new constant.
2610         (TYPE_CONFIGURE_REQUEST): new constant.
2611         (TYPE_GRAVITY_NOTIFY): new constant.
2612         (TYPE_RESIZE_REQUEST): new constant.
2613         (TYPE_CIRCULATE_NOTIFY): new constant.
2614         (TYPE_CIRCULATE_REQUEST): new constant.
2615         (TYPE_PROPERTY_NOTIFY): new constant.
2616         (TYPE_SELECTION_CLEAR): new constant.
2617         (TYPE_SELECTION_REQUEST): new constant.
2618         (TYPE_SELECTION_NOTIFY): new constant.
2619         (TYPE_COLORMAP_NOTIFY): new constant.
2620         (TYPE_MAPPING_NOTIFY): new constant.
2621         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
2622         * gnu/gcj/xlib/natGC.cc (copyArea): new method
2623         * java/awt/Component.java (createImage): changed to use peer method.
2624
2625 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2626
2627         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
2628         name, not XLFD, to native drawString.
2629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2630         Replace XLFD-based implementation with Pango-based
2631         implementation.
2632
2633 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2634
2635         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
2636         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
2637
2638 2003-08-21  David Daney  <ddaney@avtrex.com>
2639
2640         Fix for PR libgcj/12013:
2641         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2642         Check `cleared' field.
2643         * java/lang/ref/Reference.java (copy): Updated comments.
2644         (cleared): New field.
2645         (clear): Rewrote.
2646
2647 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
2648             Thomas Fitzsimmons  <fitzsim@redhat.com>
2649
2650         * Makefile.am (gtk_awt_peer_sources): Add
2651         gnu/java/awt/peer/GLightweightPeer.java.  Remove
2652         gnu/java/awt/GLightweightPeer.java.
2653         * gnu/java/awt/GLightweightPeer.java: Remove file.
2654         * gnu/java/awt/peer/GLightweightPeer.java: New file.
2655         * java/awt/Component.java (getToolkit): Add comment about
2656         lightweight components.
2657         * java/awt/Toolkit.java (createComponent): Return
2658         gnu.java.awt.peer.GLightweightPeer.
2659
2660 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
2661
2662         * configure.in: Fix detection of gcj when building with newlib.
2663         * configure: Regenerated.
2664
2665 2003-08-20  Graydon Hoare  <graydon@redhat.com>
2666
2667         * jni.cc: Replace "cheating" pointer-casting code with
2668         extract_from_jvalue<> template.
2669
2670 2003-08-20  Andrew Haley  <aph@redhat.com>
2671
2672         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
2673         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
2674         (classAt): Break out class lookup function into getClass().
2675         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
2676         handlers when using -fno-assume-compiled.
2677
2678 2003-08-20  Tom Tromey  <tromey@redhat.com>
2679
2680         Fix for PR libgcj/9125:
2681         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
2682         object outside of loop.  Respect lib_control setting.
2683         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
2684         field.
2685         (lib_control): New field.
2686         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
2687         (VMClassLoader): Initialize new field.
2688
2689         * java/lang/ref/natReference.cc (finalize_referred_to_object):
2690         Set `list->reference' to DELETED_REFERENCE when removing dead
2691         object.
2692         (find_slot): Added an assert.
2693         (DELETED_REFERENCE): New define.
2694         (add_to_hash): Check for DELETED_REFERENCE.
2695         (remove_from_hash): Just return if found slot isn't ours.
2696
2697 2003-08-19  Andrew Haley  <aph@redhat.com>
2698
2699         * prims.cc (unblock_signal): New function.
2700         (catch_segv): Use it.
2701         (catch_fpe): Likewise.
2702
2703 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
2704
2705         PR libgcj/11575
2706         * java/io/natFileDescriptorWin32.cc (open): Set create
2707         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
2708         Honor EXCL when openning with WRITE flag. 
2709
2710 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
2711
2712         * include/jvm.h: New class _Jv_TempUTFString (helper class for
2713         getting a temporary C string from a jstring)
2714         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
2715         but uses a stack buffer if the string length is less than 256
2716         bytes.
2717
2718 2003-08-18  Tom Tromey  <tromey@redhat.com>
2719
2720         PR libgcj/11951:
2721         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
2722         void.  Throw VirtualMachineError if ffi fails.  Initialize return
2723         value.  Added is_jni_call argument; only wrap exception if not a
2724         JNI call.  Use descriptive message if operation not supported.
2725         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
2726         array class.
2727         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
2728         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
2729         _Jv_CallAnyMethodA.
2730         (_Jv_JNI_CallAnyMethodA): Likewise.
2731         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
2732         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
2733
2734 2003-08-13  Tom Tromey  <tromey@redhat.com>
2735
2736         * gij.cc (help): Document -? and -X.
2737
2738 2003-08-12  Graydon Hoare  <graydon@redhat.com>
2739
2740         * java/awt/Font.java: 
2741         Stub out more recent API. 
2742
2743 2003-08-12  Graydon Hoare  <graydon@redhat.com>
2744
2745         * java/awt/Color.java (getAlpha): 
2746         Prevent sign-extended alpha values.
2747
2748 2003-08-12  Tom Tromey  <tromey@redhat.com>
2749
2750         * gij.cc (main): Handle -? and -X.
2751
2752 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
2753
2754         * java/awt/Container.java
2755         (getPreferredSize): Call preferredSize.
2756         (preferredSize): Moved body of getPreferredSize here.
2757         (getMinimumSize): Call minimumSize.
2758         (minimumSize): Moved body of getMinimumSize here.
2759
2760 2003-08-11  Tom Tromey  <tromey@redhat.com>
2761
2762         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
2763         (postEvent): Removed FIXME comment.
2764         (isDispatchThread): Documented.
2765         (getCurrentEvent): New method.
2766         (dispatchEvent): Set currentEvent and lastWhen.
2767         (getMostRecentEventTime): Rewrote.
2768         (invokeLater): Documented.
2769
2770 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
2771
2772         * java/io/PrintStream.java (print): Always flush if auto_flush is
2773         set. Don't check for newline characters.
2774         (write (int)): Implement without using a temporary array.
2775         (write (byte[], int, int): Always flush if auto_flush is set. Don't
2776         check for newline characters.
2777         Fixes PR libgcj/11778.
2778
2779 2003-08-08  Andrew Haley  <aph@redhat.com>
2780
2781         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
2782         * Makefile.in: Rebuild.
2783         * java/lang/natRuntime.cc (insertSystemProperties): Add
2784         "sun.boot.class.path".
2785
2786 2003-08-07  Andrew Haley  <aph@redhat.com>
2787
2788         * java/io/PrintStream.java: Don't crash on a null string.
2789         
2790 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2791
2792         * configure.in: Don't initialize GCINCS to boehm-gc/include.
2793         * configure: Regenerate.
2794
2795 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
2796
2797         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
2798         SocketImpl. Update Javadoc.
2799         (bind): Call close() not impl.close() in event of exception.
2800         (connect): Likewise.
2801         Remove superfluous null checks throughout.
2802         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
2803         Don't create an extra socket. Fix for PR libgcj/10868.
2804         (bind): Clean up exception handling.
2805         Remove superfluous null checks throughout.
2806
2807 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
2808             Bryce McKinlay  <bryce@mckinlay.net.nz>
2809
2810         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
2811         ready-to-write argument to _Jv_Select. Reset the socket back to 
2812         non-blocking state after connecting.
2813         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
2814         Throw SocketTimeoutException not InterruptedIOException.
2815         (read): Throw SocketTimeoutException not InterruptedIOException.
2816
2817 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
2818
2819         * java/lang/Thread.java (Thread): Check for null "name" from
2820         start of private constructor, not after calling the private
2821         constructor.
2822
2823 2003-08-06  Tom Tromey  <tromey@redhat.com>
2824
2825         * java/io/FilePermission.java (equals): Use correct index for
2826         last character of path.
2827
2828 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
2829
2830         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
2831         * configure.in: Compare with_cross_host to build_alias, not build.
2832         * aclocal.m4: Regenerate.
2833         * configure: Regenerate.
2834
2835 2003-08-05  Tom Tromey  <tromey@redhat.com>
2836
2837         Fix for PR libgcj/11779:
2838         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
2839         class.
2840
2841         * java/lang/reflect/Method.java: Updated status comment.
2842         Imported javadoc from Classpath and re-ordered methods.
2843         * java/lang/reflect/Constructor.java: Reindented.  Updated
2844         status comment.  Imported javadoc from Classpath and re-ordered
2845         methods.
2846
2847 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
2848
2849         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
2850         Add keyLocation parameter.
2851         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
2852         string.
2853         (paramString): Generate keyChar string according to keyChar, not
2854         keyCode.
2855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2856         (state_to_awt_mods): Handle ALT key.
2857         (keyevent_state_to_awt_mods): New function.
2858         (get_first_keyval_from_keymap): New function.
2859         (keysym_to_awt_keycode): Get virtual key code from keymap.
2860         Handle missing VK_ values.
2861         (keysym_to_awt_keylocation): New function.
2862         (keyevent_to_awt_keychar): New function.
2863         (generates_key_typed_event): Handle non-text-component case.
2864         Handle GDK_KP_Delete and GDK_KP_Enter.
2865         (awt_event_handler): Call new functions to get postKeyEvent
2866         parameters.
2867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
2868         Update postKeyEvent method signature.
2869         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
2870         VK_ defines.
2871
2872 2003-08-05  Matthias Klose  <doko@debian.org>
2873
2874         * aclocal.m4: check for libart-config binary
2875           under the name libart2-config as well.
2876         * configure: regenerated.
2877
2878 2003-08-04  David P Grove  <groved@us.ibm.com>
2879
2880         * java/text/DecimalFormat.java (format): avoid ArithmeticException
2881         when groupingSize is 0.
2882         (parse): Likewise.
2883
2884 2003-08-04  Matthias Klose  <doko@debian.org>
2885
2886         * libart.m4: check for libart-config binary
2887           under the name libart2-config as well.
2888         * configure, aclocal.m4: regenerated.
2889
2890 2003-08-02  Michael Koch  <konqueror@gmx.de>
2891
2892         * java/nio/ByteBufferImpl.java
2893         (getChar): Check remaining bytes, fixed comment about endianess.
2894         (putChar): Likewise.
2895         (getShort): Likewise.
2896         (putShort): Likewise.
2897         (getInt): Check remaining bytes, fixed conversion, fixed comment about
2898         endianess.
2899         (putInt): Likewise.
2900         (getLong): Likewise.
2901         (putLong): Likewise.
2902         (getFloat): Likewise.
2903         (putFloat): Likewise.
2904         (getDouble): Likewise.
2905         (putDouble): Likewise.
2906         * java/nio/DirectByteBufferImpl.java
2907         (getChar): Wrapped code, fixed comment about endianess.
2908         (putchar): Likewise.
2909         (getShort): Likewise.
2910         (putShort): Likewise.
2911         (getInt): Fixed conversion, fixed comment about endianess.
2912         (putInt): Likewise.
2913         (getLong): Likewise.
2914         (putLong): Likewise.
2915         (getFloat): Likewise.
2916         (putFloat): Likewise.
2917         (getDouble): Likewise.
2918         (putDouble): Likewise.
2919         * java/nio/MappedByteBufferImpl.java
2920         (compact): Implemented.
2921         (getChar): Implemented.
2922         (putChar): Implemented.
2923         (getDouble): Implemented.
2924         (putdouble): Implemented.
2925         (getFloat): Implemented.
2926         (putFloat): Implemented.
2927         (getInt): Implemented.
2928         (putInt): Implemented.
2929         (getLong): Implemented.
2930         (putLong): Implemented.
2931         (getShort): Implemented.
2932         (putShort): Implemented.
2933         * java/nio/channels/FileChannelImpl.java
2934         (read): Set position where to access file.
2935         (write): Likewise.
2936         (transferTo): Flip buffer after read and before write.
2937         (transferFrom): Likewise.
2938
2939 2003-08-02  Michael Koch  <konqueror@gmx.de>
2940
2941         * gnu/java/lang/ArrayHelper.java
2942         (equalsArray): Reformated, added method documentation.
2943
2944 2003-08-02  Michael Koch  <konqueror@gmx.de>
2945
2946         * java/net/URL.java
2947         (URL): Added paragraph about the
2948         gnu.java.net.nocache_protocol_handlers property.
2949         (ph_cache): Renamed from handlers to match classpath's implementation.
2950         Reordered it with factory and serialVersionUID member variables.
2951         (cache_handlers): New member variable.
2952         (static): New static initializer to initialize cache_handlers from
2953         gnu.java.net.nocache_protocol_handlers property.
2954         (URL): Use ph_cache instead of handlers, reformatted some code to
2955         match classpath's implementation.
2956
2957 2003-08-01  Tom Tromey  <tromey@redhat.com>
2958
2959         Fix for PR libgcj/11241:
2960         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
2961         initialCapacity is 0, set it to 1.
2962
2963 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
2964
2965         * java/net/SocketImpl.java (toString): Display the remote address
2966         of an unconnected server socket as "0.0.0.0/0.0.0.0".
2967
2968 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
2969
2970         * javax/swing/border/BevelBorder.java,
2971         javax/swing/border/EtchedBorder.java,
2972         javax/swing/border/LineBorder.java,
2973         javax/swing/border/MatteBorder.java,
2974         javax/swing/border/SoftBevelBorder.java,
2975         javax/swing/plaf/BorderUIResource.java,
2976         javax/swing/plaf/ComponentUI.java,
2977         javax/swing/plaf/TreeUI.java,
2978         javax/swing/plaf/basic/BasicBorders.java,
2979         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2980         javax/swing/plaf/basic/BasicTreeUI.java:
2981         Prepend "doc-files" to all paths to embedded Javadoc images, so
2982         that the generated documentation contains the correct URL.
2983
2984 2003-08-01  Tom Tromey  <tromey@redhat.com>
2985
2986         * configure: Rebuilt.
2987         * configure.in (tool_include_dir): Redefine to match gcc.
2988
2989 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
2990             Mark Wielaard  <mark@klomp.org>
2991             
2992         * java/math/BigDecimal (divide): Correctly handle
2993         ROUND_HALF_EVEN when amount is greater than 0.5.
2994         Simplify and optimize code.
2995
2996 2003-07-31  Tom Tromey  <tromey@redhat.com>
2997
2998         More for PR libgcj/11737:
2999         * java/io/ObjectInputStream.java (processResolution): Use
3000         getMethod.
3001         (getMethod): Make method accessible.
3002         (getField): Make field accessible.
3003         (setBooleanField): Don't call setAccessible here.
3004         (setByteField, setCharField, setDoubleField, setFloatField,
3005         setIntField, setLongField, setShortField, setObjectField):
3006         Likewise.
3007         (callReadMethod): Don't check whether method is null.  Catch
3008         NoSuchMethodException.
3009         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3010         cause on thrown exceptions.
3011
3012 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
3013
3014         Fix for PR libgcj/11728:
3015         * java/util/HashMap.java (readObject): Set size.
3016
3017 2003-07-31  Tom Tromey  <tromey@redhat.com>
3018
3019         Fix for PR libgcj/11737:
3020         * java/io/ObjectOutputStream.java (getMethod): Make method
3021         accessible.
3022         (getField): Likewise.
3023         (writeObject): Use getMethod.
3024         Import PrivilegedAction and AccessController.
3025         (callWriteMethod): Don't check whether m is null.  Catch
3026         NoSuchMethodException.
3027
3028         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3029         (containsAngle): Likewise.
3030         (getStartPoint): Rewrote.
3031         (getEndPoint): Likewise.
3032         (setAngleStart(Point2D)): Likewise.
3033
3034 2003-07-31  Roger Sayle  <roger@eyesopen.com>
3035             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3036
3037         * configure.in: Add new THREADCXXFLAGS variable.
3038         Handle POSIX threads on alpha*-dec-osf*.
3039         * configure: Regenerate.
3040         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3041         * Makefile.in: Regenerate.
3042
3043 2003-07-08  Andrew Haley  <aph@redhat.com>
3044
3045         * include/i386-signal.h (RESTORE): New.
3046         (INIT_SEGV): Set restorer.
3047         (INIT_FPE): Likewise.
3048
3049 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3050
3051         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3052         than getXLFD.
3053         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3054         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3056         (gtkSetFont): Scale size parameter by PANGO_SCALE.
3057         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3058         Likewise.
3059         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3060         Likewise.
3061
3062 2003-07-29  Tom Tromey  <tromey@redhat.com>
3063
3064         * defineclass.cc (handleField): Throw exception if field name is
3065         duplicated.
3066         (handleMethod): Throw exception for duplicate method.
3067
3068 2003-07-29  Tom Tromey  <tromey@redhat.com>
3069
3070         * gnu/gcj/convert/natIconv.cc (write): Handle case where
3071         output buffer is too small.
3072
3073 2003-07-28  Tom Tromey  <tromey@redhat.com>
3074
3075         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3076         New method.
3077         Include gnu/gcj/runtime/StringBuffer.h.
3078         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3079         native method.
3080         (String(gnu.gcj.runtime.StringBuffer)): Use it.
3081
3082 2003-07-27  Anthony Green  <green@redhat.com>
3083
3084         * configure.in: Fix newlib check.
3085         * configure: Rebuilt.
3086
3087 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3088
3089         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3090         Create vbox and layout for GtkPlug.
3091
3092 2003-07-27  Michael Koch  <konqueror@gmx.de>
3093
3094         * java/awt/Window.java
3095         (Window): Removed now unused constructor. It became oboslete with the
3096         new embedded window patch.
3097
3098 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
3099             Michael Koch  <konqueror@gmx.de>
3100
3101         * gnu/java/awt/EmbeddedWindow.java
3102         (EmbeddedWindow): Extends Frame instead of Window.
3103         (window_id): New member variable to store the native window handle.
3104         (create): Removed.
3105         (EmbeddedWindow): New constructor.
3106         (addNotify): New method.
3107         (getHandler): Likewise.
3108         (setWindowPeer): New native method.
3109         * gnu/java/awt/EmbeddedWindowSupport.java
3110         (EmbeddedWindowSupport): Fixed documentation.
3111         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3112         WindowPeer, give it an EmbeddedWindow instance instead of the raw
3113         window data.
3114         * gnu/java/awt/natEmbeddedWindow.cc
3115         (create): Removed.
3116         (setWindowPeer): New method.
3117         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3118         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3119         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3120         New files
3121         * gnu/java/awt/peer/gtk/GtkToolkit.java
3122         (GtkToolkit): Implements EmbeddedWindowSupport.
3123         (createEmbeddedWindow): New method.
3124         * java/awt/Window.java
3125         (Window): Removed.
3126         * Makefile.am
3127         (java_source_files): Added EmbeddedWindowPeer.java.
3128         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3129         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3130         * Makefile.in: Regenerated.
3131
3132 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
3133
3134         * java/lang/Win32Process.java (ConcreteProcess): Surround
3135         a command line element with quotes if it contains an
3136         embedded space or tab.
3137         * java/lang/natWin32Process.cc (startProcess): Do not
3138         surround command line elements with quotes here.
3139
3140         * configure.host: Use -fcheck-references and 
3141         -fuse-divide-subroutine for MinGW until we fix
3142         win32_exception_handler( ) in win32.cc w.r.t. Win32 
3143         Structured Exception Handling (SEH).
3144
3145         * win32.cc (_Jv_platform_initProperties): Use generic names
3146         like "x86" for the "os.arch" property to be consistent with
3147         what Sun's JDK produces. Use the wProcessorArchitecture
3148         member of the Win32 SYSTEM_INFO structure, filled in a call 
3149         to GetSystemInfo( ), instead of dwProcessorType.
3150
3151 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
3152             Ranjit Mathew  <rmathew@hotmail.com>
3153
3154         * Makefile.am: Use cross-compiling gcjh from the path for
3155         a crossed-native build.
3156         * Makefile.in: Rebuilt.
3157         * configure.in: Include libltdl in non-newlib builds.
3158         Moved determination of gcj used to build libraries to
3159         its own section. Fixed cross-compilation issues for
3160         non-newlib builds.
3161         * configure: Rebuilt.
3162
3163 2003-07-25  Tom Tromey  <tromey@redhat.com>
3164
3165         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3166         (write): Likewise.
3167         (read): Likewise.
3168         (read): Likewise.
3169
3170 2003-07-25  Mark Wielaard  <mark@klomp.org>
3171
3172         * java/lang/natRuntime.cc (_load): Add library name to
3173         UnsatisfiedLinkError when thrown.
3174
3175 2003-07-25  Mark Wielaard  <mark@klomp.org>
3176
3177         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3178         added.
3179         * Makefile.in: Likewise.
3180
3181 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
3182
3183         * java/awt/Component.java
3184         (getPreferredSize): Call preferredSize.
3185         (preferredSize): Moved body of getPreferredSize here.
3186         (getMinimumSize): Call minimumSize.
3187         (minimumSize): Moved body of getMinimumSize here.
3188         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3189         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3190         pass -1
3191         * java/awt/Container.java
3192         (validate): Don't validate if there is no peer.
3193         (update): Clear background before calling paint.
3194         * java/awt/GridBagLayout.java
3195         Completed the implementation and fixed several bugs.
3196         * java/awt/MediaTracker.java
3197         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3198         combine flags.
3199         * java/awt/Window.java
3200         (Window): Don't call setVisible(false). Windows are invisible by
3201         default and calling virtual methods from constructor causes
3202         compatibility problems (e.g. subclasses may assume that the peer
3203         already exists).
3204
3205 2003-07-25  Michael Koch  <konqueror@gmx.de>
3206
3207         * java/awt/GridBagLayout.java:
3208         Totally reworked and partly implemented.
3209         * java/awt/GridBagLayoutInfo.java:
3210         New file.
3211
3212 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3213
3214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3215         Don't pack label in an event box.
3216
3217 2003-07-24  Tom Tromey  <tromey@redhat.com>
3218
3219         For PR libgcj/7482:
3220         * verify.cc (ref_intersection): New class.
3221         (type_val): Removed unresolved_reference_type,
3222         uninitialized_unresolved_reference_type.
3223         (is_assignable_from_slow): Rewrote.
3224         (type::data): Removed.
3225         (type::klass): New field.
3226         (type::type): Added verifier argument.
3227         (type::resolve): Removed.
3228         (type::set_uninitialized): Updated for change to type_val.
3229         (type::set_initialized): Likewise.
3230         (type::isinitialized): Likewise.
3231         (type::print): Likewise.
3232         (construct_primitive_array_type): Likewise.
3233         (type::compatible): Updated for change to type_val and to use
3234         ref_intersection.
3235         (type::isarray): Updated to use ref_intersection.
3236         (type::isinterface): Likewise.
3237         (type::element_type): Likewise.
3238         (type::to_array): Likewise.
3239         (type::verify_dimensions): Rewrote.
3240         (type::merge): Likewise.
3241         (check_class_constant): Updated for type constructor change.
3242         (check_constant): Likewise.
3243         (check_field_constant): Likewise.
3244         (get_one_type): Likewise.
3245         (initialize_stack): Likewise.
3246         (verify_instructions_0): Likewise.
3247         (verify_instructions_0) [op_invokeinterface]: Removed special
3248         case.
3249         (isect_list): New field.
3250         (_Jv_BytecodeVerifier): Initialize it.
3251         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
3252
3253 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
3254
3255         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
3256         unless field size is 2.
3257
3258 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3259
3260         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3261         (connectHooks): New method.
3262         (handleEvent): Remove.
3263         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3264         (createHooks): Remove declaration.
3265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3266         (generates_key_typed_event): Change to handle only certain
3267         keyvals.
3268         (awt_event_handler): Add special handling for GtkTextView.
3269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3270         (textcomponent_commit_cb): New function.
3271         (textcomponent_changed_cb): Likewise.
3272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3273         (connectHooks): Remove.
3274
3275 2003-07-23  Tom Tromey  <tromey@redhat.com>
3276
3277         * java/lang/natSystem.cc (arraycopy): Check for overflow.
3278
3279         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
3280
3281 2003-07-22  Tom Tromey  <tromey@redhat.com>
3282
3283         * boehm.cc (_Jv_BuildGCDescr): Wrote.
3284         Include limits.h.
3285
3286 2003-07-22  Tom Tromey  <tromey@redhat.com>
3287
3288         * java/awt/Window.java (getWarningString): Just return the
3289         string.
3290         (Window): Set warningString; check with security manager.
3291
3292 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
3293
3294         * gnu/awt/xlib/XGraphicsConfiguration.java
3295         (FontMetricsCache): Made static.
3296  
3297 2003-07-22  Tom Tromey  <tromey@redhat.com>
3298
3299         * java/net/URLEncoder.java (encode(String)): Use platform default
3300         encoding.
3301         (encode(String,String)): Convert to 2-digit upper-case hex
3302         number.
3303         (hex): New field.
3304
3305 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3306
3307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3308         (create): Remove unused method implementation.
3309         (connectHooks): Remove debug messages.
3310
3311 2003-07-20  Anthony Green  <green@redhat.com>
3312
3313         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
3314         CloneNotSupportedException.
3315         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
3316         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
3317         * gnu/gcj/xlib/GC.java (clone): Ditto.
3318         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
3319         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
3320
3321         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
3322         handler.
3323         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
3324
3325 2003-07-20  Steve Pribyl <steve@netfuel.com.>
3326
3327         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
3328         String.  Put dlerror() message into exception.
3329         Include UnsatisfiedLinkError.
3330         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
3331         String.  Now native.
3332
3333 2003-07-20  Tom Tromey  <tromey@redhat.com>
3334
3335         * java/lang/Runtime.java: Comment fix.
3336         * java/lang/ClassLoader.java (isAncestorOf): New method.
3337         (getParent): Uncommented security check.  Use isAncestorOf.
3338         * include/jvm.h (_Jv_CheckAccess): Declare.
3339         * java/lang/reflect/natConstructor.cc (newInstance): Perform
3340         access check.
3341         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
3342         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
3343         class loader to _Jv_GetArrayClass.
3344         Include ArrayIndexOutOfBoundsException.h.
3345         * java/lang/reflect/Field.java: Update comment to reflect status.
3346         (equals): Fixed indentation.
3347         * java/lang/Class.h (Class): Declare memberAccessCheck, not
3348         checkMemberAccess.  Make _Jv_CheckAccess a friend.
3349         * java/lang/Class.java (memberAccessCheck): New method from
3350         Classpath.
3351         (checkMemberAccess): Removed.
3352         (getDeclaredMethod): Use memberAccessCheck.
3353         (getField): Likewise.
3354         (getMethod): Likewise.
3355         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
3356         (_Jv_SearchMethodInClass): Likewise.
3357         * prims.cc (_Jv_CheckAccess): New function.
3358         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
3359         (_Jv_JNI_GetAnyFieldID): Likewise.
3360         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
3361         (getClassLoader): Added security check.
3362         (getConstructor): Call memberAccessCheck.
3363         (getDeclaredClasses): Likewise.
3364         (getDeclaredField): Likewise.
3365         (getDeclaredFields): Likewise.
3366         (_getConstructors): Likewise.
3367         (getDeclaredConstructor): Likewise.
3368         (getDeclaredMethods): Likewise.
3369         (getFields): Likewise.
3370         (getMethods): Likewise.
3371         (newInstance): Likewise.
3372         (_Jv_MakeVTable): Put method name in exception.
3373         * java/lang/reflect/natMethod.cc (getType): Use
3374         getClassLoaderInternal.
3375         (_Jv_GetTypesFromSignature): Likewise.
3376         (invoke): Perform access check.
3377         (_Jv_CallAnyMethodA): Removed old FIXME comments.
3378         Include ArrayIndexOutOfBoundsException.h.
3379         * java/lang/reflect/natField.cc (getType): Use
3380         getClassLoaderInternal.
3381         (_Jv_CheckFieldAccessibility): Removed.
3382         (getAddr): Use _Jv_CheckAccess; find caller.
3383         Include ArrayIndexOutOfBoundsException.h.
3384
3385 2003-07-20  Michael Koch  <konqueror@gmx.de>
3386
3387         * java/net/URL.java
3388         (URL): Fixed documentation to name an argument correcty, Reformatted
3389         one method declaration.
3390         (getURLStreamHandler): Added documentation from classpath.
3391
3392 2003-07-19  Tom Tromey  <tromey@redhat.com>
3393
3394         * mauve-libgcj: Don't run CollationElementIterator tests.
3395
3396 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
3397
3398         * java/net/URLClassLoader.java (addURL): Moved implementation to
3399         private addURLImpl() to avoid calling addURL from the constructor.
3400         (addURLImpl): Contains the code that was previously in addURL.
3401         (addURLs): Call addURLImpl(), not addURL().
3402
3403 2003-07-18  Graydon Hoare  <graydon@redhat.com>
3404
3405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
3406         Handle missing event cases, connect to "value-changed" signal.
3407
3408 2003-07-18  Graydon Hoare  <graydon@redhat.com>
3409
3410         * java/awt/geom/CubicCurve2D.java,
3411         java/awt/geom/Line2D.java,
3412         java/awt/geom/QuadCurve2D.java,
3413         java/awt/geom/Rectangle2D.java: 
3414         Fix path some calculations, make path iterators follow
3415         a consistent style.
3416
3417 2003-07-18  Mark Wielaard  <mark@klomp.org>
3418
3419         * java/util/logging/Handler.java (isLoggable): Check record level
3420         smaller or equal.
3421
3422 2003-07-17  Michael Koch  <konqueror@gmx.de>
3423
3424         * gnu/java/awt/peer/gtk/GtkToolkit.java:
3425         Reworked imports.
3426
3427 2003-07-14  Michael Koch  <konqueror@gmx.de>
3428
3429         * gnu/java/rmi/server/UnicastServerRef.java:
3430         New version from classpath.
3431
3432 2003-07-14  Michael Koch  <konqueror@gmx.de>
3433
3434         * java/awt/image/MemoryImageSource.java,
3435         java/beans/PropertyEditorManager.java,
3436         javax/naming/CompoundName.java,
3437         javax/naming/spi/NamingManager.java,
3438         javax/swing/AbstractButton.java,
3439         javax/swing/ButtonModel.java,
3440         javax/swing/SwingUtilities.java,
3441         javax/swing/UIManager.java,
3442         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3443         javax/swing/event/AncestorEvent.java,
3444         javax/swing/event/InternalFrameEvent.java,
3445         java/util/zip/ZipFile.java:
3446         New versions from classpath.
3447
3448 2003-07-13  Michael Koch  <konqueror@gmx.de>
3449
3450         * gnu/java/nio/FileChannelImpl.java,
3451         gnu/java/nio/natFileChannelImpl.cc: Removed.
3452         * java/io/FileInputStream.java,
3453         java/io/FileOutputStream.java,
3454         java/io/RandomAccessFile.java,
3455         java/nio/MappedByteBufferImpl.java:
3456         Import java.nio.channels.FileChannelImpl instead of
3457         gnu.java.nio.FileChannelImpl.
3458         * java/nio/channels/FileChannelImpl.java,
3459         java/nio/channels/natFileChannelImpl.cc:
3460         New files.
3461         * Makefile.am
3462         (ordinary_java_source_files):
3463         Removed gnu/java/nio/FileChannelImpl.java and added
3464         java/nio/channels/FileChannelImpl.java.
3465         (nat source_files):
3466         Removed gnu/java/nio/natFileChannelImpl.cc and added
3467         java/nio/channels/natFileChannelImpl.cc.
3468         * Makefile.in: Regenerated.
3469
3470 2003-07-13  Michael Koch  <konqueror@gmx.de>
3471
3472         * javax/swing/plaf/basic/BasicBorders.java,
3473         javax/swing/plaf/basic/BasicLabelUI.java,
3474         javax/swing/plaf/basic/BasicLookAndFeel.java,
3475         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3476         javax/swing/plaf/basic/BasicTextUI.java,
3477         javax/swing/plaf/metal/MetalLookAndFeel.java:
3478         New versions from classpath.
3479
3480 2003-07-13  Michael Koch  <konqueror@gmx.de>
3481
3482         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3483         * gnu/java/awt/peer/gtk/GdkGraphics.java
3484         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
3485         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
3486         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
3487         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
3488         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
3489         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3490         * gnu/java/awt/peer/gtk/GtkClipboard.java
3491         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
3492         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3493         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3494         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
3495         * gnu/java/awt/peer/gtk/GtkImage.java
3496         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3497         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
3498         * gnu/java/awt/peer/gtk/GtkListPeer.java
3499         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
3500         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
3501         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
3502         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
3503         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
3504         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
3505         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
3506         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3507         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
3508         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
3509         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3510         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3511
3512 2003-07-13  Michael Koch  <konqueror@gmx.de>
3513
3514         * gnu/java/locale/LocaleInformation_de.java
3515         * gnu/java/locale/LocaleInformation_en.java
3516         * gnu/java/locale/LocaleInformation_nl.java
3517
3518 2003-07-13  Michael Koch  <konqueror@gmx.de>
3519
3520         * gnu/java/awt/EmbeddedWindow.java,
3521         gnu/java/awt/EmbeddedWindowSupport.java,
3522         gnu/java/awt/natEmbeddedWindow.cc:
3523         New files.
3524         * java/awt/Window.java
3525         (Window): New constructor to support embedded windows.
3526         * Makefile.am
3527         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
3528         gnu/java/awt/EmbeddedWindowSupport.java.
3529         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
3530         * Makefile.in: Regenerated.
3531
3532 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
3533
3534         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
3535         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
3536         * java/awt/im/InputContext.java: Remove a redundant
3537         partial line.
3538
3539 2003-07-09  Tom Tromey  <tromey@redhat.com>
3540
3541         * Makefile.in: Rebuilt.
3542         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
3543
3544 2003-07-09  Mark Wielaard  <mark@klomp.org>
3545
3546         * java/io/ObjectOutputStream.java (writeObject): break after
3547         calling writeClassDescriptor().
3548
3549 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
3550
3551         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
3552
3553 2003-07-09  Michael Koch  <konqueror@gmx.de>
3554
3555         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3556         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3557         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3558         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
3559         Explicitly import used classes.
3560         * java/awt/Container.java: New version from classpath.
3561
3562 2003-07-09  Michael Koch  <konqueror@gmx.de>
3563
3564         * libgcj.pc.in: New file.
3565         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
3566         * Makefile.in: Regenerated.
3567         * configure: Regenrated.
3568         * configure.in: Create libgcj.pc from libgcj.pc.in.
3569
3570 2003-07-08  Mark Wielaard <mark@klomp.org>
3571
3572         * gcj/cni.h: CNI now expands to Compiled Native Interface.
3573
3574         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
3575         * java/lang/fdlibm.h: Likewise.
3576
3577 2003-07-07  Adam Megacz <adam@xwt.org>
3578
3579         * posix.cc: added #include<stdio.h>
3580                 
3581 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3582
3583         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
3584         formatting.
3585
3586         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3587         (setCaretPosition, setEditable): Rely entirely on native
3588         implementation.
3589         (getArgs): Remove.
3590         (postTextEvent): New method.
3591         (handleEvent): New method.
3592         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
3593         method.
3594         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
3595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3596         (keysym_to_awt_keycode): Fix range checks.
3597         (generates_key_typed_event): New function.
3598         (awt_event_handler): Post AWT_KEY_RELEASED events to event
3599         queue.
3600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3601         (gtkInit): Store TextComponent's postTextEvent method ID.
3602         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3603         (setText): Post TEXT_VALUE_CHANGED event to event queue.
3604
3605 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3606
3607         * configure.in: Check for usleep declaration.
3608         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
3609         * configure: Regenerate.
3610         * include/config.h.in: Likewise.
3611         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
3612
3613 2003-07-01  Michael Koch  <konqueror@gmx.de>
3614
3615         * gnu/gcj/convert/natIconv.cc
3616         (iconv_init): Fixed possible memory leak by releasing allocated iconv
3617         handle.
3618
3619 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3620
3621         * glib-2.0.m4: New file.
3622         * gtk-2.0.m4: New file.
3623         * glib.m4: Remove.
3624         * gtk.m4: Remove.
3625         * configure.in: Update AM_PATH_GTK macro call to
3626         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
3627         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
3628         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3629         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3630         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
3631         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3632         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3633         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
3634         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3635         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3636         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
3637         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3638         jni/gtk-peer/gthread-jni.c,
3639         jni/gtk-peer/gthread-jni.h:
3640         New versions from classpath.
3641         * aclocal.m4: Regenerate.
3642         * configure: Regenerate.
3643         * Makefile.in: Regenerate.
3644         * gcj/Makefile.in: Regenerate.
3645         * include/Makefile.in: Regenerate.
3646         * testsuite/Makefile.in: Regenerate.
3647
3648 2003-06-30  Gary Benson  <gbenson@redhat.com>
3649
3650         For PR libgcj/11349:
3651         * javax/naming/spi/NamingManager.java (getURLContext): Use
3652         correct name for factory class.
3653
3654 2003-06-28  Michael Koch  <konqueror@gmx.de>
3655
3656         * java/io/PrintStream.java
3657         (checkError): Call flush() instead of direct flushing of the Writer
3658         object.
3659         (print): Call print(String) instead of direct print method of the
3660         Writer Object.
3661         (println): Call println(String) instead of direct println method of the
3662         Writer Object.
3663         (write): Simplified.
3664
3665 2003-06-28  Michael Koch  <konqueror@gmx.de>
3666
3667         * java/net/ServerSocket.java
3668         (setChannel): New method.
3669         * java/net/Socket.java
3670         (setChannel): New method.
3671
3672 2003-06-27  Michael Koch  <konqueror@gmx.de>
3673
3674         * java/beans/beancontext/BeanContextSupport.java:
3675         New version from classpath.
3676
3677 2003-06-27  Michael Koch  <konqueror@gmx.de>
3678
3679         * java/awt/Window.java,
3680         java/awt/font/GraphicAttribute.java,
3681         java/awt/font/ImageGraphicAttribute.java,
3682         java/awt/image/DataBufferByte.java,
3683         java/awt/image/DataBufferInt.java,
3684         java/awt/image/DataBufferUShort.java,
3685         java/awt/image/DirectColorModel.java,
3686         java/awt/image/PixelGrabber.java:
3687         New versions from classpath.
3688
3689 2003-06-27  Michael Koch  <konqueror@gmx.de>
3690
3691         * java/security/Certificate.java
3692         (getGuarantor): Removed wrong @deprecated tag.
3693         (getPrincipal): Likewise.
3694         (getPublicKey): Likewise.
3695         (encode): Likewise.
3696         (decode): Likewise.
3697         (getFormat): Likewise.
3698         (toString): Likewise.
3699         * java/security/cert/PolicyQualifierInfo.java
3700         (PolicyQualifierInfo): Made final.
3701         * javax/security/auth/x500/X500Principal.java
3702         (serialVersionUID): New member variable.
3703
3704 2003-06-27  Michael Koch  <konqueror@gmx.de>
3705
3706         * java/text/Format.java
3707         (serialVersionUID): Fixed value.
3708
3709 2003-06-27  Michael Koch  <konqueror@gmx.de>
3710
3711         * java/net/Inet4Address.java
3712         (Inet4Address): Made package-private.
3713         * java/net/Inet6Address.java
3714         (Inet4Address): Made package-private.
3715
3716 2003-06-27  Michael Koch  <konqueror@gmx.de>
3717
3718         * java/io/RandomAccessFile.java
3719         (readLine): Removed wrong @deprecated tag.
3720         (getChannel): Made final.
3721
3722 2003-06-27  Michael Koch  <konqueror@gmx.de>
3723
3724         * gnu/java/nio/FileChannelImpl.java
3725         (write): Removed.
3726
3727 2003-06-27  Michael Koch  <konqueror@gmx.de>
3728
3729         * java/nio/ByteBufferImpl.java
3730         (ByteBufferImpl): Made it a package-private class
3731         * java/nio/CharBufferImpl.java
3732         (CharBufferImpl): Made it a package-private class
3733         * java/nio/DirectByteBufferImpl.java
3734         (DirectByteBufferImpl): Made it a package-private class
3735         * java/nio/DoubleBufferImpl.java
3736         (DoubleBufferImpl): Made it a package-private class
3737         * java/nio/FloatBufferImpl.java
3738         (FloatBufferImpl): Made it a package-private class
3739         * java/nio/IntBufferImpl.java
3740         (IntBufferImpl): Made it a package-private class
3741         * java/nio/LongBufferImpl.java
3742         (LongBufferImpl): Made it a package-private class
3743         * java/nio/ShortBufferImpl.java
3744         (ShortBufferImpl): Made it a package-private class
3745         * java/nio/channels/FileChannel.java
3746         (write): Made final.
3747         * java/nio/channels/ServerSocketChannel.java
3748         (ServerSocketChanne): Made protected.
3749
3750 2003-06-27  Michael Koch  <konqueror@gmx.de>
3751
3752         * javax/naming/CompositeName.java
3753         (serialVersionUID): New member variable.
3754         * javax/naming/CompoundName.java
3755         (serialVersionUID): New member variable.
3756         * javax/naming/InitialContext.java
3757         (InitialContext): Throws NamingException.
3758         (init): Likewise.
3759         * javax/naming/LinkRef.java
3760         (serialVersionUID): New member variable.
3761         (gteLinkName): Throws NamingException.
3762         * javax/naming/NamingException.java
3763         (serialVersionUID): New member variable.
3764         * javax/naming/NamingSecurityException.java
3765         (NamingSecurityException): Made abstract.
3766         (serialVersionUID): New member variable.
3767         * javax/naming/ReferralException.java
3768         (serialVersionUID): New member variable.
3769         * javax/naming/StringRefAddr.java
3770         (serialVersionUID): New member variable.
3771         * javax/naming/directory/BasicAttribute.java:
3772         Reworked imports.
3773         (serialVersionUID): New member variable.
3774         (get): Throws NamingException.
3775         (getAll): Throws NamingException.
3776         * javax/naming/directory/BasicAttributes.java:
3777         Reworked imports.
3778         (serialVersionUID): New member variable.
3779         * javax/naming/ldap/UnsolicitedNotificationEvent.java
3780         (serialVersionUID): New member variable.
3781
3782 2003-06-27  Michael Koch  <konqueror@gmx.de>
3783
3784         * Makefile.am
3785         (awt_java_source_files): Added new files:
3786         javax/swing/Popup.java,
3787         javax/swing/PopupFactory.java
3788         * Makefile.in: Regenerated.
3789
3790 2003-06-27  Michael Koch  <konqueror@gmx.de>
3791
3792         * javax/swing/JWindow.java,
3793         javax/swing/event/AncestorEvent.java,
3794         javax/swing/event/HyperlinkEvent.java,
3795         javax/swing/event/InternalFrameEvent.java,
3796         javax/swing/event/ListDataEvent.java,
3797         javax/swing/event/TableModelEvent.java,
3798         javax/swing/plaf/PopupMenuUI.java,
3799         javax/swing/plaf/SplitPaneUI.java,
3800         javax/swing/plaf/TabbedPaneUI.java,
3801         javax/swing/plaf/TextUI.java,
3802         javax/swing/plaf/TreeUI.java,
3803         javax/swing/plaf/basic/BasicTextUI.java,
3804         javax/swing/plaf/basic/BasicTreeUI.java:
3805         New versions from classpath.
3806         * javax/swing/Popup.java,
3807         javax/swing/PopupFactory.jav:
3808         New source files from classpath.
3809         * javax/swing/plaf/doc-files/TreeUI-1.png:
3810         New binary files from classpath.
3811
3812 2003-06-25  Michael Koch  <konqueror@gmx.de>
3813
3814         * Makefile.am
3815         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
3816         * Makefile.in: Regenerated.
3817
3818 2003-06-25  Michael Koch  <konqueror@gmx.de>
3819
3820         * javax/swing/plaf/ActionMapUIResource.java,
3821         javax/swing/plaf/BorderUIResource.java,
3822         javax/swing/plaf/ButtonUI.java,
3823         javax/swing/plaf/ColorChooserUI.java,
3824         javax/swing/plaf/ColorUIResource.java,
3825         javax/swing/plaf/ComboBoxUI.java,
3826         javax/swing/plaf/ComponentInputMapUIResource.java,
3827         javax/swing/plaf/ComponentUI.java,
3828         javax/swing/plaf/DesktopIconUI.java,
3829         javax/swing/plaf/DesktopPaneUI.java,
3830         javax/swing/plaf/DimensionUIResource.java,
3831         javax/swing/plaf/FileChooserUI.java,
3832         javax/swing/plaf/FontUIResource.java,
3833         javax/swing/plaf/IconUIResource.java,
3834         javax/swing/plaf/InputMapUIResource.java,
3835         javax/swing/plaf/InsetsUIResource.java,
3836         javax/swing/plaf/InternalFrameUI.java,
3837         javax/swing/plaf/LabelUI.java,
3838         javax/swing/plaf/ListUI.java,
3839         javax/swing/plaf/MenuBarUI.java,
3840         javax/swing/plaf/MenuItemUI.java,
3841         javax/swing/plaf/OptionPaneUI.java,
3842         javax/swing/plaf/PanelUI.java,
3843         javax/swing/plaf/ProgressBarUI.java,
3844         javax/swing/plaf/RootPaneUI.java,
3845         javax/swing/plaf/ScrollBarUI.java,
3846         javax/swing/plaf/ScrollPaneUI.java,
3847         javax/swing/plaf/SeparatorUI.java,
3848         javax/swing/plaf/SliderUI.java,
3849         javax/swing/plaf/TableHeaderUI.java,
3850         javax/swing/plaf/TableUI.java,
3851         javax/swing/plaf/ToolBarUI.java,
3852         javax/swing/plaf/ToolTipUI.java,
3853         javax/swing/plaf/ViewportUI.java:
3854         New versions from classpath.
3855         * javax/swing/plaf/SpinnerUI.java: 
3856         New file from classpath
3857
3858 2003-06-25  Michael Koch  <konqueror@gmx.de>
3859
3860         * java/awt/image/ColorModel.java:
3861         New version from classpath.
3862
3863 2003-06-25  Michael Koch  <konqueror@gmx.de>
3864
3865         * java/net/PlainDatagramSocketImpl.java:
3866         Partly merged with classpath, this mainly adds documentation.
3867
3868 2003-06-25  Michael Koch  <konqueror@gmx.de>
3869
3870         * java/io/ObjectInputStream.java
3871         (readClassDescriptor): New method.
3872         (readObject): Moved functionality to readClassDescriptor().
3873         * java/io/ObjectOutputStream.java
3874         (writeClassDescriptor): New method.
3875         (writeObject): Moved functionality to writeClassDescriptor().
3876
3877 2003-06-25  Michael Koch  <konqueror@gmx.de>
3878
3879         * javax/swing/plaf/basic/BasicListUI.java,
3880         javax/swing/plaf/basic/BasicOptionPaneUI.java:
3881         Added missing methods.
3882
3883 2003-06-25  Michael Koch  <konqueror@gmx.de>
3884
3885         * javax/swing/event/AncestorEvent.java
3886         javax/swing/event/HyperlinkEvent.java
3887         javax/swing/event/InternalFrameEvent.java
3888         javax/swing/event/ListDataEvent.java
3889         javax/swing/event/TableModelEvent.java:
3890         Compile fixes.
3891
3892 2003-06-24  Michael Koch  <konqueror@gmx.de>
3893
3894         * java/net/URL.java:
3895         Renamed "handler" to "ph" in the whole file to match classpaths
3896         version.
3897         * java/net/URLStreamHandler.java:
3898         (equals): Renamed "handler" to "ph".
3899
3900 2003-06-24  Michael Koch  <konqueror@gmx.de>
3901
3902         * javax/swing/event/AncestorEvent.java,
3903         javax/swing/event/HyperlinkEvent.java,
3904         javax/swing/event/InternalFrameEvent.java,
3905         javax/swing/event/ListDataEvent.java,
3906         javax/swing/event/TableModelEvent.java,
3907         javax/swing/event/TreeWillExpandListener.java,
3908         javax/swing/plaf/ComponentUI.java,
3909         javax/swing/plaf/DesktopIconUI.java,
3910         javax/swing/plaf/DesktopPaneUI.java,
3911         javax/swing/plaf/DimensionUIResource.java,
3912         javax/swing/plaf/FileChooserUI.java,
3913         javax/swing/plaf/FontUIResource.java,
3914         javax/swing/plaf/IconUIResource.java,
3915         javax/swing/plaf/InputMapUIResource.java,
3916         javax/swing/plaf/InsetsUIResource.java,
3917         javax/swing/plaf/InternalFrameUI.java,
3918         javax/swing/plaf/LabelUI.java,
3919         javax/swing/plaf/ListUI.java,
3920         javax/swing/plaf/MenuBarUI.java,
3921         javax/swing/plaf/MenuItemUI.java,
3922         javax/swing/plaf/OptionPaneUI.java,
3923         javax/swing/plaf/PanelUI.java,
3924         javax/swing/plaf/ProgressBarUI.java,
3925         javax/swing/plaf/doc-files/ComponentUI-1.dia,
3926         javax/swing/plaf/doc-files/ComponentUI-1.png:
3927         New versions from classpath.
3928
3929 2003-06-24  Michael Koch  <konqueror@gmx.de>
3930
3931         * java/nio/Buffer.java
3932         (cap): Made package-private.
3933         (pos): Likewise.
3934         (limit): Likewise.
3935         (mark): Likewise.
3936
3937 2003-06-24  Michael Koch  <konqueror@gmx.de>
3938
3939         * java/net/SocketImpl.java
3940         (shutdownInput): Made it non-abstract method throwing an exception
3941         like in SUNs JRE.
3942         (shutdownOutput): Likewise.
3943         * java/net/SocketInputStream.java,
3944         java/net/SocketOutputStream.java:
3945         New files from classpath.
3946
3947 2003-06-24  Michael Koch  <konqueror@gmx.de>
3948
3949         * java/awt/Font.java,
3950         java/awt/Window.java,
3951         java/awt/color/ColorSpace.java,
3952         java/awt/datatransfer/StringSelection.java,
3953         java/awt/image/ColorModel.java:
3954         New versions from classpath.
3955
3956 2003-06-24  Michael Koch  <konqueror@gmx.de>
3957
3958         * Makefile.am
3959         (awt_java_source_files): Added new files:
3960         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
3961         javax/swing/plaf/basic/BasicSplitPaneUI.java
3962         * Makefile.in: Regenerated.
3963
3964 2003-06-24  Michael Koch  <konqueror@gmx.de>
3965
3966         * javax/swing/text/JTextComponent.java:
3967         New version from classpath.
3968
3969 2003-06-24  Michael Koch  <konqueror@gmx.de>
3970
3971         * javax/swing/Timer.java,
3972         javax/swing/plaf/ActionMapUIResource.java,
3973         javax/swing/plaf/ButtonUI.java,
3974         javax/swing/plaf/ColorChooserUI.java,
3975         javax/swing/plaf/ColorUIResource.java,
3976         javax/swing/plaf/ComboBoxUI.java,
3977         javax/swing/plaf/ComponentInputMapUIResource.java,
3978         javax/swing/plaf/basic/BasicBorders.java:
3979         New versions from classpath.
3980         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
3981         javax/swing/plaf/basic/BasicSplitPaneUI.java:
3982         New file from classpath.
3983         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3984         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3985         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3986         javax/swing/plaf/doc-files/ComponentUI-1.dia,
3987         javax/swing/plaf/doc-files/ComponentUI-1.png:
3988         New binary files from classpath.
3989
3990 2003-06-24  Michael Koch  <konqueror@gmx.de>
3991
3992         * java/io/LineNumberReader.java
3993         (skip): Dont do line number accounting here as this is already done in
3994         read(), simplified.
3995
3996 2003-06-21  Michael Koch  <konqueror@gmx.de>
3997
3998         * java/io/File.java
3999         (static): Load javaio lib if existing (only in classpath).
4000         (File): Revised documentation to show the correct argument name.
4001         (createTempFile): Partly merged with classpath.
4002         (compareTo): Simplified.
4003         (lastModified): Throw exception if time < 0.
4004         (deleteOnExit): Revised documentation.
4005
4006 2003-06-21  Michael Koch  <konqueror@gmx.de>
4007
4008         * java/net/PlainSocketImpl.java:
4009         Reformatted.
4010         (PlainSocketImpl): Merged class documentaion with classpath.
4011         (in): Moved.
4012         (out): Moved.
4013         (PlainSocketImpl): New empty constructor.
4014         (finalize): Moved.
4015         (setOption): Merged documentation from classpath.
4016         (getOption): Likewise.
4017         (create): Likewise.
4018         (connect): Likewise.
4019         (bind): Likewise.
4020         (listen): Likewise.
4021         (accept): Likewise.
4022         (available): Likewise.
4023         (close): Likewise.
4024         (read): Likewise.
4025         (write): Likewise.
4026         (getInputStream): Made synchronozed to get sure that only one stream
4027         object can be created for this socket, merged documentation from
4028         classpath.
4029         (getOutputStream): Likewise.
4030
4031 2003-06-21  Michael Koch  <konqueror@gmx.de>
4032
4033         * java/net/PlainSocketImpl.java:
4034         Reformatting.
4035         (static): New implicit method.
4036         (read): Made package private.
4037         (write): Likewise.
4038
4039 2003-06-21  Michael Koch  <konqueror@gmx.de>
4040
4041         * java/util/SimpleTimeZone.java:
4042         Removed unneeded import, reformatting.
4043
4044 2003-06-21  Michael Koch  <konqueror@gmx.de>
4045
4046         * java/text/DateFormat.java,
4047         java/text/SimpleDateFormat.java,
4048         java/util/Locale.java: