OSDN Git Service

2005-01-15 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-01-15  Michael Koch  <konqueror@gmx.de>
2
3         PR libgcj/19444
4         * java/net/URI.java
5         (AUTHORITY_REGEXP): New regexp constant.
6         (AUTHORITY_USERINFO_GROUP): New constant.
7         (AUTHORITY_HOST_GROUP): Likewise.
8         (AUTHORITY_PORT_GROUP): Likewise.
9         (port): Changed default value to -1.
10         (parseURI): Parse authority part and initialize host,
11         port and userInfo.
12
13 2005-01-14  Robin Green  <greenrd@greenrd.org>
14
15         * java/io/File.java (toURI): Generate a URI which we understand.
16
17 2005-01-13  Graydon Hoare  <graydon@redhat.com>
18
19         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
20         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
21         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
22         * jni.cc: Reuse bottom frame between calls, avoid clearing
23         frame when no local references are made.
24
25 2005-01-13  Michael Koch  <konqueror@gmx.de>
26
27         PR libgcj/17784
28         * java/lang/Thread.java
29         (Thread): Call checkAccess().
30         (stop): Fixed argument name to match javadoc.
31         * java/lang/natThread.cc
32         (interrupt): Call checkAccess().
33         (stop): Likewise.
34
35 2005-01-11  Michael Koch  <konqueror@gmx.de>
36
37         PR libgcj/13972
38         * java/net/URL.java (URL): Handle specs like
39         "/redir?http://domain2.com/index.html" which start with a slash.
40
41 2005-01-11  Michael Koch  <konqueror@gmx.de>
42
43         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
44         * gnu/java/net/BASE64.java,
45         gnu/java/net/EmptyX509TrustManager.java,
46         gnu/java/net/LineInputStream.java,
47         gnu/java/net/protocol/http/Authenticator.java,
48         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
49         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
50         gnu/java/net/protocol/http/ChunkedInputStream.java,
51         gnu/java/net/protocol/http/Cookie.java,
52         gnu/java/net/protocol/http/CookieManager.java,
53         gnu/java/net/protocol/http/Credentials.java,
54         gnu/java/net/protocol/http/HTTPConnection.java,
55         gnu/java/net/protocol/http/HTTPDateFormat.java,
56         gnu/java/net/protocol/http/HTTPURLConnection.java,
57         gnu/java/net/protocol/http/Headers.java,
58         gnu/java/net/protocol/http/Request.java,
59         gnu/java/net/protocol/http/RequestBodyWriter.java,
60         gnu/java/net/protocol/http/Response.java,
61         gnu/java/net/protocol/http/ResponseBodyReader.java,
62         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
63         gnu/java/net/protocol/http/SimpleCookieManager.java,
64         gnu/java/net/protocol/http/event/ConnectionEvent.java,
65         gnu/java/net/protocol/http/event/ConnectionListener.java,
66         gnu/java/net/protocol/http/event/RequestEvent.java,
67         gnu/java/net/protocol/http/event/RequestListener.java: New files.
68         * gnu/java/net/protocol/http/Connection.java: Removed.
69         * gnu/java/net/protocol/http/Handler.java,
70         javax/net/ssl/HttpsURLConnection.java: Updated.
71         * Makefile.am: Added new files and remove old ones.
72         * Makefile.in: Regenerated.
73
74 2005-01-11  Tom Tromey  <tromey@redhat.com>
75
76         PR libgcj/18840:
77         * java/io/BufferedInputStream.java (read): Repeatedly read to
78         fill buffer.
79         (refill): Change test to see if buffer must be grown.
80
81 2005-01-10  Tom Tromey  <tromey@redhat.com>
82
83         * mauve-libgcj: Exclude some swing tests.
84
85 2005-01-10  Tom Tromey  <tromey@redhat.com>
86
87         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
88         * java/lang/Package.java (getPackages): Use VMClassLoader when
89         appropriate.
90         (getPackage): Likewise.
91         * prims.cc (_Jv_CreateJavaVM): Call
92         _Jv_RegisterBootstrapPackages.
93         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
94         * java/lang/VMClassLoader.java (getPackage): Rewrote.
95         (getPackages): Likewise.
96         (definedPackages): New field.
97         (definePackageForNative): New method.
98         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
99         * java/lang/natVMClassLoader.cc (loadClass): Updated.
100         * defineclass.cc (handleClassBegin): Use
101         ClassLoader.findLoadedClass.
102         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
103         Rewrote.
104         (struct _Jv_LoaderInfo): Removed.
105         (initiated_classes): Likewise.
106         (_Jv_UnregisterClass): Don't use initiated_classes.
107         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
108         (_Jv_FindClass): Register classes found during boostrap.
109         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
110         (bootstrap_class_list): New global.
111         (bootstrap_index): Likewise.
112         (_Jv_RegisterBootstrapPackages): New function.
113         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
114         definePackageForNative.
115         (findClass): Updated.
116         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
117         New method.
118
119 2005-01-10  Tom Tromey  <tromey@redhat.com>
120
121         PR libgcj/18868:
122         * include/jvm.h (_Jv_Linker::find_field): Declare.
123         (_Jv_Linker::find_field_helper): Likewise.
124         * link.cc (find_field_helper): New method.
125         (find_field): Likewise.
126         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
127         not found.
128         (link_symbol_table): Use find_field.
129
130 2005-01-10  Michael Koch  <konqueror@gmx.de>
131
132         PR libgcj/18014
133         * java/util/Locale.java (Locale): Don't uppercase variant.
134         (getISOCountries): Fixed typo in javadoc.
135
136 2005-01-10  Michael Koch  <konqueror@gmx.de>
137
138         * java/util/SimpleTimeZone.java (checkRule):
139         Throw IllegalArgumentException on invalid month values.
140         * java/util/TimeZone.java (setID):
141         Throw NullPointerException if needed.
142
143 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
144
145         * java/util/SimpleTimeZone.java (getOffset):
146         offset end date with daylight savings
147
148 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
149
150         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
151         * testsuite/libjava.compile/PR19277.xfail: Likewise.
152
153 2005-01-09  Michael Koch  <konqueror@gmx.de>
154
155         PR libgcj/17069
156         * java/net/InetAddress.java (getLocalHost):
157         Throw UnknownHostException if local hostname cannot be determined.
158
159 2005-01-06  Tom Tromey  <tromey@redhat.com>
160
161         * java/lang/ClassLoader.java (findClass): Fixed documentation.
162
163 2005-01-07  Michael Koch  <konqueror@gmx.de>
164
165         PR libgcj/18115
166         * java/nio/Buffer.java (address): New field.
167         * java/nio/DirectByteBufferImpl.java (address): Removed.
168         * java/nio/MappedByteBufferImpl.java (address): Likewise.
169         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
170         Explicitly initialize Buffer.address if needed.
171         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
172         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
173         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
174         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
175         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
176         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
177         DirectByteBufferImpl object.
178         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
179         * testsuite/libjava.jni/directbuffer.c,
180         testsuite/libjava.jni/directbuffer.java,
181         testsuite/libjava.jni/directbuffer.out,
182         testsuite/libjava.jni/bytebuffer.c,
183         testsuite/libjava.jni/bytebuffer.java,
184         testsuite/libjava.jni/bytebuffer.out: New files.
185
186 2005-01-05  Tom Tromey  <tromey@redhat.com>
187
188         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
189         argument.
190         (compressedSize): Now 'long'.  Default to -1.
191         (getCompressedSize): Rewrote.
192         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
193         deflate at all if we need input.
194
195 2005-01-05  Tom Tromey  <tromey@redhat.com>
196
197         PR libgcj/15719:
198         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
199         correctly.
200
201 2005-01-05  Tom Tromey  <tromey@redhat.com>
202
203         * java/lang/natRuntime.cc (insertSystemProperties): Set
204         java.ext.dirs earlier.
205
206 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
207
208         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
209         sync_info element of the object if needed.
210
211 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
212
213         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
214         a non-zero exit status from 'false'.
215
216 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
217
218         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
219
220 2004-12-31  Andreas Jaeger  <aj@suse.de>
221
222         * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
223
224 2004-12-20  Tom Tromey  <tromey@redhat.com>
225
226         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
227         Re-enable duplicate class registration error.
228
229         * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
230         * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
231         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
232         * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
233         get_multilibs.
234         (libjava_find_gij): Likewise.  Changed return result if gij not
235         found.
236         (test_libjava_from_javac): Updated.
237
238         PR java/15001
239         * testsuite/libjava.jni/iface.c: New file.
240         * testsuite/libjava.jni/iface.out: New file.
241         * testsuite/libjava.jni/iface.java: New file.
242
243 2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>
244
245         * include/config.h.in: Regenerate.
246
247 2004-12-10  Andrew Haley  <aph@redhat.com>
248
249         PR java/15001
250         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
251         abstract methods by name.
252
253 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
254
255         * java/util/IdentityHashMap.java (put): Replace mistaken use
256         of "<<" by "*".
257
258 2004-12-06  Tom Tromey  <tromey@redhat.com>
259
260         For PR java/14853:
261         * testsuite/libjava.compile/PR14853.java: New file.
262         * testsuite/libjava.compile/PR14853.xfail: New file.
263
264 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
265
266         PR libgcj/7305
267         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
268         * Makefile.am (install-data-local): Install headers into
269         $(gxx_include_dir) rather than $(includedir).
270         (AM_MAKEFLAGS): Pass down gxx_include_dir.
271         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
272         * include/Makefile.am (tool_include__HEADERS): Define this...
273         (include_HEADERS): ...instead of this.
274         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
275         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
276
277 2004-12-02  Tom Tromey  <tromey@redhat.com>
278
279         For PR java/16675:
280         * testsuite/libjava.compile/PR16675.java: New file.
281
282 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
283
284         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
285         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
286         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
287
288 2004-12-01  Tom Tromey  <tromey@redhat.com>
289
290         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
291         name.
292         (_Jv_ThreadRegister): Likewise.
293         (_Jv_MutexCheckMonitor): Likewise.
294
295         * link.cc: Include limits.h.
296
297 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
298
299         PR libgcj/18699
300         * testsuite/libjava.lang/PR18699.java,
301         testsuite/libjava.lang/PR18699.out: New test.
302
303 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
304
305         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
306         Update image observer.
307         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
308         Start image production.
309         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
310         against negative menu bar widths.
311         (setBounds): Likewise.
312         (postConfigureEvent): Likewise.
313         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
314         remove consumer unless only a single frame has completed.
315         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
316         Add observer parameter.
317         (setPixels): Update image observer.
318         (imageComplete): Likewise.
319         * java/applet/Applet.java (width): New field.
320         (height): Likewise.
321         (setStub): Set size if width or height field has been set.
322         (resize): If stub is null save width and height values.
323         * java/awt/Component.java (reshape): Protect against null
324         parent.
325         * java/awt/image/MemoryImageSource.java
326         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
327         Document.
328         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
329         Likewise.
330         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
331         Reference pixel array directly, rather than creating a local
332         copy.
333         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
334         Likewise.
335         (newPixels(int,int,int,int)): Fix for loop and array copy
336         bounds.
337         (newPixels(int,int,int,int,boolean)): Likewise.
338         (startProduction): If animated call imageComplete with
339         SINGLEFRAME.
340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
341         gdk_flush lines.
342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
343         (drawPixels): Return if g is null or g->drawable is not a gdk
344         drawable.
345
346 2004-11-30  Michael Koch  <konqueror@gmx.de>
347
348         * javax/swing/DefaultSingleSelectionModel.java,
349         javax/swing/JPasswordField.java,
350         javax/swing/tree/AbstractLayoutCache.java:
351         Reformatted and javadocs cleaned up.
352
353 2004-11-30  Michael Koch  <konqueror@gmx.de>
354
355         * java/awt/Component.java:
356         Fixed argument names to match javadocs.
357         (setFont): Rewritten set property first and then fire event.
358         (setLocale): Likewise.
359         * javax/swing/text/JTextComponent.java
360         (setEditable): Likewise.
361
362 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
363
364         * java/awt/Button.java
365         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
366         source of 'click'.
367
368 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
369
370         * java/awt/Checkbox.java: Remove stub comments.
371
372 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
373
374         * java/awt/Button.java
375         (AccessibleAWTButton.getAccessibleActionDescription): Return
376         'click'.
377
378 2004-11-30  Michael Koch  <konqueror@gmx.de>
379
380         * java/awt/CardLayout.java:
381         Made some constants static.
382         (serialVersionUID): Made private.
383         (addLayoutComponent): Simplified code.
384         * java/awt/event/InputEvent.java
385         (getModifiersEx): Added missing @param tag.
386         * java/awt/image/RGBImageFilter.java
387         (filterRGBPixels): Reformatted, removed wrong @param tag.
388
389 2004-11-30  Michael Koch  <konqueror@gmx.de>
390
391         * javax/swing/text/FieldView.java,
392         javax/swing/text/JTextComponent.java:
393         Removed debug code.
394
395 2004-11-30  Michael Koch  <konqueror@gmx.de>
396
397         * javax/swing/BorderFactory.java
398         (BorderFactory): Added private constructor.
399         * javax/swing/SwingUtilities.java
400         (SwingUtilities): Likewise.
401         (computeStringWidth): New method.
402
403 2004-11-30  Michael Koch  <konqueror@gmx.de>
404
405         * java/awt/color/ICC_Profile.java
406         (icSigNamedColorTag): Removed.
407         * java/awt/datatransfer/DataFlavor.java
408         (isMimeTypeEqual): Made final.
409         * java/awt/image/AffineTransformOp.java:
410         Reworked javadocs.
411         (TYPE_BICUBIC): Added @since tag.
412
413 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
414
415         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
416         comments.
417
418 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
419
420         * java/awt/Checkbox.java (itemStateChanged): Implement function.
421         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
422
423 2004-11-30  Sven de Marothy  <sven@physto.se>
424
425         * java/awt/Polygon.java (contains): Reimplemented.
426
427 2004-11-30  Michael Koch  <konqueror@gmx.de>
428
429         * java/awt/print/PrinterJob.java: Reformatted.
430
431 2004-11-30  Michael Koch  <konqueror@gmx.de>
432
433         * java/awt/image/AffineTransformOp.java,
434         java/awt/image/ColorConvertOp.java,
435         java/awt/image/LookupOp.java,
436         java/awt/image/RescaleOp.java:
437         Added final keywords where they belong.
438
439 2004-11-30  Michael Koch  <konqueror@gmx.de>
440
441         * java/awt/CardLayout.java,
442         java/awt/Component.java,
443         java/awt/Font.java,
444         java/awt/image/SinglePixelPackedSampleModel.java:
445         Fixed javadocs and argument names all over.
446
447 2004-11-30  Michael Koch  <konqueror@gmx.de>
448
449         * java/awt/image/DataBufferShort.java: Fixed file header.
450         * java/awt/image/DataBufferUShort.java: Likewise.
451         (DataBufferUShort): Throw NullPointerException if dataArray is null.
452
453 2004-11-30  Sven de Marothy  <sven@physto.se>
454
455         * java/awt/geom/Arc2D.java
456         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
457         (setAngles): Likewise.
458         (containsAngle): Return false on zero extent, don't include
459         final angle.
460         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
461         ones.
462
463 2004-11-30  Sven de Marothy  <sven@physto.se>
464
465         * java/awt/geom/AffineTransform.java,
466         (inverseTransform): Fixed bug and simplified code.
467         (createTransformedShape): Return null on null parameter.
468
469 2004-11-30  Michael Koch  <konqueror@gmx.de>
470
471         * java/awt/color/ICC_ColorSpace.java,
472         java/awt/color/ICC_Profile.java,
473         java/awt/color/ICC_ProfileGray.java,
474         java/awt/color/ICC_ProfileRGB.java:
475         Re-indent copyright header to be standardish.
476         * java/awt/datatransfer/StringSelection.java:
477         Reformatted.
478         * java/awt/geom/Area.java
479         (EPSILON): Made static.
480         (RS_EPSILON): Likewise.
481         (PE_EPSILON): Likewide.
482
483 2004-11-30  Sven de Marothy  <sven@physto.se>
484
485         * javax/swing/SwingUtilities.java:
486         (computeDifference): Implemented
487         (computeIntersection): Likewise
488         (computeUnion): Likewise
489         (isRectangleContainingRectangle): Likewise
490
491 2004-11-30  Michael Koch  <konqueror@gmx.de>
492
493         * java/awt/BasicStroke.java,
494         java/awt/Button.java,
495         java/awt/Canvas.java,
496         java/awt/CheckboxMenuItem.java,
497         java/awt/Container.java,
498         java/awt/EventQueue.java,
499         java/awt/FileDialog.java,
500         java/awt/FlowLayout.java,
501         java/awt/FontMetrics.java,
502         java/awt/Graphics.java,
503         java/awt/GridLayout.java,
504         java/awt/KeyboardFocusManager.java,
505         java/awt/Label.java,
506         java/awt/LayoutManager2.java,
507         java/awt/List.java,
508         java/awt/MenuBar.java,
509         java/awt/Scrollbar.java,
510         java/awt/Toolkit.java,
511         java/awt/Window.java,
512         java/awt/datatransfer/DataFlavor.java,
513         java/awt/datatransfer/FlavorTable.java,
514         java/awt/event/ActionListener.java,
515         java/awt/event/HierarchyBoundsAdapter.java,
516         java/awt/geom/Arc2D.java,
517         java/awt/geom/Rectangle2D.java,
518         java/awt/geom/RectangularShape.java,
519         java/awt/im/spi/InputMethod.java,
520         java/awt/image/ByteLookupTable.java,
521         java/awt/image/ColorModel.java,
522         java/awt/image/DirectColorModel.java,
523         java/awt/image/ShortLookupTable.java,
524         java/awt/print/Book.java:
525         Fixed javadocs and method argument names all over.
526
527 2004-11-30  Michael Koch  <konqueror@gmx.de>
528
529         * gnu/java/awt/peer/gtk/GdkFontPeer.java
530         (buildString): Optimise String building.
531
532 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
533
534         * java/awt/TextArea.java (AccessibleAWTTextArea,
535         getAccessibleContext): Implement.
536         * java/awt/TextField.java (AccessibleAWTTextField,
537         getAccessibleContext): Implement.
538
539 2004-11-30  Tom Tromey  <tromey@redhat.com>
540
541         * Makefile.in: Rebuilt.
542         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
543         Fixed typo.
544
545 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
546
547         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
548         Implement.
549         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
550         Implement.
551
552 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
553
554         * java/awt/print/PrinterJob.java (lookupPrintServices,
555         getPrintService, setPrintService): Implement.
556         (lookupStreamPrintServices): Add commented out implementation.
557         (printer): New field.
558
559 2004-11-30  Mark Wielaard  <mark@klomp.org>
560
561         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
562         when not yet set.
563
564 2004-11-30  Sven de Marothy  <sven@physto.se>
565
566         * java/awt/geom/GeneralPath.java (evaluateCrossings):
567         Fixed epsilon value, should always be nonzero.
568
569 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
570
571         * java/awt/image/Raster.java
572         (createPackedRaster): Implemented.
573
574 2004-11-30  Graydon Hoare  <graydon@redhat.com>
575
576         * javax/swing/plaf/basic/BasicTextUI.java:
577         Listen to focus events, indicate focus via caret.
578         * javax/swing/text/GapContent.java (getString): Return substring.
579         * javax/swing/text/PlainDocument.java (reindex): New method.
580         (createDefaultRoot): Call it.
581         (insertUpdate): Likewise.
582         (removeUpdate): Likewise.
583         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
584         on tab and newline, even if no painting happens.
585
586 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
587
588         * Makefile.am: List peer JNI header: Java source file
589         dependencies explicitly.  Likewise for JNI .lo: JNI header
590         dependencies.
591         * Makefile.in: Regenerate.
592
593 2004-11-30  Graydon Hoare  <graydon@redhat.com>
594
595         * Makefile.am: Add entry for BasicTextPaneUI.java
596         * Makefile.in: Regenerate.
597         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
598         (GdkGraphics2D): Set clip after transform.
599         (drawImage): Protect against null image.
600         * gnu/java/awt/peer/gtk/GtkFramePeer.java
601         (setIconImage): Protect against non-GtkImage args.
602         * gnu/java/awt/peer/gtk/GtkToolkit.java
603         (checkImage): Protect against non-GtkImage args.
604         * java/awt/print/PrinterJob.java:
605         (print): Add variant taking PrintRequestAttributeSet.
606         (printDialog): Likewise.
607         * javax/swing/JComponent.java:
608         (transferHandler): New field.
609         (getComponentGraphics): Build new Graphics for each sub-paint.
610         (getTransferHandler): New method.
611         (setTransferHandler): New method.
612         * javax/swing/JDesktopPane.java
613         (setDragMode): Force LIVE_DRAG_MODE.
614         * javax/swing/JMenuItem.java
615         (menuSelectionChanged): Protect against null parent.
616         * javax/swing/JTable.java (setDefaultRenderer): New method.
617         * javax/swing/JTree.java: Get basic ctors and UI working.
618         * javax/swing/JViewport.java (JViewport): Set scroll mode.
619         * javax/swing/RepaintManager.java
620         (addDirtyRegion): Skip empty regions.
621         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
622         bound scrollpane minimum by central view minimum.
623         * javax/swing/ToolTipManager.java
624         (showTip): Guard against null component.
625         * javax/swing/TransferHandler.java: Stub out.
626         * javax/swing/plaf/basic/BasicLookAndFeel.java:
627         Add entry for TextPaneUI, change Tree icons to pngs.
628         * javax/swing/plaf/basic/BasicMenuItemUI.java:
629         (installDefaults): Set text position and alignment.
630         (paintMenuItem): Layout icon with normal compound function.
631         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
632         (getMaximumSize): Delete.
633         (getMinimumSize): Delete.
634         (getPreferredSize): Use column model's total width.
635         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
636         * javax/swing/plaf/basic/BasicTextUI.java
637         (modelChanged): Make resilient against nulls.
638         * javax/swing/plaf/basic/BasicTreeUI.java:
639         Add some simplistic config / painting functions.
640         * javax/swing/plaf/basic/BasicViewportUI.java
641         (paintSimple): Add new non-backingstore paint mode.
642         (paintBackingStore): Split out backing store code.
643         (paint): Switch on painting mode.
644         * javax/swing/text/SimpleAttributeSet.java
645         (SimpleAttributeSet): Resist nulls.
646         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
647         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
648
649 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
650
651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
652         Set pango context's description and language.
653
654 2004-11-30  Mark Wielaard  <mark@klomp.org>
655
656         * java/awt/image/LookupOp.java: Comments and indentation fixes.
657
658 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
659
660         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
661         (getAccessibleContext): Implement.
662
663 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
664
665         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
666         Implement.
667         (getIndexAtPoint, getCharacterBounds): New methods.
668
669 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
670
671         * java/awt/Button.java (AccessibleAWTButton): Implement.
672
673 2004-11-30  Mark Wielaard  <mark@klomp.org>
674
675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
676         (filenameFilterCallback): Made static.
677
678 2004-11-30  Michael Koch  <konqueror@gmx.de>
679
680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
681         (cairoShowGlyphs) Removed.
682
683 2004-11-30  Sven de Marothy <sven@physto.se>
684
685         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
686         Don't invert matrix when reverse CLUT is available.
687         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
688         * java/awt/color/ICC_ColorSpace.java: Likewise.
689         * java/awt/color/ICC_Profile.java: Likewise.
690         * java/awt/color/ICC_ProfileGray.java: Likewise.
691         * java/awt/color/ICC_ProfileRGB.java: Likewise.
692
693 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
694
695         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
696
697 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
698
699         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
700
701 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
702
703         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
704         field hiding ComponentSampleModel.scanlineStride.
705
706 2004-11-30  Noa Resare  <noa@resare.com>
707
708         * java/awt/geom/GeneralPath.java (currentSegment):
709         Fix typo in transform.transform() invocation.
710
711 2004-11-30  Sven de Marothy <sven@physto.se>
712
713         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
714         (createImage): Created bitmap should be filled with bg color
715
716 2004-11-30  Noa Resare  <noa@resare.com>
717
718         * java/awt/Choice.java (add):
719         Implement correct selection behavior when peer == null.
720         (insert): Likewise.
721         (remove): Likewise.
722
723 2004-11-30  Mark Wielaard  <mark@klomp.org>
724
725         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
726         Call select() when Choice has a selected item.
727
728 2004-11-30  Michael Koch  <address@bogus.example.com>
729
730         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
731         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
732         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
733         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
734         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
735         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
736         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
737         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
738         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
739         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
740         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
741         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
742         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
743         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
744         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
745         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
746         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
747         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
748         Fixed method names to start at begin of line. This is desired by GNU
749         coding style guide.
750
751 2004-11-30  Michael Koch  <konqueror@gmx.de>
752
753         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
754         (gtkWidgetSetVisible): Unused. Removed.
755         (connectJObject): Likewise.
756         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
757         (gtkScrolledWindowSetScrollPosition): Commented out.
758
759 2004-11-30  Mark Wielaard  <mark@klomp.org>
760
761         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
762         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
763         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
764
765 2004-11-30  Mark Wielaard  <mark@klomp.org>
766
767         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
768         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
769         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
770         (init_dpi_conversion_factor): Correct prototype.
771
772 2004-11-30  Sven de Marothy  <sven@physto.se>
773
774         * java/awt/image/ConvolveOp.java: Added missing
775         copyright notice.
776
777 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
778
779         Fixes bug #10908
780         * gnu/java/beans/IntrospectionIncubator.java:
781         (addMethod): static methods are discarded now, too.
782
783 2004-11-30  Mark Wielaard  <mark@klomp.org>
784
785         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
786         java source files.
787         * Makefile.in: Regenerated.
788
789 2004-11-30  Sven de Marothy  <sven@physto.se>
790
791         * gnu/java/awt/color/CieXyzConverter.java,
792         gnu/java/awt/color/GrayScaleConverter.java,
793         gnu/java/awt/color/SrgbConverter.java,
794         gnu/java/awt/color/ClutProfileConverter.java,
795         gnu/java/awt/color/LinearRGBConverter.java,
796         gnu/java/awt/color/TagEntry.java,
797         gnu/java/awt/color/ColorLookUpTable.java,
798         gnu/java/awt/color/ProfileHeader.java,
799         gnu/java/awt/color/ToneReproductionCurve.java,
800         gnu/java/awt/color/ColorSpaceConverter.java,
801         gnu/java/awt/color/PyccConverter.java,
802         gnu/java/awt/color/GrayProfileConverter.java,
803         gnu/java/awt/color/RgbProfileConverter.java:
804         New files.
805         * java/awt/color/ICC_ColorSpace.java,
806         java/awt/color/ICC_Profile.java,
807         java/awt/color/ICC_ProfileGray.java,
808         java/awt/color/ICC_ProfileRGB.java:
809         Implemented (sans PhotoYCC color space).
810
811 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
812
813         * java/awt/image/AffineTransformOp.java (filter):  Implement
814         bilinear interpolation for Rasters.
815
816 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
817
818         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
819         use the provided colormap.  Throw documented exceptions.  Document
820         exceptions.
821
822 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
823
824         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
825         constructor.
826
827 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
828
829         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
830
831 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
832
833         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
834         filtering.
835
836 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
837
838         * java/awt/image/ComponentSampleModel.java (getDataElements,
839         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
840
841 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
842
843         * java/awt/Font.java (name): New field.
844         (size): Likewise.
845         (style): Likewise.
846
847 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
848
849         * java/awt/image/Raster.java (createBandedRaster): Implement.
850
851 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
852
853         * java/awt/image/ConvolveOp.java: New class.
854         * Makefile.am: Add ConvolveOp.
855         * Makefile.in: Regenerate.
856
857 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
858
859         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
860         LookupOp, RescaleOp): Fix loop bounds.
861
862 2004-11-30  jlquinn  <jlquinn@optonline.net>
863
864         * Makefile.am: Fix typo in BandCombineOp.
865         * Makefile.in: Regenerate.
866
867 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
868
869         * java/awt/image/BandCombineOp.java: New class.
870         * Makefile.am: Add BandCombineOp.
871         * Makefile.in: Regenerate.
872
873 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
874
875         * java/awt/image/LookupOp.java: New class.
876         * Makefile.am: Add LookupOp.
877         * Makefile.in: Regenerate.
878
879 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
880
881         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
882         javadocs.
883
884 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
885
886         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
887         wrap.  Use Boolean.valueOf.
888
889 2004-11-30  Michael Koch  <konqueror@gmx.de>
890
891         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
892         (releasePeerGraphicsResource): Fixed typo in method name.
893         * gnu/java/awt/peer/gtk/GdkFontPeer.java
894         (finalize): Fixed typo in releasePeerGraphicsResource.
895
896 2004-11-30  Michael Koch  <konqueror@gmx.de>
897
898         * java/awt/font/TextAttribute.java
899         (RUN_DIRECTION_LTR): Initialie with static value instead of
900         calculating it.
901         (RUN_DIRECTION_RTL): Likewise.
902         (STRIKETHROUGH_ON): Likewise.
903         (SWAP_COLORS_ON): Likewise.
904
905 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
906
907         * java/awt/image/ColorConvertOp.java: New class.
908         * java/awt/image/ColorModel.java (cloneColorModel): New method.
909         * Makefile.am: Add ColorConvertOp.
910         * Makefile.in: Regenerate.
911
912 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
913
914         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
915         Track Window focus owner on FOCUS_GAINED events.
916
917 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
918
919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
920         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
921
922 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
923
924         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
925         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
926         Fix pointer warning.
927
928 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
929
930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
931         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
932         Fix pointer warning.
933
934         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
935         warnings.
936         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
937         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
938         to fix type punned pointer warning.
939         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
940         Likewise.
941
942         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
943         (window_get_new_state): Introduce unions to fix warnings as above.
944         (window_property_changed_cb): Likewise.
945         (window_active_state_change_cb): Mark unused variables unused.
946         (window_focus_state_change_cb): Likewise.
947         (window_focus_in_cb): Likewise.
948         (window_focus_out_cb): Likewise.
949
950         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
951         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
952         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
953
954 2004-11-30  Michael Koch  <konqueror@gmx.de>
955
956         * javax/swing/JMenuBar.java
957         (updateUI): Simplified.
958         * javax/swing/tree/DefaultTreeSelectionModel.java:
959         Reorganized import statements.
960
961 2004-11-30  Michael Koch  <konqueror@gmx.de>
962
963         * java/awt/font/TextAttribute.java,
964         javax/swing/JComponent.java,
965         javax/swing/JInternalFrame.java,
966         javax/swing/table/TableColumn.java,
967         javax/swing/text/StyleConstants.java:
968         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
969
970 2004-11-30  Michael Koch  <konqueror@gmx.de>
971
972         * javax/swing/tree/DefaultTreeCellEditor.java,
973         javax/swing/tree/DefaultTreeModel.java,
974         javax/swing/tree/DefaultTreeSelectionModel.java:
975         Jalopied.
976
977 2004-11-30  Michael Koch  <konqueror@gmx.de>
978
979         * javax/swing/tree/DefaultTreeCellEditor.java
980         (EditorContainer.EditorContainer): Fixed arguments.
981         (EditorContainer.EditorContainer): New method.
982         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
983         (DefaultTextField.getBorder): Implemented.
984         (listenerList): New field.
985         (addCellEditorListener): Implemented.
986         (removeCellEditorListener): Implemented.
987         (getCellEditorListeners): New method.
988         * javax/swing/tree/DefaultTreeModel.java
989         (addTreeModelListener): Fixed javadoc.
990         (removeTreeModelListener): Likewise.
991         (getTreeModelListeners): New method.
992         (fireTreeNodesChanged): Implemented.
993         (fireTreeNodesInserted): Likewise.
994         (fireTreeNodesRemoved): Likewise.
995         (fireTreeStructureChanged): Likewise.
996         (getListeners): Fixed javadoc.
997         * javax/swing/tree/DefaultTreeSelectionModel.java
998         (addTreeSelectionListener): Implemented.
999         (removeTreeSelectionListener): Likewise.
1000         (fireValueChanged): Likewise.
1001         (getListeners): Likewise.
1002         (addPropertyChangeListener): Likewise.
1003         (removePropertyChangeListener): Likewise.
1004         (getTreeSelectionListeners): New method.
1005         (getPropertyChangeListeners): Likewise.
1006
1007 2004-11-30  Michael Koch  <konqueror@gmx.de>
1008
1009         * javax/swing/plaf/basic/BasicScrollBarUI.java
1010         (maximumThumbSize): Removed static keyword.
1011         (minimumThumbSize): Likewise.
1012         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1013         (CloseAction): Made public.
1014         (IconifyAction): Likewise.
1015         (MaximizeAction): Likewise.
1016         (MoveAction): Likewise.
1017         (RestoreAction): Likewise.
1018         (SizeAction): Likewise.
1019         (SystemMenuBar): Likewise.
1020         * javax/swing/plaf/basic/BasicSliderUI.java
1021         (TrackListener): Likewise.
1022         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1023         (KeyboardDownRightHandler): Likewise.
1024         (KeyboardEndHandler): Likewise.
1025         (KeyboardHomeHandler): Likewise.
1026         (KeyboardResizeToggleHandler): Likewise.
1027         (KeyboardUpLeftHandler): Likewise.
1028         (PropertyHandler): Likewise.
1029         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1030         (PropertyChangeHandler): Likewise.
1031         (TabSelectionHandler): Likewise.
1032
1033 2004-11-30  Michael Koch  <konqueror@gmx.de>
1034
1035         * javax/swing/text/JTextComponent.java
1036         (getKeymap): Made public.
1037
1038 2004-11-30  Michael Koch  <konqueror@gmx.de>
1039
1040         * javax/swing/JEditorPane.java
1041         (getStream): Throws IOException.
1042         (read): Likewise.
1043         * javax/swing/JRootPane.java
1044         (createContentPane): Fixed return type.
1045         * javax/swing/JSpinner.java
1046         (commitEdit): Throws ParseException.
1047         * javax/swing/plaf/metal/MetalLookAndFeel.java
1048         (serialVersionUID): New field.
1049         * javax/swing/table/TableColumn.java
1050         (resizedPostingDisableCount): Added @deprecated tag.
1051         (disableResizedPosting): Likewise.
1052         (enableResizedPosting): Likewise.
1053         * javax/swing/text/Document.java
1054         (TitleProperty): Fixed value.
1055         * javax/swing/tree/TreeCellEditor.java
1056         (TreeCellEditor): Extends CellEditor.
1057
1058 2004-11-30  Michael Koch  <konqueror@gmx.de>
1059
1060         * javax/swing/JWindow.java
1061         javax/swing/SpinnerModel.java
1062         javax/swing/Timer.java
1063         javax/swing/event/MenuKeyEvent.java
1064         javax/swing/plaf/basic/BasicButtonUI.java
1065         javax/swing/plaf/basic/BasicIconFactory.java
1066         javax/swing/plaf/basic/BasicTabbedPaneUI.java
1067         javax/swing/text/AttributeSet.java
1068         javax/swing/text/Highlighter.java
1069         javax/swing/text/StyleConstants.java
1070         javax/swing/tree/TreeCellEditor.java:
1071         Removed redundant and reordered modifiers.
1072
1073 2004-11-30  Michael Koch  <konqueror@gmx.de>
1074
1075         * javax/swing/plaf/basic/BasicToolTipUI.java:
1076         Reformatted copyright header.
1077
1078 2004-11-30  Michael Koch  <konqueror@gmx.de>
1079
1080         * javax/swing/AbstractAction.java,
1081         javax/swing/AbstractButton.java,
1082         javax/swing/AbstractCellEditor.java,
1083         javax/swing/AbstractListModel.java,
1084         javax/swing/AbstractSpinnerModel.java,
1085         javax/swing/ActionMap.java,
1086         javax/swing/BorderFactory.java,
1087         javax/swing/Box.java,
1088         javax/swing/ButtonModel.java,
1089         javax/swing/CellEditor.java,
1090         javax/swing/CellRendererPane.java,
1091         javax/swing/DefaultBoundedRangeModel.java,
1092         javax/swing/DefaultButtonModel.java,
1093         javax/swing/DefaultCellEditor.java,
1094         javax/swing/DefaultDesktopManager.java,
1095         javax/swing/DefaultListCellRenderer.java,
1096         javax/swing/DefaultListSelectionModel.java,
1097         javax/swing/DefaultSingleSelectionModel.java,
1098         javax/swing/GrayFilter.java,
1099         javax/swing/InputMap.java,
1100         javax/swing/JApplet.java,
1101         javax/swing/JCheckBoxMenuItem.java,
1102         javax/swing/JColorChooser.java,
1103         javax/swing/JComboBox.java,
1104         javax/swing/JComponent.java,
1105         javax/swing/JDesktopPane.java,
1106         javax/swing/JDialog.java,
1107         javax/swing/JEditorPane.java,
1108         javax/swing/JFileChooser.java,
1109         javax/swing/JFormattedTextField.java,
1110         javax/swing/JFrame.java,
1111         javax/swing/JInternalFrame.java,
1112         javax/swing/JLabel.java,
1113         javax/swing/JLayeredPane.java,
1114         javax/swing/JList.java,
1115         javax/swing/JMenu.java,
1116         javax/swing/JMenuBar.java,
1117         javax/swing/JMenuItem.java,
1118         javax/swing/JOptionPane.java,
1119         javax/swing/JPanel.java,
1120         javax/swing/JPasswordField.java,
1121         javax/swing/JPopupMenu.java,
1122         javax/swing/JRadioButtonMenuItem.java,
1123         javax/swing/JRootPane.java,
1124         javax/swing/JSpinner.java,
1125         javax/swing/JSplitPane.java,
1126         javax/swing/JTabbedPane.java,
1127         javax/swing/JTable.java,
1128         javax/swing/JTextArea.java,
1129         javax/swing/JTextPane.java,
1130         javax/swing/JToggleButton.java,
1131         javax/swing/JToolBar.java,
1132         javax/swing/JToolTip.java,
1133         javax/swing/JTree.java,
1134         javax/swing/JViewport.java,
1135         javax/swing/ListModel.java,
1136         javax/swing/LookAndFeel.java,
1137         javax/swing/MenuSelectionManager.java,
1138         javax/swing/ProgressMonitorInputStream.java,
1139         javax/swing/RepaintManager.java,
1140         javax/swing/RootPaneContainer.java,
1141         javax/swing/ScrollPaneLayout.java,
1142         javax/swing/SpringLayout.java,
1143         javax/swing/SwingUtilities.java,
1144         javax/swing/Timer.java,
1145         javax/swing/ToolTipManager.java,
1146         javax/swing/UIDefaults.java,
1147         javax/swing/UIManager.java,
1148         javax/swing/border/MatteBorder.java,
1149         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1150         javax/swing/colorchooser/ColorSelectionModel.java,
1151         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1152         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
1153         javax/swing/colorchooser/DefaultPreviewPanel.java,
1154         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
1155         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
1156         javax/swing/event/AncestorEvent.java,
1157         javax/swing/event/HyperlinkEvent.java,
1158         javax/swing/event/InternalFrameEvent.java,
1159         javax/swing/event/MenuDragMouseEvent.java,
1160         javax/swing/event/TableColumnModelEvent.java,
1161         javax/swing/event/TableModelEvent.java,
1162         javax/swing/event/TreeExpansionEvent.java,
1163         javax/swing/event/TreeModelEvent.java,
1164         javax/swing/event/TreeSelectionEvent.java,
1165         javax/swing/event/TreeWillExpandListener.java,
1166         javax/swing/event/UndoableEditEvent.java,
1167         javax/swing/filechooser/FileView.java,
1168         javax/swing/plaf/BorderUIResource.java,
1169         javax/swing/plaf/ComponentUI.java,
1170         javax/swing/plaf/FileChooserUI.java,
1171         javax/swing/plaf/IconUIResource.java,
1172         javax/swing/plaf/ListUI.java,
1173         javax/swing/plaf/PopupMenuUI.java,
1174         javax/swing/plaf/SplitPaneUI.java,
1175         javax/swing/plaf/TabbedPaneUI.java,
1176         javax/swing/plaf/TextUI.java,
1177         javax/swing/plaf/TreeUI.java,
1178         javax/swing/plaf/basic/BasicArrowButton.java,
1179         javax/swing/plaf/basic/BasicBorders.java,
1180         javax/swing/plaf/basic/BasicButtonUI.java,
1181         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
1182         javax/swing/plaf/basic/BasicColorChooserUI.java,
1183         javax/swing/plaf/basic/BasicComboBoxEditor.java,
1184         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1185         javax/swing/plaf/basic/BasicComboBoxUI.java,
1186         javax/swing/plaf/basic/BasicComboPopup.java,
1187         javax/swing/plaf/basic/BasicDesktopIconUI.java,
1188         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
1189         javax/swing/plaf/basic/BasicIconFactory.java,
1190         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
1191         javax/swing/plaf/basic/BasicInternalFrameUI.java,
1192         javax/swing/plaf/basic/BasicListUI.java,
1193         javax/swing/plaf/basic/BasicLookAndFeel.java,
1194         javax/swing/plaf/basic/BasicMenuBarUI.java,
1195         javax/swing/plaf/basic/BasicMenuItemUI.java,
1196         javax/swing/plaf/basic/BasicMenuUI.java,
1197         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1198         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
1199         javax/swing/plaf/basic/BasicPopupMenuUI.java,
1200         javax/swing/plaf/basic/BasicProgressBarUI.java,
1201         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
1202         javax/swing/plaf/basic/BasicRootPaneUI.java,
1203         javax/swing/plaf/basic/BasicScrollBarUI.java,
1204         javax/swing/plaf/basic/BasicSeparatorUI.java,
1205         javax/swing/plaf/basic/BasicSliderUI.java,
1206         javax/swing/plaf/basic/BasicSpinnerUI.java,
1207         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1208         javax/swing/plaf/basic/BasicSplitPaneUI.java,
1209         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1210         javax/swing/plaf/basic/BasicTableHeaderUI.java,
1211         javax/swing/plaf/basic/BasicTableUI.java,
1212         javax/swing/plaf/basic/BasicTextAreaUI.java,
1213         javax/swing/plaf/basic/BasicTextFieldUI.java,
1214         javax/swing/plaf/basic/BasicTextUI.java,
1215         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
1216         javax/swing/plaf/basic/BasicToolBarUI.java,
1217         javax/swing/plaf/basic/BasicToolTipUI.java,
1218         javax/swing/plaf/basic/BasicTreeUI.java,
1219         javax/swing/plaf/basic/BasicViewportUI.java,
1220         javax/swing/plaf/basic/ComboPopup.java,
1221         javax/swing/table/AbstractTableModel.java,
1222         javax/swing/table/DefaultTableCellRenderer.java,
1223         javax/swing/table/DefaultTableColumnModel.java,
1224         javax/swing/table/DefaultTableModel.java,
1225         javax/swing/table/JTableHeader.java,
1226         javax/swing/table/TableCellEditor.java,
1227         javax/swing/table/TableCellRenderer.java,
1228         javax/swing/table/TableColumn.java,
1229         javax/swing/table/TableColumnModel.java,
1230         javax/swing/text/AbstractDocument.java,
1231         javax/swing/text/Caret.java,
1232         javax/swing/text/DefaultCaret.java,
1233         javax/swing/text/DefaultEditorKit.java,
1234         javax/swing/text/DefaultHighlighter.java,
1235         javax/swing/text/EditorKit.java,
1236         javax/swing/text/JTextComponent.java,
1237         javax/swing/text/LayeredHighlighter.java,
1238         javax/swing/text/PasswordView.java,
1239         javax/swing/text/SimpleAttributeSet.java,
1240         javax/swing/text/StyleConstants.java,
1241         javax/swing/text/StyleContext.java,
1242         javax/swing/text/StyledEditorKit.java,
1243         javax/swing/text/TextAction.java,
1244         javax/swing/text/View.java,
1245         javax/swing/tree/AbstractLayoutCache.java,
1246         javax/swing/tree/DefaultTreeCellRenderer.java,
1247         javax/swing/tree/DefaultTreeModel.java,
1248         javax/swing/tree/DefaultTreeSelectionModel.java,
1249         javax/swing/tree/FixedHeightLayoutCache.java,
1250         javax/swing/tree/TreeCellRenderer.java,
1251         javax/swing/tree/TreeSelectionModel.java,
1252         javax/swing/tree/VariableHeightLayoutCache.java,
1253         javax/swing/undo/AbstractUndoableEdit.java,
1254         javax/swing/undo/UndoableEditSupport.java:
1255         Imports cleaned up.
1256
1257 2004-11-30  Michael Koch  <konqueror@gmx.de>
1258
1259         * java/awt/Container.java,
1260         java/awt/Font.java,
1261         java/awt/font/TextLayout.java:
1262         Imports cleaned up.
1263
1264 2004-11-30  Michael Koch  <konqueror@gmx.de>
1265
1266         * javax/swing/AbstractButton.java
1267         (getLabel): Added @deprecated tag.
1268         (setLabel): Likewise.
1269         * javax/swing/FocusManager.java
1270         (disableSwingFocusManager): Likewise.
1271         (isFocusManagerEnabled): Likewise.
1272         * javax/swing/JComponent.java
1273         (isManagingFocus): Added version to @deprecated tag.
1274         (getNextFocusableComponent): Moved @deprecated tag to bottom of
1275         javadoc.
1276         (getConditionForKeyStroke): Likewise.
1277         (getActionForKeyStroke): Likewise.
1278         * javax/swing/JDesktopPane.java
1279         (LIVE_DRAG_MODE): Added @specnote tag.
1280         (OUTLINE_DRAG_MODE): Likewise.
1281         * javax/swing/JInternalFrame.java
1282         (MENU_BAR_PROPERTY): Fixed value.
1283         (getMenuBar): Added @deprecated tag.
1284         (setMenuBar): Likewise.
1285         * javax/swing/JViewport.java
1286         (isBackingStoreEnabled): Likewise.
1287         (setBackingStoreEnabled): Likewise.
1288         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1289         (closeKey): Likewise.
1290         (maximizeKey): Likewise.
1291         (minimizeKey): Likewise.
1292         (navigateKey): Likewise.
1293         (navigateKey2): Likewise.
1294         * javax/swing/plaf/basic/BasicInternalFrameUI.java
1295         (openMenuKey): Likewise.
1296         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1297         (keyboardDownRightListener): Likewise.
1298         (keyboardEndListener): Likewise.
1299         (keyboardHomeListener): Likewise.
1300         (keyboardResizeToggleListener): Likewise.
1301         (keyboardUpLeftListener): Likewise.
1302         (dividerResizeToggleKey): Likewise.
1303         (downKey): Likewise.
1304         (endKey): Likewise.
1305         (homeKey): Likewise.
1306         (leftKey): Likewise.
1307         (rightKey): Likewise.
1308         (upKey): Likewise.
1309         (createKeyboardUpLeftListener): Likewise.
1310         (createKeyboardDownRightListener): Likewise.
1311         (createKeyboardHomeListener): Likewise.
1312         (createKeyboardEndListener): Likewise.
1313         (createKeyboardResizeToggleListener): Likewise.
1314         (getDividerBorderSize): Likewise.
1315         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1316         (downKey): Likewise.
1317         (leftKey): Likewise.
1318         (rightKey): Likewise.
1319         (upKey): Likewise.
1320
1321 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1322
1323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1324         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1325         GTK_TEXT_VIEW macro.
1326
1327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1328         (connect_awt_hook_cb): Mark unused variable unused.
1329
1330         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1331         Do the cast right.
1332
1333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1334         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1335         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1336         Remove unused var menu.
1337         (selection_changed): Remove unused value.
1338
1339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1340         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1341         warning with using an intermediate variable.
1342
1343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1344         (area_updated): Fix unused var warning for BE archs.
1345
1346         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1347         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1348         var.
1349         (realize_cb): Mark unused variable unused.
1350
1351         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1352         (seek_glyphstring_idx): Fix a C90 warning.
1353
1354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1355         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1356         Mark unused arguments unused.
1357
1358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1359         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1360         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1361         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1362         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1363         Likewise.
1364
1365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1366         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1367         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1368         Likewise.
1369
1370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1371         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1372         Likewise.
1373         (filenameFilterCallback): Remove unused var.
1374         (handle_response): Declare str_fileName and remove last else statement.
1375
1376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1377         New File.
1378         (nativeGetNumFontsFamilies) New function.
1379         (nativeGetFontFamilies) Likewise.
1380         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1381         (getAvailableFontFamilyNames): Implement.
1382         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1383         * Makefile.in: Regenerate.
1384
1385 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1386
1387         * gnu/java/awt/peer/ClasspathFontPeer.java
1388         (setStandardAttributes(String,Map)): If size attribute doesn't
1389         exist, default to size 12.  Clamp size value to a minimum of 1.
1390
1391 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1392
1393         * javax/swing/JDialog.java
1394         (decorated): Likewise.
1395         * javax/swing/JFrame.java
1396         (defaultLookAndFeelDecorated): Likewise.
1397
1398 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1399
1400         * javax/swing/plaf/basic/BasicToolBarUI.java
1401         (offset, regular): Made final.
1402         * javax/swing/plaf/basic/BasicScrollBarUI.java
1403         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1404         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1405
1406 2004-11-30  Michael Koch  <konqueror@gmx.de>
1407
1408         * gnu/java/awt/BitwiseXORComposite.java,
1409         gnu/java/awt/ClasspathToolkit.java,
1410         gnu/java/awt/image/XBMDecoder.java,
1411         gnu/java/awt/peer/GLightweightPeer.java,
1412         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1413         Reorganized import statements.
1414
1415 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1416
1417         * java/awt/Button.java
1418         (next_button_number): Removed useless initializer.
1419         * java/awt/Frame.java
1420         (next_frame_number): Likewise.
1421         * java/awt/Panel.java
1422         (next_panel_number): Likewise,
1423         * java/awt/Scrollbar.java
1424         (next_scrollbar_number): Likewise.
1425         * java/awt/TextArea.java
1426         (next_text_number): Likewise.
1427
1428 2004-11-30  Michael Koch  <konqueror@gmx.de>
1429
1430         * java/awt/image/ByteLookupTable.java
1431         (ByteLookupTable) :Fixed HTML entities in javadocs.
1432         (lookupPixel): Fix case when dst is null.
1433         * java/awt/image/ShortLookupTable.java
1434         (ShortLookupTable) :Fixed HTML entities in javadocs.
1435         (lookupPixel): Fix case when dst is null.
1436         * java/awt/image/DataBufferByte.java,
1437         java/awt/image/DataBufferDouble.java,
1438         java/awt/image/DataBufferFloat.java,
1439         java/awt/image/DataBufferInt.java,
1440         java/awt/image/DataBufferShort.java,
1441         java/awt/image/DataBufferUShort.java:
1442         Fix initialization of bankData in constructors.
1443
1444 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1445
1446         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1447         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1448         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1449         requests.
1450         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1451         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1452         (setNativeBounds): Make package private.  Set size request even
1453         if GTK parent is NULL.
1454         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1455         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1456         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1457
1458 2004-11-30  Mark Wielaard  <mark@klomp.org>
1459
1460         Workaround for bug #17952.
1461         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1462         (request_frame_extents): Check window->window != NULL.
1463
1464 2004-11-30  Mark Wielaard  <mark@klomp.org>
1465
1466         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1467
1468 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1469
1470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1471         native_text_layout_state_table here.
1472
1473         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1474
1475 2004-11-30  Mark Wielaard  <mark@klomp.org>
1476
1477         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1478         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1479         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1480
1481 2004-11-30  Michael Koch  <konqueror@gmx.de>
1482
1483         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1484         Merged import statements.
1485
1486 2004-11-30  Michael Koch  <konqueror@gmx.de>
1487
1488         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1489         (isBufferedImageGraphics): Simplified.
1490
1491 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1492
1493         * javax/swing/JTree.java
1494         (isRootVisible): Fixed typo in method name.
1495         * javax/swing/JScrollBar.java
1496         (setValues): Likewise.
1497         * javax/swing/JScrollPane.java
1498         (createScrollListener): Call JScrollBar.setValues.
1499
1500 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1501
1502         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1503         Don't call setParentAndBounds on GtkWindowPeers.
1504
1505         * java/awt/Component.java (static): Don't set default keyboard
1506         focus manager.
1507         * java/awt/KeyboardFocusManager.java
1508         (getCurrentKeyboardFocusManager): If current keyboard focus
1509         manager is null set a default.
1510
1511         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1512         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1513         (gtkWidgetSetBackground): New method.
1514         (block_expose_events_cb): New function.
1515         (connectSignals): Block the AWT's expose event processing on
1516         button press and release.
1517         (gtkSetLabel): Set text on proper widget.
1518         (gtkWidgetModifyFont): Modify font on proper widget.
1519         (gtkWidgetSetBackground): Set normal, active and prelight
1520         colours.
1521         (gtkWidgetSetForeground): Set forground colour of proper widget.
1522         (gtkActivate): Activate the correct widget.
1523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1524         Only clear rectangle if the backing component is not an event
1525         box.
1526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1527         (beginNativeRepaintID): New variable.
1528         (endNativeRepaintID): Likewise.
1529         (gtkInit): Initialize new fields with method IDs.
1530         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1531         (endNativeRepaintID): Likewise.
1532
1533 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1534
1535         * javax/swing/JList.java (init): Revert accidental commit.
1536
1537         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1538         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1539         Call initComponentGraphics or connectSignals depending on
1540         component's realization status.
1541         (realize_cb): New function.
1542         (initComponentGraphics): New method.
1543         (connectSignals): New method.
1544         (clipRect): Return immediately if component is not realized.
1545         (setClip): Likewise.
1546         (translate): Likewise.
1547         (drawImage variants): Return false immediately if component is
1548         not realized.
1549         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1550         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1551         (connectSignals): New method.
1552         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1553         depending on component's realization status.  Move other
1554         initialization calls to ...
1555         (initComponentGraphics2D): New method.
1556         (realize_cb): New function.
1557         (cairoSetMatrix): Return immediately if gr is NULL.
1558         (cairoNewPath): Likewise.
1559         (cairoRectangle): Likewise.
1560         (cairoClip): Likewise.
1561         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1562         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1563         (gtkWidgetRepaintArea): Remove method.
1564         (isRealized): New method.
1565         (GtkComponentPeer): Move setParent, connectJObject and setCursor
1566         calls to setParentAndBounds.  Call setParentAndBounds.
1567         (setParentAndBounds): New method.
1568         (setComponentBounds): Return immediately if bounds are all zero.
1569         (repaint): Remove call to gtkWidgetRepaintArea.  Return
1570         immediately if requested paint region is 0x0.
1571         (setCursor): New method.
1572         (gtkWidgetSetParent): Only set widget's parent if its parent is
1573         currently NULL.
1574         (setNativeBounds): Only set widget's bounds if it has a parent.
1575         (connectSignals): Don't call gtk_widget_realize.  Connect
1576         "realize" signal to connect_awt_hook_cb handler.
1577         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1578         New field.
1579         (beginValidate): Set isValidating true.
1580         (endValidate): Set parents and bounds for children first, then
1581         for this.  Set isValidating false.
1582         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1583         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1584         (connectJObject): Remove method.
1585         (connectSignals): Don't call gtk_widget_realize.
1586         * gnu/java/awt/peer/gtk/GtkListPeer.java,
1587         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1588         (connectJObject): Remove method.
1589         (connectSignals): Don't call gtk_widget_realize.
1590         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1591         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1592         (connectJObject): Remove method.
1593         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1594         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1595         (connectJObject): Remove method.
1596         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1597         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1598         (create): Don't call gtk_widget_realize.
1599         (connectJObject): Remove method.
1600         (connectSignals): Don't call gtk_widget_realize.  Connect
1601         "realize" signal to connect_awt_hook_cb handler.
1602         (nativeSetBounds): Don't attempt to move GDK window if it is
1603         NULL.
1604         * java/awt/Container.java (addImpl): Don't call comp.addNotify
1605         if peer is not null.
1606         (validateTree): Create peers for all children before calling
1607         doLayout.
1608         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1609         (connectSignals): Don't call gtk_widget_realize.
1610         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1611         (connect_awt_hook_cb): New function.
1612         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1613         (initComponentGraphicsID): New variable.
1614         (initComponentGraphics2DID): Likewise.
1615         (setCursorID): Likewise.
1616         (gtkInit): Initialize new fields with method IDs.
1617         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1618         extern.
1619         (initComponentGraphics2DID): Declare extern.
1620         (setCursorID): Likewise.
1621         (connect_awt_hook_cb): Declare function.
1622
1623 2004-11-30  Michael Koch  <konqueror@gmx.de>
1624
1625         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1626         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1627         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1628         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1629         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1630         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1631         gnu/java/awt/peer/gtk/GtkClipboard.java,
1632         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1633         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1634         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1635         gnu/java/awt/peer/gtk/GtkListPeer.java,
1636         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1637         gnu/java/awt/peer/gtk/GtkToolkit.java,
1638         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1639         Import statements reworked.  Some little reformattings.
1640
1641 2004-11-30  Michael Koch  <konqueror@gmx.de>
1642
1643         * java/awt/image/AffineTransformOp.java
1644         (TYPE_BILINEAR): Initialize with 2.
1645         * java/awt/print/Printable.java: Jalopied.
1646         (PAGE_EXISTS): Initialize with 0;
1647         (NO_SUCH_PAGE): Initialized with 1.
1648
1649 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1650
1651         * Makefile.am: Add BufferedImageFilter.java.
1652         * Makefile.in: Regenerate.
1653
1654 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1655
1656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1657         (install_font_peer): Minor bug fixes to track cairo font semantics.
1658
1659 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1660
1661         * java/awt/image/BufferedImageFilter.java: Implement.
1662
1663 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1664
1665         * Makefile.am
1666         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1667         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1668         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1669         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1670         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1671         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1672         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1673         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1674         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1675         * Makefile.in: Regenerate.
1676         * gnu/awt/xlib/XToolkit.java
1677         (getClasspathTextLayoutPeer): Add stub.
1678         * gnu/java/awt/ClasspathToolkit.java
1679         (getClasspathTextLayoutPeer) Add.
1680         * gnu/java/awt/peer/ClasspathFontPeer.java
1681         (copyStyleToAttrs)
1682         (copySizeToAttrs): Make public.
1683         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1684         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1685         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1686         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1687         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1688         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1689         * gnu/java/awt/peer/gtk/GdkGraphics.java
1690         (getFontPeer): New function.
1691         (drawString): Pass font peer to native side.
1692         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1693         (cairoSetFont)
1694         (cairoShowGlyphs)
1695         (PainterThread): Remove.
1696         (GdkGraphics2D): Set hints during construction.
1697         (shifted)
1698         (walkPath)
1699         (draw)
1700         (setRenderingHint)
1701         (setRenderingHints): Reimplement normalization logic.
1702         (getDefaultHints)
1703         (updateBufferedImage)
1704         (isBufferedImageGraphics)
1705         (updateImagePixels)
1706         (drawImage): Make final.
1707         (drawImage): Always paint synchronously.
1708         (drawString)
1709         (drawGlyphVector): Rewrite.
1710         (releasePeerGraphicResource)
1711         (getPeerTextMetrics)
1712         (getPeerFontMetrics)
1713         (drawGdkGlyphVector)
1714         (drawGdkTextLayout)
1715         (cairoDrawGdkGlyphVector)
1716         (cairoDrawGdkTextLayout)
1717         (cairoDrawString)
1718         (getFontPeer): New functions.
1719         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1720         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1721         (getFontMetrics): Get metrics via toolkit, to hit cache.
1722         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1723         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1724         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1725         (fontCache)
1726         (metricsCache)
1727         (imageCache): New members.
1728         (getFontMetrics)
1729         (getImage)
1730         (getClasspathFontPeer): Use caches.
1731         (getFontPeer): Route through getClasspathFontPeer.
1732         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1733         * java/awt/font/TextLayout.java: Implement in terms of peer.
1734         * javax/swing/plaf/basic/BasicSliderUI.java
1735         (paintThumb): Use polyline rather than polygon.
1736         * javax/swing/plaf/basic/BasicGraphicsUtils.java:
1737         Update comment but, alas, still do not switch to using TextLayouts.
1738         * javax/swing/text/Utilities.java (drawTabbedText):
1739         Draw text run-at-a-time, not char-at-a-time.
1740         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1741         layout table.
1742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1744         Remove files.
1745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1746         incorporate brains of old GdkClasspathFontPeerMetrics.
1747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1748         incorporate brains of old GdkClasspathFontPeer.
1749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1751         (drawString): Rewrite to use persistent layout in peer font.
1752         Comment out extraneous gdk_flush calls.
1753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1754         (metrics_cairo)
1755         (metrics_surface): New static variables.
1756         (paint_glyph_run)
1757         (install_font_peer): New helper functions.
1758         (releasePeerGraphicResource)
1759         (getPeerTextMetrics)
1760         (getPeerFontMetrics)
1761         (cairoDrawGdkTextLayout)
1762         (cairoDrawGdkGlyphVector): New native methods.
1763         (cairoDrawString): Rewrite, leaving layout-based version
1764         commented out for the time being.
1765         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1766
1767 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1768
1769         * java/awt/geom/AffineTransform.java:
1770         Fixed javadocs overall.
1771
1772 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1773
1774         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1775         it's correct.
1776
1777 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1778
1779         * java/awt/image/IndexColorModel.java: Fix use of immutable
1780         BigIntegers.
1781
1782 2004-11-30  Tom Tromey  <tromey@redhat.com>
1783
1784         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1785         Renamed from 'messageIcon'.
1786         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1787
1788 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1789
1790         * java/awt/image/RescaleOp.java: Fix formatting.
1791
1792 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1793
1794         * javax/swing/plaf/basic/BasicComboPopup.java
1795         (SCROLL_DOWN): made final.
1796         (SCROLL_UP): made final.
1797
1798 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1799
1800         * javax/swing/plaf/basic/BasicComboPopup.java:
1801         Added javadocs for undocumented fields.
1802         (show): scroll down to the selected item and
1803         highlight selected item.
1804         (startAutoScrolling): Implemented.
1805         (stopAutoScrolling): Implemented.
1806         (autoScrollUp): Implemented.
1807         (autoScrollDown): Implemented.
1808         (InvocationMouseHandler.mouseReleased): Implemented.
1809         (InvocationMouseMotionHandler.mouseDragged): Implemented.
1810
1811 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1812
1813         * java/awt/image/RescaleOp.java: Implement.
1814
1815 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1816
1817         * java/awt/image/IndexColorModel.java (getRGBs,
1818         convertToIntDiscrete): Implement.
1819
1820 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1821
1822         * java/awt/image/IndexColorModel.java: Add class docs.
1823
1824 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1825
1826         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1827         Implement.
1828
1829 2004-11-30  Michael Koch  <konqueror@gmx.de>
1830
1831         * java/awt/MenuBar.java,
1832         java/awt/peer/MenuBarPeer.java:
1833         Revert accidentally commited changes.
1834
1835 2004-11-30  Michael Koch  <konqueror@gmx.de>
1836
1837         * java/awt/AWTKeyStroke.java,
1838         java/awt/Canvas.java,
1839         java/awt/CardLayout.java,
1840         java/awt/CheckboxMenuItem.java,
1841         java/awt/Component.java,
1842         java/awt/Container.java,
1843         java/awt/DefaultKeyboardFocusManager.java,
1844         java/awt/EventDispatchThread.java,
1845         java/awt/FileDialog.java,
1846         java/awt/FlowLayout.java,
1847         java/awt/Font.java,
1848         java/awt/Frame.java,
1849         java/awt/Graphics2D.java,
1850         java/awt/GraphicsEnvironment.java,
1851         java/awt/GridBagConstraints.java,
1852         java/awt/GridBagLayout.java,
1853         java/awt/GridLayout.java,
1854         java/awt/Image.java,
1855         java/awt/KeyboardFocusManager.java,
1856         java/awt/Label.java,
1857         java/awt/List.java,
1858         java/awt/MediaTracker.java,
1859         java/awt/Menu.java,
1860         java/awt/MenuBar.java,
1861         java/awt/MenuComponent.java,
1862         java/awt/Panel.java,
1863         java/awt/PopupMenu.java,
1864         java/awt/ScrollPane.java,
1865         java/awt/Scrollbar.java,
1866         java/awt/SystemColor.java,
1867         java/awt/TextArea.java,
1868         java/awt/TextField.java,
1869         java/awt/Toolkit.java,
1870         java/awt/Window.java,
1871         java/awt/color/ICC_Profile.java,
1872         java/awt/datatransfer/DataFlavor.java,
1873         java/awt/datatransfer/StringSelection.java,
1874         java/awt/datatransfer/SystemFlavorMap.java,
1875         java/awt/dnd/Autoscroll.java,
1876         java/awt/dnd/DropTarget.java,
1877         java/awt/dnd/DropTargetContext.java,
1878         java/awt/dnd/DropTargetDragEvent.java,
1879         java/awt/dnd/peer/DropTargetContextPeer.java,
1880         java/awt/event/AdjustmentEvent.java,
1881         java/awt/event/InputEvent.java,
1882         java/awt/event/InvocationEvent.java,
1883         java/awt/event/KeyEvent.java,
1884         java/awt/event/MouseEvent.java,
1885         java/awt/font/TextLayout.java,
1886         java/awt/geom/GeneralPath.java,
1887         java/awt/geom/Point2D.java,
1888         java/awt/im/InputContext.java,
1889         java/awt/im/spi/InputMethodContext.java,
1890         java/awt/image/AffineTransformOp.java,
1891         java/awt/image/BufferedImage.java,
1892         java/awt/image/ColorModel.java,
1893         java/awt/image/ComponentColorModel.java,
1894         java/awt/image/CropImageFilter.java,
1895         java/awt/image/DirectColorModel.java,
1896         java/awt/image/MemoryImageSource.java,
1897         java/awt/image/PackedColorModel.java,
1898         java/awt/image/PixelGrabber.java,
1899         java/awt/image/RasterOp.java,
1900         java/awt/peer/MenuBarPeer.java:
1901         Some fixes for checkstyle. Import statement and modifier order
1902         redordering.
1903
1904 2004-11-30  Michael Koch  <konqueror@gmx.de>
1905
1906         * javax/swing/JTable.java
1907         (setModel): Reimplemented.
1908
1909 2004-11-30  Michael Koch  <konqueror@gmx.de>
1910
1911         * javax/swing/JTextArea.java
1912         (append): Re-implemented.
1913         (insert): Likewise.
1914
1915 2004-11-30  Michael Koch  <konqueror@gmx.de>
1916
1917         * javax/swing/JSpinner.java
1918         (serialVersionUID): New static field.
1919         * javax/swing/JToggleButton.java
1920         (JToggleButton): Fixed email addresses.
1921         * javax/swing/SpinnerNumberModel.java
1922         (serialVersionUID): Added javadoc.
1923
1924 2004-11-30  Michael Koch  <konqueror@gmx.de>
1925
1926         * javax/swing/JTextArea.java:
1927         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1928         bug here which is fixed in HEAD ...
1929
1930 2004-11-30  Andrew John Hughes  <address@hidden>
1931
1932         * javax/swing/JTextArea.java: Added additional
1933         documentation.
1934
1935 2004-11-30  Andrew John Hughes  <address@hidden>
1936
1937         * javax/swing/JRadioButton.java:
1938         Implemented additional constructors and accessibility
1939         classes.  Added documentation and fixed a typo in
1940         AbstractButton.
1941
1942 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1943
1944         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1945         missing constructor.
1946
1947 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1948
1949         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1950         Implement missing 1.4 constructor.
1951
1952 2004-11-30  Andrew John Hughes  <address@hidden>
1953
1954         * javax/swing/JToggleButton.java:
1955         Implemented additional constructors and accessibility
1956         classes.  Added documentation and fixed a typo in
1957         AbstractButton.
1958
1959 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1960
1961         * java/awt/image/ColorModel.java (getDataElement,
1962         getDataElements): Document since 1.4.
1963
1964 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1965
1966         * java/awt/image/BandedSampleModel.java: Implement.
1967         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1968         * Makefile.in: Regenerated.
1969
1970 2004-11-30  Michael Koch  <konqueror@gmx.de>
1971
1972         * java/awt/Window.java: Fixed whitespace difference with GNU
1973         classpath.
1974
1975 2004-11-30  Mark Wielaard  <mark@klomp.org>
1976
1977         * Makefile.am: Add javax/swing/SpinnerListModel.java.
1978         * Makefile.in: Regenerated.
1979
1980 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1981
1982         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1983         Implemented SpinnerListModel.  Added documentation to
1984         SpinnerModel.
1985
1986 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1987
1988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1989         (init_dpi_conversion_factor): Apply the patch from main correctly.
1990         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1991
1992 2004-11-30  Tom Tromey  <tromey@redhat.com>
1993
1994         Bug 9948.
1995         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1996         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1997         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1998         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
1999
2000 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2001
2002         * java/awt/Canvas.java
2003         (AccessibleAWTCanvas): added serialization UID
2004         * java/awt/Label.java
2005         (AccessibleAWTLabel): added serialization UID
2006         * javax/swing/JRootPane.java
2007         (AccessibleJRootPane): added comment to existing UID
2008         * javax/swing/JSpinner.java
2009         (DefaultEditor): added serialization UID
2010         (NumberEditor): added serialization UID
2011         * javax/swing/text/html/HTML.java
2012         (UnknownTag): added serialization UID
2013
2014 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2015
2016         * javax/swing/JInternalFrame.java
2017         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
2018         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
2019         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
2020         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
2021         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
2022         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
2023         Made final as per API spec.
2024
2025 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2026
2027         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
2028
2029 2004-11-30  Sven de Marothy  <sven@physto.se>
2030
2031         * java/awt/geom/Arc2D.java: Reformatted.
2032         (setArc): Correct documentation to say 'upper left corner'.
2033         (setArcByTangent,contains,intersects): Implemented.
2034         (containsAngle): Corrected to handle negative extents.
2035         (ArcIterator): Set to private.
2036         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2037         (intersects): Fix: Now checks the arc segment.
2038         (contains): Cleaned up.
2039         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
2040         (contains): Implemented.
2041         (intersects): Implemented.
2042         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
2043         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
2044         document.  Fully (re)implemented using separate xpoints and ypoints
2045         float[] coords.
2046
2047 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2048
2049         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2050         * configure: Regenerate.
2051         * include/config.h.in: Likewise.
2052         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
2053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
2054         macro to gtkpeer.h.
2055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2056         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
2057         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
2058         architectures.
2059         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
2060         Likewise.
2061
2062 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
2063
2064         * java/awt/SystemColor.java: Fix @link doc entries.
2065
2066 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
2067
2068         * java/awt/RenderingHints.java: Documented.
2069         (RenderingHints): Accept null init Map.
2070         (putAll): Preprocess map to generate appropriate exceptions.
2071         (remove): Cast object to Key and remove from hintMap.
2072
2073 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2074
2075         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
2076         Implementation of accessibility classes and methods
2077         for these two components.
2078
2079 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2080
2081         * java/awt/KeyboardFocusManager.java:
2082         Added missing documentation.
2083
2084 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
2085
2086         * java/awt/Label.java, java/awt/Canvas.java:
2087         Added accessibility classes to AWT Label and Canvas,
2088         as well as additional documentation for Canvas.
2089
2090 2004-11-30  David Gilbert  <address@bogus.example.com>
2091
2092         * java/awt/image/DataBuffer.java: Update API documentation.
2093         * java/awt/image/DataBufferByte.java: Likewise.
2094         * java/awt/image/DataBufferDouble.java: Likewise.
2095         * java/awt/image/DataBufferFloat.java: Likewise.
2096         * java/awt/image/DataBufferInt.java: Likewise.
2097         * java/awt/image/DataBufferShort.java: Likewise.
2098         * java/awt/image/DataBufferUShort.java: Likewise.
2099
2100 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
2101
2102         * java/awt/Component.java (postEvent):
2103         Only delegate to parent if a parent exists.
2104         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
2105
2106 2004-11-30  Sven de Marothy  <sven@physto.se>
2107
2108         *java/awt/AWTEventMulticaster.java,
2109         java/awt/Adjustable.java,
2110         java/awt/Point.java,
2111         java/awt/Polygon.java,
2112         java/awt/Rectangle.java,
2113         java/awt/Shape.java,
2114         java/awt/geom/Area.java,
2115         java/awt/geom/Ellipse2D.java,
2116         java/awt/geom/PathIterator.java,
2117         java/awt/geom/Point2D.java,
2118         java/awt/geom/Rectangle2D.java,
2119         java/lang/Comparable.java,
2120         java/util/Arrays.java:
2121         Fixed documentation errors
2122
2123 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2124
2125         * java/awt/image/ComponentSampleModel.java: Add documentation.
2126
2127
2128 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2129
2130         * java/awt/image/ComponentSampleModel.java (constructor):
2131         Initialize numBanks when figuring out the max bank index.
2132
2133 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2134
2135         * java/awt/image/Raster.java (createPackedRaster): Implement
2136         MultiPixelPackedSampleModel codepath.
2137
2138 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2139
2140         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
2141         * Makefile.am: Add MultiPixelPackedSampleModel.java.
2142         * Makefile.in: Regenerate.
2143
2144 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2145
2146         * java/awt/image/Raster.java (getNumBands): Implement.
2147
2148 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2149
2150         * java/awt/image/Raster.java
2151         (createPackedRaster(int,int,int,int,int,Point)): Implement for
2152         bands>1.
2153
2154 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2155
2156         * java/awt/image/SinglePixelPackedSampleModel.java
2157         (SinglePixelPackedSampleModel): Throw exception for unsupported
2158         datatype.
2159
2160 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2161
2162         * java/awt/image/ColorModel.java (getDataElement): Implemented.
2163         Update javadoc.
2164         (getDataElements): Add missing version.  Remove bogus version.
2165         Update javadoc.
2166
2167 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
2168
2169         * javax/swing/plaf/basic/BasicComboBoxUI.java:
2170         (paintCurrentValue): Pass correct parameters to
2171         getListCellRendererComponent().
2172         (ListDataHandler.intervalRemoved): Implemented.
2173         (PropertyChangeHandler.propertyChange): Handle changes in
2174         MODEL_CHANGED_PROPERTY of the JComboBox
2175         * javax/swing/plaf/basic/BasicComboPopup.java:
2176         (BasicComboPopup): Moved code that configures popup to
2177         configurePopup() and call it instead.
2178         (firePopupMenuWillBecomeVisible): Implemented.
2179         (firePopupMenuWillBecomeInvisible): Likewise.
2180         (firePopupMenuCanceled): Likewise.
2181         (configureList): Set list's visibleRowCount same as
2182         comboBox's visibleRowCount.
2183         (configurePopup): Implemented.
2184         (getPopupHeightForRowCount): Get item's from JComboBox's model and
2185         not from model of the JList.
2186         (ListMouseMotionHandler.mouseMoved): Implemented.
2187         (PropertyChangeHandler.propertyChange): Handles change in the
2188         JComboBox's model.
2189
2190 2004-11-30  Michael Koch  <konqueror@gmx.de>
2191
2192         * javax/swing/JComponent.java
2193         (isMaximumSizeSet): New method.
2194         (isMinimumSizeSet): Likewise.
2195         (isPreferredSizeSet): Likewise.
2196
2197 2004-11-30  Michael Koch  <konqueror@gmx.de>
2198
2199         * javax/swing/JSpinner.java:
2200         Some Re-formatting.
2201         (spinner): New field.
2202         (DefaultEditor): New method.
2203         (getSpinner): Likewise.
2204         (NumberEdito): Likewise.
2205         (getModel): Likewise
2206
2207 2004-11-30  Michael Koch  <konqueror@gmx.de>
2208
2209         * javax/swing/InputVerifier.java:
2210         Re-formatted.
2211         * javax/swing/JComponent.java
2212         (inputVerifier): New property field.
2213         (getInputVerifier): New method.
2214         (setInputVerifier): Likewise.
2215
2216 2004-11-30  Michael Koch  <konqueror@gmx.de>
2217
2218         * javax/swing/JComponent.java
2219         (JComponent): Added javadoc comment.
2220         (setBorder): Fire property change eventr.
2221         (setEnabled): Likewise.
2222         (setMaximumSize): Likewise.
2223         (setMinimumSize): Likewise.
2224         (setPreferredSize): Likewise.
2225         (setOpaque): Likewise.
2226
2227 2004-11-30  Michael Koch  <konqueror@gmx.de>
2228
2229         * javax/swing/JTextField.java
2230         (action): New field.
2231         (actionCommand): Likewise.
2232         (actionPropertyChangeListener): Likewise.
2233         (setHorizontalAlignment): Abort soon if new value == old value. Fire
2234         event before repainting.
2235         (postActionEvent): New method.
2236         (getAction): Likewise.
2237         (setAction): Likewise.
2238         (getActionCommand): Likewise.
2239         (setActionCommand): Likewise.
2240         (createActionPropertyChangeListener): Likewise.
2241         (configurePropertiesFromAction): Likewise.
2242
2243 2004-11-30  Michael Koch  <konqueror@gmx.de>
2244
2245         * javax/swing/DebugGraphics.java:
2246         Re-formatted. Fixed some javadocs.
2247         * javax/swing/JApplet.java
2248         (rootPaneCheckingEnabled): Renamed from checking.
2249         * javax/swing/JCheckBox.java
2250         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2251         * javax/swing/JFrame.java:
2252         Re-formatted a bit and reordered some methods.
2253         (rootPaneCheckingEnabled): Renamed from checking.
2254         (getPreferredSize): Simplified.
2255         * javax/swing/JTextArea.java
2256         (getColumnWidth): New method.
2257         (getLineCount): Likewise.
2258         (getLineStartOffset): Likewise.
2259         (getLineEndOffset): Likewise.
2260         (getLineOfOffset): Likewise.
2261         (getRowHeight): Likewise.
2262         (insert): Likewise.
2263         (replaceRange): Likewise.
2264         * javax/swing/JTextField.java
2265         (scrollOffset): new field.
2266         (getScrollOffset): New method.
2267         (setScrollOffset): Likewise.
2268         (getColumnWidth): Likewise.
2269         * javax/swing/JTree.java
2270         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2271         (CELL_EDITOR_PROPERTY): Likewise.
2272         (CELL_RENDERER_PROPERTY): Likewise.
2273         (EDITABLE_PROPERTY): Likewise.
2274         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2275         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2276         (LARGE_MODEL_PROPERTY): Likewise.
2277         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2278         (ROOT_VISIBLE_PROPERTY): Likewise.
2279         (ROW_HEIGHT_PROPERTY): Likewise.
2280         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2281         (SELECTION_MODEL_PROPERTY): Likewise.
2282         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2283         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2284         (TREE_MODEL_PROPERTY): Likewise.
2285         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2286         (cellEditor): New field.
2287         (invokesStopCellEditing): Likewise.
2288         (largeModel): Likewise.
2289         (rowHeight): Likewise.
2290         (scrollsOnExpand): Likewise.
2291         (selectionModel): Likewise.
2292         (toggleClickCount): Likewise.
2293         (visibleRowCount): Likewise.
2294         (setShowsRootHandles): Fixed typo in method name.
2295         (getCellEditor): New method.
2296         (setCellEditor): Likewise.
2297         (getSelectionModel): Likewise.
2298         (setSelectionModel): Likewise.
2299         (getVisibleRowCount): Likewise.
2300         (setVisibleRowCount): Likewise.
2301         (isLargeModel): Likewise.
2302         (setLargeModel): Likewise.
2303         (getRowHeight): Likewise.
2304         (setRowHeight): Likewise.
2305         (getInvokesStopCellEditing): Likewise.
2306         (setInvokesStopCellEditing): Likewise.
2307         (getToggleClickCount): Likewise.
2308         (setToggleClickCount): Likewise.
2309         (getScrollsOnExpand): Likewise.
2310         (setScrollsOnExpand): Likewise.
2311         * javax/swing/table/DefaultTableColumnModel.java
2312         (addColumnModelListener): Fixed javadoc.
2313         (removeColumnModelListener): Implemented. Fixed javadoc.
2314         (getColumnModelListeners): New method.
2315         * javax/swing/table/JTableHeader.java
2316         (columnModel): Made protected.
2317         (draggedColumn): Likewise.
2318         (draggedDistance): Likewise.
2319         (reorderingAllowed): Likewise.
2320         (resizingAllowed): Likewise.
2321         (resizingColumn): Likewise.
2322         (table): Likewise.
2323         (updateTableInRealTime): Likewise.
2324         (createDefaultColumnModel): Renamed from
2325         createDefaultTableColumnModel.
2326         (setDefaultRenderer): New method.
2327         * javax/swing/table/TableColumn.java
2328         (getPropertyChangeListeners): New method.
2329         * javax/swing/text/DefaultHighlighter.java
2330         (drawsLayeredHighlights): New field.
2331         (getDrawsLayeredHighlights): New method.
2332         (setDrawsLayeredHighlights): Likewise.
2333         * javax/swing/text/DocumentFilter.java
2334         (FilterBypass): New inner class.
2335         (insertString): New method.
2336         (remove): Likewise.
2337         (replace): Likewise.
2338         * javax/swing/text/JTextComponent.java
2339         (dragEnabled): New field.
2340         (getSelectedText): New method.
2341         (getDragEnabled): Likewise.
2342         (setDragEnabled): Likewise.
2343         (replaceSelection): Reimplemented.
2344         * javax/swing/text/NavigationFilter.java
2345         (FilterBypass): New inner class.
2346         (NavigationFilter): New method.
2347         (moveDot): Likewise.
2348         (setDot): Likewise.
2349         * javax/swing/text/SimpleAttributeSet.java
2350         (EMPTY): Made public final.
2351
2352 2004-11-30  Michael Koch  <konqueror@gmx.de>
2353
2354         * javax/swing/SpinnerNumberModel.java
2355         (getMinimum): New method.
2356         (setMinimum): Likewise.
2357         (getMaximum): Likewise.
2358         (setMaximum): Likewise.
2359         (getStepSize): Likewise.
2360         (setStepSize): Likewise.
2361
2362 2004-11-30  Michael Koch  <konqueror@gmx.de>
2363
2364         * javax/swing/JMenu.java
2365         (getMenuListeners): New method.
2366         (fireMenuSelected): Simplified.
2367         * javax/swing/JRootPane.java
2368         (NONE): New static field.
2369         (FRAME): Likewise.
2370         (PLAIN_DIALOG): Likewise.
2371         (INFORMATION_DIALOG): Likewise.
2372         (ERROR_DIALOG): Likewise.
2373         (COLOR_CHOOSER_DIALOG): Likewise.
2374         (FILE_CHOOSER_DIALOG): Likewise.
2375         (QUESTION_DIALOG): Likewise.
2376         (WARNING_DIALOG): Likewise.
2377         (defaultButton): New field.
2378         (getDefaultButton): New method.
2379         (setDefaultButton): Likewise.
2380         * javax/swing/JScrollPane.java
2381         (getUI): New method.
2382         (setUI): Likewise.
2383         * javax/swing/JTable.java
2384         (getUI): Javadoc added.
2385         (setUI): New method.
2386         * javax/swing/JViewport.java
2387         (getUI): New method.
2388         (setUI): Likewise.
2389         * javax/swing/UIDefaults.java
2390         (removePropertyChangeListener): Made public.
2391
2392 2004-11-30  Michael Koch  <konqueror@gmx.de>
2393
2394         * javax/swing/JApplet.java, javax/swing/JFrame.java:
2395         Re-indented.
2396
2397 2004-11-30  Michael Koch  <konqueror@gmx.de>
2398
2399         * javax/swing/AbstractButton.java:
2400         Little re-formatting.
2401         (changeEvent): Made protected.
2402         (fireStateChanged): Removed argument.
2403         (setHorizontalAlignment): Abort method when old value is equal too new
2404         value.
2405         (setHorizontalTextPosition): Likewise.
2406         (setVerticalAlignment): Likewise.
2407         (setVerticalTextPosition): Likewise.
2408         (setBorderPainted): Likewise.
2409         (setIcon): Likewise.
2410         (setText): Likewise.
2411         (setIconTextGap): Likewise.
2412         (setMargin): Likewise.
2413         (setPressedIcon): Likewise.
2414         (setFocusPainted): Likewise.
2415         (setDisabledSelectedIcon): Likewise.
2416         (setRolloverIcon): Likewise.
2417         (setRolloverSelectedIcon): Likewise.
2418         (setSelectedIcon): Likewise.
2419         (setContentAreaFilled): Likewise.
2420
2421 2004-11-30  Kim Ho  <kho@redhat.com>
2422
2423         * javax/swing/plaf/basic/BasicArrowButton.java:
2424         Jalopy. Reimplement.
2425         * javax/swing/plaf/basic/BasicScrollBarUI.java:
2426         Jalopy.
2427         (arrowIcon, upIcon, downIcon, leftIcon,
2428         rightIcon): Removed.
2429         (createIncreaseButton): Use BasicArrowButton.
2430         (createDecreaseButton): Ditto.
2431         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2432         (createRightOneTouchButton): Remove button border.
2433         (createLeftOneTouchButton): Ditto.
2434
2435 2004-11-30  Michael Koch  <konqueror@gmx.de>
2436
2437         * javax/swing/JSpinner.java
2438         (setModel): New method.
2439         * javax/swing/SpringLayout.java
2440         (Constraints): May not be final.
2441
2442 2004-11-30  Michael Koch  <konqueror@gmx.de>
2443
2444         * gnu/java/awt/peer/gtk/GtkClipboard.java,
2445         java/awt/datatransfer/Clipboard.java,
2446         java/awt/datatransfer/ClipboardOwner.java:
2447         Reformated to make it use our coding standard.
2448
2449 2004-11-30  Michael Koch  <konqueror@gmx.de>
2450
2451         * javax/swing/SpinnerNumberModel.java
2452         (SpinnerNumberModel): Implements java.io.Serializable.
2453         (serialVersionUID): New field.
2454         (SpinnerNumberModel): Added missing @throws tags to javadocs.
2455         * javax/swing/UIManager.java
2456         (get): New method.
2457         (getBoolean): Likewise.
2458         (getBorder): Likewise.
2459         (getColor): Likewise.
2460         (getDimension): Likewise.
2461         (getFont): Likewise.
2462         (getIcon): Likewise.
2463         (getInsets): Likewise.
2464         (getInt): Likewise.
2465         (getString): Likewise.
2466
2467 2004-11-30  Michael Koch  <konqueror@gmx.de>
2468
2469         * javax/swing/JPasswordField.java:
2470         Reformated. Implemented construtors.
2471         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2472         (create): New method.
2473         * javax/swing/text/PlainView.java
2474         (selectedColor): Made package-private to allow access from sub-classes
2475         in same package too.
2476         (unselectedColor): Likewise.
2477         (font): Likewise.
2478         (drawSelectedText): Make protected.
2479         (drawUnselectedText): Likewise.
2480         * javax/swing/text/PasswordView.java: New file.
2481         * Makefile.am: Added javax/swing/text/PasswordView.java.
2482         * Makefile.in: Regenerated.
2483
2484 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2485
2486         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2487         bar's width.
2488         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2489         Add FIXME comment.
2490         (addHelpMenu): Elide call to nativeSetHelpMenu.
2491         * java/awt/Menu.java (isTearOff): Rename to tearOff.
2492         (menuSerializedDataVersion): Initialize to 1.
2493         (separatorLabel): Mark transient.
2494         (insert(MenuItem,int)): Implement.
2495         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2496         peer.
2497         (countMenus): Count help menu.
2498         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2499         accessibleContext): Add fields.
2500         * java/awt/MenuItem.java: Remove event mask FIXME.
2501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2502         (gtkWidgetModifyFont): Only set font if label is non-NULL.
2503         (setLabel): Don't treat "-" specially.
2504
2505 2004-11-30  Kim Ho  <kho@redhat.com>
2506
2507         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2508         (stateChanged): Only update the image and the track if
2509         the values are not being adjusted.
2510         (updateChooser): Grab the new mouse point from the
2511         spinner values. Update the image and track only if
2512         the values are not being adjusted.
2513         (getHSBValues): New method.
2514         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2515         (SliderHandler::stateChanged): Changed internalChange
2516         to updateChange. Set sliderChange.
2517         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2518         (spinnerChange): New variable.
2519         (sliderChange): Ditto.
2520         (updateChange): Renamed from internalChange.
2521         (updateChooser): Do not update sliders if the sliders
2522         were the original source of the change. Ditto for spinners.
2523         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2524         (mousePress): Don't scroll the JViewport if there will
2525         be extra space at the end of the run. Change layout() to
2526         revalidate().
2527         (calculateSize): Use the component's width/height unless
2528         it is smaller than the max tab width/height.
2529         (calculateTabRects): Subtract the tab run overlay.
2530         (rotateTabRuns): Don't rotate if there's only one run.
2531         (layoutContainer): Reuse the viewport point.
2532         (createLayoutManager): Set the viewport to use no layout.
2533         (paintTabArea): Don't paint the tabs that are not visible
2534         to the JViewport.
2535         (paintContentBorderTopEdge): Check for scroll tab layout before
2536         looking for gap.
2537         (paintContentBorderLeftEdge): Ditto.
2538         (paintContentBorderBottomEdge): Ditto.
2539         (paintContentBorderRightEdge): Ditto.
2540
2541 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2542
2543         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2544         Rename ...
2545         (gtkWidgetModifyFont): New method.
2546         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2547         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2548         (setMenuBarWidth): New method.
2549         (setBounds): Set the menu bar width.
2550         (postConfigureEvent): Set the menu bar width if the window's
2551         width has changed.
2552         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2553         Don't call create.
2554         (setFont): New method.
2555         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2556         method.
2557         (setFont): Likewise.
2558         (GtkMenuComponentPeer): Call create and setFont.
2559         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2560         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2561         (connectSignals): Make package private.
2562         (gtkWidgetModifyFont): New method.
2563         (create): Likewise.
2564         (GtkMenuItemPeer): Don't call create.
2565         (setFont): New method.
2566         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2567         condition.
2568         * java/awt/Container.java (validateTree): Fix comment typos.
2569         * java/awt/MenuComponent.java (getFont): Return parent's font if
2570         our font is null.
2571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2572         (create): Remove call to deprecated
2573         gtk_check_menu_item_set_show_toggle function.
2574
2575 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
2576
2577         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2578         (Almost everywhere): add LOG calls, fix, add comments.
2579         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2580         Add explicit check for LOCKED bit in slow case (PR 16662).
2581         (_Jv_MonitorExit): Add casts in debug-only code.
2582         Always release LOCKED bit before throwing exception.
2583         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2584         isn't.  Handle easy cases without lock acquisition.
2585         (Object::wait): Use NotifyAll for lock inflation.
2586
2587 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2588
2589         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2590         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2591         (gtkFixedMove): Remove method.
2592
2593 2004-11-30  Sven de Marothy  <sven@physto.se>
2594
2595         * java/awt/geom/Area.java: Implemented.
2596
2597 2004-11-30  Mark Wielaard  <mark@klomp.org>
2598
2599         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2600
2601 2004-11-30 Sven de Marothy <sven@physto.se>
2602
2603         * java/awt/geom/Arc2D.java
2604         Reformatted.
2605         (setArc): Correct documentation to say 'upper left corner'.
2606         (setArcByTangent,contains,intersects): Implemented.
2607         (containsAngle): Corrected to handle negative extents.
2608         (ArcIterator): Set to private.
2609         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2610         * java/awt/geom/Ellipse2D.java
2611         Documented.
2612         (contains,intersects): Implemented.
2613         * java/awt/geom/Line2D.java
2614         (linesIntersect): Correct handling of special cases.
2615
2616 2004-11-30  Mark Wielaard  <mark@klomp.org>
2617
2618         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2619         Color.BLACK if c == null, don't create new Color object each time.
2620         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2621         field.
2622         (setColor): Use Color.BLACK when argument null.
2623         (setComposite): Set this.comp field.
2624         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2625         (DrawState.comp): New private field.
2626         (DrawState.save): Save Composite.
2627         (DrawState.restore): Restore comp field.
2628         * java/awt/FontMetrics.java (gRC): New static final private field.
2629         (getLineMetrics(String, Graphics)): New method.
2630         (getLineMetrics(String, int, int, Graphics)): Likewise.
2631         (getLineMetrics(char[], int, int, Graphics)): Likewise.
2632         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2633         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2634         argument. PR SWING/17294.
2635         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2636         the fall-back code since none of the TextArea methods are really
2637         implemented now. PR SWING/17296.
2638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2639         (GdkGlyphVector_setChars): Replace assert() with if block when
2640         pango_itemize() returns null. PR AWT/17295.
2641         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2642
2643 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2644
2645         * Makefile.am (gtk_c_source_files): Add
2646         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2647         * Makefile.in: Regenerate.
2648         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2649         comment.
2650         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2651         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2652         (create): Pack GtkButton in GtkEventBox.
2653         (connectJObject): Remove.
2654         (focus_in_cb): New function.
2655         (focus_out_cb): Likewise.
2656         (connectSignals): Connect focus-in-event and focus-out-event
2657         signals.
2658         (gtkSetFont): Rename to ...
2659         (gtkWidgetModifyFont): New method.
2660         (gtkWidgetRequestFocus): New method.
2661         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2662         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2663         (gtkSetFont): Rename to ...
2664         (gtkWidgetModifyFont): New method.
2665         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2666         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2667         (isInRepaint): New field.
2668         (gtkSetFont): Remove method.
2669         (addExposeFilter): Likewise.
2670         (removeExposeFilter): Likewise.
2671         (gtkWidgetQueueDrawArea): Rename to ...
2672         (gtkWidgetRepaintArea): New method.
2673         (beginNativeRepaint): New method.
2674         (endNativeRepaint): New method.
2675         (setComponentBounds): Move implementation here from
2676         GtkComponentPeer.
2677         (paint): Remove implementation.
2678         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2679         beginNativeRepaint and endNativeRepaint.
2680         (setBounds): Use menu bar height in bounds calculation.
2681         (postExposeEvent): Only post paint event if we're not doing a
2682         native repaint.
2683         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2684         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2685         (find_gtk_layout): Remove function.
2686         (filter_expose_event_handler): Likewise.
2687         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2688         Likewise.
2689         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2690         (setComponentBounds): Call GtkComponentPeer's
2691         setComponentBounds.
2692         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2693         New method.
2694         (moveLayout): Rename to ...
2695         (gtkFixedMove): New method.
2696         (gtkLayoutSetVisible): Rename to ...
2697         (gtkFixedSetVisible): New method.
2698         (setMenuBar): Rearrange, to make the three separate cases
2699         clearer.
2700         (postExposeEvent): Only post paint event if we're not doing a
2701         native repaint.
2702         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2703         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2704         (gtkWidgetModifyFont): New method.
2705         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2706         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2707         Call run directly, rather than spawning a new thread.
2708         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2709         Likewise.
2710         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2711         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2712         Rename to ...
2713         (gtkWidgetModifyFont): New method.
2714         (create): Rename ebox to eventbox.
2715         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2716         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2717         Rename to ...
2718         (gtkWidgetModifyFont): New method.
2719         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2720         (GtkMenuComponentPeer): Set the default font.
2721         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2722         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2723         (gtkSetFont): Rename to ...
2724         (gtkWidgetModifyFont): New method.
2725         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2726         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2727         * java/awt/Component.java (locale): Initialize to default
2728         locale.
2729         * java/awt/Container.java (invalidateTree): Make
2730         package-private.
2731         (paint): Paint self first.
2732         (setMenuBar): Call invalidateTree.
2733         * java/awt/Panel.java (dispatchEventImpl): Remove method.
2734         * java/awt/Window.java (show): Call no-parameter variant of
2735         requestFocusInWindow.
2736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2737         Remove special case for window widget.
2738         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2739         (grab_current_drawable): Likewise.
2740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2741         (create): Replace GtkLayout with GtkFixed.
2742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2743         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2745         Move all GtkFramePeer native method implementations here from
2746         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2748         Replace GtkLayout with GtkFixed.
2749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2750         (find_layout): Remove function.
2751         (create): Replace GtkLayout with GtkFixed.
2752         (connectSignals): Remove find_layout call.
2753         (toBack): Replace XFlush with gdk_flush.
2754         (toFront): Replace XFlush with gdk_flush.
2755         Move GtkFramePeer native method implementations to
2756         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2757         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2758
2759 2004-11-30  Michael Koch  <konqueror@gmx.de>
2760
2761         * javax/swing/JTextArea.java
2762         (lineWrap): Renamed from "wrapping".
2763         (wrapStyleWord): NEw field.
2764         (getLineWrap): Re-edited javadoc comment.
2765         (setLineWrap): Likewise.
2766         (getWrapStyleWord): New method.
2767         (setWrapStyleWord): Likewise.
2768
2769 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2770
2771         * configure: Regenerate for libtool change.
2772
2773 2004-11-29  Tom Tromey  <tromey@redhat.com>
2774
2775         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2776         Recognize --help and --version.
2777         (usage): Mention gcj-dbtool.  Added "out" argument.
2778         (insist): Updated.
2779
2780 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
2781
2782         * link.cc (link_symbol_table): Do not use intptr_t.
2783
2784 2004-11-28  Mark Wielaard  <mark@klomp.org>
2785
2786         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2787         XMLDecoder tests which currently don't compile.
2788
2789 2004-11-27  Andrew Haley  <aph@redhat.com>
2790
2791         * link.cc (ensure_class_linked): Conditionally compile
2792         _Jv_IsInterpretedClass on INTERPRETER.
2793         (print_class_loaded): Likewise.
2794         (wait_for_state): Likewise.
2795         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2796         * include/java-interp.h (ROUND): Remove.
2797
2798 2004-11-25  Tom Tromey  <tromey@redhat.com>
2799
2800         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2801         * java/lang/Class.h (_Jv_Linker): Declare.
2802         (Class): Fix names of friends.
2803         (_Jv_getInterfaceMethod): Declare.
2804
2805 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2806
2807         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2808         variable libjava_ld_library_path.
2809         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2810
2811 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
2812
2813         * java/util/ResourceBundle.java (BundleKey): Don't implement
2814         Cloneable.
2815         (BundleKey.clone): Removed.
2816         (getBundle): Copy BundleKey using constructor, not clone().
2817
2818 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2819
2820         * configure: Regenerate for libtool reversion.
2821
2822 2004-11-25  Michael Koch  <konqueror@gmx.de>
2823
2824         * Makefile.am: Added most of javax.print again.
2825         * Makefile.in: Regenerated.
2826
2827 2004-11-25  Michael Koch  <konqueror@gmx.de>
2828
2829         * Makefile.am: Added most of javax.print again.
2830         * Makefile.in: Regenerated.
2831
2832 2004-11-24  Tom Tromey  <tromey@redhat.com>
2833
2834         * Merged gcj-abi-2-dev-branch to trunk.
2835
2836 2004-11-16  Tom Tromey  <tromey@redhat.com>
2837
2838         * include/java-interp.h (_Jv_DefineClass): Updated.
2839         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2840         domain to class reader.
2841         * defineclass.cc (parse): Use print_class_loaded.
2842         Include ProtectionDomain.h.
2843         (_Jv_DefineClass): Added ProtectionDomain argument.
2844         (_Jv_ClassReader): Likewise.
2845         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2846         * link.cc: Include CodeSource.h.
2847         (print_class_loaded): New function.
2848         (wait_for_state): Use it.
2849
2850 2004-11-16  Andrew Haley  <aph@redhat.com>
2851
2852         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2853
2854 2004-11-16  Andrew Haley  <aph@redhat.com>
2855
2856         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2857         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2858         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2859         * configure: Regenerate.
2860         * Makefile.in: Regenerate.
2861
2862 2004-11-15  Andrew Haley  <aph@redhat.com>
2863
2864         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2865         gc-allocated object.
2866
2867 2004-11-15  Andrew Haley  <aph@redhat.com>
2868
2869         * java/net/URLClassLoader.java
2870         (URLLoader.getClassPath): New method.
2871         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2872         attribute and add URLs for each entry.
2873         (JarURLLoader.classPath): New field.
2874         (JarURLLoader.getClassPath): New method.
2875         (addURLImpl): Scan through the list of extraUrls in the new
2876         loader, adding them to our urlinfos.
2877         (definePackage, findURLResource, findResources): Use
2878         urlinfos.size(), not urls.size().
2879
2880 2004-11-11  Tom Tromey  <tromey@redhat.com>
2881
2882         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2883         method.
2884         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2885         linked.
2886         (ensureSupersLinked): Declare.
2887         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2888         linked.
2889
2890 2004-11-10  Tom Tromey  <tromey@redhat.com>
2891
2892         * gij.cc (main): Treat -verbose the same as -verbose:class.
2893         (help): Document -verbose and -verbose:class.
2894
2895         * link.cc (verbose_class_flag): Declare.
2896         (wait_for_state): Print message when handling precompiled class.
2897         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2898
2899 2004-11-09  Tom Tromey  <tromey@redhat.com>
2900
2901         * testsuite/libjava.lang/assign2.out: New file.
2902         * testsuite/libjava.lang/assign2.java: New file.
2903
2904         * java/lang/natRuntime.cc (insertSystemProperties): Set
2905         java.version to 1.4.2 and java.specification.version to 1.4.  Set
2906         java.runtime.version.
2907
2908 2004-11-08  Tom Tromey  <tromey@redhat.com>
2909
2910         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2911         supers installed.
2912         * link.cc (verify_type_assertions): Don't link supers.
2913
2914         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2915         * include/java-interp.h (class _Jv_InterpClass)
2916         <_Jv_PrepareMissingMethods>: No longer `friend'.
2917         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2918         `friend'.
2919         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2920         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2921         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2922         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2923         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2924         * link.cc (search_method_in_class): Renamed from
2925         _Jv_SearchMethodInClass.
2926         (resolve_pool_entry): Updated.
2927
2928         * include/jvm.h (_Jv_CheckAssignment): Removed.
2929         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2930
2931 2004-11-05  Tom Tromey  <tromey@redhat.com>
2932
2933         * link.cc (verify_type_assertions): Ensure classes have supers
2934         linked.  Strip off array types first.
2935
2936 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
2937
2938         * link.cc: Include VerifyError.h.
2939         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2940         in the type assertion table.
2941         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2942         verify_type_assertions.
2943         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2944         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
2945         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2946         assertion code values.
2947         (struct _Jv_TypeAssertion): Declare.
2948         (assertion_table): New class field.
2949         (verify): Remove class field.
2950
2951 2004-11-05  Andrew Haley  <aph@redhat.com>
2952
2953         * Makefile.am: Move jv_dbtool.java to
2954         gnu/gcj/tools/gcj_dbtool/Main.java.
2955         * Makefile.in: Rebuild.
2956         * java/lang/VMCompiler.java: Rename property
2957         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2958         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2959         jv_dbtool.java.
2960
2961 2004-11-05  Andrew Haley  <aph@redhat.com>
2962
2963         * jv_dbtool.java (main): Allow the user to specify the size of the
2964         database.  Display the capacity and the size.
2965         (usage): Show the new option.
2966
2967 2004-11-04  Tom Tromey  <tromey@redhat.com>
2968
2969         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2970         * link.cc (make_vtable): Use correct index when searching for
2971         missing method's name.  Don't use `flags'.
2972         (set_vtable_entries): Removed `flags' argument.  Don't recurse
2973         into superclasses.
2974         (link_symbol_table): Ensure target class method table is
2975         complete.  Ensure target fields are laid out before entering
2976         loop.
2977
2978         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2979         fix.
2980
2981         * interpret.cc (do_verify): Don't verify abstract methods.
2982
2983 2004-11-01  Tom Tromey  <tromey@redhat.com>
2984
2985         * link.cc (wait_for_state): Call verify_class.
2986
2987         * verify.cc (state::check_no_uninitialized_objects): Removed.
2988         (push_jump): Updated.
2989         (push_exception_jump): Likewise.
2990         (handle_ret_insn): Likewise.
2991         (handle_jsr_insn): Likewise.
2992
2993 2004-10-28  Andrew Haley  <aph@redhat.com>
2994
2995         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2996         * jv_dbtool.java: New file.
2997         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2998         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2999         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
3000         * Makefile.in: Regenerate,
3001         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
3002         Enumeration, StringTokenizer, Vector, PersistentByteMap.
3003         (precompiledMapFiles): New variable.
3004         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
3005         initialize precompiledMapFiles.
3006         (compileClass): Look at the database of precompiled class files
3007         before firing up gcj.
3008
3009         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
3010
3011 2004-10-27  Andrew Haley  <aph@redhat.com>
3012
3013         * java/lang/VMCompiler.java (compileClass): try looking for
3014         precompiledMapFiles.
3015         * gnu/gcj/runtime/PersistentByteMap.java: New file.
3016
3017 2004-10-27  Tom Tromey  <tromey@redhat.com>
3018
3019         * link.cc (ensure_class_linked): Only resolve classes for
3020         compiled classes.
3021         (add_miranda_methods): Ensure interface supers are installed.
3022         (resolve_pool_entry): Better error message.
3023
3024 2004-10-25  Tom Tromey  <tromey@redhat.com>
3025
3026         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
3027
3028         * java/util/ResourceBundle.java (tryBundle): Use
3029         Class.isAssignableFrom rather than catching ClassCastException.
3030
3031         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
3032         exception if we hit EOF of `in'.
3033         (read): Handle case where inflating returns -1.
3034
3035         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
3036         initialize `iter'.
3037         * gnu/java/text/SentenceBreakIterator.java
3038         (SentenceBreakIterator): Don't initialize `iter'.
3039         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
3040         initialize `iter'.
3041         * gnu/java/text/CharacterBreakIterator.java
3042         (CharacterBreakIterator): Don't initialize `iter'.
3043         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
3044         constructor.
3045         * java/text/BreakIterator.java: Updated documentation.
3046
3047 2004-10-20  Tom Tromey  <tromey@redhat.com>
3048
3049         * java/util/ResourceBundle.java (tryBundle): Also ignore
3050         ClassCastException.
3051
3052 2004-10-18  Tom Tromey  <tromey@redhat.com>
3053
3054         * interpret.cc (do_post_miranda_hook): New method.
3055         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
3056         New field.
3057         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
3058         (_Jv_CompiledEngine): Initialize new field.
3059         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
3060         (_Jv_InterpreterEngine): Initialize new field.
3061         * link.cc (resolve_pool_entry): Put Miranda methods in target
3062         class.
3063         (ensure_method_table_complete): Call post_miranda_hook.
3064         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
3065         aux_info.
3066         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
3067         (parse): Set class' aux_info here.
3068
3069         * boehm.cc (_Jv_MarkObj): Mark `throws'.
3070
3071         * boehm.cc: Re-merged with trunk.
3072
3073 2004-10-18  Andrew Haley  <aph@redhat.com>
3074
3075         PR java/18036:
3076         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
3077         and correct logic used to find interpreter.
3078
3079 2004-10-13  Andrew Haley  <aph@redhat.com>
3080
3081         * interpret.cc (_Jv_InterpMethod::run): Initialize
3082         _Jv_StartOfInterpreter.
3083         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
3084         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
3085         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
3086         _Unwind_FindEnclosingFunction to discover whether PC is within the
3087         interpreter.
3088
3089 2004-10-13  Tom Tromey  <tromey@redhat.com>
3090
3091         * link.cc (find_iindex): Copy correct number of slots to new
3092         ioffsets.
3093
3094 2004-10-12  Tom Tromey  <tromey@redhat.com>
3095
3096         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
3097         proc.
3098         (gcj_loader_test_one): Use it.
3099         (gcj_loader_run): Likewise.
3100
3101         * prims.cc: Don't include FirstThread.h.
3102
3103 2004-10-06  Tom Tromey  <tromey@redhat.com>
3104
3105         * link.cc (ensure_method_table_complete): Ensure superclass
3106         Miranda methods installed.
3107
3108         * include/java-interp.h (class _Jv_JNIMethod): Added
3109         JV_MARKOBJ_DECL as a friend.
3110         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
3111         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
3112         interpreter method structures.  Mark jni_arg_types of JNI
3113         methods.
3114
3115         * defineclass.cc (parse): Use JV_STATE_READ.
3116         * java/lang/Class.h (JV_STATE_READ): New enum value.
3117
3118 2004-10-05  Tom Tromey  <tromey@redhat.com>
3119
3120         * link.cc (resolve_pool_entry): Add signature info to missing
3121         method's information.
3122
3123         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
3124         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
3125
3126 2004-10-04  Tom Tromey  <tromey@redhat.com>
3127
3128         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
3129         marking IDT.
3130
3131 2004-09-29  Tom Tromey  <tromey@redhat.com>
3132
3133         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
3134         resolve.cc.
3135         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
3136         * jni.cc: Use _Jv_Linker.
3137         * interpret.cc: Use _Jv_Linker.
3138         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
3139         * java/lang/natClassLoader.cc: Use _Jv_Linker.
3140         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
3141         * java/lang/Class.h: Use _Jv_Linker.
3142         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
3143         * resolve.cc: Renamed ...
3144         * link.cc: ... here.  Use _Jv_Linker.
3145         * defineclass.cc (checkExtends): Use _Jv_Linker.
3146
3147 2004-09-17  Tom Tromey  <tromey@redhat.com>
3148
3149         * defineclass.cc (handleCodeAttribute): Don't reference
3150         `deferred'.
3151         (handleMethodsEnd): Likewise.
3152         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
3153         field.
3154         (_Jv_Defer_Resolution): Don't declare or define.
3155         * interpret.cc (do_create_ncode): Don't resolve deferred method
3156         pointers.
3157         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
3158         * resolve.cc (link_symbol_table): No need to defer resolution.
3159
3160 2004-09-14  Tom Tromey  <tromey@redhat.com>
3161
3162         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
3163         (_Jv_MarkObj): Updated.
3164         (_Jv_MarkArray): Likewise.
3165
3166         * include/jvm.h (StringClass): Removed.
3167         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
3168         * interpret.cc (_Jv_InitField): Don't use StringClass.
3169         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
3170         StringClass.
3171         (rehash): Likewise
3172         (intern): Likewise.
3173         (_Jv_FinalizeString): Likewise.
3174         (_Jv_NewStringUtf8Const): Likewise.
3175         (equals): Likewise.
3176         * prims.cc (JvConvertArgv): Don't use StringClass.
3177
3178         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
3179         * resolve.cc (ensure_fields_laid_out): Don't mention
3180         COMPACT_FIELDS.
3181         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
3182         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
3183
3184         * java/lang/reflect/natField.cc (getType): Use resolve_field.
3185         * java/lang/natVMClassLoader.cc (resolveClass): New native
3186         implementation.
3187         (linkClass0): Removed.
3188         (markClassErrorState0): Likewise.
3189         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
3190         preparation code to resolve.cc.
3191         (_Jv_RegisterClassHookDefault): Set class's execution engine if
3192         not already set.
3193         (_Jv_FindClass): Use wait_for_state.
3194         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
3195         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
3196         Moved interface table and class preparation code to resolve.cc.
3197         (finalize): Rewrote.
3198         (initializeClass): Simplified locking and class preparation.
3199         * java/lang/VMClassLoader.java (linkClass0): Removed.
3200         (markClassErrorState0): Likewise.
3201         (resolveClass): Now native.
3202         (transformException): New method.
3203         * java/lang/Class.h (getSuperclass): Don't try to resolve super
3204         reference.
3205         (getInterface): Likewise.
3206         (size): Likewise.
3207         (set_state): New method.
3208         (Class): Updated friend declarations.
3209         (verify): Field now private.
3210         (engine): New field.
3211         * include/jvm.h (class _Jv_Resolver): New class declaration.
3212         (_Jv_ResolveField): Removed declaration.
3213         (_Jv_CheckAccessNoInit): Likewise.
3214         (_Jv_isBinaryCompatible): Removed.
3215         * include/java-interp.h (class _Jv_MethodBase): Updated friend
3216         declarations.
3217         (class _Jv_InterpMethod): Likewise.
3218         (class _Jv_InterpClass): Likewise.
3219         (class _Jv_JNIMethod): Likewise.
3220         * include/execution.h: New file.
3221         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
3222         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
3223         Register class after setting fields.
3224         * resolve.cc: Include execution.h, VerifyError.h.  Moved
3225         interpreter-specific code to interpret.cc.
3226         (uaddr): New location.
3227         (struct aligner): Likewise.
3228         (ALIGNOF): Likewise.
3229         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
3230         (INITIAL_IFACES_LEN): Likewise.
3231         (null_idt): Likewise.
3232         (_Jv_GetMethodString): Likewise.
3233         (_Jv_ThrowNoSuchMethodError): Likewise.
3234         (_Jv_abstractMethodError): Likewise.
3235         (_Jv_Resolver::get_alignment_from_class): Renamed.
3236         (_Jv_Resolver::resolve_field): Likewise.
3237         (_Jv_Resolver::resolve_pool_entry): Likewise.
3238         (_Jv_Resolver::resolve_class_ref): Likewise.
3239         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3240         (_Jv_Resolver::indexof): Likewise.
3241         (_Jv_Resolver::get_interfaces): Likewise.
3242         (_Jv_Resolver::generate_itable): Likewise.
3243         (_Jv_Resolver::append_partial_itable): Likewise.
3244         (_Jv_Resolver::find_iindex): Likewise.
3245         (_Jv_Resolver::link_symbol_table): Likewise.
3246         (_Jv_Resolver::link_exception_table): Likewise.
3247         (_Jv_Resolver::layout_interface_methods): Likewise.
3248         (_Jv_Resolver::layout_vtable_methods): Likewise.
3249         (_Jv_Resolver::set_vtable_entries): Likewise.
3250         (_Jv_Resolver::make_vtable): Likewise.
3251         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3252         (_Jv_Resolver::ensure_class_linked): Likewise.
3253         (_Jv_Resolver::ensure_supers_installed): Likewise.
3254         (_Jv_Resolver::add_miranda_methods): Likewise.
3255         (_Jv_Resolver::ensure_method_table_complete): Likewise.
3256         (_Jv_Resolver::verify_class): Likewise.
3257         (_Jv_Resolver::wait_for_state): Likewise.
3258         * prims.cc (_Jv_soleCompiledEngine): New global.
3259         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3260         (_Jv_CheckAccessNoInit): Removed.
3261         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3262         * interpret.cc: Include platform.h, ClassFormatError.h,
3263         Modifier.h, execution.h.
3264         (_Jv_soleInterpreterEngine): New global.
3265         (compile): Use resolve_pool_entry.
3266         (run): Likewise.
3267         (_Jv_InitField): New location.
3268         (skip_one_type): Likewise.
3269         (get_ffi_type_from_signature): Likewise.
3270         (_Jv_count_arguments): Likewise.
3271         (init_cif): Likewise.
3272         (ncode_closure): Likewise.
3273         (ffi_closure_fun): Likewise.
3274         (ncode): Likewise.
3275         (throw_class_format_error): Likewise.
3276         (throw_class_format_error): Likewise.
3277         (_Jv_InterpreterEngine::do_verify): New method.
3278         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3279         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3280         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3281         * defineclass.cc: Include execution.h.
3282         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3283         engine.
3284         (checkExtends): Ensure superclass has supers installed.
3285         (_Jv_ClassNameSamePackage): Clarify usage constraints.
3286         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3287         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
3288         dispatch tables.
3289
3290 2004-09-13  Tom Tromey  <tromey@redhat.com>
3291
3292         * mauve-libgcj: List some classes we don't have.
3293
3294 2004-09-10  Andrew Haley  <aph@redhat.com>
3295
3296         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3297         * java/lang/natClass.cc (initializeClass): Check itable.
3298         (_Jv_getInterfaceMethod): New.
3299         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3300         Check that an interface method isn't called with invokevirtual.
3301
3302         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3303         super_meth is virtual.
3304
3305 2004-09-01  Tom Tromey  <tromey@redhat.com>
3306
3307         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3308         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3309         _Jv_CheckAccessNoInit.
3310         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3311         * prims.cc (_Jv_CheckAccessNoInit): New method.
3312
3313         * java/lang/reflect/natMethod.cc (invoke): Check access against
3314         declaring class, not object's class.
3315         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3316         argument.
3317         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3318         overridden method.
3319         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3320         argument.
3321
3322 2004-08-30  Andrew Haley  <aph@redhat.com>
3323
3324         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3325         ClassNotFoundException.
3326         Throw NoClassDefFoundError.
3327
3328         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3329         to klass->verify() from here ...
3330         (_Jv_PrepareCompiledClass): ...and put it here.
3331
3332 2004-08-27  Andrew Haley  <aph@redhat.com>
3333
3334         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3335         klass->verify().
3336         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3337         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3338
3339 2004-08-27  Tom Tromey  <tromey@redhat.com>
3340
3341         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3342         friend.
3343         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3344         (_Jv_IsAssignableFromSlow): New function.
3345         Include VerifyError.h.
3346         * include/jvm.h (_Jv_CheckAssignment): Declare.
3347
3348 2004-08-18  Andrew Haley  <aph@redhat.com>
3349
3350         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3351         argument.  Pass it to findClass instead of fileName.
3352         (compileClass): Pass class name to loadSharedLibrary.
3353
3354 2004-06-22  Andrew Haley  <aph@redhat.com>
3355
3356         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3357
3358 2004-06-15  Andrew Haley  <aph@redhat.com>
3359
3360         * java/lang/natSystem.cc (getenv0): Don't assume environment
3361         variable is Latin 1 coded.
3362
3363 2004-06-07  Andrew Haley  <aph@redhat.com>
3364
3365         * java/lang/System.java: (getenv0): New method.
3366         (getenv): Add security check.  Do the right thing.
3367         * java/lang/natSystem.cc (getenv0): New method.
3368
3369 2004-04-19    Andrew Haley  <aph@redhat.com>
3370
3371         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3372         we destroy.
3373
3374         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3375         is returned as an int in the range 0 to 255.
3376
3377 2004-08-13  Tom Tromey  <tromey@redhat.com>
3378
3379         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3380         class if it is interpreted.
3381
3382 2004-08-12  Tom Tromey  <tromey@redhat.com>
3383
3384         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3385         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3386         (Class::getSuperclass): Updated.
3387         (Class::getInterfaces): Likewise.
3388         (Class::size): Updated.
3389         (_Jv_LayoutClass): Updated declaration.
3390         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3391         Synchronize on class.
3392         (_Jv_LayoutClass): Changed interface.
3393         (initializeClass): Updated.
3394         (_Jv_LinkSymbolTable): Likewise.
3395
3396         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3397         friend.
3398         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3399         _Jv_isBinaryCompatible.
3400         * java/lang/natClass.cc (initializeClass): Use
3401         _Jv_isBinaryCompatible.
3402         (_Jv_LinkSymbolTable): Likewise.
3403         * include/jvm.h (_Jv_isBinaryCompatible): New function.
3404
3405 2004-08-11  Tom Tromey  <tromey@redhat.com>
3406
3407         * gcj/javaprims.h: Regenerated.
3408         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3409         (_registerClass): Likewise.
3410         * Makefile.in: Rebuilt.
3411         * Makefile.am (core_java_source_files): Added VMCompiler.
3412         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3413         * java/lang/VMCompiler.java: New file.
3414         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3415         `verbose' code.
3416         (copyFile): Don't use fully-qualified name.
3417         (h): Removed.
3418         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3419         (defineClass): Use VMCompiler.
3420         * java/lang/ClassLoader.java (defineClass): Removed jit
3421         compilation code and `verbose' code.
3422         (getClassLoader0): Removed.
3423         (_registerClass): Likewise.
3424         (SharedLibHelpers): Removed.
3425
3426 2004-08-10  Tom Tromey  <tromey@redhat.com>
3427
3428         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3429         URL)): New constructor.
3430         (SoURLLoader): Likewise.
3431         (JarURLLoader): Create SoURLLoader with override URL.
3432
3433 2004-08-10  Mark Wielaard  <mark@klomp.org>
3434
3435         * Makefile.in: Rebuilt.
3436         * Makefile.am (interpret.lo): New rule.
3437
3438 2004-08-05  Andrew Haley  <aph@redhat.com>
3439
3440         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3441         aside for "GCJLIBS" in directory where jarfiles are loaded.
3442         (JarURLLoader.getClass): New method.
3443         (JarURLLoader.toString):  New method.
3444         (FileResource.toString):  New method.
3445         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3446         Remove "Duplicate class registration: " bug.
3447         (_registerClass): New method.
3448         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3449         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3450         Add debugging.
3451         (_Jv_LayoutClass): Use getSuperclass() rather than directly
3452         accessing the field.
3453         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3454         (defineClass): Call gcj to JIT-compile a class.
3455         (_registerClass): New method.
3456         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3457         library name can refer to more than one loaded library, so use a
3458         Set of SharedLibHelpers.
3459         If a shared library is already loaded, take a copy.
3460         (copyFile): New function.
3461
3462         * testsuite/libjava.compile/compile.exp: Force
3463         -findirect-dispatch.
3464
3465         * java/security/BasicPermission.java: Remove bogus checks.
3466
3467         * java/lang/System.java (getenv0): New method.
3468         * java/lang/natSystem.cc (getenv0): New method.
3469
3470 2004-05-24  Andrew Haley  <aph@redhat.com>
3471
3472         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3473
3474 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
3475
3476         * Merged with HEAD as of 20040514. Diff against
3477         gcj-abi-2-merge-20040514.
3478
3479 2004-04-16  Andrew Haley  <aph@redhat.com>
3480
3481         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3482         _Jv_LayoutClass.
3483         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3484         (_Jv_PrepareCompiledClass): If we throw an exception during
3485         preparation, restore state.
3486         (ClassLoader::getClassLoader0): New method.
3487
3488         * java/lang/natClass.cc (get_alignment_from_class): Moved here
3489         from resolve.cc.
3490         (ALIGNOF): Use offsetof, not __alignof__.
3491         (_Jv_ResolveClassRef): Resolve a reference to a class in a
3492         constant pool.
3493         (getInterfaces): Emit debug output if interface hasn't been
3494         resolved.
3495         (initializeClass): Call _Jv_LayoutClass.
3496         (_Jv_LinkSymbolTable): Add debugging output.
3497         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3498         found.
3499         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3500         (_Jv_LinkSymbolTable): Pass the real class loader to
3501         _Jv_FindClass.
3502         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3503         exception class.
3504         (_Jv_LinkSymbolTable): Assert if we find a static field reference
3505         to an interpreted class.
3506         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3507         superclass.
3508         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3509         resolve.cc.
3510
3511         * java/lang/VMSecurityManager.java: Check for the system class
3512         loader as well as loader != null.
3513
3514         * java/lang/SecurityManager.java (checkPermission): Remove
3515         security check.
3516         (checkRead): Likewise.
3517         (checkConnect): Likewise.
3518
3519         * java/lang/ClassLoader.java (loadClass): Include all class
3520         loaders in stack trace string.
3521         Look for class in "gcjlib.so" in the same directory.
3522         (getSystemClassLoader) Use getClassLoader0.
3523         (getClassLoader0): New native method.
3524
3525         * java/lang/Class.h (getSuperclass): New method.
3526         (getInterface): New method.
3527         (size): Lay out class if needed.
3528         (firstMethodIndex): New method.
3529         (Jv_ResolveClassRef): New declaration.
3530         (_Jv_LinkSymbolTable): New declaration.
3531
3532         * java/io/ObjectOutputStream.java: Add DEBUG statements
3533         everywhere.
3534         (dumpElementln): New method.
3535         (depth): New field.
3536         * java/io/ObjectInputStream.java (MyIOException): new, for
3537         debugging.
3538         Everywhere: use MyIOException rather than IOException.
3539         Indent debugging output to make nesting visible.
3540         (currentClassLoader): Make native
3541         (callersClassLoader): New field.
3542         (depth): New field.
3543         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3544         method.
3545
3546         (readObject): ENDBLOCKDATA is generated if the class has a write
3547         method, not if it has a read method.
3548
3549         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3550
3551         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3552         getContextClassLoader form the current thread after our own class
3553         loader.
3554
3555         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3556         debugging.
3557         (toString): New method.
3558
3559         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3560         interfaces array.
3561
3562         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3563         a constant pool entry, resolve it now.
3564         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3565         in natClass.cc.
3566         Move get_alignment_from_class to natClass.cc.
3567
3568         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3569         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3570
3571         * defineclass.cc (checkExtends): Don't access superclass field
3572         directly.
3573
3574         * Makefile.in: regenerate.
3575
3576         * gnu/gcj/util/natDebug.cc: New
3577         * gnu/gcj/util/Debug.java: New.
3578
3579         * Makefile.am (java/io/ObjectInputStream.lo): Use
3580         -fno-optimize-sibling-calls.
3581
3582         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3583         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3584         in an interface.
3585         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3586
3587 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
3588
3589         * configure: Regenerate for libtool change.
3590
3591 2004-11-24  Michael Koch  <konqueror@gmx.de>
3592
3593         * gnu/java/security/PolicyFile.java: New file.
3594         * Makefile.am: Added gnu/java/security/PolicyFile.java.
3595         * Makefile.in: Regenerated.
3596
3597 2004-11-24  Michael Koch  <konqueror@gmx.de>
3598
3599         * java/lang/Character.java, scripts/unicode-blocks.pl:
3600         Reorder "final static" to "static final".
3601
3602 2004-11-24  Michael Koch  <konqueror@gmx.de>
3603
3604         * java/util/ResourceBundle.java: Reformatted.
3605         (tryBundle): Fixed javadoc.
3606
3607 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
3608
3609         * java/text/MessageFormat.java
3610         (formatInternal): Made private.
3611
3612 2004-11-24  Michael Koch  <konqueror@gmx.de>
3613
3614         * java/nio/DirectByteBufferImpl.java
3615         (ReadWrite.ReadWrite): New constructor.
3616         (DirectByteBufferImpl): Likewise.
3617         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3618         Use DirectByteBufferImpl.ReadWrite.
3619         * Makefile.am:
3620         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3621         * Makefile.in: Rgenerated.
3622
3623 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
3624
3625         * java/nio/DirectByteBufferImpl.java
3626         (ReadOnly): New inner subclass.
3627         (ReadWrite): New inner subclass.
3628         (owner): Made final and private.
3629         (address): Made final.
3630         (DirectByteBufferImpl(int)): New constructor.
3631         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3632         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3633         (allocate): Modified to instantiate ReadWrite subclass.
3634         (finalize): Fixed to only free the buffer, if we own it.
3635         (put): Removed read-only check.
3636         (slice, duplicate): Modified to instantiate appropriate subclass.
3637         (isReadOnly): Removed.
3638         * java/nio/MappedByteBufferImpl.java
3639         (slice, duplicate): Modified to instantiate appropriate
3640         DirectByteBufferImpl subclass.
3641
3642 2004-11-24  Michael Koch  <konqueror@gmx.de>
3643
3644         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3645         * java/nio/DirectByteBufferImpl.java:
3646         Moved native methods to java.nio.VMDirectByteBuffer class.
3647         * java/nio/MappedByteBufferImpl.java:
3648         Use native methods from java.nio.VMDirectByteBuffer class.
3649         * java/nio/VMDirectByteBuffer.java: New file,
3650         * java/nio/natDirectByteBufferImpl.cc:
3651         Moved all methods into java.nio.VMDirectByteBuffer class.
3652         * java/nio/channels/spi/AbstractSelectableChannel.java
3653         (register): Only re-use valid keys.
3654         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3655         * Makefile.in: Regenerated.
3656
3657 2004-11-24  Michael Koch  <konqueror@gmx.de>
3658
3659         * java/nio/DirectByteBufferImpl.java,
3660         java/nio/MappedByteBufferImpl.java:
3661         Reformatted.
3662
3663 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3664
3665         * testsuite/lib/libjava.exp,
3666         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3667
3668 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
3669
3670         * configure.host: Enable the interpreter for mips*-*-linux*.
3671
3672 2004-11-23  Michael Koch  <konqueror@gmx.de>
3673
3674         * java/lang/String.java (rehash): Removed.
3675         * java/lang/natString.cc (rehash): Made static.
3676         (_Jv_NewStringUtf8Const): Use static rehash method.
3677
3678 2004-11-23  Michael Koch  <konqueror@gmx.de>
3679
3680         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3681         include/Makefile.in, testsuite/Makefile.in: Regenerated.
3682
3683 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
3684
3685         PR target/18444
3686         * configure.ac (threading): Accept 'posix95'.
3687         * configure: Regenerate.
3688
3689 2004-11-22  Michael Koch  <konqueror@gmx.de>
3690
3691         * gnu/java/nio/SocketChannelImpl.java
3692         (read): Made check for blocking un-ambiguous.
3693         Removed wrong check for data array length.
3694
3695 2004-11-21  Michael Koch  <konqueror@gmx.de>
3696
3697         * gnu/java/nio/SocketChannelImpl.java
3698         (read): Only return 0 when no bytes for reading available in
3699         non-blocking mode.
3700         * java/nio/channels/SocketChannel.java:
3701         Added some missing @return tags.
3702
3703 2004-11-21  Michael Koch  <konqueror@gmx.de>
3704
3705         * java/beans/PropertyChangeSupport.java
3706         (propertyChangeSupportSerializedDataVersion): Made static.
3707         * java/beans/VetoableChangeSupport.java
3708         (propertyChangeSupportSerializedDataVersion): Likewise.
3709
3710 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3711
3712         * java/net/URLStreamHandler.java
3713         (parseURL): Fixed file path canonicalisation.
3714
3715 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3716
3717         * java/net/URLStreamHandler.java
3718         (parseURL): Fixed file path canonicalisation.
3719
3720 2004-11-18  Michael Koch  <konqueror@gmx.de>
3721
3722         * java/net/URLClassLoader.java: Whitespace cleanup.
3723
3724 2004-11-18  Robert Schuster <address@bogus.example.com>
3725
3726         Complete 1.4 support
3727         * java/beans/PropertyDescriptor.java:
3728         (setReadMethod): New method
3729         (setWriteMethod): New method
3730         (equals): Implemented (1.4)
3731         (checkMethods): operates on arguments now (private)
3732
3733
3734 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3735
3736         * java/net/Inet6Address.java (getHostAddress): Fix textual
3737         representation of IPv6 address with embedded zeroes
3738         to conform to RFC 2373.
3739
3740 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
3741
3742         * java/lang/StackTraceElement.java: Made final.
3743         * java/nio/channels/Channels.java: Added private constructor.
3744         * java/rmi/Naming.java: Added private constructor.
3745         * java/rmi/registry/LocateRegistry.java: Added private constructor.
3746         * java/rmi/server/RMIClassLoader.java: Added private constructor.
3747         * java/security/KeyPairGeneratorSpi.java
3748         (clone): Made protected and simplified implementation.
3749         * java/text/DateFormat.java
3750         (allFields): Made package accessible.
3751         * java/text/DecimalFormat.java
3752         (formatInternal): Made private.
3753         * java/text/Format.java
3754         (formatInternal): Made private.
3755         * java/util/logging/Handler.java: Made constructor protected.
3756         * java/util/regex/Matcher.java: Made final.
3757         * java/util/regex/Pattern.java: Made final.
3758         * javax/crypto/CipherInputStream.java
3759         (mark): Corrected mark parameter type (from long to int).
3760         * javax/crypto/ExemptionMechanism.java
3761         (finalize): Added.
3762         * javax/crypto/Mac.java
3763         (getMacLength): Made final.
3764         (clone): Made final.
3765         * javax/imageio/ImageIO.java: Added private constructor.
3766         * javax/imageio/stream/ImageInputStreamImpl.java
3767         (checkClosed): Made final.
3768         * javax/net/ssl/SSLPermission.java: Made final.
3769         * javax/print/DocFlavor.java
3770         (hostEncoding): Added work-around to prevent the field from being
3771         a compile time constant.
3772         * javax/print/attribute/AttributeSetUtilities.java: Added private
3773         constructor.
3774         (UnmodifiableDocAttributeSet): Made private.
3775         (UnmodifiablePrintJobAttributeSet): Made private.
3776         (UnmodifiablePrintRequestAttributeSet): Made private.
3777         (UnmodifiablePrintServiceAttributeSet): Made private.
3778         (SynchronizedAttributeSet): Made private.
3779         (SynchronizedDocAttributeSet): Made private.
3780         (SynchronizedPrintJobAttributeSet): Made private.
3781         (SynchronizedPrintRequestAttributeSet): Made private.
3782         (SynchronizedPrintServiceAttributeSet): Made private.
3783         * javax/security/auth/PrivateCredentialPermission.java: Made final.
3784
3785 2004-11-18  Craig Black  <craig.black@aonix.com>
3786
3787         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3788
3789 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3790
3791         * Makefile.am: Correct friend function declaration.
3792         * Makefile.in: Regenerated.
3793         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3794         scope to function names.  Declare functions directly.
3795         * libjava/java/lang/Class.h
3796         (java::lang::Class): Correct friend class declaration.
3797         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3798         scope.
3799         * libjava/java/lang/Class.h
3800         (java::lang::Object): Correct friend class declaration.
3801
3802 2004-11-17  David Daney  <ddaney@avtrex.com>
3803
3804         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3805
3806 2004-11-17  Michael Koch  <konqueror@gmx.de>
3807
3808         * java/net/Socket.java (getPort): Return 0 in error case.
3809
3810 2004-11-17  Michael Koch  <konqueror@gmx.de>
3811
3812         *  java/nio/DirectByteBufferImpl.java
3813         (owner): Updated comment.
3814         (allocate): New method.
3815
3816 2004-11-17  Michael Koch  <konqueror@gmx.de>
3817
3818         * java/net/URL.java (URL): Handle case when argument is null.
3819
3820 2004-11-17  Michael Koch  <konqueror@gmx.de>
3821
3822         * java/beans/Beans.java,
3823         java/beans/PropertyChangeEvent.java,
3824         java/beans/PropertyEditorSupport.java:
3825         Fixed javadocs.
3826
3827 2004-11-17  Michael Koch  <konqueror@gmx.de>
3828
3829         * java/util/Timer.java (DEFAULT_SIZE): Made static.
3830
3831 2004-11-17  Michael Koch  <konqueror@gmx.de>
3832
3833         * java/net/InetAddress.java (getCanonicalHostName):
3834         Support IPv6 addresses.
3835
3836 2004-11-16  Michael Koch  <konqueror@gmx.de>
3837
3838         * java/lang/Object.java: Added javadocs all over (merged from GNU
3839         classpath).
3840
3841 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3842
3843         * java/security/Security.java (Security): Silence the warning about no
3844         providers found in the no debug case.
3845
3846 2004-11-16  Michael Koch  <konqueror@gmx.de>
3847
3848         * java/net/InetAddress.java
3849         (toString): Merged from GNU classpath.
3850
3851 2004-11-16  Michael Koch  <konqueror@gmx.de>
3852
3853         * java/awt/geom/doc-files/Area-1.png,
3854         java/awt/geom/doc-files/Ellipse-1.png,
3855         java/awt/geom/doc-files/GeneralPath-1.png:
3856         New files.
3857
3858 2004-11-16  Michael Koch  <konqueror@gmx.de>
3859
3860         * java/util/Currency.java (cache): Fix modifier order.
3861
3862 2004-11-16  Michael Koch  <konqueror@gmx.de>
3863
3864         * java/io/BufferedReader.java,
3865         java/io/FileInputStream.java,
3866         java/io/FileOutputStream.java,
3867         java/io/FileWriter.java,
3868         java/io/OutputStreamWriter.java,
3869         java/io/PipedInputStream.java,
3870         java/io/PipedOutputStream.java,
3871         java/io/PipedReader.java,
3872         java/io/PipedWriter.java,
3873         java/io/PrintStream.java,
3874         java/io/PushbackInputStream.java,
3875         java/io/RandomAccessFile.java,
3876         java/io/Reader.java,
3877         java/io/StreamTokenizer.java,
3878         java/io/StringReader.java,
3879         java/net/NetworkInterface.java,
3880         java/net/URLClassLoader.java,
3881         java/nio/ByteOrder.java,
3882         java/nio/channels/Channel.java:
3883         Fixed javadocs all over.
3884
3885 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3886
3887         * Makefile.am: Add imported files.
3888         * Makefile.in: Regenerate.
3889
3890         2004-10-24  Casey Marshall  <csm@gnu.org>
3891
3892         * javax/security/auth/login/LoginContext.java: Implemented.
3893         * javax/security/auth/login/Configuration.java (getConfig): New method.
3894         * javax/security/auth/spi/LoginModule.java,
3895         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3896
3897 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
3898
3899         Import/Merge the X.509 certificate code from Classpath.
3900
3901         * Makefile.am: Add imported files.
3902         * Makefile.in: Regenerate.
3903
3904         2004-11-07  Casey Marshall  <csm@gnu.org>
3905
3906         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3907         priviliged action. Add new algorithms.
3908         * gnu/java/security/provider/X509CertificateFactory.java
3909         (engineGenerateCertificate): Chain exceptions.
3910         (engineGenerateCertificates): Likewise.
3911         (engineGenerateCRL): Likewise.
3912         (engineGenerateCRLs): Likewise.
3913         (engineGenerateCertPath): New methods.
3914         (generateCert): Throw exception if 'inStream' is null.
3915         (generateCRL): Likewise.
3916         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3917         version from GNU Crypto CVS.
3918         * gnu/java/security/x509/X509CRL.java: Likewise.
3919         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3920         * gnu/java/security/x509/X509Certificate.java: Likewise.
3921         * java/security/cert/TrustAnchor.java: Call 'toString' and not
3922         toRFC2253.
3923         * gnu/java/security/provider/CollectionCertStoreImpl.java,
3924         * gnu/java/security/provider/EncodedKeyFactory.java,
3925         * gnu/java/security/provider/GnuDHPublicKey.java,
3926         * gnu/java/security/provider/GnuRSAPrivateKey.java,
3927         * gnu/java/security/provider/GnuRSAPublicKey.java,
3928         * gnu/java/security/provider/MD2withRSA.java,
3929         * gnu/java/security/provider/MD4withRSA.java,
3930         * gnu/java/security/provider/MD5withRSA.java,
3931         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3932         * gnu/java/security/provider/RSA.java,
3933         * gnu/java/security/provider/RSAKeyFactory.java,
3934         * gnu/java/security/provider/SHA1withRSA.java,
3935         * gnu/java/security/x509/GnuPKIExtension.java,
3936         * gnu/java/security/x509/PolicyNodeImpl.java,
3937         * gnu/java/security/x509/Util.java,
3938         * gnu/java/security/x509/X509CRLSelectorImpl.java,
3939         * gnu/java/security/x509/X509CertPath.java,
3940         * gnu/java/security/x509/X509CertSelectorImpl.java,
3941         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3942         * gnu/java/security/x509/ext/BasicConstraints.java,
3943         * gnu/java/security/x509/ext/CRLNumber.java,
3944         * gnu/java/security/x509/ext/CertificatePolicies.java,
3945         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3946         * gnu/java/security/x509/ext/Extension.java,
3947         * gnu/java/security/x509/ext/GeneralNames.java,
3948         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3949         * gnu/java/security/x509/ext/KeyUsage.java,
3950         * gnu/java/security/x509/ext/PolicyConstraint.java,
3951         * gnu/java/security/x509/ext/PolicyMappings.java,
3952         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3953         * gnu/java/security/x509/ext/ReasonCode.java,
3954         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3955         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3956
3957         2004-11-07  Casey Marshall  <csm@gnu.org>
3958
3959         * gnu/java/security/x509/X509CRL.java:
3960         Missed import statements in previous checkin.
3961
3962         2004-11-07  Casey Marshall  <csm@gnu.org>
3963
3964         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3965         to 'X509CertificateImpl' from previous checkin.
3966
3967 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
3968
3969         PR other/14264
3970         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3971
3972 2004-11-11  Casey Marshall  <csm@gnu.org>
3973
3974         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3975         channel is open.
3976         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3977         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3978
3979 2004-11-11  Robert Schuster <thebohemian@gmx.net>
3980
3981         Fixed regression:
3982         * gnu/java/beans/IntrospectionIncubator.java:
3983         (addMethod): Corrected classification of normal and property methods.
3984         (capitalize): Added documentation.
3985         (DoubleKey): [class] Added documentation.
3986
3987 2004-11-09  Tom Tromey  <tromey@redhat.com>
3988
3989         * include/jni.h: Added FIXME.
3990
3991 2004-11-08  Tom Tromey  <tromey@redhat.com>
3992
3993         * java/util/GregorianCalendar.java: Removed unused imports.
3994         * java/util/Vector.java: Removed unused import.
3995
3996 2004-11-07  Michael Koch  <konqueror@gmx.de>
3997
3998         * java/lang/Process.java:
3999         Import cleanups.
4000
4001 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
4002
4003         * java/util/zip/ZipEntry.java
4004         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
4005
4006 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
4007
4008         Fixes bug #10908
4009         * gnu/java/beans/IntrospectionIncubator.java:
4010         (addMethod): static methods are discarded now, too.
4011
4012 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4013
4014         * java/util/GregorianCalendar.java
4015         Added/amended documentation.
4016
4017 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4018
4019         * java/util/Collections.java
4020         Added documentation.
4021         * java/util/SortedMap.java
4022         Clarified some method examples.
4023         * java/util/SortedSet.java
4024         Clarified some method examples.
4025
4026 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4027
4028         * java/util/Currency.java
4029         Documented variables and methods more fully.
4030         Caches the currency instances, so that a request
4031         for a locale, l, only ever returns the same
4032         instance (i.e. successive calls to getInstance(l)
4033         are reference equivalent (==)).
4034
4035 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4036
4037         * java/util/Date.java
4038         Added missing documentation.
4039
4040 2004-11-06  Michael Koch  <konqueror@gmx.de>
4041
4042         * java/util/zip/CheckedInputStream.java,
4043         java/util/zip/InflaterInputStream.java,
4044         java/util/zip/ZipFile.java,
4045         java/util/zip/ZipInputStream.java:
4046         Import cleanups.
4047
4048 2004-11-06  Tom Tromey  <tromey@redhat.com>
4049
4050         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
4051         package-private.
4052         (connections): Likewise.
4053         (scavenger): Likewise.
4054         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
4055         package-private.
4056         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
4057         package-private.
4058         (ptr): Likewise.
4059         * gnu/classpath/ServiceFactory.java (log): Now package-private.
4060
4061 2004-11-06  Tom Tromey  <tromey@redhat.com>
4062
4063         * javax/naming/directory/BasicAttributes.java (attributes): Now
4064         package-private.
4065         * javax/imageio/spi/ServiceRegistry.java (categories): Now
4066         package-private.
4067
4068 2004-11-06  Tom Tromey  <tromey@redhat.com>
4069
4070         * java/net/URLClassLoader.java (URLClassLoader): Now
4071         package-private.
4072         * java/nio/charset/CoderResult.java (CoderResult): Now
4073         package-private.
4074         (get): Likewise.
4075         (Cache): Likewise.  Don't synchronize on `this'.
4076         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
4077         package-private.
4078         * java/util/TimeZone.java (timezones): Now package-private.
4079
4080 2004-11-06  Tom Tromey  <tromey@redhat.com>
4081
4082         * java/security/Permissions.java (perms): Now package-private.
4083         * java/security/UnresolvedPermission.java (permissions): Now
4084         package-private.
4085
4086 2004-11-06  Tom Tromey  <tromey@redhat.com>
4087
4088         * java/io/FilePermission.java: Reindented.
4089
4090 2004-11-06  Tom Tromey  <tromey@redhat.com>
4091
4092         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
4093         package-private.
4094         (setBlockDataMode): Likewise.
4095
4096 2004-11-06  Tom Tromey  <tromey@redhat.com>
4097
4098         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
4099         package-private.
4100         (Encoder): Likewise.
4101         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
4102         (Encoder): Likewise.
4103         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
4104         package-private.
4105         (Encoder): Likewise.
4106
4107 2004-11-06  Mark Wielaard  <mark@klomp.org>
4108
4109         * Makefile.am: Add new javax.imageio files.
4110         * Makefile.in: Regenerated.
4111
4112 2004-11-06  Michael Koch  <konqueror@gmx.de>
4113
4114         * javax/imageio/event/IIOReadProgressListener.java,
4115         javax/imageio/event/IIOReadUpdateListener.java,
4116         javax/imageio/event/IIOReadWarningListener.java,
4117         javax/imageio/event/IIOWriteProgressListener.java,
4118         javax/imageio/event/IIOWriteWarningListener.java,
4119         javax/imageio/metadata/IIOMetadataFormat.java,
4120         javax/imageio/stream/FileCacheImageInputStream.java,
4121         javax/imageio/stream/FileCacheImageOutputStream.java,
4122         javax/imageio/stream/ImageInputStreamImpl.java:
4123         Import cleanup.
4124         * javax/imageio/metadata/package.html: New file.
4125
4126 2004-11-06  Michael Koch  <konqueror@gmx.de>
4127
4128         * javax/imageio/spi/ImageReaderSpi.java
4129         (isOwnReader): New method.
4130         * javax/imageio/spi/ImageWriterSpi.java
4131         (isOwnWriter): Likewise.
4132
4133 2004-11-06  Michael Koch  <konqueror@gmx.de>
4134
4135         * javax/imageio/ImageWriter.java
4136         (convertImageMetadata): New abstract method.
4137         (convertStreamMetadata): Likewise.
4138         (write): Likewise.
4139         * javax/imageio/stream/FileCacheImageInputStream.java
4140         (close): Fixed setting of stream to null.
4141         (checkStreamClosed): Throws IOException.
4142
4143 2004-11-06  Michael Koch  <konqueror@gmx.de>
4144
4145         * javax/imageio/stream/FileCacheImageInputStream.java,
4146         javax/imageio/stream/FileCacheImageOutputStream.java,
4147         javax/imageio/stream/FileImageInputStream.java,
4148         javax/imageio/stream/FileImageOutputStream.java,
4149         javax/imageio/stream/MemoryCacheImageInputStream.java,
4150         javax/imageio/stream/MemoryCacheImageOutputStream.java:
4151         New files.
4152
4153 2004-11-06  Michael Koch  <konqueror@gmx.de>
4154
4155         * javax/imageio/metadata/IIOInvalidTreeException.java,
4156         javax/imageio/metadata/IIOMetadataFormatImpl.java,
4157         javax/imageio/metadata/IIOMetadataNode.java:
4158         New stub files.
4159
4160 2004-11-06  Michael Koch  <konqueror@gmx.de>
4161
4162         * javax/imageio/stream/ImageInputStreamImpl.java,
4163         javax/imageio/stream/ImageOutputStreamImpl.java:
4164         New files.
4165
4166 2004-11-06  Michael Koch  <konqueror@gmx.de>
4167
4168         * javax/imageio/ImageIO.java:
4169         Added much new methods.
4170
4171 2004-11-06  Michael Koch  <konqueror@gmx.de>
4172
4173         * javax/imageio/ImageReader.java,
4174         javax/imageio/ImageWriter.java,
4175         javax/imageio/spi/ImageWriterSpi.java:
4176         Add SOME new methods.
4177
4178 2004-11-06  Michael Koch  <konqueror@gmx.de>
4179
4180         * javax/imageio/IIOParam.java,
4181         javax/imageio/ImageReadParam.java,
4182         javax/imageio/ImageReader.java,
4183         javax/imageio/ImageWriter.java:
4184         Mostly implemented.
4185         * javax/imageio/spi/ImageReaderSpi.java,
4186         javax/imageio/spi/ImageWriterSpi.java:
4187         New files.
4188
4189 2004-11-06  Michael Koch  <konqueror@gmx.de>
4190
4191         * javax/imageio/ImageWriteParam.java,
4192         javax/imageio/metadata/IIOMetadataFormat.java:
4193         Implemented.
4194
4195 2004-11-06  Michael Koch  <konqueror@gmx.de>
4196
4197         * javax/imageio/ImageTypeSpecifier.java:
4198         Mostly implemented.
4199
4200 2004-11-06  Michael Koch  <konqueror@gmx.de>
4201
4202         * javax/imageio/metadata/IIOMetadata.java:
4203         Mostly implemented.
4204
4205 2004-11-06  Michael Koch  <konqueror@gmx.de>
4206
4207         * javax/imageio/IIOImage.java,
4208         javax/imageio/ImageReadParam.java,
4209         javax/imageio/metadata/IIOMetadataController.java,
4210         javax/imageio/metadata/IIOMetadataFormat.java:
4211         New files.
4212         * javax/imageio/stream/ImageOutputStream.java:
4213         Implemented.
4214
4215 2004-11-06  Michael Koch  <konqueror@gmx.de>
4216
4217         * javax/imageio/IIOParam.java,
4218         javax/imageio/IIOParamController.java,
4219         javax/imageio/ImageTypeSpecifier.java,
4220         javax/imageio/ImageWriteParam.java,
4221         javax/imageio/metadata/IIOMetadata.java:
4222         New files.
4223         * javax/imageio/ImageTranscoder.java:
4224         Implemented.
4225
4226 2004-11-06  Michael Koch  <konqueror@gmx.de>
4227
4228         * javax/imageio/spi/ImageInputStreamSpi.java,
4229         javax/imageio/spi/ImageOutputStreamSpi.java:
4230         Reworked import startments.
4231         * javax/imageio/spi/ServiceRegistry.java:
4232         Reworked import startments. Fixed XHTML in javadocs.
4233         (ServiceRegistry): Added @param tag to javadoc.
4234         * javax/imageio/stream/ImageInputStream.java
4235         (mark): Doesn't throws IOException;
4236
4237 2004-11-06  Michael Koch  <konqueror@gmx.de>
4238
4239         * javax/imageio/ImageIO.java:
4240         New file.
4241
4242 2004-11-06  Michael Koch  <konqueror@gmx.de>
4243
4244         * javax/imageio/spi/IIORegistry.java
4245         (static): Don't register ImageReaderSpi.class and
4246         ImageWriterSpi.class yet.
4247
4248 2004-11-06  Michael Koch  <konqueror@gmx.de>
4249
4250         * javax/imageio/spi/IIORegistry.java:
4251         New file.
4252
4253 2004-11-06  Noa Resare  <noa@resare.com>
4254
4255         * java/net/Socket.java (getPort): Return 0 instead of -1 on
4256         unconnected sockets.
4257
4258 2004-11-06  Michael Koch  <konqueror@gmx.de>
4259
4260         * java/lang/StringBuffer.java,
4261         java/lang/Throwable.java,
4262         java/security/spec/DSAParameterSpec.java,
4263         java/util/zip/ZipEntry.java,
4264         java/util/zip/ZipFile.java,
4265         java/util/zip/ZipInputStream.java,
4266         java/util/zip/ZipOutputStream.java:
4267         Removed redundant and reordered modifiers.
4268
4269 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4270
4271         * java/io/Vector.java
4272         (writeObject): New function to serialized output thread safe.
4273
4274         * java/io/ObjectOutputStream.java
4275         (writeObject): Move the assignment of the class handle to after
4276         the assignment of class descriptor handle.
4277
4278 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4279
4280         Fixes documentation and indentation
4281         * java/beans/PropertyEditorSupport.java:
4282         reworked initial API doc
4283         (value): changed name from val
4284
4285 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4286
4287         Updates to 1.5
4288         * java/beans/PropertyEditorSupport.java
4289         (PropertyEditorSupport()): Changed modifier to public
4290         (PropertyEditorSupport(Object): Changed modifier to public
4291         (setSource): New method
4292         (getSource): New method
4293
4294 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4295
4296         Fixes bug #10799
4297         * java/beans/PropertyEditorSupport.java
4298         (setValue): Fire property change event
4299
4300 2004-11-03  Tom Tromey  <tromey@redhat.com>
4301
4302         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4303         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4304         returns jobjectArray.
4305         (_Jv_JNIEnv::NewObjectArray): Likewise.
4306
4307 2004-11-01  Tom Tromey  <tromey@redhat.com>
4308
4309         * verify.cc (state::check_no_uninitialized_objects): Removed.
4310         (push_jump): Updated.
4311         (push_exception_jump): Likewise.
4312         (handle_ret_insn): Likewise.
4313         (handle_jsr_insn): Likewise.
4314
4315 2004-10-30  Mark Wielaard  <mark@klomp.org>
4316
4317         PR libgcj/18234
4318         * java/lang/Runtime.java (static): Call init().
4319         (Runtime): Remove call to init().
4320         (init): Make static.
4321
4322 2004-10-28  David Daney  <ddaney@avtrex.com>
4323
4324         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4325         * Makefile.am: Build it.
4326         * Makefile.in: Regenerate.
4327
4328 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4329
4330         PR libgcj/18104
4331         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
4332         colon.
4333         * Makefile.in: Regenerate.
4334         * configure: Regenerate.
4335         * configure.ac (CLASSPATH_SEPARATOR): Define.
4336         * gcj/Makefile.in: Regenerate.
4337         * include/Makefile.in: Regenerate.
4338         * testsuite/Makefile.in: Regenerate.
4339         * testsuite/lib/libjava.exp (libjava_arguments): Fix
4340         CLASSPATH separator handling for Windows.
4341
4342 2004-10-26  Michael Koch  <konqueror@gmx.de>
4343
4344         * gnu/java/net/protocol/http/Connection.java
4345         (getOutputStream): Implicitely switch to POST method.
4346
4347 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
4348
4349         * libjava/java/lang/Class.h
4350         (java::lang::Class): Correct friend class declaration.
4351
4352 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
4353
4354         * Makefile.am (DARWIN_CRT_SRC): New.
4355         (libgcj_la_SOURCES): Use it.
4356         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4357         * darwin.cc: New file.
4358         * include/jvm.h (_Jv_RegisterClasses): Constify.
4359         (_Jv_RegisterClasses_Counted): New prototype.
4360         * java/lang/Class.h: Include stddef.h.
4361         (_Jv_RegisterClasses): Constify.
4362         (_Jv_RegisterClasses_Counted): New prototype.
4363         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4364         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4365         (_Jv_RegisterClasses_Counted): New function.
4366         * configure: Regenerate.
4367         * Makefile.in: Regenerate.
4368         * gcj/Makefile.in: Regenerate.
4369         * include/Makefile.in: Regenerate.
4370         * testsuite/Makefile.in: Regenerate.
4371
4372 2004-10-25  Tom Tromey  <tromey@redhat.com>
4373
4374         * java/util/ResourceBundle.java (tryBundle): Use
4375         Class.isAssignableFrom rather than catching ClassCastException.
4376
4377 2004-10-25  Tom Tromey  <tromey@redhat.com>
4378
4379         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4380         initialize `iter'.
4381         * gnu/java/text/SentenceBreakIterator.java
4382         (SentenceBreakIterator): Don't initialize `iter'.
4383         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4384         initialize `iter'.
4385         * gnu/java/text/CharacterBreakIterator.java
4386         (CharacterBreakIterator): Don't initialize `iter'.
4387         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4388         constructor.
4389         * java/text/BreakIterator.java: Updated documentation.
4390
4391 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
4392
4393         PR other/18138
4394         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4395
4396 2004-10-23  Michael Koch  <konqueror@gmx.de>
4397
4398         * javax/print/DocFlavor.java,
4399         javax/print/attribute/standard/JobStateReason.java,
4400         javax/print/attribute/standard/MultipleDocumentHandling.java:
4401         Added missing constants.
4402
4403 2004-10-22  Tom Tromey  <tromey@redhat.com>
4404
4405         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4406         typo.
4407
4408 2004-10-22  Michael Koch  <konqueror@gmx.de>
4409
4410         PR libjava/14009
4411         * gnu/java/net/protocol/http/Connection.java
4412         (sendRequest): Handle case when url.getFile() returns an empty string.
4413
4414 2004-10-22  Michael Koch  <konqueror@gmx.de>
4415
4416         * java/lang/Math.java,
4417         java/lang/StackTraceElement.java,
4418         java/nio/Buffer.java,
4419         java/nio/ByteBuffer.java,
4420         java/nio/CharBuffer.java,
4421         java/nio/DoubleBuffer.java,
4422         java/nio/FloatBuffer.java,
4423         java/nio/IntBuffer.java,
4424         java/nio/LongBuffer.java,
4425         java/nio/ShortBuffer.java,
4426         java/nio/charset/Charset.java,
4427         java/rmi/server/RMIClassLoader.java,
4428         java/rmi/server/RMISocketFactory.java,
4429         java/security/Policy.java,
4430         java/text/ChoiceFormat.java,
4431         java/text/CollationElementIterator.java,
4432         java/text/DateFormat.java,
4433         java/text/DecimalFormat.java,
4434         java/text/DecimalFormatSymbols.java,
4435         java/text/MessageFormat.java,
4436         java/text/NumberFormat.java,
4437         java/text/RuleBasedCollator.java,
4438         java/text/SimpleDateFormat.java,
4439         java/util/BitSet.java,
4440         java/util/Calendar.java,
4441         java/util/Collections.java,
4442         java/util/IdentityHashMap.java,
4443         java/util/Locale.java,
4444         java/util/TreeMap.java,
4445         java/util/logging/LogRecord.java,
4446         java/util/logging/XMLFormatter.java,
4447         java/util/prefs/AbstractPreferences.java,
4448         java/util/prefs/Preferences.java,
4449         javax/crypto/interfaces/DHPrivateKey.java,
4450         javax/crypto/interfaces/DHPublicKey.java,
4451         javax/crypto/interfaces/PBEKey.java,
4452         javax/net/ssl/HandshakeCompletedEvent.java,
4453         javax/security/auth/Subject.java:
4454         Removed redundant and reordered modifiers.
4455
4456 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
4457
4458         * gnu/java/net/natPlainSocketImplPosix.cc
4459         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4460         with 'int *' argument instead of 'long *'.
4461
4462 2004-10-21  Michael Koch  <konqueror@gmx.de>
4463
4464         * java/net/NetworkInterface.java,
4465         java/text/Format.java,
4466         javax/security/auth/x500/X500Principal.java,
4467         javax/security/auth/x500/X500PrivateCredential.java,
4468         javax/security/cert/X509CertBridge.java,
4469         javax/security/sasl/Sasl.java,
4470         javax/sql/XAConnection.java:
4471         Import cleanup.
4472
4473 2004-10-21  Michael Koch  <konqueror@gmx.de>
4474
4475         * javax/net/ssl/HandshakeCompletedEvent.java,
4476         javax/net/ssl/KeyManagerFactory.java,
4477         javax/net/ssl/SSLContext.java,
4478         javax/net/ssl/SSLServerSocketFactory.java,
4479         javax/net/ssl/SSLSession.java,
4480         javax/net/ssl/SSLSocketFactory.java,
4481         javax/net/ssl/TrustManagerFactory.java:
4482         Import cleanup.
4483
4484 2004-10-21  Michael Koch  <konqueror@gmx.de>
4485
4486         * javax/naming/directory/BasicAttribute.java,
4487         javax/naming/directory/BasicAttributes.java,
4488         javax/naming/directory/InitialDirContext.java,
4489         javax/naming/event/NamingEvent.java,
4490         javax/naming/ldap/ControlFactory.java,
4491         javax/naming/ldap/ExtendedRequest.java,
4492         javax/naming/ldap/InitialLdapContext.java,
4493         javax/naming/ldap/LdapReferralException.java,
4494         javax/naming/spi/DirObjectFactory.java,
4495         javax/naming/spi/DirStateFactory.java,
4496         javax/naming/spi/DirectoryManager.java,
4497         javax/naming/spi/InitialContextFactory.java,
4498         javax/naming/spi/InitialContextFactoryBuilder.java,
4499         javax/naming/spi/NamingManager.java,
4500         javax/naming/spi/ObjectFactory.java,
4501         javax/naming/spi/ObjectFactoryBuilder.java,
4502         javax/naming/spi/StateFactory.java:
4503         Import cleanup.
4504
4505 2004-10-21  Michael Koch  <konqueror@gmx.de>
4506
4507         * javax/crypto/Cipher.java,
4508         javax/crypto/EncryptedPrivateKeyInfo.java,
4509         javax/crypto/ExemptionMechanism.java,
4510         javax/crypto/KeyAgreement.java,
4511         javax/crypto/KeyGenerator.java,
4512         javax/crypto/Mac.java,
4513         javax/crypto/SecretKeyFactory.java,
4514         javax/crypto/SecretKeyFactorySpi.java,
4515         javax/crypto/spec/SecretKeySpec.java:
4516         Import cleanup.
4517
4518 2004-10-21  Michael Koch  <konqueror@gmx.de>
4519
4520         * java/security/AlgorithmParameterGenerator.java,
4521         java/security/AlgorithmParameters.java,
4522         java/security/AlgorithmParametersSpi.java,
4523         java/security/AllPermission.java,
4524         java/security/BasicPermission.java,
4525         java/security/Certificate.java,
4526         java/security/CodeSource.java,
4527         java/security/DigestInputStream.java,
4528         java/security/DigestOutputStream.java,
4529         java/security/GuardedObject.java,
4530         java/security/KeyFactory.java,
4531         java/security/KeyFactorySpi.java,
4532         java/security/KeyPairGenerator.java,
4533         java/security/KeyStore.java,
4534         java/security/KeyStoreSpi.java,
4535         java/security/Permissions.java,
4536         java/security/Security.java,
4537         java/security/Signature.java,
4538         java/security/UnresolvedPermission.java,
4539         java/security/cert/CertPathBuilder.java,
4540         java/security/cert/CertPathValidator.java,
4541         java/security/cert/CertStore.java,
4542         java/security/cert/Certificate.java,
4543         java/security/cert/CertificateFactory.java,
4544         java/security/cert/PolicyQualifierInfo.java,
4545         java/security/cert/TrustAnchor.java,
4546         java/security/cert/X509CRL.java,
4547         java/security/cert/X509CRLSelector.java,
4548         java/security/cert/X509CertSelector.java:
4549         Import cleanup.
4550
4551 2004-10-21  Michael Koch  <konqueror@gmx.de>
4552
4553         * java/rmi/MarshalledObject.java,
4554         java/rmi/Naming.java,
4555         java/rmi/activation/Activatable.java,
4556         java/rmi/activation/ActivationGroup.java,
4557         java/rmi/activation/ActivationGroupDesc.java,
4558         java/rmi/activation/ActivationInstantiator.java,
4559         java/rmi/activation/ActivationMonitor.java,
4560         java/rmi/activation/ActivationSystem.java,
4561         java/rmi/activation/Activator.java,
4562         java/rmi/registry/LocateRegistry.java,
4563         java/rmi/registry/Registry.java,
4564         java/rmi/server/LogStream.java,
4565         java/rmi/server/ObjID.java,
4566         java/rmi/server/RMIClientSocketFactory.java,
4567         java/rmi/server/RMIServerSocketFactory.java,
4568         java/rmi/server/RMISocketFactory.java,
4569         java/rmi/server/RemoteCall.java,
4570         java/rmi/server/RemoteServer.java,
4571         java/rmi/server/ServerRef.java,
4572         java/rmi/server/UID.java,
4573         java/rmi/server/UnicastRemoteObject.java:
4574         Import cleanup.
4575
4576 2004-10-21  Tom Tromey  <tromey@redhat.com>
4577
4578         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4579         exception if we hit EOF of `in'.
4580         (read): Handle case where inflating returns -1.
4581
4582 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
4583
4584         * gnu/java/nio/channels/natFileChannelPosix.cc
4585         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4586         argument instead of 'long *'.
4587
4588 2004-10-21  Tom Tromey  <tromey@redhat.com>
4589
4590         * java/util/ResourceBundle.java (tryBundle): Also ignore
4591         ClassCastException.
4592
4593 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
4594
4595         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4596         for all sh*-*-linux* targets.
4597         * configure: Regenerate.
4598         * include/sh-signal.h: New file.
4599
4600 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4601
4602         * java/lang/ieeefp.h: Add m32r support.
4603
4604 2004-10-20  Andreas Schwab  <schwab@suse.de>
4605
4606         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4607         to uaddr, not int.
4608         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4609         Likewise.
4610
4611 2004-10-20  Michael Koch  <konqueror@gmx.de>
4612
4613         * javax/print/attribute/standard/ColorSupported.java,
4614         javax/print/attribute/standard/Compression.java,
4615         javax/print/attribute/standard/Copies.java,
4616         javax/print/attribute/standard/CopiesSupported.java,
4617         javax/print/attribute/standard/DateTimeAtCompleted.java,
4618         javax/print/attribute/standard/DateTimeAtCreation.java,
4619         javax/print/attribute/standard/DateTimeAtProcessing.java,
4620         javax/print/attribute/standard/DocumentName.java,
4621         javax/print/attribute/standard/Fidelity.java,
4622         javax/print/attribute/standard/Finishings.java,
4623         javax/print/attribute/standard/JobHoldUntil.java,
4624         javax/print/attribute/standard/JobImpressions.java,
4625         javax/print/attribute/standard/JobImpressionsCompleted.java,
4626         javax/print/attribute/standard/JobImpressionsSupported.java,
4627         javax/print/attribute/standard/JobKOctets.java,
4628         javax/print/attribute/standard/JobKOctetsProcessed.java,
4629         javax/print/attribute/standard/JobKOctetsSupported.java,
4630         javax/print/attribute/standard/JobMediaSheets.java,
4631         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4632         javax/print/attribute/standard/JobMediaSheetsSupported.java,
4633         javax/print/attribute/standard/JobMessageFromOperator.java,
4634         javax/print/attribute/standard/JobName.java,
4635         javax/print/attribute/standard/JobOriginatingUserName.java,
4636         javax/print/attribute/standard/JobPriority.java,
4637         javax/print/attribute/standard/JobPrioritySupported.java,
4638         javax/print/attribute/standard/JobSheets.java,
4639         javax/print/attribute/standard/JobState.java,
4640         javax/print/attribute/standard/JobStateReason.java,
4641         javax/print/attribute/standard/JobStateReasons.java,
4642         javax/print/attribute/standard/Media.java,
4643         javax/print/attribute/standard/MultipleDocumentHandling.java,
4644         javax/print/attribute/standard/NumberOfDocuments.java,
4645         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4646         javax/print/attribute/standard/NumberUp.java,
4647         javax/print/attribute/standard/NumberUpSupported.java,
4648         javax/print/attribute/standard/OrientationRequested.java,
4649         javax/print/attribute/standard/OutputDeviceAssigned.java,
4650         javax/print/attribute/standard/PDLOverrideSupported.java,
4651         javax/print/attribute/standard/PageRanges.java,
4652         javax/print/attribute/standard/PagesPerMinute.java,
4653         javax/print/attribute/standard/PagesPerMinuteColor.java,
4654         javax/print/attribute/standard/PrintQuality.java,
4655         javax/print/attribute/standard/PrinterInfo.java,
4656         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4657         javax/print/attribute/standard/PrinterLocation.java,
4658         javax/print/attribute/standard/PrinterMakeAndModel.java,
4659         javax/print/attribute/standard/PrinterMessageFromOperator.java,
4660         javax/print/attribute/standard/PrinterMoreInfo.java,
4661         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4662         javax/print/attribute/standard/PrinterName.java,
4663         javax/print/attribute/standard/PrinterStateReason.java,
4664         javax/print/attribute/standard/PrinterStateReasons.java,
4665         javax/print/attribute/standard/PrinterURI.java,
4666         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4667         javax/print/attribute/standard/RequestingUserName.java:
4668         Reorganized imports and removed redundant final modifiers.
4669
4670 2004-10-20  Michael Koch  <konqueror@gmx.de>
4671
4672         * javax/security/sasl/SaslClient.java,
4673         javax/security/sasl/SaslClientFactory.java,
4674         javax/security/sasl/SaslException.java,
4675         javax/security/sasl/SaslServer.java,
4676         javax/security/sasl/SaslServerFactory.java:
4677         Remvoed CVS tags.
4678
4679 2004-10-20  Michael Koch  <konqueror@gmx.de>
4680
4681         * javax/security/auth/login/NullConfiguration.java,
4682         javax/security/auth/x500/X500Principal.java,
4683         javax/security/cert/X509Certificate.java,
4684         javax/security/sasl/AuthenticationException.java,
4685         javax/security/sasl/AuthorizeCallback.java,
4686         javax/security/sasl/RealmCallback.java,
4687         javax/security/sasl/RealmChoiceCallback.java,
4688         javax/security/sasl/Sasl.java,
4689         javax/security/sasl/SaslClient.java,
4690         javax/security/sasl/SaslClientFactory.java,
4691         javax/security/sasl/SaslException.java,
4692         javax/security/sasl/SaslServer.java,
4693         javax/security/sasl/SaslServerFactory.java:
4694         Cleaned up import statements and copyright notices.
4695
4696 2004-10-20  Michael Koch  <konqueror@gmx.de>
4697
4698         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4699
4700 2004-10-20  Michael Koch  <konqueror@gmx.de>
4701
4702         * java/sql/Timestamp.java,
4703         java/text/AttributedCharacterIterator.java,
4704         java/text/AttributedString.java,
4705         java/util/zip/CheckedOutputStream.java,
4706         java/util/zip/DeflaterOutputStream.java,
4707         java/util/zip/ZipFile.java,
4708         javax/crypto/Cipher.java,
4709         javax/crypto/ExemptionMechanismException.java,
4710         javax/crypto/SecretKey.java,
4711         javax/crypto/SecretKeyFactory.java,
4712         javax/naming/directory/ModificationItem.java,
4713         javax/naming/directory/SearchControls.java,
4714         javax/naming/event/NamingListener.java,
4715         javax/naming/ldap/Control.java,
4716         javax/naming/ldap/ExtendedResponse.java,
4717         javax/net/ssl/SSLSocketFactory.java:
4718         Reorganized imports and fixed copyright headers.
4719
4720 2004-10-20  Michael Koch  <konqueror@gmx.de>
4721
4722         * java/util/logging/ConsoleHandler.java,
4723         java/util/logging/ErrorManager.java,
4724         java/util/logging/FileHandler.java,
4725         java/util/logging/Filter.java,
4726         java/util/logging/Formatter.java,
4727         java/util/logging/Handler.java,
4728         java/util/logging/Level.java,
4729         java/util/logging/LogManager.java,
4730         java/util/logging/LogRecord.java,
4731         java/util/logging/Logger.java,
4732         java/util/logging/LoggingPermission.java,
4733         java/util/logging/MemoryHandler.java,
4734         java/util/logging/SimpleFormatter.java,
4735         java/util/logging/SocketHandler.java,
4736         java/util/logging/StreamHandler.java,
4737         java/util/logging/XMLFormatter.java:
4738         Standardized copyrigth header.
4739
4740 2004-10-20  Michael Koch  <konqueror@gmx.de>
4741
4742         * java/security/AlgorithmParameterGenerator.java,
4743         java/security/AlgorithmParameters.java,
4744         java/security/DigestInputStream.java,
4745         java/security/Identity.java,
4746         java/security/KeyFactory.java,
4747         java/security/KeyPairGenerator.java,
4748         java/security/KeyStore.java,
4749         java/security/MessageDigest.java,
4750         java/security/MessageDigestSpi.java,
4751         java/security/Policy.java,
4752         java/security/SecureRandom.java,
4753         java/security/Security.java,
4754         java/security/Signature.java,
4755         java/security/SignatureSpi.java,
4756         java/security/cert/CertPathBuilder.java,
4757         java/security/cert/CertPathValidator.java,
4758         java/security/cert/CertStore.java,
4759         java/security/cert/Certificate.java,
4760         java/security/cert/CertificateFactory.java,
4761         java/security/cert/PolicyQualifierInfo.java,
4762         java/security/cert/TrustAnchor.java,
4763         java/security/cert/X509CRL.java,
4764         java/security/cert/X509CRLEntry.java,
4765         java/security/cert/X509Certificate.java,
4766         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4767         Import statements reorganized, some little formatting issues,
4768         used java-style array declarations, added comments in empty catch
4769         blocks.
4770
4771 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4772
4773         * java/security/Security.java
4774         (static): Use AccessController.doPrivileged to get system property.
4775
4776 2004-10-18  Sven de Marothy  <sven@physto.se>
4777
4778         * java/nio/ByteBufferHelper.java
4779         (putDouble): Use Double.toRawLongBits instead.
4780
4781 2004-10-18  Mark Wielaard  <mark@klomp.org>
4782         Andrew Haley  <aph@redhat.com>
4783
4784         * testsuite/libjava.lang/ExtraClassLoader.java: New.
4785
4786 2004-10-18  Andrew Haley  <aph@redhat.com>
4787
4788         PR java/18036:
4789         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4790         and correct logic used to find interpreter.
4791
4792 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4793
4794         * java/util/logging/LogManager.java
4795         (findAncestor): Fixed IndexOutOfBoundsException.
4796
4797 2004-10-18  Michael Koch  <konqueror@gmx.de>
4798
4799         * java/io/BufferedInputStream.java: Fixed @author tag.
4800         (read): Simplified expression.
4801         (read): Merged javadoc a bit more.
4802         (read): Renamed 'remain' to 'totalBytesRead'.
4803         * java/io/DataInputStream.java,
4804         java/io/DataOutputStream.java,
4805         java/io/ObjectInputStream.java,
4806         java/io/ObjectOutputStream.java:
4807         Reworked modifier order.
4808
4809 2004-10-18  Michael Koch  <konqueror@gmx.de>
4810
4811         * java/net/Inet4Address.java: Merged file header and javadocs.
4812         * java/net/Inet6Address.java: Likewise.
4813         * java/net/InetAddress.java
4814         (getCanonicalHostName): Create Inet4Address object instead of
4815         InetAddress and add comment regarding IPv6.
4816         (toString): Simplified.
4817
4818 2004-10-18  Michael Koch  <konqueror@gmx.de>
4819
4820         * gnu/java/net/protocol/http/Connection.java,
4821         java/nio/MappedByteBufferImpl.java,
4822         java/text/RuleBasedCollator.java,
4823         java/util/ResourceBundle.java:
4824         Reworked import statements.
4825
4826 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4827
4828         * java/security/IdentityScope.java
4829         (systemScope): Removed useless initializer.
4830         * java/security/Policy.java
4831         (currentPolicy): Likewise.
4832
4833 2004-10-18  Michael Koch  <konqueror@gmx.de>
4834
4835         * java/lang/System.java: Revert accidential change.
4836
4837 2004-10-18  Michael Koch  <konqueror@gmx.de>
4838
4839         * java/lang/Math.java,
4840         java/lang/Package.java,
4841         java/lang/Runtime.java,
4842         java/lang/StrictMath.java,
4843         java/lang/System.java,
4844         java/lang/Thread.java,
4845         java/lang/ThreadLocal.java,
4846         java/lang/Void.java:
4847         Reworked import statements, HTML in javadocs and modifier orders.
4848
4849 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4850
4851         * java/util/Timer.java
4852         (nr): Removed useless initializer.
4853         * java/util/logging/LogRecord.java
4854         (lastSeqNum): Likewise.
4855         * javax/naming/spi/NamingManager.java
4856         (icfb, ofb): Likewise.
4857
4858 2004-10-18  Michael Koch  <konqueror@gmx.de>
4859
4860         * gnu/java/net/PlainDatagramSocketImpl.java:
4861         Reworked import statements.
4862         * gnu/java/security/provider/DSAParameters.java:
4863         Fixed copyrigth years.
4864         * java/net/JarURLConnection.java:
4865         Fixed HTML in @author tags.
4866
4867
4868 2004-10-18  Michael Koch  <konqueror@gmx.de>
4869
4870         * java/rmi/activation/ActivationSystem.java
4871         (SYSTEM_PORT): Initialize with correct port number.
4872
4873 2004-10-18  Michael Koch  <konqueror@gmx.de>
4874
4875         * java/lang/reflect/Proxy.java: Improved javadocs.
4876
4877 2004-10-18  Michael Koch  <konqueror@gmx.de>
4878
4879         * java/lang/reflect/AccessibleObject.java
4880         (checkPermission): Removed redundant final modifier.
4881         (secureSetAccessible): Likewise.
4882         * java/lang/reflect/Proxy.java:
4883         Reworked import statements.
4884         (generate): Removed redundant final modifier.
4885         * java/lang/reflect/ReflectPermission.java:
4886         Reorder package declaration and import statement.
4887
4888 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4889
4890         * java/lang/reflect/Proxy.java
4891         (count): Removed useless initializer.
4892
4893 2004-10-17  Michael Koch  <konqueror@gmx.de>
4894
4895         * java/net/BindException.java,
4896         java/net/ConnectException.java,
4897         java/net/ContentHandler.java,
4898         java/net/ContentHandlerFactory.java,
4899         java/net/DatagramPacket.java,
4900         java/net/DatagramSocket.java,
4901         java/net/DatagramSocketImpl.java,
4902         java/net/DatagramSocketImplFactory.java,
4903         java/net/FileNameMap.java,
4904         java/net/HttpURLConnection.java,
4905         java/net/MalformedURLException.java,
4906         java/net/MulticastSocket.java,
4907         java/net/NetworkInterface.java,
4908         java/net/NoRouteToHostException.java,
4909         java/net/PasswordAuthentication.java,
4910         java/net/PortUnreachableException.java,
4911         java/net/ProtocolException.java,
4912         java/net/ServerSocket.java,
4913         java/net/Socket.java,
4914         java/net/SocketException.java,
4915         java/net/SocketImpl.java,
4916         java/net/SocketImplFactory.java,
4917         java/net/SocketOptions.java,
4918         java/net/SocketPermission.java,
4919         java/net/SocketTimeoutException.java,
4920         java/net/URI.java,
4921         java/net/URISyntaxException.java,
4922         java/net/URL.java,
4923         java/net/URLDecoder.java,
4924         java/net/URLEncoder.java,
4925         java/net/URLStreamHandler.java,
4926         java/net/URLStreamHandlerFactory.java,
4927         java/net/UnknownHostException.java,
4928         java/net/UnknownServiceException.java:
4929         Big import statement and @author tag cleanup.
4930
4931 2004-10-17  Michael Koch  <konqueror@gmx.de>
4932
4933         * gnu/java/security/OID.java,
4934         gnu/java/security/provider/DSAParameters.java,
4935         gnu/java/security/provider/DSASignature.java,
4936         gnu/java/security/x509/X500DistinguishedName.java,
4937         gnu/java/security/x509/X509CRL.java:
4938         Import statements cleaned up.
4939
4940 2004-10-16  Michael Koch  <konqueror@gmx.de>
4941
4942         * gnu/java/nio/NIODatagramSocket.java,
4943         gnu/java/nio/ServerSocketChannelImpl.java:
4944         Reorganized import statements.
4945
4946 2004-10-16  Michael Koch  <konqueror@gmx.de>
4947
4948         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4949         gnu/java/rmi/rmic/RMIC.java,
4950         gnu/java/rmi/server/RMIHashes.java,
4951         gnu/java/rmi/server/RMIObjectInputStream.java,
4952         gnu/java/rmi/server/RMIObjectOutputStream.java,
4953         gnu/java/rmi/server/UnicastConnection.java,
4954         gnu/java/rmi/server/UnicastConnectionManager.java,
4955         gnu/java/rmi/server/UnicastRemoteCall.java,
4956         gnu/java/rmi/server/UnicastServer.java,
4957         gnu/java/rmi/server/UnicastServerRef.java,
4958         java/rmi/MarshalledObject.java,
4959         java/rmi/Naming.java,
4960         java/rmi/RMISecurityManager.java,
4961         java/rmi/Remote.java,
4962         java/rmi/activation/Activatable.java,
4963         java/rmi/activation/ActivationDesc.java,
4964         java/rmi/activation/ActivationGroup.java,
4965         java/rmi/activation/ActivationGroupDesc.java,
4966         java/rmi/activation/ActivationGroupID.java,
4967         java/rmi/activation/ActivationID.java,
4968         java/rmi/activation/ActivationInstantiator.java,
4969         java/rmi/activation/ActivationMonitor.java,
4970         java/rmi/activation/ActivationSystem.java,
4971         java/rmi/activation/Activator.java,
4972         java/rmi/dgc/DGC.java,
4973         java/rmi/dgc/Lease.java,
4974         java/rmi/dgc/VMID.java,
4975         java/rmi/registry/LocateRegistry.java,
4976         java/rmi/registry/Registry.java,
4977         java/rmi/registry/RegistryHandler.java,
4978         java/rmi/server/LoaderHandler.java,
4979         java/rmi/server/LogStream.java,
4980         java/rmi/server/ObjID.java,
4981         java/rmi/server/Operation.java,
4982         java/rmi/server/RMIClassLoader.java,
4983         java/rmi/server/RMIClassLoaderSpi.java,
4984         java/rmi/server/RMIClientSocketFactory.java,
4985         java/rmi/server/RMIFailureHandler.java,
4986         java/rmi/server/RMIServerSocketFactory.java,
4987         java/rmi/server/RMISocketFactory.java,
4988         java/rmi/server/RemoteCall.java,
4989         java/rmi/server/RemoteObject.java,
4990         java/rmi/server/RemoteRef.java,
4991         java/rmi/server/RemoteServer.java,
4992         java/rmi/server/RemoteStub.java,
4993         java/rmi/server/ServerRef.java,
4994         java/rmi/server/Skeleton.java,
4995         java/rmi/server/SkeletonMismatchException.java,
4996         java/rmi/server/UID.java,
4997         java/rmi/server/UnicastRemoteObject.java,
4998         java/rmi/server/Unreferenced.java:
4999         File headers and import statements cleaned up.
5000
5001 2004-10-16  Michael Koch  <konqueror@gmx.de>
5002
5003         * libjava/gnu/java/nio/charset/UTF_16.java,
5004         libjava/gnu/java/nio/charset/UTF_16BE.java,
5005         libjava/gnu/java/nio/charset/UTF_16LE.java,
5006         libjava/java/nio/ByteOrder.java,
5007         libjava/java/nio/MappedByteBuffer.java,
5008         libjava/java/nio/channels/Channels.java,
5009         libjava/java/nio/channels/spi/SelectorProvider.java,
5010         libjava/java/nio/charset/Charset.java:
5011         Cleanup.
5012
5013 2004-10-16  Michael Koch  <konqueror@gmx.de>
5014
5015         * gnu/java/nio/charset/UTF_16Encoder.java
5016         (UTF_16Encoder): Fixed maxBytesPerChar handling.
5017
5018 2004-10-16  Michael Koch  <konqueror@gmx.de>
5019
5020         * java/math/BigDecimal.java, java/math/BigInteger.java:
5021         Reorganized import statements, removed redundant and
5022         reorganized modifiers.
5023
5024 2004-10-16  Michael Koch  <konqueror@gmx.de>
5025
5026         * gnu/java/beans/ExplicitBeanInfo.java:
5027         Explicitely import java.awt.Image.
5028         (getIcon): Fixed off-by-one error.
5029
5030 2004-10-15  Andrew Haley  <aph@redhat.com>
5031
5032         * Makefile.am (nat_files, xlib_nat_files): New.
5033         * Makefile.in: Regenerate.
5034
5035 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
5036
5037         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
5038         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
5039
5040 2004-10-13  Andrew Haley  <aph@redhat.com>
5041
5042         * interpret.cc (_Jv_InterpMethod::run): Initialize
5043         _Jv_StartOfInterpreter.
5044         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
5045         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
5046         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
5047         _Unwind_FindEnclosingFunction to discover whether PC is within the
5048         interpreter.
5049
5050 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
5051
5052         PR libgcj/17903:
5053         * testsuite/libjava.lang/md5test.java: New file.
5054         * testsuite/libjava.lang/md5test.out: Likewise.
5055         * testsuite/libjava.lang/shatest.java: Likewise.
5056         * testsuite/libjava.lang/shatest.out: Likewise.
5057
5058 2004-10-11  Richard Henderson  <rth@redhat.com>
5059
5060         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
5061         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
5062
5063 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
5064
5065         * java/util/Calendar.java (set): Invalidate DST_OFFSET
5066         field as a DST boundary may have been crossed.
5067         * java/util/GregorianCalendar.java (add): Throw
5068         IllegalArgumentException on attempt to add to DST_OFFSET or
5069         ZONE_OFFSET fields. Update javadoc.
5070
5071 2004-10-09  Michael Koch  <konqueror@gmx.de>
5072
5073         * java/io/CharArrayWriter.java
5074         (resize): Removed redundant 'final' modifier.
5075         * java/io/DataInputStream.java
5076         (readFully): Throw IndexOutOfBoundsException of len < 0.
5077         * java/io/FileDescriptor.java,
5078         java/io/FileInputStream.java,
5079         java/io/FileOutputStream.java,
5080         java/io/ObjectOutputStream.java,
5081         java/io/ObjectStreamClass.java,
5082         java/io/PipedInputStream.java,
5083         java/io/RandomAccessFile.java:
5084         Reorganized import statements.
5085
5086 2004-10-09  Michael Koch  <konqueror@gmx.de>
5087
5088         * gnu/java/rmi/rmic/RMIC.java,
5089         gnu/java/rmi/server/RMIHashes.java,
5090         gnu/java/rmi/server/RMIObjectInputStream.java,
5091         gnu/java/rmi/server/UnicastConnection.java,
5092         gnu/java/rmi/server/UnicastConnectionManager.java,
5093         gnu/java/rmi/server/UnicastRemoteCall.java,
5094         gnu/java/rmi/server/UnicastServerRef.java:
5095         Reworked import statements and fixed file headers.
5096
5097 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
5098
5099         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
5100         emission rule.
5101         * configure: Rebuilt.
5102
5103 2004-09-30  Tom Tromey  <tromey@redhat.com>
5104
5105         * java/text/MessageFormat.java (Field): Constructor now
5106         protected.
5107
5108 2004-09-30  Tom Tromey  <tromey@redhat.com>
5109
5110         * javax/crypto/MacSpi.java: Fixed typo.
5111
5112 2004-09-30  Michael Koch  <konqueror@gmx.de>
5113
5114         * java/net/InetAddress.java: Reformatted.
5115         (loopback): Initialize with Inet4Address object.
5116         (static): Initialize ANY_IF with Inet4Address object.
5117         (InetAddress): Removed unused package-private constructor.
5118
5119 2004-09-30  Michael Koch  <konqueror@gmx.de>
5120
5121         * java/beans/Beans.java,
5122         java/beans/EventHandler.java,
5123         java/beans/EventSetDescriptor.java,
5124         java/beans/Introspector.java,
5125         java/beans/PropertyEditorManager.java,
5126         java/beans/beancontext/BeanContext.java,
5127         java/beans/beancontext/BeanContextChild.java,
5128         java/beans/beancontext/BeanContextChildSupport.java,
5129         java/beans/beancontext/BeanContextMembershipEvent.java:
5130         Reordered import statements and removed redundant modifiers.
5131
5132 2004-09-29  Tom Tromey  <tromey@redhat.com>
5133
5134         PR libgcj/17715:
5135         * Makefile.in: Rebuilt.
5136         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
5137         files.
5138         (all_property_files): New macro.
5139
5140         * Makefile.in: Rebuilt.
5141         * Makefile.am (ordinary_java_source_files): Re-sorted.
5142         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
5143
5144 2004-09-28  Tom Tromey  <tromey@redhat.com>
5145
5146         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
5147
5148         PR libgcj/17222:
5149         * Makefile.am (libgcj.la): Restored.
5150         * Makefile.in: Rebuilt.
5151
5152 2004-09-28  Michael Koch  <konqueror@gmx.de>
5153
5154         * java/net/URLConnection.java: Reformatted.
5155         * java/net/URLClassLoader.java: Reformatted.
5156         (getContent): Reordered return of content.
5157         (getContentHandler): Don't check for null explicitely.
5158
5159 2004-09-27  Michael Koch  <konqueror@gmx.de>
5160
5161         * java/io/BufferedInputStream.java
5162         (BufferedInputStream): Added Jeroen Frijters to authors.
5163         (count): Don't explicitely initialize with default value.
5164         (pos): Likewise.
5165         (marklimit): Likewise.
5166         (read): Changed boolean expression to match GNU classpath' version.
5167         (reset): Add proper message to exception.
5168         (skip): Check for closed stream.
5169         (refill): Likewise.
5170
5171 2004-09-26  Per Bothner  <per@bothner.com>
5172
5173         * prims.cc (unblock_signal): Annotate signum with __unused__ to
5174         avoid warnings in the non-POSIX_VERSION case.
5175         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
5176         so place it inside an #if block.
5177         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
5178         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
5179         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
5180         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
5181
5182 2004-09-26  Per Bothner  <per@bothner.com>
5183
5184         * prims.cc (process_gcj_properties):  Optimization.
5185
5186 2004-09-26  Per Bothner  <per@bothner.com>
5187
5188         * java/util/Collections.java (sort):  Copy from array in forwards
5189         order, rather than reverse order which may be much less efficient.
5190
5191 2004-09-26  Mark Wielaard  <mark@klomp.org>
5192
5193         * java/lang/System.java (properties): Make package private.
5194         * java/lang/Throwable.java (StaticData.nl): Initialize through
5195         directly accessing System.properties.getProperty().
5196
5197         * java/lang/Throwable.java (nl): Remove static field.
5198         (StaticData): New private static inner class.
5199         (stackTraceStringBuffer): Use StaticData.nl.
5200
5201 2004-09-26  Casey Marshall <csm@gnu.org>
5202
5203         * java/security/ProtectionDomain.java
5204         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
5205         `true'.
5206
5207         * java/security/SecureClassLoader.java
5208         (defineClass): make protection domain dynamically bound.
5209         (getPermissions): call `getCurrentPolicy' to avoid permission
5210         check.
5211
5212 2004-09-25  Mark Wielaard  <mark@klomp.org>
5213
5214         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
5215         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
5216         * Makefile.in: Regenerated.
5217
5218         * gcj/javaprims.h: Regenerated.
5219
5220         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
5221         (getDefaultTimeZone): Make package private. Check that GMToffset
5222         contains at least one digit.
5223         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
5224         VMTimeZone.
5225         * util/VMTimeZone.java: New file with above methods.
5226
5227         * java/util/natTimeZone.cc: Removed (renamed).
5228         * java/util/natVMTimeZone.cc: Added (renamed).
5229
5230 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
5231
5232         * java/util/TimeZone.java
5233         (getDefaultTimeZone): Fixed test to distinguish between hours and
5234         minutes in specified timezone.
5235
5236 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
5237
5238         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
5239         handling of default package. (generate): Removed confused comments
5240         and code about making Method and Field accessible.
5241
5242 2004-09-25  Tom Tromey  <tromey@redhat.com>
5243
5244         PR java/17500:
5245         * testsuite/libjava.compile/pr17500.java: New file.
5246
5247 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
5248             Mark Wielaard  <mark@klomp.org>
5249
5250         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5251         * gnu/regexp/RETokenLookAhead.java: New file.
5252
5253         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5254         * Makefile.in: Regenerated.
5255
5256 2004-09-25  Michael Koch  <konqueror@gmx.de>
5257
5258         * java/io/ObjectStreamField.java:
5259         Removed unused import statement.
5260
5261 2004-09-24  Tom Tromey  <tromey@redhat.com>
5262
5263         PR java/15656:
5264         * testsuite/libjava.compile/pr15656.xfail: New file.
5265         * testsuite/libjava.compile/pr15656.java: new file.
5266
5267         PR java/16789:
5268         * testsuite/libjava.lang/pr16789.out: New file.
5269         * testsuite/libjava.lang/pr16789.java: New file.
5270
5271 2004-09-24  Andrew Haley  <aph@redhat.com>
5272
5273         PR java/16927
5274         * testsuite/libjava.compile/AssertBug.java: New file.
5275
5276 2004-09-24  Casey Marshall <csm@gnu.org>
5277
5278         * java/util/PropertyPermissionCollection.java
5279         (implies): avoid infinite loop.
5280
5281 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5282
5283         * javax/security/auth/PrivateCredentialPermission.java
5284         (PrivateCredentialPermission): added serialization UID
5285
5286
5287 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
5288
5289         * gnu/java/rmi/server/UnicastServer.java
5290         (incomingMessageCall): Added code to handle Errors.
5291         * gnu/java/rmi/server/UnicastServerRef.java
5292         (incomingMessageCall): Added code to handle Errors.
5293
5294
5295 2004-09-24  Tom Tromey  <tromey@redhat.com>
5296
5297         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5298         (definedPackages): Likewise.
5299
5300 2004-09-24  Michael Koch  <konqueror@gmx.de>
5301
5302         * java/io/ObjectInputStream.java:
5303         Re-ordered imports.
5304
5305 2004-09-24  Casey Marshall <csm@gnu.org>
5306
5307         * java/io/ObjectInputStream.java (callReadMethod): re-throw
5308         `ClassNotFoundException'.
5309
5310 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5311
5312         * java/io/ObjectInputStream.java (readObject): Delegate instantation
5313         of Externalizable classes to ObjectStreamClass.
5314         * java/io/ObjectStreamClass.java (newInstance): New method to
5315         instantiate Externalizable (while ignoring the accessibility of
5316         the constructor). (constructor): New field to cache the constructor.
5317
5318 2004-09-24  Mark Wielaard  <mark@klomp.org>
5319
5320         * java/net/URL.java (systemClassLoader): New static field.
5321         (getURLStreamHandler): Always use system/application classloader
5322         for finding URLStreamhandler. Remove unecessary instanceof checks.
5323
5324 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
5325
5326         * java/net/URL.java
5327         (set): This method now matches the behaviour of the JDK.
5328         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5329
5330 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
5331
5332         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5333
5334 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5335
5336         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5337         Don't set authority if host isn't specified.
5338
5339 2004-09-24  Michael Koch  <konqueror@gmx.de>
5340
5341         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5342         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5343         * gnu/java/nio/VMPipe.java,
5344         gnu/java/nio/VMSelector.java:
5345         New files.
5346         * gnu/java/nio/natPipeImplEcos.cc,
5347         gnu/java/nio/natPipeImplPosix.cc,
5348         gnu/java/nio/natPipeImplWin32.cc:
5349         Ported to VMPipe.
5350         * gnu/java/nio/natSelectorImplEcos.cc,
5351         gnu/java/nio/natSelectorImplPosix.cc,
5352         gnu/java/nio/natSelectorImplWin32.cc:
5353         Ported to VMSelector.
5354         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5355         gnu/java/nio/VMSelector.java.
5356         * Makefile.in: Regenerated.
5357
5358 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5359
5360         * java/lang/StackTraceElement.java
5361         (className): Renamed field to declaringClass to be compatible
5362         with Sun serialization format.
5363
5364 2004-09-23  Michael Koch  <konqueror@gmx.de>
5365
5366         * java/applet/AppletContext.java,
5367         java/applet/Applet.java,
5368         java/applet/AppletStub.java,
5369         java/applet/AudioClip.java:
5370         Jalopied and checkstyle clean.
5371
5372         * javax/swing/JCheckBox.java: Reformated.
5373         (JCheckBox): Fixed all constructors.
5374         (isBorderPaintedFlat): New method.
5375         (setBorderPaintedFlat): New method.
5376         * javax/swing/JEditorPane.java
5377         (createEditorKitForContentType): Made public.
5378         (scrollToReference): Likewise.
5379         * javax/swing/JTextArea.java
5380         (setLineWrap): Fire property change.
5381         * javax/swing/JToggleButton.java
5382         (JToggleButton): New constructor.
5383         (JToggleButton): Simplified.
5384         * javax/swing/text/AttributeSet.java
5385         (FontAttribute): Renamed from FontCharacterAttribute.
5386         * javax/swing/text/JTextComponent.java
5387         (KeyBinBinding): Added javadoc.
5388         (JTextComponent): Likewise.
5389         (getAccessibleContext): Fixed javadoc.
5390         * javax/swing/text/View.java
5391         (View): Added javadoc.
5392         * javax/swing/text/TabableView.java: New file.
5393         * Makefile.am: Added javax/swing/text/TabableView.java.
5394         * Makefile.in: Regenerated.
5395 2004-09-23  Mark Wielaard  <mark@klomp.org>
5396
5397         * java/util/Collections.java
5398         (binarySearch(List, Object, Comparator)): Explicitly
5399         reverse direction in list iterator.
5400         (rotate): Just return when list is empty.
5401
5402 2004-09-23  Tom Tromey  <tromey@redhat.com>
5403
5404         PR java/17329:
5405         * testsuite/libjava.compile/pr17329.java: New file.
5406
5407         PR java/17380:
5408         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5409         9.2-implicit-7.
5410
5411 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5412
5413         * Makefile.am: Run aclocal with -I ../config
5414         * acinclude.m4: Delete macros picked up from ../config and tidy.
5415         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5416         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5417         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5418
5419 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5420
5421         * aclocal.m4: Regenerate with aclocal 1.9.2.
5422         * configure: Regenerate.
5423         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5424         * include/Makefile.in, testsuite/Makefile.in: Likewise.
5425
5426 2004-09-22  David Daney  <ddaney@avtrex.com>
5427
5428         PR libgcj/17623
5429         * java/net/URL.java (URL): Copy userInfo from context.
5430         (getUserInfo): Return cached userInfo if present.
5431
5432 2004-09-22  Tom Tromey  <tromey@redhat.com>
5433
5434         PR libgcj/6182:
5435         * mauve-libgcj: Enable java.lang.Character tests.
5436
5437 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5438
5439         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5440         dependencies.
5441         (lib_org_ietf_jgss_la_LIBADD): Likewise.
5442         * Makefile.in: Regenerated.
5443
5444 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5445
5446         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5447         * configure: Regenerate.
5448         * include/config.h.in: Likewise.
5449         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5451         macro to gtkpeer.h.
5452         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5453         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5454         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5455         architectures.
5456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5457         Likewise.
5458
5459 2004-09-22  Tom Tromey  <tromey@redhat.com>
5460
5461         PR libgcj/14446:
5462         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5463         when comparing CRCs.
5464         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5465         field.
5466         (read()): New overload.
5467
5468 2004-09-21  Tom Tromey  <tromey@redhat.com>
5469
5470         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5471         Indentation fix.
5472
5473 2004-09-21  Michael Koch  <konqueror@gmx.de>
5474
5475         * java/net/Socket.java
5476         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5477
5478 2004-09-21  Casey Marshall  <csm@gnu.org>
5479
5480         * javax/crypto/MacSpi.java (clone): Provide meaningful
5481         implementation.
5482
5483 2004-09-21  Tom Tromey  <tromey@redhat.com>
5484
5485         PR libgcj/16869:
5486         * Makefile.in: Rebuilt.
5487         * Makefile.am (MOSTLYCLEANFILES): Removed.
5488         (mostlyclean-local): Remove header files.
5489
5490 2004-09-21  Casey Marshall  <csm@gnu.org>
5491
5492         * java/security/cert/X509CRLSelector.java:
5493         (match): remove unreachable try-catch clauses.
5494         Reported by: Dalibor Topic <robilad@kaffe.org>
5495
5496 2004-09-21  Mark Wielaard  <mark@klomp.org>
5497
5498         * java/util/TreeMap.java (root): Don't initialize.
5499         (TreeMap(Comparator)): Call fabricateTree(0).
5500         (fabricateTree): Initialize root and size when count is 0.
5501
5502 2004-09-21  Sven de Marothy <sven@physto.se>
5503
5504         * java/nio/ByteBuffer.java (hashCode): Implemented.
5505         * java/nio/CharBuffer.java: Likewise.
5506         * java/nio/DoubleBuffer.java: Likewise.
5507         * java/nio/FloatBuffer.java: Likewise.
5508         * java/nio/LongBuffer.java: Likewise.
5509         * java/nio/IntBuffer.java: Likewise.
5510         * java/nio/ShortBuffer.java: Likewise.
5511
5512 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5513
5514         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5515
5516 2004-09-21  Michael Koch  <konqueror@gmx.de>
5517
5518         * javax/net/ssl/SSLServerSocket.java:
5519         Removed comment about "Do not edit this file, it's generated.".
5520
5521 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5522
5523         Import the big Crypto/Jessie/Security merge from Classpath.
5524
5525         * Makefile.am: Add imported files.
5526         * Makefile.in: Regenerate.
5527
5528         2004-08-14  Casey Marshall <csm@gnu.org>
5529
5530         The Big Crypto Merge of 2004.
5531
5532         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5533         Crypto's version.
5534
5535         Files imported from GNU Crypto.
5536         * javax/crypto/BadPaddingException.java
5537         * javax/crypto/Cipher.java
5538         * javax/crypto/CipherInputStream.java
5539         * javax/crypto/CipherOutputStream.java
5540         * javax/crypto/CipherSpi.java
5541         * javax/crypto/EncryptedPrivateKeyInfo.java
5542         * javax/crypto/ExemptionMechanism.java
5543         * javax/crypto/ExemptionMechanismException.java
5544         * javax/crypto/ExemptionMechanismSpi.java
5545         * javax/crypto/IllegalBlockSizeException.java
5546         * javax/crypto/KeyAgreement.java
5547         * javax/crypto/KeyAgreementSpi.java
5548         * javax/crypto/KeyGenerator.java
5549         * javax/crypto/KeyGeneratorSpi.java
5550         * javax/crypto/Mac.java
5551         * javax/crypto/MacSpi.java
5552         * javax/crypto/Makefile.am
5553         * javax/crypto/NoSuchPaddingException.java
5554         * javax/crypto/NullCipher.java
5555         * javax/crypto/NullCipherImpl.java
5556         * javax/crypto/SealedObject.java
5557         * javax/crypto/SecretKey.java
5558         * javax/crypto/SecretKeyFactory.java
5559         * javax/crypto/SecretKeyFactorySpi.java
5560         * javax/crypto/ShortBufferException.java
5561         * javax/crypto/interfaces/DHKey.java
5562         * javax/crypto/interfaces/DHPrivateKey.java
5563         * javax/crypto/interfaces/DHPublicKey.java
5564         * javax/crypto/interfaces/PBEKey.java
5565         * javax/crypto/spec/DESKeySpec.java
5566         * javax/crypto/spec/DESedeKeySpec.java
5567         * javax/crypto/spec/DHGenParameterSpec.java
5568         * javax/crypto/spec/DHParameterSpec.java
5569         * javax/crypto/spec/DHPrivateKeySpec.java
5570         * javax/crypto/spec/DHPublicKeySpec.java
5571         * javax/crypto/spec/IvParameterSpec.java
5572         * javax/crypto/spec/PBEKeySpec.java
5573         * javax/crypto/spec/PBEParameterSpec.java
5574         * javax/crypto/spec/RC2ParameterSpec.java
5575         * javax/crypto/spec/RC5ParameterSpec.java
5576         * javax/crypto/spec/SecretKeySpec.java
5577         * javax/security/auth/AuthPermission.java
5578         * javax/security/auth/DestroyFailedException.java
5579         * javax/security/auth/Destroyable.java
5580         * javax/security/auth/Policy.java
5581         * javax/security/auth/PrivateCredentialPermission.java
5582         * javax/security/auth/RefreshFailedException.java
5583         * javax/security/auth/Refreshable.java
5584         * javax/security/auth/Subject.java
5585         * javax/security/auth/SubjectDomainCombiner.java
5586         * javax/security/auth/callback/Callback.java
5587         * javax/security/auth/callback/CallbackHandler.java
5588         * javax/security/auth/callback/ChoiceCallback.java
5589         * javax/security/auth/callback/ConfirmationCallback.java
5590         * javax/security/auth/callback/LanguageCallback.java
5591         * javax/security/auth/callback/NameCallback.java
5592         * javax/security/auth/callback/PasswordCallback.java
5593         * javax/security/auth/callback/TextInputCallback.java
5594         * javax/security/auth/callback/TextOutputCallback.java
5595         * javax/security/auth/callback/UnsupportedCallbackException.java
5596         * javax/security/auth/login/AccountExpiredException.java
5597         * javax/security/auth/login/AppConfigurationEntry.java
5598         * javax/security/auth/login/Configuration.java
5599         * javax/security/auth/login/CredentialExpiredException.java
5600         * javax/security/auth/login/FailedLoginException.java
5601         * javax/security/auth/login/LoginContext.java
5602         * javax/security/auth/login/LoginException.java
5603         * javax/security/auth/login/NullConfiguration.java
5604         * javax/security/auth/x500/X500PrivateCredential.java
5605         * javax/security/sasl/AuthenticationException.java
5606         * javax/security/sasl/AuthorizeCallback.java
5607         * javax/security/sasl/RealmCallback.java
5608         * javax/security/sasl/RealmChoiceCallback.java
5609         * javax/security/sasl/Sasl.java
5610         * javax/security/sasl/SaslClient.java
5611         * javax/security/sasl/SaslClientFactory.java
5612         * javax/security/sasl/SaslException.java
5613         * javax/security/sasl/SaslServer.java
5614         * javax/security/sasl/SaslServerFactory.java
5615         * org/ietf/jgss/ChannelBinding.java
5616         * org/ietf/jgss/GSSContext.java
5617         * org/ietf/jgss/GSSCredential.java
5618         * org/ietf/jgss/GSSException.java
5619         * org/ietf/jgss/GSSManager.java
5620         * org/ietf/jgss/GSSName.java
5621         * org/ietf/jgss/MessageProp.java
5622         * org/ietf/jgss/Oid.java
5623         * org/ietf/jgss/MessagesBundle.properties
5624
5625         Files imported from Jessie <http://www.nongnu.org/jessie/>
5626         * javax/net/ServerSocketFactory.java
5627         * javax/net/SocketFactory.java
5628         * javax/net/VanillaServerSocketFactory.java
5629         * javax/net/VanillaSocketFactory.java
5630         * javax/net/ssl/HandshakeCompletedEvent.java
5631         * javax/net/ssl/HandshakeCompletedListener.java
5632         * javax/net/ssl/HostnameVerifier.java
5633         * javax/net/ssl/HttpsURLConnection.java
5634         * javax/net/ssl/KeyManager.java
5635         * javax/net/ssl/KeyManagerFactory.java
5636         * javax/net/ssl/KeyManagerFactorySpi.java
5637         * javax/net/ssl/ManagerFactoryParameters.java
5638         * javax/net/ssl/SSLContext.java
5639         * javax/net/ssl/SSLContextSpi.java
5640         * javax/net/ssl/SSLException.java
5641         * javax/net/ssl/SSLHandshakeException.java
5642         * javax/net/ssl/SSLKeyException.java
5643         * javax/net/ssl/SSLPeerUnverifiedException.java
5644         * javax/net/ssl/SSLPermission.java
5645         * javax/net/ssl/SSLProtocolException.java
5646         * javax/net/ssl/SSLServerSocket.java
5647         * javax/net/ssl/SSLServerSocketFactory.java
5648         * javax/net/ssl/SSLSession.java
5649         * javax/net/ssl/SSLSessionBindingEvent.java
5650         * javax/net/ssl/SSLSessionBindingListener.java
5651         * javax/net/ssl/SSLSessionContext.java
5652         * javax/net/ssl/SSLSocket.java
5653         * javax/net/ssl/SSLSocketFactory.java
5654         * javax/net/ssl/TrivialHostnameVerifier.java
5655         * javax/net/ssl/TrustManager.java
5656         * javax/net/ssl/TrustManagerFactory.java
5657         * javax/net/ssl/TrustManagerFactorySpi.java
5658         * javax/net/ssl/X509KeyManager.java
5659         * javax/net/ssl/X509TrustManager.java
5660         * javax/security/cert/Certificate.java
5661         * javax/security/cert/CertificateEncodingException.java
5662         * javax/security/cert/CertificateException.java
5663         * javax/security/cert/CertificateExpiredException.java
5664         * javax/security/cert/CertificateNotYetValidException.java
5665         * javax/security/cert/CertificateParsingException.java
5666         * javax/security/cert/X509CertBridge.java
5667         * javax/security/cert/X509Certificate.java
5668
5669         2004-08-20  Casey Marshall  <csm@gnu.org>
5670
5671         * java/security/cert/X509CRLSelector.java: New file.
5672         * java/security/cert/X509CertSelector.java: New file.
5673
5674 2004-09-15  Michael Koch  <konqueror@gmx.de>
5675
5676         * gnu/java/net/protocol/file/Handler.java
5677         (openConnection): Don't throw exception if host part for file: URI is
5678         present. setURL() keeps file: protocol if ftp: protocol is not
5679         available.
5680
5681 2004-09-14  Richard Henderson  <rth@redhat.com>
5682
5683         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5684         value of sigsuspend.
5685
5686 2004-09-12  Tom Tromey  <tromey@redhat.com>
5687
5688         * javax/naming/CompoundName.java (CompoundName): Don't check for
5689         separator in "flat" case.
5690
5691 2004-09-12  Michael Koch  <konqueror@gmx.de>
5692
5693         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5694         AM_CONFIG_HEADER by AC_CONFIG_FILES.
5695         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5696         Regenerate.
5697
5698 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5699
5700         PR libgcj/14751
5701         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5702         handle in newly-allocated _Jv_Thread_t.
5703         (_Jv_ThreadDestroyData): Close thread handle.
5704         (_Jv_ThreadStart): Remove obsolete comment.
5705         Store handle of newly-created thread in _Jv_Thread_t.
5706         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5707         before including <windows.h>
5708         #define _Jv_HaveCondDestroy
5709
5710 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5711
5712         * java/lang/natThread.cc (finalize_native): Destroy
5713         join conditional variable and mutex if these destroy
5714         operations are supported.
5715
5716 2004-09-10  Dalibor Topic <robilad@kaffe.org>
5717
5718         * gnu/java/net/protocol/file/Connection.java (permission): New field.
5719         (DEFAULT_PERMISSION): New constant.
5720         (Connection): Create a FilePermission with permission to read file.
5721
5722 2004-09-10  Michael Koch  <konqueror@gmx.de>
5723
5724         * gnu/java/net/protocol/file/Connection.java
5725         (getLastModified): Moved around.
5726         (getPermission): Return stored permission.
5727
5728 2004-09-10  Michael Koch  <konqueror@gmx.de>
5729
5730         * Makefile.in: Regenerate.
5731
5732 2004-09-10  Michael Koch  <konqueror@gmx.de>
5733
5734         * Makefile.am: Reverted accidently commited stuff.
5735         * configure: Regenerated.
5736
5737 2004-09-10  Michael Koch  <konqueror@gmx.de>
5738
5739         * gnu/java/net/protocol/file/Connection.java
5740         (lineSeparator): Made non-final.
5741         (static): Removed.
5742         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5743         instead of StringBufferInputStream.
5744
5745 2004-09-10  Michael Koch  <konqueror@gmx.de>
5746
5747         * gnu/java/net/protocol/file/Connection.java
5748         (connect): Handle file is a directory case.
5749
5750 2004-09-10  Michael Koch  <konqueror@gmx.de>
5751
5752         * Makefile.am
5753         (xlib_includes): Removed.
5754         (AM_CPPFLAGS): Renamed from INCLUDES.
5755         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5756         * Makefile.in: Regenerate.
5757
5758 2004-09-09  Michael Koch  <konqueror@gmx.de>
5759
5760         * java/security/ProtectionDomain.java,
5761         * java/util/PropertyPermissionCollection.java:
5762         Fixed javadocs all over.
5763
5764 2004-09-09  Sven de Marothy  <sven@physto.se>
5765
5766         Patch from David Gilbert <david.gilbert@object-refinery.com>
5767         * java/lang/Comparable.java: Fixed documentation errors.
5768         * java/util/Arrays.java: Likewise.
5769
5770 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5771
5772         * java/net/Inet4Address.java
5773         (Inet4Address): Added comment to serialization UID.
5774         * java/text/Format.java
5775         (Format): Added comment to serialization UID.
5776
5777 2004-09-09  Michael Koch  <konqueror@gmx.de>
5778
5779         * java/lang/System.java
5780         (err): Fixed javadoci to point to setErr() and not setOut().
5781
5782 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
5783
5784         (normalizePath): Added special case for windows systems.
5785
5786 2004-09-09  Michael Koch  <konqueror@gmx.de>
5787
5788         * java/io/File.java
5789         (dupSeparator): Made private.
5790         (File(URI)): New constructor.
5791         (getParentFile): Fixed javadoc.
5792         (createTempFile): Reformated.
5793         (setReadOnly): Added comment.
5794         (deleteOnExit): Merged javadoc with classpath version.
5795
5796 2004-09-09  Michael Koch  <konqueror@gmx.de>
5797
5798         * Makefile.am: Don't try to include deps.mk.
5799         * Makefile.in: Regenerated.
5800
5801 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
5802
5803         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5804         .d files.
5805         * configure: Rebuilt.
5806
5807 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
5808
5809         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5810         Changed pfn from static local to local.
5811
5812 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
5813             H.J. Lu  <hongjiu.lu@intel.com>
5814
5815         PR libgcj/17290
5816         * Makefile.am (GCJCOMPILE): Remove definition.
5817         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5818         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5819         * Makefile.in: Rebuilt.
5820
5821 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
5822
5823         * configure.ac (enable-gc-debug): Update help for new syntax.
5824         * configure: Regenerate.
5825
5826 2004-09-03  David Daney  <ddaney@avtrex.com>
5827
5828         * include/mips-signal.h: Update copyright.
5829
5830 2004-09-03  David Daney  <ddaney@avtrex.com>
5831
5832         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5833         * include/mips-signal.h: Added HANDLE_FPE support.
5834
5835 2004-08-31  Michael Koch  <konqueror@gmx.de>
5836
5837         * javax/swing/plaf/basic/BasicTextAreaUI.java
5838         (create): New method.
5839         * javax/swing/text/DefaultHighlighter.java
5840         (DefaultHighlightPainter.debugRect): Removed.
5841         * javax/swing/text/StyleContext.java
5842         (DEFAULT_STYLE): New field.
5843
5844 2004-08-31  Michael Koch  <konqueror@gmx.de>
5845
5846         * javax/swing/plaf/basic/BasicLookAndFeel.java
5847         (initComponentDefaults): Add keybindings for selection.backward and
5848         selection-forward for text components.
5849         * javax/swing/plaf/basic/BasicTextUI.java
5850         (paintSafely): Paint highlight only when something is actually
5851         selected.
5852         * javax/swing/text/DefaultCaret.java
5853         (handleHighlight): New method.
5854         (setSelectionVisible): Don't do anything when nothing changes.
5855         Handle highlight.
5856         (moveDot): Reimplemented. Handle highlight.
5857         (setDot): Set mark too. Handle highlight.
5858         (getSelectionPainter): New method.
5859         * javax/swing/text/DefaultEditorKit.java
5860         (defaultActions): Added new actions for text selection.
5861         * javax/swing/text/DefaultHighlighter.java
5862         (DefaultHighlightPainter): New inner class.
5863         (DefaultPainter): New field.
5864         (paint): Implemented.
5865         * javax/swing/text/PlainView.java
5866         (paint): Don't draw background here again.
5867         * javax/swing/text/Utilities.java
5868         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5869         (drawTabbedText): Likewise.
5870
5871 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5872
5873         * javax/swing/JComponent.java
5874         (resetKeyboardActions): Add null checks.
5875
5876 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5877
5878         * javax/swing/DefaultButtonModel.java:
5879         Skip group notification when no group is set.
5880
5881 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5882
5883         * javax/swing/JColorChooser.java:
5884         Make a couple inner classes static, for jikes.
5885
5886 2004-08-31  Michael Koch  <konqueror@gmx.de>
5887
5888         * javax/swing/plaf/basic/BasicTextUI.java
5889         (RottView.modelToView): New method.
5890         (UpdateHandler): Renamed from EventHandler.
5891         (updateHandler): Renamed from eventHandler.
5892         (modelToView): Implemented.
5893         * javax/swing/text/AbstractDocument.java
5894         (BranchElement.getElement): Return null for non-existing indeces.
5895         (BranchElement.getElementIndex): Return 0 in some corner cases.
5896         * javax/swing/text/FieldView.java
5897         (modelToView): New method.
5898         * javax/swing/text/PlainView.java
5899         (modelToView): Made public.
5900
5901 2004-08-31  Kim Ho  <kho@redhat.com>
5902
5903         * Makefile.am: New files.
5904         * Makefile.in: Regenerate.
5905         * gcj/Makefile.in: Regenerate.
5906         * include/Makefile.in: Regenerate.
5907         * java/awt/Color.java: Fix documentation.
5908         (RGBtoHSB): Use floats for conversions.
5909         * javax/swing/ButtonGroup.java: Run Jalopy.
5910         (setSelected): Reimplement.
5911         * javax/swing/DefaultButtonModel.java: Run Jalopy.
5912         (changeState): Let ButtonGroup know that the button
5913         is changing state.
5914         * javax/swing/JColorChooser.java: Implement.
5915         * javax/swing/JLabel.java: Run Jalopy.
5916         * javax/swing/JSpinner.java: Run Jalopy.
5917         (setValue): New method.
5918         * javax/swing/JTabbedPane.java: Run Jalopy.
5919         (removeTabAt): Call correct remove method.
5920         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5921         (getPreviousValue): Compare minimum value.
5922         * javax/swing/Timer.java: Run Jalopy.
5923         (run): Comment out println.
5924         * javax/swing/ToolTipManager.java:
5925         (mouseMoved): Get new tooltip text for location.
5926         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5927         Jalopy and Javadoc.
5928         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5929         Implement.
5930         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5931         Run Jalopy.
5932         (setSelectedColor): Fire ChangeEvent.
5933         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5934         New file. Implement.
5935         * javax/swing/colorchooser/DefaultPreviewPanel.java:
5936         Ditto.
5937         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5938         Ditto.
5939         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5940         Ditto.
5941         * javax/swing/plaf/basic/BasicArrowButton.java:
5942         (getArrow): Fix size of upward pointing button.
5943         * javax/swing/plaf/basic/BasicColorChooserUI.java:
5944         Implement.
5945         * javax/swing/plaf/basic/BasicSliderUI.java:
5946         (getWidthOfWidestLabel): Use preferred dimensions.
5947         (getHeightOfTallestLabel): Ditto.
5948         * javax/swing/plaf/basic/BasicSpinnerUI.java:
5949         Run Jalopy.
5950         (mousePressed): Disable changes to spinner if it is not enabled.
5951         * testsuite/Makefile.in: Regenerate.
5952
5953
5954 2004-08-31  Michael Koch  <konqueror@gmx.de>
5955
5956         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5957         javax/swing/plaf/basic/BasicTableUI.java:
5958         Added copyright notice.
5959
5960 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
5961
5962         * Makefile.am: Added new files.
5963         * Makefile.in: Regenerate.
5964         * javax/swing/ComboBoxEditor.java: Added javadocs.
5965         * javax/swing/ComboBoxModel.java: Likewise.
5966         * javax/swing/DefaultComboBoxModel.java: Implemented.
5967         * javax/swing/DefaultListCellRenderer.java: Added javadocs
5968         and ran through jalopy to fix formatting style.
5969         (getListCellRendererComponent): Use appropriate border
5970         if renderer has focus and use noFocusBorder when it doesn't.
5971         * javax/swing/JComboBox.java: Implemented.
5972         * javax/swing/JList.java:
5973         (locationToIndex): New Method. Implemented.
5974         (indexToLocation): New Method.
5975         * javax/swing/JPopupMenu.java:
5976         (visible): New field.
5977         (isVisible): Changed to use new field above.
5978         (setVisible): Likewise.
5979         * javax/swing/MutableComboBoxModel.java: Added javadocs.
5980         * javax/swing/plaf/basic/BasicArrowButton.java:
5981         (shadow): Changed default color to Color.gray.
5982         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5983         UI delegate for JComboBox.
5984         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5985         Popup menu containing list of JComboBox's items.
5986         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5987         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5988         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5989         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5990         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5991         (popupMenuWillBecomeVisible): Set selected path to the first
5992         element only if it is of type MenuElement. Also fix formatting
5993         style.
5994         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
5995         methods signatures.
5996
5997 2004-08-31  Michael Koch  <konqueror@gmx.de>
5998
5999         * javax/swing/text/AbstractDocument.java
6000         (createBranchElement): Use new constructor of BranchElement.
6001         (createLeafElement): Renamed arguments.
6002         (getRootElements): Implemented.
6003         (BranchElement.start): Removed.
6004         (BranchElement.end): Likewise.
6005         (BranchElement.BranchElement): Fixed arguments.
6006         (BranchElement.getEndOffset): Reimplemented.
6007         (BranchElement.getStartOffset): Likewis.
6008         * javax/swing/text/DefaultCaret.java
6009         (paint): Draw simple vertical line as caret instead of a rectangle.
6010         * javax/swing/text/JTextComponent.java
6011         (setText): Use doc directly.
6012         * javax/swing/text/PlainView.java
6013         (nextTabStop): Implemented.
6014         * javax/swing/text/Utilities.java
6015         (drawTabbedText): nextTabStop() returns an absolute x position.
6016         (getTabbedTextWidth): Likewise.
6017
6018 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6019
6020         * java/awt/Component.java
6021         (isFocusTraversable): Predicate on isLightweight()
6022         (setFocusable): Set isFocusTraversableOverridden.
6023         (requestFocus): Predicate peer dispatch on !isLightweight()
6024         (requestFocusInWindow): Likewise.
6025         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
6026         * java/awt/Container.java
6027         (dispatchEventImpl): Predicate on event mask.
6028         (LightweightDispatcher): Remove focus machinery.
6029         * java/awt/DefaultFocusTraversalPolicy.java
6030         (accept): Expand predicate to include isFocusable().
6031         * java/awt/DefaultKeyboardFocusManager.java:
6032         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
6033         * java/awt/KeyboardFocusManager.java
6034         (redispatchEvent): Synchronize on event to prevent feedback.
6035         * javax/swing/AbstractButton.java
6036         (ButtonFocusListener): Remove class.
6037         (init): Set focusPainted, focusable.
6038         * javax/swing/ActionMap.java (get): Check parent for null.
6039         * javax/swing/InputMap.java (get): Likewise.
6040         * javax/swing/JComponent.java
6041         (inputMap_whenFocused): New InputMap.
6042         (inputMap_whenAncestorOfFocused): Likewise.
6043         (inputMap_whenInFocusedWindow): Likewise.
6044         (getActionForKeyStroke): Rewrite.
6045         (getConditionForKeystroke): Likewise.
6046         (ActionListenerProxy): New private class.
6047         (setInputMap): Implement.
6048         (getInputMap): Likewise.
6049         (setActionMap): Likewise.
6050         (getActionMap): Likewise.
6051         (processComponentKeyEvent): New empty method.
6052         (processKeyEvent): Implement.
6053         (processKeyBinding): Likewise.
6054         (resetKeyboardActions): Rewrite.
6055         * javax/swing/KeyStroke.java: Rewrite.
6056         * javax/swing/SwingUtilities.java
6057         (notifyAction): Implement.
6058         (replaceUIActionMap): Likewise.
6059         (replaceUIInputMap): Likewise.
6060         * javax/swing/plaf/basic/BasicButtonListener.java
6061         (focusGained): Implement.
6062         (focusLost): Repaint if focusPainted().
6063         (installKeyboardActions): Install pressed / released actions.
6064         (uninstallKeyboardActions): Implement.
6065         * javax/swing/plaf/basic/BasicButtonUI.java
6066         (focusColor): New field.
6067         (installDefaults): Load focus color, install input map.
6068         (installKeyboardActions): Implement.
6069         (uninstallKeyboardActions): Likewise.
6070         (paintFocus): Rewrite.
6071         * javax/swing/plaf/basic/BasicLookAndFeel.java
6072         (Button.focus): New default, midPurple.
6073         * javax/swing/plaf/basic/BasicTextUI.java
6074         (kit): Make static.
6075         (installUI): Get doc from kit, load defaults.
6076         (getKeymapName): Implement.
6077         (createKeymap): Likewise.
6078         (installKeyboardActions): Likewise.
6079         (getInputMap): Likewise.
6080         (getActionMap): Likewise.
6081         (createActionMap): Likewise.
6082         * javax/swing/text/AbstractDocument.java
6083         (getStartPosition): Implement.
6084         (getEndPosition): Likewise.
6085         * javax/swing/text/DefaultEditorKit.java
6086         (CopyAction): New class.
6087         (CutAction): Likewise.
6088         (DefaultKeyTypedAction): Likewise.
6089         (InsertBreakAction): Likewise.
6090         (InsertContentAction): Likewise.
6091         (InsertTabAction): Likewise.
6092         (PasteAction): Likewise.
6093         (defaultActions): New static table.
6094         (createCaret): Implement.
6095         (getActions): Likewise.
6096         * javax/swing/text/JTextComponent.java
6097         (KeymapWrapper): New private class.
6098         (KeymapActionMap): Likewise.
6099         (DefaultKeymap): New class.
6100         (keymaps): New static table.
6101         (keymap): New field.
6102         (getKeymap): Implement.
6103         (removeKeymap): Likewise.
6104         (addKeymap): Likewise.
6105         (setKeymap): Likewise.
6106         (loadKeymap): Likewise.
6107         (getActions): Likewise.
6108         (margin): New field.
6109         (JTextComponent): Build and install default keymap.
6110         * javax/swing/text/TextAction.java
6111         (textAction): Call super properly.
6112         (getTextComponent): Implement.
6113         * javax/swing/text/Utilities.java
6114         (drawTabbedText): Adjust position by ascent.
6115
6116 2004-08-31  David Jee  <djee@redhat.com>
6117
6118         PR AWT/17156
6119
6120         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6121         (setEnabled): Make it a native method.
6122         * java/awt/DefaultKeyboardFocusManager.java
6123         (postProcessKeyEvent): Only post event if the menu item
6124         is active.
6125         * java/awt/MenuItem.java:
6126         Private field 'enabled' should be true by default.
6127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
6128         (setEnabled): New function.
6129
6130 2004-08-31  David Jee  <djee@redhat.com>
6131
6132         PR AWT/17059
6133
6134         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6135         (nativeSetHelpMenu): New native method declaration.
6136         (addHelpMenu): Call nativeSetHelpMenu().
6137         (addMenu): Remove.
6138         * java/awt/MenuBar.java
6139         (setHelpMenu): Call addNotify() on the new help menu.
6140         (add): Call addNotify() on the new menu.
6141         (addNotify): Set the help menu if one exists.
6142         * java/awt/peer/MenuBarPeer.java
6143         (addMenu): Remove.
6144         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
6145         (nativeSetHelpMenu): New method.
6146
6147 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6148
6149         * Makefile.am: Add new files.
6150         * Makefile.in: Regenerate.
6151         * javax/swing/Box.java: Fix setting of layout in ctor.
6152         * javax/swing/JScrollPane.java: Scroll headers as well.
6153         * javax/swing/JTable.java: Reimplement.
6154         * javax/swing/JViewPort.java: Only add non-null children.
6155         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
6156         * javax/swing/Timer.java: Fix stopping null waker.
6157         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
6158         * javax/swing/plaf/basic/BasicTableUI.java: New file.
6159         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
6160         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
6161         * javax/swing/table/DefaultTableModel.java: Clean up.
6162         * javax/swing/table/JTableHeader.java: Implement.
6163
6164 2004-08-31  Mark Wielaard  <mark@klomp.org>
6165
6166         * javax/swing/JSpinner.java (getChangeListeners): Remove double
6167         semi-colon.
6168
6169 2004-08-31  Mark Wielaard  <mark@klomp.org>
6170
6171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6172         Declare variables at top of functions/block.
6173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
6174
6175 2004-08-31  Mark Wielaard  <mark@klomp.org>
6176
6177         * java/lang/Rectangle.java (intersects): Check r.width and r.height
6178         first.
6179
6180 2004-08-31  Michael Koch  <konqueror@gmx.de>
6181
6182         * javax/swing/text/PlainView.java
6183         (selectedColor): New field.
6184         (unselectedColor): Likewise.
6185         (font): Likewise.
6186         (updateMetrics): New method.
6187         (lineToRect): Likewise.
6188         (modelToView): Likewise.
6189         (drawSelectedText): Use color from JTextComponent ad draw with
6190         Utilities class.
6191         (drawUnselectedText): Likewise.
6192         (paint): Initialize helper fields.
6193         * javax/swing/text/View.java
6194         (getChildAllocation): New method.
6195         (getViewIndex): Likewise.
6196         (getToolTipText): Likewise.
6197
6198 2004-08-31  Michael Koch  <konqueror@gmx.de>
6199
6200         * javax/swing/text/Utilities.java
6201         (drawTabbedText): Reimplemented.
6202         (getTabbedTextWidth): Likewise.
6203
6204 2004-08-31  Michael Koch  <konqueror@gmx.de>
6205
6206         * javax/swing/plaf/basic/BasicTextUI.java
6207         (installDefaults): Install caret and highlighter.
6208         (modelToView): Use Bias.Forward when calling sibling.
6209         * javax/swing/text/AbstractDocument.java
6210         (ElementEdit): Implements DocumentEvent.ElementChange.
6211         (ElementEdit.ElementEdit): New method.
6212         (ElementEdit.getChildrenAdded): Likewise.
6213         (ElementEdit.getChildrenRemoved): Likewise.
6214         (ElementEdit.getElement): Likewise.
6215         (ElementEdit.getIndex): Likewise.
6216         * javax/swing/text/DefaultCaret.java
6217         (color): Removed.
6218         (textComponent): Renamed from parent, made private.
6219         (selectionVisible): Renamed from vis_sel, made private.
6220         (blinkRate): Renamed from blink, made private.
6221         (magicCaretPosition): Renamed from magic, made private.
6222         (visible): Renamed from vis, made private.
6223         (dot): Made private.
6224         (mark): Likewise.
6225         (deinstall): Remove as MouseMotionListener.
6226         (install): Initialize textComponent first. Add as MouseMotionListener.
6227         (paint): Reimplemented.
6228         * javax/swing/text/JTextComponent.java
6229         (setCaret): Deinstall old caret, install new one and fire property
6230         change after setting property.
6231         (setHighlighter): Deinstall old highlighter, install new one and fire
6232         property change after setting property.
6233         (setCaretColor): Fire property change after setting property.
6234         (setDisabledTextColor): Likewise.
6235         (setSelectedTextColor): Likewise.
6236         (setSelectionColor): Likewise.
6237         (modelToView): New method.
6238
6239 2004-08-31  Michael Koch  <konqueror@gmx.de>
6240
6241         * javax/swing/text/AbstractDocument.java
6242         (getText): Simplified.
6243         * javax/swing/text/Segment.java
6244         (current): New field.
6245         (current): Reimplemented.
6246         (first): Likewise.
6247         (getIndex): Likewise.
6248         (last): Likewise.
6249         (next): Likewise.
6250         (previous): Likewise.
6251         (setIndex): Likewise.
6252
6253 2004-08-31  Michael Koch  <konqueror@gmx.de>
6254
6255         * javax/swing/plaf/basic/BasicButtonUI.java
6256         (defaultTextIconGap): Made protected.
6257         (defaultTextShiftOffset): Likewise.
6258         (textShiftOffset): New field.
6259         (clearTextShiftOffset): New method.
6260         (getTextShiftOffset): Likewise.
6261         (setTextShiftOffset): Likewise.
6262
6263 2004-08-31  Michael Koch  <konqueror@gmx.de>
6264
6265         * javax/swing/plaf/basic/BasicTextUI.java
6266         (installUI): Add eventHandler as property listener.
6267         (uninstallUI): remove eventHandler as propert listener.
6268         (installDefaults): Added comment.
6269         (installListeners): Likewise.
6270         (installKeyboardActions): Likewise.
6271         (uninstallDefaults): Likewise.
6272         (uninstallListeners): Likewise.
6273         (uninstallKeyboardActions): Likewise.
6274
6275 2004-08-31  Michael Koch  <konqueror@gmx.de>
6276
6277         * javax/swing/text/AbstractDocument.java:
6278         Fixed some typos in comments.
6279         (insertString): Reimplemented.
6280         (remove): Likewise.
6281         (replace): New method.
6282         (children): Dont use fully qualified class name.
6283         (DefaultDocumentEvent.offset): Renamed from off.
6284         (DefaultDocumentEvent.length): Renamed from len.
6285         (DefaultDocumentEvent.type): New field.
6286         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6287         (DefaultDocumentEvent.getType): Implemented.
6288
6289 2004-08-31  Michael Koch  <konqueror@gmx.de>
6290
6291         * javax/swing/plaf/basic/BasicTextUI.java
6292         (RootView.textComponent): Removed.
6293         (RootView.RootView): Don't initialize textComponent.
6294         (RootView.getViewFactory): New method.
6295         (EventHandler): New inner class.
6296         (rootView): Initialize at instance creation.
6297         (eventHandler): New field.
6298         (installUI): Don't create view hierarchy directly,
6299         call modelChanged() instead.
6300         (modelChanged): New method.
6301         * javax/swing/text/JTextComponent.java
6302         (setDocument): Fire property change event.
6303
6304 2004-08-31  Michael Koch  <konqueror@gmx.de>
6305
6306         * javax/swing/plaf/basic/BasicTextUI.java
6307         (RootView.paint): Removed debug output.
6308         (paintSafely): Draw highlighter before text.
6309         (paintBackground): Use background color of text component.
6310         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6311         Reformatted.
6312
6313 2004-08-31  Michael Koch  <konqueror@gmx.de>
6314
6315         * javax/swing/plaf/basic/BasicToolBarUI.java
6316         (BasicToolBarUI): Fixed arguments for constructor.
6317         (createUI): Fixed creation of object.
6318
6319 2004-08-31  Michael Koch  <konqueror@gmx.de>
6320
6321         * javax/swing/DefaultListSelectionModel.java
6322         (fireValueChanged): Renamed from fireSelectionValueChanged,
6323         made protected.
6324
6325 2004-08-31  Michael Koch  <konqueror@gmx.de>
6326
6327         * javax/swing/text/TabSet.java
6328         (TabSet): Implements java.io.Serializable.
6329         * javax/swing/text/TabStop.java
6330         (TabStop): Implements java.io.Serializable.
6331         (TabStop): Made public.
6332
6333 2004-08-31  Michael Koch  <konqueror@gmx.de>
6334
6335         * javax/swing/JComponent.java
6336         (setUI): Fire PropertyChange.
6337         * javax/swing/JLabel.java
6338         (text): Renamed from labelText.
6339         (horizontalAlignment): New default vlaue.
6340         (icon): Renamed from activeIcon.
6341         (displayedMnemonic): Renamed from mnemonicKey, added default value.
6342         (displayedMnemonicIndex): Renamed from underlineChar.
6343         (setDisplayedMnemonic): Reimplemented.
6344         * javax/swing/JRadioButton.java
6345         (JRadioButton): New constructors.
6346         * javax/swing/JTextField.java
6347         (JTextField): Throw exception if colums < 0, initialitialz
6348         this.columns directly and initialize document with text conditionally.
6349
6350 2004-08-31  Michael Koch  <konqueror@gmx.de>
6351
6352         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6353         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6354         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6355         * javax/swing/text/FieldView.java
6356         (paint): Just call super method for now.
6357         * Makefile.am: Added new files.
6358         * Makefile.in: Regenerated.
6359
6360 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
6361
6362         * javax/swing/AbstractSpinnerModel.java,
6363         javax/swing/JSpinner.java,
6364         javax/swing/SpinnerNumberModel.java,
6365         javax/swing/plaf/basic/BasicSpinnerUI.java:
6366         New files.
6367         * javax/swing/plaf/basic/BasicLookAndFeel.java
6368         (initClassDefaults): Added defaults for BasicSpinnerUI.
6369
6370 2004-08-31  Michael Koch  <konqueror@gmx.de>
6371
6372         * Makefile.am: Added new files.
6373         * Makefile.in: Regenerated.
6374
6375 2004-08-31  Michael Koch  <konqueror@gmx.de>
6376
6377         * javax/swing/TransferHandler.java,
6378         javax/swing/plaf/basic/ComboPopup.java: New files
6379         * Makefile.am: Added javax/swing/TransferHandler.java and
6380         javax/swing/plaf/basic/ComboPopup.java
6381         * Makefile.in: Regenerated.
6382
6383 2004-08-31  Roman Kennke  <roman@ontographics.com>
6384
6385         * javax/swing/text/Utilities.java: New file.
6386
6387 2004-08-31  Michael Koch  <konqueror@gmx.de>
6388
6389         * Makefile.am: Added javax/swing/text/Utilities.java.
6390         * Makefile.in: Regenerated.
6391
6392 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6393
6394         * javax/swing/text/SimpleAttributeSet.java: New file.
6395         * javax/swing/text/StyleConstants.java: New file.
6396         * javax/swing/text/StyleContext.java: New file.
6397         * javax/swing/text/TabSet.java: New file.
6398         * javax/swing/text/TabStop.java: New file.
6399         * javax/swing/text/AbstactDocument.java:
6400         (AbstractElement): Implement attribute support.
6401         * javax/swing/text/AttributeSet.java
6402         (NameAttribute): New static field.
6403         (ResolveAttribute): New static field.
6404         * Makefile.am: Update for new files.
6405         * Makefile.in: Regenerate.
6406
6407 2004-08-31  Craig Black  <craig.black@aonix.com>
6408
6409         * gnu/java/awt/peer/gtk/GdkGraphics.java
6410         (drawImage): Add support for scaling pixmaps.
6411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6412         (copyAndScalePixmap): New native method.
6413
6414 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6415
6416         PR AWT/16121
6417         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
6418         type-punning compiler warnings using unions.
6419         (throw): Replace bzero with memset.
6420
6421 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6422             Thomas Fitzsimmons  <fitzsim@redhat.com>
6423
6424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6425         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
6426         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6428         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6429
6430 2004-08-31  Mark Wielaard  <mark@klomp.org>
6431
6432         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6433         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6434         and stdlib.h, not gtkpeer.h.
6435         (*vm): New static variable.
6436         (areaPreparedID): Make static.
6437         (areaUpdatedID): Likewise.
6438         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6439         (area_prepared): Likewise.
6440         (area_updated): Likewise.
6441         (closed): Likewise.
6442         (initStaticState): Initialize *vm javaVM.
6443         (pumpBytes): Use given env, not global gdk_env.
6444
6445 2004-08-31  Mark Wielaard  <mark@klomp.org>
6446
6447         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6448         comments.
6449
6450 2004-08-31  Sven de Marothy  <sven@physto.se>
6451
6452         * java/awt/geom/CubicCurve2D.java: Reindent.
6453         (contains): Implemented.
6454         (intersects): Implemented.
6455         * java/awt/geom/QuadCurve2D.java: Likewise.
6456         * java/awt/geom/GeneralPath.java: Reindent and document.
6457         Fully (re)implemented using separate xpoints and ypoints
6458         float[] coords.
6459         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6460
6461 2004-08-31  Michael Koch  <konqueror@gmx.de>
6462
6463         * javax/swing/JMenuItem.java
6464         (getMenuDragMouseListeners): New method.
6465         (getMenuKeyListeners): Likewise.
6466
6467 2004-08-31  Michael Koch  <konqueror@gmx.de>
6468
6469         * javax/swing/AbstractButton.java
6470         (model): Made protected.
6471         (actionListener): Likewise.
6472         (changeListener): Likewise.
6473         (itemListener): Likewise.
6474         (multiClickThreshhold): New field.
6475         (getActionListeners): New method.
6476         (getChangeListeners): Likewise.
6477         (getItemListeners): Likewise.
6478         (fireItemStateChanged): Simplified implementation.
6479         (fireActionPerformed): Likewise.
6480         (fireStateChanged): Likewise.
6481         (getMultiClickThreshhold): New method.
6482         (setMultiClickThreshhold): Likewise.
6483
6484 2004-08-31  Tom Tromey  <tromey@redhat.com>
6485
6486         * java/awt/image/Kernel.java (clone): Use super.clone().
6487
6488 2004-08-31  David Jee  <djee@redhat.com>
6489
6490         PR AWT/16682
6491         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6492         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6493         (nativeSetIconImageFromData): New native method declaration.
6494         (setIconImage): Handle images not produced from GdkPixbufDecoder.
6495         * gnu/java/awt/peer/gtk/GtkImage.java
6496         (getPixelCache): New method.
6497         (getColorModel): New method.
6498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6499         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6500         (free_pixbuf_data): New helper function.
6501         (nativeSetIconImageFromData): New function.
6502
6503 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6504
6505         PR SWING/16576
6506         * javax/swing/JLayeredPane.java
6507         (setLayer): Permit changing layer after addition.
6508         (setPosition): Permit over-length positions.
6509         (layerToRange): Compare intValue()s.
6510         * javax/swing/Box.java (createHorizontalBox): Implement.
6511         (createRigidArea): Likewise.
6512         (createVerticalBox): Likewise.
6513
6514 2004-08-31  Kim Ho  <kho@redhat.com>
6515
6516         * java/awt/Component.java:
6517         (processMouseEvent): Consume event after
6518         listeners process it.
6519         (processMouseMotionEvent): ditto.
6520         (processMouseWheelEvent): ditto.
6521         * java/awt/Container.java:
6522         (acquireComponentForMouseEvent):
6523         Do not dispatch to events that have been
6524         removed from the Container.
6525         (handleEvent): Consume the MouseEvents.
6526         * javax/swing/RepaintManager.java:
6527         (paintDirtyRegions): Do not add to list of
6528         damaged areas if the component has no root.
6529
6530 2004-08-31  Michael Koch  <konqueror@gmx.de>
6531
6532         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6533
6534 2004-08-31  Mark Wielaard  <mark@klomp.org>
6535
6536         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6537         null when a MissingResourceException is thrown. Should never happen.
6538
6539 2004-08-31  Mark Wielaard  <mark@klomp.org>
6540
6541         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6542         when argument is null.
6543
6544 2004-08-31  Mark Wielaard  <mark@klomp.org>
6545
6546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6547         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6548         Define hid at start of function.
6549         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6550         Likewise.
6551
6552 2004-08-31  Mark Wielaard  <mark@klomp.org>
6553
6554         * gnu/java/awt/EmbeddedWindow.java: Reindent.
6555         * javax/swing/JButton.java: Reindent.
6556         * javax/swing/JCheckBox.java: Reindent.
6557
6558 2004-08-31  Mark Wielaard  <mark@klomp.org>
6559
6560         * Makefile.am (gtk_c_source_files): Added
6561         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6562         (gtk_awt_peer_sources): Added
6563         gnu/java/awt/peer/gtk/GThreadMutex.java and
6564         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6565         * Makefile.in: Regenerated.
6566
6567 2004-08-31  Archie Cobbs  <archie@dellroad.org>
6568
6569         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6570
6571 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6572
6573         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
6574         Added jfieldID, jmethodID.
6575
6576 2004-08-31  Mark Wielaard  <mark@klomp.org>
6577
6578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6579         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6580         gdk_env before calling any gdk or gtk function.
6581
6582         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6583         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6584         (run): Set gtkInitCalled.
6585
6586 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6587
6588         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
6589         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6590
6591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6592         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6593         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
6594         init_glib_threads.
6595         (init_glib_threads): New function.
6596
6597 2004-08-31  Mark Wielaard  <mark@klomp.org>
6598
6599         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6600         PRIORITY when not already defined in header file.
6601
6602 2004-08-31  Mark Wielaard  <mark@klomp.org>
6603
6604         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6605         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6606
6607 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6608
6609         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6610         Implemented missing functions for GTK2.
6611         Added error handling.
6612         Renamed static functions out of the g_ namespace.
6613         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
6614         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6615         Rewrote global-reference code.
6616         Eliminated cascading errors.
6617         (mutex_trylock_jni_impl) Fully implemented.
6618         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6619         resolution.
6620         (setup_cache) New function.
6621         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6622         bug where they were not unlocking the GMutex associated with the
6623         condition variable during the wait on that condition variable.
6624
6625         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6626         native/jni/gtk-peer/gthread-jni.c,
6627         native/jni/gtk-peer/gthread-jni.h
6628         (g_thread_jni_functions): Renamed to ...
6629         (portable_native_sync_jni_functions): this name.
6630         (gdk_vm): Renamed to...
6631         (the_vm): this name.
6632
6633         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6634         (gdk_vm): Removed duplicate definition.
6635         (gtkInit): Removed stray message to stdout.
6636         (gtkInit): Use g_malloc and g_free instead of malloc and free.
6637         (gtkInit): Fix a const assignment bug.
6638         (gtkInit): Simplified code.
6639
6640         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6641         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6642         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6643         gnu/java/awt/peer/gtk/GThreadMutex.java:
6644         New files.
6645
6646 2004-08-31  Mark Wielaard  <mark@klomp.org>
6647
6648         * javax/swing/Box.java: Put FIXME comment above class declaration.
6649         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6650         * javax/swing/JCheckBox.java: Likewise.
6651         * javax/swing/JDialog.java: Likewise.
6652         * javax/swing/JRadioButton.java: Likewise.
6653         * javax/swing/JToggleButton.java: Likewise.
6654         * javax/swing/UIManager.java: Likewise.
6655         * javax/swing/border/TitledBorder.java: Likewise.
6656         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6657         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6658         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6659         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6660         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6661         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6662         * javax/swing/text/JTextComponent.java: Likewise.
6663
6664 2004-08-31  David Jee  <djee@redhat.com>
6665
6666         PR AWT/16682
6667         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6668         (setIconImage): Add a FIXME for unhandled cases.
6669
6670 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6671
6672         PR AWT/16040
6673         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6674         getModifiers.  Replace old button masks with new ones.
6675         * gnu/awt/xlib/XEventLoop.java: Likewise.
6676         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6677         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6678         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6679         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6680         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6681         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6682         * java/awt/Component.java: Replace old modifier masks with new
6683         ones.
6684         * java/awt/Container.java: Call getModifiersEx, not
6685         getModifiers.
6686         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
6687         old modifier masks.
6688         * javax/swing/JMenuItem.java: Replace old button masks with new
6689         ones.
6690         * javax/swing/KeyStroke.java: Call getModifiersEx, not
6691         getModifiers.
6692         * javax/swing/SwingUtilities.java: Likewise.
6693         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6694         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6696         mask macros with new ones.
6697         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6698         macros with new ones representing new masks.
6699
6700 2004-08-31  Craig Black  <craig.black@aonix.com>
6701
6702         * gnu/java/awt/peer/gtk/GdkGraphics.java
6703         (drawRoundRect): Implemented.
6704         (fillRoundRect): Implemented.
6705         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6706         (drawRoundRect): Reimplemented to match GdkGraphics.
6707         (fillRoundRect): Reimplemented to match GdkGraphics.
6708
6709 2004-08-31  Mark Wielaard  <mark@klomp.org>
6710
6711         * Makefile.in: Regenerated.
6712
6713 2004-08-31  Michael Koch  <konqueror@gmx.de>
6714
6715         * gnu/java/awt/EmbeddedWindow.java
6716         (addNotify): Use AccessController to allow execution of privileged
6717         code.
6718
6719 2004-08-31  Michael Koch  <konqueror@gmx.de>
6720
6721         * gnu/java/awt/EmbeddedWindow.java
6722         (static): Removed.
6723         (addNotify): Set peer via reflection.
6724         (setWindowPeer): Removed.
6725         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6726         * Makefile.am (nat_source_files):
6727         Removed gnu/java/awt/natEmbeddedWindow.cc.
6728
6729 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6730
6731         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
6732         and gnu/java/security/action/SetAccessibleAction.java.
6733
6734 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6735
6736         * gnu/java/security/action/GetPropertyAction.java (setParameters):
6737         Renamed from 'setName'. New 2-argument form with default value.
6738         (run): Pass default 'value' parameter to System.getProperty().
6739         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6740         typos.
6741
6742 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6743
6744         * gnu/java/security/action/GetPropertyAction.java: New class.
6745         * gnu/java/security/action/SetAccessibleAction.java: New class.
6746
6747 2004-08-31  David Jee  <djee@redhat.com>
6748
6749         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6750         (setIconImage): Check if image is null.
6751
6752 2004-08-31  David Jee  <djee@redhat.com>
6753
6754         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6755         (create): Set the icon image.
6756         (nativeSetIconImage): New native method declaration.
6757         (setIconImage): Implement.
6758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6759         (nativeSetIconImage): New function.
6760
6761 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6762
6763         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6764         (filenameFilterCallback): Declare local variable accepted before use.
6765
6766 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6767
6768         * gnu/java/awt/ComponentDataBlitOp.java:
6769         Cleaned up imports.
6770
6771 2004-08-31  Tom Tromey  <tromey@redhat.com>
6772
6773         * gnu/java/awt/peer/GLightweightPeer.java,
6774         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6775         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6776         javax/swing/JScrollPane.java: Removed
6777         redundant imports.
6778
6779 2004-08-31  David Jee  <djee@redhat.com>
6780
6781         * java/awt/DefaultKeyboardFocusManager.java
6782         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6783         event.  Fix shift modifier checking.
6784         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6785         (accel_attach): Remove.
6786         (setupAccelGroup): Remove calls to accel_attach.
6787
6788 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6789
6790         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6791         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6792
6793         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6794         GtkArgList.java.
6795         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6796         * Makefile.in: Regenerate.
6797         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6798         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6799         (create(String)): New method.
6800         (create): Call new create method.
6801         (getArgs): Remove method.
6802         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6803         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6804         (nativeCreate): Rename to create.
6805         (gtkSetLabel): Rename to gtkButtonSetLabel.
6806         (gtkToggleButtonSetActive): New method.
6807         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6808         (setState): Replace set call with gtkToggleButtonSetActive.
6809         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6810         (getArgs): Remove method.
6811         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6812         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6813         (gtkWidgetSetSensitive): New method.
6814         (gtkWidgetSetParent): Likewise.
6815         (GtkComponentPeer): Call setParent, setComponentBounds and
6816         setVisibleAndEnabled.
6817         (setParent): New method.
6818         (setComponentBounds): New method.
6819         (setVisibleAndEnabled): New method.
6820         (setEnabled): Call gtkWidgetSetSensitive.
6821         (getArgs): Remove method.
6822         Remove all set methods.
6823         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6824         gtkWindowSetModal, setTitle and setResizable.
6825         (getArgs): Remove method.
6826         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6827         (setComponentBounds): New method.
6828         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6829         Replace set call with gtkWindowSetResizable.
6830         (getArgs): Remove method.
6831         (create): Call setTitle and setResizable.
6832         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6833         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6834         (gtkWindowSetTitle): New method.
6835         (gtkWindowSetResizable): New method.
6836         (gtkWindowSetModal): New method.
6837         (setParent): New method.
6838         (setVisibleAndEnabled): New method.
6839         (getArgs): Remove method.
6840         (setTitle): Call gtkWindowSetTitle.
6841         (setResizable): Call gtkWindowSetResizable.
6842         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6843         and off locking instrumentation.
6844
6845 2004-08-31  Kim Ho  <kho@redhat.com>
6846
6847         * Makefile.am: Add new file.
6848         * Makefile.in: Regenerate.
6849         * gcj/Makefile.in: Regenerate
6850         * include/Makefile.in:
6851         * java/awt/Container.java:
6852         (acquireComponentForMouseEvent): Respect
6853         the event mask when looking for candidate.
6854         * javax/swing/JComponent.java:
6855         Remove toolTip field.
6856         (createToolTip): Create a tooltip on demand.
6857         (setToolTipText): Register with the ToolTipManager.
6858         (getToolTipText(MouseEvent)): Return getToolTipText().
6859         * javax/swing/JToolTip.java: Implement.
6860         * javax/swing/Timer.java: Jalopy.
6861         (restart): Call stop, then start.
6862         (stop): Interrupt the timer rather than wait for
6863         the timer to come to a stop naturally.
6864         * javax/swing/ToolTipManager.java: Implement.
6865         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6866         Change ToolTip.background color.
6867         * javax/swing/plaf/basic/BasicToolTipUI.java:
6868         Implement.
6869         * testsuite/Makefile.in: Regenerate
6870
6871 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
6872
6873         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6874         constructor param comments.
6875
6876 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6877
6878         * java/awt/Component.java: Document AWT 1.0 event handler
6879         methods.
6880
6881 2004-08-31  Roman Kennke  <roman@ontographics.com>
6882
6883         * javax/swing/Box.java:
6884         (createGlue): Implemented
6885         (createHorizontalGlue): Implemented
6886         (createHorizontalStrut): Implemented
6887         (createVerticalGlue): Implemented
6888         (createVerticalStrut): Implemented
6889
6890 2004-08-31  David Jee  <djee@redhat.com>
6891
6892         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6893         (GtkChoicePeer): Do not automatically select first item.
6894         (getHistory): Remove.
6895         (nativeGetSelected): New method.
6896         (nativeRemoveAll): New method.
6897         (add): Use nativeGetSelected() instead of getHistory().
6898         (remove): Likewise.
6899         (removeAll): Call nativeRemoveAll().
6900         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6901         (create): Migrate to GtkComboBox.
6902         (append): Likewise.
6903         (nativeAdd): Likewise.
6904         (nativeRemove): Likewise.
6905         (select): Likewise.
6906         (nativeRemoveAll): New method.
6907         (nativeGetSelected): New method.
6908         (selection_changed): New method.
6909         (getHistory): Remove.
6910         (item_activate): Remove.
6911         (item_removed): Remove.
6912         (connect_choice_item_selectable_hook): Remove.
6913
6914 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6915
6916         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6917         variable in setEditable call.
6918
6919         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6920         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6921         (gtkWidgetSetBackground): New method.
6922         (gtkWidgetSetForeground): Likewise.
6923         (create): Set peer's editable state based on awtComponent's.
6924
6925         * java/awt/Button.java (Button()): Use empty string rather than
6926         null in no-label constructor.
6927
6928 2004-08-31  Roman Kennke  <roman@ontographics.com>
6929
6930         * javax/swing/BoxLayout.java: Reimplement.
6931
6932 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6933
6934         * gnu/java/awt/peer/gtk/GdkGraphics.java,
6935         gnu_java_awt_peer_gtk_GdkGraphics.c
6936         (initState(GtkComponentPeer)): Don't return array of colour
6937         values.
6938         (GdkGraphics(int,int)): Set default font to size 12.
6939         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6940         component's foreground colour.
6941         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6942         gnu_java_awt_peer_gtk_GdkGraphics2D.c
6943         (initState(GtkComponentPeer)): Don't return array of colour
6944         values.
6945         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6946         colours to component's colours.
6947         (current_colors_of_widget): Remove function.
6948         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6949         Return a new graphics object.
6950         * java/awt/Font.java (toString): Fix format.
6951         * java/awt/Graphics.java (toString): Likewise.
6952
6953 2004-08-31  Craig Black  <craig.black@aonix.com>
6954
6955         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6956         (addTearOff): New function.
6957         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6958         New native method.
6959         (init): Call addTearOff() when menu.isTearOff().
6960
6961 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6962
6963         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6964         Default implementation.
6965         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6966         Implement using GdkPixbufDecoder.
6967
6968 2004-08-31  David Jee  <djee@redhat.com>
6969
6970         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6971         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6972         setting the size of GtkFileDialogPeers.
6973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6974         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6975         use their default sizes rather than their natural requisitions.
6976
6977 2004-08-31  Michael Koch  <konqueror@gmx.de>
6978
6979         * javax/swing/JFormattedTextField.java
6980         (JFormattedTextField): Implemented.
6981         * javax/swing/text/DefaultEditorKit.java
6982         (BeepAction): New inner class.
6983         * javax/swing/text/Segment.java
6984         (partialReturn): New field.
6985         (setPartialReturn): New method.
6986         (isPartialReturn): Likewise.
6987         * javax/swing/text/View.java
6988         (createFragment): Fixed typo.
6989         (getStartOffset): New method.
6990         (getEndOffset): Likewise.
6991
6992 2004-08-31  Michael Koch  <konqueror@gmx.de>
6993
6994         * javax/swing/table/DefaultTableColumnModel.java
6995         (serialVersionUID): Made private.
6996         (listenerList): Initialize.
6997         (changeEvent): Initialize.
6998         * javax/swing/table/JTableHeader.java
6999         (JTableHeader): New constructors.
7000         (createDefaultColumnModel): New method.
7001         * javax/swing/table/TableColumn.java
7002         (setHeaderRenderer): Simplified code.
7003         (setCellRenderer): Likewise.
7004         (setWidth): Likewise.
7005
7006 2004-08-31  Tom Tromey  <tromey@redhat.com>
7007
7008         * java/text/AttributedString.java (AttributedString): Use
7009         ArrayList to build array of attribute ranges.  Don't use
7010         `attribs' before it is set.
7011
7012 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
7013
7014         * HACKING: Remove reference to special automake. No longer needed.
7015
7016 2004-08-30  Tom Tromey  <tromey@redhat.com>
7017
7018         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
7019         return result from `add'.
7020
7021 2004-08-30  Tom Tromey  <tromey@redhat.com>
7022
7023         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
7024
7025 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
7026
7027         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
7028
7029 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
7030
7031         * java/io/File.java File(String,String): Fixed handling of empty
7032         path.
7033
7034 2004-08-30  Casey Marshall  <csm@gnu.org>
7035
7036         Author e-mail updated for all files.
7037         * gnu/java/security/OID.java (equals): Test if the aurgment is an
7038         instance of OID.
7039         (compareTo): Use `equals'.
7040         * gnu/java/security/der/BitString.java (equals): Test if the
7041         argument is an instance of BitString.
7042         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
7043         class final. Made fields private.
7044         (<init>): New constructor.
7045         (skip): New method.
7046         (makeString): Made static; don't use NIO.
7047         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
7048         * gnu/java/security/der/DERWriter.java: Fixed imports.
7049         (writeString): Don't use NIO.
7050         (toIso88591, toUtf16Be, toUtf8): New methods.
7051         * gnu/java/security/der/DERValue.java: Formatting changes only.
7052         * gnu/java/security/der/DER.java: Likewise.
7053
7054 2004-08-30  Tom Tromey  <tromey@redhat.com>
7055
7056         * java/nio/CharBuffer.java (put): Fix typo.
7057         * java/nio/DoubleBuffer.java (put): Fix typo.
7058         * java/nio/FloatBuffer.java (put): Fix typo.
7059         * java/nio/IntBuffer.java (put): Fix typo.
7060         * java/nio/LongBuffer.java (put): Fix typo.
7061         * java/nio/ShortBuffer.java (put): Fix typo.
7062
7063 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
7064
7065         * java/nio/ByteBuffer.java (put): Fix typo.
7066
7067 2004-08-30  Casey Marshall  <csm@gnu.org>
7068
7069         * java/security/DummyKeyPairGenerator.java (clone): Removed
7070         useless instanceof check.
7071         * java/security/DummyMessageDigest.java (clone): Likewise.
7072         * java/security/DummySignature.java (clone): Likewise.
7073         * java/security/MessageDigest.java (clone): Remove useless
7074         instanceof check.
7075         * java/security/MessageDigestSpi.java (clone): Likewise.
7076         * java/security/Signature.java (clone): Provide meaningful
7077         implementation.
7078         * java/security/SignatureSpi.java (clone): Likewise.
7079
7080 2004-08-29  Mark Wielaard  <mark@klomp.org>
7081
7082         * java/util/Arrays.java
7083         (sort(byte[], int, int)): Check fromIndex < 0.
7084         (sort(char[], int, int)): Likewise.
7085         (sort(short[], int, int)): Likewise.
7086         (sort(int[], int, int)): Likewise.
7087         (sort(long[], int, int)): Likewise.
7088         (sort(float[], int, int)): Likewise.
7089         (sort(double[], int, int)): Likewise.
7090         (sort(Object[], int, int, Comparator)): Likewise.
7091         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
7092         (qsort(char[], int, int)): Likewise.
7093         (qsort(short[], int, int)): Likewise.
7094         (qsort(int[], int, int)): Likewise.
7095         (qsort(long[], int, int)): Likewise.
7096         (qsort(float[], int, int)): Likewise.
7097         (qsort(double[], int, int)): Likewise.
7098
7099 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7100
7101         * java/util/AbstractCollection.java, java/util/AbstractList.java,
7102         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
7103         java/util/ArrayList.java, java/util/Arrays.java,
7104         java/util/BitSet.java, java/util/Calendar.java,
7105         java/util/Collection.java, java/util/ListIterator.java,
7106         java/util/Map.java, java/util/SortedSet.java:
7107         Added additional exceptions to documentation, along
7108         with some additions and corrections.
7109
7110 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
7111
7112         * configure.ac: Handle --enable-gc-debug.
7113         * configure: Regenerate.
7114         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
7115         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
7116         Rearrange include file order.
7117         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
7118         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
7119         (disable_gc_mutex): Delete along with all references.
7120         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
7121         adjust for debug header size.
7122         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
7123         debug case.
7124         (_Jv_AllocArray): Declare min_heap_addr only if needed.
7125         (gcj_describe_type_fn): New.
7126         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
7127         Register gcj_describe_type_fn.
7128         * include/boehm-gc.h:
7129         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
7130         Don't define, but declare, for debug case.
7131         * java/lang/natObject.cc:
7132         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
7133
7134 2004-08-26  Mark Wielaard  <mark@klomp.org>
7135
7136         Fixes PR libgcj/17002:
7137         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
7138         a TimeZoneId string and then try to convert that to a TimeZone with
7139         getDefaultSystemTimeZone(String).
7140         (timezones0): Changed type from Hashtable to HashMap.
7141         (timezones): Create HashMap, not Hashtable.
7142         (getDefaultTimeZone): New method, rewritten from CNI version.
7143         (readTimeZoneFile): New method.
7144         (readtzFile): Likewise.
7145         (skipFully): Likewise.
7146         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
7147         getDefaultTimeZoneId and rewritten.
7148         (getDefaultTimeZoneId): Rewritten in java.
7149
7150 2004-08-25  David Daney  <daney@avtrex.com>
7151
7152         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
7153         * Makefile.in: Regenerated.
7154
7155 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
7156
7157         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
7158         only if jvmpi is enabled.
7159         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
7160         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
7161         (_Jv_AllocString): Likewise.
7162         (_Jv_AllocPtrFreeObject): Likewise.
7163
7164 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
7165
7166         * defineclass.cc: Include <stdio.h>.
7167         * java/lang/natClassLoader.cc: Include <stdio.h>.
7168
7169 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
7170             Michael Koch  <konqueror@gmx.de>
7171
7172         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
7173         * Makefile.in: Regenerated.
7174
7175 2004-08-20  Michael Koch  <konqueror@gmx.de>
7176
7177         * configure.ac: Replaced all AC_TRY_COMPILE macros with
7178         AC_COMPILE_IFELSE macros.
7179
7180 2004-08-20  Michael Koch  <konqueror@gmx.de>
7181
7182         * configure.in: Renamed to configure.ac.
7183         * configure.ac: New file.
7184         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
7185         include/config.h.in, testsuite/Makefile.in: Regenerated.
7186
7187 2004-08-20  Michael Koch  <konqueror@gmx.de>
7188
7189         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
7190         * aclocal.m4, configure: Regenerated.
7191
7192 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
7193             Michael Koch  <konqueror@gmx.de>
7194
7195         * configure.in, Makefile.am: Ported to automake 1.9.
7196         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
7197         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
7198         Regenerated.
7199
7200 2004-08-19  Tom Tromey  <tromey@redhat.com>
7201
7202         * java/net/DatagramSocket.java: Fixed typo.
7203
7204 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
7205
7206         PR libgcj/17081
7207         * java/net/URI.java (string): New field. Make all other fields
7208         transient.
7209         (readObject): Implemented.
7210         (writeObject): Implemented.
7211         (URI): Set 'string'.
7212
7213 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
7214
7215         PR libgcj/17079
7216         * java/util/logging/Handler.java (isLoggable): Accept record if its
7217         log level equals the threshold level. From Robin Green.
7218
7219 2004-08-18  David Daney  <ddaney@avtrex.com>
7220
7221         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
7222         instead of sigwait.
7223
7224 2004-08-17  Michael Koch  <konqueror@gmx.de>
7225
7226         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
7227         * Makefile.in: Regenerated.
7228
7229 2004-08-16  Tom Tromey  <tromey@redhat.com>
7230
7231         PR java/8473:
7232         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
7233
7234 2004-08-16  Michael Koch  <konqueror@gmx.de>
7235
7236         * Makefile.am
7237         (math_c_files): Renamed from c_files.
7238         (math_c_source_files): Renamed from c_source_files.
7239         * Makefile.in,
7240         gcj/Makefile.in,
7241         include/Makefile.in,
7242         testsuite/Makefile.in: Regenerated.
7243
7244 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
7245
7246         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7247         to avoid autoconf warning.
7248         * configure: Rebuilt.
7249
7250 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
7251
7252         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
7253         localhostAddress to loopbackAddress.
7254         * java/net/natInetAddressWin32.cc (lookup): Likewise.
7255
7256 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7257
7258         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
7259         boehm-gc's include dirs.
7260         * configure: Rebuilt.
7261         * include/boehm-gc.h: Include gc_config.h.
7262
7263 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7264
7265         * java/net/InetAddress.java (loopbackAddress): Renamed from
7266         localhostAddress.
7267         (getByName): Return loopback address for null hostname, without
7268         security check. Use lookup(), not getAllByName.
7269         (getAllByName): Return loopback address for null hostname, without
7270         security check.
7271         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7272         check here.
7273
7274 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7275
7276         PR libgcj/17020
7277         Reported by Robin Green.
7278         * defineclass.cc (handleField): Don't throw exception on unrecognised
7279         modifier. Add FIXME comments for spec compliance.
7280         (handleMethod): Likewise.
7281
7282 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
7283
7284         PR libgcj/16662
7285         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7286         (Almost everywhere): add LOG calls, fix, add comments.
7287         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7288         Add explicit check for LOCKED bit in slow case (PR 16662).
7289         (_Jv_MonitorExit): Add casts in debug-only code.
7290         Always release LOCKED bit before throwing exception.
7291         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7292         isn't.  Handle easy cases without lock acquisition.
7293         (Object::wait): Use NotifyAll for lock inflation.
7294
7295 2004-08-12  David Daney  <ddaney@avtrex.com>
7296
7297         * testsuite/libjava.lang/Process_1.java: New test.
7298         * testsuite/libjava.lang/Process_2.java: New test.
7299         * testsuite/libjava.lang/Process_3.java: New test.
7300         * testsuite/libjava.lang/Process_4.java: New test.
7301         * testsuite/libjava.lang/Process_5.java: New test.
7302         * testsuite/libjava.lang/Process_6.java: New test.
7303         * testsuite/libjava.lang/Process_1.out: Expected result.
7304         * testsuite/libjava.lang/Process_2.out: Expected result.
7305         * testsuite/libjava.lang/Process_3.out: Expected result.
7306         * testsuite/libjava.lang/Process_4.out: Expected result.
7307         * testsuite/libjava.lang/Process_5.out: Expected result.
7308         * testsuite/libjava.lang/Process_6.out: Expected result.
7309
7310 2004-08-12  David Daney  <ddaney@avtrex.com>
7311
7312         PR libgcj/11801
7313         * java/lang/PosixProcess.java: Rewrote.
7314         * java/lang/natPosixProcess.cc: Rewrote.
7315         * java/lang/Runtime.java (execInternal): Declare throws IOException.
7316         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7317         * posix-threads.cc (block_sigchld) New function.
7318         (_Jv_ThreadRegister) Use it.
7319         (_Jv_ThreadStart) Use it.
7320         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7321         * Makefile.am: ... to specify extra native headers.
7322         * configure: Regenerated.
7323         * include/config.h: Regenerated.
7324         * Makefile.in: Regenerated.
7325         * gcj/Makefile.in: Regenerated.
7326         * include/Makefile.in: Regenerated.
7327         * testsuite/Makefile.in: Regenerated.
7328
7329 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
7330
7331         PR tree-optimization/16867
7332         * testsuite/libjava.lang/PR16867.java: New test.
7333
7334 2004-08-09  Per Bothner  <per@bothner.com>
7335
7336         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7337         with private fields and access methods.
7338         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7339         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7340         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7341         ( _Jv_makeUtf8Const): Rewrite using new constructors.
7342         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7343         * defineclass.cc: Use new _Utf8Const access/convenience methods.
7344         * jni.cc: Likewise.
7345         * resolve.cc: Likewise.
7346         * gcj/field.h: Likewise.
7347         * include/jvm.h: Likewise.
7348         * java/lang/Class.h: Likewise.
7349         * java/lang/natClass.cc: Likwise.
7350         * java/lang/natClassLoader.cc: Likewise
7351         * java/lang/reflect/natMethod.cc: Likewise
7352         * verify.cc: Likewise.
7353         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
7354         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
7355
7356 2004-08-10  Andrew Haley  <aph@redhat.com>
7357
7358         * testsuite/libjava.lang/err14.java: New file.
7359         * testsuite/libjava.lang/err14.out: New file.
7360
7361 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
7362
7363         * Makefile.am: Fix missing rename from x_nat_headers to
7364         xlib_nat_headers.
7365         * Makefile.in: Regenerated.
7366
7367 2004-08-04  Andrew Haley  <aph@redhat.com>
7368
7369         * java/security/BasicPermission.java: Don't check wildcards.
7370
7371 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
7372             Michael Koch  <konqueror@gmx.de>
7373
7374         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7375         * configure.in: Replaced all usages of AC_LINK_FILES by
7376         AC_CONFIG_LINKS.
7377         * aclocal.m4,
7378         configure: Regenerated.
7379
7380 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
7381             Michael Koch  <konqueror@gmx.de>
7382
7383         * acconfig.h: Removed.
7384         * Makefile.am: Rename variables for xlib peer to include xlib and
7385         gtk_c_headers to gtk_jni_headers.
7386         * Makefile.in: Regenerated.
7387
7388 2004-08-04  Andrew Haley  <aph@redhat.com>
7389
7390         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7391         debugging.
7392
7393 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
7394
7395         * configure.in: Eliminate uses of changequote (mostly by quoting []).
7396         Replace most top level 'dnl' comments with '#' comments, conforming
7397         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
7398         help strings.
7399         * configure: Rebuilt.
7400
7401 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
7402
7403         * acinclude.m4: Include no-executables.m4.
7404         * aclocal.m4: Rebuild.
7405         * configure.in: Convert to the autoconf 2.59 version of
7406         of the no-executables hack, and also of the nonstandard CXX
7407         hack and the multilibbed CC and CXX hack.  Change prerequisite
7408         to autoconf 2.59.
7409         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
7410         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7411         testsuite/Makefile.in: Regenerate.
7412
7413 2004-08-03  Tom Tromey  <tromey@redhat.com>
7414
7415         * jni.cc: Reindented.
7416
7417 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7418
7419         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7420
7421 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7422
7423         * testsuite/libjava.compile/PR16701.java: New test.
7424
7425 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7426
7427         * java/util/Collection.java, java/util/List.java,
7428         java/util/Map.java, java/util/Set.java,
7429         java/util/SortedMap.java, java/util/SortedSet.java:
7430         Added additional exceptions to documentation.
7431
7432 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
7433
7434         PR libgcj/16814
7435         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7436         * configure. Regenerate.
7437         * include/win32.h: Explicitly include winsock2.h
7438         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7439         Winsock api.
7440
7441 2004-07-30  Michael Koch  <konqueror@gmx.de>
7442
7443         * java/util/zip/GZIPInputStream.java
7444         (GZIPInputStream): Increase buffer size to 4k.
7445         * java/util/zip/GZIPOutputStream.java
7446         (GZIPOutputStream): Likewise.
7447         * java/util/zip/Inflater.java
7448         (setInput): Merged formating with GNU classpath.
7449         * java/util/zip/InflaterInputStream.java
7450         (InflaterInputStream): Increase buffer size to 4k.
7451         (fill): Throw exception if stream ends early.
7452         (read): Merged endless-loop with GNU classpath.
7453         (skip): Increase buffer size to 2k.
7454
7455 2004-07-30  Michael Koch  <konqueror@gmx.de>
7456
7457         * gnu/java/awt/EmbeddedWindow.java
7458         (addNotify): Use AccessController to allow execution of privileged
7459         code.
7460
7461 2004-07-29  Michael Koch  <konqueror@gmx.de>
7462
7463         * gnu/java/lang/MainThread.java:
7464         Explicitely import used classes.
7465         (args): Make it type String[].
7466
7467 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7468
7469         * gnu/java/awt/ComponentDataBlitOp.java,
7470         gnu/java/beans/ExplicitBeanInfo.java,
7471         gnu/java/beans/IntrospectionIncubator.java,
7472         gnu/java/beans/editors/ColorEditor.java,
7473         gnu/java/beans/editors/FontEditor.java,
7474         gnu/java/beans/editors/NativeBooleanEditor.java,
7475         gnu/java/beans/editors/NativeByteEditor.java,
7476         gnu/java/beans/editors/NativeDoubleEditor.java,
7477         gnu/java/beans/editors/NativeFloatEditor.java,
7478         gnu/java/beans/editors/NativeIntEditor.java,
7479         gnu/java/beans/editors/NativeLongEditor.java,
7480         gnu/java/beans/editors/NativeShortEditor.java,
7481         gnu/java/beans/editors/StringEditor.java,
7482         gnu/java/io/ClassLoaderObjectInputStream.java,
7483         gnu/java/io/decode/Decoder.java,
7484         gnu/java/io/encode/Encoder.java,
7485         gnu/java/lang/ClassHelper.java,
7486         gnu/java/locale/Calendar.java,
7487         gnu/java/locale/Calendar_de.java,
7488         gnu/java/locale/Calendar_en.java,
7489         gnu/java/locale/Calendar_nl.java,
7490         gnu/java/locale/LocaleInformation_de.java,
7491         gnu/java/locale/LocaleInformation_en.java,
7492         gnu/java/locale/LocaleInformation_nl.java:
7493         Cleaned up imports.
7494
7495 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7496
7497         * README: Remove obsolete info. Update bug URL.
7498         * THANKS: Updated.
7499         * NEWS: Updated with news up to GCC 3.4 release.
7500
7501 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7502
7503         * gnu/java/security/action/GetPropertyAction.java (setParameters):
7504         Renamed from 'setName'. New 2-argument form with default value.
7505         (run): Pass default 'value' parameter to System.getProperty().
7506         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7507         typos.
7508         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7509         not 'setName'.
7510
7511 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7512
7513         * configure.in: Check for minimum GTK version 2.4 requirement.
7514         * configure: Rebuilt.
7515
7516 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7517
7518         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7519         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7520         Reduce sleep time.
7521         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7522         compiler bug.
7523         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
7524         address. Reduce sleep times. Synchronize with target threads before
7525         attempting to interrupt them. Don't try to calibrate yeild count,
7526         instead, always loop for a fixed time.
7527         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7528         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7529         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7530         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7531         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7532         * testsuite/libjava.lang/pr179.java: Likewise.
7533         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7534         time. Remove upper bounds check on sleep time.
7535
7536 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7537
7538         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7539         * testsuite/libjava.lang/Thread_HoldsLock.out: New.
7540
7541 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7542
7543         * java/io/File.java (toURI): Throw RuntimeException, not
7544         InternalError.
7545         * java/lang/Runtime.java (exit): Qualify static sleep() call with
7546         class name, not instance.
7547
7548 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
7549
7550         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7551         and gnu/java/security/action/SetAccessibleAction.java.
7552         * Makefile.in: Rebuilt.
7553
7554 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7555
7556         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7557         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7558         _Jv_InitPrimClass.
7559         (DECLARE_PRIM_TYPE): Don't declare array vtables.
7560         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7561         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7562
7563 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7564
7565         * Makefile.am: Replace jar, rmic and rmiregistry references with
7566         gjar, grmic and grmiregistry.
7567         * configure.in: Likewise.
7568         * Makefile.in: Regenerate.
7569         * configure: Likewise.
7570         * gcj/Makefile.in: Likewise.
7571         * include/Makefile.in: Likewise.
7572         * testsuite/Makefile.in: Likewise.
7573
7574 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7575
7576         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7577         for privileged getProperty calls.
7578         * java/io/ObjectOutputStream.java (getField): No longer static. Use
7579         SetAccessibleAction instead of anonymous class for doPrivileged call.
7580         (getMethod): Likewise.
7581         (setAccessible): New field. PrivilegedAction object to use when
7582         calling setAccessible.
7583         * java/io/ObjectStreamClass.java (calculateOffsets): Use
7584         SetAccessibleAction instead of anonymous class for diPrivileged call.
7585         (setFields): Likewise.
7586         (getClassUID): Likewise.
7587         (findMethod): Likewise.
7588         * gnu/java/security/action/GetPropertyAction.java: New class.
7589         * gnu/java/security/action/SetAccessibleAction.java: New class.
7590
7591 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7592
7593         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7594         for final fields.
7595         * testsuite/libjava.lang/Serialization.java: New test.
7596         * testsuite/libjava.lang/Serialization.out: New.
7597
7598 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7599
7600         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7601         missed in last commit.
7602
7603 2004-07-23  Mark Wielaard  <mark@klomp.org>
7604
7605         * java/lang/System.java (static): Set http.agent system property when
7606         not yet set.
7607         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7608         from system property inside AccessController.doPrivileged() call.
7609         (proxyPort): Made package private.
7610         (proxyInUse): Likewise.
7611         (proxyHost): Likewise.
7612         (userAgent): Likewise.
7613
7614 2004-07-23  Mark Wielaard  <mark@klomp.org>
7615
7616         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7617         implementation.
7618
7619 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
7620
7621         * Makefile.am (ordinary_java_source_files): Add
7622         DefaultContentHandlerFactory.java.
7623         * Makefile.in: Rebuilt.
7624         * java/net/URLConnection.java (defaultFactory): New field.
7625         (getContent):
7626         (getContentHandler): Renamed from 'setContentHandler'. Try
7627         defaultFactory after user-set factory, if any. Search for content
7628         handler implementations in gnu.java.net.content, not gnu.gcj.content.
7629         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7630         Implemented.
7631         (getLastModified): Implemented.
7632         (getPermission): Create file permission here, instead of in
7633         constructor.
7634         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7635         Implemented.
7636         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7637         Implemented.
7638         (getLastModified): Implemented.
7639         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7640         Default implementation.
7641         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7642         Implement using GdkPixbufDecoder.
7643
7644 2004-07-21  Michael Koch  <konqueror@gmx.de>
7645
7646         * javax/swing/JTextArea.java
7647         (setLineWrap): Fire property change event after new value is set.
7648         (setTabSize): Likewise.
7649
7650 2004-07-21  Michael Koch  <konqueror@gmx.de>
7651
7652         * javax/swing/JTable.java
7653         (autoCreateColumnsFromModel): New field.
7654         (autoResizeMode): Likewise.
7655         (cellEditor): Likewise.
7656         (cellSelectionEnabled): Likewise.
7657         (columnModel): Likewise.
7658         (dataModel): Likewise.
7659         (defaultEditorsByColumnClass): Likewise.
7660         (defaultRenderersByColumnClass): Likewise.
7661         (editingColumn): Likewise.
7662         (editingRow): Likewise.
7663         (gridColor): Likewise.
7664         (preferredViewportSize): Likewise.
7665         (rowHeight): Likewise.
7666         (rowMargin): Likewise.
7667         (rowSelectionAllowed): Likewise.
7668         (selectionBackground): Likewise.
7669         (selectionForeground): Likewise.
7670         (selectionModel): Likewise.
7671         (showHorizontalLines): Likewise.
7672         (showVerticalLines): Likewise.
7673         (tableHeader): Likewise.
7674         (JTable): Implemented.
7675         (getColumnModel): Likewise.
7676         (getSelectedRow): Likewise.
7677         (getSelectionModel): Likewise.
7678         (setModel): Likewise.
7679         (setSelectionModel): Likewise.
7680         (createScrollPaneForTable): New method.
7681         (createDefaultDataModel): Likewise.
7682         (createDefaultListSelectionModel): Likewise.
7683         (getModel): Likewise.
7684         (getTableHeader): Likewise.
7685         (setTableHeader): Likewise.
7686         (getColumnSelectionAllowed): Likewise.
7687         (setColumnSelectionAllowed): Likewise.
7688         (getRowSelectionAllowed): Likewise.
7689         (setRowSelectionAllowed): Likewise.
7690         (getAutoResizeMode): Likewise.
7691         (setAutoResizeMode): Likewise.
7692         (getColumnCount): Likewise.
7693         (getRowCount): Likewise.
7694         (getCellRenderer): Likewise.
7695         * javax/swing/JTree.java
7696         (cellRenderer): New field.
7697         (editable): Likewise.
7698         (rootVisible): Likewise.
7699         (showsRootHandles): Likewise.
7700         (getModel): New method.
7701         (setModel): Likewise.
7702         (isEditable): Likewise.
7703         (setEditable): Likewise.
7704         (isRootVisbile): Likewise.
7705         (setRootVisible): Likewise.
7706         (getShowsRootHandles): Likewise.
7707         (setShowRootHandles): Likewise.
7708         (getCellRenderer): Likewise.
7709         (setCellRenderer): Likewise.
7710
7711 2004-07-21  Michael Koch  <konqueror@gmx.de>
7712
7713         * javax/swing/JFormattedTextField.java
7714         (setDocument): Implemented.
7715         * javax/swing/JRootPane.java:
7716         Fixed javadocs.
7717         * javax/swing/JTable.java
7718         (getDefaultRenderer): New method.
7719         * javax/swing/JTextField.java
7720         (setFont): Likewise.
7721         (getPreferredSize): Likewise.
7722         * javax/swing/JToggleButton.java
7723         (getAccessibleContext): Fix javadoc.
7724         * javax/swing/JTree.java:
7725         Add some javadocs.
7726         * javax/swing/JViewport.java:
7727         Likewise.
7728
7729 2004-07-21  David Jee  <djee@redhat.com>
7730
7731         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7732         Collect all native method declaration at the top.
7733         (create): Set the filename filter if necessary.
7734         (setDirectory): Call nativeSetDirectory().
7735         (setFilenameFilter): Implement.
7736         (filenameFilterCallback): New method.
7737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7738         (create): Configure dialog to show hidden files.
7739         (filenameFilterCallback): New function.
7740         (nativeSetFilenameFilter): New function.
7741         (nativeSetDirectory): New function.
7742
7743 2004-07-21  Kim Ho  <kho@redhat.com>
7744
7745         * javax/swing/plaf/basic/BasicSliderUI.java:
7746         Ran Jalopy.
7747         (paintTrack): Fill the track before painting
7748         the borders.
7749
7750 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7751
7752         patch from Roman Kennke <roman@ontographics.com>
7753         * javax/swing/Spring.java: New file.
7754         * javax/swing/SpringLayout.java: New file.
7755         * Makefile.am: Add new files.
7756         * Makefile.in: Regenerate.
7757
7758 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7759
7760         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7761         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7762         * javax/swing/ScrollPaneLayout.java: Likewise.
7763
7764 2004-07-21  Kim Ho  <kho@redhat.com>
7765
7766         * javax/swing/DefaultDesktopManager.java:
7767         (findMinimum): Removed.
7768         (resizeFrame): Trust the UI to pass valid
7769         bounds.
7770         * javax/swing/JOptionPane.java:
7771         Implemented showInternalXXXDialog methods.
7772         (startModal): New method.
7773         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7774         (BorderListener::mouseDragged): Verify that the new
7775         bounds are valid before passing them to the DesktopManager.
7776         (preferredLayoutSize): Delegate
7777         to getSize.
7778         (minimumLayoutSize): Ditto.
7779         (getSize): New method.
7780         (GlassPaneDispatcher): Reimplemented by copying
7781         a stripped down LightweightDispatcher from Container.
7782         (getMinimumSize): Call minimumLayoutSize.
7783         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7784         Ran Jalopy.
7785         (mousePressed): Add ability to properly close
7786         JInternalFrames.
7787         * javax/swing/plaf/basic/BasicToolBarUI.java:
7788         (DragWindow): Set owner for DragWindow.
7789
7790 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7791
7792         * java/awt/image/ShortLookupTable.java: New file.
7793         * java/awt/image/ByteLookupTable.java: New file.
7794         * Makefile.am: Added new files.
7795         * Makefile.in: Regenerated.
7796
7797 2004-07-21  David Jee  <djee@redhat.com>
7798
7799         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7800         (create(GtkContainerPeer)): New native method.
7801         (create()): Call native create(), passing in the parent frame
7802         as the paramter. Natively set the current file and directory.
7803         (setFile): Construct an absolute filename before passing it to
7804         the native peer.
7805         (nativeGetDirectory): New method.
7806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7807         (window_closed): Removed.
7808         (ok_clicked): Likewise.
7809         (cancel_clicked): Likewise.
7810         (handle_response): New method.
7811         (create): Use GtkFileChooserDialog.
7812         (connectSignals): Connect to handle_response.
7813         (nativeGetDirectory): New method.
7814         (nativeSetFile): Use GtkFileChooserDialog.
7815
7816 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7817
7818         * java/awt/image/LookupTable.java: New file.
7819         * Makefile.am: Added new file.
7820         * Makefile.in: Regenerated.
7821
7822 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7823
7824         * java/awt/image/Kernel.java: New file.
7825         * Makefile.am: Added new file.
7826         * Makefile.in: Regenerated.
7827
7828 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7829
7830         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7831         * javax/swing/JMenu.java: Likewise.
7832         * javax/swing/JMenuBar.java: Likewise.
7833         (MARGIN_CHANGED_PROPERTY): New property.
7834         (setMargin): Implemented.
7835         * javax/swing/JMenuItem.java: Fixed javadocs.
7836         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7837         (LABEL_CHANGED_PROPERTY): New property.
7838         (add): changed to use createActionComponent.
7839         (createActionComponent): Implemented.
7840         (setLabel): Fire PropertyChangeEvent if label property
7841         changes.
7842         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7843         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7844         (ContainerHandler): Repaint if margin property has changed.
7845         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7846         (installUI): Call installComponents().
7847         (uninstallUI): Call uinstallComponents().
7848         * javax/swing/plaf/basic/BasicMenuUI.java:
7849         Fixed javadocs.
7850         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7851         Likewise.
7852
7853 2004-07-21  Kim Ho  <kho@redhat.com>
7854
7855         * javax/swing/plaf/basic/BasicToolBarUI.java:
7856         (DragWindow): Use the right constructor.
7857
7858 2004-07-21  Kim Ho  <kho@redhat.com>
7859
7860         * javax/swing/JToolBar.java:
7861         (layoutContainer): Use getComponents.
7862         * javax/swing/plaf/basic/BasicToolBarUI.java:
7863         (DragWindow): Don't use SwingUtilities'
7864         getOwnerFrame
7865         (ToolBarDialog): ditto.
7866
7867 2004-07-21  Kim Ho  <kho@redhat.com>
7868
7869         * javax/swing/JRootPane.java:
7870         Ran jalopy.
7871         (layoutContainer): Set the glasspane's size to
7872         be the same as the content pane.
7873         (createGlassPane): Set opaque property to false.
7874
7875 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7876
7877         * java/awt/Component.java (requestFocus()): Don't handle Panels
7878         specially.
7879         (requestFocus(boolean)): Likewise.
7880         (requestFocusInWindow(boolean)): Likewise.
7881         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7882         Set GTK_CAN_FOCUS flag.
7883
7884 2004-07-21  Kim Ho  <kho@redhat.com>
7885
7886         * Makefile.am: Added new file.
7887         * Makefile.in: Regenerated.
7888         * gcj/Makefile.in: Regenerated.
7889         * include/Makefile.in: Regenerated.
7890         * javax/swing/AbstractButton.java:
7891         Add rollOverEnabled property.
7892         (setRolloverEnabled): Use new property.
7893         (isRolloverEnabled): Use new property.
7894         * javax/swing/JTabbedPane.java:
7895         (setComponent): Remove useless JTabbedPane.this.
7896         * javax/swing/JToolBar.java: Finish implementation.
7897         * javax/swing/plaf/basic/BasicArrowButton.java:
7898         (paint): Moved border painting to a border.
7899         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7900         Change JToolBar look and feel defaults.
7901         * javax/swing/plaf/basic/BasicOptionPaneUI.java
7902         (actionPerformed): Return Integer index instead of name.
7903         (addButtonComponents): Check to see if component is
7904         JButton last.
7905         (createMessageArea): Don't use components that are not
7906         completed yet.
7907         (getIconForType): Use temporary icons.
7908         * javax/swing/plaf/basic/BasicSliderUI.java:
7909         (mousePressed): Do not return if it's on thumb.
7910         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7911         (paintMinorTickForVertSlider): ditto.
7912         (paintMajorTickForHorizSlider): ditto.
7913         (paintMajorTickForVertSlider): ditto.
7914         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7915         Add a border around the SplitPaneDivider.
7916         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7917         Remove comments.
7918         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7919         New file. Implemented.
7920         * javax/swing/plaf/basic/BasicToolBarUI.java:
7921         Implemented.
7922         * testsuite/Makefile.in: Regenerated.
7923
7924 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7925
7926         * javax/swing/Timer.java (run): Queue events each time cycle.
7927
7928 2004-07-21  David Jee  <djee@redhat.com>
7929
7930         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7931         (imageComplete): Call image.imageComplete().
7932         * java/awt/image/MemoryImageSource.java:
7933         Reimplement consumers as a Vector instead of a Hashtable.  This is
7934         because enumeration on a Hashtable is not thread-safe.
7935         (addConsumer): Adapt to Vector consumers.
7936         (isConsumer): Adapt to Vector consumers.
7937         (removeConsumer): Adapt to Vector consumers.
7938         (startProduction): Adapt to Vector consumers. Call imageComplete()
7939         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7940         (newPixels): Adapt to Vector consumers.
7941         (sendPicture): Set the color model of the image consumer.
7942         (newPixels(IIII)): Adapt to Vector consumers.
7943         (newPixels(IIIIB)): Adapt to Vector consumers.
7944
7945 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7946
7947         * java/awt/Component.java (deliverEvent): Implement.
7948         (postEvent): Implement.
7949         (handleEvent): Implement.
7950         (translateEvent): New method.
7951         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
7952         * java/awt/Container.java (deliverEvent): Implement.
7953         * java/awt/Event.java (paramString): Fix formatting.
7954         * java/awt/Font.java (toString): Likewise.
7955         * java/awt/Window.java (postEvent): Implement.
7956
7957 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7958
7959         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7960         Set window's focus owner upon receiving a FOCUS_LOST event.
7961         * java/awt/Window.java (Window()): Refocus the previously
7962         focused component within the window when the window regains the
7963         top-level focus.
7964         (setFocusOwner): New method.
7965         * java/awt/Component.java (requestFocus): Add FIXME.
7966
7967         * libgcj.pc.in: Remove library flags.
7968
7969 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7970
7971         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7972         MOUSE_PRESSED event.
7973         * java/awt/Component.java (requestFocus()): Handle Panel
7974         specially.  Post FOCUS_LOST event on opposite component.
7975         (requestFocus(boolean)): Likewise.
7976         (requestFocusInWindow(boolean)): Likewise.
7977         (paramString): Reorder dimension fields.
7978         * java/awt/Container.java (paramString): Fix string format.
7979         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7980         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
7981         process key events if the focus owner is non-null.
7982         (dispatchKeyEvent): Likewise.
7983         * java/awt/Frame.java (paramString): Fix formatting.
7984         (generateName): New method.
7985         (getUniqueLong): Likewise.
7986         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7987         the temporary focus owner is null.  If so, return the permanent
7988         focus owner.
7989         * java/awt/Panel.java (generateName): New method.
7990         (getUniqueLong): Likewise.
7991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
7992         signal handling to make callbacks more specific.
7993
7994 2004-07-21  Michael Koch  <konqueror@gmx.de>
7995
7996         * javax/swing/text/Position.java
7997         (Bias): Implemented.
7998
7999 2004-07-21  Michael Koch  <konqueror@gmx.de>
8000
8001         * javax/swing/LookAndFeel.java
8002         (provideErrorFeedback): New method.
8003
8004 2004-07-21  Michael Koch  <konqueror@gmx.de>
8005
8006         * javax/swing/JTextArea.java
8007         (tabSize): New field.
8008         (getTabSize): New method.
8009         (setTabSize): Likewise.
8010
8011 2004-07-21  Michael Koch  <konqueror@gmx.de>
8012
8013         * javax/swing/ActionMap.java:
8014         Fixed javadocs all over.
8015         (serialVersionUID): Made private.
8016         (parent): Don't explicitely initialize with default value.
8017         (get): SImplified.
8018         (keys): Reimplemented.
8019         (allKeys): Likewise.
8020         (convertSet): Removed.
8021         * javax/swing/ComponentInputMap.java:
8022         Fixed javadocs all over.
8023         (ComponentInputMap): Implemented.
8024         (put): Likewise.
8025         (clear): Likewise.
8026         (remove): Likewise.
8027         (SetParent): Likewise.
8028         (getComponent): Likewise.
8029         * javax/swing/InputMap.java:
8030         Fixed javadocs all over.
8031         (serialVersionUID): Made private.
8032         (parent): Don't explicitely initialize with default value.
8033         (get): SImplified.
8034         (keys): Reimplemented.
8035         (allKeys): Likewise.
8036         (convertSet): Removed.
8037
8038 2004-07-21  Michael Koch  <konqueror@gmx.de>
8039
8040         * javax/swing/ActionMap.java,
8041         javax/swing/ComponentInputMap.java,
8042         javax/swing/InputMap.java,
8043         javax/swing/table/DefaultTableColumnModel.java,
8044         javax/swing/table/TableColumn.java,
8045         javax/swing/table/TableColumnModel.java,
8046         javax/swing/table/TableModel.java,
8047         javax/swing/text/AbstractDocument.java,
8048         javax/swing/text/TextAction.java:
8049         Reformated.
8050
8051 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8052
8053         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
8054         Make method non-static.
8055         * javax/swing/AbstractButton.java:
8056         Rename fields to match property names where possible.
8057         (iconTextGap): New property.
8058         * javax/swing/JCheckBox.java: Match AbstractButton changes.
8059         (init) New method, call from after various constructors.
8060         * javax/swing/JComponent.java (revalidate):
8061         Invalidate before queueing repair.
8062         * javax/swing/JList.java (getPreferredScrollableViewportSize):
8063         Reimplement in terms of visibleRowCount property.
8064         * javax/swing/JMenuButton.java: Match AbstractButton changes.
8065         * javax/swing/JScrollPane.java (createScrollListener):
8066         Remove tracing chatter.
8067         * javax/swing/JToggleButton.java: Match AbstractButton changes.
8068         * javax/swing/RepaintManager.java (addInvalidComponent):
8069         Don't invalidate.
8070         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
8071         calculations.
8072         * javax/swing/SwingUtilities.java (layoutCompoundLabel):
8073         Mimic sun behavior on top left/right positioning.
8074         * javax/swing/ViewportLayout.java (preferredLayoutSize):
8075         Remove mistaken use of preferredScrollableViewportSize here.
8076         (layoutContainer): Use view's preferred size as basis.
8077         * javax/swing/plaf/basic/BasicButtonUI.java:
8078         Set, get, and use textIconGap property.
8079         (paint) Paint text returned from layout (with ellipsis).
8080         * javax/swing/plaf/basic/BasicListUI.java:
8081         Remove tracing chatter, correct various minor calculations.
8082         (getCellBounds): Update layout state before calculating.
8083         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
8084         Use margin default similar to sun's.
8085         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
8086         (createIncreaseIcon): Center icon, minimize margins.
8087         (createDecreaseIcon): Likewise.
8088         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
8089         Implement.
8090         (installUI): Call it.
8091         (uninstallDefaults): Implement.
8092         (uninstallUI): Call it.
8093         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
8094         Call existing Window constructor.
8095         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
8096         Set clip before painting.
8097
8098 2004-07-21  Olga Rodimina <rodimina@redhat.com>
8099
8100         * javax/swing/JMenuItem.java:
8101         (processMouseEvent): Reimplemented to deal with
8102         mouse drag events.
8103         (createMenuDragMouseEvent): New private helper method.
8104         Creates MenuDragMouseEvent.
8105         * javax/swing/MenuSelectionManager.java
8106         (componentForPoint): Implemented.
8107         (isComponentPartOfCurrentMenu): Made public.
8108         (processMouseEvent): Reimplemented to deal with
8109         mouse drag events.
8110         (setSelectedPath): Corrected small mistake that caused
8111         path to be set incorrectly.
8112         (getPath): If given component is JMenu then also add this
8113         menu's popup menu to the selected path.
8114         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8115         (getPath): Ditto.
8116         (getPreferredSize): Call getPreferredMenuItemSize().
8117         (getPreferredItemSize): Moved code from getPreferredSize to here.
8118         (installListeners): Install MouseMotionListeners.
8119         (MouseInputHandler): Pass mouse release event to MenuSelectionManager
8120         if mouse wasn't released in the bounds of this menu item.
8121         (MenuDragMouseHandler): Implemented.
8122         * javax/swing/plaf/basic/BasicMenuUI.java:
8123         (installListeners): Install MouseMotionListener and
8124         MenuDrageMouseListener.
8125         (MenuDragMouseHandler): Implemented.
8126         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8127         (uninstallListeners): Implemented.
8128
8129 2004-07-21  Michael Koch  <konqueror@gmx.de>
8130
8131         * javax/swing/JCheckBox.java: Reformated.
8132         (JCheckBox): Fixed all constructors.
8133         (isBorderPaintedFlat): New method.
8134         (setBorderPaintedFlat): New method.
8135         * javax/swing/JEditorPane.java
8136         (createEditorKitForContentType): Made public.
8137         (scrollToReference): Likewise.
8138         * javax/swing/JTextArea.java
8139         (setLineWrap): Fire property change.
8140         * javax/swing/JToggleButton.java
8141         (JToggleButton): New constructor.
8142         (JToggleButton): Simplified.
8143         * javax/swing/text/AttributeSet.java
8144         (FontAttribute): Renamed from FontCharacterAttribute.
8145         * javax/swing/text/JTextComponent.java
8146         (KeyBinBinding): Added javadoc.
8147         (JTextComponent): Likewise.
8148         (getAccessibleContext): Fixed javadoc.
8149         * javax/swing/text/View.java
8150         (View): Added javadoc.
8151         * javax/swing/text/TabableView.java: New file.
8152         * Makefile.am: Added javax/swing/text/TabableView.java.
8153         * Makefile.in: Regenerated.
8154
8155 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8156
8157         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
8158         * gnu/java/awt/peer/gtk/GtkToolkit.java
8159         (GtkErrorImage): New helper class.
8160         (bufferedImageOrError): New helper method.
8161         (createImage): Use it.
8162
8163 2004-07-21  David Jee  <djee@redhat.com>
8164
8165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
8166         (setCaretPosition): Scroll the text view so the new caret position
8167         is visible on screen.
8168
8169 2004-07-21  David Jee  <djee@redhat.com>
8170
8171         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8172         (setBounds): Do not validate awtComponent here.
8173         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
8174         (getPreferredSize): New method.
8175         * java/awt/ScrollPane.java
8176         (ScrollPane): Set default size to 100x100.
8177         (addNotify): If child is not a Panel, wrap it with a new Panel.
8178         (paramString): Implement.
8179
8180 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8181
8182         * javax/swing/JMenu.java:
8183         (setSelected): Display popup menu only if this menu
8184         is showing on the screen.
8185         * javax/swing/JPopupMenu.java:
8186         (processMouseEvent): Added comment.
8187         (processKeyEvent): Likewise.
8188         * javax/swing/MenuSelectionManager.java:
8189         (clearSelectedPath): Only fireStateChanged() after
8190         selected path was changed, not before.
8191         (setSelectedPath): Likewise.
8192         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8193         (paintMenuItem): Corrected position of menu item's
8194         icon.
8195         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8196         (installUI): Correct setDefaultLightWeightPopupEnabled call.
8197         (popupMenuCanceled): Reimplemented.
8198         (popupMenuWillBecomeVisible): Select first menu item by default
8199         when displaying free floating popup menus.
8200         (TopWindowListener): Reimplemented.
8201
8202 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8203
8204         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
8205         Panel from being painted twice when it is first shown.
8206
8207 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8208
8209         * java/awt/Window.java: Reverted changes from my
8210         previous patch for creating window without an owner.
8211         * javax/swing/SwingUtilities.java:
8212         (SwingUtilities.OwnerFrame): made static.
8213         (OwnerFrame.setVisible): New method. Overridden with
8214         empty implementation.
8215         (OwnerFrame.isShowing): New method. Ovverridden
8216         to return always true.
8217
8218 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8219
8220         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8221         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8222         (GtkComponentPeer): Remove temporary try/catch block.
8223         (setVisible): Call show and hide.
8224         (show): Make native.
8225         (hide): Likewise.
8226         (getArgs): Don't add "visible" argument.
8227         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8228         (property_notify_predicate): Return Bool instead of int.
8229         (find_layout): New function.
8230         (connectJObject): Call find_layout.
8231         (connectSignals): Likewise.
8232         (moveLayout): Likewise.
8233         (gtkLayoutSetVisible): Likewise.
8234
8235 2004-07-21  Mark Wielaard  <mark@klomp.org>
8236
8237         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8238         on notifier object before calling notifyAll().
8239
8240 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8241
8242         * java/awt/Window.java: Changed constructors to use new
8243         method that is described below. Constructors call this
8244         methods only if newly created window should have an owner.
8245         (setWindowOwner): New method. Implementation for
8246         this method is moved from this(owner,configuration).
8247         * javax/swing/JWindow.java:
8248         (JWindow): Reimplement to use SwingUtilities.ownerFrame
8249         instead of owner.
8250         * javax/swing/SwingUtilities.java:
8251         (ownerFrame): Change type of this field to OwnerFrame.
8252         (getOwnerFrame): Changed to return object of type OwnerFrame.
8253         (SwingUtilities.OwnerFrame): New class. Represents owner
8254         of a Window that is not provided with one.
8255
8256 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8257
8258         *  javax/swing/AbstractButton.java:
8259         (configurePropertiesFromAction): Set action command
8260         to button's text by default if action command is not
8261         explicitely specified.
8262         * javax/swing/JMenu.java: Remove unnecessary listener
8263         and methods relevant to it.
8264         (setSelected): Reimplemented.
8265         (menuSelectionChanged): Moved most part of implementation to
8266         setSelected() and call it instead.
8267         * javax/swing/JMenuItem.java:
8268         (init): Comment out statement that sets paint_border to false.
8269         (configurePropertiesFromAction): Do not set accelerator
8270         for JMenu.
8271         (menuSelectionChanged): Change selected index in the selection
8272         model of menu item's parent.
8273         * javax/swing/JPopupMenu.java:
8274         (remove): Set constraints.fill field to GridBagConstraints.BOTH
8275         instead of GridBagConstraints.HORIZONTAL.
8276         (insert): Likewise.
8277         (createActionChangeListener): Implemented.
8278         (setVisible): Correct location of HeavyWeightMenu and
8279         don't firePopupMenuCanceled().
8280         (menuSelectionChanged): Implemented.
8281         (ActionChangeListener): New Listener. Implemented.
8282         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8283         (BasicMenuBarUI.ContainerHandler): Implemented.
8284         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8285         (paintMenuItem): Uncommented out code that paints
8286         icon, now that icons are working properly.
8287         (PropertyChangeListener): Implemented.
8288         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8289         Added javadocs.
8290         (topWindowListener): New field.
8291         (Constructor): initialize topWindowListener.
8292         (BasicPopupMenuUI.TopWindowListener): Implemented.
8293         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8294         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8295         Implemented.
8296
8297 2004-07-21  Michael Koch  <konqueror@gmx.de>
8298
8299         * javax/swing/plaf/basic/BasicButtonUI.java
8300         (paintFocus): Fixed method signature.
8301         (paintButtonPressed): Likewise.
8302         (paintButtonNormal): Likewise.
8303         (paintText): New method.
8304         * javax/swing/plaf/basic/BasicLabelUI.java
8305         (paint): Re-indented.
8306         * javax/swing/plaf/basic/BasicTextUI.java
8307         (installUI): Set parent textComponent to opaque.
8308         * javax/swing/text/DefaultHighlighter.java
8309         (checkPositions): New helper method.
8310         (addHighlight): Throws BadLocationException, check positions.
8311         (changeHighlight): Likewise.
8312         * javax/swing/text/EditorKit.java
8313         (EditorKit): Implements Serializable.
8314         * javax/swing/text/JTextComponent.java
8315         (getUI): Added javadoc.
8316         (setUI): Likewise.
8317         (upadteUI): Added javadoc, don't revalidate and repaint.
8318
8319 2004-07-21  David Jee  <djee@redhat.com>
8320
8321         * java/awt/GridBagLayout.java
8322         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8323         * javax/swing/AbstractButton.java
8324         (setText): Reindent.
8325         * javax/swing/RepaintManager.java
8326         (addInvalidComponent): Find the first ancestor that isValidateRoot().
8327
8328 2004-07-21  Michael Koch  <konqueror@gmx.de>
8329
8330         * javax/swing/JFormattedTextField.java
8331         (value): New field.
8332         (JFormattedTextField): Implemented.
8333         (getValue): Likewise.
8334         (setValue): Likewise.
8335         * javax/swing/LookAndFeel.java
8336         (getSupportsWindowDecorations): New method.
8337         * javax/swing/UIDefaults.java:
8338         Use java.beans.PropertyChangeSupport instead of doing all ourself.
8339         (addPropertyChangeListener): Made public.
8340         (addResourceBundle): Likewise.
8341         (removeResourceBundle): Likewise.
8342         (setDefaultLocale): Likewise.
8343         * javax/swing/plaf/basic/BasicRootPaneUI.java
8344         (BasicRootPaneUI): Implements PropertyChangeListener.
8345         (propertyChange): New method.
8346         * javax/swing/plaf/basic/BasicTextUI.java
8347         (BasicHighlighter): New inner class.
8348         (createHighlighter): New method.
8349         * javax/swing/plaf/basic/BasicToolBarUI.java
8350         (DragWindow): Extends java.awt.Window.
8351         * javax/swing/text/JTextComponent.java
8352         (getDocument): Removed debug output.
8353         * javax/swing/plaf/basic/BasicTextFieldUI.java,
8354         javax/swing/text/DefaultHighlighter.java,
8355         javax/swing/text/FieldView.java,
8356         javax/swing/text/PlainView.java: New files.
8357         * Makefile.am: Added new files.
8358         * Makefile.in: Regenerated.
8359
8360 2004-07-21  Michael Koch  <konqueror@gmx.de>
8361
8362         * javax/swing/JEditorPane.java
8363         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8364         (createEditorKitForContentType): Likewise.
8365         * javax/swing/text/DefaultEditorKit.java
8366         (serialVersionUID): Added constant field.
8367         (EndOfLineStringPropery): Fixed typo.
8368         (DefaultEditorKit): New constructor.
8369         * javax/swing/text/Segment.java:
8370         Import java.text.CharacterIterator.
8371         * javax/swing/text/CharacterIterator.java,
8372         javax/swing/text/PlainEditorKit.java: Removed.
8373         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8374         javax/swing/text/PlainEditorKit.java.
8375         * Makefile.in: Regenerated.
8376
8377 2004-07-21  Michael Koch  <konqueror@gmx.de>
8378
8379         * javax/swing/JButton.java,
8380         javax/swing/text/DefaultEditorKit.java,
8381         javax/swing/text/EditorKit.java,
8382         javax/swing/text/Segment.java,
8383         javax/swing/text/StyledEditorKit.java:
8384         Reformatted.
8385
8386 2004-07-21  Michael Koch  <konqueror@gmx.de>
8387
8388         * javax/swing/ImageIcon.java
8389         (file): Removed.
8390         (description): Renamed from descr.
8391         (ImageIcon): Added missing constructors.
8392         (setParent): Removed.
8393         (setImageObserver): New method.
8394         (getImageObserver): New method.
8395         (paintIcon): Handle observer = null.
8396         * javax/swing/JButton.java
8397         (removeNotify): Fixed javadoc.
8398         (updateUI): Simplified.
8399         * javax/swing/JRootPane.java
8400         (serialVersionUID): New constant field.
8401         * javax/swing/UIManager.java:
8402         Fixed javadocs all over.
8403         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8404         * javax/swing/text/AbstractDocument.java
8405         (createPosition): Throws BadLocationException.
8406         (getText): Likewise.
8407         (remove): Likewise.
8408         * javax/swing/text/ComponentView.java
8409         (modelToView): Likewise.
8410         * javax/swing/text/DefaultEditorKit.java:
8411         Made all public methods public.
8412         (read): Throws BadLocationException and IOException.
8413         (write): Likewise.
8414         * javax/swing/text/EditorKit.java:
8415         Made all public methods public.
8416         (serialVersionUID): New constant field.
8417         (clone): New method.
8418         (read): Throws BadLocationException and IOException.
8419         (write): Likewise.
8420         * javax/swing/text/Segment.java
8421         (array): Made public.
8422         (count): Likewise.
8423         (offset): Likewise.
8424         (Segment): New constructors.
8425         (clone): Reimplemented.
8426         * javax/swing/text/StyledEditorKit.java
8427         (serialVersionUID): New constant field.
8428
8429 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8430
8431         * java/awt/image/BufferedImage.java
8432         (getSource): Implement.
8433         * javax/swing/ImageIcon.java
8434         (ImageIcon): Implement ctor.
8435         * javax/swing/ScrollPaneLayout.java
8436         (preferredLayoutSize): Be more careful about nulls.
8437
8438 2004-07-21  Michael Koch  <konqueror@gmx.de>
8439
8440         * javax/swing/text/AttributeSet.java
8441         (CharacterAttribute): New interface
8442         (ColorAttribute): Likewise.
8443         (FontCharacterAttribute): Likewise.
8444         (ParagraphAttribute): Likewise.
8445         * javax/swing/text/DefaultCaret.java
8446         (moveCaret): New method.
8447         (positionCaret): Likewise.
8448         (repaint): Made protected.
8449         * javax/swing/text/JTextComponent.java
8450         (KeyBinding): Made it static.
8451         * javax/swing/text/View.java
8452         (getContainer): Honor parent == null.
8453
8454 2004-07-21  Michael Koch  <konqueror@gmx.de>
8455
8456         * javax/swing/text/AbstractDocument.java:
8457         Reformatted.
8458
8459 2004-07-21  Michael Koch  <konqueror@gmx.de>
8460
8461         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8462         Import javax.swing.UIManager explicitely.
8463         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8464         (ScrollingButton): Made it static.
8465
8466 2004-07-21  Michael Koch  <konqueror@gmx.de>
8467
8468         * javax/swing/UIDefaults.java
8469         (ActiveValue): Made public.
8470         (LazyValue): Likewise.
8471         * javax/swing/plaf/basic/BasicTextUI.java
8472         (RootView): Reintroduced.
8473         (view): Removed.
8474         (rootView): New field.
8475         (installUI): Create document if needed, initialize rootView.
8476         (uninstallUI): Hanle rootView.
8477         (paint): Likewise.
8478         (getRootView): Likewise.
8479         (setView): Likewise.
8480         * javax/swing/text/DefaultCaret.java:
8481         Renamed all "evt" variables to "event".
8482
8483 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8484
8485         * libgcj.spec.in: Add -l-java-util-logging.
8486
8487 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
8488
8489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8490         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8491         gtk-xft-dpi can no calculate the right value.
8492         (dpi_changed_cb): Mark *pspec as unsused.
8493
8494 2004-07-21  David Jee  <djee@redhat.com>
8495
8496         * java/awt/Component.java
8497         (move): Delegate to setBounds().
8498         (resize): Likewise.
8499         (reshape): Fix so it repaints parent and self only when necessary.
8500
8501 2004-07-21  David Jee  <djee@redhat.com>
8502
8503         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8504         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8505         (GtkComponentPeer): Revert previous patch from 2004-06-22.
8506         (setVisible): Likewise.
8507         (show): Likewise.
8508         (hide): Likewise.
8509         (getArgs): Likewise.
8510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8511         (property_notify_predicate): Likewise.
8512         (find_layout): Likewise.
8513         (connectJObject): Likewise.
8514         (connectSignals): Likewise.
8515         (moveLayout): Likewise.
8516         (gtkLayoutSetVisible): Likewise.
8517
8518 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8519
8520         * Makefile.am
8521         (jv_convert_LDADD):
8522         (gij_LDADD):
8523         (rmic_LDADD):
8524         (rmiregistry_LDADD): Add lib-java-util-logging.la
8525         * Makefile.in: Regenerate.
8526
8527 2004-07-21  Michael Koch  <konqueror@gmx.de>
8528
8529         * javax/swing/text/AbstractDocument.java
8530         (replace): Dont use protected method of java.util.Vector directly.
8531
8532 2004-07-21  Michael Koch  <konqueror@gmx.de>
8533
8534         * javax/swing/plaf/basic/BasicTextUI.java
8535         (installUI): Call specialized install methods.
8536         (installDefaults): New method.
8537         (installListeners): Likewise.
8538         (installKeyboardActions): Likewise.
8539         (uninstallUI): Likewise.
8540         (uninstallDefaults): New method.
8541         (uninstallListeners): Likewise.
8542         (uninstallKeyboardActions): Likewise.
8543         (getPropertyPrefix): New abstract method.
8544         (paint): Made final, just call paintSafely().
8545         (paintSavely): New method.
8546         (paintBackground): Likewise.
8547         (getVisibleEditorRect): Likewise.
8548         * javax/swing/text/LayeredHighlighter.java,
8549         javax/swing/text/TabExpander.java: New files.
8550         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8551         and javax/swing/text/TabExpander.java.
8552         * Makefile.in: Regenerated.
8553
8554 2004-07-21  Michael Koch  <konqueror@gmx.de>
8555
8556         * javax/swing/plaf/basic/BasicTextUI.java
8557         (BasicTextUI): Made abstract.
8558         (BasicCaret): New inner class.
8559         (view): Don't explicitely initialize with "null".
8560         (textComponent): New field.
8561         (textColor): Removed.
8562         (disabledTextColor): Removed.
8563         (normalBackgroundColor): Removed.
8564         (RootView): Removed commented out inner class.
8565         (createUI): Removed.
8566         (createCaret): New method.
8567         (getComponent): Likewise.
8568         (installUI): Initialize textComponent only.
8569         (getPreferredSize): Use installed JTextComponent.
8570         (setView): New method.
8571         (create): Likewise.
8572         * javax/swing/text/JTextComponent.java
8573         (highlighter): New field.
8574         (caretColor): Likewise.
8575         (disabledTextColor): Likewise.
8576         (seletedTextColor): Likewise.
8577         (selectionColor): Likewise.
8578         (setUI): New method.
8579         (getCaretColor): Likewise.
8580         (setCaretColor): Likewise.
8581         (getDisabledColor): Likewise.
8582         (setDisabledColor): Likewise.
8583         (getSelectedTextColor): Likewise.
8584         (setSelectedTextColor): Likewise.
8585         (getSelectionColor): Likewise.
8586         (setSelectionColor): Likewise.
8587         (getHighlighter): Likewise.
8588         (setHighlighter): Likewise.
8589         (replaceSelection): Likewise.
8590
8591 2004-07-21  Michael Koch  <konqueror@gmx.de>
8592
8593         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8594         (BasicScrollPaneUI): Implements ScrollPaneConstants.
8595         * javax/swing/plaf/basic/BasicToolBarUI.java
8596         (BasicToolBarUI): Implements SwingConstants.
8597
8598 2004-07-21  Michael Koch  <konqueror@gmx.de>
8599
8600         * javax/swing/JPopupMenu.java: Removed CVS tags.
8601         * javax/swing/UIDefaults.java: Reformatted.
8602         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8603         Explicitely import used classes.
8604
8605 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8606
8607         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8608         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8609         (GtkComponentPeer): Remove temporary try/catch block.
8610         (setVisible): Call show and hide.
8611         (show): Make native.
8612         (hide): Likewise.
8613         (getArgs): Don't add "visible" argument.
8614         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8615         (property_notify_predicate): Return Bool instead of int.
8616         (find_layout): New function.
8617         (connectJObject): Call find_layout.
8618         (connectSignals): Likewise.
8619         (moveLayout): Likewise.
8620         (gtkLayoutSetVisible): Likewise.
8621
8622 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8623
8624         * javax/swing/AbstractButton.java:
8625         (setDisplayedMnemonicIndex): Check if button
8626         text is not null before checking its length.
8627         * javax/swing/JMenuItem.java:
8628         (processMouseEvent): Disarm menu item if mouse has
8629         exited it.
8630         * javax/swing/plaf/basic/BasicMenuUI.java:
8631         (MouseInputHandler.mouseEntered): Do not raise
8632         popup menu if this menu is already selected.
8633         (MouseInputHandler.mousePressed): Do not fire
8634         MenuEvents.
8635         (MenuHandler): Implemented.
8636
8637 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8638
8639         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8640         (getSelectedObjects): Implemented.
8641         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8642         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
8643         Added javadoc for few methods.
8644         (processMouseEvent): Made public.
8645         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8646         (processMouseEvent): Likewise.
8647
8648 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8649
8650         * javax/swing/AbstractButton.java:
8651         (init): Set display mnemonic index to -1.
8652         (setMnemonic(char)): Use setMnemonic(int).
8653         (setMnemonic(int)): Set display mnemonic index.
8654         (getDisplayedMnemonicIndex): Change method signature
8655         by removing 'index' parameter.
8656         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8657         Added default for Menu.selectionBackground.
8658         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8659         (paintMenuItem): Change background color of the selected
8660         menu item.
8661         (paintText): Paint differently when menu item is disabled.
8662         Also paint mnemonic if it appears in the menu item's label.
8663         (paintAccelerator): Paint accelerator differently
8664         if menu item is disabled.
8665         * javax/swing/plaf/basic/BasicMenuUI.java:
8666         (installDefaults): Install defaults for
8667         selectionForeground and selectionBackground.
8668         (uninstallDefaults): Uninstall defauls for
8669         selectionForeground and selectionBackground.
8670
8671 2004-07-21  Michael Koch  <konqueror@gmx.de>
8672
8673         * javax/swing/text/AbstractDocument.java
8674         (BranchElement): Implemented.
8675         (LeafElement): Implemented.
8676         * javax/swing/text/DefaultCaret.java:
8677         Import used classes.
8678         (serialVersionUID): New constant.
8679         * javax/swing/text/JTextComponent.java
8680         (AccessibleJTextComponent): Removed dead declaration.
8681         (caretPos): Removed.
8682         (setCaret): New method.
8683         * javax/swing/text/PlainDocument.java
8684         (rootElement): New field.
8685         (PlainDocument): Initialize rootElement.
8686         (createDefaultRoot): New method.
8687         (getDefaultRootElement): Implemented.
8688         * javax/swing/text/View.java: Reformatted.
8689         * javax/swing/text/ViewFactory.java
8690         (create): Added javadoc.
8691
8692 2004-07-21  Michael Koch  <konqueror@gmx.de>
8693
8694         * javax/swing/ToolTipManager.java: Reformatted.
8695
8696 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
8697
8698         * javax/swing/AbstractButton.java
8699         (changeEvent): New field.
8700         (fireItemStateChanged): Change source of the event
8701         to 'this' before firing it to button listeners.
8702         (fireActionPerformed): Likewise.
8703         (fireStateChanged): Likewise.
8704         (createActionListener): Do not set source
8705         of the event to AbstractButton.
8706         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8707         (ContainerHandler.componentAdded): Removed
8708         print out statement.
8709         (ContainerHandler.componentRemoved): Likewise.
8710
8711 2004-07-21  Michael Koch  <konqueror@gmx.de>
8712
8713         * javax/swing/text/Highlighter.java: New file.
8714         * Makefile.am: Added javax/swing/text/Highlighter.java.
8715         * Makefile.in: Regenerated.
8716
8717 2004-07-21  Michael Koch  <konqueror@gmx.de>
8718
8719         * javax/swing/ToolTipManager.java
8720         (stillInsideTimerAction): Fixed constructor arguments.
8721         (outsideTimerAction): Likewise.
8722         (insideTimerAction): Likewise.
8723
8724 2004-07-21  Michael Koch  <konqueror@gmx.de>
8725
8726         * javax/swing/JButton.java: Reformatted.
8727         * javax/swing/JFormattedTextField.java
8728         (getUIClassID): Implemented.
8729         * javax/swing/JRootPane.java
8730         (serialVersionUID): New constant.
8731         * javax/swing/JTextField.java
8732         (align): New field.
8733         (JTextField): Simplified.
8734         (getUIClassID): New method.
8735         (getActionListeners): Added @since tag.
8736         (setColumns): Invalidate layout and repaint.
8737         (getHorizontalAlignment): New method.
8738         (setHorizontalAlignment): New method.
8739         (selectAll): Removed.
8740         * javax/swing/SwingUtilities.java
8741         (getAncestorOfClass): Removed redundant @see tag.
8742         (isLeftMouseButton): Fixed implementation.
8743         (isMiddleMouseButton): Likewise.
8744         (isRightMouseButton): Likewise.
8745         * javax/swing/text/AbstractDocument.java
8746         (AttributeContext.addAttribute): New method.
8747         (AttributeContext.addAttributes): New method.
8748         (AttributeContext.getEmptySet): New method.
8749         (AttributeContext.reclaim): New method.
8750         (AttributeContext.removeAttribute): New method.
8751         (AttributeContext.removeAttributes): New method.
8752         * javax/swing/text/Document.java
8753         (createPosition): Throws BadLocationException.
8754         (getText): Likewise.
8755         (remove): Likewise.
8756         * javax/swing/text/JTextComponent.java
8757         (getText): Return null if no document is set. Catch
8758         BadLocationException.
8759         (getUI): Return ui.
8760         (updateUI): Simplified.
8761
8762 2004-07-21  Michael Koch  <konqueror@gmx.de>
8763
8764         * javax/swing/JButton.java
8765         (removeNotify): Fixed javadoc.
8766         (updateUI): Simplified.
8767
8768 2004-07-21  David Jee  <djee@redhat.com>
8769
8770         * gnu/java/awt/image/ImageDecoder.java
8771         (startProduction): Only add consumer if it's not added yet.
8772         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8773         (GdkPixbufDecoder): Don't call initState() here.
8774         (produce): Call initState() here, to ensure area_prepared and
8775         area_updated signals are properly connected.
8776         * gnu/java/awt/peer/gtk/GtkImage.java
8777         (setColorModel): Use equals() to compare ColorModel objects.
8778         (setPixels): Likewise.
8779         * java/awt/image/ColorModel.java
8780         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8781         * java/awt/image/RGBImageFilter.java
8782         (setColorModel): Set consumer's color model.
8783         (setPixels): Use equals() to compare ColorModel objects.
8784
8785 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
8786
8787         * java/net/URLConnection.java (position): New field.
8788         (dateFormat1, dateFormat2, dateFormat3): Removed.
8789         (dateFormats): New field.
8790         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8791         each time instead of re-allocating.
8792         (initializeDateFormats): Initialize 'dateFormats'.
8793
8794 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8795
8796         PR libgcj/16591
8797         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8798         is defined.
8799
8800 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8801
8802         * java/net/Socket.java (getImpl): Now private. Remove comment.
8803
8804 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8805
8806         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8807         of chained Writer when calling super-constructor.
8808         * java/io/FilterWriter.java (FilterWriter): Likewise.
8809         * java/io/PrintWriter.java (PrintWriter): Likewise.
8810
8811 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
8812
8813         * prims.cc (process_gcj_properties): Don't increment i within LHS
8814         of assignment.
8815
8816 2004-07-19  Per Bothner  <per@bothner.com>
8817
8818         Print -verbose:message on "loading", not initialization.
8819         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
8820         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
8821         gcj::verbose_class_flag.
8822         * java/lang/natClass.cc (initializeClass):  Don't print message here.
8823         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
8824         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8825         (_Jv_PrepareCompiledClass):  Likewise.
8826
8827 2004-07-18  Matthias Klose  <doko@debian.org>
8828
8829         * configure.in: Substitute target_noncanonical.
8830         * configure: Regenerate
8831
8832 2004-07-17  Michael Koch  <konqueror@gmx.de>
8833
8834         * java/lang/String.java: Fixed javadocs all over.
8835
8836 2004-07-17  Mark Wielaard  <mark@klomp.org>
8837
8838         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8839         when size is smaller.
8840         * java/io/RandomAccessFile.java (setLength): Use truncate for
8841         shrinking the file and seek plus write for expanding the file.
8842
8843 2004-07-17  Michael Koch  <konqueror@gmx.de>
8844
8845         * gnu/java/nio/channels/natFileChannelPosix.cc
8846         (implTruncate): Always save current position. Only reposition file
8847         pointer to where we started if not beyond new lenght. Reposition file
8848         pointer to file length if it points beyond the end of file.
8849
8850 2004-07-17  Mark Wielaard  <mark@klomp.org>
8851
8852         * javax/swing/Box.java: Put FIXME comment above class declaration.
8853         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8854         * javax/swing/JCheckBox.java: Likewise.
8855         * javax/swing/JDialog.java: Likewise.
8856         * javax/swing/JRadioButton.java: Likewise.
8857         * javax/swing/JToggleButton.java: Likewise.
8858         * javax/swing/UIManager.java: Likewise.
8859         * javax/swing/border/TitledBorder.java: Likewise.
8860         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8861         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8862         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8863         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8864         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8865         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8866         * javax/swing/text/JTextComponent.java: Likewise.
8867
8868 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
8869
8870         * java/net/DatagramPacket.java (setAddress): Removed check for
8871         null address.
8872
8873 2004-07-17  Michael Koch  <konqueror@gmx.de>
8874
8875         * java/net/DatagramSocket.java
8876         (getLocalAddress): Check if socket is bound or not.
8877         * java/net/Socket.java
8878         (getLocalAddrss): Check if socket is bound or not.
8879         (getPort): Return -1 when not connected. Dont check getImpl() for
8880         null.
8881         (setReuseAddress): Check if socket is closed.
8882         (isConnected): Check if getImpl() returns null.
8883
8884 2004-07-17  Mark Wielaard  <mark@klomp.org>
8885
8886         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8887         on notifier object before calling notifyAll().
8888
8889 2004-07-17  Michael Koch  <konqueror@gmx.de>
8890
8891         * gnu/java/nio/channels/FileChannelImpl.java
8892         (finalize): Added javadoc.
8893
8894 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
8895
8896         * java/text/CollationElementIterator.java
8897         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8898         (setText): Use ArrayList instead of Vector.
8899
8900 2004-07-17  Michael Koch  <konqueror@gmx.de>
8901
8902         * java/nio/ByteOrder.java
8903         (static): Removed. Not needed.
8904         Thanks to Patrick Reali for noticing.
8905         * java/nio/charset/CharsetDecoder.java
8906         (decode): Fix for classpath bug #9177: Reset state before flipping.
8907
8908 2004-07-17  Michael Koch  <konqueror@gmx.de>
8909
8910         * java/security/Security.java: Fixed javadocs all over.
8911
8912 2004-07-17  Michael Koch  <konqueror@gmx.de>
8913
8914         * gnu/java/awt/EmbeddedWindow.java
8915         (static): Removed.
8916         (addNotify): Set peer via reflection.
8917         (setWindowPeer): Removed.
8918         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8919         * Makefile.am (nat_source_files):
8920         Removed gnu/java/awt/natEmbeddedWindow.cc.
8921         * Makefile.in: Regenerated.
8922
8923 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
8924
8925         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8926         assignment.
8927         * configure: Regenerated.
8928
8929 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
8930
8931         * configure.in: Use build_noncanonical rather than build_alias.
8932         * configure: Rebuild.
8933
8934         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8935         by logic refactoring.  Move default definition of NATIVE closer
8936         to first alternate definition.
8937         * configure: Regenerate.
8938
8939         * Makefile.am: Set ZIP and GCJH directly using autoconf.
8940         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8941         gcj/Makefile.in: Regenerate.
8942         * configure.in: Set ZIP and GCJH.  Remove redundant condition
8943         in AM_CONDITIONAL(NATIVE,...)
8944         * configure: Regenerate.
8945
8946 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
8947
8948         * configure.in: Use target_noncanonical rather than
8949         target_alias for forward-compatibility with autoconf 2.59.
8950         * configure: Regenerate.
8951         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8952         testsuite/Makefile.am: Substitute target_noncanonical.
8953         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8954         testsuite/Makefile.in: Regenerate.
8955
8956         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8957         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8958         * acinclude.m4: Include acx.m4.
8959         * aclocal.m4: Regenerate.
8960         * configure: Regenerate.
8961
8962 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
8963
8964         PR libgcj/16574
8965         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8966         (decimalFormat): New static variable.
8967         (sbuf): Likewise.
8968         (getTime): New. Override Date.getTime().
8969         (toString): Synchronize. Use decimalFormat to format nanos value
8970         correctly. Truncate extra zeros.
8971         (before): Compare getNanos() only if getTime() is equal.
8972         (after): Likewise.
8973
8974 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
8975
8976         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8977         * configure.in: ...here.
8978         * aclocal.m4: Regenerate.
8979         * configure: Regenerate.
8980
8981         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8982         * configure: Rebuilt with autoconf 2.13.
8983         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8984         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8985
8986 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
8987
8988         PR libgcj/16204
8989         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
8990         large file support.
8991         * Makefile.in: Rebuilt.
8992         * testsuite/libjava.lang/LargeFile.java: New test case.
8993         * testsuite/libjava.lang/LargeFile.out: New file.
8994
8995 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8996
8997         * java/beans/EventHandler.java: Remove debugging statements.
8998
8999 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
9000
9001         * java/beans/EventHandler.java: New file.
9002         * Makefile.am (awt_java_source_files): Add EventHandler.java.
9003         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9004         testsuite/Makefile.in: Regenerate.
9005
9006 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
9007
9008         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
9009         flag to the gcj_setup.
9010         (gcj_jacks_run): Check tclsh version and launch jacks directly with
9011         the tclsh.
9012         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
9013         deprecation flag change. 58 XFAILS removed.
9014
9015 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
9016
9017         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
9018         -fno-use-divide-subroutine.
9019         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
9020         (HANDLE_FPE): Define.
9021         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
9022         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9023         (HANDLE_DIVIDE_OVERFLOW): Define.
9024
9025 2004-07-14  Michael Koch  <konqueror@gmx.de>
9026             Matthias Klose  <doko@debian.org>
9027
9028         * java/awt/im/InputContext.java: Initialize in, line.
9029
9030 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
9031
9032         * interpret.cc (run): Correctly access libffi return values of
9033         integral smaller-than-int type; these are implicitly promoted.
9034
9035 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
9036
9037         PR libgcj/7587
9038         * interpret.cc (compile_mutex): New.
9039         (_Jv_InitInterpreter): New. Initialize compile_mutex.
9040         (run): Lock compile_mutex before calling compile() if compilation is
9041         required.
9042         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
9043         * include/java-interp.h (_Jv_InitInterpreter): Declare.
9044
9045 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
9046
9047         PR libgcj/15713
9048         * include/jvm.h (_Jv_value): New union type.
9049         * gcj/field.h (_Jv_Field): Add new _addr union field variants
9050         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
9051         union members.
9052
9053 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
9054
9055         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
9056         * gnu/awt/xlib/XOffScreenImage.java
9057           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
9058           constructor argument. Add constructor using ImageProducer.
9059           (getSource): Implement.
9060           (imageComplete): New method.
9061           (setColorModel): New method.
9062           (setDimensions): New method.
9063           (setHints): New method.
9064           (setPixels): New method.
9065           (setProperties): New method.
9066         * gnu/gcj/xlib/GC.java (drawPoint): New native method.
9067         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
9068
9069 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
9070
9071         PR libgcj/16478
9072         * prims.cc (_Jv_CreateJavaVM): Fix comment.
9073         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
9074         (finalizerReady): Now native.
9075         (run): Likewise.
9076         (runFinalizers): Removed.
9077         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
9078         a primitive lock, and don't hold it while running the finalizers.
9079         (runFinalizers): Implement. Don't aquire any Java lock.
9080         (finalizerReady): Use lock primitives to signal finalizer thread.
9081
9082 2004-07-11  Mark Wielaard  <mark@klomp.org>
9083
9084         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
9085         * java/net/URLStreamHandler.java (parseURL): When url file part
9086         doesn't contain a '/' just ignore context.
9087
9088 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
9089
9090         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
9091         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9092         (MAKE_THROW_FRAME): Do not modify PSW address.
9093         (INIT_SEGV): Install SIGINFO-style signal handler.
9094         (INIT_FPE): Likewise.
9095
9096 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
9097
9098         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
9099         status. 21 xfail's removed, 1 added.
9100
9101 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
9102
9103         * gcj/javaprims.h: Regenerate CNI namespace definitions.
9104
9105 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
9106
9107         * java/text/MessageFormat.java
9108         (formatInternal): Append "{n}" if argument n is unavailable.
9109         (format(Object, StringBuffer, FieldPosition)): This
9110         should be equivalent to format(Object[],
9111         StringBuffer, FieldPosition).
9112
9113 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9114
9115         * java.util.Calendar.java (cache): New private static field. Cached
9116         mappings of locales->calendar classes.
9117         (ctorArgTypes): New private static field. Singleton argument for
9118         calendar class constructor lookup.
9119         (getInstance): Cache Locale->Calendar class mappings using HashMap.
9120         Optimize by bypassing reflection instantiation for the
9121         GregorianCalendar case.
9122
9123 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9124
9125         * java/util/Calendar.java: Use getSystemClassLoader as argument for
9126         ResourceBundle.getBundle() calls.
9127         * java/util/GregorianCalendar.java: Likewise.
9128         * java/util/Currency.java: Likewise.
9129         * java/text/BreakIterator.java: Likewise.
9130         * java/text/Collator.java: Likewise.
9131         * java/text/DateFormat.java: Likewise.
9132         * java/text/DateFormatSymbols.java: Likewise.
9133         * java/text/DecimalFormatSymbols.java: Likewise.
9134         * java/text/NumberFormat.java: Likewise.
9135         * java/awt/Window.java: Likewise.
9136
9137 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9138
9139         * java/util/ResourceBundle.java (bundleCache): Renamed from
9140         resourceBundleCache. Update comments.
9141         (getObject): Don't catch MissingResourceException.
9142         (getBundle(String)): Remove 'final'. Use system classloader if
9143         getCallingClassLoader returned null.
9144         (getBundle(String, Locale)): Likewise.
9145         (BundleKey): New private class. HashMap key for bundle cache lookup.
9146         (lookupKey): New. Singleton instance of BundleKey.
9147         (nullEntry): New. Cache entry to represent failed lookups.
9148         (getBundle(String, Locale, ClassLoader)): Re-written to use new
9149         caching strategy, no-allocation lookup, and new tryBundle methods.
9150         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
9151         name using given classloader.
9152         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
9153         baseName for given Locale and attempt to load bundle.
9154
9155 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9156
9157         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
9158         illegal protected method calls.
9159
9160 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9161
9162         Fix or remove some bogus test cases.
9163         * testsuite/libjava.compile/pr10459_2.java: Removed.
9164         * testsuite/libjava.compile/pr10459.java: Test using its own method,
9165         not Object.clone().
9166         * testsuite/libjava.compile/inner_data.java: Test against its own
9167         protected field.
9168
9169 2004-07-09  Michael Koch  <konqueror@gmx.de>
9170
9171         * scripts/unicode-muncher.pl: Updated to version 2.1
9172         from GNU classpath. Added some clarifications on where to find the
9173         needed files from www.unicode.org.
9174         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
9175         gnu/gcj/convert/UnicodeData-3.0.0.txt:
9176         Removed, these can directly be downloaded from www.unicode.org if
9177         needed.
9178         * gnu/java/lang/CharData.java: Regenerated.
9179         * include/java-chartables.h: Regenerated.
9180         * Makefile.am (ordinary_java_source_files):
9181         Removed gnu/java/lang/CharData.java.
9182         * Makefile.in: Regenerated.
9183
9184 2004-07-09  Michael Koch  <konqueror@gmx.de>
9185
9186         * java/security/AccessControlContext.java,
9187         java/security/SecureClassLoader.java:
9188         Fixed javadocs.
9189
9190 2004-07-09  Michael Koch  <konqueror@gmx.de>
9191
9192         * java/io/ObjectInputStream.java (readFields): Use long datatype
9193         when shifting byte values more then 24 bits left.
9194
9195 2004-07-09  Michael Koch  <konqueror@gmx.de>
9196
9197         * java/util/zip/DeflaterOutputStream.java,
9198         java/util/zip/GZIPInputStream.java,
9199         java/util/zip/GZIPOutputStream.java,
9200         java/util/zip/InflaterInputStream.java:
9201         Reformatted. Added javadocs. Reordered all stuff.
9202         Renamed variables to be more clear.
9203
9204 2004-07-09  Michael Koch  <konqueror@gmx.de>
9205
9206         * javax/imageio/IIOException.java,
9207         javax/imageio/event/IIOReadProgressListener.java,
9208         javax/imageio/event/IIOReadUpdateListener.java,
9209         javax/imageio/event/IIOReadWarningListener.java,
9210         javax/imageio/event/IIOWriteProgressListener.java,
9211         javax/imageio/event/IIOWriteWarningListener.java:
9212         New files.
9213         * Makefile.am: Added new files.
9214         * Makefile.in: Regenerated.
9215
9216 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
9217
9218         * java/text/RuleBasedCollator.java
9219         (mergeRules): Use ArrayList instead of Vector.
9220         (subParseString): likewise.
9221         (parseString): likewise.
9222         (buildCollationVector): likewise.
9223         (getCollationKey): likewise.
9224
9225 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
9226
9227         * java/text/DateFormat.java (parse):
9228         Improved javadoc. Improved exception message.
9229
9230 2004-07-09  Mark Wielaard  <mark@klomp.org>
9231
9232         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
9233         interrupted() method to clear interupt flag of our Thread.
9234
9235 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
9236
9237         * java/nio/Buffer.java,
9238         java/nio/ByteBuffer.java,
9239         java/nio/ByteBufferHelper.java,
9240         java/nio/ByteBufferImpl.java,
9241         java/nio/CharBuffer.java,
9242         java/nio/CharBufferImpl.java,
9243         java/nio/CharViewBufferImpl.java,
9244         java/nio/DirectByteBufferImpl.java,
9245         java/nio/DoubleBuffer.java,
9246         java/nio/DoubleBufferImpl.java,
9247         java/nio/DoubleViewBufferImpl.java,
9248         java/nio/FloatBuffer.java,
9249         java/nio/FloatBufferImpl.java,
9250         java/nio/FloatViewBufferImpl.java,
9251         java/nio/IntBuffer.java,
9252         java/nio/IntBufferImpl.java,
9253         java/nio/IntViewBufferImpl.java,
9254         java/nio/LongBuffer.java,
9255         java/nio/LongBufferImpl.java,
9256         java/nio/LongViewBufferImpl.java,
9257         java/nio/MappedByteBufferImpl.java,
9258         java/nio/ShortBuffer.java,
9259         java/nio/ShortBufferImpl.java,
9260         java/nio/ShortViewBufferImpl.java:
9261         Fixed javadocs all over. Improved input error
9262         checking.
9263
9264         * java/nio/Buffer.java
9265         (checkForUnderflow, checkForOverflow, checkIndex,
9266         checkIfReadOnly, checkArraySize): New helper methods
9267         for error checking.
9268
9269         * java/nio/ByteBufferHelper.java
9270         (checkRemainingForRead, checkRemainingForWrite,
9271         checkAvailableForRead, checkAvailableForWrite): Removed
9272         no longer needed methods.
9273
9274 2004-07-09  Michael Koch  <konqueror@gmx.de>
9275
9276         * gnu/regexp/CharIndexedInputStream.java:
9277         Reordered imports to match classpath.
9278
9279 2004-07-09  Michael Koch  <konqueror@gmx.de>
9280
9281         * gnu/java/awt/EmbeddedWindow.java:
9282         Load native library for setWindowPeer method.
9283
9284 2004-07-08  Randolph Chung  <tausq@debian.org>
9285
9286         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9287         * configure: Regenerate.
9288         * configure.host: Set can_unwind_signal for hppa*-linux.
9289         * include/pa-signal.h: New file.
9290
9291 2004-07-07  Per Bothner  <per@bothner.com>
9292
9293         * Makefile.am:  Add rules to build libgij from just gij.cc.
9294
9295         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
9296         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
9297         (initializeClass):  If verbose_class_flag, print message.
9298         * gij.cc (main):  Handle -verbose:class flag.
9299
9300 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
9301
9302         * configure.host: Enable hash synchronization on Darwin.
9303         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9304         ';', since this is a comment on Darwin.
9305         (compare_and_swap_release): Likewise.
9306
9307 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
9308
9309         * java/net/URLStreamHandler.java (parseURL): Canonicalize
9310         file portion of URL in addition to spec for file: protocol.
9311
9312 2004-07-05  Anthony Green  <green@redhat.com>
9313
9314         * java/io/File.java (toURI): Merge from Classpath.
9315
9316 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9317
9318         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9319         before passing to URL constructor. Rethrow any MalformedURLException
9320         as a RuntimeException. Catch MalformedURLException specifically, not
9321         all exceptions.
9322
9323 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9324
9325         * java/util/Locale.java (readObject): Intern strings read from object
9326         stream.
9327
9328 2004-07-04  Michael Koch  <konqueror@gmx.de>
9329
9330         * gnu/gcj/runtime/FirstThread.java,
9331         gnu/gcj/runtime/natFirstThread.cc: Removed.
9332         * gnu/java/lang/MainThread.java,
9333         gnu/java/lang/natMainThread.cc: New files.
9334         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9335         * Makefile.am: Added new files and removed deleted ones.
9336         * Makefile.in: Regenerated.
9337
9338 2004-07-03  Mark Wielaard  <mark@klomp.org>
9339             Anthony Green  <green@redhat.com>
9340
9341         * java/net/URL.java (getFile): Clarify return value doc.
9342         (getPath): Return null if file is empty - not empty String.
9343         (set): Convert protocol to lower case before doing anything.
9344         Only change the protocol handler if it's different.
9345
9346 2004-07-03  Anthony Green  <green@redhat.com>
9347
9348         * java/net/URL.java (URL): Convert protocol to lower case before
9349         doing anything, so we getURLStreamHandler() with the proper value.
9350
9351 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
9352
9353         * java/util/Locale.java (hashcode): Made transient.
9354         (hashCode): No longer synchronized.
9355         (equals): Remove comment.
9356         (writeObject): No longer synchronized. Implement using writeObject
9357         calls instead of tweaking hashCode field. Update doc.
9358         (readObject): Implement using readObject calls.
9359
9360 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
9361             Andreas Tobler  <a.tobler@schweiz.ch>
9362
9363         * configure.host (powerpc-*-darwin*): New case, define
9364         can_unwind_signal.
9365         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9366         * configure: Regenerate.
9367         * include/darwin-signal.h: New.
9368
9369 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
9370
9371         * java/beans/Statement.java (doExecute): Fix formatting.
9372
9373 2004-06-29  Per Bothner  <per@bothner.com>
9374
9375         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9376         etc etc):  Remove needless parenthesis, which causes __stdcall__
9377         attribute on MinGW to get ignored.
9378
9379 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
9380
9381         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9382
9383 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
9384
9385         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9386
9387 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
9388
9389         * java/beans/Expression.java: New file.
9390         * java/beans/Statement.java: New file.
9391         * Makefile.am: Added new files.
9392         * Makefile.in: Re-generate.
9393
9394 2004-06-27 Mark Wielaard  <mark@klomp.org>
9395
9396         * java/io/FilePermission.java (usingPerms): Removed.
9397         (actionsString): Made final.
9398         (cachePerms): Renamed to checkPerms.
9399         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9400         on action String.
9401         (FilePermission): Check arguments, call checkPerms().
9402         (equals): Remove cachePerms() call.
9403         (implies): Likewise.
9404
9405 2004-06-27  Mark Wielaard  <mark@klomp.org>
9406
9407         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9408         final field.
9409         (sendRequest): Use new field in user-agent http agent.
9410
9411 2004-06-27  Mark Wielaard  <mark@klomp.org>
9412
9413         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9414         when argument is null.
9415
9416 2004-06-26  Mark Wielaard  <mark@klomp.org>
9417
9418         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9419         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9420         GetMethodID call.
9421         (cancel_clicked): Likewise.
9422
9423 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
9424
9425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9426         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9427         can not calculate the right value.
9428         (dpi_changed_cb): Likewise. Mark *pspec as unused.
9429
9430 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
9431
9432         * testsuite/libjava.jacks/jacks.xfail: Remove
9433         15.9.1-qualified-concrete-20.
9434
9435 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9436
9437         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9438         encoding name to iconv.
9439         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9440
9441 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9442
9443         PR libgcj/16134:
9444         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
9445         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9446         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9447
9448 2004-06-21  Andrew Haley  <aph@redhat.com>
9449
9450         * java/io/ObjectOutputStream.java: Add DEBUG statements
9451         everywhere.
9452         (dumpElementln): New method.
9453         (depth): New field.
9454         * java/io/ObjectInputStream.java
9455         (currentClassLoader): Make native.
9456         (callersClassLoader): New field.
9457         (depth): New field.
9458         (readObject): ENDBLOCKDATA is generated if the class has a write
9459         method, not if it has a read method.
9460         (readObject): Save and restore this.currentObject and
9461         this.currentObjectStreamClass around calls to callReadMethod().
9462         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9463         method.
9464
9465 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
9466
9467         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9468         darwin.
9469
9470 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9471
9472         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9473         if desired, before the default class loader is initialised.
9474         Call INIT_SEGV only if HANDLE_SEGV is defined.
9475
9476 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9477
9478         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9479         directory only if it actually exists.
9480
9481 2004-06-18  Graydon Hoare  <graydon@redhat.com>
9482
9483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9484         Fix up non-ansi comments.
9485
9486 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9487
9488         * javax/swing/text/AbstractDocument.java: Adding missing import
9489         for javax.swing.event.EventListenerList.
9490         * javax/swing/text/DefaultCaret.java: Likewise.
9491
9492 2004-06-17  Michael Koch  <konqueror@gmx.de>
9493
9494         * javax/swing/JToolBar.java
9495         (name): Removed.
9496         (JToolBar): Use Component.setName(String) instead of doing it all
9497         alone.
9498         * javax/swing/Timer.java
9499         (queueEvent): Added missing modifier.
9500
9501 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
9502
9503         * Makefile.am: Added new file.
9504         * Makefile.in: Re-generate.
9505         * javax/swing/JMenu.java:
9506         (insertSeparator): Implemented.
9507         * javax/swing/JPopupMenu.java:
9508         (JPopupMenu.Separator): Implemented.
9509         * javax/swing/MenuSelectionManager.java:
9510         (processMouseEvent): Use java.awt.Component
9511         for event source instead of javax.swing.JComponent.
9512         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9513         New File. Implemented.
9514
9515 2004-06-16  David Jee  <djee@redhat.com>
9516
9517         * java/awt/GridBagLayout.java
9518         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9519         Make sure pos_x and pos_y are never negative.
9520
9521 2004-04-16  Andrew Overholt  <overholt@redhat.com>
9522
9523         * Makefile.am: Add new file.
9524         * Makefile.in: Re-generate.
9525         * javax/swing/JToolBar.java
9526         Partially implemented.
9527         * javax/swing/plaf/basic/BasicToolBarUI.java
9528         New file. Partially implemented.
9529
9530 2004-06-16  Graydon Hoare  <graydon@redhat.com>
9531
9532         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9533         (setComposite): Accept AlphaComposite arguments.
9534         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9535         (createBufferedImage): Add new overloads.
9536         * gnu/java/awt/peer/gtk/GtkToolkit.java
9537         (createImage): Use GdkPixbufDecoder.createBufferedImage
9538         when useGraphics2D() is true.
9539         (getImage): Delegate to createImage.
9540         * javax/swing/JList.java
9541         (isSelectionEmpty):
9542         (getFirstVisibleIndex):
9543         (getLastVisibleIndex):
9544         (setSelectedValue):
9545         (ensureIndexIsVisible): New methods.
9546         * javax/swing/Timer.java: Reimplement.
9547
9548 2004-06-16  Michael Koch  <konqueror@gmx.de>
9549
9550         * javax/swing/text/AbstractDocument.java
9551         (AbstracElement): Made public, implements java.io.Serializable.
9552         (AttributeContext): Made public.
9553         (BranchElement): Likewise.
9554         (Content): Likewise.
9555         (DefaultDocumentEvent): Made public, extends
9556         javax.swing.undo.CompoundEdit.
9557         (ElementEdit): Made public, extends
9558         javax.swing.undo.AbstractUndoableEdit.
9559         (LeafElement): Made public.
9560         (LeafElement.LeafElement): Made public.
9561
9562 2004-06-16  Michael Koch  <konqueror@gmx.de>
9563
9564         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9565         methods (that were obviously never be intended to get included hi this
9566         class. Added some methods too.
9567
9568 2004-06-16  Michael Koch  <konqueror@gmx.de>
9569
9570         * javax/swing/text/PlainDocument.java
9571         (serialVersionUID): New constant.
9572         (lineLimitAttribute): Likewise.
9573         (tabSizeAttribute): Likewise.
9574         (tabSize): New field.
9575         (PlainDocument): Made public.
9576         (PlainDocument): New constructor.
9577
9578 2004-06-16  Michael Koch  <konqueror@gmx.de>
9579
9580         * javax/swing/text/AbstractDocument.java
9581         (insertString): Throws BadLocationException.
9582         * javax/swing/text/Document.java
9583         (insertString): Likewise.
9584         * javax/swing/text/JTextComponent.java:
9585         Javadocs and comments cleaned up.
9586
9587 2004-06-16  Michael Koch  <konqueror@gmx.de>
9588
9589         * javax/swing/event/UndoableEditListener.java: Reformatted.
9590         * javax/swing/text/AbstractDocument.java
9591         (AbstractDocument): Implements java.io.Serializable.
9592         (doc_list): Removed.
9593         (undo_list): Removed.
9594         (AbstractElement.serialVerionUID): New field.
9595         (BranchElement.serialVerionUID): Likewise.
9596         (DefaultDocumentEvent.serialVerionUID): Likewise.
9597         (ElementEdit.serialVerionUID): Likewise.
9598         (LeafElement.serialVerionUID): Likewise.
9599         (serialVerionUID): Likewise.
9600         (BAD_LOCATION): New constant.
9601         (BidiElementName): Likewise.
9602         (ContentElementName): Likewise.
9603         (ParagraphElementName): Likewise.
9604         (SectionElementName): Likewise.
9605         (ElementNameAttribute): Likewise.
9606         (AbstractDocument): Made protected.
9607         (AbstractDocument): New construtor.
9608         (listenerList): New field.
9609         (fireChangedUpdate): Implemented.
9610         (fireInsertUpdate): Likewise.
9611         (fireRemoveUpdate): Likewise.
9612         (fireUndoableEditUpdate): Likewise.
9613         (getListeners): Likewise.
9614         (addDocumentListener): Likewise.
9615         (removeDocumentListener): Likewise.
9616         (addUndoableEditListener): Likewise.
9617         (removeUndoableEditListener): Likewise.
9618         (getDocumentListeners): New method.
9619         (getUndoableEditListeners): Likewise.
9620         (getAsynchronousLoadPriority): Made public.
9621         (getBidiRootElement): Likewise.
9622         (setAsynchronousLoadPriority): Likewise.
9623         (setDocumentProperties): Likewise.
9624         * javax/swing/text/BadLocationException.java
9625         (serialVerionUID): New field.
9626         * javax/swing/text/DefaultCaret.java
9627         (changeEvent): New field.
9628         (listenerList): Likewise.
9629         (changes): Removed.
9630         (addChangeListener): Reimplemented.
9631         (removeChangeListener): Likewise.
9632         (getListeners): New method.
9633         (getChangeListeners): Likwise.
9634         (getComponent): Likewise.
9635         * javax/swing/text/GapContent.java
9636         (GapContent): Implements java.io.Serializable.
9637         (serialVerionUID): New field.
9638
9639 2004-06-16  Michael Koch  <konqueror@gmx.de>
9640
9641         * javax/swing/JTree.java
9642         (treeModel): New field.
9643         (JTree): New constructors, one existing one made public.
9644         (createTreeModel): New method.
9645         (addTreeExpansionListener): Likewise.
9646         (removeTreeExpansionListener): Likewise.
9647         (getTreeExpansionListeners): Likewise.
9648         (fireTreeCollapsed): Likewise.
9649         (fireTreeExpanded): Likewise.
9650         (addTreeSelectionListener): Likewise.
9651         (removeTreeSelectionListener): Likewise.
9652         (getTreeSelectionListeners): Likewise.
9653         (fireValueChanged): Likewise.
9654         (addTreeWillExpandListener): Likewise.
9655         (removeTreeWillExpandListener): Likewise.
9656         (getTreeWillExpandListeners): Likewise.
9657         (fireTreeWillCollapse): Likewise.
9658         (fireTreeWillExpand): Likewise.
9659
9660 2004-06-16  Michael Koch  <konqueror@gmx.de>
9661
9662         * javax/swing/JTree.java: Reformatted.
9663
9664 2004-06-16  Michael Koch  <konqueror@gmx.de>
9665
9666         * javax/swing/JTextArea.java: New file.
9667         * javax/swing/JTextField.java
9668         (actions): Removed.
9669         (notifyAction): New constant.
9670         (columns): New field.
9671         (JTextField): New constructors.
9672         (createDefaultModel): New method.
9673         (addActionListener): Reimplmemented.
9674         (removeActionListener): Reimplemented.
9675         (getActionListeners): New method.
9676         (fireActionPerformed): New method.
9677         (getColumns): New method.
9678         (setColumne): New method.
9679         * javax/swing/text/JTextComponent.java
9680         (AccessibleJTextComponent.serialVersionUID): New field.
9681         (serialVersionUID): Likewise.
9682         (DEFAULT_KEYMAP): Likewise.
9683         (FOCUS_ACCELERATOR_KEY): Likewise.
9684         (doc): Made private.
9685         (icon_gap): Likewise.
9686         (icon): Likewise.
9687         (align): Likewise.
9688         (JTextComponent): Some constructors removed.
9689         (getScrollableTracksViewportHeight): New method.
9690         (getScrollableTracksViewportWidth): Likewise.
9691         * Makefile.am: Added javax/swing/JTextArea.java.
9692         * Makefile.in: Regenerated.
9693
9694 2004-06-15  Graydon Hoare  <graydon@redhat.com>
9695
9696         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9697         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9698         * javax/swing/JViewport.java
9699         (getExtentSize): Return size rather than preferred size.
9700         (toViewCoordinates): New methods.
9701         (getViewSize): Return size rather than preferred size.
9702         (setViewSize): Note view size as set.
9703         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9704         * javax/swing/plaf/basic/BasicScrollBarUI.java
9705         (getPreferredSize): Don't redo layout.
9706         * javax/swing/plaf/basic/BasicViewportUI.java
9707         (paint): Translate image properly and eat exceptions.
9708
9709 2004-06-15  Kim Ho  <kho@redhat.com>
9710
9711         * javax/swing/JTabbedPane.java
9712         (setComponent): Remove old component and
9713         add new component.
9714         (setSelectedIndex): Don't operate on the
9715         components if they're null. Don't set index
9716         on the model if the index is the same.
9717         (insertTab): Don't add or hide the component
9718         if it's null. Repaint the container.
9719         * javax/swing/plaf/basic/BasicLookAndFeel.java
9720         Change colors for TabbedPane.
9721         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9722         (mousePressed): Re-layout and paint the component.
9723         (layoutContainer): Don't set location on the view.
9724         (ScrollingViewport::paint): Remove.
9725
9726 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9727
9728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9729         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9730
9731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9732         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9733         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
9734         critical region.
9735         (drawLine): Call gdk_flush before leaving GDK critical region.
9736         (fillRect): Likewise.
9737         (drawRect): Likewise.
9738         (copyArea): Likewise.
9739         (copyPixmap): Likewise.
9740         (clearRect): Likewise.
9741         (drawArc): Likewise.
9742         (drawPolyline): Likewise.
9743         (drawPolygon): Likewise.
9744         (fillPolygon): Likewise.
9745         (fillArc): Likewise.
9746         (drawOval): Likewise.
9747         (fillOval): Likewise.
9748
9749         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9750         style parameter.
9751         (GdkFontMetrics): Add style argument to initState call.
9752         (stringWidth(String,int,int,String)): Add style parameter.
9753         (stringWidth(String)): Add style argument to stringWidth call.
9754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9755         (initState): Set pango font style and weight based on AWT style
9756         parameter.  Pass default GTK language to
9757         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
9758         simply dividing by PANGO_SCALE.
9759         (stringWidth): Set pango font style and weight based on AWT style
9760         parameter.
9761
9762         * java/awt/Button.java (next_button_number): New field.
9763         (paramString): Change output.
9764         (generateName): New method.
9765         (getUniqueLong): New method.
9766
9767 2004-06-14  Kim Ho  <kho@redhat.com>
9768
9769         * javax/swing/JTabbedPane.java:
9770         (setComponentAt): Set the component, not
9771         the enabled status.
9772         * javax/swing/plaf/basic/BasicDesktopIconUI.java
9773         (actionPerformed): Let deiconize catch exception.
9774
9775 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9776
9777         * javax/swing/JPopupMenu.java:
9778         (setVisible): Corrected location of a
9779         heavyweight popup menu.
9780
9781 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9782
9783         * javax/swing/MenuSelectionManager.java:
9784         Ran through jalopy to fix formatting style.
9785
9786 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9787
9788         * javax/swing/JLayeredPane.java:
9789         (remove): Revalidate and repaint layered pane after
9790         the component was removed.
9791         javax/swing/JMenu.java:
9792         (setVisible): Display popup menu at the user location,
9793         if one was set by the user.
9794         (setMenuLocation): Reimplemented. Fixed javadoc.
9795         * javax/swing/JMenuBar.java: Added javadoc.
9796         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9797         (MODEL_CHANGED_PROPERTY): New Property.
9798         (isSelected): Implemented.
9799         (setBorderPainted): Fire PropertyChangeEvent
9800         if paintBorder property changes.
9801         (setSelected): Implemented.
9802         (setSelectionModel): Implemented.
9803         * javax/swing/JPopupMenu.java: Added Javadoc
9804         (pack): Implemented.
9805         (setVisible): Reimplemented.
9806         (show): Fixed location.
9807         (JPopupMenu.LigthWeightPopup): Reimplemented to use
9808         Container instead of JPanel.
9809         * javax/swing/MenuSelectionManager.java: Added Javadocs.
9810         (clearSelectedPath): Reimplemented to clear selectedPath
9811         in reverse order.
9812         (processMouseEvent): Reimplemented.
9813         (setSelectedPath): Fire stateChange event indicating that
9814         selected menu path has changed.
9815         (getPath): Change to use ArrayList instead of Vector.
9816         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9817         (installUI): call installKeyboardActions().
9818         (uninstallUI): call uninstallKeyboardActions().
9819
9820 2004-06-13  Michael Koch  <konqueror@gmx.de>
9821
9822         * javax/swing/text/DefaultCaret.java,
9823         javax/swing/text/BadLocationException.java:
9824         Reformatted.
9825
9826 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
9827
9828         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9829         DEFAULT_COLS): New variables.
9830         (create): Don't allow 0 rows or 0 columns.  Instead, set the
9831         values to DEFAULT_ROWS or DEFAULT_COLS.
9832         (getMinimumSize): Likewise.
9833         (getPreferredSize): Likewise.
9834         (minimumSize): Likewise.
9835         (preferredSize): Likewise.
9836         (create): Set peer's editable state.
9837         * java/awt/TextArea.java (TextArea()): Set rows and columns to
9838         zero.  Update javadocs.
9839         (TextArea(String)): Likewise.
9840         (TextArea(int,int)): Fix javadocs.
9841         (TextArea(String,int,int,int)): Only throw exception if one of
9842         rows or columns is zero.  Fix javadocs.
9843
9844 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9845
9846         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9847         addition to Components.
9848
9849         * java/awt/MenuItem.java (dispatchEventImpl): If the event
9850         wasn't consumed by normal processing, send it to the parent
9851         menu.
9852
9853         * gnu/java/awt/peer/gtk/GtkImagePainter.java
9854         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9855         translation.
9856
9857 2004-06-11  David Jee  <djee@redhat.com>
9858
9859         * java/awt/MediaTracker.java
9860         (addImage(Image,int)): Call imageUpdate() to udpate image status.
9861         (addImage(Image,int,int,int)): Likewise.
9862
9863 2004-06-11  Michael Koch  <konqueror@gmx.de>
9864
9865         * javax/swing/text/AbstractDocument.java,
9866         javax/swing/text/Document.java,
9867         javax/swing/text/GapContent.java,
9868         javax/swing/text/JTextComponent.java,
9869         javax/swing/text/PlainDocument.java:
9870         Reformatted.
9871
9872 2004-06-11  Michael Koch  <konqueror@gmx.de>
9873
9874         * javax/swing/JRootPane.java
9875         (AccessibleJRootPane.serialVersionUID): New field.
9876         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9877         (AccessibleJRootPane.getAccessibleRole): New method.
9878         (RootLayout): Implements Serializable.
9879         (RootLayout.serialVersionUID): New field.
9880         (RootLayout.RootLayout): New constructor.
9881         (setJMenuBar): Made public.
9882         (getJMenuBar): Likewise.
9883         (JRootPane): Likewise.
9884         (createContentPane): Likewise.
9885         (createGlassPane): Likewise.
9886         (createLayeredPane): Likewise.
9887
9888 2004-06-11  Michael Koch  <konqueror@gmx.de>
9889
9890         * javax/swing/SwingUtilities.java
9891         (isLeftMouseButton): Fixed javadoc.
9892         (isMiddleMouseButton): Likewise.
9893         (isRightMouseButton): Likewise.
9894
9895 2004-06-11  Michael Koch  <konqueror@gmx.de>
9896
9897         * javax/swing/JScrollPane.java
9898         (serialVersionUID): New field.
9899         (columnHeader): Made protected.
9900         (rowHeader): Likewise.
9901         (lowerLeft): Likewise.
9902         (lowerRight): Likewise.
9903         (upperLeft): Likewise.
9904         (upperRight): Likewise.
9905         (horizontalScrollBar): Likewise.
9906         (horizontalScrollBarPolicy): Likewise.
9907         (verticalScrollBar): Likewise.
9908         (verticalScrollBarPolicy): Likewise.
9909         (viewport): Likewise.
9910
9911 2004-06-11  Michael Koch  <konqueror@gmx.de>
9912
9913         * javax/swing/LookAndFeel.java: Fixed javadocs.
9914
9915 2004-06-11  Michael Koch  <konqueror@gmx.de>
9916
9917         * javax/swing/JEditorPane.java: Fixed javadocs.
9918         (JEditorPane): Removed redundant call to to this().
9919         (fireHyperlinkUpdate): Implemented.
9920
9921 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9922
9923         * javax/swing/JMenu.java: Fixed file name
9924         in the file comment.
9925
9926 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9927
9928         * javax/swing/JMenu.java: Added javadoc.
9929         (JMenu): Added MenuChangeListener to listen to
9930         ChangeEvents occuring in menu's model.
9931         (insert): Throw IllegalArgumentException if
9932         index is less than 0
9933         (setSelected): Reimplement.
9934         (setPopupMenuVisible): Call menu's model isEnabled()
9935         (setDelay): Throw IllegalArgumentException if
9936         given amount of delay is less than 0.
9937         (createActionComponent): Implemented.
9938         (createActionChangeListener): Implemented.
9939         (addSeparator): Implemented.
9940         (getItem): Throw IllegalArgumentException if index is
9941         less than 0.
9942         (getItemCount): Implemented.
9943         (fireMenuSelected): Changed to use menuEvent.
9944         (fireMenuDeselected): Likewise.
9945         (fireMenuCanceled): Likewise.
9946         (setAccelerator): Changed to throw an error if this
9947         method is used.
9948         (doClick): Implemented.
9949         (JMenu.ActionChangedListener): New inner class to handle
9950         PropertyChangeEvents occuring in the actions associated with menu.
9951         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9952         (BasicMenuUI): Added PropertyChangeListener to the menu.
9953         (createChangeListener): Implemented.
9954         (createMenuDragMouseListener): Likewise.
9955         (createMenuKeyListener): Likewise.
9956         (createPropertyChangeListener): Likewise.
9957         (uninstallListeners): Likewise.
9958         (BasicMenuUI.MouseInputHandler): Reimplemented.
9959         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9960         (BasicMenuUI.ChangeHandler): Likewise.
9961         (BasicMenuUI.MenuDragMouseHandler): Likewise.
9962         (BasicMenuUI.MenuKeyHandler): Likewise.
9963
9964 2004-06-10  David Jee  <djee@redhat.com>
9965
9966         * java/awt/MediaTracker.java
9967         (imageUpdate): Only do notifyAll() if the image is complete.
9968
9969 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9970
9971         * javax/swing/JApplet.java:
9972         (getJMenuBar): Made public.
9973         (setJMenuBar): Likewise.
9974         * javax/swing/JFrame.java:
9975         (getJMenuBar): Made public.
9976         (setJMenuBar): Likewise.
9977         * javax/swing/JWindow.java:
9978         (getJMenuBar): Removed.
9979         (setJMenuBar): Removed.
9980
9981 2004-06-10  Michael Koch  <konqueror@gmx.de>
9982
9983         * javax/swing/JEditorPane.java
9984         (createEditorKitForContentType): Fixed visibility.
9985         (fireHyperlinkUpdate): Likewise.
9986         (getContentType): Likewise.
9987         (getEditorKit): Likewise.
9988         (getEditorKitForContentType): Likewise.
9989         (getPage): Likewise.
9990         (read): Likewise.
9991         (registerEditorKitForContentTyoe): Likewise.
9992         (replaceSelection): Likewise.
9993         (setContentType): Likewise.
9994         (setEditorKit): Likewise.
9995         (setPage): Likewise.
9996
9997 2004-06-10  Michael Koch  <konqueror@gmx.de>
9998
9999         * javax/swing/Timer.java
10000         (Timer): New constructor.
10001         * javax/swing/plaf/basic/BasicProgressBarUI.java
10002         (animationTimer): Don't initialize at construction.
10003         (startAnimationTimer): Added since tag.
10004         (stopAnimationTimer): Likewise.
10005         (installUI): Use new Timer constructor.
10006         * javax/swing/plaf/basic/BasicScrollBarUI.java
10007         (installUI): Likewise.
10008         * javax/swing/plaf/basic/BasicSliderUI.java
10009         (installUI): Likewise.
10010
10011 2004-06-10  Michael Koch  <konqueror@gmx.de>
10012
10013         * javax/swing/ButtonGroup.java
10014         (serialVersionUID): Made private.
10015         (buttons): Renamed from v, added javadoc.
10016         (sel): Added javadoc.
10017         (ButtonGroup): Likewise.
10018         (add): Likewise.
10019         (remove): Likewise.
10020         (getElements): Likewise.
10021         (getSelection): Likewise.
10022         (setSelected): Likewise.
10023         (isSelected): Likewise.
10024         (getButtonCount): Likewise.
10025
10026 2004-06-10  Michael Koch  <konqueror@gmx.de>
10027
10028         * javax/swing/ButtonGroup.java,
10029         javax/swing/ImageIcon.java,
10030         javax/swing/JEditorPane.java,
10031         javax/swing/JRootPane.java,
10032         javax/swing/JTextField.java,
10033         javax/swing/LookAndFeel.java,
10034         javax/swing/plaf/basic/BasicTextUI.java:
10035         Reindented.
10036
10037 2004-06-10  Michael Koch  <konqueror@gmx.de>
10038
10039         * javax/swing/text/Style.java: Added javadocs.
10040
10041 2004-06-10  Michael Koch  <konqueror@gmx.de>
10042
10043         * javax/swing/JComponent.java
10044         (fireVetoableChange): Removed redundant cast.
10045         * javax/swing/JLabel.java
10046         (getDisabledIcon): Save icon for next call.
10047
10048 2004-06-10  Michael Koch  <konqueror@gmx.de>
10049
10050         * javax/swing/KeyStroke.java
10051         (getKeyStroke(char,boolean)): Marked deprecated.
10052
10053 2004-06-10  Michael Koch  <konqueror@gmx.de>
10054
10055         * javax/swing/DefaultCellEditor.java,
10056         javax/swing/GrayFilter.java,
10057         javax/swing/event/DocumentEvent.java,
10058         javax/swing/text/JTextComponent.java,
10059         javax/swing/text/MutableAttributeSet.java:
10060         Reindented.
10061
10062 2004-06-10  Michael Koch  <konqueror@gmx.de>
10063
10064         * javax/swing/plaf/BorderUIResource.java:
10065         Added serialVersionUID all over.
10066
10067 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
10068
10069         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10070
10071 2004-06-10  Michael Koch  <konqueror@gmx.de>
10072
10073         * javax/swing/table/DefaultTableCellRenderer.java
10074         (noFocusBorder): Initialize directly.
10075
10076 2004-06-10  Michael Koch  <konqueror@gmx.de>
10077
10078         * javax/swing/plaf/basic/BasicArrowButton.java
10079         (setDirection): Use method argument.
10080
10081 2004-06-10  Michael Koch  <konqueror@gmx.de>
10082
10083         * javax/swing/plaf/BorderUIResource.java,
10084         javax/swing/plaf/ComponentUI.java,
10085         javax/swing/undo/CompoundEdit.java,
10086         javax/swing/undo/StateEdit.java:
10087         Fixed javadocs all over.
10088
10089 2004-06-10  Michael Koch  <konqueror@gmx.de>
10090
10091         * javax/swing/DefaultButtonModel.java
10092         (ARMED): Made public final, fixed value.
10093         (ENABLED): Likewise.
10094         (PRESSED): Likewise.
10095         (ROLLOVER): Likewise.
10096         (SELECTED): Likewise.
10097         (stateMask): Initialize directly.
10098         (listenerList): Likewise.
10099         (mnemonic): Likewise.
10100         (fireStateChanged): Removed argument, use changeEvent as event.
10101         All places where this method is called are fixed too.
10102         (getActionCommant): Fixed javadoc.
10103         (setGroup): Fixed javadoc.
10104         (getGroup): New method.
10105
10106 2004-06-09  Olga Rodimina <rodimina@redhat.com>
10107
10108         * javax/swing/AbstractButton.java
10109         (AbstractButton): Use init() to initialize the button.
10110         (init): New Method. Initializes AbstractButton.
10111         * javax/swing/JMenuItem.java: Documented.
10112         (JMenuItem): Reimplemented.
10113         (init): Implemented.
10114         (setEnabled): Changed to call super.setEnabled()
10115         (processMouseEvent): Reimplemented.
10116         (fireMenuKeyPressed): Implemented.
10117         (fireMenuKeyReleased): Implemented.
10118         (fireMenuKeyTyped): Implemented.
10119         (menuSelectionChanged): disarm the model if the menu item was
10120         deselected.
10121         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
10122         (getPath): Change to use ArrayList instead of Vector.
10123         (getPreferredSize): Renamed variable.
10124         (paintMenuItem): Paint margin area of menu item.
10125         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
10126         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
10127         menu item's bounds before clearing the selection.
10128
10129 2004-06-09  David Jee  <djee@redhat.com>
10130
10131         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
10132         (GtkTextComponentPeer): Set caret position to 0.
10133         * java/awt/TextComponent.java
10134         (setText): Set caret position to 0.
10135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10136         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10137         Handle GtkScrolledWindow separately. Fix signal handler blocking.
10138         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10139         Likewise.
10140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10141         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
10142         visible.
10143
10144 2004-06-09  Kim Ho  <kho@redhat.com>
10145
10146         * Makefile.am: New files
10147         * Makefile.in: Regenerated
10148         * java/awt/Container.java
10149         (getComponentAt): Removed.
10150         * javax/swing/AbstractAction.java
10151         (ENABLED_PROPERTY): New property.
10152         (putValue): Fire PropertyChangeEvents.
10153         (setEnabled): ditto.
10154         (firePropertyChange): Javadoc and implement
10155         convenience method.
10156         * javax/swing/AbstractButton.java
10157         (setAction): Don't create PropertyChangeListener
10158         if new Action is null.
10159         (setIcon): Don't set icon till after comparing
10160         it.
10161         (configurePropertiesFromAction): Check mnemonic
10162         key before calling intValue().
10163         (createActionPropertyChangeListener): Check
10164         properties rather than bulk change.
10165         * javax/swing/DefaultDesktopManager.java:
10166         Implement.
10167         * javax/swing/DesktopManager.java:
10168         Jalopy and javadoc.
10169         * javax/swing/JComponent.java
10170         (fireVetoableChange): Implement.
10171         (paintImmediately): Use root component.
10172         * javax/swing/JDesktopPane.java: Implement
10173         * javax/swing/JInternalFrame.java: Implement
10174         * javax/swing/JLabel.java
10175         (getDisabledIcon): Return grayscaled icon if
10176         no disabled icon specified.
10177         * javax/swing/JMenuBar.java
10178         (getComponentAtIndex): Use getComponent
10179         * javax/swing/JOptionPane.java
10180         (getDesktopPaneForComponent): Use SwingUtilities'
10181         getAncestorOfClass
10182         (getFrameForComponent): ditto.
10183         * javax/swing/JSplitPane.java
10184         (remove): Use getComponent.
10185         * javax/swing/SwingUtilities.java
10186         (convertPoint): Implement.
10187         * javax/swing/plaf/basic/BasicButtonUI.java
10188         (paintButtonNormal): Check opaqueness before
10189         filling background.
10190         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
10191         Implement
10192         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
10193         Implement.
10194         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
10195         Implement.
10196         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
10197         Implement.
10198         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10199         Change InternalFrame and Desktop colors.
10200
10201 2004-06-09  David Jee  <djee@redhat.com>
10202
10203         * java/awt/Container.java
10204         (remove): Do not set component to invisible.
10205
10206 2004-06-09  Michael Koch  <konqueror@gmx.de>
10207
10208         * javax/swing/tree/DefaultMutableTreeNode.java
10209         (getLeafCount): Renamed enum to e.
10210
10211 2004-06-09  Michael Koch  <konqueror@gmx.de>
10212
10213         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10214         (positionForMouseEvent): Removed redundant semicolon.
10215         (continueDrag): Use method arguments.
10216
10217 2004-06-09  Michael Koch  <konqueror@gmx.de>
10218
10219         * javax/swing/border/TitledBorder.java,
10220         javax/swing/filechooser/FileSystemView.java,
10221         javax/swing/plaf/basic/BasicButtonListener.java,
10222         javax/swing/plaf/basic/BasicGraphicsUtils.java,
10223         javax/swing/plaf/basic/BasicLabelUI.java,
10224         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
10225         javax/swing/plaf/basic/BasicScrollBarUI.java,
10226         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10227         javax/swing/plaf/basic/BasicSliderUI.java,
10228         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10229         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10230         javax/swing/table/JTableHeader.java,
10231         javax/swing/text/AbstractDocument.java,
10232         javax/swing/text/DefaultCaret.java,
10233         javax/swing/text/StyledEditorKit.java,
10234         javax/swing/tree/DefaultTreeCellEditor.java:
10235         Reworked import statements.
10236
10237 2004-06-08  Graydon Hoare  <graydon@redhat.com>
10238
10239         * javax/swing/Box.java: Temporarily comment out code
10240         broken due to visibility bug.
10241
10242 2004-06-09  Michael Koch  <konqueror@gmx.de>
10243
10244         * javax/swing/ImageIcon.java
10245         (ImageIcon): Added missing constructor.
10246
10247 2004-06-08  Michael Koch  <konqueror@gmx.de>
10248
10249         * javax/swing/JToggleButton.java
10250         (JToggleButton): New constructor.
10251         (getAccessibleContext): Moved documentation into javadoc.
10252         (getUIClassID): Likewise.
10253
10254 2004-06-08  Michael Koch  <konqueror@gmx.de>
10255
10256         * javax/swing/AbstractButton.java
10257         (getDisabledIcon): Create disabled icon if none exists yet.
10258
10259 2004-06-08  Michael Koch  <konqueror@gmx.de>
10260
10261         * javax/swing/plaf/basic/BasicLookAndFeel.java
10262         (initClassDefaults): Added FormattedTextFieldUI.
10263         (loadResourceBundle): Renamed enum to e.
10264
10265 2004-06-08  Michael Koch  <konqueror@gmx.de>
10266
10267         * javax/swing/plaf/basic/BasicButtonUI.java
10268         (paintIcon): Simplified.
10269         (paintText): Paint disabled button correctly.
10270
10271 2004-06-08  Michael Koch  <konqueror@gmx.de>
10272
10273         * javax/swing/JComponent.java
10274         (createToolTip): Use official JToolTip API.
10275
10276 2004-06-08  Michael Koch  <konqueror@gmx.de>
10277
10278         * javax/swing/JToolTip.java
10279         (JToolTip): No arguments in API.
10280         (setTipText): New method.
10281
10282 2004-06-08  Michael Koch  <konqueror@gmx.de>
10283
10284         * javax/swing/SwingUtilities.java
10285         (isLeftMouseButton): New method.
10286         (isMiddleMouseButton): New method.
10287         (isRightMouseButton): New method.
10288
10289 2004-06-08  Michael Koch  <konqueror@gmx.de>
10290
10291         * javax/swing/AbstractButton.java,
10292         javax/swing/CellRendererPane.java,
10293         javax/swing/JCheckBoxMenuItem.java,
10294         javax/swing/JColorChooser.java,
10295         javax/swing/JComboBox.java,
10296         javax/swing/JComponent.java,
10297         javax/swing/JDesktopPane.java,
10298         javax/swing/JFileChooser.java,
10299         javax/swing/JMenu.java,
10300         javax/swing/JMenuItem.java,
10301         javax/swing/JOptionPane.java,
10302         javax/swing/JPasswordField.java,
10303         javax/swing/JPopupMenu.java,
10304         javax/swing/JProgressBar.java,
10305         javax/swing/JRadioButtonMenuItem.java,
10306         javax/swing/JScrollBar.java,
10307         javax/swing/JSeparator.java,
10308         javax/swing/JSlider.java,
10309         javax/swing/JSplitPane.java,
10310         javax/swing/JTabbedPane.java,
10311         javax/swing/JTextField.java,
10312         javax/swing/JToolBar.java,
10313         javax/swing/text/JTextComponent.java:
10314         Fixed all constructors of accessibility classes.
10315
10316 2004-06-08  Michael Koch  <konqueror@gmx.de>
10317
10318         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10319         over.
10320
10321 2004-06-08  Michael Koch  <konqueror@gmx.de>
10322
10323         * javax/swing/Box.java
10324         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10325         (AccessibleBoxFiller.serialVersionUID): New member variable.
10326         * javax/swing/DefaultButtonModel.java
10327         (stateMask): Made protected.
10328         (listenerList): Likewise.
10329         (changeEvent): Likewise.
10330         (group): Likewise.
10331         (mnemonic): Likewise.
10332         (actionCommand): Likewise.
10333         (getListeners): New method.
10334         (getActionListeners): New method.
10335         (getItemListeners): New method.
10336         (getChangeListeners): New method.
10337         (fireItemStateChanged): Simplified.
10338         (fireActionPerformed): Simplified.
10339         (fireStateChanged): Simplified.
10340         * javax/swing/JFrame.java
10341         (JFrame): Implements WindowContants.
10342         (HIDE_ON_CLOSE): Removed.
10343         (EXIT_ON_CLOSE): Removed.
10344         (DISPOSE_ON_CLOSE): Removed.
10345         (DO_NOTHING_ON_CLOSE): Removed.
10346         (processWindowEvent): Exit with code 0.
10347         (setDefaultCloseOperation): Do security check before setting value.
10348         * javax/swing/JOptionPane.java
10349         (message): Initialize only in constructor.
10350         * javax/swing/JToolTip.java: Removed unused imports.
10351         * javax/swing/JViewport.java
10352         (serialVersionUID): New member variable.
10353         (SIMPLE_SCROLL_MODE): Made final, fixed value.
10354         (BLIT_SCROLL_MODE): Likewise.
10355         (BACKINGSTORE_SCROLL_MODE): Likewise.
10356         (scrollUnderway): Made protected.
10357         (isViewSizeSet): Likewise.
10358         * javax/swing/ListModel.java: Fixed javadoc.
10359         * javax/swing/Popup.java: Likewise.
10360         * javax/swing/RepaintManager.java
10361         (paintDirtyRegions): Don't use internal classes of
10362         java.util.AbstractMap.
10363         * javax/swing/ScrollPaneConstants.java: Reindented.
10364         * javax/swing/ScrollPaneLayout.java
10365         (viewport): Made protected.
10366         (verticalScrollBar): Made protected, renamed to vsb.
10367         (horizontalScrollBar): Made protected, renamed to hsb.
10368         (rowHeader): Made protected, renamed to rowHead.
10369         (columnHeader): Made protected, renamed to colHead.
10370         (lowerLeft): Made protected.
10371         (lowerRight): Made protected.
10372         (upperLeft): Made protected.
10373         (upperRight): Made protected.
10374         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10375         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10376
10377 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
10378
10379         * java/awt/MediaTracker.java (imageUpdate): Only set status to
10380         LOADING if flags has SOMEBITS set.
10381
10382 2004-06-07  Michael Koch  <konqueror@gmx.de>
10383
10384         * javax/swing/AbstractButton.java: Reorganized imports.
10385         * javax/swing/ActionMap.java: Likewise.
10386         * javax/swing/DefaultButtonModel.java: Likewise.
10387         * javax/swing/DefaultListModel.java: Likewise.
10388         * javax/swing/ImageIcon.java: Likewise.
10389         (serialVersionUID): New member variable.
10390         * javax/swing/JComboBox.java: Reorganized imports.
10391         * javax/swing/JComponent.java: Likewise.
10392         (ui): Made protected.
10393         (listenerList): Made protected.
10394         (TOOL_TIP_TEXT_KEY): New constant.
10395         (scrollRectToVisible): Removed redundant null check.
10396         * javax/swing/JFrame.java: Reorganized imports.
10397         * javax/swing/JInternalFrame.java: Reorganized imports.
10398         * javax/swing/JProgressBar.java: Likewise.
10399         * javax/swing/JRootPane.java: Likewise.
10400         * javax/swing/JScrollBar.java: Likewise.
10401         * javax/swing/JSeparator.java: Likewise.
10402         * javax/swing/JSlider.java: Likewise.
10403         * javax/swing/JTabbedPane.java: Likewise.
10404         * javax/swing/JTextField.java: Likewise.
10405         * javax/swing/JToolBar.java: Likewise.
10406         * javax/swing/JTree.java: Likewise.
10407         * javax/swing/JViewport.java: Likewise.
10408         * javax/swing/JWindow.java: Likewise.
10409         * javax/swing/KeyStroke.java: Likewise.
10410         * javax/swing/LookAndFeel.java: Likewise.
10411         * javax/swing/MenuSelectionManager.java: Likewise.
10412         * javax/swing/SwingUtilities.java: Likewise.
10413         * javax/swing/Timer.java: Likewise.
10414         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10415         * javax/swing/JList.java
10416         (HORIZONTAL_WRAP): Made final, fixed value.
10417         (VERTICAL): Likewise.
10418         (VERTICAL_WRAP): Likewise.
10419
10420 2004-06-07  Michael Koch  <konqueror@gmx.de>
10421
10422         * javax/swing/AbstractButton.java
10423         (serialVersionUID): New member variable.
10424         (AccessibleAbstractButton.serialVersionUID): Likewise.
10425         (AbstractButton): Made public.
10426         * javax/swing/Box.java
10427         (AccessibleBox.serialVersionUID): New member variable.
10428         (Filler.serialVersionUID): Likewise.
10429         * javax/swing/DefaultListSelectionModel.java
10430         (serialVersionUID): Likewise.
10431         * javax/swing/JApplet.java
10432         (serialVersionUID): Likewise.
10433         * javax/swing/JCheckBox.java
10434         (serialVersionUID): Likewise.
10435         * javax/swing/JCheckBoxMenuItem.java
10436         (serialVersionUID): Likewise.
10437         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10438         * javax/swing/JColorChooser.java
10439         (serialVersionUID): Likewise.
10440         (AccessibleJColorChooser.serialVersionUID): Likewise.
10441         * javax/swing/JComponent.java
10442         (serialVersionUID): Made private.
10443         (AccessibleJComponent.serialVersionUID): New member variable.
10444         * javax/swing/JDesktopPane.java
10445         (serialVersionUID): Likewise.
10446         * javax/swing/JDialog.java
10447         (serialVersionUID): Likewise.
10448         * javax/swing/JFormattedTextField.java
10449         (serialVersionUID): Fixed value.
10450         * javax/swing/JFrame.java
10451         (serialVersionUID): New member variable.
10452         (getDefaultCloseOpertation): Made public.
10453         * javax/swing/JLayeredPane.java
10454         (serialVersionUID): Likewise.
10455         (LAYER_PROPERTY): Made final, fixed value.
10456         (JLayeredPane): Made public.
10457         * javax/swing/JMenu.java
10458         (AccessibleJMenu.serialVersionUID): New member variable.
10459         (WinListener.serialVersionUID): Likewise.
10460         * javax/swing/JMenuBar.java
10461         (serialVersionUID): Likewise.
10462         (getComponentAtIndex): Added @deprecated tag.
10463         * javax/swing/JMenuItem.java
10464         (serialVersionUID): New member variable.
10465         (AccessibleJMenuItem.serialVersionUID): Likewise.
10466         * javax/swing/JOptionPane.java
10467         (serialVersionUID): Likewise.
10468         (AccessibleJOptionPane.serialVersionUID): Likewise.
10469         * javax/swing/JPopupMenu.java
10470         (serialVersionUID): Likewise.
10471         (AccessibleJPopupMenu.serialVersionUID): Likewise.
10472         (getPopupMenuListeners): New method.
10473         (getComponentAtIndex): Added @deprecated tag.
10474         * javax/swing/JProgressBar.java
10475         (serialVersionUID): New member variable.
10476         (AccessibleJProgressBar.serialVersionUID): Likewise.
10477         * javax/swing/JRadioButton.java
10478         (serialVersionUID): Likewise.
10479         * javax/swing/JRadioButtonMenuItem.java
10480         (serialVersionUID): Likewise.
10481         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10482         * javax/swing/JScrollBar.java
10483         (serialVersionUID): Likewise.
10484         (AccessibleJScrollBar.serialVersionUID): Likewise.
10485         * javax/swing/JSeparator.java
10486         (serialVersionUID): Likewise.
10487         (AccessibleJSeparator.serialVersionUID): Likewise.
10488         * javax/swing/JSlider.java: Fixed javadocs.
10489         (AccessibleJSlider.serialVersionUID): New member variable.
10490         * javax/swing/JSplitPane.java: Added copyright statement.
10491         (serialVersionUID): New member variable.
10492         (AccessibleJSplitPane.serialVersionUID): Likewise.
10493         * javax/swing/JTabbedPane.java
10494         (serialVersionUID): Likewise.
10495         (AccessibleJTabbedPane.serialVersionUID): Likewise.
10496         (ModelListener.serialVersionUID): Likewise.
10497         (ModelListener.ModelListener): New constructor.
10498         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10499         (WRAP_TAB_LAYOUT): Likewise.
10500         * javax/swing/JTable.java
10501         (serialVersionUID): New member variable.
10502         * javax/swing/JToggleButton.java
10503         (serialVersionUID): Likewise.
10504         (ToggleButtonModel): Made static.
10505         (ToggleButtonModel.serialVersionUID): New member variable.
10506         * javax/swing/JToolTip.java
10507         (serialVersionUID): Likewise.
10508         * javax/swing/JTree.java
10509         (serialVersionUID): Likewise.
10510         * javax/swing/JWindow.java
10511         (serialVersionUID): Likewise.
10512         * javax/swing/Timer.java
10513         (serialVersionUID): Likewise.
10514
10515 2004-06-06  Michael Koch  <konqueror@gmx.de>
10516
10517         * javax/swing/SwingConstants.java
10518         (NEXT): New constant.
10519         (PREVIOUS): Likewise.
10520         * javax/swing/UIManager.java
10521         (LookAndFeel): Made public.
10522         (LookAndFeel.getClassName): Likewise.
10523         (LookAndFeel.getName): Likewise.
10524
10525 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10526
10527         * javax/swing/JCheckBoxMenuItem.java:
10528         Removed CVS tags.
10529         * javax/swing/JMenu.java: Likewise.
10530         * javax/swing/JMenuBar.java: Likewise.
10531         * javax/swing/JMenuItem.java: Likewise.
10532         * javax/swing/JPopupMenu.java: Likewise.
10533         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10534         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10535         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10536         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10537         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10538         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10539         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10540
10541 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10542
10543         * javax/swing/plaf/basic/BasicMenuUI.java:
10544         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10545         Call getPath() from super class instead.
10546
10547 2004-05-31  David Jee  <djee@redhat.com>
10548
10549         * java/awt/Container.java
10550         (remove): Set component visibility to false after removing it.
10551
10552 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
10553
10554         * java/awt/Component.java (getForeground): Return SystemColor if
10555         parent is null.
10556         (getBackground): Likewise.
10557
10558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10559         (item_highlighted): New function.
10560         (connectSignals): Set item_highlighted as list's select
10561         function.
10562
10563         * java/applet/Applet.java: Revert changes from 2004-04-29,
10564         2004-03-15 and 2004-03-14.
10565
10566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10567         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10568         factor.
10569
10570         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10571         "Dialog" as the default font.
10572         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10573         Likewise.
10574         * java/awt/Component.java (getFont): Return "Dialog" font by
10575         default.
10576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10577         Multiply size argument to pango_font_description_set_size by the
10578         DPI conversion factor rather than by PANGO_SCALE.
10579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10580         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10581         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10583         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10585         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10589         Divide baseline y coordinate by DPI conversion factor rather
10590         than by PANGO_SCALE.
10591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10592         (area_prepared): Fix typo.
10593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10594         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10596         (dpi_conversion_factor): New global variable.
10597         (init_dpi_conversion_factor): New function to calculate and
10598         track DPI conversion factor.
10599         (dpi_changed_cb): New callback.
10600         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10601
10602 2004-05-27  David Jee  <djee@redhat.com>
10603
10604         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10605         (getGraphics): Return a new GdkGraphics instance.
10606         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10607         (getGraphics): Call super.getGraphics().
10608
10609 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10610
10611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10612         (setNativeBounds): Clamp width and height values to >= 0.
10613
10614         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10615         (find_fg_color_widget): Handle GtkOptionMenu specially.
10616
10617         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10618         (pre_event_handler): Only post configure events to visible
10619         top-level windows.
10620
10621 2004-05-26  David Jee  <djee@redhat.com>
10622
10623         * java/awt/BorderLayout.java
10624         (layoutContainer): Fix size calculations.
10625
10626 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10627
10628         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10629         (window_wm_protocols_filter): Remove function.
10630         (create): Remove filter that removes WM_TAKE_FOCUS client
10631         messages.
10632
10633 2004-06-17  Anthony Green  <green@redhat.com>
10634
10635         * java/util/zip/ZipFile.java (getInputStream): Return null if
10636         entry not found.
10637
10638         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10639         directory contents to the class path.
10640
10641 2004-06-15  Andrew Haley  <aph@redhat.com>
10642
10643         * java/lang/natSystem.cc (getenv0): Don't assume environment
10644         variable is Latin 1 coded.
10645
10646 2004-06-14  Andreas Jaeger  <aj@suse.de>
10647
10648         * configure.in: Support --enable-version-specific-runtime-libs.
10649         * configure: Regenerated.
10650
10651 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
10652
10653         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10654         to pass ClassLoader argument.
10655         * java/util/GregorianCalendar.java: Likewise.
10656         * java/util/Currency.java: Likewise.
10657         * java/text/BreakIterator.java: Likewise.
10658         * java/text/Collator.java: Likewise.
10659         * java/text/DateFormat.java: Likewise.
10660         * java/text/DateFormatSymbols.java: Likewise.
10661         * java/text/DecimalFormatSymbols.java: Likewise.
10662         * java/text/NumberFormat.java: Likewise.
10663         * java/awt/Window.java: Likewise.
10664
10665 2004-06-14  Andrew Haley  <aph@redhat.com>
10666
10667         * java/lang/System.java: (getenv0): New method.
10668         (getenv): Add security check.  Do the right thing.
10669         * java/lang/natSystem.cc (getenv0): New method.
10670
10671 2004-06-12  Mark Wielaard  <mark@klomp.org>
10672
10673         * javax/swing/RepaintManager.java
10674         (paintDirtyRegions): Use entrySet(), not values().
10675
10676 2004-06-10  Mark Wielaard  <mark@klomp.org>
10677
10678         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10679         NoSuchMethodError.
10680
10681 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
10682
10683         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
10684         when we already know the answer.
10685         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10686         (setStartRule,setEndRule): Don't take abs of day number.
10687         (getOffset): Clarify docs.  Add argument checks.
10688         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10689         (equals,hasSameRules,toString,readObject): Use startTimeMode and
10690         endTimeMode.
10691
10692 2004-06-10  Tom Tromey  <tromey@redhat.com>
10693
10694         * interpret.cc (run): Handle wide fload.
10695
10696 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
10697
10698         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10699
10700 2004-06-05  Michael Koch  <konqueror@gmx.de>
10701
10702         * javax/swing/SwingConstants.java
10703         (NEXT): New constant.
10704         (PREVIOUS): Likewise.
10705
10706 2004-06-05  Michael Koch  <konqueror@gmx.de>
10707
10708         * javax/swing/UIManager.java
10709         (LookAndFeel): Made public.
10710         (LookAndFeel.getName): Likewise.
10711         (LookAndFeel.getClassName): Likewise.
10712
10713 2004-06-03  Michael Koch  <konqueror@gmx.de>
10714
10715         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10716         (requestFocus): Revert last changes.
10717         (gtkRequestFocus): Removed.
10718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10719         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10720         Renamed to ...
10721         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10722         Reverted last patch.
10723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10724         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10725         Reverted comment change.
10726
10727 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10728
10729         * javax/swing/JCheckBoxMenuItem.java:
10730         Removed CVS tags.
10731         * javax/swing/JMenu.java: Likewise.
10732         * javax/swing/JMenuBar.java: Likewise.
10733         * javax/swing/JMenuItem.java: Likewise.
10734         * javax/swing/JPopupMenu.java: Likewise.
10735         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10736         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10737         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10738         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10739         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10740         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10741         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10742
10743 2004-06-01  Tom Tromey  <tromey@redhat.com>
10744
10745         * java/io/ObjectStreamField.java: Cleaned up imports.
10746
10747 2004-06-01  Michael Koch  <konqueror@gmx.de>
10748
10749         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10750
10751 2004-06-01  Mark Wielaard  <mark@klomp.org>
10752
10753         * java/io/Writer.java (Writer(Object)): Fixed API doc.
10754
10755 2004-06-01  Michael Koch  <konqueror@gmx.de>
10756
10757         * java/security/Security.java
10758         (insertProviderAt): Use equals() instead of ==.
10759         (removeProvicer): Likewise.
10760         (getProvider): Likewise.
10761         * java/security/Signature.java
10762         (sign): Don't set state to UNINITIALIZED.
10763         (verify): Likewise.
10764
10765 2004-06-01  Mark Wielaard  <mark@klomp.org>
10766
10767         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10768         Implement by calling gtkRequestFocus.
10769         (gtkRequestFocus): New native method.
10770         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10771         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10772         Renamed to ...
10773         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10774         New function name.
10775         (filter_expose_event_handler):
10776         Mark static.
10777         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10778         (menu_pos): Mark static.
10779
10780 2004-06-01  Michael Koch  <konqueror@gmx.de>
10781
10782         * java/text/CollationElementIterator.java,
10783         java/text/CollationKey.java,
10784         java/text/RuleBasedCollator.java: New versions from GNU classpath.
10785         * testsuite/libjava.mauve/xfails: Removed all
10786         java.text.CollationElementIterator tests.
10787
10788 2004-06-01  Michael Koch  <konqueror@gmx.de>
10789
10790         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10791         version.
10792         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10793         Java 1.5 keyword usage.
10794
10795 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10796
10797         * javax/swing/plaf/basic/BasicMenuUI.java:
10798         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10799         Call getPath() from super class instead.
10800
10801 2004-05-31  Michael Koch  <konqueror@gmx.de>
10802
10803         * java/io/SequenceInputStream.java:
10804         Rename enum to e because enum is a keyword in Java 1.5.
10805
10806 2004-05-31  Michael Koch  <konqueror@gmx.de>
10807
10808         * gnu/java/rmi/rmic/CompilerProcess.java:
10809         Fixed javadoc to by XHTML compliant.
10810
10811 2004-05-30  Mark Wielaard  <mark@klomp.org>
10812
10813         * java/awt/Toolkit.java (loadSystemColors): Implement.
10814
10815 2004-05-30  Michael Koch  <konqueror@gmx.de>
10816
10817         * java/lang/System.java: Reordered imports.
10818
10819 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
10820
10821         * java/text/DecimalFormat.java
10822         (parse): Fixed parsing of decimal strings. Number of maximum
10823         digits to be read should now work.
10824         * java/text/SimpleDateFormat.java
10825         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10826         formatter. This fixes DateFormatTest.
10827
10828 2004-05-30  Michael Koch  <konqueror@gmx.de>
10829
10830         * java/nio/Buffer.java
10831         (limit): Fixed off by one error.
10832         * java/nio/CharBuffer.java
10833         (wrap): Fixed arguments, added javadocs.
10834
10835 2004-05-30  Michael Koch  <konqueror@gmx.de>
10836
10837         * gnu/java/beans/BeanInfoEmbryo.java,
10838         java/awt/im/InputContext.java,
10839         javax/swing/tree/DefaultMutableTreeNode.java:
10840         Rename enum to e because enum is a keyword in Java 1.5.
10841
10842 2004-05-30  Michael Koch  <konqueror@gmx.de>
10843
10844         * gnu/java/math/MPN.java,
10845         java/awt/geom/Arc2D.java:
10846         Fixed javadocs all over.
10847
10848 2004-05-30  Michael Koch  <konqueror@gmx.de>
10849
10850         * java/awt/DefaultKeyboardFocusManager.java
10851         (dispatchEvent): Call method to get key event dispatchers.
10852         (dispatchKeyEvent): Call method to get key event post processors.
10853         * javax/swing/JComponent.java
10854         (listenerList): Made protected.
10855         * javax/swing/JOptionPane.java
10856         (message): Don't initialize.
10857         (JOptionPane): Set message text.
10858         * javax/swing/JPopupMenu.java
10859         (show): Fixed typo in argument name.
10860         * javax/swing/RepaintManager.java
10861         (paintDirtyRegions): Use public API of java.util.Map.
10862         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10863         (positionForMouseEvent): Removed redundant ';'.
10864         (continueDrag): Use method arguments.
10865
10866 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
10867
10868         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10869         results.
10870
10871 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
10872
10873         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10874         _Jv_AllocBytes.
10875         * gnu/gcj/RawDataManaged.java: New file.
10876         * java/lang/Thread.java (data): Declare as RawDataManaged.
10877         * java/lang/natThread.cc (init_native): Cast natThread data to
10878         RawDataManaged, not jobject.
10879         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10880         * Makefile.in: Rebuilt.
10881
10882 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
10883
10884         * java/util/SimpleTimeZone.java: Reverting my last change until I
10885         can fix it properly.
10886
10887 2004-05-27  Michael Koch  <konqueror@gmx.de>
10888
10889         * javax/swing/JPopupMenu.java
10890         (isVisible): Do not use visible directly.
10891         (setVisible): Likewise.
10892         * javax/swing/JWindow.java
10893         (JWindow): call accessible constructor.
10894         * javax/swing/RepaintManager.java
10895         (paintDirtyRegions): Use public methods to obtain iterator.
10896
10897 2004-05-25  David Jee  <djee@redhat.com>
10898
10899         * java/awt/Container.java
10900         (remove): Set component's parent to null only after we removed the
10901         component from its parent's layout manager.
10902
10903 2004-05-25  David Jee  <djee@redhat.com>
10904
10905         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10906         (GtkComponentPeer): Set bounds regardless of whether awtComponent
10907         is valid.
10908         * gnu/java/awt/peer/gtk/GtkListPeer.java
10909         (getSize): Change native method declaration.
10910         (minimumSize): Pass visible row count into getSize().
10911         (preferredSize): Likewise.
10912         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10913         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10914         natural size. Use visible row count to determine the final height
10915         value to return.
10916
10917 2004-05-21  Graydon Hoare  <graydon@redhat.com>
10918
10919         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10920         (setClip): Minor correction to order of operations.
10921
10922         * javax/swing/JScrollPane.java: Extend sketchy implementation.
10923         * javax/swing/ScrollPaneLayout.java: Likewise.
10924         * javax/swing/JViewPort.java: Likewise.
10925         * javax/swing/ViewportLayout.java: Likewise.
10926
10927         * javax/swing/JComponent.java: Rewrite.
10928         * javax/swing/RepaintManager.java: Likewise.
10929
10930         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10931         * javax/swing/JList.java
10932         (setSelectedIndices):
10933         (getSelectedIndices):
10934         (getSelectedValues): New functions.
10935         (getPreferredScrollableViewportSize): Return preferred size.
10936         (getScrollableUnitIncrement):
10937         (getScrollableBlockIncrement): Initial implementations.
10938         * javax/swing/JRootPane.java: Clean up slightly.
10939         (getUI):
10940         (setUI):
10941         (updateUI):
10942         (getUIClassID):
10943         (isValidateRoot): Add overrides from JComponent.
10944         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10945         * javax/swing/UIManager.java (getDimension): Return the dimension.
10946
10947         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10948         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10949         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10950         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10951         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10952         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10953         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10954         * javax/swing/plaf/basic/BasicRootPaneUI.java:
10955         Likewise, and set background.
10956         * javax/swing/plaf/basic/BasicListUI.java:
10957         Likewise, and improve a bit.
10958         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10959         Likewise, and adjust calculations.
10960         * javax/swing/plaf/basic/BasicViewportUI.java:
10961         Likewise, and improve a bit.
10962         * javax/swing/plaf/basic/BasicLookAndFeel.java
10963         (Button.margin): Shrink.
10964
10965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10966         Hack to set horizontal always, workaround pango.
10967
10968         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10969         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10970         Synchronize more often, check cairo status after ops,
10971         handle changes to cairo pattern API, check for disposal.
10972
10973 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
10974
10975         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10976         (BasicMenuItemUI): Create propertyChangeListener.
10977         (getPath):Implemented.
10978         (installListeners): Add propertyChangeListener to menuItem.
10979         (uninstallListeners): Remove propertyChangeListener from menuItem.
10980         (update): Implemented.
10981         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10982         (mouseEntered): Take insets of popup menu into account when
10983         calculating position of popup menu.
10984
10985 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10986
10987         * Makefile.am: Added new file.
10988         * Makefile.in: Regenerate.
10989         * javax/swing/JMenuBar.java:
10990         Started implementation.
10991         * javax/swing/JPopupMenu.java:
10992         (setVisible): Fixed location of lightweight/mediumweight
10993         popup menu.
10994         (show): Fixed location of PopupMenu.
10995         * javax/swing/plaf/basic/BasicMenuBarUI.java:
10996         New file. UI Delegate for JMenuBar.
10997         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10998         (mouseEntered): Corrected position of the submenu.
10999
11000 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
11001
11002         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
11003         to _gtk_accel_group_attach.
11004         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
11005         Likewise.
11006
11007         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
11008         package access.  Don't override setFont.
11009         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
11010         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
11011         gtkWidgetRequestFocus package access.
11012         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
11013         setFont.
11014         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
11015         Give gtkWidgetRequestFocus package access.
11016         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
11017         gtkWidgetRequestFocus package access.  Don't override setFont.
11018         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
11019         setFont.
11020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11021         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
11022         region.
11023         (gtkSetFont): Likewise.
11024         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
11025         Implement.
11026         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11027         (gtkSetFont): Whitespace fix.
11028
11029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11030         (gtkWidgetSetUsize): Remove method.
11031
11032 2004-05-18  David Jee  <djee@redhat.com>
11033
11034         * java/awt/image/MemoryImageSource.java
11035         (newPixels(int,int,int,int,boolean)): Set only the specified
11036         rectangle of pixels.
11037         (newPixels(byte[],ColorModel,int,int)): Implement.
11038         (newPixels(int[],ColorModel,int,int)): Implement.
11039
11040 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
11041
11042         * Makefile.am: Added new file.
11043         * Makefile.in: Regenerate.
11044         * javax/swing/JMenu.java: Started
11045         implementation.
11046         * javax/swing/JPopupMenu.java:
11047         (insert): If specified index is -1, then
11048         add component at the end.
11049         (isPopupTrigger): Reimplemented.
11050         (JPopupMenu.LightWeightPopup): setBounds
11051         of the lightWeightPopup before adding it
11052         to the layeredPane.
11053         (javax/swing/plaf/basic/BasicIconFactory.java):
11054         (getMenuArrowIcon): Implemented.
11055         * javax/swing/plaf/basic/BasicMenuItemUI.java:
11056         (getPreferredSize): Add size of the arrow icon
11057         if this menu item is instance of JMenu.
11058         (paintMenuItem): Paint arrow icon if this
11059         menu item is a submenu.
11060         * javax/swing/plaf/basic/BasicMenuUI.java:
11061         New File. UI Delegate for JMenu.
11062
11063 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
11064
11065         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
11066         Post KEY_TYPED events.
11067         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11068         (generates_key_typed_event): Remove function.
11069
11070 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
11071
11072         * javax/swing/JRootPane.java
11073         (JRootPane.RootLayout): Reimplemented to
11074         set bounds of contentPane and menuBar.
11075         (setJMenuBar): Add menu bar to the layered pane.
11076         (createLayeredPane): Set layout of layeredPane
11077         to null.
11078         * javax/swing/JLayeredPane.java:
11079         (addImpl): Calculate index of the component in the
11080         layeredPane according to the specified position within
11081         the layer.
11082
11083 2004-05-17  David Jee  <djee@redhat.com>
11084
11085         * gnu/java/awt/peer/gtk/GtkImagePainter.java
11086         (setPixels): Change color model to the default model after
11087         converting pixels.
11088         * java/awt/image/MemoryImageSource.java
11089         (newPixels): Set only the specified rectangle of pixels.
11090
11091 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11092
11093         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
11094         -l-java-beans -l-javax-accessibility -l-javax-swing.
11095
11096         * java/awt/AWTEvent.java (toString): Print source's name rather
11097         than the source itself.
11098
11099 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
11100
11101         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
11102         native.
11103         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
11104         (gdk_color_to_java_color): New function.
11105         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
11106
11107 2004-05-12  David Jee  <djee@redhat.com>
11108
11109         * java/awt/image/RGBImageFilter.java:
11110         Initialize origmodel as null.
11111         (makeColor): Fix pixel component order.
11112         (filterRGBPixels): Fix pixel iteration.
11113         (setPixels): Add extra checks for index color model. Convert pixels
11114         to default color model if necessary.
11115         (convertColorModelToDefault): New override method for byte pixels.
11116         (convertColorModelToDefault): For int pixels, fix pixel iteration.
11117         (makeColorbyDefaultCM): New override method for byte pixels.
11118         (makeColorbyDefaultCM): For int pixel, add color model as argument.
11119         (makeColor): Fix pixel component order.
11120
11121 2004-05-11  Kim Ho  <kho@redhat.com>
11122
11123         * javax/swing/Box.java:
11124         Comment out more parts of Box.Filler.
11125
11126 2004-05-11  Kim Ho  <kho@redhat.com>
11127
11128         * javax/swing/Box.java:
11129         Remove reference to AccessibleAWTComponent so
11130         it compiles again.
11131
11132 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
11133
11134         * gnu/java/awt/peer/gtk/GtkListPeer.java,
11135         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
11136         implementation of list peer to use GtkTreeView instead of
11137         deprecated GtkCList.
11138
11139 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
11140
11141         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11142         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
11143         (handleEvent): Remove keyChar argument to
11144         gtkWidgetDispatchKeyEvent calls.
11145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
11146         compiler warnings.
11147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
11149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
11150         Likewise.
11151
11152 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
11153
11154         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11155         (gtkWidgetRequestFocus): Mark protected.
11156         (GtkComponentPeer): Only set the peer's bounds if its component
11157         is valid.
11158         * java/awt/Component.java (static): Set the default keyboard
11159         focus manager.
11160         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
11161         requestFocusInWindow(temporary)): Don't request focus if the
11162         component is not showing.  Get tree lock before traversing
11163         component hierarchy.
11164         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
11165         Only set the global focus owner if it is not a Window.
11166         (processKeyEvent): Consume keystrokes associated with the focus
11167         traversal keystroke.
11168         (focusPreviousComponent, focusNextComponent, upFocusCycle,
11169         downFocusCycle): Call requestFocusInWindow instead of
11170         requestFocus.
11171         * java/awt/EventDispatchThread.java (run): Move setting of
11172         default keyboard focus manager to Component.java.
11173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11174         (awt_keycode_to_keysym): New function.
11175         (gtkWidgetDispatchKeyEvent): Finish implementation.
11176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11177         (pre_event_handler): Add FIXME comment.
11178
11179         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11180         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11181         (gtkWidgetRequestFocus): New method.
11182         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
11183         disable Tab and Shift-Tab keystrokes.
11184         (addNotify, appendText, insertText, replaceText): Simplify peer
11185         retrieval code.
11186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
11187         (connectSignals): Remove connections to "commit" signals.
11188         Remove C++-style comments.
11189
11190         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11191         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11192         (handleEvent): Activate GTK button when the space bar key is
11193         pressed.
11194         (gtkActivate): New method.
11195
11196 2004-05-06  David Jee  <djee@redhat.com>
11197
11198         * java/awt/image/CropImageFilter.java
11199         (setPixels): Implement for byte array pixels.
11200         * java/awt/image/ReplicateScaleFilter.java
11201         (setPixels): Implement for byte array pixels.
11202         (replicatePixels): Overload for byte array pixels.
11203
11204 2004-05-06  Kim Ho  <kho@redhat.com>
11205
11206         * javax/swing/Box.java:
11207         (getAccessibleContext): Return an instance of the
11208         correct class.
11209
11210 2004-05-05  David Jee  <djee@redhat.com>
11211
11212         * gnu/java/awt/peer/gtk/GdkGraphics.java
11213         (drawImage): When component is null, use SystemColor.window as
11214         the default bgcolor.
11215         * gnu/java/awt/peer/gtk/GtkImage.java
11216         (setPixels): We can avoid iterating through the pixel rows only
11217         when height is 1.
11218         * java/awt/Image.java
11219         (getScaledInstance): Partially implement.
11220         * java/awt/image/CropImageFilter.java
11221         (setProperties): Fix "filter" property.
11222         (setPixels): Implement.
11223         * java/awt/image/ReplicateScaleFilter.java
11224         (setDimensions): Use scaled dimensions.
11225         (setPixels): Implement.
11226         (replicatePixels): New method.
11227
11228 2004-05-05  David Jee  <djee@redhat.com>
11229
11230         * gnu/java/awt/peer/gtk/GtkImagePainter.java
11231         (convertPixels): If either pixels or model is null, return null.
11232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
11233         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
11234         is null, do nothing and return.
11235
11236 2004-05-03  Kim Ho  <kho@redhat.com>
11237
11238         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
11239         (getGraphics): Like GtkFramePeer, the Graphics
11240         object needs to be translate to account for
11241         window decorations.
11242         (postMouseEvent): New method. Account for
11243         translation.
11244         (postExposeEvent): ditto.
11245         * javax/swing/Box.java: Stubbed.
11246         * javax/swing/JDialog.java: Ran through jalopy
11247         to fix indentation.
11248         (JDialog): Call SwingUtilities' getOwnerFrame
11249         for null owners.
11250         (setLayout): Check isRootPaneCheckingEnabled
11251         * javax/swing/JOptionPane.java: Re-implemented.
11252         * javax/swing/SwingUtilities.java:
11253         (getOwnerFrame): Static method to grab a default
11254         owner frame for Dialogs that don't specify owners.
11255         * javax/swing/event/SwingPropertyChangeSupport.java:
11256         (firePropertyChange): Fix early exit condition.
11257         * javax/swing/plaf/basic/BasicLabelUI.java:
11258         (paint): Avoid painting text if it is null
11259         or empty.
11260         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11261         Implement.
11262
11263 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
11264
11265         * Makefile.am: Added new file.
11266         * Makefile.in: Regenerate.
11267         * javax/swing/JPopupMenu.java:
11268         Started implementation.
11269         * javax/swing/JWindow.java
11270         (JWindow): call super() if parent for window
11271         is not specified.
11272         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11273         New File. UI Delegate for JPopupMenu.
11274
11275 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
11276
11277         * javax/swing/JApplet.java: Indicated that JApplet
11278         implements RootPaneContainer and made method of this
11279         interface public.
11280         * javax/swing/JFrame.java: Ditto.
11281         * javax/swing/JWindow.java: Ditto.
11282
11283 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
11284
11285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11286         (nativeSetBounds): Call gdk_window_move in addition to
11287         gtk_window_move.
11288
11289         * java/applet/Applet.java (preferredSize): Call parent's
11290         preferredSize if the applet stub is null.
11291         (minimumSize): Likewise for parent's minimumSize.
11292
11293 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
11294
11295         * javax/swing/JMenuItem.java
11296         (createActionPropertyChangeListener): Implemented.
11297         (processMouseEvent): Ditto.
11298         (fireMenuDragMouseEntered): Ditto.
11299         (fireMenuDragMouseExited): Ditto.
11300         (fireMenuDragMouseDragged): Ditto.
11301         (fireMenuDragMouseReleased): Ditto.
11302         (menuSelectionChanged): Ditto.
11303         (getSubElements): Ditto.
11304         (getComponent): Ditto.
11305         (addMenuDragMouseListener): Ditto.
11306         (removeMenuDragMouseListener):Ditto.
11307         (addMenuKeyListener): Ditto.
11308         (removeMenuKeyListener): Ditto.
11309         * javax/swing/plaf/basic/BasicMenuItemUI.java
11310         (doClick): Imlemented.
11311         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11312         Don't handle mouse events here. Pass them to
11313         MenuSelectionManager.
11314
11315 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11316         Used correct version of jalopy configuration
11317         file to fix style in the files below.
11318
11319 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11320
11321         * javax/swing/JCheckBoxMenuItem.java:
11322         Fixed style and removed unnecessary comments.
11323         * javax/swing/JMenuItem.java: Ditto.
11324         * javax/swing/JRadioButtonMenuItem.java: Ditto.
11325         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11326         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11327         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11328
11329 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
11330
11331         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11332         C-style.
11333
11334         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11335
11336         * java/awt/ContainerOrderFocusTraversalPolicy.java
11337         (getComponentAfter): Start from current component and work up
11338         the component hierarchy until an acceptable component is found.
11339         Synchronize on tree lock.
11340         (getComponentBefore): Likewise.
11341
11342 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11343
11344         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11345         focus-related debugging messages.
11346         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11347         * java/awt/EventDispatchThread.java: Likewise.
11348         * java/awt/KeyboardFocusManager.java: Likewise.
11349         * java/awt/Window.java: Likewise.
11350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11351         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11352
11353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11354         new C++-style comments to C-style comments.
11355         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11356
11357         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11358         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11359         (handleEvent): Dispatch key press and key release events to
11360         backing widget.
11361         (requestFocus): Post a FOCUS_GAINED event to the event queue.
11362         (gtkWidgetRequestFocus): New method.
11363         (gtkWidgetDispatchKeyEvent): Likewise.
11364         * java/awt/Component.java (requestFocus, requestFocus(boolean),
11365         requestFocusInWindow, requestFocusInWindow(boolean),
11366         getFocusCycleRootAncestor, nextFocus, transferFocus,
11367         transferFocusBackward, transferFocusUpCycle, hasFocus,
11368         isFocusOwner): Implement and document focus-handling methods.
11369         (setFocusTraversalKeys): Inherit focus traversal keys when
11370         keystrokes argument is null.  Fix focus-handling documentation
11371         throughout class.
11372         * java/awt/Container.java (setFocusTraversalKeys,
11373         getFocusTraversalKeys, areFocusTraversalKeysSet,
11374         isFocusCycleRoot, setFocusTraversalPolicy,
11375         getFocusTraversalPolicy, isFocusTraversalPolicySet,
11376         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11377         Implement and document focus-handling methods.
11378         (transferFocusBackward): Remove method.
11379         (readObject, writeObject): Implement and document serialization
11380         methods.
11381         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11382         and document.
11383         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11384         document.
11385         * java/awt/DefaultKeyboardFocusManager.java: Implement and
11386         partially document.
11387         * java/awt/EventDispatchThread.java (run): Set default keyboard
11388         focus manager.  Attempt to dispatch each event to the keyboard
11389         focus manager before normal dispatch.
11390         * java/awt/KeyboardFocusManager.java: Implement and partially
11391         document.
11392         * java/awt/Window.java (Window): Set focusCycleRoot to true.
11393         (show): Focus initial component when window is shown for the
11394         first time.
11395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11396         (pre_event_handler): Replace complex key press and key release
11397         logic with simple callbacks into GtkComponentPeer.
11398         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11399
11400 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
11401
11402         * javax/swing/MenuSelectionManager.java
11403         (componentForPoint): Added new method.
11404         (defaultManager): New Method. Implemented.
11405         (getSelectedPath): Ditto.
11406         (isComponentPartOfCurrentMenu): Ditto.
11407         (processKeyEvent): Added new method.
11408         (processMouseEvent): New Method. Implemented.
11409         (setSelectedPath): Ditto.
11410         (getPath): Ditto.
11411
11412 2004-04-19  Kim Ho  <kho@redhat.com>
11413
11414         * java/awt/Container.java:
11415         (remove): Set the component's parent to null.
11416         (getComponentAt): Implement.
11417         * javax/swing/JComponent.java:
11418         (JComponent): Initialize defaultLocale
11419         (getDefaultLocale): Implement.
11420         (setDefaultLocale): ditto.
11421         * javax/swing/JSlider.java:
11422         (JSlider): Fix calculation of value.
11423         * javax/swing/JSplitPane.java: Implement.
11424         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11425         Change SplitPane's default divider size.
11426         * javax/swing/plaf/basic/BasicScrollBarUI.java:
11427         (paint): Remove unused code.
11428         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11429         Added comments and ran through jalopy.
11430         (setBasicSplitPaneUI): Get reference to hidden divider
11431         and set up one touch buttons if necessary.
11432         (setBorder): Fire propertyChangeEvent only if
11433         borders are different.
11434         (getPreferredSize): Defer to layout manager.
11435         (propertyChange): Implement.
11436         (oneTouchExpandableChanged): ditto.
11437         (createLeftOneTouchButton): Use BasicArrowButton.
11438         (createRightOneTouchButton): ditto.
11439         (moveDividerTo): New method. Moves the divider
11440         to a set location based on the last divider location.
11441         (BasicSplitPaneDivider::MouseHandler): Implement.
11442         (BasicSplitPaneDivider::OneTouchButton): Removed.
11443         (BasicSplitPaneDivider::DragController): Implement.
11444         (BasicSplitPaneDivider::VerticalDragController):
11445         ditto.
11446         (BasicSplitPaneDivider::DividerLayout): ditto.
11447         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11448         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11449         (calculateLayoutInfo): Don't show component if it's
11450         null.
11451         (paintTab): Fix title paint logic.
11452
11453 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
11454
11455         PR libgcj/8321
11456         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11457         (setStartRule,setEndRule): Don't take abs of day number.
11458         (getOffset): Clarify docs.  Add argument checks.
11459         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11460         (equals,hasSameRules,toString,readObject): Use startTimeMode and
11461         endTimeMode.
11462         * testsuite/libjava.mauve/xfails
11463         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11464
11465 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
11466
11467         Layout interfaces during preparation, not initialization.
11468         * java/lang/natClass.cc (initializeClass): Move
11469         _Jv_LayoutInterfaceMethods call...
11470         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11471
11472 2004-05-19  Anthony Green  <green@localhost.localdomain>
11473
11474         * Makefile.am (awt_java_source_files): Remove javax.rmi and
11475         gnu.javax.rmi code.
11476         * Makefile.in: Rebuilt.
11477         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11478         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11479         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11480         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11481         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11482         gnu/javax/rmi/CORBA/DelegateFactory.java,
11483         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11484         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11485         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11486         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11487         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11488         gnu/javax/rmi/PortableServer.java: Remove files.
11489
11490 2004-05-19  Anthony Green  <green@redhat.com>
11491
11492         * Makefile.am: Define JAVA_EXT_DIRS.
11493         * Makefile.in: Rebuilt.
11494         * java/lang/natRuntime.cc (insertSystemProperties): Set
11495         java.ext.dirs property.
11496
11497 2004-05-16  Mark Wielaard  <mark@klomp.org>
11498
11499         * java/io/Writer.java (Writer(Object)): Check for null lock object.
11500
11501 2004-05-15  Mark Wielaard  <mark@klomp.org>
11502
11503         * doc/cni.sgml: Removed, merged into gcj.texi.
11504
11505 2004-05-15  Mark Wielaard  <mark@klomp.org>
11506
11507         * Makefile.am (ordinary_java_source_files): Add new javax.print
11508         classes.
11509         * Makefile.in: Regenerated.
11510
11511 2004-05-15  Michael Koch  <konqueror@gmx.de>
11512
11513         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11514         javax/print/attribute/standard/DateTimeAtCreation.java,
11515         javax/print/attribute/standard/DateTimeAtProcessing.java,
11516         javax/print/attribute/standard/DocumentName.java,
11517         javax/print/attribute/standard/JobHoldUntil.java,
11518         javax/print/attribute/standard/JobImpressionsCompleted.java,
11519         javax/print/attribute/standard/JobMessageFromOperator.java,
11520         javax/print/attribute/standard/JobName.java,
11521         javax/print/attribute/standard/JobOriginatingUserName.java,
11522         javax/print/attribute/standard/JobPriority.java,
11523         javax/print/attribute/standard/JobPrioritySupported.java,
11524         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11525         javax/print/attribute/standard/OutputDeviceAssigned.java,
11526         javax/print/attribute/standard/PrinterInfo.java,
11527         javax/print/attribute/standard/PrinterLocation.java,
11528         javax/print/attribute/standard/PrinterMakeAndModel.java,
11529         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11530         javax/print/attribute/standard/PrinterName.java,
11531         javax/print/attribute/standard/QueuedJobCount.java,
11532         javax/print/attribute/standard/RequestingUserName.java:
11533         Fixed javadocs all over.
11534
11535 2004-05-15  Michael Koch  <konqueror@gmx.de>
11536
11537         * javax/print/DocFlavor.java,
11538         javax/print/attribute/standard/ColorSupported.java,
11539         javax/print/attribute/standard/Compression.java,
11540         javax/print/attribute/standard/CopiesSupported.java,
11541         javax/print/attribute/standard/Fidelity.java,
11542         javax/print/attribute/standard/Finishings.java,
11543         javax/print/attribute/standard/JobImpressionsSupported.java,
11544         javax/print/attribute/standard/JobKOctetsSupported.java,
11545         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11546         javax/print/attribute/standard/JobSheets.java,
11547         javax/print/attribute/standard/JobState.java,
11548         javax/print/attribute/standard/JobStateReason.java,
11549         javax/print/attribute/standard/JobStateReasons.java,
11550         javax/print/attribute/standard/Media.java,
11551         javax/print/attribute/standard/MediaSizeName.java,
11552         javax/print/attribute/standard/MultipleDocumentHandling.java,
11553         javax/print/attribute/standard/NumberUpSupported.java,
11554         javax/print/attribute/standard/OrientationRequested.java,
11555         javax/print/attribute/standard/PDLOverrideSupported.java,
11556         javax/print/attribute/standard/PageRanges.java,
11557         javax/print/attribute/standard/PresentationDirection.java,
11558         javax/print/attribute/standard/PrintQuality.java,
11559         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11560         javax/print/attribute/standard/PrinterMoreInfo.java,
11561         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11562         javax/print/attribute/standard/PrinterResolution.java,
11563         javax/print/attribute/standard/PrinterState.java,
11564         javax/print/attribute/standard/PrinterStateReason.java,
11565         javax/print/attribute/standard/PrinterStateReasons.java,
11566         javax/print/attribute/standard/PrinterURI.java,
11567         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11568         javax/print/attribute/standard/Severity.java,
11569         javax/print/attribute/standard/SheetCollate.java,
11570         javax/print/attribute/standard/Sides.java:
11571         Added serialVersionUID and removed final keyword where it doenst
11572         belong.
11573
11574 2004-05-15  Michael Koch  <konqueror@gmx.de>
11575
11576         * javax/print/PrintServiceLookup.java: New file.
11577
11578 2004-05-15  Michael Koch  <konqueror@gmx.de>
11579
11580         * javax/print/DocFlavor.java:
11581         Implemented all flavor classes.
11582
11583 2004-05-15  Michael Koch  <konqueror@gmx.de>
11584
11585         * javax/print/attribute/standard/ColorSupported.java,
11586         javax/print/attribute/standard/Compression.java,
11587         javax/print/attribute/standard/CopiesSupported.java,
11588         javax/print/attribute/standard/Fidelity.java,
11589         javax/print/attribute/standard/Finishings.java,
11590         javax/print/attribute/standard/JobImpressionsSupported.java,
11591         javax/print/attribute/standard/JobKOctetsSupported.java,
11592         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11593         javax/print/attribute/standard/JobSheets.java,
11594         javax/print/attribute/standard/JobState.java,
11595         javax/print/attribute/standard/JobStateReason.java,
11596         javax/print/attribute/standard/JobStateReasons.java,
11597         javax/print/attribute/standard/Media.java,
11598         javax/print/attribute/standard/MediaSizeName.java,
11599         javax/print/attribute/standard/MultipleDocumentHandling.java,
11600         javax/print/attribute/standard/NumberUpSupported.java,
11601         javax/print/attribute/standard/OrientationRequested.java,
11602         javax/print/attribute/standard/PDLOverrideSupported.java,
11603         javax/print/attribute/standard/PageRanges.java,
11604         javax/print/attribute/standard/PresentationDirection.java,
11605         javax/print/attribute/standard/PrintQuality.java,
11606         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11607         javax/print/attribute/standard/PrinterMoreInfo.java,
11608         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11609         javax/print/attribute/standard/PrinterResolution.java,
11610         javax/print/attribute/standard/PrinterState.java,
11611         javax/print/attribute/standard/PrinterStateReason.java,
11612         javax/print/attribute/standard/PrinterStateReasons.java,
11613         javax/print/attribute/standard/PrinterURI.java,
11614         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11615         javax/print/attribute/standard/Severity.java,
11616         javax/print/attribute/standard/SheetCollate.java,
11617         javax/print/attribute/standard/Sides.java: New files.
11618
11619 2004-05-15  Michael Koch  <konqueror@gmx.de>
11620
11621         * javax/print/Doc.java
11622         (getPrintData): Throws IOException.
11623         (getReaderForText): Likewise.
11624         (getStreamForBytes): Likewise.
11625         * javax/print/DocFlavor.java:
11626         Fixed filename in copyright.
11627         (serialVersionUID): New field.
11628         * javax/print/ServiceUIFactory.java:
11629         Made all constants final.
11630         * javax/print/AttributeException.java
11631         javax/print/MultiDoc.java
11632         javax/print/MultiDocPrintJob.java
11633         javax/print/MultiDocPrintService.java
11634         javax/print/StreamPrintService.java
11635         javax/print/URIException.java: New files.
11636         * javax/print/Makefile.am
11637         (EXTRA_DIST): Added all new files.
11638
11639 2004-05-15  Michael Koch  <konqueror@gmx.de>
11640
11641         * javax/print/attribute/standard/Copies.java,
11642         javax/print/attribute/standard/DateTimeAtCompleted.java,
11643         javax/print/attribute/standard/DateTimeAtCreation.java,
11644         javax/print/attribute/standard/DateTimeAtProcessing.java,
11645         javax/print/attribute/standard/DocumentName.java,
11646         javax/print/attribute/standard/JobHoldUntil.java,
11647         javax/print/attribute/standard/JobImpressions.java,
11648         javax/print/attribute/standard/JobImpressionsCompleted.java,
11649         javax/print/attribute/standard/JobKOctets.java,
11650         javax/print/attribute/standard/JobKOctetsProcessed.java,
11651         javax/print/attribute/standard/JobMediaSheets.java,
11652         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11653         javax/print/attribute/standard/JobMessageFromOperator.java,
11654         javax/print/attribute/standard/JobName.java,
11655         javax/print/attribute/standard/JobOriginatingUserName.java,
11656         javax/print/attribute/standard/JobPriority.java,
11657         javax/print/attribute/standard/JobPrioritySupported.java,
11658         javax/print/attribute/standard/NumberOfDocuments.java,
11659         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11660         javax/print/attribute/standard/NumberUp.java,
11661         javax/print/attribute/standard/OutputDeviceAssigned.java,
11662         javax/print/attribute/standard/PagesPerMinute.java,
11663         javax/print/attribute/standard/PagesPerMinuteColor.java:
11664         Fixed @return tag all over.
11665
11666 2004-05-15  Michael Koch  <konqueror@gmx.de>
11667
11668         * javax/print/attribute/AttributeSetUtilities.java
11669         (verifyCategoryForValue): Fixed typo in javadoc.
11670         * javax/print/attribute/HashAttributeSet.java
11671         (containsKey): Fixed @return tag.
11672         (comtainsValue): Likewise.
11673         (equals): Likewise.
11674         * javax/print/attribute/IntegerSyntax.java
11675         (equals): Likewise.
11676         * javax/print/attribute/ResolutionSyntax.java
11677         (equals): Likewise.
11678         (getCrossFeedResolution): Removed unused code.
11679         (getFeedResolution): Likewise.
11680         * javax/print/attribute/SetOfIntegerSyntax.java
11681         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11682         (equals): Fixed @return tag.
11683         * javax/print/attribute/TextSyntax.java
11684         (TextSyntax): Take locale into account.
11685         (hashCode): Better implementation.
11686
11687 2004-05-15  Michael Koch  <konqueror@gmx.de>
11688
11689         * javax/print/CancelablePrintJob.java,
11690         javax/print/Doc.java,
11691         javax/print/DocFlavor.java,
11692         javax/print/DocPrintJob.java,
11693         javax/print/FlavorException.java,
11694         javax/print/PrintException.java,
11695         javax/print/PrintService.java,
11696         javax/print/ServiceUIFactory.java: New files.
11697
11698 2004-05-15  Mark Wielaard  <mark@klomp.org>
11699
11700         * gnu/regexp/CharIndexedReader.java: Removed.
11701         * gnu/regexp/REFilterReader.java: Likewise.
11702         * gnu/regexp/RETokenLookAhead.java: Likewise.
11703         * Makefile.am (ordinary_java_source_files): Remove above classes.
11704         * Makefile.in: Regenerated.
11705
11706 2004-05-14  Tom Tromey  <tromey@redhat.com>
11707
11708         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11709         not `XGraphicsConfiguration.XOffScreenImage'.
11710
11711 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
11712
11713         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11714
11715 2004-05-14  Steven Augart  <augart@watson.ibm.com>
11716
11717         * include/jni.h (_Jv_func): Removed.
11718         (struct JNINativeInterface): Use `void *' for reserved slots.
11719         (struct JNIInvokeInterface): Likewise.
11720
11721 2004-05-11  Michael Koch  <konqueror@gmx.de>
11722
11723         * gnu/java/net/natPlainSocketImplPosix.cc
11724         (read): Fixed typo in expression.
11725
11726 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
11727
11728         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11729         ld_library_additions. Adjust all calls to libjava_invoke to match
11730         the new argument.
11731
11732         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11733         path to cxxflagslist.
11734         Pass path of libstdc++ to libjava_invoke.
11735
11736         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11737         libjava_invoke arguments.
11738
11739 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
11740
11741         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11742         reality.
11743
11744 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
11745
11746         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11747         main binary against the JNI shared library.
11748
11749 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11750
11751         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11752         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11753         (SimpleTimeZone): Tweak docs.  Add new variation.
11754         (setStartRule,setEndRule): Add new variations.  Use
11755         startTimeMode and endTimeMode.
11756
11757 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11758
11759         * java/util/Calendar.java (getActualMinimum,
11760         getActualMaximum):  Remove abstract.  Implement.
11761
11762 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11763
11764         Run the jni tests using the interpreter.
11765         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11766         options_cxx to shared lib compile command.
11767         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11768         they are used to link the shared lib, not the main binary.
11769         Use libjava_invoke to run gij.
11770
11771 2004-05-06  Michael Koch  <konqueror@gmx.de>
11772
11773         * java/util/logging/Level.java
11774         (parse): Use == instead of String.equals().
11775
11776 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11777
11778         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
11779         verify_field_signature and verify_method_signature, not
11780         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11781         (_Jv_ClassReader::handleField): Likewise.
11782         (_Jv_ClassReader::handleMethod): Likewise.
11783
11784 2004-05-06  Michael Koch  <konqueror@gmx.de>
11785
11786         * javax/swing/table/TableColumn.java:
11787         Reformated.
11788
11789 2004-05-06  Michael Koch  <konqueror@gmx.de>
11790
11791         * javax/imageio/spi/ImageReaderWriterSpi.java
11792         (ImageReaderWriterSpi): Made it public.
11793         * javax/imageio/stream/ImageInputStream.java:
11794         Clean up imports.
11795
11796 2004-05-06  Michael Koch  <konqueror@gmx.de>
11797
11798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11799         Removed empty line.
11800
11801 2004-05-06  Michael Koch  <konqueror@gmx.de>
11802
11803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11804         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11805         New files.
11806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11807         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11809         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11810         their own source file.
11811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11812         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11813         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11814         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11815         (create): Define variable on top of function.
11816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11817         (menu_pos): Prototyped.
11818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11819         (setTitle): Removed.
11820         * jni/gtk-peer/gthread-jni.c
11821         (gdk_threads_wake): Removed.
11822         * Makefile.am (gtk_c_source_files): Added new files
11823         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11824         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11825         * Makefile.in: Regenerated.
11826
11827 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
11828
11829         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11830         call.
11831
11832 2004-05-05  Mark Wielaard  <mark@klomp.org>
11833
11834         * javax/swing/AbstractButton.java: Replace special HTML entities with
11835         ASCII equivalent.
11836         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11837         * javax/swing/DefaultButtonModel.java: Likewise.
11838         * javax/swing/DefaultListModel.java: Likewise.
11839         * javax/swing/JList.java: Likewise.
11840         * javax/swing/JSlider.java: Likewise.
11841         * javax/swing/ListModel.java: Likewise.
11842         * javax/swing/Popup.java: Likewise.
11843         * javax/swing/SwingUtilities.java: Likewise.
11844
11845 2004-05-05  Michael Koch  <konqueror@gmx.de>
11846
11847         * javax/swing/AbstractButton.java,
11848         javax/swing/ActionMap.java,
11849         javax/swing/DefaultButtonModel.java,
11850         javax/swing/DefaultListModel.java,
11851         javax/swing/ImageIcon.java,
11852         javax/swing/JComboBox.java,
11853         javax/swing/JComponent.java,
11854         javax/swing/JFrame.java,
11855         javax/swing/JInternalFrame.java,
11856         javax/swing/JMenuBar.java,
11857         javax/swing/JMenuItem.java,
11858         javax/swing/JOptionPane.java,
11859         javax/swing/JProgressBar.java,
11860         javax/swing/JRootPane.java,
11861         javax/swing/JScrollBar.java,
11862         javax/swing/JScrollPane.java,
11863         javax/swing/JSeparator.java,
11864         javax/swing/JSlider.java,
11865         javax/swing/JTabbedPane.java,
11866         javax/swing/JTable.java,
11867         javax/swing/JTextField.java,
11868         javax/swing/JToolBar.java,
11869         javax/swing/JToolTip.java,
11870         javax/swing/JTree.java,
11871         javax/swing/JViewport.java,
11872         javax/swing/JWindow.java,
11873         javax/swing/KeyStroke.java,
11874         javax/swing/LookAndFeel.java,
11875         javax/swing/SwingUtilities.java,
11876         javax/swing/Timer.java,
11877         javax/swing/ToolTipManager.java,
11878         javax/swing/UIDefaults.java,
11879         javax/swing/border/TitledBorder.java,
11880         javax/swing/filechooser/FileSystemView.java,
11881         javax/swing/plaf/basic/BasicButtonListener.java,
11882         javax/swing/plaf/basic/BasicButtonUI.java,
11883         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11884         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11885         javax/swing/plaf/basic/BasicLabelUI.java,
11886         javax/swing/plaf/basic/BasicMenuItemUI.java,
11887         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11888         javax/swing/plaf/basic/BasicRootPaneUI.java,
11889         javax/swing/plaf/basic/BasicScrollBarUI.java,
11890         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11891         javax/swing/plaf/basic/BasicSliderUI.java,
11892         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11893         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11894         javax/swing/table/JTableHeader.java,
11895         javax/swing/text/AbstractDocument.java,
11896         javax/swing/text/DefaultCaret.java,
11897         javax/swing/text/StyledEditorKit.java,
11898         javax/swing/tree/DefaultTreeCellEditor.java:
11899         Cleaned up imports.
11900
11901 2004-05-05  Michael Koch  <konqueror@gmx.de>
11902
11903         * java/util/prefs/AbstractPreferences.java
11904         (AbstractPreferences): Added parenthesis for clarity.
11905         Closes classpath bug #7940.
11906
11907 2004-05-05  Tom Tromey  <tromey@redhat.com>
11908
11909         * javax/naming/CompoundName.java (endsWith): Look at correct
11910         element of source name.
11911
11912 2004-05-05  Mark Wielaard  <mark@klomp.org>
11913
11914         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11915         * java/util/HashMap.java (rehash): Add entry at start of bucket.
11916
11917 2004-05-05  Tom Tromey  <tromey@redhat.com>
11918
11919         * java/io/BufferedReader.java (skip): Removed unused
11920         variable.
11921
11922 2004-05-05  Michael Koch  <konqueror@gmx.de>
11923
11924         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11925
11926 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
11927
11928         * java/text/AttributedString.java,
11929         java/text/AttributedStringIterator.java,
11930         java/text/Collator.java,
11931         java/text/DecimalFormatSymbols.java,
11932         java/text/NumberFormat.java,
11933         java/text/RuleBasedCollator.java:
11934         Cleaned up imports.
11935
11936 2004-05-05  Tom Tromey  <tromey@redhat.com>
11937
11938         * java/text/Format.java: Cleaned up imports.
11939         * java/text/DecimalFormat.java: Cleaned up imports.
11940         * java/security/SecureRandom.java: Cleaned up imports.
11941         (SecureRandom): Removed unused variable.
11942         * java/security/UnresolvedPermission.java: Cleaned up imports.
11943         * java/util/Date.java (parse): Removed unused variable.
11944         * java/util/ResourceBundle.java: Cleaned up imports.
11945         (getBundle): Removed unused variable.
11946         (tryBundle): Likewise.
11947         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11948
11949 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11950
11951         * java/text/SimpleDateFormat.java:
11952         (formatWithAttribute): New method. It implements
11953         the formatting process with attributes.
11954         (format): Use formatWithAttribute.
11955         (formatToCharacterIterator): New method. Use
11956         formatWithAttribute.
11957
11958 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11959
11960         * java/text/MessageFormat.java:
11961         (class Field): New class.
11962         (formatToCharacterIterator): New method.
11963         (format): Use formatInternal now.
11964         (formatInternal): New method. String formatter should
11965         be done here (with attributes). Attributes merging supported.
11966         (parse): More documentation.
11967         (getFormatsByArgumentIndex): New method.
11968         (setFormatByArgumentIndex): New method.
11969         (setFormatsByArgumentIndex): New method.
11970
11971 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11972
11973         * java/text/DecimalFormat.java
11974         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11975         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11976         (parse): Fixed handling of exponentiation notation and grouping.
11977
11978 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11979
11980         * java/text/DecimalFormat.java
11981         (scanFix): Build attribute array. Fixed error reporting.
11982         (applyPatternWithSymbols): Store attributes for the prefix and
11983         suffix.
11984         (formatInternal): New method. Changed the way the string is
11985         computed. Implemented attributes. Cleant up rounding in
11986         exponential notation.
11987         (format): Use formatInternal.
11988         (formatToCharacterIterator): New method.
11989         (exponentRound, negativePrefixRanges, positivePrefixRanges,
11990         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
11991         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
11992         New fields.
11993
11994 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
11995
11996         * java/security/interfaces/DSAKeyPairGenerator.java,
11997         java/security/interfaces/DSAPrivateKey.java,
11998         java/security/interfaces/DSAPublicKey.java,
11999         java/security/interfaces/RSAPrivateKey.java,
12000         java/security/interfaces/RSAPublicKey.java:
12001         Cleaned up imports.
12002
12003 2004-05-04  Michael Koch  <konqueror@gmx.de>
12004
12005         * java/nio/ByteBuffer.java,
12006         java/nio/CharBuffer.java,
12007         java/nio/DoubleBuffer.java,
12008         java/nio/FloatBuffer.java,
12009         java/nio/IntBuffer.java,
12010         java/nio/LongBuffer.java,
12011         java/nio/ShortBuffer.java:
12012         (compareTo): Fixed bogus implementation in all buffer classes.
12013
12014 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12015
12016         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
12017         32 bit pixels not 8 bit pixels.
12018         (isCompatibleRaster): Added javadoc comment.
12019
12020 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12021
12022         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
12023         scanline stride.
12024
12025 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12026
12027         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
12028         (getColorModel): Return the actual color model.
12029         (getRaster): Implemented.
12030         (ColorRaster): New inner class.
12031         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
12032         a PaintContext.
12033         * java/awt/Color.java (<init>): Make exception more verbose.
12034         (createContext): Use ColorModel when creating a PaintContext.
12035
12036 2004-05-04  Michael Koch  <konqueror@gmx.de>
12037
12038         * gnu/java/text/CharacterBreakIterator.java
12039         (previous): Removed unused variable.
12040
12041 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
12042
12043         * gnu/java/text/FormatBuffer.java,
12044         gnu/java/text/AttributedFormatBuffer.java,
12045         gnu/java/text/StringFormatBuffer.java: New classes to implement
12046         attributed iterators in java.text.
12047         * gnu/java/text/FormatCharacterIterator.java: Moved
12048         from java/text as it is an internal class.
12049         * java/text/FormatCharacterIterator.java: Removed.
12050         * java/text/Format.java:
12051         Import gnu.java.text.FormatCharacterIterator.
12052         * Makefile.am (java_source_files): Added new files.
12053         * Makefile.in: Regenerated.
12054
12055
12056 2004-05-04  Mark Wielaard  <mark@klomp.org>
12057
12058         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
12059
12060 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
12061
12062         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
12063         * Makefile.in: Rebuilt.
12064
12065 2004-05-03  Mark Wielaard  <mark@klomp.org>
12066
12067         * gnu/java/security/der/DERReader.java: Call static methods staticly.
12068         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
12069         * java/net/URL.java
12070         (set(String, String, int, String, String, String, String, String)):
12071         Assign this.file to path or path + "?" + query.
12072         * java/util/Arrays.java: Call static methods staticly.
12073         * java/util/zip/ZipEntry.java: Likewise.
12074         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
12075         dir to this.direction.
12076         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
12077         Assign static field only once.
12078         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
12079
12080 2004-05-03  Mark Wielaard  <mark@klomp.org>
12081
12082         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
12083         unused variables hScrollbarHeight and vScrollbarWidth.
12084         (preferredSize): Likewise.
12085         * gnu/java/security/provider/DSAParameters.java (engineToString):
12086         Removed unused call to System.getProperty("line.seperator");
12087         * java/security/Security.java (loadProviders): Return result.
12088
12089 2004-05-03  Tom Tromey  <tromey@redhat.com>
12090
12091         * java/net/URLStreamHandler.java (toExternalForm): Removed
12092         unused variables.
12093         unused constructor.
12094         * java/math/BigDecimal.java (divide): Removed unused variable.
12095         * java/lang/Throwable.java: Cleaned up imports.
12096         * java/lang/ClassLoader.java: Cleaned up imports.
12097         * java/io/FilePermission.java (implies): Removed unused
12098         variable.
12099         * java/awt/TextComponent.java: Removed unused import.
12100         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
12101         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
12102         * gnu/java/text/WordBreakIterator.java: Removed unused import.
12103         * gnu/java/text/SentenceBreakIterator.java: Removed unused
12104         import.
12105         * gnu/java/text/LineBreakIterator.java: Removed unused import.
12106         * gnu/java/text/CharacterBreakIterator.java: Removed
12107         unused import.
12108         * gnu/java/security/provider/DSAKeyPairGenerator.java:
12109         Cleaned up imports.
12110         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
12111         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
12112         unused method.
12113         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
12114         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
12115         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
12116         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
12117         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
12118         (lookupProviders): Removed unused variable.
12119         (loadNextServiceProvider): Likewise.
12120         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
12121
12122 2004-05-03  Michael Koch  <konqueror@gmx.de>
12123
12124         Fixes PR libgcj/14695:
12125         * java/net/NetworkInterface.java
12126         (getByName): Return null when no interface was found.
12127
12128 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
12129             Tom Tromey  <tromey@redhat.com>
12130
12131         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
12132         additional option "-Wmissing-prototypes" for compiling C sources.
12133         Print actual filename for pass/fail rather than $name.c.
12134         * testsuite/libjava.jni/PR15133.java: New testcase file.
12135         * testsuite/libjava.jni/PR15133.c: Likewise.
12136         * testsuite/libjava.jni/PR15133.out: Likewise.
12137
12138 2004-04-30  Roger Sayle  <roger@eyesopen.com>
12139
12140         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
12141         ceil and floor.
12142
12143 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
12144
12145         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
12146         limit the maximum heap size to avoid unnecessary thrashing.
12147
12148 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
12149
12150         * java/text/CollationElementIterator.java (reset): Reset
12151         lookahead variables.
12152
12153 2004-04-23  Mark Wielaard  <mark@klomp.org>
12154
12155         * jni/classpath/jcl.c: Changed C++ comments into C comments.
12156
12157 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12158
12159         * java/sql/DriverManager.java:
12160         Cleaned up imports.
12161
12162 2004-04-23  Michael Koch  <konqueror@gmx.de>
12163
12164         * java/net/URL.java
12165         (hashcode): Don't initialize with default value explicitely.
12166         (getContent): Removed redundant "final" keyword.
12167         (openStream): Likewise.
12168         (getURLStreamHandler): Fixed coding style.
12169         * java/net/URLConnection.java
12170         (defaultAllowUserInteraction): Don't initialize with default value
12171         explicitely.
12172         (connected): Likewise.
12173         (doOutput): Likewise.
12174         (ifModifiedSince): Likewise.
12175         (dateformats_initialized): Likewise.
12176         (setURLStreamHander): Use StreamTokenizer where it belongs to.
12177
12178 2004-04-23  Michael Koch  <konqueror@gmx.de>
12179
12180         * gnu/java/nio/channels/FileChannelImpl.java
12181         (SET, CUR): Unused, removed.
12182         (read): Implement here directly.
12183         (implRead): Removed.
12184         (write): Implement here directly.
12185         (implWrite): Removed.
12186
12187 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
12188
12189         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
12190         javax/rmi/CORBA/Stub.java,
12191         javax/rmi/CORBA/Util.java,
12192         javax/rmi/CORBA/ValueHandler.java,
12193         javax/rmi/CORBA/ValueHandler.java,
12194         javax/rmi/PortableRemoteObject.java:
12195         Cleaned up imports.
12196
12197 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12198
12199         * java/util/jar/JarFile.java,
12200         java/util/jar/JarInputStream.java,
12201         java/util/jar/JarOutputStream.java,
12202         java/util/jar/Manifest.java:
12203         Cleaned up imports.
12204
12205 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12206
12207         * java/util/ArrayList.java,
12208         java/util/Calendar.java,
12209         java/util/Currency.java,
12210         java/util/HashMap.java,
12211         java/util/HashSet.java,
12212         java/util/Hashtable.java,
12213         java/util/LinkedList.java,
12214         java/util/Properties.java,
12215         java/util/PropertyPermission.java,
12216         java/util/TimeZone.java,
12217         java/util/TreeMap.java,
12218         java/util/TreeSet.java,
12219         java/util/Vector.java,
12220         java/util/WeakHashMap.java:
12221         Cleaned up imports.
12222
12223 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
12224
12225         * java/util/logging/FileHandler.java,
12226         java/util/logging/Formatter.java,
12227         java/util/logging/Handler.java,
12228         java/util/logging/Logger.java,
12229         java/util/logging/SimpleFormatter.java,
12230         java/util/logging/XMLFormatter.java:
12231         Cleaned up imports.
12232
12233 2004-04-22  Mark Wielaard  <mark@klomp.org>
12234
12235         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
12236         -Wno-long-long flags variable.
12237         (gtk_c_files): Use PEDANTIC_CFLAGS.
12238         * Makefile.in: Regenerated.
12239
12240 2004-04-22  Mark Wielaard  <mark@klomp.org>
12241
12242         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12243         Changed C++ comments into C comments.
12244         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12245         Likewise.
12246
12247 2004-04-22  Michael Koch  <konqueror@gmx.de>
12248
12249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12250         Merged copyright year with GNU classpath.
12251
12252 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12253
12254         * javax/security/auth/x500/X500Principal.java:
12255         Cleaned up imports.
12256
12257 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12258
12259         * javax/swing/JSlider.java:
12260         Fixed HTML tags in comments.
12261
12262 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12263
12264         * javax/accessibility/AccessibleText.java:
12265         Cleaned up imports.
12266
12267 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
12268
12269         * java/net/URLStreamHandler.java
12270         (parseURL): Convert the file path to using '/' instead of native
12271         file separator.
12272
12273 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
12274
12275         * java/net/URL.java
12276         (userInfo): New field.
12277         (URL): Set authority to the right value.
12278         (setURL): Fixed authority and file initialization.
12279         * java/net/URLStreamHandler.java
12280         (parseURL): Take care of the query tag. Build authority.
12281         (toExternalForm): Fixed URL building using authority.
12282
12283 2004-04-22  Michael Koch  <konqueror@gmx.de>
12284
12285         * java/net/Socket.java
12286         (impl): Made package-private.
12287         * java/net/ServerSocket.java
12288         (implAccept): Access Socket.impl field directly.
12289
12290 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12291
12292         * java/util/prefs/Preferences.java,
12293         java/util/prefs/InvalidPreferencesFormatException.java,
12294         java/util/prefs/BackingStoreException.java,
12295         java/util/prefs/AbstractPreferences.java:
12296         Cleaned up imports.
12297
12298 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12299
12300         * java/util/regex/Matcher.java,
12301         java/util/regex/Pattern.java:
12302         Cleaned up imports.
12303
12304 2004-04-22  Michael Koch  <konqueror@gmx.de>
12305
12306         * java/nio/charset/IllegalCharsetNameException.java
12307         (charsetName): Made private.
12308         (IllegalCharsetNameException): Added @param tag to javadoc.
12309         (getCharsetName): Added @return tag to javadoc.
12310         * java/nio/charset/MalformedInputException.java
12311         (MalformedInputException): Added @param tag to javadoc.
12312         (getInputLength): Revised method description, added @return tag.
12313         (getMessage): Added @return tag.
12314
12315 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
12316
12317         * java/awt/Font.java (deriveFont): Implement missing variants.
12318         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12319         missing variants.
12320
12321 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
12322
12323         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12324         Set method->index values for interface methods to their itable index.
12325         (initializeClass): Call _Jv_LayoutInterfaceMethods.
12326
12327 2004-04-21  Michael Koch  <konqueror@gmx.de>
12328
12329         * java/nio/DirectByteBufferImpl.java
12330         (shiftDown): Made static, give address as argument and
12331         provide a convenience method that overwrites shiftDown in
12332         ByteBufferImpl and calls the native shiftDown.
12333         * java/nio/MappedByteBufferImpl.java
12334         (): Use optimized method in DirectByteBufferImpl.
12335         * java/nio/natDirectByteBufferImpl.cc
12336         (shiftDown): Changed method signature. Removed usage of array_offset.
12337
12338 2004-04-21  Michael Koch  <konqueror@gmx.de>
12339
12340         * gnu/java/net/natPlainSocketImplPosix.cc
12341         (SocketInputStream::read): Make sure returned data is a byte value.
12342
12343 2004-04-21  Michael Koch  <konqueror@gmx.de>
12344
12345         * gnu/classpath/ServiceFactory.java,
12346         gnu/classpath/ServiceProviderLoadingAction.java,
12347         javax/imageio/ImageReader.java,
12348         javax/imageio/ImageTranscoder.java,
12349         javax/imageio/ImageWriter.java,
12350         javax/imageio/package.html,
12351         javax/imageio/spi/IIOServiceProvider.java,
12352         javax/imageio/spi/ImageInputStreamSpi.java,
12353         javax/imageio/spi/ImageOutputStreamSpi.java,
12354         javax/imageio/spi/ImageReaderWriterSpi.java,
12355         javax/imageio/spi/ImageTranscoderSpi.java,
12356         javax/imageio/spi/RegisterableService.java,
12357         javax/imageio/spi/ServiceRegistry.java,
12358         javax/imageio/spi/package.html,
12359         javax/imageio/stream/IIOByteBuffer.java,
12360         javax/imageio/stream/ImageInputStream.java,
12361         javax/imageio/stream/ImageOutputStream.java,
12362         javax/imageio/stream/package.html:
12363         New files.
12364         * Makefile.am
12365         (ordinary_java_source_files): Added
12366         gnu/classpath/ServiceFactory.java and
12367         gnu/classpath/ServiceProviderLoadingAction.java.
12368         (javax_source_files): Added
12369         javax/imageio/ImageReader.java,
12370         javax/imageio/ImageTranscoder.java,
12371         javax/imageio/ImageWriter.java,
12372         javax/imageio/spi/IIOServiceProvider.java,
12373         javax/imageio/spi/ImageInputStreamSpi.java,
12374         javax/imageio/spi/ImageOutputStreamSpi.java,
12375         javax/imageio/spi/ImageReaderWriterSpi.java,
12376         javax/imageio/spi/ImageTranscoderSpi.java,
12377         javax/imageio/spi/RegisterableService.java,
12378         javax/imageio/spi/ServiceRegistry.java,
12379         javax/imageio/stream/IIOByteBuffer.java,
12380         javax/imageio/stream/ImageInputStream.java and
12381         javax/imageio/stream/ImageOutputStream.java.
12382         * Makefile.in: Regenerated.
12383
12384 2004-04-21  Michael Koch  <konqueror@gmx.de>
12385
12386         * java/util/Properties.java
12387         (load): Fix wrongly merged fix.
12388
12389 2004-04-21  Mark Wielaard  <mark@klomp.org>
12390
12391         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12392         malloc and free buf.
12393
12394 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
12395
12396         * javax/naming/AuthenticationException.java,
12397         javax/naming/AuthenticationNotSupportedException.java,
12398         javax/naming/CannotProceedException.java,
12399         javax/naming/CommunicationException.java,
12400         javax/naming/CompoundName.java,
12401         javax/naming/ConfigurationException.java,
12402         javax/naming/ContextNotEmptyException.java,
12403         javax/naming/InitialContext.java,
12404         javax/naming/InsufficientResourcesException.java,
12405         javax/naming/InterruptedNamingException.java,
12406         javax/naming/LimitExceededException.java,
12407         javax/naming/LinkException.java,
12408         javax/naming/LinkLoopException.java,
12409         javax/naming/LinkRef.java,
12410         javax/naming/MalformedLinkException.java,
12411         javax/naming/Name.java,
12412         javax/naming/NameAlreadyBoundException.java,
12413         javax/naming/NameNotFoundException.java,
12414         javax/naming/NamingSecurityException.java,
12415         javax/naming/NoInitialContextException.java,
12416         javax/naming/NoPermissionException.java,
12417         javax/naming/NotContextException.java,
12418         javax/naming/PartialResultException.java,
12419         javax/naming/ReferralException.java,
12420         javax/naming/ServiceUnavailableException.java,
12421         javax/naming/SizeLimitExceededException.java,
12422         javax/naming/TimeLimitExceededException.java,
12423         javax/naming/directory/Attribute.java,
12424         javax/naming/directory/Attributes.java,
12425         javax/naming/directory/SearchResult.java,
12426         javax/naming/event/NamingExceptionEvent.java,
12427         javax/naming/spi/ResolveResult.java:
12428         Cleaned up imports.
12429
12430 2004-04-21  Mark Wielaard  <mark@klomp.org>
12431
12432         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12433         Changed C++ comments into C comments. Removed commented out code.
12434         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12435         Likewise.
12436         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12437         Likewise.
12438         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12439         Likewise.
12440         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12441         Likewise.
12442         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12443         Likewise.
12444         * native/jni/gtk-peer/gthread-jni.c:
12445         Likewise.
12446
12447 2004-04-21  Mark Wielaard  <mark@klomp.org>
12448
12449         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12450         static fields defined in interface.
12451         * javax/awt/JDialog.java: Likewise.
12452         (JDialog): Make constructors public.
12453         (getDefaultCloseOperation): Make public.
12454         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12455         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12456         * javax/swing/JViewport.java (JViewport): Make constructor public.
12457
12458 2004-04-21  Michael Koch  <konqueror@gmx.de>
12459
12460         * java/util/Map.java
12461         (Entry): Removed redundant "static" modifier.
12462         * java/text/AttributedCharacterIterator.java:
12463         Updated copyright year.
12464
12465 2004-04-20  Michael Koch  <konqueror@gmx.de>
12466
12467         * javax/naming/directory/SearchControls.java:
12468         Don't explicitely extend java.lang.Object.
12469         * javax/naming/spi/DirStateFactory.java:
12470         Merged copyright year with GNU classpath.
12471
12472 2004-04-20  Michael Koch  <konqueror@gmx.de>
12473
12474         * java/nio/channels/Channels.java:
12475         Merged coding style with GNU classpath.
12476
12477 2004-04-20  Michael Koch  <konqueror@gmx.de>
12478
12479         * java/net/ServerSocket.java
12480         Merged coding style from GNU classpath.
12481
12482 2004-04-20  Michael Koch  <konqueror@gmx.de>
12483
12484         * java/io/BufferedWriter.java:
12485         Reordered variables to be at top of the class.
12486         (localFlush): Removed redundant final keyword.
12487
12488 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12489
12490         * java/awt/event/MouseEvent.java (<init>): fixed field assignment
12491
12492 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12493
12494         * java/text/DecimalFormat.java (scanFix): Removed suffix check
12495         for percent and permill check.
12496
12497 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12498
12499         * java/text/FieldPosition.java
12500         (FieldPosition) Constructor now behaves as it should according
12501         to the java documentation.
12502
12503 2004-04-20  Mark Wielaard  <mark@klomp.org>
12504
12505         * java/util/Properties.java: Use the word umlaut, not &auml; in api
12506         documentation.
12507
12508 2004-04-20  Michael Koch  <konqueror@gmx.de>
12509
12510         * java/nio/Buffer.java,
12511         java/nio/channels/AlreadyConnectedException.java,
12512         java/nio/channels/AsynchronousCloseException.java,
12513         java/nio/channels/ByteChannel.java,
12514         java/nio/channels/CancelledKeyException.java,
12515         java/nio/channels/Channel.java,
12516         java/nio/channels/Channels.java,
12517         java/nio/channels/ClosedByInterruptException.java,
12518         java/nio/channels/ClosedChannelException.java,
12519         java/nio/channels/ClosedSelectorException.java,
12520         java/nio/channels/ConnectionPendingException.java,
12521         java/nio/channels/DatagramChannel.java,
12522         java/nio/channels/FileChannel.java,
12523         java/nio/channels/FileLock.java,
12524         java/nio/channels/FileLockInterruptionException.java,
12525         java/nio/channels/GatheringByteChannel.java,
12526         java/nio/channels/IllegalBlockingModeException.java,
12527         java/nio/channels/IllegalSelectorException.java,
12528         java/nio/channels/InterruptibleChannel.java,
12529         java/nio/channels/NoConnectionPendingException.java,
12530         java/nio/channels/NonReadableChannelException.java,
12531         java/nio/channels/NonWritableChannelException.java,
12532         java/nio/channels/NotYetBoundException.java,
12533         java/nio/channels/NotYetConnectedException.java,
12534         java/nio/channels/OverlappingFileLockException.java,
12535         java/nio/channels/Pipe.java,
12536         java/nio/channels/ReadableByteChannel.java,
12537         java/nio/channels/ScatteringByteChannel.java,
12538         java/nio/channels/SelectableChannel.java,
12539         java/nio/channels/SelectionKey.java,
12540         java/nio/channels/Selector.java,
12541         java/nio/channels/ServerSocketChannel.java,
12542         java/nio/channels/SocketChannel.java,
12543         java/nio/channels/UnresolvedAddressException.java,
12544         java/nio/channels/UnsupportedAddressTypeException.java,
12545         java/nio/channels/WritableByteChannel.java,
12546         java/nio/channels/spi/AbstractInterruptibleChannel.java,
12547         java/nio/channels/spi/AbstractSelectableChannel.java,
12548         java/nio/channels/spi/AbstractSelectionKey.java,
12549         java/nio/channels/spi/AbstractSelector.java,
12550         java/nio/channels/spi/SelectorProvider.java,
12551         java/nio/charset/spi/CharsetProvider.java:
12552         Fixed javadocs and jalopied all over java.nio.
12553
12554 2004-04-20  Michael Koch  <konqueror@gmx.de>
12555
12556         * java/nio/ByteBufferImpl.java,
12557         java/nio/CharBufferImpl.java,
12558         java/nio/DirectByteBufferImpl.java,
12559         java/nio/DoubleBufferImpl.java,
12560         java/nio/DoubleViewBufferImpl.java,
12561         java/nio/FloatBufferImpl.java,
12562         java/nio/FloatViewBufferImpl.java,
12563         java/nio/IntBufferImpl.java,
12564         java/nio/IntViewBufferImpl.java,
12565         java/nio/LongBufferImpl.java,
12566         java/nio/LongViewBufferImpl.java,
12567         java/nio/MappedByteBufferImpl.java,
12568         java/nio/ShortBufferImpl.java,
12569         java/nio/ShortViewBufferImpl.java:
12570         Made sure all classes are final and removed final keyword from all
12571         methods.
12572
12573 2004-04-20  Michael Koch  <konqueror@gmx.de>
12574
12575         * java/rmi/MarshalledObject.java,
12576         java/rmi/Naming.java,
12577         java/rmi/RemoteException.java,
12578         java/rmi/activation/ActivationException.java,
12579         java/rmi/server/ServerCloneException.java,
12580         java/security/AccessController.java,
12581         java/security/AlgorithmParameterGenerator.java,
12582         java/security/AlgorithmParameters.java,
12583         java/security/CodeSource.java,
12584         java/security/Identity.java,
12585         java/security/IdentityScope.java,
12586         java/security/KeyPairGenerator.java,
12587         java/security/KeyStore.java,
12588         java/security/Security.java,
12589         java/security/Signature.java,
12590         java/security/SignatureSpi.java,
12591         java/security/SignedObject.java,
12592         java/security/spec/DSAParameterSpec.java,
12593         java/security/spec/DSAPrivateKeySpec.java,
12594         java/security/spec/DSAPublicKeySpec.java,
12595         java/sql/Array.java,
12596         java/sql/DatabaseMetaData.java,
12597         java/sql/ResultSet.java,
12598         java/text/ChoiceFormat.java,
12599         java/text/CollationElementIterator.java,
12600         java/text/CollationKey.java,
12601         java/text/Collator.java,
12602         java/text/DateFormat.java,
12603         java/text/DateFormatSymbols.java,
12604         java/text/DecimalFormatSymbols.java,
12605         java/text/Format.java,
12606         java/text/ParsePosition.java,
12607         java/text/RuleBasedCollator.java,
12608         java/text/SimpleDateFormat.java,
12609         java/text/StringCharacterIterator.java,
12610         java/util/Collections.java,
12611         java/util/PropertyResourceBundle.java,
12612         java/util/ResourceBundle.java,
12613         java/util/StringTokenizer.java,
12614         java/util/jar/Attributes.java,
12615         java/util/logging/ConsoleHandler.java,
12616         java/util/logging/LogManager.java,
12617         java/util/logging/MemoryHandler.java,
12618         java/util/logging/SocketHandler.java,
12619         javax/naming/NamingException.java:
12620         Fixed javadoc, coding style and argument names all over.
12621
12622 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12623
12624         * java/io/FileDescriptor.java: (FileDescriptor) Added public
12625         constructor. (valid) Added null check.
12626
12627 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12628
12629         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12630         * java/io/FileOutputStream.java
12631         (FileOutputStream) Reorganized constructors. Constructors now
12632         check whether the given path is directory.
12633
12634 2004-04-20  Michael Koch  <konqueror@gmx.de>
12635
12636         * java/net/Authenticator.java,
12637         java/net/BindException.java,
12638         java/net/ConnectException.java,
12639         java/net/ContentHandler.java,
12640         java/net/ContentHandlerFactory.java,
12641         java/net/DatagramPacket.java,
12642         java/net/DatagramSocket.java,
12643         java/net/DatagramSocketImpl.java,
12644         java/net/DatagramSocketImplFactory.java,
12645         java/net/FileNameMap.java,
12646         java/net/HttpURLConnection.java,
12647         java/net/Inet4Address.java,
12648         java/net/Inet6Address.java,
12649         java/net/InetAddress.java,
12650         java/net/InetSocketAddress.java,
12651         java/net/JarURLConnection.java,
12652         java/net/MalformedURLException.java,
12653         java/net/MulticastSocket.java,
12654         java/net/NetPermission.java,
12655         java/net/NetworkInterface.java,
12656         java/net/NoRouteToHostException.java,
12657         java/net/PasswordAuthentication.java,
12658         java/net/PortUnreachableException.java,
12659         java/net/ProtocolException.java,
12660         java/net/ServerSocket.java,
12661         java/net/Socket.java,
12662         java/net/SocketAddress.java,
12663         java/net/SocketException.java,
12664         java/net/SocketImpl.java,
12665         java/net/SocketImplFactory.java,
12666         java/net/SocketOptions.java,
12667         java/net/SocketPermission.java,
12668         java/net/SocketTimeoutException.java,
12669         java/net/URI.java,
12670         java/net/URISyntaxException.java,
12671         java/net/URL.java,
12672         java/net/URLClassLoader.java,
12673         java/net/URLConnection.java,
12674         java/net/URLDecoder.java,
12675         java/net/URLEncoder.java,
12676         java/net/URLStreamHandler.java,
12677         java/net/URLStreamHandlerFactory.java,
12678         java/net/UnknownHostException.java,
12679         java/net/UnknownServiceException.java:
12680         Fixed javadocs, coding style and argument names all over.
12681
12682 2004-04-20  Michael Koch  <konqueror@gmx.de>
12683
12684         * java/lang/Byte.java,
12685         java/lang/CharSequence.java,
12686         java/lang/ClassLoader.java,
12687         java/lang/Compiler.java,
12688         java/lang/Double.java,
12689         java/lang/Float.java,
12690         java/lang/Integer.java,
12691         java/lang/Long.java,
12692         java/lang/Math.java,
12693         java/lang/Number.java,
12694         java/lang/Package.java,
12695         java/lang/Runtime.java,
12696         java/lang/RuntimePermission.java,
12697         java/lang/SecurityManager.java,
12698         java/lang/Short.java,
12699         java/lang/StringBuffer.java,
12700         java/lang/System.java,
12701         java/lang/ThreadGroup.java,
12702         java/lang/Throwable.java,
12703         java/lang/reflect/InvocationHandler.java,
12704         java/lang/reflect/Proxy.java:
12705         Fixed javadocs, coding style and argument names all over.
12706
12707 2004-04-20  Michael Koch  <konqueror@gmx.de>
12708
12709         * java/io/BufferedWriter.java,
12710         java/io/ByteArrayInputStream.java,
12711         java/io/CharArrayWriter.java,
12712         java/io/DataInput.java,
12713         java/io/DataInputStream.java,
12714         java/io/File.java,
12715         java/io/FilterInputStream.java,
12716         java/io/InputStream.java,
12717         java/io/InputStreamReader.java,
12718         java/io/ObjectInputStream.java,
12719         java/io/ObjectStreamClass.java,
12720         java/io/PipedInputStream.java,
12721         java/io/PipedReader.java,
12722         java/io/PushbackInputStream.java,
12723         java/io/PushbackReader.java,
12724         java/io/RandomAccessFile.java,
12725         java/io/SerializablePermission.java,
12726         java/io/StreamTokenizer.java,
12727         java/io/StringWriter.java,
12728         java/io/WriteAbortedException.java,
12729         java/io/Writer.java:
12730         Fixed javadocs all over, rename arguments to match javadocs,
12731         fixed coding style.
12732
12733 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12734
12735         * java/awt/FontMetrics.java:
12736         (charsWidth): fixed accumulation of total_width
12737         (getWidth): simple default implementation
12738         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12739         in Rectangle constructor.
12740         * java/awt/image/Raster.java (toString): Added method.
12741         * java/awt/image/SampleModel.java (<init>): Added error cause
12742         information to thrown exception.
12743         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12744         New method.
12745         (setDataElements): New method.
12746         (setPixels): New method.
12747         (toString): New method.
12748
12749 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12750
12751         * java/awt/image/ComponentColorModel.java
12752         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12753         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12754         Mauve tests on this method. Improved documentation.
12755
12756 2004-04-20  Michael Koch  <konqueror@gmx.de>
12757
12758         * javax/swing/JLayeredPane.java,
12759         javax/swing/plaf/BorderUIResource.java,
12760         javax/swing/plaf/ComponentUI.java,
12761         javax/swing/undo/CompoundEdit.java,
12762         javax/swing/undo/StateEdit.java:
12763         Fixed HTML tags in javadocs all over.
12764
12765 2004-04-20  Michael Koch  <konqueror@gmx.de>
12766
12767         * javax/print/attribute/EnumSyntax.java
12768         (getOffset): Made protected.
12769         * javax/print/attribute/HashAttributeSet.java
12770         (HashAttributeSet): Likewise.
12771         * javax/print/attribute/ResolutionSyntax.java
12772         (getFeedResolution): Fixed typo in exception name.
12773         (getCrossFeedResolution): Likewise.
12774         * javax/print/attribute/SetOfIntegerSyntax.java
12775         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12776         * javax/print/attribute/TextSyntax.java
12777         (TextSyntax): Handle locale correctly.
12778         (hashCode): Calc better hashcode value.
12779         (equals): Fixed @return tag.
12780         (toString): New method.
12781
12782 2004-04-20  Michael Koch  <konqueror@gmx.de>
12783
12784         * gnu/java/nio/FileLockImpl.java
12785         (static): Removed, not needed anymore.
12786         * gnu/java/nio/channels/FileChannelImpl.java
12787         (FileChannelImpl): Made final.
12788         (mode): Made private.
12789         (READ, WRITE, APPEND): Made public.
12790         (EXCL, SYNC, DSYNC): Likewise.
12791         (static): Load native JNI library, when needed.
12792         (length): Unused, removed.
12793         (available): Made public.
12794         (implPosition): Throws IOException.
12795         (seek): Likewise.
12796         (implTruncate): Likewise.
12797         (unlock): Likewise.
12798         (lock): Likewise.
12799
12800 2004-04-20  Michael Koch  <konqueror@gmx.de>
12801
12802         * java/awt/AWTPermission.java,
12803         java/awt/Component.java,
12804         java/awt/ComponentOrientation.java,,
12805         java/awt/Dialog.java,
12806         java/awt/FontMetrics.java,
12807         java/awt/Graphics.java,
12808         java/awt/datatransfer/DataFlavor.java,
12809         java/beans/Introspector.java,
12810         java/beans/PropertyEditor.java,
12811         java/beans/PropertyEditorManager.java,
12812         java/beans/beancontext/BeanContextServiceProvider.java:
12813         Fixed HTML tags in javadocs all over.
12814
12815 2004-04-20  Mark Wielaard  <mark@klomp.org>
12816
12817         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12818         MissingResourceException is thrown.
12819         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12820         null when a MissingResourceException is thrown. Should never happen.
12821
12822 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12823
12824         * java/awt/image/DataBufferShort.java,
12825         java/awt/image/DataBufferFloat.java,
12826         java/awt/image/DataBufferDouble.java,
12827         java/awt/image/PixelInterleavedSampleModel.java: New files.
12828         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12829         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12830
12831 2004-04-20  Michael Koch  <konqueror@gmx.de>
12832
12833         * Makefile.am (java_source_files): Added
12834         java/awt/image/DataBufferDouble.java,
12835         java/awt/image/DataBufferFloat.java,
12836         java/awt/image/DataBufferShort.java and
12837         java/awt/image/PixelInterleavedSampleModel.java.
12838         * Makefile.in: Regenerated.
12839
12840 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
12841
12842         * gcj/cni.h (JvAllocObject): Remove these obsolete,
12843         undocumented CNI calls.
12844         * include/java-interp.h (_Jv_InterpClass): No longer
12845         extends java.lang.Class.
12846         * java/lang/Class.h (Class): Add new field `aux_info'.
12847         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12848         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12849         Use Class->aux_info instead.
12850         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12851         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12852         Use Class->aux_info instead.
12853         * java/io/natObjectInputStream.cc (allocateObject): Use
12854         _Jv_AllocObject.
12855         * java/lang/natClass.cc (newInstance): Likewise.
12856         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12857         * java/lang/natObject.cc (clone): Likewise.
12858         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12859         * java/lang/natVMClassLoader.cc (defineClass): Don't use
12860         JvAllocObject. Allocate klass->aux_info here for interpreted
12861         class.
12862
12863 2004-04-17  Mark Wielaard  <mark@klomp.org>
12864
12865         * javax/swing/JToggleButton.java (ToggleButtonModel):
12866         Make public static inner class.
12867         * javax/swing/JTabbedPane.java (setComponentAt):
12868         Call Page.setComponent().
12869         (SCROLL_TAB_LAYOUT): Make public, value is 1.
12870         (WRAP_TAB_LAYOUT): Make public, value is 0.
12871         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12872         Make private static inner class.
12873
12874 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
12875
12876         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12877         arguments to match new signature. Remove FIXME comments.
12878
12879 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
12880
12881         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12882         Remove method.
12883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12884         unused code.
12885
12886 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
12887
12888         * Makefile.am: Added new file.
12889         * Makefile.in: Regenerate.
12890         * javax/swing/ImageIcon.java:
12891         (ImageIcon(file)): set description of the icon
12892         to the file name
12893         * javax/swing/JCheckBoxMenuItem.java:
12894         Mostly Implemented. Work in progress.
12895         * javax/swing/JRadioButtonMenuItem.java:
12896         Reimplement constructors to use JToggleButtonModel.
12897         * javax/swing/plaf/basic/BasicIconFactory.java:
12898         (getCheckBoxMenuItemIcon): return check box
12899         icon.
12900         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12901         paint menu item selected only when it is armed and
12902         pressed.
12903
12904 2004-04-02  David Jee  <djee@redhat.com>
12905
12906         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12907         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12908         * java/awt/Component.java
12909         (add): Set the parent of the popup as this component.
12910         * java/awt/PopupMenu.java
12911         (addNotify): Create popup menu when peer is null.
12912         (show): Call addNotify() if peer is null.
12913         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12914         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12915         argument for gtk_menu_popup() as zero. This causes the popup menu to
12916         respond to any mouse button.
12917
12918 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
12919
12920         * Makefile.am: Added new file.
12921         * Makefile.in: Regenerate.
12922         * javax/swing/JRadioButtonMenuItem.java:
12923         Implemented.
12924         * javax/swing/plaf/basic/BasicIconFactory.java:
12925         (getRadioButtonMenuItemIcon): Return
12926         radio button icon.
12927         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12928         (getPreferredSize): Add size of checkIcon if it
12929         exists.
12930         (installDefaults): Don't initialize checkIcon.
12931         It's value will be set in subclasses.
12932         (uninstallDefaults): remove uninstallation of
12933         checkIcon.
12934         (paint): Moved code to paintMenuItem().
12935         (paintMenuItem): Implemented.
12936         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12937         UI delegate for JRadioButtonMenuItem.
12938
12939 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12940
12941         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12942         Corrected position of the accelerator.
12943
12944 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12945
12946         * Makefile.am: Added new file.
12947         * Makefile.in: Regenerate.
12948         * javax/swing/JMenuItem.java: Partly
12949         implemented. Work in progress
12950         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12951         Changed default value of acceleratorDelimiter.
12952         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12953         New class. Partly implemented.
12954
12955 2004-03-26  Mark Wielaard  <mark@klomp.org>
12956
12957         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12958         (item_activate): Declare label before use.
12959         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12960         (gtkSetFont): Removed unused variable label.
12961         (addExposeFilter): Declare variables before use.
12962         (removeExposeFilter): Likewise.
12963         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12964         (ok_clicked): Declare str_fileName before use.
12965
12966 2004-03-26  David Jee  <djee@redhat.com>
12967
12968         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12969         (addSeparator): Remove.
12970         * java/awt/Menu.java
12971         (separator): Remove static final MenuItem field.
12972         (separatorLabel): New static final String field.
12973         (addSeparator): Do not use peer method; use add(MenuItem) instead.
12974         Use separatorLabel to denote that it is a separator.
12975         (insertSeparator): Create a new MenuItem with separatorLabel, instead
12976         of reusing the static separator instance, because a MenuItem instance
12977         can't be added more than once without being cloned.
12978         * java/awt/peer/MenuPeer.java
12979         (addSeparator): Remove from interface.
12980
12981 2004-03-26  David Jee  <djee@redhat.com>
12982
12983         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12984         (connectSignals): New native method declaration.
12985         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12986         * java/awt/MenuItem.java
12987         (getActionCommand): Return the label if the action command is not set.
12988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12989         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
12990         gtk_menu_shell_append().
12991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
12992         (item_activate): Fix argument type.
12993         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
12994         signal here.
12995         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
12996         method.
12997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12998         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
12999         given. Add the menu widget's top-level GtkWindow to the global window
13000         group, so it can grab the pointer.
13001         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
13002         gtk_menu_shell_append().
13003
13004 2004-03-23  Graydon Hoare  <graydon@redhat.com>
13005
13006         * java/text/AttributedString.java
13007         (addAttribute): Fix off-by-one.
13008         (getIterator): Likewise.
13009         * java/text/AttributedStringIterator.java
13010         (getRunLimit): Correct logic.
13011         (getRunStart): Likewise.
13012         (getAttribute): Fix inequality.
13013         (getAttributes): Likewise.
13014         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
13015
13016 2004-03-23  Kim Ho  <kho@redhat.com>
13017
13018         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13019         (calculateSizes): Return real width and height.
13020
13021 2004-03-23  Kim Ho  <kho@redhat.com>
13022
13023         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
13024         (calculateTabRects): Set the selectedRun before
13025         trying to rotate tabs.
13026
13027 2004-03-23  Kim Ho  <kho@redhat.com>
13028
13029         * Makefile.am: New file
13030         * Makefile.in: Regenerate
13031         * java/awt/Graphics.java: (drawRect):
13032         Draw to the correct point.
13033         * javax/swing/DefaultSingleSelectionModel.java
13034         (isSelected): Return true if the selected index
13035         is not -1.
13036         * javax/swing/JLabel.java: Do not change mnemonic
13037         index if text is null.
13038         * javax/swing/JProgressBar.java: Use JComponent's
13039         EventListenerList.
13040         * javax/swing/JScrollBar.java: Ditto.
13041         * javax/swing/JSlider.java: Ditto.
13042         * javax/swing/JTabbedPane.java: Reimplement.
13043         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13044         Add defaults for TabbedPane.
13045         * javax/swing/plaf/basic/BasicArrowButton.java:
13046         Implement
13047         * javax/swing/plaf/basic/BasicProgressBarUI.java:
13048         (paintDeterminate): Don't paint String if it's
13049         empty.
13050         (paintIndeterminate): ditto.
13051         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13052         Reimplement.
13053
13054 2004-03-19  Michael Koch  <konqueror@gmx.de>
13055
13056         * java/awt/image/AffineTransformOp.java
13057         (AffineTransformOp): Made public.
13058         * javax/swing/JComponent.java
13059         (listenerList): Made protected.
13060         (accessibleContext): Likewise.
13061         * javax/swing/JList.java
13062         (valueChanged): Dont use internal fields of ListSelectionEvent.
13063         * javax/swing/JViewport.java
13064         (getView): Dont use internal fields of Component.
13065         (addImpl): Likewise.
13066         * javax/swing/Timer.java
13067         (isRunning): Made public.
13068         (start): Likewise.
13069         (stop): Likewise.
13070         * javax/swing/UIDefaults.java
13071         (getInt): Made public.
13072         * javax/swing/plaf/basic/BasicListUI.java
13073         (mousePressed): Dont use internal fields of MouseEvent.
13074         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13075         * javax/swing/plaf/basic/BasicScrollBarUI.java
13076         (arrowIcon): Made static.
13077         * javax/swing/plaf/basic/BasicViewportUI.java
13078         (stateChanged): Dont use internal field on ChangeEvent.
13079         * javax/swing/text/JTextComponent.java
13080         (getUI): Call UIManager.getUI().
13081         (updateUI): Use getUI().
13082
13083 2004-03-19  Graydon Hoare  <graydon@redhat.com>
13084
13085         * javax/swing/JComponent.java: Turn off double buffer by default.
13086         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
13087         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13088         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
13089         Use cairo to copy areas.
13090         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
13091         Initialize and set clip region.
13092
13093 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
13094
13095         * java/applet/Applet.java (preferredSize): Override deprecated
13096         variant of getPreferredSize.
13097         (minimumSize): Override deprecated variant of getMinimumSize.
13098
13099 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
13100
13101         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13102         (drawImage(img,xform,bgcolor,obs)): New Method.
13103         Helper function that every drawImage method will
13104         use.
13105         (drawRaster): Added new parameter, bgcolor. All
13106         transparent pixels are changed to bgcolor before
13107         image is drawn.
13108         (drawRenderedImage): Fixed to use changed drawRaster().
13109         (drawImage(image,xform,obs): Fixed to use new helper function
13110         (drawImage(image,op,x,y)): Ditto.
13111         (drawImage (img,x,y,observer)): Ditto.
13112         ((PainterThread) bgcolor): New Field.
13113         ((PainterThread) (setPixels)): Changed all transparent pixels
13114         to bgcolor.
13115         (drawImage(img,x,y,width,height,bgcolor,observer)):
13116         Fixed FIXME - all the transparent pixels are
13117         changed to the specified bgcolor.
13118         (drawImage(img, x, y, width, height, observer): Changed to
13119         use function above.
13120         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
13121         Fixed FIXME- changed all transparent pixels to bgcolor.
13122         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
13123         Changed to use function above.
13124
13125 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
13126
13127         * java/applet/Applet.java (dimensions): New field.
13128         (getDimensions): New method.
13129         (getPreferredSize): Call getDimensions.
13130         (getMinimumSize): Likewise.
13131
13132 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
13133
13134         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
13135         * jni/classpath/jnilink.c: Likewise.
13136
13137         * java/applet/Applet.java (getPreferredSize): New method.
13138         (getMinimumSize): New method.
13139
13140 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
13141
13142         * prims.cc (_Jv_AllocObject): Remove `size' argument.
13143         (_Jv_AllocObjectNoFinalizer): Likewise.
13144         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
13145         (_Jv_AllocPtrFreeObject): Likewise.
13146         (_Jv_AllocString): Moved from natString.cc. Call collector interface
13147         directly even in the JVMPI case.
13148         * gcj/cni.h (JvAllocObject): Remove `size' argument from
13149         _Jv_AllocObject calls.
13150         * gcj/javaprims.h: Update prototypes.
13151         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
13152         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
13153         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
13154
13155 2004-04-14  Andrew Haley  <aph@redhat.com>
13156             Bryce McKinlay  <mckinlay@redhat.com>
13157
13158         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
13159         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
13160         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
13161
13162         * testsuite/libjava.lang/InvokeInterface.java: New file.
13163         * testsuite/libjava.lang/InvokeInterface.out: New file.
13164
13165 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
13166
13167         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
13168         modified lookup().
13169         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
13170         StackTraceElement directly.
13171         (newElement): New native helper method to create StackTraceElement
13172         bypassing Java access control.
13173         (createStackTraceElement): Use newElement() instead of directly
13174         calling StackTraceElement's constructor.
13175         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
13176
13177 2004-04-01  Michael Koch  <konqueror@gmx.de>
13178
13179         * java/lang/SecurityManager.java
13180         (checkAwtEventQueueAccess): Implemented.
13181
13182 2004-04-01  Gary Benson  <gbenson@redhat.com>
13183
13184         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
13185         (_Jv_SearchMethodInClass): Likewise.
13186
13187 2004-03-26  Peter Moon  <peterm@miraculum.com>
13188
13189         * java/text/NumberFormat.java: Fix spelling of setCurrency
13190         method.
13191
13192 2004-03-21  Anthony Green  <green@redhat.com>
13193
13194         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
13195         recursion when searching for the system ClassLoader.
13196
13197 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
13198
13199         * java/net/ServerSocket.java
13200         (accept): Close the socket when error occured.
13201
13202 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
13203
13204         * java/net/URI.java (parseURI): Added unquoting.
13205         (unquote): New method.
13206         (quoteAuthority): Implemented.
13207         (quote(String,String)): New method.
13208         (quotePath): Implemented.
13209         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
13210         (getSchemeSpecificPart): Removed FIXME comment.
13211         (getRawAuthority): Return new rawAuthority field.
13212         (getAuthority): Removed FIXME comment.
13213         (getRawUserInfo): Return new rawUserInfo field.
13214         (getUserInfo): Removed FIXME comment.
13215         (getRawPath): Return new rawPath field.
13216         (getPath): Removed FIXME comment.
13217         (getRawQuery): Return new rawQuery field.
13218         (getQuery): Removed FIXME comment.
13219         (getRawFragment): Return new rawFragment field.
13220         (getFragment): Removed FIXME comment.
13221
13222 2004-03-20  Michael Koch  <konqueror@gmx.de>
13223
13224         * java/net/URLConnection.java: Merged copyright year with classpath.
13225
13226 2004-03-20  Norbert Frese  <postfach@nfrese.net>
13227
13228         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
13229         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
13230         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
13231         rmi-message.
13232         (getObjectInputStream): Return object reference, throw IOException if null.
13233         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
13234         (getObjectOutputStream): Return object reference, throw IOException if null.
13235         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
13236         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
13237         (UnicastConnectionManager): Throw RemoteException if port is not available.
13238         (getInstance): Throw RemoteException.
13239         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
13240         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
13241         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13242         Collect Exceptions which are returned by a rmi-call and fix void returns.
13243         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13244         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13245         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13246         (dispatch): Answer ping messages which are sent by other java implementions.
13247         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13248         for every rmi-message and fix void return problems.
13249         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13250         (UnicastServerRef): Throw RemoteException.
13251         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13252         In some situations it is necessary to export a subclass of the class which has the _Stub.
13253         For instance when the class with has the _Stub is abstract.
13254         (findStubSkelClass): New method which looks for the class which has the _Stub.
13255         (getClientHost): Implementated.
13256         * gcc/libjava/java/rmi/server/RemoteServer.java
13257         (getClientHost): Implementated.
13258         * gcc/libjava/Makefile.am (rmi_java_source_files):
13259         Added gnu/java/rmi/server/RMIIncomingThread.java.
13260         * Makefile.in: Regenerated.
13261
13262 2004-03-20  Michael Koch  <konqueror@gmx.de>
13263
13264         * java/net/InetAddress.java
13265         (getLocalHostname): Added javadoc.
13266
13267 2004-03-19  Per Bothner  <per@bothner.com>
13268
13269         * configure.in: FILE variable  overrides FLATFORM when linking
13270         natFileChannelXXX.cc.
13271
13272         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
13273         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
13274
13275 2004-03-19  Per Bothner  <per@bothner.com>
13276
13277         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
13278         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
13279         * Makefile.am:  Update accordingly.
13280         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
13281         as aliases for UnicodeLittle and UnicodeBig.
13282
13283 2004-03-20  Mark Wielaard  <mark@klomp.org>
13284
13285         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13286         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13287         Don't access ws when it is null.
13288         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13289         Likewise.
13290
13291 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
13292
13293         * java/lang/ThreadGroup.java (list): Changed print to println.
13294
13295 2004-03-19  Mark Wielaard  <mark@klomp.org>
13296
13297         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
13298         happy.
13299
13300 2004-02-10  Randolph Chung  <tausq@debian.org>
13301
13302         * configure.in: Build java for hppa target.
13303         * configure: Regenerate.
13304         * libjava/configure.host (hppa-*): Add target.
13305         * libjava/sysdeps/pa/lock.h: New file.
13306
13307 2004-03-19  Mark Wielaard  <mark@klomp.org>
13308
13309         Reported by Stephen Crawley
13310         * java/io/FilePermission.java (implies): Use String.length() -1 to
13311         access last char of String.
13312
13313 2004-03-19  Michael Koch  <konqueror@gmx.de>
13314
13315         * java/awt/image/AffineTransformOp.java
13316         (AffineTransformOp): Made public.
13317         * javax/swing/JComponent.java
13318         (listenerList): Made protected.
13319         (accessibleContext): Likewise.
13320         * javax/swing/JList.java
13321         (valueChanged): Dont use internal fields of ListSelectionEvent.
13322         * javax/swing/JViewport.java
13323         (getView): Dont use internal fields of Component.
13324         (addImpl): Likewise.
13325         * javax/swing/Timer.java
13326         (isRunning): Made public.
13327         (start): Likewise.
13328         (stop): Likewise.
13329         * javax/swing/UIDefaults.java
13330         (getInt): Made public.
13331         * javax/swing/plaf/basic/BasicListUI.java
13332         (mousePressed): Dont use internal fields of MouseEvent.
13333         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13334         * javax/swing/plaf/basic/BasicScrollBarUI.java
13335         (arrowIcon): Made static.
13336         * javax/swing/plaf/basic/BasicViewportUI.java
13337         (stateChanged): Dont use internal field on ChangeEvent.
13338         * javax/swing/text/JTextComponent.java
13339         (getUI): Call UIManager.getUI().
13340         (updateUI): Use getUI().
13341
13342 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13343
13344         * verify.cc: Undef PC.
13345
13346 2004-03-18  Michael Koch  <konqueror@gmx.de>
13347
13348         * java/nio/channels/spi/AbstractSelectableChannel.java
13349         (keys): Initialize at declaration.
13350         (locate): keys cant be null.
13351         (add): Removed.
13352         (addSelectionKey): New method.
13353         (removeSelectionKey): New method.
13354         * java/nio/channels/spi/AbstractSelectionKey.java
13355         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13356         * java/nio/channels/spi/AbstractSelector.java
13357         (provider): Javadoc added.
13358         (cancelledKeys): Javadoc added.
13359         (cancelKey): Javadoc added, add key to cancelledKeys.
13360         (deregister): Implemented.
13361
13362 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13363
13364         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13365         MAP_FAILED to void *.
13366
13367 2004-03-12  Graydon Hoare  <graydon@redhat.com>
13368
13369         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13370         * javax/swing/JComponent.java (paint): Use persistent double buffer.
13371         * javax/swing/JList.java (ListListener): Revalidate on changes.
13372         * javax/swing/JScrollPane.java: Reimplement.
13373         * javax/swing/JViewport.java: Reimplement.
13374         * javax/swing/ScrollPaneLayout.java: Reimplement.
13375         * javax/swing/ViewportLayout.java: Tidy up.
13376         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13377         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13378         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13379         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13380         backing store only.
13381
13382 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
13383
13384         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13385         (window_wm_protocols_filter): New function.
13386         (window_focus_in_cb): Remove function.
13387         (window_focus_out_cb): Likewise.
13388         (window_focus_or_active_state_change_cb): New function.
13389         (create): Add filter that removes WM_TAKE_FOCUS client messages.
13390         (connectSignals): Don't attach handlers to focus-in-event or
13391         focus-out-event signals.  Handle notify signal.
13392
13393 2004-03-11  David Jee  <djee@redhat.com>
13394
13395         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13396         (gtkSetLabel): New native method declaration.
13397         (setLabel): Use gtkSetLabel.
13398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13399         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13400
13401 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
13402
13403         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13404         black when color argument is null.
13405
13406 2004-03-10  Kim Ho  <kho@redhat.com>
13407
13408         * java/awt/Container.java: Remove check
13409         for drag events.
13410
13411 2004-03-10  Kim Ho  <kho@redhat.com>
13412
13413         * java/awt/Container.java: (visitChild):
13414         Remove candidate clip. Use the component
13415         clip to intersect.
13416         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13417         (handleEvent): Use the PaintEvent's clip.
13418
13419 2004-03-10  Kim Ho  <kho@redhat.com>
13420
13421         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13422         (handleEvent): Don't set the clip for the
13423         Graphics object.
13424
13425 2004-03-09  Graydon Hoare  <graydon@redhat.com>
13426
13427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
13428         Fix double <-> fixed macros, reset font transform.
13429         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13430         Likewise.
13431
13432 2004-03-09  Kim Ho  <kho@redhat.com>
13433
13434         * java/awt/Container.java: (visitChild): Move
13435         the x and y coordinate of the component rectangle
13436         to correct position.
13437         (handleEvent): Forward drag events to the pressed
13438         component.
13439         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13440         Fix comments.
13441         (ArrowButtonListener::mousePressed): Stop the
13442         existing timer.
13443         (mouseDragged): Implement.
13444         (TrackListener::mousePressed): Only react if
13445         the press doesn't occur on the thumb, otherwise
13446         just set the offset.
13447         (TrackListener::mouseReleased): Unset the isAdjusting
13448         value.
13449         (createIncreaseIcon): Switch icon.
13450         (createDecreaseIcon): Switch icon.
13451         (calculatePreferredSize): Use width.
13452         (getThumbBounds): Use the top as the lower value.
13453         (layoutVScrollBar): Switch the button locations.
13454         (paintIncreaseHighlight): Paint correct side of thumb.
13455         (paintDecreaseHighlight): ditto.
13456         (valueForYPosition): Use top as the lower value.
13457         * javax/swing/plaf/basic/BasicSliderUI.java:
13458         Fix comments.
13459         (mouseDragged): Implement.
13460         (mousePressed): Only react when the thumb isn't
13461         pressed, otherwise just set offset.
13462         (mouseReleased): Handle a release of the thumb.
13463         (scrollDueToClickInTrack): Stop the timer first.
13464         * javax/swing/JProgressBar.java:
13465         (setString): Fix change condition.
13466         * javax/swing/JSeparator.java:
13467         Remove println's.
13468
13469 2004-03-08  David Jee  <djee@redhat.com>
13470
13471         * java/awt/image/AffineTransformOp.java:
13472         (filter): Use Graphics2D interface instead of directly using the
13473         GdkGraphics2D peer.
13474
13475 2004-03-05  David Jee  <djee@redhat.com>
13476
13477         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13478         (handleEvent): Action events are generated upon MOUSE_RELEASED.
13479         * java/awt/Container.java
13480         (acquireComponentForMouseEvent): Fixed.
13481         (handleEvent): Fixed.
13482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13483         (state_to_awt_mods_with_button_states): New method.
13484         (pre_event_handler): Fixed mouse event generation.
13485
13486 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
13487
13488         gnu/java/awt/peer/gtk/GdkGraphics2D.java
13489         (GdkGraphics2D (BufferedImage)): Initialize
13490         pixmap associated with specified BufferedImage.
13491         (setPaint): Changed implementation of Texture
13492         Paint to use AffineTransformOp.
13493         * java/awt/image/AffineTransformOp.java
13494         (createCompatibleDestRaster): Throw RasterFormatException
13495         if resulting width or height of raster is 0.
13496
13497 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
13498
13499         * java/awt/image/AffineTransformOp.java:
13500         Removed unnecessary field interpolationType.
13501         Formatted some of the lines to be consistent with
13502         the GNU style.
13503         (AffineTransformOp): Create new RenderingHints
13504         containing specified interpolation type.
13505         (createCompatibleDestImage): Implemented.
13506         (createCompatibleDestRaster): Implemented.
13507         (filter): Implemented.
13508         (getBounds2D(BufferedImage)): Implemented.
13509         (getBounds2D(Raster)): Implemented.
13510         (getInterpolationType): Get interpolation value from
13511         rendering hints.
13512
13513 2004-03-04  David Jee  <djee@redhat.com>
13514
13515         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13516         (setFont): Check if child peers are null.
13517
13518 2004-03-04  Graydon Hoare  <graydon@redhat.com>
13519
13520         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13521         .libs in -L option.
13522         (libjava_arguments): Add new libraries to argument list.
13523
13524 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
13525
13526         * Makefile.am: Added java/awt/image/AffineTransformOp.java
13527         * Makefile.in: Re-generated.
13528         * java/awt/image/AffineTransformOp.java: New Class.
13529
13530 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
13531
13532         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13533         (setPaint): Interpret correctly TexturePaint's
13534         anchor rectangle.
13535         (drawImage): Fixed scale factors of the affine
13536         transform.
13537
13538 2004-02-27  David Jee  <djee@redhat.com>
13539
13540         * gnu/java/awt/peer/gtk/GdkGraphics.java
13541         (GdkGraphics(Component)): Inherit font from component.
13542         (drawString): Use font style.
13543         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13544         (gtkSetFont): New native method declaration.
13545         (setFont): New method.
13546         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13547         (gtkSetFont): New native method declaration.
13548         (setFont): Call new native method gtkSetFont.
13549         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13550         (setFont): For all child components who do not their fonts set,
13551         set their peers' fonts with this container's font.
13552         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13553         Move all native method declarations to the top for readability.
13554         (gtkSetFont): New native method declaration.
13555         (setFont): New method.
13556         * java/awt/Component.java
13557         (setFont): Invalidate after setting the font.
13558         * java/awt/Container.java
13559         (invalidateTree): New method.
13560         (setFont): Invalidate the container tree after setting the font.
13561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13562         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13564         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13566         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13568         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13569
13570 2004-02-27  Olga Rodimina <rodimina@redhat.com>
13571
13572         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13573         (updateBufferedImage): New helper function.
13574         Updates BufferedImage in memory if it was changed.
13575         (draw): changed to update BufferedImage in memory after
13576         this drawing operation
13577         (fill): Ditto.
13578         (draw3DRect): Ditto.
13579         (fill3DRect): Ditto.
13580         (clearRect): Ditto.
13581         (drawRaster): Ditto.
13582         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
13583         no affine transformation.
13584         (drawGlyphVector): Ditto.
13585
13586 2004-02-26  Olga Rodimina <rodimina@redhat.com>
13587
13588         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13589         (isBufferedImageGraphics): New Helper function.
13590         Returns true if this graphics2d can be used to draw
13591         into buffered image and false otherwise.
13592         (updateImagePixels): New Helper function.
13593         Updates pixels in the BufferedImage.
13594         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13595         (getImagePixels): New function. Returns pixels
13596         of the buffered image associated with
13597         this Graphics2D.
13598
13599 2004-02-26  David Jee  <djee@redhat.com>
13600
13601         * java/awt/BorderLayout.java
13602         (layoutContainer): Fix width and height calculations to ensure
13603         that they're non-negative.
13604         * java/awt/Component.java
13605         (setBackground): If c is null, inherit from closest ancestor whose
13606         background color is set.
13607
13608 2004-02-26  Kim Ho  <kho@redhat.com>
13609
13610         * Makefile.am: Add new files.
13611         * Makefile.in: Re-generate.
13612         * javax/swing/JProgressBar.java:
13613         (JProgressBar(int, int int)): Throw
13614         IllegalArgumentException if orientation is
13615         invalid.
13616         (JProgressBar(BoundedRangeModel)): Create
13617         ChangeListener and register it. UpdateUI.
13618         (getChangeListeners): Implement.
13619         (setModel): Reset ChangeListener.
13620         * javax/swing/JScrollBar.java: Implement.
13621         * javax/swing/JSeparator.java: Implement.
13622         * javax/swing/JSlider.java:
13623         (JSlider(int, int, int, int)): Throw
13624         IllegalArgumentException if orientation
13625         is invalid.
13626         (getChangeListeners): Fix method name.
13627         * javax/swing/SwingUtilities.java:
13628         (layoutCompoundLabel): If there is no text,
13629         set the text rectangle dimensions to 0.
13630         * javax/swing/plaf/basic/BasicButtonUI.java:
13631         (paint): If there is no text, don't paint it.
13632         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13633         Implement.
13634         * javax/swing/plaf/basic/BasicSeparatorUI.java:
13635         Implement.
13636         * javax/swing/plaf/basic/BasicSliderUI.java:
13637         (propertyChange): If the model changes, change
13638         the listeners accordingly.
13639
13640 2004-02-25  Graydon Hoare  <graydon@redhat.com>
13641
13642         * javax/swing/AbstractButton.java: Add "final" qualifiers.
13643         * javax/swing/JList.java: Reimplement.
13644         * javax/swing/DefaultListSelectionModel.java: Reimplement.
13645         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13646         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13647         * javax/swing/ListModel.java: Javadoc.
13648         * javax/swing/ListSelectionModel.java: Add missing methods.
13649         * javax/swing/AbstractListModel.java: Javadoc and corrections.
13650         * javax/swing/DefaultListModel.java: Javadoc and corrections.
13651         * javax/swing/ListModel.java: Javadoc and corrections.
13652         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13653
13654 2004-02-25  David Jee  <djee@redhat.com>
13655
13656         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13657         (GtkFontPeer): Change default size to 12.
13658         * gnu/java/awt/peer/gtk/GtkToolkit.java
13659         (getFontPeer): Change default size to 12.
13660         (getClasspathFontPeer): Likewise. Set default name to "Default".
13661         * java/awt/Font.java
13662         (Font(Map)): Call Font(String,Map).
13663         (Font(String,Map)): If attrs is null, initialize it as an empty
13664         HashMap, which will ensure that the Font will get default attributes.
13665
13666 2004-02-25  David Jee  <djee@redhat.com>
13667
13668         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13669         (GtkFontPeer(String,int)): Call the new constructor with size 1.
13670         (GtkFontPeer(String,int,int)): New constructor with size attribute.
13671         * gnu/java/awt/peer/gtk/GtkToolkit.java
13672         (getFontPeer(String,int)): Call the new overload method with size 1.
13673         (getFontPeer(String,int,int)): New method. Overloaded with size
13674         attribute.
13675         (getClasspathFontPeer): Set the size of the font.
13676
13677 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
13678
13679         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13680         (bimage): New field.
13681         (GdkGraphics2D): New Constructor. Constructs Graphics
13682         object that can be used to draw into the Buffered Image.
13683         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13684         (GdkGraphicsEnvironment): Fixed to include public
13685         keyword.
13686         (createGraphics): Implemented.
13687         * gnu/java/awt/peer/gtk/GtkToolkit.java
13688         (getLocalGraphicsEnvironment): Implemented.
13689         * java/awt/GraphicsEnvironment.java:
13690         (getLocalGraphicsEnvironment): Implemented.
13691         * java/awt/image/BufferedImage.java:
13692         (createGraphics): Implemented.
13693
13694 2004-02-24  David Jee  <djee@redhat.com>
13695
13696         * java/awt/Component.java
13697         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13698         * java/awt/Container.java
13699         (addNotifyContainerChildren): Fix event enabling.
13700
13701 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
13702
13703         * Makefile.am: Added
13704         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13705         * Makefile.in: Re-generated.
13706         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13707         New Class.
13708
13709 2004-02-19  Kim Ho  <kho@redhat.com>
13710
13711         * Makefile.am: Add BasicProgressBarUI
13712         * Makefile.in: Regenerate.
13713         * javax/swing/JProgressBar.java:
13714         Re-implement.
13715         * javax/swing/plaf/basic/BasicLookAndFeel.java
13716         Add constants for JProgressBar.
13717         * javax/swing/plaf/basic/BasicProgressBarUI.java
13718         Implement.
13719         * javax/swing/plaf/basic/BasicSliderUI.java
13720         Change comments.
13721         (calculateGeometry): New method
13722         (paint): Remove unnecessary size calculations.
13723
13724 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
13725
13726         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13727         (drawRaster): Fixed small error that caused
13728         imageToUser transformation to be set incorrectly.
13729         (toString): Implemented.
13730
13731 2004-02-18  David Jee  <djee@redhat.com>
13732
13733         * java/awt/CardLayout.java
13734         (addLayoutComponent): Show the first component added as the default.
13735         (removeLayoutComponent): After removing, show the next component.
13736         (gotoComponent): If there is only one component, show it and return.
13737
13738 2004-02-18  Kim Ho  <kho@redhat.com>
13739
13740         * javax/swing/JSlider.java: Re-order
13741         modifiers.
13742         * javax/swing/JLabel.java: Re-order
13743         modifiers.
13744         * javax/swing/JComponent.java:
13745         (addPropertyChangeListener):
13746         Implement.
13747         (removePropertyChangeListener):
13748         ditto.
13749         (firePropertyChangeEvent):
13750         ditto.
13751
13752 2004-02-17  David Jee  <djee@redhat.com>
13753
13754         * java/awt/Component.java
13755         (show): Dispatch ComponentEvent via system event queue.
13756         (hide): Likewise.
13757         (move): Likewise.
13758         (resize): Likewise.
13759         (reshape): Likewise.
13760         * java/awt/Window.java
13761         (setBoundsCallback): Likewise.
13762
13763 2004-02-17  David Jee  <djee@redhat.com>
13764
13765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13766         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13767         Use gtk_widget_set_size_request() instead of the deprecated
13768         gtk_widget_set_usize().
13769
13770 2004-02-17  Kim Ho  <kho@redhat.com>
13771
13772         * javax/swing/JSlider.java: Fix comments and
13773         make property strings constants.
13774         (createStandardLabels): Use the labels
13775         preferred size as bounds.
13776         * javax/swing/plaf/basic/BasicSliderUI.java
13777         Fix comments.
13778         (ScrollHandler::actionPerformed): Don't
13779         calculate the timer stop value. Let the
13780         MouseListeners find the stop location.
13781         (getPreferredHorizontalSize): Re-implement.
13782         (getPreferredVerticalSize): ditto.
13783         (getMinimumHorizontalSize): ditto.
13784         (getMinimumVerticalSize): ditto.
13785         (getPreferredSize): ditto.
13786         (getMinimumSize): ditto.
13787         (getMaximumSize): ditto.
13788         (paintTicks): Use doubles to find the
13789         tick location.
13790         (paintHorizontalLabel):  Use preferredSize
13791         as initial width and height.
13792         (paintVerticalLabel): ditto.
13793
13794 2004-02-17  Kim Ho  <kho@redhat.com>
13795
13796         * javax/swing/JLabel.java: Changed
13797         property strings to constants.
13798         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13799         New property.
13800         (setText): Change mnemonic index if
13801         text is too short.
13802         (setDisplayedMnemonicIndex): Fire property
13803         change event.
13804         (getDisplayedMnemonicIndex): Remove check
13805         against short text.
13806
13807 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13808
13809         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13810         (drawImage(img,xform,obs)): Invert xform before
13811         passing the xform to cairo.
13812         (drawImage(img,x,y,bgcolor,obs)): Implemented.
13813         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13814         implemented.
13815         (drawImage (img,x,y,w,h,obs)): Implemented.
13816         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13817         bgcolor,obs)): Partly implemented.
13818         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13819         Implemented.
13820         * java/awt/image/BufferedImage.java:
13821         (copyData): if dest is null, create raster with same
13822         dimensions as the current image.
13823
13824 2004-02-16  Graydon Hoare  <graydon@redhat.com>
13825
13826         * javax/swing/plaf/basic/BasicLabelUI.java
13827         (getPreferredSize): Use layoutCL.
13828         * javax/swing/plaf/basic/BasicGraphicsUtils.java
13829         (getPreferredButtonSize): Start with empty view rect, layout using
13830         component's preferred alignment.
13831         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13832         List defaults.
13833
13834 2004-02-16  David Jee  <djee@redhat.com>
13835
13836         * java/awt/Component.java
13837         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13838         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13839         (move): Erase old bounds and repaint new bounds. Dispatch
13840         COMPONENT_MOVED ComponentEvent.
13841         (resize): Erase old bounds and repaint new bounds. Dispatch
13842         COMPONENT_RESIZED ComponentEvent.
13843         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13844         ComponentEvents.
13845         * java/awt/Window.java
13846         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13847         ComponentEvents.
13848
13849 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
13850
13851         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13852         (setRenderingHint): Added implementation of
13853         Interpolation rendering hints.
13854         (setRenderingHints): Ditto.
13855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13856         (drawPixels): fixed to allow user to choose type
13857         of filtering that should be used when displaying images.
13858         (cairoSurfaceSetFilter): New method. Sets filter type for
13859         interpolation of pixel values.
13860
13861 2004-02-16  David Jee  <djee@redhat.com>
13862
13863         * java/awt/GridBagLayout.java
13864         (calcCellSizes): Rows or columns with zero sizes should still be
13865         considered for extra space distribution.
13866
13867 2004-02-16  Kim Ho  <kho@redhat.com>
13868
13869         * javax/swing/JLabel.java: Re-implement.
13870         * javax/swing/plaf/basic/BasicLabelUI.java
13871         Re-implement.
13872         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13873         Added constant.
13874
13875 2004-02-16  Kim Ho  <kho@redhat.com>
13876
13877         * javax/swing/JSlider.java: Fix indentation and comments.
13878         (setModel): Remove null check to conform with Sun's.
13879         (setOrientation): Throw exception if not
13880         HORIZONTAL or VERTICAL.
13881         (getInverted): Use private variable instead of
13882         ComponentOrientation.
13883         (setInverted): ditto.
13884         * javax/swing/plaf/basic/BasicSliderUI.java:
13885         Fix indentation and comments.
13886         (propertyChange): Remove check for inverted slider, handle
13887         in main paint.
13888         (getMinimumSize): Return preferred size.
13889         (getMaximumSize): ditto.
13890         (calculateFocusRect): Don't relocate rectangle.
13891         (drawInverted): Return XOR of the slider's inversion and
13892         the component's orientation.
13893         (paint): Update leftToRightCache
13894
13895 2004-02-13  David Jee  <djee@redhat.com>
13896
13897         * java/awt/GridBagLayout.java
13898         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13899         code to helper methods.
13900         (sortBySpan): New helper method.
13901         (distributeSizeAndWeight): Likewise.
13902         (calcCellWeights): Likewise.
13903         (calcCellSizes): Add comments.
13904
13905 2004-02-13  David Jee  <djee@redhat.com>
13906
13907         * java/awt/Component.java
13908         (show): Only do something if component is invisible at the moment.
13909         (hide): Only do something if component is visible at the moment.
13910         (reshape): If lightweight, erase old bounds and repaint new bounds.
13911
13912 2004-02-13  Kim Ho  <kho@redhat.com>
13913
13914         * Makefile.am: Updated for new file.
13915         * Makefile.in: Regenerated.
13916         * javax/swing/JSlider.java: Reimplement.
13917         * javax/swing/SwingUtilities.java
13918         (layoutCompoundLabel): Use icon height
13919         instead of width.
13920         (paintComponent): Implement.
13921         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13922         Add JSlider defaults.
13923         * javax/swing/plaf/basic/BasicSliderUI.java:
13924         Implement. New file.
13925
13926 2004-03-17  Michael Koch  <konqueror@gmx.de>
13927
13928         * gnu/java/net/PlainDatagramSocketImpl.java
13929         (RECEIVE_LOCK): New member field.
13930         (SEND_LOCK): New member field.
13931         (send0): New method.
13932         (send): Synchronize on SEND_LOCK.
13933         (receive0): New method.
13934         (receive): Synchronize on RECEIVE_LOCK.
13935         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13936         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13937         gnu/java/net/natPlainDatagramSocketImplWin32.cc
13938         (send0): Renamed from send.
13939         (receive0): Renamed from receive.
13940 2004-03-17  Michael Koch  <konqueror@gmx.de>
13941
13942         * gnu/java/net/natPlainSocketImplPosix.cc
13943         (write): Just call write(jbyteArray, offset, len).
13944         (read): Just call read(jbyteArray, offset, len).
13945
13946 2004-03-16  Michael Koch  <konqueror@gmx.de>
13947
13948         * javax/swing/JTabbedPane.java
13949         (serialVersionUID): New field.
13950
13951 2004-03-16  Norbert Frese  <postfach@nfrese.net>
13952
13953         * java/net/InetAddress.java
13954         (getByName): Handle hostname == "" case.
13955
13956 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
13957
13958         Reported by: Adam Heath <doogie@debian.org>
13959         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13960         class loader.
13961
13962 2004-03-15  Michael Koch  <konqueror@gmx.de>
13963
13964         * java/util/Locale.java: Reverting my last patch
13965         and add a comment why the original version was okay.
13966
13967 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
13968
13969         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13970         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13971         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13972         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13973
13974 2004-03-12  Michael Koch  <konqueror@gmx.de>
13975
13976         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13977
13978 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13979
13980         * java/net/URI.java (toURL): Implemented.
13981
13982 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13983
13984         * java/net/URI.java
13985         (URI_REGEXP) updated to contain scheme specific part.
13986         (SCHEME_SPEC_PART_GROUP) new constant.
13987         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13988         updated to make room for SCHEME_SPEC_PART_GROUP.
13989         (parseURI) parse scheme specific part.
13990         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
13991         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
13992         getQuery, getFragment) implemented.
13993
13994 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
13995
13996         * libraries/javalib/java/net/URI.java
13997         partially implemented using java.util.regex.
13998         (URI_REGEXP) new constant. Used to parse URIs.
13999         (SCHEME_GROUP) new constant representing index of scheme group
14000         in parsed URI.
14001         (AUTHORITY_GROUP) new constant representing index of authority
14002         group in parsed URI.
14003         (PATH_GROUP) new constant representing index of path group in
14004         parsed URI.
14005         (QUERY_GROUP) new constant representing index of query group in
14006         parsed URI.
14007         (FRAGMENT_GROUP) new constant representing index of fragment
14008         group in parsed URI.
14009         (getURIGroup) new static utility method.
14010         (parseURI) implemented.
14011         (quote) stub for new static utility method.
14012         (quoteAuthority) stub for new static utility method.
14013         (quoteHost) stub for new static utility method.
14014         (quotePath) stub for new static utility method.
14015         (quoteUserInfo) stub for new static utility method.
14016         (URI) implemented.
14017         (create) don't throw URISyntaxException. Implemented.
14018         (toString) implemented.
14019
14020 2004-03-12  Michael Koch  <konqueror@gmx.de>
14021
14022         * java/net/HttpURLConnection.java
14023         (getResponseCode): Fix another typo in javadoc.
14024
14025 2004-03-11  Michael Koch  <konqueror@gmx.de>
14026
14027         * java/util/logging/Level.java
14028         (parse): Use String.equals() instead of ==.
14029
14030 2004-03-11  Michael Koch  <konqueror@gmx.de>
14031
14032         * gnu/java/net/protocol/jar/Connection.java
14033         (getContentLength): New method.
14034
14035 2004-03-11  Michael Koch  <konqueror@gmx.de>
14036
14037         * gnu/java/net/PlainSocketImpl.java:
14038         Reformated to merge better with classpath's version.
14039
14040 2004-03-11  Michael Koch  <konqueror@gmx.de>
14041
14042         * java/util/Locale.java
14043         (getISO3Language): Use String.equals() instead of ==.
14044         (getISO3Country): Likewise.
14045
14046 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
14047
14048         * java/text/AttributedString.java
14049         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
14050         Use HashMap instead of Hashtable since value can be null, and
14051         you can not store a null value in a Hashtable.
14052
14053 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
14054
14055         * java/text/AttributedStringIterator.java
14056         (getAllAttributesKey): Return only keys concerned
14057         by the current iterator.
14058         (getAttributes): Use strict inequality for
14059         end_index.
14060
14061 2004-03-11  Michael Koch  <konqueror@gmx.de>
14062
14063         * java/net/HttpURLConnection.java:
14064         Fixed typo in javadoc.
14065
14066 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
14067
14068         * java/io/BufferedInputStream.java (marktarget): New field for max
14069         mark limit.
14070         (CHUNKSIZE): New constant for incremental mark buffer allocation.
14071         (mark): Use new fields.
14072         (read): Likewise.
14073         (read(byte[],int,int)): Likewise.
14074         (skip): Likewise.
14075         (refill): Likewise.
14076
14077 2004-03-11  Mark Wielaard  <mark@klomp.org>
14078
14079         * java/beans/BeanDescriptor.java (BeanDescriptor):
14080         Set the FeatureDescriptor programmatic name.
14081
14082 2004-03-11  Michael Koch  <konqueror@gmx.de>
14083
14084         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
14085         This file was was just copied form java/io/natFileDescriptorEcos.cc
14086         and never changed to compile correctly.
14087
14088 2004-03-11  Michael Koch  <konqueror@gmx.de>
14089
14090         * gnu/java/nio/PipeImpl.java
14091         (SourceChannelImpl): Made final.
14092         (read): Implemented.
14093         (SinkChannelImpl): Made final.
14094         (write): Implemented.
14095
14096 2004-03-11  Michael Koch  <konqueror@gmx.de>
14097
14098         * gnu/java/net/PlainDatagramSocketImpl.java:
14099         Reformated to match classpath's version more.
14100
14101 2004-03-11  Michael Koch  <konqueror@gmx.de>
14102
14103         * gnu/java/awt/peer/ClasspathFontPeer.java:
14104         Fixed javadoc to be correct xhtml.
14105         * gnu/java/awt/peer/gtk/GtkArgList.java
14106         (add): Use Boolean.valueOf() instead of new Boolean().
14107
14108 2004-03-09  Michael Koch  <konqueror@gmx.de>
14109
14110         * java/lang/Thread.java
14111         (runnable): Moved around.
14112         (daemon): Renamed from daemon_flag.
14113         (contextClassLoader): Renamed from context_class_loader.
14114         (Thread): Reordered constructors.
14115         (activeCount): Use group directly.
14116         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
14117         (holdsLock): Reworked javadoc.
14118         (setDaemon): Reworked.
14119         * java/lang/natThread.cc
14120         (destroy): Removed.
14121
14122 2004-03-08  Anthony Green  <green@redhat.com>
14123
14124         * Makefile.am: Build property resource files into libgcj.
14125         * Makefile.in: Rebuilt.
14126         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14127         java/util/regex/PatternSyntaxException.java,
14128         gnu/regexp/CharIndexed.java,
14129         gnu/regexp/CharIndexedCharArray.java,
14130         gnu/regexp/CharIndexedInputStream.java,
14131         gnu/regexp/CharIndexedReader.java,
14132         gnu/regexp/CharIndexedString.java,
14133         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
14134         gnu/regexp/REException.java,
14135         gnu/regexp/REFilterInputStream.java,
14136         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
14137         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
14138         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
14139         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
14140         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
14141         gnu/regexp/RETokenLookAhead.java,
14142         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
14143         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
14144         gnu/regexp/RETokenStart.java,
14145         gnu/regexp/RETokenWordBoundary.java,
14146         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
14147
14148 2004-03-03  Per Bothner  <per@bothner.com>
14149
14150         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
14151         Optimize when argument is a FileChannelImpl.
14152         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
14153         New native methods.
14154         * java/nio/channels/natChannels.cc:  New file for new native methods.
14155         * Makefile.am:  Update accordingly.
14156
14157 2004-03-02  Jan Hubicka  <jh@suse.cz>
14158
14159         * configure.host: Pass -fno-omit-frame-pointer for i386.
14160         * configure.in: Likewise.
14161         * configure: Regenerate.
14162
14163 2004-03-01  Per Bothner  <per@bothner.com>
14164
14165         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
14166
14167 2004-02-29  Per Bothner  <per@bothner.com>
14168
14169         * java/nio/channels/FileChannelImpl.java:  Moved to package
14170         gnu/java/nio/channels, since we need to refer to it from java.io.
14171         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
14172         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
14173         from java/nio/channels.  Don't depend on FileDescriptor.
14174         (in, out, err):  New static fields.
14175         (mode):  New field.
14176         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
14177         from FileDescriptor.
14178         (by):  Removed MappedByteBuffer field.
14179         (map):  New working implementation.
14180         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
14181         some code "ported" from natFileDescriptoPosix.cc.
14182         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
14183         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
14184         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
14185         Remove native methods.
14186         * Makefile.am, configure.in:  Updated accordingly.
14187
14188         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
14189         (ch):  New FileChannelImpl field.  Update constructor to match.
14190         (releaseImpl):  Remove native method.  Instead ...
14191         (release):  Call unlock on channel.
14192         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
14193
14194         * java/io/natFileDescriptorEcos.cc:  Remove file.
14195         * java/io/natFileDescriptorPosix.cc:  Remove file.
14196         * java/io/natFileDescriptorWin32.cc:  Remove file.
14197         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
14198         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
14199         (<init>(FileChannelImpl)):  New package-private constructor.
14200         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
14201         (available, close, read, skip):  Implement using FileChannelImpl.
14202         (getFD):  Allocate FileDescriptor if needed.
14203         (getChannel):  Is now trivial.
14204         * java/io/FileOutputStream.java:  Corresponding changes.
14205         * java/io/RandomAccessFile.java:  Corresponding changes.
14206
14207         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
14208         unmapImpl):  New dummy methods, to be overridden by subclass.
14209         (finalize, isLoaded, load, force):  New methods.
14210         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
14211         Now works, at least for read mapping.
14212
14213         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
14214         streams using FileChannelImpl, not FileDescriptor.
14215         * java/lang/natWin32Process.cc (startProcess):  Likewise.
14216
14217 2004-02-28  Michael Koch  <konqueror@gmx.de>
14218
14219         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
14220         wrong code.
14221
14222 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
14223
14224         * java/io/ObjectInputStream.java
14225         (readClassDescriptor): Keep elements of the mapping non null.
14226         (checkTypeConsistency): New method.
14227         (readFields): Fixed main loop and base logic. Small reindentation.
14228         * java/io/ObjectStreamField.java
14229         (lookupField): New method to update the field reference.
14230         (checkFieldType): New method.
14231         * java/io/ObjectStreamClass.java
14232         (setClass, setFields): Call lookupField when building the field
14233         database. Check the real field type.
14234
14235 2004-02-28  Michael Koch  <konqueror@gmx.de>
14236
14237         * java/nio/ByteOrder.java
14238         (nativeOrder): Use equals() to compare strings.
14239
14240 2004-02-26  Michael Koch  <konqueror@gmx.de>
14241
14242         * gnu/java/nio/FileLockImpl.java
14243         (finalize): Made protected.
14244         * java/nio/channels/FileChannel.java
14245         (MapMode.READ_ONLY): Made final.
14246         (MapMode.READ_WRITE): Made final.
14247         (MapMode.PRIVATE): Made final.
14248         * java/nio/channels/SocketChannel.java
14249         (open): Simplified code.
14250         * java/nio/channels/spi/AbstractSelectableChannel.java
14251         (registered): Unused, removed.
14252         (keyFor): Check channel is open, only locate key
14253         and not add a new one.
14254         (register): Don't delete attachments.
14255
14256 2004-02-26  Michael Koch  <konqueror@gmx.de>
14257
14258         * gnu/java/awt/ComponentDataBlitOp.java
14259         (INSTANCE): Made final.
14260         * gnu/java/awt/image/ImageDecoder.java:
14261         Reworked imports.
14262         (cm): Unused, removed.
14263
14264 2004-02-26  Michael Koch  <konqueror@gmx.de>
14265
14266         * gnu/java/nio/DatagramChannelImpl.java
14267         (send): Check if target address is resolved.
14268
14269 2004-02-26  Michael Koch  <konqueror@gmx.de>
14270
14271         * Makefile.am: Generate and install headers for inner classes in
14272         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14273         * Makefile.in: Regenerated.
14274
14275 2004-02-24  Anthony Green  <green@redhat.com>
14276
14277         * java/lang/StringBuffer.java: No need to NULL out remainder of
14278         buffer since ensureCapacity_unsynchronized will have done this for
14279         us.
14280
14281 2004-02-20  Michael Koch  <konqueror@gmx.de>
14282
14283         * gnu/java/net/protocol/jar/Handler.java
14284         (): Removed unneeded check for file != null. java.net.URL.getFile()
14285         returns an empty string but never null.
14286
14287 2004-02-20  Michael Koch  <konqueror@gmx.de>
14288
14289         * gnu/gcj/convert/Convert.java
14290         (main): Use equals() to compare strings.
14291
14292 2004-02-20  Michael Koch  <konqueror@gmx.de>
14293
14294         * javax/swing/AbstractButton.java: Made several constants final.
14295         (getRolloverSelectedIcon): Made public.
14296         (getSelectedIcon): Made public.
14297
14298 2004-02-16  Per Bothner  <per@bothner.com>
14299
14300         * java/nio/CharBufferImpl.java:  Inline super constructor.
14301         * java/nio/DoubleBufferImpl.java:  Likewise.
14302         * java/nio/FloatBufferImpl.java:  Likewise.
14303         * java/nio/IntBufferImpl.java:  Likewise.
14304         * java/nio/LongBufferImpl.java:  Likewise.
14305         * java/nio/ShortBufferImpl.java:  Likewise.
14306         * java/nio/CharBuffer.java:  Remove unused constructor.
14307         * java/nio/DoubleBuffer.java:  Likewise.
14308         * java/nio/FloatBuffer.java:  Likewise.
14309         * java/nio/IntBuffer.java:  Likewise.
14310         * java/nio/LongBuffer.java:  Likewise.
14311         * java/nio/ShortBuffer.java:  Likewise.
14312         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
14313         Fix buggy call to super constructor.
14314         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14315         * java/nio/FloatViewBufferImpl.java:  Likewise.
14316         * java/nio/IntViewBufferImpl.java:  Likewise.
14317         * java/nio/LongViewBufferImpl.java:  Likewise.
14318         * java/nio/ShortViewBufferImpl.java:  Likewise.
14319
14320         * java/nio/ByteBuffer.java (endian):  Make non-private so other
14321         java.nio classes can inherit it.
14322         (<init>):  Don't bother clearing array_offset.
14323         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
14324         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
14325         Remove redundant test.
14326
14327         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14328         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14329         Use new XxxViewBufferImpl constructors.
14330         * java/nio/MappedByteBufferImpl.java:  Likewise.
14331         * java/nio/DirectByteBufferImpl.java:  Likewise.
14332
14333         * java/nio/ByteBufferImpl.java:  Remove one constructor.
14334         Inline super in remaining constructor.
14335         * java/nio/ByteBuffer.java:  Remove unused constructor.
14336
14337         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
14338
14339         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
14340         * java/nio/DirectByteBufferImpl.java (owner):  New field.
14341         (offset):  Remove unused field.
14342         (<init>):  Modify one and add another constructor.  Change callers.
14343         (allocateDirect):  Removed - not used.
14344         (getImpl, putImpl):  Make static and pass address explicitly,
14345         to make them useful for MappedByteBufferImpl.
14346         (get, put):  Check for underflow.  Modify for new getImpl.
14347         (getImpl):  New native method where target is array.
14348         (get(byte[],int,int)):  Use the above.
14349         (adjustAddress):  New static native method.
14350         (slice, duplicate, asReadOnly):  New implementations.
14351         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14352         adjustAddress):  New or updated native methods.
14353
14354 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
14355
14356         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14357         overflow of fieldmapping.
14358
14359 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
14360
14361         * javax/swing/undo/UndoManager.java: Re-written from scratch.
14362
14363 2004-02-14  Per Bothner  <per@bothner.com>
14364
14365         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14366         Set closed before calling implCloseChannel, as in the spec.
14367
14368 2004-02-09  Graydon Hoare  <graydon@redhat.com>
14369
14370         * javax/swing/ToggleButtonModel.java: Remove dead class.
14371         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14372         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14373         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14374         * Makefile.am: Update for new and removed files.
14375         * Makefile.in: Regenerate.
14376
14377         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14378         * javax/swing/AbstractButton.java
14379         (AbstractButton): Initialize fields correctly in ctor.
14380         * javax/swing/JCheckbox.java
14381         (JCheckBox): Override painting flags.
14382         * javax/swing/DefaultButtonModel.java: Conform to sun.
14383         * javax/swing/JComponent.java (paint): Fill with background color
14384         if available.
14385         (processComponentKeyEvent)
14386         (processFocusEvent)
14387         (processKeyEvent)
14388         (processMouseMotionEvent): Remove event-consuming empty methods.
14389         (getUIClassID): Return "ComponentUI" not "JComponent"
14390         * javax/swing/JFrame.java: Remove some debugging chatter.
14391         (JFrame): Subscribe to window events.
14392         * javax/swing/JRadioButton.java
14393         (JRadioButton): Override painting flags.
14394         * javax/swing/JRootPane.java
14395         (JRootPane): Set background from UIDefaults.
14396         * javax/swing/JToggleButton.java
14397         (ToggleButtonModel): New inner class.
14398         (JToggleButton): Override layout alighment.
14399         * javax/swing/SwingUtilities.java:
14400         (getLocalBounds): Return width and height, not x and y.
14401         (calculateInnerArea): Use local bounds, not bounds.
14402         (layoutCompoundLabel): Provide overridden form.
14403         (layoutCompoundLabel): Correct bugs.
14404         * javax/swing/UIDefaults.java: Correct comment.
14405         * javax/swing/plaf/basic/BasicButtonUI.java:
14406         Move most logic into defaults, external listener.
14407         (paintIcon): Implement icon painting.
14408         (paint): Fix state painting to conform to changes in model.
14409         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14410         Remove most dead/wrong methods.
14411         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14412         * javax/swing/plaf/basic/BasicIconFactory.java:
14413         (DummyIcon): New class.
14414         (getMenuItemCheckIcon)
14415         (getMenuItemArrowIcon)
14416         (getMenuArrowIcon)
14417         (getCheckBoxMenuItemIcon)
14418         (getRadioButtonMenuItemIcon)
14419         (createEmptyFrameIcon): Return DummyIcons, not null.
14420         (getCheckBoxIcon): Implement an icon that looks like sun's.
14421         (getRadioButtonIcon): Implement an icon that looks like sun's.
14422         * javax/swing/plaf/basic/BasicLookAndFeel.java
14423         (initComponentDefaults): Fix impossible values, add some missing.
14424         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14425         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14426         Remove most dead/wrong methods.
14427         (icon): New field.
14428         (getDefaultIcon): New method.
14429         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14430         Remove most dead/wrong methods.
14431         * javax/swing/plaf/metal/MetalLookAndFeel.java
14432         (getDefaults): Return super.getDefaults(), not BasicDefaults.
14433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14434         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14435         Implement "clearing" as drawing, when on pixmap drawables.
14436
14437         * javax/swing/JButton.java (getUIClassID):
14438         * javax/swing/JCheckBox.java (getUIClassID):
14439         * javax/swing/JEditorPane.java (getUIClassID):
14440         * javax/swing/JLabel.java (getUIClassID):
14441         * javax/swing/JList.java (getUIClassID):
14442         * javax/swing/JOptionPane.java (getUIClassID):
14443         * javax/swing/JPanel.java (getUIClassID):
14444         * javax/swing/JPasswordField.java (uiClassID):
14445         * javax/swing/JRadioButton.java (getUIClassID):
14446         * javax/swing/JRootPane.java (getUIClassID):
14447         * javax/swing/JScrollPane.java (getUIClassID):
14448         * javax/swing/JTabbedPane.java (getUIClassID):
14449         * javax/swing/JToggleButton.java (getUIClassID):
14450         * javax/swing/JTree.java (getUIClassID):
14451         * javax/swing/JViewport.java (getUIClassID):
14452         * javax/swing/text/JTextComponent.java (getUIClassID):
14453         Return "fooUI" not "Jfoo"
14454
14455 2004-02-11  Michael Koch  <konqueror@gmx.de>
14456
14457         * java/net/DatagramSocket.java
14458         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14459         Boolean object.
14460         (setBroadcast): Likewise.
14461         * java/net/MulticastSocket.java
14462         (setLoopbackMode): Likewise.
14463         * java/net/ServerSocket.java
14464         (setReuseAddress): Likewise.
14465         * java/net/Socket.java
14466         (setTcpNoDelay): Likewise.
14467         (setSoLinger): Likewise.
14468         (setOOBInline): Likewise.
14469         (setKeepAlive): Likewise.
14470         (setReuseAddress): Likewise.
14471         * java/net/URLConnection.java
14472         (setContentHandler): Replace == with equals().
14473         * java/net/URLStreamHandler.java
14474         (hostSEquals): Fix checking host addresses.
14475         (toExternalForm): Dont check protocol for null. We know already its
14476         not null.
14477
14478 2004-02-10  David Jee  <djee@redhat.com>
14479
14480         * java/awt/BorderLayout.java
14481         (calcCompSize): Invisible components get zero dimensions.
14482         * java/awt/Button.java
14483         (setLabel): Set actionCommand.
14484         * java/awt/Component.java
14485         (show): Invalidate component and parent container.
14486         (hide): Likewise.
14487
14488 2004-02-10  David Jee  <djee@redhat.com>
14489
14490         * java/awt/GridBagLayout.java
14491         (GridBagLayout): New private field, internalcomptable.
14492         (lookupInternalConstraints): New method.
14493         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14494         (GetLayoutInfo): Reimplement.
14495         (calcCellSizes): Ignore rows/columns with size 0.
14496
14497 2004-02-10  Michael Koch  <konqueror@gmx.de>
14498
14499         * gnu/java/awt/EmbeddedWindow.java
14500         (setHandle): Use java.awt.Component.getPeer() instead of
14501         java.awt.Component.peer directly.
14502
14503 2004-02-10  David Jee  <djee@redhat.com>
14504
14505         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14506         (gtkSetLabel): New native method definition.
14507         (setLabel): Use gtkSetLabel.
14508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14509         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14510
14511 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
14512
14513         * include/powerpc-signal.h: Revert 2004-01-21 change.
14514         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
14515         from syscall for ppc32 versions.
14516
14517 2004-02-08  Per Bothner  <per@bothner.com>
14518
14519         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
14520         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
14521         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
14522         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
14523         Pass ByteOrder parameter to most methods, since the underlying
14524         ByteBuffer's order isn't always what we should use.
14525         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
14526         * java/nio/DirectByteBufferImpl.java:  Likewise.
14527         Use ByteBufferHelper methods.
14528         * java/nio/MappedByteBufferImpl.java:  Likewise.
14529         (compact):  Use shiftDown.
14530         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
14531         (get, put):  Use ByteBufferHelper.
14532         (compact):  Use new shiftDown method.
14533         (duplicate(boolean)):  New helper method.
14534         (duplicate, asReadOnlyBuffer):  Use it.
14535         (order):  Return endian field.
14536         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14537         * java/nio/FloatViewBufferImpl.java:  Likewise.
14538         * java/nio/IntViewBufferImpl.java:  Likewise.
14539         * java/nio/LongViewBufferImpl.java:  Likewise.
14540         * java/nio/ShortViewBufferImpl.java:  Likewise.
14541         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
14542         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
14543         (compact):  Re-implement using shiftDown.
14544
14545 2004-02-08  Andreas Jaeger  <aj@suse.de>
14546
14547         * include/x86_64-signal.h: Fix typo.
14548
14549 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
14550
14551         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14552         qualifier to _regs.
14553         (HANDLE_DIVIDE_OVERFLOW): Likewise.
14554
14555 2004-02-06  Michael Koch  <konqueror@gmx.de>
14556
14557         * java/io/ObjectInputStream.java
14558         (currentClassLoader): Reverted to old version of this method.
14559
14560 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
14561
14562         * java/io/ObjectInputStream.java: Made all calls
14563         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14564         use cached info from ObjectStreamClass. (readClassDescriptor):
14565         Cache more information in ObjectStreamClass. (processResolution,
14566         readFields): Use cached info from ObjectStreamClass.
14567         (newObject): Throw exception instead of returning null for failure.
14568         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14569         setCharField, setDoubleField, setFloatField, setIntField,
14570         setLongField, setShortField, setObjectField, readObjectParams):
14571         Removed. (dumpElement, dumpElementln): Removed dump flag condition
14572         check.
14573         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14574         (setClass): Added call to cacheMethods() (findMethod): New method.
14575         (cacheMethods): New method. (ObjectStreamClass): Added call to
14576         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14577         AccessController.doPrivileged to invoke setAccessible.
14578         (readObjectMethod, readResolveMethod, realClassIsSerializable,
14579         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14580         New fields.
14581         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14582         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14583         isPrimitive): Made safe for cases where type == null.
14584         (setBooleanField, setByteField, setCharField, setShortField,
14585         setIntField, setLongField, setFloatField, setDoubleField,
14586         setObjectField): New methods.
14587
14588 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
14589
14590         * java/awt/Component.java (getFont): Return a default font
14591         instead of null.
14592
14593         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14594         (Scrollbar (int, int, int, int, int)): Make default page
14595         increment 10.
14596         (setValues): Only call peer.setValues if one of the values has
14597         changed.
14598         (generateName): New method.
14599         (getUniqueLong): New method.
14600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14601         (range_scrollbar): Remove structure.
14602         (post_adjustment_event): Remove function.
14603         (post_change_event): Accept jobject argument.
14604         (create): Cast jints to gdoubles.  Round scrollbar values to the
14605         nearest integer.  Clamp min, max and value settings.
14606         (connectJObject): Connect hook to widget->window.
14607         (connectSignals): Remove range_scrollbar structure variables.
14608         Remove "move-slider" connection.  Pass global peer reference to
14609         "value-changed" callback.
14610         (setLineIncrement): Cast jint value to gdouble.
14611         (setPageIncrement): Likewise.
14612         (setValues): Likewise.  Clamp min, max and value settings.
14613
14614 2004-02-05  Michael Koch  <konqueror@gmx.de>
14615
14616         * javax/swing/AbstractCellEditor.java
14617         (getCellEditorValue): Removed.
14618         * javax/swing/Box.java: Reformated.
14619         (serialVersionUID): New field.
14620         * javax/swing/ButtonGroup.java:
14621         Removed some weird whitespace.
14622         * javax/swing/CellEditor.java: Reformated.
14623         * javax/swing/CellRendererPane.java
14624         (serialVersionUID): New field.
14625         (AccessibleCellRendererPaneserialVersionUID): New field.
14626         * javax/swing/DefaultListModel.java
14627         (serialVersionUID): New field.
14628         * javax/swing/JEditorPane.java
14629         (serialVersionUID): New field.
14630         (setPage): Throws IOException.
14631         (addHyperlinkListener): Implemented.
14632         (removeHyperlinkListener): Implemented.
14633         (getHyperlinkListener): New method.
14634         * javax/swing/JFileChooser.java
14635         (serialVersionUID): New field.
14636         (AccessibleJFileChooser.serialVersionUID): New field.
14637         (addActionListener): Implemented.
14638         (removeActionListener): Implemented.
14639         (getActionListeners): New method.
14640         * javax/swing/JFormattedTextField.java
14641         (serialVersionUID): New field.
14642         (AbstractFormatter.serialVersionUID): New field.
14643         (clone): Throws CloneNotSupportedException
14644         (setEditValid): Add missing argument.
14645         (stringToValue): Throws ParseExcpetion.
14646         (valueToString): Throws ParseException.
14647         (commitEdit): Throws ParseException.
14648         * javax/swing/JLabel.java
14649         (serialVersionUID): New field.
14650         * javax/swing/JList.java
14651         (serialVersionUID): New field.
14652         (addListSelectionListener): Reformated.
14653         (removeListSelectionListener): Reformated.
14654         (getListSelectionListeners): New method.
14655         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14656         Reformated.
14657         (serialVersionUID): New field.
14658         * javax/swing/table/AbstractTableModel.java
14659         (getValueAt): Removed.
14660         (getColumnCount): Removed.
14661         (getRowCount): Removed.
14662
14663 2004-02-05  Michael Koch  <konqueror@gmx.de>
14664
14665         * java/awt/datatransfer/DataFlavor.java
14666         (imageFlavor): Javadoc added.
14667         (javaJVMLocalObjectType): Fixed.
14668
14669 2004-02-05  Michael Koch  <konqueror@gmx.de>
14670
14671         * java/lang/Thread.java
14672         (Thread): Reordered.
14673         (setContextClassLoader): Fixed javadoc comment.
14674         (setPriority): Reordered.
14675         (yield): Reordered.
14676         (initialize_native): Reordered.
14677         (gen_name): Reordered.
14678
14679 2004-02-05  Michael Koch  <konqueror@gmx.de>
14680
14681         * java/lang/Thread.java: Reordered fields, reformated much code,
14682         no functional changes, some variables renamed, javadoc comments
14683         merged.
14684
14685 2004-02-05  Michael Koch  <konqueror@gmx.de>
14686
14687         * java/util/zip/Deflater.java,
14688         java/util/zip/DeflaterOutputStream.java,
14689         java/util/zip/GZIPInputStream.java:
14690         Reformated and javadoc comments merged from classpath.
14691
14692 2004-02-05  Michael Koch  <konqueror@gmx.de>
14693
14694         * gnu/java/nio/NIOServerSocket.java
14695         (impl): Unused, removed.
14696         * gnu/java/nio/SocketChannelImpl.java
14697         (finnishConnect): Don't throw NoConnectionPendingException if not
14698         connected or no connection pending.
14699
14700 2004-02-02  Graydon Hoare  <graydon@redhat.com>
14701
14702         * javax/swing/SwingUtilities.java: Many new functions.
14703         * java/awt/Container.java (LightweightDispatcher): Reimplement.
14704         * javax/swing/basic/BasicGraphicsUtils.java
14705         (getPreferredButtonSize): Start layout from top-left corner.
14706
14707 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
14708
14709         * java/awt/geom/AffineTransform.java:
14710         Corrected comments on the field definitions for
14711         m11 and m10.
14712         (shear): Fixed few errors that caused shear
14713         transformation to be performed incorrectly.
14714         (createInverse): Fixed to return correct
14715         inverse of the given matrix.
14716
14717 2004-02-03  Tom Tromey  <tromey@redhat.com>
14718
14719         * java/lang/natPosixProcess.cc (startProcess): Handle case where
14720         PATH or LD_LIBRARY_PATH is not set in parent environment.
14721
14722 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
14723
14724         * gnu/java/awt/peer/gtk/GtkListPeer.java,
14725         java/awt/BorderLayout.java, java/awt/CardLayout.java,
14726         java/awt/CheckboxGroup.java, java/awt/Choice.java,
14727         java/awt/Component.java, java/awt/Container.java,
14728         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14729         java/awt/LayoutManager2.java, java/awt/List.java,
14730         java/awt/Menu.java, java/awt/MenuBar.java,
14731         java/awt/MenuItem.java, java/awt/Polygon.java,
14732         java/awt/Rectangle.java, java/awt/ScrollPane.java,
14733         java/awt/Scrollbar.java, java/awt/TextArea.java,
14734         java/awt/TextField.java,
14735         java/awt/image/renderable/RenderContext.java,
14736         javax/swing/JApplet.java: Fix handling of alias methods, where a
14737         method has been deprecated in favour of a new one with the same
14738         funtion but a different name.  Put the method implementation in
14739         the deprecated method and have the new method call the
14740         deprecated one.  Make all other code call the new method.
14741
14742 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
14743
14744         * gnu/java/nio/DatagramChannelImpl.java
14745         (inChannelOperation): New field.
14746         (isInChannelOperation): New accessor.
14747         (setInChannelOperation): New modifier.
14748         (receive): Use capacity() - position() of destination
14749         buffer instead of remaining(). Set and reset our "in
14750         channel operation indicator" before and after delegating
14751         the receive to our datagram socket. Removed testing code.
14752         Update destination buffer's current position if it is
14753         backed by a byte array (hasArray() is true).
14754         (send): Set and reset our "in channel operation indicator"
14755         before and after delegating the send to our datagram socket.
14756         Removed testing code. Update source buffer's current position
14757         if it is backed by a byte array (hasArray() is true).
14758         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14759         Use capacity() - position() of destination buffer instead
14760         of remaining().
14761         * java/net/DatagramSocket.java (receive): Don't throw an
14762         IllegalBlockingModeException if we have a non-blocking
14763         channel which initiated this operation.
14764         (send): Likewise.
14765
14766 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
14767
14768         * configure.in: Add pkgconfig check for glib and gthread.
14769         * configure: Regenerate.
14770
14771 2004-02-01  Michael Koch  <konqueror@gmx.de>
14772
14773         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14774         arguments.
14775         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14776         * verify.cc (debug_print): Mark 'fmt' unused.
14777
14778 2004-01-30  Michael Koch  <konqueror@gmx.de>
14779
14780         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14781         * configure: Regenerated.
14782         * glib-2.0.m4: Removed.
14783         * gtk-2.0.m4: Removed.
14784         * libart.m4: Removed.
14785         * pkg.m4: New file.
14786
14787 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
14788
14789         * gnu/java/net/PlainSocketImpl.java
14790         (inChannelOperation): New field.
14791         (isInChannelOperation): New accessor.
14792         (setInChannelOperation): New modifier.
14793         * gnu/java/nio/ServerSocketChannelImpl.java
14794         (accept): Set and reset our server socket's PlainSocketImpl's
14795         "in channel operation" indicator before and after delegating
14796         the accept to our server socket.
14797         * gnu/java/nio/SocketChannelImpl.java
14798         (connect): Set and reset our socket's PlainSocketImpl's "in channel
14799         operation" indicator before and after delegating the operation to
14800         our socket.
14801         (read): Likewise.
14802         (write): Likewise.
14803         * java/net/ServerSocket.java (implAccept): Don't throw an
14804         IllegalBlockingModeException if we have a non-blocking
14805         channel which initiated this accept operation.
14806         * java/net/Socket.java (connect): Don't throw an
14807         IllegalBlockingModeException if we have a non-blocking
14808         channel which initiated this connect operation.
14809         * java/nio/channels/spi/AbstractSelectableChannel.java
14810         (configureBlocking): Only call implConfigureBlocking() if
14811         the desired blocking mode is different from our current one.
14812
14813 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
14814
14815         * java/io/BufferedReader.java (sbuf): New field.
14816         (readLine): Use String.valueOf instead of new String() as per
14817         Per Bothner's suggestion. Use instance sbuf field instead of a
14818         local StringBuffer instance.
14819         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14820         caller's buffer to refill().
14821         (read(void)): Pass our internal work buffer to refill if our
14822         input queue is empty.
14823         (refill): Changed return type to int. Use the specified buffer
14824         instead of our work buffer as per Bryce McKinlay's suggestion.
14825         Return the number of characters read or -1 for EOF.
14826
14827 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14828
14829         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14830
14831 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14832
14833         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14834         * Makefile.in: Re-generated.
14835         * gnu/awt/xlib/XFontPeer.java: New file.
14836         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14837         (setClip): Commented out debug printout.
14838         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14839         (getFontPeer): Return XFontPeer.
14840         (getLocalGraphicsEnvironment): New method.
14841         (getClasspathFontPeer): New method.
14842         (createFont): New method.
14843
14844 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14845
14846         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14847         return null.
14848
14849 2004-01-29  Kim Ho  <kho@redhat.com>
14850
14851         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14852         (gtkLayoutSetVisible): New method
14853         (setMenuBar): Hide layout before setting MenuBar
14854         and reshow it after.
14855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14856         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14857
14858 2004-01-28  Michael Koch  <konqueror@gmx.de>
14859
14860         * gnu/java/lang/ClassHelper.java
14861         (getPackagePortion): Removed.
14862
14863 2004-01-28  Michael Koch  <konqueror@gmx.de>
14864
14865         * javax/swing/JComponent.java
14866         (listenerList): Initalize globally.
14867         (ancestor_list): Removed.
14868         (veto_list): Removed.
14869         (change_list): Removed.
14870         (get_veto_list): Removed.
14871         (get_change_list): Removed.
14872         (get_ancestor_list): Removed.
14873         (removeAncestorListener): Reimplemented.
14874         (removePropertyChangeListener): Likewise.
14875         (removeVetoableChangeListener): Likewise.
14876         (addAncestorListener): Likewise.
14877         (addPropertyChangeListener): Likewise.
14878         (addVetoableChangeListener): Likewise.
14879         (getListeners): New method.
14880         (getAncestorListeners): Likewise.
14881         (getVetoableChangeListeners): Likewise.
14882         (fireVetoableChange): Throws PropertyVetoException.
14883         * javax/swing/JEditorPane.java
14884         (JEditorPane): Throws IOException.
14885
14886 2004-01-28  David Jee  <djee@redhat.com>
14887
14888         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14889         (create): Set the default foreground color to
14890         java.awt.SystemColor.windowText.
14891
14892 2004-01-27  Michael Koch  <konqueror@gmx.de>
14893
14894         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14895         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14896         Reindented to merge with classpath.
14897
14898 2004-01-27  David Jee  <djee@redhat.com>
14899
14900         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14901         (addExposeFilter): Handle GtkFramePeer separately.
14902         (removeExposeFilter): Likewise.
14903
14904 2004-01-27  Michael Koch  <konqueror@gmx.de>
14905
14906         * gnu/java/net/protocol/http/Connection.java
14907         (getOutputStream): Fixed typo.
14908
14909 2004-01-27  Michael Koch  <konqueror@gmx.de>
14910
14911         * java/lang/Class.java
14912         (getConstructor): Removed SecurityException from throws clause.
14913         (_getConstructors): Likewise.
14914         (getConstructors): Likewise.
14915         (getDeclaredConstructor): Likewise.
14916         (getDeclaredClasses): Likewise.
14917         (getDeclaredConstructors): Likewise.
14918         (getDeclaredField): Likewise.
14919         (getDeclaredMethod): Likewise.
14920         (getDeclaredMethods): Likewise.
14921         (getField): Likewise.
14922         (getMethod): Likewise.
14923         (getMethods): Likewise.
14924
14925 2004-01-27  Kim Ho  <kho@redhat.com>
14926
14927         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14928         (removeMenuBarPeer): Remove MenuBarPeer argument.
14929         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14930         (dispose): Call native method.
14931         * java/awt/Frame.java (setMenuBar): Create and remove
14932         MenuBar peers only if the Frame has a peer.
14933         (addNotify): Create the MenuBar peer if one exists.
14934         (removeNotify): Remove MenuBar peer if one exists.
14935         * java/awt/Menu.java: Fix imports.
14936         (addNotify): Don't use full class name.
14937         (removeNotify): Call removeNotify on all children.
14938         * java/awt/MenuBar.java (removeNotify): Call
14939         removeNotify on all children.
14940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14941         (removeMenuBarPeer): Remove MenuBarPeer argument.
14942         Iterate through children to find the Frame's MenuBar.
14943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14944         New file.
14945         (dispose): Remove references to the MenuComponent.
14946
14947 2004-01-27  Michael Koch  <konqueror@gmx.de>
14948
14949         * javax/swing/AbstractCellEditor.java: Reformated.
14950         * javax/swing/DefaultListSelectionModel.java
14951         (listenerList): Made protected.
14952         (addListSelectionListener): Javadoc added.
14953         (removeListSelectionListener): Likewise.
14954         (getListeners): Likewise.
14955         (getListSelectionListeners): Likewise.
14956         * javax/swing/JComboBox.java: Merged copyright year.
14957         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14958
14959 2004-01-26  Andrew Haley  <aph@redhat.com>
14960
14961         * javax/swing/table/JTableHeader.java: Extend JComponent
14962
14963 2004-01-26  Kim Ho  <kho@redhat.com>
14964
14965         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14966         Fix spacing.
14967
14968 2004-01-26  Kim Ho  <kho@redhat.com>
14969
14970         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14971         method.
14972         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14973         height and let the Layout Managers readjust anything that
14974         needs to move.
14975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14976         (moveLayout): New method. Shift everything in the Gtk
14977         layout in the Y direction by an offset.
14978
14979 2004-01-26  David Jee  <djee@redhat.com>
14980
14981         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14982         (handleEvent): Implemented. Handles PaintEvents.
14983         (paint): Implemented. Use GTK native methods to queue updates
14984         for this heavyweight peer.
14985         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14986         (handleEvent): Removed.
14987         * java/awt/Component.java
14988         (paint): Implemented. Explictly paint the heavyweight peer.
14989         (update): Clear the background for heavyweight components.
14990         (paintAll): No need to call peer.paint() anymore.
14991         (processEvent): Don't process PaintEvents here. It's now done in
14992         the peer's handleEvent().
14993         (processPaintEvent): Removed.
14994         * java/awt/Container.java
14995         (paint): No need to call super.paint(). Visit heavyweight
14996         children as well.
14997         (update): Don't clear the background here.  It's done in
14998         Component.update().
14999         (visitChildren): Added check to not recurse into Containers.
15000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15001         (filter_expose_event_handler): New method.  Filter unwanted
15002         expose events while painting heavyweight peers.
15003         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
15004         New method. Connect filter and block pre_event_handler.
15005         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
15006         New method. Disconnect filter and unblock pre_event_handler.
15007         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
15008         New method. Invalidate and update given area.
15009         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15010         (pre_event_handler): Add checks for unwanted expose events.
15011
15012 2004-01-26  David Jee  <djee@redhat.com>
15013
15014         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15015         (find_bg_color_widget): For GtkButton, return its child.
15016
15017 2004-01-26  Kim Ho  <kho@redhat.com>
15018
15019         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
15020         private.
15021         (setMenuBar): Grab MenuBar height and change insets.
15022         (setBounds): Account for MenuBar height.
15023         (postInsetsChangedEvent): Ditto.
15024         (postSizeAllocateEvent): Remove.
15025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15026         (menubar_resize_cb): Remove
15027         (setMenuBarPeer): Remove callback.
15028         (getMenuBarHeight): Use size requisition instead of
15029         allocation.
15030
15031 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
15032
15033         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
15034         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
15035         when peer is null.
15036         (setColumns): Remove FIXME -- peer will retrieve number of
15037         columns by calling getColumns.
15038         (setRows): Likewise for number of rows.
15039         (next_text_number): New field.
15040         (paramString): Fix param string.
15041         (generateName): New method.
15042         (getUniqueLong): New method.
15043
15044 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
15045
15046         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
15047         image observer of image loading status.
15048         (getImage (String)): Start image production.
15049         (getImage (URL)): Likewise.
15050
15051 2004-01-25  Michael Koch  <konqueror@gmx.de>
15052
15053         * java/lang/Class.java: Imports reworked, reformated.
15054         (Class): Javadoc added.
15055         (forName): Likewise.
15056         (getClasses): Likewise.
15057         (getClassLoader): Likewise.
15058         (getComponentType): Likewise.
15059         (getConstructor): Likewise.
15060         (getConstructors): Likewise.
15061         (getDeclaredConstructor): Likewise.
15062         (getDeclaredClasses): Likewise.
15063         (getDeclaredConstructors): Likewise.
15064         (getDeclaredField): Likewise.
15065         (getDeclaredMethod): Likewise.
15066         (getDeclaredMethods): Likewise.
15067         (getDeclaringClass): Likewise.
15068         (getField): Likewise.
15069         (getInterfaces): Likewise.
15070         (getMethod): Likewise.
15071         (getMethods): Likewise.
15072         (getModifiers): Likewise.
15073         (getName): Likewise.
15074         (getResource): Likewise.
15075         (getResourceAsStream): Likewise.
15076         (getSigners): Likewise.
15077         (setSigners): Likewise.
15078         (getSuperclass): Likewise.
15079         (isArray): Likewise.
15080         (isAssignableFrom): Likewise.
15081         (isInstance): Likewise.
15082         (isInterface): Likewise.
15083         (isPrimitive): Likewise.
15084         (newInstance): Likewise.
15085         (getProtectionDomain): Likewise.
15086         (toString): Likewise.
15087         (Class): Moved.
15088         (initializeClass): Likewise.
15089         (finalize): Likewise.
15090
15091 2004-01-24  Michael Koch  <konqueror@gmx.de>
15092
15093         * gnu/java/net/protocol/jar/Connection.java
15094         (hdrHash): Removed.
15095         (hdrVec): Removed.
15096         (gotHeaders): Removed.
15097         (getHeaderField): Removed.
15098         (getHeaderFields): Removed.
15099         (getHeaderFieldKey): Removed.
15100         (getKey): Removed.
15101         (getField): Removed.
15102         (getHeaders): Removed.
15103
15104 2004-01-24  Michael Koch  <konqueror@gmx.de>
15105
15106         * Makefile.am: Added library version to gtk peer lib.
15107         * Makefile.in: Regenerated.
15108
15109 2004-01-24  Michael Koch  <konqueror@gmx.de>
15110
15111         * java/util/zip/InflaterInputStream.java: Merged class documentation
15112         with classpath.
15113
15114 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
15115
15116         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
15117         header.  For __powerpc64__ provide the default-signal.h definitions
15118         for now.
15119         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
15120         instead of the dummy definitions.
15121         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
15122         (powerpc64*-*): Remove with_libffi_default.
15123         Only add -mminimal-toc for 64-bit compilations.
15124         * configure.in: Use powerpc-signal.h on powerpc64 as well.
15125         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
15126         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
15127         * configure: Rebuilt.
15128
15129 2004-01-23  Michael Koch  <konqueror@gmx.de>
15130
15131         * gnu/java/nio/FileLockImpl.java: Compile fixes.
15132
15133 2004-01-23  Michael Koch  <konqueror@gmx.de>
15134
15135         * java/lang/VMClassLoader.java: Reworked imports.
15136
15137 2004-01-23  Michael Koch  <konqueror@gmx.de>
15138
15139         * javax/swing/AbstractAction.java: Reformated.
15140
15141 2004-01-23  Michael Koch  <konqueror@gmx.de>
15142
15143         * java/text/CollationElementIterator.java:
15144         (setText): New method.
15145
15146 2004-01-23  Michael Koch  <konqueror@gmx.de>
15147
15148         * gnu/java/nio/FileLockImpl.java:
15149         Fixed filename in copyright.
15150         (released): Removed.
15151         (finalize): New method.
15152         * gnu/java/nio/natFileLockImpl.cc
15153         (releaseImpl): Implemented.
15154         * java/nio/channels/FileChannelImpl.java:
15155         Reworked imports.
15156         (lock): Implemented.
15157         (lockImpl): New method.
15158         (tryLock): Implemented.
15159         (tryLockImpl): New method.
15160         * java/nio/channels/natFileChannelImpl.cc
15161         (lockImpl): New method.
15162         (tryLockImpl): New method.
15163
15164 2004-01-23  Michael Koch  <konqueror@gmx.de>
15165
15166         * java/io/FileDescriptor.java
15167         (lock): New method.
15168         (tryLock): New method.
15169         (unlock): New method.
15170         * java/io/natFileDescriptorEcos.cc
15171         (lock): New method.
15172         (tryLock): New method.
15173         (unlock): New method.
15174         * java/io/natFileDescriptorPosix.cc
15175         (lock): New method.
15176         (tryLock): New method.
15177         (unlock): New method.
15178         * java/io/natFileDescriptorWin32.cc
15179         (lock): New method.
15180         (tryLock): New method.
15181         (unlock): New method.
15182
15183 2004-01-23  Michael Koch  <konqueror@gmx.de>
15184
15185         * java/io/FileDescriptor.java
15186         (sync): Moved around, added javadoc.
15187         (valid): Likewise.
15188         (open): Likewise.
15189         (write): Likewise.
15190         (close): Likewise.
15191         (setLength): Likewise.
15192         (seek): Likewise.
15193         (getLength): Likewise.
15194         (getFilePointer): Likewise.
15195         (read): Likewise.
15196         (available): Likewise.
15197         (finalize): Likewise.
15198
15199 2004-01-23  Michael Koch  <konqueror@gmx.de>
15200
15201         * javax/swing/AbstractAction.java: Reformated.
15202         (getPropertyChangeListeners): New method.
15203         * javax/swing/AbstractCellEditor.java: Reformated.
15204         (getCellEditorListeners): New method.
15205         * javax/swing/DefaultListSelectionModel.java
15206         (listenerList): New field.
15207         (listeners): Removed.
15208         (get_listeners): Removed.
15209         (addListSelectionListener): Rewritten.
15210         (removeListSelectionListener): Rewritten.
15211         (getListSelectionListeners): New method.
15212         (getListeners): New method.
15213         * javax/swing/JComboBox.java: Imports reworked.
15214         (addActionListener): Implemented.
15215         (removeActionListener): Implemented.
15216         (addItemListener): Implemented.
15217         (removeItemListener): Implemented.
15218         (addPopupMenuListener): Implemented.
15219         (removePopupMenuListener): Implemented.
15220         (getActionListeners): New method.
15221         (getItemListeners): New method.
15222         (getPopupMenuListeners): New method.
15223
15224 2004-01-23  Michael Koch  <konqueror@gmx.de>
15225
15226         * gnu/java/net/protocol/http/Connection.java
15227         (connect): Don't initialize bufferedOutputStream if not needed.
15228         (sendRequest): Set property for content length if content is present.
15229         Write content only if present.
15230         (getOutputStream): Check if already connected, dont connect,
15231         initalize bufferedOutputStream if needed.
15232
15233 2004-01-23  Michael Koch  <konqueror@gmx.de>
15234
15235         * java/io/FileDescriptor.java
15236         (in, out, err): Added javadoc.
15237         (static): Merged loading code.
15238         (fd, position): Moved around.
15239
15240 2004-01-23  Michael Koch  <konqueror@gmx.de>
15241
15242         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15243         New file.
15244
15245 2004-01-23  Michael Koch  <konqueror@gmx.de>
15246
15247         * java/lang/Class.java,
15248         java/lang/Object.java,
15249         java/lang/Thread.java: Merged copyright with classpath.
15250
15251 2004-01-23  Michael Koch  <konqueror@gmx.de>
15252
15253         * java/io/FileDescriptor.java: Merged copyright with classpath to
15254         start merging this class.
15255
15256 2004-01-22  Tom Tromey  <tromey@redhat.com>
15257
15258         PR libgcj/13107:
15259         * testsuite/libjava.lang/pr13107_2.xfail: New file.
15260         * testsuite/libjava.lang/pr13107_3.xfail: New file.
15261         * testsuite/libjava.lang/pr13107_3.java: New file.
15262         * testsuite/libjava.lang/pr13107_3.out: New file.
15263         * testsuite/libjava.lang/pr13107_2.java: New file.
15264         * testsuite/libjava.lang/pr13107_2.out: New file.
15265         * testsuite/libjava.lang/pr13107.java: New file.
15266         * testsuite/libjava.lang/pr13107.out: New file.
15267         * verify.cc (jsr_ptrs): Removed.
15268         (entry_points): Likewise.
15269         (struct subr_info): Likewise.
15270         (struct subr_entry_info): Likewise.
15271         (type_val::unused_by_subroutine_type): Likewise.
15272         (type::merge): Don't handle unused_by_subroutine_type.
15273         (type::print): Likewise.
15274         (state::flags): Removed.
15275         (state::subroutine): Likewise.
15276         (state::seen_subrs): Likewise.
15277         (state::NO_STACK): Likewise.
15278         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15279         (state): Updated all methods.
15280         (state::clean_subrs): Removed.
15281         (state::state): Removed `ret_semantics' flag.
15282         (state::copy): Likewise.
15283         (state::add_subr): Removed.
15284         (state::enter_subroutine): Likewise.
15285         (type::set_return_address): New method.
15286         (handle_jsr_insn): Set return address on the type.  Always
15287         invalidate PC after call.
15288         (check_nonrecursive_call): Removed.
15289         (~_Jv_BytecodeVerifier): Updated.
15290         (branch_prepass): Removed special handling of jsr.
15291         (note_branch_target): Likewise.
15292         (get_subroutine): Removed.
15293         (state::merge): Don't merge subroutines and don't handle
15294         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
15295         (state::note_variable): Removed.
15296         (state::is_unmerged_ret_state): Likewise.
15297         (state::print): Updated.
15298         (set_variable): Likewise.
15299         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
15300         and jsr_semantics arguments.  Updated for new reverification
15301         list.
15302         (pop_jump): Rewrote.
15303         (construct_primitive_array_type): Updated.
15304         (state::next): Removed.
15305         (INVALID_STATE): New define.
15306         (state::INVALID): Removed.
15307         (state::NO_NEXT): New value.
15308         (state::pc, state::next): New fields.
15309         (state::get_pc): New method.
15310         (next_verify_pc): Removed.
15311         (next_verify_state): New field.
15312         (verify_instructions_0): Always check for falling off end.
15313         (linked): New type.
15314         (linked_utf8): Removed.
15315         (states): Changed type.
15316         (type::state_mergeable_p): New method.
15317         (state::state_mergeable_p): Likewise.
15318         (handle_ret_insn): Removed most code.
15319         (state::reverify): New method.
15320         (add_new_state): Likewise.
15321         (state::set_pc): Likewise.
15322
15323 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
15324
15325         PR java/13733
15326         * testsuite/libjava.compile/PR13733.java: New file.
15327         * testsuite/libjava.compile/PR13733.xfail: New file.
15328
15329 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
15330             Michael Koch  <konqueror@gmx.de>
15331
15332         * javax/swing/table/DefaultTableCellRenderer.java
15333         (DefaultTableCellRenderer): Added javadoc for the class and for
15334         the constructor, Border instance, create an EmptyBorder.
15335         (UIResource): Removed the comment at the end of the class
15336         (setForeground): New method.
15337         (setBackground): New method.
15338         (updateUI): New method.
15339         (getTableCellRendererComponent): Rewritten with the help of
15340         dvholten and Stephane Meslin-Weber.
15341         (validate): New method.
15342         (repaint): New method.
15343         (firePropertyChange): New method.
15344         (setValue): New method.
15345
15346 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
15347
15348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15349         (connectJObject): Replace printf calls with g_assert statements.
15350         Move property-notify-event signal connection to ...
15351         (connectSignals): Connect property-notify-event signal.  Iterate
15352         through the vbox's children to find layout.
15353
15354 2004-01-22  Graydon Hoare  <graydon@redhat.com>
15355
15356         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
15357         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15358         Predicate static initialization on GtkToolkit.useGraphics2D().
15359         * java/awt/Component.java (processPaintEvent): Consume event.
15360         * javax/swing/AbstractButton.java: Reimplement, document.
15361         * javax/swing/DefaultButtonModel.java: Reimplement, document.
15362         * javax/swing/JComponent.java (paint): Use double buffer.
15363         (listenerList): Enable member.
15364         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15365         * javax/swing/JToggleButton.java
15366         (JToggleButton): Modify model constructor.
15367         * javax/swing/SwingUtilities.java
15368         (layoutCompoundLabel): Adjust arithmetic.
15369         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15370         * javax/swing/plaf/basic/BasicGraphicsUtils.java
15371         (getPreferredButtonSize): Include margins in calculation.
15372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15373         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15374         Receive up events from subordinate layout component.
15375
15376 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
15377
15378         * java/awt/Component.java (show): Set visible to true before
15379         showing the peer.
15380
15381 2004-01-21  Kim Ho  <kho@redhat.com>
15382
15383         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15384         Fix comments.
15385         (removeMenuBarPeer): Make package private.
15386         (setMenuBarPeer): Make package private.
15387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15388         (menubar_resize_cb): Mark attributes unused.
15389         (getMenuBarHeight): ditto.
15390
15391 2004-01-21  David Jee  <djee@redhat.com>
15392
15393         * java/awt/Container.java
15394         (LightweightDispatcher.handleEvent): Add an extra check to avoid
15395         dispatching MOUSE_ENTERED event twice. Translate the point for
15396         the mouse event target before dispatching the event.
15397
15398 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
15399
15400         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15401         lib_org_w3c_dom_la_LDFLAGS): New.
15402         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15403         * Makefile.in: Rebuilt.
15404
15405 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15406
15407         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15408         Calculate proper offsets for heavyweight components packed in
15409         lightweight containers.
15410
15411         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15413         (native create): Add width parameter.
15414         (create): Calculate text entry width based on current font's
15415         metrics and number of columns.  Set TextField's font if not
15416         already set.  Call native create.
15417         (gtkEntryGetBorderWidth): New native method.
15418         (gtkEntryGetSize): Remove method.
15419         (getMinimumSize): Call minimumSize.
15420         (getPreferredSize): Call preferredSize.
15421         (minimumSize): Calculate minimum size based on backing
15422         GtkEntry's borders, font metrics and number of columns.
15423         (preferredSize): Likewise for preferred size.
15424         (get_border_width): New static function.
15425
15426         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15427         Override GtkWindowPeer's setResizable method to account for menu
15428         bar height when setting the frame's size.
15429
15430 2004-01-19  Matthias Klose  <doko@debian.org>
15431
15432         * libtool-version: Increased `current' to 6.
15433
15434 2004-01-19  Kim Ho  <kho@redhat.com>
15435
15436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15437         (connectJObject): Iterate through the vbox's children to find layout.
15438
15439 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15440
15441         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15442         isDispatchThread method to replace wrong test condition.
15443
15444 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15445
15446         * java/awt/EventQueue.java (pop): Prevent racing condition to add
15447         events to the queue out of order by acquiring locks in the proper
15448         order and not by releasing one before acquiring the other.
15449
15450 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15451
15452         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15453         visible so that dialog can be reused.
15454
15455 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15456
15457         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15458         events may be handled by any queue in the stack.
15459
15460 2004-01-19  Kim Ho  <kho@redhat.com>
15461
15462         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15463         MenuBarPeer parameter.
15464         (removeMenuBarPeer): New native method.
15465         (setMenuBar): Call remove if menu bar is null. Adjust insets
15466         appropriately.
15467         (postSizeAllocateEvent): New method. Called when menu bar size is
15468         allocated. Adjust insets and redo layout.
15469         (GtkFramePeer): Set menu bar during frame creation.
15470         (postConfigureEvent): Adjust position and size to accomodate
15471         menu bar.
15472         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15473         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15474         (addNotify): Create the peer if it doesn't exist and call addNotify
15475         for the menu's items.
15476         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15477         * java/awt/MenuItem.java (addNotify): Create the peer if it
15478         doesn't exist.
15479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15480         (removeMenuBarPeer): New method. Remove menu bar on the current
15481         frame.
15482         (setMenuBarPeer): Add the menu bar to the current frame and the
15483         callback for size-allocate events on the menu bar.
15484         (getMenuBarHeight): Add menu bar parameter.
15485         (menubar_resize_cb): New callback method for postSizeAllocate events.
15486
15487         Also: Fix indentation on last ChangeLog entry.
15488
15489 2004-01-16  Kim Ho  <kho@redhat.com>
15490
15491         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15492         (gtkWidgetGetDimensions): Remove.
15493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15494         (gtkWidgetGetDimensions): Remove.
15495
15496 2004-01-16  Tom Tromey  <tromey@redhat.com>
15497
15498         * java/awt/Container.java: Typo and indentation fixes.
15499
15500         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15501         * java/lang/natVMClassLoader.cc: ...here.  New file.
15502         * Makefile.in: Rebuilt.
15503         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15504
15505 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15506
15507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15508         Discard GDK_ENTER_NOTIFY related to ungrabs.
15509
15510 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15511
15512         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15513         is called for an intermediate queue.
15514
15515 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
15516
15517         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15518         (window_property_changed_cb): Set id_set.
15519
15520 2004-01-16  Kim Ho  <kho@redhat.com>
15521
15522         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15523         it is a FileDialog and has dimensions of 0 by 0, then the initial
15524         size is set to size request plus insets.
15525         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15526         (gtkWidgetGetDimensions): Override method.
15527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15528         (gtkWidgetGetDimensions): Override method. Returns size request plus
15529         insets.
15530
15531 2004-01-16  Andrew Haley  <aph@redhat.com>
15532
15533         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15534         * sysdep/i386/locks.h: Likewise.
15535
15536 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15537
15538         * java/awt/EventDispatchThread.java (run): Stop running when
15539         interrupted.
15540         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15541         Reset the queue after transferring its contents.
15542         (push): Start a new dispatch thread if none is running.
15543
15544 2004-01-16  Olga Rodimina <rodimina@redhat.com>
15545
15546         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15547         (doPolygon): set fill rule of polygon to
15548         WIND_EVEN_ODD by default.
15549
15550 2004-01-15  Olga Rodimina <rodimina@redhat.com>
15551
15552         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15553         Implemented rendering hints related methods.
15554         (getDefaultHints): New helper method. Returns
15555         default rendering hints.
15556         (walkPath): changed to normalize path if
15557         the KEY_STROKE_CONTROL key is in "normalize" mode.
15558         (draw3DRect): changed coordinates of rectangle by +0.5
15559         if in "normalize" mode.
15560
15561 2004-01-15  Tom Tromey  <tromey@redhat.com>
15562
15563         * Makefile.in: Rebuilt.
15564         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15565         (%.lo: %.java) Filter out StackTrace.lo.
15566
15567 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
15568
15569         * configure.in: Add in AC_PREREQ(2.13)
15570         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete
15571         FIXME comment.
15572
15573 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
15574             Tom Tromey  <tromey@redhat.com>
15575
15576         PR libgcj/12001:
15577         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15578         array to superclass.
15579         (init): Changed interface; add URLs here.
15580         (initialize): New static method.
15581         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15582         (_Jv_RunMain): ... not here.
15583
15584 2004-01-14  Michael Koch  <konqueror@gmx.de>
15585
15586         * java/text/MessageFormat.java:
15587         Added descriptions to exceptions.
15588         This fixes PR libgcj/2429.
15589
15590 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15591
15592         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15593         (push): Make sure push is performed at the top of the thread stack.
15594
15595 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15596
15597         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15598         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15599         (native create): Add width and height parameters.  Set text
15600         view's size request according to new parameters.
15601         (create): Calculate text view size based on current font's
15602         metrics and number of rows and columns.  Set TextArea's font if
15603         not already set.  Call native create.
15604         (getMinimumSize): Call minimumSize.
15605         (getPreferredSize): Call preferredSize.
15606         (getHScrollbarHeight): New method.
15607         (getVScrollbarWidth): New method.
15608         (minimumSize): Calculate minimum size based on scrollbar
15609         visibility, scrollbar sizes, font metrics and number of rows and
15610         columns.
15611         (preferredSize): Likewise for preferred size.
15612         (gtkTextGetSize): Remove method.
15613
15614 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15615
15616         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15617         (initializeInsets): Remove method.
15618         (GtkComponentPeer): Initialize insets field.  Remove call to
15619         initializeInsets.
15620         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15621         Remove method.
15622         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15623         Remove method.
15624         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15625         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15626         (latestInsets): Remove field.
15627         (native create): Add insets parameter.  Call
15628         window_get_frame_extents.  Set the window's default size and
15629         size request based on its frame extents.
15630         (create): Initialize insets.
15631         (postInsetsChangedEvent): New method.
15632         (postConfigureEvent): Remove parameters top, left, bottom,
15633         right.  Remove insets-related logic.
15634         (connectJObject): Handle property-notify-event.
15635         (window_get_frame_extents, request_frame_extents,
15636         property_notify_predicate, window_property_changed_cb): New
15637         static functions.
15638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15639         (pre_event_handler): Remove insets-related logic for configure
15640         events.
15641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15642         Update postConfigureEvent signature.
15643
15644 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15645
15646         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15647         to handle Window "Closing" events.
15648
15649 2004-01-13  David Jee  <djee@redhat.com>
15650
15651         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15652         (setBackground): New method. Children with no explicitly-set
15653         background will be repainted with the parent container's new
15654         background color.
15655
15656 2004-01-13  David Jee  <djee@redhat.com>
15657
15658         * Makefile.am: Add BitwiseXORComposite.java.
15659         * Makefile.in: Regenerated.
15660         * gcj/Makefile.in: Regenerated.
15661         * include/Makefile.in: Regenerated.
15662         * testsuite/Makefile.in: Regenerated.
15663
15664 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15665
15666         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15667         not show modal dialogs twice and so that it allows showing a modal
15668         dialog from another modal dialog.
15669
15670 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15671
15672         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15673         and run secondary dispatch thread to process event queue while this
15674         thread is blocked.
15675
15676 2004-01-12  Graydon Hoare  <graydon@redhat.com>
15677
15678         * gnu/java/awt/gtk/GdkGraphics2D.java
15679         (static): Check GtkToolkit before initializing static state.
15680         (Graphics2D): Don't construct transform with 0.5 unit offset.
15681
15682 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
15683
15684         * gnu/java/awt/BitwiseXORComposite.java: Add.
15685         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15686         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15687         (BitwiseXORComposite): Remove inner class.
15688
15689 2004-01-11  Michael Koch  <konqueror@gmx.de>
15690
15691         * gnu/java/lang/reflect/TypeSignature.java
15692         (getEncodingOfClass): Documentation fixed.
15693         (getClassForEncoding): Give class loader to Class.forName().
15694         Documentation fixed.
15695
15696 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
15697
15698         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15699
15700 2004-01-11  Michael Koch  <konqueror@gmx.de>
15701
15702         * javax/swing/undo/StateEditable.java
15703         (RCSID): Removed redundant modifiers.
15704
15705 2004-01-10  Michael Koch  <konqueror@gmx.de>
15706
15707         * javax/print/attribute/EnumSyntax.java
15708         (getStringTable): Made protected.
15709         (getEnumValueTable): Likewise.
15710         * javax/print/attribute/standard/JobKOctetsProcessed.java
15711         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15712         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15713         (JobMediaSheetsCompleted): Made class final.
15714         * javax/print/attribute/standard/OutputDeviceAssigned.java
15715         (getName): Fixed typo.
15716         * javax/print/attribute/standard/RequestingUserName.java
15717         (serialVersionUID): Fixed value.
15718
15719 2004-01-10  Michael Koch  <konqueror@gmx.de>
15720
15721         * javax/swing/plaf/basic/BasicButtonUI.java,
15722         javax/swing/plaf/basic/BasicCheckBoxUI.java,
15723         javax/swing/plaf/basic/BasicListUI.java,
15724         javax/swing/plaf/basic/BasicOptionPaneUI.java,
15725         javax/swing/plaf/basic/BasicPanelUI.java,
15726         javax/swing/plaf/basic/BasicRadioButtonUI.java,
15727         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15728         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15729         javax/swing/plaf/basic/BasicViewportUI.java:
15730         Fixed import statements.
15731
15732 2004-01-10  Michael Koch  <konqueror@gmx.de>
15733
15734         * gnu/java/awt/image/ImageDecoder.java
15735         (produce): Made public.
15736         * gnu/java/awt/peer/GLightweightPeer.java,
15737         gnu/java/awt/peer/gtk/GtkToolkit.java:
15738         Reformated.
15739
15740 2004-01-10  Michael Koch  <konqueror@gmx.de>
15741
15742         * javax/swing/JRadioButtonMenuItem.java,
15743         javax/swing/JSeparator.java,
15744         javax/swing/JSplitPane.java,
15745         javax/swing/JTextPane.java,
15746         javax/swing/JToolBar.java,
15747         javax/swing/ListCellRenderer.java,
15748         javax/swing/ListModel.java,
15749         javax/swing/MenuElement.java,
15750         javax/swing/OverlayLayout.java,
15751         javax/swing/ProgressMonitor.java,
15752         javax/swing/ProgressMonitorInputStream.java,
15753         javax/swing/Renderer.java,
15754         javax/swing/RootPaneContainer.java,
15755         javax/swing/Scrollable.java,
15756         javax/swing/SingleSelectionModel.java,
15757         javax/swing/ToolTipManager.java,
15758         javax/swing/ViewportLayout.java,
15759         javax/swing/event/DocumentEvent.java,
15760         javax/swing/event/SwingPropertyChangeSupport.java,
15761         javax/swing/event/TreeSelectionEvent.java,
15762         javax/swing/event/UndoableEditEvent.java,
15763         javax/swing/text/AbstractDocument.java,
15764         javax/swing/text/AttributeSet.java,
15765         javax/swing/text/Caret.java,
15766         javax/swing/text/ComponentView.java,
15767         javax/swing/text/DefaultCaret.java,
15768         javax/swing/text/DefaultEditorKit.java,
15769         javax/swing/text/Document.java,
15770         javax/swing/text/EditorKit.java,
15771         javax/swing/text/GapContent.java,
15772         javax/swing/text/Keymap.java,
15773         javax/swing/text/MutableAttributeSet.java,
15774         javax/swing/text/PlainEditorKit.java,
15775         javax/swing/text/Segment.java,
15776         javax/swing/text/Style.java,
15777         javax/swing/text/StyledDocument.java,
15778         javax/swing/text/StyledEditorKit.java,
15779         javax/swing/text/TextAction.java,
15780         javax/swing/text/View.java: Fixed import statements.
15781
15782 2004-01-08  Graydon Hoare  <graydon@redhat.com>
15783
15784         * javax/swing/JLayeredPane.java: Rewrite to accomodate
15785         djee@redhat.com's recent inverse ordering of Container elements.
15786
15787 2004-01-09  Michael Koch  <konqueror@gmx.de>
15788
15789         * gnu/java/lang/ArrayHelper.java
15790         (equalsArray): Removed.
15791
15792 2004-01-09  Andrew Haley  <aph@redhat.com>
15793
15794         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15795         a Utf8Const field before looking at its class.
15796
15797 2004-01-09  Michael Koch  <konqueror@gmx.de>
15798
15799         * javax/print/attribute/standard/DocumentName.java,
15800         javax/print/attribute/standard/JobHoldUntil.java,
15801         javax/print/attribute/standard/JobMessageFromOperator.java,
15802         javax/print/attribute/standard/JobName.java,
15803         javax/print/attribute/standard/JobOriginatingUserName.java,
15804         javax/print/attribute/standard/OutputDeviceAssigned.java,
15805         javax/print/attribute/standard/PrinterInfo.java,
15806         javax/print/attribute/standard/PrinterLocation.java,
15807         javax/print/attribute/standard/PrinterMakeAndModel.java,
15808         javax/print/attribute/standard/PrinterMessageFromOperator.java,
15809         javax/print/attribute/standard/PrinterName.java,
15810         javax/print/attribute/standard/RequestingUserName.java: New files.
15811         * Makefile.am (javax_source_files): Added new files.
15812         * Makefile.in: Regenerated.
15813
15814 2004-01-09  Michael Koch  <konqueror@gmx.de>
15815
15816         * javax/swing/AbstractAction.java,
15817         javax/swing/AbstractSet.java,
15818         javax/swing/Action.java,
15819         javax/swing/ActionMap.java,
15820         javax/swing/BoundedRangeModel.java,
15821         javax/swing/ButtonModel.java,
15822         javax/swing/CellEditor.java,
15823         javax/swing/CellRendererPane.java,
15824         javax/swing/ComboBoxEditor.java,
15825         javax/swing/DebugGraphics.java,
15826         javax/swing/DefaultCellEditor.java,
15827         javax/swing/DefaultCellRenderer.java,
15828         javax/swing/DefaultComboBoxModel.java,
15829         javax/swing/DefaultDesktopManager.java,
15830         javax/swing/DefaultFocusManager.java,
15831         javax/swing/DefaultListCellRenderer.java,
15832         javax/swing/Icon.java,
15833         javax/swing/JButton.java,
15834         javax/swing/JCheckBoxMenuItem.java,
15835         javax/swing/JDesktopPane.java,
15836         javax/swing/JEditorPane.java,
15837         javax/swing/JMenu.java,
15838         javax/swing/JPanel.java,
15839         javax/swing/JPasswordField.java,
15840         javax/swing/JPopupMenu.java,
15841         javax/swing/JProgressBar.java: Reworked imports.
15842
15843 2004-01-09  Michael Koch  <konqueror@gmx.de>
15844
15845         * java/awt/geom/PathIterator.java
15846         (WIND_EVEN_ODD): Removed redundant modifiers.
15847         (WIND_NON_ZERO): Likewise.
15848         (SEG_MOVETO): Likewise.
15849         (SEG_LINETO): Likewise.
15850         (SEG_QUADTO): Likewise.
15851         (SEG_CUBICTO): Likewise.
15852         (SEG_CLOSE): Likewise.
15853         * java/awt/image/SinglePixelPackedSampleModel.java:
15854         Removed redundant semicolon.
15855         * java/io/ObjectInputStream.java
15856         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15857         * java/util/logging/Filter.java
15858         (isLoggable): Removed redundant modifier.
15859         * java/util/logging/LogManager.java:
15860         Removed redundant semicolon.
15861         * java/util/logging/XMLFormatter.java
15862         (format): Removed unused variable "key".
15863
15864 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
15865
15866         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15867         New name for the former setFile native method.
15868         (setFile): New method.
15869         (setDirectory): Implemented.
15870         (connectSignals): New native method.
15871         (setFilenameFilter): Improve comment.
15872         (getGraphics): Comment.
15873         (gtkHideFileDialog): New method.
15874         (gtkDisposeFileDialog): New method.
15875         (gtkSetFilename): New method.
15876         * java/awt/Dialog.java (show): Block on modal dialogs, but only
15877         for FileDialog for now.
15878         (hide): New method.
15879         (dispose): New method.
15880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15881         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15882         deprecated creation functions.  Make dialog modal.  Add it to the
15883         window group.
15884         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15885         function.
15886         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15887         Rename to...
15888         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15889         name.
15890         (window_closed): New function.
15891         (ok_clicked): New function.
15892         (cancel_clicked): New function.
15893
15894 2004-01-08  Michael Koch  <konqueror@gmx.de>
15895
15896         * javax/swing/JLayeredPane.java: Revert changes to standard
15897         boilerplate, reworked imports.
15898
15899 2004-01-07  Tom Tromey  <tromey@redhat.com>
15900
15901         PR libgcj/13439:
15902         * verify.cc (state::merge): Copy changed locals out of subroutine
15903         in NO_STACK case.
15904         (state::FLAG_CHANGED): New const.
15905         (state::FLAG_UNUSED): Likewise.
15906         (state::local_changed): Removed.  Updated all users.
15907         (state::flags): New field.
15908         (state::merge): Added jsr_semantics argument, more logic.
15909         (push_jump_merge): Added jsr_semantics argument.
15910         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15911         merging through the jsr instruction.
15912
15913 2004-01-07  Tom Tromey  <tromey@redhat.com>
15914
15915         * scripts/MakeDefaultMimeTypes.java: Use \n, not
15916         backslash-newline.
15917
15918 2004-01-07  Graydon Hoare  <graydon@redhat.com>
15919
15920         * java/awt/Container.java (LightweightDispatcher): Implement.
15921         (visitChild): Reuse graphics object.
15922         (dispatchEventImpl): Optionally dispatch to lightweight.
15923         (addNotifyContainerChildren): Build LightweightDispatcher.
15924
15925 2004-01-07  David Jee  <djee@redhat.com>
15926
15927         * java/awt/Container.java
15928         (update): Clear only the clipped region, instead of clearing the
15929         entire Container.
15930         (visitChildren): Visit children in descending order.
15931
15932 2004-01-07  Michael Koch  <konqueror@gmx.de>
15933
15934         * java/lang/reflect/Array.java: Merged documentation with classpath.
15935
15936 2004-01-07  Michael Koch  <konqueror@gmx.de>
15937
15938         * java/text/CollationElementIterator.java
15939         (textIndex): Renamed from index.
15940         * java/text/CollationKey.java
15941         (collator): New member.
15942         (CollationKey): New argument for parent collator.
15943         (equals): Check for same collator, source string and key array.
15944         * java/text/RuleBasedCollator.java:
15945         Reformated.
15946         (RuleBasedCollator): Don't re-initialize frenchAccents with default
15947         value.
15948         (getCollationElementIterator): Rewritten.
15949         (getCollationKey): Added new argument to CollationKey constructor.
15950
15951 2004-01-07  Michael Koch  <konqueror@gmx.de>
15952
15953         * gnu/java/nio/DatagramChannelImpl.java
15954         (blocking): Removed.
15955         (DatagramChannelImpl): Call configureBlocking().
15956         (implConfigureBlocking): Dont initialize blocking.
15957         * gnu/java/nio/ServerSocketChannelImpl.java
15958         (blocking): Removed.
15959         (ServerSocketChannelImpl): Call configureBlocking().
15960         (implConfigureBlocking): Dont initialize blocking.
15961         * gnu/java/nio/SocketChannelImpl.java
15962         (blocking): Removed.
15963         (SocketChannelImpl): Call configureBlocking().
15964         (implConfigureBlocking): Dont initialize blocking.
15965         (connect): Use isBlocking().
15966         * java/nio/channels/spi/AbstractSelectableChannel.java
15967         (configureBlocking): Use blockingLock() instead of LOCK.
15968         Set blocking after successfully called implConfigureBlocking().
15969         (register): Use blockingLock() instead of LOCK.
15970
15971 2004-01-07  Michael Koch  <konqueror@gmx.de>
15972
15973         * java/net/ServerSocket.java (isBound): Fixed documentation.
15974
15975 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
15976
15977         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15978         (changeEvent): Create event object on demand.
15979         (DefaultBoundedRangeModel, toString, setValue, setExtent,
15980         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15981         fireStateChanged): Re-written.
15982         * javax/swing/event/EventListenerList.java: Reformatted, document
15983         typical usage.
15984         (toString): Implemented.
15985         (getListeners): Re-written.
15986         (remove): Re-written.
15987         (add): Re-written.
15988         (NO_LISTENERS): New singleton field.
15989         (listenerList): Declare as transient; document.
15990         (serialVersionUID): Document.
15991         (getListenerCount(Class)): More efficient implementation,
15992         also accepts null argument.  Improve Javadoc.
15993         (getListenerCount()): Remove unnecessary cast; docfix.
15994         * javax/swing/undo/UndoableEditSupport.java:
15995         Re-format, document.
15996         (UndoableEditSupport): Set realSource field. Improve documentation.
15997         (_postEdit): Iterate over cloned listener vector.
15998         (toString): Don't emit realSource.
15999         (beginUpdate, endUpdate): Support nested updates.
16000         (postEdit): Use compound edit if present.
16001
16002 2004-01-06  Graydon Hoare  <graydon@redhat.com>
16003
16004         * java/awt/Container.java (swapComponents): Add forgotten
16005         function, required for JLayeredPane change.
16006
16007 2004-01-06  Michael Koch  <konqueror@gmx.de>
16008
16009         * java/text/CollationElementIterator.java: Reformated.
16010         (CollationElementIterator): Changed order of arguments.
16011         * java/text/RuleBasedCollator.java
16012         (RuleBasedCollator): Merged class documentation.
16013         (CollationElement): Added documentation.
16014         (compare): Reformated, renamed arguments.
16015         (equals): Likewise.
16016         (getCollationElementIterator): Likewise.
16017         (getCollationKey): Likewise.
16018
16019 2004-01-06  Graydon Hoare  <graydon@redhat.com>
16020
16021         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
16022
16023 2004-01-06  Michael Koch  <konqueror@gmx.de>
16024
16025         * gnu/java/net/protocol/file/Connection.java:
16026         Reformated copyright.
16027         (hdrHash): Removed.
16028         (hdrVec): Removed.
16029         (gotHeaders): Removed.
16030         (getHeaderField): Removed.
16031         (getHeaderField): Removed.
16032         (getHeaderFieldKey): Removed.
16033         (getKey): Removed.
16034         (getField): Removed.
16035         (getHeaders): Removed.
16036
16037 2004-01-06  Michael Koch  <konqueror@gmx.de>
16038
16039         * javax/print/attribute/standard/DateTimeAtCompleted.java,
16040         javax/print/attribute/standard/DateTimeAtCreation.java,
16041         javax/print/attribute/standard/DateTimeAtProcessing.java,
16042         javax/print/attribute/standard/JobImpressionsCompleted.java,
16043         javax/print/attribute/standard/JobKOctets.java,
16044         javax/print/attribute/standard/JobKOctetsProcessed.java,
16045         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
16046         javax/print/attribute/standard/JobPrioritySupported.java: New files.
16047         * Makefile.am (javax_source_files): Added new files.
16048         * Makefile.in: Regenerated.
16049
16050 2004-01-06  Michael Koch  <konqueror@gmx.de>
16051
16052         * java/net/URLConnection.java
16053         (contentHandler): Removed.
16054         (locale): Removed.
16055         (getHeaderFields): Return an empty map instead of null.
16056         (getContent): Connect if needed, renamed "cType" to "type" and
16057         "contentHandler" to "ch" and made it a local variable.
16058         (getPermission): Don't use package in class name.
16059         (setDefaultRequestProperty): Fixed typo in documentation.
16060         (initializeDateFormats): Made locale a local variable.
16061
16062 2004-01-06  Michael Koch  <konqueror@gmx.de>
16063
16064         * java/lang/Package.java
16065         (getPackage): Get the current class loader directly.
16066         * java/lang/SecurityManager.java
16067         (currentLoadedClass): Dont iterate over class contexts.
16068         (classLoaderDepth): Don't check class loaders if everything is allowed.
16069
16070 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
16071
16072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16073         (pre_event_handler): Set all insets to 0 when a Configure event
16074         is received for a GtkPlug.
16075         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
16076         Make handle long, not int.
16077         (EmbeddedWindow()): New constructor.
16078         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
16079         long, not int.
16080         (setHandle): New method.
16081         (getHandle): Return long, not int.
16082         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
16083         declaration.
16084         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
16085         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
16086         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
16087         argument to GdkNativeWindow.
16088         (construct): New method.
16089         (embed): New method.
16090
16091         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
16092         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
16093         (create(int, int)): New method.
16094         (create): Call new create method.
16095         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
16096         methods.
16097         (childResized): Remove native implementation.  Implement in
16098         Java.
16099         (getHScrollbarHeight, getVScrollbarWidth): Call
16100         gtk_widget_size_request to get scrollbar dimensions.
16101         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
16102         call getVScrollbarWidth and getHScrollbarHeight when vertical
16103         and horizontal scrollbars respectively are needed.
16104         (doLayout): Enlarge child if it is smaller than the viewport.
16105
16106 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
16107
16108         * java/awt/Dialog.java (constructor): Accept null title as per spec.
16109         * java/awt/FileDialog.java (constructor): Throw exception on invalid
16110         argument as per spec.
16111
16112 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
16113
16114         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
16115         (insert): Ditto.
16116         (remove): Ditto.  Also, Check for valid argument.
16117         (removeAll): Use peer interface method.
16118         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
16119         native add function.
16120         (nativeRemove): New name for native remove function.
16121         (getHistory): New native function.
16122         (constructor): Generate ItemEvent.
16123         (add): Ditto, if selection is changed.
16124         (remove): Ditto, ditto.
16125         (removeAll): Add implementation.
16126         (handleEvent): Remove.  Dead code.
16127         (choicePostItemEvent): Add comment.
16128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
16129         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
16130         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
16131         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
16132         comments and fix condition to change selection.
16133         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
16134         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
16135         remove all capability.
16136         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
16137         (item_activate): Add cast to remove compiler warning.
16138
16139 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
16140
16141         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
16142         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16143         (getPreferredSize): Call preferredSize.
16144         (preferredSize): Call gtkWidgetGetPreferredDimensions.
16145         (getMinimumSize): Call minimumSize.
16146         (minimumSize): Call gtkWidgetGetPreferredDimensions.
16147         (gtkWidgetGetDimensions): Return the peer widget's current size
16148         request.
16149         (gtkWidgetGetPreferredDimensions): Return the peer widget's
16150         natural size request.
16151
16152 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
16153
16154         Thanks to Brian Gough <bjg@network-theory.com>
16155         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
16156         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
16157
16158 2004-01-04  Matthias Klose  <doko@debian.org>
16159
16160         * aclocal.m4: Rebuilt using "aclocal -I .".
16161         * configure: Rebuilt.
16162
16163 2004-01-03  Per Bothner  <per@bothner.com>
16164
16165         * java/util/Date.java (parse):  Fix a number of problems.
16166         (skipParens):  Remove no-longer-needed method.