OSDN Git Service

* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
2
3         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
4         sync_info element of the object if needed.
5
6 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
7
8         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
9         a non-zero exit status from 'false'.
10
11 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
12
13         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
14
15 2004-12-31  Andreas Jaeger  <aj@suse.de>
16
17         * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
18
19 2004-12-20  Tom Tromey  <tromey@redhat.com>
20
21         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
22         Re-enable duplicate class registration error.
23
24         * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
25         * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
26         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
27         * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
28         get_multilibs.
29         (libjava_find_gij): Likewise.  Changed return result if gij not
30         found.
31         (test_libjava_from_javac): Updated.
32
33         PR java/15001
34         * testsuite/libjava.jni/iface.c: New file.
35         * testsuite/libjava.jni/iface.out: New file.
36         * testsuite/libjava.jni/iface.java: New file.
37
38 2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>
39
40         * include/config.h.in: Regenerate.
41
42 2004-12-10  Andrew Haley  <aph@redhat.com>
43
44         PR java/15001
45         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
46         abstract methods by name.
47
48 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
49
50         * java/util/IdentityHashMap.java (put): Replace mistaken use
51         of "<<" by "*".
52
53 2004-12-06  Tom Tromey  <tromey@redhat.com>
54
55         For PR java/14853:
56         * testsuite/libjava.compile/PR14853.java: New file.
57         * testsuite/libjava.compile/PR14853.xfail: New file.
58
59 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
60
61         PR libgcj/7305
62         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
63         * Makefile.am (install-data-local): Install headers into
64         $(gxx_include_dir) rather than $(includedir).
65         (AM_MAKEFLAGS): Pass down gxx_include_dir.
66         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
67         * include/Makefile.am (tool_include__HEADERS): Define this...
68         (include_HEADERS): ...instead of this.
69         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
70         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
71
72 2004-12-02  Tom Tromey  <tromey@redhat.com>
73
74         For PR java/16675:
75         * testsuite/libjava.compile/PR16675.java: New file.
76
77 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
78
79         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
80         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
81         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
82
83 2004-12-01  Tom Tromey  <tromey@redhat.com>
84
85         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
86         name.
87         (_Jv_ThreadRegister): Likewise.
88         (_Jv_MutexCheckMonitor): Likewise.
89
90         * link.cc: Include limits.h.
91
92 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
93
94         PR libgcj/18699
95         * testsuite/libjava.lang/PR18699.java,
96         testsuite/libjava.lang/PR18699.out: New test.
97
98 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
99
100         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
101         Update image observer.
102         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
103         Start image production.
104         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
105         against negative menu bar widths.
106         (setBounds): Likewise.
107         (postConfigureEvent): Likewise.
108         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
109         remove consumer unless only a single frame has completed.
110         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
111         Add observer parameter.
112         (setPixels): Update image observer.
113         (imageComplete): Likewise.
114         * java/applet/Applet.java (width): New field.
115         (height): Likewise.
116         (setStub): Set size if width or height field has been set.
117         (resize): If stub is null save width and height values.
118         * java/awt/Component.java (reshape): Protect against null
119         parent.
120         * java/awt/image/MemoryImageSource.java
121         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
122         Document.
123         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
124         Likewise.
125         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
126         Reference pixel array directly, rather than creating a local
127         copy.
128         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
129         Likewise.
130         (newPixels(int,int,int,int)): Fix for loop and array copy
131         bounds.
132         (newPixels(int,int,int,int,boolean)): Likewise.
133         (startProduction): If animated call imageComplete with
134         SINGLEFRAME.
135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
136         gdk_flush lines.
137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
138         (drawPixels): Return if g is null or g->drawable is not a gdk
139         drawable.
140
141 2004-11-30  Michael Koch  <konqueror@gmx.de>
142
143         * javax/swing/DefaultSingleSelectionModel.java,
144         javax/swing/JPasswordField.java,
145         javax/swing/tree/AbstractLayoutCache.java:
146         Reformatted and javadocs cleaned up.
147
148 2004-11-30  Michael Koch  <konqueror@gmx.de>
149
150         * java/awt/Component.java:
151         Fixed argument names to match javadocs.
152         (setFont): Rewritten set property first and then fire event.
153         (setLocale): Likewise.
154         * javax/swing/text/JTextComponent.java
155         (setEditable): Likewise.
156
157 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
158
159         * java/awt/Button.java
160         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
161         source of 'click'.
162
163 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
164
165         * java/awt/Checkbox.java: Remove stub comments.
166
167 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
168
169         * java/awt/Button.java
170         (AccessibleAWTButton.getAccessibleActionDescription): Return
171         'click'.
172
173 2004-11-30  Michael Koch  <konqueror@gmx.de>
174
175         * java/awt/CardLayout.java:
176         Made some constants static.
177         (serialVersionUID): Made private.
178         (addLayoutComponent): Simplified code.
179         * java/awt/event/InputEvent.java
180         (getModifiersEx): Added missing @param tag.
181         * java/awt/image/RGBImageFilter.java
182         (filterRGBPixels): Reformatted, removed wrong @param tag.
183
184 2004-11-30  Michael Koch  <konqueror@gmx.de>
185
186         * javax/swing/text/FieldView.java,
187         javax/swing/text/JTextComponent.java:
188         Removed debug code.
189
190 2004-11-30  Michael Koch  <konqueror@gmx.de>
191
192         * javax/swing/BorderFactory.java
193         (BorderFactory): Added private constructor.
194         * javax/swing/SwingUtilities.java
195         (SwingUtilities): Likewise.
196         (computeStringWidth): New method.
197
198 2004-11-30  Michael Koch  <konqueror@gmx.de>
199
200         * java/awt/color/ICC_Profile.java
201         (icSigNamedColorTag): Removed.
202         * java/awt/datatransfer/DataFlavor.java
203         (isMimeTypeEqual): Made final.
204         * java/awt/image/AffineTransformOp.java:
205         Reworked javadocs.
206         (TYPE_BICUBIC): Added @since tag.
207
208 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
209
210         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
211         comments.
212
213 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
214
215         * java/awt/Checkbox.java (itemStateChanged): Implement function.
216         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
217
218 2004-11-30  Sven de Marothy  <sven@physto.se>
219
220         * java/awt/Polygon.java (contains): Reimplemented.
221
222 2004-11-30  Michael Koch  <konqueror@gmx.de>
223
224         * java/awt/print/PrinterJob.java: Reformatted.
225
226 2004-11-30  Michael Koch  <konqueror@gmx.de>
227
228         * java/awt/image/AffineTransformOp.java,
229         java/awt/image/ColorConvertOp.java,
230         java/awt/image/LookupOp.java,
231         java/awt/image/RescaleOp.java:
232         Added final keywords where they belong.
233
234 2004-11-30  Michael Koch  <konqueror@gmx.de>
235
236         * java/awt/CardLayout.java,
237         java/awt/Component.java,
238         java/awt/Font.java,
239         java/awt/image/SinglePixelPackedSampleModel.java:
240         Fixed javadocs and argument names all over.
241
242 2004-11-30  Michael Koch  <konqueror@gmx.de>
243
244         * java/awt/image/DataBufferShort.java: Fixed file header.
245         * java/awt/image/DataBufferUShort.java: Likewise.
246         (DataBufferUShort): Throw NullPointerException if dataArray is null.
247
248 2004-11-30  Sven de Marothy  <sven@physto.se>
249
250         * java/awt/geom/Arc2D.java
251         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
252         (setAngles): Likewise.
253         (containsAngle): Return false on zero extent, don't include
254         final angle.
255         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
256         ones.
257
258 2004-11-30  Sven de Marothy  <sven@physto.se>
259
260         * java/awt/geom/AffineTransform.java,
261         (inverseTransform): Fixed bug and simplified code.
262         (createTransformedShape): Return null on null parameter.
263
264 2004-11-30  Michael Koch  <konqueror@gmx.de>
265
266         * java/awt/color/ICC_ColorSpace.java,
267         java/awt/color/ICC_Profile.java,
268         java/awt/color/ICC_ProfileGray.java,
269         java/awt/color/ICC_ProfileRGB.java:
270         Re-indent copyright header to be standardish.
271         * java/awt/datatransfer/StringSelection.java:
272         Reformatted.
273         * java/awt/geom/Area.java
274         (EPSILON): Made static.
275         (RS_EPSILON): Likewise.
276         (PE_EPSILON): Likewide.
277
278 2004-11-30  Sven de Marothy  <sven@physto.se>
279
280         * javax/swing/SwingUtilities.java:
281         (computeDifference): Implemented
282         (computeIntersection): Likewise
283         (computeUnion): Likewise
284         (isRectangleContainingRectangle): Likewise
285
286 2004-11-30  Michael Koch  <konqueror@gmx.de>
287
288         * java/awt/BasicStroke.java,
289         java/awt/Button.java,
290         java/awt/Canvas.java,
291         java/awt/CheckboxMenuItem.java,
292         java/awt/Container.java,
293         java/awt/EventQueue.java,
294         java/awt/FileDialog.java,
295         java/awt/FlowLayout.java,
296         java/awt/FontMetrics.java,
297         java/awt/Graphics.java,
298         java/awt/GridLayout.java,
299         java/awt/KeyboardFocusManager.java,
300         java/awt/Label.java,
301         java/awt/LayoutManager2.java,
302         java/awt/List.java,
303         java/awt/MenuBar.java,
304         java/awt/Scrollbar.java,
305         java/awt/Toolkit.java,
306         java/awt/Window.java,
307         java/awt/datatransfer/DataFlavor.java,
308         java/awt/datatransfer/FlavorTable.java,
309         java/awt/event/ActionListener.java,
310         java/awt/event/HierarchyBoundsAdapter.java,
311         java/awt/geom/Arc2D.java,
312         java/awt/geom/Rectangle2D.java,
313         java/awt/geom/RectangularShape.java,
314         java/awt/im/spi/InputMethod.java,
315         java/awt/image/ByteLookupTable.java,
316         java/awt/image/ColorModel.java,
317         java/awt/image/DirectColorModel.java,
318         java/awt/image/ShortLookupTable.java,
319         java/awt/print/Book.java:
320         Fixed javadocs and method argument names all over.
321
322 2004-11-30  Michael Koch  <konqueror@gmx.de>
323
324         * gnu/java/awt/peer/gtk/GdkFontPeer.java
325         (buildString): Optimise String building.
326
327 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
328
329         * java/awt/TextArea.java (AccessibleAWTTextArea,
330         getAccessibleContext): Implement.
331         * java/awt/TextField.java (AccessibleAWTTextField,
332         getAccessibleContext): Implement.
333
334 2004-11-30  Tom Tromey  <tromey@redhat.com>
335
336         * Makefile.in: Rebuilt.
337         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
338         Fixed typo.
339
340 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
341
342         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
343         Implement.
344         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
345         Implement.
346
347 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
348
349         * java/awt/print/PrinterJob.java (lookupPrintServices,
350         getPrintService, setPrintService): Implement.
351         (lookupStreamPrintServices): Add commented out implementation.
352         (printer): New field.
353
354 2004-11-30  Mark Wielaard  <mark@klomp.org>
355
356         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
357         when not yet set.
358
359 2004-11-30  Sven de Marothy  <sven@physto.se>
360
361         * java/awt/geom/GeneralPath.java (evaluateCrossings):
362         Fixed epsilon value, should always be nonzero.
363
364 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
365
366         * java/awt/image/Raster.java
367         (createPackedRaster): Implemented.
368
369 2004-11-30  Graydon Hoare  <graydon@redhat.com>
370
371         * javax/swing/plaf/basic/BasicTextUI.java:
372         Listen to focus events, indicate focus via caret.
373         * javax/swing/text/GapContent.java (getString): Return substring.
374         * javax/swing/text/PlainDocument.java (reindex): New method.
375         (createDefaultRoot): Call it.
376         (insertUpdate): Likewise.
377         (removeUpdate): Likewise.
378         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
379         on tab and newline, even if no painting happens.
380
381 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
382
383         * Makefile.am: List peer JNI header: Java source file
384         dependencies explicitly.  Likewise for JNI .lo: JNI header
385         dependencies.
386         * Makefile.in: Regenerate.
387
388 2004-11-30  Graydon Hoare  <graydon@redhat.com>
389
390         * Makefile.am: Add entry for BasicTextPaneUI.java
391         * Makefile.in: Regenerate.
392         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
393         (GdkGraphics2D): Set clip after transform.
394         (drawImage): Protect against null image.
395         * gnu/java/awt/peer/gtk/GtkFramePeer.java
396         (setIconImage): Protect against non-GtkImage args.
397         * gnu/java/awt/peer/gtk/GtkToolkit.java
398         (checkImage): Protect against non-GtkImage args.
399         * java/awt/print/PrinterJob.java:
400         (print): Add variant taking PrintRequestAttributeSet.
401         (printDialog): Likewise.
402         * javax/swing/JComponent.java:
403         (transferHandler): New field.
404         (getComponentGraphics): Build new Graphics for each sub-paint.
405         (getTransferHandler): New method.
406         (setTransferHandler): New method.
407         * javax/swing/JDesktopPane.java
408         (setDragMode): Force LIVE_DRAG_MODE.
409         * javax/swing/JMenuItem.java
410         (menuSelectionChanged): Protect against null parent.
411         * javax/swing/JTable.java (setDefaultRenderer): New method.
412         * javax/swing/JTree.java: Get basic ctors and UI working.
413         * javax/swing/JViewport.java (JViewport): Set scroll mode.
414         * javax/swing/RepaintManager.java
415         (addDirtyRegion): Skip empty regions.
416         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
417         bound scrollpane minimum by central view minimum.
418         * javax/swing/ToolTipManager.java
419         (showTip): Guard against null component.
420         * javax/swing/TransferHandler.java: Stub out.
421         * javax/swing/plaf/basic/BasicLookAndFeel.java:
422         Add entry for TextPaneUI, change Tree icons to pngs.
423         * javax/swing/plaf/basic/BasicMenuItemUI.java:
424         (installDefaults): Set text position and alignment.
425         (paintMenuItem): Layout icon with normal compound function.
426         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
427         (getMaximumSize): Delete.
428         (getMinimumSize): Delete.
429         (getPreferredSize): Use column model's total width.
430         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
431         * javax/swing/plaf/basic/BasicTextUI.java
432         (modelChanged): Make resilient against nulls.
433         * javax/swing/plaf/basic/BasicTreeUI.java:
434         Add some simplistic config / painting functions.
435         * javax/swing/plaf/basic/BasicViewportUI.java
436         (paintSimple): Add new non-backingstore paint mode.
437         (paintBackingStore): Split out backing store code.
438         (paint): Switch on painting mode.
439         * javax/swing/text/SimpleAttributeSet.java
440         (SimpleAttributeSet): Resist nulls.
441         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
442         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
443
444 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
445
446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
447         Set pango context's description and language.
448
449 2004-11-30  Mark Wielaard  <mark@klomp.org>
450
451         * java/awt/image/LookupOp.java: Comments and indentation fixes.
452
453 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
454
455         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
456         (getAccessibleContext): Implement.
457
458 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
459
460         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
461         Implement.
462         (getIndexAtPoint, getCharacterBounds): New methods.
463
464 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
465
466         * java/awt/Button.java (AccessibleAWTButton): Implement.
467
468 2004-11-30  Mark Wielaard  <mark@klomp.org>
469
470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
471         (filenameFilterCallback): Made static.
472
473 2004-11-30  Michael Koch  <konqueror@gmx.de>
474
475         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
476         (cairoShowGlyphs) Removed.
477
478 2004-11-30  Sven de Marothy <sven@physto.se>
479
480         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
481         Don't invert matrix when reverse CLUT is available.
482         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
483         * java/awt/color/ICC_ColorSpace.java: Likewise.
484         * java/awt/color/ICC_Profile.java: Likewise.
485         * java/awt/color/ICC_ProfileGray.java: Likewise.
486         * java/awt/color/ICC_ProfileRGB.java: Likewise.
487
488 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
489
490         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
491
492 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
493
494         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
495
496 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
497
498         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
499         field hiding ComponentSampleModel.scanlineStride.
500
501 2004-11-30  Noa Resare  <noa@resare.com>
502
503         * java/awt/geom/GeneralPath.java (currentSegment):
504         Fix typo in transform.transform() invocation.
505
506 2004-11-30  Sven de Marothy <sven@physto.se>
507
508         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
509         (createImage): Created bitmap should be filled with bg color
510
511 2004-11-30  Noa Resare  <noa@resare.com>
512
513         * java/awt/Choice.java (add):
514         Implement correct selection behavior when peer == null.
515         (insert): Likewise.
516         (remove): Likewise.
517
518 2004-11-30  Mark Wielaard  <mark@klomp.org>
519
520         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
521         Call select() when Choice has a selected item.
522
523 2004-11-30  Michael Koch  <address@bogus.example.com>
524
525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
526         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
527         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
528         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
529         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
530         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
531         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
532         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
533         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
534         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
535         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
536         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
537         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
538         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
539         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
540         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
541         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
542         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
543         Fixed method names to start at begin of line. This is desired by GNU
544         coding style guide.
545
546 2004-11-30  Michael Koch  <konqueror@gmx.de>
547
548         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
549         (gtkWidgetSetVisible): Unused. Removed.
550         (connectJObject): Likewise.
551         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
552         (gtkScrolledWindowSetScrollPosition): Commented out.
553
554 2004-11-30  Mark Wielaard  <mark@klomp.org>
555
556         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
557         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
558         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
559
560 2004-11-30  Mark Wielaard  <mark@klomp.org>
561
562         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
563         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
564         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
565         (init_dpi_conversion_factor): Correct prototype.
566
567 2004-11-30  Sven de Marothy  <sven@physto.se>
568
569         * java/awt/image/ConvolveOp.java: Added missing
570         copyright notice.
571
572 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
573
574         Fixes bug #10908
575         * gnu/java/beans/IntrospectionIncubator.java:
576         (addMethod): static methods are discarded now, too.
577
578 2004-11-30  Mark Wielaard  <mark@klomp.org>
579
580         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
581         java source files.
582         * Makefile.in: Regenerated.
583
584 2004-11-30  Sven de Marothy  <sven@physto.se>
585
586         * gnu/java/awt/color/CieXyzConverter.java,
587         gnu/java/awt/color/GrayScaleConverter.java,
588         gnu/java/awt/color/SrgbConverter.java,
589         gnu/java/awt/color/ClutProfileConverter.java,
590         gnu/java/awt/color/LinearRGBConverter.java,
591         gnu/java/awt/color/TagEntry.java,
592         gnu/java/awt/color/ColorLookUpTable.java,
593         gnu/java/awt/color/ProfileHeader.java,
594         gnu/java/awt/color/ToneReproductionCurve.java,
595         gnu/java/awt/color/ColorSpaceConverter.java,
596         gnu/java/awt/color/PyccConverter.java,
597         gnu/java/awt/color/GrayProfileConverter.java,
598         gnu/java/awt/color/RgbProfileConverter.java:
599         New files.
600         * java/awt/color/ICC_ColorSpace.java,
601         java/awt/color/ICC_Profile.java,
602         java/awt/color/ICC_ProfileGray.java,
603         java/awt/color/ICC_ProfileRGB.java:
604         Implemented (sans PhotoYCC color space).
605
606 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
607
608         * java/awt/image/AffineTransformOp.java (filter):  Implement
609         bilinear interpolation for Rasters.
610
611 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
612
613         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
614         use the provided colormap.  Throw documented exceptions.  Document
615         exceptions.
616
617 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
618
619         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
620         constructor.
621
622 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
623
624         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
625
626 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
627
628         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
629         filtering.
630
631 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
632
633         * java/awt/image/ComponentSampleModel.java (getDataElements,
634         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
635
636 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
637
638         * java/awt/Font.java (name): New field.
639         (size): Likewise.
640         (style): Likewise.
641
642 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
643
644         * java/awt/image/Raster.java (createBandedRaster): Implement.
645
646 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
647
648         * java/awt/image/ConvolveOp.java: New class.
649         * Makefile.am: Add ConvolveOp.
650         * Makefile.in: Regenerate.
651
652 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
653
654         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
655         LookupOp, RescaleOp): Fix loop bounds.
656
657 2004-11-30  jlquinn  <jlquinn@optonline.net>
658
659         * Makefile.am: Fix typo in BandCombineOp.
660         * Makefile.in: Regenerate.
661
662 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
663
664         * java/awt/image/BandCombineOp.java: New class.
665         * Makefile.am: Add BandCombineOp.
666         * Makefile.in: Regenerate.
667
668 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
669
670         * java/awt/image/LookupOp.java: New class.
671         * Makefile.am: Add LookupOp.
672         * Makefile.in: Regenerate.
673
674 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
675
676         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
677         javadocs.
678
679 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
680
681         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
682         wrap.  Use Boolean.valueOf.
683
684 2004-11-30  Michael Koch  <konqueror@gmx.de>
685
686         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
687         (releasePeerGraphicsResource): Fixed typo in method name.
688         * gnu/java/awt/peer/gtk/GdkFontPeer.java
689         (finalize): Fixed typo in releasePeerGraphicsResource.
690
691 2004-11-30  Michael Koch  <konqueror@gmx.de>
692
693         * java/awt/font/TextAttribute.java
694         (RUN_DIRECTION_LTR): Initialie with static value instead of
695         calculating it.
696         (RUN_DIRECTION_RTL): Likewise.
697         (STRIKETHROUGH_ON): Likewise.
698         (SWAP_COLORS_ON): Likewise.
699
700 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
701
702         * java/awt/image/ColorConvertOp.java: New class.
703         * java/awt/image/ColorModel.java (cloneColorModel): New method.
704         * Makefile.am: Add ColorConvertOp.
705         * Makefile.in: Regenerate.
706
707 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
708
709         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
710         Track Window focus owner on FOCUS_GAINED events.
711
712 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
713
714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
715         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
716
717 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
718
719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
720         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
721         Fix pointer warning.
722
723 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
724
725         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
726         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
727         Fix pointer warning.
728
729         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
730         warnings.
731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
732         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
733         to fix type punned pointer warning.
734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
735         Likewise.
736
737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
738         (window_get_new_state): Introduce unions to fix warnings as above.
739         (window_property_changed_cb): Likewise.
740         (window_active_state_change_cb): Mark unused variables unused.
741         (window_focus_state_change_cb): Likewise.
742         (window_focus_in_cb): Likewise.
743         (window_focus_out_cb): Likewise.
744
745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
746         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
747         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
748
749 2004-11-30  Michael Koch  <konqueror@gmx.de>
750
751         * javax/swing/JMenuBar.java
752         (updateUI): Simplified.
753         * javax/swing/tree/DefaultTreeSelectionModel.java:
754         Reorganized import statements.
755
756 2004-11-30  Michael Koch  <konqueror@gmx.de>
757
758         * java/awt/font/TextAttribute.java,
759         javax/swing/JComponent.java,
760         javax/swing/JInternalFrame.java,
761         javax/swing/table/TableColumn.java,
762         javax/swing/text/StyleConstants.java:
763         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
764
765 2004-11-30  Michael Koch  <konqueror@gmx.de>
766
767         * javax/swing/tree/DefaultTreeCellEditor.java,
768         javax/swing/tree/DefaultTreeModel.java,
769         javax/swing/tree/DefaultTreeSelectionModel.java:
770         Jalopied.
771
772 2004-11-30  Michael Koch  <konqueror@gmx.de>
773
774         * javax/swing/tree/DefaultTreeCellEditor.java
775         (EditorContainer.EditorContainer): Fixed arguments.
776         (EditorContainer.EditorContainer): New method.
777         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
778         (DefaultTextField.getBorder): Implemented.
779         (listenerList): New field.
780         (addCellEditorListener): Implemented.
781         (removeCellEditorListener): Implemented.
782         (getCellEditorListeners): New method.
783         * javax/swing/tree/DefaultTreeModel.java
784         (addTreeModelListener): Fixed javadoc.
785         (removeTreeModelListener): Likewise.
786         (getTreeModelListeners): New method.
787         (fireTreeNodesChanged): Implemented.
788         (fireTreeNodesInserted): Likewise.
789         (fireTreeNodesRemoved): Likewise.
790         (fireTreeStructureChanged): Likewise.
791         (getListeners): Fixed javadoc.
792         * javax/swing/tree/DefaultTreeSelectionModel.java
793         (addTreeSelectionListener): Implemented.
794         (removeTreeSelectionListener): Likewise.
795         (fireValueChanged): Likewise.
796         (getListeners): Likewise.
797         (addPropertyChangeListener): Likewise.
798         (removePropertyChangeListener): Likewise.
799         (getTreeSelectionListeners): New method.
800         (getPropertyChangeListeners): Likewise.
801
802 2004-11-30  Michael Koch  <konqueror@gmx.de>
803
804         * javax/swing/plaf/basic/BasicScrollBarUI.java
805         (maximumThumbSize): Removed static keyword.
806         (minimumThumbSize): Likewise.
807         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
808         (CloseAction): Made public.
809         (IconifyAction): Likewise.
810         (MaximizeAction): Likewise.
811         (MoveAction): Likewise.
812         (RestoreAction): Likewise.
813         (SizeAction): Likewise.
814         (SystemMenuBar): Likewise.
815         * javax/swing/plaf/basic/BasicSliderUI.java
816         (TrackListener): Likewise.
817         * javax/swing/plaf/basic/BasicSplitPaneUI.java
818         (KeyboardDownRightHandler): Likewise.
819         (KeyboardEndHandler): Likewise.
820         (KeyboardHomeHandler): Likewise.
821         (KeyboardResizeToggleHandler): Likewise.
822         (KeyboardUpLeftHandler): Likewise.
823         (PropertyHandler): Likewise.
824         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
825         (PropertyChangeHandler): Likewise.
826         (TabSelectionHandler): Likewise.
827
828 2004-11-30  Michael Koch  <konqueror@gmx.de>
829
830         * javax/swing/text/JTextComponent.java
831         (getKeymap): Made public.
832
833 2004-11-30  Michael Koch  <konqueror@gmx.de>
834
835         * javax/swing/JEditorPane.java
836         (getStream): Throws IOException.
837         (read): Likewise.
838         * javax/swing/JRootPane.java
839         (createContentPane): Fixed return type.
840         * javax/swing/JSpinner.java
841         (commitEdit): Throws ParseException.
842         * javax/swing/plaf/metal/MetalLookAndFeel.java
843         (serialVersionUID): New field.
844         * javax/swing/table/TableColumn.java
845         (resizedPostingDisableCount): Added @deprecated tag.
846         (disableResizedPosting): Likewise.
847         (enableResizedPosting): Likewise.
848         * javax/swing/text/Document.java
849         (TitleProperty): Fixed value.
850         * javax/swing/tree/TreeCellEditor.java
851         (TreeCellEditor): Extends CellEditor.
852
853 2004-11-30  Michael Koch  <konqueror@gmx.de>
854
855         * javax/swing/JWindow.java
856         javax/swing/SpinnerModel.java
857         javax/swing/Timer.java
858         javax/swing/event/MenuKeyEvent.java
859         javax/swing/plaf/basic/BasicButtonUI.java
860         javax/swing/plaf/basic/BasicIconFactory.java
861         javax/swing/plaf/basic/BasicTabbedPaneUI.java
862         javax/swing/text/AttributeSet.java
863         javax/swing/text/Highlighter.java
864         javax/swing/text/StyleConstants.java
865         javax/swing/tree/TreeCellEditor.java:
866         Removed redundant and reordered modifiers.
867
868 2004-11-30  Michael Koch  <konqueror@gmx.de>
869
870         * javax/swing/plaf/basic/BasicToolTipUI.java:
871         Reformatted copyright header.
872
873 2004-11-30  Michael Koch  <konqueror@gmx.de>
874
875         * javax/swing/AbstractAction.java,
876         javax/swing/AbstractButton.java,
877         javax/swing/AbstractCellEditor.java,
878         javax/swing/AbstractListModel.java,
879         javax/swing/AbstractSpinnerModel.java,
880         javax/swing/ActionMap.java,
881         javax/swing/BorderFactory.java,
882         javax/swing/Box.java,
883         javax/swing/ButtonModel.java,
884         javax/swing/CellEditor.java,
885         javax/swing/CellRendererPane.java,
886         javax/swing/DefaultBoundedRangeModel.java,
887         javax/swing/DefaultButtonModel.java,
888         javax/swing/DefaultCellEditor.java,
889         javax/swing/DefaultDesktopManager.java,
890         javax/swing/DefaultListCellRenderer.java,
891         javax/swing/DefaultListSelectionModel.java,
892         javax/swing/DefaultSingleSelectionModel.java,
893         javax/swing/GrayFilter.java,
894         javax/swing/InputMap.java,
895         javax/swing/JApplet.java,
896         javax/swing/JCheckBoxMenuItem.java,
897         javax/swing/JColorChooser.java,
898         javax/swing/JComboBox.java,
899         javax/swing/JComponent.java,
900         javax/swing/JDesktopPane.java,
901         javax/swing/JDialog.java,
902         javax/swing/JEditorPane.java,
903         javax/swing/JFileChooser.java,
904         javax/swing/JFormattedTextField.java,
905         javax/swing/JFrame.java,
906         javax/swing/JInternalFrame.java,
907         javax/swing/JLabel.java,
908         javax/swing/JLayeredPane.java,
909         javax/swing/JList.java,
910         javax/swing/JMenu.java,
911         javax/swing/JMenuBar.java,
912         javax/swing/JMenuItem.java,
913         javax/swing/JOptionPane.java,
914         javax/swing/JPanel.java,
915         javax/swing/JPasswordField.java,
916         javax/swing/JPopupMenu.java,
917         javax/swing/JRadioButtonMenuItem.java,
918         javax/swing/JRootPane.java,
919         javax/swing/JSpinner.java,
920         javax/swing/JSplitPane.java,
921         javax/swing/JTabbedPane.java,
922         javax/swing/JTable.java,
923         javax/swing/JTextArea.java,
924         javax/swing/JTextPane.java,
925         javax/swing/JToggleButton.java,
926         javax/swing/JToolBar.java,
927         javax/swing/JToolTip.java,
928         javax/swing/JTree.java,
929         javax/swing/JViewport.java,
930         javax/swing/ListModel.java,
931         javax/swing/LookAndFeel.java,
932         javax/swing/MenuSelectionManager.java,
933         javax/swing/ProgressMonitorInputStream.java,
934         javax/swing/RepaintManager.java,
935         javax/swing/RootPaneContainer.java,
936         javax/swing/ScrollPaneLayout.java,
937         javax/swing/SpringLayout.java,
938         javax/swing/SwingUtilities.java,
939         javax/swing/Timer.java,
940         javax/swing/ToolTipManager.java,
941         javax/swing/UIDefaults.java,
942         javax/swing/UIManager.java,
943         javax/swing/border/MatteBorder.java,
944         javax/swing/colorchooser/AbstractColorChooserPanel.java,
945         javax/swing/colorchooser/ColorSelectionModel.java,
946         javax/swing/colorchooser/DefaultColorSelectionModel.java,
947         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
948         javax/swing/colorchooser/DefaultPreviewPanel.java,
949         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
950         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
951         javax/swing/event/AncestorEvent.java,
952         javax/swing/event/HyperlinkEvent.java,
953         javax/swing/event/InternalFrameEvent.java,
954         javax/swing/event/MenuDragMouseEvent.java,
955         javax/swing/event/TableColumnModelEvent.java,
956         javax/swing/event/TableModelEvent.java,
957         javax/swing/event/TreeExpansionEvent.java,
958         javax/swing/event/TreeModelEvent.java,
959         javax/swing/event/TreeSelectionEvent.java,
960         javax/swing/event/TreeWillExpandListener.java,
961         javax/swing/event/UndoableEditEvent.java,
962         javax/swing/filechooser/FileView.java,
963         javax/swing/plaf/BorderUIResource.java,
964         javax/swing/plaf/ComponentUI.java,
965         javax/swing/plaf/FileChooserUI.java,
966         javax/swing/plaf/IconUIResource.java,
967         javax/swing/plaf/ListUI.java,
968         javax/swing/plaf/PopupMenuUI.java,
969         javax/swing/plaf/SplitPaneUI.java,
970         javax/swing/plaf/TabbedPaneUI.java,
971         javax/swing/plaf/TextUI.java,
972         javax/swing/plaf/TreeUI.java,
973         javax/swing/plaf/basic/BasicArrowButton.java,
974         javax/swing/plaf/basic/BasicBorders.java,
975         javax/swing/plaf/basic/BasicButtonUI.java,
976         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
977         javax/swing/plaf/basic/BasicColorChooserUI.java,
978         javax/swing/plaf/basic/BasicComboBoxEditor.java,
979         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
980         javax/swing/plaf/basic/BasicComboBoxUI.java,
981         javax/swing/plaf/basic/BasicComboPopup.java,
982         javax/swing/plaf/basic/BasicDesktopIconUI.java,
983         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
984         javax/swing/plaf/basic/BasicIconFactory.java,
985         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
986         javax/swing/plaf/basic/BasicInternalFrameUI.java,
987         javax/swing/plaf/basic/BasicListUI.java,
988         javax/swing/plaf/basic/BasicLookAndFeel.java,
989         javax/swing/plaf/basic/BasicMenuBarUI.java,
990         javax/swing/plaf/basic/BasicMenuItemUI.java,
991         javax/swing/plaf/basic/BasicMenuUI.java,
992         javax/swing/plaf/basic/BasicOptionPaneUI.java,
993         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
994         javax/swing/plaf/basic/BasicPopupMenuUI.java,
995         javax/swing/plaf/basic/BasicProgressBarUI.java,
996         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
997         javax/swing/plaf/basic/BasicRootPaneUI.java,
998         javax/swing/plaf/basic/BasicScrollBarUI.java,
999         javax/swing/plaf/basic/BasicSeparatorUI.java,
1000         javax/swing/plaf/basic/BasicSliderUI.java,
1001         javax/swing/plaf/basic/BasicSpinnerUI.java,
1002         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1003         javax/swing/plaf/basic/BasicSplitPaneUI.java,
1004         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1005         javax/swing/plaf/basic/BasicTableHeaderUI.java,
1006         javax/swing/plaf/basic/BasicTableUI.java,
1007         javax/swing/plaf/basic/BasicTextAreaUI.java,
1008         javax/swing/plaf/basic/BasicTextFieldUI.java,
1009         javax/swing/plaf/basic/BasicTextUI.java,
1010         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
1011         javax/swing/plaf/basic/BasicToolBarUI.java,
1012         javax/swing/plaf/basic/BasicToolTipUI.java,
1013         javax/swing/plaf/basic/BasicTreeUI.java,
1014         javax/swing/plaf/basic/BasicViewportUI.java,
1015         javax/swing/plaf/basic/ComboPopup.java,
1016         javax/swing/table/AbstractTableModel.java,
1017         javax/swing/table/DefaultTableCellRenderer.java,
1018         javax/swing/table/DefaultTableColumnModel.java,
1019         javax/swing/table/DefaultTableModel.java,
1020         javax/swing/table/JTableHeader.java,
1021         javax/swing/table/TableCellEditor.java,
1022         javax/swing/table/TableCellRenderer.java,
1023         javax/swing/table/TableColumn.java,
1024         javax/swing/table/TableColumnModel.java,
1025         javax/swing/text/AbstractDocument.java,
1026         javax/swing/text/Caret.java,
1027         javax/swing/text/DefaultCaret.java,
1028         javax/swing/text/DefaultEditorKit.java,
1029         javax/swing/text/DefaultHighlighter.java,
1030         javax/swing/text/EditorKit.java,
1031         javax/swing/text/JTextComponent.java,
1032         javax/swing/text/LayeredHighlighter.java,
1033         javax/swing/text/PasswordView.java,
1034         javax/swing/text/SimpleAttributeSet.java,
1035         javax/swing/text/StyleConstants.java,
1036         javax/swing/text/StyleContext.java,
1037         javax/swing/text/StyledEditorKit.java,
1038         javax/swing/text/TextAction.java,
1039         javax/swing/text/View.java,
1040         javax/swing/tree/AbstractLayoutCache.java,
1041         javax/swing/tree/DefaultTreeCellRenderer.java,
1042         javax/swing/tree/DefaultTreeModel.java,
1043         javax/swing/tree/DefaultTreeSelectionModel.java,
1044         javax/swing/tree/FixedHeightLayoutCache.java,
1045         javax/swing/tree/TreeCellRenderer.java,
1046         javax/swing/tree/TreeSelectionModel.java,
1047         javax/swing/tree/VariableHeightLayoutCache.java,
1048         javax/swing/undo/AbstractUndoableEdit.java,
1049         javax/swing/undo/UndoableEditSupport.java:
1050         Imports cleaned up.
1051
1052 2004-11-30  Michael Koch  <konqueror@gmx.de>
1053
1054         * java/awt/Container.java,
1055         java/awt/Font.java,
1056         java/awt/font/TextLayout.java:
1057         Imports cleaned up.
1058
1059 2004-11-30  Michael Koch  <konqueror@gmx.de>
1060
1061         * javax/swing/AbstractButton.java
1062         (getLabel): Added @deprecated tag.
1063         (setLabel): Likewise.
1064         * javax/swing/FocusManager.java
1065         (disableSwingFocusManager): Likewise.
1066         (isFocusManagerEnabled): Likewise.
1067         * javax/swing/JComponent.java
1068         (isManagingFocus): Added version to @deprecated tag.
1069         (getNextFocusableComponent): Moved @deprecated tag to bottom of
1070         javadoc.
1071         (getConditionForKeyStroke): Likewise.
1072         (getActionForKeyStroke): Likewise.
1073         * javax/swing/JDesktopPane.java
1074         (LIVE_DRAG_MODE): Added @specnote tag.
1075         (OUTLINE_DRAG_MODE): Likewise.
1076         * javax/swing/JInternalFrame.java
1077         (MENU_BAR_PROPERTY): Fixed value.
1078         (getMenuBar): Added @deprecated tag.
1079         (setMenuBar): Likewise.
1080         * javax/swing/JViewport.java
1081         (isBackingStoreEnabled): Likewise.
1082         (setBackingStoreEnabled): Likewise.
1083         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1084         (closeKey): Likewise.
1085         (maximizeKey): Likewise.
1086         (minimizeKey): Likewise.
1087         (navigateKey): Likewise.
1088         (navigateKey2): Likewise.
1089         * javax/swing/plaf/basic/BasicInternalFrameUI.java
1090         (openMenuKey): Likewise.
1091         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1092         (keyboardDownRightListener): Likewise.
1093         (keyboardEndListener): Likewise.
1094         (keyboardHomeListener): Likewise.
1095         (keyboardResizeToggleListener): Likewise.
1096         (keyboardUpLeftListener): Likewise.
1097         (dividerResizeToggleKey): Likewise.
1098         (downKey): Likewise.
1099         (endKey): Likewise.
1100         (homeKey): Likewise.
1101         (leftKey): Likewise.
1102         (rightKey): Likewise.
1103         (upKey): Likewise.
1104         (createKeyboardUpLeftListener): Likewise.
1105         (createKeyboardDownRightListener): Likewise.
1106         (createKeyboardHomeListener): Likewise.
1107         (createKeyboardEndListener): Likewise.
1108         (createKeyboardResizeToggleListener): Likewise.
1109         (getDividerBorderSize): Likewise.
1110         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1111         (downKey): Likewise.
1112         (leftKey): Likewise.
1113         (rightKey): Likewise.
1114         (upKey): Likewise.
1115
1116 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1117
1118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1119         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1120         GTK_TEXT_VIEW macro.
1121
1122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1123         (connect_awt_hook_cb): Mark unused variable unused.
1124
1125         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1126         Do the cast right.
1127
1128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1129         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1130         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1131         Remove unused var menu.
1132         (selection_changed): Remove unused value.
1133
1134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1135         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1136         warning with using an intermediate variable.
1137
1138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1139         (area_updated): Fix unused var warning for BE archs.
1140
1141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1142         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1143         var.
1144         (realize_cb): Mark unused variable unused.
1145
1146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1147         (seek_glyphstring_idx): Fix a C90 warning.
1148
1149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1150         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1151         Mark unused arguments unused.
1152
1153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1154         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1155         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1156         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1157         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1158         Likewise.
1159
1160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1161         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1162         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1163         Likewise.
1164
1165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1166         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1167         Likewise.
1168         (filenameFilterCallback): Remove unused var.
1169         (handle_response): Declare str_fileName and remove last else statement.
1170
1171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1172         New File.
1173         (nativeGetNumFontsFamilies) New function.
1174         (nativeGetFontFamilies) Likewise.
1175         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1176         (getAvailableFontFamilyNames): Implement.
1177         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1178         * Makefile.in: Regenerate.
1179
1180 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1181
1182         * gnu/java/awt/peer/ClasspathFontPeer.java
1183         (setStandardAttributes(String,Map)): If size attribute doesn't
1184         exist, default to size 12.  Clamp size value to a minimum of 1.
1185
1186 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1187
1188         * javax/swing/JDialog.java
1189         (decorated): Likewise.
1190         * javax/swing/JFrame.java
1191         (defaultLookAndFeelDecorated): Likewise.
1192
1193 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1194
1195         * javax/swing/plaf/basic/BasicToolBarUI.java
1196         (offset, regular): Made final.
1197         * javax/swing/plaf/basic/BasicScrollBarUI.java
1198         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1199         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1200
1201 2004-11-30  Michael Koch  <konqueror@gmx.de>
1202
1203         * gnu/java/awt/BitwiseXORComposite.java,
1204         gnu/java/awt/ClasspathToolkit.java,
1205         gnu/java/awt/image/XBMDecoder.java,
1206         gnu/java/awt/peer/GLightweightPeer.java,
1207         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1208         Reorganized import statements.
1209
1210 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1211
1212         * java/awt/Button.java
1213         (next_button_number): Removed useless initializer.
1214         * java/awt/Frame.java
1215         (next_frame_number): Likewise.
1216         * java/awt/Panel.java
1217         (next_panel_number): Likewise,
1218         * java/awt/Scrollbar.java
1219         (next_scrollbar_number): Likewise.
1220         * java/awt/TextArea.java
1221         (next_text_number): Likewise.
1222
1223 2004-11-30  Michael Koch  <konqueror@gmx.de>
1224
1225         * java/awt/image/ByteLookupTable.java
1226         (ByteLookupTable) :Fixed HTML entities in javadocs.
1227         (lookupPixel): Fix case when dst is null.
1228         * java/awt/image/ShortLookupTable.java
1229         (ShortLookupTable) :Fixed HTML entities in javadocs.
1230         (lookupPixel): Fix case when dst is null.
1231         * java/awt/image/DataBufferByte.java,
1232         java/awt/image/DataBufferDouble.java,
1233         java/awt/image/DataBufferFloat.java,
1234         java/awt/image/DataBufferInt.java,
1235         java/awt/image/DataBufferShort.java,
1236         java/awt/image/DataBufferUShort.java:
1237         Fix initialization of bankData in constructors.
1238
1239 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1240
1241         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1242         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1243         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1244         requests.
1245         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1246         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1247         (setNativeBounds): Make package private.  Set size request even
1248         if GTK parent is NULL.
1249         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1250         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1251         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1252
1253 2004-11-30  Mark Wielaard  <mark@klomp.org>
1254
1255         Workaround for bug #17952.
1256         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1257         (request_frame_extents): Check window->window != NULL.
1258
1259 2004-11-30  Mark Wielaard  <mark@klomp.org>
1260
1261         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1262
1263 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1264
1265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1266         native_text_layout_state_table here.
1267
1268         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1269
1270 2004-11-30  Mark Wielaard  <mark@klomp.org>
1271
1272         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1273         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1274         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1275
1276 2004-11-30  Michael Koch  <konqueror@gmx.de>
1277
1278         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1279         Merged import statements.
1280
1281 2004-11-30  Michael Koch  <konqueror@gmx.de>
1282
1283         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1284         (isBufferedImageGraphics): Simplified.
1285
1286 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1287
1288         * javax/swing/JTree.java
1289         (isRootVisible): Fixed typo in method name.
1290         * javax/swing/JScrollBar.java
1291         (setValues): Likewise.
1292         * javax/swing/JScrollPane.java
1293         (createScrollListener): Call JScrollBar.setValues.
1294
1295 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1296
1297         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1298         Don't call setParentAndBounds on GtkWindowPeers.
1299
1300         * java/awt/Component.java (static): Don't set default keyboard
1301         focus manager.
1302         * java/awt/KeyboardFocusManager.java
1303         (getCurrentKeyboardFocusManager): If current keyboard focus
1304         manager is null set a default.
1305
1306         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1307         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1308         (gtkWidgetSetBackground): New method.
1309         (block_expose_events_cb): New function.
1310         (connectSignals): Block the AWT's expose event processing on
1311         button press and release.
1312         (gtkSetLabel): Set text on proper widget.
1313         (gtkWidgetModifyFont): Modify font on proper widget.
1314         (gtkWidgetSetBackground): Set normal, active and prelight
1315         colours.
1316         (gtkWidgetSetForeground): Set forground colour of proper widget.
1317         (gtkActivate): Activate the correct widget.
1318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1319         Only clear rectangle if the backing component is not an event
1320         box.
1321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1322         (beginNativeRepaintID): New variable.
1323         (endNativeRepaintID): Likewise.
1324         (gtkInit): Initialize new fields with method IDs.
1325         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1326         (endNativeRepaintID): Likewise.
1327
1328 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1329
1330         * javax/swing/JList.java (init): Revert accidental commit.
1331
1332         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1333         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1334         Call initComponentGraphics or connectSignals depending on
1335         component's realization status.
1336         (realize_cb): New function.
1337         (initComponentGraphics): New method.
1338         (connectSignals): New method.
1339         (clipRect): Return immediately if component is not realized.
1340         (setClip): Likewise.
1341         (translate): Likewise.
1342         (drawImage variants): Return false immediately if component is
1343         not realized.
1344         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1345         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1346         (connectSignals): New method.
1347         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1348         depending on component's realization status.  Move other
1349         initialization calls to ...
1350         (initComponentGraphics2D): New method.
1351         (realize_cb): New function.
1352         (cairoSetMatrix): Return immediately if gr is NULL.
1353         (cairoNewPath): Likewise.
1354         (cairoRectangle): Likewise.
1355         (cairoClip): Likewise.
1356         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1357         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1358         (gtkWidgetRepaintArea): Remove method.
1359         (isRealized): New method.
1360         (GtkComponentPeer): Move setParent, connectJObject and setCursor
1361         calls to setParentAndBounds.  Call setParentAndBounds.
1362         (setParentAndBounds): New method.
1363         (setComponentBounds): Return immediately if bounds are all zero.
1364         (repaint): Remove call to gtkWidgetRepaintArea.  Return
1365         immediately if requested paint region is 0x0.
1366         (setCursor): New method.
1367         (gtkWidgetSetParent): Only set widget's parent if its parent is
1368         currently NULL.
1369         (setNativeBounds): Only set widget's bounds if it has a parent.
1370         (connectSignals): Don't call gtk_widget_realize.  Connect
1371         "realize" signal to connect_awt_hook_cb handler.
1372         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1373         New field.
1374         (beginValidate): Set isValidating true.
1375         (endValidate): Set parents and bounds for children first, then
1376         for this.  Set isValidating false.
1377         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1378         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1379         (connectJObject): Remove method.
1380         (connectSignals): Don't call gtk_widget_realize.
1381         * gnu/java/awt/peer/gtk/GtkListPeer.java,
1382         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1383         (connectJObject): Remove method.
1384         (connectSignals): Don't call gtk_widget_realize.
1385         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1386         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1387         (connectJObject): Remove method.
1388         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1390         (connectJObject): Remove method.
1391         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1393         (create): Don't call gtk_widget_realize.
1394         (connectJObject): Remove method.
1395         (connectSignals): Don't call gtk_widget_realize.  Connect
1396         "realize" signal to connect_awt_hook_cb handler.
1397         (nativeSetBounds): Don't attempt to move GDK window if it is
1398         NULL.
1399         * java/awt/Container.java (addImpl): Don't call comp.addNotify
1400         if peer is not null.
1401         (validateTree): Create peers for all children before calling
1402         doLayout.
1403         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1404         (connectSignals): Don't call gtk_widget_realize.
1405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1406         (connect_awt_hook_cb): New function.
1407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1408         (initComponentGraphicsID): New variable.
1409         (initComponentGraphics2DID): Likewise.
1410         (setCursorID): Likewise.
1411         (gtkInit): Initialize new fields with method IDs.
1412         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1413         extern.
1414         (initComponentGraphics2DID): Declare extern.
1415         (setCursorID): Likewise.
1416         (connect_awt_hook_cb): Declare function.
1417
1418 2004-11-30  Michael Koch  <konqueror@gmx.de>
1419
1420         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1421         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1422         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1423         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1424         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1425         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1426         gnu/java/awt/peer/gtk/GtkClipboard.java,
1427         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1428         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1429         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1430         gnu/java/awt/peer/gtk/GtkListPeer.java,
1431         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1432         gnu/java/awt/peer/gtk/GtkToolkit.java,
1433         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1434         Import statements reworked.  Some little reformattings.
1435
1436 2004-11-30  Michael Koch  <konqueror@gmx.de>
1437
1438         * java/awt/image/AffineTransformOp.java
1439         (TYPE_BILINEAR): Initialize with 2.
1440         * java/awt/print/Printable.java: Jalopied.
1441         (PAGE_EXISTS): Initialize with 0;
1442         (NO_SUCH_PAGE): Initialized with 1.
1443
1444 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1445
1446         * Makefile.am: Add BufferedImageFilter.java.
1447         * Makefile.in: Regenerate.
1448
1449 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1450
1451         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1452         (install_font_peer): Minor bug fixes to track cairo font semantics.
1453
1454 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1455
1456         * java/awt/image/BufferedImageFilter.java: Implement.
1457
1458 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1459
1460         * Makefile.am
1461         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1462         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1463         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1464         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1465         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1466         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1467         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1468         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1469         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1470         * Makefile.in: Regenerate.
1471         * gnu/awt/xlib/XToolkit.java
1472         (getClasspathTextLayoutPeer): Add stub.
1473         * gnu/java/awt/ClasspathToolkit.java
1474         (getClasspathTextLayoutPeer) Add.
1475         * gnu/java/awt/peer/ClasspathFontPeer.java
1476         (copyStyleToAttrs)
1477         (copySizeToAttrs): Make public.
1478         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1479         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1480         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1481         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1482         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1483         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1484         * gnu/java/awt/peer/gtk/GdkGraphics.java
1485         (getFontPeer): New function.
1486         (drawString): Pass font peer to native side.
1487         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1488         (cairoSetFont)
1489         (cairoShowGlyphs)
1490         (PainterThread): Remove.
1491         (GdkGraphics2D): Set hints during construction.
1492         (shifted)
1493         (walkPath)
1494         (draw)
1495         (setRenderingHint)
1496         (setRenderingHints): Reimplement normalization logic.
1497         (getDefaultHints)
1498         (updateBufferedImage)
1499         (isBufferedImageGraphics)
1500         (updateImagePixels)
1501         (drawImage): Make final.
1502         (drawImage): Always paint synchronously.
1503         (drawString)
1504         (drawGlyphVector): Rewrite.
1505         (releasePeerGraphicResource)
1506         (getPeerTextMetrics)
1507         (getPeerFontMetrics)
1508         (drawGdkGlyphVector)
1509         (drawGdkTextLayout)
1510         (cairoDrawGdkGlyphVector)
1511         (cairoDrawGdkTextLayout)
1512         (cairoDrawString)
1513         (getFontPeer): New functions.
1514         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1515         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1516         (getFontMetrics): Get metrics via toolkit, to hit cache.
1517         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1518         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1519         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1520         (fontCache)
1521         (metricsCache)
1522         (imageCache): New members.
1523         (getFontMetrics)
1524         (getImage)
1525         (getClasspathFontPeer): Use caches.
1526         (getFontPeer): Route through getClasspathFontPeer.
1527         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1528         * java/awt/font/TextLayout.java: Implement in terms of peer.
1529         * javax/swing/plaf/basic/BasicSliderUI.java
1530         (paintThumb): Use polyline rather than polygon.
1531         * javax/swing/plaf/basic/BasicGraphicsUtils.java:
1532         Update comment but, alas, still do not switch to using TextLayouts.
1533         * javax/swing/text/Utilities.java (drawTabbedText):
1534         Draw text run-at-a-time, not char-at-a-time.
1535         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1536         layout table.
1537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1539         Remove files.
1540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1541         incorporate brains of old GdkClasspathFontPeerMetrics.
1542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1543         incorporate brains of old GdkClasspathFontPeer.
1544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1546         (drawString): Rewrite to use persistent layout in peer font.
1547         Comment out extraneous gdk_flush calls.
1548         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1549         (metrics_cairo)
1550         (metrics_surface): New static variables.
1551         (paint_glyph_run)
1552         (install_font_peer): New helper functions.
1553         (releasePeerGraphicResource)
1554         (getPeerTextMetrics)
1555         (getPeerFontMetrics)
1556         (cairoDrawGdkTextLayout)
1557         (cairoDrawGdkGlyphVector): New native methods.
1558         (cairoDrawString): Rewrite, leaving layout-based version
1559         commented out for the time being.
1560         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1561
1562 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1563
1564         * java/awt/geom/AffineTransform.java:
1565         Fixed javadocs overall.
1566
1567 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1568
1569         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1570         it's correct.
1571
1572 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1573
1574         * java/awt/image/IndexColorModel.java: Fix use of immutable
1575         BigIntegers.
1576
1577 2004-11-30  Tom Tromey  <tromey@redhat.com>
1578
1579         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1580         Renamed from 'messageIcon'.
1581         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1582
1583 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1584
1585         * java/awt/image/RescaleOp.java: Fix formatting.
1586
1587 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1588
1589         * javax/swing/plaf/basic/BasicComboPopup.java
1590         (SCROLL_DOWN): made final.
1591         (SCROLL_UP): made final.
1592
1593 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1594
1595         * javax/swing/plaf/basic/BasicComboPopup.java:
1596         Added javadocs for undocumented fields.
1597         (show): scroll down to the selected item and
1598         highlight selected item.
1599         (startAutoScrolling): Implemented.
1600         (stopAutoScrolling): Implemented.
1601         (autoScrollUp): Implemented.
1602         (autoScrollDown): Implemented.
1603         (InvocationMouseHandler.mouseReleased): Implemented.
1604         (InvocationMouseMotionHandler.mouseDragged): Implemented.
1605
1606 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1607
1608         * java/awt/image/RescaleOp.java: Implement.
1609
1610 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1611
1612         * java/awt/image/IndexColorModel.java (getRGBs,
1613         convertToIntDiscrete): Implement.
1614
1615 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1616
1617         * java/awt/image/IndexColorModel.java: Add class docs.
1618
1619 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1620
1621         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1622         Implement.
1623
1624 2004-11-30  Michael Koch  <konqueror@gmx.de>
1625
1626         * java/awt/MenuBar.java,
1627         java/awt/peer/MenuBarPeer.java:
1628         Revert accidentally commited changes.
1629
1630 2004-11-30  Michael Koch  <konqueror@gmx.de>
1631
1632         * java/awt/AWTKeyStroke.java,
1633         java/awt/Canvas.java,
1634         java/awt/CardLayout.java,
1635         java/awt/CheckboxMenuItem.java,
1636         java/awt/Component.java,
1637         java/awt/Container.java,
1638         java/awt/DefaultKeyboardFocusManager.java,
1639         java/awt/EventDispatchThread.java,
1640         java/awt/FileDialog.java,
1641         java/awt/FlowLayout.java,
1642         java/awt/Font.java,
1643         java/awt/Frame.java,
1644         java/awt/Graphics2D.java,
1645         java/awt/GraphicsEnvironment.java,
1646         java/awt/GridBagConstraints.java,
1647         java/awt/GridBagLayout.java,
1648         java/awt/GridLayout.java,
1649         java/awt/Image.java,
1650         java/awt/KeyboardFocusManager.java,
1651         java/awt/Label.java,
1652         java/awt/List.java,
1653         java/awt/MediaTracker.java,
1654         java/awt/Menu.java,
1655         java/awt/MenuBar.java,
1656         java/awt/MenuComponent.java,
1657         java/awt/Panel.java,
1658         java/awt/PopupMenu.java,
1659         java/awt/ScrollPane.java,
1660         java/awt/Scrollbar.java,
1661         java/awt/SystemColor.java,
1662         java/awt/TextArea.java,
1663         java/awt/TextField.java,
1664         java/awt/Toolkit.java,
1665         java/awt/Window.java,
1666         java/awt/color/ICC_Profile.java,
1667         java/awt/datatransfer/DataFlavor.java,
1668         java/awt/datatransfer/StringSelection.java,
1669         java/awt/datatransfer/SystemFlavorMap.java,
1670         java/awt/dnd/Autoscroll.java,
1671         java/awt/dnd/DropTarget.java,
1672         java/awt/dnd/DropTargetContext.java,
1673         java/awt/dnd/DropTargetDragEvent.java,
1674         java/awt/dnd/peer/DropTargetContextPeer.java,
1675         java/awt/event/AdjustmentEvent.java,
1676         java/awt/event/InputEvent.java,
1677         java/awt/event/InvocationEvent.java,
1678         java/awt/event/KeyEvent.java,
1679         java/awt/event/MouseEvent.java,
1680         java/awt/font/TextLayout.java,
1681         java/awt/geom/GeneralPath.java,
1682         java/awt/geom/Point2D.java,
1683         java/awt/im/InputContext.java,
1684         java/awt/im/spi/InputMethodContext.java,
1685         java/awt/image/AffineTransformOp.java,
1686         java/awt/image/BufferedImage.java,
1687         java/awt/image/ColorModel.java,
1688         java/awt/image/ComponentColorModel.java,
1689         java/awt/image/CropImageFilter.java,
1690         java/awt/image/DirectColorModel.java,
1691         java/awt/image/MemoryImageSource.java,
1692         java/awt/image/PackedColorModel.java,
1693         java/awt/image/PixelGrabber.java,
1694         java/awt/image/RasterOp.java,
1695         java/awt/peer/MenuBarPeer.java:
1696         Some fixes for checkstyle. Import statement and modifier order
1697         redordering.
1698
1699 2004-11-30  Michael Koch  <konqueror@gmx.de>
1700
1701         * javax/swing/JTable.java
1702         (setModel): Reimplemented.
1703
1704 2004-11-30  Michael Koch  <konqueror@gmx.de>
1705
1706         * javax/swing/JTextArea.java
1707         (append): Re-implemented.
1708         (insert): Likewise.
1709
1710 2004-11-30  Michael Koch  <konqueror@gmx.de>
1711
1712         * javax/swing/JSpinner.java
1713         (serialVersionUID): New static field.
1714         * javax/swing/JToggleButton.java
1715         (JToggleButton): Fixed email addresses.
1716         * javax/swing/SpinnerNumberModel.java
1717         (serialVersionUID): Added javadoc.
1718
1719 2004-11-30  Michael Koch  <konqueror@gmx.de>
1720
1721         * javax/swing/JTextArea.java:
1722         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1723         bug here which is fixed in HEAD ...
1724
1725 2004-11-30  Andrew John Hughes  <address@hidden>
1726
1727         * javax/swing/JTextArea.java: Added additional
1728         documentation.
1729
1730 2004-11-30  Andrew John Hughes  <address@hidden>
1731
1732         * javax/swing/JRadioButton.java:
1733         Implemented additional constructors and accessibility
1734         classes.  Added documentation and fixed a typo in
1735         AbstractButton.
1736
1737 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1738
1739         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1740         missing constructor.
1741
1742 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1743
1744         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1745         Implement missing 1.4 constructor.
1746
1747 2004-11-30  Andrew John Hughes  <address@hidden>
1748
1749         * javax/swing/JToggleButton.java:
1750         Implemented additional constructors and accessibility
1751         classes.  Added documentation and fixed a typo in
1752         AbstractButton.
1753
1754 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1755
1756         * java/awt/image/ColorModel.java (getDataElement,
1757         getDataElements): Document since 1.4.
1758
1759 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1760
1761         * java/awt/image/BandedSampleModel.java: Implement.
1762         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1763         * Makefile.in: Regenerated.
1764
1765 2004-11-30  Michael Koch  <konqueror@gmx.de>
1766
1767         * java/awt/Window.java: Fixed whitespace difference with GNU
1768         classpath.
1769
1770 2004-11-30  Mark Wielaard  <mark@klomp.org>
1771
1772         * Makefile.am: Add javax/swing/SpinnerListModel.java.
1773         * Makefile.in: Regenerated.
1774
1775 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1776
1777         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1778         Implemented SpinnerListModel.  Added documentation to
1779         SpinnerModel.
1780
1781 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1782
1783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1784         (init_dpi_conversion_factor): Apply the patch from main correctly.
1785         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1786
1787 2004-11-30  Tom Tromey  <tromey@redhat.com>
1788
1789         Bug 9948.
1790         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1791         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1792         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1793         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
1794
1795 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1796
1797         * java/awt/Canvas.java
1798         (AccessibleAWTCanvas): added serialization UID
1799         * java/awt/Label.java
1800         (AccessibleAWTLabel): added serialization UID
1801         * javax/swing/JRootPane.java
1802         (AccessibleJRootPane): added comment to existing UID
1803         * javax/swing/JSpinner.java
1804         (DefaultEditor): added serialization UID
1805         (NumberEditor): added serialization UID
1806         * javax/swing/text/html/HTML.java
1807         (UnknownTag): added serialization UID
1808
1809 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1810
1811         * javax/swing/JInternalFrame.java
1812         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
1813         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
1814         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
1815         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
1816         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1817         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
1818         Made final as per API spec.
1819
1820 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1821
1822         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
1823
1824 2004-11-30  Sven de Marothy  <sven@physto.se>
1825
1826         * java/awt/geom/Arc2D.java: Reformatted.
1827         (setArc): Correct documentation to say 'upper left corner'.
1828         (setArcByTangent,contains,intersects): Implemented.
1829         (containsAngle): Corrected to handle negative extents.
1830         (ArcIterator): Set to private.
1831         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
1832         (intersects): Fix: Now checks the arc segment.
1833         (contains): Cleaned up.
1834         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
1835         (contains): Implemented.
1836         (intersects): Implemented.
1837         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
1838         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
1839         document.  Fully (re)implemented using separate xpoints and ypoints
1840         float[] coords.
1841
1842 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1843
1844         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1845         * configure: Regenerate.
1846         * include/config.h.in: Likewise.
1847         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1848         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1849         macro to gtkpeer.h.
1850         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1851         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1852         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1853         architectures.
1854         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1855         Likewise.
1856
1857 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1858
1859         * java/awt/SystemColor.java: Fix @link doc entries.
1860
1861 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1862
1863         * java/awt/RenderingHints.java: Documented.
1864         (RenderingHints): Accept null init Map.
1865         (putAll): Preprocess map to generate appropriate exceptions.
1866         (remove): Cast object to Key and remove from hintMap.
1867
1868 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1869
1870         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
1871         Implementation of accessibility classes and methods
1872         for these two components.
1873
1874 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1875
1876         * java/awt/KeyboardFocusManager.java:
1877         Added missing documentation.
1878
1879 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
1880
1881         * java/awt/Label.java, java/awt/Canvas.java:
1882         Added accessibility classes to AWT Label and Canvas,
1883         as well as additional documentation for Canvas.
1884
1885 2004-11-30  David Gilbert  <address@bogus.example.com>
1886
1887         * java/awt/image/DataBuffer.java: Update API documentation.
1888         * java/awt/image/DataBufferByte.java: Likewise.
1889         * java/awt/image/DataBufferDouble.java: Likewise.
1890         * java/awt/image/DataBufferFloat.java: Likewise.
1891         * java/awt/image/DataBufferInt.java: Likewise.
1892         * java/awt/image/DataBufferShort.java: Likewise.
1893         * java/awt/image/DataBufferUShort.java: Likewise.
1894
1895 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
1896
1897         * java/awt/Component.java (postEvent):
1898         Only delegate to parent if a parent exists.
1899         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
1900
1901 2004-11-30  Sven de Marothy  <sven@physto.se>
1902
1903         *java/awt/AWTEventMulticaster.java,
1904         java/awt/Adjustable.java,
1905         java/awt/Point.java,
1906         java/awt/Polygon.java,
1907         java/awt/Rectangle.java,
1908         java/awt/Shape.java,
1909         java/awt/geom/Area.java,
1910         java/awt/geom/Ellipse2D.java,
1911         java/awt/geom/PathIterator.java,
1912         java/awt/geom/Point2D.java,
1913         java/awt/geom/Rectangle2D.java,
1914         java/lang/Comparable.java,
1915         java/util/Arrays.java:
1916         Fixed documentation errors
1917
1918 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1919
1920         * java/awt/image/ComponentSampleModel.java: Add documentation.
1921
1922
1923 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1924
1925         * java/awt/image/ComponentSampleModel.java (constructor):
1926         Initialize numBanks when figuring out the max bank index.
1927
1928 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1929
1930         * java/awt/image/Raster.java (createPackedRaster): Implement
1931         MultiPixelPackedSampleModel codepath.
1932
1933 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1934
1935         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
1936         * Makefile.am: Add MultiPixelPackedSampleModel.java.
1937         * Makefile.in: Regenerate.
1938
1939 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1940
1941         * java/awt/image/Raster.java (getNumBands): Implement.
1942
1943 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1944
1945         * java/awt/image/Raster.java
1946         (createPackedRaster(int,int,int,int,int,Point)): Implement for
1947         bands>1.
1948
1949 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1950
1951         * java/awt/image/SinglePixelPackedSampleModel.java
1952         (SinglePixelPackedSampleModel): Throw exception for unsupported
1953         datatype.
1954
1955 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1956
1957         * java/awt/image/ColorModel.java (getDataElement): Implemented.
1958         Update javadoc.
1959         (getDataElements): Add missing version.  Remove bogus version.
1960         Update javadoc.
1961
1962 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
1963
1964         * javax/swing/plaf/basic/BasicComboBoxUI.java:
1965         (paintCurrentValue): Pass correct parameters to
1966         getListCellRendererComponent().
1967         (ListDataHandler.intervalRemoved): Implemented.
1968         (PropertyChangeHandler.propertyChange): Handle changes in
1969         MODEL_CHANGED_PROPERTY of the JComboBox
1970         * javax/swing/plaf/basic/BasicComboPopup.java:
1971         (BasicComboPopup): Moved code that configures popup to
1972         configurePopup() and call it instead.
1973         (firePopupMenuWillBecomeVisible): Implemented.
1974         (firePopupMenuWillBecomeInvisible): Likewise.
1975         (firePopupMenuCanceled): Likewise.
1976         (configureList): Set list's visibleRowCount same as
1977         comboBox's visibleRowCount.
1978         (configurePopup): Implemented.
1979         (getPopupHeightForRowCount): Get item's from JComboBox's model and
1980         not from model of the JList.
1981         (ListMouseMotionHandler.mouseMoved): Implemented.
1982         (PropertyChangeHandler.propertyChange): Handles change in the
1983         JComboBox's model.
1984
1985 2004-11-30  Michael Koch  <konqueror@gmx.de>
1986
1987         * javax/swing/JComponent.java
1988         (isMaximumSizeSet): New method.
1989         (isMinimumSizeSet): Likewise.
1990         (isPreferredSizeSet): Likewise.
1991
1992 2004-11-30  Michael Koch  <konqueror@gmx.de>
1993
1994         * javax/swing/JSpinner.java:
1995         Some Re-formatting.
1996         (spinner): New field.
1997         (DefaultEditor): New method.
1998         (getSpinner): Likewise.
1999         (NumberEdito): Likewise.
2000         (getModel): Likewise
2001
2002 2004-11-30  Michael Koch  <konqueror@gmx.de>
2003
2004         * javax/swing/InputVerifier.java:
2005         Re-formatted.
2006         * javax/swing/JComponent.java
2007         (inputVerifier): New property field.
2008         (getInputVerifier): New method.
2009         (setInputVerifier): Likewise.
2010
2011 2004-11-30  Michael Koch  <konqueror@gmx.de>
2012
2013         * javax/swing/JComponent.java
2014         (JComponent): Added javadoc comment.
2015         (setBorder): Fire property change eventr.
2016         (setEnabled): Likewise.
2017         (setMaximumSize): Likewise.
2018         (setMinimumSize): Likewise.
2019         (setPreferredSize): Likewise.
2020         (setOpaque): Likewise.
2021
2022 2004-11-30  Michael Koch  <konqueror@gmx.de>
2023
2024         * javax/swing/JTextField.java
2025         (action): New field.
2026         (actionCommand): Likewise.
2027         (actionPropertyChangeListener): Likewise.
2028         (setHorizontalAlignment): Abort soon if new value == old value. Fire
2029         event before repainting.
2030         (postActionEvent): New method.
2031         (getAction): Likewise.
2032         (setAction): Likewise.
2033         (getActionCommand): Likewise.
2034         (setActionCommand): Likewise.
2035         (createActionPropertyChangeListener): Likewise.
2036         (configurePropertiesFromAction): Likewise.
2037
2038 2004-11-30  Michael Koch  <konqueror@gmx.de>
2039
2040         * javax/swing/DebugGraphics.java:
2041         Re-formatted. Fixed some javadocs.
2042         * javax/swing/JApplet.java
2043         (rootPaneCheckingEnabled): Renamed from checking.
2044         * javax/swing/JCheckBox.java
2045         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2046         * javax/swing/JFrame.java:
2047         Re-formatted a bit and reordered some methods.
2048         (rootPaneCheckingEnabled): Renamed from checking.
2049         (getPreferredSize): Simplified.
2050         * javax/swing/JTextArea.java
2051         (getColumnWidth): New method.
2052         (getLineCount): Likewise.
2053         (getLineStartOffset): Likewise.
2054         (getLineEndOffset): Likewise.
2055         (getLineOfOffset): Likewise.
2056         (getRowHeight): Likewise.
2057         (insert): Likewise.
2058         (replaceRange): Likewise.
2059         * javax/swing/JTextField.java
2060         (scrollOffset): new field.
2061         (getScrollOffset): New method.
2062         (setScrollOffset): Likewise.
2063         (getColumnWidth): Likewise.
2064         * javax/swing/JTree.java
2065         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2066         (CELL_EDITOR_PROPERTY): Likewise.
2067         (CELL_RENDERER_PROPERTY): Likewise.
2068         (EDITABLE_PROPERTY): Likewise.
2069         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2070         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2071         (LARGE_MODEL_PROPERTY): Likewise.
2072         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2073         (ROOT_VISIBLE_PROPERTY): Likewise.
2074         (ROW_HEIGHT_PROPERTY): Likewise.
2075         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2076         (SELECTION_MODEL_PROPERTY): Likewise.
2077         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2078         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2079         (TREE_MODEL_PROPERTY): Likewise.
2080         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2081         (cellEditor): New field.
2082         (invokesStopCellEditing): Likewise.
2083         (largeModel): Likewise.
2084         (rowHeight): Likewise.
2085         (scrollsOnExpand): Likewise.
2086         (selectionModel): Likewise.
2087         (toggleClickCount): Likewise.
2088         (visibleRowCount): Likewise.
2089         (setShowsRootHandles): Fixed typo in method name.
2090         (getCellEditor): New method.
2091         (setCellEditor): Likewise.
2092         (getSelectionModel): Likewise.
2093         (setSelectionModel): Likewise.
2094         (getVisibleRowCount): Likewise.
2095         (setVisibleRowCount): Likewise.
2096         (isLargeModel): Likewise.
2097         (setLargeModel): Likewise.
2098         (getRowHeight): Likewise.
2099         (setRowHeight): Likewise.
2100         (getInvokesStopCellEditing): Likewise.
2101         (setInvokesStopCellEditing): Likewise.
2102         (getToggleClickCount): Likewise.
2103         (setToggleClickCount): Likewise.
2104         (getScrollsOnExpand): Likewise.
2105         (setScrollsOnExpand): Likewise.
2106         * javax/swing/table/DefaultTableColumnModel.java
2107         (addColumnModelListener): Fixed javadoc.
2108         (removeColumnModelListener): Implemented. Fixed javadoc.
2109         (getColumnModelListeners): New method.
2110         * javax/swing/table/JTableHeader.java
2111         (columnModel): Made protected.
2112         (draggedColumn): Likewise.
2113         (draggedDistance): Likewise.
2114         (reorderingAllowed): Likewise.
2115         (resizingAllowed): Likewise.
2116         (resizingColumn): Likewise.
2117         (table): Likewise.
2118         (updateTableInRealTime): Likewise.
2119         (createDefaultColumnModel): Renamed from
2120         createDefaultTableColumnModel.
2121         (setDefaultRenderer): New method.
2122         * javax/swing/table/TableColumn.java
2123         (getPropertyChangeListeners): New method.
2124         * javax/swing/text/DefaultHighlighter.java
2125         (drawsLayeredHighlights): New field.
2126         (getDrawsLayeredHighlights): New method.
2127         (setDrawsLayeredHighlights): Likewise.
2128         * javax/swing/text/DocumentFilter.java
2129         (FilterBypass): New inner class.
2130         (insertString): New method.
2131         (remove): Likewise.
2132         (replace): Likewise.
2133         * javax/swing/text/JTextComponent.java
2134         (dragEnabled): New field.
2135         (getSelectedText): New method.
2136         (getDragEnabled): Likewise.
2137         (setDragEnabled): Likewise.
2138         (replaceSelection): Reimplemented.
2139         * javax/swing/text/NavigationFilter.java
2140         (FilterBypass): New inner class.
2141         (NavigationFilter): New method.
2142         (moveDot): Likewise.
2143         (setDot): Likewise.
2144         * javax/swing/text/SimpleAttributeSet.java
2145         (EMPTY): Made public final.
2146
2147 2004-11-30  Michael Koch  <konqueror@gmx.de>
2148
2149         * javax/swing/SpinnerNumberModel.java
2150         (getMinimum): New method.
2151         (setMinimum): Likewise.
2152         (getMaximum): Likewise.
2153         (setMaximum): Likewise.
2154         (getStepSize): Likewise.
2155         (setStepSize): Likewise.
2156
2157 2004-11-30  Michael Koch  <konqueror@gmx.de>
2158
2159         * javax/swing/JMenu.java
2160         (getMenuListeners): New method.
2161         (fireMenuSelected): Simplified.
2162         * javax/swing/JRootPane.java
2163         (NONE): New static field.
2164         (FRAME): Likewise.
2165         (PLAIN_DIALOG): Likewise.
2166         (INFORMATION_DIALOG): Likewise.
2167         (ERROR_DIALOG): Likewise.
2168         (COLOR_CHOOSER_DIALOG): Likewise.
2169         (FILE_CHOOSER_DIALOG): Likewise.
2170         (QUESTION_DIALOG): Likewise.
2171         (WARNING_DIALOG): Likewise.
2172         (defaultButton): New field.
2173         (getDefaultButton): New method.
2174         (setDefaultButton): Likewise.
2175         * javax/swing/JScrollPane.java
2176         (getUI): New method.
2177         (setUI): Likewise.
2178         * javax/swing/JTable.java
2179         (getUI): Javadoc added.
2180         (setUI): New method.
2181         * javax/swing/JViewport.java
2182         (getUI): New method.
2183         (setUI): Likewise.
2184         * javax/swing/UIDefaults.java
2185         (removePropertyChangeListener): Made public.
2186
2187 2004-11-30  Michael Koch  <konqueror@gmx.de>
2188
2189         * javax/swing/JApplet.java, javax/swing/JFrame.java:
2190         Re-indented.
2191
2192 2004-11-30  Michael Koch  <konqueror@gmx.de>
2193
2194         * javax/swing/AbstractButton.java:
2195         Little re-formatting.
2196         (changeEvent): Made protected.
2197         (fireStateChanged): Removed argument.
2198         (setHorizontalAlignment): Abort method when old value is equal too new
2199         value.
2200         (setHorizontalTextPosition): Likewise.
2201         (setVerticalAlignment): Likewise.
2202         (setVerticalTextPosition): Likewise.
2203         (setBorderPainted): Likewise.
2204         (setIcon): Likewise.
2205         (setText): Likewise.
2206         (setIconTextGap): Likewise.
2207         (setMargin): Likewise.
2208         (setPressedIcon): Likewise.
2209         (setFocusPainted): Likewise.
2210         (setDisabledSelectedIcon): Likewise.
2211         (setRolloverIcon): Likewise.
2212         (setRolloverSelectedIcon): Likewise.
2213         (setSelectedIcon): Likewise.
2214         (setContentAreaFilled): Likewise.
2215
2216 2004-11-30  Kim Ho  <kho@redhat.com>
2217
2218         * javax/swing/plaf/basic/BasicArrowButton.java:
2219         Jalopy. Reimplement.
2220         * javax/swing/plaf/basic/BasicScrollBarUI.java:
2221         Jalopy.
2222         (arrowIcon, upIcon, downIcon, leftIcon,
2223         rightIcon): Removed.
2224         (createIncreaseButton): Use BasicArrowButton.
2225         (createDecreaseButton): Ditto.
2226         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2227         (createRightOneTouchButton): Remove button border.
2228         (createLeftOneTouchButton): Ditto.
2229
2230 2004-11-30  Michael Koch  <konqueror@gmx.de>
2231
2232         * javax/swing/JSpinner.java
2233         (setModel): New method.
2234         * javax/swing/SpringLayout.java
2235         (Constraints): May not be final.
2236
2237 2004-11-30  Michael Koch  <konqueror@gmx.de>
2238
2239         * gnu/java/awt/peer/gtk/GtkClipboard.java,
2240         java/awt/datatransfer/Clipboard.java,
2241         java/awt/datatransfer/ClipboardOwner.java:
2242         Reformated to make it use our coding standard.
2243
2244 2004-11-30  Michael Koch  <konqueror@gmx.de>
2245
2246         * javax/swing/SpinnerNumberModel.java
2247         (SpinnerNumberModel): Implements java.io.Serializable.
2248         (serialVersionUID): New field.
2249         (SpinnerNumberModel): Added missing @throws tags to javadocs.
2250         * javax/swing/UIManager.java
2251         (get): New method.
2252         (getBoolean): Likewise.
2253         (getBorder): Likewise.
2254         (getColor): Likewise.
2255         (getDimension): Likewise.
2256         (getFont): Likewise.
2257         (getIcon): Likewise.
2258         (getInsets): Likewise.
2259         (getInt): Likewise.
2260         (getString): Likewise.
2261
2262 2004-11-30  Michael Koch  <konqueror@gmx.de>
2263
2264         * javax/swing/JPasswordField.java:
2265         Reformated. Implemented construtors.
2266         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2267         (create): New method.
2268         * javax/swing/text/PlainView.java
2269         (selectedColor): Made package-private to allow access from sub-classes
2270         in same package too.
2271         (unselectedColor): Likewise.
2272         (font): Likewise.
2273         (drawSelectedText): Make protected.
2274         (drawUnselectedText): Likewise.
2275         * javax/swing/text/PasswordView.java: New file.
2276         * Makefile.am: Added javax/swing/text/PasswordView.java.
2277         * Makefile.in: Regenerated.
2278
2279 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2280
2281         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2282         bar's width.
2283         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2284         Add FIXME comment.
2285         (addHelpMenu): Elide call to nativeSetHelpMenu.
2286         * java/awt/Menu.java (isTearOff): Rename to tearOff.
2287         (menuSerializedDataVersion): Initialize to 1.
2288         (separatorLabel): Mark transient.
2289         (insert(MenuItem,int)): Implement.
2290         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2291         peer.
2292         (countMenus): Count help menu.
2293         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2294         accessibleContext): Add fields.
2295         * java/awt/MenuItem.java: Remove event mask FIXME.
2296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2297         (gtkWidgetModifyFont): Only set font if label is non-NULL.
2298         (setLabel): Don't treat "-" specially.
2299
2300 2004-11-30  Kim Ho  <kho@redhat.com>
2301
2302         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2303         (stateChanged): Only update the image and the track if
2304         the values are not being adjusted.
2305         (updateChooser): Grab the new mouse point from the
2306         spinner values. Update the image and track only if
2307         the values are not being adjusted.
2308         (getHSBValues): New method.
2309         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2310         (SliderHandler::stateChanged): Changed internalChange
2311         to updateChange. Set sliderChange.
2312         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2313         (spinnerChange): New variable.
2314         (sliderChange): Ditto.
2315         (updateChange): Renamed from internalChange.
2316         (updateChooser): Do not update sliders if the sliders
2317         were the original source of the change. Ditto for spinners.
2318         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2319         (mousePress): Don't scroll the JViewport if there will
2320         be extra space at the end of the run. Change layout() to
2321         revalidate().
2322         (calculateSize): Use the component's width/height unless
2323         it is smaller than the max tab width/height.
2324         (calculateTabRects): Subtract the tab run overlay.
2325         (rotateTabRuns): Don't rotate if there's only one run.
2326         (layoutContainer): Reuse the viewport point.
2327         (createLayoutManager): Set the viewport to use no layout.
2328         (paintTabArea): Don't paint the tabs that are not visible
2329         to the JViewport.
2330         (paintContentBorderTopEdge): Check for scroll tab layout before
2331         looking for gap.
2332         (paintContentBorderLeftEdge): Ditto.
2333         (paintContentBorderBottomEdge): Ditto.
2334         (paintContentBorderRightEdge): Ditto.
2335
2336 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2337
2338         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2339         Rename ...
2340         (gtkWidgetModifyFont): New method.
2341         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2343         (setMenuBarWidth): New method.
2344         (setBounds): Set the menu bar width.
2345         (postConfigureEvent): Set the menu bar width if the window's
2346         width has changed.
2347         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2348         Don't call create.
2349         (setFont): New method.
2350         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2351         method.
2352         (setFont): Likewise.
2353         (GtkMenuComponentPeer): Call create and setFont.
2354         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2355         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2356         (connectSignals): Make package private.
2357         (gtkWidgetModifyFont): New method.
2358         (create): Likewise.
2359         (GtkMenuItemPeer): Don't call create.
2360         (setFont): New method.
2361         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2362         condition.
2363         * java/awt/Container.java (validateTree): Fix comment typos.
2364         * java/awt/MenuComponent.java (getFont): Return parent's font if
2365         our font is null.
2366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2367         (create): Remove call to deprecated
2368         gtk_check_menu_item_set_show_toggle function.
2369
2370 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
2371
2372         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2373         (Almost everywhere): add LOG calls, fix, add comments.
2374         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2375         Add explicit check for LOCKED bit in slow case (PR 16662).
2376         (_Jv_MonitorExit): Add casts in debug-only code.
2377         Always release LOCKED bit before throwing exception.
2378         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2379         isn't.  Handle easy cases without lock acquisition.
2380         (Object::wait): Use NotifyAll for lock inflation.
2381
2382 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2383
2384         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2386         (gtkFixedMove): Remove method.
2387
2388 2004-11-30  Sven de Marothy  <sven@physto.se>
2389
2390         * java/awt/geom/Area.java: Implemented.
2391
2392 2004-11-30  Mark Wielaard  <mark@klomp.org>
2393
2394         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2395
2396 2004-11-30 Sven de Marothy <sven@physto.se>
2397
2398         * java/awt/geom/Arc2D.java
2399         Reformatted.
2400         (setArc): Correct documentation to say 'upper left corner'.
2401         (setArcByTangent,contains,intersects): Implemented.
2402         (containsAngle): Corrected to handle negative extents.
2403         (ArcIterator): Set to private.
2404         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2405         * java/awt/geom/Ellipse2D.java
2406         Documented.
2407         (contains,intersects): Implemented.
2408         * java/awt/geom/Line2D.java
2409         (linesIntersect): Correct handling of special cases.
2410
2411 2004-11-30  Mark Wielaard  <mark@klomp.org>
2412
2413         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2414         Color.BLACK if c == null, don't create new Color object each time.
2415         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2416         field.
2417         (setColor): Use Color.BLACK when argument null.
2418         (setComposite): Set this.comp field.
2419         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2420         (DrawState.comp): New private field.
2421         (DrawState.save): Save Composite.
2422         (DrawState.restore): Restore comp field.
2423         * java/awt/FontMetrics.java (gRC): New static final private field.
2424         (getLineMetrics(String, Graphics)): New method.
2425         (getLineMetrics(String, int, int, Graphics)): Likewise.
2426         (getLineMetrics(char[], int, int, Graphics)): Likewise.
2427         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2428         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2429         argument. PR SWING/17294.
2430         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2431         the fall-back code since none of the TextArea methods are really
2432         implemented now. PR SWING/17296.
2433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2434         (GdkGlyphVector_setChars): Replace assert() with if block when
2435         pango_itemize() returns null. PR AWT/17295.
2436         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2437
2438 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2439
2440         * Makefile.am (gtk_c_source_files): Add
2441         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2442         * Makefile.in: Regenerate.
2443         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2444         comment.
2445         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2446         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2447         (create): Pack GtkButton in GtkEventBox.
2448         (connectJObject): Remove.
2449         (focus_in_cb): New function.
2450         (focus_out_cb): Likewise.
2451         (connectSignals): Connect focus-in-event and focus-out-event
2452         signals.
2453         (gtkSetFont): Rename to ...
2454         (gtkWidgetModifyFont): New method.
2455         (gtkWidgetRequestFocus): New method.
2456         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2457         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2458         (gtkSetFont): Rename to ...
2459         (gtkWidgetModifyFont): New method.
2460         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2461         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2462         (isInRepaint): New field.
2463         (gtkSetFont): Remove method.
2464         (addExposeFilter): Likewise.
2465         (removeExposeFilter): Likewise.
2466         (gtkWidgetQueueDrawArea): Rename to ...
2467         (gtkWidgetRepaintArea): New method.
2468         (beginNativeRepaint): New method.
2469         (endNativeRepaint): New method.
2470         (setComponentBounds): Move implementation here from
2471         GtkComponentPeer.
2472         (paint): Remove implementation.
2473         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2474         beginNativeRepaint and endNativeRepaint.
2475         (setBounds): Use menu bar height in bounds calculation.
2476         (postExposeEvent): Only post paint event if we're not doing a
2477         native repaint.
2478         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2479         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2480         (find_gtk_layout): Remove function.
2481         (filter_expose_event_handler): Likewise.
2482         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2483         Likewise.
2484         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2485         (setComponentBounds): Call GtkComponentPeer's
2486         setComponentBounds.
2487         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2488         New method.
2489         (moveLayout): Rename to ...
2490         (gtkFixedMove): New method.
2491         (gtkLayoutSetVisible): Rename to ...
2492         (gtkFixedSetVisible): New method.
2493         (setMenuBar): Rearrange, to make the three separate cases
2494         clearer.
2495         (postExposeEvent): Only post paint event if we're not doing a
2496         native repaint.
2497         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2498         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2499         (gtkWidgetModifyFont): New method.
2500         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2501         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2502         Call run directly, rather than spawning a new thread.
2503         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2504         Likewise.
2505         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2506         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2507         Rename to ...
2508         (gtkWidgetModifyFont): New method.
2509         (create): Rename ebox to eventbox.
2510         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2511         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2512         Rename to ...
2513         (gtkWidgetModifyFont): New method.
2514         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2515         (GtkMenuComponentPeer): Set the default font.
2516         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2517         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2518         (gtkSetFont): Rename to ...
2519         (gtkWidgetModifyFont): New method.
2520         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2521         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2522         * java/awt/Component.java (locale): Initialize to default
2523         locale.
2524         * java/awt/Container.java (invalidateTree): Make
2525         package-private.
2526         (paint): Paint self first.
2527         (setMenuBar): Call invalidateTree.
2528         * java/awt/Panel.java (dispatchEventImpl): Remove method.
2529         * java/awt/Window.java (show): Call no-parameter variant of
2530         requestFocusInWindow.
2531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2532         Remove special case for window widget.
2533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2534         (grab_current_drawable): Likewise.
2535         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2536         (create): Replace GtkLayout with GtkFixed.
2537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2538         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2540         Move all GtkFramePeer native method implementations here from
2541         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2543         Replace GtkLayout with GtkFixed.
2544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2545         (find_layout): Remove function.
2546         (create): Replace GtkLayout with GtkFixed.
2547         (connectSignals): Remove find_layout call.
2548         (toBack): Replace XFlush with gdk_flush.
2549         (toFront): Replace XFlush with gdk_flush.
2550         Move GtkFramePeer native method implementations to
2551         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2552         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2553
2554 2004-11-30  Michael Koch  <konqueror@gmx.de>
2555
2556         * javax/swing/JTextArea.java
2557         (lineWrap): Renamed from "wrapping".
2558         (wrapStyleWord): NEw field.
2559         (getLineWrap): Re-edited javadoc comment.
2560         (setLineWrap): Likewise.
2561         (getWrapStyleWord): New method.
2562         (setWrapStyleWord): Likewise.
2563
2564 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2565
2566         * configure: Regenerate for libtool change.
2567
2568 2004-11-29  Tom Tromey  <tromey@redhat.com>
2569
2570         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2571         Recognize --help and --version.
2572         (usage): Mention gcj-dbtool.  Added "out" argument.
2573         (insist): Updated.
2574
2575 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
2576
2577         * link.cc (link_symbol_table): Do not use intptr_t.
2578
2579 2004-11-28  Mark Wielaard  <mark@klomp.org>
2580
2581         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2582         XMLDecoder tests which currently don't compile.
2583
2584 2004-11-27  Andrew Haley  <aph@redhat.com>
2585
2586         * link.cc (ensure_class_linked): Conditionally compile
2587         _Jv_IsInterpretedClass on INTERPRETER.
2588         (print_class_loaded): Likewise.
2589         (wait_for_state): Likewise.
2590         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2591         * include/java-interp.h (ROUND): Remove.
2592
2593 2004-11-25  Tom Tromey  <tromey@redhat.com>
2594
2595         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2596         * java/lang/Class.h (_Jv_Linker): Declare.
2597         (Class): Fix names of friends.
2598         (_Jv_getInterfaceMethod): Declare.
2599
2600 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2601
2602         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2603         variable libjava_ld_library_path.
2604         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2605
2606 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
2607
2608         * java/util/ResourceBundle.java (BundleKey): Don't implement
2609         Cloneable.
2610         (BundleKey.clone): Removed.
2611         (getBundle): Copy BundleKey using constructor, not clone().
2612
2613 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2614
2615         * configure: Regenerate for libtool reversion.
2616
2617 2004-11-25  Michael Koch  <konqueror@gmx.de>
2618
2619         * Makefile.am: Added most of javax.print again.
2620         * Makefile.in: Regenerated.
2621
2622 2004-11-25  Michael Koch  <konqueror@gmx.de>
2623
2624         * Makefile.am: Added most of javax.print again.
2625         * Makefile.in: Regenerated.
2626
2627 2004-11-24  Tom Tromey  <tromey@redhat.com>
2628
2629         * Merged gcj-abi-2-dev-branch to trunk.
2630
2631 2004-11-16  Tom Tromey  <tromey@redhat.com>
2632
2633         * include/java-interp.h (_Jv_DefineClass): Updated.
2634         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2635         domain to class reader.
2636         * defineclass.cc (parse): Use print_class_loaded.
2637         Include ProtectionDomain.h.
2638         (_Jv_DefineClass): Added ProtectionDomain argument.
2639         (_Jv_ClassReader): Likewise.
2640         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2641         * link.cc: Include CodeSource.h.
2642         (print_class_loaded): New function.
2643         (wait_for_state): Use it.
2644
2645 2004-11-16  Andrew Haley  <aph@redhat.com>
2646
2647         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2648
2649 2004-11-16  Andrew Haley  <aph@redhat.com>
2650
2651         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2652         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2653         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2654         * configure: Regenerate.
2655         * Makefile.in: Regenerate.
2656
2657 2004-11-15  Andrew Haley  <aph@redhat.com>
2658
2659         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2660         gc-allocated object.
2661
2662 2004-11-15  Andrew Haley  <aph@redhat.com>
2663
2664         * java/net/URLClassLoader.java
2665         (URLLoader.getClassPath): New method.
2666         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2667         attribute and add URLs for each entry.
2668         (JarURLLoader.classPath): New field.
2669         (JarURLLoader.getClassPath): New method.
2670         (addURLImpl): Scan through the list of extraUrls in the new
2671         loader, adding them to our urlinfos.
2672         (definePackage, findURLResource, findResources): Use
2673         urlinfos.size(), not urls.size().
2674
2675 2004-11-11  Tom Tromey  <tromey@redhat.com>
2676
2677         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2678         method.
2679         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2680         linked.
2681         (ensureSupersLinked): Declare.
2682         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2683         linked.
2684
2685 2004-11-10  Tom Tromey  <tromey@redhat.com>
2686
2687         * gij.cc (main): Treat -verbose the same as -verbose:class.
2688         (help): Document -verbose and -verbose:class.
2689
2690         * link.cc (verbose_class_flag): Declare.
2691         (wait_for_state): Print message when handling precompiled class.
2692         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2693
2694 2004-11-09  Tom Tromey  <tromey@redhat.com>
2695
2696         * testsuite/libjava.lang/assign2.out: New file.
2697         * testsuite/libjava.lang/assign2.java: New file.
2698
2699         * java/lang/natRuntime.cc (insertSystemProperties): Set
2700         java.version to 1.4.2 and java.specification.version to 1.4.  Set
2701         java.runtime.version.
2702
2703 2004-11-08  Tom Tromey  <tromey@redhat.com>
2704
2705         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2706         supers installed.
2707         * link.cc (verify_type_assertions): Don't link supers.
2708
2709         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2710         * include/java-interp.h (class _Jv_InterpClass)
2711         <_Jv_PrepareMissingMethods>: No longer `friend'.
2712         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2713         `friend'.
2714         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2715         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2716         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2717         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2718         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2719         * link.cc (search_method_in_class): Renamed from
2720         _Jv_SearchMethodInClass.
2721         (resolve_pool_entry): Updated.
2722
2723         * include/jvm.h (_Jv_CheckAssignment): Removed.
2724         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2725
2726 2004-11-05  Tom Tromey  <tromey@redhat.com>
2727
2728         * link.cc (verify_type_assertions): Ensure classes have supers
2729         linked.  Strip off array types first.
2730
2731 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
2732
2733         * link.cc: Include VerifyError.h.
2734         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2735         in the type assertion table.
2736         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2737         verify_type_assertions.
2738         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2739         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
2740         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2741         assertion code values.
2742         (struct _Jv_TypeAssertion): Declare.
2743         (assertion_table): New class field.
2744         (verify): Remove class field.
2745
2746 2004-11-05  Andrew Haley  <aph@redhat.com>
2747
2748         * Makefile.am: Move jv_dbtool.java to
2749         gnu/gcj/tools/gcj_dbtool/Main.java.
2750         * Makefile.in: Rebuild.
2751         * java/lang/VMCompiler.java: Rename property
2752         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2753         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2754         jv_dbtool.java.
2755
2756 2004-11-05  Andrew Haley  <aph@redhat.com>
2757
2758         * jv_dbtool.java (main): Allow the user to specify the size of the
2759         database.  Display the capacity and the size.
2760         (usage): Show the new option.
2761
2762 2004-11-04  Tom Tromey  <tromey@redhat.com>
2763
2764         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2765         * link.cc (make_vtable): Use correct index when searching for
2766         missing method's name.  Don't use `flags'.
2767         (set_vtable_entries): Removed `flags' argument.  Don't recurse
2768         into superclasses.
2769         (link_symbol_table): Ensure target class method table is
2770         complete.  Ensure target fields are laid out before entering
2771         loop.
2772
2773         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2774         fix.
2775
2776         * interpret.cc (do_verify): Don't verify abstract methods.
2777
2778 2004-11-01  Tom Tromey  <tromey@redhat.com>
2779
2780         * link.cc (wait_for_state): Call verify_class.
2781
2782         * verify.cc (state::check_no_uninitialized_objects): Removed.
2783         (push_jump): Updated.
2784         (push_exception_jump): Likewise.
2785         (handle_ret_insn): Likewise.
2786         (handle_jsr_insn): Likewise.
2787
2788 2004-10-28  Andrew Haley  <aph@redhat.com>
2789
2790         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2791         * jv_dbtool.java: New file.
2792         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2793         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2794         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
2795         * Makefile.in: Regenerate,
2796         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
2797         Enumeration, StringTokenizer, Vector, PersistentByteMap.
2798         (precompiledMapFiles): New variable.
2799         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
2800         initialize precompiledMapFiles.
2801         (compileClass): Look at the database of precompiled class files
2802         before firing up gcj.
2803
2804         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
2805
2806 2004-10-27  Andrew Haley  <aph@redhat.com>
2807
2808         * java/lang/VMCompiler.java (compileClass): try looking for
2809         precompiledMapFiles.
2810         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2811
2812 2004-10-27  Tom Tromey  <tromey@redhat.com>
2813
2814         * link.cc (ensure_class_linked): Only resolve classes for
2815         compiled classes.
2816         (add_miranda_methods): Ensure interface supers are installed.
2817         (resolve_pool_entry): Better error message.
2818
2819 2004-10-25  Tom Tromey  <tromey@redhat.com>
2820
2821         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
2822
2823         * java/util/ResourceBundle.java (tryBundle): Use
2824         Class.isAssignableFrom rather than catching ClassCastException.
2825
2826         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
2827         exception if we hit EOF of `in'.
2828         (read): Handle case where inflating returns -1.
2829
2830         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
2831         initialize `iter'.
2832         * gnu/java/text/SentenceBreakIterator.java
2833         (SentenceBreakIterator): Don't initialize `iter'.
2834         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
2835         initialize `iter'.
2836         * gnu/java/text/CharacterBreakIterator.java
2837         (CharacterBreakIterator): Don't initialize `iter'.
2838         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
2839         constructor.
2840         * java/text/BreakIterator.java: Updated documentation.
2841
2842 2004-10-20  Tom Tromey  <tromey@redhat.com>
2843
2844         * java/util/ResourceBundle.java (tryBundle): Also ignore
2845         ClassCastException.
2846
2847 2004-10-18  Tom Tromey  <tromey@redhat.com>
2848
2849         * interpret.cc (do_post_miranda_hook): New method.
2850         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
2851         New field.
2852         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
2853         (_Jv_CompiledEngine): Initialize new field.
2854         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
2855         (_Jv_InterpreterEngine): Initialize new field.
2856         * link.cc (resolve_pool_entry): Put Miranda methods in target
2857         class.
2858         (ensure_method_table_complete): Call post_miranda_hook.
2859         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
2860         aux_info.
2861         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
2862         (parse): Set class' aux_info here.
2863
2864         * boehm.cc (_Jv_MarkObj): Mark `throws'.
2865
2866         * boehm.cc: Re-merged with trunk.
2867
2868 2004-10-18  Andrew Haley  <aph@redhat.com>
2869
2870         PR java/18036:
2871         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2872         and correct logic used to find interpreter.
2873
2874 2004-10-13  Andrew Haley  <aph@redhat.com>
2875
2876         * interpret.cc (_Jv_InterpMethod::run): Initialize
2877         _Jv_StartOfInterpreter.
2878         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2879         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2880         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2881         _Unwind_FindEnclosingFunction to discover whether PC is within the
2882         interpreter.
2883
2884 2004-10-13  Tom Tromey  <tromey@redhat.com>
2885
2886         * link.cc (find_iindex): Copy correct number of slots to new
2887         ioffsets.
2888
2889 2004-10-12  Tom Tromey  <tromey@redhat.com>
2890
2891         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
2892         proc.
2893         (gcj_loader_test_one): Use it.
2894         (gcj_loader_run): Likewise.
2895
2896         * prims.cc: Don't include FirstThread.h.
2897
2898 2004-10-06  Tom Tromey  <tromey@redhat.com>
2899
2900         * link.cc (ensure_method_table_complete): Ensure superclass
2901         Miranda methods installed.
2902
2903         * include/java-interp.h (class _Jv_JNIMethod): Added
2904         JV_MARKOBJ_DECL as a friend.
2905         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
2906         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
2907         interpreter method structures.  Mark jni_arg_types of JNI
2908         methods.
2909
2910         * defineclass.cc (parse): Use JV_STATE_READ.
2911         * java/lang/Class.h (JV_STATE_READ): New enum value.
2912
2913 2004-10-05  Tom Tromey  <tromey@redhat.com>
2914
2915         * link.cc (resolve_pool_entry): Add signature info to missing
2916         method's information.
2917
2918         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
2919         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
2920
2921 2004-10-04  Tom Tromey  <tromey@redhat.com>
2922
2923         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
2924         marking IDT.
2925
2926 2004-09-29  Tom Tromey  <tromey@redhat.com>
2927
2928         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
2929         resolve.cc.
2930         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
2931         * jni.cc: Use _Jv_Linker.
2932         * interpret.cc: Use _Jv_Linker.
2933         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
2934         * java/lang/natClassLoader.cc: Use _Jv_Linker.
2935         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
2936         * java/lang/Class.h: Use _Jv_Linker.
2937         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
2938         * resolve.cc: Renamed ...
2939         * link.cc: ... here.  Use _Jv_Linker.
2940         * defineclass.cc (checkExtends): Use _Jv_Linker.
2941
2942 2004-09-17  Tom Tromey  <tromey@redhat.com>
2943
2944         * defineclass.cc (handleCodeAttribute): Don't reference
2945         `deferred'.
2946         (handleMethodsEnd): Likewise.
2947         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
2948         field.
2949         (_Jv_Defer_Resolution): Don't declare or define.
2950         * interpret.cc (do_create_ncode): Don't resolve deferred method
2951         pointers.
2952         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
2953         * resolve.cc (link_symbol_table): No need to defer resolution.
2954
2955 2004-09-14  Tom Tromey  <tromey@redhat.com>
2956
2957         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
2958         (_Jv_MarkObj): Updated.
2959         (_Jv_MarkArray): Likewise.
2960
2961         * include/jvm.h (StringClass): Removed.
2962         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
2963         * interpret.cc (_Jv_InitField): Don't use StringClass.
2964         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
2965         StringClass.
2966         (rehash): Likewise
2967         (intern): Likewise.
2968         (_Jv_FinalizeString): Likewise.
2969         (_Jv_NewStringUtf8Const): Likewise.
2970         (equals): Likewise.
2971         * prims.cc (JvConvertArgv): Don't use StringClass.
2972
2973         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
2974         * resolve.cc (ensure_fields_laid_out): Don't mention
2975         COMPACT_FIELDS.
2976         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
2977         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
2978
2979         * java/lang/reflect/natField.cc (getType): Use resolve_field.
2980         * java/lang/natVMClassLoader.cc (resolveClass): New native
2981         implementation.
2982         (linkClass0): Removed.
2983         (markClassErrorState0): Likewise.
2984         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
2985         preparation code to resolve.cc.
2986         (_Jv_RegisterClassHookDefault): Set class's execution engine if
2987         not already set.
2988         (_Jv_FindClass): Use wait_for_state.
2989         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
2990         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
2991         Moved interface table and class preparation code to resolve.cc.
2992         (finalize): Rewrote.
2993         (initializeClass): Simplified locking and class preparation.
2994         * java/lang/VMClassLoader.java (linkClass0): Removed.
2995         (markClassErrorState0): Likewise.
2996         (resolveClass): Now native.
2997         (transformException): New method.
2998         * java/lang/Class.h (getSuperclass): Don't try to resolve super
2999         reference.
3000         (getInterface): Likewise.
3001         (size): Likewise.
3002         (set_state): New method.
3003         (Class): Updated friend declarations.
3004         (verify): Field now private.
3005         (engine): New field.
3006         * include/jvm.h (class _Jv_Resolver): New class declaration.
3007         (_Jv_ResolveField): Removed declaration.
3008         (_Jv_CheckAccessNoInit): Likewise.
3009         (_Jv_isBinaryCompatible): Removed.
3010         * include/java-interp.h (class _Jv_MethodBase): Updated friend
3011         declarations.
3012         (class _Jv_InterpMethod): Likewise.
3013         (class _Jv_InterpClass): Likewise.
3014         (class _Jv_JNIMethod): Likewise.
3015         * include/execution.h: New file.
3016         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
3017         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
3018         Register class after setting fields.
3019         * resolve.cc: Include execution.h, VerifyError.h.  Moved
3020         interpreter-specific code to interpret.cc.
3021         (uaddr): New location.
3022         (struct aligner): Likewise.
3023         (ALIGNOF): Likewise.
3024         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
3025         (INITIAL_IFACES_LEN): Likewise.
3026         (null_idt): Likewise.
3027         (_Jv_GetMethodString): Likewise.
3028         (_Jv_ThrowNoSuchMethodError): Likewise.
3029         (_Jv_abstractMethodError): Likewise.
3030         (_Jv_Resolver::get_alignment_from_class): Renamed.
3031         (_Jv_Resolver::resolve_field): Likewise.
3032         (_Jv_Resolver::resolve_pool_entry): Likewise.
3033         (_Jv_Resolver::resolve_class_ref): Likewise.
3034         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3035         (_Jv_Resolver::indexof): Likewise.
3036         (_Jv_Resolver::get_interfaces): Likewise.
3037         (_Jv_Resolver::generate_itable): Likewise.
3038         (_Jv_Resolver::append_partial_itable): Likewise.
3039         (_Jv_Resolver::find_iindex): Likewise.
3040         (_Jv_Resolver::link_symbol_table): Likewise.
3041         (_Jv_Resolver::link_exception_table): Likewise.
3042         (_Jv_Resolver::layout_interface_methods): Likewise.
3043         (_Jv_Resolver::layout_vtable_methods): Likewise.
3044         (_Jv_Resolver::set_vtable_entries): Likewise.
3045         (_Jv_Resolver::make_vtable): Likewise.
3046         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3047         (_Jv_Resolver::ensure_class_linked): Likewise.
3048         (_Jv_Resolver::ensure_supers_installed): Likewise.
3049         (_Jv_Resolver::add_miranda_methods): Likewise.
3050         (_Jv_Resolver::ensure_method_table_complete): Likewise.
3051         (_Jv_Resolver::verify_class): Likewise.
3052         (_Jv_Resolver::wait_for_state): Likewise.
3053         * prims.cc (_Jv_soleCompiledEngine): New global.
3054         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3055         (_Jv_CheckAccessNoInit): Removed.
3056         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3057         * interpret.cc: Include platform.h, ClassFormatError.h,
3058         Modifier.h, execution.h.
3059         (_Jv_soleInterpreterEngine): New global.
3060         (compile): Use resolve_pool_entry.
3061         (run): Likewise.
3062         (_Jv_InitField): New location.
3063         (skip_one_type): Likewise.
3064         (get_ffi_type_from_signature): Likewise.
3065         (_Jv_count_arguments): Likewise.
3066         (init_cif): Likewise.
3067         (ncode_closure): Likewise.
3068         (ffi_closure_fun): Likewise.
3069         (ncode): Likewise.
3070         (throw_class_format_error): Likewise.
3071         (throw_class_format_error): Likewise.
3072         (_Jv_InterpreterEngine::do_verify): New method.
3073         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3074         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3075         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3076         * defineclass.cc: Include execution.h.
3077         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3078         engine.
3079         (checkExtends): Ensure superclass has supers installed.
3080         (_Jv_ClassNameSamePackage): Clarify usage constraints.
3081         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3082         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
3083         dispatch tables.
3084
3085 2004-09-13  Tom Tromey  <tromey@redhat.com>
3086
3087         * mauve-libgcj: List some classes we don't have.
3088
3089 2004-09-10  Andrew Haley  <aph@redhat.com>
3090
3091         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3092         * java/lang/natClass.cc (initializeClass): Check itable.
3093         (_Jv_getInterfaceMethod): New.
3094         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3095         Check that an interface method isn't called with invokevirtual.
3096
3097         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3098         super_meth is virtual.
3099
3100 2004-09-01  Tom Tromey  <tromey@redhat.com>
3101
3102         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3103         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3104         _Jv_CheckAccessNoInit.
3105         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3106         * prims.cc (_Jv_CheckAccessNoInit): New method.
3107
3108         * java/lang/reflect/natMethod.cc (invoke): Check access against
3109         declaring class, not object's class.
3110         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3111         argument.
3112         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3113         overridden method.
3114         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3115         argument.
3116
3117 2004-08-30  Andrew Haley  <aph@redhat.com>
3118
3119         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3120         ClassNotFoundException.
3121         Throw NoClassDefFoundError.
3122
3123         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3124         to klass->verify() from here ...
3125         (_Jv_PrepareCompiledClass): ...and put it here.
3126
3127 2004-08-27  Andrew Haley  <aph@redhat.com>
3128
3129         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3130         klass->verify().
3131         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3132         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3133
3134 2004-08-27  Tom Tromey  <tromey@redhat.com>
3135
3136         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3137         friend.
3138         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3139         (_Jv_IsAssignableFromSlow): New function.
3140         Include VerifyError.h.
3141         * include/jvm.h (_Jv_CheckAssignment): Declare.
3142
3143 2004-08-18  Andrew Haley  <aph@redhat.com>
3144
3145         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3146         argument.  Pass it to findClass instead of fileName.
3147         (compileClass): Pass class name to loadSharedLibrary.
3148
3149 2004-06-22  Andrew Haley  <aph@redhat.com>
3150
3151         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3152
3153 2004-06-15  Andrew Haley  <aph@redhat.com>
3154
3155         * java/lang/natSystem.cc (getenv0): Don't assume environment
3156         variable is Latin 1 coded.
3157
3158 2004-06-07  Andrew Haley  <aph@redhat.com>
3159
3160         * java/lang/System.java: (getenv0): New method.
3161         (getenv): Add security check.  Do the right thing.
3162         * java/lang/natSystem.cc (getenv0): New method.
3163
3164 2004-04-19    Andrew Haley  <aph@redhat.com>
3165
3166         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3167         we destroy.
3168
3169         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3170         is returned as an int in the range 0 to 255.
3171
3172 2004-08-13  Tom Tromey  <tromey@redhat.com>
3173
3174         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3175         class if it is interpreted.
3176
3177 2004-08-12  Tom Tromey  <tromey@redhat.com>
3178
3179         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3180         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3181         (Class::getSuperclass): Updated.
3182         (Class::getInterfaces): Likewise.
3183         (Class::size): Updated.
3184         (_Jv_LayoutClass): Updated declaration.
3185         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3186         Synchronize on class.
3187         (_Jv_LayoutClass): Changed interface.
3188         (initializeClass): Updated.
3189         (_Jv_LinkSymbolTable): Likewise.
3190
3191         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3192         friend.
3193         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3194         _Jv_isBinaryCompatible.
3195         * java/lang/natClass.cc (initializeClass): Use
3196         _Jv_isBinaryCompatible.
3197         (_Jv_LinkSymbolTable): Likewise.
3198         * include/jvm.h (_Jv_isBinaryCompatible): New function.
3199
3200 2004-08-11  Tom Tromey  <tromey@redhat.com>
3201
3202         * gcj/javaprims.h: Regenerated.
3203         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3204         (_registerClass): Likewise.
3205         * Makefile.in: Rebuilt.
3206         * Makefile.am (core_java_source_files): Added VMCompiler.
3207         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3208         * java/lang/VMCompiler.java: New file.
3209         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3210         `verbose' code.
3211         (copyFile): Don't use fully-qualified name.
3212         (h): Removed.
3213         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3214         (defineClass): Use VMCompiler.
3215         * java/lang/ClassLoader.java (defineClass): Removed jit
3216         compilation code and `verbose' code.
3217         (getClassLoader0): Removed.
3218         (_registerClass): Likewise.
3219         (SharedLibHelpers): Removed.
3220
3221 2004-08-10  Tom Tromey  <tromey@redhat.com>
3222
3223         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3224         URL)): New constructor.
3225         (SoURLLoader): Likewise.
3226         (JarURLLoader): Create SoURLLoader with override URL.
3227
3228 2004-08-10  Mark Wielaard  <mark@klomp.org>
3229
3230         * Makefile.in: Rebuilt.
3231         * Makefile.am (interpret.lo): New rule.
3232
3233 2004-08-05  Andrew Haley  <aph@redhat.com>
3234
3235         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3236         aside for "GCJLIBS" in directory where jarfiles are loaded.
3237         (JarURLLoader.getClass): New method.
3238         (JarURLLoader.toString):  New method.
3239         (FileResource.toString):  New method.
3240         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3241         Remove "Duplicate class registration: " bug.
3242         (_registerClass): New method.
3243         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3244         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3245         Add debugging.
3246         (_Jv_LayoutClass): Use getSuperclass() rather than directly
3247         accessing the field.
3248         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3249         (defineClass): Call gcj to JIT-compile a class.
3250         (_registerClass): New method.
3251         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3252         library name can refer to more than one loaded library, so use a
3253         Set of SharedLibHelpers.
3254         If a shared library is already loaded, take a copy.
3255         (copyFile): New function.
3256
3257         * testsuite/libjava.compile/compile.exp: Force
3258         -findirect-dispatch.
3259
3260         * java/security/BasicPermission.java: Remove bogus checks.
3261
3262         * java/lang/System.java (getenv0): New method.
3263         * java/lang/natSystem.cc (getenv0): New method.
3264
3265 2004-05-24  Andrew Haley  <aph@redhat.com>
3266
3267         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3268
3269 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
3270
3271         * Merged with HEAD as of 20040514. Diff against
3272         gcj-abi-2-merge-20040514.
3273
3274 2004-04-16  Andrew Haley  <aph@redhat.com>
3275
3276         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3277         _Jv_LayoutClass.
3278         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3279         (_Jv_PrepareCompiledClass): If we throw an exception during
3280         preparation, restore state.
3281         (ClassLoader::getClassLoader0): New method.
3282
3283         * java/lang/natClass.cc (get_alignment_from_class): Moved here
3284         from resolve.cc.
3285         (ALIGNOF): Use offsetof, not __alignof__.
3286         (_Jv_ResolveClassRef): Resolve a reference to a class in a
3287         constant pool.
3288         (getInterfaces): Emit debug output if interface hasn't been
3289         resolved.
3290         (initializeClass): Call _Jv_LayoutClass.
3291         (_Jv_LinkSymbolTable): Add debugging output.
3292         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3293         found.
3294         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3295         (_Jv_LinkSymbolTable): Pass the real class loader to
3296         _Jv_FindClass.
3297         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3298         exception class.
3299         (_Jv_LinkSymbolTable): Assert if we find a static field reference
3300         to an interpreted class.
3301         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3302         superclass.
3303         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3304         resolve.cc.
3305
3306         * java/lang/VMSecurityManager.java: Check for the system class
3307         loader as well as loader != null.
3308
3309         * java/lang/SecurityManager.java (checkPermission): Remove
3310         security check.
3311         (checkRead): Likewise.
3312         (checkConnect): Likewise.
3313
3314         * java/lang/ClassLoader.java (loadClass): Include all class
3315         loaders in stack trace string.
3316         Look for class in "gcjlib.so" in the same directory.
3317         (getSystemClassLoader) Use getClassLoader0.
3318         (getClassLoader0): New native method.
3319
3320         * java/lang/Class.h (getSuperclass): New method.
3321         (getInterface): New method.
3322         (size): Lay out class if needed.
3323         (firstMethodIndex): New method.
3324         (Jv_ResolveClassRef): New declaration.
3325         (_Jv_LinkSymbolTable): New declaration.
3326
3327         * java/io/ObjectOutputStream.java: Add DEBUG statements
3328         everywhere.
3329         (dumpElementln): New method.
3330         (depth): New field.
3331         * java/io/ObjectInputStream.java (MyIOException): new, for
3332         debugging.
3333         Everywhere: use MyIOException rather than IOException.
3334         Indent debugging output to make nesting visible.
3335         (currentClassLoader): Make native
3336         (callersClassLoader): New field.
3337         (depth): New field.
3338         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3339         method.
3340
3341         (readObject): ENDBLOCKDATA is generated if the class has a write
3342         method, not if it has a read method.
3343
3344         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3345
3346         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3347         getContextClassLoader form the current thread after our own class
3348         loader.
3349
3350         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3351         debugging.
3352         (toString): New method.
3353
3354         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3355         interfaces array.
3356
3357         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3358         a constant pool entry, resolve it now.
3359         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3360         in natClass.cc.
3361         Move get_alignment_from_class to natClass.cc.
3362
3363         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3364         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3365
3366         * defineclass.cc (checkExtends): Don't access superclass field
3367         directly.
3368
3369         * Makefile.in: regenerate.
3370
3371         * gnu/gcj/util/natDebug.cc: New
3372         * gnu/gcj/util/Debug.java: New.
3373
3374         * Makefile.am (java/io/ObjectInputStream.lo): Use
3375         -fno-optimize-sibling-calls.
3376
3377         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3378         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3379         in an interface.
3380         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3381
3382 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
3383
3384         * configure: Regenerate for libtool change.
3385
3386 2004-11-24  Michael Koch  <konqueror@gmx.de>
3387
3388         * gnu/java/security/PolicyFile.java: New file.
3389         * Makefile.am: Added gnu/java/security/PolicyFile.java.
3390         * Makefile.in: Regenerated.
3391
3392 2004-11-24  Michael Koch  <konqueror@gmx.de>
3393
3394         * java/lang/Character.java, scripts/unicode-blocks.pl:
3395         Reorder "final static" to "static final".
3396
3397 2004-11-24  Michael Koch  <konqueror@gmx.de>
3398
3399         * java/util/ResourceBundle.java: Reformatted.
3400         (tryBundle): Fixed javadoc.
3401
3402 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
3403
3404         * java/text/MessageFormat.java
3405         (formatInternal): Made private.
3406
3407 2004-11-24  Michael Koch  <konqueror@gmx.de>
3408
3409         * java/nio/DirectByteBufferImpl.java
3410         (ReadWrite.ReadWrite): New constructor.
3411         (DirectByteBufferImpl): Likewise.
3412         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3413         Use DirectByteBufferImpl.ReadWrite.
3414         * Makefile.am:
3415         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3416         * Makefile.in: Rgenerated.
3417
3418 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
3419
3420         * java/nio/DirectByteBufferImpl.java
3421         (ReadOnly): New inner subclass.
3422         (ReadWrite): New inner subclass.
3423         (owner): Made final and private.
3424         (address): Made final.
3425         (DirectByteBufferImpl(int)): New constructor.
3426         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3427         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3428         (allocate): Modified to instantiate ReadWrite subclass.
3429         (finalize): Fixed to only free the buffer, if we own it.
3430         (put): Removed read-only check.
3431         (slice, duplicate): Modified to instantiate appropriate subclass.
3432         (isReadOnly): Removed.
3433         * java/nio/MappedByteBufferImpl.java
3434         (slice, duplicate): Modified to instantiate appropriate
3435         DirectByteBufferImpl subclass.
3436
3437 2004-11-24  Michael Koch  <konqueror@gmx.de>
3438
3439         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3440         * java/nio/DirectByteBufferImpl.java:
3441         Moved native methods to java.nio.VMDirectByteBuffer class.
3442         * java/nio/MappedByteBufferImpl.java:
3443         Use native methods from java.nio.VMDirectByteBuffer class.
3444         * java/nio/VMDirectByteBuffer.java: New file,
3445         * java/nio/natDirectByteBufferImpl.cc:
3446         Moved all methods into java.nio.VMDirectByteBuffer class.
3447         * java/nio/channels/spi/AbstractSelectableChannel.java
3448         (register): Only re-use valid keys.
3449         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3450         * Makefile.in: Regenerated.
3451
3452 2004-11-24  Michael Koch  <konqueror@gmx.de>
3453
3454         * java/nio/DirectByteBufferImpl.java,
3455         java/nio/MappedByteBufferImpl.java:
3456         Reformatted.
3457
3458 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3459
3460         * testsuite/lib/libjava.exp,
3461         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3462
3463 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
3464
3465         * configure.host: Enable the interpreter for mips*-*-linux*.
3466
3467 2004-11-23  Michael Koch  <konqueror@gmx.de>
3468
3469         * java/lang/String.java (rehash): Removed.
3470         * java/lang/natString.cc (rehash): Made static.
3471         (_Jv_NewStringUtf8Const): Use static rehash method.
3472
3473 2004-11-23  Michael Koch  <konqueror@gmx.de>
3474
3475         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3476         include/Makefile.in, testsuite/Makefile.in: Regenerated.
3477
3478 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
3479
3480         PR target/18444
3481         * configure.ac (threading): Accept 'posix95'.
3482         * configure: Regenerate.
3483
3484 2004-11-22  Michael Koch  <konqueror@gmx.de>
3485
3486         * gnu/java/nio/SocketChannelImpl.java
3487         (read): Made check for blocking un-ambiguous.
3488         Removed wrong check for data array length.
3489
3490 2004-11-21  Michael Koch  <konqueror@gmx.de>
3491
3492         * gnu/java/nio/SocketChannelImpl.java
3493         (read): Only return 0 when no bytes for reading available in
3494         non-blocking mode.
3495         * java/nio/channels/SocketChannel.java:
3496         Added some missing @return tags.
3497
3498 2004-11-21  Michael Koch  <konqueror@gmx.de>
3499
3500         * java/beans/PropertyChangeSupport.java
3501         (propertyChangeSupportSerializedDataVersion): Made static.
3502         * java/beans/VetoableChangeSupport.java
3503         (propertyChangeSupportSerializedDataVersion): Likewise.
3504
3505 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3506
3507         * java/net/URLStreamHandler.java
3508         (parseURL): Fixed file path canonicalisation.
3509
3510 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3511
3512         * java/net/URLStreamHandler.java
3513         (parseURL): Fixed file path canonicalisation.
3514
3515 2004-11-18  Michael Koch  <konqueror@gmx.de>
3516
3517         * java/net/URLClassLoader.java: Whitespace cleanup.
3518
3519 2004-11-18  Robert Schuster <address@bogus.example.com>
3520
3521         Complete 1.4 support
3522         * java/beans/PropertyDescriptor.java:
3523         (setReadMethod): New method
3524         (setWriteMethod): New method
3525         (equals): Implemented (1.4)
3526         (checkMethods): operates on arguments now (private)
3527
3528
3529 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3530
3531         * java/net/Inet6Address.java (getHostAddress): Fix textual
3532         representation of IPv6 address with embedded zeroes
3533         to conform to RFC 2373.
3534
3535 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
3536
3537         * java/lang/StackTraceElement.java: Made final.
3538         * java/nio/channels/Channels.java: Added private constructor.
3539         * java/rmi/Naming.java: Added private constructor.
3540         * java/rmi/registry/LocateRegistry.java: Added private constructor.
3541         * java/rmi/server/RMIClassLoader.java: Added private constructor.
3542         * java/security/KeyPairGeneratorSpi.java
3543         (clone): Made protected and simplified implementation.
3544         * java/text/DateFormat.java
3545         (allFields): Made package accessible.
3546         * java/text/DecimalFormat.java
3547         (formatInternal): Made private.
3548         * java/text/Format.java
3549         (formatInternal): Made private.
3550         * java/util/logging/Handler.java: Made constructor protected.
3551         * java/util/regex/Matcher.java: Made final.
3552         * java/util/regex/Pattern.java: Made final.
3553         * javax/crypto/CipherInputStream.java
3554         (mark): Corrected mark parameter type (from long to int).
3555         * javax/crypto/ExemptionMechanism.java
3556         (finalize): Added.
3557         * javax/crypto/Mac.java
3558         (getMacLength): Made final.
3559         (clone): Made final.
3560         * javax/imageio/ImageIO.java: Added private constructor.
3561         * javax/imageio/stream/ImageInputStreamImpl.java
3562         (checkClosed): Made final.
3563         * javax/net/ssl/SSLPermission.java: Made final.
3564         * javax/print/DocFlavor.java
3565         (hostEncoding): Added work-around to prevent the field from being
3566         a compile time constant.
3567         * javax/print/attribute/AttributeSetUtilities.java: Added private
3568         constructor.
3569         (UnmodifiableDocAttributeSet): Made private.
3570         (UnmodifiablePrintJobAttributeSet): Made private.
3571         (UnmodifiablePrintRequestAttributeSet): Made private.
3572         (UnmodifiablePrintServiceAttributeSet): Made private.
3573         (SynchronizedAttributeSet): Made private.
3574         (SynchronizedDocAttributeSet): Made private.
3575         (SynchronizedPrintJobAttributeSet): Made private.
3576         (SynchronizedPrintRequestAttributeSet): Made private.
3577         (SynchronizedPrintServiceAttributeSet): Made private.
3578         * javax/security/auth/PrivateCredentialPermission.java: Made final.
3579
3580 2004-11-18  Craig Black  <craig.black@aonix.com>
3581
3582         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3583
3584 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3585
3586         * Makefile.am: Correct friend function declaration.
3587         * Makefile.in: Regenerated.
3588         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3589         scope to function names.  Declare functions directly.
3590         * libjava/java/lang/Class.h
3591         (java::lang::Class): Correct friend class declaration.
3592         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3593         scope.
3594         * libjava/java/lang/Class.h
3595         (java::lang::Object): Correct friend class declaration.
3596
3597 2004-11-17  David Daney  <ddaney@avtrex.com>
3598
3599         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3600
3601 2004-11-17  Michael Koch  <konqueror@gmx.de>
3602
3603         * java/net/Socket.java (getPort): Return 0 in error case.
3604
3605 2004-11-17  Michael Koch  <konqueror@gmx.de>
3606
3607         *  java/nio/DirectByteBufferImpl.java
3608         (owner): Updated comment.
3609         (allocate): New method.
3610
3611 2004-11-17  Michael Koch  <konqueror@gmx.de>
3612
3613         * java/net/URL.java (URL): Handle case when argument is null.
3614
3615 2004-11-17  Michael Koch  <konqueror@gmx.de>
3616
3617         * java/beans/Beans.java,
3618         java/beans/PropertyChangeEvent.java,
3619         java/beans/PropertyEditorSupport.java:
3620         Fixed javadocs.
3621
3622 2004-11-17  Michael Koch  <konqueror@gmx.de>
3623
3624         * java/util/Timer.java (DEFAULT_SIZE): Made static.
3625
3626 2004-11-17  Michael Koch  <konqueror@gmx.de>
3627
3628         * java/net/InetAddress.java (getCanonicalHostName):
3629         Support IPv6 addresses.
3630
3631 2004-11-16  Michael Koch  <konqueror@gmx.de>
3632
3633         * java/lang/Object.java: Added javadocs all over (merged from GNU
3634         classpath).
3635
3636 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3637
3638         * java/security/Security.java (Security): Silence the warning about no
3639         providers found in the no debug case.
3640
3641 2004-11-16  Michael Koch  <konqueror@gmx.de>
3642
3643         * java/net/InetAddress.java
3644         (toString): Merged from GNU classpath.
3645
3646 2004-11-16  Michael Koch  <konqueror@gmx.de>
3647
3648         * java/awt/geom/doc-files/Area-1.png,
3649         java/awt/geom/doc-files/Ellipse-1.png,
3650         java/awt/geom/doc-files/GeneralPath-1.png:
3651         New files.
3652
3653 2004-11-16  Michael Koch  <konqueror@gmx.de>
3654
3655         * java/util/Currency.java (cache): Fix modifier order.
3656
3657 2004-11-16  Michael Koch  <konqueror@gmx.de>
3658
3659         * java/io/BufferedReader.java,
3660         java/io/FileInputStream.java,
3661         java/io/FileOutputStream.java,
3662         java/io/FileWriter.java,
3663         java/io/OutputStreamWriter.java,
3664         java/io/PipedInputStream.java,
3665         java/io/PipedOutputStream.java,
3666         java/io/PipedReader.java,
3667         java/io/PipedWriter.java,
3668         java/io/PrintStream.java,
3669         java/io/PushbackInputStream.java,
3670         java/io/RandomAccessFile.java,
3671         java/io/Reader.java,
3672         java/io/StreamTokenizer.java,
3673         java/io/StringReader.java,
3674         java/net/NetworkInterface.java,
3675         java/net/URLClassLoader.java,
3676         java/nio/ByteOrder.java,
3677         java/nio/channels/Channel.java:
3678         Fixed javadocs all over.
3679
3680 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3681
3682         * Makefile.am: Add imported files.
3683         * Makefile.in: Regenerate.
3684
3685         2004-10-24  Casey Marshall  <csm@gnu.org>
3686
3687         * javax/security/auth/login/LoginContext.java: Implemented.
3688         * javax/security/auth/login/Configuration.java (getConfig): New method.
3689         * javax/security/auth/spi/LoginModule.java,
3690         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3691
3692 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
3693
3694         Import/Merge the X.509 certificate code from Classpath.
3695
3696         * Makefile.am: Add imported files.
3697         * Makefile.in: Regenerate.
3698
3699         2004-11-07  Casey Marshall  <csm@gnu.org>
3700
3701         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3702         priviliged action. Add new algorithms.
3703         * gnu/java/security/provider/X509CertificateFactory.java
3704         (engineGenerateCertificate): Chain exceptions.
3705         (engineGenerateCertificates): Likewise.
3706         (engineGenerateCRL): Likewise.
3707         (engineGenerateCRLs): Likewise.
3708         (engineGenerateCertPath): New methods.
3709         (generateCert): Throw exception if 'inStream' is null.
3710         (generateCRL): Likewise.
3711         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3712         version from GNU Crypto CVS.
3713         * gnu/java/security/x509/X509CRL.java: Likewise.
3714         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3715         * gnu/java/security/x509/X509Certificate.java: Likewise.
3716         * java/security/cert/TrustAnchor.java: Call 'toString' and not
3717         toRFC2253.
3718         * gnu/java/security/provider/CollectionCertStoreImpl.java,
3719         * gnu/java/security/provider/EncodedKeyFactory.java,
3720         * gnu/java/security/provider/GnuDHPublicKey.java,
3721         * gnu/java/security/provider/GnuRSAPrivateKey.java,
3722         * gnu/java/security/provider/GnuRSAPublicKey.java,
3723         * gnu/java/security/provider/MD2withRSA.java,
3724         * gnu/java/security/provider/MD4withRSA.java,
3725         * gnu/java/security/provider/MD5withRSA.java,
3726         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3727         * gnu/java/security/provider/RSA.java,
3728         * gnu/java/security/provider/RSAKeyFactory.java,
3729         * gnu/java/security/provider/SHA1withRSA.java,
3730         * gnu/java/security/x509/GnuPKIExtension.java,
3731         * gnu/java/security/x509/PolicyNodeImpl.java,
3732         * gnu/java/security/x509/Util.java,
3733         * gnu/java/security/x509/X509CRLSelectorImpl.java,
3734         * gnu/java/security/x509/X509CertPath.java,
3735         * gnu/java/security/x509/X509CertSelectorImpl.java,
3736         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3737         * gnu/java/security/x509/ext/BasicConstraints.java,
3738         * gnu/java/security/x509/ext/CRLNumber.java,
3739         * gnu/java/security/x509/ext/CertificatePolicies.java,
3740         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3741         * gnu/java/security/x509/ext/Extension.java,
3742         * gnu/java/security/x509/ext/GeneralNames.java,
3743         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3744         * gnu/java/security/x509/ext/KeyUsage.java,
3745         * gnu/java/security/x509/ext/PolicyConstraint.java,
3746         * gnu/java/security/x509/ext/PolicyMappings.java,
3747         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3748         * gnu/java/security/x509/ext/ReasonCode.java,
3749         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3750         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3751
3752         2004-11-07  Casey Marshall  <csm@gnu.org>
3753
3754         * gnu/java/security/x509/X509CRL.java:
3755         Missed import statements in previous checkin.
3756
3757         2004-11-07  Casey Marshall  <csm@gnu.org>
3758
3759         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3760         to 'X509CertificateImpl' from previous checkin.
3761
3762 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
3763
3764         PR other/14264
3765         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3766
3767 2004-11-11  Casey Marshall  <csm@gnu.org>
3768
3769         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3770         channel is open.
3771         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3772         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3773
3774 2004-11-11  Robert Schuster <thebohemian@gmx.net>
3775
3776         Fixed regression:
3777         * gnu/java/beans/IntrospectionIncubator.java:
3778         (addMethod): Corrected classification of normal and property methods.
3779         (capitalize): Added documentation.
3780         (DoubleKey): [class] Added documentation.
3781
3782 2004-11-09  Tom Tromey  <tromey@redhat.com>
3783
3784         * include/jni.h: Added FIXME.
3785
3786 2004-11-08  Tom Tromey  <tromey@redhat.com>
3787
3788         * java/util/GregorianCalendar.java: Removed unused imports.
3789         * java/util/Vector.java: Removed unused import.
3790
3791 2004-11-07  Michael Koch  <konqueror@gmx.de>
3792
3793         * java/lang/Process.java:
3794         Import cleanups.
3795
3796 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
3797
3798         * java/util/zip/ZipEntry.java
3799         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
3800
3801 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
3802
3803         Fixes bug #10908
3804         * gnu/java/beans/IntrospectionIncubator.java:
3805         (addMethod): static methods are discarded now, too.
3806
3807 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3808
3809         * java/util/GregorianCalendar.java
3810         Added/amended documentation.
3811
3812 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3813
3814         * java/util/Collections.java
3815         Added documentation.
3816         * java/util/SortedMap.java
3817         Clarified some method examples.
3818         * java/util/SortedSet.java
3819         Clarified some method examples.
3820
3821 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3822
3823         * java/util/Currency.java
3824         Documented variables and methods more fully.
3825         Caches the currency instances, so that a request
3826         for a locale, l, only ever returns the same
3827         instance (i.e. successive calls to getInstance(l)
3828         are reference equivalent (==)).
3829
3830 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3831
3832         * java/util/Date.java
3833         Added missing documentation.
3834
3835 2004-11-06  Michael Koch  <konqueror@gmx.de>
3836
3837         * java/util/zip/CheckedInputStream.java,
3838         java/util/zip/InflaterInputStream.java,
3839         java/util/zip/ZipFile.java,
3840         java/util/zip/ZipInputStream.java:
3841         Import cleanups.
3842
3843 2004-11-06  Tom Tromey  <tromey@redhat.com>
3844
3845         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
3846         package-private.
3847         (connections): Likewise.
3848         (scavenger): Likewise.
3849         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
3850         package-private.
3851         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
3852         package-private.
3853         (ptr): Likewise.
3854         * gnu/classpath/ServiceFactory.java (log): Now package-private.
3855
3856 2004-11-06  Tom Tromey  <tromey@redhat.com>
3857
3858         * javax/naming/directory/BasicAttributes.java (attributes): Now
3859         package-private.
3860         * javax/imageio/spi/ServiceRegistry.java (categories): Now
3861         package-private.
3862
3863 2004-11-06  Tom Tromey  <tromey@redhat.com>
3864
3865         * java/net/URLClassLoader.java (URLClassLoader): Now
3866         package-private.
3867         * java/nio/charset/CoderResult.java (CoderResult): Now
3868         package-private.
3869         (get): Likewise.
3870         (Cache): Likewise.  Don't synchronize on `this'.
3871         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
3872         package-private.
3873         * java/util/TimeZone.java (timezones): Now package-private.
3874
3875 2004-11-06  Tom Tromey  <tromey@redhat.com>
3876
3877         * java/security/Permissions.java (perms): Now package-private.
3878         * java/security/UnresolvedPermission.java (permissions): Now
3879         package-private.
3880
3881 2004-11-06  Tom Tromey  <tromey@redhat.com>
3882
3883         * java/io/FilePermission.java: Reindented.
3884
3885 2004-11-06  Tom Tromey  <tromey@redhat.com>
3886
3887         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
3888         package-private.
3889         (setBlockDataMode): Likewise.
3890
3891 2004-11-06  Tom Tromey  <tromey@redhat.com>
3892
3893         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
3894         package-private.
3895         (Encoder): Likewise.
3896         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
3897         (Encoder): Likewise.
3898         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
3899         package-private.
3900         (Encoder): Likewise.
3901
3902 2004-11-06  Mark Wielaard  <mark@klomp.org>
3903
3904         * Makefile.am: Add new javax.imageio files.
3905         * Makefile.in: Regenerated.
3906
3907 2004-11-06  Michael Koch  <konqueror@gmx.de>
3908
3909         * javax/imageio/event/IIOReadProgressListener.java,
3910         javax/imageio/event/IIOReadUpdateListener.java,
3911         javax/imageio/event/IIOReadWarningListener.java,
3912         javax/imageio/event/IIOWriteProgressListener.java,
3913         javax/imageio/event/IIOWriteWarningListener.java,
3914         javax/imageio/metadata/IIOMetadataFormat.java,
3915         javax/imageio/stream/FileCacheImageInputStream.java,
3916         javax/imageio/stream/FileCacheImageOutputStream.java,
3917         javax/imageio/stream/ImageInputStreamImpl.java:
3918         Import cleanup.
3919         * javax/imageio/metadata/package.html: New file.
3920
3921 2004-11-06  Michael Koch  <konqueror@gmx.de>
3922
3923         * javax/imageio/spi/ImageReaderSpi.java
3924         (isOwnReader): New method.
3925         * javax/imageio/spi/ImageWriterSpi.java
3926         (isOwnWriter): Likewise.
3927
3928 2004-11-06  Michael Koch  <konqueror@gmx.de>
3929
3930         * javax/imageio/ImageWriter.java
3931         (convertImageMetadata): New abstract method.
3932         (convertStreamMetadata): Likewise.
3933         (write): Likewise.
3934         * javax/imageio/stream/FileCacheImageInputStream.java
3935         (close): Fixed setting of stream to null.
3936         (checkStreamClosed): Throws IOException.
3937
3938 2004-11-06  Michael Koch  <konqueror@gmx.de>
3939
3940         * javax/imageio/stream/FileCacheImageInputStream.java,
3941         javax/imageio/stream/FileCacheImageOutputStream.java,
3942         javax/imageio/stream/FileImageInputStream.java,
3943         javax/imageio/stream/FileImageOutputStream.java,
3944         javax/imageio/stream/MemoryCacheImageInputStream.java,
3945         javax/imageio/stream/MemoryCacheImageOutputStream.java:
3946         New files.
3947
3948 2004-11-06  Michael Koch  <konqueror@gmx.de>
3949
3950         * javax/imageio/metadata/IIOInvalidTreeException.java,
3951         javax/imageio/metadata/IIOMetadataFormatImpl.java,
3952         javax/imageio/metadata/IIOMetadataNode.java:
3953         New stub files.
3954
3955 2004-11-06  Michael Koch  <konqueror@gmx.de>
3956
3957         * javax/imageio/stream/ImageInputStreamImpl.java,
3958         javax/imageio/stream/ImageOutputStreamImpl.java:
3959         New files.
3960
3961 2004-11-06  Michael Koch  <konqueror@gmx.de>
3962
3963         * javax/imageio/ImageIO.java:
3964         Added much new methods.
3965
3966 2004-11-06  Michael Koch  <konqueror@gmx.de>
3967
3968         * javax/imageio/ImageReader.java,
3969         javax/imageio/ImageWriter.java,
3970         javax/imageio/spi/ImageWriterSpi.java:
3971         Add SOME new methods.
3972
3973 2004-11-06  Michael Koch  <konqueror@gmx.de>
3974
3975         * javax/imageio/IIOParam.java,
3976         javax/imageio/ImageReadParam.java,
3977         javax/imageio/ImageReader.java,
3978         javax/imageio/ImageWriter.java:
3979         Mostly implemented.
3980         * javax/imageio/spi/ImageReaderSpi.java,
3981         javax/imageio/spi/ImageWriterSpi.java:
3982         New files.
3983
3984 2004-11-06  Michael Koch  <konqueror@gmx.de>
3985
3986         * javax/imageio/ImageWriteParam.java,
3987         javax/imageio/metadata/IIOMetadataFormat.java:
3988         Implemented.
3989
3990 2004-11-06  Michael Koch  <konqueror@gmx.de>
3991
3992         * javax/imageio/ImageTypeSpecifier.java:
3993         Mostly implemented.
3994
3995 2004-11-06  Michael Koch  <konqueror@gmx.de>
3996
3997         * javax/imageio/metadata/IIOMetadata.java:
3998         Mostly implemented.
3999
4000 2004-11-06  Michael Koch  <konqueror@gmx.de>
4001
4002         * javax/imageio/IIOImage.java,
4003         javax/imageio/ImageReadParam.java,
4004         javax/imageio/metadata/IIOMetadataController.java,
4005         javax/imageio/metadata/IIOMetadataFormat.java:
4006         New files.
4007         * javax/imageio/stream/ImageOutputStream.java:
4008         Implemented.
4009
4010 2004-11-06  Michael Koch  <konqueror@gmx.de>
4011
4012         * javax/imageio/IIOParam.java,
4013         javax/imageio/IIOParamController.java,
4014         javax/imageio/ImageTypeSpecifier.java,
4015         javax/imageio/ImageWriteParam.java,
4016         javax/imageio/metadata/IIOMetadata.java:
4017         New files.
4018         * javax/imageio/ImageTranscoder.java:
4019         Implemented.
4020
4021 2004-11-06  Michael Koch  <konqueror@gmx.de>
4022
4023         * javax/imageio/spi/ImageInputStreamSpi.java,
4024         javax/imageio/spi/ImageOutputStreamSpi.java:
4025         Reworked import startments.
4026         * javax/imageio/spi/ServiceRegistry.java:
4027         Reworked import startments. Fixed XHTML in javadocs.
4028         (ServiceRegistry): Added @param tag to javadoc.
4029         * javax/imageio/stream/ImageInputStream.java
4030         (mark): Doesn't throws IOException;
4031
4032 2004-11-06  Michael Koch  <konqueror@gmx.de>
4033
4034         * javax/imageio/ImageIO.java:
4035         New file.
4036
4037 2004-11-06  Michael Koch  <konqueror@gmx.de>
4038
4039         * javax/imageio/spi/IIORegistry.java
4040         (static): Don't register ImageReaderSpi.class and
4041         ImageWriterSpi.class yet.
4042
4043 2004-11-06  Michael Koch  <konqueror@gmx.de>
4044
4045         * javax/imageio/spi/IIORegistry.java:
4046         New file.
4047
4048 2004-11-06  Noa Resare  <noa@resare.com>
4049
4050         * java/net/Socket.java (getPort): Return 0 instead of -1 on
4051         unconnected sockets.
4052
4053 2004-11-06  Michael Koch  <konqueror@gmx.de>
4054
4055         * java/lang/StringBuffer.java,
4056         java/lang/Throwable.java,
4057         java/security/spec/DSAParameterSpec.java,
4058         java/util/zip/ZipEntry.java,
4059         java/util/zip/ZipFile.java,
4060         java/util/zip/ZipInputStream.java,
4061         java/util/zip/ZipOutputStream.java:
4062         Removed redundant and reordered modifiers.
4063
4064 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4065
4066         * java/io/Vector.java
4067         (writeObject): New function to serialized output thread safe.
4068
4069         * java/io/ObjectOutputStream.java
4070         (writeObject): Move the assignment of the class handle to after
4071         the assignment of class descriptor handle.
4072
4073 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4074
4075         Fixes documentation and indentation
4076         * java/beans/PropertyEditorSupport.java:
4077         reworked initial API doc
4078         (value): changed name from val
4079
4080 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4081
4082         Updates to 1.5
4083         * java/beans/PropertyEditorSupport.java
4084         (PropertyEditorSupport()): Changed modifier to public
4085         (PropertyEditorSupport(Object): Changed modifier to public
4086         (setSource): New method
4087         (getSource): New method
4088
4089 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4090
4091         Fixes bug #10799
4092         * java/beans/PropertyEditorSupport.java
4093         (setValue): Fire property change event
4094
4095 2004-11-03  Tom Tromey  <tromey@redhat.com>
4096
4097         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4098         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4099         returns jobjectArray.
4100         (_Jv_JNIEnv::NewObjectArray): Likewise.
4101
4102 2004-11-01  Tom Tromey  <tromey@redhat.com>
4103
4104         * verify.cc (state::check_no_uninitialized_objects): Removed.
4105         (push_jump): Updated.
4106         (push_exception_jump): Likewise.
4107         (handle_ret_insn): Likewise.
4108         (handle_jsr_insn): Likewise.
4109
4110 2004-10-30  Mark Wielaard  <mark@klomp.org>
4111
4112         PR libgcj/18234
4113         * java/lang/Runtime.java (static): Call init().
4114         (Runtime): Remove call to init().
4115         (init): Make static.
4116
4117 2004-10-28  David Daney  <ddaney@avtrex.com>
4118
4119         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4120         * Makefile.am: Build it.
4121         * Makefile.in: Regenerate.
4122
4123 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4124
4125         PR libgcj/18104
4126         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
4127         colon.
4128         * Makefile.in: Regenerate.
4129         * configure: Regenerate.
4130         * configure.ac (CLASSPATH_SEPARATOR): Define.
4131         * gcj/Makefile.in: Regenerate.
4132         * include/Makefile.in: Regenerate.
4133         * testsuite/Makefile.in: Regenerate.
4134         * testsuite/lib/libjava.exp (libjava_arguments): Fix
4135         CLASSPATH separator handling for Windows.
4136
4137 2004-10-26  Michael Koch  <konqueror@gmx.de>
4138
4139         * gnu/java/net/protocol/http/Connection.java
4140         (getOutputStream): Implicitely switch to POST method.
4141
4142 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
4143
4144         * libjava/java/lang/Class.h
4145         (java::lang::Class): Correct friend class declaration.
4146
4147 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
4148
4149         * Makefile.am (DARWIN_CRT_SRC): New.
4150         (libgcj_la_SOURCES): Use it.
4151         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4152         * darwin.cc: New file.
4153         * include/jvm.h (_Jv_RegisterClasses): Constify.
4154         (_Jv_RegisterClasses_Counted): New prototype.
4155         * java/lang/Class.h: Include stddef.h.
4156         (_Jv_RegisterClasses): Constify.
4157         (_Jv_RegisterClasses_Counted): New prototype.
4158         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4159         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4160         (_Jv_RegisterClasses_Counted): New function.
4161         * configure: Regenerate.
4162         * Makefile.in: Regenerate.
4163         * gcj/Makefile.in: Regenerate.
4164         * include/Makefile.in: Regenerate.
4165         * testsuite/Makefile.in: Regenerate.
4166
4167 2004-10-25  Tom Tromey  <tromey@redhat.com>
4168
4169         * java/util/ResourceBundle.java (tryBundle): Use
4170         Class.isAssignableFrom rather than catching ClassCastException.
4171
4172 2004-10-25  Tom Tromey  <tromey@redhat.com>
4173
4174         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4175         initialize `iter'.
4176         * gnu/java/text/SentenceBreakIterator.java
4177         (SentenceBreakIterator): Don't initialize `iter'.
4178         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4179         initialize `iter'.
4180         * gnu/java/text/CharacterBreakIterator.java
4181         (CharacterBreakIterator): Don't initialize `iter'.
4182         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4183         constructor.
4184         * java/text/BreakIterator.java: Updated documentation.
4185
4186 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
4187
4188         PR other/18138
4189         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4190
4191 2004-10-23  Michael Koch  <konqueror@gmx.de>
4192
4193         * javax/print/DocFlavor.java,
4194         javax/print/attribute/standard/JobStateReason.java,
4195         javax/print/attribute/standard/MultipleDocumentHandling.java:
4196         Added missing constants.
4197
4198 2004-10-22  Tom Tromey  <tromey@redhat.com>
4199
4200         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4201         typo.
4202
4203 2004-10-22  Michael Koch  <konqueror@gmx.de>
4204
4205         PR libjava/14009
4206         * gnu/java/net/protocol/http/Connection.java
4207         (sendRequest): Handle case when url.getFile() returns an empty string.
4208
4209 2004-10-22  Michael Koch  <konqueror@gmx.de>
4210
4211         * java/lang/Math.java,
4212         java/lang/StackTraceElement.java,
4213         java/nio/Buffer.java,
4214         java/nio/ByteBuffer.java,
4215         java/nio/CharBuffer.java,
4216         java/nio/DoubleBuffer.java,
4217         java/nio/FloatBuffer.java,
4218         java/nio/IntBuffer.java,
4219         java/nio/LongBuffer.java,
4220         java/nio/ShortBuffer.java,
4221         java/nio/charset/Charset.java,
4222         java/rmi/server/RMIClassLoader.java,
4223         java/rmi/server/RMISocketFactory.java,
4224         java/security/Policy.java,
4225         java/text/ChoiceFormat.java,
4226         java/text/CollationElementIterator.java,
4227         java/text/DateFormat.java,
4228         java/text/DecimalFormat.java,
4229         java/text/DecimalFormatSymbols.java,
4230         java/text/MessageFormat.java,
4231         java/text/NumberFormat.java,
4232         java/text/RuleBasedCollator.java,
4233         java/text/SimpleDateFormat.java,
4234         java/util/BitSet.java,
4235         java/util/Calendar.java,
4236         java/util/Collections.java,
4237         java/util/IdentityHashMap.java,
4238         java/util/Locale.java,
4239         java/util/TreeMap.java,
4240         java/util/logging/LogRecord.java,
4241         java/util/logging/XMLFormatter.java,
4242         java/util/prefs/AbstractPreferences.java,
4243         java/util/prefs/Preferences.java,
4244         javax/crypto/interfaces/DHPrivateKey.java,
4245         javax/crypto/interfaces/DHPublicKey.java,
4246         javax/crypto/interfaces/PBEKey.java,
4247         javax/net/ssl/HandshakeCompletedEvent.java,
4248         javax/security/auth/Subject.java:
4249         Removed redundant and reordered modifiers.
4250
4251 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
4252
4253         * gnu/java/net/natPlainSocketImplPosix.cc
4254         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4255         with 'int *' argument instead of 'long *'.
4256
4257 2004-10-21  Michael Koch  <konqueror@gmx.de>
4258
4259         * java/net/NetworkInterface.java,
4260         java/text/Format.java,
4261         javax/security/auth/x500/X500Principal.java,
4262         javax/security/auth/x500/X500PrivateCredential.java,
4263         javax/security/cert/X509CertBridge.java,
4264         javax/security/sasl/Sasl.java,
4265         javax/sql/XAConnection.java:
4266         Import cleanup.
4267
4268 2004-10-21  Michael Koch  <konqueror@gmx.de>
4269
4270         * javax/net/ssl/HandshakeCompletedEvent.java,
4271         javax/net/ssl/KeyManagerFactory.java,
4272         javax/net/ssl/SSLContext.java,
4273         javax/net/ssl/SSLServerSocketFactory.java,
4274         javax/net/ssl/SSLSession.java,
4275         javax/net/ssl/SSLSocketFactory.java,
4276         javax/net/ssl/TrustManagerFactory.java:
4277         Import cleanup.
4278
4279 2004-10-21  Michael Koch  <konqueror@gmx.de>
4280
4281         * javax/naming/directory/BasicAttribute.java,
4282         javax/naming/directory/BasicAttributes.java,
4283         javax/naming/directory/InitialDirContext.java,
4284         javax/naming/event/NamingEvent.java,
4285         javax/naming/ldap/ControlFactory.java,
4286         javax/naming/ldap/ExtendedRequest.java,
4287         javax/naming/ldap/InitialLdapContext.java,
4288         javax/naming/ldap/LdapReferralException.java,
4289         javax/naming/spi/DirObjectFactory.java,
4290         javax/naming/spi/DirStateFactory.java,
4291         javax/naming/spi/DirectoryManager.java,
4292         javax/naming/spi/InitialContextFactory.java,
4293         javax/naming/spi/InitialContextFactoryBuilder.java,
4294         javax/naming/spi/NamingManager.java,
4295         javax/naming/spi/ObjectFactory.java,
4296         javax/naming/spi/ObjectFactoryBuilder.java,
4297         javax/naming/spi/StateFactory.java:
4298         Import cleanup.
4299
4300 2004-10-21  Michael Koch  <konqueror@gmx.de>
4301
4302         * javax/crypto/Cipher.java,
4303         javax/crypto/EncryptedPrivateKeyInfo.java,
4304         javax/crypto/ExemptionMechanism.java,
4305         javax/crypto/KeyAgreement.java,
4306         javax/crypto/KeyGenerator.java,
4307         javax/crypto/Mac.java,
4308         javax/crypto/SecretKeyFactory.java,
4309         javax/crypto/SecretKeyFactorySpi.java,
4310         javax/crypto/spec/SecretKeySpec.java:
4311         Import cleanup.
4312
4313 2004-10-21  Michael Koch  <konqueror@gmx.de>
4314
4315         * java/security/AlgorithmParameterGenerator.java,
4316         java/security/AlgorithmParameters.java,
4317         java/security/AlgorithmParametersSpi.java,
4318         java/security/AllPermission.java,
4319         java/security/BasicPermission.java,
4320         java/security/Certificate.java,
4321         java/security/CodeSource.java,
4322         java/security/DigestInputStream.java,
4323         java/security/DigestOutputStream.java,
4324         java/security/GuardedObject.java,
4325         java/security/KeyFactory.java,
4326         java/security/KeyFactorySpi.java,
4327         java/security/KeyPairGenerator.java,
4328         java/security/KeyStore.java,
4329         java/security/KeyStoreSpi.java,
4330         java/security/Permissions.java,
4331         java/security/Security.java,
4332         java/security/Signature.java,
4333         java/security/UnresolvedPermission.java,
4334         java/security/cert/CertPathBuilder.java,
4335         java/security/cert/CertPathValidator.java,
4336         java/security/cert/CertStore.java,
4337         java/security/cert/Certificate.java,
4338         java/security/cert/CertificateFactory.java,
4339         java/security/cert/PolicyQualifierInfo.java,
4340         java/security/cert/TrustAnchor.java,
4341         java/security/cert/X509CRL.java,
4342         java/security/cert/X509CRLSelector.java,
4343         java/security/cert/X509CertSelector.java:
4344         Import cleanup.
4345
4346 2004-10-21  Michael Koch  <konqueror@gmx.de>
4347
4348         * java/rmi/MarshalledObject.java,
4349         java/rmi/Naming.java,
4350         java/rmi/activation/Activatable.java,
4351         java/rmi/activation/ActivationGroup.java,
4352         java/rmi/activation/ActivationGroupDesc.java,
4353         java/rmi/activation/ActivationInstantiator.java,
4354         java/rmi/activation/ActivationMonitor.java,
4355         java/rmi/activation/ActivationSystem.java,
4356         java/rmi/activation/Activator.java,
4357         java/rmi/registry/LocateRegistry.java,
4358         java/rmi/registry/Registry.java,
4359         java/rmi/server/LogStream.java,
4360         java/rmi/server/ObjID.java,
4361         java/rmi/server/RMIClientSocketFactory.java,
4362         java/rmi/server/RMIServerSocketFactory.java,
4363         java/rmi/server/RMISocketFactory.java,
4364         java/rmi/server/RemoteCall.java,
4365         java/rmi/server/RemoteServer.java,
4366         java/rmi/server/ServerRef.java,
4367         java/rmi/server/UID.java,
4368         java/rmi/server/UnicastRemoteObject.java:
4369         Import cleanup.
4370
4371 2004-10-21  Tom Tromey  <tromey@redhat.com>
4372
4373         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4374         exception if we hit EOF of `in'.
4375         (read): Handle case where inflating returns -1.
4376
4377 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
4378
4379         * gnu/java/nio/channels/natFileChannelPosix.cc
4380         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4381         argument instead of 'long *'.
4382
4383 2004-10-21  Tom Tromey  <tromey@redhat.com>
4384
4385         * java/util/ResourceBundle.java (tryBundle): Also ignore
4386         ClassCastException.
4387
4388 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
4389
4390         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4391         for all sh*-*-linux* targets.
4392         * configure: Regenerate.
4393         * include/sh-signal.h: New file.
4394
4395 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4396
4397         * java/lang/ieeefp.h: Add m32r support.
4398
4399 2004-10-20  Andreas Schwab  <schwab@suse.de>
4400
4401         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4402         to uaddr, not int.
4403         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4404         Likewise.
4405
4406 2004-10-20  Michael Koch  <konqueror@gmx.de>
4407
4408         * javax/print/attribute/standard/ColorSupported.java,
4409         javax/print/attribute/standard/Compression.java,
4410         javax/print/attribute/standard/Copies.java,
4411         javax/print/attribute/standard/CopiesSupported.java,
4412         javax/print/attribute/standard/DateTimeAtCompleted.java,
4413         javax/print/attribute/standard/DateTimeAtCreation.java,
4414         javax/print/attribute/standard/DateTimeAtProcessing.java,
4415         javax/print/attribute/standard/DocumentName.java,
4416         javax/print/attribute/standard/Fidelity.java,
4417         javax/print/attribute/standard/Finishings.java,
4418         javax/print/attribute/standard/JobHoldUntil.java,
4419         javax/print/attribute/standard/JobImpressions.java,
4420         javax/print/attribute/standard/JobImpressionsCompleted.java,
4421         javax/print/attribute/standard/JobImpressionsSupported.java,
4422         javax/print/attribute/standard/JobKOctets.java,
4423         javax/print/attribute/standard/JobKOctetsProcessed.java,
4424         javax/print/attribute/standard/JobKOctetsSupported.java,
4425         javax/print/attribute/standard/JobMediaSheets.java,
4426         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4427         javax/print/attribute/standard/JobMediaSheetsSupported.java,
4428         javax/print/attribute/standard/JobMessageFromOperator.java,
4429         javax/print/attribute/standard/JobName.java,
4430         javax/print/attribute/standard/JobOriginatingUserName.java,
4431         javax/print/attribute/standard/JobPriority.java,
4432         javax/print/attribute/standard/JobPrioritySupported.java,
4433         javax/print/attribute/standard/JobSheets.java,
4434         javax/print/attribute/standard/JobState.java,
4435         javax/print/attribute/standard/JobStateReason.java,
4436         javax/print/attribute/standard/JobStateReasons.java,
4437         javax/print/attribute/standard/Media.java,
4438         javax/print/attribute/standard/MultipleDocumentHandling.java,
4439         javax/print/attribute/standard/NumberOfDocuments.java,
4440         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4441         javax/print/attribute/standard/NumberUp.java,
4442         javax/print/attribute/standard/NumberUpSupported.java,
4443         javax/print/attribute/standard/OrientationRequested.java,
4444         javax/print/attribute/standard/OutputDeviceAssigned.java,
4445         javax/print/attribute/standard/PDLOverrideSupported.java,
4446         javax/print/attribute/standard/PageRanges.java,
4447         javax/print/attribute/standard/PagesPerMinute.java,
4448         javax/print/attribute/standard/PagesPerMinuteColor.java,
4449         javax/print/attribute/standard/PrintQuality.java,
4450         javax/print/attribute/standard/PrinterInfo.java,
4451         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4452         javax/print/attribute/standard/PrinterLocation.java,
4453         javax/print/attribute/standard/PrinterMakeAndModel.java,
4454         javax/print/attribute/standard/PrinterMessageFromOperator.java,
4455         javax/print/attribute/standard/PrinterMoreInfo.java,
4456         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4457         javax/print/attribute/standard/PrinterName.java,
4458         javax/print/attribute/standard/PrinterStateReason.java,
4459         javax/print/attribute/standard/PrinterStateReasons.java,
4460         javax/print/attribute/standard/PrinterURI.java,
4461         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4462         javax/print/attribute/standard/RequestingUserName.java:
4463         Reorganized imports and removed redundant final modifiers.
4464
4465 2004-10-20  Michael Koch  <konqueror@gmx.de>
4466
4467         * javax/security/sasl/SaslClient.java,
4468         javax/security/sasl/SaslClientFactory.java,
4469         javax/security/sasl/SaslException.java,
4470         javax/security/sasl/SaslServer.java,
4471         javax/security/sasl/SaslServerFactory.java:
4472         Remvoed CVS tags.
4473
4474 2004-10-20  Michael Koch  <konqueror@gmx.de>
4475
4476         * javax/security/auth/login/NullConfiguration.java,
4477         javax/security/auth/x500/X500Principal.java,
4478         javax/security/cert/X509Certificate.java,
4479         javax/security/sasl/AuthenticationException.java,
4480         javax/security/sasl/AuthorizeCallback.java,
4481         javax/security/sasl/RealmCallback.java,
4482         javax/security/sasl/RealmChoiceCallback.java,
4483         javax/security/sasl/Sasl.java,
4484         javax/security/sasl/SaslClient.java,
4485         javax/security/sasl/SaslClientFactory.java,
4486         javax/security/sasl/SaslException.java,
4487         javax/security/sasl/SaslServer.java,
4488         javax/security/sasl/SaslServerFactory.java:
4489         Cleaned up import statements and copyright notices.
4490
4491 2004-10-20  Michael Koch  <konqueror@gmx.de>
4492
4493         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4494
4495 2004-10-20  Michael Koch  <konqueror@gmx.de>
4496
4497         * java/sql/Timestamp.java,
4498         java/text/AttributedCharacterIterator.java,
4499         java/text/AttributedString.java,
4500         java/util/zip/CheckedOutputStream.java,
4501         java/util/zip/DeflaterOutputStream.java,
4502         java/util/zip/ZipFile.java,
4503         javax/crypto/Cipher.java,
4504         javax/crypto/ExemptionMechanismException.java,
4505         javax/crypto/SecretKey.java,
4506         javax/crypto/SecretKeyFactory.java,
4507         javax/naming/directory/ModificationItem.java,
4508         javax/naming/directory/SearchControls.java,
4509         javax/naming/event/NamingListener.java,
4510         javax/naming/ldap/Control.java,
4511         javax/naming/ldap/ExtendedResponse.java,
4512         javax/net/ssl/SSLSocketFactory.java:
4513         Reorganized imports and fixed copyright headers.
4514
4515 2004-10-20  Michael Koch  <konqueror@gmx.de>
4516
4517         * java/util/logging/ConsoleHandler.java,
4518         java/util/logging/ErrorManager.java,
4519         java/util/logging/FileHandler.java,
4520         java/util/logging/Filter.java,
4521         java/util/logging/Formatter.java,
4522         java/util/logging/Handler.java,
4523         java/util/logging/Level.java,
4524         java/util/logging/LogManager.java,
4525         java/util/logging/LogRecord.java,
4526         java/util/logging/Logger.java,
4527         java/util/logging/LoggingPermission.java,
4528         java/util/logging/MemoryHandler.java,
4529         java/util/logging/SimpleFormatter.java,
4530         java/util/logging/SocketHandler.java,
4531         java/util/logging/StreamHandler.java,
4532         java/util/logging/XMLFormatter.java:
4533         Standardized copyrigth header.
4534
4535 2004-10-20  Michael Koch  <konqueror@gmx.de>
4536
4537         * java/security/AlgorithmParameterGenerator.java,
4538         java/security/AlgorithmParameters.java,
4539         java/security/DigestInputStream.java,
4540         java/security/Identity.java,
4541         java/security/KeyFactory.java,
4542         java/security/KeyPairGenerator.java,
4543         java/security/KeyStore.java,
4544         java/security/MessageDigest.java,
4545         java/security/MessageDigestSpi.java,
4546         java/security/Policy.java,
4547         java/security/SecureRandom.java,
4548         java/security/Security.java,
4549         java/security/Signature.java,
4550         java/security/SignatureSpi.java,
4551         java/security/cert/CertPathBuilder.java,
4552         java/security/cert/CertPathValidator.java,
4553         java/security/cert/CertStore.java,
4554         java/security/cert/Certificate.java,
4555         java/security/cert/CertificateFactory.java,
4556         java/security/cert/PolicyQualifierInfo.java,
4557         java/security/cert/TrustAnchor.java,
4558         java/security/cert/X509CRL.java,
4559         java/security/cert/X509CRLEntry.java,
4560         java/security/cert/X509Certificate.java,
4561         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4562         Import statements reorganized, some little formatting issues,
4563         used java-style array declarations, added comments in empty catch
4564         blocks.
4565
4566 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4567
4568         * java/security/Security.java
4569         (static): Use AccessController.doPrivileged to get system property.
4570
4571 2004-10-18  Sven de Marothy  <sven@physto.se>
4572
4573         * java/nio/ByteBufferHelper.java
4574         (putDouble): Use Double.toRawLongBits instead.
4575
4576 2004-10-18  Mark Wielaard  <mark@klomp.org>
4577         Andrew Haley  <aph@redhat.com>
4578
4579         * testsuite/libjava.lang/ExtraClassLoader.java: New.
4580
4581 2004-10-18  Andrew Haley  <aph@redhat.com>
4582
4583         PR java/18036:
4584         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4585         and correct logic used to find interpreter.
4586
4587 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4588
4589         * java/util/logging/LogManager.java
4590         (findAncestor): Fixed IndexOutOfBoundsException.
4591
4592 2004-10-18  Michael Koch  <konqueror@gmx.de>
4593
4594         * java/io/BufferedInputStream.java: Fixed @author tag.
4595         (read): Simplified expression.
4596         (read): Merged javadoc a bit more.
4597         (read): Renamed 'remain' to 'totalBytesRead'.
4598         * java/io/DataInputStream.java,
4599         java/io/DataOutputStream.java,
4600         java/io/ObjectInputStream.java,
4601         java/io/ObjectOutputStream.java:
4602         Reworked modifier order.
4603
4604 2004-10-18  Michael Koch  <konqueror@gmx.de>
4605
4606         * java/net/Inet4Address.java: Merged file header and javadocs.
4607         * java/net/Inet6Address.java: Likewise.
4608         * java/net/InetAddress.java
4609         (getCanonicalHostName): Create Inet4Address object instead of
4610         InetAddress and add comment regarding IPv6.
4611         (toString): Simplified.
4612
4613 2004-10-18  Michael Koch  <konqueror@gmx.de>
4614
4615         * gnu/java/net/protocol/http/Connection.java,
4616         java/nio/MappedByteBufferImpl.java,
4617         java/text/RuleBasedCollator.java,
4618         java/util/ResourceBundle.java:
4619         Reworked import statements.
4620
4621 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4622
4623         * java/security/IdentityScope.java
4624         (systemScope): Removed useless initializer.
4625         * java/security/Policy.java
4626         (currentPolicy): Likewise.
4627
4628 2004-10-18  Michael Koch  <konqueror@gmx.de>
4629
4630         * java/lang/System.java: Revert accidential change.
4631
4632 2004-10-18  Michael Koch  <konqueror@gmx.de>
4633
4634         * java/lang/Math.java,
4635         java/lang/Package.java,
4636         java/lang/Runtime.java,
4637         java/lang/StrictMath.java,
4638         java/lang/System.java,
4639         java/lang/Thread.java,
4640         java/lang/ThreadLocal.java,
4641         java/lang/Void.java:
4642         Reworked import statements, HTML in javadocs and modifier orders.
4643
4644 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4645
4646         * java/util/Timer.java
4647         (nr): Removed useless initializer.
4648         * java/util/logging/LogRecord.java
4649         (lastSeqNum): Likewise.
4650         * javax/naming/spi/NamingManager.java
4651         (icfb, ofb): Likewise.
4652
4653 2004-10-18  Michael Koch  <konqueror@gmx.de>
4654
4655         * gnu/java/net/PlainDatagramSocketImpl.java:
4656         Reworked import statements.
4657         * gnu/java/security/provider/DSAParameters.java:
4658         Fixed copyrigth years.
4659         * java/net/JarURLConnection.java:
4660         Fixed HTML in @author tags.
4661
4662
4663 2004-10-18  Michael Koch  <konqueror@gmx.de>
4664
4665         * java/rmi/activation/ActivationSystem.java
4666         (SYSTEM_PORT): Initialize with correct port number.
4667
4668 2004-10-18  Michael Koch  <konqueror@gmx.de>
4669
4670         * java/lang/reflect/Proxy.java: Improved javadocs.
4671
4672 2004-10-18  Michael Koch  <konqueror@gmx.de>
4673
4674         * java/lang/reflect/AccessibleObject.java
4675         (checkPermission): Removed redundant final modifier.
4676         (secureSetAccessible): Likewise.
4677         * java/lang/reflect/Proxy.java:
4678         Reworked import statements.
4679         (generate): Removed redundant final modifier.
4680         * java/lang/reflect/ReflectPermission.java:
4681         Reorder package declaration and import statement.
4682
4683 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4684
4685         * java/lang/reflect/Proxy.java
4686         (count): Removed useless initializer.
4687
4688 2004-10-17  Michael Koch  <konqueror@gmx.de>
4689
4690         * java/net/BindException.java,
4691         java/net/ConnectException.java,
4692         java/net/ContentHandler.java,
4693         java/net/ContentHandlerFactory.java,
4694         java/net/DatagramPacket.java,
4695         java/net/DatagramSocket.java,
4696         java/net/DatagramSocketImpl.java,
4697         java/net/DatagramSocketImplFactory.java,
4698         java/net/FileNameMap.java,
4699         java/net/HttpURLConnection.java,
4700         java/net/MalformedURLException.java,
4701         java/net/MulticastSocket.java,
4702         java/net/NetworkInterface.java,
4703         java/net/NoRouteToHostException.java,
4704         java/net/PasswordAuthentication.java,
4705         java/net/PortUnreachableException.java,
4706         java/net/ProtocolException.java,
4707         java/net/ServerSocket.java,
4708         java/net/Socket.java,
4709         java/net/SocketException.java,
4710         java/net/SocketImpl.java,
4711         java/net/SocketImplFactory.java,
4712         java/net/SocketOptions.java,
4713         java/net/SocketPermission.java,
4714         java/net/SocketTimeoutException.java,
4715         java/net/URI.java,
4716         java/net/URISyntaxException.java,
4717         java/net/URL.java,
4718         java/net/URLDecoder.java,
4719         java/net/URLEncoder.java,
4720         java/net/URLStreamHandler.java,
4721         java/net/URLStreamHandlerFactory.java,
4722         java/net/UnknownHostException.java,
4723         java/net/UnknownServiceException.java:
4724         Big import statement and @author tag cleanup.
4725
4726 2004-10-17  Michael Koch  <konqueror@gmx.de>
4727
4728         * gnu/java/security/OID.java,
4729         gnu/java/security/provider/DSAParameters.java,
4730         gnu/java/security/provider/DSASignature.java,
4731         gnu/java/security/x509/X500DistinguishedName.java,
4732         gnu/java/security/x509/X509CRL.java:
4733         Import statements cleaned up.
4734
4735 2004-10-16  Michael Koch  <konqueror@gmx.de>
4736
4737         * gnu/java/nio/NIODatagramSocket.java,
4738         gnu/java/nio/ServerSocketChannelImpl.java:
4739         Reorganized import statements.
4740
4741 2004-10-16  Michael Koch  <konqueror@gmx.de>
4742
4743         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4744         gnu/java/rmi/rmic/RMIC.java,
4745         gnu/java/rmi/server/RMIHashes.java,
4746         gnu/java/rmi/server/RMIObjectInputStream.java,
4747         gnu/java/rmi/server/RMIObjectOutputStream.java,
4748         gnu/java/rmi/server/UnicastConnection.java,
4749         gnu/java/rmi/server/UnicastConnectionManager.java,
4750         gnu/java/rmi/server/UnicastRemoteCall.java,
4751         gnu/java/rmi/server/UnicastServer.java,
4752         gnu/java/rmi/server/UnicastServerRef.java,
4753         java/rmi/MarshalledObject.java,
4754         java/rmi/Naming.java,
4755         java/rmi/RMISecurityManager.java,
4756         java/rmi/Remote.java,
4757         java/rmi/activation/Activatable.java,
4758         java/rmi/activation/ActivationDesc.java,
4759         java/rmi/activation/ActivationGroup.java,
4760         java/rmi/activation/ActivationGroupDesc.java,
4761         java/rmi/activation/ActivationGroupID.java,
4762         java/rmi/activation/ActivationID.java,
4763         java/rmi/activation/ActivationInstantiator.java,
4764         java/rmi/activation/ActivationMonitor.java,
4765         java/rmi/activation/ActivationSystem.java,
4766         java/rmi/activation/Activator.java,
4767         java/rmi/dgc/DGC.java,
4768         java/rmi/dgc/Lease.java,
4769         java/rmi/dgc/VMID.java,
4770         java/rmi/registry/LocateRegistry.java,
4771         java/rmi/registry/Registry.java,
4772         java/rmi/registry/RegistryHandler.java,
4773         java/rmi/server/LoaderHandler.java,
4774         java/rmi/server/LogStream.java,
4775         java/rmi/server/ObjID.java,
4776         java/rmi/server/Operation.java,
4777         java/rmi/server/RMIClassLoader.java,
4778         java/rmi/server/RMIClassLoaderSpi.java,
4779         java/rmi/server/RMIClientSocketFactory.java,
4780         java/rmi/server/RMIFailureHandler.java,
4781         java/rmi/server/RMIServerSocketFactory.java,
4782         java/rmi/server/RMISocketFactory.java,
4783         java/rmi/server/RemoteCall.java,
4784         java/rmi/server/RemoteObject.java,
4785         java/rmi/server/RemoteRef.java,
4786         java/rmi/server/RemoteServer.java,
4787         java/rmi/server/RemoteStub.java,
4788         java/rmi/server/ServerRef.java,
4789         java/rmi/server/Skeleton.java,
4790         java/rmi/server/SkeletonMismatchException.java,
4791         java/rmi/server/UID.java,
4792         java/rmi/server/UnicastRemoteObject.java,
4793         java/rmi/server/Unreferenced.java:
4794         File headers and import statements cleaned up.
4795
4796 2004-10-16  Michael Koch  <konqueror@gmx.de>
4797
4798         * libjava/gnu/java/nio/charset/UTF_16.java,
4799         libjava/gnu/java/nio/charset/UTF_16BE.java,
4800         libjava/gnu/java/nio/charset/UTF_16LE.java,
4801         libjava/java/nio/ByteOrder.java,
4802         libjava/java/nio/MappedByteBuffer.java,
4803         libjava/java/nio/channels/Channels.java,
4804         libjava/java/nio/channels/spi/SelectorProvider.java,
4805         libjava/java/nio/charset/Charset.java:
4806         Cleanup.
4807
4808 2004-10-16  Michael Koch  <konqueror@gmx.de>
4809
4810         * gnu/java/nio/charset/UTF_16Encoder.java
4811         (UTF_16Encoder): Fixed maxBytesPerChar handling.
4812
4813 2004-10-16  Michael Koch  <konqueror@gmx.de>
4814
4815         * java/math/BigDecimal.java, java/math/BigInteger.java:
4816         Reorganized import statements, removed redundant and
4817         reorganized modifiers.
4818
4819 2004-10-16  Michael Koch  <konqueror@gmx.de>
4820
4821         * gnu/java/beans/ExplicitBeanInfo.java:
4822         Explicitely import java.awt.Image.
4823         (getIcon): Fixed off-by-one error.
4824
4825 2004-10-15  Andrew Haley  <aph@redhat.com>
4826
4827         * Makefile.am (nat_files, xlib_nat_files): New.
4828         * Makefile.in: Regenerate.
4829
4830 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
4831
4832         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
4833         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
4834
4835 2004-10-13  Andrew Haley  <aph@redhat.com>
4836
4837         * interpret.cc (_Jv_InterpMethod::run): Initialize
4838         _Jv_StartOfInterpreter.
4839         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
4840         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
4841         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
4842         _Unwind_FindEnclosingFunction to discover whether PC is within the
4843         interpreter.
4844
4845 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
4846
4847         PR libgcj/17903:
4848         * testsuite/libjava.lang/md5test.java: New file.
4849         * testsuite/libjava.lang/md5test.out: Likewise.
4850         * testsuite/libjava.lang/shatest.java: Likewise.
4851         * testsuite/libjava.lang/shatest.out: Likewise.
4852
4853 2004-10-11  Richard Henderson  <rth@redhat.com>
4854
4855         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
4856         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
4857
4858 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
4859
4860         * java/util/Calendar.java (set): Invalidate DST_OFFSET
4861         field as a DST boundary may have been crossed.
4862         * java/util/GregorianCalendar.java (add): Throw
4863         IllegalArgumentException on attempt to add to DST_OFFSET or
4864         ZONE_OFFSET fields. Update javadoc.
4865
4866 2004-10-09  Michael Koch  <konqueror@gmx.de>
4867
4868         * java/io/CharArrayWriter.java
4869         (resize): Removed redundant 'final' modifier.
4870         * java/io/DataInputStream.java
4871         (readFully): Throw IndexOutOfBoundsException of len < 0.
4872         * java/io/FileDescriptor.java,
4873         java/io/FileInputStream.java,
4874         java/io/FileOutputStream.java,
4875         java/io/ObjectOutputStream.java,
4876         java/io/ObjectStreamClass.java,
4877         java/io/PipedInputStream.java,
4878         java/io/RandomAccessFile.java:
4879         Reorganized import statements.
4880
4881 2004-10-09  Michael Koch  <konqueror@gmx.de>
4882
4883         * gnu/java/rmi/rmic/RMIC.java,
4884         gnu/java/rmi/server/RMIHashes.java,
4885         gnu/java/rmi/server/RMIObjectInputStream.java,
4886         gnu/java/rmi/server/UnicastConnection.java,
4887         gnu/java/rmi/server/UnicastConnectionManager.java,
4888         gnu/java/rmi/server/UnicastRemoteCall.java,
4889         gnu/java/rmi/server/UnicastServerRef.java:
4890         Reworked import statements and fixed file headers.
4891
4892 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
4893
4894         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
4895         emission rule.
4896         * configure: Rebuilt.
4897
4898 2004-09-30  Tom Tromey  <tromey@redhat.com>
4899
4900         * java/text/MessageFormat.java (Field): Constructor now
4901         protected.
4902
4903 2004-09-30  Tom Tromey  <tromey@redhat.com>
4904
4905         * javax/crypto/MacSpi.java: Fixed typo.
4906
4907 2004-09-30  Michael Koch  <konqueror@gmx.de>
4908
4909         * java/net/InetAddress.java: Reformatted.
4910         (loopback): Initialize with Inet4Address object.
4911         (static): Initialize ANY_IF with Inet4Address object.
4912         (InetAddress): Removed unused package-private constructor.
4913
4914 2004-09-30  Michael Koch  <konqueror@gmx.de>
4915
4916         * java/beans/Beans.java,
4917         java/beans/EventHandler.java,
4918         java/beans/EventSetDescriptor.java,
4919         java/beans/Introspector.java,
4920         java/beans/PropertyEditorManager.java,
4921         java/beans/beancontext/BeanContext.java,
4922         java/beans/beancontext/BeanContextChild.java,
4923         java/beans/beancontext/BeanContextChildSupport.java,
4924         java/beans/beancontext/BeanContextMembershipEvent.java:
4925         Reordered import statements and removed redundant modifiers.
4926
4927 2004-09-29  Tom Tromey  <tromey@redhat.com>
4928
4929         PR libgcj/17715:
4930         * Makefile.in: Rebuilt.
4931         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
4932         files.
4933         (all_property_files): New macro.
4934
4935         * Makefile.in: Rebuilt.
4936         * Makefile.am (ordinary_java_source_files): Re-sorted.
4937         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
4938
4939 2004-09-28  Tom Tromey  <tromey@redhat.com>
4940
4941         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
4942
4943         PR libgcj/17222:
4944         * Makefile.am (libgcj.la): Restored.
4945         * Makefile.in: Rebuilt.
4946
4947 2004-09-28  Michael Koch  <konqueror@gmx.de>
4948
4949         * java/net/URLConnection.java: Reformatted.
4950         * java/net/URLClassLoader.java: Reformatted.
4951         (getContent): Reordered return of content.
4952         (getContentHandler): Don't check for null explicitely.
4953
4954 2004-09-27  Michael Koch  <konqueror@gmx.de>
4955
4956         * java/io/BufferedInputStream.java
4957         (BufferedInputStream): Added Jeroen Frijters to authors.
4958         (count): Don't explicitely initialize with default value.
4959         (pos): Likewise.
4960         (marklimit): Likewise.
4961         (read): Changed boolean expression to match GNU classpath' version.
4962         (reset): Add proper message to exception.
4963         (skip): Check for closed stream.
4964         (refill): Likewise.
4965
4966 2004-09-26  Per Bothner  <per@bothner.com>
4967
4968         * prims.cc (unblock_signal): Annotate signum with __unused__ to
4969         avoid warnings in the non-POSIX_VERSION case.
4970         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
4971         so place it inside an #if block.
4972         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
4973         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
4974         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
4975         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
4976
4977 2004-09-26  Per Bothner  <per@bothner.com>
4978
4979         * prims.cc (process_gcj_properties):  Optimization.
4980
4981 2004-09-26  Per Bothner  <per@bothner.com>
4982
4983         * java/util/Collections.java (sort):  Copy from array in forwards
4984         order, rather than reverse order which may be much less efficient.
4985
4986 2004-09-26  Mark Wielaard  <mark@klomp.org>
4987
4988         * java/lang/System.java (properties): Make package private.
4989         * java/lang/Throwable.java (StaticData.nl): Initialize through
4990         directly accessing System.properties.getProperty().
4991
4992         * java/lang/Throwable.java (nl): Remove static field.
4993         (StaticData): New private static inner class.
4994         (stackTraceStringBuffer): Use StaticData.nl.
4995
4996 2004-09-26  Casey Marshall <csm@gnu.org>
4997
4998         * java/security/ProtectionDomain.java
4999         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
5000         `true'.
5001
5002         * java/security/SecureClassLoader.java
5003         (defineClass): make protection domain dynamically bound.
5004         (getPermissions): call `getCurrentPolicy' to avoid permission
5005         check.
5006
5007 2004-09-25  Mark Wielaard  <mark@klomp.org>
5008
5009         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
5010         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
5011         * Makefile.in: Regenerated.
5012
5013         * gcj/javaprims.h: Regenerated.
5014
5015         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
5016         (getDefaultTimeZone): Make package private. Check that GMToffset
5017         contains at least one digit.
5018         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
5019         VMTimeZone.
5020         * util/VMTimeZone.java: New file with above methods.
5021
5022         * java/util/natTimeZone.cc: Removed (renamed).
5023         * java/util/natVMTimeZone.cc: Added (renamed).
5024
5025 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
5026
5027         * java/util/TimeZone.java
5028         (getDefaultTimeZone): Fixed test to distinguish between hours and
5029         minutes in specified timezone.
5030
5031 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
5032
5033         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
5034         handling of default package. (generate): Removed confused comments
5035         and code about making Method and Field accessible.
5036
5037 2004-09-25  Tom Tromey  <tromey@redhat.com>
5038
5039         PR java/17500:
5040         * testsuite/libjava.compile/pr17500.java: New file.
5041
5042 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
5043             Mark Wielaard  <mark@klomp.org>
5044
5045         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5046         * gnu/regexp/RETokenLookAhead.java: New file.
5047
5048         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5049         * Makefile.in: Regenerated.
5050
5051 2004-09-25  Michael Koch  <konqueror@gmx.de>
5052
5053         * java/io/ObjectStreamField.java:
5054         Removed unused import statement.
5055
5056 2004-09-24  Tom Tromey  <tromey@redhat.com>
5057
5058         PR java/15656:
5059         * testsuite/libjava.compile/pr15656.xfail: New file.
5060         * testsuite/libjava.compile/pr15656.java: new file.
5061
5062         PR java/16789:
5063         * testsuite/libjava.lang/pr16789.out: New file.
5064         * testsuite/libjava.lang/pr16789.java: New file.
5065
5066 2004-09-24  Andrew Haley  <aph@redhat.com>
5067
5068         PR java/16927
5069         * testsuite/libjava.compile/AssertBug.java: New file.
5070
5071 2004-09-24  Casey Marshall <csm@gnu.org>
5072
5073         * java/util/PropertyPermissionCollection.java
5074         (implies): avoid infinite loop.
5075
5076 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5077
5078         * javax/security/auth/PrivateCredentialPermission.java
5079         (PrivateCredentialPermission): added serialization UID
5080
5081
5082 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
5083
5084         * gnu/java/rmi/server/UnicastServer.java
5085         (incomingMessageCall): Added code to handle Errors.
5086         * gnu/java/rmi/server/UnicastServerRef.java
5087         (incomingMessageCall): Added code to handle Errors.
5088
5089
5090 2004-09-24  Tom Tromey  <tromey@redhat.com>
5091
5092         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5093         (definedPackages): Likewise.
5094
5095 2004-09-24  Michael Koch  <konqueror@gmx.de>
5096
5097         * java/io/ObjectInputStream.java:
5098         Re-ordered imports.
5099
5100 2004-09-24  Casey Marshall <csm@gnu.org>
5101
5102         * java/io/ObjectInputStream.java (callReadMethod): re-throw
5103         `ClassNotFoundException'.
5104
5105 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5106
5107         * java/io/ObjectInputStream.java (readObject): Delegate instantation
5108         of Externalizable classes to ObjectStreamClass.
5109         * java/io/ObjectStreamClass.java (newInstance): New method to
5110         instantiate Externalizable (while ignoring the accessibility of
5111         the constructor). (constructor): New field to cache the constructor.
5112
5113 2004-09-24  Mark Wielaard  <mark@klomp.org>
5114
5115         * java/net/URL.java (systemClassLoader): New static field.
5116         (getURLStreamHandler): Always use system/application classloader
5117         for finding URLStreamhandler. Remove unecessary instanceof checks.
5118
5119 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
5120
5121         * java/net/URL.java
5122         (set): This method now matches the behaviour of the JDK.
5123         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5124
5125 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
5126
5127         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5128
5129 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5130
5131         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5132         Don't set authority if host isn't specified.
5133
5134 2004-09-24  Michael Koch  <konqueror@gmx.de>
5135
5136         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5137         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5138         * gnu/java/nio/VMPipe.java,
5139         gnu/java/nio/VMSelector.java:
5140         New files.
5141         * gnu/java/nio/natPipeImplEcos.cc,
5142         gnu/java/nio/natPipeImplPosix.cc,
5143         gnu/java/nio/natPipeImplWin32.cc:
5144         Ported to VMPipe.
5145         * gnu/java/nio/natSelectorImplEcos.cc,
5146         gnu/java/nio/natSelectorImplPosix.cc,
5147         gnu/java/nio/natSelectorImplWin32.cc:
5148         Ported to VMSelector.
5149         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5150         gnu/java/nio/VMSelector.java.
5151         * Makefile.in: Regenerated.
5152
5153 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5154
5155         * java/lang/StackTraceElement.java
5156         (className): Renamed field to declaringClass to be compatible
5157         with Sun serialization format.
5158
5159 2004-09-23  Michael Koch  <konqueror@gmx.de>
5160
5161         * java/applet/AppletContext.java,
5162         java/applet/Applet.java,
5163         java/applet/AppletStub.java,
5164         java/applet/AudioClip.java:
5165         Jalopied and checkstyle clean.
5166
5167         * javax/swing/JCheckBox.java: Reformated.
5168         (JCheckBox): Fixed all constructors.
5169         (isBorderPaintedFlat): New method.
5170         (setBorderPaintedFlat): New method.
5171         * javax/swing/JEditorPane.java
5172         (createEditorKitForContentType): Made public.
5173         (scrollToReference): Likewise.
5174         * javax/swing/JTextArea.java
5175         (setLineWrap): Fire property change.
5176         * javax/swing/JToggleButton.java
5177         (JToggleButton): New constructor.
5178         (JToggleButton): Simplified.
5179         * javax/swing/text/AttributeSet.java
5180         (FontAttribute): Renamed from FontCharacterAttribute.
5181         * javax/swing/text/JTextComponent.java
5182         (KeyBinBinding): Added javadoc.
5183         (JTextComponent): Likewise.
5184         (getAccessibleContext): Fixed javadoc.
5185         * javax/swing/text/View.java
5186         (View): Added javadoc.
5187         * javax/swing/text/TabableView.java: New file.
5188         * Makefile.am: Added javax/swing/text/TabableView.java.
5189         * Makefile.in: Regenerated.
5190 2004-09-23  Mark Wielaard  <mark@klomp.org>
5191
5192         * java/util/Collections.java
5193         (binarySearch(List, Object, Comparator)): Explicitly
5194         reverse direction in list iterator.
5195         (rotate): Just return when list is empty.
5196
5197 2004-09-23  Tom Tromey  <tromey@redhat.com>
5198
5199         PR java/17329:
5200         * testsuite/libjava.compile/pr17329.java: New file.
5201
5202         PR java/17380:
5203         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5204         9.2-implicit-7.
5205
5206 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5207
5208         * Makefile.am: Run aclocal with -I ../config
5209         * acinclude.m4: Delete macros picked up from ../config and tidy.
5210         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5211         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5212         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5213
5214 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5215
5216         * aclocal.m4: Regenerate with aclocal 1.9.2.
5217         * configure: Regenerate.
5218         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5219         * include/Makefile.in, testsuite/Makefile.in: Likewise.
5220
5221 2004-09-22  David Daney  <ddaney@avtrex.com>
5222
5223         PR libgcj/17623
5224         * java/net/URL.java (URL): Copy userInfo from context.
5225         (getUserInfo): Return cached userInfo if present.
5226
5227 2004-09-22  Tom Tromey  <tromey@redhat.com>
5228
5229         PR libgcj/6182:
5230         * mauve-libgcj: Enable java.lang.Character tests.
5231
5232 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5233
5234         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5235         dependencies.
5236         (lib_org_ietf_jgss_la_LIBADD): Likewise.
5237         * Makefile.in: Regenerated.
5238
5239 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5240
5241         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5242         * configure: Regenerate.
5243         * include/config.h.in: Likewise.
5244         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5246         macro to gtkpeer.h.
5247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5248         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5249         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5250         architectures.
5251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5252         Likewise.
5253
5254 2004-09-22  Tom Tromey  <tromey@redhat.com>
5255
5256         PR libgcj/14446:
5257         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5258         when comparing CRCs.
5259         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5260         field.
5261         (read()): New overload.
5262
5263 2004-09-21  Tom Tromey  <tromey@redhat.com>
5264
5265         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5266         Indentation fix.
5267
5268 2004-09-21  Michael Koch  <konqueror@gmx.de>
5269
5270         * java/net/Socket.java
5271         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5272
5273 2004-09-21  Casey Marshall  <csm@gnu.org>
5274
5275         * javax/crypto/MacSpi.java (clone): Provide meaningful
5276         implementation.
5277
5278 2004-09-21  Tom Tromey  <tromey@redhat.com>
5279
5280         PR libgcj/16869:
5281         * Makefile.in: Rebuilt.
5282         * Makefile.am (MOSTLYCLEANFILES): Removed.
5283         (mostlyclean-local): Remove header files.
5284
5285 2004-09-21  Casey Marshall  <csm@gnu.org>
5286
5287         * java/security/cert/X509CRLSelector.java:
5288         (match): remove unreachable try-catch clauses.
5289         Reported by: Dalibor Topic <robilad@kaffe.org>
5290
5291 2004-09-21  Mark Wielaard  <mark@klomp.org>
5292
5293         * java/util/TreeMap.java (root): Don't initialize.
5294         (TreeMap(Comparator)): Call fabricateTree(0).
5295         (fabricateTree): Initialize root and size when count is 0.
5296
5297 2004-09-21  Sven de Marothy <sven@physto.se>
5298
5299         * java/nio/ByteBuffer.java (hashCode): Implemented.
5300         * java/nio/CharBuffer.java: Likewise.
5301         * java/nio/DoubleBuffer.java: Likewise.
5302         * java/nio/FloatBuffer.java: Likewise.
5303         * java/nio/LongBuffer.java: Likewise.
5304         * java/nio/IntBuffer.java: Likewise.
5305         * java/nio/ShortBuffer.java: Likewise.
5306
5307 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5308
5309         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5310
5311 2004-09-21  Michael Koch  <konqueror@gmx.de>
5312
5313         * javax/net/ssl/SSLServerSocket.java:
5314         Removed comment about "Do not edit this file, it's generated.".
5315
5316 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5317
5318         Import the big Crypto/Jessie/Security merge from Classpath.
5319
5320         * Makefile.am: Add imported files.
5321         * Makefile.in: Regenerate.
5322
5323         2004-08-14  Casey Marshall <csm@gnu.org>
5324
5325         The Big Crypto Merge of 2004.
5326
5327         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5328         Crypto's version.
5329
5330         Files imported from GNU Crypto.
5331         * javax/crypto/BadPaddingException.java
5332         * javax/crypto/Cipher.java
5333         * javax/crypto/CipherInputStream.java
5334         * javax/crypto/CipherOutputStream.java
5335         * javax/crypto/CipherSpi.java
5336         * javax/crypto/EncryptedPrivateKeyInfo.java
5337         * javax/crypto/ExemptionMechanism.java
5338         * javax/crypto/ExemptionMechanismException.java
5339         * javax/crypto/ExemptionMechanismSpi.java
5340         * javax/crypto/IllegalBlockSizeException.java
5341         * javax/crypto/KeyAgreement.java
5342         * javax/crypto/KeyAgreementSpi.java
5343         * javax/crypto/KeyGenerator.java
5344         * javax/crypto/KeyGeneratorSpi.java
5345         * javax/crypto/Mac.java
5346         * javax/crypto/MacSpi.java
5347         * javax/crypto/Makefile.am
5348         * javax/crypto/NoSuchPaddingException.java
5349         * javax/crypto/NullCipher.java
5350         * javax/crypto/NullCipherImpl.java
5351         * javax/crypto/SealedObject.java
5352         * javax/crypto/SecretKey.java
5353         * javax/crypto/SecretKeyFactory.java
5354         * javax/crypto/SecretKeyFactorySpi.java
5355         * javax/crypto/ShortBufferException.java
5356         * javax/crypto/interfaces/DHKey.java
5357         * javax/crypto/interfaces/DHPrivateKey.java
5358         * javax/crypto/interfaces/DHPublicKey.java
5359         * javax/crypto/interfaces/PBEKey.java
5360         * javax/crypto/spec/DESKeySpec.java
5361         * javax/crypto/spec/DESedeKeySpec.java
5362         * javax/crypto/spec/DHGenParameterSpec.java
5363         * javax/crypto/spec/DHParameterSpec.java
5364         * javax/crypto/spec/DHPrivateKeySpec.java
5365         * javax/crypto/spec/DHPublicKeySpec.java
5366         * javax/crypto/spec/IvParameterSpec.java
5367         * javax/crypto/spec/PBEKeySpec.java
5368         * javax/crypto/spec/PBEParameterSpec.java
5369         * javax/crypto/spec/RC2ParameterSpec.java
5370         * javax/crypto/spec/RC5ParameterSpec.java
5371         * javax/crypto/spec/SecretKeySpec.java
5372         * javax/security/auth/AuthPermission.java
5373         * javax/security/auth/DestroyFailedException.java
5374         * javax/security/auth/Destroyable.java
5375         * javax/security/auth/Policy.java
5376         * javax/security/auth/PrivateCredentialPermission.java
5377         * javax/security/auth/RefreshFailedException.java
5378         * javax/security/auth/Refreshable.java
5379         * javax/security/auth/Subject.java
5380         * javax/security/auth/SubjectDomainCombiner.java
5381         * javax/security/auth/callback/Callback.java
5382         * javax/security/auth/callback/CallbackHandler.java
5383         * javax/security/auth/callback/ChoiceCallback.java
5384         * javax/security/auth/callback/ConfirmationCallback.java
5385         * javax/security/auth/callback/LanguageCallback.java
5386         * javax/security/auth/callback/NameCallback.java
5387         * javax/security/auth/callback/PasswordCallback.java
5388         * javax/security/auth/callback/TextInputCallback.java
5389         * javax/security/auth/callback/TextOutputCallback.java
5390         * javax/security/auth/callback/UnsupportedCallbackException.java
5391         * javax/security/auth/login/AccountExpiredException.java
5392         * javax/security/auth/login/AppConfigurationEntry.java
5393         * javax/security/auth/login/Configuration.java
5394         * javax/security/auth/login/CredentialExpiredException.java
5395         * javax/security/auth/login/FailedLoginException.java
5396         * javax/security/auth/login/LoginContext.java
5397         * javax/security/auth/login/LoginException.java
5398         * javax/security/auth/login/NullConfiguration.java
5399         * javax/security/auth/x500/X500PrivateCredential.java
5400         * javax/security/sasl/AuthenticationException.java
5401         * javax/security/sasl/AuthorizeCallback.java
5402         * javax/security/sasl/RealmCallback.java
5403         * javax/security/sasl/RealmChoiceCallback.java
5404         * javax/security/sasl/Sasl.java
5405         * javax/security/sasl/SaslClient.java
5406         * javax/security/sasl/SaslClientFactory.java
5407         * javax/security/sasl/SaslException.java
5408         * javax/security/sasl/SaslServer.java
5409         * javax/security/sasl/SaslServerFactory.java
5410         * org/ietf/jgss/ChannelBinding.java
5411         * org/ietf/jgss/GSSContext.java
5412         * org/ietf/jgss/GSSCredential.java
5413         * org/ietf/jgss/GSSException.java
5414         * org/ietf/jgss/GSSManager.java
5415         * org/ietf/jgss/GSSName.java
5416         * org/ietf/jgss/MessageProp.java
5417         * org/ietf/jgss/Oid.java
5418         * org/ietf/jgss/MessagesBundle.properties
5419
5420         Files imported from Jessie <http://www.nongnu.org/jessie/>
5421         * javax/net/ServerSocketFactory.java
5422         * javax/net/SocketFactory.java
5423         * javax/net/VanillaServerSocketFactory.java
5424         * javax/net/VanillaSocketFactory.java
5425         * javax/net/ssl/HandshakeCompletedEvent.java
5426         * javax/net/ssl/HandshakeCompletedListener.java
5427         * javax/net/ssl/HostnameVerifier.java
5428         * javax/net/ssl/HttpsURLConnection.java
5429         * javax/net/ssl/KeyManager.java
5430         * javax/net/ssl/KeyManagerFactory.java
5431         * javax/net/ssl/KeyManagerFactorySpi.java
5432         * javax/net/ssl/ManagerFactoryParameters.java
5433         * javax/net/ssl/SSLContext.java
5434         * javax/net/ssl/SSLContextSpi.java
5435         * javax/net/ssl/SSLException.java
5436         * javax/net/ssl/SSLHandshakeException.java
5437         * javax/net/ssl/SSLKeyException.java
5438         * javax/net/ssl/SSLPeerUnverifiedException.java
5439         * javax/net/ssl/SSLPermission.java
5440         * javax/net/ssl/SSLProtocolException.java
5441         * javax/net/ssl/SSLServerSocket.java
5442         * javax/net/ssl/SSLServerSocketFactory.java
5443         * javax/net/ssl/SSLSession.java
5444         * javax/net/ssl/SSLSessionBindingEvent.java
5445         * javax/net/ssl/SSLSessionBindingListener.java
5446         * javax/net/ssl/SSLSessionContext.java
5447         * javax/net/ssl/SSLSocket.java
5448         * javax/net/ssl/SSLSocketFactory.java
5449         * javax/net/ssl/TrivialHostnameVerifier.java
5450         * javax/net/ssl/TrustManager.java
5451         * javax/net/ssl/TrustManagerFactory.java
5452         * javax/net/ssl/TrustManagerFactorySpi.java
5453         * javax/net/ssl/X509KeyManager.java
5454         * javax/net/ssl/X509TrustManager.java
5455         * javax/security/cert/Certificate.java
5456         * javax/security/cert/CertificateEncodingException.java
5457         * javax/security/cert/CertificateException.java
5458         * javax/security/cert/CertificateExpiredException.java
5459         * javax/security/cert/CertificateNotYetValidException.java
5460         * javax/security/cert/CertificateParsingException.java
5461         * javax/security/cert/X509CertBridge.java
5462         * javax/security/cert/X509Certificate.java
5463
5464         2004-08-20  Casey Marshall  <csm@gnu.org>
5465
5466         * java/security/cert/X509CRLSelector.java: New file.
5467         * java/security/cert/X509CertSelector.java: New file.
5468
5469 2004-09-15  Michael Koch  <konqueror@gmx.de>
5470
5471         * gnu/java/net/protocol/file/Handler.java
5472         (openConnection): Don't throw exception if host part for file: URI is
5473         present. setURL() keeps file: protocol if ftp: protocol is not
5474         available.
5475
5476 2004-09-14  Richard Henderson  <rth@redhat.com>
5477
5478         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5479         value of sigsuspend.
5480
5481 2004-09-12  Tom Tromey  <tromey@redhat.com>
5482
5483         * javax/naming/CompoundName.java (CompoundName): Don't check for
5484         separator in "flat" case.
5485
5486 2004-09-12  Michael Koch  <konqueror@gmx.de>
5487
5488         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5489         AM_CONFIG_HEADER by AC_CONFIG_FILES.
5490         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5491         Regenerate.
5492
5493 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5494
5495         PR libgcj/14751
5496         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5497         handle in newly-allocated _Jv_Thread_t.
5498         (_Jv_ThreadDestroyData): Close thread handle.
5499         (_Jv_ThreadStart): Remove obsolete comment.
5500         Store handle of newly-created thread in _Jv_Thread_t.
5501         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5502         before including <windows.h>
5503         #define _Jv_HaveCondDestroy
5504
5505 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5506
5507         * java/lang/natThread.cc (finalize_native): Destroy
5508         join conditional variable and mutex if these destroy
5509         operations are supported.
5510
5511 2004-09-10  Dalibor Topic <robilad@kaffe.org>
5512
5513         * gnu/java/net/protocol/file/Connection.java (permission): New field.
5514         (DEFAULT_PERMISSION): New constant.
5515         (Connection): Create a FilePermission with permission to read file.
5516
5517 2004-09-10  Michael Koch  <konqueror@gmx.de>
5518
5519         * gnu/java/net/protocol/file/Connection.java
5520         (getLastModified): Moved around.
5521         (getPermission): Return stored permission.
5522
5523 2004-09-10  Michael Koch  <konqueror@gmx.de>
5524
5525         * Makefile.in: Regenerate.
5526
5527 2004-09-10  Michael Koch  <konqueror@gmx.de>
5528
5529         * Makefile.am: Reverted accidently commited stuff.
5530         * configure: Regenerated.
5531
5532 2004-09-10  Michael Koch  <konqueror@gmx.de>
5533
5534         * gnu/java/net/protocol/file/Connection.java
5535         (lineSeparator): Made non-final.
5536         (static): Removed.
5537         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5538         instead of StringBufferInputStream.
5539
5540 2004-09-10  Michael Koch  <konqueror@gmx.de>
5541
5542         * gnu/java/net/protocol/file/Connection.java
5543         (connect): Handle file is a directory case.
5544
5545 2004-09-10  Michael Koch  <konqueror@gmx.de>
5546
5547         * Makefile.am
5548         (xlib_includes): Removed.
5549         (AM_CPPFLAGS): Renamed from INCLUDES.
5550         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5551         * Makefile.in: Regenerate.
5552
5553 2004-09-09  Michael Koch  <konqueror@gmx.de>
5554
5555         * java/security/ProtectionDomain.java,
5556         * java/util/PropertyPermissionCollection.java:
5557         Fixed javadocs all over.
5558
5559 2004-09-09  Sven de Marothy  <sven@physto.se>
5560
5561         Patch from David Gilbert <david.gilbert@object-refinery.com>
5562         * java/lang/Comparable.java: Fixed documentation errors.
5563         * java/util/Arrays.java: Likewise.
5564
5565 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5566
5567         * java/net/Inet4Address.java
5568         (Inet4Address): Added comment to serialization UID.
5569         * java/text/Format.java
5570         (Format): Added comment to serialization UID.
5571
5572 2004-09-09  Michael Koch  <konqueror@gmx.de>
5573
5574         * java/lang/System.java
5575         (err): Fixed javadoci to point to setErr() and not setOut().
5576
5577 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
5578
5579         (normalizePath): Added special case for windows systems.
5580
5581 2004-09-09  Michael Koch  <konqueror@gmx.de>
5582
5583         * java/io/File.java
5584         (dupSeparator): Made private.
5585         (File(URI)): New constructor.
5586         (getParentFile): Fixed javadoc.
5587         (createTempFile): Reformated.
5588         (setReadOnly): Added comment.
5589         (deleteOnExit): Merged javadoc with classpath version.
5590
5591 2004-09-09  Michael Koch  <konqueror@gmx.de>
5592
5593         * Makefile.am: Don't try to include deps.mk.
5594         * Makefile.in: Regenerated.
5595
5596 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
5597
5598         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5599         .d files.
5600         * configure: Rebuilt.
5601
5602 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
5603
5604         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5605         Changed pfn from static local to local.
5606
5607 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
5608             H.J. Lu  <hongjiu.lu@intel.com>
5609
5610         PR libgcj/17290
5611         * Makefile.am (GCJCOMPILE): Remove definition.
5612         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5613         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5614         * Makefile.in: Rebuilt.
5615
5616 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
5617
5618         * configure.ac (enable-gc-debug): Update help for new syntax.
5619         * configure: Regenerate.
5620
5621 2004-09-03  David Daney  <ddaney@avtrex.com>
5622
5623         * include/mips-signal.h: Update copyright.
5624
5625 2004-09-03  David Daney  <ddaney@avtrex.com>
5626
5627         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5628         * include/mips-signal.h: Added HANDLE_FPE support.
5629
5630 2004-08-31  Michael Koch  <konqueror@gmx.de>
5631
5632         * javax/swing/plaf/basic/BasicTextAreaUI.java
5633         (create): New method.
5634         * javax/swing/text/DefaultHighlighter.java
5635         (DefaultHighlightPainter.debugRect): Removed.
5636         * javax/swing/text/StyleContext.java
5637         (DEFAULT_STYLE): New field.
5638
5639 2004-08-31  Michael Koch  <konqueror@gmx.de>
5640
5641         * javax/swing/plaf/basic/BasicLookAndFeel.java
5642         (initComponentDefaults): Add keybindings for selection.backward and
5643         selection-forward for text components.
5644         * javax/swing/plaf/basic/BasicTextUI.java
5645         (paintSafely): Paint highlight only when something is actually
5646         selected.
5647         * javax/swing/text/DefaultCaret.java
5648         (handleHighlight): New method.
5649         (setSelectionVisible): Don't do anything when nothing changes.
5650         Handle highlight.
5651         (moveDot): Reimplemented. Handle highlight.
5652         (setDot): Set mark too. Handle highlight.
5653         (getSelectionPainter): New method.
5654         * javax/swing/text/DefaultEditorKit.java
5655         (defaultActions): Added new actions for text selection.
5656         * javax/swing/text/DefaultHighlighter.java
5657         (DefaultHighlightPainter): New inner class.
5658         (DefaultPainter): New field.
5659         (paint): Implemented.
5660         * javax/swing/text/PlainView.java
5661         (paint): Don't draw background here again.
5662         * javax/swing/text/Utilities.java
5663         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5664         (drawTabbedText): Likewise.
5665
5666 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5667
5668         * javax/swing/JComponent.java
5669         (resetKeyboardActions): Add null checks.
5670
5671 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5672
5673         * javax/swing/DefaultButtonModel.java:
5674         Skip group notification when no group is set.
5675
5676 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5677
5678         * javax/swing/JColorChooser.java:
5679         Make a couple inner classes static, for jikes.
5680
5681 2004-08-31  Michael Koch  <konqueror@gmx.de>
5682
5683         * javax/swing/plaf/basic/BasicTextUI.java
5684         (RottView.modelToView): New method.
5685         (UpdateHandler): Renamed from EventHandler.
5686         (updateHandler): Renamed from eventHandler.
5687         (modelToView): Implemented.
5688         * javax/swing/text/AbstractDocument.java
5689         (BranchElement.getElement): Return null for non-existing indeces.
5690         (BranchElement.getElementIndex): Return 0 in some corner cases.
5691         * javax/swing/text/FieldView.java
5692         (modelToView): New method.
5693         * javax/swing/text/PlainView.java
5694         (modelToView): Made public.
5695
5696 2004-08-31  Kim Ho  <kho@redhat.com>
5697
5698         * Makefile.am: New files.
5699         * Makefile.in: Regenerate.
5700         * gcj/Makefile.in: Regenerate.
5701         * include/Makefile.in: Regenerate.
5702         * java/awt/Color.java: Fix documentation.
5703         (RGBtoHSB): Use floats for conversions.
5704         * javax/swing/ButtonGroup.java: Run Jalopy.
5705         (setSelected): Reimplement.
5706         * javax/swing/DefaultButtonModel.java: Run Jalopy.
5707         (changeState): Let ButtonGroup know that the button
5708         is changing state.
5709         * javax/swing/JColorChooser.java: Implement.
5710         * javax/swing/JLabel.java: Run Jalopy.
5711         * javax/swing/JSpinner.java: Run Jalopy.
5712         (setValue): New method.
5713         * javax/swing/JTabbedPane.java: Run Jalopy.
5714         (removeTabAt): Call correct remove method.
5715         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5716         (getPreviousValue): Compare minimum value.
5717         * javax/swing/Timer.java: Run Jalopy.
5718         (run): Comment out println.
5719         * javax/swing/ToolTipManager.java:
5720         (mouseMoved): Get new tooltip text for location.
5721         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5722         Jalopy and Javadoc.
5723         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5724         Implement.
5725         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5726         Run Jalopy.
5727         (setSelectedColor): Fire ChangeEvent.
5728         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5729         New file. Implement.
5730         * javax/swing/colorchooser/DefaultPreviewPanel.java:
5731         Ditto.
5732         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5733         Ditto.
5734         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5735         Ditto.
5736         * javax/swing/plaf/basic/BasicArrowButton.java:
5737         (getArrow): Fix size of upward pointing button.
5738         * javax/swing/plaf/basic/BasicColorChooserUI.java:
5739         Implement.
5740         * javax/swing/plaf/basic/BasicSliderUI.java:
5741         (getWidthOfWidestLabel): Use preferred dimensions.
5742         (getHeightOfTallestLabel): Ditto.
5743         * javax/swing/plaf/basic/BasicSpinnerUI.java:
5744         Run Jalopy.
5745         (mousePressed): Disable changes to spinner if it is not enabled.
5746         * testsuite/Makefile.in: Regenerate.
5747
5748
5749 2004-08-31  Michael Koch  <konqueror@gmx.de>
5750
5751         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5752         javax/swing/plaf/basic/BasicTableUI.java:
5753         Added copyright notice.
5754
5755 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
5756
5757         * Makefile.am: Added new files.
5758         * Makefile.in: Regenerate.
5759         * javax/swing/ComboBoxEditor.java: Added javadocs.
5760         * javax/swing/ComboBoxModel.java: Likewise.
5761         * javax/swing/DefaultComboBoxModel.java: Implemented.
5762         * javax/swing/DefaultListCellRenderer.java: Added javadocs
5763         and ran through jalopy to fix formatting style.
5764         (getListCellRendererComponent): Use appropriate border
5765         if renderer has focus and use noFocusBorder when it doesn't.
5766         * javax/swing/JComboBox.java: Implemented.
5767         * javax/swing/JList.java:
5768         (locationToIndex): New Method. Implemented.
5769         (indexToLocation): New Method.
5770         * javax/swing/JPopupMenu.java:
5771         (visible): New field.
5772         (isVisible): Changed to use new field above.
5773         (setVisible): Likewise.
5774         * javax/swing/MutableComboBoxModel.java: Added javadocs.
5775         * javax/swing/plaf/basic/BasicArrowButton.java:
5776         (shadow): Changed default color to Color.gray.
5777         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5778         UI delegate for JComboBox.
5779         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5780         Popup menu containing list of JComboBox's items.
5781         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5782         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5783         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5784         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5785         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5786         (popupMenuWillBecomeVisible): Set selected path to the first
5787         element only if it is of type MenuElement. Also fix formatting
5788         style.
5789         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
5790         methods signatures.
5791
5792 2004-08-31  Michael Koch  <konqueror@gmx.de>
5793
5794         * javax/swing/text/AbstractDocument.java
5795         (createBranchElement): Use new constructor of BranchElement.
5796         (createLeafElement): Renamed arguments.
5797         (getRootElements): Implemented.
5798         (BranchElement.start): Removed.
5799         (BranchElement.end): Likewise.
5800         (BranchElement.BranchElement): Fixed arguments.
5801         (BranchElement.getEndOffset): Reimplemented.
5802         (BranchElement.getStartOffset): Likewis.
5803         * javax/swing/text/DefaultCaret.java
5804         (paint): Draw simple vertical line as caret instead of a rectangle.
5805         * javax/swing/text/JTextComponent.java
5806         (setText): Use doc directly.
5807         * javax/swing/text/PlainView.java
5808         (nextTabStop): Implemented.
5809         * javax/swing/text/Utilities.java
5810         (drawTabbedText): nextTabStop() returns an absolute x position.
5811         (getTabbedTextWidth): Likewise.
5812
5813 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5814
5815         * java/awt/Component.java
5816         (isFocusTraversable): Predicate on isLightweight()
5817         (setFocusable): Set isFocusTraversableOverridden.
5818         (requestFocus): Predicate peer dispatch on !isLightweight()
5819         (requestFocusInWindow): Likewise.
5820         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
5821         * java/awt/Container.java
5822         (dispatchEventImpl): Predicate on event mask.
5823         (LightweightDispatcher): Remove focus machinery.
5824         * java/awt/DefaultFocusTraversalPolicy.java
5825         (accept): Expand predicate to include isFocusable().
5826         * java/awt/DefaultKeyboardFocusManager.java:
5827         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
5828         * java/awt/KeyboardFocusManager.java
5829         (redispatchEvent): Synchronize on event to prevent feedback.
5830         * javax/swing/AbstractButton.java
5831         (ButtonFocusListener): Remove class.
5832         (init): Set focusPainted, focusable.
5833         * javax/swing/ActionMap.java (get): Check parent for null.
5834         * javax/swing/InputMap.java (get): Likewise.
5835         * javax/swing/JComponent.java
5836         (inputMap_whenFocused): New InputMap.
5837         (inputMap_whenAncestorOfFocused): Likewise.
5838         (inputMap_whenInFocusedWindow): Likewise.
5839         (getActionForKeyStroke): Rewrite.
5840         (getConditionForKeystroke): Likewise.
5841         (ActionListenerProxy): New private class.
5842         (setInputMap): Implement.
5843         (getInputMap): Likewise.
5844         (setActionMap): Likewise.
5845         (getActionMap): Likewise.
5846         (processComponentKeyEvent): New empty method.
5847         (processKeyEvent): Implement.
5848         (processKeyBinding): Likewise.
5849         (resetKeyboardActions): Rewrite.
5850         * javax/swing/KeyStroke.java: Rewrite.
5851         * javax/swing/SwingUtilities.java
5852         (notifyAction): Implement.
5853         (replaceUIActionMap): Likewise.
5854         (replaceUIInputMap): Likewise.
5855         * javax/swing/plaf/basic/BasicButtonListener.java
5856         (focusGained): Implement.
5857         (focusLost): Repaint if focusPainted().
5858         (installKeyboardActions): Install pressed / released actions.
5859         (uninstallKeyboardActions): Implement.
5860         * javax/swing/plaf/basic/BasicButtonUI.java
5861         (focusColor): New field.
5862         (installDefaults): Load focus color, install input map.
5863         (installKeyboardActions): Implement.
5864         (uninstallKeyboardActions): Likewise.
5865         (paintFocus): Rewrite.
5866         * javax/swing/plaf/basic/BasicLookAndFeel.java
5867         (Button.focus): New default, midPurple.
5868         * javax/swing/plaf/basic/BasicTextUI.java
5869         (kit): Make static.
5870         (installUI): Get doc from kit, load defaults.
5871         (getKeymapName): Implement.
5872         (createKeymap): Likewise.
5873         (installKeyboardActions): Likewise.
5874         (getInputMap): Likewise.
5875         (getActionMap): Likewise.
5876         (createActionMap): Likewise.
5877         * javax/swing/text/AbstractDocument.java
5878         (getStartPosition): Implement.
5879         (getEndPosition): Likewise.
5880         * javax/swing/text/DefaultEditorKit.java
5881         (CopyAction): New class.
5882         (CutAction): Likewise.
5883         (DefaultKeyTypedAction): Likewise.
5884         (InsertBreakAction): Likewise.
5885         (InsertContentAction): Likewise.
5886         (InsertTabAction): Likewise.
5887         (PasteAction): Likewise.
5888         (defaultActions): New static table.
5889         (createCaret): Implement.
5890         (getActions): Likewise.
5891         * javax/swing/text/JTextComponent.java
5892         (KeymapWrapper): New private class.
5893         (KeymapActionMap): Likewise.
5894         (DefaultKeymap): New class.
5895         (keymaps): New static table.
5896         (keymap): New field.
5897         (getKeymap): Implement.
5898         (removeKeymap): Likewise.
5899         (addKeymap): Likewise.
5900         (setKeymap): Likewise.
5901         (loadKeymap): Likewise.
5902         (getActions): Likewise.
5903         (margin): New field.
5904         (JTextComponent): Build and install default keymap.
5905         * javax/swing/text/TextAction.java
5906         (textAction): Call super properly.
5907         (getTextComponent): Implement.
5908         * javax/swing/text/Utilities.java
5909         (drawTabbedText): Adjust position by ascent.
5910
5911 2004-08-31  David Jee  <djee@redhat.com>
5912
5913         PR AWT/17156
5914
5915         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5916         (setEnabled): Make it a native method.
5917         * java/awt/DefaultKeyboardFocusManager.java
5918         (postProcessKeyEvent): Only post event if the menu item
5919         is active.
5920         * java/awt/MenuItem.java:
5921         Private field 'enabled' should be true by default.
5922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5923         (setEnabled): New function.
5924
5925 2004-08-31  David Jee  <djee@redhat.com>
5926
5927         PR AWT/17059
5928
5929         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5930         (nativeSetHelpMenu): New native method declaration.
5931         (addHelpMenu): Call nativeSetHelpMenu().
5932         (addMenu): Remove.
5933         * java/awt/MenuBar.java
5934         (setHelpMenu): Call addNotify() on the new help menu.
5935         (add): Call addNotify() on the new menu.
5936         (addNotify): Set the help menu if one exists.
5937         * java/awt/peer/MenuBarPeer.java
5938         (addMenu): Remove.
5939         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5940         (nativeSetHelpMenu): New method.
5941
5942 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5943
5944         * Makefile.am: Add new files.
5945         * Makefile.in: Regenerate.
5946         * javax/swing/Box.java: Fix setting of layout in ctor.
5947         * javax/swing/JScrollPane.java: Scroll headers as well.
5948         * javax/swing/JTable.java: Reimplement.
5949         * javax/swing/JViewPort.java: Only add non-null children.
5950         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
5951         * javax/swing/Timer.java: Fix stopping null waker.
5952         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
5953         * javax/swing/plaf/basic/BasicTableUI.java: New file.
5954         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
5955         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
5956         * javax/swing/table/DefaultTableModel.java: Clean up.
5957         * javax/swing/table/JTableHeader.java: Implement.
5958
5959 2004-08-31  Mark Wielaard  <mark@klomp.org>
5960
5961         * javax/swing/JSpinner.java (getChangeListeners): Remove double
5962         semi-colon.
5963
5964 2004-08-31  Mark Wielaard  <mark@klomp.org>
5965
5966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
5967         Declare variables at top of functions/block.
5968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
5969
5970 2004-08-31  Mark Wielaard  <mark@klomp.org>
5971
5972         * java/lang/Rectangle.java (intersects): Check r.width and r.height
5973         first.
5974
5975 2004-08-31  Michael Koch  <konqueror@gmx.de>
5976
5977         * javax/swing/text/PlainView.java
5978         (selectedColor): New field.
5979         (unselectedColor): Likewise.
5980         (font): Likewise.
5981         (updateMetrics): New method.
5982         (lineToRect): Likewise.
5983         (modelToView): Likewise.
5984         (drawSelectedText): Use color from JTextComponent ad draw with
5985         Utilities class.
5986         (drawUnselectedText): Likewise.
5987         (paint): Initialize helper fields.
5988         * javax/swing/text/View.java
5989         (getChildAllocation): New method.
5990         (getViewIndex): Likewise.
5991         (getToolTipText): Likewise.
5992
5993 2004-08-31  Michael Koch  <konqueror@gmx.de>
5994
5995         * javax/swing/text/Utilities.java
5996         (drawTabbedText): Reimplemented.
5997         (getTabbedTextWidth): Likewise.
5998
5999 2004-08-31  Michael Koch  <konqueror@gmx.de>
6000
6001         * javax/swing/plaf/basic/BasicTextUI.java
6002         (installDefaults): Install caret and highlighter.
6003         (modelToView): Use Bias.Forward when calling sibling.
6004         * javax/swing/text/AbstractDocument.java
6005         (ElementEdit): Implements DocumentEvent.ElementChange.
6006         (ElementEdit.ElementEdit): New method.
6007         (ElementEdit.getChildrenAdded): Likewise.
6008         (ElementEdit.getChildrenRemoved): Likewise.
6009         (ElementEdit.getElement): Likewise.
6010         (ElementEdit.getIndex): Likewise.
6011         * javax/swing/text/DefaultCaret.java
6012         (color): Removed.
6013         (textComponent): Renamed from parent, made private.
6014         (selectionVisible): Renamed from vis_sel, made private.
6015         (blinkRate): Renamed from blink, made private.
6016         (magicCaretPosition): Renamed from magic, made private.
6017         (visible): Renamed from vis, made private.
6018         (dot): Made private.
6019         (mark): Likewise.
6020         (deinstall): Remove as MouseMotionListener.
6021         (install): Initialize textComponent first. Add as MouseMotionListener.
6022         (paint): Reimplemented.
6023         * javax/swing/text/JTextComponent.java
6024         (setCaret): Deinstall old caret, install new one and fire property
6025         change after setting property.
6026         (setHighlighter): Deinstall old highlighter, install new one and fire
6027         property change after setting property.
6028         (setCaretColor): Fire property change after setting property.
6029         (setDisabledTextColor): Likewise.
6030         (setSelectedTextColor): Likewise.
6031         (setSelectionColor): Likewise.
6032         (modelToView): New method.
6033
6034 2004-08-31  Michael Koch  <konqueror@gmx.de>
6035
6036         * javax/swing/text/AbstractDocument.java
6037         (getText): Simplified.
6038         * javax/swing/text/Segment.java
6039         (current): New field.
6040         (current): Reimplemented.
6041         (first): Likewise.
6042         (getIndex): Likewise.
6043         (last): Likewise.
6044         (next): Likewise.
6045         (previous): Likewise.
6046         (setIndex): Likewise.
6047
6048 2004-08-31  Michael Koch  <konqueror@gmx.de>
6049
6050         * javax/swing/plaf/basic/BasicButtonUI.java
6051         (defaultTextIconGap): Made protected.
6052         (defaultTextShiftOffset): Likewise.
6053         (textShiftOffset): New field.
6054         (clearTextShiftOffset): New method.
6055         (getTextShiftOffset): Likewise.
6056         (setTextShiftOffset): Likewise.
6057
6058 2004-08-31  Michael Koch  <konqueror@gmx.de>
6059
6060         * javax/swing/plaf/basic/BasicTextUI.java
6061         (installUI): Add eventHandler as property listener.
6062         (uninstallUI): remove eventHandler as propert listener.
6063         (installDefaults): Added comment.
6064         (installListeners): Likewise.
6065         (installKeyboardActions): Likewise.
6066         (uninstallDefaults): Likewise.
6067         (uninstallListeners): Likewise.
6068         (uninstallKeyboardActions): Likewise.
6069
6070 2004-08-31  Michael Koch  <konqueror@gmx.de>
6071
6072         * javax/swing/text/AbstractDocument.java:
6073         Fixed some typos in comments.
6074         (insertString): Reimplemented.
6075         (remove): Likewise.
6076         (replace): New method.
6077         (children): Dont use fully qualified class name.
6078         (DefaultDocumentEvent.offset): Renamed from off.
6079         (DefaultDocumentEvent.length): Renamed from len.
6080         (DefaultDocumentEvent.type): New field.
6081         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6082         (DefaultDocumentEvent.getType): Implemented.
6083
6084 2004-08-31  Michael Koch  <konqueror@gmx.de>
6085
6086         * javax/swing/plaf/basic/BasicTextUI.java
6087         (RootView.textComponent): Removed.
6088         (RootView.RootView): Don't initialize textComponent.
6089         (RootView.getViewFactory): New method.
6090         (EventHandler): New inner class.
6091         (rootView): Initialize at instance creation.
6092         (eventHandler): New field.
6093         (installUI): Don't create view hierarchy directly,
6094         call modelChanged() instead.
6095         (modelChanged): New method.
6096         * javax/swing/text/JTextComponent.java
6097         (setDocument): Fire property change event.
6098
6099 2004-08-31  Michael Koch  <konqueror@gmx.de>
6100
6101         * javax/swing/plaf/basic/BasicTextUI.java
6102         (RootView.paint): Removed debug output.
6103         (paintSafely): Draw highlighter before text.
6104         (paintBackground): Use background color of text component.
6105         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6106         Reformatted.
6107
6108 2004-08-31  Michael Koch  <konqueror@gmx.de>
6109
6110         * javax/swing/plaf/basic/BasicToolBarUI.java
6111         (BasicToolBarUI): Fixed arguments for constructor.
6112         (createUI): Fixed creation of object.
6113
6114 2004-08-31  Michael Koch  <konqueror@gmx.de>
6115
6116         * javax/swing/DefaultListSelectionModel.java
6117         (fireValueChanged): Renamed from fireSelectionValueChanged,
6118         made protected.
6119
6120 2004-08-31  Michael Koch  <konqueror@gmx.de>
6121
6122         * javax/swing/text/TabSet.java
6123         (TabSet): Implements java.io.Serializable.
6124         * javax/swing/text/TabStop.java
6125         (TabStop): Implements java.io.Serializable.
6126         (TabStop): Made public.
6127
6128 2004-08-31  Michael Koch  <konqueror@gmx.de>
6129
6130         * javax/swing/JComponent.java
6131         (setUI): Fire PropertyChange.
6132         * javax/swing/JLabel.java
6133         (text): Renamed from labelText.
6134         (horizontalAlignment): New default vlaue.
6135         (icon): Renamed from activeIcon.
6136         (displayedMnemonic): Renamed from mnemonicKey, added default value.
6137         (displayedMnemonicIndex): Renamed from underlineChar.
6138         (setDisplayedMnemonic): Reimplemented.
6139         * javax/swing/JRadioButton.java
6140         (JRadioButton): New constructors.
6141         * javax/swing/JTextField.java
6142         (JTextField): Throw exception if colums < 0, initialitialz
6143         this.columns directly and initialize document with text conditionally.
6144
6145 2004-08-31  Michael Koch  <konqueror@gmx.de>
6146
6147         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6148         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6149         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6150         * javax/swing/text/FieldView.java
6151         (paint): Just call super method for now.
6152         * Makefile.am: Added new files.
6153         * Makefile.in: Regenerated.
6154
6155 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
6156
6157         * javax/swing/AbstractSpinnerModel.java,
6158         javax/swing/JSpinner.java,
6159         javax/swing/SpinnerNumberModel.java,
6160         javax/swing/plaf/basic/BasicSpinnerUI.java:
6161         New files.
6162         * javax/swing/plaf/basic/BasicLookAndFeel.java
6163         (initClassDefaults): Added defaults for BasicSpinnerUI.
6164
6165 2004-08-31  Michael Koch  <konqueror@gmx.de>
6166
6167         * Makefile.am: Added new files.
6168         * Makefile.in: Regenerated.
6169
6170 2004-08-31  Michael Koch  <konqueror@gmx.de>
6171
6172         * javax/swing/TransferHandler.java,
6173         javax/swing/plaf/basic/ComboPopup.java: New files
6174         * Makefile.am: Added javax/swing/TransferHandler.java and
6175         javax/swing/plaf/basic/ComboPopup.java
6176         * Makefile.in: Regenerated.
6177
6178 2004-08-31  Roman Kennke  <roman@ontographics.com>
6179
6180         * javax/swing/text/Utilities.java: New file.
6181
6182 2004-08-31  Michael Koch  <konqueror@gmx.de>
6183
6184         * Makefile.am: Added javax/swing/text/Utilities.java.
6185         * Makefile.in: Regenerated.
6186
6187 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6188
6189         * javax/swing/text/SimpleAttributeSet.java: New file.
6190         * javax/swing/text/StyleConstants.java: New file.
6191         * javax/swing/text/StyleContext.java: New file.
6192         * javax/swing/text/TabSet.java: New file.
6193         * javax/swing/text/TabStop.java: New file.
6194         * javax/swing/text/AbstactDocument.java:
6195         (AbstractElement): Implement attribute support.
6196         * javax/swing/text/AttributeSet.java
6197         (NameAttribute): New static field.
6198         (ResolveAttribute): New static field.
6199         * Makefile.am: Update for new files.
6200         * Makefile.in: Regenerate.
6201
6202 2004-08-31  Craig Black  <craig.black@aonix.com>
6203
6204         * gnu/java/awt/peer/gtk/GdkGraphics.java
6205         (drawImage): Add support for scaling pixmaps.
6206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6207         (copyAndScalePixmap): New native method.
6208
6209 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6210
6211         PR AWT/16121
6212         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
6213         type-punning compiler warnings using unions.
6214         (throw): Replace bzero with memset.
6215
6216 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6217             Thomas Fitzsimmons  <fitzsim@redhat.com>
6218
6219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6220         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
6221         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6223         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6224
6225 2004-08-31  Mark Wielaard  <mark@klomp.org>
6226
6227         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6228         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6229         and stdlib.h, not gtkpeer.h.
6230         (*vm): New static variable.
6231         (areaPreparedID): Make static.
6232         (areaUpdatedID): Likewise.
6233         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6234         (area_prepared): Likewise.
6235         (area_updated): Likewise.
6236         (closed): Likewise.
6237         (initStaticState): Initialize *vm javaVM.
6238         (pumpBytes): Use given env, not global gdk_env.
6239
6240 2004-08-31  Mark Wielaard  <mark@klomp.org>
6241
6242         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6243         comments.
6244
6245 2004-08-31  Sven de Marothy  <sven@physto.se>
6246
6247         * java/awt/geom/CubicCurve2D.java: Reindent.
6248         (contains): Implemented.
6249         (intersects): Implemented.
6250         * java/awt/geom/QuadCurve2D.java: Likewise.
6251         * java/awt/geom/GeneralPath.java: Reindent and document.
6252         Fully (re)implemented using separate xpoints and ypoints
6253         float[] coords.
6254         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6255
6256 2004-08-31  Michael Koch  <konqueror@gmx.de>
6257
6258         * javax/swing/JMenuItem.java
6259         (getMenuDragMouseListeners): New method.
6260         (getMenuKeyListeners): Likewise.
6261
6262 2004-08-31  Michael Koch  <konqueror@gmx.de>
6263
6264         * javax/swing/AbstractButton.java
6265         (model): Made protected.
6266         (actionListener): Likewise.
6267         (changeListener): Likewise.
6268         (itemListener): Likewise.
6269         (multiClickThreshhold): New field.
6270         (getActionListeners): New method.
6271         (getChangeListeners): Likewise.
6272         (getItemListeners): Likewise.
6273         (fireItemStateChanged): Simplified implementation.
6274         (fireActionPerformed): Likewise.
6275         (fireStateChanged): Likewise.
6276         (getMultiClickThreshhold): New method.
6277         (setMultiClickThreshhold): Likewise.
6278
6279 2004-08-31  Tom Tromey  <tromey@redhat.com>
6280
6281         * java/awt/image/Kernel.java (clone): Use super.clone().
6282
6283 2004-08-31  David Jee  <djee@redhat.com>
6284
6285         PR AWT/16682
6286         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6287         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6288         (nativeSetIconImageFromData): New native method declaration.
6289         (setIconImage): Handle images not produced from GdkPixbufDecoder.
6290         * gnu/java/awt/peer/gtk/GtkImage.java
6291         (getPixelCache): New method.
6292         (getColorModel): New method.
6293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6294         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6295         (free_pixbuf_data): New helper function.
6296         (nativeSetIconImageFromData): New function.
6297
6298 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6299
6300         PR SWING/16576
6301         * javax/swing/JLayeredPane.java
6302         (setLayer): Permit changing layer after addition.
6303         (setPosition): Permit over-length positions.
6304         (layerToRange): Compare intValue()s.
6305         * javax/swing/Box.java (createHorizontalBox): Implement.
6306         (createRigidArea): Likewise.
6307         (createVerticalBox): Likewise.
6308
6309 2004-08-31  Kim Ho  <kho@redhat.com>
6310
6311         * java/awt/Component.java:
6312         (processMouseEvent): Consume event after
6313         listeners process it.
6314         (processMouseMotionEvent): ditto.
6315         (processMouseWheelEvent): ditto.
6316         * java/awt/Container.java:
6317         (acquireComponentForMouseEvent):
6318         Do not dispatch to events that have been
6319         removed from the Container.
6320         (handleEvent): Consume the MouseEvents.
6321         * javax/swing/RepaintManager.java:
6322         (paintDirtyRegions): Do not add to list of
6323         damaged areas if the component has no root.
6324
6325 2004-08-31  Michael Koch  <konqueror@gmx.de>
6326
6327         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6328
6329 2004-08-31  Mark Wielaard  <mark@klomp.org>
6330
6331         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6332         null when a MissingResourceException is thrown. Should never happen.
6333
6334 2004-08-31  Mark Wielaard  <mark@klomp.org>
6335
6336         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6337         when argument is null.
6338
6339 2004-08-31  Mark Wielaard  <mark@klomp.org>
6340
6341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6342         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6343         Define hid at start of function.
6344         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6345         Likewise.
6346
6347 2004-08-31  Mark Wielaard  <mark@klomp.org>
6348
6349         * gnu/java/awt/EmbeddedWindow.java: Reindent.
6350         * javax/swing/JButton.java: Reindent.
6351         * javax/swing/JCheckBox.java: Reindent.
6352
6353 2004-08-31  Mark Wielaard  <mark@klomp.org>
6354
6355         * Makefile.am (gtk_c_source_files): Added
6356         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6357         (gtk_awt_peer_sources): Added
6358         gnu/java/awt/peer/gtk/GThreadMutex.java and
6359         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6360         * Makefile.in: Regenerated.
6361
6362 2004-08-31  Archie Cobbs  <archie@dellroad.org>
6363
6364         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6365
6366 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6367
6368         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
6369         Added jfieldID, jmethodID.
6370
6371 2004-08-31  Mark Wielaard  <mark@klomp.org>
6372
6373         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6374         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6375         gdk_env before calling any gdk or gtk function.
6376
6377         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6378         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6379         (run): Set gtkInitCalled.
6380
6381 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6382
6383         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
6384         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6385
6386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6387         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6388         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
6389         init_glib_threads.
6390         (init_glib_threads): New function.
6391
6392 2004-08-31  Mark Wielaard  <mark@klomp.org>
6393
6394         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6395         PRIORITY when not already defined in header file.
6396
6397 2004-08-31  Mark Wielaard  <mark@klomp.org>
6398
6399         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6400         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6401
6402 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6403
6404         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6405         Implemented missing functions for GTK2.
6406         Added error handling.
6407         Renamed static functions out of the g_ namespace.
6408         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
6409         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6410         Rewrote global-reference code.
6411         Eliminated cascading errors.
6412         (mutex_trylock_jni_impl) Fully implemented.
6413         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6414         resolution.
6415         (setup_cache) New function.
6416         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6417         bug where they were not unlocking the GMutex associated with the
6418         condition variable during the wait on that condition variable.
6419
6420         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6421         native/jni/gtk-peer/gthread-jni.c,
6422         native/jni/gtk-peer/gthread-jni.h
6423         (g_thread_jni_functions): Renamed to ...
6424         (portable_native_sync_jni_functions): this name.
6425         (gdk_vm): Renamed to...
6426         (the_vm): this name.
6427
6428         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6429         (gdk_vm): Removed duplicate definition.
6430         (gtkInit): Removed stray message to stdout.
6431         (gtkInit): Use g_malloc and g_free instead of malloc and free.
6432         (gtkInit): Fix a const assignment bug.
6433         (gtkInit): Simplified code.
6434
6435         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6436         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6437         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6438         gnu/java/awt/peer/gtk/GThreadMutex.java:
6439         New files.
6440
6441 2004-08-31  Mark Wielaard  <mark@klomp.org>
6442
6443         * javax/swing/Box.java: Put FIXME comment above class declaration.
6444         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6445         * javax/swing/JCheckBox.java: Likewise.
6446         * javax/swing/JDialog.java: Likewise.
6447         * javax/swing/JRadioButton.java: Likewise.
6448         * javax/swing/JToggleButton.java: Likewise.
6449         * javax/swing/UIManager.java: Likewise.
6450         * javax/swing/border/TitledBorder.java: Likewise.
6451         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6452         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6453         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6454         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6455         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6456         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6457         * javax/swing/text/JTextComponent.java: Likewise.
6458
6459 2004-08-31  David Jee  <djee@redhat.com>
6460
6461         PR AWT/16682
6462         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6463         (setIconImage): Add a FIXME for unhandled cases.
6464
6465 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6466
6467         PR AWT/16040
6468         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6469         getModifiers.  Replace old button masks with new ones.
6470         * gnu/awt/xlib/XEventLoop.java: Likewise.
6471         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6472         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6473         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6474         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6475         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6476         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6477         * java/awt/Component.java: Replace old modifier masks with new
6478         ones.
6479         * java/awt/Container.java: Call getModifiersEx, not
6480         getModifiers.
6481         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
6482         old modifier masks.
6483         * javax/swing/JMenuItem.java: Replace old button masks with new
6484         ones.
6485         * javax/swing/KeyStroke.java: Call getModifiersEx, not
6486         getModifiers.
6487         * javax/swing/SwingUtilities.java: Likewise.
6488         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6489         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6491         mask macros with new ones.
6492         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6493         macros with new ones representing new masks.
6494
6495 2004-08-31  Craig Black  <craig.black@aonix.com>
6496
6497         * gnu/java/awt/peer/gtk/GdkGraphics.java
6498         (drawRoundRect): Implemented.
6499         (fillRoundRect): Implemented.
6500         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6501         (drawRoundRect): Reimplemented to match GdkGraphics.
6502         (fillRoundRect): Reimplemented to match GdkGraphics.
6503
6504 2004-08-31  Mark Wielaard  <mark@klomp.org>
6505
6506         * Makefile.in: Regenerated.
6507
6508 2004-08-31  Michael Koch  <konqueror@gmx.de>
6509
6510         * gnu/java/awt/EmbeddedWindow.java
6511         (addNotify): Use AccessController to allow execution of privileged
6512         code.
6513
6514 2004-08-31  Michael Koch  <konqueror@gmx.de>
6515
6516         * gnu/java/awt/EmbeddedWindow.java
6517         (static): Removed.
6518         (addNotify): Set peer via reflection.
6519         (setWindowPeer): Removed.
6520         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6521         * Makefile.am (nat_source_files):
6522         Removed gnu/java/awt/natEmbeddedWindow.cc.
6523
6524 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6525
6526         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
6527         and gnu/java/security/action/SetAccessibleAction.java.
6528
6529 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6530
6531         * gnu/java/security/action/GetPropertyAction.java (setParameters):
6532         Renamed from 'setName'. New 2-argument form with default value.
6533         (run): Pass default 'value' parameter to System.getProperty().
6534         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6535         typos.
6536
6537 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6538
6539         * gnu/java/security/action/GetPropertyAction.java: New class.
6540         * gnu/java/security/action/SetAccessibleAction.java: New class.
6541
6542 2004-08-31  David Jee  <djee@redhat.com>
6543
6544         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6545         (setIconImage): Check if image is null.
6546
6547 2004-08-31  David Jee  <djee@redhat.com>
6548
6549         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6550         (create): Set the icon image.
6551         (nativeSetIconImage): New native method declaration.
6552         (setIconImage): Implement.
6553         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6554         (nativeSetIconImage): New function.
6555
6556 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6557
6558         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6559         (filenameFilterCallback): Declare local variable accepted before use.
6560
6561 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6562
6563         * gnu/java/awt/ComponentDataBlitOp.java:
6564         Cleaned up imports.
6565
6566 2004-08-31  Tom Tromey  <tromey@redhat.com>
6567
6568         * gnu/java/awt/peer/GLightweightPeer.java,
6569         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6570         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6571         javax/swing/JScrollPane.java: Removed
6572         redundant imports.
6573
6574 2004-08-31  David Jee  <djee@redhat.com>
6575
6576         * java/awt/DefaultKeyboardFocusManager.java
6577         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6578         event.  Fix shift modifier checking.
6579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6580         (accel_attach): Remove.
6581         (setupAccelGroup): Remove calls to accel_attach.
6582
6583 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6584
6585         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6586         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6587
6588         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6589         GtkArgList.java.
6590         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6591         * Makefile.in: Regenerate.
6592         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6593         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6594         (create(String)): New method.
6595         (create): Call new create method.
6596         (getArgs): Remove method.
6597         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6598         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6599         (nativeCreate): Rename to create.
6600         (gtkSetLabel): Rename to gtkButtonSetLabel.
6601         (gtkToggleButtonSetActive): New method.
6602         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6603         (setState): Replace set call with gtkToggleButtonSetActive.
6604         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6605         (getArgs): Remove method.
6606         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6607         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6608         (gtkWidgetSetSensitive): New method.
6609         (gtkWidgetSetParent): Likewise.
6610         (GtkComponentPeer): Call setParent, setComponentBounds and
6611         setVisibleAndEnabled.
6612         (setParent): New method.
6613         (setComponentBounds): New method.
6614         (setVisibleAndEnabled): New method.
6615         (setEnabled): Call gtkWidgetSetSensitive.
6616         (getArgs): Remove method.
6617         Remove all set methods.
6618         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6619         gtkWindowSetModal, setTitle and setResizable.
6620         (getArgs): Remove method.
6621         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6622         (setComponentBounds): New method.
6623         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6624         Replace set call with gtkWindowSetResizable.
6625         (getArgs): Remove method.
6626         (create): Call setTitle and setResizable.
6627         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6628         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6629         (gtkWindowSetTitle): New method.
6630         (gtkWindowSetResizable): New method.
6631         (gtkWindowSetModal): New method.
6632         (setParent): New method.
6633         (setVisibleAndEnabled): New method.
6634         (getArgs): Remove method.
6635         (setTitle): Call gtkWindowSetTitle.
6636         (setResizable): Call gtkWindowSetResizable.
6637         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6638         and off locking instrumentation.
6639
6640 2004-08-31  Kim Ho  <kho@redhat.com>
6641
6642         * Makefile.am: Add new file.
6643         * Makefile.in: Regenerate.
6644         * gcj/Makefile.in: Regenerate
6645         * include/Makefile.in:
6646         * java/awt/Container.java:
6647         (acquireComponentForMouseEvent): Respect
6648         the event mask when looking for candidate.
6649         * javax/swing/JComponent.java:
6650         Remove toolTip field.
6651         (createToolTip): Create a tooltip on demand.
6652         (setToolTipText): Register with the ToolTipManager.
6653         (getToolTipText(MouseEvent)): Return getToolTipText().
6654         * javax/swing/JToolTip.java: Implement.
6655         * javax/swing/Timer.java: Jalopy.
6656         (restart): Call stop, then start.
6657         (stop): Interrupt the timer rather than wait for
6658         the timer to come to a stop naturally.
6659         * javax/swing/ToolTipManager.java: Implement.
6660         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6661         Change ToolTip.background color.
6662         * javax/swing/plaf/basic/BasicToolTipUI.java:
6663         Implement.
6664         * testsuite/Makefile.in: Regenerate
6665
6666 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
6667
6668         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6669         constructor param comments.
6670
6671 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6672
6673         * java/awt/Component.java: Document AWT 1.0 event handler
6674         methods.
6675
6676 2004-08-31  Roman Kennke  <roman@ontographics.com>
6677
6678         * javax/swing/Box.java:
6679         (createGlue): Implemented
6680         (createHorizontalGlue): Implemented
6681         (createHorizontalStrut): Implemented
6682         (createVerticalGlue): Implemented
6683         (createVerticalStrut): Implemented
6684
6685 2004-08-31  David Jee  <djee@redhat.com>
6686
6687         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6688         (GtkChoicePeer): Do not automatically select first item.
6689         (getHistory): Remove.
6690         (nativeGetSelected): New method.
6691         (nativeRemoveAll): New method.
6692         (add): Use nativeGetSelected() instead of getHistory().
6693         (remove): Likewise.
6694         (removeAll): Call nativeRemoveAll().
6695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6696         (create): Migrate to GtkComboBox.
6697         (append): Likewise.
6698         (nativeAdd): Likewise.
6699         (nativeRemove): Likewise.
6700         (select): Likewise.
6701         (nativeRemoveAll): New method.
6702         (nativeGetSelected): New method.
6703         (selection_changed): New method.
6704         (getHistory): Remove.
6705         (item_activate): Remove.
6706         (item_removed): Remove.
6707         (connect_choice_item_selectable_hook): Remove.
6708
6709 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6710
6711         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6712         variable in setEditable call.
6713
6714         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6715         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6716         (gtkWidgetSetBackground): New method.
6717         (gtkWidgetSetForeground): Likewise.
6718         (create): Set peer's editable state based on awtComponent's.
6719
6720         * java/awt/Button.java (Button()): Use empty string rather than
6721         null in no-label constructor.
6722
6723 2004-08-31  Roman Kennke  <roman@ontographics.com>
6724
6725         * javax/swing/BoxLayout.java: Reimplement.
6726
6727 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6728
6729         * gnu/java/awt/peer/gtk/GdkGraphics.java,
6730         gnu_java_awt_peer_gtk_GdkGraphics.c
6731         (initState(GtkComponentPeer)): Don't return array of colour
6732         values.
6733         (GdkGraphics(int,int)): Set default font to size 12.
6734         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6735         component's foreground colour.
6736         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6737         gnu_java_awt_peer_gtk_GdkGraphics2D.c
6738         (initState(GtkComponentPeer)): Don't return array of colour
6739         values.
6740         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6741         colours to component's colours.
6742         (current_colors_of_widget): Remove function.
6743         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6744         Return a new graphics object.
6745         * java/awt/Font.java (toString): Fix format.
6746         * java/awt/Graphics.java (toString): Likewise.
6747
6748 2004-08-31  Craig Black  <craig.black@aonix.com>
6749
6750         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6751         (addTearOff): New function.
6752         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6753         New native method.
6754         (init): Call addTearOff() when menu.isTearOff().
6755
6756 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6757
6758         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6759         Default implementation.
6760         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6761         Implement using GdkPixbufDecoder.
6762
6763 2004-08-31  David Jee  <djee@redhat.com>
6764
6765         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6766         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6767         setting the size of GtkFileDialogPeers.
6768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6769         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6770         use their default sizes rather than their natural requisitions.
6771
6772 2004-08-31  Michael Koch  <konqueror@gmx.de>
6773
6774         * javax/swing/JFormattedTextField.java
6775         (JFormattedTextField): Implemented.
6776         * javax/swing/text/DefaultEditorKit.java
6777         (BeepAction): New inner class.
6778         * javax/swing/text/Segment.java
6779         (partialReturn): New field.
6780         (setPartialReturn): New method.
6781         (isPartialReturn): Likewise.
6782         * javax/swing/text/View.java
6783         (createFragment): Fixed typo.
6784         (getStartOffset): New method.
6785         (getEndOffset): Likewise.
6786
6787 2004-08-31  Michael Koch  <konqueror@gmx.de>
6788
6789         * javax/swing/table/DefaultTableColumnModel.java
6790         (serialVersionUID): Made private.
6791         (listenerList): Initialize.
6792         (changeEvent): Initialize.
6793         * javax/swing/table/JTableHeader.java
6794         (JTableHeader): New constructors.
6795         (createDefaultColumnModel): New method.
6796         * javax/swing/table/TableColumn.java
6797         (setHeaderRenderer): Simplified code.
6798         (setCellRenderer): Likewise.
6799         (setWidth): Likewise.
6800
6801 2004-08-31  Tom Tromey  <tromey@redhat.com>
6802
6803         * java/text/AttributedString.java (AttributedString): Use
6804         ArrayList to build array of attribute ranges.  Don't use
6805         `attribs' before it is set.
6806
6807 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6808
6809         * HACKING: Remove reference to special automake. No longer needed.
6810
6811 2004-08-30  Tom Tromey  <tromey@redhat.com>
6812
6813         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
6814         return result from `add'.
6815
6816 2004-08-30  Tom Tromey  <tromey@redhat.com>
6817
6818         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
6819
6820 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6821
6822         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
6823
6824 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
6825
6826         * java/io/File.java File(String,String): Fixed handling of empty
6827         path.
6828
6829 2004-08-30  Casey Marshall  <csm@gnu.org>
6830
6831         Author e-mail updated for all files.
6832         * gnu/java/security/OID.java (equals): Test if the aurgment is an
6833         instance of OID.
6834         (compareTo): Use `equals'.
6835         * gnu/java/security/der/BitString.java (equals): Test if the
6836         argument is an instance of BitString.
6837         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
6838         class final. Made fields private.
6839         (<init>): New constructor.
6840         (skip): New method.
6841         (makeString): Made static; don't use NIO.
6842         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
6843         * gnu/java/security/der/DERWriter.java: Fixed imports.
6844         (writeString): Don't use NIO.
6845         (toIso88591, toUtf16Be, toUtf8): New methods.
6846         * gnu/java/security/der/DERValue.java: Formatting changes only.
6847         * gnu/java/security/der/DER.java: Likewise.
6848
6849 2004-08-30  Tom Tromey  <tromey@redhat.com>
6850
6851         * java/nio/CharBuffer.java (put): Fix typo.
6852         * java/nio/DoubleBuffer.java (put): Fix typo.
6853         * java/nio/FloatBuffer.java (put): Fix typo.
6854         * java/nio/IntBuffer.java (put): Fix typo.
6855         * java/nio/LongBuffer.java (put): Fix typo.
6856         * java/nio/ShortBuffer.java (put): Fix typo.
6857
6858 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
6859
6860         * java/nio/ByteBuffer.java (put): Fix typo.
6861
6862 2004-08-30  Casey Marshall  <csm@gnu.org>
6863
6864         * java/security/DummyKeyPairGenerator.java (clone): Removed
6865         useless instanceof check.
6866         * java/security/DummyMessageDigest.java (clone): Likewise.
6867         * java/security/DummySignature.java (clone): Likewise.
6868         * java/security/MessageDigest.java (clone): Remove useless
6869         instanceof check.
6870         * java/security/MessageDigestSpi.java (clone): Likewise.
6871         * java/security/Signature.java (clone): Provide meaningful
6872         implementation.
6873         * java/security/SignatureSpi.java (clone): Likewise.
6874
6875 2004-08-29  Mark Wielaard  <mark@klomp.org>
6876
6877         * java/util/Arrays.java
6878         (sort(byte[], int, int)): Check fromIndex < 0.
6879         (sort(char[], int, int)): Likewise.
6880         (sort(short[], int, int)): Likewise.
6881         (sort(int[], int, int)): Likewise.
6882         (sort(long[], int, int)): Likewise.
6883         (sort(float[], int, int)): Likewise.
6884         (sort(double[], int, int)): Likewise.
6885         (sort(Object[], int, int, Comparator)): Likewise.
6886         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
6887         (qsort(char[], int, int)): Likewise.
6888         (qsort(short[], int, int)): Likewise.
6889         (qsort(int[], int, int)): Likewise.
6890         (qsort(long[], int, int)): Likewise.
6891         (qsort(float[], int, int)): Likewise.
6892         (qsort(double[], int, int)): Likewise.
6893
6894 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6895
6896         * java/util/AbstractCollection.java, java/util/AbstractList.java,
6897         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
6898         java/util/ArrayList.java, java/util/Arrays.java,
6899         java/util/BitSet.java, java/util/Calendar.java,
6900         java/util/Collection.java, java/util/ListIterator.java,
6901         java/util/Map.java, java/util/SortedSet.java:
6902         Added additional exceptions to documentation, along
6903         with some additions and corrections.
6904
6905 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
6906
6907         * configure.ac: Handle --enable-gc-debug.
6908         * configure: Regenerate.
6909         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
6910         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
6911         Rearrange include file order.
6912         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
6913         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
6914         (disable_gc_mutex): Delete along with all references.
6915         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
6916         adjust for debug header size.
6917         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
6918         debug case.
6919         (_Jv_AllocArray): Declare min_heap_addr only if needed.
6920         (gcj_describe_type_fn): New.
6921         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
6922         Register gcj_describe_type_fn.
6923         * include/boehm-gc.h:
6924         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
6925         Don't define, but declare, for debug case.
6926         * java/lang/natObject.cc:
6927         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
6928
6929 2004-08-26  Mark Wielaard  <mark@klomp.org>
6930
6931         Fixes PR libgcj/17002:
6932         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
6933         a TimeZoneId string and then try to convert that to a TimeZone with
6934         getDefaultSystemTimeZone(String).
6935         (timezones0): Changed type from Hashtable to HashMap.
6936         (timezones): Create HashMap, not Hashtable.
6937         (getDefaultTimeZone): New method, rewritten from CNI version.
6938         (readTimeZoneFile): New method.
6939         (readtzFile): Likewise.
6940         (skipFully): Likewise.
6941         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
6942         getDefaultTimeZoneId and rewritten.
6943         (getDefaultTimeZoneId): Rewritten in java.
6944
6945 2004-08-25  David Daney  <daney@avtrex.com>
6946
6947         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
6948         * Makefile.in: Regenerated.
6949
6950 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
6951
6952         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
6953         only if jvmpi is enabled.
6954         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
6955         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
6956         (_Jv_AllocString): Likewise.
6957         (_Jv_AllocPtrFreeObject): Likewise.
6958
6959 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
6960
6961         * defineclass.cc: Include <stdio.h>.
6962         * java/lang/natClassLoader.cc: Include <stdio.h>.
6963
6964 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
6965             Michael Koch  <konqueror@gmx.de>
6966
6967         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
6968         * Makefile.in: Regenerated.
6969
6970 2004-08-20  Michael Koch  <konqueror@gmx.de>
6971
6972         * configure.ac: Replaced all AC_TRY_COMPILE macros with
6973         AC_COMPILE_IFELSE macros.
6974
6975 2004-08-20  Michael Koch  <konqueror@gmx.de>
6976
6977         * configure.in: Renamed to configure.ac.
6978         * configure.ac: New file.
6979         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
6980         include/config.h.in, testsuite/Makefile.in: Regenerated.
6981
6982 2004-08-20  Michael Koch  <konqueror@gmx.de>
6983
6984         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
6985         * aclocal.m4, configure: Regenerated.
6986
6987 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
6988             Michael Koch  <konqueror@gmx.de>
6989
6990         * configure.in, Makefile.am: Ported to automake 1.9.
6991         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
6992         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
6993         Regenerated.
6994
6995 2004-08-19  Tom Tromey  <tromey@redhat.com>
6996
6997         * java/net/DatagramSocket.java: Fixed typo.
6998
6999 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
7000
7001         PR libgcj/17081
7002         * java/net/URI.java (string): New field. Make all other fields
7003         transient.
7004         (readObject): Implemented.
7005         (writeObject): Implemented.
7006         (URI): Set 'string'.
7007
7008 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
7009
7010         PR libgcj/17079
7011         * java/util/logging/Handler.java (isLoggable): Accept record if its
7012         log level equals the threshold level. From Robin Green.
7013
7014 2004-08-18  David Daney  <ddaney@avtrex.com>
7015
7016         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
7017         instead of sigwait.
7018
7019 2004-08-17  Michael Koch  <konqueror@gmx.de>
7020
7021         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
7022         * Makefile.in: Regenerated.
7023
7024 2004-08-16  Tom Tromey  <tromey@redhat.com>
7025
7026         PR java/8473:
7027         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
7028
7029 2004-08-16  Michael Koch  <konqueror@gmx.de>
7030
7031         * Makefile.am
7032         (math_c_files): Renamed from c_files.
7033         (math_c_source_files): Renamed from c_source_files.
7034         * Makefile.in,
7035         gcj/Makefile.in,
7036         include/Makefile.in,
7037         testsuite/Makefile.in: Regenerated.
7038
7039 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
7040
7041         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7042         to avoid autoconf warning.
7043         * configure: Rebuilt.
7044
7045 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
7046
7047         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
7048         localhostAddress to loopbackAddress.
7049         * java/net/natInetAddressWin32.cc (lookup): Likewise.
7050
7051 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7052
7053         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
7054         boehm-gc's include dirs.
7055         * configure: Rebuilt.
7056         * include/boehm-gc.h: Include gc_config.h.
7057
7058 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7059
7060         * java/net/InetAddress.java (loopbackAddress): Renamed from
7061         localhostAddress.
7062         (getByName): Return loopback address for null hostname, without
7063         security check. Use lookup(), not getAllByName.
7064         (getAllByName): Return loopback address for null hostname, without
7065         security check.
7066         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7067         check here.
7068
7069 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7070
7071         PR libgcj/17020
7072         Reported by Robin Green.
7073         * defineclass.cc (handleField): Don't throw exception on unrecognised
7074         modifier. Add FIXME comments for spec compliance.
7075         (handleMethod): Likewise.
7076
7077 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
7078
7079         PR libgcj/16662
7080         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7081         (Almost everywhere): add LOG calls, fix, add comments.
7082         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7083         Add explicit check for LOCKED bit in slow case (PR 16662).
7084         (_Jv_MonitorExit): Add casts in debug-only code.
7085         Always release LOCKED bit before throwing exception.
7086         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7087         isn't.  Handle easy cases without lock acquisition.
7088         (Object::wait): Use NotifyAll for lock inflation.
7089
7090 2004-08-12  David Daney  <ddaney@avtrex.com>
7091
7092         * testsuite/libjava.lang/Process_1.java: New test.
7093         * testsuite/libjava.lang/Process_2.java: New test.
7094         * testsuite/libjava.lang/Process_3.java: New test.
7095         * testsuite/libjava.lang/Process_4.java: New test.
7096         * testsuite/libjava.lang/Process_5.java: New test.
7097         * testsuite/libjava.lang/Process_6.java: New test.
7098         * testsuite/libjava.lang/Process_1.out: Expected result.
7099         * testsuite/libjava.lang/Process_2.out: Expected result.
7100         * testsuite/libjava.lang/Process_3.out: Expected result.
7101         * testsuite/libjava.lang/Process_4.out: Expected result.
7102         * testsuite/libjava.lang/Process_5.out: Expected result.
7103         * testsuite/libjava.lang/Process_6.out: Expected result.
7104
7105 2004-08-12  David Daney  <ddaney@avtrex.com>
7106
7107         PR libgcj/11801
7108         * java/lang/PosixProcess.java: Rewrote.
7109         * java/lang/natPosixProcess.cc: Rewrote.
7110         * java/lang/Runtime.java (execInternal): Declare throws IOException.
7111         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7112         * posix-threads.cc (block_sigchld) New function.
7113         (_Jv_ThreadRegister) Use it.
7114         (_Jv_ThreadStart) Use it.
7115         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7116         * Makefile.am: ... to specify extra native headers.
7117         * configure: Regenerated.
7118         * include/config.h: Regenerated.
7119         * Makefile.in: Regenerated.
7120         * gcj/Makefile.in: Regenerated.
7121         * include/Makefile.in: Regenerated.
7122         * testsuite/Makefile.in: Regenerated.
7123
7124 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
7125
7126         PR tree-optimization/16867
7127         * testsuite/libjava.lang/PR16867.java: New test.
7128
7129 2004-08-09  Per Bothner  <per@bothner.com>
7130
7131         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7132         with private fields and access methods.
7133         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7134         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7135         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7136         ( _Jv_makeUtf8Const): Rewrite using new constructors.
7137         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7138         * defineclass.cc: Use new _Utf8Const access/convenience methods.
7139         * jni.cc: Likewise.
7140         * resolve.cc: Likewise.
7141         * gcj/field.h: Likewise.
7142         * include/jvm.h: Likewise.
7143         * java/lang/Class.h: Likewise.
7144         * java/lang/natClass.cc: Likwise.
7145         * java/lang/natClassLoader.cc: Likewise
7146         * java/lang/reflect/natMethod.cc: Likewise
7147         * verify.cc: Likewise.
7148         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
7149         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
7150
7151 2004-08-10  Andrew Haley  <aph@redhat.com>
7152
7153         * testsuite/libjava.lang/err14.java: New file.
7154         * testsuite/libjava.lang/err14.out: New file.
7155
7156 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
7157
7158         * Makefile.am: Fix missing rename from x_nat_headers to
7159         xlib_nat_headers.
7160         * Makefile.in: Regenerated.
7161
7162 2004-08-04  Andrew Haley  <aph@redhat.com>
7163
7164         * java/security/BasicPermission.java: Don't check wildcards.
7165
7166 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
7167             Michael Koch  <konqueror@gmx.de>
7168
7169         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7170         * configure.in: Replaced all usages of AC_LINK_FILES by
7171         AC_CONFIG_LINKS.
7172         * aclocal.m4,
7173         configure: Regenerated.
7174
7175 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
7176             Michael Koch  <konqueror@gmx.de>
7177
7178         * acconfig.h: Removed.
7179         * Makefile.am: Rename variables for xlib peer to include xlib and
7180         gtk_c_headers to gtk_jni_headers.
7181         * Makefile.in: Regenerated.
7182
7183 2004-08-04  Andrew Haley  <aph@redhat.com>
7184
7185         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7186         debugging.
7187
7188 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
7189
7190         * configure.in: Eliminate uses of changequote (mostly by quoting []).
7191         Replace most top level 'dnl' comments with '#' comments, conforming
7192         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
7193         help strings.
7194         * configure: Rebuilt.
7195
7196 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
7197
7198         * acinclude.m4: Include no-executables.m4.
7199         * aclocal.m4: Rebuild.
7200         * configure.in: Convert to the autoconf 2.59 version of
7201         of the no-executables hack, and also of the nonstandard CXX
7202         hack and the multilibbed CC and CXX hack.  Change prerequisite
7203         to autoconf 2.59.
7204         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
7205         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7206         testsuite/Makefile.in: Regenerate.
7207
7208 2004-08-03  Tom Tromey  <tromey@redhat.com>
7209
7210         * jni.cc: Reindented.
7211
7212 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7213
7214         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7215
7216 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7217
7218         * testsuite/libjava.compile/PR16701.java: New test.
7219
7220 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7221
7222         * java/util/Collection.java, java/util/List.java,
7223         java/util/Map.java, java/util/Set.java,
7224         java/util/SortedMap.java, java/util/SortedSet.java:
7225         Added additional exceptions to documentation.
7226
7227 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
7228
7229         PR libgcj/16814
7230         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7231         * configure. Regenerate.
7232         * include/win32.h: Explicitly include winsock2.h
7233         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7234         Winsock api.
7235
7236 2004-07-30  Michael Koch  <konqueror@gmx.de>
7237
7238         * java/util/zip/GZIPInputStream.java
7239         (GZIPInputStream): Increase buffer size to 4k.
7240         * java/util/zip/GZIPOutputStream.java
7241         (GZIPOutputStream): Likewise.
7242         * java/util/zip/Inflater.java
7243         (setInput): Merged formating with GNU classpath.
7244         * java/util/zip/InflaterInputStream.java
7245         (InflaterInputStream): Increase buffer size to 4k.
7246         (fill): Throw exception if stream ends early.
7247         (read): Merged endless-loop with GNU classpath.
7248         (skip): Increase buffer size to 2k.
7249
7250 2004-07-30  Michael Koch  <konqueror@gmx.de>
7251
7252         * gnu/java/awt/EmbeddedWindow.java
7253         (addNotify): Use AccessController to allow execution of privileged
7254         code.
7255
7256 2004-07-29  Michael Koch  <konqueror@gmx.de>
7257
7258         * gnu/java/lang/MainThread.java:
7259         Explicitely import used classes.
7260         (args): Make it type String[].
7261
7262 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7263
7264         * gnu/java/awt/ComponentDataBlitOp.java,
7265         gnu/java/beans/ExplicitBeanInfo.java,
7266         gnu/java/beans/IntrospectionIncubator.java,
7267         gnu/java/beans/editors/ColorEditor.java,
7268         gnu/java/beans/editors/FontEditor.java,
7269         gnu/java/beans/editors/NativeBooleanEditor.java,
7270         gnu/java/beans/editors/NativeByteEditor.java,
7271         gnu/java/beans/editors/NativeDoubleEditor.java,
7272         gnu/java/beans/editors/NativeFloatEditor.java,
7273         gnu/java/beans/editors/NativeIntEditor.java,
7274         gnu/java/beans/editors/NativeLongEditor.java,
7275         gnu/java/beans/editors/NativeShortEditor.java,
7276         gnu/java/beans/editors/StringEditor.java,
7277         gnu/java/io/ClassLoaderObjectInputStream.java,
7278         gnu/java/io/decode/Decoder.java,
7279         gnu/java/io/encode/Encoder.java,
7280         gnu/java/lang/ClassHelper.java,
7281         gnu/java/locale/Calendar.java,
7282         gnu/java/locale/Calendar_de.java,
7283         gnu/java/locale/Calendar_en.java,
7284         gnu/java/locale/Calendar_nl.java,
7285         gnu/java/locale/LocaleInformation_de.java,
7286         gnu/java/locale/LocaleInformation_en.java,
7287         gnu/java/locale/LocaleInformation_nl.java:
7288         Cleaned up imports.
7289
7290 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7291
7292         * README: Remove obsolete info. Update bug URL.
7293         * THANKS: Updated.
7294         * NEWS: Updated with news up to GCC 3.4 release.
7295
7296 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7297
7298         * gnu/java/security/action/GetPropertyAction.java (setParameters):
7299         Renamed from 'setName'. New 2-argument form with default value.
7300         (run): Pass default 'value' parameter to System.getProperty().
7301         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7302         typos.
7303         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7304         not 'setName'.
7305
7306 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7307
7308         * configure.in: Check for minimum GTK version 2.4 requirement.
7309         * configure: Rebuilt.
7310
7311 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7312
7313         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7314         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7315         Reduce sleep time.
7316         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7317         compiler bug.
7318         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
7319         address. Reduce sleep times. Synchronize with target threads before
7320         attempting to interrupt them. Don't try to calibrate yeild count,
7321         instead, always loop for a fixed time.
7322         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7323         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7324         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7325         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7326         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7327         * testsuite/libjava.lang/pr179.java: Likewise.
7328         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7329         time. Remove upper bounds check on sleep time.
7330
7331 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7332
7333         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7334         * testsuite/libjava.lang/Thread_HoldsLock.out: New.
7335
7336 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7337
7338         * java/io/File.java (toURI): Throw RuntimeException, not
7339         InternalError.
7340         * java/lang/Runtime.java (exit): Qualify static sleep() call with
7341         class name, not instance.
7342
7343 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
7344
7345         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7346         and gnu/java/security/action/SetAccessibleAction.java.
7347         * Makefile.in: Rebuilt.
7348
7349 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7350
7351         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7352         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7353         _Jv_InitPrimClass.
7354         (DECLARE_PRIM_TYPE): Don't declare array vtables.
7355         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7356         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7357
7358 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7359
7360         * Makefile.am: Replace jar, rmic and rmiregistry references with
7361         gjar, grmic and grmiregistry.
7362         * configure.in: Likewise.
7363         * Makefile.in: Regenerate.
7364         * configure: Likewise.
7365         * gcj/Makefile.in: Likewise.
7366         * include/Makefile.in: Likewise.
7367         * testsuite/Makefile.in: Likewise.
7368
7369 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7370
7371         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7372         for privileged getProperty calls.
7373         * java/io/ObjectOutputStream.java (getField): No longer static. Use
7374         SetAccessibleAction instead of anonymous class for doPrivileged call.
7375         (getMethod): Likewise.
7376         (setAccessible): New field. PrivilegedAction object to use when
7377         calling setAccessible.
7378         * java/io/ObjectStreamClass.java (calculateOffsets): Use
7379         SetAccessibleAction instead of anonymous class for diPrivileged call.
7380         (setFields): Likewise.
7381         (getClassUID): Likewise.
7382         (findMethod): Likewise.
7383         * gnu/java/security/action/GetPropertyAction.java: New class.
7384         * gnu/java/security/action/SetAccessibleAction.java: New class.
7385
7386 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7387
7388         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7389         for final fields.
7390         * testsuite/libjava.lang/Serialization.java: New test.
7391         * testsuite/libjava.lang/Serialization.out: New.
7392
7393 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7394
7395         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7396         missed in last commit.
7397
7398 2004-07-23  Mark Wielaard  <mark@klomp.org>
7399
7400         * java/lang/System.java (static): Set http.agent system property when
7401         not yet set.
7402         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7403         from system property inside AccessController.doPrivileged() call.
7404         (proxyPort): Made package private.
7405         (proxyInUse): Likewise.
7406         (proxyHost): Likewise.
7407         (userAgent): Likewise.
7408
7409 2004-07-23  Mark Wielaard  <mark@klomp.org>
7410
7411         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7412         implementation.
7413
7414 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
7415
7416         * Makefile.am (ordinary_java_source_files): Add
7417         DefaultContentHandlerFactory.java.
7418         * Makefile.in: Rebuilt.
7419         * java/net/URLConnection.java (defaultFactory): New field.
7420         (getContent):
7421         (getContentHandler): Renamed from 'setContentHandler'. Try
7422         defaultFactory after user-set factory, if any. Search for content
7423         handler implementations in gnu.java.net.content, not gnu.gcj.content.
7424         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7425         Implemented.
7426         (getLastModified): Implemented.
7427         (getPermission): Create file permission here, instead of in
7428         constructor.
7429         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7430         Implemented.
7431         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7432         Implemented.
7433         (getLastModified): Implemented.
7434         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7435         Default implementation.
7436         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7437         Implement using GdkPixbufDecoder.
7438
7439 2004-07-21  Michael Koch  <konqueror@gmx.de>
7440
7441         * javax/swing/JTextArea.java
7442         (setLineWrap): Fire property change event after new value is set.
7443         (setTabSize): Likewise.
7444
7445 2004-07-21  Michael Koch  <konqueror@gmx.de>
7446
7447         * javax/swing/JTable.java
7448         (autoCreateColumnsFromModel): New field.
7449         (autoResizeMode): Likewise.
7450         (cellEditor): Likewise.
7451         (cellSelectionEnabled): Likewise.
7452         (columnModel): Likewise.
7453         (dataModel): Likewise.
7454         (defaultEditorsByColumnClass): Likewise.
7455         (defaultRenderersByColumnClass): Likewise.
7456         (editingColumn): Likewise.
7457         (editingRow): Likewise.
7458         (gridColor): Likewise.
7459         (preferredViewportSize): Likewise.
7460         (rowHeight): Likewise.
7461         (rowMargin): Likewise.
7462         (rowSelectionAllowed): Likewise.
7463         (selectionBackground): Likewise.
7464         (selectionForeground): Likewise.
7465         (selectionModel): Likewise.
7466         (showHorizontalLines): Likewise.
7467         (showVerticalLines): Likewise.
7468         (tableHeader): Likewise.
7469         (JTable): Implemented.
7470         (getColumnModel): Likewise.
7471         (getSelectedRow): Likewise.
7472         (getSelectionModel): Likewise.
7473         (setModel): Likewise.
7474         (setSelectionModel): Likewise.
7475         (createScrollPaneForTable): New method.
7476         (createDefaultDataModel): Likewise.
7477         (createDefaultListSelectionModel): Likewise.
7478         (getModel): Likewise.
7479         (getTableHeader): Likewise.
7480         (setTableHeader): Likewise.
7481         (getColumnSelectionAllowed): Likewise.
7482         (setColumnSelectionAllowed): Likewise.
7483         (getRowSelectionAllowed): Likewise.
7484         (setRowSelectionAllowed): Likewise.
7485         (getAutoResizeMode): Likewise.
7486         (setAutoResizeMode): Likewise.
7487         (getColumnCount): Likewise.
7488         (getRowCount): Likewise.
7489         (getCellRenderer): Likewise.
7490         * javax/swing/JTree.java
7491         (cellRenderer): New field.
7492         (editable): Likewise.
7493         (rootVisible): Likewise.
7494         (showsRootHandles): Likewise.
7495         (getModel): New method.
7496         (setModel): Likewise.
7497         (isEditable): Likewise.
7498         (setEditable): Likewise.
7499         (isRootVisbile): Likewise.
7500         (setRootVisible): Likewise.
7501         (getShowsRootHandles): Likewise.
7502         (setShowRootHandles): Likewise.
7503         (getCellRenderer): Likewise.
7504         (setCellRenderer): Likewise.
7505
7506 2004-07-21  Michael Koch  <konqueror@gmx.de>
7507
7508         * javax/swing/JFormattedTextField.java
7509         (setDocument): Implemented.
7510         * javax/swing/JRootPane.java:
7511         Fixed javadocs.
7512         * javax/swing/JTable.java
7513         (getDefaultRenderer): New method.
7514         * javax/swing/JTextField.java
7515         (setFont): Likewise.
7516         (getPreferredSize): Likewise.
7517         * javax/swing/JToggleButton.java
7518         (getAccessibleContext): Fix javadoc.
7519         * javax/swing/JTree.java:
7520         Add some javadocs.
7521         * javax/swing/JViewport.java:
7522         Likewise.
7523
7524 2004-07-21  David Jee  <djee@redhat.com>
7525
7526         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7527         Collect all native method declaration at the top.
7528         (create): Set the filename filter if necessary.
7529         (setDirectory): Call nativeSetDirectory().
7530         (setFilenameFilter): Implement.
7531         (filenameFilterCallback): New method.
7532         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7533         (create): Configure dialog to show hidden files.
7534         (filenameFilterCallback): New function.
7535         (nativeSetFilenameFilter): New function.
7536         (nativeSetDirectory): New function.
7537
7538 2004-07-21  Kim Ho  <kho@redhat.com>
7539
7540         * javax/swing/plaf/basic/BasicSliderUI.java:
7541         Ran Jalopy.
7542         (paintTrack): Fill the track before painting
7543         the borders.
7544
7545 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7546
7547         patch from Roman Kennke <roman@ontographics.com>
7548         * javax/swing/Spring.java: New file.
7549         * javax/swing/SpringLayout.java: New file.
7550         * Makefile.am: Add new files.
7551         * Makefile.in: Regenerate.
7552
7553 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7554
7555         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7556         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7557         * javax/swing/ScrollPaneLayout.java: Likewise.
7558
7559 2004-07-21  Kim Ho  <kho@redhat.com>
7560
7561         * javax/swing/DefaultDesktopManager.java:
7562         (findMinimum): Removed.
7563         (resizeFrame): Trust the UI to pass valid
7564         bounds.
7565         * javax/swing/JOptionPane.java:
7566         Implemented showInternalXXXDialog methods.
7567         (startModal): New method.
7568         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7569         (BorderListener::mouseDragged): Verify that the new
7570         bounds are valid before passing them to the DesktopManager.
7571         (preferredLayoutSize): Delegate
7572         to getSize.
7573         (minimumLayoutSize): Ditto.
7574         (getSize): New method.
7575         (GlassPaneDispatcher): Reimplemented by copying
7576         a stripped down LightweightDispatcher from Container.
7577         (getMinimumSize): Call minimumLayoutSize.
7578         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7579         Ran Jalopy.
7580         (mousePressed): Add ability to properly close
7581         JInternalFrames.
7582         * javax/swing/plaf/basic/BasicToolBarUI.java:
7583         (DragWindow): Set owner for DragWindow.
7584
7585 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7586
7587         * java/awt/image/ShortLookupTable.java: New file.
7588         * java/awt/image/ByteLookupTable.java: New file.
7589         * Makefile.am: Added new files.
7590         * Makefile.in: Regenerated.
7591
7592 2004-07-21  David Jee  <djee@redhat.com>
7593
7594         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7595         (create(GtkContainerPeer)): New native method.
7596         (create()): Call native create(), passing in the parent frame
7597         as the paramter. Natively set the current file and directory.
7598         (setFile): Construct an absolute filename before passing it to
7599         the native peer.
7600         (nativeGetDirectory): New method.
7601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7602         (window_closed): Removed.
7603         (ok_clicked): Likewise.
7604         (cancel_clicked): Likewise.
7605         (handle_response): New method.
7606         (create): Use GtkFileChooserDialog.
7607         (connectSignals): Connect to handle_response.
7608         (nativeGetDirectory): New method.
7609         (nativeSetFile): Use GtkFileChooserDialog.
7610
7611 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7612
7613         * java/awt/image/LookupTable.java: New file.
7614         * Makefile.am: Added new file.
7615         * Makefile.in: Regenerated.
7616
7617 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7618
7619         * java/awt/image/Kernel.java: New file.
7620         * Makefile.am: Added new file.
7621         * Makefile.in: Regenerated.
7622
7623 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7624
7625         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7626         * javax/swing/JMenu.java: Likewise.
7627         * javax/swing/JMenuBar.java: Likewise.
7628         (MARGIN_CHANGED_PROPERTY): New property.
7629         (setMargin): Implemented.
7630         * javax/swing/JMenuItem.java: Fixed javadocs.
7631         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7632         (LABEL_CHANGED_PROPERTY): New property.
7633         (add): changed to use createActionComponent.
7634         (createActionComponent): Implemented.
7635         (setLabel): Fire PropertyChangeEvent if label property
7636         changes.
7637         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7638         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7639         (ContainerHandler): Repaint if margin property has changed.
7640         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7641         (installUI): Call installComponents().
7642         (uninstallUI): Call uinstallComponents().
7643         * javax/swing/plaf/basic/BasicMenuUI.java:
7644         Fixed javadocs.
7645         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7646         Likewise.
7647
7648 2004-07-21  Kim Ho  <kho@redhat.com>
7649
7650         * javax/swing/plaf/basic/BasicToolBarUI.java:
7651         (DragWindow): Use the right constructor.
7652
7653 2004-07-21  Kim Ho  <kho@redhat.com>
7654
7655         * javax/swing/JToolBar.java:
7656         (layoutContainer): Use getComponents.
7657         * javax/swing/plaf/basic/BasicToolBarUI.java:
7658         (DragWindow): Don't use SwingUtilities'
7659         getOwnerFrame
7660         (ToolBarDialog): ditto.
7661
7662 2004-07-21  Kim Ho  <kho@redhat.com>
7663
7664         * javax/swing/JRootPane.java:
7665         Ran jalopy.
7666         (layoutContainer): Set the glasspane's size to
7667         be the same as the content pane.
7668         (createGlassPane): Set opaque property to false.
7669
7670 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7671
7672         * java/awt/Component.java (requestFocus()): Don't handle Panels
7673         specially.
7674         (requestFocus(boolean)): Likewise.
7675         (requestFocusInWindow(boolean)): Likewise.
7676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7677         Set GTK_CAN_FOCUS flag.
7678
7679 2004-07-21  Kim Ho  <kho@redhat.com>
7680
7681         * Makefile.am: Added new file.
7682         * Makefile.in: Regenerated.
7683         * gcj/Makefile.in: Regenerated.
7684         * include/Makefile.in: Regenerated.
7685         * javax/swing/AbstractButton.java:
7686         Add rollOverEnabled property.
7687         (setRolloverEnabled): Use new property.
7688         (isRolloverEnabled): Use new property.
7689         * javax/swing/JTabbedPane.java:
7690         (setComponent): Remove useless JTabbedPane.this.
7691         * javax/swing/JToolBar.java: Finish implementation.
7692         * javax/swing/plaf/basic/BasicArrowButton.java:
7693         (paint): Moved border painting to a border.
7694         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7695         Change JToolBar look and feel defaults.
7696         * javax/swing/plaf/basic/BasicOptionPaneUI.java
7697         (actionPerformed): Return Integer index instead of name.
7698         (addButtonComponents): Check to see if component is
7699         JButton last.
7700         (createMessageArea): Don't use components that are not
7701         completed yet.
7702         (getIconForType): Use temporary icons.
7703         * javax/swing/plaf/basic/BasicSliderUI.java:
7704         (mousePressed): Do not return if it's on thumb.
7705         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7706         (paintMinorTickForVertSlider): ditto.
7707         (paintMajorTickForHorizSlider): ditto.
7708         (paintMajorTickForVertSlider): ditto.
7709         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7710         Add a border around the SplitPaneDivider.
7711         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7712         Remove comments.
7713         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7714         New file. Implemented.
7715         * javax/swing/plaf/basic/BasicToolBarUI.java:
7716         Implemented.
7717         * testsuite/Makefile.in: Regenerated.
7718
7719 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7720
7721         * javax/swing/Timer.java (run): Queue events each time cycle.
7722
7723 2004-07-21  David Jee  <djee@redhat.com>
7724
7725         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7726         (imageComplete): Call image.imageComplete().
7727         * java/awt/image/MemoryImageSource.java:
7728         Reimplement consumers as a Vector instead of a Hashtable.  This is
7729         because enumeration on a Hashtable is not thread-safe.
7730         (addConsumer): Adapt to Vector consumers.
7731         (isConsumer): Adapt to Vector consumers.
7732         (removeConsumer): Adapt to Vector consumers.
7733         (startProduction): Adapt to Vector consumers. Call imageComplete()
7734         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7735         (newPixels): Adapt to Vector consumers.
7736         (sendPicture): Set the color model of the image consumer.
7737         (newPixels(IIII)): Adapt to Vector consumers.
7738         (newPixels(IIIIB)): Adapt to Vector consumers.
7739
7740 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7741
7742         * java/awt/Component.java (deliverEvent): Implement.
7743         (postEvent): Implement.
7744         (handleEvent): Implement.
7745         (translateEvent): New method.
7746         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
7747         * java/awt/Container.java (deliverEvent): Implement.
7748         * java/awt/Event.java (paramString): Fix formatting.
7749         * java/awt/Font.java (toString): Likewise.
7750         * java/awt/Window.java (postEvent): Implement.
7751
7752 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7753
7754         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7755         Set window's focus owner upon receiving a FOCUS_LOST event.
7756         * java/awt/Window.java (Window()): Refocus the previously
7757         focused component within the window when the window regains the
7758         top-level focus.
7759         (setFocusOwner): New method.
7760         * java/awt/Component.java (requestFocus): Add FIXME.
7761
7762         * libgcj.pc.in: Remove library flags.
7763
7764 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7765
7766         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7767         MOUSE_PRESSED event.
7768         * java/awt/Component.java (requestFocus()): Handle Panel
7769         specially.  Post FOCUS_LOST event on opposite component.
7770         (requestFocus(boolean)): Likewise.
7771         (requestFocusInWindow(boolean)): Likewise.
7772         (paramString): Reorder dimension fields.
7773         * java/awt/Container.java (paramString): Fix string format.
7774         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7775         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
7776         process key events if the focus owner is non-null.
7777         (dispatchKeyEvent): Likewise.
7778         * java/awt/Frame.java (paramString): Fix formatting.
7779         (generateName): New method.
7780         (getUniqueLong): Likewise.
7781         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7782         the temporary focus owner is null.  If so, return the permanent
7783         focus owner.
7784         * java/awt/Panel.java (generateName): New method.
7785         (getUniqueLong): Likewise.
7786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
7787         signal handling to make callbacks more specific.
7788
7789 2004-07-21  Michael Koch  <konqueror@gmx.de>
7790
7791         * javax/swing/text/Position.java
7792         (Bias): Implemented.
7793
7794 2004-07-21  Michael Koch  <konqueror@gmx.de>
7795
7796         * javax/swing/LookAndFeel.java
7797         (provideErrorFeedback): New method.
7798
7799 2004-07-21  Michael Koch  <konqueror@gmx.de>
7800
7801         * javax/swing/JTextArea.java
7802         (tabSize): New field.
7803         (getTabSize): New method.
7804         (setTabSize): Likewise.
7805
7806 2004-07-21  Michael Koch  <konqueror@gmx.de>
7807
7808         * javax/swing/ActionMap.java:
7809         Fixed javadocs all over.
7810         (serialVersionUID): Made private.
7811         (parent): Don't explicitely initialize with default value.
7812         (get): SImplified.
7813         (keys): Reimplemented.
7814         (allKeys): Likewise.
7815         (convertSet): Removed.
7816         * javax/swing/ComponentInputMap.java:
7817         Fixed javadocs all over.
7818         (ComponentInputMap): Implemented.
7819         (put): Likewise.
7820         (clear): Likewise.
7821         (remove): Likewise.
7822         (SetParent): Likewise.
7823         (getComponent): Likewise.
7824         * javax/swing/InputMap.java:
7825         Fixed javadocs all over.
7826         (serialVersionUID): Made private.
7827         (parent): Don't explicitely initialize with default value.
7828         (get): SImplified.
7829         (keys): Reimplemented.
7830         (allKeys): Likewise.
7831         (convertSet): Removed.
7832
7833 2004-07-21  Michael Koch  <konqueror@gmx.de>
7834
7835         * javax/swing/ActionMap.java,
7836         javax/swing/ComponentInputMap.java,
7837         javax/swing/InputMap.java,
7838         javax/swing/table/DefaultTableColumnModel.java,
7839         javax/swing/table/TableColumn.java,
7840         javax/swing/table/TableColumnModel.java,
7841         javax/swing/table/TableModel.java,
7842         javax/swing/text/AbstractDocument.java,
7843         javax/swing/text/TextAction.java:
7844         Reformated.
7845
7846 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7847
7848         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
7849         Make method non-static.
7850         * javax/swing/AbstractButton.java:
7851         Rename fields to match property names where possible.
7852         (iconTextGap): New property.
7853         * javax/swing/JCheckBox.java: Match AbstractButton changes.
7854         (init) New method, call from after various constructors.
7855         * javax/swing/JComponent.java (revalidate):
7856         Invalidate before queueing repair.
7857         * javax/swing/JList.java (getPreferredScrollableViewportSize):
7858         Reimplement in terms of visibleRowCount property.
7859         * javax/swing/JMenuButton.java: Match AbstractButton changes.
7860         * javax/swing/JScrollPane.java (createScrollListener):
7861         Remove tracing chatter.
7862         * javax/swing/JToggleButton.java: Match AbstractButton changes.
7863         * javax/swing/RepaintManager.java (addInvalidComponent):
7864         Don't invalidate.
7865         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
7866         calculations.
7867         * javax/swing/SwingUtilities.java (layoutCompoundLabel):
7868         Mimic sun behavior on top left/right positioning.
7869         * javax/swing/ViewportLayout.java (preferredLayoutSize):
7870         Remove mistaken use of preferredScrollableViewportSize here.
7871         (layoutContainer): Use view's preferred size as basis.
7872         * javax/swing/plaf/basic/BasicButtonUI.java:
7873         Set, get, and use textIconGap property.
7874         (paint) Paint text returned from layout (with ellipsis).
7875         * javax/swing/plaf/basic/BasicListUI.java:
7876         Remove tracing chatter, correct various minor calculations.
7877         (getCellBounds): Update layout state before calculating.
7878         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
7879         Use margin default similar to sun's.
7880         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
7881         (createIncreaseIcon): Center icon, minimize margins.
7882         (createDecreaseIcon): Likewise.
7883         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
7884         Implement.
7885         (installUI): Call it.
7886         (uninstallDefaults): Implement.
7887         (uninstallUI): Call it.
7888         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
7889         Call existing Window constructor.
7890         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
7891         Set clip before painting.
7892
7893 2004-07-21  Olga Rodimina <rodimina@redhat.com>
7894
7895         * javax/swing/JMenuItem.java:
7896         (processMouseEvent): Reimplemented to deal with
7897         mouse drag events.
7898         (createMenuDragMouseEvent): New private helper method.
7899         Creates MenuDragMouseEvent.
7900         * javax/swing/MenuSelectionManager.java
7901         (componentForPoint): Implemented.
7902         (isComponentPartOfCurrentMenu): Made public.
7903         (processMouseEvent): Reimplemented to deal with
7904         mouse drag events.
7905         (setSelectedPath): Corrected small mistake that caused
7906         path to be set incorrectly.
7907         (getPath): If given component is JMenu then also add this
7908         menu's popup menu to the selected path.
7909         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7910         (getPath): Ditto.
7911         (getPreferredSize): Call getPreferredMenuItemSize().
7912         (getPreferredItemSize): Moved code from getPreferredSize to here.
7913         (installListeners): Install MouseMotionListeners.
7914         (MouseInputHandler): Pass mouse release event to MenuSelectionManager
7915         if mouse wasn't released in the bounds of this menu item.
7916         (MenuDragMouseHandler): Implemented.
7917         * javax/swing/plaf/basic/BasicMenuUI.java:
7918         (installListeners): Install MouseMotionListener and
7919         MenuDrageMouseListener.
7920         (MenuDragMouseHandler): Implemented.
7921         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7922         (uninstallListeners): Implemented.
7923
7924 2004-07-21  Michael Koch  <konqueror@gmx.de>
7925
7926         * javax/swing/JCheckBox.java: Reformated.
7927         (JCheckBox): Fixed all constructors.
7928         (isBorderPaintedFlat): New method.
7929         (setBorderPaintedFlat): New method.
7930         * javax/swing/JEditorPane.java
7931         (createEditorKitForContentType): Made public.
7932         (scrollToReference): Likewise.
7933         * javax/swing/JTextArea.java
7934         (setLineWrap): Fire property change.
7935         * javax/swing/JToggleButton.java
7936         (JToggleButton): New constructor.
7937         (JToggleButton): Simplified.
7938         * javax/swing/text/AttributeSet.java
7939         (FontAttribute): Renamed from FontCharacterAttribute.
7940         * javax/swing/text/JTextComponent.java
7941         (KeyBinBinding): Added javadoc.
7942         (JTextComponent): Likewise.
7943         (getAccessibleContext): Fixed javadoc.
7944         * javax/swing/text/View.java
7945         (View): Added javadoc.
7946         * javax/swing/text/TabableView.java: New file.
7947         * Makefile.am: Added javax/swing/text/TabableView.java.
7948         * Makefile.in: Regenerated.
7949
7950 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7951
7952         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
7953         * gnu/java/awt/peer/gtk/GtkToolkit.java
7954         (GtkErrorImage): New helper class.
7955         (bufferedImageOrError): New helper method.
7956         (createImage): Use it.
7957
7958 2004-07-21  David Jee  <djee@redhat.com>
7959
7960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7961         (setCaretPosition): Scroll the text view so the new caret position
7962         is visible on screen.
7963
7964 2004-07-21  David Jee  <djee@redhat.com>
7965
7966         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7967         (setBounds): Do not validate awtComponent here.
7968         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
7969         (getPreferredSize): New method.
7970         * java/awt/ScrollPane.java
7971         (ScrollPane): Set default size to 100x100.
7972         (addNotify): If child is not a Panel, wrap it with a new Panel.
7973         (paramString): Implement.
7974
7975 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7976
7977         * javax/swing/JMenu.java:
7978         (setSelected): Display popup menu only if this menu
7979         is showing on the screen.
7980         * javax/swing/JPopupMenu.java:
7981         (processMouseEvent): Added comment.
7982         (processKeyEvent): Likewise.
7983         * javax/swing/MenuSelectionManager.java:
7984         (clearSelectedPath): Only fireStateChanged() after
7985         selected path was changed, not before.
7986         (setSelectedPath): Likewise.
7987         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7988         (paintMenuItem): Corrected position of menu item's
7989         icon.
7990         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7991         (installUI): Correct setDefaultLightWeightPopupEnabled call.
7992         (popupMenuCanceled): Reimplemented.
7993         (popupMenuWillBecomeVisible): Select first menu item by default
7994         when displaying free floating popup menus.
7995         (TopWindowListener): Reimplemented.
7996
7997 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7998
7999         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
8000         Panel from being painted twice when it is first shown.
8001
8002 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8003
8004         * java/awt/Window.java: Reverted changes from my
8005         previous patch for creating window without an owner.
8006         * javax/swing/SwingUtilities.java:
8007         (SwingUtilities.OwnerFrame): made static.
8008         (OwnerFrame.setVisible): New method. Overridden with
8009         empty implementation.
8010         (OwnerFrame.isShowing): New method. Ovverridden
8011         to return always true.
8012
8013 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8014
8015         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8016         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8017         (GtkComponentPeer): Remove temporary try/catch block.
8018         (setVisible): Call show and hide.
8019         (show): Make native.
8020         (hide): Likewise.
8021         (getArgs): Don't add "visible" argument.
8022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8023         (property_notify_predicate): Return Bool instead of int.
8024         (find_layout): New function.
8025         (connectJObject): Call find_layout.
8026         (connectSignals): Likewise.
8027         (moveLayout): Likewise.
8028         (gtkLayoutSetVisible): Likewise.
8029
8030 2004-07-21  Mark Wielaard  <mark@klomp.org>
8031
8032         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8033         on notifier object before calling notifyAll().
8034
8035 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8036
8037         * java/awt/Window.java: Changed constructors to use new
8038         method that is described below. Constructors call this
8039         methods only if newly created window should have an owner.
8040         (setWindowOwner): New method. Implementation for
8041         this method is moved from this(owner,configuration).
8042         * javax/swing/JWindow.java:
8043         (JWindow): Reimplement to use SwingUtilities.ownerFrame
8044         instead of owner.
8045         * javax/swing/SwingUtilities.java:
8046         (ownerFrame): Change type of this field to OwnerFrame.
8047         (getOwnerFrame): Changed to return object of type OwnerFrame.
8048         (SwingUtilities.OwnerFrame): New class. Represents owner
8049         of a Window that is not provided with one.
8050
8051 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8052
8053         *  javax/swing/AbstractButton.java:
8054         (configurePropertiesFromAction): Set action command
8055         to button's text by default if action command is not
8056         explicitely specified.
8057         * javax/swing/JMenu.java: Remove unnecessary listener
8058         and methods relevant to it.
8059         (setSelected): Reimplemented.
8060         (menuSelectionChanged): Moved most part of implementation to
8061         setSelected() and call it instead.
8062         * javax/swing/JMenuItem.java:
8063         (init): Comment out statement that sets paint_border to false.
8064         (configurePropertiesFromAction): Do not set accelerator
8065         for JMenu.
8066         (menuSelectionChanged): Change selected index in the selection
8067         model of menu item's parent.
8068         * javax/swing/JPopupMenu.java:
8069         (remove): Set constraints.fill field to GridBagConstraints.BOTH
8070         instead of GridBagConstraints.HORIZONTAL.
8071         (insert): Likewise.
8072         (createActionChangeListener): Implemented.
8073         (setVisible): Correct location of HeavyWeightMenu and
8074         don't firePopupMenuCanceled().
8075         (menuSelectionChanged): Implemented.
8076         (ActionChangeListener): New Listener. Implemented.
8077         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8078         (BasicMenuBarUI.ContainerHandler): Implemented.
8079         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8080         (paintMenuItem): Uncommented out code that paints
8081         icon, now that icons are working properly.
8082         (PropertyChangeListener): Implemented.
8083         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8084         Added javadocs.
8085         (topWindowListener): New field.
8086         (Constructor): initialize topWindowListener.
8087         (BasicPopupMenuUI.TopWindowListener): Implemented.
8088         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8089         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8090         Implemented.
8091
8092 2004-07-21  Michael Koch  <konqueror@gmx.de>
8093
8094         * javax/swing/plaf/basic/BasicButtonUI.java
8095         (paintFocus): Fixed method signature.
8096         (paintButtonPressed): Likewise.
8097         (paintButtonNormal): Likewise.
8098         (paintText): New method.
8099         * javax/swing/plaf/basic/BasicLabelUI.java
8100         (paint): Re-indented.
8101         * javax/swing/plaf/basic/BasicTextUI.java
8102         (installUI): Set parent textComponent to opaque.
8103         * javax/swing/text/DefaultHighlighter.java
8104         (checkPositions): New helper method.
8105         (addHighlight): Throws BadLocationException, check positions.
8106         (changeHighlight): Likewise.
8107         * javax/swing/text/EditorKit.java
8108         (EditorKit): Implements Serializable.
8109         * javax/swing/text/JTextComponent.java
8110         (getUI): Added javadoc.
8111         (setUI): Likewise.
8112         (upadteUI): Added javadoc, don't revalidate and repaint.
8113
8114 2004-07-21  David Jee  <djee@redhat.com>
8115
8116         * java/awt/GridBagLayout.java
8117         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8118         * javax/swing/AbstractButton.java
8119         (setText): Reindent.
8120         * javax/swing/RepaintManager.java
8121         (addInvalidComponent): Find the first ancestor that isValidateRoot().
8122
8123 2004-07-21  Michael Koch  <konqueror@gmx.de>
8124
8125         * javax/swing/JFormattedTextField.java
8126         (value): New field.
8127         (JFormattedTextField): Implemented.
8128         (getValue): Likewise.
8129         (setValue): Likewise.
8130         * javax/swing/LookAndFeel.java
8131         (getSupportsWindowDecorations): New method.
8132         * javax/swing/UIDefaults.java:
8133         Use java.beans.PropertyChangeSupport instead of doing all ourself.
8134         (addPropertyChangeListener): Made public.
8135         (addResourceBundle): Likewise.
8136         (removeResourceBundle): Likewise.
8137         (setDefaultLocale): Likewise.
8138         * javax/swing/plaf/basic/BasicRootPaneUI.java
8139         (BasicRootPaneUI): Implements PropertyChangeListener.
8140         (propertyChange): New method.
8141         * javax/swing/plaf/basic/BasicTextUI.java
8142         (BasicHighlighter): New inner class.
8143         (createHighlighter): New method.
8144         * javax/swing/plaf/basic/BasicToolBarUI.java
8145         (DragWindow): Extends java.awt.Window.
8146         * javax/swing/text/JTextComponent.java
8147         (getDocument): Removed debug output.
8148         * javax/swing/plaf/basic/BasicTextFieldUI.java,
8149         javax/swing/text/DefaultHighlighter.java,
8150         javax/swing/text/FieldView.java,
8151         javax/swing/text/PlainView.java: New files.
8152         * Makefile.am: Added new files.
8153         * Makefile.in: Regenerated.
8154
8155 2004-07-21  Michael Koch  <konqueror@gmx.de>
8156
8157         * javax/swing/JEditorPane.java
8158         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8159         (createEditorKitForContentType): Likewise.
8160         * javax/swing/text/DefaultEditorKit.java
8161         (serialVersionUID): Added constant field.
8162         (EndOfLineStringPropery): Fixed typo.
8163         (DefaultEditorKit): New constructor.
8164         * javax/swing/text/Segment.java:
8165         Import java.text.CharacterIterator.
8166         * javax/swing/text/CharacterIterator.java,
8167         javax/swing/text/PlainEditorKit.java: Removed.
8168         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8169         javax/swing/text/PlainEditorKit.java.
8170         * Makefile.in: Regenerated.
8171
8172 2004-07-21  Michael Koch  <konqueror@gmx.de>
8173
8174         * javax/swing/JButton.java,
8175         javax/swing/text/DefaultEditorKit.java,
8176         javax/swing/text/EditorKit.java,
8177         javax/swing/text/Segment.java,
8178         javax/swing/text/StyledEditorKit.java:
8179         Reformatted.
8180
8181 2004-07-21  Michael Koch  <konqueror@gmx.de>
8182
8183         * javax/swing/ImageIcon.java
8184         (file): Removed.
8185         (description): Renamed from descr.
8186         (ImageIcon): Added missing constructors.
8187         (setParent): Removed.
8188         (setImageObserver): New method.
8189         (getImageObserver): New method.
8190         (paintIcon): Handle observer = null.
8191         * javax/swing/JButton.java
8192         (removeNotify): Fixed javadoc.
8193         (updateUI): Simplified.
8194         * javax/swing/JRootPane.java
8195         (serialVersionUID): New constant field.
8196         * javax/swing/UIManager.java:
8197         Fixed javadocs all over.
8198         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8199         * javax/swing/text/AbstractDocument.java
8200         (createPosition): Throws BadLocationException.
8201         (getText): Likewise.
8202         (remove): Likewise.
8203         * javax/swing/text/ComponentView.java
8204         (modelToView): Likewise.
8205         * javax/swing/text/DefaultEditorKit.java:
8206         Made all public methods public.
8207         (read): Throws BadLocationException and IOException.
8208         (write): Likewise.
8209         * javax/swing/text/EditorKit.java:
8210         Made all public methods public.
8211         (serialVersionUID): New constant field.
8212         (clone): New method.
8213         (read): Throws BadLocationException and IOException.
8214         (write): Likewise.
8215         * javax/swing/text/Segment.java
8216         (array): Made public.
8217         (count): Likewise.
8218         (offset): Likewise.
8219         (Segment): New constructors.
8220         (clone): Reimplemented.
8221         * javax/swing/text/StyledEditorKit.java
8222         (serialVersionUID): New constant field.
8223
8224 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8225
8226         * java/awt/image/BufferedImage.java
8227         (getSource): Implement.
8228         * javax/swing/ImageIcon.java
8229         (ImageIcon): Implement ctor.
8230         * javax/swing/ScrollPaneLayout.java
8231         (preferredLayoutSize): Be more careful about nulls.
8232
8233 2004-07-21  Michael Koch  <konqueror@gmx.de>
8234
8235         * javax/swing/text/AttributeSet.java
8236         (CharacterAttribute): New interface
8237         (ColorAttribute): Likewise.
8238         (FontCharacterAttribute): Likewise.
8239         (ParagraphAttribute): Likewise.
8240         * javax/swing/text/DefaultCaret.java
8241         (moveCaret): New method.
8242         (positionCaret): Likewise.
8243         (repaint): Made protected.
8244         * javax/swing/text/JTextComponent.java
8245         (KeyBinding): Made it static.
8246         * javax/swing/text/View.java
8247         (getContainer): Honor parent == null.
8248
8249 2004-07-21  Michael Koch  <konqueror@gmx.de>
8250
8251         * javax/swing/text/AbstractDocument.java:
8252         Reformatted.
8253
8254 2004-07-21  Michael Koch  <konqueror@gmx.de>
8255
8256         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8257         Import javax.swing.UIManager explicitely.
8258         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8259         (ScrollingButton): Made it static.
8260
8261 2004-07-21  Michael Koch  <konqueror@gmx.de>
8262
8263         * javax/swing/UIDefaults.java
8264         (ActiveValue): Made public.
8265         (LazyValue): Likewise.
8266         * javax/swing/plaf/basic/BasicTextUI.java
8267         (RootView): Reintroduced.
8268         (view): Removed.
8269         (rootView): New field.
8270         (installUI): Create document if needed, initialize rootView.
8271         (uninstallUI): Hanle rootView.
8272         (paint): Likewise.
8273         (getRootView): Likewise.
8274         (setView): Likewise.
8275         * javax/swing/text/DefaultCaret.java:
8276         Renamed all "evt" variables to "event".
8277
8278 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8279
8280         * libgcj.spec.in: Add -l-java-util-logging.
8281
8282 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
8283
8284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8285         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8286         gtk-xft-dpi can no calculate the right value.
8287         (dpi_changed_cb): Mark *pspec as unsused.
8288
8289 2004-07-21  David Jee  <djee@redhat.com>
8290
8291         * java/awt/Component.java
8292         (move): Delegate to setBounds().
8293         (resize): Likewise.
8294         (reshape): Fix so it repaints parent and self only when necessary.
8295
8296 2004-07-21  David Jee  <djee@redhat.com>
8297
8298         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8299         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8300         (GtkComponentPeer): Revert previous patch from 2004-06-22.
8301         (setVisible): Likewise.
8302         (show): Likewise.
8303         (hide): Likewise.
8304         (getArgs): Likewise.
8305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8306         (property_notify_predicate): Likewise.
8307         (find_layout): Likewise.
8308         (connectJObject): Likewise.
8309         (connectSignals): Likewise.
8310         (moveLayout): Likewise.
8311         (gtkLayoutSetVisible): Likewise.
8312
8313 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8314
8315         * Makefile.am
8316         (jv_convert_LDADD):
8317         (gij_LDADD):
8318         (rmic_LDADD):
8319         (rmiregistry_LDADD): Add lib-java-util-logging.la
8320         * Makefile.in: Regenerate.
8321
8322 2004-07-21  Michael Koch  <konqueror@gmx.de>
8323
8324         * javax/swing/text/AbstractDocument.java
8325         (replace): Dont use protected method of java.util.Vector directly.
8326
8327 2004-07-21  Michael Koch  <konqueror@gmx.de>
8328
8329         * javax/swing/plaf/basic/BasicTextUI.java
8330         (installUI): Call specialized install methods.
8331         (installDefaults): New method.
8332         (installListeners): Likewise.
8333         (installKeyboardActions): Likewise.
8334         (uninstallUI): Likewise.
8335         (uninstallDefaults): New method.
8336         (uninstallListeners): Likewise.
8337         (uninstallKeyboardActions): Likewise.
8338         (getPropertyPrefix): New abstract method.
8339         (paint): Made final, just call paintSafely().
8340         (paintSavely): New method.
8341         (paintBackground): Likewise.
8342         (getVisibleEditorRect): Likewise.
8343         * javax/swing/text/LayeredHighlighter.java,
8344         javax/swing/text/TabExpander.java: New files.
8345         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8346         and javax/swing/text/TabExpander.java.
8347         * Makefile.in: Regenerated.
8348
8349 2004-07-21  Michael Koch  <konqueror@gmx.de>
8350
8351         * javax/swing/plaf/basic/BasicTextUI.java
8352         (BasicTextUI): Made abstract.
8353         (BasicCaret): New inner class.
8354         (view): Don't explicitely initialize with "null".
8355         (textComponent): New field.
8356         (textColor): Removed.
8357         (disabledTextColor): Removed.
8358         (normalBackgroundColor): Removed.
8359         (RootView): Removed commented out inner class.
8360         (createUI): Removed.
8361         (createCaret): New method.
8362         (getComponent): Likewise.
8363         (installUI): Initialize textComponent only.
8364         (getPreferredSize): Use installed JTextComponent.
8365         (setView): New method.
8366         (create): Likewise.
8367         * javax/swing/text/JTextComponent.java
8368         (highlighter): New field.
8369         (caretColor): Likewise.
8370         (disabledTextColor): Likewise.
8371         (seletedTextColor): Likewise.
8372         (selectionColor): Likewise.
8373         (setUI): New method.
8374         (getCaretColor): Likewise.
8375         (setCaretColor): Likewise.
8376         (getDisabledColor): Likewise.
8377         (setDisabledColor): Likewise.
8378         (getSelectedTextColor): Likewise.
8379         (setSelectedTextColor): Likewise.
8380         (getSelectionColor): Likewise.
8381         (setSelectionColor): Likewise.
8382         (getHighlighter): Likewise.
8383         (setHighlighter): Likewise.
8384         (replaceSelection): Likewise.
8385
8386 2004-07-21  Michael Koch  <konqueror@gmx.de>
8387
8388         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8389         (BasicScrollPaneUI): Implements ScrollPaneConstants.
8390         * javax/swing/plaf/basic/BasicToolBarUI.java
8391         (BasicToolBarUI): Implements SwingConstants.
8392
8393 2004-07-21  Michael Koch  <konqueror@gmx.de>
8394
8395         * javax/swing/JPopupMenu.java: Removed CVS tags.
8396         * javax/swing/UIDefaults.java: Reformatted.
8397         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8398         Explicitely import used classes.
8399
8400 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8401
8402         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8404         (GtkComponentPeer): Remove temporary try/catch block.
8405         (setVisible): Call show and hide.
8406         (show): Make native.
8407         (hide): Likewise.
8408         (getArgs): Don't add "visible" argument.
8409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8410         (property_notify_predicate): Return Bool instead of int.
8411         (find_layout): New function.
8412         (connectJObject): Call find_layout.
8413         (connectSignals): Likewise.
8414         (moveLayout): Likewise.
8415         (gtkLayoutSetVisible): Likewise.
8416
8417 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8418
8419         * javax/swing/AbstractButton.java:
8420         (setDisplayedMnemonicIndex): Check if button
8421         text is not null before checking its length.
8422         * javax/swing/JMenuItem.java:
8423         (processMouseEvent): Disarm menu item if mouse has
8424         exited it.
8425         * javax/swing/plaf/basic/BasicMenuUI.java:
8426         (MouseInputHandler.mouseEntered): Do not raise
8427         popup menu if this menu is already selected.
8428         (MouseInputHandler.mousePressed): Do not fire
8429         MenuEvents.
8430         (MenuHandler): Implemented.
8431
8432 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8433
8434         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8435         (getSelectedObjects): Implemented.
8436         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8437         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
8438         Added javadoc for few methods.
8439         (processMouseEvent): Made public.
8440         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8441         (processMouseEvent): Likewise.
8442
8443 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8444
8445         * javax/swing/AbstractButton.java:
8446         (init): Set display mnemonic index to -1.
8447         (setMnemonic(char)): Use setMnemonic(int).
8448         (setMnemonic(int)): Set display mnemonic index.
8449         (getDisplayedMnemonicIndex): Change method signature
8450         by removing 'index' parameter.
8451         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8452         Added default for Menu.selectionBackground.
8453         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8454         (paintMenuItem): Change background color of the selected
8455         menu item.
8456         (paintText): Paint differently when menu item is disabled.
8457         Also paint mnemonic if it appears in the menu item's label.
8458         (paintAccelerator): Paint accelerator differently
8459         if menu item is disabled.
8460         * javax/swing/plaf/basic/BasicMenuUI.java:
8461         (installDefaults): Install defaults for
8462         selectionForeground and selectionBackground.
8463         (uninstallDefaults): Uninstall defauls for
8464         selectionForeground and selectionBackground.
8465
8466 2004-07-21  Michael Koch  <konqueror@gmx.de>
8467
8468         * javax/swing/text/AbstractDocument.java
8469         (BranchElement): Implemented.
8470         (LeafElement): Implemented.
8471         * javax/swing/text/DefaultCaret.java:
8472         Import used classes.
8473         (serialVersionUID): New constant.
8474         * javax/swing/text/JTextComponent.java
8475         (AccessibleJTextComponent): Removed dead declaration.
8476         (caretPos): Removed.
8477         (setCaret): New method.
8478         * javax/swing/text/PlainDocument.java
8479         (rootElement): New field.
8480         (PlainDocument): Initialize rootElement.
8481         (createDefaultRoot): New method.
8482         (getDefaultRootElement): Implemented.
8483         * javax/swing/text/View.java: Reformatted.
8484         * javax/swing/text/ViewFactory.java
8485         (create): Added javadoc.
8486
8487 2004-07-21  Michael Koch  <konqueror@gmx.de>
8488
8489         * javax/swing/ToolTipManager.java: Reformatted.
8490
8491 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
8492
8493         * javax/swing/AbstractButton.java
8494         (changeEvent): New field.
8495         (fireItemStateChanged): Change source of the event
8496         to 'this' before firing it to button listeners.
8497         (fireActionPerformed): Likewise.
8498         (fireStateChanged): Likewise.
8499         (createActionListener): Do not set source
8500         of the event to AbstractButton.
8501         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8502         (ContainerHandler.componentAdded): Removed
8503         print out statement.
8504         (ContainerHandler.componentRemoved): Likewise.
8505
8506 2004-07-21  Michael Koch  <konqueror@gmx.de>
8507
8508         * javax/swing/text/Highlighter.java: New file.
8509         * Makefile.am: Added javax/swing/text/Highlighter.java.
8510         * Makefile.in: Regenerated.
8511
8512 2004-07-21  Michael Koch  <konqueror@gmx.de>
8513
8514         * javax/swing/ToolTipManager.java
8515         (stillInsideTimerAction): Fixed constructor arguments.
8516         (outsideTimerAction): Likewise.
8517         (insideTimerAction): Likewise.
8518
8519 2004-07-21  Michael Koch  <konqueror@gmx.de>
8520
8521         * javax/swing/JButton.java: Reformatted.
8522         * javax/swing/JFormattedTextField.java
8523         (getUIClassID): Implemented.
8524         * javax/swing/JRootPane.java
8525         (serialVersionUID): New constant.
8526         * javax/swing/JTextField.java
8527         (align): New field.
8528         (JTextField): Simplified.
8529         (getUIClassID): New method.
8530         (getActionListeners): Added @since tag.
8531         (setColumns): Invalidate layout and repaint.
8532         (getHorizontalAlignment): New method.
8533         (setHorizontalAlignment): New method.
8534         (selectAll): Removed.
8535         * javax/swing/SwingUtilities.java
8536         (getAncestorOfClass): Removed redundant @see tag.
8537         (isLeftMouseButton): Fixed implementation.
8538         (isMiddleMouseButton): Likewise.
8539         (isRightMouseButton): Likewise.
8540         * javax/swing/text/AbstractDocument.java
8541         (AttributeContext.addAttribute): New method.
8542         (AttributeContext.addAttributes): New method.
8543         (AttributeContext.getEmptySet): New method.
8544         (AttributeContext.reclaim): New method.
8545         (AttributeContext.removeAttribute): New method.
8546         (AttributeContext.removeAttributes): New method.
8547         * javax/swing/text/Document.java
8548         (createPosition): Throws BadLocationException.
8549         (getText): Likewise.
8550         (remove): Likewise.
8551         * javax/swing/text/JTextComponent.java
8552         (getText): Return null if no document is set. Catch
8553         BadLocationException.
8554         (getUI): Return ui.
8555         (updateUI): Simplified.
8556
8557 2004-07-21  Michael Koch  <konqueror@gmx.de>
8558
8559         * javax/swing/JButton.java
8560         (removeNotify): Fixed javadoc.
8561         (updateUI): Simplified.
8562
8563 2004-07-21  David Jee  <djee@redhat.com>
8564
8565         * gnu/java/awt/image/ImageDecoder.java
8566         (startProduction): Only add consumer if it's not added yet.
8567         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8568         (GdkPixbufDecoder): Don't call initState() here.
8569         (produce): Call initState() here, to ensure area_prepared and
8570         area_updated signals are properly connected.
8571         * gnu/java/awt/peer/gtk/GtkImage.java
8572         (setColorModel): Use equals() to compare ColorModel objects.
8573         (setPixels): Likewise.
8574         * java/awt/image/ColorModel.java
8575         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8576         * java/awt/image/RGBImageFilter.java
8577         (setColorModel): Set consumer's color model.
8578         (setPixels): Use equals() to compare ColorModel objects.
8579
8580 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
8581
8582         * java/net/URLConnection.java (position): New field.
8583         (dateFormat1, dateFormat2, dateFormat3): Removed.
8584         (dateFormats): New field.
8585         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8586         each time instead of re-allocating.
8587         (initializeDateFormats): Initialize 'dateFormats'.
8588
8589 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8590
8591         PR libgcj/16591
8592         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8593         is defined.
8594
8595 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8596
8597         * java/net/Socket.java (getImpl): Now private. Remove comment.
8598
8599 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8600
8601         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8602         of chained Writer when calling super-constructor.
8603         * java/io/FilterWriter.java (FilterWriter): Likewise.
8604         * java/io/PrintWriter.java (PrintWriter): Likewise.
8605
8606 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
8607
8608         * prims.cc (process_gcj_properties): Don't increment i within LHS
8609         of assignment.
8610
8611 2004-07-19  Per Bothner  <per@bothner.com>
8612
8613         Print -verbose:message on "loading", not initialization.
8614         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
8615         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
8616         gcj::verbose_class_flag.
8617         * java/lang/natClass.cc (initializeClass):  Don't print message here.
8618         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
8619         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8620         (_Jv_PrepareCompiledClass):  Likewise.
8621
8622 2004-07-18  Matthias Klose  <doko@debian.org>
8623
8624         * configure.in: Substitute target_noncanonical.
8625         * configure: Regenerate
8626
8627 2004-07-17  Michael Koch  <konqueror@gmx.de>
8628
8629         * java/lang/String.java: Fixed javadocs all over.
8630
8631 2004-07-17  Mark Wielaard  <mark@klomp.org>
8632
8633         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8634         when size is smaller.
8635         * java/io/RandomAccessFile.java (setLength): Use truncate for
8636         shrinking the file and seek plus write for expanding the file.
8637
8638 2004-07-17  Michael Koch  <konqueror@gmx.de>
8639
8640         * gnu/java/nio/channels/natFileChannelPosix.cc
8641         (implTruncate): Always save current position. Only reposition file
8642         pointer to where we started if not beyond new lenght. Reposition file
8643         pointer to file length if it points beyond the end of file.
8644
8645 2004-07-17  Mark Wielaard  <mark@klomp.org>
8646
8647         * javax/swing/Box.java: Put FIXME comment above class declaration.
8648         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8649         * javax/swing/JCheckBox.java: Likewise.
8650         * javax/swing/JDialog.java: Likewise.
8651         * javax/swing/JRadioButton.java: Likewise.
8652         * javax/swing/JToggleButton.java: Likewise.
8653         * javax/swing/UIManager.java: Likewise.
8654         * javax/swing/border/TitledBorder.java: Likewise.
8655         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8656         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8657         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8658         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8659         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8660         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8661         * javax/swing/text/JTextComponent.java: Likewise.
8662
8663 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
8664
8665         * java/net/DatagramPacket.java (setAddress): Removed check for
8666         null address.
8667
8668 2004-07-17  Michael Koch  <konqueror@gmx.de>
8669
8670         * java/net/DatagramSocket.java
8671         (getLocalAddress): Check if socket is bound or not.
8672         * java/net/Socket.java
8673         (getLocalAddrss): Check if socket is bound or not.
8674         (getPort): Return -1 when not connected. Dont check getImpl() for
8675         null.
8676         (setReuseAddress): Check if socket is closed.
8677         (isConnected): Check if getImpl() returns null.
8678
8679 2004-07-17  Mark Wielaard  <mark@klomp.org>
8680
8681         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8682         on notifier object before calling notifyAll().
8683
8684 2004-07-17  Michael Koch  <konqueror@gmx.de>
8685
8686         * gnu/java/nio/channels/FileChannelImpl.java
8687         (finalize): Added javadoc.
8688
8689 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
8690
8691         * java/text/CollationElementIterator.java
8692         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8693         (setText): Use ArrayList instead of Vector.
8694
8695 2004-07-17  Michael Koch  <konqueror@gmx.de>
8696
8697         * java/nio/ByteOrder.java
8698         (static): Removed. Not needed.
8699         Thanks to Patrick Reali for noticing.
8700         * java/nio/charset/CharsetDecoder.java
8701         (decode): Fix for classpath bug #9177: Reset state before flipping.
8702
8703 2004-07-17  Michael Koch  <konqueror@gmx.de>
8704
8705         * java/security/Security.java: Fixed javadocs all over.
8706
8707 2004-07-17  Michael Koch  <konqueror@gmx.de>
8708
8709         * gnu/java/awt/EmbeddedWindow.java
8710         (static): Removed.
8711         (addNotify): Set peer via reflection.
8712         (setWindowPeer): Removed.
8713         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8714         * Makefile.am (nat_source_files):
8715         Removed gnu/java/awt/natEmbeddedWindow.cc.
8716         * Makefile.in: Regenerated.
8717
8718 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
8719
8720         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8721         assignment.
8722         * configure: Regenerated.
8723
8724 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
8725
8726         * configure.in: Use build_noncanonical rather than build_alias.
8727         * configure: Rebuild.
8728
8729         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8730         by logic refactoring.  Move default definition of NATIVE closer
8731         to first alternate definition.
8732         * configure: Regenerate.
8733
8734         * Makefile.am: Set ZIP and GCJH directly using autoconf.
8735         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8736         gcj/Makefile.in: Regenerate.
8737         * configure.in: Set ZIP and GCJH.  Remove redundant condition
8738         in AM_CONDITIONAL(NATIVE,...)
8739         * configure: Regenerate.
8740
8741 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
8742
8743         * configure.in: Use target_noncanonical rather than
8744         target_alias for forward-compatibility with autoconf 2.59.
8745         * configure: Regenerate.
8746         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8747         testsuite/Makefile.am: Substitute target_noncanonical.
8748         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8749         testsuite/Makefile.in: Regenerate.
8750
8751         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8752         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8753         * acinclude.m4: Include acx.m4.
8754         * aclocal.m4: Regenerate.
8755         * configure: Regenerate.
8756
8757 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
8758
8759         PR libgcj/16574
8760         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8761         (decimalFormat): New static variable.
8762         (sbuf): Likewise.
8763         (getTime): New. Override Date.getTime().
8764         (toString): Synchronize. Use decimalFormat to format nanos value
8765         correctly. Truncate extra zeros.
8766         (before): Compare getNanos() only if getTime() is equal.
8767         (after): Likewise.
8768
8769 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
8770
8771         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8772         * configure.in: ...here.
8773         * aclocal.m4: Regenerate.
8774         * configure: Regenerate.
8775
8776         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8777         * configure: Rebuilt with autoconf 2.13.
8778         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8779         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8780
8781 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
8782
8783         PR libgcj/16204
8784         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
8785         large file support.
8786         * Makefile.in: Rebuilt.
8787         * testsuite/libjava.lang/LargeFile.java: New test case.
8788         * testsuite/libjava.lang/LargeFile.out: New file.
8789
8790 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8791
8792         * java/beans/EventHandler.java: Remove debugging statements.
8793
8794 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8795
8796         * java/beans/EventHandler.java: New file.
8797         * Makefile.am (awt_java_source_files): Add EventHandler.java.
8798         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8799         testsuite/Makefile.in: Regenerate.
8800
8801 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
8802
8803         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
8804         flag to the gcj_setup.
8805         (gcj_jacks_run): Check tclsh version and launch jacks directly with
8806         the tclsh.
8807         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
8808         deprecation flag change. 58 XFAILS removed.
8809
8810 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
8811
8812         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
8813         -fno-use-divide-subroutine.
8814         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
8815         (HANDLE_FPE): Define.
8816         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
8817         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8818         (HANDLE_DIVIDE_OVERFLOW): Define.
8819
8820 2004-07-14  Michael Koch  <konqueror@gmx.de>
8821             Matthias Klose  <doko@debian.org>
8822
8823         * java/awt/im/InputContext.java: Initialize in, line.
8824
8825 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
8826
8827         * interpret.cc (run): Correctly access libffi return values of
8828         integral smaller-than-int type; these are implicitly promoted.
8829
8830 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
8831
8832         PR libgcj/7587
8833         * interpret.cc (compile_mutex): New.
8834         (_Jv_InitInterpreter): New. Initialize compile_mutex.
8835         (run): Lock compile_mutex before calling compile() if compilation is
8836         required.
8837         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
8838         * include/java-interp.h (_Jv_InitInterpreter): Declare.
8839
8840 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
8841
8842         PR libgcj/15713
8843         * include/jvm.h (_Jv_value): New union type.
8844         * gcj/field.h (_Jv_Field): Add new _addr union field variants
8845         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
8846         union members.
8847
8848 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
8849
8850         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
8851         * gnu/awt/xlib/XOffScreenImage.java
8852           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
8853           constructor argument. Add constructor using ImageProducer.
8854           (getSource): Implement.
8855           (imageComplete): New method.
8856           (setColorModel): New method.
8857           (setDimensions): New method.
8858           (setHints): New method.
8859           (setPixels): New method.
8860           (setProperties): New method.
8861         * gnu/gcj/xlib/GC.java (drawPoint): New native method.
8862         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
8863
8864 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
8865
8866         PR libgcj/16478
8867         * prims.cc (_Jv_CreateJavaVM): Fix comment.
8868         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
8869         (finalizerReady): Now native.
8870         (run): Likewise.
8871         (runFinalizers): Removed.
8872         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
8873         a primitive lock, and don't hold it while running the finalizers.
8874         (runFinalizers): Implement. Don't aquire any Java lock.
8875         (finalizerReady): Use lock primitives to signal finalizer thread.
8876
8877 2004-07-11  Mark Wielaard  <mark@klomp.org>
8878
8879         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
8880         * java/net/URLStreamHandler.java (parseURL): When url file part
8881         doesn't contain a '/' just ignore context.
8882
8883 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
8884
8885         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
8886         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8887         (MAKE_THROW_FRAME): Do not modify PSW address.
8888         (INIT_SEGV): Install SIGINFO-style signal handler.
8889         (INIT_FPE): Likewise.
8890
8891 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8892
8893         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
8894         status. 21 xfail's removed, 1 added.
8895
8896 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8897
8898         * gcj/javaprims.h: Regenerate CNI namespace definitions.
8899
8900 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8901
8902         * java/text/MessageFormat.java
8903         (formatInternal): Append "{n}" if argument n is unavailable.
8904         (format(Object, StringBuffer, FieldPosition)): This
8905         should be equivalent to format(Object[],
8906         StringBuffer, FieldPosition).
8907
8908 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8909
8910         * java.util.Calendar.java (cache): New private static field. Cached
8911         mappings of locales->calendar classes.
8912         (ctorArgTypes): New private static field. Singleton argument for
8913         calendar class constructor lookup.
8914         (getInstance): Cache Locale->Calendar class mappings using HashMap.
8915         Optimize by bypassing reflection instantiation for the
8916         GregorianCalendar case.
8917
8918 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8919
8920         * java/util/Calendar.java: Use getSystemClassLoader as argument for
8921         ResourceBundle.getBundle() calls.
8922         * java/util/GregorianCalendar.java: Likewise.
8923         * java/util/Currency.java: Likewise.
8924         * java/text/BreakIterator.java: Likewise.
8925         * java/text/Collator.java: Likewise.
8926         * java/text/DateFormat.java: Likewise.
8927         * java/text/DateFormatSymbols.java: Likewise.
8928         * java/text/DecimalFormatSymbols.java: Likewise.
8929         * java/text/NumberFormat.java: Likewise.
8930         * java/awt/Window.java: Likewise.
8931
8932 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8933
8934         * java/util/ResourceBundle.java (bundleCache): Renamed from
8935         resourceBundleCache. Update comments.
8936         (getObject): Don't catch MissingResourceException.
8937         (getBundle(String)): Remove 'final'. Use system classloader if
8938         getCallingClassLoader returned null.
8939         (getBundle(String, Locale)): Likewise.
8940         (BundleKey): New private class. HashMap key for bundle cache lookup.
8941         (lookupKey): New. Singleton instance of BundleKey.
8942         (nullEntry): New. Cache entry to represent failed lookups.
8943         (getBundle(String, Locale, ClassLoader)): Re-written to use new
8944         caching strategy, no-allocation lookup, and new tryBundle methods.
8945         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
8946         name using given classloader.
8947         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
8948         baseName for given Locale and attempt to load bundle.
8949
8950 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8951
8952         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
8953         illegal protected method calls.
8954
8955 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8956
8957         Fix or remove some bogus test cases.
8958         * testsuite/libjava.compile/pr10459_2.java: Removed.
8959         * testsuite/libjava.compile/pr10459.java: Test using its own method,
8960         not Object.clone().
8961         * testsuite/libjava.compile/inner_data.java: Test against its own
8962         protected field.
8963
8964 2004-07-09  Michael Koch  <konqueror@gmx.de>
8965
8966         * scripts/unicode-muncher.pl: Updated to version 2.1
8967         from GNU classpath. Added some clarifications on where to find the
8968         needed files from www.unicode.org.
8969         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
8970         gnu/gcj/convert/UnicodeData-3.0.0.txt:
8971         Removed, these can directly be downloaded from www.unicode.org if
8972         needed.
8973         * gnu/java/lang/CharData.java: Regenerated.
8974         * include/java-chartables.h: Regenerated.
8975         * Makefile.am (ordinary_java_source_files):
8976         Removed gnu/java/lang/CharData.java.
8977         * Makefile.in: Regenerated.
8978
8979 2004-07-09  Michael Koch  <konqueror@gmx.de>
8980
8981         * java/security/AccessControlContext.java,
8982         java/security/SecureClassLoader.java:
8983         Fixed javadocs.
8984
8985 2004-07-09  Michael Koch  <konqueror@gmx.de>
8986
8987         * java/io/ObjectInputStream.java (readFields): Use long datatype
8988         when shifting byte values more then 24 bits left.
8989
8990 2004-07-09  Michael Koch  <konqueror@gmx.de>
8991
8992         * java/util/zip/DeflaterOutputStream.java,
8993         java/util/zip/GZIPInputStream.java,
8994         java/util/zip/GZIPOutputStream.java,
8995         java/util/zip/InflaterInputStream.java:
8996         Reformatted. Added javadocs. Reordered all stuff.
8997         Renamed variables to be more clear.
8998
8999 2004-07-09  Michael Koch  <konqueror@gmx.de>
9000
9001         * javax/imageio/IIOException.java,
9002         javax/imageio/event/IIOReadProgressListener.java,
9003         javax/imageio/event/IIOReadUpdateListener.java,
9004         javax/imageio/event/IIOReadWarningListener.java,
9005         javax/imageio/event/IIOWriteProgressListener.java,
9006         javax/imageio/event/IIOWriteWarningListener.java:
9007         New files.
9008         * Makefile.am: Added new files.
9009         * Makefile.in: Regenerated.
9010
9011 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
9012
9013         * java/text/RuleBasedCollator.java
9014         (mergeRules): Use ArrayList instead of Vector.
9015         (subParseString): likewise.
9016         (parseString): likewise.
9017         (buildCollationVector): likewise.
9018         (getCollationKey): likewise.
9019
9020 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
9021
9022         * java/text/DateFormat.java (parse):
9023         Improved javadoc. Improved exception message.
9024
9025 2004-07-09  Mark Wielaard  <mark@klomp.org>
9026
9027         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
9028         interrupted() method to clear interupt flag of our Thread.
9029
9030 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
9031
9032         * java/nio/Buffer.java,
9033         java/nio/ByteBuffer.java,
9034         java/nio/ByteBufferHelper.java,
9035         java/nio/ByteBufferImpl.java,
9036         java/nio/CharBuffer.java,
9037         java/nio/CharBufferImpl.java,
9038         java/nio/CharViewBufferImpl.java,
9039         java/nio/DirectByteBufferImpl.java,
9040         java/nio/DoubleBuffer.java,
9041         java/nio/DoubleBufferImpl.java,
9042         java/nio/DoubleViewBufferImpl.java,
9043         java/nio/FloatBuffer.java,
9044         java/nio/FloatBufferImpl.java,
9045         java/nio/FloatViewBufferImpl.java,
9046         java/nio/IntBuffer.java,
9047         java/nio/IntBufferImpl.java,
9048         java/nio/IntViewBufferImpl.java,
9049         java/nio/LongBuffer.java,
9050         java/nio/LongBufferImpl.java,
9051         java/nio/LongViewBufferImpl.java,
9052         java/nio/MappedByteBufferImpl.java,
9053         java/nio/ShortBuffer.java,
9054         java/nio/ShortBufferImpl.java,
9055         java/nio/ShortViewBufferImpl.java:
9056         Fixed javadocs all over. Improved input error
9057         checking.
9058
9059         * java/nio/Buffer.java
9060         (checkForUnderflow, checkForOverflow, checkIndex,
9061         checkIfReadOnly, checkArraySize): New helper methods
9062         for error checking.
9063
9064         * java/nio/ByteBufferHelper.java
9065         (checkRemainingForRead, checkRemainingForWrite,
9066         checkAvailableForRead, checkAvailableForWrite): Removed
9067         no longer needed methods.
9068
9069 2004-07-09  Michael Koch  <konqueror@gmx.de>
9070
9071         * gnu/regexp/CharIndexedInputStream.java:
9072         Reordered imports to match classpath.
9073
9074 2004-07-09  Michael Koch  <konqueror@gmx.de>
9075
9076         * gnu/java/awt/EmbeddedWindow.java:
9077         Load native library for setWindowPeer method.
9078
9079 2004-07-08  Randolph Chung  <tausq@debian.org>
9080
9081         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9082         * configure: Regenerate.
9083         * configure.host: Set can_unwind_signal for hppa*-linux.
9084         * include/pa-signal.h: New file.
9085
9086 2004-07-07  Per Bothner  <per@bothner.com>
9087
9088         * Makefile.am:  Add rules to build libgij from just gij.cc.
9089
9090         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
9091         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
9092         (initializeClass):  If verbose_class_flag, print message.
9093         * gij.cc (main):  Handle -verbose:class flag.
9094
9095 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
9096
9097         * configure.host: Enable hash synchronization on Darwin.
9098         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9099         ';', since this is a comment on Darwin.
9100         (compare_and_swap_release): Likewise.
9101
9102 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
9103
9104         * java/net/URLStreamHandler.java (parseURL): Canonicalize
9105         file portion of URL in addition to spec for file: protocol.
9106
9107 2004-07-05  Anthony Green  <green@redhat.com>
9108
9109         * java/io/File.java (toURI): Merge from Classpath.
9110
9111 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9112
9113         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9114         before passing to URL constructor. Rethrow any MalformedURLException
9115         as a RuntimeException. Catch MalformedURLException specifically, not
9116         all exceptions.
9117
9118 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9119
9120         * java/util/Locale.java (readObject): Intern strings read from object
9121         stream.
9122
9123 2004-07-04  Michael Koch  <konqueror@gmx.de>
9124
9125         * gnu/gcj/runtime/FirstThread.java,
9126         gnu/gcj/runtime/natFirstThread.cc: Removed.
9127         * gnu/java/lang/MainThread.java,
9128         gnu/java/lang/natMainThread.cc: New files.
9129         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9130         * Makefile.am: Added new files and removed deleted ones.
9131         * Makefile.in: Regenerated.
9132
9133 2004-07-03  Mark Wielaard  <mark@klomp.org>
9134             Anthony Green  <green@redhat.com>
9135
9136         * java/net/URL.java (getFile): Clarify return value doc.
9137         (getPath): Return null if file is empty - not empty String.
9138         (set): Convert protocol to lower case before doing anything.
9139         Only change the protocol handler if it's different.
9140
9141 2004-07-03  Anthony Green  <green@redhat.com>
9142
9143         * java/net/URL.java (URL): Convert protocol to lower case before
9144         doing anything, so we getURLStreamHandler() with the proper value.
9145
9146 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
9147
9148         * java/util/Locale.java (hashcode): Made transient.
9149         (hashCode): No longer synchronized.
9150         (equals): Remove comment.
9151         (writeObject): No longer synchronized. Implement using writeObject
9152         calls instead of tweaking hashCode field. Update doc.
9153         (readObject): Implement using readObject calls.
9154
9155 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
9156             Andreas Tobler  <a.tobler@schweiz.ch>
9157
9158         * configure.host (powerpc-*-darwin*): New case, define
9159         can_unwind_signal.
9160         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9161         * configure: Regenerate.
9162         * include/darwin-signal.h: New.
9163
9164 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
9165
9166         * java/beans/Statement.java (doExecute): Fix formatting.
9167
9168 2004-06-29  Per Bothner  <per@bothner.com>
9169
9170         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9171         etc etc):  Remove needless parenthesis, which causes __stdcall__
9172         attribute on MinGW to get ignored.
9173
9174 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
9175
9176         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9177
9178 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
9179
9180         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9181
9182 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
9183
9184         * java/beans/Expression.java: New file.
9185         * java/beans/Statement.java: New file.
9186         * Makefile.am: Added new files.
9187         * Makefile.in: Re-generate.
9188
9189 2004-06-27 Mark Wielaard  <mark@klomp.org>
9190
9191         * java/io/FilePermission.java (usingPerms): Removed.
9192         (actionsString): Made final.
9193         (cachePerms): Renamed to checkPerms.
9194         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9195         on action String.
9196         (FilePermission): Check arguments, call checkPerms().
9197         (equals): Remove cachePerms() call.
9198         (implies): Likewise.
9199
9200 2004-06-27  Mark Wielaard  <mark@klomp.org>
9201
9202         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9203         final field.
9204         (sendRequest): Use new field in user-agent http agent.
9205
9206 2004-06-27  Mark Wielaard  <mark@klomp.org>
9207
9208         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9209         when argument is null.
9210
9211 2004-06-26  Mark Wielaard  <mark@klomp.org>
9212
9213         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9214         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9215         GetMethodID call.
9216         (cancel_clicked): Likewise.
9217
9218 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
9219
9220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9221         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9222         can not calculate the right value.
9223         (dpi_changed_cb): Likewise. Mark *pspec as unused.
9224
9225 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
9226
9227         * testsuite/libjava.jacks/jacks.xfail: Remove
9228         15.9.1-qualified-concrete-20.
9229
9230 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9231
9232         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9233         encoding name to iconv.
9234         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9235
9236 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9237
9238         PR libgcj/16134:
9239         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
9240         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9241         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9242
9243 2004-06-21  Andrew Haley  <aph@redhat.com>
9244
9245         * java/io/ObjectOutputStream.java: Add DEBUG statements
9246         everywhere.
9247         (dumpElementln): New method.
9248         (depth): New field.
9249         * java/io/ObjectInputStream.java
9250         (currentClassLoader): Make native.
9251         (callersClassLoader): New field.
9252         (depth): New field.
9253         (readObject): ENDBLOCKDATA is generated if the class has a write
9254         method, not if it has a read method.
9255         (readObject): Save and restore this.currentObject and
9256         this.currentObjectStreamClass around calls to callReadMethod().
9257         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9258         method.
9259
9260 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
9261
9262         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9263         darwin.
9264
9265 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9266
9267         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9268         if desired, before the default class loader is initialised.
9269         Call INIT_SEGV only if HANDLE_SEGV is defined.
9270
9271 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9272
9273         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9274         directory only if it actually exists.
9275
9276 2004-06-18  Graydon Hoare  <graydon@redhat.com>
9277
9278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9279         Fix up non-ansi comments.
9280
9281 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9282
9283         * javax/swing/text/AbstractDocument.java: Adding missing import
9284         for javax.swing.event.EventListenerList.
9285         * javax/swing/text/DefaultCaret.java: Likewise.
9286
9287 2004-06-17  Michael Koch  <konqueror@gmx.de>
9288
9289         * javax/swing/JToolBar.java
9290         (name): Removed.
9291         (JToolBar): Use Component.setName(String) instead of doing it all
9292         alone.
9293         * javax/swing/Timer.java
9294         (queueEvent): Added missing modifier.
9295
9296 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
9297
9298         * Makefile.am: Added new file.
9299         * Makefile.in: Re-generate.
9300         * javax/swing/JMenu.java:
9301         (insertSeparator): Implemented.
9302         * javax/swing/JPopupMenu.java:
9303         (JPopupMenu.Separator): Implemented.
9304         * javax/swing/MenuSelectionManager.java:
9305         (processMouseEvent): Use java.awt.Component
9306         for event source instead of javax.swing.JComponent.
9307         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9308         New File. Implemented.
9309
9310 2004-06-16  David Jee  <djee@redhat.com>
9311
9312         * java/awt/GridBagLayout.java
9313         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9314         Make sure pos_x and pos_y are never negative.
9315
9316 2004-04-16  Andrew Overholt  <overholt@redhat.com>
9317
9318         * Makefile.am: Add new file.
9319         * Makefile.in: Re-generate.
9320         * javax/swing/JToolBar.java
9321         Partially implemented.
9322         * javax/swing/plaf/basic/BasicToolBarUI.java
9323         New file. Partially implemented.
9324
9325 2004-06-16  Graydon Hoare  <graydon@redhat.com>
9326
9327         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9328         (setComposite): Accept AlphaComposite arguments.
9329         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9330         (createBufferedImage): Add new overloads.
9331         * gnu/java/awt/peer/gtk/GtkToolkit.java
9332         (createImage): Use GdkPixbufDecoder.createBufferedImage
9333         when useGraphics2D() is true.
9334         (getImage): Delegate to createImage.
9335         * javax/swing/JList.java
9336         (isSelectionEmpty):
9337         (getFirstVisibleIndex):
9338         (getLastVisibleIndex):
9339         (setSelectedValue):
9340         (ensureIndexIsVisible): New methods.
9341         * javax/swing/Timer.java: Reimplement.
9342
9343 2004-06-16  Michael Koch  <konqueror@gmx.de>
9344
9345         * javax/swing/text/AbstractDocument.java
9346         (AbstracElement): Made public, implements java.io.Serializable.
9347         (AttributeContext): Made public.
9348         (BranchElement): Likewise.
9349         (Content): Likewise.
9350         (DefaultDocumentEvent): Made public, extends
9351         javax.swing.undo.CompoundEdit.
9352         (ElementEdit): Made public, extends
9353         javax.swing.undo.AbstractUndoableEdit.
9354         (LeafElement): Made public.
9355         (LeafElement.LeafElement): Made public.
9356
9357 2004-06-16  Michael Koch  <konqueror@gmx.de>
9358
9359         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9360         methods (that were obviously never be intended to get included hi this
9361         class. Added some methods too.
9362
9363 2004-06-16  Michael Koch  <konqueror@gmx.de>
9364
9365         * javax/swing/text/PlainDocument.java
9366         (serialVersionUID): New constant.
9367         (lineLimitAttribute): Likewise.
9368         (tabSizeAttribute): Likewise.
9369         (tabSize): New field.
9370         (PlainDocument): Made public.
9371         (PlainDocument): New constructor.
9372
9373 2004-06-16  Michael Koch  <konqueror@gmx.de>
9374
9375         * javax/swing/text/AbstractDocument.java
9376         (insertString): Throws BadLocationException.
9377         * javax/swing/text/Document.java
9378         (insertString): Likewise.
9379         * javax/swing/text/JTextComponent.java:
9380         Javadocs and comments cleaned up.
9381
9382 2004-06-16  Michael Koch  <konqueror@gmx.de>
9383
9384         * javax/swing/event/UndoableEditListener.java: Reformatted.
9385         * javax/swing/text/AbstractDocument.java
9386         (AbstractDocument): Implements java.io.Serializable.
9387         (doc_list): Removed.
9388         (undo_list): Removed.
9389         (AbstractElement.serialVerionUID): New field.
9390         (BranchElement.serialVerionUID): Likewise.
9391         (DefaultDocumentEvent.serialVerionUID): Likewise.
9392         (ElementEdit.serialVerionUID): Likewise.
9393         (LeafElement.serialVerionUID): Likewise.
9394         (serialVerionUID): Likewise.
9395         (BAD_LOCATION): New constant.
9396         (BidiElementName): Likewise.
9397         (ContentElementName): Likewise.
9398         (ParagraphElementName): Likewise.
9399         (SectionElementName): Likewise.
9400         (ElementNameAttribute): Likewise.
9401         (AbstractDocument): Made protected.
9402         (AbstractDocument): New construtor.
9403         (listenerList): New field.
9404         (fireChangedUpdate): Implemented.
9405         (fireInsertUpdate): Likewise.
9406         (fireRemoveUpdate): Likewise.
9407         (fireUndoableEditUpdate): Likewise.
9408         (getListeners): Likewise.
9409         (addDocumentListener): Likewise.
9410         (removeDocumentListener): Likewise.
9411         (addUndoableEditListener): Likewise.
9412         (removeUndoableEditListener): Likewise.
9413         (getDocumentListeners): New method.
9414         (getUndoableEditListeners): Likewise.
9415         (getAsynchronousLoadPriority): Made public.
9416         (getBidiRootElement): Likewise.
9417         (setAsynchronousLoadPriority): Likewise.
9418         (setDocumentProperties): Likewise.
9419         * javax/swing/text/BadLocationException.java
9420         (serialVerionUID): New field.
9421         * javax/swing/text/DefaultCaret.java
9422         (changeEvent): New field.
9423         (listenerList): Likewise.
9424         (changes): Removed.
9425         (addChangeListener): Reimplemented.
9426         (removeChangeListener): Likewise.
9427         (getListeners): New method.
9428         (getChangeListeners): Likwise.
9429         (getComponent): Likewise.
9430         * javax/swing/text/GapContent.java
9431         (GapContent): Implements java.io.Serializable.
9432         (serialVerionUID): New field.
9433
9434 2004-06-16  Michael Koch  <konqueror@gmx.de>
9435
9436         * javax/swing/JTree.java
9437         (treeModel): New field.
9438         (JTree): New constructors, one existing one made public.
9439         (createTreeModel): New method.
9440         (addTreeExpansionListener): Likewise.
9441         (removeTreeExpansionListener): Likewise.
9442         (getTreeExpansionListeners): Likewise.
9443         (fireTreeCollapsed): Likewise.
9444         (fireTreeExpanded): Likewise.
9445         (addTreeSelectionListener): Likewise.
9446         (removeTreeSelectionListener): Likewise.
9447         (getTreeSelectionListeners): Likewise.
9448         (fireValueChanged): Likewise.
9449         (addTreeWillExpandListener): Likewise.
9450         (removeTreeWillExpandListener): Likewise.
9451         (getTreeWillExpandListeners): Likewise.
9452         (fireTreeWillCollapse): Likewise.
9453         (fireTreeWillExpand): Likewise.
9454
9455 2004-06-16  Michael Koch  <konqueror@gmx.de>
9456
9457         * javax/swing/JTree.java: Reformatted.
9458
9459 2004-06-16  Michael Koch  <konqueror@gmx.de>
9460
9461         * javax/swing/JTextArea.java: New file.
9462         * javax/swing/JTextField.java
9463         (actions): Removed.
9464         (notifyAction): New constant.
9465         (columns): New field.
9466         (JTextField): New constructors.
9467         (createDefaultModel): New method.
9468         (addActionListener): Reimplmemented.
9469         (removeActionListener): Reimplemented.
9470         (getActionListeners): New method.
9471         (fireActionPerformed): New method.
9472         (getColumns): New method.
9473         (setColumne): New method.
9474         * javax/swing/text/JTextComponent.java
9475         (AccessibleJTextComponent.serialVersionUID): New field.
9476         (serialVersionUID): Likewise.
9477         (DEFAULT_KEYMAP): Likewise.
9478         (FOCUS_ACCELERATOR_KEY): Likewise.
9479         (doc): Made private.
9480         (icon_gap): Likewise.
9481         (icon): Likewise.
9482         (align): Likewise.
9483         (JTextComponent): Some constructors removed.
9484         (getScrollableTracksViewportHeight): New method.
9485         (getScrollableTracksViewportWidth): Likewise.
9486         * Makefile.am: Added javax/swing/JTextArea.java.
9487         * Makefile.in: Regenerated.
9488
9489 2004-06-15  Graydon Hoare  <graydon@redhat.com>
9490
9491         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9492         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9493         * javax/swing/JViewport.java
9494         (getExtentSize): Return size rather than preferred size.
9495         (toViewCoordinates): New methods.
9496         (getViewSize): Return size rather than preferred size.
9497         (setViewSize): Note view size as set.
9498         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9499         * javax/swing/plaf/basic/BasicScrollBarUI.java
9500         (getPreferredSize): Don't redo layout.
9501         * javax/swing/plaf/basic/BasicViewportUI.java
9502         (paint): Translate image properly and eat exceptions.
9503
9504 2004-06-15  Kim Ho  <kho@redhat.com>
9505
9506         * javax/swing/JTabbedPane.java
9507         (setComponent): Remove old component and
9508         add new component.
9509         (setSelectedIndex): Don't operate on the
9510         components if they're null. Don't set index
9511         on the model if the index is the same.
9512         (insertTab): Don't add or hide the component
9513         if it's null. Repaint the container.
9514         * javax/swing/plaf/basic/BasicLookAndFeel.java
9515         Change colors for TabbedPane.
9516         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9517         (mousePressed): Re-layout and paint the component.
9518         (layoutContainer): Don't set location on the view.
9519         (ScrollingViewport::paint): Remove.
9520
9521 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9522
9523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9524         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9525
9526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9527         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9528         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
9529         critical region.
9530         (drawLine): Call gdk_flush before leaving GDK critical region.
9531         (fillRect): Likewise.
9532         (drawRect): Likewise.
9533         (copyArea): Likewise.
9534         (copyPixmap): Likewise.
9535         (clearRect): Likewise.
9536         (drawArc): Likewise.
9537         (drawPolyline): Likewise.
9538         (drawPolygon): Likewise.
9539         (fillPolygon): Likewise.
9540         (fillArc): Likewise.
9541         (drawOval): Likewise.
9542         (fillOval): Likewise.
9543
9544         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9545         style parameter.
9546         (GdkFontMetrics): Add style argument to initState call.
9547         (stringWidth(String,int,int,String)): Add style parameter.
9548         (stringWidth(String)): Add style argument to stringWidth call.
9549         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9550         (initState): Set pango font style and weight based on AWT style
9551         parameter.  Pass default GTK language to
9552         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
9553         simply dividing by PANGO_SCALE.
9554         (stringWidth): Set pango font style and weight based on AWT style
9555         parameter.
9556
9557         * java/awt/Button.java (next_button_number): New field.
9558         (paramString): Change output.
9559         (generateName): New method.
9560         (getUniqueLong): New method.
9561
9562 2004-06-14  Kim Ho  <kho@redhat.com>
9563
9564         * javax/swing/JTabbedPane.java:
9565         (setComponentAt): Set the component, not
9566         the enabled status.
9567         * javax/swing/plaf/basic/BasicDesktopIconUI.java
9568         (actionPerformed): Let deiconize catch exception.
9569
9570 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9571
9572         * javax/swing/JPopupMenu.java:
9573         (setVisible): Corrected location of a
9574         heavyweight popup menu.
9575
9576 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9577
9578         * javax/swing/MenuSelectionManager.java:
9579         Ran through jalopy to fix formatting style.
9580
9581 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9582
9583         * javax/swing/JLayeredPane.java:
9584         (remove): Revalidate and repaint layered pane after
9585         the component was removed.
9586         javax/swing/JMenu.java:
9587         (setVisible): Display popup menu at the user location,
9588         if one was set by the user.
9589         (setMenuLocation): Reimplemented. Fixed javadoc.
9590         * javax/swing/JMenuBar.java: Added javadoc.
9591         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9592         (MODEL_CHANGED_PROPERTY): New Property.
9593         (isSelected): Implemented.
9594         (setBorderPainted): Fire PropertyChangeEvent
9595         if paintBorder property changes.
9596         (setSelected): Implemented.
9597         (setSelectionModel): Implemented.
9598         * javax/swing/JPopupMenu.java: Added Javadoc
9599         (pack): Implemented.
9600         (setVisible): Reimplemented.
9601         (show): Fixed location.
9602         (JPopupMenu.LigthWeightPopup): Reimplemented to use
9603         Container instead of JPanel.
9604         * javax/swing/MenuSelectionManager.java: Added Javadocs.
9605         (clearSelectedPath): Reimplemented to clear selectedPath
9606         in reverse order.
9607         (processMouseEvent): Reimplemented.
9608         (setSelectedPath): Fire stateChange event indicating that
9609         selected menu path has changed.
9610         (getPath): Change to use ArrayList instead of Vector.
9611         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9612         (installUI): call installKeyboardActions().
9613         (uninstallUI): call uninstallKeyboardActions().
9614
9615 2004-06-13  Michael Koch  <konqueror@gmx.de>
9616
9617         * javax/swing/text/DefaultCaret.java,
9618         javax/swing/text/BadLocationException.java:
9619         Reformatted.
9620
9621 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
9622
9623         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9624         DEFAULT_COLS): New variables.
9625         (create): Don't allow 0 rows or 0 columns.  Instead, set the
9626         values to DEFAULT_ROWS or DEFAULT_COLS.
9627         (getMinimumSize): Likewise.
9628         (getPreferredSize): Likewise.
9629         (minimumSize): Likewise.
9630         (preferredSize): Likewise.
9631         (create): Set peer's editable state.
9632         * java/awt/TextArea.java (TextArea()): Set rows and columns to
9633         zero.  Update javadocs.
9634         (TextArea(String)): Likewise.
9635         (TextArea(int,int)): Fix javadocs.
9636         (TextArea(String,int,int,int)): Only throw exception if one of
9637         rows or columns is zero.  Fix javadocs.
9638
9639 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9640
9641         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9642         addition to Components.
9643
9644         * java/awt/MenuItem.java (dispatchEventImpl): If the event
9645         wasn't consumed by normal processing, send it to the parent
9646         menu.
9647
9648         * gnu/java/awt/peer/gtk/GtkImagePainter.java
9649         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9650         translation.
9651
9652 2004-06-11  David Jee  <djee@redhat.com>
9653
9654         * java/awt/MediaTracker.java
9655         (addImage(Image,int)): Call imageUpdate() to udpate image status.
9656         (addImage(Image,int,int,int)): Likewise.
9657
9658 2004-06-11  Michael Koch  <konqueror@gmx.de>
9659
9660         * javax/swing/text/AbstractDocument.java,
9661         javax/swing/text/Document.java,
9662         javax/swing/text/GapContent.java,
9663         javax/swing/text/JTextComponent.java,
9664         javax/swing/text/PlainDocument.java:
9665         Reformatted.
9666
9667 2004-06-11  Michael Koch  <konqueror@gmx.de>
9668
9669         * javax/swing/JRootPane.java
9670         (AccessibleJRootPane.serialVersionUID): New field.
9671         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9672         (AccessibleJRootPane.getAccessibleRole): New method.
9673         (RootLayout): Implements Serializable.
9674         (RootLayout.serialVersionUID): New field.
9675         (RootLayout.RootLayout): New constructor.
9676         (setJMenuBar): Made public.
9677         (getJMenuBar): Likewise.
9678         (JRootPane): Likewise.
9679         (createContentPane): Likewise.
9680         (createGlassPane): Likewise.
9681         (createLayeredPane): Likewise.
9682
9683 2004-06-11  Michael Koch  <konqueror@gmx.de>
9684
9685         * javax/swing/SwingUtilities.java
9686         (isLeftMouseButton): Fixed javadoc.
9687         (isMiddleMouseButton): Likewise.
9688         (isRightMouseButton): Likewise.
9689
9690 2004-06-11  Michael Koch  <konqueror@gmx.de>
9691
9692         * javax/swing/JScrollPane.java
9693         (serialVersionUID): New field.
9694         (columnHeader): Made protected.
9695         (rowHeader): Likewise.
9696         (lowerLeft): Likewise.
9697         (lowerRight): Likewise.
9698         (upperLeft): Likewise.
9699         (upperRight): Likewise.
9700         (horizontalScrollBar): Likewise.
9701         (horizontalScrollBarPolicy): Likewise.
9702         (verticalScrollBar): Likewise.
9703         (verticalScrollBarPolicy): Likewise.
9704         (viewport): Likewise.
9705
9706 2004-06-11  Michael Koch  <konqueror@gmx.de>
9707
9708         * javax/swing/LookAndFeel.java: Fixed javadocs.
9709
9710 2004-06-11  Michael Koch  <konqueror@gmx.de>
9711
9712         * javax/swing/JEditorPane.java: Fixed javadocs.
9713         (JEditorPane): Removed redundant call to to this().
9714         (fireHyperlinkUpdate): Implemented.
9715
9716 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9717
9718         * javax/swing/JMenu.java: Fixed file name
9719         in the file comment.
9720
9721 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9722
9723         * javax/swing/JMenu.java: Added javadoc.
9724         (JMenu): Added MenuChangeListener to listen to
9725         ChangeEvents occuring in menu's model.
9726         (insert): Throw IllegalArgumentException if
9727         index is less than 0
9728         (setSelected): Reimplement.
9729         (setPopupMenuVisible): Call menu's model isEnabled()
9730         (setDelay): Throw IllegalArgumentException if
9731         given amount of delay is less than 0.
9732         (createActionComponent): Implemented.
9733         (createActionChangeListener): Implemented.
9734         (addSeparator): Implemented.
9735         (getItem): Throw IllegalArgumentException if index is
9736         less than 0.
9737         (getItemCount): Implemented.
9738         (fireMenuSelected): Changed to use menuEvent.
9739         (fireMenuDeselected): Likewise.
9740         (fireMenuCanceled): Likewise.
9741         (setAccelerator): Changed to throw an error if this
9742         method is used.
9743         (doClick): Implemented.
9744         (JMenu.ActionChangedListener): New inner class to handle
9745         PropertyChangeEvents occuring in the actions associated with menu.
9746         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9747         (BasicMenuUI): Added PropertyChangeListener to the menu.
9748         (createChangeListener): Implemented.
9749         (createMenuDragMouseListener): Likewise.
9750         (createMenuKeyListener): Likewise.
9751         (createPropertyChangeListener): Likewise.
9752         (uninstallListeners): Likewise.
9753         (BasicMenuUI.MouseInputHandler): Reimplemented.
9754         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9755         (BasicMenuUI.ChangeHandler): Likewise.
9756         (BasicMenuUI.MenuDragMouseHandler): Likewise.
9757         (BasicMenuUI.MenuKeyHandler): Likewise.
9758
9759 2004-06-10  David Jee  <djee@redhat.com>
9760
9761         * java/awt/MediaTracker.java
9762         (imageUpdate): Only do notifyAll() if the image is complete.
9763
9764 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9765
9766         * javax/swing/JApplet.java:
9767         (getJMenuBar): Made public.
9768         (setJMenuBar): Likewise.
9769         * javax/swing/JFrame.java:
9770         (getJMenuBar): Made public.
9771         (setJMenuBar): Likewise.
9772         * javax/swing/JWindow.java:
9773         (getJMenuBar): Removed.
9774         (setJMenuBar): Removed.
9775
9776 2004-06-10  Michael Koch  <konqueror@gmx.de>
9777
9778         * javax/swing/JEditorPane.java
9779         (createEditorKitForContentType): Fixed visibility.
9780         (fireHyperlinkUpdate): Likewise.
9781         (getContentType): Likewise.
9782         (getEditorKit): Likewise.
9783         (getEditorKitForContentType): Likewise.
9784         (getPage): Likewise.
9785         (read): Likewise.
9786         (registerEditorKitForContentTyoe): Likewise.
9787         (replaceSelection): Likewise.
9788         (setContentType): Likewise.
9789         (setEditorKit): Likewise.
9790         (setPage): Likewise.
9791
9792 2004-06-10  Michael Koch  <konqueror@gmx.de>
9793
9794         * javax/swing/Timer.java
9795         (Timer): New constructor.
9796         * javax/swing/plaf/basic/BasicProgressBarUI.java
9797         (animationTimer): Don't initialize at construction.
9798         (startAnimationTimer): Added since tag.
9799         (stopAnimationTimer): Likewise.
9800         (installUI): Use new Timer constructor.
9801         * javax/swing/plaf/basic/BasicScrollBarUI.java
9802         (installUI): Likewise.
9803         * javax/swing/plaf/basic/BasicSliderUI.java
9804         (installUI): Likewise.
9805
9806 2004-06-10  Michael Koch  <konqueror@gmx.de>
9807
9808         * javax/swing/ButtonGroup.java
9809         (serialVersionUID): Made private.
9810         (buttons): Renamed from v, added javadoc.
9811         (sel): Added javadoc.
9812         (ButtonGroup): Likewise.
9813         (add): Likewise.
9814         (remove): Likewise.
9815         (getElements): Likewise.
9816         (getSelection): Likewise.
9817         (setSelected): Likewise.
9818         (isSelected): Likewise.
9819         (getButtonCount): Likewise.
9820
9821 2004-06-10  Michael Koch  <konqueror@gmx.de>
9822
9823         * javax/swing/ButtonGroup.java,
9824         javax/swing/ImageIcon.java,
9825         javax/swing/JEditorPane.java,
9826         javax/swing/JRootPane.java,
9827         javax/swing/JTextField.java,
9828         javax/swing/LookAndFeel.java,
9829         javax/swing/plaf/basic/BasicTextUI.java:
9830         Reindented.
9831
9832 2004-06-10  Michael Koch  <konqueror@gmx.de>
9833
9834         * javax/swing/text/Style.java: Added javadocs.
9835
9836 2004-06-10  Michael Koch  <konqueror@gmx.de>
9837
9838         * javax/swing/JComponent.java
9839         (fireVetoableChange): Removed redundant cast.
9840         * javax/swing/JLabel.java
9841         (getDisabledIcon): Save icon for next call.
9842
9843 2004-06-10  Michael Koch  <konqueror@gmx.de>
9844
9845         * javax/swing/KeyStroke.java
9846         (getKeyStroke(char,boolean)): Marked deprecated.
9847
9848 2004-06-10  Michael Koch  <konqueror@gmx.de>
9849
9850         * javax/swing/DefaultCellEditor.java,
9851         javax/swing/GrayFilter.java,
9852         javax/swing/event/DocumentEvent.java,
9853         javax/swing/text/JTextComponent.java,
9854         javax/swing/text/MutableAttributeSet.java:
9855         Reindented.
9856
9857 2004-06-10  Michael Koch  <konqueror@gmx.de>
9858
9859         * javax/swing/plaf/BorderUIResource.java:
9860         Added serialVersionUID all over.
9861
9862 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
9863
9864         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9865
9866 2004-06-10  Michael Koch  <konqueror@gmx.de>
9867
9868         * javax/swing/table/DefaultTableCellRenderer.java
9869         (noFocusBorder): Initialize directly.
9870
9871 2004-06-10  Michael Koch  <konqueror@gmx.de>
9872
9873         * javax/swing/plaf/basic/BasicArrowButton.java
9874         (setDirection): Use method argument.
9875
9876 2004-06-10  Michael Koch  <konqueror@gmx.de>
9877
9878         * javax/swing/plaf/BorderUIResource.java,
9879         javax/swing/plaf/ComponentUI.java,
9880         javax/swing/undo/CompoundEdit.java,
9881         javax/swing/undo/StateEdit.java:
9882         Fixed javadocs all over.
9883
9884 2004-06-10  Michael Koch  <konqueror@gmx.de>
9885
9886         * javax/swing/DefaultButtonModel.java
9887         (ARMED): Made public final, fixed value.
9888         (ENABLED): Likewise.
9889         (PRESSED): Likewise.
9890         (ROLLOVER): Likewise.
9891         (SELECTED): Likewise.
9892         (stateMask): Initialize directly.
9893         (listenerList): Likewise.
9894         (mnemonic): Likewise.
9895         (fireStateChanged): Removed argument, use changeEvent as event.
9896         All places where this method is called are fixed too.
9897         (getActionCommant): Fixed javadoc.
9898         (setGroup): Fixed javadoc.
9899         (getGroup): New method.
9900
9901 2004-06-09  Olga Rodimina <rodimina@redhat.com>
9902
9903         * javax/swing/AbstractButton.java
9904         (AbstractButton): Use init() to initialize the button.
9905         (init): New Method. Initializes AbstractButton.
9906         * javax/swing/JMenuItem.java: Documented.
9907         (JMenuItem): Reimplemented.
9908         (init): Implemented.
9909         (setEnabled): Changed to call super.setEnabled()
9910         (processMouseEvent): Reimplemented.
9911         (fireMenuKeyPressed): Implemented.
9912         (fireMenuKeyReleased): Implemented.
9913         (fireMenuKeyTyped): Implemented.
9914         (menuSelectionChanged): disarm the model if the menu item was
9915         deselected.
9916         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
9917         (getPath): Change to use ArrayList instead of Vector.
9918         (getPreferredSize): Renamed variable.
9919         (paintMenuItem): Paint margin area of menu item.
9920         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
9921         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
9922         menu item's bounds before clearing the selection.
9923
9924 2004-06-09  David Jee  <djee@redhat.com>
9925
9926         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
9927         (GtkTextComponentPeer): Set caret position to 0.
9928         * java/awt/TextComponent.java
9929         (setText): Set caret position to 0.
9930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9931         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9932         Handle GtkScrolledWindow separately. Fix signal handler blocking.
9933         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9934         Likewise.
9935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9936         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
9937         visible.
9938
9939 2004-06-09  Kim Ho  <kho@redhat.com>
9940
9941         * Makefile.am: New files
9942         * Makefile.in: Regenerated
9943         * java/awt/Container.java
9944         (getComponentAt): Removed.
9945         * javax/swing/AbstractAction.java
9946         (ENABLED_PROPERTY): New property.
9947         (putValue): Fire PropertyChangeEvents.
9948         (setEnabled): ditto.
9949         (firePropertyChange): Javadoc and implement
9950         convenience method.
9951         * javax/swing/AbstractButton.java
9952         (setAction): Don't create PropertyChangeListener
9953         if new Action is null.
9954         (setIcon): Don't set icon till after comparing
9955         it.
9956         (configurePropertiesFromAction): Check mnemonic
9957         key before calling intValue().
9958         (createActionPropertyChangeListener): Check
9959         properties rather than bulk change.
9960         * javax/swing/DefaultDesktopManager.java:
9961         Implement.
9962         * javax/swing/DesktopManager.java:
9963         Jalopy and javadoc.
9964         * javax/swing/JComponent.java
9965         (fireVetoableChange): Implement.
9966         (paintImmediately): Use root component.
9967         * javax/swing/JDesktopPane.java: Implement
9968         * javax/swing/JInternalFrame.java: Implement
9969         * javax/swing/JLabel.java
9970         (getDisabledIcon): Return grayscaled icon if
9971         no disabled icon specified.
9972         * javax/swing/JMenuBar.java
9973         (getComponentAtIndex): Use getComponent
9974         * javax/swing/JOptionPane.java
9975         (getDesktopPaneForComponent): Use SwingUtilities'
9976         getAncestorOfClass
9977         (getFrameForComponent): ditto.
9978         * javax/swing/JSplitPane.java
9979         (remove): Use getComponent.
9980         * javax/swing/SwingUtilities.java
9981         (convertPoint): Implement.
9982         * javax/swing/plaf/basic/BasicButtonUI.java
9983         (paintButtonNormal): Check opaqueness before
9984         filling background.
9985         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
9986         Implement
9987         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
9988         Implement.
9989         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
9990         Implement.
9991         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
9992         Implement.
9993         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9994         Change InternalFrame and Desktop colors.
9995
9996 2004-06-09  David Jee  <djee@redhat.com>
9997
9998         * java/awt/Container.java
9999         (remove): Do not set component to invisible.
10000
10001 2004-06-09  Michael Koch  <konqueror@gmx.de>
10002
10003         * javax/swing/tree/DefaultMutableTreeNode.java
10004         (getLeafCount): Renamed enum to e.
10005
10006 2004-06-09  Michael Koch  <konqueror@gmx.de>
10007
10008         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10009         (positionForMouseEvent): Removed redundant semicolon.
10010         (continueDrag): Use method arguments.
10011
10012 2004-06-09  Michael Koch  <konqueror@gmx.de>
10013
10014         * javax/swing/border/TitledBorder.java,
10015         javax/swing/filechooser/FileSystemView.java,
10016         javax/swing/plaf/basic/BasicButtonListener.java,
10017         javax/swing/plaf/basic/BasicGraphicsUtils.java,
10018         javax/swing/plaf/basic/BasicLabelUI.java,
10019         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
10020         javax/swing/plaf/basic/BasicScrollBarUI.java,
10021         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10022         javax/swing/plaf/basic/BasicSliderUI.java,
10023         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10024         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10025         javax/swing/table/JTableHeader.java,
10026         javax/swing/text/AbstractDocument.java,
10027         javax/swing/text/DefaultCaret.java,
10028         javax/swing/text/StyledEditorKit.java,
10029         javax/swing/tree/DefaultTreeCellEditor.java:
10030         Reworked import statements.
10031
10032 2004-06-08  Graydon Hoare  <graydon@redhat.com>
10033
10034         * javax/swing/Box.java: Temporarily comment out code
10035         broken due to visibility bug.
10036
10037 2004-06-09  Michael Koch  <konqueror@gmx.de>
10038
10039         * javax/swing/ImageIcon.java
10040         (ImageIcon): Added missing constructor.
10041
10042 2004-06-08  Michael Koch  <konqueror@gmx.de>
10043
10044         * javax/swing/JToggleButton.java
10045         (JToggleButton): New constructor.
10046         (getAccessibleContext): Moved documentation into javadoc.
10047         (getUIClassID): Likewise.
10048
10049 2004-06-08  Michael Koch  <konqueror@gmx.de>
10050
10051         * javax/swing/AbstractButton.java
10052         (getDisabledIcon): Create disabled icon if none exists yet.
10053
10054 2004-06-08  Michael Koch  <konqueror@gmx.de>
10055
10056         * javax/swing/plaf/basic/BasicLookAndFeel.java
10057         (initClassDefaults): Added FormattedTextFieldUI.
10058         (loadResourceBundle): Renamed enum to e.
10059
10060 2004-06-08  Michael Koch  <konqueror@gmx.de>
10061
10062         * javax/swing/plaf/basic/BasicButtonUI.java
10063         (paintIcon): Simplified.
10064         (paintText): Paint disabled button correctly.
10065
10066 2004-06-08  Michael Koch  <konqueror@gmx.de>
10067
10068         * javax/swing/JComponent.java
10069         (createToolTip): Use official JToolTip API.
10070
10071 2004-06-08  Michael Koch  <konqueror@gmx.de>
10072
10073         * javax/swing/JToolTip.java
10074         (JToolTip): No arguments in API.
10075         (setTipText): New method.
10076
10077 2004-06-08  Michael Koch  <konqueror@gmx.de>
10078
10079         * javax/swing/SwingUtilities.java
10080         (isLeftMouseButton): New method.
10081         (isMiddleMouseButton): New method.
10082         (isRightMouseButton): New method.
10083
10084 2004-06-08  Michael Koch  <konqueror@gmx.de>
10085
10086         * javax/swing/AbstractButton.java,
10087         javax/swing/CellRendererPane.java,
10088         javax/swing/JCheckBoxMenuItem.java,
10089         javax/swing/JColorChooser.java,
10090         javax/swing/JComboBox.java,
10091         javax/swing/JComponent.java,
10092         javax/swing/JDesktopPane.java,
10093         javax/swing/JFileChooser.java,
10094         javax/swing/JMenu.java,
10095         javax/swing/JMenuItem.java,
10096         javax/swing/JOptionPane.java,
10097         javax/swing/JPasswordField.java,
10098         javax/swing/JPopupMenu.java,
10099         javax/swing/JProgressBar.java,
10100         javax/swing/JRadioButtonMenuItem.java,
10101         javax/swing/JScrollBar.java,
10102         javax/swing/JSeparator.java,
10103         javax/swing/JSlider.java,
10104         javax/swing/JSplitPane.java,
10105         javax/swing/JTabbedPane.java,
10106         javax/swing/JTextField.java,
10107         javax/swing/JToolBar.java,
10108         javax/swing/text/JTextComponent.java:
10109         Fixed all constructors of accessibility classes.
10110
10111 2004-06-08  Michael Koch  <konqueror@gmx.de>
10112
10113         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10114         over.
10115
10116 2004-06-08  Michael Koch  <konqueror@gmx.de>
10117
10118         * javax/swing/Box.java
10119         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10120         (AccessibleBoxFiller.serialVersionUID): New member variable.
10121         * javax/swing/DefaultButtonModel.java
10122         (stateMask): Made protected.
10123         (listenerList): Likewise.
10124         (changeEvent): Likewise.
10125         (group): Likewise.
10126         (mnemonic): Likewise.
10127         (actionCommand): Likewise.
10128         (getListeners): New method.
10129         (getActionListeners): New method.
10130         (getItemListeners): New method.
10131         (getChangeListeners): New method.
10132         (fireItemStateChanged): Simplified.
10133         (fireActionPerformed): Simplified.
10134         (fireStateChanged): Simplified.
10135         * javax/swing/JFrame.java
10136         (JFrame): Implements WindowContants.
10137         (HIDE_ON_CLOSE): Removed.
10138         (EXIT_ON_CLOSE): Removed.
10139         (DISPOSE_ON_CLOSE): Removed.
10140         (DO_NOTHING_ON_CLOSE): Removed.
10141         (processWindowEvent): Exit with code 0.
10142         (setDefaultCloseOperation): Do security check before setting value.
10143         * javax/swing/JOptionPane.java
10144         (message): Initialize only in constructor.
10145         * javax/swing/JToolTip.java: Removed unused imports.
10146         * javax/swing/JViewport.java
10147         (serialVersionUID): New member variable.
10148         (SIMPLE_SCROLL_MODE): Made final, fixed value.
10149         (BLIT_SCROLL_MODE): Likewise.
10150         (BACKINGSTORE_SCROLL_MODE): Likewise.
10151         (scrollUnderway): Made protected.
10152         (isViewSizeSet): Likewise.
10153         * javax/swing/ListModel.java: Fixed javadoc.
10154         * javax/swing/Popup.java: Likewise.
10155         * javax/swing/RepaintManager.java
10156         (paintDirtyRegions): Don't use internal classes of
10157         java.util.AbstractMap.
10158         * javax/swing/ScrollPaneConstants.java: Reindented.
10159         * javax/swing/ScrollPaneLayout.java
10160         (viewport): Made protected.
10161         (verticalScrollBar): Made protected, renamed to vsb.
10162         (horizontalScrollBar): Made protected, renamed to hsb.
10163         (rowHeader): Made protected, renamed to rowHead.
10164         (columnHeader): Made protected, renamed to colHead.
10165         (lowerLeft): Made protected.
10166         (lowerRight): Made protected.
10167         (upperLeft): Made protected.
10168         (upperRight): Made protected.
10169         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10170         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10171
10172 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
10173
10174         * java/awt/MediaTracker.java (imageUpdate): Only set status to
10175         LOADING if flags has SOMEBITS set.
10176
10177 2004-06-07  Michael Koch  <konqueror@gmx.de>
10178
10179         * javax/swing/AbstractButton.java: Reorganized imports.
10180         * javax/swing/ActionMap.java: Likewise.
10181         * javax/swing/DefaultButtonModel.java: Likewise.
10182         * javax/swing/DefaultListModel.java: Likewise.
10183         * javax/swing/ImageIcon.java: Likewise.
10184         (serialVersionUID): New member variable.
10185         * javax/swing/JComboBox.java: Reorganized imports.
10186         * javax/swing/JComponent.java: Likewise.
10187         (ui): Made protected.
10188         (listenerList): Made protected.
10189         (TOOL_TIP_TEXT_KEY): New constant.
10190         (scrollRectToVisible): Removed redundant null check.
10191         * javax/swing/JFrame.java: Reorganized imports.
10192         * javax/swing/JInternalFrame.java: Reorganized imports.
10193         * javax/swing/JProgressBar.java: Likewise.
10194         * javax/swing/JRootPane.java: Likewise.
10195         * javax/swing/JScrollBar.java: Likewise.
10196         * javax/swing/JSeparator.java: Likewise.
10197         * javax/swing/JSlider.java: Likewise.
10198         * javax/swing/JTabbedPane.java: Likewise.
10199         * javax/swing/JTextField.java: Likewise.
10200         * javax/swing/JToolBar.java: Likewise.
10201         * javax/swing/JTree.java: Likewise.
10202         * javax/swing/JViewport.java: Likewise.
10203         * javax/swing/JWindow.java: Likewise.
10204         * javax/swing/KeyStroke.java: Likewise.
10205         * javax/swing/LookAndFeel.java: Likewise.
10206         * javax/swing/MenuSelectionManager.java: Likewise.
10207         * javax/swing/SwingUtilities.java: Likewise.
10208         * javax/swing/Timer.java: Likewise.
10209         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10210         * javax/swing/JList.java
10211         (HORIZONTAL_WRAP): Made final, fixed value.
10212         (VERTICAL): Likewise.
10213         (VERTICAL_WRAP): Likewise.
10214
10215 2004-06-07  Michael Koch  <konqueror@gmx.de>
10216
10217         * javax/swing/AbstractButton.java
10218         (serialVersionUID): New member variable.
10219         (AccessibleAbstractButton.serialVersionUID): Likewise.
10220         (AbstractButton): Made public.
10221         * javax/swing/Box.java
10222         (AccessibleBox.serialVersionUID): New member variable.
10223         (Filler.serialVersionUID): Likewise.
10224         * javax/swing/DefaultListSelectionModel.java
10225         (serialVersionUID): Likewise.
10226         * javax/swing/JApplet.java
10227         (serialVersionUID): Likewise.
10228         * javax/swing/JCheckBox.java
10229         (serialVersionUID): Likewise.
10230         * javax/swing/JCheckBoxMenuItem.java
10231         (serialVersionUID): Likewise.
10232         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10233         * javax/swing/JColorChooser.java
10234         (serialVersionUID): Likewise.
10235         (AccessibleJColorChooser.serialVersionUID): Likewise.
10236         * javax/swing/JComponent.java
10237         (serialVersionUID): Made private.
10238         (AccessibleJComponent.serialVersionUID): New member variable.
10239         * javax/swing/JDesktopPane.java
10240         (serialVersionUID): Likewise.
10241         * javax/swing/JDialog.java
10242         (serialVersionUID): Likewise.
10243         * javax/swing/JFormattedTextField.java
10244         (serialVersionUID): Fixed value.
10245         * javax/swing/JFrame.java
10246         (serialVersionUID): New member variable.
10247         (getDefaultCloseOpertation): Made public.
10248         * javax/swing/JLayeredPane.java
10249         (serialVersionUID): Likewise.
10250         (LAYER_PROPERTY): Made final, fixed value.
10251         (JLayeredPane): Made public.
10252         * javax/swing/JMenu.java
10253         (AccessibleJMenu.serialVersionUID): New member variable.
10254         (WinListener.serialVersionUID): Likewise.
10255         * javax/swing/JMenuBar.java
10256         (serialVersionUID): Likewise.
10257         (getComponentAtIndex): Added @deprecated tag.
10258         * javax/swing/JMenuItem.java
10259         (serialVersionUID): New member variable.
10260         (AccessibleJMenuItem.serialVersionUID): Likewise.
10261         * javax/swing/JOptionPane.java
10262         (serialVersionUID): Likewise.
10263         (AccessibleJOptionPane.serialVersionUID): Likewise.
10264         * javax/swing/JPopupMenu.java
10265         (serialVersionUID): Likewise.
10266         (AccessibleJPopupMenu.serialVersionUID): Likewise.
10267         (getPopupMenuListeners): New method.
10268         (getComponentAtIndex): Added @deprecated tag.
10269         * javax/swing/JProgressBar.java
10270         (serialVersionUID): New member variable.
10271         (AccessibleJProgressBar.serialVersionUID): Likewise.
10272         * javax/swing/JRadioButton.java
10273         (serialVersionUID): Likewise.
10274         * javax/swing/JRadioButtonMenuItem.java
10275         (serialVersionUID): Likewise.
10276         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10277         * javax/swing/JScrollBar.java
10278         (serialVersionUID): Likewise.
10279         (AccessibleJScrollBar.serialVersionUID): Likewise.
10280         * javax/swing/JSeparator.java
10281         (serialVersionUID): Likewise.
10282         (AccessibleJSeparator.serialVersionUID): Likewise.
10283         * javax/swing/JSlider.java: Fixed javadocs.
10284         (AccessibleJSlider.serialVersionUID): New member variable.
10285         * javax/swing/JSplitPane.java: Added copyright statement.
10286         (serialVersionUID): New member variable.
10287         (AccessibleJSplitPane.serialVersionUID): Likewise.
10288         * javax/swing/JTabbedPane.java
10289         (serialVersionUID): Likewise.
10290         (AccessibleJTabbedPane.serialVersionUID): Likewise.
10291         (ModelListener.serialVersionUID): Likewise.
10292         (ModelListener.ModelListener): New constructor.
10293         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10294         (WRAP_TAB_LAYOUT): Likewise.
10295         * javax/swing/JTable.java
10296         (serialVersionUID): New member variable.
10297         * javax/swing/JToggleButton.java
10298         (serialVersionUID): Likewise.
10299         (ToggleButtonModel): Made static.
10300         (ToggleButtonModel.serialVersionUID): New member variable.
10301         * javax/swing/JToolTip.java
10302         (serialVersionUID): Likewise.
10303         * javax/swing/JTree.java
10304         (serialVersionUID): Likewise.
10305         * javax/swing/JWindow.java
10306         (serialVersionUID): Likewise.
10307         * javax/swing/Timer.java
10308         (serialVersionUID): Likewise.
10309
10310 2004-06-06  Michael Koch  <konqueror@gmx.de>
10311
10312         * javax/swing/SwingConstants.java
10313         (NEXT): New constant.
10314         (PREVIOUS): Likewise.
10315         * javax/swing/UIManager.java
10316         (LookAndFeel): Made public.
10317         (LookAndFeel.getClassName): Likewise.
10318         (LookAndFeel.getName): Likewise.
10319
10320 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10321
10322         * javax/swing/JCheckBoxMenuItem.java:
10323         Removed CVS tags.
10324         * javax/swing/JMenu.java: Likewise.
10325         * javax/swing/JMenuBar.java: Likewise.
10326         * javax/swing/JMenuItem.java: Likewise.
10327         * javax/swing/JPopupMenu.java: Likewise.
10328         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10329         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10330         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10331         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10332         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10333         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10334         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10335
10336 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10337
10338         * javax/swing/plaf/basic/BasicMenuUI.java:
10339         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10340         Call getPath() from super class instead.
10341
10342 2004-05-31  David Jee  <djee@redhat.com>
10343
10344         * java/awt/Container.java
10345         (remove): Set component visibility to false after removing it.
10346
10347 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
10348
10349         * java/awt/Component.java (getForeground): Return SystemColor if
10350         parent is null.
10351         (getBackground): Likewise.
10352
10353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10354         (item_highlighted): New function.
10355         (connectSignals): Set item_highlighted as list's select
10356         function.
10357
10358         * java/applet/Applet.java: Revert changes from 2004-04-29,
10359         2004-03-15 and 2004-03-14.
10360
10361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10362         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10363         factor.
10364
10365         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10366         "Dialog" as the default font.
10367         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10368         Likewise.
10369         * java/awt/Component.java (getFont): Return "Dialog" font by
10370         default.
10371         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10372         Multiply size argument to pango_font_description_set_size by the
10373         DPI conversion factor rather than by PANGO_SCALE.
10374         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10384         Divide baseline y coordinate by DPI conversion factor rather
10385         than by PANGO_SCALE.
10386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10387         (area_prepared): Fix typo.
10388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10389         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10391         (dpi_conversion_factor): New global variable.
10392         (init_dpi_conversion_factor): New function to calculate and
10393         track DPI conversion factor.
10394         (dpi_changed_cb): New callback.
10395         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10396
10397 2004-05-27  David Jee  <djee@redhat.com>
10398
10399         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10400         (getGraphics): Return a new GdkGraphics instance.
10401         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10402         (getGraphics): Call super.getGraphics().
10403
10404 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10405
10406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10407         (setNativeBounds): Clamp width and height values to >= 0.
10408
10409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10410         (find_fg_color_widget): Handle GtkOptionMenu specially.
10411
10412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10413         (pre_event_handler): Only post configure events to visible
10414         top-level windows.
10415
10416 2004-05-26  David Jee  <djee@redhat.com>
10417
10418         * java/awt/BorderLayout.java
10419         (layoutContainer): Fix size calculations.
10420
10421 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10422
10423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10424         (window_wm_protocols_filter): Remove function.
10425         (create): Remove filter that removes WM_TAKE_FOCUS client
10426         messages.
10427
10428 2004-06-17  Anthony Green  <green@redhat.com>
10429
10430         * java/util/zip/ZipFile.java (getInputStream): Return null if
10431         entry not found.
10432
10433         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10434         directory contents to the class path.
10435
10436 2004-06-15  Andrew Haley  <aph@redhat.com>
10437
10438         * java/lang/natSystem.cc (getenv0): Don't assume environment
10439         variable is Latin 1 coded.
10440
10441 2004-06-14  Andreas Jaeger  <aj@suse.de>
10442
10443         * configure.in: Support --enable-version-specific-runtime-libs.
10444         * configure: Regenerated.
10445
10446 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
10447
10448         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10449         to pass ClassLoader argument.
10450         * java/util/GregorianCalendar.java: Likewise.
10451         * java/util/Currency.java: Likewise.
10452         * java/text/BreakIterator.java: Likewise.
10453         * java/text/Collator.java: Likewise.
10454         * java/text/DateFormat.java: Likewise.
10455         * java/text/DateFormatSymbols.java: Likewise.
10456         * java/text/DecimalFormatSymbols.java: Likewise.
10457         * java/text/NumberFormat.java: Likewise.
10458         * java/awt/Window.java: Likewise.
10459
10460 2004-06-14  Andrew Haley  <aph@redhat.com>
10461
10462         * java/lang/System.java: (getenv0): New method.
10463         (getenv): Add security check.  Do the right thing.
10464         * java/lang/natSystem.cc (getenv0): New method.
10465
10466 2004-06-12  Mark Wielaard  <mark@klomp.org>
10467
10468         * javax/swing/RepaintManager.java
10469         (paintDirtyRegions): Use entrySet(), not values().
10470
10471 2004-06-10  Mark Wielaard  <mark@klomp.org>
10472
10473         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10474         NoSuchMethodError.
10475
10476 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
10477
10478         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
10479         when we already know the answer.
10480         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10481         (setStartRule,setEndRule): Don't take abs of day number.
10482         (getOffset): Clarify docs.  Add argument checks.
10483         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10484         (equals,hasSameRules,toString,readObject): Use startTimeMode and
10485         endTimeMode.
10486
10487 2004-06-10  Tom Tromey  <tromey@redhat.com>
10488
10489         * interpret.cc (run): Handle wide fload.
10490
10491 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
10492
10493         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10494
10495 2004-06-05  Michael Koch  <konqueror@gmx.de>
10496
10497         * javax/swing/SwingConstants.java
10498         (NEXT): New constant.
10499         (PREVIOUS): Likewise.
10500
10501 2004-06-05  Michael Koch  <konqueror@gmx.de>
10502
10503         * javax/swing/UIManager.java
10504         (LookAndFeel): Made public.
10505         (LookAndFeel.getName): Likewise.
10506         (LookAndFeel.getClassName): Likewise.
10507
10508 2004-06-03  Michael Koch  <konqueror@gmx.de>
10509
10510         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10511         (requestFocus): Revert last changes.
10512         (gtkRequestFocus): Removed.
10513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10514         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10515         Renamed to ...
10516         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10517         Reverted last patch.
10518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10519         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10520         Reverted comment change.
10521
10522 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10523
10524         * javax/swing/JCheckBoxMenuItem.java:
10525         Removed CVS tags.
10526         * javax/swing/JMenu.java: Likewise.
10527         * javax/swing/JMenuBar.java: Likewise.
10528         * javax/swing/JMenuItem.java: Likewise.
10529         * javax/swing/JPopupMenu.java: Likewise.
10530         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10531         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10532         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10533         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10534         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10535         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10536         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10537
10538 2004-06-01  Tom Tromey  <tromey@redhat.com>
10539
10540         * java/io/ObjectStreamField.java: Cleaned up imports.
10541
10542 2004-06-01  Michael Koch  <konqueror@gmx.de>
10543
10544         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10545
10546 2004-06-01  Mark Wielaard  <mark@klomp.org>
10547
10548         * java/io/Writer.java (Writer(Object)): Fixed API doc.
10549
10550 2004-06-01  Michael Koch  <konqueror@gmx.de>
10551
10552         * java/security/Security.java
10553         (insertProviderAt): Use equals() instead of ==.
10554         (removeProvicer): Likewise.
10555         (getProvider): Likewise.
10556         * java/security/Signature.java
10557         (sign): Don't set state to UNINITIALIZED.
10558         (verify): Likewise.
10559
10560 2004-06-01  Mark Wielaard  <mark@klomp.org>
10561
10562         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10563         Implement by calling gtkRequestFocus.
10564         (gtkRequestFocus): New native method.
10565         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10566         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10567         Renamed to ...
10568         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10569         New function name.
10570         (filter_expose_event_handler):
10571         Mark static.
10572         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10573         (menu_pos): Mark static.
10574
10575 2004-06-01  Michael Koch  <konqueror@gmx.de>
10576
10577         * java/text/CollationElementIterator.java,
10578         java/text/CollationKey.java,
10579         java/text/RuleBasedCollator.java: New versions from GNU classpath.
10580         * testsuite/libjava.mauve/xfails: Removed all
10581         java.text.CollationElementIterator tests.
10582
10583 2004-06-01  Michael Koch  <konqueror@gmx.de>
10584
10585         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10586         version.
10587         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10588         Java 1.5 keyword usage.
10589
10590 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10591
10592         * javax/swing/plaf/basic/BasicMenuUI.java:
10593         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10594         Call getPath() from super class instead.
10595
10596 2004-05-31  Michael Koch  <konqueror@gmx.de>
10597
10598         * java/io/SequenceInputStream.java:
10599         Rename enum to e because enum is a keyword in Java 1.5.
10600
10601 2004-05-31  Michael Koch  <konqueror@gmx.de>
10602
10603         * gnu/java/rmi/rmic/CompilerProcess.java:
10604         Fixed javadoc to by XHTML compliant.
10605
10606 2004-05-30  Mark Wielaard  <mark@klomp.org>
10607
10608         * java/awt/Toolkit.java (loadSystemColors): Implement.
10609
10610 2004-05-30  Michael Koch  <konqueror@gmx.de>
10611
10612         * java/lang/System.java: Reordered imports.
10613
10614 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
10615
10616         * java/text/DecimalFormat.java
10617         (parse): Fixed parsing of decimal strings. Number of maximum
10618         digits to be read should now work.
10619         * java/text/SimpleDateFormat.java
10620         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10621         formatter. This fixes DateFormatTest.
10622
10623 2004-05-30  Michael Koch  <konqueror@gmx.de>
10624
10625         * java/nio/Buffer.java
10626         (limit): Fixed off by one error.
10627         * java/nio/CharBuffer.java
10628         (wrap): Fixed arguments, added javadocs.
10629
10630 2004-05-30  Michael Koch  <konqueror@gmx.de>
10631
10632         * gnu/java/beans/BeanInfoEmbryo.java,
10633         java/awt/im/InputContext.java,
10634         javax/swing/tree/DefaultMutableTreeNode.java:
10635         Rename enum to e because enum is a keyword in Java 1.5.
10636
10637 2004-05-30  Michael Koch  <konqueror@gmx.de>
10638
10639         * gnu/java/math/MPN.java,
10640         java/awt/geom/Arc2D.java:
10641         Fixed javadocs all over.
10642
10643 2004-05-30  Michael Koch  <konqueror@gmx.de>
10644
10645         * java/awt/DefaultKeyboardFocusManager.java
10646         (dispatchEvent): Call method to get key event dispatchers.
10647         (dispatchKeyEvent): Call method to get key event post processors.
10648         * javax/swing/JComponent.java
10649         (listenerList): Made protected.
10650         * javax/swing/JOptionPane.java
10651         (message): Don't initialize.
10652         (JOptionPane): Set message text.
10653         * javax/swing/JPopupMenu.java
10654         (show): Fixed typo in argument name.
10655         * javax/swing/RepaintManager.java
10656         (paintDirtyRegions): Use public API of java.util.Map.
10657         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10658         (positionForMouseEvent): Removed redundant ';'.
10659         (continueDrag): Use method arguments.
10660
10661 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
10662
10663         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10664         results.
10665
10666 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
10667
10668         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10669         _Jv_AllocBytes.
10670         * gnu/gcj/RawDataManaged.java: New file.
10671         * java/lang/Thread.java (data): Declare as RawDataManaged.
10672         * java/lang/natThread.cc (init_native): Cast natThread data to
10673         RawDataManaged, not jobject.
10674         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10675         * Makefile.in: Rebuilt.
10676
10677 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
10678
10679         * java/util/SimpleTimeZone.java: Reverting my last change until I
10680         can fix it properly.
10681
10682 2004-05-27  Michael Koch  <konqueror@gmx.de>
10683
10684         * javax/swing/JPopupMenu.java
10685         (isVisible): Do not use visible directly.
10686         (setVisible): Likewise.
10687         * javax/swing/JWindow.java
10688         (JWindow): call accessible constructor.
10689         * javax/swing/RepaintManager.java
10690         (paintDirtyRegions): Use public methods to obtain iterator.
10691
10692 2004-05-25  David Jee  <djee@redhat.com>
10693
10694         * java/awt/Container.java
10695         (remove): Set component's parent to null only after we removed the
10696         component from its parent's layout manager.
10697
10698 2004-05-25  David Jee  <djee@redhat.com>
10699
10700         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10701         (GtkComponentPeer): Set bounds regardless of whether awtComponent
10702         is valid.
10703         * gnu/java/awt/peer/gtk/GtkListPeer.java
10704         (getSize): Change native method declaration.
10705         (minimumSize): Pass visible row count into getSize().
10706         (preferredSize): Likewise.
10707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10708         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10709         natural size. Use visible row count to determine the final height
10710         value to return.
10711
10712 2004-05-21  Graydon Hoare  <graydon@redhat.com>
10713
10714         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10715         (setClip): Minor correction to order of operations.
10716
10717         * javax/swing/JScrollPane.java: Extend sketchy implementation.
10718         * javax/swing/ScrollPaneLayout.java: Likewise.
10719         * javax/swing/JViewPort.java: Likewise.
10720         * javax/swing/ViewportLayout.java: Likewise.
10721
10722         * javax/swing/JComponent.java: Rewrite.
10723         * javax/swing/RepaintManager.java: Likewise.
10724
10725         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10726         * javax/swing/JList.java
10727         (setSelectedIndices):
10728         (getSelectedIndices):
10729         (getSelectedValues): New functions.
10730         (getPreferredScrollableViewportSize): Return preferred size.
10731         (getScrollableUnitIncrement):
10732         (getScrollableBlockIncrement): Initial implementations.
10733         * javax/swing/JRootPane.java: Clean up slightly.
10734         (getUI):
10735         (setUI):
10736         (updateUI):
10737         (getUIClassID):
10738         (isValidateRoot): Add overrides from JComponent.
10739         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10740         * javax/swing/UIManager.java (getDimension): Return the dimension.
10741
10742         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10743         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10744         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10745         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10746         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10747         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10748         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10749         * javax/swing/plaf/basic/BasicRootPaneUI.java:
10750         Likewise, and set background.
10751         * javax/swing/plaf/basic/BasicListUI.java:
10752         Likewise, and improve a bit.
10753         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10754         Likewise, and adjust calculations.
10755         * javax/swing/plaf/basic/BasicViewportUI.java:
10756         Likewise, and improve a bit.
10757         * javax/swing/plaf/basic/BasicLookAndFeel.java
10758         (Button.margin): Shrink.
10759
10760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10761         Hack to set horizontal always, workaround pango.
10762
10763         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10765         Synchronize more often, check cairo status after ops,
10766         handle changes to cairo pattern API, check for disposal.
10767
10768 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
10769
10770         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10771         (BasicMenuItemUI): Create propertyChangeListener.
10772         (getPath):Implemented.
10773         (installListeners): Add propertyChangeListener to menuItem.
10774         (uninstallListeners): Remove propertyChangeListener from menuItem.
10775         (update): Implemented.
10776         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10777         (mouseEntered): Take insets of popup menu into account when
10778         calculating position of popup menu.
10779
10780 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10781
10782         * Makefile.am: Added new file.
10783         * Makefile.in: Regenerate.
10784         * javax/swing/JMenuBar.java:
10785         Started implementation.
10786         * javax/swing/JPopupMenu.java:
10787         (setVisible): Fixed location of lightweight/mediumweight
10788         popup menu.
10789         (show): Fixed location of PopupMenu.
10790         * javax/swing/plaf/basic/BasicMenuBarUI.java:
10791         New file. UI Delegate for JMenuBar.
10792         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10793         (mouseEntered): Corrected position of the submenu.
10794
10795 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
10796
10797         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
10798         to _gtk_accel_group_attach.
10799         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
10800         Likewise.
10801
10802         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
10803         package access.  Don't override setFont.
10804         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
10805         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
10806         gtkWidgetRequestFocus package access.
10807         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
10808         setFont.
10809         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
10810         Give gtkWidgetRequestFocus package access.
10811         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
10812         gtkWidgetRequestFocus package access.  Don't override setFont.
10813         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
10814         setFont.
10815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10816         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
10817         region.
10818         (gtkSetFont): Likewise.
10819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
10820         Implement.
10821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10822         (gtkSetFont): Whitespace fix.
10823
10824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10825         (gtkWidgetSetUsize): Remove method.
10826
10827 2004-05-18  David Jee  <djee@redhat.com>
10828
10829         * java/awt/image/MemoryImageSource.java
10830         (newPixels(int,int,int,int,boolean)): Set only the specified
10831         rectangle of pixels.
10832         (newPixels(byte[],ColorModel,int,int)): Implement.
10833         (newPixels(int[],ColorModel,int,int)): Implement.
10834
10835 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10836
10837         * Makefile.am: Added new file.
10838         * Makefile.in: Regenerate.
10839         * javax/swing/JMenu.java: Started
10840         implementation.
10841         * javax/swing/JPopupMenu.java:
10842         (insert): If specified index is -1, then
10843         add component at the end.
10844         (isPopupTrigger): Reimplemented.
10845         (JPopupMenu.LightWeightPopup): setBounds
10846         of the lightWeightPopup before adding it
10847         to the layeredPane.
10848         (javax/swing/plaf/basic/BasicIconFactory.java):
10849         (getMenuArrowIcon): Implemented.
10850         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10851         (getPreferredSize): Add size of the arrow icon
10852         if this menu item is instance of JMenu.
10853         (paintMenuItem): Paint arrow icon if this
10854         menu item is a submenu.
10855         * javax/swing/plaf/basic/BasicMenuUI.java:
10856         New File. UI Delegate for JMenu.
10857
10858 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
10859
10860         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
10861         Post KEY_TYPED events.
10862         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10863         (generates_key_typed_event): Remove function.
10864
10865 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
10866
10867         * javax/swing/JRootPane.java
10868         (JRootPane.RootLayout): Reimplemented to
10869         set bounds of contentPane and menuBar.
10870         (setJMenuBar): Add menu bar to the layered pane.
10871         (createLayeredPane): Set layout of layeredPane
10872         to null.
10873         * javax/swing/JLayeredPane.java:
10874         (addImpl): Calculate index of the component in the
10875         layeredPane according to the specified position within
10876         the layer.
10877
10878 2004-05-17  David Jee  <djee@redhat.com>
10879
10880         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10881         (setPixels): Change color model to the default model after
10882         converting pixels.
10883         * java/awt/image/MemoryImageSource.java
10884         (newPixels): Set only the specified rectangle of pixels.
10885
10886 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10887
10888         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
10889         -l-java-beans -l-javax-accessibility -l-javax-swing.
10890
10891         * java/awt/AWTEvent.java (toString): Print source's name rather
10892         than the source itself.
10893
10894 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
10895
10896         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
10897         native.
10898         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
10899         (gdk_color_to_java_color): New function.
10900         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
10901
10902 2004-05-12  David Jee  <djee@redhat.com>
10903
10904         * java/awt/image/RGBImageFilter.java:
10905         Initialize origmodel as null.
10906         (makeColor): Fix pixel component order.
10907         (filterRGBPixels): Fix pixel iteration.
10908         (setPixels): Add extra checks for index color model. Convert pixels
10909         to default color model if necessary.
10910         (convertColorModelToDefault): New override method for byte pixels.
10911         (convertColorModelToDefault): For int pixels, fix pixel iteration.
10912         (makeColorbyDefaultCM): New override method for byte pixels.
10913         (makeColorbyDefaultCM): For int pixel, add color model as argument.
10914         (makeColor): Fix pixel component order.
10915
10916 2004-05-11  Kim Ho  <kho@redhat.com>
10917
10918         * javax/swing/Box.java:
10919         Comment out more parts of Box.Filler.
10920
10921 2004-05-11  Kim Ho  <kho@redhat.com>
10922
10923         * javax/swing/Box.java:
10924         Remove reference to AccessibleAWTComponent so
10925         it compiles again.
10926
10927 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
10928
10929         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10930         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
10931         implementation of list peer to use GtkTreeView instead of
10932         deprecated GtkCList.
10933
10934 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
10935
10936         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10937         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
10938         (handleEvent): Remove keyChar argument to
10939         gtkWidgetDispatchKeyEvent calls.
10940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
10941         compiler warnings.
10942         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
10943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
10944         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
10945         Likewise.
10946
10947 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
10948
10949         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10950         (gtkWidgetRequestFocus): Mark protected.
10951         (GtkComponentPeer): Only set the peer's bounds if its component
10952         is valid.
10953         * java/awt/Component.java (static): Set the default keyboard
10954         focus manager.
10955         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
10956         requestFocusInWindow(temporary)): Don't request focus if the
10957         component is not showing.  Get tree lock before traversing
10958         component hierarchy.
10959         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
10960         Only set the global focus owner if it is not a Window.
10961         (processKeyEvent): Consume keystrokes associated with the focus
10962         traversal keystroke.
10963         (focusPreviousComponent, focusNextComponent, upFocusCycle,
10964         downFocusCycle): Call requestFocusInWindow instead of
10965         requestFocus.
10966         * java/awt/EventDispatchThread.java (run): Move setting of
10967         default keyboard focus manager to Component.java.
10968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10969         (awt_keycode_to_keysym): New function.
10970         (gtkWidgetDispatchKeyEvent): Finish implementation.
10971         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10972         (pre_event_handler): Add FIXME comment.
10973
10974         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10975         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10976         (gtkWidgetRequestFocus): New method.
10977         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
10978         disable Tab and Shift-Tab keystrokes.
10979         (addNotify, appendText, insertText, replaceText): Simplify peer
10980         retrieval code.
10981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
10982         (connectSignals): Remove connections to "commit" signals.
10983         Remove C++-style comments.
10984
10985         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10986         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10987         (handleEvent): Activate GTK button when the space bar key is
10988         pressed.
10989         (gtkActivate): New method.
10990
10991 2004-05-06  David Jee  <djee@redhat.com>
10992
10993         * java/awt/image/CropImageFilter.java
10994         (setPixels): Implement for byte array pixels.
10995         * java/awt/image/ReplicateScaleFilter.java
10996         (setPixels): Implement for byte array pixels.
10997         (replicatePixels): Overload for byte array pixels.
10998
10999 2004-05-06  Kim Ho  <kho@redhat.com>
11000
11001         * javax/swing/Box.java:
11002         (getAccessibleContext): Return an instance of the
11003         correct class.
11004
11005 2004-05-05  David Jee  <djee@redhat.com>
11006
11007         * gnu/java/awt/peer/gtk/GdkGraphics.java
11008         (drawImage): When component is null, use SystemColor.window as
11009         the default bgcolor.
11010         * gnu/java/awt/peer/gtk/GtkImage.java
11011         (setPixels): We can avoid iterating through the pixel rows only
11012         when height is 1.
11013         * java/awt/Image.java
11014         (getScaledInstance): Partially implement.
11015         * java/awt/image/CropImageFilter.java
11016         (setProperties): Fix "filter" property.
11017         (setPixels): Implement.
11018         * java/awt/image/ReplicateScaleFilter.java
11019         (setDimensions): Use scaled dimensions.
11020         (setPixels): Implement.
11021         (replicatePixels): New method.
11022
11023 2004-05-05  David Jee  <djee@redhat.com>
11024
11025         * gnu/java/awt/peer/gtk/GtkImagePainter.java
11026         (convertPixels): If either pixels or model is null, return null.
11027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
11028         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
11029         is null, do nothing and return.
11030
11031 2004-05-03  Kim Ho  <kho@redhat.com>
11032
11033         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
11034         (getGraphics): Like GtkFramePeer, the Graphics
11035         object needs to be translate to account for
11036         window decorations.
11037         (postMouseEvent): New method. Account for
11038         translation.
11039         (postExposeEvent): ditto.
11040         * javax/swing/Box.java: Stubbed.
11041         * javax/swing/JDialog.java: Ran through jalopy
11042         to fix indentation.
11043         (JDialog): Call SwingUtilities' getOwnerFrame
11044         for null owners.
11045         (setLayout): Check isRootPaneCheckingEnabled
11046         * javax/swing/JOptionPane.java: Re-implemented.
11047         * javax/swing/SwingUtilities.java:
11048         (getOwnerFrame): Static method to grab a default
11049         owner frame for Dialogs that don't specify owners.
11050         * javax/swing/event/SwingPropertyChangeSupport.java:
11051         (firePropertyChange): Fix early exit condition.
11052         * javax/swing/plaf/basic/BasicLabelUI.java:
11053         (paint): Avoid painting text if it is null
11054         or empty.
11055         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11056         Implement.
11057
11058 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
11059
11060         * Makefile.am: Added new file.
11061         * Makefile.in: Regenerate.
11062         * javax/swing/JPopupMenu.java:
11063         Started implementation.
11064         * javax/swing/JWindow.java
11065         (JWindow): call super() if parent for window
11066         is not specified.
11067         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11068         New File. UI Delegate for JPopupMenu.
11069
11070 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
11071
11072         * javax/swing/JApplet.java: Indicated that JApplet
11073         implements RootPaneContainer and made method of this
11074         interface public.
11075         * javax/swing/JFrame.java: Ditto.
11076         * javax/swing/JWindow.java: Ditto.
11077
11078 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
11079
11080         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11081         (nativeSetBounds): Call gdk_window_move in addition to
11082         gtk_window_move.
11083
11084         * java/applet/Applet.java (preferredSize): Call parent's
11085         preferredSize if the applet stub is null.
11086         (minimumSize): Likewise for parent's minimumSize.
11087
11088 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
11089
11090         * javax/swing/JMenuItem.java
11091         (createActionPropertyChangeListener): Implemented.
11092         (processMouseEvent): Ditto.
11093         (fireMenuDragMouseEntered): Ditto.
11094         (fireMenuDragMouseExited): Ditto.
11095         (fireMenuDragMouseDragged): Ditto.
11096         (fireMenuDragMouseReleased): Ditto.
11097         (menuSelectionChanged): Ditto.
11098         (getSubElements): Ditto.
11099         (getComponent): Ditto.
11100         (addMenuDragMouseListener): Ditto.
11101         (removeMenuDragMouseListener):Ditto.
11102         (addMenuKeyListener): Ditto.
11103         (removeMenuKeyListener): Ditto.
11104         * javax/swing/plaf/basic/BasicMenuItemUI.java
11105         (doClick): Imlemented.
11106         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11107         Don't handle mouse events here. Pass them to
11108         MenuSelectionManager.
11109
11110 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11111         Used correct version of jalopy configuration
11112         file to fix style in the files below.
11113
11114 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11115
11116         * javax/swing/JCheckBoxMenuItem.java:
11117         Fixed style and removed unnecessary comments.
11118         * javax/swing/JMenuItem.java: Ditto.
11119         * javax/swing/JRadioButtonMenuItem.java: Ditto.
11120         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11121         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11122         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11123
11124 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
11125
11126         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11127         C-style.
11128
11129         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11130
11131         * java/awt/ContainerOrderFocusTraversalPolicy.java
11132         (getComponentAfter): Start from current component and work up
11133         the component hierarchy until an acceptable component is found.
11134         Synchronize on tree lock.
11135         (getComponentBefore): Likewise.
11136
11137 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11138
11139         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11140         focus-related debugging messages.
11141         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11142         * java/awt/EventDispatchThread.java: Likewise.
11143         * java/awt/KeyboardFocusManager.java: Likewise.
11144         * java/awt/Window.java: Likewise.
11145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11147
11148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11149         new C++-style comments to C-style comments.
11150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11151
11152         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11153         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11154         (handleEvent): Dispatch key press and key release events to
11155         backing widget.
11156         (requestFocus): Post a FOCUS_GAINED event to the event queue.
11157         (gtkWidgetRequestFocus): New method.
11158         (gtkWidgetDispatchKeyEvent): Likewise.
11159         * java/awt/Component.java (requestFocus, requestFocus(boolean),
11160         requestFocusInWindow, requestFocusInWindow(boolean),
11161         getFocusCycleRootAncestor, nextFocus, transferFocus,
11162         transferFocusBackward, transferFocusUpCycle, hasFocus,
11163         isFocusOwner): Implement and document focus-handling methods.
11164         (setFocusTraversalKeys): Inherit focus traversal keys when
11165         keystrokes argument is null.  Fix focus-handling documentation
11166         throughout class.
11167         * java/awt/Container.java (setFocusTraversalKeys,
11168         getFocusTraversalKeys, areFocusTraversalKeysSet,
11169         isFocusCycleRoot, setFocusTraversalPolicy,
11170         getFocusTraversalPolicy, isFocusTraversalPolicySet,
11171         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11172         Implement and document focus-handling methods.
11173         (transferFocusBackward): Remove method.
11174         (readObject, writeObject): Implement and document serialization
11175         methods.
11176         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11177         and document.
11178         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11179         document.
11180         * java/awt/DefaultKeyboardFocusManager.java: Implement and
11181         partially document.
11182         * java/awt/EventDispatchThread.java (run): Set default keyboard
11183         focus manager.  Attempt to dispatch each event to the keyboard
11184         focus manager before normal dispatch.
11185         * java/awt/KeyboardFocusManager.java: Implement and partially
11186         document.
11187         * java/awt/Window.java (Window): Set focusCycleRoot to true.
11188         (show): Focus initial component when window is shown for the
11189         first time.
11190         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11191         (pre_event_handler): Replace complex key press and key release
11192         logic with simple callbacks into GtkComponentPeer.
11193         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11194
11195 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
11196
11197         * javax/swing/MenuSelectionManager.java
11198         (componentForPoint): Added new method.
11199         (defaultManager): New Method. Implemented.
11200         (getSelectedPath): Ditto.
11201         (isComponentPartOfCurrentMenu): Ditto.
11202         (processKeyEvent): Added new method.
11203         (processMouseEvent): New Method. Implemented.
11204         (setSelectedPath): Ditto.
11205         (getPath): Ditto.
11206
11207 2004-04-19  Kim Ho  <kho@redhat.com>
11208
11209         * java/awt/Container.java:
11210         (remove): Set the component's parent to null.
11211         (getComponentAt): Implement.
11212         * javax/swing/JComponent.java:
11213         (JComponent): Initialize defaultLocale
11214         (getDefaultLocale): Implement.
11215         (setDefaultLocale): ditto.
11216         * javax/swing/JSlider.java:
11217         (JSlider): Fix calculation of value.
11218         * javax/swing/JSplitPane.java: Implement.
11219         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11220         Change SplitPane's default divider size.
11221         * javax/swing/plaf/basic/BasicScrollBarUI.java:
11222         (paint): Remove unused code.
11223         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11224         Added comments and ran through jalopy.
11225         (setBasicSplitPaneUI): Get reference to hidden divider
11226         and set up one touch buttons if necessary.
11227         (setBorder): Fire propertyChangeEvent only if
11228         borders are different.
11229         (getPreferredSize): Defer to layout manager.
11230         (propertyChange): Implement.
11231         (oneTouchExpandableChanged): ditto.
11232         (createLeftOneTouchButton): Use BasicArrowButton.
11233         (createRightOneTouchButton): ditto.
11234         (moveDividerTo): New method. Moves the divider
11235         to a set location based on the last divider location.
11236         (BasicSplitPaneDivider::MouseHandler): Implement.
11237         (BasicSplitPaneDivider::OneTouchButton): Removed.
11238         (BasicSplitPaneDivider::DragController): Implement.
11239         (BasicSplitPaneDivider::VerticalDragController):
11240         ditto.
11241         (BasicSplitPaneDivider::DividerLayout): ditto.
11242         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11243         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11244         (calculateLayoutInfo): Don't show component if it's
11245         null.
11246         (paintTab): Fix title paint logic.
11247
11248 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
11249
11250         PR libgcj/8321
11251         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11252         (setStartRule,setEndRule): Don't take abs of day number.
11253         (getOffset): Clarify docs.  Add argument checks.
11254         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11255         (equals,hasSameRules,toString,readObject): Use startTimeMode and
11256         endTimeMode.
11257         * testsuite/libjava.mauve/xfails
11258         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11259
11260 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
11261
11262         Layout interfaces during preparation, not initialization.
11263         * java/lang/natClass.cc (initializeClass): Move
11264         _Jv_LayoutInterfaceMethods call...
11265         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11266
11267 2004-05-19  Anthony Green  <green@localhost.localdomain>
11268
11269         * Makefile.am (awt_java_source_files): Remove javax.rmi and
11270         gnu.javax.rmi code.
11271         * Makefile.in: Rebuilt.
11272         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11273         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11274         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11275         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11276         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11277         gnu/javax/rmi/CORBA/DelegateFactory.java,
11278         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11279         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11280         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11281         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11282         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11283         gnu/javax/rmi/PortableServer.java: Remove files.
11284
11285 2004-05-19  Anthony Green  <green@redhat.com>
11286
11287         * Makefile.am: Define JAVA_EXT_DIRS.
11288         * Makefile.in: Rebuilt.
11289         * java/lang/natRuntime.cc (insertSystemProperties): Set
11290         java.ext.dirs property.
11291
11292 2004-05-16  Mark Wielaard  <mark@klomp.org>
11293
11294         * java/io/Writer.java (Writer(Object)): Check for null lock object.
11295
11296 2004-05-15  Mark Wielaard  <mark@klomp.org>
11297
11298         * doc/cni.sgml: Removed, merged into gcj.texi.
11299
11300 2004-05-15  Mark Wielaard  <mark@klomp.org>
11301
11302         * Makefile.am (ordinary_java_source_files): Add new javax.print
11303         classes.
11304         * Makefile.in: Regenerated.
11305
11306 2004-05-15  Michael Koch  <konqueror@gmx.de>
11307
11308         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11309         javax/print/attribute/standard/DateTimeAtCreation.java,
11310         javax/print/attribute/standard/DateTimeAtProcessing.java,
11311         javax/print/attribute/standard/DocumentName.java,
11312         javax/print/attribute/standard/JobHoldUntil.java,
11313         javax/print/attribute/standard/JobImpressionsCompleted.java,
11314         javax/print/attribute/standard/JobMessageFromOperator.java,
11315         javax/print/attribute/standard/JobName.java,
11316         javax/print/attribute/standard/JobOriginatingUserName.java,
11317         javax/print/attribute/standard/JobPriority.java,
11318         javax/print/attribute/standard/JobPrioritySupported.java,
11319         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11320         javax/print/attribute/standard/OutputDeviceAssigned.java,
11321         javax/print/attribute/standard/PrinterInfo.java,
11322         javax/print/attribute/standard/PrinterLocation.java,
11323         javax/print/attribute/standard/PrinterMakeAndModel.java,
11324         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11325         javax/print/attribute/standard/PrinterName.java,
11326         javax/print/attribute/standard/QueuedJobCount.java,
11327         javax/print/attribute/standard/RequestingUserName.java:
11328         Fixed javadocs all over.
11329
11330 2004-05-15  Michael Koch  <konqueror@gmx.de>
11331
11332         * javax/print/DocFlavor.java,
11333         javax/print/attribute/standard/ColorSupported.java,
11334         javax/print/attribute/standard/Compression.java,
11335         javax/print/attribute/standard/CopiesSupported.java,
11336         javax/print/attribute/standard/Fidelity.java,
11337         javax/print/attribute/standard/Finishings.java,
11338         javax/print/attribute/standard/JobImpressionsSupported.java,
11339         javax/print/attribute/standard/JobKOctetsSupported.java,
11340         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11341         javax/print/attribute/standard/JobSheets.java,
11342         javax/print/attribute/standard/JobState.java,
11343         javax/print/attribute/standard/JobStateReason.java,
11344         javax/print/attribute/standard/JobStateReasons.java,
11345         javax/print/attribute/standard/Media.java,
11346         javax/print/attribute/standard/MediaSizeName.java,
11347         javax/print/attribute/standard/MultipleDocumentHandling.java,
11348         javax/print/attribute/standard/NumberUpSupported.java,
11349         javax/print/attribute/standard/OrientationRequested.java,
11350         javax/print/attribute/standard/PDLOverrideSupported.java,
11351         javax/print/attribute/standard/PageRanges.java,
11352         javax/print/attribute/standard/PresentationDirection.java,
11353         javax/print/attribute/standard/PrintQuality.java,
11354         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11355         javax/print/attribute/standard/PrinterMoreInfo.java,
11356         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11357         javax/print/attribute/standard/PrinterResolution.java,
11358         javax/print/attribute/standard/PrinterState.java,
11359         javax/print/attribute/standard/PrinterStateReason.java,
11360         javax/print/attribute/standard/PrinterStateReasons.java,
11361         javax/print/attribute/standard/PrinterURI.java,
11362         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11363         javax/print/attribute/standard/Severity.java,
11364         javax/print/attribute/standard/SheetCollate.java,
11365         javax/print/attribute/standard/Sides.java:
11366         Added serialVersionUID and removed final keyword where it doenst
11367         belong.
11368
11369 2004-05-15  Michael Koch  <konqueror@gmx.de>
11370
11371         * javax/print/PrintServiceLookup.java: New file.
11372
11373 2004-05-15  Michael Koch  <konqueror@gmx.de>
11374
11375         * javax/print/DocFlavor.java:
11376         Implemented all flavor classes.
11377
11378 2004-05-15  Michael Koch  <konqueror@gmx.de>
11379
11380         * javax/print/attribute/standard/ColorSupported.java,
11381         javax/print/attribute/standard/Compression.java,
11382         javax/print/attribute/standard/CopiesSupported.java,
11383         javax/print/attribute/standard/Fidelity.java,
11384         javax/print/attribute/standard/Finishings.java,
11385         javax/print/attribute/standard/JobImpressionsSupported.java,
11386         javax/print/attribute/standard/JobKOctetsSupported.java,
11387         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11388         javax/print/attribute/standard/JobSheets.java,
11389         javax/print/attribute/standard/JobState.java,
11390         javax/print/attribute/standard/JobStateReason.java,
11391         javax/print/attribute/standard/JobStateReasons.java,
11392         javax/print/attribute/standard/Media.java,
11393         javax/print/attribute/standard/MediaSizeName.java,
11394         javax/print/attribute/standard/MultipleDocumentHandling.java,
11395         javax/print/attribute/standard/NumberUpSupported.java,
11396         javax/print/attribute/standard/OrientationRequested.java,
11397         javax/print/attribute/standard/PDLOverrideSupported.java,
11398         javax/print/attribute/standard/PageRanges.java,
11399         javax/print/attribute/standard/PresentationDirection.java,
11400         javax/print/attribute/standard/PrintQuality.java,
11401         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11402         javax/print/attribute/standard/PrinterMoreInfo.java,
11403         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11404         javax/print/attribute/standard/PrinterResolution.java,
11405         javax/print/attribute/standard/PrinterState.java,
11406         javax/print/attribute/standard/PrinterStateReason.java,
11407         javax/print/attribute/standard/PrinterStateReasons.java,
11408         javax/print/attribute/standard/PrinterURI.java,
11409         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11410         javax/print/attribute/standard/Severity.java,
11411         javax/print/attribute/standard/SheetCollate.java,
11412         javax/print/attribute/standard/Sides.java: New files.
11413
11414 2004-05-15  Michael Koch  <konqueror@gmx.de>
11415
11416         * javax/print/Doc.java
11417         (getPrintData): Throws IOException.
11418         (getReaderForText): Likewise.
11419         (getStreamForBytes): Likewise.
11420         * javax/print/DocFlavor.java:
11421         Fixed filename in copyright.
11422         (serialVersionUID): New field.
11423         * javax/print/ServiceUIFactory.java:
11424         Made all constants final.
11425         * javax/print/AttributeException.java
11426         javax/print/MultiDoc.java
11427         javax/print/MultiDocPrintJob.java
11428         javax/print/MultiDocPrintService.java
11429         javax/print/StreamPrintService.java
11430         javax/print/URIException.java: New files.
11431         * javax/print/Makefile.am
11432         (EXTRA_DIST): Added all new files.
11433
11434 2004-05-15  Michael Koch  <konqueror@gmx.de>
11435
11436         * javax/print/attribute/standard/Copies.java,
11437         javax/print/attribute/standard/DateTimeAtCompleted.java,
11438         javax/print/attribute/standard/DateTimeAtCreation.java,
11439         javax/print/attribute/standard/DateTimeAtProcessing.java,
11440         javax/print/attribute/standard/DocumentName.java,
11441         javax/print/attribute/standard/JobHoldUntil.java,
11442         javax/print/attribute/standard/JobImpressions.java,
11443         javax/print/attribute/standard/JobImpressionsCompleted.java,
11444         javax/print/attribute/standard/JobKOctets.java,
11445         javax/print/attribute/standard/JobKOctetsProcessed.java,
11446         javax/print/attribute/standard/JobMediaSheets.java,
11447         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11448         javax/print/attribute/standard/JobMessageFromOperator.java,
11449         javax/print/attribute/standard/JobName.java,
11450         javax/print/attribute/standard/JobOriginatingUserName.java,
11451         javax/print/attribute/standard/JobPriority.java,
11452         javax/print/attribute/standard/JobPrioritySupported.java,
11453         javax/print/attribute/standard/NumberOfDocuments.java,
11454         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11455         javax/print/attribute/standard/NumberUp.java,
11456         javax/print/attribute/standard/OutputDeviceAssigned.java,
11457         javax/print/attribute/standard/PagesPerMinute.java,
11458         javax/print/attribute/standard/PagesPerMinuteColor.java:
11459         Fixed @return tag all over.
11460
11461 2004-05-15  Michael Koch  <konqueror@gmx.de>
11462
11463         * javax/print/attribute/AttributeSetUtilities.java
11464         (verifyCategoryForValue): Fixed typo in javadoc.
11465         * javax/print/attribute/HashAttributeSet.java
11466         (containsKey): Fixed @return tag.
11467         (comtainsValue): Likewise.
11468         (equals): Likewise.
11469         * javax/print/attribute/IntegerSyntax.java
11470         (equals): Likewise.
11471         * javax/print/attribute/ResolutionSyntax.java
11472         (equals): Likewise.
11473         (getCrossFeedResolution): Removed unused code.
11474         (getFeedResolution): Likewise.
11475         * javax/print/attribute/SetOfIntegerSyntax.java
11476         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11477         (equals): Fixed @return tag.
11478         * javax/print/attribute/TextSyntax.java
11479         (TextSyntax): Take locale into account.
11480         (hashCode): Better implementation.
11481
11482 2004-05-15  Michael Koch  <konqueror@gmx.de>
11483
11484         * javax/print/CancelablePrintJob.java,
11485         javax/print/Doc.java,
11486         javax/print/DocFlavor.java,
11487         javax/print/DocPrintJob.java,
11488         javax/print/FlavorException.java,
11489         javax/print/PrintException.java,
11490         javax/print/PrintService.java,
11491         javax/print/ServiceUIFactory.java: New files.
11492
11493 2004-05-15  Mark Wielaard  <mark@klomp.org>
11494
11495         * gnu/regexp/CharIndexedReader.java: Removed.
11496         * gnu/regexp/REFilterReader.java: Likewise.
11497         * gnu/regexp/RETokenLookAhead.java: Likewise.
11498         * Makefile.am (ordinary_java_source_files): Remove above classes.
11499         * Makefile.in: Regenerated.
11500
11501 2004-05-14  Tom Tromey  <tromey@redhat.com>
11502
11503         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11504         not `XGraphicsConfiguration.XOffScreenImage'.
11505
11506 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
11507
11508         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11509
11510 2004-05-14  Steven Augart  <augart@watson.ibm.com>
11511
11512         * include/jni.h (_Jv_func): Removed.
11513         (struct JNINativeInterface): Use `void *' for reserved slots.
11514         (struct JNIInvokeInterface): Likewise.
11515
11516 2004-05-11  Michael Koch  <konqueror@gmx.de>
11517
11518         * gnu/java/net/natPlainSocketImplPosix.cc
11519         (read): Fixed typo in expression.
11520
11521 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
11522
11523         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11524         ld_library_additions. Adjust all calls to libjava_invoke to match
11525         the new argument.
11526
11527         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11528         path to cxxflagslist.
11529         Pass path of libstdc++ to libjava_invoke.
11530
11531         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11532         libjava_invoke arguments.
11533
11534 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
11535
11536         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11537         reality.
11538
11539 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
11540
11541         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11542         main binary against the JNI shared library.
11543
11544 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11545
11546         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11547         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11548         (SimpleTimeZone): Tweak docs.  Add new variation.
11549         (setStartRule,setEndRule): Add new variations.  Use
11550         startTimeMode and endTimeMode.
11551
11552 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11553
11554         * java/util/Calendar.java (getActualMinimum,
11555         getActualMaximum):  Remove abstract.  Implement.
11556
11557 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11558
11559         Run the jni tests using the interpreter.
11560         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11561         options_cxx to shared lib compile command.
11562         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11563         they are used to link the shared lib, not the main binary.
11564         Use libjava_invoke to run gij.
11565
11566 2004-05-06  Michael Koch  <konqueror@gmx.de>
11567
11568         * java/util/logging/Level.java
11569         (parse): Use == instead of String.equals().
11570
11571 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11572
11573         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
11574         verify_field_signature and verify_method_signature, not
11575         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11576         (_Jv_ClassReader::handleField): Likewise.
11577         (_Jv_ClassReader::handleMethod): Likewise.
11578
11579 2004-05-06  Michael Koch  <konqueror@gmx.de>
11580
11581         * javax/swing/table/TableColumn.java:
11582         Reformated.
11583
11584 2004-05-06  Michael Koch  <konqueror@gmx.de>
11585
11586         * javax/imageio/spi/ImageReaderWriterSpi.java
11587         (ImageReaderWriterSpi): Made it public.
11588         * javax/imageio/stream/ImageInputStream.java:
11589         Clean up imports.
11590
11591 2004-05-06  Michael Koch  <konqueror@gmx.de>
11592
11593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11594         Removed empty line.
11595
11596 2004-05-06  Michael Koch  <konqueror@gmx.de>
11597
11598         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11599         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11600         New files.
11601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11602         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11604         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11605         their own source file.
11606         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11607         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11608         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11610         (create): Define variable on top of function.
11611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11612         (menu_pos): Prototyped.
11613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11614         (setTitle): Removed.
11615         * jni/gtk-peer/gthread-jni.c
11616         (gdk_threads_wake): Removed.
11617         * Makefile.am (gtk_c_source_files): Added new files
11618         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11619         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11620         * Makefile.in: Regenerated.
11621
11622 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
11623
11624         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11625         call.
11626
11627 2004-05-05  Mark Wielaard  <mark@klomp.org>
11628
11629         * javax/swing/AbstractButton.java: Replace special HTML entities with
11630         ASCII equivalent.
11631         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11632         * javax/swing/DefaultButtonModel.java: Likewise.
11633         * javax/swing/DefaultListModel.java: Likewise.
11634         * javax/swing/JList.java: Likewise.
11635         * javax/swing/JSlider.java: Likewise.
11636         * javax/swing/ListModel.java: Likewise.
11637         * javax/swing/Popup.java: Likewise.
11638         * javax/swing/SwingUtilities.java: Likewise.
11639
11640 2004-05-05  Michael Koch  <konqueror@gmx.de>
11641
11642         * javax/swing/AbstractButton.java,
11643         javax/swing/ActionMap.java,
11644         javax/swing/DefaultButtonModel.java,
11645         javax/swing/DefaultListModel.java,
11646         javax/swing/ImageIcon.java,
11647         javax/swing/JComboBox.java,
11648         javax/swing/JComponent.java,
11649         javax/swing/JFrame.java,
11650         javax/swing/JInternalFrame.java,
11651         javax/swing/JMenuBar.java,
11652         javax/swing/JMenuItem.java,
11653         javax/swing/JOptionPane.java,
11654         javax/swing/JProgressBar.java,
11655         javax/swing/JRootPane.java,
11656         javax/swing/JScrollBar.java,
11657         javax/swing/JScrollPane.java,
11658         javax/swing/JSeparator.java,
11659         javax/swing/JSlider.java,
11660         javax/swing/JTabbedPane.java,
11661         javax/swing/JTable.java,
11662         javax/swing/JTextField.java,
11663         javax/swing/JToolBar.java,
11664         javax/swing/JToolTip.java,
11665         javax/swing/JTree.java,
11666         javax/swing/JViewport.java,
11667         javax/swing/JWindow.java,
11668         javax/swing/KeyStroke.java,
11669         javax/swing/LookAndFeel.java,
11670         javax/swing/SwingUtilities.java,
11671         javax/swing/Timer.java,
11672         javax/swing/ToolTipManager.java,
11673         javax/swing/UIDefaults.java,
11674         javax/swing/border/TitledBorder.java,
11675         javax/swing/filechooser/FileSystemView.java,
11676         javax/swing/plaf/basic/BasicButtonListener.java,
11677         javax/swing/plaf/basic/BasicButtonUI.java,
11678         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11679         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11680         javax/swing/plaf/basic/BasicLabelUI.java,
11681         javax/swing/plaf/basic/BasicMenuItemUI.java,
11682         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11683         javax/swing/plaf/basic/BasicRootPaneUI.java,
11684         javax/swing/plaf/basic/BasicScrollBarUI.java,
11685         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11686         javax/swing/plaf/basic/BasicSliderUI.java,
11687         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11688         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11689         javax/swing/table/JTableHeader.java,
11690         javax/swing/text/AbstractDocument.java,
11691         javax/swing/text/DefaultCaret.java,
11692         javax/swing/text/StyledEditorKit.java,
11693         javax/swing/tree/DefaultTreeCellEditor.java:
11694         Cleaned up imports.
11695
11696 2004-05-05  Michael Koch  <konqueror@gmx.de>
11697
11698         * java/util/prefs/AbstractPreferences.java
11699         (AbstractPreferences): Added parenthesis for clarity.
11700         Closes classpath bug #7940.
11701
11702 2004-05-05  Tom Tromey  <tromey@redhat.com>
11703
11704         * javax/naming/CompoundName.java (endsWith): Look at correct
11705         element of source name.
11706
11707 2004-05-05  Mark Wielaard  <mark@klomp.org>
11708
11709         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11710         * java/util/HashMap.java (rehash): Add entry at start of bucket.
11711
11712 2004-05-05  Tom Tromey  <tromey@redhat.com>
11713
11714         * java/io/BufferedReader.java (skip): Removed unused
11715         variable.
11716
11717 2004-05-05  Michael Koch  <konqueror@gmx.de>
11718
11719         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11720
11721 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
11722
11723         * java/text/AttributedString.java,
11724         java/text/AttributedStringIterator.java,
11725         java/text/Collator.java,
11726         java/text/DecimalFormatSymbols.java,
11727         java/text/NumberFormat.java,
11728         java/text/RuleBasedCollator.java:
11729         Cleaned up imports.
11730
11731 2004-05-05  Tom Tromey  <tromey@redhat.com>
11732
11733         * java/text/Format.java: Cleaned up imports.
11734         * java/text/DecimalFormat.java: Cleaned up imports.
11735         * java/security/SecureRandom.java: Cleaned up imports.
11736         (SecureRandom): Removed unused variable.
11737         * java/security/UnresolvedPermission.java: Cleaned up imports.
11738         * java/util/Date.java (parse): Removed unused variable.
11739         * java/util/ResourceBundle.java: Cleaned up imports.
11740         (getBundle): Removed unused variable.
11741         (tryBundle): Likewise.
11742         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11743
11744 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11745
11746         * java/text/SimpleDateFormat.java:
11747         (formatWithAttribute): New method. It implements
11748         the formatting process with attributes.
11749         (format): Use formatWithAttribute.
11750         (formatToCharacterIterator): New method. Use
11751         formatWithAttribute.
11752
11753 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11754
11755         * java/text/MessageFormat.java:
11756         (class Field): New class.
11757         (formatToCharacterIterator): New method.
11758         (format): Use formatInternal now.
11759         (formatInternal): New method. String formatter should
11760         be done here (with attributes). Attributes merging supported.
11761         (parse): More documentation.
11762         (getFormatsByArgumentIndex): New method.
11763         (setFormatByArgumentIndex): New method.
11764         (setFormatsByArgumentIndex): New method.
11765
11766 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11767
11768         * java/text/DecimalFormat.java
11769         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11770         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11771         (parse): Fixed handling of exponentiation notation and grouping.
11772
11773 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11774
11775         * java/text/DecimalFormat.java
11776         (scanFix): Build attribute array. Fixed error reporting.
11777         (applyPatternWithSymbols): Store attributes for the prefix and
11778         suffix.
11779         (formatInternal): New method. Changed the way the string is
11780         computed. Implemented attributes. Cleant up rounding in
11781         exponential notation.
11782         (format): Use formatInternal.
11783         (formatToCharacterIterator): New method.
11784         (exponentRound, negativePrefixRanges, positivePrefixRanges,
11785         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
11786         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
11787         New fields.
11788
11789 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
11790
11791         * java/security/interfaces/DSAKeyPairGenerator.java,
11792         java/security/interfaces/DSAPrivateKey.java,
11793         java/security/interfaces/DSAPublicKey.java,
11794         java/security/interfaces/RSAPrivateKey.java,
11795         java/security/interfaces/RSAPublicKey.java:
11796         Cleaned up imports.
11797
11798 2004-05-04  Michael Koch  <konqueror@gmx.de>
11799
11800         * java/nio/ByteBuffer.java,
11801         java/nio/CharBuffer.java,
11802         java/nio/DoubleBuffer.java,
11803         java/nio/FloatBuffer.java,
11804         java/nio/IntBuffer.java,
11805         java/nio/LongBuffer.java,
11806         java/nio/ShortBuffer.java:
11807         (compareTo): Fixed bogus implementation in all buffer classes.
11808
11809 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11810
11811         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
11812         32 bit pixels not 8 bit pixels.
11813         (isCompatibleRaster): Added javadoc comment.
11814
11815 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11816
11817         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
11818         scanline stride.
11819
11820 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11821
11822         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
11823         (getColorModel): Return the actual color model.
11824         (getRaster): Implemented.
11825         (ColorRaster): New inner class.
11826         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
11827         a PaintContext.
11828         * java/awt/Color.java (<init>): Make exception more verbose.
11829         (createContext): Use ColorModel when creating a PaintContext.
11830
11831 2004-05-04  Michael Koch  <konqueror@gmx.de>
11832
11833         * gnu/java/text/CharacterBreakIterator.java
11834         (previous): Removed unused variable.
11835
11836 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
11837
11838         * gnu/java/text/FormatBuffer.java,
11839         gnu/java/text/AttributedFormatBuffer.java,
11840         gnu/java/text/StringFormatBuffer.java: New classes to implement
11841         attributed iterators in java.text.
11842         * gnu/java/text/FormatCharacterIterator.java: Moved
11843         from java/text as it is an internal class.
11844         * java/text/FormatCharacterIterator.java: Removed.
11845         * java/text/Format.java:
11846         Import gnu.java.text.FormatCharacterIterator.
11847         * Makefile.am (java_source_files): Added new files.
11848         * Makefile.in: Regenerated.
11849
11850
11851 2004-05-04  Mark Wielaard  <mark@klomp.org>
11852
11853         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
11854
11855 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
11856
11857         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
11858         * Makefile.in: Rebuilt.
11859
11860 2004-05-03  Mark Wielaard  <mark@klomp.org>
11861
11862         * gnu/java/security/der/DERReader.java: Call static methods staticly.
11863         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
11864         * java/net/URL.java
11865         (set(String, String, int, String, String, String, String, String)):
11866         Assign this.file to path or path + "?" + query.
11867         * java/util/Arrays.java: Call static methods staticly.
11868         * java/util/zip/ZipEntry.java: Likewise.
11869         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
11870         dir to this.direction.
11871         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
11872         Assign static field only once.
11873         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
11874
11875 2004-05-03  Mark Wielaard  <mark@klomp.org>
11876
11877         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
11878         unused variables hScrollbarHeight and vScrollbarWidth.
11879         (preferredSize): Likewise.
11880         * gnu/java/security/provider/DSAParameters.java (engineToString):
11881         Removed unused call to System.getProperty("line.seperator");
11882         * java/security/Security.java (loadProviders): Return result.
11883
11884 2004-05-03  Tom Tromey  <tromey@redhat.com>
11885
11886         * java/net/URLStreamHandler.java (toExternalForm): Removed
11887         unused variables.
11888         unused constructor.
11889         * java/math/BigDecimal.java (divide): Removed unused variable.
11890         * java/lang/Throwable.java: Cleaned up imports.
11891         * java/lang/ClassLoader.java: Cleaned up imports.
11892         * java/io/FilePermission.java (implies): Removed unused
11893         variable.
11894         * java/awt/TextComponent.java: Removed unused import.
11895         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
11896         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
11897         * gnu/java/text/WordBreakIterator.java: Removed unused import.
11898         * gnu/java/text/SentenceBreakIterator.java: Removed unused
11899         import.
11900         * gnu/java/text/LineBreakIterator.java: Removed unused import.
11901         * gnu/java/text/CharacterBreakIterator.java: Removed
11902         unused import.
11903         * gnu/java/security/provider/DSAKeyPairGenerator.java:
11904         Cleaned up imports.
11905         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
11906         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
11907         unused method.
11908         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
11909         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
11910         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
11911         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
11912         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
11913         (lookupProviders): Removed unused variable.
11914         (loadNextServiceProvider): Likewise.
11915         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
11916
11917 2004-05-03  Michael Koch  <konqueror@gmx.de>
11918
11919         Fixes PR libgcj/14695:
11920         * java/net/NetworkInterface.java
11921         (getByName): Return null when no interface was found.
11922
11923 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
11924             Tom Tromey  <tromey@redhat.com>
11925
11926         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
11927         additional option "-Wmissing-prototypes" for compiling C sources.
11928         Print actual filename for pass/fail rather than $name.c.
11929         * testsuite/libjava.jni/PR15133.java: New testcase file.
11930         * testsuite/libjava.jni/PR15133.c: Likewise.
11931         * testsuite/libjava.jni/PR15133.out: Likewise.
11932
11933 2004-04-30  Roger Sayle  <roger@eyesopen.com>
11934
11935         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
11936         ceil and floor.
11937
11938 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
11939
11940         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
11941         limit the maximum heap size to avoid unnecessary thrashing.
11942
11943 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
11944
11945         * java/text/CollationElementIterator.java (reset): Reset
11946         lookahead variables.
11947
11948 2004-04-23  Mark Wielaard  <mark@klomp.org>
11949
11950         * jni/classpath/jcl.c: Changed C++ comments into C comments.
11951
11952 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11953
11954         * java/sql/DriverManager.java:
11955         Cleaned up imports.
11956
11957 2004-04-23  Michael Koch  <konqueror@gmx.de>
11958
11959         * java/net/URL.java
11960         (hashcode): Don't initialize with default value explicitely.
11961         (getContent): Removed redundant "final" keyword.
11962         (openStream): Likewise.
11963         (getURLStreamHandler): Fixed coding style.
11964         * java/net/URLConnection.java
11965         (defaultAllowUserInteraction): Don't initialize with default value
11966         explicitely.
11967         (connected): Likewise.
11968         (doOutput): Likewise.
11969         (ifModifiedSince): Likewise.
11970         (dateformats_initialized): Likewise.
11971         (setURLStreamHander): Use StreamTokenizer where it belongs to.
11972
11973 2004-04-23  Michael Koch  <konqueror@gmx.de>
11974
11975         * gnu/java/nio/channels/FileChannelImpl.java
11976         (SET, CUR): Unused, removed.
11977         (read): Implement here directly.
11978         (implRead): Removed.
11979         (write): Implement here directly.
11980         (implWrite): Removed.
11981
11982 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
11983
11984         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
11985         javax/rmi/CORBA/Stub.java,
11986         javax/rmi/CORBA/Util.java,
11987         javax/rmi/CORBA/ValueHandler.java,
11988         javax/rmi/CORBA/ValueHandler.java,
11989         javax/rmi/PortableRemoteObject.java:
11990         Cleaned up imports.
11991
11992 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11993
11994         * java/util/jar/JarFile.java,
11995         java/util/jar/JarInputStream.java,
11996         java/util/jar/JarOutputStream.java,
11997         java/util/jar/Manifest.java:
11998         Cleaned up imports.
11999
12000 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12001
12002         * java/util/ArrayList.java,
12003         java/util/Calendar.java,
12004         java/util/Currency.java,
12005         java/util/HashMap.java,
12006         java/util/HashSet.java,
12007         java/util/Hashtable.java,
12008         java/util/LinkedList.java,
12009         java/util/Properties.java,
12010         java/util/PropertyPermission.java,
12011         java/util/TimeZone.java,
12012         java/util/TreeMap.java,
12013         java/util/TreeSet.java,
12014         java/util/Vector.java,
12015         java/util/WeakHashMap.java:
12016         Cleaned up imports.
12017
12018 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
12019
12020         * java/util/logging/FileHandler.java,
12021         java/util/logging/Formatter.java,
12022         java/util/logging/Handler.java,
12023         java/util/logging/Logger.java,
12024         java/util/logging/SimpleFormatter.java,
12025         java/util/logging/XMLFormatter.java:
12026         Cleaned up imports.
12027
12028 2004-04-22  Mark Wielaard  <mark@klomp.org>
12029
12030         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
12031         -Wno-long-long flags variable.
12032         (gtk_c_files): Use PEDANTIC_CFLAGS.
12033         * Makefile.in: Regenerated.
12034
12035 2004-04-22  Mark Wielaard  <mark@klomp.org>
12036
12037         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12038         Changed C++ comments into C comments.
12039         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12040         Likewise.
12041
12042 2004-04-22  Michael Koch  <konqueror@gmx.de>
12043
12044         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12045         Merged copyright year with GNU classpath.
12046
12047 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12048
12049         * javax/security/auth/x500/X500Principal.java:
12050         Cleaned up imports.
12051
12052 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12053
12054         * javax/swing/JSlider.java:
12055         Fixed HTML tags in comments.
12056
12057 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12058
12059         * javax/accessibility/AccessibleText.java:
12060         Cleaned up imports.
12061
12062 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
12063
12064         * java/net/URLStreamHandler.java
12065         (parseURL): Convert the file path to using '/' instead of native
12066         file separator.
12067
12068 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
12069
12070         * java/net/URL.java
12071         (userInfo): New field.
12072         (URL): Set authority to the right value.
12073         (setURL): Fixed authority and file initialization.
12074         * java/net/URLStreamHandler.java
12075         (parseURL): Take care of the query tag. Build authority.
12076         (toExternalForm): Fixed URL building using authority.
12077
12078 2004-04-22  Michael Koch  <konqueror@gmx.de>
12079
12080         * java/net/Socket.java
12081         (impl): Made package-private.
12082         * java/net/ServerSocket.java
12083         (implAccept): Access Socket.impl field directly.
12084
12085 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12086
12087         * java/util/prefs/Preferences.java,
12088         java/util/prefs/InvalidPreferencesFormatException.java,
12089         java/util/prefs/BackingStoreException.java,
12090         java/util/prefs/AbstractPreferences.java:
12091         Cleaned up imports.
12092
12093 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12094
12095         * java/util/regex/Matcher.java,
12096         java/util/regex/Pattern.java:
12097         Cleaned up imports.
12098
12099 2004-04-22  Michael Koch  <konqueror@gmx.de>
12100
12101         * java/nio/charset/IllegalCharsetNameException.java
12102         (charsetName): Made private.
12103         (IllegalCharsetNameException): Added @param tag to javadoc.
12104         (getCharsetName): Added @return tag to javadoc.
12105         * java/nio/charset/MalformedInputException.java
12106         (MalformedInputException): Added @param tag to javadoc.
12107         (getInputLength): Revised method description, added @return tag.
12108         (getMessage): Added @return tag.
12109
12110 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
12111
12112         * java/awt/Font.java (deriveFont): Implement missing variants.
12113         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12114         missing variants.
12115
12116 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
12117
12118         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12119         Set method->index values for interface methods to their itable index.
12120         (initializeClass): Call _Jv_LayoutInterfaceMethods.
12121
12122 2004-04-21  Michael Koch  <konqueror@gmx.de>
12123
12124         * java/nio/DirectByteBufferImpl.java
12125         (shiftDown): Made static, give address as argument and
12126         provide a convenience method that overwrites shiftDown in
12127         ByteBufferImpl and calls the native shiftDown.
12128         * java/nio/MappedByteBufferImpl.java
12129         (): Use optimized method in DirectByteBufferImpl.
12130         * java/nio/natDirectByteBufferImpl.cc
12131         (shiftDown): Changed method signature. Removed usage of array_offset.
12132
12133 2004-04-21  Michael Koch  <konqueror@gmx.de>
12134
12135         * gnu/java/net/natPlainSocketImplPosix.cc
12136         (SocketInputStream::read): Make sure returned data is a byte value.
12137
12138 2004-04-21  Michael Koch  <konqueror@gmx.de>
12139
12140         * gnu/classpath/ServiceFactory.java,
12141         gnu/classpath/ServiceProviderLoadingAction.java,
12142         javax/imageio/ImageReader.java,
12143         javax/imageio/ImageTranscoder.java,
12144         javax/imageio/ImageWriter.java,
12145         javax/imageio/package.html,
12146         javax/imageio/spi/IIOServiceProvider.java,
12147         javax/imageio/spi/ImageInputStreamSpi.java,
12148         javax/imageio/spi/ImageOutputStreamSpi.java,
12149         javax/imageio/spi/ImageReaderWriterSpi.java,
12150         javax/imageio/spi/ImageTranscoderSpi.java,
12151         javax/imageio/spi/RegisterableService.java,
12152         javax/imageio/spi/ServiceRegistry.java,
12153         javax/imageio/spi/package.html,
12154         javax/imageio/stream/IIOByteBuffer.java,
12155         javax/imageio/stream/ImageInputStream.java,
12156         javax/imageio/stream/ImageOutputStream.java,
12157         javax/imageio/stream/package.html:
12158         New files.
12159         * Makefile.am
12160         (ordinary_java_source_files): Added
12161         gnu/classpath/ServiceFactory.java and
12162         gnu/classpath/ServiceProviderLoadingAction.java.
12163         (javax_source_files): Added
12164         javax/imageio/ImageReader.java,
12165         javax/imageio/ImageTranscoder.java,
12166         javax/imageio/ImageWriter.java,
12167         javax/imageio/spi/IIOServiceProvider.java,
12168         javax/imageio/spi/ImageInputStreamSpi.java,
12169         javax/imageio/spi/ImageOutputStreamSpi.java,
12170         javax/imageio/spi/ImageReaderWriterSpi.java,
12171         javax/imageio/spi/ImageTranscoderSpi.java,
12172         javax/imageio/spi/RegisterableService.java,
12173         javax/imageio/spi/ServiceRegistry.java,
12174         javax/imageio/stream/IIOByteBuffer.java,
12175         javax/imageio/stream/ImageInputStream.java and
12176         javax/imageio/stream/ImageOutputStream.java.
12177         * Makefile.in: Regenerated.
12178
12179 2004-04-21  Michael Koch  <konqueror@gmx.de>
12180
12181         * java/util/Properties.java
12182         (load): Fix wrongly merged fix.
12183
12184 2004-04-21  Mark Wielaard  <mark@klomp.org>
12185
12186         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12187         malloc and free buf.
12188
12189 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
12190
12191         * javax/naming/AuthenticationException.java,
12192         javax/naming/AuthenticationNotSupportedException.java,
12193         javax/naming/CannotProceedException.java,
12194         javax/naming/CommunicationException.java,
12195         javax/naming/CompoundName.java,
12196         javax/naming/ConfigurationException.java,
12197         javax/naming/ContextNotEmptyException.java,
12198         javax/naming/InitialContext.java,
12199         javax/naming/InsufficientResourcesException.java,
12200         javax/naming/InterruptedNamingException.java,
12201         javax/naming/LimitExceededException.java,
12202         javax/naming/LinkException.java,
12203         javax/naming/LinkLoopException.java,
12204         javax/naming/LinkRef.java,
12205         javax/naming/MalformedLinkException.java,
12206         javax/naming/Name.java,
12207         javax/naming/NameAlreadyBoundException.java,
12208         javax/naming/NameNotFoundException.java,
12209         javax/naming/NamingSecurityException.java,
12210         javax/naming/NoInitialContextException.java,
12211         javax/naming/NoPermissionException.java,
12212         javax/naming/NotContextException.java,
12213         javax/naming/PartialResultException.java,
12214         javax/naming/ReferralException.java,
12215         javax/naming/ServiceUnavailableException.java,
12216         javax/naming/SizeLimitExceededException.java,
12217         javax/naming/TimeLimitExceededException.java,
12218         javax/naming/directory/Attribute.java,
12219         javax/naming/directory/Attributes.java,
12220         javax/naming/directory/SearchResult.java,
12221         javax/naming/event/NamingExceptionEvent.java,
12222         javax/naming/spi/ResolveResult.java:
12223         Cleaned up imports.
12224
12225 2004-04-21  Mark Wielaard  <mark@klomp.org>
12226
12227         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12228         Changed C++ comments into C comments. Removed commented out code.
12229         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12230         Likewise.
12231         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12232         Likewise.
12233         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12234         Likewise.
12235         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12236         Likewise.
12237         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12238         Likewise.
12239         * native/jni/gtk-peer/gthread-jni.c:
12240         Likewise.
12241
12242 2004-04-21  Mark Wielaard  <mark@klomp.org>
12243
12244         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12245         static fields defined in interface.
12246         * javax/awt/JDialog.java: Likewise.
12247         (JDialog): Make constructors public.
12248         (getDefaultCloseOperation): Make public.
12249         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12250         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12251         * javax/swing/JViewport.java (JViewport): Make constructor public.
12252
12253 2004-04-21  Michael Koch  <konqueror@gmx.de>
12254
12255         * java/util/Map.java
12256         (Entry): Removed redundant "static" modifier.
12257         * java/text/AttributedCharacterIterator.java:
12258         Updated copyright year.
12259
12260 2004-04-20  Michael Koch  <konqueror@gmx.de>
12261
12262         * javax/naming/directory/SearchControls.java:
12263         Don't explicitely extend java.lang.Object.
12264         * javax/naming/spi/DirStateFactory.java:
12265         Merged copyright year with GNU classpath.
12266
12267 2004-04-20  Michael Koch  <konqueror@gmx.de>
12268
12269         * java/nio/channels/Channels.java:
12270         Merged coding style with GNU classpath.
12271
12272 2004-04-20  Michael Koch  <konqueror@gmx.de>
12273
12274         * java/net/ServerSocket.java
12275         Merged coding style from GNU classpath.
12276
12277 2004-04-20  Michael Koch  <konqueror@gmx.de>
12278
12279         * java/io/BufferedWriter.java:
12280         Reordered variables to be at top of the class.
12281         (localFlush): Removed redundant final keyword.
12282
12283 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12284
12285         * java/awt/event/MouseEvent.java (<init>): fixed field assignment
12286
12287 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12288
12289         * java/text/DecimalFormat.java (scanFix): Removed suffix check
12290         for percent and permill check.
12291
12292 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12293
12294         * java/text/FieldPosition.java
12295         (FieldPosition) Constructor now behaves as it should according
12296         to the java documentation.
12297
12298 2004-04-20  Mark Wielaard  <mark@klomp.org>
12299
12300         * java/util/Properties.java: Use the word umlaut, not &auml; in api
12301         documentation.
12302
12303 2004-04-20  Michael Koch  <konqueror@gmx.de>
12304
12305         * java/nio/Buffer.java,
12306         java/nio/channels/AlreadyConnectedException.java,
12307         java/nio/channels/AsynchronousCloseException.java,
12308         java/nio/channels/ByteChannel.java,
12309         java/nio/channels/CancelledKeyException.java,
12310         java/nio/channels/Channel.java,
12311         java/nio/channels/Channels.java,
12312         java/nio/channels/ClosedByInterruptException.java,
12313         java/nio/channels/ClosedChannelException.java,
12314         java/nio/channels/ClosedSelectorException.java,
12315         java/nio/channels/ConnectionPendingException.java,
12316         java/nio/channels/DatagramChannel.java,
12317         java/nio/channels/FileChannel.java,
12318         java/nio/channels/FileLock.java,
12319         java/nio/channels/FileLockInterruptionException.java,
12320         java/nio/channels/GatheringByteChannel.java,
12321         java/nio/channels/IllegalBlockingModeException.java,
12322         java/nio/channels/IllegalSelectorException.java,
12323         java/nio/channels/InterruptibleChannel.java,
12324         java/nio/channels/NoConnectionPendingException.java,
12325         java/nio/channels/NonReadableChannelException.java,
12326         java/nio/channels/NonWritableChannelException.java,
12327         java/nio/channels/NotYetBoundException.java,
12328         java/nio/channels/NotYetConnectedException.java,
12329         java/nio/channels/OverlappingFileLockException.java,
12330         java/nio/channels/Pipe.java,
12331         java/nio/channels/ReadableByteChannel.java,
12332         java/nio/channels/ScatteringByteChannel.java,
12333         java/nio/channels/SelectableChannel.java,
12334         java/nio/channels/SelectionKey.java,
12335         java/nio/channels/Selector.java,
12336         java/nio/channels/ServerSocketChannel.java,
12337         java/nio/channels/SocketChannel.java,
12338         java/nio/channels/UnresolvedAddressException.java,
12339         java/nio/channels/UnsupportedAddressTypeException.java,
12340         java/nio/channels/WritableByteChannel.java,
12341         java/nio/channels/spi/AbstractInterruptibleChannel.java,
12342         java/nio/channels/spi/AbstractSelectableChannel.java,
12343         java/nio/channels/spi/AbstractSelectionKey.java,
12344         java/nio/channels/spi/AbstractSelector.java,
12345         java/nio/channels/spi/SelectorProvider.java,
12346         java/nio/charset/spi/CharsetProvider.java:
12347         Fixed javadocs and jalopied all over java.nio.
12348
12349 2004-04-20  Michael Koch  <konqueror@gmx.de>
12350
12351         * java/nio/ByteBufferImpl.java,
12352         java/nio/CharBufferImpl.java,
12353         java/nio/DirectByteBufferImpl.java,
12354         java/nio/DoubleBufferImpl.java,
12355         java/nio/DoubleViewBufferImpl.java,
12356         java/nio/FloatBufferImpl.java,
12357         java/nio/FloatViewBufferImpl.java,
12358         java/nio/IntBufferImpl.java,
12359         java/nio/IntViewBufferImpl.java,
12360         java/nio/LongBufferImpl.java,
12361         java/nio/LongViewBufferImpl.java,
12362         java/nio/MappedByteBufferImpl.java,
12363         java/nio/ShortBufferImpl.java,
12364         java/nio/ShortViewBufferImpl.java:
12365         Made sure all classes are final and removed final keyword from all
12366         methods.
12367
12368 2004-04-20  Michael Koch  <konqueror@gmx.de>
12369
12370         * java/rmi/MarshalledObject.java,
12371         java/rmi/Naming.java,
12372         java/rmi/RemoteException.java,
12373         java/rmi/activation/ActivationException.java,
12374         java/rmi/server/ServerCloneException.java,
12375         java/security/AccessController.java,
12376         java/security/AlgorithmParameterGenerator.java,
12377         java/security/AlgorithmParameters.java,
12378         java/security/CodeSource.java,
12379         java/security/Identity.java,
12380         java/security/IdentityScope.java,
12381         java/security/KeyPairGenerator.java,
12382         java/security/KeyStore.java,
12383         java/security/Security.java,
12384         java/security/Signature.java,
12385         java/security/SignatureSpi.java,
12386         java/security/SignedObject.java,
12387         java/security/spec/DSAParameterSpec.java,
12388         java/security/spec/DSAPrivateKeySpec.java,
12389         java/security/spec/DSAPublicKeySpec.java,
12390         java/sql/Array.java,
12391         java/sql/DatabaseMetaData.java,
12392         java/sql/ResultSet.java,
12393         java/text/ChoiceFormat.java,
12394         java/text/CollationElementIterator.java,
12395         java/text/CollationKey.java,
12396         java/text/Collator.java,
12397         java/text/DateFormat.java,
12398         java/text/DateFormatSymbols.java,
12399         java/text/DecimalFormatSymbols.java,
12400         java/text/Format.java,
12401         java/text/ParsePosition.java,
12402         java/text/RuleBasedCollator.java,
12403         java/text/SimpleDateFormat.java,
12404         java/text/StringCharacterIterator.java,
12405         java/util/Collections.java,
12406         java/util/PropertyResourceBundle.java,
12407         java/util/ResourceBundle.java,
12408         java/util/StringTokenizer.java,
12409         java/util/jar/Attributes.java,
12410         java/util/logging/ConsoleHandler.java,
12411         java/util/logging/LogManager.java,
12412         java/util/logging/MemoryHandler.java,
12413         java/util/logging/SocketHandler.java,
12414         javax/naming/NamingException.java:
12415         Fixed javadoc, coding style and argument names all over.
12416
12417 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12418
12419         * java/io/FileDescriptor.java: (FileDescriptor) Added public
12420         constructor. (valid) Added null check.
12421
12422 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12423
12424         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12425         * java/io/FileOutputStream.java
12426         (FileOutputStream) Reorganized constructors. Constructors now
12427         check whether the given path is directory.
12428
12429 2004-04-20  Michael Koch  <konqueror@gmx.de>
12430
12431         * java/net/Authenticator.java,
12432         java/net/BindException.java,
12433         java/net/ConnectException.java,
12434         java/net/ContentHandler.java,
12435         java/net/ContentHandlerFactory.java,
12436         java/net/DatagramPacket.java,
12437         java/net/DatagramSocket.java,
12438         java/net/DatagramSocketImpl.java,
12439         java/net/DatagramSocketImplFactory.java,
12440         java/net/FileNameMap.java,
12441         java/net/HttpURLConnection.java,
12442         java/net/Inet4Address.java,
12443         java/net/Inet6Address.java,
12444         java/net/InetAddress.java,
12445         java/net/InetSocketAddress.java,
12446         java/net/JarURLConnection.java,
12447         java/net/MalformedURLException.java,
12448         java/net/MulticastSocket.java,
12449         java/net/NetPermission.java,
12450         java/net/NetworkInterface.java,
12451         java/net/NoRouteToHostException.java,
12452         java/net/PasswordAuthentication.java,
12453         java/net/PortUnreachableException.java,
12454         java/net/ProtocolException.java,
12455         java/net/ServerSocket.java,
12456         java/net/Socket.java,
12457         java/net/SocketAddress.java,
12458         java/net/SocketException.java,
12459         java/net/SocketImpl.java,
12460         java/net/SocketImplFactory.java,
12461         java/net/SocketOptions.java,
12462         java/net/SocketPermission.java,
12463         java/net/SocketTimeoutException.java,
12464         java/net/URI.java,
12465         java/net/URISyntaxException.java,
12466         java/net/URL.java,
12467         java/net/URLClassLoader.java,
12468         java/net/URLConnection.java,
12469         java/net/URLDecoder.java,
12470         java/net/URLEncoder.java,
12471         java/net/URLStreamHandler.java,
12472         java/net/URLStreamHandlerFactory.java,
12473         java/net/UnknownHostException.java,
12474         java/net/UnknownServiceException.java:
12475         Fixed javadocs, coding style and argument names all over.
12476
12477 2004-04-20  Michael Koch  <konqueror@gmx.de>
12478
12479         * java/lang/Byte.java,
12480         java/lang/CharSequence.java,
12481         java/lang/ClassLoader.java,
12482         java/lang/Compiler.java,
12483         java/lang/Double.java,
12484         java/lang/Float.java,
12485         java/lang/Integer.java,
12486         java/lang/Long.java,
12487         java/lang/Math.java,
12488         java/lang/Number.java,
12489         java/lang/Package.java,
12490         java/lang/Runtime.java,
12491         java/lang/RuntimePermission.java,
12492         java/lang/SecurityManager.java,
12493         java/lang/Short.java,
12494         java/lang/StringBuffer.java,
12495         java/lang/System.java,
12496         java/lang/ThreadGroup.java,
12497         java/lang/Throwable.java,
12498         java/lang/reflect/InvocationHandler.java,
12499         java/lang/reflect/Proxy.java:
12500         Fixed javadocs, coding style and argument names all over.
12501
12502 2004-04-20  Michael Koch  <konqueror@gmx.de>
12503
12504         * java/io/BufferedWriter.java,
12505         java/io/ByteArrayInputStream.java,
12506         java/io/CharArrayWriter.java,
12507         java/io/DataInput.java,
12508         java/io/DataInputStream.java,
12509         java/io/File.java,
12510         java/io/FilterInputStream.java,
12511         java/io/InputStream.java,
12512         java/io/InputStreamReader.java,
12513         java/io/ObjectInputStream.java,
12514         java/io/ObjectStreamClass.java,
12515         java/io/PipedInputStream.java,
12516         java/io/PipedReader.java,
12517         java/io/PushbackInputStream.java,
12518         java/io/PushbackReader.java,
12519         java/io/RandomAccessFile.java,
12520         java/io/SerializablePermission.java,
12521         java/io/StreamTokenizer.java,
12522         java/io/StringWriter.java,
12523         java/io/WriteAbortedException.java,
12524         java/io/Writer.java:
12525         Fixed javadocs all over, rename arguments to match javadocs,
12526         fixed coding style.
12527
12528 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12529
12530         * java/awt/FontMetrics.java:
12531         (charsWidth): fixed accumulation of total_width
12532         (getWidth): simple default implementation
12533         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12534         in Rectangle constructor.
12535         * java/awt/image/Raster.java (toString): Added method.
12536         * java/awt/image/SampleModel.java (<init>): Added error cause
12537         information to thrown exception.
12538         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12539         New method.
12540         (setDataElements): New method.
12541         (setPixels): New method.
12542         (toString): New method.
12543
12544 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12545
12546         * java/awt/image/ComponentColorModel.java
12547         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12548         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12549         Mauve tests on this method. Improved documentation.
12550
12551 2004-04-20  Michael Koch  <konqueror@gmx.de>
12552
12553         * javax/swing/JLayeredPane.java,
12554         javax/swing/plaf/BorderUIResource.java,
12555         javax/swing/plaf/ComponentUI.java,
12556         javax/swing/undo/CompoundEdit.java,
12557         javax/swing/undo/StateEdit.java:
12558         Fixed HTML tags in javadocs all over.
12559
12560 2004-04-20  Michael Koch  <konqueror@gmx.de>
12561
12562         * javax/print/attribute/EnumSyntax.java
12563         (getOffset): Made protected.
12564         * javax/print/attribute/HashAttributeSet.java
12565         (HashAttributeSet): Likewise.
12566         * javax/print/attribute/ResolutionSyntax.java
12567         (getFeedResolution): Fixed typo in exception name.
12568         (getCrossFeedResolution): Likewise.
12569         * javax/print/attribute/SetOfIntegerSyntax.java
12570         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12571         * javax/print/attribute/TextSyntax.java
12572         (TextSyntax): Handle locale correctly.
12573         (hashCode): Calc better hashcode value.
12574         (equals): Fixed @return tag.
12575         (toString): New method.
12576
12577 2004-04-20  Michael Koch  <konqueror@gmx.de>
12578
12579         * gnu/java/nio/FileLockImpl.java
12580         (static): Removed, not needed anymore.
12581         * gnu/java/nio/channels/FileChannelImpl.java
12582         (FileChannelImpl): Made final.
12583         (mode): Made private.
12584         (READ, WRITE, APPEND): Made public.
12585         (EXCL, SYNC, DSYNC): Likewise.
12586         (static): Load native JNI library, when needed.
12587         (length): Unused, removed.
12588         (available): Made public.
12589         (implPosition): Throws IOException.
12590         (seek): Likewise.
12591         (implTruncate): Likewise.
12592         (unlock): Likewise.
12593         (lock): Likewise.
12594
12595 2004-04-20  Michael Koch  <konqueror@gmx.de>
12596
12597         * java/awt/AWTPermission.java,
12598         java/awt/Component.java,
12599         java/awt/ComponentOrientation.java,,
12600         java/awt/Dialog.java,
12601         java/awt/FontMetrics.java,
12602         java/awt/Graphics.java,
12603         java/awt/datatransfer/DataFlavor.java,
12604         java/beans/Introspector.java,
12605         java/beans/PropertyEditor.java,
12606         java/beans/PropertyEditorManager.java,
12607         java/beans/beancontext/BeanContextServiceProvider.java:
12608         Fixed HTML tags in javadocs all over.
12609
12610 2004-04-20  Mark Wielaard  <mark@klomp.org>
12611
12612         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12613         MissingResourceException is thrown.
12614         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12615         null when a MissingResourceException is thrown. Should never happen.
12616
12617 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12618
12619         * java/awt/image/DataBufferShort.java,
12620         java/awt/image/DataBufferFloat.java,
12621         java/awt/image/DataBufferDouble.java,
12622         java/awt/image/PixelInterleavedSampleModel.java: New files.
12623         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12624         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12625
12626 2004-04-20  Michael Koch  <konqueror@gmx.de>
12627
12628         * Makefile.am (java_source_files): Added
12629         java/awt/image/DataBufferDouble.java,
12630         java/awt/image/DataBufferFloat.java,
12631         java/awt/image/DataBufferShort.java and
12632         java/awt/image/PixelInterleavedSampleModel.java.
12633         * Makefile.in: Regenerated.
12634
12635 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
12636
12637         * gcj/cni.h (JvAllocObject): Remove these obsolete,
12638         undocumented CNI calls.
12639         * include/java-interp.h (_Jv_InterpClass): No longer
12640         extends java.lang.Class.
12641         * java/lang/Class.h (Class): Add new field `aux_info'.
12642         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12643         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12644         Use Class->aux_info instead.
12645         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12646         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12647         Use Class->aux_info instead.
12648         * java/io/natObjectInputStream.cc (allocateObject): Use
12649         _Jv_AllocObject.
12650         * java/lang/natClass.cc (newInstance): Likewise.
12651         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12652         * java/lang/natObject.cc (clone): Likewise.
12653         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12654         * java/lang/natVMClassLoader.cc (defineClass): Don't use
12655         JvAllocObject. Allocate klass->aux_info here for interpreted
12656         class.
12657
12658 2004-04-17  Mark Wielaard  <mark@klomp.org>
12659
12660         * javax/swing/JToggleButton.java (ToggleButtonModel):
12661         Make public static inner class.
12662         * javax/swing/JTabbedPane.java (setComponentAt):
12663         Call Page.setComponent().
12664         (SCROLL_TAB_LAYOUT): Make public, value is 1.
12665         (WRAP_TAB_LAYOUT): Make public, value is 0.
12666         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12667         Make private static inner class.
12668
12669 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
12670
12671         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12672         arguments to match new signature. Remove FIXME comments.
12673
12674 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
12675
12676         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12677         Remove method.
12678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12679         unused code.
12680
12681 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
12682
12683         * Makefile.am: Added new file.
12684         * Makefile.in: Regenerate.
12685         * javax/swing/ImageIcon.java:
12686         (ImageIcon(file)): set description of the icon
12687         to the file name
12688         * javax/swing/JCheckBoxMenuItem.java:
12689         Mostly Implemented. Work in progress.
12690         * javax/swing/JRadioButtonMenuItem.java:
12691         Reimplement constructors to use JToggleButtonModel.
12692         * javax/swing/plaf/basic/BasicIconFactory.java:
12693         (getCheckBoxMenuItemIcon): return check box
12694         icon.
12695         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12696         paint menu item selected only when it is armed and
12697         pressed.
12698
12699 2004-04-02  David Jee  <djee@redhat.com>
12700
12701         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12702         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12703         * java/awt/Component.java
12704         (add): Set the parent of the popup as this component.
12705         * java/awt/PopupMenu.java
12706         (addNotify): Create popup menu when peer is null.
12707         (show): Call addNotify() if peer is null.
12708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12709         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12710         argument for gtk_menu_popup() as zero. This causes the popup menu to
12711         respond to any mouse button.
12712
12713 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
12714
12715         * Makefile.am: Added new file.
12716         * Makefile.in: Regenerate.
12717         * javax/swing/JRadioButtonMenuItem.java:
12718         Implemented.
12719         * javax/swing/plaf/basic/BasicIconFactory.java:
12720         (getRadioButtonMenuItemIcon): Return
12721         radio button icon.
12722         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12723         (getPreferredSize): Add size of checkIcon if it
12724         exists.
12725         (installDefaults): Don't initialize checkIcon.
12726         It's value will be set in subclasses.
12727         (uninstallDefaults): remove uninstallation of
12728         checkIcon.
12729         (paint): Moved code to paintMenuItem().
12730         (paintMenuItem): Implemented.
12731         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12732         UI delegate for JRadioButtonMenuItem.
12733
12734 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12735
12736         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12737         Corrected position of the accelerator.
12738
12739 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12740
12741         * Makefile.am: Added new file.
12742         * Makefile.in: Regenerate.
12743         * javax/swing/JMenuItem.java: Partly
12744         implemented. Work in progress
12745         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12746         Changed default value of acceleratorDelimiter.
12747         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12748         New class. Partly implemented.
12749
12750 2004-03-26  Mark Wielaard  <mark@klomp.org>
12751
12752         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12753         (item_activate): Declare label before use.
12754         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12755         (gtkSetFont): Removed unused variable label.
12756         (addExposeFilter): Declare variables before use.
12757         (removeExposeFilter): Likewise.
12758         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12759         (ok_clicked): Declare str_fileName before use.
12760
12761 2004-03-26  David Jee  <djee@redhat.com>
12762
12763         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12764         (addSeparator): Remove.
12765         * java/awt/Menu.java
12766         (separator): Remove static final MenuItem field.
12767         (separatorLabel): New static final String field.
12768         (addSeparator): Do not use peer method; use add(MenuItem) instead.
12769         Use separatorLabel to denote that it is a separator.
12770         (insertSeparator): Create a new MenuItem with separatorLabel, instead
12771         of reusing the static separator instance, because a MenuItem instance
12772         can't be added more than once without being cloned.
12773         * java/awt/peer/MenuPeer.java
12774         (addSeparator): Remove from interface.
12775
12776 2004-03-26  David Jee  <djee@redhat.com>
12777
12778         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12779         (connectSignals): New native method declaration.
12780         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12781         * java/awt/MenuItem.java
12782         (getActionCommand): Return the label if the action command is not set.
12783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12784         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
12785         gtk_menu_shell_append().
12786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
12787         (item_activate): Fix argument type.
12788         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
12789         signal here.
12790         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
12791         method.
12792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12793         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
12794         given. Add the menu widget's top-level GtkWindow to the global window
12795         group, so it can grab the pointer.
12796         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
12797         gtk_menu_shell_append().
12798
12799 2004-03-23  Graydon Hoare  <graydon@redhat.com>
12800
12801         * java/text/AttributedString.java
12802         (addAttribute): Fix off-by-one.
12803         (getIterator): Likewise.
12804         * java/text/AttributedStringIterator.java
12805         (getRunLimit): Correct logic.
12806         (getRunStart): Likewise.
12807         (getAttribute): Fix inequality.
12808         (getAttributes): Likewise.
12809         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
12810
12811 2004-03-23  Kim Ho  <kho@redhat.com>
12812
12813         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12814         (calculateSizes): Return real width and height.
12815
12816 2004-03-23  Kim Ho  <kho@redhat.com>
12817
12818         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12819         (calculateTabRects): Set the selectedRun before
12820         trying to rotate tabs.
12821
12822 2004-03-23  Kim Ho  <kho@redhat.com>
12823
12824         * Makefile.am: New file
12825         * Makefile.in: Regenerate
12826         * java/awt/Graphics.java: (drawRect):
12827         Draw to the correct point.
12828         * javax/swing/DefaultSingleSelectionModel.java
12829         (isSelected): Return true if the selected index
12830         is not -1.
12831         * javax/swing/JLabel.java: Do not change mnemonic
12832         index if text is null.
12833         * javax/swing/JProgressBar.java: Use JComponent's
12834         EventListenerList.
12835         * javax/swing/JScrollBar.java: Ditto.
12836         * javax/swing/JSlider.java: Ditto.
12837         * javax/swing/JTabbedPane.java: Reimplement.
12838         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12839         Add defaults for TabbedPane.
12840         * javax/swing/plaf/basic/BasicArrowButton.java:
12841         Implement
12842         * javax/swing/plaf/basic/BasicProgressBarUI.java:
12843         (paintDeterminate): Don't paint String if it's
12844         empty.
12845         (paintIndeterminate): ditto.
12846         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12847         Reimplement.
12848
12849 2004-03-19  Michael Koch  <konqueror@gmx.de>
12850
12851         * java/awt/image/AffineTransformOp.java
12852         (AffineTransformOp): Made public.
12853         * javax/swing/JComponent.java
12854         (listenerList): Made protected.
12855         (accessibleContext): Likewise.
12856         * javax/swing/JList.java
12857         (valueChanged): Dont use internal fields of ListSelectionEvent.
12858         * javax/swing/JViewport.java
12859         (getView): Dont use internal fields of Component.
12860         (addImpl): Likewise.
12861         * javax/swing/Timer.java
12862         (isRunning): Made public.
12863         (start): Likewise.
12864         (stop): Likewise.
12865         * javax/swing/UIDefaults.java
12866         (getInt): Made public.
12867         * javax/swing/plaf/basic/BasicListUI.java
12868         (mousePressed): Dont use internal fields of MouseEvent.
12869         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
12870         * javax/swing/plaf/basic/BasicScrollBarUI.java
12871         (arrowIcon): Made static.
12872         * javax/swing/plaf/basic/BasicViewportUI.java
12873         (stateChanged): Dont use internal field on ChangeEvent.
12874         * javax/swing/text/JTextComponent.java
12875         (getUI): Call UIManager.getUI().
12876         (updateUI): Use getUI().
12877
12878 2004-03-19  Graydon Hoare  <graydon@redhat.com>
12879
12880         * javax/swing/JComponent.java: Turn off double buffer by default.
12881         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
12882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
12883         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
12884         Use cairo to copy areas.
12885         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
12886         Initialize and set clip region.
12887
12888 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
12889
12890         * java/applet/Applet.java (preferredSize): Override deprecated
12891         variant of getPreferredSize.
12892         (minimumSize): Override deprecated variant of getMinimumSize.
12893
12894 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
12895
12896         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12897         (drawImage(img,xform,bgcolor,obs)): New Method.
12898         Helper function that every drawImage method will
12899         use.
12900         (drawRaster): Added new parameter, bgcolor. All
12901         transparent pixels are changed to bgcolor before
12902         image is drawn.
12903         (drawRenderedImage): Fixed to use changed drawRaster().
12904         (drawImage(image,xform,obs): Fixed to use new helper function
12905         (drawImage(image,op,x,y)): Ditto.
12906         (drawImage (img,x,y,observer)): Ditto.
12907         ((PainterThread) bgcolor): New Field.
12908         ((PainterThread) (setPixels)): Changed all transparent pixels
12909         to bgcolor.
12910         (drawImage(img,x,y,width,height,bgcolor,observer)):
12911         Fixed FIXME - all the transparent pixels are
12912         changed to the specified bgcolor.
12913         (drawImage(img, x, y, width, height, observer): Changed to
12914         use function above.
12915         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
12916         Fixed FIXME- changed all transparent pixels to bgcolor.
12917         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
12918         Changed to use function above.
12919
12920 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
12921
12922         * java/applet/Applet.java (dimensions): New field.
12923         (getDimensions): New method.
12924         (getPreferredSize): Call getDimensions.
12925         (getMinimumSize): Likewise.
12926
12927 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12928
12929         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
12930         * jni/classpath/jnilink.c: Likewise.
12931
12932         * java/applet/Applet.java (getPreferredSize): New method.
12933         (getMinimumSize): New method.
12934
12935 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
12936
12937         * prims.cc (_Jv_AllocObject): Remove `size' argument.
12938         (_Jv_AllocObjectNoFinalizer): Likewise.
12939         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
12940         (_Jv_AllocPtrFreeObject): Likewise.
12941         (_Jv_AllocString): Moved from natString.cc. Call collector interface
12942         directly even in the JVMPI case.
12943         * gcj/cni.h (JvAllocObject): Remove `size' argument from
12944         _Jv_AllocObject calls.
12945         * gcj/javaprims.h: Update prototypes.
12946         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
12947         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
12948         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
12949
12950 2004-04-14  Andrew Haley  <aph@redhat.com>
12951             Bryce McKinlay  <mckinlay@redhat.com>
12952
12953         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
12954         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
12955         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
12956
12957         * testsuite/libjava.lang/InvokeInterface.java: New file.
12958         * testsuite/libjava.lang/InvokeInterface.out: New file.
12959
12960 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
12961
12962         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
12963         modified lookup().
12964         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
12965         StackTraceElement directly.
12966         (newElement): New native helper method to create StackTraceElement
12967         bypassing Java access control.
12968         (createStackTraceElement): Use newElement() instead of directly
12969         calling StackTraceElement's constructor.
12970         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
12971
12972 2004-04-01  Michael Koch  <konqueror@gmx.de>
12973
12974         * java/lang/SecurityManager.java
12975         (checkAwtEventQueueAccess): Implemented.
12976
12977 2004-04-01  Gary Benson  <gbenson@redhat.com>
12978
12979         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
12980         (_Jv_SearchMethodInClass): Likewise.
12981
12982 2004-03-26  Peter Moon  <peterm@miraculum.com>
12983
12984         * java/text/NumberFormat.java: Fix spelling of setCurrency
12985         method.
12986
12987 2004-03-21  Anthony Green  <green@redhat.com>
12988
12989         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
12990         recursion when searching for the system ClassLoader.
12991
12992 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
12993
12994         * java/net/ServerSocket.java
12995         (accept): Close the socket when error occured.
12996
12997 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
12998
12999         * java/net/URI.java (parseURI): Added unquoting.
13000         (unquote): New method.
13001         (quoteAuthority): Implemented.
13002         (quote(String,String)): New method.
13003         (quotePath): Implemented.
13004         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
13005         (getSchemeSpecificPart): Removed FIXME comment.
13006         (getRawAuthority): Return new rawAuthority field.
13007         (getAuthority): Removed FIXME comment.
13008         (getRawUserInfo): Return new rawUserInfo field.
13009         (getUserInfo): Removed FIXME comment.
13010         (getRawPath): Return new rawPath field.
13011         (getPath): Removed FIXME comment.
13012         (getRawQuery): Return new rawQuery field.
13013         (getQuery): Removed FIXME comment.
13014         (getRawFragment): Return new rawFragment field.
13015         (getFragment): Removed FIXME comment.
13016
13017 2004-03-20  Michael Koch  <konqueror@gmx.de>
13018
13019         * java/net/URLConnection.java: Merged copyright year with classpath.
13020
13021 2004-03-20  Norbert Frese  <postfach@nfrese.net>
13022
13023         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
13024         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
13025         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
13026         rmi-message.
13027         (getObjectInputStream): Return object reference, throw IOException if null.
13028         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
13029         (getObjectOutputStream): Return object reference, throw IOException if null.
13030         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
13031         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
13032         (UnicastConnectionManager): Throw RemoteException if port is not available.
13033         (getInstance): Throw RemoteException.
13034         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
13035         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
13036         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13037         Collect Exceptions which are returned by a rmi-call and fix void returns.
13038         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13039         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13040         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13041         (dispatch): Answer ping messages which are sent by other java implementions.
13042         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13043         for every rmi-message and fix void return problems.
13044         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13045         (UnicastServerRef): Throw RemoteException.
13046         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13047         In some situations it is necessary to export a subclass of the class which has the _Stub.
13048         For instance when the class with has the _Stub is abstract.
13049         (findStubSkelClass): New method which looks for the class which has the _Stub.
13050         (getClientHost): Implementated.
13051         * gcc/libjava/java/rmi/server/RemoteServer.java
13052         (getClientHost): Implementated.
13053         * gcc/libjava/Makefile.am (rmi_java_source_files):
13054         Added gnu/java/rmi/server/RMIIncomingThread.java.
13055         * Makefile.in: Regenerated.
13056
13057 2004-03-20  Michael Koch  <konqueror@gmx.de>
13058
13059         * java/net/InetAddress.java
13060         (getLocalHostname): Added javadoc.
13061
13062 2004-03-19  Per Bothner  <per@bothner.com>
13063
13064         * configure.in: FILE variable  overrides FLATFORM when linking
13065         natFileChannelXXX.cc.
13066
13067         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
13068         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
13069
13070 2004-03-19  Per Bothner  <per@bothner.com>
13071
13072         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
13073         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
13074         * Makefile.am:  Update accordingly.
13075         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
13076         as aliases for UnicodeLittle and UnicodeBig.
13077
13078 2004-03-20  Mark Wielaard  <mark@klomp.org>
13079
13080         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13081         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13082         Don't access ws when it is null.
13083         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13084         Likewise.
13085
13086 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
13087
13088         * java/lang/ThreadGroup.java (list): Changed print to println.
13089
13090 2004-03-19  Mark Wielaard  <mark@klomp.org>
13091
13092         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
13093         happy.
13094
13095 2004-02-10  Randolph Chung  <tausq@debian.org>
13096
13097         * configure.in: Build java for hppa target.
13098         * configure: Regenerate.
13099         * libjava/configure.host (hppa-*): Add target.
13100         * libjava/sysdeps/pa/lock.h: New file.
13101
13102 2004-03-19  Mark Wielaard  <mark@klomp.org>
13103
13104         Reported by Stephen Crawley
13105         * java/io/FilePermission.java (implies): Use String.length() -1 to
13106         access last char of String.
13107
13108 2004-03-19  Michael Koch  <konqueror@gmx.de>
13109
13110         * java/awt/image/AffineTransformOp.java
13111         (AffineTransformOp): Made public.
13112         * javax/swing/JComponent.java
13113         (listenerList): Made protected.
13114         (accessibleContext): Likewise.
13115         * javax/swing/JList.java
13116         (valueChanged): Dont use internal fields of ListSelectionEvent.
13117         * javax/swing/JViewport.java
13118         (getView): Dont use internal fields of Component.
13119         (addImpl): Likewise.
13120         * javax/swing/Timer.java
13121         (isRunning): Made public.
13122         (start): Likewise.
13123         (stop): Likewise.
13124         * javax/swing/UIDefaults.java
13125         (getInt): Made public.
13126         * javax/swing/plaf/basic/BasicListUI.java
13127         (mousePressed): Dont use internal fields of MouseEvent.
13128         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13129         * javax/swing/plaf/basic/BasicScrollBarUI.java
13130         (arrowIcon): Made static.
13131         * javax/swing/plaf/basic/BasicViewportUI.java
13132         (stateChanged): Dont use internal field on ChangeEvent.
13133         * javax/swing/text/JTextComponent.java
13134         (getUI): Call UIManager.getUI().
13135         (updateUI): Use getUI().
13136
13137 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13138
13139         * verify.cc: Undef PC.
13140
13141 2004-03-18  Michael Koch  <konqueror@gmx.de>
13142
13143         * java/nio/channels/spi/AbstractSelectableChannel.java
13144         (keys): Initialize at declaration.
13145         (locate): keys cant be null.
13146         (add): Removed.
13147         (addSelectionKey): New method.
13148         (removeSelectionKey): New method.
13149         * java/nio/channels/spi/AbstractSelectionKey.java
13150         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13151         * java/nio/channels/spi/AbstractSelector.java
13152         (provider): Javadoc added.
13153         (cancelledKeys): Javadoc added.
13154         (cancelKey): Javadoc added, add key to cancelledKeys.
13155         (deregister): Implemented.
13156
13157 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13158
13159         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13160         MAP_FAILED to void *.
13161
13162 2004-03-12  Graydon Hoare  <graydon@redhat.com>
13163
13164         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13165         * javax/swing/JComponent.java (paint): Use persistent double buffer.
13166         * javax/swing/JList.java (ListListener): Revalidate on changes.
13167         * javax/swing/JScrollPane.java: Reimplement.
13168         * javax/swing/JViewport.java: Reimplement.
13169         * javax/swing/ScrollPaneLayout.java: Reimplement.
13170         * javax/swing/ViewportLayout.java: Tidy up.
13171         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13172         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13173         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13174         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13175         backing store only.
13176
13177 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
13178
13179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13180         (window_wm_protocols_filter): New function.
13181         (window_focus_in_cb): Remove function.
13182         (window_focus_out_cb): Likewise.
13183         (window_focus_or_active_state_change_cb): New function.
13184         (create): Add filter that removes WM_TAKE_FOCUS client messages.
13185         (connectSignals): Don't attach handlers to focus-in-event or
13186         focus-out-event signals.  Handle notify signal.
13187
13188 2004-03-11  David Jee  <djee@redhat.com>
13189
13190         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13191         (gtkSetLabel): New native method declaration.
13192         (setLabel): Use gtkSetLabel.
13193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13194         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13195
13196 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
13197
13198         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13199         black when color argument is null.
13200
13201 2004-03-10  Kim Ho  <kho@redhat.com>
13202
13203         * java/awt/Container.java: Remove check
13204         for drag events.
13205
13206 2004-03-10  Kim Ho  <kho@redhat.com>
13207
13208         * java/awt/Container.java: (visitChild):
13209         Remove candidate clip. Use the component
13210         clip to intersect.
13211         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13212         (handleEvent): Use the PaintEvent's clip.
13213
13214 2004-03-10  Kim Ho  <kho@redhat.com>
13215
13216         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13217         (handleEvent): Don't set the clip for the
13218         Graphics object.
13219
13220 2004-03-09  Graydon Hoare  <graydon@redhat.com>
13221
13222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
13223         Fix double <-> fixed macros, reset font transform.
13224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13225         Likewise.
13226
13227 2004-03-09  Kim Ho  <kho@redhat.com>
13228
13229         * java/awt/Container.java: (visitChild): Move
13230         the x and y coordinate of the component rectangle
13231         to correct position.
13232         (handleEvent): Forward drag events to the pressed
13233         component.
13234         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13235         Fix comments.
13236         (ArrowButtonListener::mousePressed): Stop the
13237         existing timer.
13238         (mouseDragged): Implement.
13239         (TrackListener::mousePressed): Only react if
13240         the press doesn't occur on the thumb, otherwise
13241         just set the offset.
13242         (TrackListener::mouseReleased): Unset the isAdjusting
13243         value.
13244         (createIncreaseIcon): Switch icon.
13245         (createDecreaseIcon): Switch icon.
13246         (calculatePreferredSize): Use width.
13247         (getThumbBounds): Use the top as the lower value.
13248         (layoutVScrollBar): Switch the button locations.
13249         (paintIncreaseHighlight): Paint correct side of thumb.
13250         (paintDecreaseHighlight): ditto.
13251         (valueForYPosition): Use top as the lower value.
13252         * javax/swing/plaf/basic/BasicSliderUI.java:
13253         Fix comments.
13254         (mouseDragged): Implement.
13255         (mousePressed): Only react when the thumb isn't
13256         pressed, otherwise just set offset.
13257         (mouseReleased): Handle a release of the thumb.
13258         (scrollDueToClickInTrack): Stop the timer first.
13259         * javax/swing/JProgressBar.java:
13260         (setString): Fix change condition.
13261         * javax/swing/JSeparator.java:
13262         Remove println's.
13263
13264 2004-03-08  David Jee  <djee@redhat.com>
13265
13266         * java/awt/image/AffineTransformOp.java:
13267         (filter): Use Graphics2D interface instead of directly using the
13268         GdkGraphics2D peer.
13269
13270 2004-03-05  David Jee  <djee@redhat.com>
13271
13272         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13273         (handleEvent): Action events are generated upon MOUSE_RELEASED.
13274         * java/awt/Container.java
13275         (acquireComponentForMouseEvent): Fixed.
13276         (handleEvent): Fixed.
13277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13278         (state_to_awt_mods_with_button_states): New method.
13279         (pre_event_handler): Fixed mouse event generation.
13280
13281 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
13282
13283         gnu/java/awt/peer/gtk/GdkGraphics2D.java
13284         (GdkGraphics2D (BufferedImage)): Initialize
13285         pixmap associated with specified BufferedImage.
13286         (setPaint): Changed implementation of Texture
13287         Paint to use AffineTransformOp.
13288         * java/awt/image/AffineTransformOp.java
13289         (createCompatibleDestRaster): Throw RasterFormatException
13290         if resulting width or height of raster is 0.
13291
13292 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
13293
13294         * java/awt/image/AffineTransformOp.java:
13295         Removed unnecessary field interpolationType.
13296         Formatted some of the lines to be consistent with
13297         the GNU style.
13298         (AffineTransformOp): Create new RenderingHints
13299         containing specified interpolation type.
13300         (createCompatibleDestImage): Implemented.
13301         (createCompatibleDestRaster): Implemented.
13302         (filter): Implemented.
13303         (getBounds2D(BufferedImage)): Implemented.
13304         (getBounds2D(Raster)): Implemented.
13305         (getInterpolationType): Get interpolation value from
13306         rendering hints.
13307
13308 2004-03-04  David Jee  <djee@redhat.com>
13309
13310         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13311         (setFont): Check if child peers are null.
13312
13313 2004-03-04  Graydon Hoare  <graydon@redhat.com>
13314
13315         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13316         .libs in -L option.
13317         (libjava_arguments): Add new libraries to argument list.
13318
13319 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
13320
13321         * Makefile.am: Added java/awt/image/AffineTransformOp.java
13322         * Makefile.in: Re-generated.
13323         * java/awt/image/AffineTransformOp.java: New Class.
13324
13325 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
13326
13327         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13328         (setPaint): Interpret correctly TexturePaint's
13329         anchor rectangle.
13330         (drawImage): Fixed scale factors of the affine
13331         transform.
13332
13333 2004-02-27  David Jee  <djee@redhat.com>
13334
13335         * gnu/java/awt/peer/gtk/GdkGraphics.java
13336         (GdkGraphics(Component)): Inherit font from component.
13337         (drawString): Use font style.
13338         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13339         (gtkSetFont): New native method declaration.
13340         (setFont): New method.
13341         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13342         (gtkSetFont): New native method declaration.
13343         (setFont): Call new native method gtkSetFont.
13344         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13345         (setFont): For all child components who do not their fonts set,
13346         set their peers' fonts with this container's font.
13347         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13348         Move all native method declarations to the top for readability.
13349         (gtkSetFont): New native method declaration.
13350         (setFont): New method.
13351         * java/awt/Component.java
13352         (setFont): Invalidate after setting the font.
13353         * java/awt/Container.java
13354         (invalidateTree): New method.
13355         (setFont): Invalidate the container tree after setting the font.
13356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13357         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13359         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13360         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13361         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13363         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13364
13365 2004-02-27  Olga Rodimina <rodimina@redhat.com>
13366
13367         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13368         (updateBufferedImage): New helper function.
13369         Updates BufferedImage in memory if it was changed.
13370         (draw): changed to update BufferedImage in memory after
13371         this drawing operation
13372         (fill): Ditto.
13373         (draw3DRect): Ditto.
13374         (fill3DRect): Ditto.
13375         (clearRect): Ditto.
13376         (drawRaster): Ditto.
13377         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
13378         no affine transformation.
13379         (drawGlyphVector): Ditto.
13380
13381 2004-02-26  Olga Rodimina <rodimina@redhat.com>
13382
13383         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13384         (isBufferedImageGraphics): New Helper function.
13385         Returns true if this graphics2d can be used to draw
13386         into buffered image and false otherwise.
13387         (updateImagePixels): New Helper function.
13388         Updates pixels in the BufferedImage.
13389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13390         (getImagePixels): New function. Returns pixels
13391         of the buffered image associated with
13392         this Graphics2D.
13393
13394 2004-02-26  David Jee  <djee@redhat.com>
13395
13396         * java/awt/BorderLayout.java
13397         (layoutContainer): Fix width and height calculations to ensure
13398         that they're non-negative.
13399         * java/awt/Component.java
13400         (setBackground): If c is null, inherit from closest ancestor whose
13401         background color is set.
13402
13403 2004-02-26  Kim Ho  <kho@redhat.com>
13404
13405         * Makefile.am: Add new files.
13406         * Makefile.in: Re-generate.
13407         * javax/swing/JProgressBar.java:
13408         (JProgressBar(int, int int)): Throw
13409         IllegalArgumentException if orientation is
13410         invalid.
13411         (JProgressBar(BoundedRangeModel)): Create
13412         ChangeListener and register it. UpdateUI.
13413         (getChangeListeners): Implement.
13414         (setModel): Reset ChangeListener.
13415         * javax/swing/JScrollBar.java: Implement.
13416         * javax/swing/JSeparator.java: Implement.
13417         * javax/swing/JSlider.java:
13418         (JSlider(int, int, int, int)): Throw
13419         IllegalArgumentException if orientation
13420         is invalid.
13421         (getChangeListeners): Fix method name.
13422         * javax/swing/SwingUtilities.java:
13423         (layoutCompoundLabel): If there is no text,
13424         set the text rectangle dimensions to 0.
13425         * javax/swing/plaf/basic/BasicButtonUI.java:
13426         (paint): If there is no text, don't paint it.
13427         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13428         Implement.
13429         * javax/swing/plaf/basic/BasicSeparatorUI.java:
13430         Implement.
13431         * javax/swing/plaf/basic/BasicSliderUI.java:
13432         (propertyChange): If the model changes, change
13433         the listeners accordingly.
13434
13435 2004-02-25  Graydon Hoare  <graydon@redhat.com>
13436
13437         * javax/swing/AbstractButton.java: Add "final" qualifiers.
13438         * javax/swing/JList.java: Reimplement.
13439         * javax/swing/DefaultListSelectionModel.java: Reimplement.
13440         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13441         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13442         * javax/swing/ListModel.java: Javadoc.
13443         * javax/swing/ListSelectionModel.java: Add missing methods.
13444         * javax/swing/AbstractListModel.java: Javadoc and corrections.
13445         * javax/swing/DefaultListModel.java: Javadoc and corrections.
13446         * javax/swing/ListModel.java: Javadoc and corrections.
13447         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13448
13449 2004-02-25  David Jee  <djee@redhat.com>
13450
13451         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13452         (GtkFontPeer): Change default size to 12.
13453         * gnu/java/awt/peer/gtk/GtkToolkit.java
13454         (getFontPeer): Change default size to 12.
13455         (getClasspathFontPeer): Likewise. Set default name to "Default".
13456         * java/awt/Font.java
13457         (Font(Map)): Call Font(String,Map).
13458         (Font(String,Map)): If attrs is null, initialize it as an empty
13459         HashMap, which will ensure that the Font will get default attributes.
13460
13461 2004-02-25  David Jee  <djee@redhat.com>
13462
13463         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13464         (GtkFontPeer(String,int)): Call the new constructor with size 1.
13465         (GtkFontPeer(String,int,int)): New constructor with size attribute.
13466         * gnu/java/awt/peer/gtk/GtkToolkit.java
13467         (getFontPeer(String,int)): Call the new overload method with size 1.
13468         (getFontPeer(String,int,int)): New method. Overloaded with size
13469         attribute.
13470         (getClasspathFontPeer): Set the size of the font.
13471
13472 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
13473
13474         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13475         (bimage): New field.
13476         (GdkGraphics2D): New Constructor. Constructs Graphics
13477         object that can be used to draw into the Buffered Image.
13478         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13479         (GdkGraphicsEnvironment): Fixed to include public
13480         keyword.
13481         (createGraphics): Implemented.
13482         * gnu/java/awt/peer/gtk/GtkToolkit.java
13483         (getLocalGraphicsEnvironment): Implemented.
13484         * java/awt/GraphicsEnvironment.java:
13485         (getLocalGraphicsEnvironment): Implemented.
13486         * java/awt/image/BufferedImage.java:
13487         (createGraphics): Implemented.
13488
13489 2004-02-24  David Jee  <djee@redhat.com>
13490
13491         * java/awt/Component.java
13492         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13493         * java/awt/Container.java
13494         (addNotifyContainerChildren): Fix event enabling.
13495
13496 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
13497
13498         * Makefile.am: Added
13499         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13500         * Makefile.in: Re-generated.
13501         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13502         New Class.
13503
13504 2004-02-19  Kim Ho  <kho@redhat.com>
13505
13506         * Makefile.am: Add BasicProgressBarUI
13507         * Makefile.in: Regenerate.
13508         * javax/swing/JProgressBar.java:
13509         Re-implement.
13510         * javax/swing/plaf/basic/BasicLookAndFeel.java
13511         Add constants for JProgressBar.
13512         * javax/swing/plaf/basic/BasicProgressBarUI.java
13513         Implement.
13514         * javax/swing/plaf/basic/BasicSliderUI.java
13515         Change comments.
13516         (calculateGeometry): New method
13517         (paint): Remove unnecessary size calculations.
13518
13519 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
13520
13521         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13522         (drawRaster): Fixed small error that caused
13523         imageToUser transformation to be set incorrectly.
13524         (toString): Implemented.
13525
13526 2004-02-18  David Jee  <djee@redhat.com>
13527
13528         * java/awt/CardLayout.java
13529         (addLayoutComponent): Show the first component added as the default.
13530         (removeLayoutComponent): After removing, show the next component.
13531         (gotoComponent): If there is only one component, show it and return.
13532
13533 2004-02-18  Kim Ho  <kho@redhat.com>
13534
13535         * javax/swing/JSlider.java: Re-order
13536         modifiers.
13537         * javax/swing/JLabel.java: Re-order
13538         modifiers.
13539         * javax/swing/JComponent.java:
13540         (addPropertyChangeListener):
13541         Implement.
13542         (removePropertyChangeListener):
13543         ditto.
13544         (firePropertyChangeEvent):
13545         ditto.
13546
13547 2004-02-17  David Jee  <djee@redhat.com>
13548
13549         * java/awt/Component.java
13550         (show): Dispatch ComponentEvent via system event queue.
13551         (hide): Likewise.
13552         (move): Likewise.
13553         (resize): Likewise.
13554         (reshape): Likewise.
13555         * java/awt/Window.java
13556         (setBoundsCallback): Likewise.
13557
13558 2004-02-17  David Jee  <djee@redhat.com>
13559
13560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13561         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13562         Use gtk_widget_set_size_request() instead of the deprecated
13563         gtk_widget_set_usize().
13564
13565 2004-02-17  Kim Ho  <kho@redhat.com>
13566
13567         * javax/swing/JSlider.java: Fix comments and
13568         make property strings constants.
13569         (createStandardLabels): Use the labels
13570         preferred size as bounds.
13571         * javax/swing/plaf/basic/BasicSliderUI.java
13572         Fix comments.
13573         (ScrollHandler::actionPerformed): Don't
13574         calculate the timer stop value. Let the
13575         MouseListeners find the stop location.
13576         (getPreferredHorizontalSize): Re-implement.
13577         (getPreferredVerticalSize): ditto.
13578         (getMinimumHorizontalSize): ditto.
13579         (getMinimumVerticalSize): ditto.
13580         (getPreferredSize): ditto.
13581         (getMinimumSize): ditto.
13582         (getMaximumSize): ditto.
13583         (paintTicks): Use doubles to find the
13584         tick location.
13585         (paintHorizontalLabel):  Use preferredSize
13586         as initial width and height.
13587         (paintVerticalLabel): ditto.
13588
13589 2004-02-17  Kim Ho  <kho@redhat.com>
13590
13591         * javax/swing/JLabel.java: Changed
13592         property strings to constants.
13593         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13594         New property.
13595         (setText): Change mnemonic index if
13596         text is too short.
13597         (setDisplayedMnemonicIndex): Fire property
13598         change event.
13599         (getDisplayedMnemonicIndex): Remove check
13600         against short text.
13601
13602 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13603
13604         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13605         (drawImage(img,xform,obs)): Invert xform before
13606         passing the xform to cairo.
13607         (drawImage(img,x,y,bgcolor,obs)): Implemented.
13608         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13609         implemented.
13610         (drawImage (img,x,y,w,h,obs)): Implemented.
13611         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13612         bgcolor,obs)): Partly implemented.
13613         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13614         Implemented.
13615         * java/awt/image/BufferedImage.java:
13616         (copyData): if dest is null, create raster with same
13617         dimensions as the current image.
13618
13619 2004-02-16  Graydon Hoare  <graydon@redhat.com>
13620
13621         * javax/swing/plaf/basic/BasicLabelUI.java
13622         (getPreferredSize): Use layoutCL.
13623         * javax/swing/plaf/basic/BasicGraphicsUtils.java
13624         (getPreferredButtonSize): Start with empty view rect, layout using
13625         component's preferred alignment.
13626         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13627         List defaults.
13628
13629 2004-02-16  David Jee  <djee@redhat.com>
13630
13631         * java/awt/Component.java
13632         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13633         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13634         (move): Erase old bounds and repaint new bounds. Dispatch
13635         COMPONENT_MOVED ComponentEvent.
13636         (resize): Erase old bounds and repaint new bounds. Dispatch
13637         COMPONENT_RESIZED ComponentEvent.
13638         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13639         ComponentEvents.
13640         * java/awt/Window.java
13641         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13642         ComponentEvents.
13643
13644 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
13645
13646         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13647         (setRenderingHint): Added implementation of
13648         Interpolation rendering hints.
13649         (setRenderingHints): Ditto.
13650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13651         (drawPixels): fixed to allow user to choose type
13652         of filtering that should be used when displaying images.
13653         (cairoSurfaceSetFilter): New method. Sets filter type for
13654         interpolation of pixel values.
13655
13656 2004-02-16  David Jee  <djee@redhat.com>
13657
13658         * java/awt/GridBagLayout.java
13659         (calcCellSizes): Rows or columns with zero sizes should still be
13660         considered for extra space distribution.
13661
13662 2004-02-16  Kim Ho  <kho@redhat.com>
13663
13664         * javax/swing/JLabel.java: Re-implement.
13665         * javax/swing/plaf/basic/BasicLabelUI.java
13666         Re-implement.
13667         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13668         Added constant.
13669
13670 2004-02-16  Kim Ho  <kho@redhat.com>
13671
13672         * javax/swing/JSlider.java: Fix indentation and comments.
13673         (setModel): Remove null check to conform with Sun's.
13674         (setOrientation): Throw exception if not
13675         HORIZONTAL or VERTICAL.
13676         (getInverted): Use private variable instead of
13677         ComponentOrientation.
13678         (setInverted): ditto.
13679         * javax/swing/plaf/basic/BasicSliderUI.java:
13680         Fix indentation and comments.
13681         (propertyChange): Remove check for inverted slider, handle
13682         in main paint.
13683         (getMinimumSize): Return preferred size.
13684         (getMaximumSize): ditto.
13685         (calculateFocusRect): Don't relocate rectangle.
13686         (drawInverted): Return XOR of the slider's inversion and
13687         the component's orientation.
13688         (paint): Update leftToRightCache
13689
13690 2004-02-13  David Jee  <djee@redhat.com>
13691
13692         * java/awt/GridBagLayout.java
13693         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13694         code to helper methods.
13695         (sortBySpan): New helper method.
13696         (distributeSizeAndWeight): Likewise.
13697         (calcCellWeights): Likewise.
13698         (calcCellSizes): Add comments.
13699
13700 2004-02-13  David Jee  <djee@redhat.com>
13701
13702         * java/awt/Component.java
13703         (show): Only do something if component is invisible at the moment.
13704         (hide): Only do something if component is visible at the moment.
13705         (reshape): If lightweight, erase old bounds and repaint new bounds.
13706
13707 2004-02-13  Kim Ho  <kho@redhat.com>
13708
13709         * Makefile.am: Updated for new file.
13710         * Makefile.in: Regenerated.
13711         * javax/swing/JSlider.java: Reimplement.
13712         * javax/swing/SwingUtilities.java
13713         (layoutCompoundLabel): Use icon height
13714         instead of width.
13715         (paintComponent): Implement.
13716         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13717         Add JSlider defaults.
13718         * javax/swing/plaf/basic/BasicSliderUI.java:
13719         Implement. New file.
13720
13721 2004-03-17  Michael Koch  <konqueror@gmx.de>
13722
13723         * gnu/java/net/PlainDatagramSocketImpl.java
13724         (RECEIVE_LOCK): New member field.
13725         (SEND_LOCK): New member field.
13726         (send0): New method.
13727         (send): Synchronize on SEND_LOCK.
13728         (receive0): New method.
13729         (receive): Synchronize on RECEIVE_LOCK.
13730         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13731         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13732         gnu/java/net/natPlainDatagramSocketImplWin32.cc
13733         (send0): Renamed from send.
13734         (receive0): Renamed from receive.
13735 2004-03-17  Michael Koch  <konqueror@gmx.de>
13736
13737         * gnu/java/net/natPlainSocketImplPosix.cc
13738         (write): Just call write(jbyteArray, offset, len).
13739         (read): Just call read(jbyteArray, offset, len).
13740
13741 2004-03-16  Michael Koch  <konqueror@gmx.de>
13742
13743         * javax/swing/JTabbedPane.java
13744         (serialVersionUID): New field.
13745
13746 2004-03-16  Norbert Frese  <postfach@nfrese.net>
13747
13748         * java/net/InetAddress.java
13749         (getByName): Handle hostname == "" case.
13750
13751 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
13752
13753         Reported by: Adam Heath <doogie@debian.org>
13754         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13755         class loader.
13756
13757 2004-03-15  Michael Koch  <konqueror@gmx.de>
13758
13759         * java/util/Locale.java: Reverting my last patch
13760         and add a comment why the original version was okay.
13761
13762 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
13763
13764         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13765         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13766         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13767         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13768
13769 2004-03-12  Michael Koch  <konqueror@gmx.de>
13770
13771         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13772
13773 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13774
13775         * java/net/URI.java (toURL): Implemented.
13776
13777 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13778
13779         * java/net/URI.java
13780         (URI_REGEXP) updated to contain scheme specific part.
13781         (SCHEME_SPEC_PART_GROUP) new constant.
13782         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13783         updated to make room for SCHEME_SPEC_PART_GROUP.
13784         (parseURI) parse scheme specific part.
13785         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
13786         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
13787         getQuery, getFragment) implemented.
13788
13789 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
13790
13791         * libraries/javalib/java/net/URI.java
13792         partially implemented using java.util.regex.
13793         (URI_REGEXP) new constant. Used to parse URIs.
13794         (SCHEME_GROUP) new constant representing index of scheme group
13795         in parsed URI.
13796         (AUTHORITY_GROUP) new constant representing index of authority
13797         group in parsed URI.
13798         (PATH_GROUP) new constant representing index of path group in
13799         parsed URI.
13800         (QUERY_GROUP) new constant representing index of query group in
13801         parsed URI.
13802         (FRAGMENT_GROUP) new constant representing index of fragment
13803         group in parsed URI.
13804         (getURIGroup) new static utility method.
13805         (parseURI) implemented.
13806         (quote) stub for new static utility method.
13807         (quoteAuthority) stub for new static utility method.
13808         (quoteHost) stub for new static utility method.
13809         (quotePath) stub for new static utility method.
13810         (quoteUserInfo) stub for new static utility method.
13811         (URI) implemented.
13812         (create) don't throw URISyntaxException. Implemented.
13813         (toString) implemented.
13814
13815 2004-03-12  Michael Koch  <konqueror@gmx.de>
13816
13817         * java/net/HttpURLConnection.java
13818         (getResponseCode): Fix another typo in javadoc.
13819
13820 2004-03-11  Michael Koch  <konqueror@gmx.de>
13821
13822         * java/util/logging/Level.java
13823         (parse): Use String.equals() instead of ==.
13824
13825 2004-03-11  Michael Koch  <konqueror@gmx.de>
13826
13827         * gnu/java/net/protocol/jar/Connection.java
13828         (getContentLength): New method.
13829
13830 2004-03-11  Michael Koch  <konqueror@gmx.de>
13831
13832         * gnu/java/net/PlainSocketImpl.java:
13833         Reformated to merge better with classpath's version.
13834
13835 2004-03-11  Michael Koch  <konqueror@gmx.de>
13836
13837         * java/util/Locale.java
13838         (getISO3Language): Use String.equals() instead of ==.
13839         (getISO3Country): Likewise.
13840
13841 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
13842
13843         * java/text/AttributedString.java
13844         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
13845         Use HashMap instead of Hashtable since value can be null, and
13846         you can not store a null value in a Hashtable.
13847
13848 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
13849
13850         * java/text/AttributedStringIterator.java
13851         (getAllAttributesKey): Return only keys concerned
13852         by the current iterator.
13853         (getAttributes): Use strict inequality for
13854         end_index.
13855
13856 2004-03-11  Michael Koch  <konqueror@gmx.de>
13857
13858         * java/net/HttpURLConnection.java:
13859         Fixed typo in javadoc.
13860
13861 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
13862
13863         * java/io/BufferedInputStream.java (marktarget): New field for max
13864         mark limit.
13865         (CHUNKSIZE): New constant for incremental mark buffer allocation.
13866         (mark): Use new fields.
13867         (read): Likewise.
13868         (read(byte[],int,int)): Likewise.
13869         (skip): Likewise.
13870         (refill): Likewise.
13871
13872 2004-03-11  Mark Wielaard  <mark@klomp.org>
13873
13874         * java/beans/BeanDescriptor.java (BeanDescriptor):
13875         Set the FeatureDescriptor programmatic name.
13876
13877 2004-03-11  Michael Koch  <konqueror@gmx.de>
13878
13879         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
13880         This file was was just copied form java/io/natFileDescriptorEcos.cc
13881         and never changed to compile correctly.
13882
13883 2004-03-11  Michael Koch  <konqueror@gmx.de>
13884
13885         * gnu/java/nio/PipeImpl.java
13886         (SourceChannelImpl): Made final.
13887         (read): Implemented.
13888         (SinkChannelImpl): Made final.
13889         (write): Implemented.
13890
13891 2004-03-11  Michael Koch  <konqueror@gmx.de>
13892
13893         * gnu/java/net/PlainDatagramSocketImpl.java:
13894         Reformated to match classpath's version more.
13895
13896 2004-03-11  Michael Koch  <konqueror@gmx.de>
13897
13898         * gnu/java/awt/peer/ClasspathFontPeer.java:
13899         Fixed javadoc to be correct xhtml.
13900         * gnu/java/awt/peer/gtk/GtkArgList.java
13901         (add): Use Boolean.valueOf() instead of new Boolean().
13902
13903 2004-03-09  Michael Koch  <konqueror@gmx.de>
13904
13905         * java/lang/Thread.java
13906         (runnable): Moved around.
13907         (daemon): Renamed from daemon_flag.
13908         (contextClassLoader): Renamed from context_class_loader.
13909         (Thread): Reordered constructors.
13910         (activeCount): Use group directly.
13911         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
13912         (holdsLock): Reworked javadoc.
13913         (setDaemon): Reworked.
13914         * java/lang/natThread.cc
13915         (destroy): Removed.
13916
13917 2004-03-08  Anthony Green  <green@redhat.com>
13918
13919         * Makefile.am: Build property resource files into libgcj.
13920         * Makefile.in: Rebuilt.
13921         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13922         java/util/regex/PatternSyntaxException.java,
13923         gnu/regexp/CharIndexed.java,
13924         gnu/regexp/CharIndexedCharArray.java,
13925         gnu/regexp/CharIndexedInputStream.java,
13926         gnu/regexp/CharIndexedReader.java,
13927         gnu/regexp/CharIndexedString.java,
13928         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
13929         gnu/regexp/REException.java,
13930         gnu/regexp/REFilterInputStream.java,
13931         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
13932         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
13933         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
13934         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
13935         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
13936         gnu/regexp/RETokenLookAhead.java,
13937         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
13938         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
13939         gnu/regexp/RETokenStart.java,
13940         gnu/regexp/RETokenWordBoundary.java,
13941         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
13942
13943 2004-03-03  Per Bothner  <per@bothner.com>
13944
13945         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
13946         Optimize when argument is a FileChannelImpl.
13947         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
13948         New native methods.
13949         * java/nio/channels/natChannels.cc:  New file for new native methods.
13950         * Makefile.am:  Update accordingly.
13951
13952 2004-03-02  Jan Hubicka  <jh@suse.cz>
13953
13954         * configure.host: Pass -fno-omit-frame-pointer for i386.
13955         * configure.in: Likewise.
13956         * configure: Regenerate.
13957
13958 2004-03-01  Per Bothner  <per@bothner.com>
13959
13960         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
13961
13962 2004-02-29  Per Bothner  <per@bothner.com>
13963
13964         * java/nio/channels/FileChannelImpl.java:  Moved to package
13965         gnu/java/nio/channels, since we need to refer to it from java.io.
13966         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
13967         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
13968         from java/nio/channels.  Don't depend on FileDescriptor.
13969         (in, out, err):  New static fields.
13970         (mode):  New field.
13971         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
13972         from FileDescriptor.
13973         (by):  Removed MappedByteBuffer field.
13974         (map):  New working implementation.
13975         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
13976         some code "ported" from natFileDescriptoPosix.cc.
13977         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
13978         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
13979         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
13980         Remove native methods.
13981         * Makefile.am, configure.in:  Updated accordingly.
13982
13983         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
13984         (ch):  New FileChannelImpl field.  Update constructor to match.
13985         (releaseImpl):  Remove native method.  Instead ...
13986         (release):  Call unlock on channel.
13987         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
13988
13989         * java/io/natFileDescriptorEcos.cc:  Remove file.
13990         * java/io/natFileDescriptorPosix.cc:  Remove file.
13991         * java/io/natFileDescriptorWin32.cc:  Remove file.
13992         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
13993         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
13994         (<init>(FileChannelImpl)):  New package-private constructor.
13995         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
13996         (available, close, read, skip):  Implement using FileChannelImpl.
13997         (getFD):  Allocate FileDescriptor if needed.
13998         (getChannel):  Is now trivial.
13999         * java/io/FileOutputStream.java:  Corresponding changes.
14000         * java/io/RandomAccessFile.java:  Corresponding changes.
14001
14002         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
14003         unmapImpl):  New dummy methods, to be overridden by subclass.
14004         (finalize, isLoaded, load, force):  New methods.
14005         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
14006         Now works, at least for read mapping.
14007
14008         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
14009         streams using FileChannelImpl, not FileDescriptor.
14010         * java/lang/natWin32Process.cc (startProcess):  Likewise.
14011
14012 2004-02-28  Michael Koch  <konqueror@gmx.de>
14013
14014         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
14015         wrong code.
14016
14017 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
14018
14019         * java/io/ObjectInputStream.java
14020         (readClassDescriptor): Keep elements of the mapping non null.
14021         (checkTypeConsistency): New method.
14022         (readFields): Fixed main loop and base logic. Small reindentation.
14023         * java/io/ObjectStreamField.java
14024         (lookupField): New method to update the field reference.
14025         (checkFieldType): New method.
14026         * java/io/ObjectStreamClass.java
14027         (setClass, setFields): Call lookupField when building the field
14028         database. Check the real field type.
14029
14030 2004-02-28  Michael Koch  <konqueror@gmx.de>
14031
14032         * java/nio/ByteOrder.java
14033         (nativeOrder): Use equals() to compare strings.
14034
14035 2004-02-26  Michael Koch  <konqueror@gmx.de>
14036
14037         * gnu/java/nio/FileLockImpl.java
14038         (finalize): Made protected.
14039         * java/nio/channels/FileChannel.java
14040         (MapMode.READ_ONLY): Made final.
14041         (MapMode.READ_WRITE): Made final.
14042         (MapMode.PRIVATE): Made final.
14043         * java/nio/channels/SocketChannel.java
14044         (open): Simplified code.
14045         * java/nio/channels/spi/AbstractSelectableChannel.java
14046         (registered): Unused, removed.
14047         (keyFor): Check channel is open, only locate key
14048         and not add a new one.
14049         (register): Don't delete attachments.
14050
14051 2004-02-26  Michael Koch  <konqueror@gmx.de>
14052
14053         * gnu/java/awt/ComponentDataBlitOp.java
14054         (INSTANCE): Made final.
14055         * gnu/java/awt/image/ImageDecoder.java:
14056         Reworked imports.
14057         (cm): Unused, removed.
14058
14059 2004-02-26  Michael Koch  <konqueror@gmx.de>
14060
14061         * gnu/java/nio/DatagramChannelImpl.java
14062         (send): Check if target address is resolved.
14063
14064 2004-02-26  Michael Koch  <konqueror@gmx.de>
14065
14066         * Makefile.am: Generate and install headers for inner classes in
14067         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14068         * Makefile.in: Regenerated.
14069
14070 2004-02-24  Anthony Green  <green@redhat.com>
14071
14072         * java/lang/StringBuffer.java: No need to NULL out remainder of
14073         buffer since ensureCapacity_unsynchronized will have done this for
14074         us.
14075
14076 2004-02-20  Michael Koch  <konqueror@gmx.de>
14077
14078         * gnu/java/net/protocol/jar/Handler.java
14079         (): Removed unneeded check for file != null. java.net.URL.getFile()
14080         returns an empty string but never null.
14081
14082 2004-02-20  Michael Koch  <konqueror@gmx.de>
14083
14084         * gnu/gcj/convert/Convert.java
14085         (main): Use equals() to compare strings.
14086
14087 2004-02-20  Michael Koch  <konqueror@gmx.de>
14088
14089         * javax/swing/AbstractButton.java: Made several constants final.
14090         (getRolloverSelectedIcon): Made public.
14091         (getSelectedIcon): Made public.
14092
14093 2004-02-16  Per Bothner  <per@bothner.com>
14094
14095         * java/nio/CharBufferImpl.java:  Inline super constructor.
14096         * java/nio/DoubleBufferImpl.java:  Likewise.
14097         * java/nio/FloatBufferImpl.java:  Likewise.
14098         * java/nio/IntBufferImpl.java:  Likewise.
14099         * java/nio/LongBufferImpl.java:  Likewise.
14100         * java/nio/ShortBufferImpl.java:  Likewise.
14101         * java/nio/CharBuffer.java:  Remove unused constructor.
14102         * java/nio/DoubleBuffer.java:  Likewise.
14103         * java/nio/FloatBuffer.java:  Likewise.
14104         * java/nio/IntBuffer.java:  Likewise.
14105         * java/nio/LongBuffer.java:  Likewise.
14106         * java/nio/ShortBuffer.java:  Likewise.
14107         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
14108         Fix buggy call to super constructor.
14109         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14110         * java/nio/FloatViewBufferImpl.java:  Likewise.
14111         * java/nio/IntViewBufferImpl.java:  Likewise.
14112         * java/nio/LongViewBufferImpl.java:  Likewise.
14113         * java/nio/ShortViewBufferImpl.java:  Likewise.
14114
14115         * java/nio/ByteBuffer.java (endian):  Make non-private so other
14116         java.nio classes can inherit it.
14117         (<init>):  Don't bother clearing array_offset.
14118         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
14119         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
14120         Remove redundant test.
14121
14122         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14123         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14124         Use new XxxViewBufferImpl constructors.
14125         * java/nio/MappedByteBufferImpl.java:  Likewise.
14126         * java/nio/DirectByteBufferImpl.java:  Likewise.
14127
14128         * java/nio/ByteBufferImpl.java:  Remove one constructor.
14129         Inline super in remaining constructor.
14130         * java/nio/ByteBuffer.java:  Remove unused constructor.
14131
14132         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
14133
14134         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
14135         * java/nio/DirectByteBufferImpl.java (owner):  New field.
14136         (offset):  Remove unused field.
14137         (<init>):  Modify one and add another constructor.  Change callers.
14138         (allocateDirect):  Removed - not used.
14139         (getImpl, putImpl):  Make static and pass address explicitly,
14140         to make them useful for MappedByteBufferImpl.
14141         (get, put):  Check for underflow.  Modify for new getImpl.
14142         (getImpl):  New native method where target is array.
14143         (get(byte[],int,int)):  Use the above.
14144         (adjustAddress):  New static native method.
14145         (slice, duplicate, asReadOnly):  New implementations.
14146         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14147         adjustAddress):  New or updated native methods.
14148
14149 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
14150
14151         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14152         overflow of fieldmapping.
14153
14154 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
14155
14156         * javax/swing/undo/UndoManager.java: Re-written from scratch.
14157
14158 2004-02-14  Per Bothner  <per@bothner.com>
14159
14160         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14161         Set closed before calling implCloseChannel, as in the spec.
14162
14163 2004-02-09  Graydon Hoare  <graydon@redhat.com>
14164
14165         * javax/swing/ToggleButtonModel.java: Remove dead class.
14166         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14167         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14168         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14169         * Makefile.am: Update for new and removed files.
14170         * Makefile.in: Regenerate.
14171
14172         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14173         * javax/swing/AbstractButton.java
14174         (AbstractButton): Initialize fields correctly in ctor.
14175         * javax/swing/JCheckbox.java
14176         (JCheckBox): Override painting flags.
14177         * javax/swing/DefaultButtonModel.java: Conform to sun.
14178         * javax/swing/JComponent.java (paint): Fill with background color
14179         if available.
14180         (processComponentKeyEvent)
14181         (processFocusEvent)
14182         (processKeyEvent)
14183         (processMouseMotionEvent): Remove event-consuming empty methods.
14184         (getUIClassID): Return "ComponentUI" not "JComponent"
14185         * javax/swing/JFrame.java: Remove some debugging chatter.
14186         (JFrame): Subscribe to window events.
14187         * javax/swing/JRadioButton.java
14188         (JRadioButton): Override painting flags.
14189         * javax/swing/JRootPane.java
14190         (JRootPane): Set background from UIDefaults.
14191         * javax/swing/JToggleButton.java
14192         (ToggleButtonModel): New inner class.
14193         (JToggleButton): Override layout alighment.
14194         * javax/swing/SwingUtilities.java:
14195         (getLocalBounds): Return width and height, not x and y.
14196         (calculateInnerArea): Use local bounds, not bounds.
14197         (layoutCompoundLabel): Provide overridden form.
14198         (layoutCompoundLabel): Correct bugs.
14199         * javax/swing/UIDefaults.java: Correct comment.
14200         * javax/swing/plaf/basic/BasicButtonUI.java:
14201         Move most logic into defaults, external listener.
14202         (paintIcon): Implement icon painting.
14203         (paint): Fix state painting to conform to changes in model.
14204         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14205         Remove most dead/wrong methods.
14206         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14207         * javax/swing/plaf/basic/BasicIconFactory.java:
14208         (DummyIcon): New class.
14209         (getMenuItemCheckIcon)
14210         (getMenuItemArrowIcon)
14211         (getMenuArrowIcon)
14212         (getCheckBoxMenuItemIcon)
14213         (getRadioButtonMenuItemIcon)
14214         (createEmptyFrameIcon): Return DummyIcons, not null.
14215         (getCheckBoxIcon): Implement an icon that looks like sun's.
14216         (getRadioButtonIcon): Implement an icon that looks like sun's.
14217         * javax/swing/plaf/basic/BasicLookAndFeel.java
14218         (initComponentDefaults): Fix impossible values, add some missing.
14219         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14220         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14221         Remove most dead/wrong methods.
14222         (icon): New field.
14223         (getDefaultIcon): New method.
14224         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14225         Remove most dead/wrong methods.
14226         * javax/swing/plaf/metal/MetalLookAndFeel.java
14227         (getDefaults): Return super.getDefaults(), not BasicDefaults.
14228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14229         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14230         Implement "clearing" as drawing, when on pixmap drawables.
14231
14232         * javax/swing/JButton.java (getUIClassID):
14233         * javax/swing/JCheckBox.java (getUIClassID):
14234         * javax/swing/JEditorPane.java (getUIClassID):
14235         * javax/swing/JLabel.java (getUIClassID):
14236         * javax/swing/JList.java (getUIClassID):
14237         * javax/swing/JOptionPane.java (getUIClassID):
14238         * javax/swing/JPanel.java (getUIClassID):
14239         * javax/swing/JPasswordField.java (uiClassID):
14240         * javax/swing/JRadioButton.java (getUIClassID):
14241         * javax/swing/JRootPane.java (getUIClassID):
14242         * javax/swing/JScrollPane.java (getUIClassID):
14243         * javax/swing/JTabbedPane.java (getUIClassID):
14244         * javax/swing/JToggleButton.java (getUIClassID):
14245         * javax/swing/JTree.java (getUIClassID):
14246         * javax/swing/JViewport.java (getUIClassID):
14247         * javax/swing/text/JTextComponent.java (getUIClassID):
14248         Return "fooUI" not "Jfoo"
14249
14250 2004-02-11  Michael Koch  <konqueror@gmx.de>
14251
14252         * java/net/DatagramSocket.java
14253         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14254         Boolean object.
14255         (setBroadcast): Likewise.
14256         * java/net/MulticastSocket.java
14257         (setLoopbackMode): Likewise.
14258         * java/net/ServerSocket.java
14259         (setReuseAddress): Likewise.
14260         * java/net/Socket.java
14261         (setTcpNoDelay): Likewise.
14262         (setSoLinger): Likewise.
14263         (setOOBInline): Likewise.
14264         (setKeepAlive): Likewise.
14265         (setReuseAddress): Likewise.
14266         * java/net/URLConnection.java
14267         (setContentHandler): Replace == with equals().
14268         * java/net/URLStreamHandler.java
14269         (hostSEquals): Fix checking host addresses.
14270         (toExternalForm): Dont check protocol for null. We know already its
14271         not null.
14272
14273 2004-02-10  David Jee  <djee@redhat.com>
14274
14275         * java/awt/BorderLayout.java
14276         (calcCompSize): Invisible components get zero dimensions.
14277         * java/awt/Button.java
14278         (setLabel): Set actionCommand.
14279         * java/awt/Component.java
14280         (show): Invalidate component and parent container.
14281         (hide): Likewise.
14282
14283 2004-02-10  David Jee  <djee@redhat.com>
14284
14285         * java/awt/GridBagLayout.java
14286         (GridBagLayout): New private field, internalcomptable.
14287         (lookupInternalConstraints): New method.
14288         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14289         (GetLayoutInfo): Reimplement.
14290         (calcCellSizes): Ignore rows/columns with size 0.
14291
14292 2004-02-10  Michael Koch  <konqueror@gmx.de>
14293
14294         * gnu/java/awt/EmbeddedWindow.java
14295         (setHandle): Use java.awt.Component.getPeer() instead of
14296         java.awt.Component.peer directly.
14297
14298 2004-02-10  David Jee  <djee@redhat.com>
14299
14300         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14301         (gtkSetLabel): New native method definition.
14302         (setLabel): Use gtkSetLabel.
14303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14304         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14305
14306 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
14307
14308         * include/powerpc-signal.h: Revert 2004-01-21 change.
14309         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
14310         from syscall for ppc32 versions.
14311
14312 2004-02-08  Per Bothner  <per@bothner.com>
14313
14314         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
14315         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
14316         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
14317         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
14318         Pass ByteOrder parameter to most methods, since the underlying
14319         ByteBuffer's order isn't always what we should use.
14320         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
14321         * java/nio/DirectByteBufferImpl.java:  Likewise.
14322         Use ByteBufferHelper methods.
14323         * java/nio/MappedByteBufferImpl.java:  Likewise.
14324         (compact):  Use shiftDown.
14325         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
14326         (get, put):  Use ByteBufferHelper.
14327         (compact):  Use new shiftDown method.
14328         (duplicate(boolean)):  New helper method.
14329         (duplicate, asReadOnlyBuffer):  Use it.
14330         (order):  Return endian field.
14331         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14332         * java/nio/FloatViewBufferImpl.java:  Likewise.
14333         * java/nio/IntViewBufferImpl.java:  Likewise.
14334         * java/nio/LongViewBufferImpl.java:  Likewise.
14335         * java/nio/ShortViewBufferImpl.java:  Likewise.
14336         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
14337         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
14338         (compact):  Re-implement using shiftDown.
14339
14340 2004-02-08  Andreas Jaeger  <aj@suse.de>
14341
14342         * include/x86_64-signal.h: Fix typo.
14343
14344 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
14345
14346         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14347         qualifier to _regs.
14348         (HANDLE_DIVIDE_OVERFLOW): Likewise.
14349
14350 2004-02-06  Michael Koch  <konqueror@gmx.de>
14351
14352         * java/io/ObjectInputStream.java
14353         (currentClassLoader): Reverted to old version of this method.
14354
14355 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
14356
14357         * java/io/ObjectInputStream.java: Made all calls
14358         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14359         use cached info from ObjectStreamClass. (readClassDescriptor):
14360         Cache more information in ObjectStreamClass. (processResolution,
14361         readFields): Use cached info from ObjectStreamClass.
14362         (newObject): Throw exception instead of returning null for failure.
14363         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14364         setCharField, setDoubleField, setFloatField, setIntField,
14365         setLongField, setShortField, setObjectField, readObjectParams):
14366         Removed. (dumpElement, dumpElementln): Removed dump flag condition
14367         check.
14368         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14369         (setClass): Added call to cacheMethods() (findMethod): New method.
14370         (cacheMethods): New method. (ObjectStreamClass): Added call to
14371         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14372         AccessController.doPrivileged to invoke setAccessible.
14373         (readObjectMethod, readResolveMethod, realClassIsSerializable,
14374         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14375         New fields.
14376         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14377         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14378         isPrimitive): Made safe for cases where type == null.
14379         (setBooleanField, setByteField, setCharField, setShortField,
14380         setIntField, setLongField, setFloatField, setDoubleField,
14381         setObjectField): New methods.
14382
14383 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
14384
14385         * java/awt/Component.java (getFont): Return a default font
14386         instead of null.
14387
14388         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14389         (Scrollbar (int, int, int, int, int)): Make default page
14390         increment 10.
14391         (setValues): Only call peer.setValues if one of the values has
14392         changed.
14393         (generateName): New method.
14394         (getUniqueLong): New method.
14395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14396         (range_scrollbar): Remove structure.
14397         (post_adjustment_event): Remove function.
14398         (post_change_event): Accept jobject argument.
14399         (create): Cast jints to gdoubles.  Round scrollbar values to the
14400         nearest integer.  Clamp min, max and value settings.
14401         (connectJObject): Connect hook to widget->window.
14402         (connectSignals): Remove range_scrollbar structure variables.
14403         Remove "move-slider" connection.  Pass global peer reference to
14404         "value-changed" callback.
14405         (setLineIncrement): Cast jint value to gdouble.
14406         (setPageIncrement): Likewise.
14407         (setValues): Likewise.  Clamp min, max and value settings.
14408
14409 2004-02-05  Michael Koch  <konqueror@gmx.de>
14410
14411         * javax/swing/AbstractCellEditor.java
14412         (getCellEditorValue): Removed.
14413         * javax/swing/Box.java: Reformated.
14414         (serialVersionUID): New field.
14415         * javax/swing/ButtonGroup.java:
14416         Removed some weird whitespace.
14417         * javax/swing/CellEditor.java: Reformated.
14418         * javax/swing/CellRendererPane.java
14419         (serialVersionUID): New field.
14420         (AccessibleCellRendererPaneserialVersionUID): New field.
14421         * javax/swing/DefaultListModel.java
14422         (serialVersionUID): New field.
14423         * javax/swing/JEditorPane.java
14424         (serialVersionUID): New field.
14425         (setPage): Throws IOException.
14426         (addHyperlinkListener): Implemented.
14427         (removeHyperlinkListener): Implemented.
14428         (getHyperlinkListener): New method.
14429         * javax/swing/JFileChooser.java
14430         (serialVersionUID): New field.
14431         (AccessibleJFileChooser.serialVersionUID): New field.
14432         (addActionListener): Implemented.
14433         (removeActionListener): Implemented.
14434         (getActionListeners): New method.
14435         * javax/swing/JFormattedTextField.java
14436         (serialVersionUID): New field.
14437         (AbstractFormatter.serialVersionUID): New field.
14438         (clone): Throws CloneNotSupportedException
14439         (setEditValid): Add missing argument.
14440         (stringToValue): Throws ParseExcpetion.
14441         (valueToString): Throws ParseException.
14442         (commitEdit): Throws ParseException.
14443         * javax/swing/JLabel.java
14444         (serialVersionUID): New field.
14445         * javax/swing/JList.java
14446         (serialVersionUID): New field.
14447         (addListSelectionListener): Reformated.
14448         (removeListSelectionListener): Reformated.
14449         (getListSelectionListeners): New method.
14450         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14451         Reformated.
14452         (serialVersionUID): New field.
14453         * javax/swing/table/AbstractTableModel.java
14454         (getValueAt): Removed.
14455         (getColumnCount): Removed.
14456         (getRowCount): Removed.
14457
14458 2004-02-05  Michael Koch  <konqueror@gmx.de>
14459
14460         * java/awt/datatransfer/DataFlavor.java
14461         (imageFlavor): Javadoc added.
14462         (javaJVMLocalObjectType): Fixed.
14463
14464 2004-02-05  Michael Koch  <konqueror@gmx.de>
14465
14466         * java/lang/Thread.java
14467         (Thread): Reordered.
14468         (setContextClassLoader): Fixed javadoc comment.
14469         (setPriority): Reordered.
14470         (yield): Reordered.
14471         (initialize_native): Reordered.
14472         (gen_name): Reordered.
14473
14474 2004-02-05  Michael Koch  <konqueror@gmx.de>
14475
14476         * java/lang/Thread.java: Reordered fields, reformated much code,
14477         no functional changes, some variables renamed, javadoc comments
14478         merged.
14479
14480 2004-02-05  Michael Koch  <konqueror@gmx.de>
14481
14482         * java/util/zip/Deflater.java,
14483         java/util/zip/DeflaterOutputStream.java,
14484         java/util/zip/GZIPInputStream.java:
14485         Reformated and javadoc comments merged from classpath.
14486
14487 2004-02-05  Michael Koch  <konqueror@gmx.de>
14488
14489         * gnu/java/nio/NIOServerSocket.java
14490         (impl): Unused, removed.
14491         * gnu/java/nio/SocketChannelImpl.java
14492         (finnishConnect): Don't throw NoConnectionPendingException if not
14493         connected or no connection pending.
14494
14495 2004-02-02  Graydon Hoare  <graydon@redhat.com>
14496
14497         * javax/swing/SwingUtilities.java: Many new functions.
14498         * java/awt/Container.java (LightweightDispatcher): Reimplement.
14499         * javax/swing/basic/BasicGraphicsUtils.java
14500         (getPreferredButtonSize): Start layout from top-left corner.
14501
14502 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
14503
14504         * java/awt/geom/AffineTransform.java:
14505         Corrected comments on the field definitions for
14506         m11 and m10.
14507         (shear): Fixed few errors that caused shear
14508         transformation to be performed incorrectly.
14509         (createInverse): Fixed to return correct
14510         inverse of the given matrix.
14511
14512 2004-02-03  Tom Tromey  <tromey@redhat.com>
14513
14514         * java/lang/natPosixProcess.cc (startProcess): Handle case where
14515         PATH or LD_LIBRARY_PATH is not set in parent environment.
14516
14517 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
14518
14519         * gnu/java/awt/peer/gtk/GtkListPeer.java,
14520         java/awt/BorderLayout.java, java/awt/CardLayout.java,
14521         java/awt/CheckboxGroup.java, java/awt/Choice.java,
14522         java/awt/Component.java, java/awt/Container.java,
14523         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14524         java/awt/LayoutManager2.java, java/awt/List.java,
14525         java/awt/Menu.java, java/awt/MenuBar.java,
14526         java/awt/MenuItem.java, java/awt/Polygon.java,
14527         java/awt/Rectangle.java, java/awt/ScrollPane.java,
14528         java/awt/Scrollbar.java, java/awt/TextArea.java,
14529         java/awt/TextField.java,
14530         java/awt/image/renderable/RenderContext.java,
14531         javax/swing/JApplet.java: Fix handling of alias methods, where a
14532         method has been deprecated in favour of a new one with the same
14533         funtion but a different name.  Put the method implementation in
14534         the deprecated method and have the new method call the
14535         deprecated one.  Make all other code call the new method.
14536
14537 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
14538
14539         * gnu/java/nio/DatagramChannelImpl.java
14540         (inChannelOperation): New field.
14541         (isInChannelOperation): New accessor.
14542         (setInChannelOperation): New modifier.
14543         (receive): Use capacity() - position() of destination
14544         buffer instead of remaining(). Set and reset our "in
14545         channel operation indicator" before and after delegating
14546         the receive to our datagram socket. Removed testing code.
14547         Update destination buffer's current position if it is
14548         backed by a byte array (hasArray() is true).
14549         (send): Set and reset our "in channel operation indicator"
14550         before and after delegating the send to our datagram socket.
14551         Removed testing code. Update source buffer's current position
14552         if it is backed by a byte array (hasArray() is true).
14553         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14554         Use capacity() - position() of destination buffer instead
14555         of remaining().
14556         * java/net/DatagramSocket.java (receive): Don't throw an
14557         IllegalBlockingModeException if we have a non-blocking
14558         channel which initiated this operation.
14559         (send): Likewise.
14560
14561 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
14562
14563         * configure.in: Add pkgconfig check for glib and gthread.
14564         * configure: Regenerate.
14565
14566 2004-02-01  Michael Koch  <konqueror@gmx.de>
14567
14568         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14569         arguments.
14570         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14571         * verify.cc (debug_print): Mark 'fmt' unused.
14572
14573 2004-01-30  Michael Koch  <konqueror@gmx.de>
14574
14575         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14576         * configure: Regenerated.
14577         * glib-2.0.m4: Removed.
14578         * gtk-2.0.m4: Removed.
14579         * libart.m4: Removed.
14580         * pkg.m4: New file.
14581
14582 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
14583
14584         * gnu/java/net/PlainSocketImpl.java
14585         (inChannelOperation): New field.
14586         (isInChannelOperation): New accessor.
14587         (setInChannelOperation): New modifier.
14588         * gnu/java/nio/ServerSocketChannelImpl.java
14589         (accept): Set and reset our server socket's PlainSocketImpl's
14590         "in channel operation" indicator before and after delegating
14591         the accept to our server socket.
14592         * gnu/java/nio/SocketChannelImpl.java
14593         (connect): Set and reset our socket's PlainSocketImpl's "in channel
14594         operation" indicator before and after delegating the operation to
14595         our socket.
14596         (read): Likewise.
14597         (write): Likewise.
14598         * java/net/ServerSocket.java (implAccept): Don't throw an
14599         IllegalBlockingModeException if we have a non-blocking
14600         channel which initiated this accept operation.
14601         * java/net/Socket.java (connect): Don't throw an
14602         IllegalBlockingModeException if we have a non-blocking
14603         channel which initiated this connect operation.
14604         * java/nio/channels/spi/AbstractSelectableChannel.java
14605         (configureBlocking): Only call implConfigureBlocking() if
14606         the desired blocking mode is different from our current one.
14607
14608 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
14609
14610         * java/io/BufferedReader.java (sbuf): New field.
14611         (readLine): Use String.valueOf instead of new String() as per
14612         Per Bothner's suggestion. Use instance sbuf field instead of a
14613         local StringBuffer instance.
14614         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14615         caller's buffer to refill().
14616         (read(void)): Pass our internal work buffer to refill if our
14617         input queue is empty.
14618         (refill): Changed return type to int. Use the specified buffer
14619         instead of our work buffer as per Bryce McKinlay's suggestion.
14620         Return the number of characters read or -1 for EOF.
14621
14622 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14623
14624         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14625
14626 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14627
14628         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14629         * Makefile.in: Re-generated.
14630         * gnu/awt/xlib/XFontPeer.java: New file.
14631         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14632         (setClip): Commented out debug printout.
14633         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14634         (getFontPeer): Return XFontPeer.
14635         (getLocalGraphicsEnvironment): New method.
14636         (getClasspathFontPeer): New method.
14637         (createFont): New method.
14638
14639 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14640
14641         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14642         return null.
14643
14644 2004-01-29  Kim Ho  <kho@redhat.com>
14645
14646         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14647         (gtkLayoutSetVisible): New method
14648         (setMenuBar): Hide layout before setting MenuBar
14649         and reshow it after.
14650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14651         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14652
14653 2004-01-28  Michael Koch  <konqueror@gmx.de>
14654
14655         * gnu/java/lang/ClassHelper.java
14656         (getPackagePortion): Removed.
14657
14658 2004-01-28  Michael Koch  <konqueror@gmx.de>
14659
14660         * javax/swing/JComponent.java
14661         (listenerList): Initalize globally.
14662         (ancestor_list): Removed.
14663         (veto_list): Removed.
14664         (change_list): Removed.
14665         (get_veto_list): Removed.
14666         (get_change_list): Removed.
14667         (get_ancestor_list): Removed.
14668         (removeAncestorListener): Reimplemented.
14669         (removePropertyChangeListener): Likewise.
14670         (removeVetoableChangeListener): Likewise.
14671         (addAncestorListener): Likewise.
14672         (addPropertyChangeListener): Likewise.
14673         (addVetoableChangeListener): Likewise.
14674         (getListeners): New method.
14675         (getAncestorListeners): Likewise.
14676         (getVetoableChangeListeners): Likewise.
14677         (fireVetoableChange): Throws PropertyVetoException.
14678         * javax/swing/JEditorPane.java
14679         (JEditorPane): Throws IOException.
14680
14681 2004-01-28  David Jee  <djee@redhat.com>
14682
14683         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14684         (create): Set the default foreground color to
14685         java.awt.SystemColor.windowText.
14686
14687 2004-01-27  Michael Koch  <konqueror@gmx.de>
14688
14689         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14690         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14691         Reindented to merge with classpath.
14692
14693 2004-01-27  David Jee  <djee@redhat.com>
14694
14695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14696         (addExposeFilter): Handle GtkFramePeer separately.
14697         (removeExposeFilter): Likewise.
14698
14699 2004-01-27  Michael Koch  <konqueror@gmx.de>
14700
14701         * gnu/java/net/protocol/http/Connection.java
14702         (getOutputStream): Fixed typo.
14703
14704 2004-01-27  Michael Koch  <konqueror@gmx.de>
14705
14706         * java/lang/Class.java
14707         (getConstructor): Removed SecurityException from throws clause.
14708         (_getConstructors): Likewise.
14709         (getConstructors): Likewise.
14710         (getDeclaredConstructor): Likewise.
14711         (getDeclaredClasses): Likewise.
14712         (getDeclaredConstructors): Likewise.
14713         (getDeclaredField): Likewise.
14714         (getDeclaredMethod): Likewise.
14715         (getDeclaredMethods): Likewise.
14716         (getField): Likewise.
14717         (getMethod): Likewise.
14718         (getMethods): Likewise.
14719
14720 2004-01-27  Kim Ho  <kho@redhat.com>
14721
14722         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14723         (removeMenuBarPeer): Remove MenuBarPeer argument.
14724         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14725         (dispose): Call native method.
14726         * java/awt/Frame.java (setMenuBar): Create and remove
14727         MenuBar peers only if the Frame has a peer.
14728         (addNotify): Create the MenuBar peer if one exists.
14729         (removeNotify): Remove MenuBar peer if one exists.
14730         * java/awt/Menu.java: Fix imports.
14731         (addNotify): Don't use full class name.
14732         (removeNotify): Call removeNotify on all children.
14733         * java/awt/MenuBar.java (removeNotify): Call
14734         removeNotify on all children.
14735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14736         (removeMenuBarPeer): Remove MenuBarPeer argument.
14737         Iterate through children to find the Frame's MenuBar.
14738         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14739         New file.
14740         (dispose): Remove references to the MenuComponent.
14741
14742 2004-01-27  Michael Koch  <konqueror@gmx.de>
14743
14744         * javax/swing/AbstractCellEditor.java: Reformated.
14745         * javax/swing/DefaultListSelectionModel.java
14746         (listenerList): Made protected.
14747         (addListSelectionListener): Javadoc added.
14748         (removeListSelectionListener): Likewise.
14749         (getListeners): Likewise.
14750         (getListSelectionListeners): Likewise.
14751         * javax/swing/JComboBox.java: Merged copyright year.
14752         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14753
14754 2004-01-26  Andrew Haley  <aph@redhat.com>
14755
14756         * javax/swing/table/JTableHeader.java: Extend JComponent
14757
14758 2004-01-26  Kim Ho  <kho@redhat.com>
14759
14760         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14761         Fix spacing.
14762
14763 2004-01-26  Kim Ho  <kho@redhat.com>
14764
14765         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14766         method.
14767         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14768         height and let the Layout Managers readjust anything that
14769         needs to move.
14770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14771         (moveLayout): New method. Shift everything in the Gtk
14772         layout in the Y direction by an offset.
14773
14774 2004-01-26  David Jee  <djee@redhat.com>
14775
14776         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14777         (handleEvent): Implemented. Handles PaintEvents.
14778         (paint): Implemented. Use GTK native methods to queue updates
14779         for this heavyweight peer.
14780         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14781         (handleEvent): Removed.
14782         * java/awt/Component.java
14783         (paint): Implemented. Explictly paint the heavyweight peer.
14784         (update): Clear the background for heavyweight components.
14785         (paintAll): No need to call peer.paint() anymore.
14786         (processEvent): Don't process PaintEvents here. It's now done in
14787         the peer's handleEvent().
14788         (processPaintEvent): Removed.
14789         * java/awt/Container.java
14790         (paint): No need to call super.paint(). Visit heavyweight
14791         children as well.
14792         (update): Don't clear the background here.  It's done in
14793         Component.update().
14794         (visitChildren): Added check to not recurse into Containers.
14795         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14796         (filter_expose_event_handler): New method.  Filter unwanted
14797         expose events while painting heavyweight peers.
14798         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14799         New method. Connect filter and block pre_event_handler.
14800         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14801         New method. Disconnect filter and unblock pre_event_handler.
14802         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
14803         New method. Invalidate and update given area.
14804         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14805         (pre_event_handler): Add checks for unwanted expose events.
14806
14807 2004-01-26  David Jee  <djee@redhat.com>
14808
14809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14810         (find_bg_color_widget): For GtkButton, return its child.
14811
14812 2004-01-26  Kim Ho  <kho@redhat.com>
14813
14814         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
14815         private.
14816         (setMenuBar): Grab MenuBar height and change insets.
14817         (setBounds): Account for MenuBar height.
14818         (postInsetsChangedEvent): Ditto.
14819         (postSizeAllocateEvent): Remove.
14820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14821         (menubar_resize_cb): Remove
14822         (setMenuBarPeer): Remove callback.
14823         (getMenuBarHeight): Use size requisition instead of
14824         allocation.
14825
14826 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14827
14828         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
14829         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
14830         when peer is null.
14831         (setColumns): Remove FIXME -- peer will retrieve number of
14832         columns by calling getColumns.
14833         (setRows): Likewise for number of rows.
14834         (next_text_number): New field.
14835         (paramString): Fix param string.
14836         (generateName): New method.
14837         (getUniqueLong): New method.
14838
14839 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14840
14841         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
14842         image observer of image loading status.
14843         (getImage (String)): Start image production.
14844         (getImage (URL)): Likewise.
14845
14846 2004-01-25  Michael Koch  <konqueror@gmx.de>
14847
14848         * java/lang/Class.java: Imports reworked, reformated.
14849         (Class): Javadoc added.
14850         (forName): Likewise.
14851         (getClasses): Likewise.
14852         (getClassLoader): Likewise.
14853         (getComponentType): Likewise.
14854         (getConstructor): Likewise.
14855         (getConstructors): Likewise.
14856         (getDeclaredConstructor): Likewise.
14857         (getDeclaredClasses): Likewise.
14858         (getDeclaredConstructors): Likewise.
14859         (getDeclaredField): Likewise.
14860         (getDeclaredMethod): Likewise.
14861         (getDeclaredMethods): Likewise.
14862         (getDeclaringClass): Likewise.
14863         (getField): Likewise.
14864         (getInterfaces): Likewise.
14865         (getMethod): Likewise.
14866         (getMethods): Likewise.
14867         (getModifiers): Likewise.
14868         (getName): Likewise.
14869         (getResource): Likewise.
14870         (getResourceAsStream): Likewise.
14871         (getSigners): Likewise.
14872         (setSigners): Likewise.
14873         (getSuperclass): Likewise.
14874         (isArray): Likewise.
14875         (isAssignableFrom): Likewise.
14876         (isInstance): Likewise.
14877         (isInterface): Likewise.
14878         (isPrimitive): Likewise.
14879         (newInstance): Likewise.
14880         (getProtectionDomain): Likewise.
14881         (toString): Likewise.
14882         (Class): Moved.
14883         (initializeClass): Likewise.
14884         (finalize): Likewise.
14885
14886 2004-01-24  Michael Koch  <konqueror@gmx.de>
14887
14888         * gnu/java/net/protocol/jar/Connection.java
14889         (hdrHash): Removed.
14890         (hdrVec): Removed.
14891         (gotHeaders): Removed.
14892         (getHeaderField): Removed.
14893         (getHeaderFields): Removed.
14894         (getHeaderFieldKey): Removed.
14895         (getKey): Removed.
14896         (getField): Removed.
14897         (getHeaders): Removed.
14898
14899 2004-01-24  Michael Koch  <konqueror@gmx.de>
14900
14901         * Makefile.am: Added library version to gtk peer lib.
14902         * Makefile.in: Regenerated.
14903
14904 2004-01-24  Michael Koch  <konqueror@gmx.de>
14905
14906         * java/util/zip/InflaterInputStream.java: Merged class documentation
14907         with classpath.
14908
14909 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
14910
14911         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
14912         header.  For __powerpc64__ provide the default-signal.h definitions
14913         for now.
14914         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
14915         instead of the dummy definitions.
14916         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
14917         (powerpc64*-*): Remove with_libffi_default.
14918         Only add -mminimal-toc for 64-bit compilations.
14919         * configure.in: Use powerpc-signal.h on powerpc64 as well.
14920         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
14921         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
14922         * configure: Rebuilt.
14923
14924 2004-01-23  Michael Koch  <konqueror@gmx.de>
14925
14926         * gnu/java/nio/FileLockImpl.java: Compile fixes.
14927
14928 2004-01-23  Michael Koch  <konqueror@gmx.de>
14929
14930         * java/lang/VMClassLoader.java: Reworked imports.
14931
14932 2004-01-23  Michael Koch  <konqueror@gmx.de>
14933
14934         * javax/swing/AbstractAction.java: Reformated.
14935
14936 2004-01-23  Michael Koch  <konqueror@gmx.de>
14937
14938         * java/text/CollationElementIterator.java:
14939         (setText): New method.
14940
14941 2004-01-23  Michael Koch  <konqueror@gmx.de>
14942
14943         * gnu/java/nio/FileLockImpl.java:
14944         Fixed filename in copyright.
14945         (released): Removed.
14946         (finalize): New method.
14947         * gnu/java/nio/natFileLockImpl.cc
14948         (releaseImpl): Implemented.
14949         * java/nio/channels/FileChannelImpl.java:
14950         Reworked imports.
14951         (lock): Implemented.
14952         (lockImpl): New method.
14953         (tryLock): Implemented.
14954         (tryLockImpl): New method.
14955         * java/nio/channels/natFileChannelImpl.cc
14956         (lockImpl): New method.
14957         (tryLockImpl): New method.
14958
14959 2004-01-23  Michael Koch  <konqueror@gmx.de>
14960
14961         * java/io/FileDescriptor.java
14962         (lock): New method.
14963         (tryLock): New method.
14964         (unlock): New method.
14965         * java/io/natFileDescriptorEcos.cc
14966         (lock): New method.
14967         (tryLock): New method.
14968         (unlock): New method.
14969         * java/io/natFileDescriptorPosix.cc
14970         (lock): New method.
14971         (tryLock): New method.
14972         (unlock): New method.
14973         * java/io/natFileDescriptorWin32.cc
14974         (lock): New method.
14975         (tryLock): New method.
14976         (unlock): New method.
14977
14978 2004-01-23  Michael Koch  <konqueror@gmx.de>
14979
14980         * java/io/FileDescriptor.java
14981         (sync): Moved around, added javadoc.
14982         (valid): Likewise.
14983         (open): Likewise.
14984         (write): Likewise.
14985         (close): Likewise.
14986         (setLength): Likewise.
14987         (seek): Likewise.
14988         (getLength): Likewise.
14989         (getFilePointer): Likewise.
14990         (read): Likewise.
14991         (available): Likewise.
14992         (finalize): Likewise.
14993
14994 2004-01-23  Michael Koch  <konqueror@gmx.de>
14995
14996         * javax/swing/AbstractAction.java: Reformated.
14997         (getPropertyChangeListeners): New method.
14998         * javax/swing/AbstractCellEditor.java: Reformated.
14999         (getCellEditorListeners): New method.
15000         * javax/swing/DefaultListSelectionModel.java
15001         (listenerList): New field.
15002         (listeners): Removed.
15003         (get_listeners): Removed.
15004         (addListSelectionListener): Rewritten.
15005         (removeListSelectionListener): Rewritten.
15006         (getListSelectionListeners): New method.
15007         (getListeners): New method.
15008         * javax/swing/JComboBox.java: Imports reworked.
15009         (addActionListener): Implemented.
15010         (removeActionListener): Implemented.
15011         (addItemListener): Implemented.
15012         (removeItemListener): Implemented.
15013         (addPopupMenuListener): Implemented.
15014         (removePopupMenuListener): Implemented.
15015         (getActionListeners): New method.
15016         (getItemListeners): New method.
15017         (getPopupMenuListeners): New method.
15018
15019 2004-01-23  Michael Koch  <konqueror@gmx.de>
15020
15021         * gnu/java/net/protocol/http/Connection.java
15022         (connect): Don't initialize bufferedOutputStream if not needed.
15023         (sendRequest): Set property for content length if content is present.
15024         Write content only if present.
15025         (getOutputStream): Check if already connected, dont connect,
15026         initalize bufferedOutputStream if needed.
15027
15028 2004-01-23  Michael Koch  <konqueror@gmx.de>
15029
15030         * java/io/FileDescriptor.java
15031         (in, out, err): Added javadoc.
15032         (static): Merged loading code.
15033         (fd, position): Moved around.
15034
15035 2004-01-23  Michael Koch  <konqueror@gmx.de>
15036
15037         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15038         New file.
15039
15040 2004-01-23  Michael Koch  <konqueror@gmx.de>
15041
15042         * java/lang/Class.java,
15043         java/lang/Object.java,
15044         java/lang/Thread.java: Merged copyright with classpath.
15045
15046 2004-01-23  Michael Koch  <konqueror@gmx.de>
15047
15048         * java/io/FileDescriptor.java: Merged copyright with classpath to
15049         start merging this class.
15050
15051 2004-01-22  Tom Tromey  <tromey@redhat.com>
15052
15053         PR libgcj/13107:
15054         * testsuite/libjava.lang/pr13107_2.xfail: New file.
15055         * testsuite/libjava.lang/pr13107_3.xfail: New file.
15056         * testsuite/libjava.lang/pr13107_3.java: New file.
15057         * testsuite/libjava.lang/pr13107_3.out: New file.
15058         * testsuite/libjava.lang/pr13107_2.java: New file.
15059         * testsuite/libjava.lang/pr13107_2.out: New file.
15060         * testsuite/libjava.lang/pr13107.java: New file.
15061         * testsuite/libjava.lang/pr13107.out: New file.
15062         * verify.cc (jsr_ptrs): Removed.
15063         (entry_points): Likewise.
15064         (struct subr_info): Likewise.
15065         (struct subr_entry_info): Likewise.
15066         (type_val::unused_by_subroutine_type): Likewise.
15067         (type::merge): Don't handle unused_by_subroutine_type.
15068         (type::print): Likewise.
15069         (state::flags): Removed.
15070         (state::subroutine): Likewise.
15071         (state::seen_subrs): Likewise.
15072         (state::NO_STACK): Likewise.
15073         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15074         (state): Updated all methods.
15075         (state::clean_subrs): Removed.
15076         (state::state): Removed `ret_semantics' flag.
15077         (state::copy): Likewise.
15078         (state::add_subr): Removed.
15079         (state::enter_subroutine): Likewise.
15080         (type::set_return_address): New method.
15081         (handle_jsr_insn): Set return address on the type.  Always
15082         invalidate PC after call.
15083         (check_nonrecursive_call): Removed.
15084         (~_Jv_BytecodeVerifier): Updated.
15085         (branch_prepass): Removed special handling of jsr.
15086         (note_branch_target): Likewise.
15087         (get_subroutine): Removed.
15088         (state::merge): Don't merge subroutines and don't handle
15089         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
15090         (state::note_variable): Removed.
15091         (state::is_unmerged_ret_state): Likewise.
15092         (state::print): Updated.
15093         (set_variable): Likewise.
15094         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
15095         and jsr_semantics arguments.  Updated for new reverification
15096         list.
15097         (pop_jump): Rewrote.
15098         (construct_primitive_array_type): Updated.
15099         (state::next): Removed.
15100         (INVALID_STATE): New define.
15101         (state::INVALID): Removed.
15102         (state::NO_NEXT): New value.
15103         (state::pc, state::next): New fields.
15104         (state::get_pc): New method.
15105         (next_verify_pc): Removed.
15106         (next_verify_state): New field.
15107         (verify_instructions_0): Always check for falling off end.
15108         (linked): New type.
15109         (linked_utf8): Removed.
15110         (states): Changed type.
15111         (type::state_mergeable_p): New method.
15112         (state::state_mergeable_p): Likewise.
15113         (handle_ret_insn): Removed most code.
15114         (state::reverify): New method.
15115         (add_new_state): Likewise.
15116         (state::set_pc): Likewise.
15117
15118 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
15119
15120         PR java/13733
15121         * testsuite/libjava.compile/PR13733.java: New file.
15122         * testsuite/libjava.compile/PR13733.xfail: New file.
15123
15124 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
15125             Michael Koch  <konqueror@gmx.de>
15126
15127         * javax/swing/table/DefaultTableCellRenderer.java
15128         (DefaultTableCellRenderer): Added javadoc for the class and for
15129         the constructor, Border instance, create an EmptyBorder.
15130         (UIResource): Removed the comment at the end of the class
15131         (setForeground): New method.
15132         (setBackground): New method.
15133         (updateUI): New method.
15134         (getTableCellRendererComponent): Rewritten with the help of
15135         dvholten and Stephane Meslin-Weber.
15136         (validate): New method.
15137         (repaint): New method.
15138         (firePropertyChange): New method.
15139         (setValue): New method.
15140
15141 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
15142
15143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15144         (connectJObject): Replace printf calls with g_assert statements.
15145         Move property-notify-event signal connection to ...
15146         (connectSignals): Connect property-notify-event signal.  Iterate
15147         through the vbox's children to find layout.
15148
15149 2004-01-22  Graydon Hoare  <graydon@redhat.com>
15150
15151         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
15152         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15153         Predicate static initialization on GtkToolkit.useGraphics2D().
15154         * java/awt/Component.java (processPaintEvent): Consume event.
15155         * javax/swing/AbstractButton.java: Reimplement, document.
15156         * javax/swing/DefaultButtonModel.java: Reimplement, document.
15157         * javax/swing/JComponent.java (paint): Use double buffer.
15158         (listenerList): Enable member.
15159         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15160         * javax/swing/JToggleButton.java
15161         (JToggleButton): Modify model constructor.
15162         * javax/swing/SwingUtilities.java
15163         (layoutCompoundLabel): Adjust arithmetic.
15164         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15165         * javax/swing/plaf/basic/BasicGraphicsUtils.java
15166         (getPreferredButtonSize): Include margins in calculation.
15167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15168         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15169         Receive up events from subordinate layout component.
15170
15171 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
15172
15173         * java/awt/Component.java (show): Set visible to true before
15174         showing the peer.
15175
15176 2004-01-21  Kim Ho  <kho@redhat.com>
15177
15178         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15179         Fix comments.
15180         (removeMenuBarPeer): Make package private.
15181         (setMenuBarPeer): Make package private.
15182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15183         (menubar_resize_cb): Mark attributes unused.
15184         (getMenuBarHeight): ditto.
15185
15186 2004-01-21  David Jee  <djee@redhat.com>
15187
15188         * java/awt/Container.java
15189         (LightweightDispatcher.handleEvent): Add an extra check to avoid
15190         dispatching MOUSE_ENTERED event twice. Translate the point for
15191         the mouse event target before dispatching the event.
15192
15193 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
15194
15195         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15196         lib_org_w3c_dom_la_LDFLAGS): New.
15197         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15198         * Makefile.in: Rebuilt.
15199
15200 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15201
15202         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15203         Calculate proper offsets for heavyweight components packed in
15204         lightweight containers.
15205
15206         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15207         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15208         (native create): Add width parameter.
15209         (create): Calculate text entry width based on current font's
15210         metrics and number of columns.  Set TextField's font if not
15211         already set.  Call native create.
15212         (gtkEntryGetBorderWidth): New native method.
15213         (gtkEntryGetSize): Remove method.
15214         (getMinimumSize): Call minimumSize.
15215         (getPreferredSize): Call preferredSize.
15216         (minimumSize): Calculate minimum size based on backing
15217         GtkEntry's borders, font metrics and number of columns.
15218         (preferredSize): Likewise for preferred size.
15219         (get_border_width): New static function.
15220
15221         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15222         Override GtkWindowPeer's setResizable method to account for menu
15223         bar height when setting the frame's size.
15224
15225 2004-01-19  Matthias Klose  <doko@debian.org>
15226
15227         * libtool-version: Increased `current' to 6.
15228
15229 2004-01-19  Kim Ho  <kho@redhat.com>
15230
15231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15232         (connectJObject): Iterate through the vbox's children to find layout.
15233
15234 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15235
15236         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15237         isDispatchThread method to replace wrong test condition.
15238
15239 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15240
15241         * java/awt/EventQueue.java (pop): Prevent racing condition to add
15242         events to the queue out of order by acquiring locks in the proper
15243         order and not by releasing one before acquiring the other.
15244
15245 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15246
15247         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15248         visible so that dialog can be reused.
15249
15250 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15251
15252         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15253         events may be handled by any queue in the stack.
15254
15255 2004-01-19  Kim Ho  <kho@redhat.com>
15256
15257         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15258         MenuBarPeer parameter.
15259         (removeMenuBarPeer): New native method.
15260         (setMenuBar): Call remove if menu bar is null. Adjust insets
15261         appropriately.
15262         (postSizeAllocateEvent): New method. Called when menu bar size is
15263         allocated. Adjust insets and redo layout.
15264         (GtkFramePeer): Set menu bar during frame creation.
15265         (postConfigureEvent): Adjust position and size to accomodate
15266         menu bar.
15267         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15268         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15269         (addNotify): Create the peer if it doesn't exist and call addNotify
15270         for the menu's items.
15271         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15272         * java/awt/MenuItem.java (addNotify): Create the peer if it
15273         doesn't exist.
15274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15275         (removeMenuBarPeer): New method. Remove menu bar on the current
15276         frame.
15277         (setMenuBarPeer): Add the menu bar to the current frame and the
15278         callback for size-allocate events on the menu bar.
15279         (getMenuBarHeight): Add menu bar parameter.
15280         (menubar_resize_cb): New callback method for postSizeAllocate events.
15281
15282         Also: Fix indentation on last ChangeLog entry.
15283
15284 2004-01-16  Kim Ho  <kho@redhat.com>
15285
15286         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15287         (gtkWidgetGetDimensions): Remove.
15288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15289         (gtkWidgetGetDimensions): Remove.
15290
15291 2004-01-16  Tom Tromey  <tromey@redhat.com>
15292
15293         * java/awt/Container.java: Typo and indentation fixes.
15294
15295         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15296         * java/lang/natVMClassLoader.cc: ...here.  New file.
15297         * Makefile.in: Rebuilt.
15298         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15299
15300 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15301
15302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15303         Discard GDK_ENTER_NOTIFY related to ungrabs.
15304
15305 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15306
15307         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15308         is called for an intermediate queue.
15309
15310 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
15311
15312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15313         (window_property_changed_cb): Set id_set.
15314
15315 2004-01-16  Kim Ho  <kho@redhat.com>
15316
15317         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15318         it is a FileDialog and has dimensions of 0 by 0, then the initial
15319         size is set to size request plus insets.
15320         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15321         (gtkWidgetGetDimensions): Override method.
15322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15323         (gtkWidgetGetDimensions): Override method. Returns size request plus
15324         insets.
15325
15326 2004-01-16  Andrew Haley  <aph@redhat.com>
15327
15328         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15329         * sysdep/i386/locks.h: Likewise.
15330
15331 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15332
15333         * java/awt/EventDispatchThread.java (run): Stop running when
15334         interrupted.
15335         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15336         Reset the queue after transferring its contents.
15337         (push): Start a new dispatch thread if none is running.
15338
15339 2004-01-16  Olga Rodimina <rodimina@redhat.com>
15340
15341         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15342         (doPolygon): set fill rule of polygon to
15343         WIND_EVEN_ODD by default.
15344
15345 2004-01-15  Olga Rodimina <rodimina@redhat.com>
15346
15347         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15348         Implemented rendering hints related methods.
15349         (getDefaultHints): New helper method. Returns
15350         default rendering hints.
15351         (walkPath): changed to normalize path if
15352         the KEY_STROKE_CONTROL key is in "normalize" mode.
15353         (draw3DRect): changed coordinates of rectangle by +0.5
15354         if in "normalize" mode.
15355
15356 2004-01-15  Tom Tromey  <tromey@redhat.com>
15357
15358         * Makefile.in: Rebuilt.
15359         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15360         (%.lo: %.java) Filter out StackTrace.lo.
15361
15362 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
15363
15364         * configure.in: Add in AC_PREREQ(2.13)
15365         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete
15366         FIXME comment.
15367
15368 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
15369             Tom Tromey  <tromey@redhat.com>
15370
15371         PR libgcj/12001:
15372         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15373         array to superclass.
15374         (init): Changed interface; add URLs here.
15375         (initialize): New static method.
15376         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15377         (_Jv_RunMain): ... not here.
15378
15379 2004-01-14  Michael Koch  <konqueror@gmx.de>
15380
15381         * java/text/MessageFormat.java:
15382         Added descriptions to exceptions.
15383         This fixes PR libgcj/2429.
15384
15385 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15386
15387         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15388         (push): Make sure push is performed at the top of the thread stack.
15389
15390 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15391
15392         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15394         (native create): Add width and height parameters.  Set text
15395         view's size request according to new parameters.
15396         (create): Calculate text view size based on current font's
15397         metrics and number of rows and columns.  Set TextArea's font if
15398         not already set.  Call native create.
15399         (getMinimumSize): Call minimumSize.
15400         (getPreferredSize): Call preferredSize.
15401         (getHScrollbarHeight): New method.
15402         (getVScrollbarWidth): New method.
15403         (minimumSize): Calculate minimum size based on scrollbar
15404         visibility, scrollbar sizes, font metrics and number of rows and
15405         columns.
15406         (preferredSize): Likewise for preferred size.
15407         (gtkTextGetSize): Remove method.
15408
15409 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15410
15411         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15412         (initializeInsets): Remove method.
15413         (GtkComponentPeer): Initialize insets field.  Remove call to
15414         initializeInsets.
15415         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15416         Remove method.
15417         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15418         Remove method.
15419         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15420         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15421         (latestInsets): Remove field.
15422         (native create): Add insets parameter.  Call
15423         window_get_frame_extents.  Set the window's default size and
15424         size request based on its frame extents.
15425         (create): Initialize insets.
15426         (postInsetsChangedEvent): New method.
15427         (postConfigureEvent): Remove parameters top, left, bottom,
15428         right.  Remove insets-related logic.
15429         (connectJObject): Handle property-notify-event.
15430         (window_get_frame_extents, request_frame_extents,
15431         property_notify_predicate, window_property_changed_cb): New
15432         static functions.
15433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15434         (pre_event_handler): Remove insets-related logic for configure
15435         events.
15436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15437         Update postConfigureEvent signature.
15438
15439 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15440
15441         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15442         to handle Window "Closing" events.
15443
15444 2004-01-13  David Jee  <djee@redhat.com>
15445
15446         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15447         (setBackground): New method. Children with no explicitly-set
15448         background will be repainted with the parent container's new
15449         background color.
15450
15451 2004-01-13  David Jee  <djee@redhat.com>
15452
15453         * Makefile.am: Add BitwiseXORComposite.java.
15454         * Makefile.in: Regenerated.
15455         * gcj/Makefile.in: Regenerated.
15456         * include/Makefile.in: Regenerated.
15457         * testsuite/Makefile.in: Regenerated.
15458
15459 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15460
15461         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15462         not show modal dialogs twice and so that it allows showing a modal
15463         dialog from another modal dialog.
15464
15465 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15466
15467         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15468         and run secondary dispatch thread to process event queue while this
15469         thread is blocked.
15470
15471 2004-01-12  Graydon Hoare  <graydon@redhat.com>
15472
15473         * gnu/java/awt/gtk/GdkGraphics2D.java
15474         (static): Check GtkToolkit before initializing static state.
15475         (Graphics2D): Don't construct transform with 0.5 unit offset.
15476
15477 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
15478
15479         * gnu/java/awt/BitwiseXORComposite.java: Add.
15480         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15481         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15482         (BitwiseXORComposite): Remove inner class.
15483
15484 2004-01-11  Michael Koch  <konqueror@gmx.de>
15485
15486         * gnu/java/lang/reflect/TypeSignature.java
15487         (getEncodingOfClass): Documentation fixed.
15488         (getClassForEncoding): Give class loader to Class.forName().
15489         Documentation fixed.
15490
15491 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
15492
15493         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15494
15495 2004-01-11  Michael Koch  <konqueror@gmx.de>
15496
15497         * javax/swing/undo/StateEditable.java
15498         (RCSID): Removed redundant modifiers.
15499
15500 2004-01-10  Michael Koch  <konqueror@gmx.de>
15501
15502         * javax/print/attribute/EnumSyntax.java
15503         (getStringTable): Made protected.
15504         (getEnumValueTable): Likewise.
15505         * javax/print/attribute/standard/JobKOctetsProcessed.java
15506         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15507         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15508         (JobMediaSheetsCompleted): Made class final.
15509         * javax/print/attribute/standard/OutputDeviceAssigned.java
15510         (getName): Fixed typo.
15511         * javax/print/attribute/standard/RequestingUserName.java
15512         (serialVersionUID): Fixed value.
15513
15514 2004-01-10  Michael Koch  <konqueror@gmx.de>
15515
15516         * javax/swing/plaf/basic/BasicButtonUI.java,
15517         javax/swing/plaf/basic/BasicCheckBoxUI.java,
15518         javax/swing/plaf/basic/BasicListUI.java,
15519         javax/swing/plaf/basic/BasicOptionPaneUI.java,
15520         javax/swing/plaf/basic/BasicPanelUI.java,
15521         javax/swing/plaf/basic/BasicRadioButtonUI.java,
15522         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15523         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15524         javax/swing/plaf/basic/BasicViewportUI.java:
15525         Fixed import statements.
15526
15527 2004-01-10  Michael Koch  <konqueror@gmx.de>
15528
15529         * gnu/java/awt/image/ImageDecoder.java
15530         (produce): Made public.
15531         * gnu/java/awt/peer/GLightweightPeer.java,
15532         gnu/java/awt/peer/gtk/GtkToolkit.java:
15533         Reformated.
15534
15535 2004-01-10  Michael Koch  <konqueror@gmx.de>
15536
15537         * javax/swing/JRadioButtonMenuItem.java,
15538         javax/swing/JSeparator.java,
15539         javax/swing/JSplitPane.java,
15540         javax/swing/JTextPane.java,
15541         javax/swing/JToolBar.java,
15542         javax/swing/ListCellRenderer.java,
15543         javax/swing/ListModel.java,
15544         javax/swing/MenuElement.java,
15545         javax/swing/OverlayLayout.java,
15546         javax/swing/ProgressMonitor.java,
15547         javax/swing/ProgressMonitorInputStream.java,
15548         javax/swing/Renderer.java,
15549         javax/swing/RootPaneContainer.java,
15550         javax/swing/Scrollable.java,
15551         javax/swing/SingleSelectionModel.java,
15552         javax/swing/ToolTipManager.java,
15553         javax/swing/ViewportLayout.java,
15554         javax/swing/event/DocumentEvent.java,
15555         javax/swing/event/SwingPropertyChangeSupport.java,
15556         javax/swing/event/TreeSelectionEvent.java,
15557         javax/swing/event/UndoableEditEvent.java,
15558         javax/swing/text/AbstractDocument.java,
15559         javax/swing/text/AttributeSet.java,
15560         javax/swing/text/Caret.java,
15561         javax/swing/text/ComponentView.java,
15562         javax/swing/text/DefaultCaret.java,
15563         javax/swing/text/DefaultEditorKit.java,
15564         javax/swing/text/Document.java,
15565         javax/swing/text/EditorKit.java,
15566         javax/swing/text/GapContent.java,
15567         javax/swing/text/Keymap.java,
15568         javax/swing/text/MutableAttributeSet.java,
15569         javax/swing/text/PlainEditorKit.java,
15570         javax/swing/text/Segment.java,
15571         javax/swing/text/Style.java,
15572         javax/swing/text/StyledDocument.java,
15573         javax/swing/text/StyledEditorKit.java,
15574         javax/swing/text/TextAction.java,
15575         javax/swing/text/View.java: Fixed import statements.
15576
15577 2004-01-08  Graydon Hoare  <graydon@redhat.com>
15578
15579         * javax/swing/JLayeredPane.java: Rewrite to accomodate
15580         djee@redhat.com's recent inverse ordering of Container elements.
15581
15582 2004-01-09  Michael Koch  <konqueror@gmx.de>
15583
15584         * gnu/java/lang/ArrayHelper.java
15585         (equalsArray): Removed.
15586
15587 2004-01-09  Andrew Haley  <aph@redhat.com>
15588
15589         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15590         a Utf8Const field before looking at its class.
15591
15592 2004-01-09  Michael Koch  <konqueror@gmx.de>
15593
15594         * javax/print/attribute/standard/DocumentName.java,
15595         javax/print/attribute/standard/JobHoldUntil.java,
15596         javax/print/attribute/standard/JobMessageFromOperator.java,
15597         javax/print/attribute/standard/JobName.java,
15598         javax/print/attribute/standard/JobOriginatingUserName.java,
15599         javax/print/attribute/standard/OutputDeviceAssigned.java,
15600         javax/print/attribute/standard/PrinterInfo.java,
15601         javax/print/attribute/standard/PrinterLocation.java,
15602         javax/print/attribute/standard/PrinterMakeAndModel.java,
15603         javax/print/attribute/standard/PrinterMessageFromOperator.java,
15604         javax/print/attribute/standard/PrinterName.java,
15605         javax/print/attribute/standard/RequestingUserName.java: New files.
15606         * Makefile.am (javax_source_files): Added new files.
15607         * Makefile.in: Regenerated.
15608
15609 2004-01-09  Michael Koch  <konqueror@gmx.de>
15610
15611         * javax/swing/AbstractAction.java,
15612         javax/swing/AbstractSet.java,
15613         javax/swing/Action.java,
15614         javax/swing/ActionMap.java,
15615         javax/swing/BoundedRangeModel.java,
15616         javax/swing/ButtonModel.java,
15617         javax/swing/CellEditor.java,
15618         javax/swing/CellRendererPane.java,
15619         javax/swing/ComboBoxEditor.java,
15620         javax/swing/DebugGraphics.java,
15621         javax/swing/DefaultCellEditor.java,
15622         javax/swing/DefaultCellRenderer.java,
15623         javax/swing/DefaultComboBoxModel.java,
15624         javax/swing/DefaultDesktopManager.java,
15625         javax/swing/DefaultFocusManager.java,
15626         javax/swing/DefaultListCellRenderer.java,
15627         javax/swing/Icon.java,
15628         javax/swing/JButton.java,
15629         javax/swing/JCheckBoxMenuItem.java,
15630         javax/swing/JDesktopPane.java,
15631         javax/swing/JEditorPane.java,
15632         javax/swing/JMenu.java,
15633         javax/swing/JPanel.java,
15634         javax/swing/JPasswordField.java,
15635         javax/swing/JPopupMenu.java,
15636         javax/swing/JProgressBar.java: Reworked imports.
15637
15638 2004-01-09  Michael Koch  <konqueror@gmx.de>
15639
15640         * java/awt/geom/PathIterator.java
15641         (WIND_EVEN_ODD): Removed redundant modifiers.
15642         (WIND_NON_ZERO): Likewise.
15643         (SEG_MOVETO): Likewise.
15644         (SEG_LINETO): Likewise.
15645         (SEG_QUADTO): Likewise.
15646         (SEG_CUBICTO): Likewise.
15647         (SEG_CLOSE): Likewise.
15648         * java/awt/image/SinglePixelPackedSampleModel.java:
15649         Removed redundant semicolon.
15650         * java/io/ObjectInputStream.java
15651         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15652         * java/util/logging/Filter.java
15653         (isLoggable): Removed redundant modifier.
15654         * java/util/logging/LogManager.java:
15655         Removed redundant semicolon.
15656         * java/util/logging/XMLFormatter.java
15657         (format): Removed unused variable "key".
15658
15659 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
15660
15661         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15662         New name for the former setFile native method.
15663         (setFile): New method.
15664         (setDirectory): Implemented.
15665         (connectSignals): New native method.
15666         (setFilenameFilter): Improve comment.
15667         (getGraphics): Comment.
15668         (gtkHideFileDialog): New method.
15669         (gtkDisposeFileDialog): New method.
15670         (gtkSetFilename): New method.
15671         * java/awt/Dialog.java (show): Block on modal dialogs, but only
15672         for FileDialog for now.
15673         (hide): New method.
15674         (dispose): New method.
15675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15676         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15677         deprecated creation functions.  Make dialog modal.  Add it to the
15678         window group.
15679         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15680         function.
15681         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15682         Rename to...
15683         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15684         name.
15685         (window_closed): New function.
15686         (ok_clicked): New function.
15687         (cancel_clicked): New function.
15688
15689 2004-01-08  Michael Koch  <konqueror@gmx.de>
15690
15691         * javax/swing/JLayeredPane.java: Revert changes to standard
15692         boilerplate, reworked imports.
15693
15694 2004-01-07  Tom Tromey  <tromey@redhat.com>
15695
15696         PR libgcj/13439:
15697         * verify.cc (state::merge): Copy changed locals out of subroutine
15698         in NO_STACK case.
15699         (state::FLAG_CHANGED): New const.
15700         (state::FLAG_UNUSED): Likewise.
15701         (state::local_changed): Removed.  Updated all users.
15702         (state::flags): New field.
15703         (state::merge): Added jsr_semantics argument, more logic.
15704         (push_jump_merge): Added jsr_semantics argument.
15705         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15706         merging through the jsr instruction.
15707
15708 2004-01-07  Tom Tromey  <tromey@redhat.com>
15709
15710         * scripts/MakeDefaultMimeTypes.java: Use \n, not
15711         backslash-newline.
15712
15713 2004-01-07  Graydon Hoare  <graydon@redhat.com>
15714
15715         * java/awt/Container.java (LightweightDispatcher): Implement.
15716         (visitChild): Reuse graphics object.
15717         (dispatchEventImpl): Optionally dispatch to lightweight.
15718         (addNotifyContainerChildren): Build LightweightDispatcher.
15719
15720 2004-01-07  David Jee  <djee@redhat.com>
15721
15722         * java/awt/Container.java
15723         (update): Clear only the clipped region, instead of clearing the
15724         entire Container.
15725         (visitChildren): Visit children in descending order.
15726
15727 2004-01-07  Michael Koch  <konqueror@gmx.de>
15728
15729         * java/lang/reflect/Array.java: Merged documentation with classpath.
15730
15731 2004-01-07  Michael Koch  <konqueror@gmx.de>
15732
15733         * java/text/CollationElementIterator.java
15734         (textIndex): Renamed from index.
15735         * java/text/CollationKey.java
15736         (collator): New member.
15737         (CollationKey): New argument for parent collator.
15738         (equals): Check for same collator, source string and key array.
15739         * java/text/RuleBasedCollator.java:
15740         Reformated.
15741         (RuleBasedCollator): Don't re-initialize frenchAccents with default
15742         value.
15743         (getCollationElementIterator): Rewritten.
15744         (getCollationKey): Added new argument to CollationKey constructor.
15745
15746 2004-01-07  Michael Koch  <konqueror@gmx.de>
15747
15748         * gnu/java/nio/DatagramChannelImpl.java
15749         (blocking): Removed.
15750         (DatagramChannelImpl): Call configureBlocking().
15751         (implConfigureBlocking): Dont initialize blocking.
15752         * gnu/java/nio/ServerSocketChannelImpl.java
15753         (blocking): Removed.
15754         (ServerSocketChannelImpl): Call configureBlocking().
15755         (implConfigureBlocking): Dont initialize blocking.
15756         * gnu/java/nio/SocketChannelImpl.java
15757         (blocking): Removed.
15758         (SocketChannelImpl): Call configureBlocking().
15759         (implConfigureBlocking): Dont initialize blocking.
15760         (connect): Use isBlocking().
15761         * java/nio/channels/spi/AbstractSelectableChannel.java
15762         (configureBlocking): Use blockingLock() instead of LOCK.
15763         Set blocking after successfully called implConfigureBlocking().
15764         (register): Use blockingLock() instead of LOCK.
15765
15766 2004-01-07  Michael Koch  <konqueror@gmx.de>
15767
15768         * java/net/ServerSocket.java (isBound): Fixed documentation.
15769
15770 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
15771
15772         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15773         (changeEvent): Create event object on demand.
15774         (DefaultBoundedRangeModel, toString, setValue, setExtent,
15775         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15776         fireStateChanged): Re-written.
15777         * javax/swing/event/EventListenerList.java: Reformatted, document
15778         typical usage.
15779         (toString): Implemented.
15780         (getListeners): Re-written.
15781         (remove): Re-written.
15782         (add): Re-written.
15783         (NO_LISTENERS): New singleton field.
15784         (listenerList): Declare as transient; document.
15785         (serialVersionUID): Document.
15786         (getListenerCount(Class)): More efficient implementation,
15787         also accepts null argument.  Improve Javadoc.
15788         (getListenerCount()): Remove unnecessary cast; docfix.
15789         * javax/swing/undo/UndoableEditSupport.java:
15790         Re-format, document.
15791         (UndoableEditSupport): Set realSource field. Improve documentation.
15792         (_postEdit): Iterate over cloned listener vector.
15793         (toString): Don't emit realSource.
15794         (beginUpdate, endUpdate): Support nested updates.
15795         (postEdit): Use compound edit if present.
15796
15797 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15798
15799         * java/awt/Container.java (swapComponents): Add forgotten
15800         function, required for JLayeredPane change.
15801
15802 2004-01-06  Michael Koch  <konqueror@gmx.de>
15803
15804         * java/text/CollationElementIterator.java: Reformated.
15805         (CollationElementIterator): Changed order of arguments.
15806         * java/text/RuleBasedCollator.java
15807         (RuleBasedCollator): Merged class documentation.
15808         (CollationElement): Added documentation.
15809         (compare): Reformated, renamed arguments.
15810         (equals): Likewise.
15811         (getCollationElementIterator): Likewise.
15812         (getCollationKey): Likewise.
15813
15814 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15815
15816         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
15817
15818 2004-01-06  Michael Koch  <konqueror@gmx.de>
15819
15820         * gnu/java/net/protocol/file/Connection.java:
15821         Reformated copyright.
15822         (hdrHash): Removed.
15823         (hdrVec): Removed.
15824         (gotHeaders): Removed.
15825         (getHeaderField): Removed.
15826         (getHeaderField): Removed.
15827         (getHeaderFieldKey): Removed.
15828         (getKey): Removed.
15829         (getField): Removed.
15830         (getHeaders): Removed.
15831
15832 2004-01-06  Michael Koch  <konqueror@gmx.de>
15833
15834         * javax/print/attribute/standard/DateTimeAtCompleted.java,
15835         javax/print/attribute/standard/DateTimeAtCreation.java,
15836         javax/print/attribute/standard/DateTimeAtProcessing.java,
15837         javax/print/attribute/standard/JobImpressionsCompleted.java,
15838         javax/print/attribute/standard/JobKOctets.java,
15839         javax/print/attribute/standard/JobKOctetsProcessed.java,
15840         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
15841         javax/print/attribute/standard/JobPrioritySupported.java: New files.
15842         * Makefile.am (javax_source_files): Added new files.
15843         * Makefile.in: Regenerated.
15844
15845 2004-01-06  Michael Koch  <konqueror@gmx.de>
15846
15847         * java/net/URLConnection.java
15848         (contentHandler): Removed.
15849         (locale): Removed.
15850         (getHeaderFields): Return an empty map instead of null.
15851         (getContent): Connect if needed, renamed "cType" to "type" and
15852         "contentHandler" to "ch" and made it a local variable.
15853         (getPermission): Don't use package in class name.
15854         (setDefaultRequestProperty): Fixed typo in documentation.
15855         (initializeDateFormats): Made locale a local variable.
15856
15857 2004-01-06  Michael Koch  <konqueror@gmx.de>
15858
15859         * java/lang/Package.java
15860         (getPackage): Get the current class loader directly.
15861         * java/lang/SecurityManager.java
15862         (currentLoadedClass): Dont iterate over class contexts.
15863         (classLoaderDepth): Don't check class loaders if everything is allowed.
15864
15865 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15866
15867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15868         (pre_event_handler): Set all insets to 0 when a Configure event
15869         is received for a GtkPlug.
15870         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
15871         Make handle long, not int.
15872         (EmbeddedWindow()): New constructor.
15873         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
15874         long, not int.
15875         (setHandle): New method.
15876         (getHandle): Return long, not int.
15877         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
15878         declaration.
15879         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
15880         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
15881         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
15882         argument to GdkNativeWindow.
15883         (construct): New method.
15884         (embed): New method.
15885
15886         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
15887         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
15888         (create(int, int)): New method.
15889         (create): Call new create method.
15890         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
15891         methods.
15892         (childResized): Remove native implementation.  Implement in
15893         Java.
15894         (getHScrollbarHeight, getVScrollbarWidth): Call
15895         gtk_widget_size_request to get scrollbar dimensions.
15896         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
15897         call getVScrollbarWidth and getHScrollbarHeight when vertical
15898         and horizontal scrollbars respectively are needed.
15899         (doLayout): Enlarge child if it is smaller than the viewport.
15900
15901 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15902
15903         * java/awt/Dialog.java (constructor): Accept null title as per spec.
15904         * java/awt/FileDialog.java (constructor): Throw exception on invalid
15905         argument as per spec.
15906
15907 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15908
15909         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
15910         (insert): Ditto.
15911         (remove): Ditto.  Also, Check for valid argument.
15912         (removeAll): Use peer interface method.
15913         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
15914         native add function.
15915         (nativeRemove): New name for native remove function.
15916         (getHistory): New native function.
15917         (constructor): Generate ItemEvent.
15918         (add): Ditto, if selection is changed.
15919         (remove): Ditto, ditto.
15920         (removeAll): Add implementation.
15921         (handleEvent): Remove.  Dead code.
15922         (choicePostItemEvent): Add comment.
15923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
15924         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
15925         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
15926         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
15927         comments and fix condition to change selection.
15928         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
15929         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
15930         remove all capability.
15931         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
15932         (item_activate): Add cast to remove compiler warning.
15933
15934 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15935
15936         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15937         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15938         (getPreferredSize): Call preferredSize.
15939         (preferredSize): Call gtkWidgetGetPreferredDimensions.
15940         (getMinimumSize): Call minimumSize.
15941         (minimumSize): Call gtkWidgetGetPreferredDimensions.
15942         (gtkWidgetGetDimensions): Return the peer widget's current size
15943         request.
15944         (gtkWidgetGetPreferredDimensions): Return the peer widget's
15945         natural size request.
15946
15947 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
15948
15949         Thanks to Brian Gough <bjg@network-theory.com>
15950         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
15951         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
15952
15953 2004-01-04  Matthias Klose  <doko@debian.org>
15954
15955         * aclocal.m4: Rebuilt using "aclocal -I .".
15956         * configure: Rebuilt.
15957
15958 2004-01-03  Per Bothner  <per@bothner.com>
15959
15960         * java/util/Date.java (parse):  Fix a number of problems.
15961         (skipParens):  Remove no-longer-needed method.