OSDN Git Service

2317f6ea79ea834102c4cda38942d4375ba39a22
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-12-01  Tom Tromey  <tromey@redhat.com>
2
3         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
4         name.
5         (_Jv_ThreadRegister): Likewise.
6         (_Jv_MutexCheckMonitor): Likewise.
7
8         * link.cc: Include limits.h.
9
10 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
11
12         PR libgcj/18699
13         * testsuite/libjava.lang/PR18699.java, 
14         testsuite/libjava.lang/PR18699.out: New test.
15
16 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17
18         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
19         Update image observer.
20         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
21         Start image production.
22         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
23         against negative menu bar widths.
24         (setBounds): Likewise.
25         (postConfigureEvent): Likewise.
26         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
27         remove consumer unless only a single frame has completed.
28         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
29         Add observer parameter.
30         (setPixels): Update image observer.
31         (imageComplete): Likewise.
32         * java/applet/Applet.java (width): New field.
33         (height): Likewise.
34         (setStub): Set size if width or height field has been set.
35         (resize): If stub is null save width and height values.
36         * java/awt/Component.java (reshape): Protect against null
37         parent.
38         * java/awt/image/MemoryImageSource.java
39         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
40         Document.
41         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
42         Likewise.
43         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
44         Reference pixel array directly, rather than creating a local
45         copy.
46         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
47         Likewise.
48         (newPixels(int,int,int,int)): Fix for loop and array copy
49         bounds.
50         (newPixels(int,int,int,int,boolean)): Likewise.
51         (startProduction): If animated call imageComplete with
52         SINGLEFRAME.
53         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
54         gdk_flush lines.
55         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
56         (drawPixels): Return if g is null or g->drawable is not a gdk
57         drawable.
58
59 2004-11-30  Michael Koch  <konqueror@gmx.de>
60
61         * javax/swing/DefaultSingleSelectionModel.java,
62         javax/swing/JPasswordField.java,
63         javax/swing/tree/AbstractLayoutCache.java:
64         Reformatted and javadocs cleaned up.
65
66 2004-11-30  Michael Koch  <konqueror@gmx.de>
67
68         * java/awt/Component.java:
69         Fixed argument names to match javadocs.
70         (setFont): Rewritten set property first and then fire event.
71         (setLocale): Likewise.
72         * javax/swing/text/JTextComponent.java
73         (setEditable): Likewise.
74
75 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
76
77         * java/awt/Button.java
78         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
79         source of 'click'.
80
81 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
82
83         * java/awt/Checkbox.java: Remove stub comments.
84
85 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
86
87         * java/awt/Button.java
88         (AccessibleAWTButton.getAccessibleActionDescription): Return
89         'click'.
90
91 2004-11-30  Michael Koch  <konqueror@gmx.de>
92
93         * java/awt/CardLayout.java:
94         Made some constants static.
95         (serialVersionUID): Made private.
96         (addLayoutComponent): Simplified code.
97         * java/awt/event/InputEvent.java
98         (getModifiersEx): Added missing @param tag.
99         * java/awt/image/RGBImageFilter.java
100         (filterRGBPixels): Reformatted, removed wrong @param tag.
101
102 2004-11-30  Michael Koch  <konqueror@gmx.de>
103
104         * javax/swing/text/FieldView.java,
105         javax/swing/text/JTextComponent.java:
106         Removed debug code.
107
108 2004-11-30  Michael Koch  <konqueror@gmx.de>
109
110         * javax/swing/BorderFactory.java
111         (BorderFactory): Added private constructor.
112         * javax/swing/SwingUtilities.java
113         (SwingUtilities): Likewise.
114         (computeStringWidth): New method.
115
116 2004-11-30  Michael Koch  <konqueror@gmx.de>
117
118         * java/awt/color/ICC_Profile.java
119         (icSigNamedColorTag): Removed.
120         * java/awt/datatransfer/DataFlavor.java
121         (isMimeTypeEqual): Made final.
122         * java/awt/image/AffineTransformOp.java:
123         Reworked javadocs.
124         (TYPE_BICUBIC): Added @since tag.
125
126 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
127
128         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
129         comments.
130
131 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
132
133         * java/awt/Checkbox.java (itemStateChanged): Implement function.
134         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
135
136 2004-11-30  Sven de Marothy  <sven@physto.se>
137
138         * java/awt/Polygon.java (contains): Reimplemented.
139
140 2004-11-30  Michael Koch  <konqueror@gmx.de>
141
142         * java/awt/print/PrinterJob.java: Reformatted.
143
144 2004-11-30  Michael Koch  <konqueror@gmx.de>
145
146         * java/awt/image/AffineTransformOp.java,
147         java/awt/image/ColorConvertOp.java,
148         java/awt/image/LookupOp.java,
149         java/awt/image/RescaleOp.java:
150         Added final keywords where they belong.
151
152 2004-11-30  Michael Koch  <konqueror@gmx.de>
153
154         * java/awt/CardLayout.java,
155         java/awt/Component.java,
156         java/awt/Font.java,
157         java/awt/image/SinglePixelPackedSampleModel.java:
158         Fixed javadocs and argument names all over.
159
160 2004-11-30  Michael Koch  <konqueror@gmx.de>
161
162         * java/awt/image/DataBufferShort.java: Fixed file header.
163         * java/awt/image/DataBufferUShort.java: Likewise.
164         (DataBufferUShort): Throw NullPointerException if dataArray is null.
165
166 2004-11-30  Sven de Marothy  <sven@physto.se>
167
168         * java/awt/geom/Arc2D.java
169         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
170         (setAngles): Likewise.
171         (containsAngle): Return false on zero extent, don't include
172         final angle.
173         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
174         ones.
175
176 2004-11-30  Sven de Marothy  <sven@physto.se>
177
178         * java/awt/geom/AffineTransform.java,
179         (inverseTransform): Fixed bug and simplified code.
180         (createTransformedShape): Return null on null parameter.
181
182 2004-11-30  Michael Koch  <konqueror@gmx.de>
183
184         * java/awt/color/ICC_ColorSpace.java,
185         java/awt/color/ICC_Profile.java,
186         java/awt/color/ICC_ProfileGray.java,
187         java/awt/color/ICC_ProfileRGB.java:
188         Re-indent copyright header to be standardish.
189         * java/awt/datatransfer/StringSelection.java:
190         Reformatted.
191         * java/awt/geom/Area.java
192         (EPSILON): Made static.
193         (RS_EPSILON): Likewise.
194         (PE_EPSILON): Likewide.
195
196 2004-11-30  Sven de Marothy  <sven@physto.se>
197
198         * javax/swing/SwingUtilities.java:
199         (computeDifference): Implemented
200         (computeIntersection): Likewise
201         (computeUnion): Likewise
202         (isRectangleContainingRectangle): Likewise
203
204 2004-11-30  Michael Koch  <konqueror@gmx.de>
205
206         * java/awt/BasicStroke.java,
207         java/awt/Button.java,
208         java/awt/Canvas.java,
209         java/awt/CheckboxMenuItem.java,
210         java/awt/Container.java,
211         java/awt/EventQueue.java,
212         java/awt/FileDialog.java,
213         java/awt/FlowLayout.java,
214         java/awt/FontMetrics.java,
215         java/awt/Graphics.java,
216         java/awt/GridLayout.java,
217         java/awt/KeyboardFocusManager.java,
218         java/awt/Label.java,
219         java/awt/LayoutManager2.java,
220         java/awt/List.java,
221         java/awt/MenuBar.java,
222         java/awt/Scrollbar.java,
223         java/awt/Toolkit.java,
224         java/awt/Window.java,
225         java/awt/datatransfer/DataFlavor.java,
226         java/awt/datatransfer/FlavorTable.java,
227         java/awt/event/ActionListener.java,
228         java/awt/event/HierarchyBoundsAdapter.java,
229         java/awt/geom/Arc2D.java,
230         java/awt/geom/Rectangle2D.java,
231         java/awt/geom/RectangularShape.java,
232         java/awt/im/spi/InputMethod.java,
233         java/awt/image/ByteLookupTable.java,
234         java/awt/image/ColorModel.java,
235         java/awt/image/DirectColorModel.java,
236         java/awt/image/ShortLookupTable.java,
237         java/awt/print/Book.java:
238         Fixed javadocs and method argument names all over.
239
240 2004-11-30  Michael Koch  <konqueror@gmx.de>
241
242         * gnu/java/awt/peer/gtk/GdkFontPeer.java
243         (buildString): Optimise String building.
244
245 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
246
247         * java/awt/TextArea.java (AccessibleAWTTextArea,
248         getAccessibleContext): Implement.
249         * java/awt/TextField.java (AccessibleAWTTextField,
250         getAccessibleContext): Implement.
251
252 2004-11-30  Tom Tromey  <tromey@redhat.com>
253
254         * Makefile.in: Rebuilt.
255         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
256         Fixed typo.
257
258 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
259
260         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
261         Implement.
262         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
263         Implement.
264
265 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
266
267         * java/awt/print/PrinterJob.java (lookupPrintServices,
268         getPrintService, setPrintService): Implement.
269         (lookupStreamPrintServices): Add commented out implementation.
270         (printer): New field.
271
272 2004-11-30  Mark Wielaard  <mark@klomp.org>
273
274         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
275         when not yet set.
276
277 2004-11-30  Sven de Marothy  <sven@physto.se>
278
279         * java/awt/geom/GeneralPath.java (evaluateCrossings):
280         Fixed epsilon value, should always be nonzero.
281
282 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
283
284         * java/awt/image/Raster.java
285         (createPackedRaster): Implemented.
286
287 2004-11-30  Graydon Hoare  <graydon@redhat.com>
288
289         * javax/swing/plaf/basic/BasicTextUI.java: 
290         Listen to focus events, indicate focus via caret.
291         * javax/swing/text/GapContent.java (getString): Return substring.
292         * javax/swing/text/PlainDocument.java (reindex): New method.
293         (createDefaultRoot): Call it.
294         (insertUpdate): Likewise.
295         (removeUpdate): Likewise.
296         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
297         on tab and newline, even if no painting happens.
298
299 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
300
301         * Makefile.am: List peer JNI header: Java source file
302         dependencies explicitly.  Likewise for JNI .lo: JNI header
303         dependencies.
304         * Makefile.in: Regenerate.
305
306 2004-11-30  Graydon Hoare  <graydon@redhat.com>
307
308         * Makefile.am: Add entry for BasicTextPaneUI.java
309         * Makefile.in: Regenerate.
310         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
311         (GdkGraphics2D): Set clip after transform.
312         (drawImage): Protect against null image.
313         * gnu/java/awt/peer/gtk/GtkFramePeer.java
314         (setIconImage): Protect against non-GtkImage args.
315         * gnu/java/awt/peer/gtk/GtkToolkit.java
316         (checkImage): Protect against non-GtkImage args.
317         * java/awt/print/PrinterJob.java:
318         (print): Add variant taking PrintRequestAttributeSet.
319         (printDialog): Likewise.
320         * javax/swing/JComponent.java:
321         (transferHandler): New field.
322         (getComponentGraphics): Build new Graphics for each sub-paint.
323         (getTransferHandler): New method.
324         (setTransferHandler): New method.
325         * javax/swing/JDesktopPane.java 
326         (setDragMode): Force LIVE_DRAG_MODE.
327         * javax/swing/JMenuItem.java
328         (menuSelectionChanged): Protect against null parent.
329         * javax/swing/JTable.java (setDefaultRenderer): New method.
330         * javax/swing/JTree.java: Get basic ctors and UI working.
331         * javax/swing/JViewport.java (JViewport): Set scroll mode.
332         * javax/swing/RepaintManager.java 
333         (addDirtyRegion): Skip empty regions.
334         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
335         bound scrollpane minimum by central view minimum.
336         * javax/swing/ToolTipManager.java 
337         (showTip): Guard against null component.
338         * javax/swing/TransferHandler.java: Stub out.
339         * javax/swing/plaf/basic/BasicLookAndFeel.java:
340         Add entry for TextPaneUI, change Tree icons to pngs.
341         * javax/swing/plaf/basic/BasicMenuItemUI.java:
342         (installDefaults): Set text position and alignment.
343         (paintMenuItem): Layout icon with normal compound function.
344         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
345         (getMaximumSize): Delete.
346         (getMinimumSize): Delete.
347         (getPreferredSize): Use column model's total width.
348         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
349         * javax/swing/plaf/basic/BasicTextUI.java
350         (modelChanged): Make resilient against nulls.
351         * javax/swing/plaf/basic/BasicTreeUI.java: 
352         Add some simplistic config / painting functions.
353         * javax/swing/plaf/basic/BasicViewportUI.java
354         (paintSimple): Add new non-backingstore paint mode.
355         (paintBackingStore): Split out backing store code.
356         (paint): Switch on painting mode.
357         * javax/swing/text/SimpleAttributeSet.java
358         (SimpleAttributeSet): Resist nulls.
359         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
360         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
361
362 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
363
364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
365         Set pango context's description and language.
366
367 2004-11-30  Mark Wielaard  <mark@klomp.org>
368
369         * java/awt/image/LookupOp.java: Comments and indentation fixes.
370
371 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
372
373         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
374         (getAccessibleContext): Implement.
375
376 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
377
378         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
379         Implement.
380         (getIndexAtPoint, getCharacterBounds): New methods.
381
382 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
383
384         * java/awt/Button.java (AccessibleAWTButton): Implement.
385
386 2004-11-30  Mark Wielaard  <mark@klomp.org>
387
388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
389         (filenameFilterCallback): Made static.
390
391 2004-11-30  Michael Koch  <konqueror@gmx.de>
392
393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
394         (cairoShowGlyphs) Removed.
395
396 2004-11-30  Sven de Marothy <sven@physto.se>
397
398         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
399         Don't invert matrix when reverse CLUT is available.
400         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
401         * java/awt/color/ICC_ColorSpace.java: Likewise.
402         * java/awt/color/ICC_Profile.java: Likewise.
403         * java/awt/color/ICC_ProfileGray.java: Likewise.
404         * java/awt/color/ICC_ProfileRGB.java: Likewise.
405
406 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
407
408         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
409
410 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
411
412         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
413
414 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
415
416         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
417         field hiding ComponentSampleModel.scanlineStride.
418
419 2004-11-30  Noa Resare  <noa@resare.com>
420
421         * java/awt/geom/GeneralPath.java (currentSegment):
422         Fix typo in transform.transform() invocation.
423
424 2004-11-30  Sven de Marothy <sven@physto.se>
425
426         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
427         (createImage): Created bitmap should be filled with bg color
428
429 2004-11-30  Noa Resare  <noa@resare.com>
430
431         * java/awt/Choice.java (add):
432         Implement correct selection behavior when peer == null.
433         (insert): Likewise.
434         (remove): Likewise.
435
436 2004-11-30  Mark Wielaard  <mark@klomp.org>
437
438         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
439         Call select() when Choice has a selected item.
440
441 2004-11-30  Michael Koch  <address@bogus.example.com>
442
443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
444         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
445         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
446         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
447         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
448         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
449         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
450         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
451         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
452         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
453         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
454         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
455         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
456         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
457         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
458         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
459         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
460         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
461         Fixed method names to start at begin of line. This is desired by GNU
462         coding style guide.
463
464 2004-11-30  Michael Koch  <konqueror@gmx.de>
465
466         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
467         (gtkWidgetSetVisible): Unused. Removed.
468         (connectJObject): Likewise.
469         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
470         (gtkScrolledWindowSetScrollPosition): Commented out.
471
472 2004-11-30  Mark Wielaard  <mark@klomp.org>
473
474         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
475         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
476         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
477
478 2004-11-30  Mark Wielaard  <mark@klomp.org>
479
480         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
481         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
482         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
483         (init_dpi_conversion_factor): Correct prototype.
484
485 2004-11-30  Sven de Marothy  <sven@physto.se>
486         
487         * java/awt/image/ConvolveOp.java: Added missing
488         copyright notice.
489
490 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
491
492         Fixes bug #10908
493         * gnu/java/beans/IntrospectionIncubator.java:
494         (addMethod): static methods are discarded now, too.
495
496 2004-11-30  Mark Wielaard  <mark@klomp.org>
497
498         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
499         java source files.
500         * Makefile.in: Regenerated.
501
502 2004-11-30  Sven de Marothy  <sven@physto.se>
503
504         * gnu/java/awt/color/CieXyzConverter.java,
505         gnu/java/awt/color/GrayScaleConverter.java,
506         gnu/java/awt/color/SrgbConverter.java,
507         gnu/java/awt/color/ClutProfileConverter.java,
508         gnu/java/awt/color/LinearRGBConverter.java,
509         gnu/java/awt/color/TagEntry.java,
510         gnu/java/awt/color/ColorLookUpTable.java,
511         gnu/java/awt/color/ProfileHeader.java,
512         gnu/java/awt/color/ToneReproductionCurve.java,
513         gnu/java/awt/color/ColorSpaceConverter.java,
514         gnu/java/awt/color/PyccConverter.java,
515         gnu/java/awt/color/GrayProfileConverter.java,
516         gnu/java/awt/color/RgbProfileConverter.java:
517         New files.
518         * java/awt/color/ICC_ColorSpace.java,
519         java/awt/color/ICC_Profile.java,
520         java/awt/color/ICC_ProfileGray.java,
521         java/awt/color/ICC_ProfileRGB.java:
522         Implemented (sans PhotoYCC color space).
523
524 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
525
526         * java/awt/image/AffineTransformOp.java (filter):  Implement
527         bilinear interpolation for Rasters.
528
529 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
530
531         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
532         use the provided colormap.  Throw documented exceptions.  Document
533         exceptions.
534
535 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
536
537         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
538         constructor.
539
540 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
541
542         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
543
544 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
545
546         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
547         filtering.
548
549 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
550
551         * java/awt/image/ComponentSampleModel.java (getDataElements,
552         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
553
554 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
555
556         * java/awt/Font.java (name): New field.
557         (size): Likewise.
558         (style): Likewise.
559
560 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
561
562         * java/awt/image/Raster.java (createBandedRaster): Implement.
563
564 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
565
566         * java/awt/image/ConvolveOp.java: New class.
567         * Makefile.am: Add ConvolveOp.
568         * Makefile.in: Regenerate.
569
570 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
571
572         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
573         LookupOp, RescaleOp): Fix loop bounds.
574
575 2004-11-30  jlquinn  <jlquinn@optonline.net>
576
577         * Makefile.am: Fix typo in BandCombineOp.
578         * Makefile.in: Regenerate.
579
580 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
581
582         * java/awt/image/BandCombineOp.java: New class.
583         * Makefile.am: Add BandCombineOp.
584         * Makefile.in: Regenerate.
585
586 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
587
588         * java/awt/image/LookupOp.java: New class.
589         * Makefile.am: Add LookupOp.
590         * Makefile.in: Regenerate.
591
592 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
593
594         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
595         javadocs.
596
597 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
598
599         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
600         wrap.  Use Boolean.valueOf.
601         
602 2004-11-30  Michael Koch  <konqueror@gmx.de>
603
604         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
605         (releasePeerGraphicsResource): Fixed typo in method name.
606         * gnu/java/awt/peer/gtk/GdkFontPeer.java
607         (finalize): Fixed typo in releasePeerGraphicsResource.
608
609 2004-11-30  Michael Koch  <konqueror@gmx.de>
610
611         * java/awt/font/TextAttribute.java
612         (RUN_DIRECTION_LTR): Initialie with static value instead of
613         calculating it.
614         (RUN_DIRECTION_RTL): Likewise.
615         (STRIKETHROUGH_ON): Likewise.
616         (SWAP_COLORS_ON): Likewise.
617
618 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
619
620         * java/awt/image/ColorConvertOp.java: New class.
621         * java/awt/image/ColorModel.java (cloneColorModel): New method.
622         * Makefile.am: Add ColorConvertOp.
623         * Makefile.in: Regenerate.
624
625 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
626
627         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
628         Track Window focus owner on FOCUS_GAINED events.
629
630 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
631
632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
633         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
634
635 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
636
637         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
638         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
639         Fix pointer warning.
640
641 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
642
643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
644         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
645         Fix pointer warning.
646
647         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
648         warnings.
649         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
650         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
651         to fix type punned pointer warning.
652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
653         Likewise.
654
655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
656         (window_get_new_state): Introduce unions to fix warnings as above.
657         (window_property_changed_cb): Likewise.
658         (window_active_state_change_cb): Mark unused variables unused.
659         (window_focus_state_change_cb): Likewise.
660         (window_focus_in_cb): Likewise.
661         (window_focus_out_cb): Likewise.
662
663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
664         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
665         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
666
667 2004-11-30  Michael Koch  <konqueror@gmx.de>
668
669         * javax/swing/JMenuBar.java
670         (updateUI): Simplified.
671         * javax/swing/tree/DefaultTreeSelectionModel.java:
672         Reorganized import statements.
673
674 2004-11-30  Michael Koch  <konqueror@gmx.de>
675
676         * java/awt/font/TextAttribute.java,
677         javax/swing/JComponent.java,
678         javax/swing/JInternalFrame.java,
679         javax/swing/table/TableColumn.java,
680         javax/swing/text/StyleConstants.java:
681         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
682
683 2004-11-30  Michael Koch  <konqueror@gmx.de>
684
685         * javax/swing/tree/DefaultTreeCellEditor.java,
686         javax/swing/tree/DefaultTreeModel.java,
687         javax/swing/tree/DefaultTreeSelectionModel.java:
688         Jalopied.
689
690 2004-11-30  Michael Koch  <konqueror@gmx.de>
691
692         * javax/swing/tree/DefaultTreeCellEditor.java
693         (EditorContainer.EditorContainer): Fixed arguments.
694         (EditorContainer.EditorContainer): New method.
695         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
696         (DefaultTextField.getBorder): Implemented.
697         (listenerList): New field.
698         (addCellEditorListener): Implemented.
699         (removeCellEditorListener): Implemented.
700         (getCellEditorListeners): New method.
701         * javax/swing/tree/DefaultTreeModel.java
702         (addTreeModelListener): Fixed javadoc.
703         (removeTreeModelListener): Likewise.
704         (getTreeModelListeners): New method.
705         (fireTreeNodesChanged): Implemented.
706         (fireTreeNodesInserted): Likewise.
707         (fireTreeNodesRemoved): Likewise.
708         (fireTreeStructureChanged): Likewise.
709         (getListeners): Fixed javadoc.
710         * javax/swing/tree/DefaultTreeSelectionModel.java
711         (addTreeSelectionListener): Implemented.
712         (removeTreeSelectionListener): Likewise.
713         (fireValueChanged): Likewise.
714         (getListeners): Likewise.
715         (addPropertyChangeListener): Likewise.
716         (removePropertyChangeListener): Likewise.
717         (getTreeSelectionListeners): New method.
718         (getPropertyChangeListeners): Likewise.
719
720 2004-11-30  Michael Koch  <konqueror@gmx.de>
721
722         * javax/swing/plaf/basic/BasicScrollBarUI.java
723         (maximumThumbSize): Removed static keyword.
724         (minimumThumbSize): Likewise.
725         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
726         (CloseAction): Made public.
727         (IconifyAction): Likewise.
728         (MaximizeAction): Likewise.
729         (MoveAction): Likewise.
730         (RestoreAction): Likewise.
731         (SizeAction): Likewise.
732         (SystemMenuBar): Likewise.
733         * javax/swing/plaf/basic/BasicSliderUI.java
734         (TrackListener): Likewise.
735         * javax/swing/plaf/basic/BasicSplitPaneUI.java
736         (KeyboardDownRightHandler): Likewise.
737         (KeyboardEndHandler): Likewise.
738         (KeyboardHomeHandler): Likewise.
739         (KeyboardResizeToggleHandler): Likewise.
740         (KeyboardUpLeftHandler): Likewise.
741         (PropertyHandler): Likewise.
742         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
743         (PropertyChangeHandler): Likewise.
744         (TabSelectionHandler): Likewise.
745
746 2004-11-30  Michael Koch  <konqueror@gmx.de>
747
748         * javax/swing/text/JTextComponent.java
749         (getKeymap): Made public.
750
751 2004-11-30  Michael Koch  <konqueror@gmx.de>
752
753         * javax/swing/JEditorPane.java
754         (getStream): Throws IOException.
755         (read): Likewise.
756         * javax/swing/JRootPane.java
757         (createContentPane): Fixed return type.
758         * javax/swing/JSpinner.java
759         (commitEdit): Throws ParseException.
760         * javax/swing/plaf/metal/MetalLookAndFeel.java
761         (serialVersionUID): New field.
762         * javax/swing/table/TableColumn.java
763         (resizedPostingDisableCount): Added @deprecated tag.
764         (disableResizedPosting): Likewise.
765         (enableResizedPosting): Likewise.
766         * javax/swing/text/Document.java
767         (TitleProperty): Fixed value.
768         * javax/swing/tree/TreeCellEditor.java
769         (TreeCellEditor): Extends CellEditor.
770
771 2004-11-30  Michael Koch  <konqueror@gmx.de>
772
773         * javax/swing/JWindow.java
774         javax/swing/SpinnerModel.java
775         javax/swing/Timer.java
776         javax/swing/event/MenuKeyEvent.java
777         javax/swing/plaf/basic/BasicButtonUI.java
778         javax/swing/plaf/basic/BasicIconFactory.java
779         javax/swing/plaf/basic/BasicTabbedPaneUI.java
780         javax/swing/text/AttributeSet.java
781         javax/swing/text/Highlighter.java
782         javax/swing/text/StyleConstants.java
783         javax/swing/tree/TreeCellEditor.java:
784         Removed redundant and reordered modifiers.
785
786 2004-11-30  Michael Koch  <konqueror@gmx.de>
787
788         * javax/swing/plaf/basic/BasicToolTipUI.java:
789         Reformatted copyright header.
790
791 2004-11-30  Michael Koch  <konqueror@gmx.de>
792
793         * javax/swing/AbstractAction.java,
794         javax/swing/AbstractButton.java,
795         javax/swing/AbstractCellEditor.java,
796         javax/swing/AbstractListModel.java,
797         javax/swing/AbstractSpinnerModel.java,
798         javax/swing/ActionMap.java,
799         javax/swing/BorderFactory.java,
800         javax/swing/Box.java,
801         javax/swing/ButtonModel.java,
802         javax/swing/CellEditor.java,
803         javax/swing/CellRendererPane.java,
804         javax/swing/DefaultBoundedRangeModel.java,
805         javax/swing/DefaultButtonModel.java,
806         javax/swing/DefaultCellEditor.java,
807         javax/swing/DefaultDesktopManager.java,
808         javax/swing/DefaultListCellRenderer.java,
809         javax/swing/DefaultListSelectionModel.java,
810         javax/swing/DefaultSingleSelectionModel.java,
811         javax/swing/GrayFilter.java,
812         javax/swing/InputMap.java,
813         javax/swing/JApplet.java,
814         javax/swing/JCheckBoxMenuItem.java,
815         javax/swing/JColorChooser.java,
816         javax/swing/JComboBox.java,
817         javax/swing/JComponent.java,
818         javax/swing/JDesktopPane.java,
819         javax/swing/JDialog.java,
820         javax/swing/JEditorPane.java,
821         javax/swing/JFileChooser.java,
822         javax/swing/JFormattedTextField.java,
823         javax/swing/JFrame.java,
824         javax/swing/JInternalFrame.java,
825         javax/swing/JLabel.java,
826         javax/swing/JLayeredPane.java,
827         javax/swing/JList.java,
828         javax/swing/JMenu.java,
829         javax/swing/JMenuBar.java,
830         javax/swing/JMenuItem.java,
831         javax/swing/JOptionPane.java,
832         javax/swing/JPanel.java,
833         javax/swing/JPasswordField.java,
834         javax/swing/JPopupMenu.java,
835         javax/swing/JRadioButtonMenuItem.java,
836         javax/swing/JRootPane.java,
837         javax/swing/JSpinner.java,
838         javax/swing/JSplitPane.java,
839         javax/swing/JTabbedPane.java,
840         javax/swing/JTable.java,
841         javax/swing/JTextArea.java,
842         javax/swing/JTextPane.java,
843         javax/swing/JToggleButton.java,
844         javax/swing/JToolBar.java,
845         javax/swing/JToolTip.java,
846         javax/swing/JTree.java,
847         javax/swing/JViewport.java,
848         javax/swing/ListModel.java,
849         javax/swing/LookAndFeel.java,
850         javax/swing/MenuSelectionManager.java,
851         javax/swing/ProgressMonitorInputStream.java,
852         javax/swing/RepaintManager.java,
853         javax/swing/RootPaneContainer.java,
854         javax/swing/ScrollPaneLayout.java,
855         javax/swing/SpringLayout.java,
856         javax/swing/SwingUtilities.java,
857         javax/swing/Timer.java,
858         javax/swing/ToolTipManager.java,
859         javax/swing/UIDefaults.java,
860         javax/swing/UIManager.java,
861         javax/swing/border/MatteBorder.java,
862         javax/swing/colorchooser/AbstractColorChooserPanel.java,
863         javax/swing/colorchooser/ColorSelectionModel.java,
864         javax/swing/colorchooser/DefaultColorSelectionModel.java,
865         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
866         javax/swing/colorchooser/DefaultPreviewPanel.java,
867         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
868         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
869         javax/swing/event/AncestorEvent.java,
870         javax/swing/event/HyperlinkEvent.java,
871         javax/swing/event/InternalFrameEvent.java,
872         javax/swing/event/MenuDragMouseEvent.java,
873         javax/swing/event/TableColumnModelEvent.java,
874         javax/swing/event/TableModelEvent.java,
875         javax/swing/event/TreeExpansionEvent.java,
876         javax/swing/event/TreeModelEvent.java,
877         javax/swing/event/TreeSelectionEvent.java,
878         javax/swing/event/TreeWillExpandListener.java,
879         javax/swing/event/UndoableEditEvent.java,
880         javax/swing/filechooser/FileView.java,
881         javax/swing/plaf/BorderUIResource.java,
882         javax/swing/plaf/ComponentUI.java,
883         javax/swing/plaf/FileChooserUI.java,
884         javax/swing/plaf/IconUIResource.java,
885         javax/swing/plaf/ListUI.java,
886         javax/swing/plaf/PopupMenuUI.java,
887         javax/swing/plaf/SplitPaneUI.java,
888         javax/swing/plaf/TabbedPaneUI.java,
889         javax/swing/plaf/TextUI.java,
890         javax/swing/plaf/TreeUI.java,
891         javax/swing/plaf/basic/BasicArrowButton.java,
892         javax/swing/plaf/basic/BasicBorders.java,
893         javax/swing/plaf/basic/BasicButtonUI.java,
894         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
895         javax/swing/plaf/basic/BasicColorChooserUI.java,
896         javax/swing/plaf/basic/BasicComboBoxEditor.java,
897         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
898         javax/swing/plaf/basic/BasicComboBoxUI.java,
899         javax/swing/plaf/basic/BasicComboPopup.java,
900         javax/swing/plaf/basic/BasicDesktopIconUI.java,
901         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
902         javax/swing/plaf/basic/BasicIconFactory.java,
903         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
904         javax/swing/plaf/basic/BasicInternalFrameUI.java,
905         javax/swing/plaf/basic/BasicListUI.java,
906         javax/swing/plaf/basic/BasicLookAndFeel.java,
907         javax/swing/plaf/basic/BasicMenuBarUI.java,
908         javax/swing/plaf/basic/BasicMenuItemUI.java,
909         javax/swing/plaf/basic/BasicMenuUI.java,
910         javax/swing/plaf/basic/BasicOptionPaneUI.java,
911         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
912         javax/swing/plaf/basic/BasicPopupMenuUI.java,
913         javax/swing/plaf/basic/BasicProgressBarUI.java,
914         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
915         javax/swing/plaf/basic/BasicRootPaneUI.java,
916         javax/swing/plaf/basic/BasicScrollBarUI.java,
917         javax/swing/plaf/basic/BasicSeparatorUI.java,
918         javax/swing/plaf/basic/BasicSliderUI.java,
919         javax/swing/plaf/basic/BasicSpinnerUI.java,
920         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
921         javax/swing/plaf/basic/BasicSplitPaneUI.java,
922         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
923         javax/swing/plaf/basic/BasicTableHeaderUI.java,
924         javax/swing/plaf/basic/BasicTableUI.java,
925         javax/swing/plaf/basic/BasicTextAreaUI.java,
926         javax/swing/plaf/basic/BasicTextFieldUI.java,
927         javax/swing/plaf/basic/BasicTextUI.java,
928         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
929         javax/swing/plaf/basic/BasicToolBarUI.java,
930         javax/swing/plaf/basic/BasicToolTipUI.java,
931         javax/swing/plaf/basic/BasicTreeUI.java,
932         javax/swing/plaf/basic/BasicViewportUI.java,
933         javax/swing/plaf/basic/ComboPopup.java,
934         javax/swing/table/AbstractTableModel.java,
935         javax/swing/table/DefaultTableCellRenderer.java,
936         javax/swing/table/DefaultTableColumnModel.java,
937         javax/swing/table/DefaultTableModel.java,
938         javax/swing/table/JTableHeader.java,
939         javax/swing/table/TableCellEditor.java,
940         javax/swing/table/TableCellRenderer.java,
941         javax/swing/table/TableColumn.java,
942         javax/swing/table/TableColumnModel.java,
943         javax/swing/text/AbstractDocument.java,
944         javax/swing/text/Caret.java,
945         javax/swing/text/DefaultCaret.java,
946         javax/swing/text/DefaultEditorKit.java,
947         javax/swing/text/DefaultHighlighter.java,
948         javax/swing/text/EditorKit.java,
949         javax/swing/text/JTextComponent.java,
950         javax/swing/text/LayeredHighlighter.java,
951         javax/swing/text/PasswordView.java,
952         javax/swing/text/SimpleAttributeSet.java,
953         javax/swing/text/StyleConstants.java,
954         javax/swing/text/StyleContext.java,
955         javax/swing/text/StyledEditorKit.java,
956         javax/swing/text/TextAction.java,
957         javax/swing/text/View.java,
958         javax/swing/tree/AbstractLayoutCache.java,
959         javax/swing/tree/DefaultTreeCellRenderer.java,
960         javax/swing/tree/DefaultTreeModel.java,
961         javax/swing/tree/DefaultTreeSelectionModel.java,
962         javax/swing/tree/FixedHeightLayoutCache.java,
963         javax/swing/tree/TreeCellRenderer.java,
964         javax/swing/tree/TreeSelectionModel.java,
965         javax/swing/tree/VariableHeightLayoutCache.java,
966         javax/swing/undo/AbstractUndoableEdit.java,
967         javax/swing/undo/UndoableEditSupport.java:
968         Imports cleaned up.
969
970 2004-11-30  Michael Koch  <konqueror@gmx.de>
971
972         * java/awt/Container.java,
973         java/awt/Font.java,
974         java/awt/font/TextLayout.java:
975         Imports cleaned up.
976
977 2004-11-30  Michael Koch  <konqueror@gmx.de>
978
979         * javax/swing/AbstractButton.java
980         (getLabel): Added @deprecated tag.
981         (setLabel): Likewise.
982         * javax/swing/FocusManager.java
983         (disableSwingFocusManager): Likewise.
984         (isFocusManagerEnabled): Likewise.
985         * javax/swing/JComponent.java
986         (isManagingFocus): Added version to @deprecated tag.
987         (getNextFocusableComponent): Moved @deprecated tag to bottom of
988         javadoc.
989         (getConditionForKeyStroke): Likewise.
990         (getActionForKeyStroke): Likewise.
991         * javax/swing/JDesktopPane.java
992         (LIVE_DRAG_MODE): Added @specnote tag.
993         (OUTLINE_DRAG_MODE): Likewise.
994         * javax/swing/JInternalFrame.java
995         (MENU_BAR_PROPERTY): Fixed value.
996         (getMenuBar): Added @deprecated tag.
997         (setMenuBar): Likewise.
998         * javax/swing/JViewport.java
999         (isBackingStoreEnabled): Likewise.
1000         (setBackingStoreEnabled): Likewise.
1001         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1002         (closeKey): Likewise.
1003         (maximizeKey): Likewise.
1004         (minimizeKey): Likewise.
1005         (navigateKey): Likewise.
1006         (navigateKey2): Likewise.
1007         * javax/swing/plaf/basic/BasicInternalFrameUI.java
1008         (openMenuKey): Likewise.
1009         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1010         (keyboardDownRightListener): Likewise.
1011         (keyboardEndListener): Likewise.
1012         (keyboardHomeListener): Likewise.
1013         (keyboardResizeToggleListener): Likewise.
1014         (keyboardUpLeftListener): Likewise.
1015         (dividerResizeToggleKey): Likewise.
1016         (downKey): Likewise.
1017         (endKey): Likewise.
1018         (homeKey): Likewise.
1019         (leftKey): Likewise.
1020         (rightKey): Likewise.
1021         (upKey): Likewise.
1022         (createKeyboardUpLeftListener): Likewise.
1023         (createKeyboardDownRightListener): Likewise.
1024         (createKeyboardHomeListener): Likewise.
1025         (createKeyboardEndListener): Likewise.
1026         (createKeyboardResizeToggleListener): Likewise.
1027         (getDividerBorderSize): Likewise.
1028         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1029         (downKey): Likewise.
1030         (leftKey): Likewise.
1031         (rightKey): Likewise.
1032         (upKey): Likewise.
1033
1034 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1035
1036         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1037         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1038         GTK_TEXT_VIEW macro.
1039
1040         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1041         (connect_awt_hook_cb): Mark unused variable unused.
1042
1043         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1044         Do the cast right.
1045
1046         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1047         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1048         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1049         Remove unused var menu.
1050         (selection_changed): Remove unused value.
1051
1052         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1053         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1054         warning with using an intermediate variable.
1055
1056         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1057         (area_updated): Fix unused var warning for BE archs.
1058
1059         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1060         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1061         var.
1062         (realize_cb): Mark unused variable unused.
1063
1064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1065         (seek_glyphstring_idx): Fix a C90 warning.
1066
1067         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1068         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1069         Mark unused arguments unused.
1070
1071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1072         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1073         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1074         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1075         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1076         Likewise.
1077
1078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1079         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1080         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1081         Likewise.
1082
1083         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1084         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1085         Likewise.
1086         (filenameFilterCallback): Remove unused var.
1087         (handle_response): Declare str_fileName and remove last else statement.
1088
1089         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1090         New File.
1091         (nativeGetNumFontsFamilies) New function.
1092         (nativeGetFontFamilies) Likewise.
1093         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1094         (getAvailableFontFamilyNames): Implement.
1095         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1096         * Makefile.in: Regenerate.
1097
1098 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1099
1100         * gnu/java/awt/peer/ClasspathFontPeer.java
1101         (setStandardAttributes(String,Map)): If size attribute doesn't
1102         exist, default to size 12.  Clamp size value to a minimum of 1.
1103
1104 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1105
1106         * javax/swing/JDialog.java
1107         (decorated): Likewise.
1108         * javax/swing/JFrame.java
1109         (defaultLookAndFeelDecorated): Likewise.
1110
1111 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1112
1113         * javax/swing/plaf/basic/BasicToolBarUI.java
1114         (offset, regular): Made final.
1115         * javax/swing/plaf/basic/BasicScrollBarUI.java
1116         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1117         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1118
1119 2004-11-30  Michael Koch  <konqueror@gmx.de>
1120
1121         * gnu/java/awt/BitwiseXORComposite.java,
1122         gnu/java/awt/ClasspathToolkit.java,
1123         gnu/java/awt/image/XBMDecoder.java,
1124         gnu/java/awt/peer/GLightweightPeer.java,
1125         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1126         Reorganized import statements.
1127
1128 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1129
1130         * java/awt/Button.java
1131         (next_button_number): Removed useless initializer.
1132         * java/awt/Frame.java
1133         (next_frame_number): Likewise.
1134         * java/awt/Panel.java
1135         (next_panel_number): Likewise,
1136         * java/awt/Scrollbar.java
1137         (next_scrollbar_number): Likewise.
1138         * java/awt/TextArea.java
1139         (next_text_number): Likewise.
1140
1141 2004-11-30  Michael Koch  <konqueror@gmx.de>
1142
1143         * java/awt/image/ByteLookupTable.java
1144         (ByteLookupTable) :Fixed HTML entities in javadocs.
1145         (lookupPixel): Fix case when dst is null.
1146         * java/awt/image/ShortLookupTable.java
1147         (ShortLookupTable) :Fixed HTML entities in javadocs.
1148         (lookupPixel): Fix case when dst is null.
1149         * java/awt/image/DataBufferByte.java,
1150         java/awt/image/DataBufferDouble.java,
1151         java/awt/image/DataBufferFloat.java,
1152         java/awt/image/DataBufferInt.java,
1153         java/awt/image/DataBufferShort.java,
1154         java/awt/image/DataBufferUShort.java:
1155         Fix initialization of bankData in constructors.
1156
1157 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1158
1159         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1160         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1161         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1162         requests.
1163         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1164         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1165         (setNativeBounds): Make package private.  Set size request even
1166         if GTK parent is NULL.
1167         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1168         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1169         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1170
1171 2004-11-30  Mark Wielaard  <mark@klomp.org>
1172
1173         Workaround for bug #17952.
1174         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1175         (request_frame_extents): Check window->window != NULL.
1176
1177 2004-11-30  Mark Wielaard  <mark@klomp.org>
1178
1179         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1180
1181 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1182
1183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1184         native_text_layout_state_table here.
1185
1186         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1187
1188 2004-11-30  Mark Wielaard  <mark@klomp.org>
1189
1190         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1191         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1192         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1193
1194 2004-11-30  Michael Koch  <konqueror@gmx.de>
1195
1196         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1197         Merged import statements.
1198
1199 2004-11-30  Michael Koch  <konqueror@gmx.de>
1200
1201         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1202         (isBufferedImageGraphics): Simplified.
1203
1204 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1205
1206         * javax/swing/JTree.java
1207         (isRootVisible): Fixed typo in method name.
1208         * javax/swing/JScrollBar.java
1209         (setValues): Likewise.
1210         * javax/swing/JScrollPane.java
1211         (createScrollListener): Call JScrollBar.setValues.
1212
1213 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1214
1215         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1216         Don't call setParentAndBounds on GtkWindowPeers.
1217
1218         * java/awt/Component.java (static): Don't set default keyboard
1219         focus manager.
1220         * java/awt/KeyboardFocusManager.java
1221         (getCurrentKeyboardFocusManager): If current keyboard focus
1222         manager is null set a default.
1223
1224         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1225         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1226         (gtkWidgetSetBackground): New method.
1227         (block_expose_events_cb): New function.
1228         (connectSignals): Block the AWT's expose event processing on
1229         button press and release.
1230         (gtkSetLabel): Set text on proper widget.
1231         (gtkWidgetModifyFont): Modify font on proper widget.
1232         (gtkWidgetSetBackground): Set normal, active and prelight
1233         colours.
1234         (gtkWidgetSetForeground): Set forground colour of proper widget.
1235         (gtkActivate): Activate the correct widget.
1236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1237         Only clear rectangle if the backing component is not an event
1238         box.
1239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1240         (beginNativeRepaintID): New variable.
1241         (endNativeRepaintID): Likewise.
1242         (gtkInit): Initialize new fields with method IDs.
1243         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1244         (endNativeRepaintID): Likewise.
1245
1246 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1247
1248         * javax/swing/JList.java (init): Revert accidental commit.
1249
1250         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1251         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1252         Call initComponentGraphics or connectSignals depending on
1253         component's realization status.
1254         (realize_cb): New function.
1255         (initComponentGraphics): New method.
1256         (connectSignals): New method.
1257         (clipRect): Return immediately if component is not realized.
1258         (setClip): Likewise.
1259         (translate): Likewise.
1260         (drawImage variants): Return false immediately if component is
1261         not realized.
1262         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1263         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1264         (connectSignals): New method.
1265         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1266         depending on component's realization status.  Move other
1267         initialization calls to ...
1268         (initComponentGraphics2D): New method.
1269         (realize_cb): New function.
1270         (cairoSetMatrix): Return immediately if gr is NULL.
1271         (cairoNewPath): Likewise.
1272         (cairoRectangle): Likewise.
1273         (cairoClip): Likewise.
1274         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1275         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1276         (gtkWidgetRepaintArea): Remove method.
1277         (isRealized): New method.
1278         (GtkComponentPeer): Move setParent, connectJObject and setCursor
1279         calls to setParentAndBounds.  Call setParentAndBounds.
1280         (setParentAndBounds): New method.
1281         (setComponentBounds): Return immediately if bounds are all zero.
1282         (repaint): Remove call to gtkWidgetRepaintArea.  Return
1283         immediately if requested paint region is 0x0.
1284         (setCursor): New method.
1285         (gtkWidgetSetParent): Only set widget's parent if its parent is
1286         currently NULL.
1287         (setNativeBounds): Only set widget's bounds if it has a parent.
1288         (connectSignals): Don't call gtk_widget_realize.  Connect
1289         "realize" signal to connect_awt_hook_cb handler.
1290         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1291         New field.
1292         (beginValidate): Set isValidating true.
1293         (endValidate): Set parents and bounds for children first, then
1294         for this.  Set isValidating false.
1295         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1296         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1297         (connectJObject): Remove method.
1298         (connectSignals): Don't call gtk_widget_realize.
1299         * gnu/java/awt/peer/gtk/GtkListPeer.java,
1300         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1301         (connectJObject): Remove method.
1302         (connectSignals): Don't call gtk_widget_realize.
1303         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1304         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1305         (connectJObject): Remove method.
1306         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1307         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1308         (connectJObject): Remove method.
1309         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1310         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1311         (create): Don't call gtk_widget_realize.
1312         (connectJObject): Remove method.
1313         (connectSignals): Don't call gtk_widget_realize.  Connect
1314         "realize" signal to connect_awt_hook_cb handler.
1315         (nativeSetBounds): Don't attempt to move GDK window if it is
1316         NULL.
1317         * java/awt/Container.java (addImpl): Don't call comp.addNotify
1318         if peer is not null.
1319         (validateTree): Create peers for all children before calling
1320         doLayout.
1321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1322         (connectSignals): Don't call gtk_widget_realize.
1323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1324         (connect_awt_hook_cb): New function.
1325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1326         (initComponentGraphicsID): New variable.
1327         (initComponentGraphics2DID): Likewise.
1328         (setCursorID): Likewise.
1329         (gtkInit): Initialize new fields with method IDs.
1330         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1331         extern.
1332         (initComponentGraphics2DID): Declare extern.
1333         (setCursorID): Likewise.
1334         (connect_awt_hook_cb): Declare function.
1335
1336 2004-11-30  Michael Koch  <konqueror@gmx.de>
1337
1338         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1339         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1340         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1341         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1342         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1343         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1344         gnu/java/awt/peer/gtk/GtkClipboard.java,
1345         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1346         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1347         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1348         gnu/java/awt/peer/gtk/GtkListPeer.java,
1349         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1350         gnu/java/awt/peer/gtk/GtkToolkit.java,
1351         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1352         Import statements reworked.  Some little reformattings.
1353
1354 2004-11-30  Michael Koch  <konqueror@gmx.de>
1355
1356         * java/awt/image/AffineTransformOp.java
1357         (TYPE_BILINEAR): Initialize with 2.
1358         * java/awt/print/Printable.java: Jalopied.
1359         (PAGE_EXISTS): Initialize with 0;
1360         (NO_SUCH_PAGE): Initialized with 1.
1361
1362 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1363
1364         * Makefile.am: Add BufferedImageFilter.java.
1365         * Makefile.in: Regenerate.
1366
1367 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1368
1369         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 
1370         (install_font_peer): Minor bug fixes to track cairo font semantics.
1371
1372 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1373
1374         * java/awt/image/BufferedImageFilter.java: Implement.
1375
1376 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1377
1378         * Makefile.am
1379         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1380         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1381         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1382         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1383         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1384         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1385         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1386         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1387         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1388         * Makefile.in: Regenerate.
1389         * gnu/awt/xlib/XToolkit.java 
1390         (getClasspathTextLayoutPeer): Add stub.
1391         * gnu/java/awt/ClasspathToolkit.java 
1392         (getClasspathTextLayoutPeer) Add.
1393         * gnu/java/awt/peer/ClasspathFontPeer.java 
1394         (copyStyleToAttrs)
1395         (copySizeToAttrs): Make public.
1396         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1397         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1398         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1399         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1400         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1401         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1402         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1403         (getFontPeer): New function.
1404         (drawString): Pass font peer to native side.
1405         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1406         (cairoSetFont)
1407         (cairoShowGlyphs)
1408         (PainterThread): Remove.
1409         (GdkGraphics2D): Set hints during construction.
1410         (shifted)
1411         (walkPath)
1412         (draw)
1413         (setRenderingHint)
1414         (setRenderingHints): Reimplement normalization logic.
1415         (getDefaultHints)
1416         (updateBufferedImage)
1417         (isBufferedImageGraphics)
1418         (updateImagePixels)
1419         (drawImage): Make final.
1420         (drawImage): Always paint synchronously.
1421         (drawString)
1422         (drawGlyphVector): Rewrite.
1423         (releasePeerGraphicResource)
1424         (getPeerTextMetrics)
1425         (getPeerFontMetrics)
1426         (drawGdkGlyphVector)
1427         (drawGdkTextLayout)
1428         (cairoDrawGdkGlyphVector)
1429         (cairoDrawGdkTextLayout)
1430         (cairoDrawString)
1431         (getFontPeer): New functions.
1432         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1433         * gnu/java/awt/peer/gtk/GtkComponentPeer.java 
1434         (getFontMetrics): Get metrics via toolkit, to hit cache.
1435         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1436         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1437         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1438         (fontCache)
1439         (metricsCache)
1440         (imageCache): New members.
1441         (getFontMetrics)
1442         (getImage)
1443         (getClasspathFontPeer): Use caches.
1444         (getFontPeer): Route through getClasspathFontPeer.
1445         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1446         * java/awt/font/TextLayout.java: Implement in terms of peer.
1447         * javax/swing/plaf/basic/BasicSliderUI.java 
1448         (paintThumb): Use polyline rather than polygon.
1449         * javax/swing/plaf/basic/BasicGraphicsUtils.java: 
1450         Update comment but, alas, still do not switch to using TextLayouts.
1451         * javax/swing/text/Utilities.java (drawTabbedText):
1452         Draw text run-at-a-time, not char-at-a-time.
1453         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1454         layout table.
1455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1457         Remove files.
1458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1459         incorporate brains of old GdkClasspathFontPeerMetrics.
1460         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1461         incorporate brains of old GdkClasspathFontPeer.
1462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1464         (drawString): Rewrite to use persistent layout in peer font.
1465         Comment out extraneous gdk_flush calls.
1466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1467         (metrics_cairo)
1468         (metrics_surface): New static variables.
1469         (paint_glyph_run)
1470         (install_font_peer): New helper functions.
1471         (releasePeerGraphicResource)
1472         (getPeerTextMetrics)
1473         (getPeerFontMetrics)
1474         (cairoDrawGdkTextLayout)
1475         (cairoDrawGdkGlyphVector): New native methods.
1476         (cairoDrawString): Rewrite, leaving layout-based version 
1477         commented out for the time being.
1478         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1479
1480 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1481
1482         * java/awt/geom/AffineTransform.java:
1483         Fixed javadocs overall.
1484
1485 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1486
1487         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1488         it's correct.
1489
1490 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1491
1492         * java/awt/image/IndexColorModel.java: Fix use of immutable
1493         BigIntegers.
1494
1495 2004-11-30  Tom Tromey  <tromey@redhat.com>
1496
1497         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1498         Renamed from 'messageIcon'.
1499         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1500
1501 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1502
1503         * java/awt/image/RescaleOp.java: Fix formatting.
1504
1505 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1506
1507         * javax/swing/plaf/basic/BasicComboPopup.java
1508         (SCROLL_DOWN): made final.
1509         (SCROLL_UP): made final.
1510
1511 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1512
1513         * javax/swing/plaf/basic/BasicComboPopup.java:
1514         Added javadocs for undocumented fields.
1515         (show): scroll down to the selected item and 
1516         highlight selected item.
1517         (startAutoScrolling): Implemented.
1518         (stopAutoScrolling): Implemented.
1519         (autoScrollUp): Implemented.
1520         (autoScrollDown): Implemented.
1521         (InvocationMouseHandler.mouseReleased): Implemented.
1522         (InvocationMouseMotionHandler.mouseDragged): Implemented.
1523
1524 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1525
1526         * java/awt/image/RescaleOp.java: Implement.
1527
1528 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1529
1530         * java/awt/image/IndexColorModel.java (getRGBs,
1531         convertToIntDiscrete): Implement.
1532
1533 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1534
1535         * java/awt/image/IndexColorModel.java: Add class docs.
1536
1537 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1538
1539         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1540         Implement.
1541
1542 2004-11-30  Michael Koch  <konqueror@gmx.de>
1543
1544         * java/awt/MenuBar.java,
1545         java/awt/peer/MenuBarPeer.java:
1546         Revert accidentally commited changes.
1547
1548 2004-11-30  Michael Koch  <konqueror@gmx.de>
1549
1550         * java/awt/AWTKeyStroke.java,
1551         java/awt/Canvas.java,
1552         java/awt/CardLayout.java,
1553         java/awt/CheckboxMenuItem.java,
1554         java/awt/Component.java,
1555         java/awt/Container.java,
1556         java/awt/DefaultKeyboardFocusManager.java,
1557         java/awt/EventDispatchThread.java,
1558         java/awt/FileDialog.java,
1559         java/awt/FlowLayout.java,
1560         java/awt/Font.java,
1561         java/awt/Frame.java,
1562         java/awt/Graphics2D.java,
1563         java/awt/GraphicsEnvironment.java,
1564         java/awt/GridBagConstraints.java,
1565         java/awt/GridBagLayout.java,
1566         java/awt/GridLayout.java,
1567         java/awt/Image.java,
1568         java/awt/KeyboardFocusManager.java,
1569         java/awt/Label.java,
1570         java/awt/List.java,
1571         java/awt/MediaTracker.java,
1572         java/awt/Menu.java,
1573         java/awt/MenuBar.java,
1574         java/awt/MenuComponent.java,
1575         java/awt/Panel.java,
1576         java/awt/PopupMenu.java,
1577         java/awt/ScrollPane.java,
1578         java/awt/Scrollbar.java,
1579         java/awt/SystemColor.java,
1580         java/awt/TextArea.java,
1581         java/awt/TextField.java,
1582         java/awt/Toolkit.java,
1583         java/awt/Window.java,
1584         java/awt/color/ICC_Profile.java,
1585         java/awt/datatransfer/DataFlavor.java,
1586         java/awt/datatransfer/StringSelection.java,
1587         java/awt/datatransfer/SystemFlavorMap.java,
1588         java/awt/dnd/Autoscroll.java,
1589         java/awt/dnd/DropTarget.java,
1590         java/awt/dnd/DropTargetContext.java,
1591         java/awt/dnd/DropTargetDragEvent.java,
1592         java/awt/dnd/peer/DropTargetContextPeer.java,
1593         java/awt/event/AdjustmentEvent.java,
1594         java/awt/event/InputEvent.java,
1595         java/awt/event/InvocationEvent.java,
1596         java/awt/event/KeyEvent.java,
1597         java/awt/event/MouseEvent.java,
1598         java/awt/font/TextLayout.java,
1599         java/awt/geom/GeneralPath.java,
1600         java/awt/geom/Point2D.java,
1601         java/awt/im/InputContext.java,
1602         java/awt/im/spi/InputMethodContext.java,
1603         java/awt/image/AffineTransformOp.java,
1604         java/awt/image/BufferedImage.java,
1605         java/awt/image/ColorModel.java,
1606         java/awt/image/ComponentColorModel.java,
1607         java/awt/image/CropImageFilter.java,
1608         java/awt/image/DirectColorModel.java,
1609         java/awt/image/MemoryImageSource.java,
1610         java/awt/image/PackedColorModel.java,
1611         java/awt/image/PixelGrabber.java,
1612         java/awt/image/RasterOp.java,
1613         java/awt/peer/MenuBarPeer.java:
1614         Some fixes for checkstyle. Import statement and modifier order
1615         redordering.
1616
1617 2004-11-30  Michael Koch  <konqueror@gmx.de>
1618
1619         * javax/swing/JTable.java
1620         (setModel): Reimplemented.
1621
1622 2004-11-30  Michael Koch  <konqueror@gmx.de>
1623
1624         * javax/swing/JTextArea.java
1625         (append): Re-implemented.
1626         (insert): Likewise.
1627
1628 2004-11-30  Michael Koch  <konqueror@gmx.de>
1629
1630         * javax/swing/JSpinner.java
1631         (serialVersionUID): New static field.
1632         * javax/swing/JToggleButton.java
1633         (JToggleButton): Fixed email addresses.
1634         * javax/swing/SpinnerNumberModel.java
1635         (serialVersionUID): Added javadoc.
1636
1637 2004-11-30  Michael Koch  <konqueror@gmx.de>
1638
1639         * javax/swing/JTextArea.java:
1640         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1641         bug here which is fixed in HEAD ...
1642
1643 2004-11-30  Andrew John Hughes  <address@hidden>
1644
1645         * javax/swing/JTextArea.java: Added additional
1646         documentation.
1647
1648 2004-11-30  Andrew John Hughes  <address@hidden>
1649
1650         * javax/swing/JRadioButton.java:
1651         Implemented additional constructors and accessibility
1652         classes.  Added documentation and fixed a typo in
1653         AbstractButton.
1654
1655 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1656
1657         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1658         missing constructor.
1659
1660 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1661
1662         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1663         Implement missing 1.4 constructor.
1664
1665 2004-11-30  Andrew John Hughes  <address@hidden>
1666
1667         * javax/swing/JToggleButton.java:
1668         Implemented additional constructors and accessibility
1669         classes.  Added documentation and fixed a typo in
1670         AbstractButton.
1671
1672 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1673
1674         * java/awt/image/ColorModel.java (getDataElement,
1675         getDataElements): Document since 1.4.
1676
1677 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1678
1679         * java/awt/image/BandedSampleModel.java: Implement.
1680         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1681         * Makefile.in: Regenerated.
1682         
1683 2004-11-30  Michael Koch  <konqueror@gmx.de>
1684
1685         * java/awt/Window.java: Fixed whitespace difference with GNU
1686         classpath.
1687
1688 2004-11-30  Mark Wielaard  <mark@klomp.org>
1689
1690         * Makefile.am: Add javax/swing/SpinnerListModel.java.
1691         * Makefile.in: Regenerated.
1692
1693 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1694
1695         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1696         Implemented SpinnerListModel.  Added documentation to
1697         SpinnerModel.
1698
1699 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1700
1701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c 
1702         (init_dpi_conversion_factor): Apply the patch from main correctly.
1703         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1704
1705 2004-11-30  Tom Tromey  <tromey@redhat.com>
1706
1707         Bug 9948.
1708         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1709         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1710         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1711         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
1712
1713 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1714
1715         * java/awt/Canvas.java
1716         (AccessibleAWTCanvas): added serialization UID
1717         * java/awt/Label.java
1718         (AccessibleAWTLabel): added serialization UID
1719         * javax/swing/JRootPane.java
1720         (AccessibleJRootPane): added comment to existing UID
1721         * javax/swing/JSpinner.java
1722         (DefaultEditor): added serialization UID
1723         (NumberEditor): added serialization UID
1724         * javax/swing/text/html/HTML.java
1725         (UnknownTag): added serialization UID
1726         
1727 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1728
1729         * javax/swing/JInternalFrame.java
1730         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
1731         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
1732         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
1733         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
1734         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1735         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
1736         Made final as per API spec.
1737
1738 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1739
1740         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
1741
1742 2004-11-30  Sven de Marothy  <sven@physto.se>
1743
1744         * java/awt/geom/Arc2D.java: Reformatted.
1745         (setArc): Correct documentation to say 'upper left corner'.
1746         (setArcByTangent,contains,intersects): Implemented.
1747         (containsAngle): Corrected to handle negative extents.
1748         (ArcIterator): Set to private.
1749         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
1750         (intersects): Fix: Now checks the arc segment.
1751         (contains): Cleaned up.
1752         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
1753         (contains): Implemented.
1754         (intersects): Implemented.
1755         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
1756         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
1757         document.  Fully (re)implemented using separate xpoints and ypoints
1758         float[] coords.
1759
1760 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1761
1762         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1763         * configure: Regenerate.
1764         * include/config.h.in: Likewise.
1765         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1766         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1767         macro to gtkpeer.h.
1768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1769         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1770         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1771         architectures.
1772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1773         Likewise.
1774
1775 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1776
1777         * java/awt/SystemColor.java: Fix @link doc entries.
1778
1779 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1780
1781         * java/awt/RenderingHints.java: Documented.
1782         (RenderingHints): Accept null init Map.
1783         (putAll): Preprocess map to generate appropriate exceptions.
1784         (remove): Cast object to Key and remove from hintMap.
1785
1786 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1787
1788         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
1789         Implementation of accessibility classes and methods
1790         for these two components.
1791
1792 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1793
1794         * java/awt/KeyboardFocusManager.java:
1795         Added missing documentation.
1796
1797 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
1798
1799         * java/awt/Label.java, java/awt/Canvas.java:
1800         Added accessibility classes to AWT Label and Canvas,
1801         as well as additional documentation for Canvas.
1802
1803 2004-11-30  David Gilbert  <address@bogus.example.com>
1804
1805         * java/awt/image/DataBuffer.java: Update API documentation.
1806         * java/awt/image/DataBufferByte.java: Likewise.
1807         * java/awt/image/DataBufferDouble.java: Likewise.
1808         * java/awt/image/DataBufferFloat.java: Likewise.
1809         * java/awt/image/DataBufferInt.java: Likewise.
1810         * java/awt/image/DataBufferShort.java: Likewise.
1811         * java/awt/image/DataBufferUShort.java: Likewise.
1812
1813 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
1814
1815         * java/awt/Component.java (postEvent):
1816         Only delegate to parent if a parent exists.
1817         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
1818
1819 2004-11-30  Sven de Marothy  <sven@physto.se>
1820
1821         *java/awt/AWTEventMulticaster.java,
1822         java/awt/Adjustable.java,
1823         java/awt/Point.java,
1824         java/awt/Polygon.java,
1825         java/awt/Rectangle.java,
1826         java/awt/Shape.java,
1827         java/awt/geom/Area.java,
1828         java/awt/geom/Ellipse2D.java,
1829         java/awt/geom/PathIterator.java,
1830         java/awt/geom/Point2D.java,
1831         java/awt/geom/Rectangle2D.java,
1832         java/lang/Comparable.java,
1833         java/util/Arrays.java:
1834         Fixed documentation errors
1835
1836 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1837
1838         * java/awt/image/ComponentSampleModel.java: Add documentation.
1839
1840
1841 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1842
1843         * java/awt/image/ComponentSampleModel.java (constructor):
1844         Initialize numBanks when figuring out the max bank index.
1845
1846 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1847
1848         * java/awt/image/Raster.java (createPackedRaster): Implement
1849         MultiPixelPackedSampleModel codepath.
1850
1851 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1852
1853         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
1854         * Makefile.am: Add MultiPixelPackedSampleModel.java.
1855         * Makefile.in: Regenerate.
1856
1857 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1858
1859         * java/awt/image/Raster.java (getNumBands): Implement.
1860
1861 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1862
1863         * java/awt/image/Raster.java
1864         (createPackedRaster(int,int,int,int,int,Point)): Implement for
1865         bands>1.
1866
1867 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1868
1869         * java/awt/image/SinglePixelPackedSampleModel.java
1870         (SinglePixelPackedSampleModel): Throw exception for unsupported
1871         datatype.
1872
1873 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1874
1875         * java/awt/image/ColorModel.java (getDataElement): Implemented.
1876         Update javadoc.
1877         (getDataElements): Add missing version.  Remove bogus version.
1878         Update javadoc.
1879
1880 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
1881
1882         * javax/swing/plaf/basic/BasicComboBoxUI.java:
1883         (paintCurrentValue): Pass correct parameters to 
1884         getListCellRendererComponent().
1885         (ListDataHandler.intervalRemoved): Implemented. 
1886         (PropertyChangeHandler.propertyChange): Handle changes in
1887         MODEL_CHANGED_PROPERTY of the JComboBox
1888         * javax/swing/plaf/basic/BasicComboPopup.java:
1889         (BasicComboPopup): Moved code that configures popup to 
1890         configurePopup() and call it instead. 
1891         (firePopupMenuWillBecomeVisible): Implemented.
1892         (firePopupMenuWillBecomeInvisible): Likewise.
1893         (firePopupMenuCanceled): Likewise.
1894         (configureList): Set list's visibleRowCount same as 
1895         comboBox's visibleRowCount.
1896         (configurePopup): Implemented.
1897         (getPopupHeightForRowCount): Get item's from JComboBox's model and 
1898         not from model of the JList.
1899         (ListMouseMotionHandler.mouseMoved): Implemented.
1900         (PropertyChangeHandler.propertyChange): Handles change in the
1901         JComboBox's model.
1902
1903 2004-11-30  Michael Koch  <konqueror@gmx.de>
1904
1905         * javax/swing/JComponent.java
1906         (isMaximumSizeSet): New method.
1907         (isMinimumSizeSet): Likewise.
1908         (isPreferredSizeSet): Likewise.
1909
1910 2004-11-30  Michael Koch  <konqueror@gmx.de>
1911
1912         * javax/swing/JSpinner.java:
1913         Some Re-formatting.
1914         (spinner): New field.
1915         (DefaultEditor): New method.
1916         (getSpinner): Likewise.
1917         (NumberEdito): Likewise.
1918         (getModel): Likewise
1919
1920 2004-11-30  Michael Koch  <konqueror@gmx.de>
1921
1922         * javax/swing/InputVerifier.java:
1923         Re-formatted.
1924         * javax/swing/JComponent.java
1925         (inputVerifier): New property field.
1926         (getInputVerifier): New method.
1927         (setInputVerifier): Likewise.
1928
1929 2004-11-30  Michael Koch  <konqueror@gmx.de>
1930
1931         * javax/swing/JComponent.java
1932         (JComponent): Added javadoc comment.
1933         (setBorder): Fire property change eventr.
1934         (setEnabled): Likewise.
1935         (setMaximumSize): Likewise.
1936         (setMinimumSize): Likewise.
1937         (setPreferredSize): Likewise.
1938         (setOpaque): Likewise.
1939
1940 2004-11-30  Michael Koch  <konqueror@gmx.de>
1941
1942         * javax/swing/JTextField.java
1943         (action): New field.
1944         (actionCommand): Likewise.
1945         (actionPropertyChangeListener): Likewise.
1946         (setHorizontalAlignment): Abort soon if new value == old value. Fire
1947         event before repainting.
1948         (postActionEvent): New method.
1949         (getAction): Likewise.
1950         (setAction): Likewise.
1951         (getActionCommand): Likewise.
1952         (setActionCommand): Likewise.
1953         (createActionPropertyChangeListener): Likewise.
1954         (configurePropertiesFromAction): Likewise.
1955
1956 2004-11-30  Michael Koch  <konqueror@gmx.de>
1957
1958         * javax/swing/DebugGraphics.java:
1959         Re-formatted. Fixed some javadocs.
1960         * javax/swing/JApplet.java
1961         (rootPaneCheckingEnabled): Renamed from checking.
1962         * javax/swing/JCheckBox.java
1963         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
1964         * javax/swing/JFrame.java:
1965         Re-formatted a bit and reordered some methods.
1966         (rootPaneCheckingEnabled): Renamed from checking.
1967         (getPreferredSize): Simplified.
1968         * javax/swing/JTextArea.java
1969         (getColumnWidth): New method.
1970         (getLineCount): Likewise.
1971         (getLineStartOffset): Likewise.
1972         (getLineEndOffset): Likewise.
1973         (getLineOfOffset): Likewise.
1974         (getRowHeight): Likewise.
1975         (insert): Likewise.
1976         (replaceRange): Likewise.
1977         * javax/swing/JTextField.java
1978         (scrollOffset): new field.
1979         (getScrollOffset): New method.
1980         (setScrollOffset): Likewise.
1981         (getColumnWidth): Likewise.
1982         * javax/swing/JTree.java
1983         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
1984         (CELL_EDITOR_PROPERTY): Likewise.
1985         (CELL_RENDERER_PROPERTY): Likewise.
1986         (EDITABLE_PROPERTY): Likewise.
1987         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
1988         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
1989         (LARGE_MODEL_PROPERTY): Likewise.
1990         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
1991         (ROOT_VISIBLE_PROPERTY): Likewise.
1992         (ROW_HEIGHT_PROPERTY): Likewise.
1993         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
1994         (SELECTION_MODEL_PROPERTY): Likewise.
1995         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
1996         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
1997         (TREE_MODEL_PROPERTY): Likewise.
1998         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
1999         (cellEditor): New field.
2000         (invokesStopCellEditing): Likewise.
2001         (largeModel): Likewise.
2002         (rowHeight): Likewise.
2003         (scrollsOnExpand): Likewise.
2004         (selectionModel): Likewise.
2005         (toggleClickCount): Likewise.
2006         (visibleRowCount): Likewise.
2007         (setShowsRootHandles): Fixed typo in method name.
2008         (getCellEditor): New method.
2009         (setCellEditor): Likewise.
2010         (getSelectionModel): Likewise.
2011         (setSelectionModel): Likewise.
2012         (getVisibleRowCount): Likewise.
2013         (setVisibleRowCount): Likewise.
2014         (isLargeModel): Likewise.
2015         (setLargeModel): Likewise.
2016         (getRowHeight): Likewise.
2017         (setRowHeight): Likewise.
2018         (getInvokesStopCellEditing): Likewise.
2019         (setInvokesStopCellEditing): Likewise.
2020         (getToggleClickCount): Likewise.
2021         (setToggleClickCount): Likewise.
2022         (getScrollsOnExpand): Likewise.
2023         (setScrollsOnExpand): Likewise.
2024         * javax/swing/table/DefaultTableColumnModel.java
2025         (addColumnModelListener): Fixed javadoc.
2026         (removeColumnModelListener): Implemented. Fixed javadoc.
2027         (getColumnModelListeners): New method.
2028         * javax/swing/table/JTableHeader.java
2029         (columnModel): Made protected.
2030         (draggedColumn): Likewise.
2031         (draggedDistance): Likewise.
2032         (reorderingAllowed): Likewise.
2033         (resizingAllowed): Likewise.
2034         (resizingColumn): Likewise.
2035         (table): Likewise.
2036         (updateTableInRealTime): Likewise.
2037         (createDefaultColumnModel): Renamed from
2038         createDefaultTableColumnModel.
2039         (setDefaultRenderer): New method.
2040         * javax/swing/table/TableColumn.java
2041         (getPropertyChangeListeners): New method.
2042         * javax/swing/text/DefaultHighlighter.java
2043         (drawsLayeredHighlights): New field.
2044         (getDrawsLayeredHighlights): New method.
2045         (setDrawsLayeredHighlights): Likewise.
2046         * javax/swing/text/DocumentFilter.java
2047         (FilterBypass): New inner class.
2048         (insertString): New method.
2049         (remove): Likewise.
2050         (replace): Likewise.
2051         * javax/swing/text/JTextComponent.java
2052         (dragEnabled): New field.
2053         (getSelectedText): New method.
2054         (getDragEnabled): Likewise.
2055         (setDragEnabled): Likewise.
2056         (replaceSelection): Reimplemented.
2057         * javax/swing/text/NavigationFilter.java
2058         (FilterBypass): New inner class.
2059         (NavigationFilter): New method.
2060         (moveDot): Likewise.
2061         (setDot): Likewise.
2062         * javax/swing/text/SimpleAttributeSet.java
2063         (EMPTY): Made public final.
2064
2065 2004-11-30  Michael Koch  <konqueror@gmx.de>
2066
2067         * javax/swing/SpinnerNumberModel.java
2068         (getMinimum): New method.
2069         (setMinimum): Likewise.
2070         (getMaximum): Likewise.
2071         (setMaximum): Likewise.
2072         (getStepSize): Likewise.
2073         (setStepSize): Likewise.
2074
2075 2004-11-30  Michael Koch  <konqueror@gmx.de>
2076
2077         * javax/swing/JMenu.java
2078         (getMenuListeners): New method.
2079         (fireMenuSelected): Simplified.
2080         * javax/swing/JRootPane.java
2081         (NONE): New static field.
2082         (FRAME): Likewise.
2083         (PLAIN_DIALOG): Likewise.
2084         (INFORMATION_DIALOG): Likewise.
2085         (ERROR_DIALOG): Likewise.
2086         (COLOR_CHOOSER_DIALOG): Likewise.
2087         (FILE_CHOOSER_DIALOG): Likewise.
2088         (QUESTION_DIALOG): Likewise.
2089         (WARNING_DIALOG): Likewise.
2090         (defaultButton): New field.
2091         (getDefaultButton): New method.
2092         (setDefaultButton): Likewise.
2093         * javax/swing/JScrollPane.java
2094         (getUI): New method.
2095         (setUI): Likewise.
2096         * javax/swing/JTable.java
2097         (getUI): Javadoc added.
2098         (setUI): New method.
2099         * javax/swing/JViewport.java
2100         (getUI): New method.
2101         (setUI): Likewise.
2102         * javax/swing/UIDefaults.java
2103         (removePropertyChangeListener): Made public.
2104
2105 2004-11-30  Michael Koch  <konqueror@gmx.de>
2106
2107         * javax/swing/JApplet.java, javax/swing/JFrame.java:
2108         Re-indented.
2109
2110 2004-11-30  Michael Koch  <konqueror@gmx.de>
2111
2112         * javax/swing/AbstractButton.java:
2113         Little re-formatting.
2114         (changeEvent): Made protected.
2115         (fireStateChanged): Removed argument.
2116         (setHorizontalAlignment): Abort method when old value is equal too new
2117         value.
2118         (setHorizontalTextPosition): Likewise.
2119         (setVerticalAlignment): Likewise.
2120         (setVerticalTextPosition): Likewise.
2121         (setBorderPainted): Likewise.
2122         (setIcon): Likewise.
2123         (setText): Likewise.
2124         (setIconTextGap): Likewise.
2125         (setMargin): Likewise.
2126         (setPressedIcon): Likewise.
2127         (setFocusPainted): Likewise.
2128         (setDisabledSelectedIcon): Likewise.
2129         (setRolloverIcon): Likewise.
2130         (setRolloverSelectedIcon): Likewise.
2131         (setSelectedIcon): Likewise.
2132         (setContentAreaFilled): Likewise.
2133
2134 2004-11-30  Kim Ho  <kho@redhat.com>
2135
2136         * javax/swing/plaf/basic/BasicArrowButton.java:
2137         Jalopy. Reimplement.
2138         * javax/swing/plaf/basic/BasicScrollBarUI.java:
2139         Jalopy.
2140         (arrowIcon, upIcon, downIcon, leftIcon,
2141         rightIcon): Removed.
2142         (createIncreaseButton): Use BasicArrowButton.
2143         (createDecreaseButton): Ditto.
2144         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2145         (createRightOneTouchButton): Remove button border.
2146         (createLeftOneTouchButton): Ditto.
2147
2148 2004-11-30  Michael Koch  <konqueror@gmx.de>
2149
2150         * javax/swing/JSpinner.java
2151         (setModel): New method.
2152         * javax/swing/SpringLayout.java
2153         (Constraints): May not be final.
2154
2155 2004-11-30  Michael Koch  <konqueror@gmx.de>
2156
2157         * gnu/java/awt/peer/gtk/GtkClipboard.java,
2158         java/awt/datatransfer/Clipboard.java,
2159         java/awt/datatransfer/ClipboardOwner.java:
2160         Reformated to make it use our coding standard.
2161
2162 2004-11-30  Michael Koch  <konqueror@gmx.de>
2163
2164         * javax/swing/SpinnerNumberModel.java
2165         (SpinnerNumberModel): Implements java.io.Serializable.
2166         (serialVersionUID): New field.
2167         (SpinnerNumberModel): Added missing @throws tags to javadocs.
2168         * javax/swing/UIManager.java
2169         (get): New method.
2170         (getBoolean): Likewise.
2171         (getBorder): Likewise.
2172         (getColor): Likewise.
2173         (getDimension): Likewise.
2174         (getFont): Likewise.
2175         (getIcon): Likewise.
2176         (getInsets): Likewise.
2177         (getInt): Likewise.
2178         (getString): Likewise.
2179
2180 2004-11-30  Michael Koch  <konqueror@gmx.de>
2181
2182         * javax/swing/JPasswordField.java:
2183         Reformated. Implemented construtors.
2184         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2185         (create): New method.
2186         * javax/swing/text/PlainView.java
2187         (selectedColor): Made package-private to allow access from sub-classes
2188         in same package too.
2189         (unselectedColor): Likewise.
2190         (font): Likewise.
2191         (drawSelectedText): Make protected.
2192         (drawUnselectedText): Likewise.
2193         * javax/swing/text/PasswordView.java: New file.
2194         * Makefile.am: Added javax/swing/text/PasswordView.java.
2195         * Makefile.in: Regenerated.
2196
2197 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2198
2199         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2200         bar's width.
2201         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2202         Add FIXME comment.
2203         (addHelpMenu): Elide call to nativeSetHelpMenu.
2204         * java/awt/Menu.java (isTearOff): Rename to tearOff.
2205         (menuSerializedDataVersion): Initialize to 1.
2206         (separatorLabel): Mark transient.
2207         (insert(MenuItem,int)): Implement.
2208         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2209         peer.
2210         (countMenus): Count help menu.
2211         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2212         accessibleContext): Add fields.
2213         * java/awt/MenuItem.java: Remove event mask FIXME.
2214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2215         (gtkWidgetModifyFont): Only set font if label is non-NULL.
2216         (setLabel): Don't treat "-" specially.
2217
2218 2004-11-30  Kim Ho  <kho@redhat.com>
2219
2220         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2221         (stateChanged): Only update the image and the track if
2222         the values are not being adjusted.
2223         (updateChooser): Grab the new mouse point from the
2224         spinner values. Update the image and track only if 
2225         the values are not being adjusted. 
2226         (getHSBValues): New method.
2227         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2228         (SliderHandler::stateChanged): Changed internalChange 
2229         to updateChange. Set sliderChange.
2230         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2231         (spinnerChange): New variable.
2232         (sliderChange): Ditto.
2233         (updateChange): Renamed from internalChange.
2234         (updateChooser): Do not update sliders if the sliders
2235         were the original source of the change. Ditto for spinners.
2236         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2237         (mousePress): Don't scroll the JViewport if there will
2238         be extra space at the end of the run. Change layout() to
2239         revalidate().
2240         (calculateSize): Use the component's width/height unless
2241         it is smaller than the max tab width/height.
2242         (calculateTabRects): Subtract the tab run overlay.
2243         (rotateTabRuns): Don't rotate if there's only one run.
2244         (layoutContainer): Reuse the viewport point.
2245         (createLayoutManager): Set the viewport to use no layout.
2246         (paintTabArea): Don't paint the tabs that are not visible
2247         to the JViewport.
2248         (paintContentBorderTopEdge): Check for scroll tab layout before
2249         looking for gap.
2250         (paintContentBorderLeftEdge): Ditto.
2251         (paintContentBorderBottomEdge): Ditto.
2252         (paintContentBorderRightEdge): Ditto.
2253
2254 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2255
2256         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2257         Rename ...
2258         (gtkWidgetModifyFont): New method.
2259         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2260         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2261         (setMenuBarWidth): New method.
2262         (setBounds): Set the menu bar width.
2263         (postConfigureEvent): Set the menu bar width if the window's
2264         width has changed.
2265         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2266         Don't call create.
2267         (setFont): New method.
2268         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2269         method.
2270         (setFont): Likewise.
2271         (GtkMenuComponentPeer): Call create and setFont.
2272         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2273         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2274         (connectSignals): Make package private.
2275         (gtkWidgetModifyFont): New method.
2276         (create): Likewise.
2277         (GtkMenuItemPeer): Don't call create.
2278         (setFont): New method.
2279         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2280         condition.
2281         * java/awt/Container.java (validateTree): Fix comment typos.
2282         * java/awt/MenuComponent.java (getFont): Return parent's font if
2283         our font is null.
2284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2285         (create): Remove call to deprecated
2286         gtk_check_menu_item_set_show_toggle function.
2287
2288 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
2289
2290         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2291         (Almost everywhere): add LOG calls, fix, add comments.
2292         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2293         Add explicit check for LOCKED bit in slow case (PR 16662).
2294         (_Jv_MonitorExit): Add casts in debug-only code.
2295         Always release LOCKED bit before throwing exception.
2296         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2297         isn't.  Handle easy cases without lock acquisition.
2298         (Object::wait): Use NotifyAll for lock inflation.
2299
2300 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2301
2302         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2303         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2304         (gtkFixedMove): Remove method.
2305
2306 2004-11-30  Sven de Marothy  <sven@physto.se>
2307
2308         * java/awt/geom/Area.java: Implemented.
2309
2310 2004-11-30  Mark Wielaard  <mark@klomp.org>
2311
2312         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2313
2314 2004-11-30 Sven de Marothy <sven@physto.se>
2315
2316         * java/awt/geom/Arc2D.java
2317         Reformatted.
2318         (setArc): Correct documentation to say 'upper left corner'.
2319         (setArcByTangent,contains,intersects): Implemented.
2320         (containsAngle): Corrected to handle negative extents.
2321         (ArcIterator): Set to private.
2322         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2323         * java/awt/geom/Ellipse2D.java
2324         Documented.
2325         (contains,intersects): Implemented.
2326         * java/awt/geom/Line2D.java
2327         (linesIntersect): Correct handling of special cases.
2328
2329 2004-11-30  Mark Wielaard  <mark@klomp.org>
2330
2331         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2332         Color.BLACK if c == null, don't create new Color object each time.
2333         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2334         field.
2335         (setColor): Use Color.BLACK when argument null.
2336         (setComposite): Set this.comp field.
2337         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2338         (DrawState.comp): New private field.
2339         (DrawState.save): Save Composite.
2340         (DrawState.restore): Restore comp field.
2341         * java/awt/FontMetrics.java (gRC): New static final private field.
2342         (getLineMetrics(String, Graphics)): New method.
2343         (getLineMetrics(String, int, int, Graphics)): Likewise.
2344         (getLineMetrics(char[], int, int, Graphics)): Likewise.
2345         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2346         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2347         argument. PR SWING/17294.
2348         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2349         the fall-back code since none of the TextArea methods are really
2350         implemented now. PR SWING/17296.
2351         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2352         (GdkGlyphVector_setChars): Replace assert() with if block when
2353         pango_itemize() returns null. PR AWT/17295.
2354         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2355         
2356 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2357
2358         * Makefile.am (gtk_c_source_files): Add
2359         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2360         * Makefile.in: Regenerate.
2361         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2362         comment.
2363         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2364         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2365         (create): Pack GtkButton in GtkEventBox.
2366         (connectJObject): Remove.
2367         (focus_in_cb): New function.
2368         (focus_out_cb): Likewise.
2369         (connectSignals): Connect focus-in-event and focus-out-event
2370         signals.
2371         (gtkSetFont): Rename to ...
2372         (gtkWidgetModifyFont): New method.
2373         (gtkWidgetRequestFocus): New method.
2374         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2375         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2376         (gtkSetFont): Rename to ...
2377         (gtkWidgetModifyFont): New method.
2378         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2379         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2380         (isInRepaint): New field.
2381         (gtkSetFont): Remove method.
2382         (addExposeFilter): Likewise.
2383         (removeExposeFilter): Likewise.
2384         (gtkWidgetQueueDrawArea): Rename to ...
2385         (gtkWidgetRepaintArea): New method.
2386         (beginNativeRepaint): New method.
2387         (endNativeRepaint): New method.
2388         (setComponentBounds): Move implementation here from
2389         GtkComponentPeer.
2390         (paint): Remove implementation.
2391         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2392         beginNativeRepaint and endNativeRepaint.
2393         (setBounds): Use menu bar height in bounds calculation.
2394         (postExposeEvent): Only post paint event if we're not doing a
2395         native repaint.
2396         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2397         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2398         (find_gtk_layout): Remove function.
2399         (filter_expose_event_handler): Likewise.
2400         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2401         Likewise.
2402         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2403         (setComponentBounds): Call GtkComponentPeer's
2404         setComponentBounds.
2405         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2406         New method.
2407         (moveLayout): Rename to ...
2408         (gtkFixedMove): New method.
2409         (gtkLayoutSetVisible): Rename to ...
2410         (gtkFixedSetVisible): New method.
2411         (setMenuBar): Rearrange, to make the three separate cases
2412         clearer.
2413         (postExposeEvent): Only post paint event if we're not doing a
2414         native repaint.
2415         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2417         (gtkWidgetModifyFont): New method.
2418         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2419         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2420         Call run directly, rather than spawning a new thread.
2421         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2422         Likewise.
2423         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2424         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2425         Rename to ...
2426         (gtkWidgetModifyFont): New method.
2427         (create): Rename ebox to eventbox.
2428         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2429         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2430         Rename to ...
2431         (gtkWidgetModifyFont): New method.
2432         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2433         (GtkMenuComponentPeer): Set the default font.
2434         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2435         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2436         (gtkSetFont): Rename to ...
2437         (gtkWidgetModifyFont): New method.
2438         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2439         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2440         * java/awt/Component.java (locale): Initialize to default
2441         locale.
2442         * java/awt/Container.java (invalidateTree): Make
2443         package-private.
2444         (paint): Paint self first.
2445         (setMenuBar): Call invalidateTree.
2446         * java/awt/Panel.java (dispatchEventImpl): Remove method.
2447         * java/awt/Window.java (show): Call no-parameter variant of
2448         requestFocusInWindow.
2449         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2450         Remove special case for window widget.
2451         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2452         (grab_current_drawable): Likewise.
2453         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2454         (create): Replace GtkLayout with GtkFixed.
2455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2456         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2458         Move all GtkFramePeer native method implementations here from
2459         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2460         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2461         Replace GtkLayout with GtkFixed.
2462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2463         (find_layout): Remove function.
2464         (create): Replace GtkLayout with GtkFixed.
2465         (connectSignals): Remove find_layout call.
2466         (toBack): Replace XFlush with gdk_flush.
2467         (toFront): Replace XFlush with gdk_flush.
2468         Move GtkFramePeer native method implementations to
2469         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2470         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2471
2472 2004-11-30  Michael Koch  <konqueror@gmx.de>
2473
2474         * javax/swing/JTextArea.java
2475         (lineWrap): Renamed from "wrapping".
2476         (wrapStyleWord): NEw field.
2477         (getLineWrap): Re-edited javadoc comment.
2478         (setLineWrap): Likewise.
2479         (getWrapStyleWord): New method.
2480         (setWrapStyleWord): Likewise.
2481
2482 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2483
2484         * configure: Regenerate for libtool change.
2485
2486 2004-11-29  Tom Tromey  <tromey@redhat.com>
2487
2488         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2489         Recognize --help and --version.
2490         (usage): Mention gcj-dbtool.  Added "out" argument.
2491         (insist): Updated.
2492
2493 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
2494
2495         * link.cc (link_symbol_table): Do not use intptr_t.
2496
2497 2004-11-28  Mark Wielaard  <mark@klomp.org>
2498
2499         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2500         XMLDecoder tests which currently don't compile.
2501
2502 2004-11-27  Andrew Haley  <aph@redhat.com>
2503
2504         * link.cc (ensure_class_linked): Conditionally compile
2505         _Jv_IsInterpretedClass on INTERPRETER.
2506         (print_class_loaded): Likewise.
2507         (wait_for_state): Likewise.
2508         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2509         * include/java-interp.h (ROUND): Remove.
2510
2511 2004-11-25  Tom Tromey  <tromey@redhat.com>
2512
2513         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2514         * java/lang/Class.h (_Jv_Linker): Declare.
2515         (Class): Fix names of friends.
2516         (_Jv_getInterfaceMethod): Declare.
2517
2518 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2519
2520         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2521         variable libjava_ld_library_path.
2522         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2523
2524 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
2525
2526         * java/util/ResourceBundle.java (BundleKey): Don't implement
2527         Cloneable.
2528         (BundleKey.clone): Removed.
2529         (getBundle): Copy BundleKey using constructor, not clone().
2530
2531 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2532
2533         * configure: Regenerate for libtool reversion.
2534
2535 2004-11-25  Michael Koch  <konqueror@gmx.de>
2536
2537         * Makefile.am: Added most of javax.print again.
2538         * Makefile.in: Regenerated.
2539
2540 2004-11-25  Michael Koch  <konqueror@gmx.de>
2541
2542         * Makefile.am: Added most of javax.print again.
2543         * Makefile.in: Regenerated.
2544
2545 2004-11-24  Tom Tromey  <tromey@redhat.com>
2546
2547         * Merged gcj-abi-2-dev-branch to trunk.
2548
2549 2004-11-16  Tom Tromey  <tromey@redhat.com>
2550
2551         * include/java-interp.h (_Jv_DefineClass): Updated.
2552         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2553         domain to class reader.
2554         * defineclass.cc (parse): Use print_class_loaded.
2555         Include ProtectionDomain.h.
2556         (_Jv_DefineClass): Added ProtectionDomain argument.
2557         (_Jv_ClassReader): Likewise.
2558         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2559         * link.cc: Include CodeSource.h.
2560         (print_class_loaded): New function.
2561         (wait_for_state): Use it.
2562
2563 2004-11-16  Andrew Haley  <aph@redhat.com>
2564
2565         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2566
2567 2004-11-16  Andrew Haley  <aph@redhat.com>
2568
2569         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2570         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2571         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2572         * configure: Regenerate.
2573         * Makefile.in: Regenerate.      
2574
2575 2004-11-15  Andrew Haley  <aph@redhat.com>
2576
2577         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2578         gc-allocated object.
2579
2580 2004-11-15  Andrew Haley  <aph@redhat.com>
2581
2582         * java/net/URLClassLoader.java
2583         (URLLoader.getClassPath): New method.
2584         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2585         attribute and add URLs for each entry.
2586         (JarURLLoader.classPath): New field.
2587         (JarURLLoader.getClassPath): New method.
2588         (addURLImpl): Scan through the list of extraUrls in the new
2589         loader, adding them to our urlinfos.
2590         (definePackage, findURLResource, findResources): Use
2591         urlinfos.size(), not urls.size().
2592
2593 2004-11-11  Tom Tromey  <tromey@redhat.com>
2594
2595         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2596         method.
2597         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2598         linked.
2599         (ensureSupersLinked): Declare.
2600         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2601         linked.
2602
2603 2004-11-10  Tom Tromey  <tromey@redhat.com>
2604
2605         * gij.cc (main): Treat -verbose the same as -verbose:class.
2606         (help): Document -verbose and -verbose:class.
2607
2608         * link.cc (verbose_class_flag): Declare.
2609         (wait_for_state): Print message when handling precompiled class.
2610         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2611
2612 2004-11-09  Tom Tromey  <tromey@redhat.com>
2613
2614         * testsuite/libjava.lang/assign2.out: New file.
2615         * testsuite/libjava.lang/assign2.java: New file.
2616
2617         * java/lang/natRuntime.cc (insertSystemProperties): Set
2618         java.version to 1.4.2 and java.specification.version to 1.4.  Set
2619         java.runtime.version.
2620
2621 2004-11-08  Tom Tromey  <tromey@redhat.com>
2622
2623         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2624         supers installed.
2625         * link.cc (verify_type_assertions): Don't link supers.
2626
2627         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2628         * include/java-interp.h (class _Jv_InterpClass)
2629         <_Jv_PrepareMissingMethods>: No longer `friend'.
2630         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2631         `friend'.
2632         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2633         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2634         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2635         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2636         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2637         * link.cc (search_method_in_class): Renamed from
2638         _Jv_SearchMethodInClass.
2639         (resolve_pool_entry): Updated.
2640
2641         * include/jvm.h (_Jv_CheckAssignment): Removed.
2642         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2643
2644 2004-11-05  Tom Tromey  <tromey@redhat.com>
2645
2646         * link.cc (verify_type_assertions): Ensure classes have supers
2647         linked.  Strip off array types first.
2648
2649 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
2650
2651         * link.cc: Include VerifyError.h. 
2652         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2653         in the type assertion table.
2654         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2655         verify_type_assertions.
2656         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2657         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE, 
2658         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2659         assertion code values.
2660         (struct _Jv_TypeAssertion): Declare.
2661         (assertion_table): New class field.
2662         (verify): Remove class field.
2663
2664 2004-11-05  Andrew Haley  <aph@redhat.com>
2665
2666         * Makefile.am: Move jv_dbtool.java to
2667         gnu/gcj/tools/gcj_dbtool/Main.java.
2668         * Makefile.in: Rebuild.
2669         * java/lang/VMCompiler.java: Rename property
2670         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2671         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2672         jv_dbtool.java.
2673         
2674 2004-11-05  Andrew Haley  <aph@redhat.com>
2675
2676         * jv_dbtool.java (main): Allow the user to specify the size of the
2677         database.  Display the capacity and the size.
2678         (usage): Show the new option.
2679                 
2680 2004-11-04  Tom Tromey  <tromey@redhat.com>
2681
2682         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2683         * link.cc (make_vtable): Use correct index when searching for
2684         missing method's name.  Don't use `flags'.
2685         (set_vtable_entries): Removed `flags' argument.  Don't recurse
2686         into superclasses.
2687         (link_symbol_table): Ensure target class method table is
2688         complete.  Ensure target fields are laid out before entering
2689         loop.
2690
2691         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2692         fix.
2693
2694         * interpret.cc (do_verify): Don't verify abstract methods.
2695
2696 2004-11-01  Tom Tromey  <tromey@redhat.com>
2697
2698         * link.cc (wait_for_state): Call verify_class.
2699
2700         * verify.cc (state::check_no_uninitialized_objects): Removed.
2701         (push_jump): Updated.
2702         (push_exception_jump): Likewise.
2703         (handle_ret_insn): Likewise.
2704         (handle_jsr_insn): Likewise.
2705
2706 2004-10-28  Andrew Haley  <aph@redhat.com>
2707
2708         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2709         * jv_dbtool.java: New file.
2710         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2711         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2712         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
2713         * Makefile.in: Regenerate,
2714         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
2715         Enumeration, StringTokenizer, Vector, PersistentByteMap.
2716         (precompiledMapFiles): New variable.
2717         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
2718         initialize precompiledMapFiles.
2719         (compileClass): Look at the database of precompiled class files
2720         before firing up gcj.
2721
2722         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
2723
2724 2004-10-27  Andrew Haley  <aph@redhat.com>
2725
2726         * java/lang/VMCompiler.java (compileClass): try looking for
2727         precompiledMapFiles.
2728         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2729
2730 2004-10-27  Tom Tromey  <tromey@redhat.com>
2731
2732         * link.cc (ensure_class_linked): Only resolve classes for
2733         compiled classes.
2734         (add_miranda_methods): Ensure interface supers are installed.
2735         (resolve_pool_entry): Better error message.
2736
2737 2004-10-25  Tom Tromey  <tromey@redhat.com>
2738
2739         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
2740
2741         * java/util/ResourceBundle.java (tryBundle): Use
2742         Class.isAssignableFrom rather than catching ClassCastException.
2743
2744         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
2745         exception if we hit EOF of `in'.
2746         (read): Handle case where inflating returns -1.
2747
2748         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
2749         initialize `iter'.
2750         * gnu/java/text/SentenceBreakIterator.java
2751         (SentenceBreakIterator): Don't initialize `iter'.
2752         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
2753         initialize `iter'.
2754         * gnu/java/text/CharacterBreakIterator.java
2755         (CharacterBreakIterator): Don't initialize `iter'.
2756         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
2757         constructor.
2758         * java/text/BreakIterator.java: Updated documentation.
2759
2760 2004-10-20  Tom Tromey  <tromey@redhat.com>
2761
2762         * java/util/ResourceBundle.java (tryBundle): Also ignore
2763         ClassCastException.
2764
2765 2004-10-18  Tom Tromey  <tromey@redhat.com>
2766
2767         * interpret.cc (do_post_miranda_hook): New method.
2768         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
2769         New field.
2770         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
2771         (_Jv_CompiledEngine): Initialize new field.
2772         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
2773         (_Jv_InterpreterEngine): Initialize new field.
2774         * link.cc (resolve_pool_entry): Put Miranda methods in target
2775         class.
2776         (ensure_method_table_complete): Call post_miranda_hook.
2777         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
2778         aux_info.
2779         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
2780         (parse): Set class' aux_info here.
2781
2782         * boehm.cc (_Jv_MarkObj): Mark `throws'.
2783
2784         * boehm.cc: Re-merged with trunk.
2785
2786 2004-10-18  Andrew Haley  <aph@redhat.com>
2787
2788         PR java/18036:
2789         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2790         and correct logic used to find interpreter.
2791
2792 2004-10-13  Andrew Haley  <aph@redhat.com>
2793
2794         * interpret.cc (_Jv_InterpMethod::run): Initialize
2795         _Jv_StartOfInterpreter.
2796         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2797         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2798         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2799         _Unwind_FindEnclosingFunction to discover whether PC is within the
2800         interpreter.
2801
2802 2004-10-13  Tom Tromey  <tromey@redhat.com>
2803
2804         * link.cc (find_iindex): Copy correct number of slots to new
2805         ioffsets.
2806
2807 2004-10-12  Tom Tromey  <tromey@redhat.com>
2808
2809         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
2810         proc.
2811         (gcj_loader_test_one): Use it.
2812         (gcj_loader_run): Likewise.
2813
2814         * prims.cc: Don't include FirstThread.h.
2815
2816 2004-10-06  Tom Tromey  <tromey@redhat.com>
2817
2818         * link.cc (ensure_method_table_complete): Ensure superclass
2819         Miranda methods installed.
2820
2821         * include/java-interp.h (class _Jv_JNIMethod): Added
2822         JV_MARKOBJ_DECL as a friend.
2823         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
2824         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
2825         interpreter method structures.  Mark jni_arg_types of JNI
2826         methods.
2827
2828         * defineclass.cc (parse): Use JV_STATE_READ.
2829         * java/lang/Class.h (JV_STATE_READ): New enum value.
2830
2831 2004-10-05  Tom Tromey  <tromey@redhat.com>
2832
2833         * link.cc (resolve_pool_entry): Add signature info to missing
2834         method's information.
2835
2836         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
2837         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
2838
2839 2004-10-04  Tom Tromey  <tromey@redhat.com>
2840
2841         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
2842         marking IDT.
2843
2844 2004-09-29  Tom Tromey  <tromey@redhat.com>
2845
2846         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
2847         resolve.cc.
2848         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
2849         * jni.cc: Use _Jv_Linker.
2850         * interpret.cc: Use _Jv_Linker.
2851         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
2852         * java/lang/natClassLoader.cc: Use _Jv_Linker.
2853         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
2854         * java/lang/Class.h: Use _Jv_Linker.
2855         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
2856         * resolve.cc: Renamed ...
2857         * link.cc: ... here.  Use _Jv_Linker.
2858         * defineclass.cc (checkExtends): Use _Jv_Linker.
2859
2860 2004-09-17  Tom Tromey  <tromey@redhat.com>
2861
2862         * defineclass.cc (handleCodeAttribute): Don't reference
2863         `deferred'.
2864         (handleMethodsEnd): Likewise.
2865         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
2866         field.
2867         (_Jv_Defer_Resolution): Don't declare or define.
2868         * interpret.cc (do_create_ncode): Don't resolve deferred method
2869         pointers.
2870         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
2871         * resolve.cc (link_symbol_table): No need to defer resolution.
2872
2873 2004-09-14  Tom Tromey  <tromey@redhat.com>
2874
2875         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
2876         (_Jv_MarkObj): Updated.
2877         (_Jv_MarkArray): Likewise.
2878
2879         * include/jvm.h (StringClass): Removed.
2880         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
2881         * interpret.cc (_Jv_InitField): Don't use StringClass.
2882         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
2883         StringClass.
2884         (rehash): Likewise
2885         (intern): Likewise.
2886         (_Jv_FinalizeString): Likewise.
2887         (_Jv_NewStringUtf8Const): Likewise.
2888         (equals): Likewise.
2889         * prims.cc (JvConvertArgv): Don't use StringClass.
2890
2891         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
2892         * resolve.cc (ensure_fields_laid_out): Don't mention
2893         COMPACT_FIELDS.
2894         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
2895         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
2896
2897         * java/lang/reflect/natField.cc (getType): Use resolve_field.
2898         * java/lang/natVMClassLoader.cc (resolveClass): New native
2899         implementation.
2900         (linkClass0): Removed.
2901         (markClassErrorState0): Likewise.
2902         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
2903         preparation code to resolve.cc.
2904         (_Jv_RegisterClassHookDefault): Set class's execution engine if
2905         not already set.
2906         (_Jv_FindClass): Use wait_for_state.
2907         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
2908         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
2909         Moved interface table and class preparation code to resolve.cc.
2910         (finalize): Rewrote.
2911         (initializeClass): Simplified locking and class preparation.
2912         * java/lang/VMClassLoader.java (linkClass0): Removed.
2913         (markClassErrorState0): Likewise.
2914         (resolveClass): Now native.
2915         (transformException): New method.
2916         * java/lang/Class.h (getSuperclass): Don't try to resolve super
2917         reference.
2918         (getInterface): Likewise.
2919         (size): Likewise.
2920         (set_state): New method.
2921         (Class): Updated friend declarations.
2922         (verify): Field now private.
2923         (engine): New field.
2924         * include/jvm.h (class _Jv_Resolver): New class declaration.
2925         (_Jv_ResolveField): Removed declaration.
2926         (_Jv_CheckAccessNoInit): Likewise.
2927         (_Jv_isBinaryCompatible): Removed.
2928         * include/java-interp.h (class _Jv_MethodBase): Updated friend
2929         declarations.
2930         (class _Jv_InterpMethod): Likewise.
2931         (class _Jv_InterpClass): Likewise.
2932         (class _Jv_JNIMethod): Likewise.
2933         * include/execution.h: New file.
2934         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
2935         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
2936         Register class after setting fields.
2937         * resolve.cc: Include execution.h, VerifyError.h.  Moved
2938         interpreter-specific code to interpret.cc.
2939         (uaddr): New location.
2940         (struct aligner): Likewise.
2941         (ALIGNOF): Likewise.
2942         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
2943         (INITIAL_IFACES_LEN): Likewise.
2944         (null_idt): Likewise.
2945         (_Jv_GetMethodString): Likewise.
2946         (_Jv_ThrowNoSuchMethodError): Likewise.
2947         (_Jv_abstractMethodError): Likewise.
2948         (_Jv_Resolver::get_alignment_from_class): Renamed.
2949         (_Jv_Resolver::resolve_field): Likewise.
2950         (_Jv_Resolver::resolve_pool_entry): Likewise.
2951         (_Jv_Resolver::resolve_class_ref): Likewise.
2952         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
2953         (_Jv_Resolver::indexof): Likewise.
2954         (_Jv_Resolver::get_interfaces): Likewise.
2955         (_Jv_Resolver::generate_itable): Likewise.
2956         (_Jv_Resolver::append_partial_itable): Likewise.
2957         (_Jv_Resolver::find_iindex): Likewise.
2958         (_Jv_Resolver::link_symbol_table): Likewise.
2959         (_Jv_Resolver::link_exception_table): Likewise.
2960         (_Jv_Resolver::layout_interface_methods): Likewise.
2961         (_Jv_Resolver::layout_vtable_methods): Likewise.
2962         (_Jv_Resolver::set_vtable_entries): Likewise.
2963         (_Jv_Resolver::make_vtable): Likewise.
2964         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
2965         (_Jv_Resolver::ensure_class_linked): Likewise.
2966         (_Jv_Resolver::ensure_supers_installed): Likewise.
2967         (_Jv_Resolver::add_miranda_methods): Likewise.
2968         (_Jv_Resolver::ensure_method_table_complete): Likewise.
2969         (_Jv_Resolver::verify_class): Likewise.
2970         (_Jv_Resolver::wait_for_state): Likewise.
2971         * prims.cc (_Jv_soleCompiledEngine): New global.
2972         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
2973         (_Jv_CheckAccessNoInit): Removed.
2974         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
2975         * interpret.cc: Include platform.h, ClassFormatError.h,
2976         Modifier.h, execution.h.
2977         (_Jv_soleInterpreterEngine): New global.
2978         (compile): Use resolve_pool_entry.
2979         (run): Likewise.
2980         (_Jv_InitField): New location.
2981         (skip_one_type): Likewise.
2982         (get_ffi_type_from_signature): Likewise.
2983         (_Jv_count_arguments): Likewise.
2984         (init_cif): Likewise.
2985         (ncode_closure): Likewise.
2986         (ffi_closure_fun): Likewise.
2987         (ncode): Likewise.
2988         (throw_class_format_error): Likewise.
2989         (throw_class_format_error): Likewise.
2990         (_Jv_InterpreterEngine::do_verify): New method.
2991         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
2992         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
2993         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
2994         * defineclass.cc: Include execution.h.
2995         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
2996         engine.
2997         (checkExtends): Ensure superclass has supers installed.
2998         (_Jv_ClassNameSamePackage): Clarify usage constraints.
2999         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3000         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
3001         dispatch tables.
3002
3003 2004-09-13  Tom Tromey  <tromey@redhat.com>
3004
3005         * mauve-libgcj: List some classes we don't have.
3006
3007 2004-09-10  Andrew Haley  <aph@redhat.com>
3008
3009         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3010         * java/lang/natClass.cc (initializeClass): Check itable.
3011         (_Jv_getInterfaceMethod): New.
3012         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3013         Check that an interface method isn't called with invokevirtual.
3014
3015         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3016         super_meth is virtual.
3017
3018 2004-09-01  Tom Tromey  <tromey@redhat.com>
3019
3020         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3021         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3022         _Jv_CheckAccessNoInit.
3023         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3024         * prims.cc (_Jv_CheckAccessNoInit): New method.
3025
3026         * java/lang/reflect/natMethod.cc (invoke): Check access against
3027         declaring class, not object's class.
3028         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3029         argument.
3030         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3031         overridden method.
3032         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3033         argument.
3034
3035 2004-08-30  Andrew Haley  <aph@redhat.com>
3036
3037         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3038         ClassNotFoundException.
3039         Throw NoClassDefFoundError.
3040
3041         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3042         to klass->verify() from here ...
3043         (_Jv_PrepareCompiledClass): ...and put it here.
3044
3045 2004-08-27  Andrew Haley  <aph@redhat.com>
3046
3047         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3048         klass->verify().
3049         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3050         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3051
3052 2004-08-27  Tom Tromey  <tromey@redhat.com>
3053
3054         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3055         friend.
3056         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3057         (_Jv_IsAssignableFromSlow): New function.
3058         Include VerifyError.h.
3059         * include/jvm.h (_Jv_CheckAssignment): Declare.
3060
3061 2004-08-18  Andrew Haley  <aph@redhat.com>
3062
3063         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3064         argument.  Pass it to findClass instead of fileName.
3065         (compileClass): Pass class name to loadSharedLibrary.
3066
3067 2004-06-22  Andrew Haley  <aph@redhat.com>
3068
3069         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3070
3071 2004-06-15  Andrew Haley  <aph@redhat.com>
3072
3073         * java/lang/natSystem.cc (getenv0): Don't assume environment
3074         variable is Latin 1 coded.
3075
3076 2004-06-07  Andrew Haley  <aph@redhat.com>
3077
3078         * java/lang/System.java: (getenv0): New method.
3079         (getenv): Add security check.  Do the right thing.
3080         * java/lang/natSystem.cc (getenv0): New method.
3081
3082 2004-04-19    Andrew Haley  <aph@redhat.com>
3083
3084         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3085         we destroy.
3086
3087         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3088         is returned as an int in the range 0 to 255.
3089
3090 2004-08-13  Tom Tromey  <tromey@redhat.com>
3091
3092         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3093         class if it is interpreted.
3094
3095 2004-08-12  Tom Tromey  <tromey@redhat.com>
3096
3097         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3098         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3099         (Class::getSuperclass): Updated.
3100         (Class::getInterfaces): Likewise.
3101         (Class::size): Updated.
3102         (_Jv_LayoutClass): Updated declaration.
3103         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3104         Synchronize on class.
3105         (_Jv_LayoutClass): Changed interface.
3106         (initializeClass): Updated.
3107         (_Jv_LinkSymbolTable): Likewise.
3108
3109         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3110         friend.
3111         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3112         _Jv_isBinaryCompatible.
3113         * java/lang/natClass.cc (initializeClass): Use
3114         _Jv_isBinaryCompatible.
3115         (_Jv_LinkSymbolTable): Likewise.
3116         * include/jvm.h (_Jv_isBinaryCompatible): New function.
3117
3118 2004-08-11  Tom Tromey  <tromey@redhat.com>
3119
3120         * gcj/javaprims.h: Regenerated.
3121         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3122         (_registerClass): Likewise.
3123         * Makefile.in: Rebuilt.
3124         * Makefile.am (core_java_source_files): Added VMCompiler.
3125         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3126         * java/lang/VMCompiler.java: New file.
3127         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3128         `verbose' code.
3129         (copyFile): Don't use fully-qualified name.
3130         (h): Removed.
3131         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3132         (defineClass): Use VMCompiler.
3133         * java/lang/ClassLoader.java (defineClass): Removed jit
3134         compilation code and `verbose' code.
3135         (getClassLoader0): Removed.
3136         (_registerClass): Likewise.
3137         (SharedLibHelpers): Removed.
3138
3139 2004-08-10  Tom Tromey  <tromey@redhat.com>
3140
3141         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3142         URL)): New constructor.
3143         (SoURLLoader): Likewise.
3144         (JarURLLoader): Create SoURLLoader with override URL.
3145
3146 2004-08-10  Mark Wielaard  <mark@klomp.org>
3147
3148         * Makefile.in: Rebuilt.
3149         * Makefile.am (interpret.lo): New rule.
3150
3151 2004-08-05  Andrew Haley  <aph@redhat.com>
3152
3153         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3154         aside for "GCJLIBS" in directory where jarfiles are loaded.     
3155         (JarURLLoader.getClass): New method.
3156         (JarURLLoader.toString):  New method.
3157         (FileResource.toString):  New method.
3158         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3159         Remove "Duplicate class registration: " bug.
3160         (_registerClass): New method.
3161         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3162         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3163         Add debugging.
3164         (_Jv_LayoutClass): Use getSuperclass() rather than directly
3165         accessing the field.
3166         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3167         (defineClass): Call gcj to JIT-compile a class.
3168         (_registerClass): New method.
3169         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3170         library name can refer to more than one loaded library, so use a
3171         Set of SharedLibHelpers.
3172         If a shared library is already loaded, take a copy.
3173         (copyFile): New function.
3174
3175         * testsuite/libjava.compile/compile.exp: Force
3176         -findirect-dispatch.
3177
3178         * java/security/BasicPermission.java: Remove bogus checks.
3179
3180         * java/lang/System.java (getenv0): New method.
3181         * java/lang/natSystem.cc (getenv0): New method.
3182
3183 2004-05-24  Andrew Haley  <aph@redhat.com>
3184
3185         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3186
3187 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
3188
3189         * Merged with HEAD as of 20040514. Diff against
3190         gcj-abi-2-merge-20040514.
3191
3192 2004-04-16  Andrew Haley  <aph@redhat.com>
3193
3194         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3195         _Jv_LayoutClass.
3196         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3197         (_Jv_PrepareCompiledClass): If we throw an exception during
3198         preparation, restore state.
3199         (ClassLoader::getClassLoader0): New method.
3200
3201         * java/lang/natClass.cc (get_alignment_from_class): Moved here
3202         from resolve.cc.
3203         (ALIGNOF): Use offsetof, not __alignof__.
3204         (_Jv_ResolveClassRef): Resolve a reference to a class in a
3205         constant pool.
3206         (getInterfaces): Emit debug output if interface hasn't been
3207         resolved.
3208         (initializeClass): Call _Jv_LayoutClass.
3209         (_Jv_LinkSymbolTable): Add debugging output.
3210         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3211         found.
3212         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3213         (_Jv_LinkSymbolTable): Pass the real class loader to
3214         _Jv_FindClass.
3215         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3216         exception class.
3217         (_Jv_LinkSymbolTable): Assert if we find a static field reference
3218         to an interpreted class.
3219         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3220         superclass.
3221         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3222         resolve.cc.
3223         
3224         * java/lang/VMSecurityManager.java: Check for the system class
3225         loader as well as loader != null.
3226         
3227         * java/lang/SecurityManager.java (checkPermission): Remove
3228         security check.
3229         (checkRead): Likewise.
3230         (checkConnect): Likewise.
3231
3232         * java/lang/ClassLoader.java (loadClass): Include all class
3233         loaders in stack trace string.
3234         Look for class in "gcjlib.so" in the same directory.
3235         (getSystemClassLoader) Use getClassLoader0.
3236         (getClassLoader0): New native method.
3237
3238         * java/lang/Class.h (getSuperclass): New method.
3239         (getInterface): New method.
3240         (size): Lay out class if needed.
3241         (firstMethodIndex): New method.
3242         (Jv_ResolveClassRef): New declaration.
3243         (_Jv_LinkSymbolTable): New declaration.
3244
3245         * java/io/ObjectOutputStream.java: Add DEBUG statements
3246         everywhere.
3247         (dumpElementln): New method.
3248         (depth): New field.
3249         * java/io/ObjectInputStream.java (MyIOException): new, for
3250         debugging.
3251         Everywhere: use MyIOException rather than IOException.
3252         Indent debugging output to make nesting visible.
3253         (currentClassLoader): Make native
3254         (callersClassLoader): New field.
3255         (depth): New field.
3256         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3257         method.
3258         
3259         (readObject): ENDBLOCKDATA is generated if the class has a write
3260         method, not if it has a read method.
3261
3262         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3263
3264         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3265         getContextClassLoader form the current thread after our own class
3266         loader.
3267
3268         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3269         debugging.
3270         (toString): New method.
3271
3272         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3273         interfaces array.
3274
3275         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3276         a constant pool entry, resolve it now.
3277         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3278         in natClass.cc.
3279         Move get_alignment_from_class to natClass.cc.
3280
3281         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3282         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3283
3284         * defineclass.cc (checkExtends): Don't access superclass field
3285         directly.
3286
3287         * Makefile.in: regenerate.
3288
3289         * gnu/gcj/util/natDebug.cc: New
3290         * gnu/gcj/util/Debug.java: New.
3291
3292         * Makefile.am (java/io/ObjectInputStream.lo): Use
3293         -fno-optimize-sibling-calls.
3294
3295         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3296         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3297         in an interface.
3298         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3299
3300 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
3301
3302         * configure: Regenerate for libtool change.
3303
3304 2004-11-24  Michael Koch  <konqueror@gmx.de>
3305
3306         * gnu/java/security/PolicyFile.java: New file.
3307         * Makefile.am: Added gnu/java/security/PolicyFile.java.
3308         * Makefile.in: Regenerated.
3309
3310 2004-11-24  Michael Koch  <konqueror@gmx.de>
3311
3312         * java/lang/Character.java, scripts/unicode-blocks.pl:
3313         Reorder "final static" to "static final".
3314
3315 2004-11-24  Michael Koch  <konqueror@gmx.de>
3316
3317         * java/util/ResourceBundle.java: Reformatted.
3318         (tryBundle): Fixed javadoc.
3319
3320 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
3321
3322         * java/text/MessageFormat.java
3323         (formatInternal): Made private.
3324
3325 2004-11-24  Michael Koch  <konqueror@gmx.de>
3326
3327         * java/nio/DirectByteBufferImpl.java
3328         (ReadWrite.ReadWrite): New constructor.
3329         (DirectByteBufferImpl): Likewise.
3330         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3331         Use DirectByteBufferImpl.ReadWrite.
3332         * Makefile.am:
3333         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3334         * Makefile.in: Rgenerated.
3335
3336 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
3337
3338         * java/nio/DirectByteBufferImpl.java
3339         (ReadOnly): New inner subclass.
3340         (ReadWrite): New inner subclass.
3341         (owner): Made final and private.
3342         (address): Made final.
3343         (DirectByteBufferImpl(int)): New constructor.
3344         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3345         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3346         (allocate): Modified to instantiate ReadWrite subclass.
3347         (finalize): Fixed to only free the buffer, if we own it.
3348         (put): Removed read-only check.
3349         (slice, duplicate): Modified to instantiate appropriate subclass.
3350         (isReadOnly): Removed.
3351         * java/nio/MappedByteBufferImpl.java
3352         (slice, duplicate): Modified to instantiate appropriate
3353         DirectByteBufferImpl subclass.
3354
3355 2004-11-24  Michael Koch  <konqueror@gmx.de>
3356
3357         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3358         * java/nio/DirectByteBufferImpl.java:
3359         Moved native methods to java.nio.VMDirectByteBuffer class.
3360         * java/nio/MappedByteBufferImpl.java:
3361         Use native methods from java.nio.VMDirectByteBuffer class.
3362         * java/nio/VMDirectByteBuffer.java: New file,
3363         * java/nio/natDirectByteBufferImpl.cc:
3364         Moved all methods into java.nio.VMDirectByteBuffer class.
3365         * java/nio/channels/spi/AbstractSelectableChannel.java
3366         (register): Only re-use valid keys.
3367         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3368         * Makefile.in: Regenerated.
3369
3370 2004-11-24  Michael Koch  <konqueror@gmx.de>
3371
3372         * java/nio/DirectByteBufferImpl.java,
3373         java/nio/MappedByteBufferImpl.java:
3374         Reformatted.
3375
3376 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3377
3378         * testsuite/lib/libjava.exp,
3379         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3380
3381 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
3382
3383         * configure.host: Enable the interpreter for mips*-*-linux*.
3384
3385 2004-11-23  Michael Koch  <konqueror@gmx.de>
3386
3387         * java/lang/String.java (rehash): Removed.
3388         * java/lang/natString.cc (rehash): Made static.
3389         (_Jv_NewStringUtf8Const): Use static rehash method.
3390
3391 2004-11-23  Michael Koch  <konqueror@gmx.de>
3392
3393         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3394         include/Makefile.in, testsuite/Makefile.in: Regenerated.
3395
3396 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
3397
3398         PR target/18444
3399         * configure.ac (threading): Accept 'posix95'.
3400         * configure: Regenerate.
3401
3402 2004-11-22  Michael Koch  <konqueror@gmx.de>
3403
3404         * gnu/java/nio/SocketChannelImpl.java
3405         (read): Made check for blocking un-ambiguous.
3406         Removed wrong check for data array length.
3407
3408 2004-11-21  Michael Koch  <konqueror@gmx.de>
3409
3410         * gnu/java/nio/SocketChannelImpl.java
3411         (read): Only return 0 when no bytes for reading available in
3412         non-blocking mode.
3413         * java/nio/channels/SocketChannel.java:
3414         Added some missing @return tags.
3415
3416 2004-11-21  Michael Koch  <konqueror@gmx.de>
3417
3418         * java/beans/PropertyChangeSupport.java
3419         (propertyChangeSupportSerializedDataVersion): Made static.
3420         * java/beans/VetoableChangeSupport.java
3421         (propertyChangeSupportSerializedDataVersion): Likewise.
3422
3423 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3424
3425         * java/net/URLStreamHandler.java
3426         (parseURL): Fixed file path canonicalisation.
3427
3428 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3429
3430         * java/net/URLStreamHandler.java
3431         (parseURL): Fixed file path canonicalisation.
3432
3433 2004-11-18  Michael Koch  <konqueror@gmx.de>
3434
3435         * java/net/URLClassLoader.java: Whitespace cleanup.
3436
3437 2004-11-18  Robert Schuster <address@bogus.example.com>
3438
3439         Complete 1.4 support
3440         * java/beans/PropertyDescriptor.java:
3441         (setReadMethod): New method
3442         (setWriteMethod): New method
3443         (equals): Implemented (1.4)
3444         (checkMethods): operates on arguments now (private)
3445
3446
3447 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3448
3449         * java/net/Inet6Address.java (getHostAddress): Fix textual
3450         representation of IPv6 address with embedded zeroes
3451         to conform to RFC 2373.
3452
3453 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
3454
3455         * java/lang/StackTraceElement.java: Made final.
3456         * java/nio/channels/Channels.java: Added private constructor.
3457         * java/rmi/Naming.java: Added private constructor.
3458         * java/rmi/registry/LocateRegistry.java: Added private constructor.
3459         * java/rmi/server/RMIClassLoader.java: Added private constructor.
3460         * java/security/KeyPairGeneratorSpi.java
3461         (clone): Made protected and simplified implementation.
3462         * java/text/DateFormat.java
3463         (allFields): Made package accessible.
3464         * java/text/DecimalFormat.java
3465         (formatInternal): Made private.
3466         * java/text/Format.java
3467         (formatInternal): Made private.
3468         * java/util/logging/Handler.java: Made constructor protected.
3469         * java/util/regex/Matcher.java: Made final.
3470         * java/util/regex/Pattern.java: Made final.
3471         * javax/crypto/CipherInputStream.java
3472         (mark): Corrected mark parameter type (from long to int).
3473         * javax/crypto/ExemptionMechanism.java
3474         (finalize): Added.
3475         * javax/crypto/Mac.java
3476         (getMacLength): Made final.
3477         (clone): Made final.
3478         * javax/imageio/ImageIO.java: Added private constructor.
3479         * javax/imageio/stream/ImageInputStreamImpl.java
3480         (checkClosed): Made final.
3481         * javax/net/ssl/SSLPermission.java: Made final.
3482         * javax/print/DocFlavor.java
3483         (hostEncoding): Added work-around to prevent the field from being
3484         a compile time constant.
3485         * javax/print/attribute/AttributeSetUtilities.java: Added private
3486         constructor.
3487         (UnmodifiableDocAttributeSet): Made private.
3488         (UnmodifiablePrintJobAttributeSet): Made private.
3489         (UnmodifiablePrintRequestAttributeSet): Made private.
3490         (UnmodifiablePrintServiceAttributeSet): Made private.
3491         (SynchronizedAttributeSet): Made private.
3492         (SynchronizedDocAttributeSet): Made private.
3493         (SynchronizedPrintJobAttributeSet): Made private.
3494         (SynchronizedPrintRequestAttributeSet): Made private.
3495         (SynchronizedPrintServiceAttributeSet): Made private.
3496         * javax/security/auth/PrivateCredentialPermission.java: Made final.
3497
3498 2004-11-18  Craig Black  <craig.black@aonix.com>
3499
3500         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3501
3502 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3503
3504         * Makefile.am: Correct friend function declaration.
3505         * Makefile.in: Regenerated.
3506         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3507         scope to function names.  Declare functions directly.
3508         * libjava/java/lang/Class.h
3509         (java::lang::Class): Correct friend class declaration.
3510         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3511         scope.
3512         * libjava/java/lang/Class.h
3513         (java::lang::Object): Correct friend class declaration.
3514
3515 2004-11-17  David Daney  <ddaney@avtrex.com>
3516
3517         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3518
3519 2004-11-17  Michael Koch  <konqueror@gmx.de>
3520
3521         * java/net/Socket.java (getPort): Return 0 in error case.
3522
3523 2004-11-17  Michael Koch  <konqueror@gmx.de>
3524
3525         *  java/nio/DirectByteBufferImpl.java
3526         (owner): Updated comment.
3527         (allocate): New method.
3528
3529 2004-11-17  Michael Koch  <konqueror@gmx.de>
3530
3531         * java/net/URL.java (URL): Handle case when argument is null.
3532
3533 2004-11-17  Michael Koch  <konqueror@gmx.de>
3534
3535         * java/beans/Beans.java,
3536         java/beans/PropertyChangeEvent.java,
3537         java/beans/PropertyEditorSupport.java:
3538         Fixed javadocs.
3539
3540 2004-11-17  Michael Koch  <konqueror@gmx.de>
3541
3542         * java/util/Timer.java (DEFAULT_SIZE): Made static.
3543
3544 2004-11-17  Michael Koch  <konqueror@gmx.de>
3545
3546         * java/net/InetAddress.java (getCanonicalHostName):
3547         Support IPv6 addresses.
3548
3549 2004-11-16  Michael Koch  <konqueror@gmx.de>
3550
3551         * java/lang/Object.java: Added javadocs all over (merged from GNU
3552         classpath).
3553
3554 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3555
3556         * java/security/Security.java (Security): Silence the warning about no
3557         providers found in the no debug case.
3558
3559 2004-11-16  Michael Koch  <konqueror@gmx.de>
3560
3561         * java/net/InetAddress.java
3562         (toString): Merged from GNU classpath.
3563
3564 2004-11-16  Michael Koch  <konqueror@gmx.de>
3565
3566         * java/awt/geom/doc-files/Area-1.png,
3567         java/awt/geom/doc-files/Ellipse-1.png,
3568         java/awt/geom/doc-files/GeneralPath-1.png:
3569         New files.
3570
3571 2004-11-16  Michael Koch  <konqueror@gmx.de>
3572
3573         * java/util/Currency.java (cache): Fix modifier order.
3574
3575 2004-11-16  Michael Koch  <konqueror@gmx.de>
3576
3577         * java/io/BufferedReader.java,
3578         java/io/FileInputStream.java,
3579         java/io/FileOutputStream.java,
3580         java/io/FileWriter.java,
3581         java/io/OutputStreamWriter.java,
3582         java/io/PipedInputStream.java,
3583         java/io/PipedOutputStream.java,
3584         java/io/PipedReader.java,
3585         java/io/PipedWriter.java,
3586         java/io/PrintStream.java,
3587         java/io/PushbackInputStream.java,
3588         java/io/RandomAccessFile.java,
3589         java/io/Reader.java,
3590         java/io/StreamTokenizer.java,
3591         java/io/StringReader.java,
3592         java/net/NetworkInterface.java,
3593         java/net/URLClassLoader.java,
3594         java/nio/ByteOrder.java,
3595         java/nio/channels/Channel.java:
3596         Fixed javadocs all over.
3597
3598 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3599
3600         * Makefile.am: Add imported files.
3601         * Makefile.in: Regenerate.
3602
3603         2004-10-24  Casey Marshall  <csm@gnu.org>
3604
3605         * javax/security/auth/login/LoginContext.java: Implemented.
3606         * javax/security/auth/login/Configuration.java (getConfig): New method.
3607         * javax/security/auth/spi/LoginModule.java,
3608         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3609
3610 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
3611
3612         Import/Merge the X.509 certificate code from Classpath.
3613
3614         * Makefile.am: Add imported files.
3615         * Makefile.in: Regenerate.
3616
3617         2004-11-07  Casey Marshall  <csm@gnu.org>
3618
3619         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3620         priviliged action. Add new algorithms.
3621         * gnu/java/security/provider/X509CertificateFactory.java
3622         (engineGenerateCertificate): Chain exceptions.
3623         (engineGenerateCertificates): Likewise.
3624         (engineGenerateCRL): Likewise.
3625         (engineGenerateCRLs): Likewise.
3626         (engineGenerateCertPath): New methods.
3627         (generateCert): Throw exception if 'inStream' is null.
3628         (generateCRL): Likewise.
3629         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3630         version from GNU Crypto CVS.
3631         * gnu/java/security/x509/X509CRL.java: Likewise.
3632         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3633         * gnu/java/security/x509/X509Certificate.java: Likewise.
3634         * java/security/cert/TrustAnchor.java: Call 'toString' and not
3635         toRFC2253.
3636         * gnu/java/security/provider/CollectionCertStoreImpl.java,
3637         * gnu/java/security/provider/EncodedKeyFactory.java,
3638         * gnu/java/security/provider/GnuDHPublicKey.java,
3639         * gnu/java/security/provider/GnuRSAPrivateKey.java,
3640         * gnu/java/security/provider/GnuRSAPublicKey.java,
3641         * gnu/java/security/provider/MD2withRSA.java,
3642         * gnu/java/security/provider/MD4withRSA.java,
3643         * gnu/java/security/provider/MD5withRSA.java,
3644         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3645         * gnu/java/security/provider/RSA.java,
3646         * gnu/java/security/provider/RSAKeyFactory.java,
3647         * gnu/java/security/provider/SHA1withRSA.java,
3648         * gnu/java/security/x509/GnuPKIExtension.java,
3649         * gnu/java/security/x509/PolicyNodeImpl.java,
3650         * gnu/java/security/x509/Util.java,
3651         * gnu/java/security/x509/X509CRLSelectorImpl.java,
3652         * gnu/java/security/x509/X509CertPath.java,
3653         * gnu/java/security/x509/X509CertSelectorImpl.java,
3654         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3655         * gnu/java/security/x509/ext/BasicConstraints.java,
3656         * gnu/java/security/x509/ext/CRLNumber.java,
3657         * gnu/java/security/x509/ext/CertificatePolicies.java,
3658         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3659         * gnu/java/security/x509/ext/Extension.java,
3660         * gnu/java/security/x509/ext/GeneralNames.java,
3661         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3662         * gnu/java/security/x509/ext/KeyUsage.java,
3663         * gnu/java/security/x509/ext/PolicyConstraint.java,
3664         * gnu/java/security/x509/ext/PolicyMappings.java,
3665         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3666         * gnu/java/security/x509/ext/ReasonCode.java,
3667         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3668         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3669
3670         2004-11-07  Casey Marshall  <csm@gnu.org>
3671
3672         * gnu/java/security/x509/X509CRL.java:
3673         Missed import statements in previous checkin.
3674
3675         2004-11-07  Casey Marshall  <csm@gnu.org>
3676
3677         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3678         to 'X509CertificateImpl' from previous checkin.
3679
3680 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
3681
3682         PR other/14264
3683         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3684
3685 2004-11-11  Casey Marshall  <csm@gnu.org>
3686
3687         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3688         channel is open.
3689         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3690         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3691
3692 2004-11-11  Robert Schuster <thebohemian@gmx.net>
3693
3694         Fixed regression:
3695         * gnu/java/beans/IntrospectionIncubator.java:
3696         (addMethod): Corrected classification of normal and property methods.
3697         (capitalize): Added documentation.
3698         (DoubleKey): [class] Added documentation.
3699
3700 2004-11-09  Tom Tromey  <tromey@redhat.com>
3701
3702         * include/jni.h: Added FIXME.
3703
3704 2004-11-08  Tom Tromey  <tromey@redhat.com>
3705
3706         * java/util/GregorianCalendar.java: Removed unused imports.
3707         * java/util/Vector.java: Removed unused import.
3708
3709 2004-11-07  Michael Koch  <konqueror@gmx.de>
3710
3711         * java/lang/Process.java:
3712         Import cleanups.
3713
3714 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
3715
3716         * java/util/zip/ZipEntry.java
3717         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
3718
3719 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
3720
3721         Fixes bug #10908
3722         * gnu/java/beans/IntrospectionIncubator.java:
3723         (addMethod): static methods are discarded now, too.
3724
3725 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3726
3727         * java/util/GregorianCalendar.java
3728         Added/amended documentation.
3729
3730 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3731
3732         * java/util/Collections.java
3733         Added documentation.
3734         * java/util/SortedMap.java
3735         Clarified some method examples.
3736         * java/util/SortedSet.java
3737         Clarified some method examples.
3738
3739 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3740
3741         * java/util/Currency.java
3742         Documented variables and methods more fully.
3743         Caches the currency instances, so that a request
3744         for a locale, l, only ever returns the same
3745         instance (i.e. successive calls to getInstance(l)
3746         are reference equivalent (==)).
3747
3748 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3749
3750         * java/util/Date.java
3751         Added missing documentation.
3752
3753 2004-11-06  Michael Koch  <konqueror@gmx.de>
3754
3755         * java/util/zip/CheckedInputStream.java,
3756         java/util/zip/InflaterInputStream.java,
3757         java/util/zip/ZipFile.java,
3758         java/util/zip/ZipInputStream.java:
3759         Import cleanups.
3760
3761 2004-11-06  Tom Tromey  <tromey@redhat.com>
3762
3763         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
3764         package-private.
3765         (connections): Likewise.
3766         (scavenger): Likewise.
3767         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
3768         package-private.
3769         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
3770         package-private.
3771         (ptr): Likewise.
3772         * gnu/classpath/ServiceFactory.java (log): Now package-private.
3773
3774 2004-11-06  Tom Tromey  <tromey@redhat.com>
3775
3776         * javax/naming/directory/BasicAttributes.java (attributes): Now
3777         package-private.
3778         * javax/imageio/spi/ServiceRegistry.java (categories): Now
3779         package-private.
3780
3781 2004-11-06  Tom Tromey  <tromey@redhat.com>
3782
3783         * java/net/URLClassLoader.java (URLClassLoader): Now
3784         package-private.
3785         * java/nio/charset/CoderResult.java (CoderResult): Now
3786         package-private.
3787         (get): Likewise.
3788         (Cache): Likewise.  Don't synchronize on `this'.
3789         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
3790         package-private.
3791         * java/util/TimeZone.java (timezones): Now package-private.
3792
3793 2004-11-06  Tom Tromey  <tromey@redhat.com>
3794
3795         * java/security/Permissions.java (perms): Now package-private.
3796         * java/security/UnresolvedPermission.java (permissions): Now
3797         package-private.
3798
3799 2004-11-06  Tom Tromey  <tromey@redhat.com>
3800
3801         * java/io/FilePermission.java: Reindented.
3802
3803 2004-11-06  Tom Tromey  <tromey@redhat.com>
3804
3805         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
3806         package-private.
3807         (setBlockDataMode): Likewise.
3808
3809 2004-11-06  Tom Tromey  <tromey@redhat.com>
3810
3811         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
3812         package-private.
3813         (Encoder): Likewise.
3814         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
3815         (Encoder): Likewise.
3816         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
3817         package-private.
3818         (Encoder): Likewise.
3819
3820 2004-11-06  Mark Wielaard  <mark@klomp.org>
3821
3822         * Makefile.am: Add new javax.imageio files.
3823         * Makefile.in: Regenerated.
3824
3825 2004-11-06  Michael Koch  <konqueror@gmx.de>
3826
3827         * javax/imageio/event/IIOReadProgressListener.java,
3828         javax/imageio/event/IIOReadUpdateListener.java,
3829         javax/imageio/event/IIOReadWarningListener.java,
3830         javax/imageio/event/IIOWriteProgressListener.java,
3831         javax/imageio/event/IIOWriteWarningListener.java,
3832         javax/imageio/metadata/IIOMetadataFormat.java,
3833         javax/imageio/stream/FileCacheImageInputStream.java,
3834         javax/imageio/stream/FileCacheImageOutputStream.java,
3835         javax/imageio/stream/ImageInputStreamImpl.java:
3836         Import cleanup.
3837         * javax/imageio/metadata/package.html: New file.
3838
3839 2004-11-06  Michael Koch  <konqueror@gmx.de>
3840
3841         * javax/imageio/spi/ImageReaderSpi.java
3842         (isOwnReader): New method.
3843         * javax/imageio/spi/ImageWriterSpi.java
3844         (isOwnWriter): Likewise.
3845
3846 2004-11-06  Michael Koch  <konqueror@gmx.de>
3847
3848         * javax/imageio/ImageWriter.java
3849         (convertImageMetadata): New abstract method.
3850         (convertStreamMetadata): Likewise.
3851         (write): Likewise.
3852         * javax/imageio/stream/FileCacheImageInputStream.java
3853         (close): Fixed setting of stream to null.
3854         (checkStreamClosed): Throws IOException.
3855
3856 2004-11-06  Michael Koch  <konqueror@gmx.de>
3857
3858         * javax/imageio/stream/FileCacheImageInputStream.java,
3859         javax/imageio/stream/FileCacheImageOutputStream.java,
3860         javax/imageio/stream/FileImageInputStream.java,
3861         javax/imageio/stream/FileImageOutputStream.java,
3862         javax/imageio/stream/MemoryCacheImageInputStream.java,
3863         javax/imageio/stream/MemoryCacheImageOutputStream.java:
3864         New files.
3865
3866 2004-11-06  Michael Koch  <konqueror@gmx.de>
3867
3868         * javax/imageio/metadata/IIOInvalidTreeException.java,
3869         javax/imageio/metadata/IIOMetadataFormatImpl.java,
3870         javax/imageio/metadata/IIOMetadataNode.java:
3871         New stub files.
3872
3873 2004-11-06  Michael Koch  <konqueror@gmx.de>
3874
3875         * javax/imageio/stream/ImageInputStreamImpl.java,
3876         javax/imageio/stream/ImageOutputStreamImpl.java:
3877         New files.
3878
3879 2004-11-06  Michael Koch  <konqueror@gmx.de>
3880
3881         * javax/imageio/ImageIO.java:
3882         Added much new methods.
3883
3884 2004-11-06  Michael Koch  <konqueror@gmx.de>
3885
3886         * javax/imageio/ImageReader.java,
3887         javax/imageio/ImageWriter.java,
3888         javax/imageio/spi/ImageWriterSpi.java:
3889         Add SOME new methods.
3890
3891 2004-11-06  Michael Koch  <konqueror@gmx.de>
3892
3893         * javax/imageio/IIOParam.java,
3894         javax/imageio/ImageReadParam.java,
3895         javax/imageio/ImageReader.java,
3896         javax/imageio/ImageWriter.java:
3897         Mostly implemented.
3898         * javax/imageio/spi/ImageReaderSpi.java,
3899         javax/imageio/spi/ImageWriterSpi.java:
3900         New files.
3901
3902 2004-11-06  Michael Koch  <konqueror@gmx.de>
3903
3904         * javax/imageio/ImageWriteParam.java,
3905         javax/imageio/metadata/IIOMetadataFormat.java:
3906         Implemented.
3907
3908 2004-11-06  Michael Koch  <konqueror@gmx.de>
3909
3910         * javax/imageio/ImageTypeSpecifier.java:
3911         Mostly implemented.
3912
3913 2004-11-06  Michael Koch  <konqueror@gmx.de>
3914
3915         * javax/imageio/metadata/IIOMetadata.java:
3916         Mostly implemented.
3917
3918 2004-11-06  Michael Koch  <konqueror@gmx.de>
3919
3920         * javax/imageio/IIOImage.java,
3921         javax/imageio/ImageReadParam.java,
3922         javax/imageio/metadata/IIOMetadataController.java,
3923         javax/imageio/metadata/IIOMetadataFormat.java:
3924         New files.
3925         * javax/imageio/stream/ImageOutputStream.java:
3926         Implemented.
3927
3928 2004-11-06  Michael Koch  <konqueror@gmx.de>
3929
3930         * javax/imageio/IIOParam.java,
3931         javax/imageio/IIOParamController.java,
3932         javax/imageio/ImageTypeSpecifier.java,
3933         javax/imageio/ImageWriteParam.java,
3934         javax/imageio/metadata/IIOMetadata.java:
3935         New files.
3936         * javax/imageio/ImageTranscoder.java:
3937         Implemented.
3938
3939 2004-11-06  Michael Koch  <konqueror@gmx.de>
3940
3941         * javax/imageio/spi/ImageInputStreamSpi.java,
3942         javax/imageio/spi/ImageOutputStreamSpi.java:
3943         Reworked import startments.
3944         * javax/imageio/spi/ServiceRegistry.java:
3945         Reworked import startments. Fixed XHTML in javadocs.
3946         (ServiceRegistry): Added @param tag to javadoc.
3947         * javax/imageio/stream/ImageInputStream.java
3948         (mark): Doesn't throws IOException;
3949
3950 2004-11-06  Michael Koch  <konqueror@gmx.de>
3951
3952         * javax/imageio/ImageIO.java:
3953         New file.
3954
3955 2004-11-06  Michael Koch  <konqueror@gmx.de>
3956
3957         * javax/imageio/spi/IIORegistry.java
3958         (static): Don't register ImageReaderSpi.class and
3959         ImageWriterSpi.class yet.
3960
3961 2004-11-06  Michael Koch  <konqueror@gmx.de>
3962
3963         * javax/imageio/spi/IIORegistry.java:
3964         New file.
3965
3966 2004-11-06  Noa Resare  <noa@resare.com>
3967
3968         * java/net/Socket.java (getPort): Return 0 instead of -1 on
3969         unconnected sockets.
3970
3971 2004-11-06  Michael Koch  <konqueror@gmx.de>
3972
3973         * java/lang/StringBuffer.java,
3974         java/lang/Throwable.java,
3975         java/security/spec/DSAParameterSpec.java,
3976         java/util/zip/ZipEntry.java,
3977         java/util/zip/ZipFile.java,
3978         java/util/zip/ZipInputStream.java,
3979         java/util/zip/ZipOutputStream.java:
3980         Removed redundant and reordered modifiers.
3981
3982 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3983
3984         * java/io/Vector.java
3985         (writeObject): New function to serialized output thread safe.
3986
3987         * java/io/ObjectOutputStream.java
3988         (writeObject): Move the assignment of the class handle to after
3989         the assignment of class descriptor handle.
3990
3991 2004-11-06  Robert Schuster <thebohemian@gmx.net>
3992
3993         Fixes documentation and indentation
3994         * java/beans/PropertyEditorSupport.java:
3995         reworked initial API doc
3996         (value): changed name from val
3997
3998 2004-11-06  Robert Schuster <thebohemian@gmx.net>
3999
4000         Updates to 1.5
4001         * java/beans/PropertyEditorSupport.java
4002         (PropertyEditorSupport()): Changed modifier to public
4003         (PropertyEditorSupport(Object): Changed modifier to public
4004         (setSource): New method
4005         (getSource): New method
4006
4007 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4008
4009         Fixes bug #10799
4010         * java/beans/PropertyEditorSupport.java
4011         (setValue): Fire property change event
4012
4013 2004-11-03  Tom Tromey  <tromey@redhat.com>
4014
4015         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4016         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4017         returns jobjectArray.
4018         (_Jv_JNIEnv::NewObjectArray): Likewise.
4019
4020 2004-11-01  Tom Tromey  <tromey@redhat.com>
4021
4022         * verify.cc (state::check_no_uninitialized_objects): Removed.
4023         (push_jump): Updated.
4024         (push_exception_jump): Likewise.
4025         (handle_ret_insn): Likewise.
4026         (handle_jsr_insn): Likewise.
4027
4028 2004-10-30  Mark Wielaard  <mark@klomp.org>
4029
4030         PR libgcj/18234
4031         * java/lang/Runtime.java (static): Call init().
4032         (Runtime): Remove call to init().
4033         (init): Make static.
4034
4035 2004-10-28  David Daney  <ddaney@avtrex.com>
4036
4037         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4038         * Makefile.am: Build it.
4039         * Makefile.in: Regenerate.
4040
4041 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4042
4043         PR libgcj/18104
4044         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
4045         colon.
4046         * Makefile.in: Regenerate.
4047         * configure: Regenerate.
4048         * configure.ac (CLASSPATH_SEPARATOR): Define.
4049         * gcj/Makefile.in: Regenerate.
4050         * include/Makefile.in: Regenerate.
4051         * testsuite/Makefile.in: Regenerate.
4052         * testsuite/lib/libjava.exp (libjava_arguments): Fix
4053         CLASSPATH separator handling for Windows.
4054
4055 2004-10-26  Michael Koch  <konqueror@gmx.de>
4056
4057         * gnu/java/net/protocol/http/Connection.java
4058         (getOutputStream): Implicitely switch to POST method.
4059
4060 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
4061
4062         * libjava/java/lang/Class.h
4063         (java::lang::Class): Correct friend class declaration.
4064
4065 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
4066
4067         * Makefile.am (DARWIN_CRT_SRC): New.
4068         (libgcj_la_SOURCES): Use it.
4069         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4070         * darwin.cc: New file.
4071         * include/jvm.h (_Jv_RegisterClasses): Constify.
4072         (_Jv_RegisterClasses_Counted): New prototype.
4073         * java/lang/Class.h: Include stddef.h.  
4074         (_Jv_RegisterClasses): Constify.
4075         (_Jv_RegisterClasses_Counted): New prototype.
4076         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4077         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4078         (_Jv_RegisterClasses_Counted): New function.
4079         * configure: Regenerate.
4080         * Makefile.in: Regenerate.
4081         * gcj/Makefile.in: Regenerate.
4082         * include/Makefile.in: Regenerate.
4083         * testsuite/Makefile.in: Regenerate.
4084
4085 2004-10-25  Tom Tromey  <tromey@redhat.com>
4086
4087         * java/util/ResourceBundle.java (tryBundle): Use
4088         Class.isAssignableFrom rather than catching ClassCastException.
4089
4090 2004-10-25  Tom Tromey  <tromey@redhat.com>
4091
4092         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4093         initialize `iter'.
4094         * gnu/java/text/SentenceBreakIterator.java
4095         (SentenceBreakIterator): Don't initialize `iter'.
4096         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4097         initialize `iter'.
4098         * gnu/java/text/CharacterBreakIterator.java
4099         (CharacterBreakIterator): Don't initialize `iter'.
4100         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4101         constructor.
4102         * java/text/BreakIterator.java: Updated documentation.
4103
4104 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
4105
4106         PR other/18138
4107         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4108
4109 2004-10-23  Michael Koch  <konqueror@gmx.de>
4110
4111         * javax/print/DocFlavor.java,
4112         javax/print/attribute/standard/JobStateReason.java,
4113         javax/print/attribute/standard/MultipleDocumentHandling.java:
4114         Added missing constants.
4115
4116 2004-10-22  Tom Tromey  <tromey@redhat.com>
4117
4118         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4119         typo.
4120
4121 2004-10-22  Michael Koch  <konqueror@gmx.de>
4122
4123         PR libjava/14009
4124         * gnu/java/net/protocol/http/Connection.java
4125         (sendRequest): Handle case when url.getFile() returns an empty string.
4126
4127 2004-10-22  Michael Koch  <konqueror@gmx.de>
4128
4129         * java/lang/Math.java,
4130         java/lang/StackTraceElement.java,
4131         java/nio/Buffer.java,
4132         java/nio/ByteBuffer.java,
4133         java/nio/CharBuffer.java,
4134         java/nio/DoubleBuffer.java,
4135         java/nio/FloatBuffer.java,
4136         java/nio/IntBuffer.java,
4137         java/nio/LongBuffer.java,
4138         java/nio/ShortBuffer.java,
4139         java/nio/charset/Charset.java,
4140         java/rmi/server/RMIClassLoader.java,
4141         java/rmi/server/RMISocketFactory.java,
4142         java/security/Policy.java,
4143         java/text/ChoiceFormat.java,
4144         java/text/CollationElementIterator.java,
4145         java/text/DateFormat.java,
4146         java/text/DecimalFormat.java,
4147         java/text/DecimalFormatSymbols.java,
4148         java/text/MessageFormat.java,
4149         java/text/NumberFormat.java,
4150         java/text/RuleBasedCollator.java,
4151         java/text/SimpleDateFormat.java,
4152         java/util/BitSet.java,
4153         java/util/Calendar.java,
4154         java/util/Collections.java,
4155         java/util/IdentityHashMap.java,
4156         java/util/Locale.java,
4157         java/util/TreeMap.java,
4158         java/util/logging/LogRecord.java,
4159         java/util/logging/XMLFormatter.java,
4160         java/util/prefs/AbstractPreferences.java,
4161         java/util/prefs/Preferences.java,
4162         javax/crypto/interfaces/DHPrivateKey.java,
4163         javax/crypto/interfaces/DHPublicKey.java,
4164         javax/crypto/interfaces/PBEKey.java,
4165         javax/net/ssl/HandshakeCompletedEvent.java,
4166         javax/security/auth/Subject.java:
4167         Removed redundant and reordered modifiers.
4168
4169 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
4170
4171         * gnu/java/net/natPlainSocketImplPosix.cc
4172         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4173         with 'int *' argument instead of 'long *'.
4174
4175 2004-10-21  Michael Koch  <konqueror@gmx.de>
4176
4177         * java/net/NetworkInterface.java,
4178         java/text/Format.java,
4179         javax/security/auth/x500/X500Principal.java,
4180         javax/security/auth/x500/X500PrivateCredential.java,
4181         javax/security/cert/X509CertBridge.java,
4182         javax/security/sasl/Sasl.java,
4183         javax/sql/XAConnection.java:
4184         Import cleanup.
4185
4186 2004-10-21  Michael Koch  <konqueror@gmx.de>
4187
4188         * javax/net/ssl/HandshakeCompletedEvent.java,
4189         javax/net/ssl/KeyManagerFactory.java,
4190         javax/net/ssl/SSLContext.java,
4191         javax/net/ssl/SSLServerSocketFactory.java,
4192         javax/net/ssl/SSLSession.java,
4193         javax/net/ssl/SSLSocketFactory.java,
4194         javax/net/ssl/TrustManagerFactory.java:
4195         Import cleanup.
4196
4197 2004-10-21  Michael Koch  <konqueror@gmx.de>
4198
4199         * javax/naming/directory/BasicAttribute.java,
4200         javax/naming/directory/BasicAttributes.java,
4201         javax/naming/directory/InitialDirContext.java,
4202         javax/naming/event/NamingEvent.java,
4203         javax/naming/ldap/ControlFactory.java,
4204         javax/naming/ldap/ExtendedRequest.java,
4205         javax/naming/ldap/InitialLdapContext.java,
4206         javax/naming/ldap/LdapReferralException.java,
4207         javax/naming/spi/DirObjectFactory.java,
4208         javax/naming/spi/DirStateFactory.java,
4209         javax/naming/spi/DirectoryManager.java,
4210         javax/naming/spi/InitialContextFactory.java,
4211         javax/naming/spi/InitialContextFactoryBuilder.java,
4212         javax/naming/spi/NamingManager.java,
4213         javax/naming/spi/ObjectFactory.java,
4214         javax/naming/spi/ObjectFactoryBuilder.java,
4215         javax/naming/spi/StateFactory.java:
4216         Import cleanup.
4217
4218 2004-10-21  Michael Koch  <konqueror@gmx.de>
4219
4220         * javax/crypto/Cipher.java,
4221         javax/crypto/EncryptedPrivateKeyInfo.java,
4222         javax/crypto/ExemptionMechanism.java,
4223         javax/crypto/KeyAgreement.java,
4224         javax/crypto/KeyGenerator.java,
4225         javax/crypto/Mac.java,
4226         javax/crypto/SecretKeyFactory.java,
4227         javax/crypto/SecretKeyFactorySpi.java,
4228         javax/crypto/spec/SecretKeySpec.java:
4229         Import cleanup.
4230
4231 2004-10-21  Michael Koch  <konqueror@gmx.de>
4232
4233         * java/security/AlgorithmParameterGenerator.java,
4234         java/security/AlgorithmParameters.java,
4235         java/security/AlgorithmParametersSpi.java,
4236         java/security/AllPermission.java,
4237         java/security/BasicPermission.java,
4238         java/security/Certificate.java,
4239         java/security/CodeSource.java,
4240         java/security/DigestInputStream.java,
4241         java/security/DigestOutputStream.java,
4242         java/security/GuardedObject.java,
4243         java/security/KeyFactory.java,
4244         java/security/KeyFactorySpi.java,
4245         java/security/KeyPairGenerator.java,
4246         java/security/KeyStore.java,
4247         java/security/KeyStoreSpi.java,
4248         java/security/Permissions.java,
4249         java/security/Security.java,
4250         java/security/Signature.java,
4251         java/security/UnresolvedPermission.java,
4252         java/security/cert/CertPathBuilder.java,
4253         java/security/cert/CertPathValidator.java,
4254         java/security/cert/CertStore.java,
4255         java/security/cert/Certificate.java,
4256         java/security/cert/CertificateFactory.java,
4257         java/security/cert/PolicyQualifierInfo.java,
4258         java/security/cert/TrustAnchor.java,
4259         java/security/cert/X509CRL.java,
4260         java/security/cert/X509CRLSelector.java,
4261         java/security/cert/X509CertSelector.java:
4262         Import cleanup.
4263
4264 2004-10-21  Michael Koch  <konqueror@gmx.de>
4265
4266         * java/rmi/MarshalledObject.java,
4267         java/rmi/Naming.java,
4268         java/rmi/activation/Activatable.java,
4269         java/rmi/activation/ActivationGroup.java,
4270         java/rmi/activation/ActivationGroupDesc.java,
4271         java/rmi/activation/ActivationInstantiator.java,
4272         java/rmi/activation/ActivationMonitor.java,
4273         java/rmi/activation/ActivationSystem.java,
4274         java/rmi/activation/Activator.java,
4275         java/rmi/registry/LocateRegistry.java,
4276         java/rmi/registry/Registry.java,
4277         java/rmi/server/LogStream.java,
4278         java/rmi/server/ObjID.java,
4279         java/rmi/server/RMIClientSocketFactory.java,
4280         java/rmi/server/RMIServerSocketFactory.java,
4281         java/rmi/server/RMISocketFactory.java,
4282         java/rmi/server/RemoteCall.java,
4283         java/rmi/server/RemoteServer.java,
4284         java/rmi/server/ServerRef.java,
4285         java/rmi/server/UID.java,
4286         java/rmi/server/UnicastRemoteObject.java:
4287         Import cleanup.
4288
4289 2004-10-21  Tom Tromey  <tromey@redhat.com>
4290
4291         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4292         exception if we hit EOF of `in'.
4293         (read): Handle case where inflating returns -1.
4294
4295 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
4296
4297         * gnu/java/nio/channels/natFileChannelPosix.cc
4298         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4299         argument instead of 'long *'.
4300
4301 2004-10-21  Tom Tromey  <tromey@redhat.com>
4302
4303         * java/util/ResourceBundle.java (tryBundle): Also ignore
4304         ClassCastException.
4305
4306 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
4307
4308         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4309         for all sh*-*-linux* targets.
4310         * configure: Regenerate.
4311         * include/sh-signal.h: New file.
4312
4313 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4314
4315         * java/lang/ieeefp.h: Add m32r support.
4316
4317 2004-10-20  Andreas Schwab  <schwab@suse.de>
4318
4319         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4320         to uaddr, not int.
4321         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4322         Likewise.
4323
4324 2004-10-20  Michael Koch  <konqueror@gmx.de>
4325
4326         * javax/print/attribute/standard/ColorSupported.java,
4327         javax/print/attribute/standard/Compression.java,
4328         javax/print/attribute/standard/Copies.java,
4329         javax/print/attribute/standard/CopiesSupported.java,
4330         javax/print/attribute/standard/DateTimeAtCompleted.java,
4331         javax/print/attribute/standard/DateTimeAtCreation.java,
4332         javax/print/attribute/standard/DateTimeAtProcessing.java,
4333         javax/print/attribute/standard/DocumentName.java,
4334         javax/print/attribute/standard/Fidelity.java,
4335         javax/print/attribute/standard/Finishings.java,
4336         javax/print/attribute/standard/JobHoldUntil.java,
4337         javax/print/attribute/standard/JobImpressions.java,
4338         javax/print/attribute/standard/JobImpressionsCompleted.java,
4339         javax/print/attribute/standard/JobImpressionsSupported.java,
4340         javax/print/attribute/standard/JobKOctets.java,
4341         javax/print/attribute/standard/JobKOctetsProcessed.java,
4342         javax/print/attribute/standard/JobKOctetsSupported.java,
4343         javax/print/attribute/standard/JobMediaSheets.java,
4344         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4345         javax/print/attribute/standard/JobMediaSheetsSupported.java,
4346         javax/print/attribute/standard/JobMessageFromOperator.java,
4347         javax/print/attribute/standard/JobName.java,
4348         javax/print/attribute/standard/JobOriginatingUserName.java,
4349         javax/print/attribute/standard/JobPriority.java,
4350         javax/print/attribute/standard/JobPrioritySupported.java,
4351         javax/print/attribute/standard/JobSheets.java,
4352         javax/print/attribute/standard/JobState.java,
4353         javax/print/attribute/standard/JobStateReason.java,
4354         javax/print/attribute/standard/JobStateReasons.java,
4355         javax/print/attribute/standard/Media.java,
4356         javax/print/attribute/standard/MultipleDocumentHandling.java,
4357         javax/print/attribute/standard/NumberOfDocuments.java,
4358         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4359         javax/print/attribute/standard/NumberUp.java,
4360         javax/print/attribute/standard/NumberUpSupported.java,
4361         javax/print/attribute/standard/OrientationRequested.java,
4362         javax/print/attribute/standard/OutputDeviceAssigned.java,
4363         javax/print/attribute/standard/PDLOverrideSupported.java,
4364         javax/print/attribute/standard/PageRanges.java,
4365         javax/print/attribute/standard/PagesPerMinute.java,
4366         javax/print/attribute/standard/PagesPerMinuteColor.java,
4367         javax/print/attribute/standard/PrintQuality.java,
4368         javax/print/attribute/standard/PrinterInfo.java,
4369         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4370         javax/print/attribute/standard/PrinterLocation.java,
4371         javax/print/attribute/standard/PrinterMakeAndModel.java,
4372         javax/print/attribute/standard/PrinterMessageFromOperator.java,
4373         javax/print/attribute/standard/PrinterMoreInfo.java,
4374         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4375         javax/print/attribute/standard/PrinterName.java,
4376         javax/print/attribute/standard/PrinterStateReason.java,
4377         javax/print/attribute/standard/PrinterStateReasons.java,
4378         javax/print/attribute/standard/PrinterURI.java,
4379         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4380         javax/print/attribute/standard/RequestingUserName.java:
4381         Reorganized imports and removed redundant final modifiers.
4382
4383 2004-10-20  Michael Koch  <konqueror@gmx.de>
4384
4385         * javax/security/sasl/SaslClient.java,
4386         javax/security/sasl/SaslClientFactory.java,
4387         javax/security/sasl/SaslException.java,
4388         javax/security/sasl/SaslServer.java,
4389         javax/security/sasl/SaslServerFactory.java:
4390         Remvoed CVS tags.
4391
4392 2004-10-20  Michael Koch  <konqueror@gmx.de>
4393
4394         * javax/security/auth/login/NullConfiguration.java,
4395         javax/security/auth/x500/X500Principal.java,
4396         javax/security/cert/X509Certificate.java,
4397         javax/security/sasl/AuthenticationException.java,
4398         javax/security/sasl/AuthorizeCallback.java,
4399         javax/security/sasl/RealmCallback.java,
4400         javax/security/sasl/RealmChoiceCallback.java,
4401         javax/security/sasl/Sasl.java,
4402         javax/security/sasl/SaslClient.java,
4403         javax/security/sasl/SaslClientFactory.java,
4404         javax/security/sasl/SaslException.java,
4405         javax/security/sasl/SaslServer.java,
4406         javax/security/sasl/SaslServerFactory.java:
4407         Cleaned up import statements and copyright notices.
4408
4409 2004-10-20  Michael Koch  <konqueror@gmx.de>
4410
4411         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4412
4413 2004-10-20  Michael Koch  <konqueror@gmx.de>
4414
4415         * java/sql/Timestamp.java,
4416         java/text/AttributedCharacterIterator.java,
4417         java/text/AttributedString.java,
4418         java/util/zip/CheckedOutputStream.java,
4419         java/util/zip/DeflaterOutputStream.java,
4420         java/util/zip/ZipFile.java,
4421         javax/crypto/Cipher.java,
4422         javax/crypto/ExemptionMechanismException.java,
4423         javax/crypto/SecretKey.java,
4424         javax/crypto/SecretKeyFactory.java,
4425         javax/naming/directory/ModificationItem.java,
4426         javax/naming/directory/SearchControls.java,
4427         javax/naming/event/NamingListener.java,
4428         javax/naming/ldap/Control.java,
4429         javax/naming/ldap/ExtendedResponse.java,
4430         javax/net/ssl/SSLSocketFactory.java:
4431         Reorganized imports and fixed copyright headers.
4432
4433 2004-10-20  Michael Koch  <konqueror@gmx.de>
4434
4435         * java/util/logging/ConsoleHandler.java,
4436         java/util/logging/ErrorManager.java,
4437         java/util/logging/FileHandler.java,
4438         java/util/logging/Filter.java,
4439         java/util/logging/Formatter.java,
4440         java/util/logging/Handler.java,
4441         java/util/logging/Level.java,
4442         java/util/logging/LogManager.java,
4443         java/util/logging/LogRecord.java,
4444         java/util/logging/Logger.java,
4445         java/util/logging/LoggingPermission.java,
4446         java/util/logging/MemoryHandler.java,
4447         java/util/logging/SimpleFormatter.java,
4448         java/util/logging/SocketHandler.java,
4449         java/util/logging/StreamHandler.java,
4450         java/util/logging/XMLFormatter.java:
4451         Standardized copyrigth header.
4452
4453 2004-10-20  Michael Koch  <konqueror@gmx.de>
4454
4455         * java/security/AlgorithmParameterGenerator.java,
4456         java/security/AlgorithmParameters.java,
4457         java/security/DigestInputStream.java,
4458         java/security/Identity.java,
4459         java/security/KeyFactory.java,
4460         java/security/KeyPairGenerator.java,
4461         java/security/KeyStore.java,
4462         java/security/MessageDigest.java,
4463         java/security/MessageDigestSpi.java,
4464         java/security/Policy.java,
4465         java/security/SecureRandom.java,
4466         java/security/Security.java,
4467         java/security/Signature.java,
4468         java/security/SignatureSpi.java,
4469         java/security/cert/CertPathBuilder.java,
4470         java/security/cert/CertPathValidator.java,
4471         java/security/cert/CertStore.java,
4472         java/security/cert/Certificate.java,
4473         java/security/cert/CertificateFactory.java,
4474         java/security/cert/PolicyQualifierInfo.java,
4475         java/security/cert/TrustAnchor.java,
4476         java/security/cert/X509CRL.java,
4477         java/security/cert/X509CRLEntry.java,
4478         java/security/cert/X509Certificate.java,
4479         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4480         Import statements reorganized, some little formatting issues,
4481         used java-style array declarations, added comments in empty catch
4482         blocks.
4483
4484 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4485
4486         * java/security/Security.java
4487         (static): Use AccessController.doPrivileged to get system property.
4488
4489 2004-10-18  Sven de Marothy  <sven@physto.se>
4490
4491         * java/nio/ByteBufferHelper.java
4492         (putDouble): Use Double.toRawLongBits instead.
4493
4494 2004-10-18  Mark Wielaard  <mark@klomp.org>
4495         Andrew Haley  <aph@redhat.com>
4496
4497         * testsuite/libjava.lang/ExtraClassLoader.java: New.
4498
4499 2004-10-18  Andrew Haley  <aph@redhat.com>
4500
4501         PR java/18036:
4502         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4503         and correct logic used to find interpreter.
4504         
4505 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4506
4507         * java/util/logging/LogManager.java
4508         (findAncestor): Fixed IndexOutOfBoundsException.
4509
4510 2004-10-18  Michael Koch  <konqueror@gmx.de>
4511
4512         * java/io/BufferedInputStream.java: Fixed @author tag.
4513         (read): Simplified expression.
4514         (read): Merged javadoc a bit more.
4515         (read): Renamed 'remain' to 'totalBytesRead'.
4516         * java/io/DataInputStream.java,
4517         java/io/DataOutputStream.java,
4518         java/io/ObjectInputStream.java,
4519         java/io/ObjectOutputStream.java:
4520         Reworked modifier order.
4521
4522 2004-10-18  Michael Koch  <konqueror@gmx.de>
4523
4524         * java/net/Inet4Address.java: Merged file header and javadocs.
4525         * java/net/Inet6Address.java: Likewise.
4526         * java/net/InetAddress.java
4527         (getCanonicalHostName): Create Inet4Address object instead of
4528         InetAddress and add comment regarding IPv6.
4529         (toString): Simplified.
4530
4531 2004-10-18  Michael Koch  <konqueror@gmx.de>
4532
4533         * gnu/java/net/protocol/http/Connection.java,
4534         java/nio/MappedByteBufferImpl.java,
4535         java/text/RuleBasedCollator.java,
4536         java/util/ResourceBundle.java:
4537         Reworked import statements.
4538
4539 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4540
4541         * java/security/IdentityScope.java
4542         (systemScope): Removed useless initializer.
4543         * java/security/Policy.java
4544         (currentPolicy): Likewise.
4545
4546 2004-10-18  Michael Koch  <konqueror@gmx.de>
4547
4548         * java/lang/System.java: Revert accidential change.
4549
4550 2004-10-18  Michael Koch  <konqueror@gmx.de>
4551
4552         * java/lang/Math.java,
4553         java/lang/Package.java,
4554         java/lang/Runtime.java,
4555         java/lang/StrictMath.java,
4556         java/lang/System.java,
4557         java/lang/Thread.java,
4558         java/lang/ThreadLocal.java,
4559         java/lang/Void.java:
4560         Reworked import statements, HTML in javadocs and modifier orders.
4561
4562 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4563
4564         * java/util/Timer.java
4565         (nr): Removed useless initializer.
4566         * java/util/logging/LogRecord.java
4567         (lastSeqNum): Likewise.
4568         * javax/naming/spi/NamingManager.java
4569         (icfb, ofb): Likewise.
4570
4571 2004-10-18  Michael Koch  <konqueror@gmx.de>
4572
4573         * gnu/java/net/PlainDatagramSocketImpl.java:
4574         Reworked import statements.
4575         * gnu/java/security/provider/DSAParameters.java:
4576         Fixed copyrigth years.
4577         * java/net/JarURLConnection.java:
4578         Fixed HTML in @author tags.
4579         
4580
4581 2004-10-18  Michael Koch  <konqueror@gmx.de>
4582
4583         * java/rmi/activation/ActivationSystem.java
4584         (SYSTEM_PORT): Initialize with correct port number.
4585
4586 2004-10-18  Michael Koch  <konqueror@gmx.de>
4587
4588         * java/lang/reflect/Proxy.java: Improved javadocs.
4589
4590 2004-10-18  Michael Koch  <konqueror@gmx.de>
4591
4592         * java/lang/reflect/AccessibleObject.java
4593         (checkPermission): Removed redundant final modifier.
4594         (secureSetAccessible): Likewise.
4595         * java/lang/reflect/Proxy.java:
4596         Reworked import statements.
4597         (generate): Removed redundant final modifier.
4598         * java/lang/reflect/ReflectPermission.java:
4599         Reorder package declaration and import statement.
4600
4601 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4602
4603         * java/lang/reflect/Proxy.java
4604         (count): Removed useless initializer.
4605
4606 2004-10-17  Michael Koch  <konqueror@gmx.de>
4607
4608         * java/net/BindException.java,
4609         java/net/ConnectException.java,
4610         java/net/ContentHandler.java,
4611         java/net/ContentHandlerFactory.java,
4612         java/net/DatagramPacket.java,
4613         java/net/DatagramSocket.java,
4614         java/net/DatagramSocketImpl.java,
4615         java/net/DatagramSocketImplFactory.java,
4616         java/net/FileNameMap.java,
4617         java/net/HttpURLConnection.java,
4618         java/net/MalformedURLException.java,
4619         java/net/MulticastSocket.java,
4620         java/net/NetworkInterface.java,
4621         java/net/NoRouteToHostException.java,
4622         java/net/PasswordAuthentication.java,
4623         java/net/PortUnreachableException.java,
4624         java/net/ProtocolException.java,
4625         java/net/ServerSocket.java,
4626         java/net/Socket.java,
4627         java/net/SocketException.java,
4628         java/net/SocketImpl.java,
4629         java/net/SocketImplFactory.java,
4630         java/net/SocketOptions.java,
4631         java/net/SocketPermission.java,
4632         java/net/SocketTimeoutException.java,
4633         java/net/URI.java,
4634         java/net/URISyntaxException.java,
4635         java/net/URL.java,
4636         java/net/URLDecoder.java,
4637         java/net/URLEncoder.java,
4638         java/net/URLStreamHandler.java,
4639         java/net/URLStreamHandlerFactory.java,
4640         java/net/UnknownHostException.java,
4641         java/net/UnknownServiceException.java:
4642         Big import statement and @author tag cleanup.
4643
4644 2004-10-17  Michael Koch  <konqueror@gmx.de>
4645
4646         * gnu/java/security/OID.java,
4647         gnu/java/security/provider/DSAParameters.java,
4648         gnu/java/security/provider/DSASignature.java,
4649         gnu/java/security/x509/X500DistinguishedName.java,
4650         gnu/java/security/x509/X509CRL.java:
4651         Import statements cleaned up.
4652
4653 2004-10-16  Michael Koch  <konqueror@gmx.de>
4654
4655         * gnu/java/nio/NIODatagramSocket.java,
4656         gnu/java/nio/ServerSocketChannelImpl.java:
4657         Reorganized import statements.
4658
4659 2004-10-16  Michael Koch  <konqueror@gmx.de>
4660
4661         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4662         gnu/java/rmi/rmic/RMIC.java,
4663         gnu/java/rmi/server/RMIHashes.java,
4664         gnu/java/rmi/server/RMIObjectInputStream.java,
4665         gnu/java/rmi/server/RMIObjectOutputStream.java,
4666         gnu/java/rmi/server/UnicastConnection.java,
4667         gnu/java/rmi/server/UnicastConnectionManager.java,
4668         gnu/java/rmi/server/UnicastRemoteCall.java,
4669         gnu/java/rmi/server/UnicastServer.java,
4670         gnu/java/rmi/server/UnicastServerRef.java,
4671         java/rmi/MarshalledObject.java,
4672         java/rmi/Naming.java,
4673         java/rmi/RMISecurityManager.java,
4674         java/rmi/Remote.java,
4675         java/rmi/activation/Activatable.java,
4676         java/rmi/activation/ActivationDesc.java,
4677         java/rmi/activation/ActivationGroup.java,
4678         java/rmi/activation/ActivationGroupDesc.java,
4679         java/rmi/activation/ActivationGroupID.java,
4680         java/rmi/activation/ActivationID.java,
4681         java/rmi/activation/ActivationInstantiator.java,
4682         java/rmi/activation/ActivationMonitor.java,
4683         java/rmi/activation/ActivationSystem.java,
4684         java/rmi/activation/Activator.java,
4685         java/rmi/dgc/DGC.java,
4686         java/rmi/dgc/Lease.java,
4687         java/rmi/dgc/VMID.java,
4688         java/rmi/registry/LocateRegistry.java,
4689         java/rmi/registry/Registry.java,
4690         java/rmi/registry/RegistryHandler.java,
4691         java/rmi/server/LoaderHandler.java,
4692         java/rmi/server/LogStream.java,
4693         java/rmi/server/ObjID.java,
4694         java/rmi/server/Operation.java,
4695         java/rmi/server/RMIClassLoader.java,
4696         java/rmi/server/RMIClassLoaderSpi.java,
4697         java/rmi/server/RMIClientSocketFactory.java,
4698         java/rmi/server/RMIFailureHandler.java,
4699         java/rmi/server/RMIServerSocketFactory.java,
4700         java/rmi/server/RMISocketFactory.java,
4701         java/rmi/server/RemoteCall.java,
4702         java/rmi/server/RemoteObject.java,
4703         java/rmi/server/RemoteRef.java,
4704         java/rmi/server/RemoteServer.java,
4705         java/rmi/server/RemoteStub.java,
4706         java/rmi/server/ServerRef.java,
4707         java/rmi/server/Skeleton.java,
4708         java/rmi/server/SkeletonMismatchException.java,
4709         java/rmi/server/UID.java,
4710         java/rmi/server/UnicastRemoteObject.java,
4711         java/rmi/server/Unreferenced.java:
4712         File headers and import statements cleaned up.
4713
4714 2004-10-16  Michael Koch  <konqueror@gmx.de>
4715
4716         * libjava/gnu/java/nio/charset/UTF_16.java,
4717         libjava/gnu/java/nio/charset/UTF_16BE.java,
4718         libjava/gnu/java/nio/charset/UTF_16LE.java,
4719         libjava/java/nio/ByteOrder.java,
4720         libjava/java/nio/MappedByteBuffer.java,
4721         libjava/java/nio/channels/Channels.java,
4722         libjava/java/nio/channels/spi/SelectorProvider.java,
4723         libjava/java/nio/charset/Charset.java:
4724         Cleanup.
4725
4726 2004-10-16  Michael Koch  <konqueror@gmx.de>
4727
4728         * gnu/java/nio/charset/UTF_16Encoder.java
4729         (UTF_16Encoder): Fixed maxBytesPerChar handling.
4730
4731 2004-10-16  Michael Koch  <konqueror@gmx.de>
4732
4733         * java/math/BigDecimal.java, java/math/BigInteger.java:
4734         Reorganized import statements, removed redundant and
4735         reorganized modifiers.
4736
4737 2004-10-16  Michael Koch  <konqueror@gmx.de>
4738
4739         * gnu/java/beans/ExplicitBeanInfo.java:
4740         Explicitely import java.awt.Image.
4741         (getIcon): Fixed off-by-one error.
4742
4743 2004-10-15  Andrew Haley  <aph@redhat.com>
4744
4745         * Makefile.am (nat_files, xlib_nat_files): New.
4746         * Makefile.in: Regenerate.
4747
4748 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
4749
4750         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
4751         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
4752
4753 2004-10-13  Andrew Haley  <aph@redhat.com>
4754
4755         * interpret.cc (_Jv_InterpMethod::run): Initialize
4756         _Jv_StartOfInterpreter.
4757         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
4758         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
4759         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
4760         _Unwind_FindEnclosingFunction to discover whether PC is within the
4761         interpreter.
4762
4763 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
4764
4765         PR libgcj/17903:
4766         * testsuite/libjava.lang/md5test.java: New file.
4767         * testsuite/libjava.lang/md5test.out: Likewise.
4768         * testsuite/libjava.lang/shatest.java: Likewise.
4769         * testsuite/libjava.lang/shatest.out: Likewise.
4770
4771 2004-10-11  Richard Henderson  <rth@redhat.com>
4772
4773         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
4774         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
4775
4776 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
4777
4778         * java/util/Calendar.java (set): Invalidate DST_OFFSET
4779         field as a DST boundary may have been crossed.
4780         * java/util/GregorianCalendar.java (add): Throw 
4781         IllegalArgumentException on attempt to add to DST_OFFSET or 
4782         ZONE_OFFSET fields. Update javadoc.
4783
4784 2004-10-09  Michael Koch  <konqueror@gmx.de>
4785
4786         * java/io/CharArrayWriter.java
4787         (resize): Removed redundant 'final' modifier.
4788         * java/io/DataInputStream.java
4789         (readFully): Throw IndexOutOfBoundsException of len < 0.
4790         * java/io/FileDescriptor.java,
4791         java/io/FileInputStream.java,
4792         java/io/FileOutputStream.java,
4793         java/io/ObjectOutputStream.java,
4794         java/io/ObjectStreamClass.java,
4795         java/io/PipedInputStream.java,
4796         java/io/RandomAccessFile.java:
4797         Reorganized import statements.
4798
4799 2004-10-09  Michael Koch  <konqueror@gmx.de>
4800
4801         * gnu/java/rmi/rmic/RMIC.java,
4802         gnu/java/rmi/server/RMIHashes.java,
4803         gnu/java/rmi/server/RMIObjectInputStream.java,
4804         gnu/java/rmi/server/UnicastConnection.java,
4805         gnu/java/rmi/server/UnicastConnectionManager.java,
4806         gnu/java/rmi/server/UnicastRemoteCall.java,
4807         gnu/java/rmi/server/UnicastServerRef.java:
4808         Reworked import statements and fixed file headers.
4809
4810 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
4811
4812         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
4813         emission rule.
4814         * configure: Rebuilt.
4815
4816 2004-09-30  Tom Tromey  <tromey@redhat.com>
4817
4818         * java/text/MessageFormat.java (Field): Constructor now
4819         protected.
4820
4821 2004-09-30  Tom Tromey  <tromey@redhat.com>
4822
4823         * javax/crypto/MacSpi.java: Fixed typo.
4824
4825 2004-09-30  Michael Koch  <konqueror@gmx.de>
4826
4827         * java/net/InetAddress.java: Reformatted.
4828         (loopback): Initialize with Inet4Address object.
4829         (static): Initialize ANY_IF with Inet4Address object.
4830         (InetAddress): Removed unused package-private constructor.
4831
4832 2004-09-30  Michael Koch  <konqueror@gmx.de>
4833
4834         * java/beans/Beans.java,
4835         java/beans/EventHandler.java,
4836         java/beans/EventSetDescriptor.java,
4837         java/beans/Introspector.java,
4838         java/beans/PropertyEditorManager.java,
4839         java/beans/beancontext/BeanContext.java,
4840         java/beans/beancontext/BeanContextChild.java,
4841         java/beans/beancontext/BeanContextChildSupport.java,
4842         java/beans/beancontext/BeanContextMembershipEvent.java:
4843         Reordered import statements and removed redundant modifiers.
4844
4845 2004-09-29  Tom Tromey  <tromey@redhat.com>
4846
4847         PR libgcj/17715:
4848         * Makefile.in: Rebuilt.
4849         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
4850         files.
4851         (all_property_files): New macro.
4852
4853         * Makefile.in: Rebuilt.
4854         * Makefile.am (ordinary_java_source_files): Re-sorted.
4855         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
4856
4857 2004-09-28  Tom Tromey  <tromey@redhat.com>
4858
4859         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
4860
4861         PR libgcj/17222:
4862         * Makefile.am (libgcj.la): Restored.
4863         * Makefile.in: Rebuilt.
4864
4865 2004-09-28  Michael Koch  <konqueror@gmx.de>
4866
4867         * java/net/URLConnection.java: Reformatted.
4868         * java/net/URLClassLoader.java: Reformatted.
4869         (getContent): Reordered return of content.
4870         (getContentHandler): Don't check for null explicitely.
4871
4872 2004-09-27  Michael Koch  <konqueror@gmx.de>
4873
4874         * java/io/BufferedInputStream.java
4875         (BufferedInputStream): Added Jeroen Frijters to authors.
4876         (count): Don't explicitely initialize with default value.
4877         (pos): Likewise.
4878         (marklimit): Likewise.
4879         (read): Changed boolean expression to match GNU classpath' version.
4880         (reset): Add proper message to exception.
4881         (skip): Check for closed stream.
4882         (refill): Likewise.
4883
4884 2004-09-26  Per Bothner  <per@bothner.com>
4885
4886         * prims.cc (unblock_signal): Annotate signum with __unused__ to
4887         avoid warnings in the non-POSIX_VERSION case.
4888         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
4889         so place it inside an #if block.
4890         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
4891         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
4892         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
4893         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
4894
4895 2004-09-26  Per Bothner  <per@bothner.com>
4896
4897         * prims.cc (process_gcj_properties):  Optimization.
4898
4899 2004-09-26  Per Bothner  <per@bothner.com>
4900
4901         * java/util/Collections.java (sort):  Copy from array in forwards
4902         order, rather than reverse order which may be much less efficient.
4903
4904 2004-09-26  Mark Wielaard  <mark@klomp.org>
4905
4906         * java/lang/System.java (properties): Make package private.
4907         * java/lang/Throwable.java (StaticData.nl): Initialize through
4908         directly accessing System.properties.getProperty().
4909
4910         * java/lang/Throwable.java (nl): Remove static field.
4911         (StaticData): New private static inner class.
4912         (stackTraceStringBuffer): Use StaticData.nl.
4913
4914 2004-09-26  Casey Marshall <csm@gnu.org>
4915
4916         * java/security/ProtectionDomain.java
4917         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
4918         `true'.
4919
4920         * java/security/SecureClassLoader.java
4921         (defineClass): make protection domain dynamically bound.
4922         (getPermissions): call `getCurrentPolicy' to avoid permission
4923         check.
4924
4925 2004-09-25  Mark Wielaard  <mark@klomp.org>
4926
4927         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
4928         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
4929         * Makefile.in: Regenerated.
4930
4931         * gcj/javaprims.h: Regenerated.
4932
4933         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
4934         (getDefaultTimeZone): Make package private. Check that GMToffset
4935         contains at least one digit.
4936         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
4937         VMTimeZone.
4938         * util/VMTimeZone.java: New file with above methods.
4939
4940         * java/util/natTimeZone.cc: Removed (renamed).
4941         * java/util/natVMTimeZone.cc: Added (renamed).
4942
4943 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
4944
4945         * java/util/TimeZone.java
4946         (getDefaultTimeZone): Fixed test to distinguish between hours and
4947         minutes in specified timezone.
4948
4949 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
4950
4951         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
4952         handling of default package. (generate): Removed confused comments
4953         and code about making Method and Field accessible.
4954
4955 2004-09-25  Tom Tromey  <tromey@redhat.com>
4956
4957         PR java/17500:
4958         * testsuite/libjava.compile/pr17500.java: New file.
4959
4960 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
4961             Mark Wielaard  <mark@klomp.org>
4962
4963         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
4964         * gnu/regexp/RETokenLookAhead.java: New file.
4965
4966         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
4967         * Makefile.in: Regenerated.
4968
4969 2004-09-25  Michael Koch  <konqueror@gmx.de>
4970
4971         * java/io/ObjectStreamField.java:
4972         Removed unused import statement.
4973
4974 2004-09-24  Tom Tromey  <tromey@redhat.com>
4975
4976         PR java/15656:
4977         * testsuite/libjava.compile/pr15656.xfail: New file.
4978         * testsuite/libjava.compile/pr15656.java: new file.
4979
4980         PR java/16789:
4981         * testsuite/libjava.lang/pr16789.out: New file.
4982         * testsuite/libjava.lang/pr16789.java: New file.
4983
4984 2004-09-24  Andrew Haley  <aph@redhat.com>
4985
4986         PR java/16927
4987         * testsuite/libjava.compile/AssertBug.java: New file.
4988
4989 2004-09-24  Casey Marshall <csm@gnu.org>
4990
4991         * java/util/PropertyPermissionCollection.java
4992         (implies): avoid infinite loop.
4993
4994 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4995
4996         * javax/security/auth/PrivateCredentialPermission.java
4997         (PrivateCredentialPermission): added serialization UID
4998
4999
5000 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
5001
5002         * gnu/java/rmi/server/UnicastServer.java
5003         (incomingMessageCall): Added code to handle Errors.
5004         * gnu/java/rmi/server/UnicastServerRef.java
5005         (incomingMessageCall): Added code to handle Errors.
5006
5007
5008 2004-09-24  Tom Tromey  <tromey@redhat.com>
5009
5010         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5011         (definedPackages): Likewise.
5012
5013 2004-09-24  Michael Koch  <konqueror@gmx.de>
5014
5015         * java/io/ObjectInputStream.java:
5016         Re-ordered imports.
5017
5018 2004-09-24  Casey Marshall <csm@gnu.org>
5019
5020         * java/io/ObjectInputStream.java (callReadMethod): re-throw
5021         `ClassNotFoundException'.
5022
5023 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5024
5025         * java/io/ObjectInputStream.java (readObject): Delegate instantation
5026         of Externalizable classes to ObjectStreamClass.
5027         * java/io/ObjectStreamClass.java (newInstance): New method to
5028         instantiate Externalizable (while ignoring the accessibility of
5029         the constructor). (constructor): New field to cache the constructor.
5030
5031 2004-09-24  Mark Wielaard  <mark@klomp.org>
5032
5033         * java/net/URL.java (systemClassLoader): New static field.
5034         (getURLStreamHandler): Always use system/application classloader
5035         for finding URLStreamhandler. Remove unecessary instanceof checks.
5036
5037 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
5038
5039         * java/net/URL.java
5040         (set): This method now matches the behaviour of the JDK.
5041         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5042
5043 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
5044
5045         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5046
5047 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5048
5049         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5050         Don't set authority if host isn't specified.
5051
5052 2004-09-24  Michael Koch  <konqueror@gmx.de>
5053
5054         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5055         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5056         * gnu/java/nio/VMPipe.java,
5057         gnu/java/nio/VMSelector.java:
5058         New files.
5059         * gnu/java/nio/natPipeImplEcos.cc,
5060         gnu/java/nio/natPipeImplPosix.cc,
5061         gnu/java/nio/natPipeImplWin32.cc:
5062         Ported to VMPipe.
5063         * gnu/java/nio/natSelectorImplEcos.cc,
5064         gnu/java/nio/natSelectorImplPosix.cc,
5065         gnu/java/nio/natSelectorImplWin32.cc:
5066         Ported to VMSelector.
5067         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5068         gnu/java/nio/VMSelector.java.
5069         * Makefile.in: Regenerated.
5070
5071 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5072
5073         * java/lang/StackTraceElement.java
5074         (className): Renamed field to declaringClass to be compatible
5075         with Sun serialization format.
5076
5077 2004-09-23  Michael Koch  <konqueror@gmx.de>
5078
5079         * java/applet/AppletContext.java,
5080         java/applet/Applet.java,
5081         java/applet/AppletStub.java,
5082         java/applet/AudioClip.java:
5083         Jalopied and checkstyle clean.
5084
5085         * javax/swing/JCheckBox.java: Reformated.
5086         (JCheckBox): Fixed all constructors.
5087         (isBorderPaintedFlat): New method.
5088         (setBorderPaintedFlat): New method.
5089         * javax/swing/JEditorPane.java
5090         (createEditorKitForContentType): Made public.
5091         (scrollToReference): Likewise.
5092         * javax/swing/JTextArea.java
5093         (setLineWrap): Fire property change.
5094         * javax/swing/JToggleButton.java
5095         (JToggleButton): New constructor.
5096         (JToggleButton): Simplified.
5097         * javax/swing/text/AttributeSet.java
5098         (FontAttribute): Renamed from FontCharacterAttribute.
5099         * javax/swing/text/JTextComponent.java
5100         (KeyBinBinding): Added javadoc.
5101         (JTextComponent): Likewise.
5102         (getAccessibleContext): Fixed javadoc.
5103         * javax/swing/text/View.java
5104         (View): Added javadoc.
5105         * javax/swing/text/TabableView.java: New file.
5106         * Makefile.am: Added javax/swing/text/TabableView.java.
5107         * Makefile.in: Regenerated.
5108 2004-09-23  Mark Wielaard  <mark@klomp.org>
5109
5110         * java/util/Collections.java
5111         (binarySearch(List, Object, Comparator)): Explicitly
5112         reverse direction in list iterator.
5113         (rotate): Just return when list is empty.
5114
5115 2004-09-23  Tom Tromey  <tromey@redhat.com>
5116
5117         PR java/17329:
5118         * testsuite/libjava.compile/pr17329.java: New file.
5119
5120         PR java/17380:
5121         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5122         9.2-implicit-7.
5123
5124 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5125
5126         * Makefile.am: Run aclocal with -I ../config
5127         * acinclude.m4: Delete macros picked up from ../config and tidy.
5128         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5129         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5130         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5131
5132 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5133
5134         * aclocal.m4: Regenerate with aclocal 1.9.2.
5135         * configure: Regenerate.
5136         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5137         * include/Makefile.in, testsuite/Makefile.in: Likewise.
5138
5139 2004-09-22  David Daney  <ddaney@avtrex.com>
5140
5141         PR libgcj/17623
5142         * java/net/URL.java (URL): Copy userInfo from context.
5143         (getUserInfo): Return cached userInfo if present.
5144
5145 2004-09-22  Tom Tromey  <tromey@redhat.com>
5146
5147         PR libgcj/6182:
5148         * mauve-libgcj: Enable java.lang.Character tests.
5149
5150 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5151
5152         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5153         dependencies.
5154         (lib_org_ietf_jgss_la_LIBADD): Likewise.
5155         * Makefile.in: Regenerated.
5156
5157 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5158
5159         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5160         * configure: Regenerate.
5161         * include/config.h.in: Likewise.
5162         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5164         macro to gtkpeer.h.
5165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5166         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5167         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5168         architectures.
5169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5170         Likewise.
5171
5172 2004-09-22  Tom Tromey  <tromey@redhat.com>
5173
5174         PR libgcj/14446:
5175         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5176         when comparing CRCs.
5177         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5178         field.
5179         (read()): New overload.
5180
5181 2004-09-21  Tom Tromey  <tromey@redhat.com>
5182
5183         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5184         Indentation fix.
5185
5186 2004-09-21  Michael Koch  <konqueror@gmx.de>
5187
5188         * java/net/Socket.java
5189         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5190
5191 2004-09-21  Casey Marshall  <csm@gnu.org>
5192
5193         * javax/crypto/MacSpi.java (clone): Provide meaningful
5194         implementation.
5195
5196 2004-09-21  Tom Tromey  <tromey@redhat.com>
5197
5198         PR libgcj/16869:
5199         * Makefile.in: Rebuilt.
5200         * Makefile.am (MOSTLYCLEANFILES): Removed.
5201         (mostlyclean-local): Remove header files.
5202
5203 2004-09-21  Casey Marshall  <csm@gnu.org>
5204
5205         * java/security/cert/X509CRLSelector.java:
5206         (match): remove unreachable try-catch clauses.
5207         Reported by: Dalibor Topic <robilad@kaffe.org>
5208
5209 2004-09-21  Mark Wielaard  <mark@klomp.org>
5210
5211         * java/util/TreeMap.java (root): Don't initialize.
5212         (TreeMap(Comparator)): Call fabricateTree(0).
5213         (fabricateTree): Initialize root and size when count is 0.
5214
5215 2004-09-21  Sven de Marothy <sven@physto.se>
5216
5217         * java/nio/ByteBuffer.java (hashCode): Implemented.
5218         * java/nio/CharBuffer.java: Likewise.
5219         * java/nio/DoubleBuffer.java: Likewise.
5220         * java/nio/FloatBuffer.java: Likewise.
5221         * java/nio/LongBuffer.java: Likewise.
5222         * java/nio/IntBuffer.java: Likewise.
5223         * java/nio/ShortBuffer.java: Likewise.
5224
5225 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5226
5227         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5228
5229 2004-09-21  Michael Koch  <konqueror@gmx.de>
5230
5231         * javax/net/ssl/SSLServerSocket.java:
5232         Removed comment about "Do not edit this file, it's generated.".
5233
5234 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5235
5236         Import the big Crypto/Jessie/Security merge from Classpath.
5237
5238         * Makefile.am: Add imported files.
5239         * Makefile.in: Regenerate.
5240
5241         2004-08-14  Casey Marshall <csm@gnu.org>
5242
5243         The Big Crypto Merge of 2004.
5244
5245         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5246         Crypto's version.
5247
5248         Files imported from GNU Crypto.
5249         * javax/crypto/BadPaddingException.java
5250         * javax/crypto/Cipher.java
5251         * javax/crypto/CipherInputStream.java
5252         * javax/crypto/CipherOutputStream.java
5253         * javax/crypto/CipherSpi.java
5254         * javax/crypto/EncryptedPrivateKeyInfo.java
5255         * javax/crypto/ExemptionMechanism.java
5256         * javax/crypto/ExemptionMechanismException.java
5257         * javax/crypto/ExemptionMechanismSpi.java
5258         * javax/crypto/IllegalBlockSizeException.java
5259         * javax/crypto/KeyAgreement.java
5260         * javax/crypto/KeyAgreementSpi.java
5261         * javax/crypto/KeyGenerator.java
5262         * javax/crypto/KeyGeneratorSpi.java
5263         * javax/crypto/Mac.java
5264         * javax/crypto/MacSpi.java
5265         * javax/crypto/Makefile.am
5266         * javax/crypto/NoSuchPaddingException.java
5267         * javax/crypto/NullCipher.java
5268         * javax/crypto/NullCipherImpl.java
5269         * javax/crypto/SealedObject.java
5270         * javax/crypto/SecretKey.java
5271         * javax/crypto/SecretKeyFactory.java
5272         * javax/crypto/SecretKeyFactorySpi.java
5273         * javax/crypto/ShortBufferException.java
5274         * javax/crypto/interfaces/DHKey.java
5275         * javax/crypto/interfaces/DHPrivateKey.java
5276         * javax/crypto/interfaces/DHPublicKey.java
5277         * javax/crypto/interfaces/PBEKey.java
5278         * javax/crypto/spec/DESKeySpec.java
5279         * javax/crypto/spec/DESedeKeySpec.java
5280         * javax/crypto/spec/DHGenParameterSpec.java
5281         * javax/crypto/spec/DHParameterSpec.java
5282         * javax/crypto/spec/DHPrivateKeySpec.java
5283         * javax/crypto/spec/DHPublicKeySpec.java
5284         * javax/crypto/spec/IvParameterSpec.java
5285         * javax/crypto/spec/PBEKeySpec.java
5286         * javax/crypto/spec/PBEParameterSpec.java
5287         * javax/crypto/spec/RC2ParameterSpec.java
5288         * javax/crypto/spec/RC5ParameterSpec.java
5289         * javax/crypto/spec/SecretKeySpec.java
5290         * javax/security/auth/AuthPermission.java
5291         * javax/security/auth/DestroyFailedException.java
5292         * javax/security/auth/Destroyable.java
5293         * javax/security/auth/Policy.java
5294         * javax/security/auth/PrivateCredentialPermission.java
5295         * javax/security/auth/RefreshFailedException.java
5296         * javax/security/auth/Refreshable.java
5297         * javax/security/auth/Subject.java
5298         * javax/security/auth/SubjectDomainCombiner.java
5299         * javax/security/auth/callback/Callback.java
5300         * javax/security/auth/callback/CallbackHandler.java
5301         * javax/security/auth/callback/ChoiceCallback.java
5302         * javax/security/auth/callback/ConfirmationCallback.java
5303         * javax/security/auth/callback/LanguageCallback.java
5304         * javax/security/auth/callback/NameCallback.java
5305         * javax/security/auth/callback/PasswordCallback.java
5306         * javax/security/auth/callback/TextInputCallback.java
5307         * javax/security/auth/callback/TextOutputCallback.java
5308         * javax/security/auth/callback/UnsupportedCallbackException.java
5309         * javax/security/auth/login/AccountExpiredException.java
5310         * javax/security/auth/login/AppConfigurationEntry.java
5311         * javax/security/auth/login/Configuration.java
5312         * javax/security/auth/login/CredentialExpiredException.java
5313         * javax/security/auth/login/FailedLoginException.java
5314         * javax/security/auth/login/LoginContext.java
5315         * javax/security/auth/login/LoginException.java
5316         * javax/security/auth/login/NullConfiguration.java
5317         * javax/security/auth/x500/X500PrivateCredential.java
5318         * javax/security/sasl/AuthenticationException.java
5319         * javax/security/sasl/AuthorizeCallback.java
5320         * javax/security/sasl/RealmCallback.java
5321         * javax/security/sasl/RealmChoiceCallback.java
5322         * javax/security/sasl/Sasl.java
5323         * javax/security/sasl/SaslClient.java
5324         * javax/security/sasl/SaslClientFactory.java
5325         * javax/security/sasl/SaslException.java
5326         * javax/security/sasl/SaslServer.java
5327         * javax/security/sasl/SaslServerFactory.java
5328         * org/ietf/jgss/ChannelBinding.java
5329         * org/ietf/jgss/GSSContext.java
5330         * org/ietf/jgss/GSSCredential.java
5331         * org/ietf/jgss/GSSException.java
5332         * org/ietf/jgss/GSSManager.java
5333         * org/ietf/jgss/GSSName.java
5334         * org/ietf/jgss/MessageProp.java
5335         * org/ietf/jgss/Oid.java
5336         * org/ietf/jgss/MessagesBundle.properties
5337
5338         Files imported from Jessie <http://www.nongnu.org/jessie/>
5339         * javax/net/ServerSocketFactory.java
5340         * javax/net/SocketFactory.java
5341         * javax/net/VanillaServerSocketFactory.java
5342         * javax/net/VanillaSocketFactory.java
5343         * javax/net/ssl/HandshakeCompletedEvent.java
5344         * javax/net/ssl/HandshakeCompletedListener.java
5345         * javax/net/ssl/HostnameVerifier.java
5346         * javax/net/ssl/HttpsURLConnection.java
5347         * javax/net/ssl/KeyManager.java
5348         * javax/net/ssl/KeyManagerFactory.java
5349         * javax/net/ssl/KeyManagerFactorySpi.java
5350         * javax/net/ssl/ManagerFactoryParameters.java
5351         * javax/net/ssl/SSLContext.java
5352         * javax/net/ssl/SSLContextSpi.java
5353         * javax/net/ssl/SSLException.java
5354         * javax/net/ssl/SSLHandshakeException.java
5355         * javax/net/ssl/SSLKeyException.java
5356         * javax/net/ssl/SSLPeerUnverifiedException.java
5357         * javax/net/ssl/SSLPermission.java
5358         * javax/net/ssl/SSLProtocolException.java
5359         * javax/net/ssl/SSLServerSocket.java
5360         * javax/net/ssl/SSLServerSocketFactory.java
5361         * javax/net/ssl/SSLSession.java
5362         * javax/net/ssl/SSLSessionBindingEvent.java
5363         * javax/net/ssl/SSLSessionBindingListener.java
5364         * javax/net/ssl/SSLSessionContext.java
5365         * javax/net/ssl/SSLSocket.java
5366         * javax/net/ssl/SSLSocketFactory.java
5367         * javax/net/ssl/TrivialHostnameVerifier.java
5368         * javax/net/ssl/TrustManager.java
5369         * javax/net/ssl/TrustManagerFactory.java
5370         * javax/net/ssl/TrustManagerFactorySpi.java
5371         * javax/net/ssl/X509KeyManager.java
5372         * javax/net/ssl/X509TrustManager.java
5373         * javax/security/cert/Certificate.java
5374         * javax/security/cert/CertificateEncodingException.java
5375         * javax/security/cert/CertificateException.java
5376         * javax/security/cert/CertificateExpiredException.java
5377         * javax/security/cert/CertificateNotYetValidException.java
5378         * javax/security/cert/CertificateParsingException.java
5379         * javax/security/cert/X509CertBridge.java
5380         * javax/security/cert/X509Certificate.java
5381
5382         2004-08-20  Casey Marshall  <csm@gnu.org>
5383
5384         * java/security/cert/X509CRLSelector.java: New file.
5385         * java/security/cert/X509CertSelector.java: New file.
5386
5387 2004-09-15  Michael Koch  <konqueror@gmx.de>
5388
5389         * gnu/java/net/protocol/file/Handler.java
5390         (openConnection): Don't throw exception if host part for file: URI is
5391         present. setURL() keeps file: protocol if ftp: protocol is not
5392         available.
5393
5394 2004-09-14  Richard Henderson  <rth@redhat.com>
5395
5396         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5397         value of sigsuspend.
5398
5399 2004-09-12  Tom Tromey  <tromey@redhat.com>
5400
5401         * javax/naming/CompoundName.java (CompoundName): Don't check for
5402         separator in "flat" case.
5403
5404 2004-09-12  Michael Koch  <konqueror@gmx.de>
5405
5406         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5407         AM_CONFIG_HEADER by AC_CONFIG_FILES.
5408         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5409         Regenerate.
5410
5411 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5412
5413         PR libgcj/14751
5414         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5415         handle in newly-allocated _Jv_Thread_t.
5416         (_Jv_ThreadDestroyData): Close thread handle.
5417         (_Jv_ThreadStart): Remove obsolete comment.
5418         Store handle of newly-created thread in _Jv_Thread_t.
5419         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5420         before including <windows.h>
5421         #define _Jv_HaveCondDestroy
5422
5423 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5424
5425         * java/lang/natThread.cc (finalize_native): Destroy
5426         join conditional variable and mutex if these destroy
5427         operations are supported.
5428
5429 2004-09-10  Dalibor Topic <robilad@kaffe.org>
5430
5431         * gnu/java/net/protocol/file/Connection.java (permission): New field.
5432         (DEFAULT_PERMISSION): New constant.
5433         (Connection): Create a FilePermission with permission to read file.
5434
5435 2004-09-10  Michael Koch  <konqueror@gmx.de>
5436
5437         * gnu/java/net/protocol/file/Connection.java
5438         (getLastModified): Moved around.
5439         (getPermission): Return stored permission.
5440
5441 2004-09-10  Michael Koch  <konqueror@gmx.de>
5442
5443         * Makefile.in: Regenerate.
5444
5445 2004-09-10  Michael Koch  <konqueror@gmx.de>
5446
5447         * Makefile.am: Reverted accidently commited stuff.
5448         * configure: Regenerated.
5449
5450 2004-09-10  Michael Koch  <konqueror@gmx.de>
5451
5452         * gnu/java/net/protocol/file/Connection.java
5453         (lineSeparator): Made non-final.
5454         (static): Removed.
5455         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5456         instead of StringBufferInputStream.
5457
5458 2004-09-10  Michael Koch  <konqueror@gmx.de>
5459
5460         * gnu/java/net/protocol/file/Connection.java
5461         (connect): Handle file is a directory case.
5462
5463 2004-09-10  Michael Koch  <konqueror@gmx.de>
5464
5465         * Makefile.am
5466         (xlib_includes): Removed.
5467         (AM_CPPFLAGS): Renamed from INCLUDES.
5468         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5469         * Makefile.in: Regenerate.
5470
5471 2004-09-09  Michael Koch  <konqueror@gmx.de>
5472
5473         * java/security/ProtectionDomain.java,
5474         * java/util/PropertyPermissionCollection.java:
5475         Fixed javadocs all over.
5476
5477 2004-09-09  Sven de Marothy  <sven@physto.se>
5478
5479         Patch from David Gilbert <david.gilbert@object-refinery.com>
5480         * java/lang/Comparable.java: Fixed documentation errors.
5481         * java/util/Arrays.java: Likewise.
5482
5483 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5484
5485         * java/net/Inet4Address.java
5486         (Inet4Address): Added comment to serialization UID.
5487         * java/text/Format.java
5488         (Format): Added comment to serialization UID.
5489
5490 2004-09-09  Michael Koch  <konqueror@gmx.de>
5491
5492         * java/lang/System.java
5493         (err): Fixed javadoci to point to setErr() and not setOut().
5494
5495 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
5496
5497         (normalizePath): Added special case for windows systems.
5498
5499 2004-09-09  Michael Koch  <konqueror@gmx.de>
5500
5501         * java/io/File.java
5502         (dupSeparator): Made private.
5503         (File(URI)): New constructor.
5504         (getParentFile): Fixed javadoc.
5505         (createTempFile): Reformated.
5506         (setReadOnly): Added comment.
5507         (deleteOnExit): Merged javadoc with classpath version.
5508
5509 2004-09-09  Michael Koch  <konqueror@gmx.de>
5510
5511         * Makefile.am: Don't try to include deps.mk.
5512         * Makefile.in: Regenerated.
5513
5514 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
5515
5516         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5517         .d files.
5518         * configure: Rebuilt.
5519
5520 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
5521
5522         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5523         Changed pfn from static local to local.
5524
5525 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
5526             H.J. Lu  <hongjiu.lu@intel.com>
5527
5528         PR libgcj/17290
5529         * Makefile.am (GCJCOMPILE): Remove definition.
5530         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5531         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5532         * Makefile.in: Rebuilt.
5533
5534 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
5535
5536         * configure.ac (enable-gc-debug): Update help for new syntax.
5537         * configure: Regenerate.
5538
5539 2004-09-03  David Daney  <ddaney@avtrex.com>
5540
5541         * include/mips-signal.h: Update copyright.
5542
5543 2004-09-03  David Daney  <ddaney@avtrex.com>
5544
5545         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5546         * include/mips-signal.h: Added HANDLE_FPE support.
5547         
5548 2004-08-31  Michael Koch  <konqueror@gmx.de>
5549
5550         * javax/swing/plaf/basic/BasicTextAreaUI.java
5551         (create): New method.
5552         * javax/swing/text/DefaultHighlighter.java
5553         (DefaultHighlightPainter.debugRect): Removed.
5554         * javax/swing/text/StyleContext.java
5555         (DEFAULT_STYLE): New field.
5556
5557 2004-08-31  Michael Koch  <konqueror@gmx.de>
5558
5559         * javax/swing/plaf/basic/BasicLookAndFeel.java
5560         (initComponentDefaults): Add keybindings for selection.backward and
5561         selection-forward for text components.
5562         * javax/swing/plaf/basic/BasicTextUI.java
5563         (paintSafely): Paint highlight only when something is actually
5564         selected.
5565         * javax/swing/text/DefaultCaret.java
5566         (handleHighlight): New method.
5567         (setSelectionVisible): Don't do anything when nothing changes.
5568         Handle highlight.
5569         (moveDot): Reimplemented. Handle highlight.
5570         (setDot): Set mark too. Handle highlight.
5571         (getSelectionPainter): New method.
5572         * javax/swing/text/DefaultEditorKit.java
5573         (defaultActions): Added new actions for text selection.
5574         * javax/swing/text/DefaultHighlighter.java
5575         (DefaultHighlightPainter): New inner class.
5576         (DefaultPainter): New field.
5577         (paint): Implemented.
5578         * javax/swing/text/PlainView.java
5579         (paint): Don't draw background here again.
5580         * javax/swing/text/Utilities.java
5581         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5582         (drawTabbedText): Likewise.
5583
5584 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5585
5586         * javax/swing/JComponent.java
5587         (resetKeyboardActions): Add null checks.
5588
5589 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5590
5591         * javax/swing/DefaultButtonModel.java:
5592         Skip group notification when no group is set.
5593
5594 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5595
5596         * javax/swing/JColorChooser.java: 
5597         Make a couple inner classes static, for jikes.
5598
5599 2004-08-31  Michael Koch  <konqueror@gmx.de>
5600
5601         * javax/swing/plaf/basic/BasicTextUI.java
5602         (RottView.modelToView): New method.
5603         (UpdateHandler): Renamed from EventHandler.
5604         (updateHandler): Renamed from eventHandler.
5605         (modelToView): Implemented.
5606         * javax/swing/text/AbstractDocument.java
5607         (BranchElement.getElement): Return null for non-existing indeces.
5608         (BranchElement.getElementIndex): Return 0 in some corner cases.
5609         * javax/swing/text/FieldView.java
5610         (modelToView): New method.
5611         * javax/swing/text/PlainView.java
5612         (modelToView): Made public.
5613
5614 2004-08-31  Kim Ho  <kho@redhat.com>
5615
5616         * Makefile.am: New files.
5617         * Makefile.in: Regenerate.
5618         * gcj/Makefile.in: Regenerate.
5619         * include/Makefile.in: Regenerate.
5620         * java/awt/Color.java: Fix documentation.
5621         (RGBtoHSB): Use floats for conversions.
5622         * javax/swing/ButtonGroup.java: Run Jalopy.
5623         (setSelected): Reimplement.
5624         * javax/swing/DefaultButtonModel.java: Run Jalopy.
5625         (changeState): Let ButtonGroup know that the button 
5626         is changing state.
5627         * javax/swing/JColorChooser.java: Implement.
5628         * javax/swing/JLabel.java: Run Jalopy.
5629         * javax/swing/JSpinner.java: Run Jalopy.
5630         (setValue): New method.
5631         * javax/swing/JTabbedPane.java: Run Jalopy.
5632         (removeTabAt): Call correct remove method.
5633         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5634         (getPreviousValue): Compare minimum value.
5635         * javax/swing/Timer.java: Run Jalopy.
5636         (run): Comment out println.
5637         * javax/swing/ToolTipManager.java:
5638         (mouseMoved): Get new tooltip text for location.
5639         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5640         Jalopy and Javadoc.
5641         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5642         Implement.
5643         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5644         Run Jalopy.
5645         (setSelectedColor): Fire ChangeEvent.
5646         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5647         New file. Implement.
5648         * javax/swing/colorchooser/DefaultPreviewPanel.java:
5649         Ditto.
5650         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5651         Ditto.
5652         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5653         Ditto.
5654         * javax/swing/plaf/basic/BasicArrowButton.java:
5655         (getArrow): Fix size of upward pointing button.
5656         * javax/swing/plaf/basic/BasicColorChooserUI.java:
5657         Implement.
5658         * javax/swing/plaf/basic/BasicSliderUI.java:
5659         (getWidthOfWidestLabel): Use preferred dimensions.
5660         (getHeightOfTallestLabel): Ditto.
5661         * javax/swing/plaf/basic/BasicSpinnerUI.java:
5662         Run Jalopy.
5663         (mousePressed): Disable changes to spinner if it is not enabled.
5664         * testsuite/Makefile.in: Regenerate.
5665
5666
5667 2004-08-31  Michael Koch  <konqueror@gmx.de>
5668
5669         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5670         javax/swing/plaf/basic/BasicTableUI.java:
5671         Added copyright notice.
5672
5673 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
5674
5675         * Makefile.am: Added new files.
5676         * Makefile.in: Regenerate.
5677         * javax/swing/ComboBoxEditor.java: Added javadocs.
5678         * javax/swing/ComboBoxModel.java: Likewise.
5679         * javax/swing/DefaultComboBoxModel.java: Implemented.
5680         * javax/swing/DefaultListCellRenderer.java: Added javadocs
5681         and ran through jalopy to fix formatting style.
5682         (getListCellRendererComponent): Use appropriate border
5683         if renderer has focus and use noFocusBorder when it doesn't.
5684         * javax/swing/JComboBox.java: Implemented.
5685         * javax/swing/JList.java:
5686         (locationToIndex): New Method. Implemented.
5687         (indexToLocation): New Method.
5688         * javax/swing/JPopupMenu.java: 
5689         (visible): New field.
5690         (isVisible): Changed to use new field above.
5691         (setVisible): Likewise.
5692         * javax/swing/MutableComboBoxModel.java: Added javadocs.
5693         * javax/swing/plaf/basic/BasicArrowButton.java: 
5694         (shadow): Changed default color to Color.gray.
5695         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5696         UI delegate for JComboBox.
5697         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5698         Popup menu containing list of JComboBox's items.
5699         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5700         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5701         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5702         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5703         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5704         (popupMenuWillBecomeVisible): Set selected path to the first
5705         element only if it is of type MenuElement. Also fix formatting
5706         style.
5707         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
5708         methods signatures.
5709         
5710 2004-08-31  Michael Koch  <konqueror@gmx.de>
5711
5712         * javax/swing/text/AbstractDocument.java
5713         (createBranchElement): Use new constructor of BranchElement.
5714         (createLeafElement): Renamed arguments.
5715         (getRootElements): Implemented.
5716         (BranchElement.start): Removed.
5717         (BranchElement.end): Likewise.
5718         (BranchElement.BranchElement): Fixed arguments.
5719         (BranchElement.getEndOffset): Reimplemented.
5720         (BranchElement.getStartOffset): Likewis.
5721         * javax/swing/text/DefaultCaret.java
5722         (paint): Draw simple vertical line as caret instead of a rectangle.
5723         * javax/swing/text/JTextComponent.java
5724         (setText): Use doc directly.
5725         * javax/swing/text/PlainView.java
5726         (nextTabStop): Implemented.
5727         * javax/swing/text/Utilities.java
5728         (drawTabbedText): nextTabStop() returns an absolute x position.
5729         (getTabbedTextWidth): Likewise.
5730
5731 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5732
5733         * java/awt/Component.java 
5734         (isFocusTraversable): Predicate on isLightweight()
5735         (setFocusable): Set isFocusTraversableOverridden.
5736         (requestFocus): Predicate peer dispatch on !isLightweight()
5737         (requestFocusInWindow): Likewise.
5738         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
5739         * java/awt/Container.java
5740         (dispatchEventImpl): Predicate on event mask.
5741         (LightweightDispatcher): Remove focus machinery.
5742         * java/awt/DefaultFocusTraversalPolicy.java
5743         (accept): Expand predicate to include isFocusable(). 
5744         * java/awt/DefaultKeyboardFocusManager.java:
5745         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
5746         * java/awt/KeyboardFocusManager.java
5747         (redispatchEvent): Synchronize on event to prevent feedback.
5748         * javax/swing/AbstractButton.java
5749         (ButtonFocusListener): Remove class.
5750         (init): Set focusPainted, focusable.
5751         * javax/swing/ActionMap.java (get): Check parent for null. 
5752         * javax/swing/InputMap.java (get): Likewise. 
5753         * javax/swing/JComponent.java
5754         (inputMap_whenFocused): New InputMap.
5755         (inputMap_whenAncestorOfFocused): Likewise.
5756         (inputMap_whenInFocusedWindow): Likewise.
5757         (getActionForKeyStroke): Rewrite.
5758         (getConditionForKeystroke): Likewise.
5759         (ActionListenerProxy): New private class.
5760         (setInputMap): Implement.
5761         (getInputMap): Likewise.
5762         (setActionMap): Likewise.
5763         (getActionMap): Likewise.
5764         (processComponentKeyEvent): New empty method.
5765         (processKeyEvent): Implement.
5766         (processKeyBinding): Likewise.
5767         (resetKeyboardActions): Rewrite.
5768         * javax/swing/KeyStroke.java: Rewrite.
5769         * javax/swing/SwingUtilities.java
5770         (notifyAction): Implement.
5771         (replaceUIActionMap): Likewise.
5772         (replaceUIInputMap): Likewise.
5773         * javax/swing/plaf/basic/BasicButtonListener.java
5774         (focusGained): Implement.
5775         (focusLost): Repaint if focusPainted().
5776         (installKeyboardActions): Install pressed / released actions.
5777         (uninstallKeyboardActions): Implement.
5778         * javax/swing/plaf/basic/BasicButtonUI.java
5779         (focusColor): New field.
5780         (installDefaults): Load focus color, install input map.
5781         (installKeyboardActions): Implement.
5782         (uninstallKeyboardActions): Likewise.
5783         (paintFocus): Rewrite.
5784         * javax/swing/plaf/basic/BasicLookAndFeel.java
5785         (Button.focus): New default, midPurple. 
5786         * javax/swing/plaf/basic/BasicTextUI.java
5787         (kit): Make static.
5788         (installUI): Get doc from kit, load defaults.
5789         (getKeymapName): Implement.
5790         (createKeymap): Likewise.
5791         (installKeyboardActions): Likewise.
5792         (getInputMap): Likewise.
5793         (getActionMap): Likewise.
5794         (createActionMap): Likewise.
5795         * javax/swing/text/AbstractDocument.java
5796         (getStartPosition): Implement.
5797         (getEndPosition): Likewise.
5798         * javax/swing/text/DefaultEditorKit.java
5799         (CopyAction): New class.
5800         (CutAction): Likewise.
5801         (DefaultKeyTypedAction): Likewise.
5802         (InsertBreakAction): Likewise.
5803         (InsertContentAction): Likewise.
5804         (InsertTabAction): Likewise.
5805         (PasteAction): Likewise.
5806         (defaultActions): New static table.
5807         (createCaret): Implement.
5808         (getActions): Likewise.
5809         * javax/swing/text/JTextComponent.java
5810         (KeymapWrapper): New private class.
5811         (KeymapActionMap): Likewise.
5812         (DefaultKeymap): New class.
5813         (keymaps): New static table.
5814         (keymap): New field.
5815         (getKeymap): Implement.
5816         (removeKeymap): Likewise.
5817         (addKeymap): Likewise.
5818         (setKeymap): Likewise.
5819         (loadKeymap): Likewise.
5820         (getActions): Likewise.
5821         (margin): New field.
5822         (JTextComponent): Build and install default keymap.
5823         * javax/swing/text/TextAction.java
5824         (textAction): Call super properly.
5825         (getTextComponent): Implement.
5826         * javax/swing/text/Utilities.java
5827         (drawTabbedText): Adjust position by ascent.
5828
5829 2004-08-31  David Jee  <djee@redhat.com>
5830
5831         PR AWT/17156
5832
5833         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5834         (setEnabled): Make it a native method.
5835         * java/awt/DefaultKeyboardFocusManager.java
5836         (postProcessKeyEvent): Only post event if the menu item
5837         is active.
5838         * java/awt/MenuItem.java:
5839         Private field 'enabled' should be true by default.
5840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5841         (setEnabled): New function.
5842
5843 2004-08-31  David Jee  <djee@redhat.com>
5844
5845         PR AWT/17059
5846
5847         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5848         (nativeSetHelpMenu): New native method declaration.
5849         (addHelpMenu): Call nativeSetHelpMenu().
5850         (addMenu): Remove.
5851         * java/awt/MenuBar.java
5852         (setHelpMenu): Call addNotify() on the new help menu.
5853         (add): Call addNotify() on the new menu.
5854         (addNotify): Set the help menu if one exists.
5855         * java/awt/peer/MenuBarPeer.java
5856         (addMenu): Remove.
5857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5858         (nativeSetHelpMenu): New method.
5859
5860 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5861
5862         * Makefile.am: Add new files.
5863         * Makefile.in: Regenerate.
5864         * javax/swing/Box.java: Fix setting of layout in ctor.
5865         * javax/swing/JScrollPane.java: Scroll headers as well.
5866         * javax/swing/JTable.java: Reimplement.
5867         * javax/swing/JViewPort.java: Only add non-null children.
5868         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
5869         * javax/swing/Timer.java: Fix stopping null waker.
5870         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
5871         * javax/swing/plaf/basic/BasicTableUI.java: New file.
5872         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
5873         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
5874         * javax/swing/table/DefaultTableModel.java: Clean up.
5875         * javax/swing/table/JTableHeader.java: Implement.
5876
5877 2004-08-31  Mark Wielaard  <mark@klomp.org>
5878
5879         * javax/swing/JSpinner.java (getChangeListeners): Remove double
5880         semi-colon.
5881
5882 2004-08-31  Mark Wielaard  <mark@klomp.org>
5883
5884         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
5885         Declare variables at top of functions/block.
5886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
5887
5888 2004-08-31  Mark Wielaard  <mark@klomp.org>
5889
5890         * java/lang/Rectangle.java (intersects): Check r.width and r.height
5891         first.
5892
5893 2004-08-31  Michael Koch  <konqueror@gmx.de>
5894
5895         * javax/swing/text/PlainView.java
5896         (selectedColor): New field.
5897         (unselectedColor): Likewise.
5898         (font): Likewise.
5899         (updateMetrics): New method.
5900         (lineToRect): Likewise.
5901         (modelToView): Likewise.
5902         (drawSelectedText): Use color from JTextComponent ad draw with
5903         Utilities class.
5904         (drawUnselectedText): Likewise.
5905         (paint): Initialize helper fields.
5906         * javax/swing/text/View.java
5907         (getChildAllocation): New method.
5908         (getViewIndex): Likewise.
5909         (getToolTipText): Likewise.
5910
5911 2004-08-31  Michael Koch  <konqueror@gmx.de>
5912
5913         * javax/swing/text/Utilities.java
5914         (drawTabbedText): Reimplemented.
5915         (getTabbedTextWidth): Likewise.
5916
5917 2004-08-31  Michael Koch  <konqueror@gmx.de>
5918
5919         * javax/swing/plaf/basic/BasicTextUI.java
5920         (installDefaults): Install caret and highlighter.
5921         (modelToView): Use Bias.Forward when calling sibling.
5922         * javax/swing/text/AbstractDocument.java
5923         (ElementEdit): Implements DocumentEvent.ElementChange.
5924         (ElementEdit.ElementEdit): New method.
5925         (ElementEdit.getChildrenAdded): Likewise.
5926         (ElementEdit.getChildrenRemoved): Likewise.
5927         (ElementEdit.getElement): Likewise.
5928         (ElementEdit.getIndex): Likewise.
5929         * javax/swing/text/DefaultCaret.java
5930         (color): Removed.
5931         (textComponent): Renamed from parent, made private.
5932         (selectionVisible): Renamed from vis_sel, made private.
5933         (blinkRate): Renamed from blink, made private.
5934         (magicCaretPosition): Renamed from magic, made private.
5935         (visible): Renamed from vis, made private.
5936         (dot): Made private.
5937         (mark): Likewise.
5938         (deinstall): Remove as MouseMotionListener.
5939         (install): Initialize textComponent first. Add as MouseMotionListener.
5940         (paint): Reimplemented.
5941         * javax/swing/text/JTextComponent.java
5942         (setCaret): Deinstall old caret, install new one and fire property
5943         change after setting property.
5944         (setHighlighter): Deinstall old highlighter, install new one and fire
5945         property change after setting property.
5946         (setCaretColor): Fire property change after setting property.
5947         (setDisabledTextColor): Likewise.
5948         (setSelectedTextColor): Likewise.
5949         (setSelectionColor): Likewise.
5950         (modelToView): New method.
5951
5952 2004-08-31  Michael Koch  <konqueror@gmx.de>
5953
5954         * javax/swing/text/AbstractDocument.java
5955         (getText): Simplified.
5956         * javax/swing/text/Segment.java
5957         (current): New field.
5958         (current): Reimplemented.
5959         (first): Likewise.
5960         (getIndex): Likewise.
5961         (last): Likewise.
5962         (next): Likewise.
5963         (previous): Likewise.
5964         (setIndex): Likewise.
5965
5966 2004-08-31  Michael Koch  <konqueror@gmx.de>
5967
5968         * javax/swing/plaf/basic/BasicButtonUI.java
5969         (defaultTextIconGap): Made protected.
5970         (defaultTextShiftOffset): Likewise.
5971         (textShiftOffset): New field.
5972         (clearTextShiftOffset): New method.
5973         (getTextShiftOffset): Likewise.
5974         (setTextShiftOffset): Likewise.
5975
5976 2004-08-31  Michael Koch  <konqueror@gmx.de>
5977
5978         * javax/swing/plaf/basic/BasicTextUI.java
5979         (installUI): Add eventHandler as property listener.
5980         (uninstallUI): remove eventHandler as propert listener.
5981         (installDefaults): Added comment.
5982         (installListeners): Likewise.
5983         (installKeyboardActions): Likewise.
5984         (uninstallDefaults): Likewise.
5985         (uninstallListeners): Likewise.
5986         (uninstallKeyboardActions): Likewise.
5987
5988 2004-08-31  Michael Koch  <konqueror@gmx.de>
5989
5990         * javax/swing/text/AbstractDocument.java:
5991         Fixed some typos in comments.
5992         (insertString): Reimplemented.
5993         (remove): Likewise.
5994         (replace): New method.
5995         (children): Dont use fully qualified class name.
5996         (DefaultDocumentEvent.offset): Renamed from off.
5997         (DefaultDocumentEvent.length): Renamed from len.
5998         (DefaultDocumentEvent.type): New field.
5999         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6000         (DefaultDocumentEvent.getType): Implemented.
6001
6002 2004-08-31  Michael Koch  <konqueror@gmx.de>
6003
6004         * javax/swing/plaf/basic/BasicTextUI.java
6005         (RootView.textComponent): Removed.
6006         (RootView.RootView): Don't initialize textComponent.
6007         (RootView.getViewFactory): New method.
6008         (EventHandler): New inner class.
6009         (rootView): Initialize at instance creation.
6010         (eventHandler): New field.
6011         (installUI): Don't create view hierarchy directly,
6012         call modelChanged() instead.
6013         (modelChanged): New method.
6014         * javax/swing/text/JTextComponent.java
6015         (setDocument): Fire property change event.
6016
6017 2004-08-31  Michael Koch  <konqueror@gmx.de>
6018
6019         * javax/swing/plaf/basic/BasicTextUI.java
6020         (RootView.paint): Removed debug output.
6021         (paintSafely): Draw highlighter before text.
6022         (paintBackground): Use background color of text component.
6023         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6024         Reformatted.
6025
6026 2004-08-31  Michael Koch  <konqueror@gmx.de>
6027
6028         * javax/swing/plaf/basic/BasicToolBarUI.java
6029         (BasicToolBarUI): Fixed arguments for constructor.
6030         (createUI): Fixed creation of object.
6031
6032 2004-08-31  Michael Koch  <konqueror@gmx.de>
6033
6034         * javax/swing/DefaultListSelectionModel.java
6035         (fireValueChanged): Renamed from fireSelectionValueChanged,
6036         made protected.
6037
6038 2004-08-31  Michael Koch  <konqueror@gmx.de>
6039
6040         * javax/swing/text/TabSet.java
6041         (TabSet): Implements java.io.Serializable.
6042         * javax/swing/text/TabStop.java
6043         (TabStop): Implements java.io.Serializable.
6044         (TabStop): Made public.
6045
6046 2004-08-31  Michael Koch  <konqueror@gmx.de>
6047
6048         * javax/swing/JComponent.java
6049         (setUI): Fire PropertyChange.
6050         * javax/swing/JLabel.java
6051         (text): Renamed from labelText.
6052         (horizontalAlignment): New default vlaue.
6053         (icon): Renamed from activeIcon.
6054         (displayedMnemonic): Renamed from mnemonicKey, added default value.
6055         (displayedMnemonicIndex): Renamed from underlineChar.
6056         (setDisplayedMnemonic): Reimplemented.
6057         * javax/swing/JRadioButton.java
6058         (JRadioButton): New constructors.
6059         * javax/swing/JTextField.java
6060         (JTextField): Throw exception if colums < 0, initialitialz
6061         this.columns directly and initialize document with text conditionally.
6062
6063 2004-08-31  Michael Koch  <konqueror@gmx.de>
6064
6065         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6066         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6067         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6068         * javax/swing/text/FieldView.java
6069         (paint): Just call super method for now.
6070         * Makefile.am: Added new files.
6071         * Makefile.in: Regenerated.
6072
6073 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
6074
6075         * javax/swing/AbstractSpinnerModel.java,
6076         javax/swing/JSpinner.java,
6077         javax/swing/SpinnerNumberModel.java,
6078         javax/swing/plaf/basic/BasicSpinnerUI.java:
6079         New files.
6080         * javax/swing/plaf/basic/BasicLookAndFeel.java
6081         (initClassDefaults): Added defaults for BasicSpinnerUI.
6082
6083 2004-08-31  Michael Koch  <konqueror@gmx.de>
6084
6085         * Makefile.am: Added new files.
6086         * Makefile.in: Regenerated.
6087
6088 2004-08-31  Michael Koch  <konqueror@gmx.de>
6089
6090         * javax/swing/TransferHandler.java,
6091         javax/swing/plaf/basic/ComboPopup.java: New files
6092         * Makefile.am: Added javax/swing/TransferHandler.java and
6093         javax/swing/plaf/basic/ComboPopup.java
6094         * Makefile.in: Regenerated.
6095
6096 2004-08-31  Roman Kennke  <roman@ontographics.com>
6097
6098         * javax/swing/text/Utilities.java: New file.
6099
6100 2004-08-31  Michael Koch  <konqueror@gmx.de>
6101
6102         * Makefile.am: Added javax/swing/text/Utilities.java.
6103         * Makefile.in: Regenerated.
6104
6105 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6106
6107         * javax/swing/text/SimpleAttributeSet.java: New file.
6108         * javax/swing/text/StyleConstants.java: New file.
6109         * javax/swing/text/StyleContext.java: New file.
6110         * javax/swing/text/TabSet.java: New file.
6111         * javax/swing/text/TabStop.java: New file.
6112         * javax/swing/text/AbstactDocument.java:
6113         (AbstractElement): Implement attribute support.
6114         * javax/swing/text/AttributeSet.java
6115         (NameAttribute): New static field.
6116         (ResolveAttribute): New static field.
6117         * Makefile.am: Update for new files.
6118         * Makefile.in: Regenerate.
6119
6120 2004-08-31  Craig Black  <craig.black@aonix.com>
6121
6122         * gnu/java/awt/peer/gtk/GdkGraphics.java 
6123         (drawImage): Add support for scaling pixmaps.
6124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6125         (copyAndScalePixmap): New native method.
6126  
6127 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6128
6129         PR AWT/16121
6130         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
6131         type-punning compiler warnings using unions.
6132         (throw): Replace bzero with memset.
6133
6134 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6135             Thomas Fitzsimmons  <fitzsim@redhat.com>
6136
6137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6138         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
6139         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6141         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6142
6143 2004-08-31  Mark Wielaard  <mark@klomp.org>
6144
6145         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6146         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6147         and stdlib.h, not gtkpeer.h.
6148         (*vm): New static variable.
6149         (areaPreparedID): Make static.
6150         (areaUpdatedID): Likewise.
6151         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6152         (area_prepared): Likewise.
6153         (area_updated): Likewise.
6154         (closed): Likewise.
6155         (initStaticState): Initialize *vm javaVM.
6156         (pumpBytes): Use given env, not global gdk_env.
6157
6158 2004-08-31  Mark Wielaard  <mark@klomp.org>
6159
6160         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6161         comments.
6162
6163 2004-08-31  Sven de Marothy  <sven@physto.se>
6164
6165         * java/awt/geom/CubicCurve2D.java: Reindent.
6166         (contains): Implemented.
6167         (intersects): Implemented.
6168         * java/awt/geom/QuadCurve2D.java: Likewise.
6169         * java/awt/geom/GeneralPath.java: Reindent and document.
6170         Fully (re)implemented using separate xpoints and ypoints
6171         float[] coords.
6172         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6173
6174 2004-08-31  Michael Koch  <konqueror@gmx.de>
6175
6176         * javax/swing/JMenuItem.java
6177         (getMenuDragMouseListeners): New method.
6178         (getMenuKeyListeners): Likewise.
6179
6180 2004-08-31  Michael Koch  <konqueror@gmx.de>
6181
6182         * javax/swing/AbstractButton.java
6183         (model): Made protected.
6184         (actionListener): Likewise.
6185         (changeListener): Likewise.
6186         (itemListener): Likewise.
6187         (multiClickThreshhold): New field.
6188         (getActionListeners): New method.
6189         (getChangeListeners): Likewise.
6190         (getItemListeners): Likewise.
6191         (fireItemStateChanged): Simplified implementation.
6192         (fireActionPerformed): Likewise.
6193         (fireStateChanged): Likewise.
6194         (getMultiClickThreshhold): New method.
6195         (setMultiClickThreshhold): Likewise.
6196
6197 2004-08-31  Tom Tromey  <tromey@redhat.com>
6198
6199         * java/awt/image/Kernel.java (clone): Use super.clone().
6200
6201 2004-08-31  David Jee  <djee@redhat.com>
6202
6203         PR AWT/16682
6204         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6205         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6206         (nativeSetIconImageFromData): New native method declaration.
6207         (setIconImage): Handle images not produced from GdkPixbufDecoder.
6208         * gnu/java/awt/peer/gtk/GtkImage.java
6209         (getPixelCache): New method.
6210         (getColorModel): New method.
6211         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6212         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6213         (free_pixbuf_data): New helper function.
6214         (nativeSetIconImageFromData): New function.
6215
6216 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6217
6218         PR SWING/16576
6219         * javax/swing/JLayeredPane.java 
6220         (setLayer): Permit changing layer after addition.
6221         (setPosition): Permit over-length positions.
6222         (layerToRange): Compare intValue()s.
6223         * javax/swing/Box.java (createHorizontalBox): Implement.
6224         (createRigidArea): Likewise.
6225         (createVerticalBox): Likewise.
6226
6227 2004-08-31  Kim Ho  <kho@redhat.com>
6228
6229         * java/awt/Component.java:
6230         (processMouseEvent): Consume event after
6231         listeners process it.
6232         (processMouseMotionEvent): ditto.
6233         (processMouseWheelEvent): ditto.
6234         * java/awt/Container.java:
6235         (acquireComponentForMouseEvent):
6236         Do not dispatch to events that have been
6237         removed from the Container.
6238         (handleEvent): Consume the MouseEvents.
6239         * javax/swing/RepaintManager.java:
6240         (paintDirtyRegions): Do not add to list of 
6241         damaged areas if the component has no root.
6242
6243 2004-08-31  Michael Koch  <konqueror@gmx.de>
6244
6245         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6246
6247 2004-08-31  Mark Wielaard  <mark@klomp.org>
6248
6249         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6250         null when a MissingResourceException is thrown. Should never happen.
6251
6252 2004-08-31  Mark Wielaard  <mark@klomp.org>
6253
6254         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6255         when argument is null.
6256
6257 2004-08-31  Mark Wielaard  <mark@klomp.org>
6258
6259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6260         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6261         Define hid at start of function.
6262         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6263         Likewise.
6264
6265 2004-08-31  Mark Wielaard  <mark@klomp.org>
6266
6267         * gnu/java/awt/EmbeddedWindow.java: Reindent.
6268         * javax/swing/JButton.java: Reindent.
6269         * javax/swing/JCheckBox.java: Reindent.
6270
6271 2004-08-31  Mark Wielaard  <mark@klomp.org>
6272
6273         * Makefile.am (gtk_c_source_files): Added
6274         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6275         (gtk_awt_peer_sources): Added
6276         gnu/java/awt/peer/gtk/GThreadMutex.java and
6277         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6278         * Makefile.in: Regenerated.
6279
6280 2004-08-31  Archie Cobbs  <archie@dellroad.org>
6281
6282         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6283
6284 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6285
6286         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
6287         Added jfieldID, jmethodID.
6288
6289 2004-08-31  Mark Wielaard  <mark@klomp.org>
6290
6291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6292         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6293         gdk_env before calling any gdk or gtk function.
6294
6295         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6296         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6297         (run): Set gtkInitCalled.
6298
6299 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6300
6301         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
6302         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6303
6304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6305         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6306         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
6307         init_glib_threads. 
6308         (init_glib_threads): New function.
6309
6310 2004-08-31  Mark Wielaard  <mark@klomp.org>
6311
6312         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6313         PRIORITY when not already defined in header file.
6314
6315 2004-08-31  Mark Wielaard  <mark@klomp.org>
6316
6317         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6318         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6319
6320 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6321
6322         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6323         Implemented missing functions for GTK2.
6324         Added error handling.
6325         Renamed static functions out of the g_ namespace.
6326         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
6327         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6328         Rewrote global-reference code.
6329         Eliminated cascading errors.
6330         (mutex_trylock_jni_impl) Fully implemented.
6331         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6332         resolution.
6333         (setup_cache) New function.
6334         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6335         bug where they were not unlocking the GMutex associated with the
6336         condition variable during the wait on that condition variable.
6337
6338         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6339         native/jni/gtk-peer/gthread-jni.c,
6340         native/jni/gtk-peer/gthread-jni.h
6341         (g_thread_jni_functions): Renamed to ...
6342         (portable_native_sync_jni_functions): this name.
6343         (gdk_vm): Renamed to...
6344         (the_vm): this name.
6345
6346         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6347         (gdk_vm): Removed duplicate definition.
6348         (gtkInit): Removed stray message to stdout.
6349         (gtkInit): Use g_malloc and g_free instead of malloc and free.
6350         (gtkInit): Fix a const assignment bug.
6351         (gtkInit): Simplified code.
6352
6353         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6354         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6355         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6356         gnu/java/awt/peer/gtk/GThreadMutex.java:
6357         New files.
6358
6359 2004-08-31  Mark Wielaard  <mark@klomp.org>
6360
6361         * javax/swing/Box.java: Put FIXME comment above class declaration.
6362         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6363         * javax/swing/JCheckBox.java: Likewise.
6364         * javax/swing/JDialog.java: Likewise.
6365         * javax/swing/JRadioButton.java: Likewise.
6366         * javax/swing/JToggleButton.java: Likewise.
6367         * javax/swing/UIManager.java: Likewise.
6368         * javax/swing/border/TitledBorder.java: Likewise.
6369         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6370         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6371         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6372         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6373         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6374         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6375         * javax/swing/text/JTextComponent.java: Likewise.
6376
6377 2004-08-31  David Jee  <djee@redhat.com>
6378
6379         PR AWT/16682
6380         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6381         (setIconImage): Add a FIXME for unhandled cases.
6382
6383 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6384
6385         PR AWT/16040
6386         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6387         getModifiers.  Replace old button masks with new ones.
6388         * gnu/awt/xlib/XEventLoop.java: Likewise.
6389         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6390         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6391         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6392         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6393         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6394         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6395         * java/awt/Component.java: Replace old modifier masks with new
6396         ones.
6397         * java/awt/Container.java: Call getModifiersEx, not
6398         getModifiers.
6399         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
6400         old modifier masks.
6401         * javax/swing/JMenuItem.java: Replace old button masks with new
6402         ones.
6403         * javax/swing/KeyStroke.java: Call getModifiersEx, not
6404         getModifiers.
6405         * javax/swing/SwingUtilities.java: Likewise.
6406         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6407         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6409         mask macros with new ones.
6410         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6411         macros with new ones representing new masks.
6412
6413 2004-08-31  Craig Black  <craig.black@aonix.com>
6414
6415         * gnu/java/awt/peer/gtk/GdkGraphics.java
6416         (drawRoundRect): Implemented.
6417         (fillRoundRect): Implemented.
6418         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6419         (drawRoundRect): Reimplemented to match GdkGraphics.
6420         (fillRoundRect): Reimplemented to match GdkGraphics.
6421
6422 2004-08-31  Mark Wielaard  <mark@klomp.org>
6423
6424         * Makefile.in: Regenerated.
6425
6426 2004-08-31  Michael Koch  <konqueror@gmx.de>
6427
6428         * gnu/java/awt/EmbeddedWindow.java
6429         (addNotify): Use AccessController to allow execution of privileged
6430         code.
6431
6432 2004-08-31  Michael Koch  <konqueror@gmx.de>
6433
6434         * gnu/java/awt/EmbeddedWindow.java
6435         (static): Removed.
6436         (addNotify): Set peer via reflection.
6437         (setWindowPeer): Removed.
6438         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6439         * Makefile.am (nat_source_files):
6440         Removed gnu/java/awt/natEmbeddedWindow.cc.
6441
6442 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6443
6444         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
6445         and gnu/java/security/action/SetAccessibleAction.java.
6446
6447 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6448
6449         * gnu/java/security/action/GetPropertyAction.java (setParameters):
6450         Renamed from 'setName'. New 2-argument form with default value.
6451         (run): Pass default 'value' parameter to System.getProperty().
6452         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6453         typos.
6454
6455 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6456
6457         * gnu/java/security/action/GetPropertyAction.java: New class.
6458         * gnu/java/security/action/SetAccessibleAction.java: New class.
6459
6460 2004-08-31  David Jee  <djee@redhat.com>
6461
6462         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6463         (setIconImage): Check if image is null.
6464
6465 2004-08-31  David Jee  <djee@redhat.com>
6466
6467         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6468         (create): Set the icon image.
6469         (nativeSetIconImage): New native method declaration.
6470         (setIconImage): Implement.
6471         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6472         (nativeSetIconImage): New function.
6473
6474 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6475
6476         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6477         (filenameFilterCallback): Declare local variable accepted before use.
6478
6479 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6480
6481         * gnu/java/awt/ComponentDataBlitOp.java:
6482         Cleaned up imports.
6483
6484 2004-08-31  Tom Tromey  <tromey@redhat.com>
6485
6486         * gnu/java/awt/peer/GLightweightPeer.java,
6487         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6488         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6489         javax/swing/JScrollPane.java: Removed
6490         redundant imports.
6491
6492 2004-08-31  David Jee  <djee@redhat.com>
6493
6494         * java/awt/DefaultKeyboardFocusManager.java
6495         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6496         event.  Fix shift modifier checking.
6497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6498         (accel_attach): Remove.
6499         (setupAccelGroup): Remove calls to accel_attach.
6500
6501 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6502
6503         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6504         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6505
6506         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6507         GtkArgList.java.
6508         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6509         * Makefile.in: Regenerate.
6510         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6511         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6512         (create(String)): New method.
6513         (create): Call new create method.
6514         (getArgs): Remove method.
6515         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6516         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
6517         (nativeCreate): Rename to create.
6518         (gtkSetLabel): Rename to gtkButtonSetLabel.
6519         (gtkToggleButtonSetActive): New method.
6520         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6521         (setState): Replace set call with gtkToggleButtonSetActive.
6522         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6523         (getArgs): Remove method.
6524         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6525         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6526         (gtkWidgetSetSensitive): New method.
6527         (gtkWidgetSetParent): Likewise.
6528         (GtkComponentPeer): Call setParent, setComponentBounds and
6529         setVisibleAndEnabled.
6530         (setParent): New method.
6531         (setComponentBounds): New method.
6532         (setVisibleAndEnabled): New method.
6533         (setEnabled): Call gtkWidgetSetSensitive.
6534         (getArgs): Remove method.
6535         Remove all set methods.
6536         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6537         gtkWindowSetModal, setTitle and setResizable.
6538         (getArgs): Remove method.
6539         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6540         (setComponentBounds): New method.
6541         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6542         Replace set call with gtkWindowSetResizable.
6543         (getArgs): Remove method.
6544         (create): Call setTitle and setResizable.
6545         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6546         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6547         (gtkWindowSetTitle): New method.
6548         (gtkWindowSetResizable): New method.
6549         (gtkWindowSetModal): New method.
6550         (setParent): New method.
6551         (setVisibleAndEnabled): New method.
6552         (getArgs): Remove method.
6553         (setTitle): Call gtkWindowSetTitle.
6554         (setResizable): Call gtkWindowSetResizable.
6555         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6556         and off locking instrumentation.
6557
6558 2004-08-31  Kim Ho  <kho@redhat.com>
6559
6560         * Makefile.am: Add new file.
6561         * Makefile.in: Regenerate.
6562         * gcj/Makefile.in: Regenerate
6563         * include/Makefile.in:
6564         * java/awt/Container.java:
6565         (acquireComponentForMouseEvent): Respect 
6566         the event mask when looking for candidate.
6567         * javax/swing/JComponent.java:
6568         Remove toolTip field.
6569         (createToolTip): Create a tooltip on demand.
6570         (setToolTipText): Register with the ToolTipManager.
6571         (getToolTipText(MouseEvent)): Return getToolTipText().
6572         * javax/swing/JToolTip.java: Implement.
6573         * javax/swing/Timer.java: Jalopy.
6574         (restart): Call stop, then start.
6575         (stop): Interrupt the timer rather than wait for
6576         the timer to come to a stop naturally.
6577         * javax/swing/ToolTipManager.java: Implement.
6578         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6579         Change ToolTip.background color.
6580         * javax/swing/plaf/basic/BasicToolTipUI.java:
6581         Implement.
6582         * testsuite/Makefile.in: Regenerate
6583
6584 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
6585
6586         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6587         constructor param comments.
6588
6589 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6590
6591         * java/awt/Component.java: Document AWT 1.0 event handler
6592         methods.
6593
6594 2004-08-31  Roman Kennke  <roman@ontographics.com>
6595
6596         * javax/swing/Box.java:
6597         (createGlue): Implemented
6598         (createHorizontalGlue): Implemented
6599         (createHorizontalStrut): Implemented
6600         (createVerticalGlue): Implemented
6601         (createVerticalStrut): Implemented
6602
6603 2004-08-31  David Jee  <djee@redhat.com>
6604
6605         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6606         (GtkChoicePeer): Do not automatically select first item.
6607         (getHistory): Remove.
6608         (nativeGetSelected): New method.
6609         (nativeRemoveAll): New method.
6610         (add): Use nativeGetSelected() instead of getHistory().
6611         (remove): Likewise.
6612         (removeAll): Call nativeRemoveAll().
6613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6614         (create): Migrate to GtkComboBox.
6615         (append): Likewise.
6616         (nativeAdd): Likewise.
6617         (nativeRemove): Likewise.
6618         (select): Likewise.
6619         (nativeRemoveAll): New method.
6620         (nativeGetSelected): New method.
6621         (selection_changed): New method.
6622         (getHistory): Remove.
6623         (item_activate): Remove.
6624         (item_removed): Remove.
6625         (connect_choice_item_selectable_hook): Remove.
6626
6627 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6628
6629         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6630         variable in setEditable call.
6631
6632         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6633         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6634         (gtkWidgetSetBackground): New method.
6635         (gtkWidgetSetForeground): Likewise.
6636         (create): Set peer's editable state based on awtComponent's.
6637
6638         * java/awt/Button.java (Button()): Use empty string rather than
6639         null in no-label constructor.
6640
6641 2004-08-31  Roman Kennke  <roman@ontographics.com>
6642
6643         * javax/swing/BoxLayout.java: Reimplement.
6644
6645 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6646
6647         * gnu/java/awt/peer/gtk/GdkGraphics.java,
6648         gnu_java_awt_peer_gtk_GdkGraphics.c
6649         (initState(GtkComponentPeer)): Don't return array of colour
6650         values.
6651         (GdkGraphics(int,int)): Set default font to size 12.
6652         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6653         component's foreground colour.
6654         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6655         gnu_java_awt_peer_gtk_GdkGraphics2D.c
6656         (initState(GtkComponentPeer)): Don't return array of colour
6657         values.
6658         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6659         colours to component's colours.
6660         (current_colors_of_widget): Remove function.
6661         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6662         Return a new graphics object.
6663         * java/awt/Font.java (toString): Fix format.
6664         * java/awt/Graphics.java (toString): Likewise.
6665
6666 2004-08-31  Craig Black  <craig.black@aonix.com>
6667
6668         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6669         (addTearOff): New function.
6670         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6671         New native method.
6672         (init): Call addTearOff() when menu.isTearOff().
6673
6674 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6675
6676         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6677         Default implementation.
6678         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6679         Implement using GdkPixbufDecoder.
6680
6681 2004-08-31  David Jee  <djee@redhat.com>
6682
6683         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6684         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6685         setting the size of GtkFileDialogPeers.
6686         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6687         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6688         use their default sizes rather than their natural requisitions.
6689
6690 2004-08-31  Michael Koch  <konqueror@gmx.de>
6691
6692         * javax/swing/JFormattedTextField.java
6693         (JFormattedTextField): Implemented.
6694         * javax/swing/text/DefaultEditorKit.java
6695         (BeepAction): New inner class.
6696         * javax/swing/text/Segment.java
6697         (partialReturn): New field.
6698         (setPartialReturn): New method.
6699         (isPartialReturn): Likewise.
6700         * javax/swing/text/View.java
6701         (createFragment): Fixed typo.
6702         (getStartOffset): New method.
6703         (getEndOffset): Likewise.
6704
6705 2004-08-31  Michael Koch  <konqueror@gmx.de>
6706
6707         * javax/swing/table/DefaultTableColumnModel.java
6708         (serialVersionUID): Made private.
6709         (listenerList): Initialize.
6710         (changeEvent): Initialize.
6711         * javax/swing/table/JTableHeader.java
6712         (JTableHeader): New constructors.
6713         (createDefaultColumnModel): New method.
6714         * javax/swing/table/TableColumn.java
6715         (setHeaderRenderer): Simplified code.
6716         (setCellRenderer): Likewise.
6717         (setWidth): Likewise.
6718
6719 2004-08-31  Tom Tromey  <tromey@redhat.com>
6720
6721         * java/text/AttributedString.java (AttributedString): Use
6722         ArrayList to build array of attribute ranges.  Don't use
6723         `attribs' before it is set.
6724
6725 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6726
6727         * HACKING: Remove reference to special automake. No longer needed.
6728
6729 2004-08-30  Tom Tromey  <tromey@redhat.com>
6730
6731         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
6732         return result from `add'.
6733
6734 2004-08-30  Tom Tromey  <tromey@redhat.com>
6735
6736         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
6737
6738 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6739
6740         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
6741
6742 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
6743
6744         * java/io/File.java File(String,String): Fixed handling of empty
6745         path.
6746
6747 2004-08-30  Casey Marshall  <csm@gnu.org>
6748
6749         Author e-mail updated for all files.
6750         * gnu/java/security/OID.java (equals): Test if the aurgment is an
6751         instance of OID.
6752         (compareTo): Use `equals'.
6753         * gnu/java/security/der/BitString.java (equals): Test if the
6754         argument is an instance of BitString.
6755         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
6756         class final. Made fields private.
6757         (<init>): New constructor.
6758         (skip): New method.
6759         (makeString): Made static; don't use NIO.
6760         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
6761         * gnu/java/security/der/DERWriter.java: Fixed imports.
6762         (writeString): Don't use NIO.
6763         (toIso88591, toUtf16Be, toUtf8): New methods.
6764         * gnu/java/security/der/DERValue.java: Formatting changes only.
6765         * gnu/java/security/der/DER.java: Likewise.
6766
6767 2004-08-30  Tom Tromey  <tromey@redhat.com>
6768
6769         * java/nio/CharBuffer.java (put): Fix typo.
6770         * java/nio/DoubleBuffer.java (put): Fix typo.
6771         * java/nio/FloatBuffer.java (put): Fix typo.
6772         * java/nio/IntBuffer.java (put): Fix typo.
6773         * java/nio/LongBuffer.java (put): Fix typo.
6774         * java/nio/ShortBuffer.java (put): Fix typo.
6775
6776 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
6777
6778         * java/nio/ByteBuffer.java (put): Fix typo.
6779
6780 2004-08-30  Casey Marshall  <csm@gnu.org>
6781
6782         * java/security/DummyKeyPairGenerator.java (clone): Removed
6783         useless instanceof check.
6784         * java/security/DummyMessageDigest.java (clone): Likewise.
6785         * java/security/DummySignature.java (clone): Likewise.
6786         * java/security/MessageDigest.java (clone): Remove useless
6787         instanceof check.
6788         * java/security/MessageDigestSpi.java (clone): Likewise.
6789         * java/security/Signature.java (clone): Provide meaningful
6790         implementation.
6791         * java/security/SignatureSpi.java (clone): Likewise.
6792
6793 2004-08-29  Mark Wielaard  <mark@klomp.org>
6794
6795         * java/util/Arrays.java
6796         (sort(byte[], int, int)): Check fromIndex < 0.
6797         (sort(char[], int, int)): Likewise.
6798         (sort(short[], int, int)): Likewise.
6799         (sort(int[], int, int)): Likewise.
6800         (sort(long[], int, int)): Likewise.
6801         (sort(float[], int, int)): Likewise.
6802         (sort(double[], int, int)): Likewise.
6803         (sort(Object[], int, int, Comparator)): Likewise.
6804         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
6805         (qsort(char[], int, int)): Likewise.
6806         (qsort(short[], int, int)): Likewise.
6807         (qsort(int[], int, int)): Likewise.
6808         (qsort(long[], int, int)): Likewise.
6809         (qsort(float[], int, int)): Likewise.
6810         (qsort(double[], int, int)): Likewise.
6811
6812 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6813
6814         * java/util/AbstractCollection.java, java/util/AbstractList.java,
6815         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
6816         java/util/ArrayList.java, java/util/Arrays.java,
6817         java/util/BitSet.java, java/util/Calendar.java,
6818         java/util/Collection.java, java/util/ListIterator.java,
6819         java/util/Map.java, java/util/SortedSet.java:
6820         Added additional exceptions to documentation, along
6821         with some additions and corrections.
6822
6823 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
6824
6825         * configure.ac: Handle --enable-gc-debug.
6826         * configure: Regenerate.
6827         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
6828         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
6829         Rearrange include file order.
6830         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
6831         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
6832         (disable_gc_mutex): Delete along with all references.
6833         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
6834         adjust for debug header size.
6835         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
6836         debug case.
6837         (_Jv_AllocArray): Declare min_heap_addr only if needed.
6838         (gcj_describe_type_fn): New.
6839         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
6840         Register gcj_describe_type_fn.
6841         * include/boehm-gc.h:
6842         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
6843         Don't define, but declare, for debug case.
6844         * java/lang/natObject.cc:
6845         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
6846
6847 2004-08-26  Mark Wielaard  <mark@klomp.org>
6848
6849         Fixes PR libgcj/17002:
6850         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
6851         a TimeZoneId string and then try to convert that to a TimeZone with
6852         getDefaultSystemTimeZone(String).
6853         (timezones0): Changed type from Hashtable to HashMap.
6854         (timezones): Create HashMap, not Hashtable.
6855         (getDefaultTimeZone): New method, rewritten from CNI version.
6856         (readTimeZoneFile): New method.
6857         (readtzFile): Likewise.
6858         (skipFully): Likewise.
6859         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
6860         getDefaultTimeZoneId and rewritten.
6861         (getDefaultTimeZoneId): Rewritten in java.
6862         
6863 2004-08-25  David Daney  <daney@avtrex.com>
6864
6865         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
6866         * Makefile.in: Regenerated.
6867
6868 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
6869
6870         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
6871         only if jvmpi is enabled.
6872         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
6873         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
6874         (_Jv_AllocString): Likewise.
6875         (_Jv_AllocPtrFreeObject): Likewise.     
6876
6877 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
6878
6879         * defineclass.cc: Include <stdio.h>.
6880         * java/lang/natClassLoader.cc: Include <stdio.h>.
6881
6882 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
6883             Michael Koch  <konqueror@gmx.de>
6884
6885         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
6886         * Makefile.in: Regenerated.
6887
6888 2004-08-20  Michael Koch  <konqueror@gmx.de>
6889
6890         * configure.ac: Replaced all AC_TRY_COMPILE macros with
6891         AC_COMPILE_IFELSE macros.
6892
6893 2004-08-20  Michael Koch  <konqueror@gmx.de>
6894
6895         * configure.in: Renamed to configure.ac.
6896         * configure.ac: New file.
6897         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
6898         include/config.h.in, testsuite/Makefile.in: Regenerated.
6899
6900 2004-08-20  Michael Koch  <konqueror@gmx.de>
6901
6902         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
6903         * aclocal.m4, configure: Regenerated.
6904
6905 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
6906             Michael Koch  <konqueror@gmx.de>
6907
6908         * configure.in, Makefile.am: Ported to automake 1.9.
6909         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
6910         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
6911         Regenerated.
6912
6913 2004-08-19  Tom Tromey  <tromey@redhat.com>
6914
6915         * java/net/DatagramSocket.java: Fixed typo.
6916
6917 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
6918
6919         PR libgcj/17081
6920         * java/net/URI.java (string): New field. Make all other fields
6921         transient.
6922         (readObject): Implemented.
6923         (writeObject): Implemented.
6924         (URI): Set 'string'.
6925
6926 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
6927
6928         PR libgcj/17079
6929         * java/util/logging/Handler.java (isLoggable): Accept record if its
6930         log level equals the threshold level. From Robin Green.
6931
6932 2004-08-18  David Daney  <ddaney@avtrex.com>
6933
6934         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
6935         instead of sigwait.
6936
6937 2004-08-17  Michael Koch  <konqueror@gmx.de>
6938
6939         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
6940         * Makefile.in: Regenerated.
6941
6942 2004-08-16  Tom Tromey  <tromey@redhat.com>
6943
6944         PR java/8473:
6945         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
6946
6947 2004-08-16  Michael Koch  <konqueror@gmx.de>
6948
6949         * Makefile.am
6950         (math_c_files): Renamed from c_files.
6951         (math_c_source_files): Renamed from c_source_files.
6952         * Makefile.in,
6953         gcj/Makefile.in,
6954         include/Makefile.in,
6955         testsuite/Makefile.in: Regenerated.
6956
6957 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
6958
6959         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
6960         to avoid autoconf warning.
6961         * configure: Rebuilt.
6962
6963 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
6964
6965         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
6966         localhostAddress to loopbackAddress.
6967         * java/net/natInetAddressWin32.cc (lookup): Likewise.
6968
6969 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
6970
6971         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
6972         boehm-gc's include dirs.
6973         * configure: Rebuilt.
6974         * include/boehm-gc.h: Include gc_config.h.
6975
6976 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
6977
6978         * java/net/InetAddress.java (loopbackAddress): Renamed from 
6979         localhostAddress.
6980         (getByName): Return loopback address for null hostname, without
6981         security check. Use lookup(), not getAllByName.
6982         (getAllByName): Return loopback address for null hostname, without
6983         security check.
6984         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
6985         check here.
6986
6987 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
6988
6989         PR libgcj/17020
6990         Reported by Robin Green.
6991         * defineclass.cc (handleField): Don't throw exception on unrecognised
6992         modifier. Add FIXME comments for spec compliance.
6993         (handleMethod): Likewise.
6994
6995 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
6996
6997         PR libgcj/16662
6998         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
6999         (Almost everywhere): add LOG calls, fix, add comments.
7000         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7001         Add explicit check for LOCKED bit in slow case (PR 16662).
7002         (_Jv_MonitorExit): Add casts in debug-only code.
7003         Always release LOCKED bit before throwing exception.
7004         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7005         isn't.  Handle easy cases without lock acquisition.
7006         (Object::wait): Use NotifyAll for lock inflation.
7007
7008 2004-08-12  David Daney  <ddaney@avtrex.com>
7009
7010         * testsuite/libjava.lang/Process_1.java: New test.
7011         * testsuite/libjava.lang/Process_2.java: New test.
7012         * testsuite/libjava.lang/Process_3.java: New test.
7013         * testsuite/libjava.lang/Process_4.java: New test.
7014         * testsuite/libjava.lang/Process_5.java: New test.
7015         * testsuite/libjava.lang/Process_6.java: New test.
7016         * testsuite/libjava.lang/Process_1.out: Expected result.
7017         * testsuite/libjava.lang/Process_2.out: Expected result.
7018         * testsuite/libjava.lang/Process_3.out: Expected result.
7019         * testsuite/libjava.lang/Process_4.out: Expected result.
7020         * testsuite/libjava.lang/Process_5.out: Expected result.
7021         * testsuite/libjava.lang/Process_6.out: Expected result.
7022
7023 2004-08-12  David Daney  <ddaney@avtrex.com>
7024
7025         PR libgcj/11801
7026         * java/lang/PosixProcess.java: Rewrote.
7027         * java/lang/natPosixProcess.cc: Rewrote.
7028         * java/lang/Runtime.java (execInternal): Declare throws IOException.
7029         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7030         * posix-threads.cc (block_sigchld) New function.
7031         (_Jv_ThreadRegister) Use it.
7032         (_Jv_ThreadStart) Use it.
7033         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7034         * Makefile.am: ... to specify extra native headers.
7035         * configure: Regenerated.
7036         * include/config.h: Regenerated.
7037         * Makefile.in: Regenerated.
7038         * gcj/Makefile.in: Regenerated.
7039         * include/Makefile.in: Regenerated.
7040         * testsuite/Makefile.in: Regenerated.
7041
7042 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
7043
7044         PR tree-optimization/16867
7045         * testsuite/libjava.lang/PR16867.java: New test.
7046
7047 2004-08-09  Per Bothner  <per@bothner.com>
7048
7049         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7050         with private fields and access methods.
7051         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7052         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7053         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7054         ( _Jv_makeUtf8Const): Rewrite using new constructors.
7055         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7056         * defineclass.cc: Use new _Utf8Const access/convenience methods.
7057         * jni.cc: Likewise.
7058         * resolve.cc: Likewise.
7059         * gcj/field.h: Likewise.
7060         * include/jvm.h: Likewise.
7061         * java/lang/Class.h: Likewise.
7062         * java/lang/natClass.cc: Likwise.
7063         * java/lang/natClassLoader.cc: Likewise
7064         * java/lang/reflect/natMethod.cc: Likewise
7065         * verify.cc: Likewise.
7066         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
7067         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
7068
7069 2004-08-10  Andrew Haley  <aph@redhat.com>
7070
7071         * testsuite/libjava.lang/err14.java: New file.
7072         * testsuite/libjava.lang/err14.out: New file.
7073
7074 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
7075
7076         * Makefile.am: Fix missing rename from x_nat_headers to 
7077         xlib_nat_headers.
7078         * Makefile.in: Regenerated.
7079
7080 2004-08-04  Andrew Haley  <aph@redhat.com>
7081
7082         * java/security/BasicPermission.java: Don't check wildcards.
7083
7084 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
7085             Michael Koch  <konqueror@gmx.de>
7086
7087         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7088         * configure.in: Replaced all usages of AC_LINK_FILES by
7089         AC_CONFIG_LINKS.
7090         * aclocal.m4,
7091         configure: Regenerated.
7092
7093 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
7094             Michael Koch  <konqueror@gmx.de>
7095
7096         * acconfig.h: Removed.
7097         * Makefile.am: Rename variables for xlib peer to include xlib and
7098         gtk_c_headers to gtk_jni_headers.
7099         * Makefile.in: Regenerated.
7100
7101 2004-08-04  Andrew Haley  <aph@redhat.com>
7102
7103         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7104         debugging.
7105
7106 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
7107
7108         * configure.in: Eliminate uses of changequote (mostly by quoting []).
7109         Replace most top level 'dnl' comments with '#' comments, conforming
7110         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
7111         help strings.
7112         * configure: Rebuilt.
7113
7114 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
7115
7116         * acinclude.m4: Include no-executables.m4.
7117         * aclocal.m4: Rebuild.
7118         * configure.in: Convert to the autoconf 2.59 version of
7119         of the no-executables hack, and also of the nonstandard CXX
7120         hack and the multilibbed CC and CXX hack.  Change prerequisite
7121         to autoconf 2.59.
7122         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
7123         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7124         testsuite/Makefile.in: Regenerate.
7125
7126 2004-08-03  Tom Tromey  <tromey@redhat.com>
7127
7128         * jni.cc: Reindented.
7129
7130 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7131
7132         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7133
7134 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7135
7136         * testsuite/libjava.compile/PR16701.java: New test.
7137
7138 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7139
7140         * java/util/Collection.java, java/util/List.java,
7141         java/util/Map.java, java/util/Set.java,
7142         java/util/SortedMap.java, java/util/SortedSet.java:
7143         Added additional exceptions to documentation.
7144
7145 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
7146
7147         PR libgcj/16814
7148         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7149         * configure. Regenerate.
7150         * include/win32.h: Explicitly include winsock2.h
7151         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7152         Winsock api.
7153
7154 2004-07-30  Michael Koch  <konqueror@gmx.de>
7155
7156         * java/util/zip/GZIPInputStream.java
7157         (GZIPInputStream): Increase buffer size to 4k.
7158         * java/util/zip/GZIPOutputStream.java
7159         (GZIPOutputStream): Likewise.
7160         * java/util/zip/Inflater.java
7161         (setInput): Merged formating with GNU classpath.
7162         * java/util/zip/InflaterInputStream.java
7163         (InflaterInputStream): Increase buffer size to 4k.
7164         (fill): Throw exception if stream ends early.
7165         (read): Merged endless-loop with GNU classpath.
7166         (skip): Increase buffer size to 2k.
7167
7168 2004-07-30  Michael Koch  <konqueror@gmx.de>
7169
7170         * gnu/java/awt/EmbeddedWindow.java
7171         (addNotify): Use AccessController to allow execution of privileged
7172         code.
7173
7174 2004-07-29  Michael Koch  <konqueror@gmx.de>
7175
7176         * gnu/java/lang/MainThread.java:
7177         Explicitely import used classes.
7178         (args): Make it type String[].
7179
7180 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7181
7182         * gnu/java/awt/ComponentDataBlitOp.java,
7183         gnu/java/beans/ExplicitBeanInfo.java,
7184         gnu/java/beans/IntrospectionIncubator.java,
7185         gnu/java/beans/editors/ColorEditor.java,
7186         gnu/java/beans/editors/FontEditor.java,
7187         gnu/java/beans/editors/NativeBooleanEditor.java,
7188         gnu/java/beans/editors/NativeByteEditor.java,
7189         gnu/java/beans/editors/NativeDoubleEditor.java,
7190         gnu/java/beans/editors/NativeFloatEditor.java,
7191         gnu/java/beans/editors/NativeIntEditor.java,
7192         gnu/java/beans/editors/NativeLongEditor.java,
7193         gnu/java/beans/editors/NativeShortEditor.java,
7194         gnu/java/beans/editors/StringEditor.java,
7195         gnu/java/io/ClassLoaderObjectInputStream.java,
7196         gnu/java/io/decode/Decoder.java,
7197         gnu/java/io/encode/Encoder.java,
7198         gnu/java/lang/ClassHelper.java,
7199         gnu/java/locale/Calendar.java,
7200         gnu/java/locale/Calendar_de.java,
7201         gnu/java/locale/Calendar_en.java,
7202         gnu/java/locale/Calendar_nl.java,
7203         gnu/java/locale/LocaleInformation_de.java,
7204         gnu/java/locale/LocaleInformation_en.java,
7205         gnu/java/locale/LocaleInformation_nl.java:
7206         Cleaned up imports.
7207
7208 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7209
7210         * README: Remove obsolete info. Update bug URL.
7211         * THANKS: Updated.
7212         * NEWS: Updated with news up to GCC 3.4 release.
7213
7214 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7215
7216         * gnu/java/security/action/GetPropertyAction.java (setParameters):
7217         Renamed from 'setName'. New 2-argument form with default value.
7218         (run): Pass default 'value' parameter to System.getProperty().
7219         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7220         typos.
7221         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7222         not 'setName'.
7223
7224 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7225
7226         * configure.in: Check for minimum GTK version 2.4 requirement.
7227         * configure: Rebuilt.
7228
7229 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7230
7231         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7232         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7233         Reduce sleep time.
7234         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7235         compiler bug.
7236         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
7237         address. Reduce sleep times. Synchronize with target threads before
7238         attempting to interrupt them. Don't try to calibrate yeild count,
7239         instead, always loop for a fixed time.
7240         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7241         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7242         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7243         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7244         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7245         * testsuite/libjava.lang/pr179.java: Likewise.
7246         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7247         time. Remove upper bounds check on sleep time. 
7248
7249 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7250
7251         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7252         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
7253
7254 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7255
7256         * java/io/File.java (toURI): Throw RuntimeException, not 
7257         InternalError.
7258         * java/lang/Runtime.java (exit): Qualify static sleep() call with
7259         class name, not instance.
7260
7261 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
7262
7263         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7264         and gnu/java/security/action/SetAccessibleAction.java.
7265         * Makefile.in: Rebuilt.
7266
7267 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7268
7269         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7270         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7271         _Jv_InitPrimClass.
7272         (DECLARE_PRIM_TYPE): Don't declare array vtables.
7273         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7274         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7275
7276 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7277
7278         * Makefile.am: Replace jar, rmic and rmiregistry references with
7279         gjar, grmic and grmiregistry.
7280         * configure.in: Likewise.
7281         * Makefile.in: Regenerate.
7282         * configure: Likewise.
7283         * gcj/Makefile.in: Likewise.
7284         * include/Makefile.in: Likewise.
7285         * testsuite/Makefile.in: Likewise.
7286
7287 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7288
7289         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7290         for privileged getProperty calls.
7291         * java/io/ObjectOutputStream.java (getField): No longer static. Use
7292         SetAccessibleAction instead of anonymous class for doPrivileged call.
7293         (getMethod): Likewise.
7294         (setAccessible): New field. PrivilegedAction object to use when
7295         calling setAccessible.
7296         * java/io/ObjectStreamClass.java (calculateOffsets): Use
7297         SetAccessibleAction instead of anonymous class for diPrivileged call.
7298         (setFields): Likewise.
7299         (getClassUID): Likewise.
7300         (findMethod): Likewise.
7301         * gnu/java/security/action/GetPropertyAction.java: New class.
7302         * gnu/java/security/action/SetAccessibleAction.java: New class. 
7303
7304 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7305
7306         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7307         for final fields.
7308         * testsuite/libjava.lang/Serialization.java: New test.
7309         * testsuite/libjava.lang/Serialization.out: New.
7310
7311 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7312
7313         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7314         missed in last commit.
7315
7316 2004-07-23  Mark Wielaard  <mark@klomp.org>
7317
7318         * java/lang/System.java (static): Set http.agent system property when
7319         not yet set.
7320         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7321         from system property inside AccessController.doPrivileged() call.
7322         (proxyPort): Made package private.
7323         (proxyInUse): Likewise.
7324         (proxyHost): Likewise.
7325         (userAgent): Likewise.
7326
7327 2004-07-23  Mark Wielaard  <mark@klomp.org>
7328
7329         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7330         implementation.
7331
7332 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
7333
7334         * Makefile.am (ordinary_java_source_files): Add
7335         DefaultContentHandlerFactory.java.
7336         * Makefile.in: Rebuilt.
7337         * java/net/URLConnection.java (defaultFactory): New field.
7338         (getContent): 
7339         (getContentHandler): Renamed from 'setContentHandler'. Try 
7340         defaultFactory after user-set factory, if any. Search for content 
7341         handler implementations in gnu.java.net.content, not gnu.gcj.content.
7342         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7343         Implemented.
7344         (getLastModified): Implemented.
7345         (getPermission): Create file permission here, instead of in
7346         constructor.
7347         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7348         Implemented.
7349         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7350         Implemented.
7351         (getLastModified): Implemented.
7352         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7353         Default implementation.
7354         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7355         Implement using GdkPixbufDecoder.
7356         
7357 2004-07-21  Michael Koch  <konqueror@gmx.de>
7358
7359         * javax/swing/JTextArea.java
7360         (setLineWrap): Fire property change event after new value is set.
7361         (setTabSize): Likewise.
7362
7363 2004-07-21  Michael Koch  <konqueror@gmx.de>
7364
7365         * javax/swing/JTable.java
7366         (autoCreateColumnsFromModel): New field.
7367         (autoResizeMode): Likewise.
7368         (cellEditor): Likewise.
7369         (cellSelectionEnabled): Likewise.
7370         (columnModel): Likewise.
7371         (dataModel): Likewise.
7372         (defaultEditorsByColumnClass): Likewise.
7373         (defaultRenderersByColumnClass): Likewise.
7374         (editingColumn): Likewise.
7375         (editingRow): Likewise.
7376         (gridColor): Likewise.
7377         (preferredViewportSize): Likewise.
7378         (rowHeight): Likewise.
7379         (rowMargin): Likewise.
7380         (rowSelectionAllowed): Likewise.
7381         (selectionBackground): Likewise.
7382         (selectionForeground): Likewise.
7383         (selectionModel): Likewise.
7384         (showHorizontalLines): Likewise.
7385         (showVerticalLines): Likewise.
7386         (tableHeader): Likewise.
7387         (JTable): Implemented.
7388         (getColumnModel): Likewise.
7389         (getSelectedRow): Likewise.
7390         (getSelectionModel): Likewise.
7391         (setModel): Likewise.
7392         (setSelectionModel): Likewise.
7393         (createScrollPaneForTable): New method.
7394         (createDefaultDataModel): Likewise.
7395         (createDefaultListSelectionModel): Likewise.
7396         (getModel): Likewise.
7397         (getTableHeader): Likewise.
7398         (setTableHeader): Likewise.
7399         (getColumnSelectionAllowed): Likewise.
7400         (setColumnSelectionAllowed): Likewise.
7401         (getRowSelectionAllowed): Likewise.
7402         (setRowSelectionAllowed): Likewise.
7403         (getAutoResizeMode): Likewise.
7404         (setAutoResizeMode): Likewise.
7405         (getColumnCount): Likewise.
7406         (getRowCount): Likewise.
7407         (getCellRenderer): Likewise.
7408         * javax/swing/JTree.java
7409         (cellRenderer): New field.
7410         (editable): Likewise.
7411         (rootVisible): Likewise.
7412         (showsRootHandles): Likewise.
7413         (getModel): New method.
7414         (setModel): Likewise.
7415         (isEditable): Likewise.
7416         (setEditable): Likewise.
7417         (isRootVisbile): Likewise.
7418         (setRootVisible): Likewise.
7419         (getShowsRootHandles): Likewise.
7420         (setShowRootHandles): Likewise.
7421         (getCellRenderer): Likewise.
7422         (setCellRenderer): Likewise.
7423
7424 2004-07-21  Michael Koch  <konqueror@gmx.de>
7425
7426         * javax/swing/JFormattedTextField.java
7427         (setDocument): Implemented.
7428         * javax/swing/JRootPane.java:
7429         Fixed javadocs.
7430         * javax/swing/JTable.java
7431         (getDefaultRenderer): New method.
7432         * javax/swing/JTextField.java
7433         (setFont): Likewise.
7434         (getPreferredSize): Likewise.
7435         * javax/swing/JToggleButton.java
7436         (getAccessibleContext): Fix javadoc.
7437         * javax/swing/JTree.java:
7438         Add some javadocs.
7439         * javax/swing/JViewport.java:
7440         Likewise.
7441
7442 2004-07-21  David Jee  <djee@redhat.com>
7443
7444         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7445         Collect all native method declaration at the top.
7446         (create): Set the filename filter if necessary.
7447         (setDirectory): Call nativeSetDirectory().
7448         (setFilenameFilter): Implement.
7449         (filenameFilterCallback): New method.
7450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7451         (create): Configure dialog to show hidden files.
7452         (filenameFilterCallback): New function. 
7453         (nativeSetFilenameFilter): New function.
7454         (nativeSetDirectory): New function.
7455
7456 2004-07-21  Kim Ho  <kho@redhat.com>
7457
7458         * javax/swing/plaf/basic/BasicSliderUI.java:
7459         Ran Jalopy.
7460         (paintTrack): Fill the track before painting
7461         the borders.
7462
7463 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7464
7465         patch from Roman Kennke <roman@ontographics.com>
7466         * javax/swing/Spring.java: New file.
7467         * javax/swing/SpringLayout.java: New file.
7468         * Makefile.am: Add new files.
7469         * Makefile.in: Regenerate.
7470
7471 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7472
7473         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7474         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7475         * javax/swing/ScrollPaneLayout.java: Likewise.
7476
7477 2004-07-21  Kim Ho  <kho@redhat.com>
7478
7479         * javax/swing/DefaultDesktopManager.java:
7480         (findMinimum): Removed.
7481         (resizeFrame): Trust the UI to pass valid 
7482         bounds.
7483         * javax/swing/JOptionPane.java:
7484         Implemented showInternalXXXDialog methods.
7485         (startModal): New method.
7486         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7487         (BorderListener::mouseDragged): Verify that the new 
7488         bounds are valid before passing them to the DesktopManager.
7489         (preferredLayoutSize): Delegate
7490         to getSize.
7491         (minimumLayoutSize): Ditto.
7492         (getSize): New method.
7493         (GlassPaneDispatcher): Reimplemented by copying 
7494         a stripped down LightweightDispatcher from Container.
7495         (getMinimumSize): Call minimumLayoutSize.
7496         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7497         Ran Jalopy.
7498         (mousePressed): Add ability to properly close 
7499         JInternalFrames.
7500         * javax/swing/plaf/basic/BasicToolBarUI.java:
7501         (DragWindow): Set owner for DragWindow.
7502
7503 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7504
7505         * java/awt/image/ShortLookupTable.java: New file.
7506         * java/awt/image/ByteLookupTable.java: New file.
7507         * Makefile.am: Added new files.
7508         * Makefile.in: Regenerated.
7509
7510 2004-07-21  David Jee  <djee@redhat.com>
7511
7512         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7513         (create(GtkContainerPeer)): New native method.
7514         (create()): Call native create(), passing in the parent frame
7515         as the paramter. Natively set the current file and directory.
7516         (setFile): Construct an absolute filename before passing it to
7517         the native peer.
7518         (nativeGetDirectory): New method.
7519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7520         (window_closed): Removed.
7521         (ok_clicked): Likewise.
7522         (cancel_clicked): Likewise.
7523         (handle_response): New method.
7524         (create): Use GtkFileChooserDialog.
7525         (connectSignals): Connect to handle_response.
7526         (nativeGetDirectory): New method.
7527         (nativeSetFile): Use GtkFileChooserDialog.
7528
7529 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7530
7531         * java/awt/image/LookupTable.java: New file.
7532         * Makefile.am: Added new file.
7533         * Makefile.in: Regenerated.
7534
7535 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7536
7537         * java/awt/image/Kernel.java: New file.
7538         * Makefile.am: Added new file.
7539         * Makefile.in: Regenerated.
7540
7541 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7542
7543         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7544         * javax/swing/JMenu.java: Likewise.
7545         * javax/swing/JMenuBar.java: Likewise.
7546         (MARGIN_CHANGED_PROPERTY): New property.
7547         (setMargin): Implemented.
7548         * javax/swing/JMenuItem.java: Fixed javadocs.
7549         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7550         (LABEL_CHANGED_PROPERTY): New property.
7551         (add): changed to use createActionComponent.
7552         (createActionComponent): Implemented.   
7553         (setLabel): Fire PropertyChangeEvent if label property
7554         changes.
7555         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7556         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7557         (ContainerHandler): Repaint if margin property has changed.
7558         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7559         (installUI): Call installComponents().
7560         (uninstallUI): Call uinstallComponents().
7561         * javax/swing/plaf/basic/BasicMenuUI.java:
7562         Fixed javadocs.
7563         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7564         Likewise.
7565
7566 2004-07-21  Kim Ho  <kho@redhat.com>
7567
7568         * javax/swing/plaf/basic/BasicToolBarUI.java:
7569         (DragWindow): Use the right constructor.
7570
7571 2004-07-21  Kim Ho  <kho@redhat.com>
7572
7573         * javax/swing/JToolBar.java:
7574         (layoutContainer): Use getComponents.
7575         * javax/swing/plaf/basic/BasicToolBarUI.java:
7576         (DragWindow): Don't use SwingUtilities' 
7577         getOwnerFrame
7578         (ToolBarDialog): ditto.
7579
7580 2004-07-21  Kim Ho  <kho@redhat.com>
7581
7582         * javax/swing/JRootPane.java:
7583         Ran jalopy.
7584         (layoutContainer): Set the glasspane's size to 
7585         be the same as the content pane.
7586         (createGlassPane): Set opaque property to false.
7587
7588 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7589
7590         * java/awt/Component.java (requestFocus()): Don't handle Panels
7591         specially.
7592         (requestFocus(boolean)): Likewise.
7593         (requestFocusInWindow(boolean)): Likewise.
7594         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7595         Set GTK_CAN_FOCUS flag.
7596
7597 2004-07-21  Kim Ho  <kho@redhat.com>
7598
7599         * Makefile.am: Added new file.
7600         * Makefile.in: Regenerated.
7601         * gcj/Makefile.in: Regenerated.
7602         * include/Makefile.in: Regenerated.
7603         * javax/swing/AbstractButton.java:
7604         Add rollOverEnabled property.
7605         (setRolloverEnabled): Use new property.
7606         (isRolloverEnabled): Use new property.
7607         * javax/swing/JTabbedPane.java:
7608         (setComponent): Remove useless JTabbedPane.this.
7609         * javax/swing/JToolBar.java: Finish implementation.
7610         * javax/swing/plaf/basic/BasicArrowButton.java:
7611         (paint): Moved border painting to a border.
7612         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7613         Change JToolBar look and feel defaults.
7614         * javax/swing/plaf/basic/BasicOptionPaneUI.java
7615         (actionPerformed): Return Integer index instead of name.
7616         (addButtonComponents): Check to see if component is
7617         JButton last.
7618         (createMessageArea): Don't use components that are not
7619         completed yet.
7620         (getIconForType): Use temporary icons.
7621         * javax/swing/plaf/basic/BasicSliderUI.java:
7622         (mousePressed): Do not return if it's on thumb.
7623         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7624         (paintMinorTickForVertSlider): ditto.
7625         (paintMajorTickForHorizSlider): ditto.
7626         (paintMajorTickForVertSlider): ditto.
7627         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7628         Add a border around the SplitPaneDivider.
7629         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7630         Remove comments.
7631         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7632         New file. Implemented.
7633         * javax/swing/plaf/basic/BasicToolBarUI.java:
7634         Implemented.
7635         * testsuite/Makefile.in: Regenerated.
7636
7637 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7638
7639         * javax/swing/Timer.java (run): Queue events each time cycle.
7640
7641 2004-07-21  David Jee  <djee@redhat.com>
7642
7643         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7644         (imageComplete): Call image.imageComplete().
7645         * java/awt/image/MemoryImageSource.java:
7646         Reimplement consumers as a Vector instead of a Hashtable.  This is
7647         because enumeration on a Hashtable is not thread-safe.
7648         (addConsumer): Adapt to Vector consumers.
7649         (isConsumer): Adapt to Vector consumers.
7650         (removeConsumer): Adapt to Vector consumers.
7651         (startProduction): Adapt to Vector consumers. Call imageComplete()
7652         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7653         (newPixels): Adapt to Vector consumers.
7654         (sendPicture): Set the color model of the image consumer.
7655         (newPixels(IIII)): Adapt to Vector consumers.
7656         (newPixels(IIIIB)): Adapt to Vector consumers.
7657
7658 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7659
7660         * java/awt/Component.java (deliverEvent): Implement.
7661         (postEvent): Implement.
7662         (handleEvent): Implement.
7663         (translateEvent): New method.
7664         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
7665         * java/awt/Container.java (deliverEvent): Implement.
7666         * java/awt/Event.java (paramString): Fix formatting.
7667         * java/awt/Font.java (toString): Likewise.
7668         * java/awt/Window.java (postEvent): Implement.
7669
7670 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7671
7672         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7673         Set window's focus owner upon receiving a FOCUS_LOST event.
7674         * java/awt/Window.java (Window()): Refocus the previously
7675         focused component within the window when the window regains the
7676         top-level focus.
7677         (setFocusOwner): New method.
7678         * java/awt/Component.java (requestFocus): Add FIXME.
7679
7680         * libgcj.pc.in: Remove library flags.
7681
7682 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7683
7684         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7685         MOUSE_PRESSED event.
7686         * java/awt/Component.java (requestFocus()): Handle Panel
7687         specially.  Post FOCUS_LOST event on opposite component.
7688         (requestFocus(boolean)): Likewise.
7689         (requestFocusInWindow(boolean)): Likewise.
7690         (paramString): Reorder dimension fields.
7691         * java/awt/Container.java (paramString): Fix string format.
7692         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7693         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
7694         process key events if the focus owner is non-null.
7695         (dispatchKeyEvent): Likewise.
7696         * java/awt/Frame.java (paramString): Fix formatting.
7697         (generateName): New method.
7698         (getUniqueLong): Likewise.
7699         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7700         the temporary focus owner is null.  If so, return the permanent
7701         focus owner.
7702         * java/awt/Panel.java (generateName): New method.
7703         (getUniqueLong): Likewise.
7704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
7705         signal handling to make callbacks more specific.
7706
7707 2004-07-21  Michael Koch  <konqueror@gmx.de>
7708
7709         * javax/swing/text/Position.java
7710         (Bias): Implemented.
7711
7712 2004-07-21  Michael Koch  <konqueror@gmx.de>
7713
7714         * javax/swing/LookAndFeel.java
7715         (provideErrorFeedback): New method.
7716
7717 2004-07-21  Michael Koch  <konqueror@gmx.de>
7718
7719         * javax/swing/JTextArea.java
7720         (tabSize): New field.
7721         (getTabSize): New method.
7722         (setTabSize): Likewise.
7723
7724 2004-07-21  Michael Koch  <konqueror@gmx.de>
7725
7726         * javax/swing/ActionMap.java:
7727         Fixed javadocs all over.
7728         (serialVersionUID): Made private.
7729         (parent): Don't explicitely initialize with default value.
7730         (get): SImplified.
7731         (keys): Reimplemented.
7732         (allKeys): Likewise.
7733         (convertSet): Removed.
7734         * javax/swing/ComponentInputMap.java:
7735         Fixed javadocs all over.
7736         (ComponentInputMap): Implemented.
7737         (put): Likewise.
7738         (clear): Likewise.
7739         (remove): Likewise.
7740         (SetParent): Likewise.
7741         (getComponent): Likewise.
7742         * javax/swing/InputMap.java:
7743         Fixed javadocs all over.
7744         (serialVersionUID): Made private.
7745         (parent): Don't explicitely initialize with default value.
7746         (get): SImplified.
7747         (keys): Reimplemented.
7748         (allKeys): Likewise.
7749         (convertSet): Removed.
7750
7751 2004-07-21  Michael Koch  <konqueror@gmx.de>
7752
7753         * javax/swing/ActionMap.java,
7754         javax/swing/ComponentInputMap.java,
7755         javax/swing/InputMap.java,
7756         javax/swing/table/DefaultTableColumnModel.java,
7757         javax/swing/table/TableColumn.java,
7758         javax/swing/table/TableColumnModel.java,
7759         javax/swing/table/TableModel.java,
7760         javax/swing/text/AbstractDocument.java,
7761         javax/swing/text/TextAction.java:
7762         Reformated.
7763
7764 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7765
7766         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
7767         Make method non-static.
7768         * javax/swing/AbstractButton.java:
7769         Rename fields to match property names where possible.
7770         (iconTextGap): New property.
7771         * javax/swing/JCheckBox.java: Match AbstractButton changes.
7772         (init) New method, call from after various constructors.
7773         * javax/swing/JComponent.java (revalidate): 
7774         Invalidate before queueing repair.
7775         * javax/swing/JList.java (getPreferredScrollableViewportSize):
7776         Reimplement in terms of visibleRowCount property.
7777         * javax/swing/JMenuButton.java: Match AbstractButton changes.
7778         * javax/swing/JScrollPane.java (createScrollListener): 
7779         Remove tracing chatter.
7780         * javax/swing/JToggleButton.java: Match AbstractButton changes.
7781         * javax/swing/RepaintManager.java (addInvalidComponent): 
7782         Don't invalidate.
7783         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
7784         calculations.
7785         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
7786         Mimic sun behavior on top left/right positioning.
7787         * javax/swing/ViewportLayout.java (preferredLayoutSize):
7788         Remove mistaken use of preferredScrollableViewportSize here.
7789         (layoutContainer): Use view's preferred size as basis.
7790         * javax/swing/plaf/basic/BasicButtonUI.java:
7791         Set, get, and use textIconGap property.
7792         (paint) Paint text returned from layout (with ellipsis).
7793         * javax/swing/plaf/basic/BasicListUI.java:
7794         Remove tracing chatter, correct various minor calculations.
7795         (getCellBounds): Update layout state before calculating.
7796         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
7797         Use margin default similar to sun's.    
7798         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
7799         (createIncreaseIcon): Center icon, minimize margins.
7800         (createDecreaseIcon): Likewise.
7801         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
7802         Implement.
7803         (installUI): Call it.
7804         (uninstallDefaults): Implement.
7805         (uninstallUI): Call it.
7806         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
7807         Call existing Window constructor.
7808         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
7809         Set clip before painting.
7810
7811 2004-07-21  Olga Rodimina <rodimina@redhat.com>
7812         
7813         * javax/swing/JMenuItem.java:
7814         (processMouseEvent): Reimplemented to deal with
7815         mouse drag events.
7816         (createMenuDragMouseEvent): New private helper method.
7817         Creates MenuDragMouseEvent.
7818         * javax/swing/MenuSelectionManager.java
7819         (componentForPoint): Implemented.
7820         (isComponentPartOfCurrentMenu): Made public.
7821         (processMouseEvent): Reimplemented to deal with 
7822         mouse drag events.
7823         (setSelectedPath): Corrected small mistake that caused
7824         path to be set incorrectly.
7825         (getPath): If given component is JMenu then also add this
7826         menu's popup menu to the selected path.
7827         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7828         (getPath): Ditto.
7829         (getPreferredSize): Call getPreferredMenuItemSize().
7830         (getPreferredItemSize): Moved code from getPreferredSize to here.
7831         (installListeners): Install MouseMotionListeners.
7832         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
7833         if mouse wasn't released in the bounds of this menu item.
7834         (MenuDragMouseHandler): Implemented.
7835         * javax/swing/plaf/basic/BasicMenuUI.java:
7836         (installListeners): Install MouseMotionListener and 
7837         MenuDrageMouseListener.
7838         (MenuDragMouseHandler): Implemented.
7839         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7840         (uninstallListeners): Implemented.
7841         
7842 2004-07-21  Michael Koch  <konqueror@gmx.de>
7843
7844         * javax/swing/JCheckBox.java: Reformated.
7845         (JCheckBox): Fixed all constructors.
7846         (isBorderPaintedFlat): New method.
7847         (setBorderPaintedFlat): New method.
7848         * javax/swing/JEditorPane.java
7849         (createEditorKitForContentType): Made public.
7850         (scrollToReference): Likewise.
7851         * javax/swing/JTextArea.java
7852         (setLineWrap): Fire property change.
7853         * javax/swing/JToggleButton.java
7854         (JToggleButton): New constructor.
7855         (JToggleButton): Simplified.
7856         * javax/swing/text/AttributeSet.java
7857         (FontAttribute): Renamed from FontCharacterAttribute.
7858         * javax/swing/text/JTextComponent.java
7859         (KeyBinBinding): Added javadoc.
7860         (JTextComponent): Likewise.
7861         (getAccessibleContext): Fixed javadoc.
7862         * javax/swing/text/View.java
7863         (View): Added javadoc.
7864         * javax/swing/text/TabableView.java: New file.
7865         * Makefile.am: Added javax/swing/text/TabableView.java.
7866         * Makefile.in: Regenerated.
7867
7868 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7869
7870         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
7871         * gnu/java/awt/peer/gtk/GtkToolkit.java 
7872         (GtkErrorImage): New helper class.
7873         (bufferedImageOrError): New helper method.
7874         (createImage): Use it.
7875
7876 2004-07-21  David Jee  <djee@redhat.com>
7877
7878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7879         (setCaretPosition): Scroll the text view so the new caret position
7880         is visible on screen.
7881
7882 2004-07-21  David Jee  <djee@redhat.com>
7883
7884         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7885         (setBounds): Do not validate awtComponent here.
7886         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
7887         (getPreferredSize): New method.
7888         * java/awt/ScrollPane.java
7889         (ScrollPane): Set default size to 100x100.
7890         (addNotify): If child is not a Panel, wrap it with a new Panel.
7891         (paramString): Implement.
7892
7893 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7894
7895         * javax/swing/JMenu.java:
7896         (setSelected): Display popup menu only if this menu 
7897         is showing on the screen.
7898         * javax/swing/JPopupMenu.java:
7899         (processMouseEvent): Added comment.
7900         (processKeyEvent): Likewise.
7901         * javax/swing/MenuSelectionManager.java:
7902         (clearSelectedPath): Only fireStateChanged() after
7903         selected path was changed, not before.
7904         (setSelectedPath): Likewise.
7905         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7906         (paintMenuItem): Corrected position of menu item's
7907         icon.
7908         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7909         (installUI): Correct setDefaultLightWeightPopupEnabled call.
7910         (popupMenuCanceled): Reimplemented.
7911         (popupMenuWillBecomeVisible): Select first menu item by default 
7912         when displaying free floating popup menus.
7913         (TopWindowListener): Reimplemented.
7914
7915 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7916
7917         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
7918         Panel from being painted twice when it is first shown.
7919
7920 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7921
7922         * java/awt/Window.java: Reverted changes from my 
7923         previous patch for creating window without an owner.
7924         * javax/swing/SwingUtilities.java: 
7925         (SwingUtilities.OwnerFrame): made static.
7926         (OwnerFrame.setVisible): New method. Overridden with
7927         empty implementation.
7928         (OwnerFrame.isShowing): New method. Ovverridden
7929         to return always true.
7930
7931 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7932
7933         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7934         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7935         (GtkComponentPeer): Remove temporary try/catch block.
7936         (setVisible): Call show and hide.
7937         (show): Make native.
7938         (hide): Likewise.
7939         (getArgs): Don't add "visible" argument.
7940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7941         (property_notify_predicate): Return Bool instead of int.
7942         (find_layout): New function.
7943         (connectJObject): Call find_layout.
7944         (connectSignals): Likewise.
7945         (moveLayout): Likewise.
7946         (gtkLayoutSetVisible): Likewise.
7947
7948 2004-07-21  Mark Wielaard  <mark@klomp.org>
7949
7950         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
7951         on notifier object before calling notifyAll().
7952
7953 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7954
7955         * java/awt/Window.java: Changed constructors to use new
7956         method that is described below. Constructors call this
7957         methods only if newly created window should have an owner.
7958         (setWindowOwner): New method. Implementation for
7959         this method is moved from this(owner,configuration).
7960         * javax/swing/JWindow.java:
7961         (JWindow): Reimplement to use SwingUtilities.ownerFrame
7962         instead of owner.
7963         * javax/swing/SwingUtilities.java:
7964         (ownerFrame): Change type of this field to OwnerFrame.
7965         (getOwnerFrame): Changed to return object of type OwnerFrame.
7966         (SwingUtilities.OwnerFrame): New class. Represents owner
7967         of a Window that is not provided with one.
7968
7969 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7970
7971         *  javax/swing/AbstractButton.java: 
7972         (configurePropertiesFromAction): Set action command
7973         to button's text by default if action command is not 
7974         explicitely specified.
7975         * javax/swing/JMenu.java: Remove unnecessary listener
7976         and methods relevant to it.
7977         (setSelected): Reimplemented.
7978         (menuSelectionChanged): Moved most part of implementation to
7979         setSelected() and call it instead.
7980         * javax/swing/JMenuItem.java: 
7981         (init): Comment out statement that sets paint_border to false.
7982         (configurePropertiesFromAction): Do not set accelerator
7983         for JMenu.
7984         (menuSelectionChanged): Change selected index in the selection
7985         model of menu item's parent.
7986         * javax/swing/JPopupMenu.java:
7987         (remove): Set constraints.fill field to GridBagConstraints.BOTH
7988         instead of GridBagConstraints.HORIZONTAL.
7989         (insert): Likewise.
7990         (createActionChangeListener): Implemented.
7991         (setVisible): Correct location of HeavyWeightMenu and 
7992         don't firePopupMenuCanceled().
7993         (menuSelectionChanged): Implemented.
7994         (ActionChangeListener): New Listener. Implemented.
7995         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7996         (BasicMenuBarUI.ContainerHandler): Implemented.
7997         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7998         (paintMenuItem): Uncommented out code that paints 
7999         icon, now that icons are working properly.
8000         (PropertyChangeListener): Implemented.
8001         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8002         Added javadocs.
8003         (topWindowListener): New field.
8004         (Constructor): initialize topWindowListener.
8005         (BasicPopupMenuUI.TopWindowListener): Implemented.      
8006         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8007         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8008         Implemented.
8009
8010 2004-07-21  Michael Koch  <konqueror@gmx.de>
8011
8012         * javax/swing/plaf/basic/BasicButtonUI.java
8013         (paintFocus): Fixed method signature.
8014         (paintButtonPressed): Likewise.
8015         (paintButtonNormal): Likewise.
8016         (paintText): New method.
8017         * javax/swing/plaf/basic/BasicLabelUI.java
8018         (paint): Re-indented.
8019         * javax/swing/plaf/basic/BasicTextUI.java
8020         (installUI): Set parent textComponent to opaque.
8021         * javax/swing/text/DefaultHighlighter.java
8022         (checkPositions): New helper method.
8023         (addHighlight): Throws BadLocationException, check positions.
8024         (changeHighlight): Likewise.
8025         * javax/swing/text/EditorKit.java
8026         (EditorKit): Implements Serializable.
8027         * javax/swing/text/JTextComponent.java
8028         (getUI): Added javadoc.
8029         (setUI): Likewise.
8030         (upadteUI): Added javadoc, don't revalidate and repaint.
8031
8032 2004-07-21  David Jee  <djee@redhat.com>
8033
8034         * java/awt/GridBagLayout.java
8035         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8036         * javax/swing/AbstractButton.java
8037         (setText): Reindent.
8038         * javax/swing/RepaintManager.java
8039         (addInvalidComponent): Find the first ancestor that isValidateRoot().
8040
8041 2004-07-21  Michael Koch  <konqueror@gmx.de>
8042
8043         * javax/swing/JFormattedTextField.java
8044         (value): New field.
8045         (JFormattedTextField): Implemented.
8046         (getValue): Likewise.
8047         (setValue): Likewise.
8048         * javax/swing/LookAndFeel.java
8049         (getSupportsWindowDecorations): New method.
8050         * javax/swing/UIDefaults.java:
8051         Use java.beans.PropertyChangeSupport instead of doing all ourself.
8052         (addPropertyChangeListener): Made public.
8053         (addResourceBundle): Likewise.
8054         (removeResourceBundle): Likewise.
8055         (setDefaultLocale): Likewise.
8056         * javax/swing/plaf/basic/BasicRootPaneUI.java
8057         (BasicRootPaneUI): Implements PropertyChangeListener.
8058         (propertyChange): New method.
8059         * javax/swing/plaf/basic/BasicTextUI.java
8060         (BasicHighlighter): New inner class.
8061         (createHighlighter): New method.
8062         * javax/swing/plaf/basic/BasicToolBarUI.java
8063         (DragWindow): Extends java.awt.Window.
8064         * javax/swing/text/JTextComponent.java
8065         (getDocument): Removed debug output.
8066         * javax/swing/plaf/basic/BasicTextFieldUI.java,
8067         javax/swing/text/DefaultHighlighter.java,
8068         javax/swing/text/FieldView.java,
8069         javax/swing/text/PlainView.java: New files.
8070         * Makefile.am: Added new files.
8071         * Makefile.in: Regenerated.
8072
8073 2004-07-21  Michael Koch  <konqueror@gmx.de>
8074
8075         * javax/swing/JEditorPane.java
8076         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8077         (createEditorKitForContentType): Likewise.
8078         * javax/swing/text/DefaultEditorKit.java
8079         (serialVersionUID): Added constant field.
8080         (EndOfLineStringPropery): Fixed typo.
8081         (DefaultEditorKit): New constructor.
8082         * javax/swing/text/Segment.java:
8083         Import java.text.CharacterIterator.
8084         * javax/swing/text/CharacterIterator.java,
8085         javax/swing/text/PlainEditorKit.java: Removed.
8086         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8087         javax/swing/text/PlainEditorKit.java.
8088         * Makefile.in: Regenerated.
8089
8090 2004-07-21  Michael Koch  <konqueror@gmx.de>
8091
8092         * javax/swing/JButton.java,
8093         javax/swing/text/DefaultEditorKit.java,
8094         javax/swing/text/EditorKit.java,
8095         javax/swing/text/Segment.java,
8096         javax/swing/text/StyledEditorKit.java:
8097         Reformatted.
8098
8099 2004-07-21  Michael Koch  <konqueror@gmx.de>
8100
8101         * javax/swing/ImageIcon.java
8102         (file): Removed.
8103         (description): Renamed from descr.
8104         (ImageIcon): Added missing constructors.
8105         (setParent): Removed.
8106         (setImageObserver): New method.
8107         (getImageObserver): New method.
8108         (paintIcon): Handle observer = null.
8109         * javax/swing/JButton.java
8110         (removeNotify): Fixed javadoc.
8111         (updateUI): Simplified.
8112         * javax/swing/JRootPane.java
8113         (serialVersionUID): New constant field.
8114         * javax/swing/UIManager.java:
8115         Fixed javadocs all over.
8116         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8117         * javax/swing/text/AbstractDocument.java
8118         (createPosition): Throws BadLocationException.
8119         (getText): Likewise.
8120         (remove): Likewise.
8121         * javax/swing/text/ComponentView.java
8122         (modelToView): Likewise.
8123         * javax/swing/text/DefaultEditorKit.java:
8124         Made all public methods public.
8125         (read): Throws BadLocationException and IOException.
8126         (write): Likewise.
8127         * javax/swing/text/EditorKit.java:
8128         Made all public methods public.
8129         (serialVersionUID): New constant field.
8130         (clone): New method.
8131         (read): Throws BadLocationException and IOException.
8132         (write): Likewise.
8133         * javax/swing/text/Segment.java
8134         (array): Made public.
8135         (count): Likewise.
8136         (offset): Likewise.
8137         (Segment): New constructors.
8138         (clone): Reimplemented.
8139         * javax/swing/text/StyledEditorKit.java
8140         (serialVersionUID): New constant field.
8141
8142 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8143
8144         * java/awt/image/BufferedImage.java 
8145         (getSource): Implement.
8146         * javax/swing/ImageIcon.java 
8147         (ImageIcon): Implement ctor.
8148         * javax/swing/ScrollPaneLayout.java 
8149         (preferredLayoutSize): Be more careful about nulls.
8150
8151 2004-07-21  Michael Koch  <konqueror@gmx.de>
8152
8153         * javax/swing/text/AttributeSet.java
8154         (CharacterAttribute): New interface
8155         (ColorAttribute): Likewise.
8156         (FontCharacterAttribute): Likewise.
8157         (ParagraphAttribute): Likewise.
8158         * javax/swing/text/DefaultCaret.java
8159         (moveCaret): New method.
8160         (positionCaret): Likewise.
8161         (repaint): Made protected.
8162         * javax/swing/text/JTextComponent.java
8163         (KeyBinding): Made it static.
8164         * javax/swing/text/View.java
8165         (getContainer): Honor parent == null.
8166
8167 2004-07-21  Michael Koch  <konqueror@gmx.de>
8168
8169         * javax/swing/text/AbstractDocument.java:
8170         Reformatted.
8171
8172 2004-07-21  Michael Koch  <konqueror@gmx.de>
8173
8174         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8175         Import javax.swing.UIManager explicitely.
8176         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8177         (ScrollingButton): Made it static.
8178
8179 2004-07-21  Michael Koch  <konqueror@gmx.de>
8180
8181         * javax/swing/UIDefaults.java
8182         (ActiveValue): Made public.
8183         (LazyValue): Likewise.
8184         * javax/swing/plaf/basic/BasicTextUI.java
8185         (RootView): Reintroduced.
8186         (view): Removed.
8187         (rootView): New field.
8188         (installUI): Create document if needed, initialize rootView.
8189         (uninstallUI): Hanle rootView.
8190         (paint): Likewise.
8191         (getRootView): Likewise.
8192         (setView): Likewise.
8193         * javax/swing/text/DefaultCaret.java:
8194         Renamed all "evt" variables to "event".
8195
8196 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8197
8198         * libgcj.spec.in: Add -l-java-util-logging.
8199
8200 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
8201
8202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8203         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8204         gtk-xft-dpi can no calculate the right value.
8205         (dpi_changed_cb): Mark *pspec as unsused.
8206
8207 2004-07-21  David Jee  <djee@redhat.com>
8208
8209         * java/awt/Component.java
8210         (move): Delegate to setBounds().
8211         (resize): Likewise.
8212         (reshape): Fix so it repaints parent and self only when necessary.
8213
8214 2004-07-21  David Jee  <djee@redhat.com>
8215
8216         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8217         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8218         (GtkComponentPeer): Revert previous patch from 2004-06-22.
8219         (setVisible): Likewise.
8220         (show): Likewise.
8221         (hide): Likewise.
8222         (getArgs): Likewise.
8223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8224         (property_notify_predicate): Likewise.
8225         (find_layout): Likewise.
8226         (connectJObject): Likewise.
8227         (connectSignals): Likewise.
8228         (moveLayout): Likewise.
8229         (gtkLayoutSetVisible): Likewise.
8230
8231 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8232
8233         * Makefile.am
8234         (jv_convert_LDADD):
8235         (gij_LDADD):
8236         (rmic_LDADD):
8237         (rmiregistry_LDADD): Add lib-java-util-logging.la
8238         * Makefile.in: Regenerate.
8239
8240 2004-07-21  Michael Koch  <konqueror@gmx.de>
8241
8242         * javax/swing/text/AbstractDocument.java
8243         (replace): Dont use protected method of java.util.Vector directly.
8244
8245 2004-07-21  Michael Koch  <konqueror@gmx.de>
8246
8247         * javax/swing/plaf/basic/BasicTextUI.java
8248         (installUI): Call specialized install methods.
8249         (installDefaults): New method.
8250         (installListeners): Likewise.
8251         (installKeyboardActions): Likewise.
8252         (uninstallUI): Likewise.
8253         (uninstallDefaults): New method.
8254         (uninstallListeners): Likewise.
8255         (uninstallKeyboardActions): Likewise.
8256         (getPropertyPrefix): New abstract method.
8257         (paint): Made final, just call paintSafely().
8258         (paintSavely): New method.
8259         (paintBackground): Likewise.
8260         (getVisibleEditorRect): Likewise.
8261         * javax/swing/text/LayeredHighlighter.java,
8262         javax/swing/text/TabExpander.java: New files.
8263         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8264         and javax/swing/text/TabExpander.java.
8265         * Makefile.in: Regenerated.
8266
8267 2004-07-21  Michael Koch  <konqueror@gmx.de>
8268
8269         * javax/swing/plaf/basic/BasicTextUI.java
8270         (BasicTextUI): Made abstract.
8271         (BasicCaret): New inner class.
8272         (view): Don't explicitely initialize with "null".
8273         (textComponent): New field.
8274         (textColor): Removed.
8275         (disabledTextColor): Removed.
8276         (normalBackgroundColor): Removed.
8277         (RootView): Removed commented out inner class.
8278         (createUI): Removed.
8279         (createCaret): New method.
8280         (getComponent): Likewise.
8281         (installUI): Initialize textComponent only.
8282         (getPreferredSize): Use installed JTextComponent.
8283         (setView): New method.
8284         (create): Likewise.
8285         * javax/swing/text/JTextComponent.java
8286         (highlighter): New field.
8287         (caretColor): Likewise.
8288         (disabledTextColor): Likewise.
8289         (seletedTextColor): Likewise.
8290         (selectionColor): Likewise.
8291         (setUI): New method.
8292         (getCaretColor): Likewise.
8293         (setCaretColor): Likewise.
8294         (getDisabledColor): Likewise.
8295         (setDisabledColor): Likewise.
8296         (getSelectedTextColor): Likewise.
8297         (setSelectedTextColor): Likewise.
8298         (getSelectionColor): Likewise.
8299         (setSelectionColor): Likewise.
8300         (getHighlighter): Likewise.
8301         (setHighlighter): Likewise.
8302         (replaceSelection): Likewise.
8303
8304 2004-07-21  Michael Koch  <konqueror@gmx.de>
8305
8306         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8307         (BasicScrollPaneUI): Implements ScrollPaneConstants.
8308         * javax/swing/plaf/basic/BasicToolBarUI.java
8309         (BasicToolBarUI): Implements SwingConstants.
8310
8311 2004-07-21  Michael Koch  <konqueror@gmx.de>
8312
8313         * javax/swing/JPopupMenu.java: Removed CVS tags.
8314         * javax/swing/UIDefaults.java: Reformatted.
8315         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8316         Explicitely import used classes.
8317
8318 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8319
8320         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8321         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8322         (GtkComponentPeer): Remove temporary try/catch block.
8323         (setVisible): Call show and hide.
8324         (show): Make native.
8325         (hide): Likewise.
8326         (getArgs): Don't add "visible" argument.
8327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8328         (property_notify_predicate): Return Bool instead of int.
8329         (find_layout): New function.
8330         (connectJObject): Call find_layout.
8331         (connectSignals): Likewise.
8332         (moveLayout): Likewise.
8333         (gtkLayoutSetVisible): Likewise.
8334
8335 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8336
8337         * javax/swing/AbstractButton.java:
8338         (setDisplayedMnemonicIndex): Check if button
8339         text is not null before checking its length.
8340         * javax/swing/JMenuItem.java:
8341         (processMouseEvent): Disarm menu item if mouse has
8342         exited it.
8343         * javax/swing/plaf/basic/BasicMenuUI.java:
8344         (MouseInputHandler.mouseEntered): Do not raise
8345         popup menu if this menu is already selected.
8346         (MouseInputHandler.mousePressed): Do not fire 
8347         MenuEvents.
8348         (MenuHandler): Implemented.     
8349
8350 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8351
8352         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8353         (getSelectedObjects): Implemented.
8354         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8355         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
8356         Added javadoc for few methods.
8357         (processMouseEvent): Made public.
8358         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8359         (processMouseEvent): Likewise.
8360
8361 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8362
8363         * javax/swing/AbstractButton.java:
8364         (init): Set display mnemonic index to -1.
8365         (setMnemonic(char)): Use setMnemonic(int).
8366         (setMnemonic(int)): Set display mnemonic index.
8367         (getDisplayedMnemonicIndex): Change method signature
8368         by removing 'index' parameter.
8369         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8370         Added default for Menu.selectionBackground.     
8371         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8372         (paintMenuItem): Change background color of the selected
8373         menu item.
8374         (paintText): Paint differently when menu item is disabled.
8375         Also paint mnemonic if it appears in the menu item's label.
8376         (paintAccelerator): Paint accelerator differently
8377         if menu item is disabled.
8378         * javax/swing/plaf/basic/BasicMenuUI.java:
8379         (installDefaults): Install defaults for 
8380         selectionForeground and selectionBackground.
8381         (uninstallDefaults): Uninstall defauls for 
8382         selectionForeground and selectionBackground.
8383
8384 2004-07-21  Michael Koch  <konqueror@gmx.de>
8385
8386         * javax/swing/text/AbstractDocument.java
8387         (BranchElement): Implemented.
8388         (LeafElement): Implemented.
8389         * javax/swing/text/DefaultCaret.java:
8390         Import used classes.
8391         (serialVersionUID): New constant.
8392         * javax/swing/text/JTextComponent.java
8393         (AccessibleJTextComponent): Removed dead declaration.
8394         (caretPos): Removed.
8395         (setCaret): New method.
8396         * javax/swing/text/PlainDocument.java
8397         (rootElement): New field.
8398         (PlainDocument): Initialize rootElement.
8399         (createDefaultRoot): New method.
8400         (getDefaultRootElement): Implemented.
8401         * javax/swing/text/View.java: Reformatted.
8402         * javax/swing/text/ViewFactory.java
8403         (create): Added javadoc.
8404
8405 2004-07-21  Michael Koch  <konqueror@gmx.de>
8406
8407         * javax/swing/ToolTipManager.java: Reformatted.
8408
8409 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
8410
8411         * javax/swing/AbstractButton.java
8412         (changeEvent): New field.
8413         (fireItemStateChanged): Change source of the event
8414         to 'this' before firing it to button listeners.
8415         (fireActionPerformed): Likewise.
8416         (fireStateChanged): Likewise.
8417         (createActionListener): Do not set source 
8418         of the event to AbstractButton.                                  
8419         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8420         (ContainerHandler.componentAdded): Removed 
8421         print out statement.
8422         (ContainerHandler.componentRemoved): Likewise.
8423
8424 2004-07-21  Michael Koch  <konqueror@gmx.de>
8425
8426         * javax/swing/text/Highlighter.java: New file.
8427         * Makefile.am: Added javax/swing/text/Highlighter.java.
8428         * Makefile.in: Regenerated.
8429
8430 2004-07-21  Michael Koch  <konqueror@gmx.de>
8431
8432         * javax/swing/ToolTipManager.java
8433         (stillInsideTimerAction): Fixed constructor arguments.
8434         (outsideTimerAction): Likewise.
8435         (insideTimerAction): Likewise.
8436
8437 2004-07-21  Michael Koch  <konqueror@gmx.de>
8438
8439         * javax/swing/JButton.java: Reformatted.
8440         * javax/swing/JFormattedTextField.java
8441         (getUIClassID): Implemented.
8442         * javax/swing/JRootPane.java
8443         (serialVersionUID): New constant.
8444         * javax/swing/JTextField.java
8445         (align): New field.
8446         (JTextField): Simplified.
8447         (getUIClassID): New method.
8448         (getActionListeners): Added @since tag.
8449         (setColumns): Invalidate layout and repaint.
8450         (getHorizontalAlignment): New method.
8451         (setHorizontalAlignment): New method.
8452         (selectAll): Removed.
8453         * javax/swing/SwingUtilities.java
8454         (getAncestorOfClass): Removed redundant @see tag.
8455         (isLeftMouseButton): Fixed implementation.
8456         (isMiddleMouseButton): Likewise.
8457         (isRightMouseButton): Likewise.
8458         * javax/swing/text/AbstractDocument.java
8459         (AttributeContext.addAttribute): New method.
8460         (AttributeContext.addAttributes): New method.
8461         (AttributeContext.getEmptySet): New method.
8462         (AttributeContext.reclaim): New method.
8463         (AttributeContext.removeAttribute): New method.
8464         (AttributeContext.removeAttributes): New method.
8465         * javax/swing/text/Document.java
8466         (createPosition): Throws BadLocationException.
8467         (getText): Likewise.
8468         (remove): Likewise.
8469         * javax/swing/text/JTextComponent.java
8470         (getText): Return null if no document is set. Catch
8471         BadLocationException.
8472         (getUI): Return ui.
8473         (updateUI): Simplified.
8474
8475 2004-07-21  Michael Koch  <konqueror@gmx.de>
8476
8477         * javax/swing/JButton.java
8478         (removeNotify): Fixed javadoc.
8479         (updateUI): Simplified.
8480
8481 2004-07-21  David Jee  <djee@redhat.com>
8482
8483         * gnu/java/awt/image/ImageDecoder.java
8484         (startProduction): Only add consumer if it's not added yet.
8485         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8486         (GdkPixbufDecoder): Don't call initState() here.
8487         (produce): Call initState() here, to ensure area_prepared and
8488         area_updated signals are properly connected.
8489         * gnu/java/awt/peer/gtk/GtkImage.java
8490         (setColorModel): Use equals() to compare ColorModel objects.
8491         (setPixels): Likewise.
8492         * java/awt/image/ColorModel.java
8493         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8494         * java/awt/image/RGBImageFilter.java
8495         (setColorModel): Set consumer's color model.
8496         (setPixels): Use equals() to compare ColorModel objects.
8497
8498 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
8499
8500         * java/net/URLConnection.java (position): New field.
8501         (dateFormat1, dateFormat2, dateFormat3): Removed.
8502         (dateFormats): New field.
8503         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8504         each time instead of re-allocating.
8505         (initializeDateFormats): Initialize 'dateFormats'.
8506
8507 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8508
8509         PR libgcj/16591
8510         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8511         is defined.
8512
8513 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8514
8515         * java/net/Socket.java (getImpl): Now private. Remove comment.
8516
8517 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8518
8519         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8520         of chained Writer when calling super-constructor.
8521         * java/io/FilterWriter.java (FilterWriter): Likewise.
8522         * java/io/PrintWriter.java (PrintWriter): Likewise.
8523
8524 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
8525
8526         * prims.cc (process_gcj_properties): Don't increment i within LHS
8527         of assignment.
8528
8529 2004-07-19  Per Bothner  <per@bothner.com>
8530
8531         Print -verbose:message on "loading", not initialization.
8532         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
8533         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
8534         gcj::verbose_class_flag.
8535         * java/lang/natClass.cc (initializeClass):  Don't print message here.
8536         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
8537         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8538         (_Jv_PrepareCompiledClass):  Likewise.
8539
8540 2004-07-18  Matthias Klose  <doko@debian.org>
8541
8542         * configure.in: Substitute target_noncanonical.
8543         * configure: Regenerate
8544
8545 2004-07-17  Michael Koch  <konqueror@gmx.de>
8546
8547         * java/lang/String.java: Fixed javadocs all over.
8548
8549 2004-07-17  Mark Wielaard  <mark@klomp.org>
8550
8551         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8552         when size is smaller.
8553         * java/io/RandomAccessFile.java (setLength): Use truncate for
8554         shrinking the file and seek plus write for expanding the file.
8555
8556 2004-07-17  Michael Koch  <konqueror@gmx.de>
8557
8558         * gnu/java/nio/channels/natFileChannelPosix.cc
8559         (implTruncate): Always save current position. Only reposition file
8560         pointer to where we started if not beyond new lenght. Reposition file
8561         pointer to file length if it points beyond the end of file.
8562
8563 2004-07-17  Mark Wielaard  <mark@klomp.org>
8564
8565         * javax/swing/Box.java: Put FIXME comment above class declaration.
8566         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8567         * javax/swing/JCheckBox.java: Likewise.
8568         * javax/swing/JDialog.java: Likewise.
8569         * javax/swing/JRadioButton.java: Likewise.
8570         * javax/swing/JToggleButton.java: Likewise.
8571         * javax/swing/UIManager.java: Likewise.
8572         * javax/swing/border/TitledBorder.java: Likewise.
8573         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8574         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8575         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8576         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8577         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8578         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8579         * javax/swing/text/JTextComponent.java: Likewise.
8580
8581 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
8582
8583         * java/net/DatagramPacket.java (setAddress): Removed check for
8584         null address.
8585
8586 2004-07-17  Michael Koch  <konqueror@gmx.de>
8587
8588         * java/net/DatagramSocket.java
8589         (getLocalAddress): Check if socket is bound or not.
8590         * java/net/Socket.java
8591         (getLocalAddrss): Check if socket is bound or not.
8592         (getPort): Return -1 when not connected. Dont check getImpl() for
8593         null.
8594         (setReuseAddress): Check if socket is closed.
8595         (isConnected): Check if getImpl() returns null.
8596
8597 2004-07-17  Mark Wielaard  <mark@klomp.org>
8598
8599         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8600         on notifier object before calling notifyAll().
8601
8602 2004-07-17  Michael Koch  <konqueror@gmx.de>
8603
8604         * gnu/java/nio/channels/FileChannelImpl.java
8605         (finalize): Added javadoc.
8606
8607 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
8608
8609         * java/text/CollationElementIterator.java
8610         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8611         (setText): Use ArrayList instead of Vector.
8612
8613 2004-07-17  Michael Koch  <konqueror@gmx.de>
8614
8615         * java/nio/ByteOrder.java
8616         (static): Removed. Not needed.
8617         Thanks to Patrick Reali for noticing.
8618         * java/nio/charset/CharsetDecoder.java
8619         (decode): Fix for classpath bug #9177: Reset state before flipping.
8620
8621 2004-07-17  Michael Koch  <konqueror@gmx.de>
8622
8623         * java/security/Security.java: Fixed javadocs all over.
8624
8625 2004-07-17  Michael Koch  <konqueror@gmx.de>
8626
8627         * gnu/java/awt/EmbeddedWindow.java
8628         (static): Removed.
8629         (addNotify): Set peer via reflection.
8630         (setWindowPeer): Removed.
8631         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8632         * Makefile.am (nat_source_files):
8633         Removed gnu/java/awt/natEmbeddedWindow.cc.
8634         * Makefile.in: Regenerated.
8635
8636 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
8637
8638         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8639         assignment.
8640         * configure: Regenerated.
8641
8642 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
8643
8644         * configure.in: Use build_noncanonical rather than build_alias.
8645         * configure: Rebuild.
8646
8647         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8648         by logic refactoring.  Move default definition of NATIVE closer
8649         to first alternate definition.
8650         * configure: Regenerate.
8651
8652         * Makefile.am: Set ZIP and GCJH directly using autoconf.
8653         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8654         gcj/Makefile.in: Regenerate.
8655         * configure.in: Set ZIP and GCJH.  Remove redundant condition
8656         in AM_CONDITIONAL(NATIVE,...)
8657         * configure: Regenerate.
8658
8659 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
8660
8661         * configure.in: Use target_noncanonical rather than
8662         target_alias for forward-compatibility with autoconf 2.59.
8663         * configure: Regenerate.
8664         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8665         testsuite/Makefile.am: Substitute target_noncanonical.
8666         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8667         testsuite/Makefile.in: Regenerate.
8668
8669         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8670         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8671         * acinclude.m4: Include acx.m4.
8672         * aclocal.m4: Regenerate.
8673         * configure: Regenerate.
8674
8675 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
8676
8677         PR libgcj/16574
8678         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8679         (decimalFormat): New static variable.
8680         (sbuf): Likewise.
8681         (getTime): New. Override Date.getTime().
8682         (toString): Synchronize. Use decimalFormat to format nanos value
8683         correctly. Truncate extra zeros.
8684         (before): Compare getNanos() only if getTime() is equal.
8685         (after): Likewise.
8686         
8687 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
8688
8689         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8690         * configure.in: ...here.
8691         * aclocal.m4: Regenerate.
8692         * configure: Regenerate.
8693
8694         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8695         * configure: Rebuilt with autoconf 2.13.
8696         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8697         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8698
8699 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
8700
8701         PR libgcj/16204
8702         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
8703         large file support.
8704         * Makefile.in: Rebuilt.
8705         * testsuite/libjava.lang/LargeFile.java: New test case.
8706         * testsuite/libjava.lang/LargeFile.out: New file.
8707
8708 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8709
8710         * java/beans/EventHandler.java: Remove debugging statements.
8711
8712 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8713
8714         * java/beans/EventHandler.java: New file.
8715         * Makefile.am (awt_java_source_files): Add EventHandler.java.
8716         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8717         testsuite/Makefile.in: Regenerate.
8718
8719 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
8720
8721         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
8722         flag to the gcj_setup.
8723         (gcj_jacks_run): Check tclsh version and launch jacks directly with
8724         the tclsh.
8725         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
8726         deprecation flag change. 58 XFAILS removed.
8727
8728 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
8729
8730         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
8731         -fno-use-divide-subroutine.
8732         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
8733         (HANDLE_FPE): Define.
8734         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
8735         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8736         (HANDLE_DIVIDE_OVERFLOW): Define.
8737
8738 2004-07-14  Michael Koch  <konqueror@gmx.de> 
8739             Matthias Klose  <doko@debian.org> 
8740
8741         * java/awt/im/InputContext.java: Initialize in, line.
8742
8743 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
8744
8745         * interpret.cc (run): Correctly access libffi return values of
8746         integral smaller-than-int type; these are implicitly promoted.
8747
8748 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
8749
8750         PR libgcj/7587
8751         * interpret.cc (compile_mutex): New.
8752         (_Jv_InitInterpreter): New. Initialize compile_mutex.
8753         (run): Lock compile_mutex before calling compile() if compilation is
8754         required.
8755         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
8756         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
8757
8758 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
8759
8760         PR libgcj/15713
8761         * include/jvm.h (_Jv_value): New union type.
8762         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
8763         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
8764         union members.
8765
8766 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
8767
8768         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
8769         * gnu/awt/xlib/XOffScreenImage.java
8770           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
8771           constructor argument. Add constructor using ImageProducer.
8772           (getSource): Implement.
8773           (imageComplete): New method.
8774           (setColorModel): New method.
8775           (setDimensions): New method.
8776           (setHints): New method.
8777           (setPixels): New method.
8778           (setProperties): New method.
8779         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
8780         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
8781
8782 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
8783
8784         PR libgcj/16478 
8785         * prims.cc (_Jv_CreateJavaVM): Fix comment.
8786         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
8787         (finalizerReady): Now native.
8788         (run): Likewise.
8789         (runFinalizers): Removed.
8790         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
8791         a primitive lock, and don't hold it while running the finalizers.
8792         (runFinalizers): Implement. Don't aquire any Java lock.
8793         (finalizerReady): Use lock primitives to signal finalizer thread.
8794
8795 2004-07-11  Mark Wielaard  <mark@klomp.org>
8796
8797         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
8798         * java/net/URLStreamHandler.java (parseURL): When url file part
8799         doesn't contain a '/' just ignore context.
8800
8801 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
8802
8803         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
8804         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8805         (MAKE_THROW_FRAME): Do not modify PSW address.
8806         (INIT_SEGV): Install SIGINFO-style signal handler.
8807         (INIT_FPE): Likewise.
8808
8809 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8810
8811         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
8812         status. 21 xfail's removed, 1 added.
8813
8814 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8815
8816         * gcj/javaprims.h: Regenerate CNI namespace definitions.
8817
8818 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8819
8820         * java/text/MessageFormat.java
8821         (formatInternal): Append "{n}" if argument n is unavailable.
8822         (format(Object, StringBuffer, FieldPosition)): This
8823         should be equivalent to format(Object[],
8824         StringBuffer, FieldPosition).
8825
8826 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8827
8828         * java.util.Calendar.java (cache): New private static field. Cached
8829         mappings of locales->calendar classes.
8830         (ctorArgTypes): New private static field. Singleton argument for
8831         calendar class constructor lookup.
8832         (getInstance): Cache Locale->Calendar class mappings using HashMap.
8833         Optimize by bypassing reflection instantiation for the 
8834         GregorianCalendar case.
8835
8836 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8837
8838         * java/util/Calendar.java: Use getSystemClassLoader as argument for
8839         ResourceBundle.getBundle() calls.
8840         * java/util/GregorianCalendar.java: Likewise.
8841         * java/util/Currency.java: Likewise.
8842         * java/text/BreakIterator.java: Likewise.
8843         * java/text/Collator.java: Likewise.
8844         * java/text/DateFormat.java: Likewise.
8845         * java/text/DateFormatSymbols.java: Likewise.
8846         * java/text/DecimalFormatSymbols.java: Likewise.
8847         * java/text/NumberFormat.java: Likewise.
8848         * java/awt/Window.java: Likewise.       
8849
8850 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8851
8852         * java/util/ResourceBundle.java (bundleCache): Renamed from
8853         resourceBundleCache. Update comments.
8854         (getObject): Don't catch MissingResourceException.
8855         (getBundle(String)): Remove 'final'. Use system classloader if
8856         getCallingClassLoader returned null.
8857         (getBundle(String, Locale)): Likewise.
8858         (BundleKey): New private class. HashMap key for bundle cache lookup.
8859         (lookupKey): New. Singleton instance of BundleKey.
8860         (nullEntry): New. Cache entry to represent failed lookups.
8861         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
8862         caching strategy, no-allocation lookup, and new tryBundle methods.
8863         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
8864         name using given classloader.
8865         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
8866         baseName for given Locale and attempt to load bundle.
8867
8868 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8869
8870         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
8871         illegal protected method calls.
8872
8873 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8874
8875         Fix or remove some bogus test cases.
8876         * testsuite/libjava.compile/pr10459_2.java: Removed.
8877         * testsuite/libjava.compile/pr10459.java: Test using its own method,
8878         not Object.clone().
8879         * testsuite/libjava.compile/inner_data.java: Test against its own
8880         protected field.
8881
8882 2004-07-09  Michael Koch  <konqueror@gmx.de>
8883
8884         * scripts/unicode-muncher.pl: Updated to version 2.1
8885         from GNU classpath. Added some clarifications on where to find the
8886         needed files from www.unicode.org.
8887         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
8888         gnu/gcj/convert/UnicodeData-3.0.0.txt:
8889         Removed, these can directly be downloaded from www.unicode.org if
8890         needed. 
8891         * gnu/java/lang/CharData.java: Regenerated.
8892         * include/java-chartables.h: Regenerated.
8893         * Makefile.am (ordinary_java_source_files):
8894         Removed gnu/java/lang/CharData.java.
8895         * Makefile.in: Regenerated.
8896
8897 2004-07-09  Michael Koch  <konqueror@gmx.de>
8898
8899         * java/security/AccessControlContext.java,
8900         java/security/SecureClassLoader.java:
8901         Fixed javadocs.
8902
8903 2004-07-09  Michael Koch  <konqueror@gmx.de>
8904
8905         * java/io/ObjectInputStream.java (readFields): Use long datatype
8906         when shifting byte values more then 24 bits left.
8907
8908 2004-07-09  Michael Koch  <konqueror@gmx.de>
8909
8910         * java/util/zip/DeflaterOutputStream.java,
8911         java/util/zip/GZIPInputStream.java,
8912         java/util/zip/GZIPOutputStream.java,
8913         java/util/zip/InflaterInputStream.java:
8914         Reformatted. Added javadocs. Reordered all stuff.
8915         Renamed variables to be more clear.
8916
8917 2004-07-09  Michael Koch  <konqueror@gmx.de>
8918
8919         * javax/imageio/IIOException.java,
8920         javax/imageio/event/IIOReadProgressListener.java,
8921         javax/imageio/event/IIOReadUpdateListener.java,
8922         javax/imageio/event/IIOReadWarningListener.java,
8923         javax/imageio/event/IIOWriteProgressListener.java,
8924         javax/imageio/event/IIOWriteWarningListener.java:
8925         New files.
8926         * Makefile.am: Added new files.
8927         * Makefile.in: Regenerated.
8928
8929 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
8930
8931         * java/text/RuleBasedCollator.java
8932         (mergeRules): Use ArrayList instead of Vector.
8933         (subParseString): likewise.
8934         (parseString): likewise.
8935         (buildCollationVector): likewise.
8936         (getCollationKey): likewise.
8937
8938 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
8939
8940         * java/text/DateFormat.java (parse):
8941         Improved javadoc. Improved exception message.
8942
8943 2004-07-09  Mark Wielaard  <mark@klomp.org>
8944
8945         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
8946         interrupted() method to clear interupt flag of our Thread.
8947
8948 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
8949
8950         * java/nio/Buffer.java,
8951         java/nio/ByteBuffer.java,
8952         java/nio/ByteBufferHelper.java,
8953         java/nio/ByteBufferImpl.java,
8954         java/nio/CharBuffer.java,
8955         java/nio/CharBufferImpl.java,
8956         java/nio/CharViewBufferImpl.java,
8957         java/nio/DirectByteBufferImpl.java,
8958         java/nio/DoubleBuffer.java,
8959         java/nio/DoubleBufferImpl.java,
8960         java/nio/DoubleViewBufferImpl.java,
8961         java/nio/FloatBuffer.java,
8962         java/nio/FloatBufferImpl.java,
8963         java/nio/FloatViewBufferImpl.java,
8964         java/nio/IntBuffer.java,
8965         java/nio/IntBufferImpl.java,
8966         java/nio/IntViewBufferImpl.java,
8967         java/nio/LongBuffer.java,
8968         java/nio/LongBufferImpl.java,
8969         java/nio/LongViewBufferImpl.java,
8970         java/nio/MappedByteBufferImpl.java,
8971         java/nio/ShortBuffer.java,
8972         java/nio/ShortBufferImpl.java,
8973         java/nio/ShortViewBufferImpl.java:
8974         Fixed javadocs all over. Improved input error
8975         checking.
8976
8977         * java/nio/Buffer.java
8978         (checkForUnderflow, checkForOverflow, checkIndex,
8979         checkIfReadOnly, checkArraySize): New helper methods
8980         for error checking.
8981
8982         * java/nio/ByteBufferHelper.java
8983         (checkRemainingForRead, checkRemainingForWrite,
8984         checkAvailableForRead, checkAvailableForWrite): Removed
8985         no longer needed methods.
8986
8987 2004-07-09  Michael Koch  <konqueror@gmx.de>
8988
8989         * gnu/regexp/CharIndexedInputStream.java:
8990         Reordered imports to match classpath.
8991
8992 2004-07-09  Michael Koch  <konqueror@gmx.de>
8993
8994         * gnu/java/awt/EmbeddedWindow.java:
8995         Load native library for setWindowPeer method.
8996
8997 2004-07-08  Randolph Chung  <tausq@debian.org>
8998
8999         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9000         * configure: Regenerate.
9001         * configure.host: Set can_unwind_signal for hppa*-linux.
9002         * include/pa-signal.h: New file.
9003
9004 2004-07-07  Per Bothner  <per@bothner.com>
9005
9006         * Makefile.am:  Add rules to build libgij from just gij.cc.
9007
9008         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
9009         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
9010         (initializeClass):  If verbose_class_flag, print message.
9011         * gij.cc (main):  Handle -verbose:class flag.
9012
9013 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
9014
9015         * configure.host: Enable hash synchronization on Darwin.
9016         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9017         ';', since this is a comment on Darwin.
9018         (compare_and_swap_release): Likewise.
9019
9020 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
9021
9022         * java/net/URLStreamHandler.java (parseURL): Canonicalize
9023         file portion of URL in addition to spec for file: protocol.
9024
9025 2004-07-05  Anthony Green  <green@redhat.com>
9026
9027         * java/io/File.java (toURI): Merge from Classpath.
9028
9029 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9030
9031         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9032         before passing to URL constructor. Rethrow any MalformedURLException
9033         as a RuntimeException. Catch MalformedURLException specifically, not
9034         all exceptions.
9035
9036 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9037
9038         * java/util/Locale.java (readObject): Intern strings read from object
9039         stream.
9040
9041 2004-07-04  Michael Koch  <konqueror@gmx.de>
9042
9043         * gnu/gcj/runtime/FirstThread.java,
9044         gnu/gcj/runtime/natFirstThread.cc: Removed.
9045         * gnu/java/lang/MainThread.java,
9046         gnu/java/lang/natMainThread.cc: New files.
9047         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9048         * Makefile.am: Added new files and removed deleted ones.
9049         * Makefile.in: Regenerated.
9050
9051 2004-07-03  Mark Wielaard  <mark@klomp.org>
9052             Anthony Green  <green@redhat.com>
9053
9054         * java/net/URL.java (getFile): Clarify return value doc.
9055         (getPath): Return null if file is empty - not empty String.
9056         (set): Convert protocol to lower case before doing anything.
9057         Only change the protocol handler if it's different.
9058
9059 2004-07-03  Anthony Green  <green@redhat.com>
9060
9061         * java/net/URL.java (URL): Convert protocol to lower case before
9062         doing anything, so we getURLStreamHandler() with the proper value.
9063
9064 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
9065
9066         * java/util/Locale.java (hashcode): Made transient.
9067         (hashCode): No longer synchronized.
9068         (equals): Remove comment.
9069         (writeObject): No longer synchronized. Implement using writeObject 
9070         calls instead of tweaking hashCode field. Update doc.
9071         (readObject): Implement using readObject calls.
9072
9073 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
9074             Andreas Tobler  <a.tobler@schweiz.ch>
9075
9076         * configure.host (powerpc-*-darwin*): New case, define
9077         can_unwind_signal.
9078         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9079         * configure: Regenerate.
9080         * include/darwin-signal.h: New.
9081
9082 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
9083
9084         * java/beans/Statement.java (doExecute): Fix formatting.
9085
9086 2004-06-29  Per Bothner  <per@bothner.com>
9087
9088         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9089         etc etc):  Remove needless parenthesis, which causes __stdcall__
9090         attribute on MinGW to get ignored.
9091
9092 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
9093
9094         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9095
9096 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
9097
9098         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9099
9100 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
9101
9102         * java/beans/Expression.java: New file.
9103         * java/beans/Statement.java: New file.
9104         * Makefile.am: Added new files.
9105         * Makefile.in: Re-generate.
9106
9107 2004-06-27 Mark Wielaard  <mark@klomp.org>
9108
9109         * java/io/FilePermission.java (usingPerms): Removed.
9110         (actionsString): Made final.
9111         (cachePerms): Renamed to checkPerms.
9112         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9113         on action String.
9114         (FilePermission): Check arguments, call checkPerms().
9115         (equals): Remove cachePerms() call.
9116         (implies): Likewise.
9117
9118 2004-06-27  Mark Wielaard  <mark@klomp.org>
9119
9120         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9121         final field.
9122         (sendRequest): Use new field in user-agent http agent.
9123
9124 2004-06-27  Mark Wielaard  <mark@klomp.org>
9125
9126         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9127         when argument is null.
9128
9129 2004-06-26  Mark Wielaard  <mark@klomp.org>
9130
9131         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9132         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9133         GetMethodID call.
9134         (cancel_clicked): Likewise.
9135
9136 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
9137
9138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9139         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9140         can not calculate the right value.
9141         (dpi_changed_cb): Likewise. Mark *pspec as unused.
9142
9143 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
9144
9145         * testsuite/libjava.jacks/jacks.xfail: Remove
9146         15.9.1-qualified-concrete-20.
9147
9148 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9149
9150         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9151         encoding name to iconv.
9152         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9153
9154 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9155
9156         PR libgcj/16134:
9157         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
9158         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9159         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9160
9161 2004-06-21  Andrew Haley  <aph@redhat.com>
9162
9163         * java/io/ObjectOutputStream.java: Add DEBUG statements
9164         everywhere.
9165         (dumpElementln): New method.
9166         (depth): New field.
9167         * java/io/ObjectInputStream.java
9168         (currentClassLoader): Make native.
9169         (callersClassLoader): New field.
9170         (depth): New field.
9171         (readObject): ENDBLOCKDATA is generated if the class has a write
9172         method, not if it has a read method.
9173         (readObject): Save and restore this.currentObject and
9174         this.currentObjectStreamClass around calls to callReadMethod().
9175         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9176         method.
9177
9178 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
9179
9180         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9181         darwin.
9182
9183 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9184
9185         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9186         if desired, before the default class loader is initialised.
9187         Call INIT_SEGV only if HANDLE_SEGV is defined.
9188
9189 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9190
9191         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9192         directory only if it actually exists.
9193
9194 2004-06-18  Graydon Hoare  <graydon@redhat.com>
9195
9196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9197         Fix up non-ansi comments.
9198
9199 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9200
9201         * javax/swing/text/AbstractDocument.java: Adding missing import
9202         for javax.swing.event.EventListenerList.
9203         * javax/swing/text/DefaultCaret.java: Likewise.
9204
9205 2004-06-17  Michael Koch  <konqueror@gmx.de>
9206
9207         * javax/swing/JToolBar.java
9208         (name): Removed.
9209         (JToolBar): Use Component.setName(String) instead of doing it all
9210         alone.
9211         * javax/swing/Timer.java
9212         (queueEvent): Added missing modifier.
9213
9214 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
9215
9216         * Makefile.am: Added new file.
9217         * Makefile.in: Re-generate.
9218         * javax/swing/JMenu.java:
9219         (insertSeparator): Implemented.
9220         * javax/swing/JPopupMenu.java:
9221         (JPopupMenu.Separator): Implemented.
9222         * javax/swing/MenuSelectionManager.java:
9223         (processMouseEvent): Use java.awt.Component 
9224         for event source instead of javax.swing.JComponent. 
9225         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9226         New File. Implemented.
9227         
9228 2004-06-16  David Jee  <djee@redhat.com>
9229
9230         * java/awt/GridBagLayout.java
9231         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9232         Make sure pos_x and pos_y are never negative.
9233
9234 2004-04-16  Andrew Overholt  <overholt@redhat.com>
9235
9236         * Makefile.am: Add new file.
9237         * Makefile.in: Re-generate.     
9238         * javax/swing/JToolBar.java
9239         Partially implemented.
9240         * javax/swing/plaf/basic/BasicToolBarUI.java
9241         New file. Partially implemented.
9242
9243 2004-06-16  Graydon Hoare  <graydon@redhat.com>
9244
9245         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
9246         (setComposite): Accept AlphaComposite arguments.
9247         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9248         (createBufferedImage): Add new overloads.
9249         * gnu/java/awt/peer/gtk/GtkToolkit.java
9250         (createImage): Use GdkPixbufDecoder.createBufferedImage
9251         when useGraphics2D() is true.
9252         (getImage): Delegate to createImage.
9253         * javax/swing/JList.java
9254         (isSelectionEmpty):
9255         (getFirstVisibleIndex):
9256         (getLastVisibleIndex):
9257         (setSelectedValue):
9258         (ensureIndexIsVisible): New methods.
9259         * javax/swing/Timer.java: Reimplement.
9260
9261 2004-06-16  Michael Koch  <konqueror@gmx.de>
9262
9263         * javax/swing/text/AbstractDocument.java
9264         (AbstracElement): Made public, implements java.io.Serializable.
9265         (AttributeContext): Made public.
9266         (BranchElement): Likewise.
9267         (Content): Likewise.
9268         (DefaultDocumentEvent): Made public, extends
9269         javax.swing.undo.CompoundEdit.
9270         (ElementEdit): Made public, extends
9271         javax.swing.undo.AbstractUndoableEdit.
9272         (LeafElement): Made public.
9273         (LeafElement.LeafElement): Made public.
9274
9275 2004-06-16  Michael Koch  <konqueror@gmx.de>
9276
9277         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9278         methods (that were obviously never be intended to get included hi this
9279         class. Added some methods too.
9280
9281 2004-06-16  Michael Koch  <konqueror@gmx.de>
9282
9283         * javax/swing/text/PlainDocument.java
9284         (serialVersionUID): New constant.
9285         (lineLimitAttribute): Likewise.
9286         (tabSizeAttribute): Likewise.
9287         (tabSize): New field.
9288         (PlainDocument): Made public.
9289         (PlainDocument): New constructor.
9290
9291 2004-06-16  Michael Koch  <konqueror@gmx.de>
9292
9293         * javax/swing/text/AbstractDocument.java
9294         (insertString): Throws BadLocationException.
9295         * javax/swing/text/Document.java
9296         (insertString): Likewise.
9297         * javax/swing/text/JTextComponent.java:
9298         Javadocs and comments cleaned up.
9299
9300 2004-06-16  Michael Koch  <konqueror@gmx.de>
9301
9302         * javax/swing/event/UndoableEditListener.java: Reformatted.
9303         * javax/swing/text/AbstractDocument.java
9304         (AbstractDocument): Implements java.io.Serializable.
9305         (doc_list): Removed.
9306         (undo_list): Removed.
9307         (AbstractElement.serialVerionUID): New field.
9308         (BranchElement.serialVerionUID): Likewise.
9309         (DefaultDocumentEvent.serialVerionUID): Likewise.
9310         (ElementEdit.serialVerionUID): Likewise.
9311         (LeafElement.serialVerionUID): Likewise.
9312         (serialVerionUID): Likewise.
9313         (BAD_LOCATION): New constant.
9314         (BidiElementName): Likewise.
9315         (ContentElementName): Likewise.
9316         (ParagraphElementName): Likewise.
9317         (SectionElementName): Likewise.
9318         (ElementNameAttribute): Likewise.
9319         (AbstractDocument): Made protected.
9320         (AbstractDocument): New construtor.
9321         (listenerList): New field.
9322         (fireChangedUpdate): Implemented.
9323         (fireInsertUpdate): Likewise.
9324         (fireRemoveUpdate): Likewise.
9325         (fireUndoableEditUpdate): Likewise.
9326         (getListeners): Likewise.
9327         (addDocumentListener): Likewise.
9328         (removeDocumentListener): Likewise.
9329         (addUndoableEditListener): Likewise.
9330         (removeUndoableEditListener): Likewise.
9331         (getDocumentListeners): New method.
9332         (getUndoableEditListeners): Likewise.
9333         (getAsynchronousLoadPriority): Made public.
9334         (getBidiRootElement): Likewise.
9335         (setAsynchronousLoadPriority): Likewise.
9336         (setDocumentProperties): Likewise.
9337         * javax/swing/text/BadLocationException.java
9338         (serialVerionUID): New field.
9339         * javax/swing/text/DefaultCaret.java
9340         (changeEvent): New field.
9341         (listenerList): Likewise.
9342         (changes): Removed.
9343         (addChangeListener): Reimplemented.
9344         (removeChangeListener): Likewise.
9345         (getListeners): New method.
9346         (getChangeListeners): Likwise.
9347         (getComponent): Likewise.
9348         * javax/swing/text/GapContent.java
9349         (GapContent): Implements java.io.Serializable.
9350         (serialVerionUID): New field.
9351
9352 2004-06-16  Michael Koch  <konqueror@gmx.de>
9353
9354         * javax/swing/JTree.java
9355         (treeModel): New field.
9356         (JTree): New constructors, one existing one made public.
9357         (createTreeModel): New method.
9358         (addTreeExpansionListener): Likewise.
9359         (removeTreeExpansionListener): Likewise.
9360         (getTreeExpansionListeners): Likewise.
9361         (fireTreeCollapsed): Likewise.
9362         (fireTreeExpanded): Likewise.
9363         (addTreeSelectionListener): Likewise.
9364         (removeTreeSelectionListener): Likewise.
9365         (getTreeSelectionListeners): Likewise.
9366         (fireValueChanged): Likewise.
9367         (addTreeWillExpandListener): Likewise.
9368         (removeTreeWillExpandListener): Likewise.
9369         (getTreeWillExpandListeners): Likewise.
9370         (fireTreeWillCollapse): Likewise.
9371         (fireTreeWillExpand): Likewise.
9372
9373 2004-06-16  Michael Koch  <konqueror@gmx.de>
9374
9375         * javax/swing/JTree.java: Reformatted.
9376
9377 2004-06-16  Michael Koch  <konqueror@gmx.de>
9378
9379         * javax/swing/JTextArea.java: New file.
9380         * javax/swing/JTextField.java
9381         (actions): Removed.
9382         (notifyAction): New constant.
9383         (columns): New field.
9384         (JTextField): New constructors.
9385         (createDefaultModel): New method.
9386         (addActionListener): Reimplmemented.
9387         (removeActionListener): Reimplemented.
9388         (getActionListeners): New method.
9389         (fireActionPerformed): New method.
9390         (getColumns): New method.
9391         (setColumne): New method.
9392         * javax/swing/text/JTextComponent.java
9393         (AccessibleJTextComponent.serialVersionUID): New field.
9394         (serialVersionUID): Likewise.
9395         (DEFAULT_KEYMAP): Likewise.
9396         (FOCUS_ACCELERATOR_KEY): Likewise.
9397         (doc): Made private.
9398         (icon_gap): Likewise.
9399         (icon): Likewise.
9400         (align): Likewise.
9401         (JTextComponent): Some constructors removed.
9402         (getScrollableTracksViewportHeight): New method.
9403         (getScrollableTracksViewportWidth): Likewise.
9404         * Makefile.am: Added javax/swing/JTextArea.java.
9405         * Makefile.in: Regenerated.
9406
9407 2004-06-15  Graydon Hoare  <graydon@redhat.com>
9408
9409         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9410         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9411         * javax/swing/JViewport.java 
9412         (getExtentSize): Return size rather than preferred size.
9413         (toViewCoordinates): New methods.
9414         (getViewSize): Return size rather than preferred size.
9415         (setViewSize): Note view size as set.
9416         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9417         * javax/swing/plaf/basic/BasicScrollBarUI.java 
9418         (getPreferredSize): Don't redo layout.
9419         * javax/swing/plaf/basic/BasicViewportUI.java 
9420         (paint): Translate image properly and eat exceptions.
9421
9422 2004-06-15  Kim Ho  <kho@redhat.com>
9423
9424         * javax/swing/JTabbedPane.java
9425         (setComponent): Remove old component and
9426         add new component.
9427         (setSelectedIndex): Don't operate on the 
9428         components if they're null. Don't set index
9429         on the model if the index is the same.
9430         (insertTab): Don't add or hide the component
9431         if it's null. Repaint the container.
9432         * javax/swing/plaf/basic/BasicLookAndFeel.java
9433         Change colors for TabbedPane.
9434         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9435         (mousePressed): Re-layout and paint the component.
9436         (layoutContainer): Don't set location on the view.
9437         (ScrollingViewport::paint): Remove.
9438
9439 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9440
9441         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9442         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9443
9444         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9445         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9446         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
9447         critical region.
9448         (drawLine): Call gdk_flush before leaving GDK critical region.
9449         (fillRect): Likewise.
9450         (drawRect): Likewise.
9451         (copyArea): Likewise.
9452         (copyPixmap): Likewise.
9453         (clearRect): Likewise.
9454         (drawArc): Likewise.
9455         (drawPolyline): Likewise.
9456         (drawPolygon): Likewise.
9457         (fillPolygon): Likewise.
9458         (fillArc): Likewise.
9459         (drawOval): Likewise.
9460         (fillOval): Likewise.
9461
9462         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9463         style parameter.
9464         (GdkFontMetrics): Add style argument to initState call.
9465         (stringWidth(String,int,int,String)): Add style parameter.
9466         (stringWidth(String)): Add style argument to stringWidth call.
9467         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9468         (initState): Set pango font style and weight based on AWT style
9469         parameter.  Pass default GTK language to
9470         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
9471         simply dividing by PANGO_SCALE.
9472         (stringWidth): Set pango font style and weight based on AWT style
9473         parameter.
9474
9475         * java/awt/Button.java (next_button_number): New field.
9476         (paramString): Change output.
9477         (generateName): New method.
9478         (getUniqueLong): New method.
9479
9480 2004-06-14  Kim Ho  <kho@redhat.com>
9481
9482         * javax/swing/JTabbedPane.java:
9483         (setComponentAt): Set the component, not
9484         the enabled status.
9485         * javax/swing/plaf/basic/BasicDesktopIconUI.java
9486         (actionPerformed): Let deiconize catch exception.
9487
9488 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9489
9490         * javax/swing/JPopupMenu.java:
9491         (setVisible): Corrected location of a 
9492         heavyweight popup menu.
9493
9494 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9495
9496         * javax/swing/MenuSelectionManager.java: 
9497         Ran through jalopy to fix formatting style.
9498
9499 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9500         
9501         * javax/swing/JLayeredPane.java: 
9502         (remove): Revalidate and repaint layered pane after
9503         the component was removed.
9504         javax/swing/JMenu.java:
9505         (setVisible): Display popup menu at the user location,
9506         if one was set by the user.
9507         (setMenuLocation): Reimplemented. Fixed javadoc.
9508         * javax/swing/JMenuBar.java: Added javadoc.
9509         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9510         (MODEL_CHANGED_PROPERTY): New Property.
9511         (isSelected): Implemented.
9512         (setBorderPainted): Fire PropertyChangeEvent
9513         if paintBorder property changes.
9514         (setSelected): Implemented.
9515         (setSelectionModel): Implemented.
9516         * javax/swing/JPopupMenu.java: Added Javadoc
9517         (pack): Implemented.
9518         (setVisible): Reimplemented.
9519         (show): Fixed location.
9520         (JPopupMenu.LigthWeightPopup): Reimplemented to use
9521         Container instead of JPanel.
9522         * javax/swing/MenuSelectionManager.java: Added Javadocs.
9523         (clearSelectedPath): Reimplemented to clear selectedPath
9524         in reverse order.
9525         (processMouseEvent): Reimplemented.
9526         (setSelectedPath): Fire stateChange event indicating that
9527         selected menu path has changed.
9528         (getPath): Change to use ArrayList instead of Vector.
9529         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9530         (installUI): call installKeyboardActions().
9531         (uninstallUI): call uninstallKeyboardActions().
9532
9533 2004-06-13  Michael Koch  <konqueror@gmx.de>
9534
9535         * javax/swing/text/DefaultCaret.java,
9536         javax/swing/text/BadLocationException.java:
9537         Reformatted.
9538
9539 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
9540
9541         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9542         DEFAULT_COLS): New variables.
9543         (create): Don't allow 0 rows or 0 columns.  Instead, set the
9544         values to DEFAULT_ROWS or DEFAULT_COLS.
9545         (getMinimumSize): Likewise.
9546         (getPreferredSize): Likewise.
9547         (minimumSize): Likewise.
9548         (preferredSize): Likewise.
9549         (create): Set peer's editable state.
9550         * java/awt/TextArea.java (TextArea()): Set rows and columns to
9551         zero.  Update javadocs.
9552         (TextArea(String)): Likewise.
9553         (TextArea(int,int)): Fix javadocs.
9554         (TextArea(String,int,int,int)): Only throw exception if one of
9555         rows or columns is zero.  Fix javadocs.
9556
9557 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9558
9559         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9560         addition to Components.
9561
9562         * java/awt/MenuItem.java (dispatchEventImpl): If the event
9563         wasn't consumed by normal processing, send it to the parent
9564         menu.
9565
9566         * gnu/java/awt/peer/gtk/GtkImagePainter.java
9567         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9568         translation.
9569
9570 2004-06-11  David Jee  <djee@redhat.com>
9571
9572         * java/awt/MediaTracker.java
9573         (addImage(Image,int)): Call imageUpdate() to udpate image status.
9574         (addImage(Image,int,int,int)): Likewise.
9575
9576 2004-06-11  Michael Koch  <konqueror@gmx.de>
9577
9578         * javax/swing/text/AbstractDocument.java,
9579         javax/swing/text/Document.java,
9580         javax/swing/text/GapContent.java,
9581         javax/swing/text/JTextComponent.java,
9582         javax/swing/text/PlainDocument.java:
9583         Reformatted.
9584
9585 2004-06-11  Michael Koch  <konqueror@gmx.de>
9586
9587         * javax/swing/JRootPane.java
9588         (AccessibleJRootPane.serialVersionUID): New field.
9589         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9590         (AccessibleJRootPane.getAccessibleRole): New method.
9591         (RootLayout): Implements Serializable.
9592         (RootLayout.serialVersionUID): New field.
9593         (RootLayout.RootLayout): New constructor.
9594         (setJMenuBar): Made public.
9595         (getJMenuBar): Likewise.
9596         (JRootPane): Likewise.
9597         (createContentPane): Likewise.
9598         (createGlassPane): Likewise.
9599         (createLayeredPane): Likewise.
9600
9601 2004-06-11  Michael Koch  <konqueror@gmx.de>
9602
9603         * javax/swing/SwingUtilities.java
9604         (isLeftMouseButton): Fixed javadoc.
9605         (isMiddleMouseButton): Likewise.
9606         (isRightMouseButton): Likewise.
9607
9608 2004-06-11  Michael Koch  <konqueror@gmx.de>
9609
9610         * javax/swing/JScrollPane.java
9611         (serialVersionUID): New field.
9612         (columnHeader): Made protected.
9613         (rowHeader): Likewise.
9614         (lowerLeft): Likewise.
9615         (lowerRight): Likewise.
9616         (upperLeft): Likewise.
9617         (upperRight): Likewise.
9618         (horizontalScrollBar): Likewise.
9619         (horizontalScrollBarPolicy): Likewise.
9620         (verticalScrollBar): Likewise.
9621         (verticalScrollBarPolicy): Likewise.
9622         (viewport): Likewise.
9623
9624 2004-06-11  Michael Koch  <konqueror@gmx.de>
9625
9626         * javax/swing/LookAndFeel.java: Fixed javadocs.
9627
9628 2004-06-11  Michael Koch  <konqueror@gmx.de>
9629
9630         * javax/swing/JEditorPane.java: Fixed javadocs.
9631         (JEditorPane): Removed redundant call to to this().
9632         (fireHyperlinkUpdate): Implemented.
9633
9634 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9635
9636         * javax/swing/JMenu.java: Fixed file name 
9637         in the file comment.
9638
9639 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9640
9641         * javax/swing/JMenu.java: Added javadoc.
9642         (JMenu): Added MenuChangeListener to listen to 
9643         ChangeEvents occuring in menu's model. 
9644         (insert): Throw IllegalArgumentException if 
9645         index is less than 0
9646         (setSelected): Reimplement.
9647         (setPopupMenuVisible): Call menu's model isEnabled()
9648         (setDelay): Throw IllegalArgumentException if 
9649         given amount of delay is less than 0.
9650         (createActionComponent): Implemented.
9651         (createActionChangeListener): Implemented.
9652         (addSeparator): Implemented.
9653         (getItem): Throw IllegalArgumentException if index is 
9654         less than 0.
9655         (getItemCount): Implemented.
9656         (fireMenuSelected): Changed to use menuEvent.
9657         (fireMenuDeselected): Likewise.
9658         (fireMenuCanceled): Likewise.
9659         (setAccelerator): Changed to throw an error if this 
9660         method is used. 
9661         (doClick): Implemented.
9662         (JMenu.ActionChangedListener): New inner class to handle
9663         PropertyChangeEvents occuring in the actions associated with menu.
9664         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9665         (BasicMenuUI): Added PropertyChangeListener to the menu.
9666         (createChangeListener): Implemented.
9667         (createMenuDragMouseListener): Likewise.
9668         (createMenuKeyListener): Likewise.
9669         (createPropertyChangeListener): Likewise.
9670         (uninstallListeners): Likewise.
9671         (BasicMenuUI.MouseInputHandler): Reimplemented.
9672         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9673         (BasicMenuUI.ChangeHandler): Likewise.
9674         (BasicMenuUI.MenuDragMouseHandler): Likewise.
9675         (BasicMenuUI.MenuKeyHandler): Likewise.
9676
9677 2004-06-10  David Jee  <djee@redhat.com>
9678
9679         * java/awt/MediaTracker.java
9680         (imageUpdate): Only do notifyAll() if the image is complete.
9681
9682 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9683
9684         * javax/swing/JApplet.java:
9685         (getJMenuBar): Made public.
9686         (setJMenuBar): Likewise.
9687         * javax/swing/JFrame.java:
9688         (getJMenuBar): Made public.
9689         (setJMenuBar): Likewise.
9690         * javax/swing/JWindow.java:
9691         (getJMenuBar): Removed.
9692         (setJMenuBar): Removed.
9693
9694 2004-06-10  Michael Koch  <konqueror@gmx.de>
9695
9696         * javax/swing/JEditorPane.java
9697         (createEditorKitForContentType): Fixed visibility.
9698         (fireHyperlinkUpdate): Likewise.
9699         (getContentType): Likewise.
9700         (getEditorKit): Likewise.
9701         (getEditorKitForContentType): Likewise.
9702         (getPage): Likewise.
9703         (read): Likewise.
9704         (registerEditorKitForContentTyoe): Likewise.
9705         (replaceSelection): Likewise.
9706         (setContentType): Likewise.
9707         (setEditorKit): Likewise.
9708         (setPage): Likewise.
9709
9710 2004-06-10  Michael Koch  <konqueror@gmx.de>
9711
9712         * javax/swing/Timer.java
9713         (Timer): New constructor.
9714         * javax/swing/plaf/basic/BasicProgressBarUI.java
9715         (animationTimer): Don't initialize at construction.
9716         (startAnimationTimer): Added since tag.
9717         (stopAnimationTimer): Likewise.
9718         (installUI): Use new Timer constructor.
9719         * javax/swing/plaf/basic/BasicScrollBarUI.java
9720         (installUI): Likewise.
9721         * javax/swing/plaf/basic/BasicSliderUI.java
9722         (installUI): Likewise.
9723
9724 2004-06-10  Michael Koch  <konqueror@gmx.de>
9725
9726         * javax/swing/ButtonGroup.java
9727         (serialVersionUID): Made private.
9728         (buttons): Renamed from v, added javadoc.
9729         (sel): Added javadoc.
9730         (ButtonGroup): Likewise.
9731         (add): Likewise.
9732         (remove): Likewise.
9733         (getElements): Likewise.
9734         (getSelection): Likewise.
9735         (setSelected): Likewise.
9736         (isSelected): Likewise.
9737         (getButtonCount): Likewise.
9738
9739 2004-06-10  Michael Koch  <konqueror@gmx.de>
9740
9741         * javax/swing/ButtonGroup.java,
9742         javax/swing/ImageIcon.java,
9743         javax/swing/JEditorPane.java,
9744         javax/swing/JRootPane.java,
9745         javax/swing/JTextField.java,
9746         javax/swing/LookAndFeel.java,
9747         javax/swing/plaf/basic/BasicTextUI.java:
9748         Reindented.
9749
9750 2004-06-10  Michael Koch  <konqueror@gmx.de>
9751
9752         * javax/swing/text/Style.java: Added javadocs.
9753
9754 2004-06-10  Michael Koch  <konqueror@gmx.de>
9755
9756         * javax/swing/JComponent.java
9757         (fireVetoableChange): Removed redundant cast.
9758         * javax/swing/JLabel.java
9759         (getDisabledIcon): Save icon for next call.
9760
9761 2004-06-10  Michael Koch  <konqueror@gmx.de>
9762
9763         * javax/swing/KeyStroke.java
9764         (getKeyStroke(char,boolean)): Marked deprecated.
9765
9766 2004-06-10  Michael Koch  <konqueror@gmx.de>
9767
9768         * javax/swing/DefaultCellEditor.java,
9769         javax/swing/GrayFilter.java,
9770         javax/swing/event/DocumentEvent.java,
9771         javax/swing/text/JTextComponent.java,
9772         javax/swing/text/MutableAttributeSet.java:
9773         Reindented.
9774
9775 2004-06-10  Michael Koch  <konqueror@gmx.de>
9776
9777         * javax/swing/plaf/BorderUIResource.java:
9778         Added serialVersionUID all over.
9779
9780 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
9781
9782         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9783
9784 2004-06-10  Michael Koch  <konqueror@gmx.de>
9785
9786         * javax/swing/table/DefaultTableCellRenderer.java
9787         (noFocusBorder): Initialize directly.
9788
9789 2004-06-10  Michael Koch  <konqueror@gmx.de>
9790
9791         * javax/swing/plaf/basic/BasicArrowButton.java
9792         (setDirection): Use method argument.
9793
9794 2004-06-10  Michael Koch  <konqueror@gmx.de>
9795
9796         * javax/swing/plaf/BorderUIResource.java,
9797         javax/swing/plaf/ComponentUI.java,
9798         javax/swing/undo/CompoundEdit.java,
9799         javax/swing/undo/StateEdit.java:
9800         Fixed javadocs all over.
9801
9802 2004-06-10  Michael Koch  <konqueror@gmx.de>
9803
9804         * javax/swing/DefaultButtonModel.java
9805         (ARMED): Made public final, fixed value.
9806         (ENABLED): Likewise.
9807         (PRESSED): Likewise.
9808         (ROLLOVER): Likewise.
9809         (SELECTED): Likewise.
9810         (stateMask): Initialize directly.
9811         (listenerList): Likewise.
9812         (mnemonic): Likewise.
9813         (fireStateChanged): Removed argument, use changeEvent as event.
9814         All places where this method is called are fixed too.
9815         (getActionCommant): Fixed javadoc.
9816         (setGroup): Fixed javadoc.
9817         (getGroup): New method.
9818
9819 2004-06-09  Olga Rodimina <rodimina@redhat.com>
9820
9821         * javax/swing/AbstractButton.java
9822         (AbstractButton): Use init() to initialize the button.
9823         (init): New Method. Initializes AbstractButton.
9824         * javax/swing/JMenuItem.java: Documented.
9825         (JMenuItem): Reimplemented.
9826         (init): Implemented.
9827         (setEnabled): Changed to call super.setEnabled()
9828         (processMouseEvent): Reimplemented.
9829         (fireMenuKeyPressed): Implemented.
9830         (fireMenuKeyReleased): Implemented.
9831         (fireMenuKeyTyped): Implemented.
9832         (menuSelectionChanged): disarm the model if the menu item was
9833         deselected.
9834         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
9835         (getPath): Change to use ArrayList instead of Vector.
9836         (getPreferredSize): Renamed variable.
9837         (paintMenuItem): Paint margin area of menu item.
9838         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
9839         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
9840         menu item's bounds before clearing the selection.       
9841
9842 2004-06-09  David Jee  <djee@redhat.com>
9843
9844         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
9845         (GtkTextComponentPeer): Set caret position to 0.
9846         * java/awt/TextComponent.java
9847         (setText): Set caret position to 0.
9848         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9849         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9850         Handle GtkScrolledWindow separately. Fix signal handler blocking.
9851         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9852         Likewise.
9853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9854         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
9855         visible.
9856
9857 2004-06-09  Kim Ho  <kho@redhat.com>
9858
9859         * Makefile.am: New files
9860         * Makefile.in: Regenerated
9861         * java/awt/Container.java
9862         (getComponentAt): Removed.
9863         * javax/swing/AbstractAction.java
9864         (ENABLED_PROPERTY): New property.
9865         (putValue): Fire PropertyChangeEvents.
9866         (setEnabled): ditto.
9867         (firePropertyChange): Javadoc and implement
9868         convenience method.
9869         * javax/swing/AbstractButton.java
9870         (setAction): Don't create PropertyChangeListener
9871         if new Action is null.
9872         (setIcon): Don't set icon till after comparing
9873         it.
9874         (configurePropertiesFromAction): Check mnemonic
9875         key before calling intValue().
9876         (createActionPropertyChangeListener): Check
9877         properties rather than bulk change.
9878         * javax/swing/DefaultDesktopManager.java:
9879         Implement.
9880         * javax/swing/DesktopManager.java:
9881         Jalopy and javadoc.
9882         * javax/swing/JComponent.java
9883         (fireVetoableChange): Implement.
9884         (paintImmediately): Use root component.
9885         * javax/swing/JDesktopPane.java: Implement
9886         * javax/swing/JInternalFrame.java: Implement
9887         * javax/swing/JLabel.java
9888         (getDisabledIcon): Return grayscaled icon if
9889         no disabled icon specified.
9890         * javax/swing/JMenuBar.java
9891         (getComponentAtIndex): Use getComponent
9892         * javax/swing/JOptionPane.java
9893         (getDesktopPaneForComponent): Use SwingUtilities'
9894         getAncestorOfClass
9895         (getFrameForComponent): ditto.
9896         * javax/swing/JSplitPane.java
9897         (remove): Use getComponent.
9898         * javax/swing/SwingUtilities.java
9899         (convertPoint): Implement.
9900         * javax/swing/plaf/basic/BasicButtonUI.java
9901         (paintButtonNormal): Check opaqueness before
9902         filling background.
9903         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
9904         Implement
9905         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
9906         Implement.
9907         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
9908         Implement.
9909         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
9910         Implement.
9911         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9912         Change InternalFrame and Desktop colors.
9913
9914 2004-06-09  David Jee  <djee@redhat.com>
9915
9916         * java/awt/Container.java
9917         (remove): Do not set component to invisible.
9918
9919 2004-06-09  Michael Koch  <konqueror@gmx.de>
9920
9921         * javax/swing/tree/DefaultMutableTreeNode.java
9922         (getLeafCount): Renamed enum to e.
9923
9924 2004-06-09  Michael Koch  <konqueror@gmx.de>
9925
9926         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9927         (positionForMouseEvent): Removed redundant semicolon.
9928         (continueDrag): Use method arguments.
9929
9930 2004-06-09  Michael Koch  <konqueror@gmx.de>
9931
9932         * javax/swing/border/TitledBorder.java,
9933         javax/swing/filechooser/FileSystemView.java,
9934         javax/swing/plaf/basic/BasicButtonListener.java,
9935         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9936         javax/swing/plaf/basic/BasicLabelUI.java,
9937         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
9938         javax/swing/plaf/basic/BasicScrollBarUI.java,
9939         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9940         javax/swing/plaf/basic/BasicSliderUI.java,
9941         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9942         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9943         javax/swing/table/JTableHeader.java,
9944         javax/swing/text/AbstractDocument.java,
9945         javax/swing/text/DefaultCaret.java,
9946         javax/swing/text/StyledEditorKit.java,
9947         javax/swing/tree/DefaultTreeCellEditor.java:
9948         Reworked import statements.
9949
9950 2004-06-08  Graydon Hoare  <graydon@redhat.com>
9951
9952         * javax/swing/Box.java: Temporarily comment out code
9953         broken due to visibility bug.
9954
9955 2004-06-09  Michael Koch  <konqueror@gmx.de>
9956
9957         * javax/swing/ImageIcon.java
9958         (ImageIcon): Added missing constructor.
9959
9960 2004-06-08  Michael Koch  <konqueror@gmx.de>
9961
9962         * javax/swing/JToggleButton.java
9963         (JToggleButton): New constructor.
9964         (getAccessibleContext): Moved documentation into javadoc.
9965         (getUIClassID): Likewise.
9966
9967 2004-06-08  Michael Koch  <konqueror@gmx.de>
9968
9969         * javax/swing/AbstractButton.java
9970         (getDisabledIcon): Create disabled icon if none exists yet.
9971
9972 2004-06-08  Michael Koch  <konqueror@gmx.de>
9973
9974         * javax/swing/plaf/basic/BasicLookAndFeel.java
9975         (initClassDefaults): Added FormattedTextFieldUI.
9976         (loadResourceBundle): Renamed enum to e.
9977
9978 2004-06-08  Michael Koch  <konqueror@gmx.de>
9979
9980         * javax/swing/plaf/basic/BasicButtonUI.java
9981         (paintIcon): Simplified.
9982         (paintText): Paint disabled button correctly.
9983
9984 2004-06-08  Michael Koch  <konqueror@gmx.de>
9985
9986         * javax/swing/JComponent.java
9987         (createToolTip): Use official JToolTip API.
9988
9989 2004-06-08  Michael Koch  <konqueror@gmx.de>
9990
9991         * javax/swing/JToolTip.java
9992         (JToolTip): No arguments in API.
9993         (setTipText): New method.
9994
9995 2004-06-08  Michael Koch  <konqueror@gmx.de>
9996
9997         * javax/swing/SwingUtilities.java
9998         (isLeftMouseButton): New method.
9999         (isMiddleMouseButton): New method.
10000         (isRightMouseButton): New method.
10001
10002 2004-06-08  Michael Koch  <konqueror@gmx.de>
10003
10004         * javax/swing/AbstractButton.java,
10005         javax/swing/CellRendererPane.java,
10006         javax/swing/JCheckBoxMenuItem.java,
10007         javax/swing/JColorChooser.java,
10008         javax/swing/JComboBox.java,
10009         javax/swing/JComponent.java,
10010         javax/swing/JDesktopPane.java,
10011         javax/swing/JFileChooser.java,
10012         javax/swing/JMenu.java,
10013         javax/swing/JMenuItem.java,
10014         javax/swing/JOptionPane.java,
10015         javax/swing/JPasswordField.java,
10016         javax/swing/JPopupMenu.java,
10017         javax/swing/JProgressBar.java,
10018         javax/swing/JRadioButtonMenuItem.java,
10019         javax/swing/JScrollBar.java,
10020         javax/swing/JSeparator.java,
10021         javax/swing/JSlider.java,
10022         javax/swing/JSplitPane.java,
10023         javax/swing/JTabbedPane.java,
10024         javax/swing/JTextField.java,
10025         javax/swing/JToolBar.java,
10026         javax/swing/text/JTextComponent.java:
10027         Fixed all constructors of accessibility classes.
10028
10029 2004-06-08  Michael Koch  <konqueror@gmx.de>
10030
10031         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10032         over.
10033
10034 2004-06-08  Michael Koch  <konqueror@gmx.de>
10035
10036         * javax/swing/Box.java
10037         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10038         (AccessibleBoxFiller.serialVersionUID): New member variable.
10039         * javax/swing/DefaultButtonModel.java
10040         (stateMask): Made protected.
10041         (listenerList): Likewise.
10042         (changeEvent): Likewise.
10043         (group): Likewise.
10044         (mnemonic): Likewise.
10045         (actionCommand): Likewise.
10046         (getListeners): New method.
10047         (getActionListeners): New method.
10048         (getItemListeners): New method.
10049         (getChangeListeners): New method.
10050         (fireItemStateChanged): Simplified.
10051         (fireActionPerformed): Simplified.
10052         (fireStateChanged): Simplified.
10053         * javax/swing/JFrame.java
10054         (JFrame): Implements WindowContants.
10055         (HIDE_ON_CLOSE): Removed.
10056         (EXIT_ON_CLOSE): Removed.
10057         (DISPOSE_ON_CLOSE): Removed.
10058         (DO_NOTHING_ON_CLOSE): Removed.
10059         (processWindowEvent): Exit with code 0.
10060         (setDefaultCloseOperation): Do security check before setting value.
10061         * javax/swing/JOptionPane.java
10062         (message): Initialize only in constructor.
10063         * javax/swing/JToolTip.java: Removed unused imports.
10064         * javax/swing/JViewport.java
10065         (serialVersionUID): New member variable.
10066         (SIMPLE_SCROLL_MODE): Made final, fixed value.
10067         (BLIT_SCROLL_MODE): Likewise.
10068         (BACKINGSTORE_SCROLL_MODE): Likewise.
10069         (scrollUnderway): Made protected.
10070         (isViewSizeSet): Likewise.
10071         * javax/swing/ListModel.java: Fixed javadoc.
10072         * javax/swing/Popup.java: Likewise.
10073         * javax/swing/RepaintManager.java
10074         (paintDirtyRegions): Don't use internal classes of
10075         java.util.AbstractMap.
10076         * javax/swing/ScrollPaneConstants.java: Reindented.
10077         * javax/swing/ScrollPaneLayout.java
10078         (viewport): Made protected.
10079         (verticalScrollBar): Made protected, renamed to vsb.
10080         (horizontalScrollBar): Made protected, renamed to hsb.
10081         (rowHeader): Made protected, renamed to rowHead.
10082         (columnHeader): Made protected, renamed to colHead.
10083         (lowerLeft): Made protected.
10084         (lowerRight): Made protected.
10085         (upperLeft): Made protected.
10086         (upperRight): Made protected.
10087         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10088         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10089
10090 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
10091
10092         * java/awt/MediaTracker.java (imageUpdate): Only set status to
10093         LOADING if flags has SOMEBITS set.
10094
10095 2004-06-07  Michael Koch  <konqueror@gmx.de>
10096
10097         * javax/swing/AbstractButton.java: Reorganized imports.
10098         * javax/swing/ActionMap.java: Likewise.
10099         * javax/swing/DefaultButtonModel.java: Likewise.
10100         * javax/swing/DefaultListModel.java: Likewise.
10101         * javax/swing/ImageIcon.java: Likewise.
10102         (serialVersionUID): New member variable.
10103         * javax/swing/JComboBox.java: Reorganized imports.
10104         * javax/swing/JComponent.java: Likewise.
10105         (ui): Made protected.
10106         (listenerList): Made protected.
10107         (TOOL_TIP_TEXT_KEY): New constant.
10108         (scrollRectToVisible): Removed redundant null check.
10109         * javax/swing/JFrame.java: Reorganized imports.
10110         * javax/swing/JInternalFrame.java: Reorganized imports.
10111         * javax/swing/JProgressBar.java: Likewise.
10112         * javax/swing/JRootPane.java: Likewise.
10113         * javax/swing/JScrollBar.java: Likewise.
10114         * javax/swing/JSeparator.java: Likewise.
10115         * javax/swing/JSlider.java: Likewise.
10116         * javax/swing/JTabbedPane.java: Likewise.
10117         * javax/swing/JTextField.java: Likewise.
10118         * javax/swing/JToolBar.java: Likewise.
10119         * javax/swing/JTree.java: Likewise.
10120         * javax/swing/JViewport.java: Likewise.
10121         * javax/swing/JWindow.java: Likewise.
10122         * javax/swing/KeyStroke.java: Likewise.
10123         * javax/swing/LookAndFeel.java: Likewise.
10124         * javax/swing/MenuSelectionManager.java: Likewise.
10125         * javax/swing/SwingUtilities.java: Likewise.
10126         * javax/swing/Timer.java: Likewise.
10127         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10128         * javax/swing/JList.java
10129         (HORIZONTAL_WRAP): Made final, fixed value.
10130         (VERTICAL): Likewise.
10131         (VERTICAL_WRAP): Likewise.
10132
10133 2004-06-07  Michael Koch  <konqueror@gmx.de>
10134
10135         * javax/swing/AbstractButton.java
10136         (serialVersionUID): New member variable.
10137         (AccessibleAbstractButton.serialVersionUID): Likewise.
10138         (AbstractButton): Made public.
10139         * javax/swing/Box.java
10140         (AccessibleBox.serialVersionUID): New member variable.
10141         (Filler.serialVersionUID): Likewise.
10142         * javax/swing/DefaultListSelectionModel.java
10143         (serialVersionUID): Likewise.
10144         * javax/swing/JApplet.java
10145         (serialVersionUID): Likewise.
10146         * javax/swing/JCheckBox.java
10147         (serialVersionUID): Likewise.
10148         * javax/swing/JCheckBoxMenuItem.java
10149         (serialVersionUID): Likewise.
10150         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10151         * javax/swing/JColorChooser.java
10152         (serialVersionUID): Likewise.
10153         (AccessibleJColorChooser.serialVersionUID): Likewise.
10154         * javax/swing/JComponent.java
10155         (serialVersionUID): Made private.
10156         (AccessibleJComponent.serialVersionUID): New member variable.
10157         * javax/swing/JDesktopPane.java
10158         (serialVersionUID): Likewise.
10159         * javax/swing/JDialog.java
10160         (serialVersionUID): Likewise.
10161         * javax/swing/JFormattedTextField.java
10162         (serialVersionUID): Fixed value.
10163         * javax/swing/JFrame.java
10164         (serialVersionUID): New member variable.
10165         (getDefaultCloseOpertation): Made public.
10166         * javax/swing/JLayeredPane.java
10167         (serialVersionUID): Likewise.
10168         (LAYER_PROPERTY): Made final, fixed value.
10169         (JLayeredPane): Made public.
10170         * javax/swing/JMenu.java
10171         (AccessibleJMenu.serialVersionUID): New member variable.
10172         (WinListener.serialVersionUID): Likewise.
10173         * javax/swing/JMenuBar.java
10174         (serialVersionUID): Likewise.
10175         (getComponentAtIndex): Added @deprecated tag.
10176         * javax/swing/JMenuItem.java
10177         (serialVersionUID): New member variable.
10178         (AccessibleJMenuItem.serialVersionUID): Likewise.
10179         * javax/swing/JOptionPane.java
10180         (serialVersionUID): Likewise.
10181         (AccessibleJOptionPane.serialVersionUID): Likewise.
10182         * javax/swing/JPopupMenu.java
10183         (serialVersionUID): Likewise.
10184         (AccessibleJPopupMenu.serialVersionUID): Likewise.
10185         (getPopupMenuListeners): New method.
10186         (getComponentAtIndex): Added @deprecated tag.
10187         * javax/swing/JProgressBar.java
10188         (serialVersionUID): New member variable.
10189         (AccessibleJProgressBar.serialVersionUID): Likewise.
10190         * javax/swing/JRadioButton.java
10191         (serialVersionUID): Likewise.
10192         * javax/swing/JRadioButtonMenuItem.java
10193         (serialVersionUID): Likewise.
10194         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10195         * javax/swing/JScrollBar.java
10196         (serialVersionUID): Likewise.
10197         (AccessibleJScrollBar.serialVersionUID): Likewise.
10198         * javax/swing/JSeparator.java
10199         (serialVersionUID): Likewise.
10200         (AccessibleJSeparator.serialVersionUID): Likewise.
10201         * javax/swing/JSlider.java: Fixed javadocs.
10202         (AccessibleJSlider.serialVersionUID): New member variable.
10203         * javax/swing/JSplitPane.java: Added copyright statement.
10204         (serialVersionUID): New member variable.
10205         (AccessibleJSplitPane.serialVersionUID): Likewise.
10206         * javax/swing/JTabbedPane.java
10207         (serialVersionUID): Likewise.
10208         (AccessibleJTabbedPane.serialVersionUID): Likewise.
10209         (ModelListener.serialVersionUID): Likewise.
10210         (ModelListener.ModelListener): New constructor.
10211         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10212         (WRAP_TAB_LAYOUT): Likewise.
10213         * javax/swing/JTable.java
10214         (serialVersionUID): New member variable.
10215         * javax/swing/JToggleButton.java
10216         (serialVersionUID): Likewise.
10217         (ToggleButtonModel): Made static.
10218         (ToggleButtonModel.serialVersionUID): New member variable.
10219         * javax/swing/JToolTip.java
10220         (serialVersionUID): Likewise.
10221         * javax/swing/JTree.java
10222         (serialVersionUID): Likewise.
10223         * javax/swing/JWindow.java
10224         (serialVersionUID): Likewise.
10225         * javax/swing/Timer.java
10226         (serialVersionUID): Likewise.
10227
10228 2004-06-06  Michael Koch  <konqueror@gmx.de>
10229
10230         * javax/swing/SwingConstants.java
10231         (NEXT): New constant.
10232         (PREVIOUS): Likewise.
10233         * javax/swing/UIManager.java
10234         (LookAndFeel): Made public.
10235         (LookAndFeel.getClassName): Likewise.
10236         (LookAndFeel.getName): Likewise.
10237
10238 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10239
10240         * javax/swing/JCheckBoxMenuItem.java:
10241         Removed CVS tags.
10242         * javax/swing/JMenu.java: Likewise.
10243         * javax/swing/JMenuBar.java: Likewise.
10244         * javax/swing/JMenuItem.java: Likewise.
10245         * javax/swing/JPopupMenu.java: Likewise.
10246         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10247         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10248         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10249         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10250         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10251         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10252         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10253
10254 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10255         
10256         * javax/swing/plaf/basic/BasicMenuUI.java:
10257         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10258         Call getPath() from super class instead.
10259
10260 2004-05-31  David Jee  <djee@redhat.com>
10261
10262         * java/awt/Container.java
10263         (remove): Set component visibility to false after removing it.
10264
10265 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
10266
10267         * java/awt/Component.java (getForeground): Return SystemColor if
10268         parent is null.
10269         (getBackground): Likewise.
10270
10271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10272         (item_highlighted): New function.
10273         (connectSignals): Set item_highlighted as list's select
10274         function.
10275
10276         * java/applet/Applet.java: Revert changes from 2004-04-29,
10277         2004-03-15 and 2004-03-14.
10278
10279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10280         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10281         factor.
10282
10283         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10284         "Dialog" as the default font.
10285         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10286         Likewise.
10287         * java/awt/Component.java (getFont): Return "Dialog" font by
10288         default.
10289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10290         Multiply size argument to pango_font_description_set_size by the
10291         DPI conversion factor rather than by PANGO_SCALE.
10292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10302         Divide baseline y coordinate by DPI conversion factor rather
10303         than by PANGO_SCALE.
10304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10305         (area_prepared): Fix typo.
10306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10307         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10309         (dpi_conversion_factor): New global variable.
10310         (init_dpi_conversion_factor): New function to calculate and
10311         track DPI conversion factor.
10312         (dpi_changed_cb): New callback.
10313         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10314
10315 2004-05-27  David Jee  <djee@redhat.com>
10316
10317         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10318         (getGraphics): Return a new GdkGraphics instance.
10319         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10320         (getGraphics): Call super.getGraphics().
10321
10322 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10323
10324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10325         (setNativeBounds): Clamp width and height values to >= 0.
10326
10327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10328         (find_fg_color_widget): Handle GtkOptionMenu specially.
10329
10330         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10331         (pre_event_handler): Only post configure events to visible
10332         top-level windows.
10333
10334 2004-05-26  David Jee  <djee@redhat.com>
10335
10336         * java/awt/BorderLayout.java
10337         (layoutContainer): Fix size calculations.
10338
10339 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10340
10341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10342         (window_wm_protocols_filter): Remove function.
10343         (create): Remove filter that removes WM_TAKE_FOCUS client
10344         messages.
10345
10346 2004-06-17  Anthony Green  <green@redhat.com>
10347
10348         * java/util/zip/ZipFile.java (getInputStream): Return null if
10349         entry not found.
10350
10351         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10352         directory contents to the class path.
10353
10354 2004-06-15  Andrew Haley  <aph@redhat.com>
10355
10356         * java/lang/natSystem.cc (getenv0): Don't assume environment
10357         variable is Latin 1 coded.
10358
10359 2004-06-14  Andreas Jaeger  <aj@suse.de>
10360
10361         * configure.in: Support --enable-version-specific-runtime-libs.
10362         * configure: Regenerated.
10363
10364 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
10365
10366         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10367         to pass ClassLoader argument.
10368         * java/util/GregorianCalendar.java: Likewise.
10369         * java/util/Currency.java: Likewise.
10370         * java/text/BreakIterator.java: Likewise.
10371         * java/text/Collator.java: Likewise.
10372         * java/text/DateFormat.java: Likewise.
10373         * java/text/DateFormatSymbols.java: Likewise.
10374         * java/text/DecimalFormatSymbols.java: Likewise.
10375         * java/text/NumberFormat.java: Likewise.
10376         * java/awt/Window.java: Likewise.
10377
10378 2004-06-14  Andrew Haley  <aph@redhat.com>
10379
10380         * java/lang/System.java: (getenv0): New method.
10381         (getenv): Add security check.  Do the right thing.
10382         * java/lang/natSystem.cc (getenv0): New method.
10383
10384 2004-06-12  Mark Wielaard  <mark@klomp.org>
10385
10386         * javax/swing/RepaintManager.java
10387         (paintDirtyRegions): Use entrySet(), not values().
10388
10389 2004-06-10  Mark Wielaard  <mark@klomp.org>
10390
10391         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10392         NoSuchMethodError.
10393
10394 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
10395
10396         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
10397         when we already know the answer.
10398         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10399         (setStartRule,setEndRule): Don't take abs of day number.
10400         (getOffset): Clarify docs.  Add argument checks.
10401         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10402         (equals,hasSameRules,toString,readObject): Use startTimeMode and
10403         endTimeMode.
10404
10405 2004-06-10  Tom Tromey  <tromey@redhat.com>
10406
10407         * interpret.cc (run): Handle wide fload.
10408
10409 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
10410
10411         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10412
10413 2004-06-05  Michael Koch  <konqueror@gmx.de>
10414
10415         * javax/swing/SwingConstants.java
10416         (NEXT): New constant.
10417         (PREVIOUS): Likewise.
10418
10419 2004-06-05  Michael Koch  <konqueror@gmx.de>
10420
10421         * javax/swing/UIManager.java
10422         (LookAndFeel): Made public.
10423         (LookAndFeel.getName): Likewise.
10424         (LookAndFeel.getClassName): Likewise.
10425
10426 2004-06-03  Michael Koch  <konqueror@gmx.de>
10427
10428         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10429         (requestFocus): Revert last changes.
10430         (gtkRequestFocus): Removed.
10431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10432         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10433         Renamed to ...
10434         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10435         Reverted last patch.
10436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10437         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10438         Reverted comment change.
10439
10440 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10441
10442         * javax/swing/JCheckBoxMenuItem.java:
10443         Removed CVS tags.
10444         * javax/swing/JMenu.java: Likewise.
10445         * javax/swing/JMenuBar.java: Likewise.
10446         * javax/swing/JMenuItem.java: Likewise.
10447         * javax/swing/JPopupMenu.java: Likewise.
10448         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10449         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10450         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10451         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10452         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10453         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10454         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10455
10456 2004-06-01  Tom Tromey  <tromey@redhat.com>
10457
10458         * java/io/ObjectStreamField.java: Cleaned up imports.
10459
10460 2004-06-01  Michael Koch  <konqueror@gmx.de>
10461
10462         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10463       
10464 2004-06-01  Mark Wielaard  <mark@klomp.org>
10465
10466         * java/io/Writer.java (Writer(Object)): Fixed API doc.
10467
10468 2004-06-01  Michael Koch  <konqueror@gmx.de>
10469
10470         * java/security/Security.java
10471         (insertProviderAt): Use equals() instead of ==.
10472         (removeProvicer): Likewise.
10473         (getProvider): Likewise.
10474         * java/security/Signature.java
10475         (sign): Don't set state to UNINITIALIZED.
10476         (verify): Likewise.
10477
10478 2004-06-01  Mark Wielaard  <mark@klomp.org>
10479
10480         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10481         Implement by calling gtkRequestFocus.
10482         (gtkRequestFocus): New native method.
10483         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10484         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10485         Renamed to ...
10486         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10487         New function name.
10488         (filter_expose_event_handler):
10489         Mark static.
10490         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10491         (menu_pos): Mark static.
10492
10493 2004-06-01  Michael Koch  <konqueror@gmx.de>
10494
10495         * java/text/CollationElementIterator.java,
10496         java/text/CollationKey.java,
10497         java/text/RuleBasedCollator.java: New versions from GNU classpath.
10498         * testsuite/libjava.mauve/xfails: Removed all
10499         java.text.CollationElementIterator tests.
10500
10501 2004-06-01  Michael Koch  <konqueror@gmx.de>
10502
10503         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10504         version.
10505         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10506         Java 1.5 keyword usage.
10507
10508 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10509
10510         * javax/swing/plaf/basic/BasicMenuUI.java:
10511         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10512         Call getPath() from super class instead.
10513
10514 2004-05-31  Michael Koch  <konqueror@gmx.de>
10515
10516         * java/io/SequenceInputStream.java:
10517         Rename enum to e because enum is a keyword in Java 1.5.
10518
10519 2004-05-31  Michael Koch  <konqueror@gmx.de>
10520
10521         * gnu/java/rmi/rmic/CompilerProcess.java:
10522         Fixed javadoc to by XHTML compliant.
10523
10524 2004-05-30  Mark Wielaard  <mark@klomp.org>
10525
10526         * java/awt/Toolkit.java (loadSystemColors): Implement.
10527
10528 2004-05-30  Michael Koch  <konqueror@gmx.de>
10529
10530         * java/lang/System.java: Reordered imports.
10531
10532 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
10533
10534         * java/text/DecimalFormat.java
10535         (parse): Fixed parsing of decimal strings. Number of maximum
10536         digits to be read should now work.
10537         * java/text/SimpleDateFormat.java
10538         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10539         formatter. This fixes DateFormatTest.
10540
10541 2004-05-30  Michael Koch  <konqueror@gmx.de>
10542
10543         * java/nio/Buffer.java
10544         (limit): Fixed off by one error.
10545         * java/nio/CharBuffer.java
10546         (wrap): Fixed arguments, added javadocs.
10547
10548 2004-05-30  Michael Koch  <konqueror@gmx.de>
10549
10550         * gnu/java/beans/BeanInfoEmbryo.java,
10551         java/awt/im/InputContext.java,
10552         javax/swing/tree/DefaultMutableTreeNode.java:
10553         Rename enum to e because enum is a keyword in Java 1.5.
10554
10555 2004-05-30  Michael Koch  <konqueror@gmx.de>
10556
10557         * gnu/java/math/MPN.java,
10558         java/awt/geom/Arc2D.java:
10559         Fixed javadocs all over.
10560
10561 2004-05-30  Michael Koch  <konqueror@gmx.de>
10562
10563         * java/awt/DefaultKeyboardFocusManager.java
10564         (dispatchEvent): Call method to get key event dispatchers.
10565         (dispatchKeyEvent): Call method to get key event post processors.
10566         * javax/swing/JComponent.java
10567         (listenerList): Made protected.
10568         * javax/swing/JOptionPane.java
10569         (message): Don't initialize.
10570         (JOptionPane): Set message text.
10571         * javax/swing/JPopupMenu.java
10572         (show): Fixed typo in argument name.
10573         * javax/swing/RepaintManager.java
10574         (paintDirtyRegions): Use public API of java.util.Map.
10575         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10576         (positionForMouseEvent): Removed redundant ';'.
10577         (continueDrag): Use method arguments.
10578
10579 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
10580
10581         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10582         results.
10583
10584 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
10585
10586         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10587         _Jv_AllocBytes.
10588         * gnu/gcj/RawDataManaged.java: New file.
10589         * java/lang/Thread.java (data): Declare as RawDataManaged.
10590         * java/lang/natThread.cc (init_native): Cast natThread data to
10591         RawDataManaged, not jobject.
10592         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10593         * Makefile.in: Rebuilt.
10594
10595 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
10596
10597         * java/util/SimpleTimeZone.java: Reverting my last change until I
10598         can fix it properly.
10599
10600 2004-05-27  Michael Koch  <konqueror@gmx.de>
10601
10602         * javax/swing/JPopupMenu.java
10603         (isVisible): Do not use visible directly.
10604         (setVisible): Likewise.
10605         * javax/swing/JWindow.java
10606         (JWindow): call accessible constructor.
10607         * javax/swing/RepaintManager.java
10608         (paintDirtyRegions): Use public methods to obtain iterator.
10609
10610 2004-05-25  David Jee  <djee@redhat.com>
10611
10612         * java/awt/Container.java
10613         (remove): Set component's parent to null only after we removed the
10614         component from its parent's layout manager.
10615
10616 2004-05-25  David Jee  <djee@redhat.com>
10617
10618         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10619         (GtkComponentPeer): Set bounds regardless of whether awtComponent
10620         is valid.
10621         * gnu/java/awt/peer/gtk/GtkListPeer.java
10622         (getSize): Change native method declaration.
10623         (minimumSize): Pass visible row count into getSize().
10624         (preferredSize): Likewise.
10625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10626         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10627         natural size. Use visible row count to determine the final height
10628         value to return.
10629
10630 2004-05-21  Graydon Hoare  <graydon@redhat.com>
10631
10632         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
10633         (setClip): Minor correction to order of operations.
10634
10635         * javax/swing/JScrollPane.java: Extend sketchy implementation.
10636         * javax/swing/ScrollPaneLayout.java: Likewise.
10637         * javax/swing/JViewPort.java: Likewise.
10638         * javax/swing/ViewportLayout.java: Likewise.
10639
10640         * javax/swing/JComponent.java: Rewrite.
10641         * javax/swing/RepaintManager.java: Likewise.
10642
10643         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10644         * javax/swing/JList.java 
10645         (setSelectedIndices):
10646         (getSelectedIndices):
10647         (getSelectedValues): New functions.
10648         (getPreferredScrollableViewportSize): Return preferred size.
10649         (getScrollableUnitIncrement):
10650         (getScrollableBlockIncrement): Initial implementations.
10651         * javax/swing/JRootPane.java: Clean up slightly.
10652         (getUI):
10653         (setUI):
10654         (updateUI):
10655         (getUIClassID):
10656         (isValidateRoot): Add overrides from JComponent.
10657         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10658         * javax/swing/UIManager.java (getDimension): Return the dimension.
10659
10660         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10661         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10662         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10663         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10664         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10665         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10666         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10667         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
10668         Likewise, and set background.
10669         * javax/swing/plaf/basic/BasicListUI.java: 
10670         Likewise, and improve a bit.
10671         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
10672         Likewise, and adjust calculations.
10673         * javax/swing/plaf/basic/BasicViewportUI.java:
10674         Likewise, and improve a bit.
10675         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10676         (Button.margin): Shrink.
10677
10678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10679         Hack to set horizontal always, workaround pango.
10680
10681         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10683         Synchronize more often, check cairo status after ops,
10684         handle changes to cairo pattern API, check for disposal.
10685
10686 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
10687
10688         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10689         (BasicMenuItemUI): Create propertyChangeListener.
10690         (getPath):Implemented.
10691         (installListeners): Add propertyChangeListener to menuItem.
10692         (uninstallListeners): Remove propertyChangeListener from menuItem.
10693         (update): Implemented.
10694         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10695         (mouseEntered): Take insets of popup menu into account when
10696         calculating position of popup menu.     
10697         
10698 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10699
10700         * Makefile.am: Added new file. 
10701         * Makefile.in: Regenerate.
10702         * javax/swing/JMenuBar.java:
10703         Started implementation.
10704         * javax/swing/JPopupMenu.java:
10705         (setVisible): Fixed location of lightweight/mediumweight
10706         popup menu.
10707         (show): Fixed location of PopupMenu.
10708         * javax/swing/plaf/basic/BasicMenuBarUI.java:
10709         New file. UI Delegate for JMenuBar.
10710         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10711         (mouseEntered): Corrected position of the submenu.
10712
10713 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
10714
10715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
10716         to _gtk_accel_group_attach.
10717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
10718         Likewise.
10719
10720         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
10721         package access.  Don't override setFont.
10722         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
10723         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
10724         gtkWidgetRequestFocus package access.
10725         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
10726         setFont.
10727         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
10728         Give gtkWidgetRequestFocus package access.
10729         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
10730         gtkWidgetRequestFocus package access.  Don't override setFont.
10731         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
10732         setFont.
10733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10734         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
10735         region.
10736         (gtkSetFont): Likewise.
10737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
10738         Implement.
10739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10740         (gtkSetFont): Whitespace fix.
10741
10742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10743         (gtkWidgetSetUsize): Remove method.
10744
10745 2004-05-18  David Jee  <djee@redhat.com>
10746
10747         * java/awt/image/MemoryImageSource.java
10748         (newPixels(int,int,int,int,boolean)): Set only the specified
10749         rectangle of pixels.
10750         (newPixels(byte[],ColorModel,int,int)): Implement.
10751         (newPixels(int[],ColorModel,int,int)): Implement.
10752
10753 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10754
10755         * Makefile.am: Added new file.
10756         * Makefile.in: Regenerate.
10757         * javax/swing/JMenu.java: Started 
10758         implementation.
10759         * javax/swing/JPopupMenu.java:
10760         (insert): If specified index is -1, then
10761         add component at the end.
10762         (isPopupTrigger): Reimplemented.
10763         (JPopupMenu.LightWeightPopup): setBounds
10764         of the lightWeightPopup before adding it 
10765         to the layeredPane.
10766         (javax/swing/plaf/basic/BasicIconFactory.java):
10767         (getMenuArrowIcon): Implemented.
10768         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10769         (getPreferredSize): Add size of the arrow icon 
10770         if this menu item is instance of JMenu.
10771         (paintMenuItem): Paint arrow icon if this 
10772         menu item is a submenu.
10773         * javax/swing/plaf/basic/BasicMenuUI.java:
10774         New File. UI Delegate for JMenu.
10775
10776 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
10777
10778         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
10779         Post KEY_TYPED events.
10780         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10781         (generates_key_typed_event): Remove function.
10782
10783 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
10784
10785         * javax/swing/JRootPane.java
10786         (JRootPane.RootLayout): Reimplemented to 
10787         set bounds of contentPane and menuBar.
10788         (setJMenuBar): Add menu bar to the layered pane.
10789         (createLayeredPane): Set layout of layeredPane
10790         to null.
10791         * javax/swing/JLayeredPane.java:
10792         (addImpl): Calculate index of the component in the
10793         layeredPane according to the specified position within 
10794         the layer.      
10795
10796 2004-05-17  David Jee  <djee@redhat.com>
10797
10798         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10799         (setPixels): Change color model to the default model after
10800         converting pixels.
10801         * java/awt/image/MemoryImageSource.java
10802         (newPixels): Set only the specified rectangle of pixels.
10803
10804 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10805
10806         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
10807         -l-java-beans -l-javax-accessibility -l-javax-swing.
10808
10809         * java/awt/AWTEvent.java (toString): Print source's name rather
10810         than the source itself.
10811
10812 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
10813
10814         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
10815         native.
10816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
10817         (gdk_color_to_java_color): New function.
10818         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
10819
10820 2004-05-12  David Jee  <djee@redhat.com>
10821
10822         * java/awt/image/RGBImageFilter.java:
10823         Initialize origmodel as null.
10824         (makeColor): Fix pixel component order.
10825         (filterRGBPixels): Fix pixel iteration.
10826         (setPixels): Add extra checks for index color model. Convert pixels
10827         to default color model if necessary.
10828         (convertColorModelToDefault): New override method for byte pixels.
10829         (convertColorModelToDefault): For int pixels, fix pixel iteration.
10830         (makeColorbyDefaultCM): New override method for byte pixels.
10831         (makeColorbyDefaultCM): For int pixel, add color model as argument.
10832         (makeColor): Fix pixel component order.
10833
10834 2004-05-11  Kim Ho  <kho@redhat.com>
10835
10836         * javax/swing/Box.java:
10837         Comment out more parts of Box.Filler.
10838
10839 2004-05-11  Kim Ho  <kho@redhat.com>
10840
10841         * javax/swing/Box.java:
10842         Remove reference to AccessibleAWTComponent so
10843         it compiles again.
10844
10845 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
10846
10847         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10848         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
10849         implementation of list peer to use GtkTreeView instead of
10850         deprecated GtkCList.
10851
10852 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
10853
10854         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10855         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
10856         (handleEvent): Remove keyChar argument to
10857         gtkWidgetDispatchKeyEvent calls.
10858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
10859         compiler warnings.
10860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
10861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
10862         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
10863         Likewise.
10864
10865 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
10866
10867         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10868         (gtkWidgetRequestFocus): Mark protected.
10869         (GtkComponentPeer): Only set the peer's bounds if its component
10870         is valid.
10871         * java/awt/Component.java (static): Set the default keyboard
10872         focus manager.
10873         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
10874         requestFocusInWindow(temporary)): Don't request focus if the
10875         component is not showing.  Get tree lock before traversing
10876         component hierarchy.
10877         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
10878         Only set the global focus owner if it is not a Window.
10879         (processKeyEvent): Consume keystrokes associated with the focus
10880         traversal keystroke.
10881         (focusPreviousComponent, focusNextComponent, upFocusCycle,
10882         downFocusCycle): Call requestFocusInWindow instead of
10883         requestFocus.
10884         * java/awt/EventDispatchThread.java (run): Move setting of
10885         default keyboard focus manager to Component.java.
10886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10887         (awt_keycode_to_keysym): New function.
10888         (gtkWidgetDispatchKeyEvent): Finish implementation.
10889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10890         (pre_event_handler): Add FIXME comment.
10891
10892         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10893         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10894         (gtkWidgetRequestFocus): New method.
10895         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
10896         disable Tab and Shift-Tab keystrokes.
10897         (addNotify, appendText, insertText, replaceText): Simplify peer
10898         retrieval code.
10899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
10900         (connectSignals): Remove connections to "commit" signals.
10901         Remove C++-style comments.
10902
10903         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10904         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10905         (handleEvent): Activate GTK button when the space bar key is
10906         pressed.
10907         (gtkActivate): New method.
10908
10909 2004-05-06  David Jee  <djee@redhat.com>
10910
10911         * java/awt/image/CropImageFilter.java
10912         (setPixels): Implement for byte array pixels.
10913         * java/awt/image/ReplicateScaleFilter.java
10914         (setPixels): Implement for byte array pixels.
10915         (replicatePixels): Overload for byte array pixels.
10916
10917 2004-05-06  Kim Ho  <kho@redhat.com>
10918
10919         * javax/swing/Box.java:
10920         (getAccessibleContext): Return an instance of the 
10921         correct class.
10922
10923 2004-05-05  David Jee  <djee@redhat.com>
10924
10925         * gnu/java/awt/peer/gtk/GdkGraphics.java
10926         (drawImage): When component is null, use SystemColor.window as
10927         the default bgcolor.
10928         * gnu/java/awt/peer/gtk/GtkImage.java
10929         (setPixels): We can avoid iterating through the pixel rows only
10930         when height is 1.
10931         * java/awt/Image.java
10932         (getScaledInstance): Partially implement.
10933         * java/awt/image/CropImageFilter.java
10934         (setProperties): Fix "filter" property.
10935         (setPixels): Implement.
10936         * java/awt/image/ReplicateScaleFilter.java
10937         (setDimensions): Use scaled dimensions.
10938         (setPixels): Implement.
10939         (replicatePixels): New method.
10940
10941 2004-05-05  David Jee  <djee@redhat.com>
10942
10943         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10944         (convertPixels): If either pixels or model is null, return null.
10945         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
10946         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
10947         is null, do nothing and return.
10948
10949 2004-05-03  Kim Ho  <kho@redhat.com>
10950
10951         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
10952         (getGraphics): Like GtkFramePeer, the Graphics
10953         object needs to be translate to account for
10954         window decorations.
10955         (postMouseEvent): New method. Account for
10956         translation.
10957         (postExposeEvent): ditto.
10958         * javax/swing/Box.java: Stubbed.
10959         * javax/swing/JDialog.java: Ran through jalopy
10960         to fix indentation.
10961         (JDialog): Call SwingUtilities' getOwnerFrame
10962         for null owners.
10963         (setLayout): Check isRootPaneCheckingEnabled
10964         * javax/swing/JOptionPane.java: Re-implemented.
10965         * javax/swing/SwingUtilities.java:
10966         (getOwnerFrame): Static method to grab a default
10967         owner frame for Dialogs that don't specify owners.
10968         * javax/swing/event/SwingPropertyChangeSupport.java:
10969         (firePropertyChange): Fix early exit condition.
10970         * javax/swing/plaf/basic/BasicLabelUI.java:
10971         (paint): Avoid painting text if it is null 
10972         or empty.
10973         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
10974         Implement.
10975
10976 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
10977
10978         * Makefile.am: Added new file.
10979         * Makefile.in: Regenerate.
10980         * javax/swing/JPopupMenu.java:
10981         Started implementation.
10982         * javax/swing/JWindow.java
10983         (JWindow): call super() if parent for window
10984         is not specified.
10985         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
10986         New File. UI Delegate for JPopupMenu.
10987
10988 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
10989
10990         * javax/swing/JApplet.java: Indicated that JApplet
10991         implements RootPaneContainer and made method of this
10992         interface public. 
10993         * javax/swing/JFrame.java: Ditto.
10994         * javax/swing/JWindow.java: Ditto.
10995         
10996 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
10997
10998         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10999         (nativeSetBounds): Call gdk_window_move in addition to
11000         gtk_window_move.
11001
11002         * java/applet/Applet.java (preferredSize): Call parent's
11003         preferredSize if the applet stub is null.
11004         (minimumSize): Likewise for parent's minimumSize.
11005
11006 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
11007
11008         * javax/swing/JMenuItem.java
11009         (createActionPropertyChangeListener): Implemented.
11010         (processMouseEvent): Ditto.
11011         (fireMenuDragMouseEntered): Ditto.
11012         (fireMenuDragMouseExited): Ditto.
11013         (fireMenuDragMouseDragged): Ditto.
11014         (fireMenuDragMouseReleased): Ditto.
11015         (menuSelectionChanged): Ditto.
11016         (getSubElements): Ditto.
11017         (getComponent): Ditto.
11018         (addMenuDragMouseListener): Ditto.
11019         (removeMenuDragMouseListener):Ditto.
11020         (addMenuKeyListener): Ditto.
11021         (removeMenuKeyListener): Ditto.
11022         * javax/swing/plaf/basic/BasicMenuItemUI.java
11023         (doClick): Imlemented.
11024         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11025         Don't handle mouse events here. Pass them to 
11026         MenuSelectionManager.
11027         
11028 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11029         Used correct version of jalopy configuration
11030         file to fix style in the files below.
11031
11032 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11033
11034         * javax/swing/JCheckBoxMenuItem.java: 
11035         Fixed style and removed unnecessary comments.
11036         * javax/swing/JMenuItem.java: Ditto.
11037         * javax/swing/JRadioButtonMenuItem.java: Ditto.
11038         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11039         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11040         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11041
11042 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
11043
11044         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11045         C-style.
11046
11047         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11048
11049         * java/awt/ContainerOrderFocusTraversalPolicy.java
11050         (getComponentAfter): Start from current component and work up
11051         the component hierarchy until an acceptable component is found.
11052         Synchronize on tree lock.
11053         (getComponentBefore): Likewise.
11054
11055 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11056
11057         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11058         focus-related debugging messages.
11059         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11060         * java/awt/EventDispatchThread.java: Likewise.
11061         * java/awt/KeyboardFocusManager.java: Likewise.
11062         * java/awt/Window.java: Likewise.
11063         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11065
11066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11067         new C++-style comments to C-style comments.
11068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11069
11070         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11071         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11072         (handleEvent): Dispatch key press and key release events to
11073         backing widget.
11074         (requestFocus): Post a FOCUS_GAINED event to the event queue.
11075         (gtkWidgetRequestFocus): New method.
11076         (gtkWidgetDispatchKeyEvent): Likewise.
11077         * java/awt/Component.java (requestFocus, requestFocus(boolean),
11078         requestFocusInWindow, requestFocusInWindow(boolean),
11079         getFocusCycleRootAncestor, nextFocus, transferFocus,
11080         transferFocusBackward, transferFocusUpCycle, hasFocus,
11081         isFocusOwner): Implement and document focus-handling methods.
11082         (setFocusTraversalKeys): Inherit focus traversal keys when
11083         keystrokes argument is null.  Fix focus-handling documentation
11084         throughout class.
11085         * java/awt/Container.java (setFocusTraversalKeys,
11086         getFocusTraversalKeys, areFocusTraversalKeysSet,
11087         isFocusCycleRoot, setFocusTraversalPolicy,
11088         getFocusTraversalPolicy, isFocusTraversalPolicySet,
11089         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11090         Implement and document focus-handling methods.
11091         (transferFocusBackward): Remove method.
11092         (readObject, writeObject): Implement and document serialization
11093         methods.
11094         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11095         and document.
11096         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11097         document.
11098         * java/awt/DefaultKeyboardFocusManager.java: Implement and
11099         partially document.
11100         * java/awt/EventDispatchThread.java (run): Set default keyboard
11101         focus manager.  Attempt to dispatch each event to the keyboard
11102         focus manager before normal dispatch.
11103         * java/awt/KeyboardFocusManager.java: Implement and partially
11104         document.
11105         * java/awt/Window.java (Window): Set focusCycleRoot to true.
11106         (show): Focus initial component when window is shown for the
11107         first time.
11108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11109         (pre_event_handler): Replace complex key press and key release
11110         logic with simple callbacks into GtkComponentPeer.
11111         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11112
11113 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
11114
11115         * javax/swing/MenuSelectionManager.java
11116         (componentForPoint): Added new method. 
11117         (defaultManager): New Method. Implemented.
11118         (getSelectedPath): Ditto.
11119         (isComponentPartOfCurrentMenu): Ditto.
11120         (processKeyEvent): Added new method.
11121         (processMouseEvent): New Method. Implemented.
11122         (setSelectedPath): Ditto.
11123         (getPath): Ditto.
11124
11125 2004-04-19  Kim Ho  <kho@redhat.com>
11126
11127         * java/awt/Container.java: 
11128         (remove): Set the component's parent to null.
11129         (getComponentAt): Implement.
11130         * javax/swing/JComponent.java:
11131         (JComponent): Initialize defaultLocale
11132         (getDefaultLocale): Implement.
11133         (setDefaultLocale): ditto.
11134         * javax/swing/JSlider.java:
11135         (JSlider): Fix calculation of value.
11136         * javax/swing/JSplitPane.java: Implement.
11137         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11138         Change SplitPane's default divider size.
11139         * javax/swing/plaf/basic/BasicScrollBarUI.java:
11140         (paint): Remove unused code.
11141         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11142         Added comments and ran through jalopy.
11143         (setBasicSplitPaneUI): Get reference to hidden divider
11144         and set up one touch buttons if necessary.
11145         (setBorder): Fire propertyChangeEvent only if 
11146         borders are different.
11147         (getPreferredSize): Defer to layout manager.
11148         (propertyChange): Implement.
11149         (oneTouchExpandableChanged): ditto.
11150         (createLeftOneTouchButton): Use BasicArrowButton.
11151         (createRightOneTouchButton): ditto.
11152         (moveDividerTo): New method. Moves the divider
11153         to a set location based on the last divider location.
11154         (BasicSplitPaneDivider::MouseHandler): Implement.
11155         (BasicSplitPaneDivider::OneTouchButton): Removed.
11156         (BasicSplitPaneDivider::DragController): Implement.
11157         (BasicSplitPaneDivider::VerticalDragController):
11158         ditto.
11159         (BasicSplitPaneDivider::DividerLayout): ditto.
11160         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11161         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11162         (calculateLayoutInfo): Don't show component if it's
11163         null.
11164         (paintTab): Fix title paint logic.
11165
11166 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
11167
11168         PR libgcj/8321
11169         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11170         (setStartRule,setEndRule): Don't take abs of day number.
11171         (getOffset): Clarify docs.  Add argument checks.
11172         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11173         (equals,hasSameRules,toString,readObject): Use startTimeMode and
11174         endTimeMode.
11175         * testsuite/libjava.mauve/xfails
11176         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11177
11178 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
11179
11180         Layout interfaces during preparation, not initialization. 
11181         * java/lang/natClass.cc (initializeClass): Move 
11182         _Jv_LayoutInterfaceMethods call...
11183         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11184
11185 2004-05-19  Anthony Green  <green@localhost.localdomain>
11186
11187         * Makefile.am (awt_java_source_files): Remove javax.rmi and
11188         gnu.javax.rmi code.
11189         * Makefile.in: Rebuilt.
11190         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11191         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11192         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11193         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11194         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11195         gnu/javax/rmi/CORBA/DelegateFactory.java,
11196         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11197         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11198         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11199         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11200         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11201         gnu/javax/rmi/PortableServer.java: Remove files.
11202
11203 2004-05-19  Anthony Green  <green@redhat.com>
11204
11205         * Makefile.am: Define JAVA_EXT_DIRS.
11206         * Makefile.in: Rebuilt.
11207         * java/lang/natRuntime.cc (insertSystemProperties): Set
11208         java.ext.dirs property.
11209
11210 2004-05-16  Mark Wielaard  <mark@klomp.org>
11211
11212         * java/io/Writer.java (Writer(Object)): Check for null lock object.
11213
11214 2004-05-15  Mark Wielaard  <mark@klomp.org>
11215
11216         * doc/cni.sgml: Removed, merged into gcj.texi.
11217
11218 2004-05-15  Mark Wielaard  <mark@klomp.org>
11219
11220         * Makefile.am (ordinary_java_source_files): Add new javax.print
11221         classes.
11222         * Makefile.in: Regenerated.
11223
11224 2004-05-15  Michael Koch  <konqueror@gmx.de>
11225
11226         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11227         javax/print/attribute/standard/DateTimeAtCreation.java,
11228         javax/print/attribute/standard/DateTimeAtProcessing.java,
11229         javax/print/attribute/standard/DocumentName.java,
11230         javax/print/attribute/standard/JobHoldUntil.java,
11231         javax/print/attribute/standard/JobImpressionsCompleted.java,
11232         javax/print/attribute/standard/JobMessageFromOperator.java,
11233         javax/print/attribute/standard/JobName.java,
11234         javax/print/attribute/standard/JobOriginatingUserName.java,
11235         javax/print/attribute/standard/JobPriority.java,
11236         javax/print/attribute/standard/JobPrioritySupported.java,
11237         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11238         javax/print/attribute/standard/OutputDeviceAssigned.java,
11239         javax/print/attribute/standard/PrinterInfo.java,
11240         javax/print/attribute/standard/PrinterLocation.java,
11241         javax/print/attribute/standard/PrinterMakeAndModel.java,
11242         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11243         javax/print/attribute/standard/PrinterName.java,
11244         javax/print/attribute/standard/QueuedJobCount.java,
11245         javax/print/attribute/standard/RequestingUserName.java:
11246         Fixed javadocs all over.
11247
11248 2004-05-15  Michael Koch  <konqueror@gmx.de>
11249
11250         * javax/print/DocFlavor.java,
11251         javax/print/attribute/standard/ColorSupported.java,
11252         javax/print/attribute/standard/Compression.java,
11253         javax/print/attribute/standard/CopiesSupported.java,
11254         javax/print/attribute/standard/Fidelity.java,
11255         javax/print/attribute/standard/Finishings.java,
11256         javax/print/attribute/standard/JobImpressionsSupported.java,
11257         javax/print/attribute/standard/JobKOctetsSupported.java,
11258         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11259         javax/print/attribute/standard/JobSheets.java,
11260         javax/print/attribute/standard/JobState.java,
11261         javax/print/attribute/standard/JobStateReason.java,
11262         javax/print/attribute/standard/JobStateReasons.java,
11263         javax/print/attribute/standard/Media.java,
11264         javax/print/attribute/standard/MediaSizeName.java,
11265         javax/print/attribute/standard/MultipleDocumentHandling.java,
11266         javax/print/attribute/standard/NumberUpSupported.java,
11267         javax/print/attribute/standard/OrientationRequested.java,
11268         javax/print/attribute/standard/PDLOverrideSupported.java,
11269         javax/print/attribute/standard/PageRanges.java,
11270         javax/print/attribute/standard/PresentationDirection.java,
11271         javax/print/attribute/standard/PrintQuality.java,
11272         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11273         javax/print/attribute/standard/PrinterMoreInfo.java,
11274         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11275         javax/print/attribute/standard/PrinterResolution.java,
11276         javax/print/attribute/standard/PrinterState.java,
11277         javax/print/attribute/standard/PrinterStateReason.java,
11278         javax/print/attribute/standard/PrinterStateReasons.java,
11279         javax/print/attribute/standard/PrinterURI.java,
11280         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11281         javax/print/attribute/standard/Severity.java,
11282         javax/print/attribute/standard/SheetCollate.java,
11283         javax/print/attribute/standard/Sides.java:
11284         Added serialVersionUID and removed final keyword where it doenst
11285         belong.
11286
11287 2004-05-15  Michael Koch  <konqueror@gmx.de>
11288
11289         * javax/print/PrintServiceLookup.java: New file.
11290
11291 2004-05-15  Michael Koch  <konqueror@gmx.de>
11292
11293         * javax/print/DocFlavor.java:
11294         Implemented all flavor classes.
11295
11296 2004-05-15  Michael Koch  <konqueror@gmx.de>
11297
11298         * javax/print/attribute/standard/ColorSupported.java,
11299         javax/print/attribute/standard/Compression.java,
11300         javax/print/attribute/standard/CopiesSupported.java,
11301         javax/print/attribute/standard/Fidelity.java,
11302         javax/print/attribute/standard/Finishings.java,
11303         javax/print/attribute/standard/JobImpressionsSupported.java,
11304         javax/print/attribute/standard/JobKOctetsSupported.java,
11305         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11306         javax/print/attribute/standard/JobSheets.java,
11307         javax/print/attribute/standard/JobState.java,
11308         javax/print/attribute/standard/JobStateReason.java,
11309         javax/print/attribute/standard/JobStateReasons.java,
11310         javax/print/attribute/standard/Media.java,
11311         javax/print/attribute/standard/MediaSizeName.java,
11312         javax/print/attribute/standard/MultipleDocumentHandling.java,
11313         javax/print/attribute/standard/NumberUpSupported.java,
11314         javax/print/attribute/standard/OrientationRequested.java,
11315         javax/print/attribute/standard/PDLOverrideSupported.java,
11316         javax/print/attribute/standard/PageRanges.java,
11317         javax/print/attribute/standard/PresentationDirection.java,
11318         javax/print/attribute/standard/PrintQuality.java,
11319         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11320         javax/print/attribute/standard/PrinterMoreInfo.java,
11321         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11322         javax/print/attribute/standard/PrinterResolution.java,
11323         javax/print/attribute/standard/PrinterState.java,
11324         javax/print/attribute/standard/PrinterStateReason.java,
11325         javax/print/attribute/standard/PrinterStateReasons.java,
11326         javax/print/attribute/standard/PrinterURI.java,
11327         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11328         javax/print/attribute/standard/Severity.java,
11329         javax/print/attribute/standard/SheetCollate.java,
11330         javax/print/attribute/standard/Sides.java: New files.
11331
11332 2004-05-15  Michael Koch  <konqueror@gmx.de>
11333
11334         * javax/print/Doc.java
11335         (getPrintData): Throws IOException.
11336         (getReaderForText): Likewise.
11337         (getStreamForBytes): Likewise.
11338         * javax/print/DocFlavor.java:
11339         Fixed filename in copyright.
11340         (serialVersionUID): New field.
11341         * javax/print/ServiceUIFactory.java:
11342         Made all constants final.
11343         * javax/print/AttributeException.java
11344         javax/print/MultiDoc.java
11345         javax/print/MultiDocPrintJob.java
11346         javax/print/MultiDocPrintService.java
11347         javax/print/StreamPrintService.java
11348         javax/print/URIException.java: New files.
11349         * javax/print/Makefile.am
11350         (EXTRA_DIST): Added all new files.
11351
11352 2004-05-15  Michael Koch  <konqueror@gmx.de>
11353
11354         * javax/print/attribute/standard/Copies.java,
11355         javax/print/attribute/standard/DateTimeAtCompleted.java,
11356         javax/print/attribute/standard/DateTimeAtCreation.java,
11357         javax/print/attribute/standard/DateTimeAtProcessing.java,
11358         javax/print/attribute/standard/DocumentName.java,
11359         javax/print/attribute/standard/JobHoldUntil.java,
11360         javax/print/attribute/standard/JobImpressions.java,
11361         javax/print/attribute/standard/JobImpressionsCompleted.java,
11362         javax/print/attribute/standard/JobKOctets.java,
11363         javax/print/attribute/standard/JobKOctetsProcessed.java,
11364         javax/print/attribute/standard/JobMediaSheets.java,
11365         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11366         javax/print/attribute/standard/JobMessageFromOperator.java,
11367         javax/print/attribute/standard/JobName.java,
11368         javax/print/attribute/standard/JobOriginatingUserName.java,
11369         javax/print/attribute/standard/JobPriority.java,
11370         javax/print/attribute/standard/JobPrioritySupported.java,
11371         javax/print/attribute/standard/NumberOfDocuments.java,
11372         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11373         javax/print/attribute/standard/NumberUp.java,
11374         javax/print/attribute/standard/OutputDeviceAssigned.java,
11375         javax/print/attribute/standard/PagesPerMinute.java,
11376         javax/print/attribute/standard/PagesPerMinuteColor.java:
11377         Fixed @return tag all over.
11378
11379 2004-05-15  Michael Koch  <konqueror@gmx.de>
11380
11381         * javax/print/attribute/AttributeSetUtilities.java
11382         (verifyCategoryForValue): Fixed typo in javadoc.
11383         * javax/print/attribute/HashAttributeSet.java
11384         (containsKey): Fixed @return tag.
11385         (comtainsValue): Likewise.
11386         (equals): Likewise.
11387         * javax/print/attribute/IntegerSyntax.java
11388         (equals): Likewise.
11389         * javax/print/attribute/ResolutionSyntax.java
11390         (equals): Likewise.
11391         (getCrossFeedResolution): Removed unused code.
11392         (getFeedResolution): Likewise.
11393         * javax/print/attribute/SetOfIntegerSyntax.java
11394         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11395         (equals): Fixed @return tag.
11396         * javax/print/attribute/TextSyntax.java
11397         (TextSyntax): Take locale into account.
11398         (hashCode): Better implementation.
11399
11400 2004-05-15  Michael Koch  <konqueror@gmx.de>
11401
11402         * javax/print/CancelablePrintJob.java,
11403         javax/print/Doc.java,
11404         javax/print/DocFlavor.java,
11405         javax/print/DocPrintJob.java,
11406         javax/print/FlavorException.java,
11407         javax/print/PrintException.java,
11408         javax/print/PrintService.java,
11409         javax/print/ServiceUIFactory.java: New files.
11410
11411 2004-05-15  Mark Wielaard  <mark@klomp.org>
11412
11413         * gnu/regexp/CharIndexedReader.java: Removed.
11414         * gnu/regexp/REFilterReader.java: Likewise.
11415         * gnu/regexp/RETokenLookAhead.java: Likewise.
11416         * Makefile.am (ordinary_java_source_files): Remove above classes.
11417         * Makefile.in: Regenerated.
11418
11419 2004-05-14  Tom Tromey  <tromey@redhat.com>
11420
11421         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11422         not `XGraphicsConfiguration.XOffScreenImage'.
11423
11424 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
11425
11426         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11427
11428 2004-05-14  Steven Augart  <augart@watson.ibm.com>
11429
11430         * include/jni.h (_Jv_func): Removed.
11431         (struct JNINativeInterface): Use `void *' for reserved slots.
11432         (struct JNIInvokeInterface): Likewise.
11433
11434 2004-05-11  Michael Koch  <konqueror@gmx.de>
11435
11436         * gnu/java/net/natPlainSocketImplPosix.cc
11437         (read): Fixed typo in expression.
11438
11439 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
11440
11441         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11442         ld_library_additions. Adjust all calls to libjava_invoke to match
11443         the new argument.
11444
11445         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11446         path to cxxflagslist.
11447         Pass path of libstdc++ to libjava_invoke.
11448
11449         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11450         libjava_invoke arguments.
11451
11452 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
11453
11454         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11455         reality.
11456
11457 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
11458
11459         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11460         main binary against the JNI shared library.
11461
11462 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11463
11464         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11465         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11466         (SimpleTimeZone): Tweak docs.  Add new variation.
11467         (setStartRule,setEndRule): Add new variations.  Use
11468         startTimeMode and endTimeMode.
11469
11470 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11471
11472         * java/util/Calendar.java (getActualMinimum,
11473         getActualMaximum):  Remove abstract.  Implement.
11474
11475 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11476
11477         Run the jni tests using the interpreter.
11478         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11479         options_cxx to shared lib compile command.
11480         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11481         they are used to link the shared lib, not the main binary.
11482         Use libjava_invoke to run gij.
11483
11484 2004-05-06  Michael Koch  <konqueror@gmx.de>
11485
11486         * java/util/logging/Level.java
11487         (parse): Use == instead of String.equals().
11488
11489 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11490
11491         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
11492         verify_field_signature and verify_method_signature, not 
11493         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11494         (_Jv_ClassReader::handleField): Likewise.
11495         (_Jv_ClassReader::handleMethod): Likewise.
11496
11497 2004-05-06  Michael Koch  <konqueror@gmx.de>
11498
11499         * javax/swing/table/TableColumn.java:
11500         Reformated.
11501
11502 2004-05-06  Michael Koch  <konqueror@gmx.de>
11503
11504         * javax/imageio/spi/ImageReaderWriterSpi.java
11505         (ImageReaderWriterSpi): Made it public.
11506         * javax/imageio/stream/ImageInputStream.java:
11507         Clean up imports.
11508
11509 2004-05-06  Michael Koch  <konqueror@gmx.de>
11510
11511         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11512         Removed empty line.
11513
11514 2004-05-06  Michael Koch  <konqueror@gmx.de>
11515
11516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11517         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11518         New files.
11519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11520         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11522         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11523         their own source file.
11524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11525         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11526         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11528         (create): Define variable on top of function.
11529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11530         (menu_pos): Prototyped.
11531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11532         (setTitle): Removed.
11533         * jni/gtk-peer/gthread-jni.c
11534         (gdk_threads_wake): Removed.
11535         * Makefile.am (gtk_c_source_files): Added new files
11536         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11537         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11538         * Makefile.in: Regenerated.
11539
11540 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
11541
11542         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11543         call.
11544
11545 2004-05-05  Mark Wielaard  <mark@klomp.org>
11546
11547         * javax/swing/AbstractButton.java: Replace special HTML entities with
11548         ASCII equivalent.
11549         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11550         * javax/swing/DefaultButtonModel.java: Likewise.
11551         * javax/swing/DefaultListModel.java: Likewise.
11552         * javax/swing/JList.java: Likewise.
11553         * javax/swing/JSlider.java: Likewise.
11554         * javax/swing/ListModel.java: Likewise.
11555         * javax/swing/Popup.java: Likewise.
11556         * javax/swing/SwingUtilities.java: Likewise.
11557
11558 2004-05-05  Michael Koch  <konqueror@gmx.de>
11559
11560         * javax/swing/AbstractButton.java,
11561         javax/swing/ActionMap.java,
11562         javax/swing/DefaultButtonModel.java,
11563         javax/swing/DefaultListModel.java,
11564         javax/swing/ImageIcon.java,
11565         javax/swing/JComboBox.java,
11566         javax/swing/JComponent.java,
11567         javax/swing/JFrame.java,
11568         javax/swing/JInternalFrame.java,
11569         javax/swing/JMenuBar.java,
11570         javax/swing/JMenuItem.java,
11571         javax/swing/JOptionPane.java,
11572         javax/swing/JProgressBar.java,
11573         javax/swing/JRootPane.java,
11574         javax/swing/JScrollBar.java,
11575         javax/swing/JScrollPane.java,
11576         javax/swing/JSeparator.java,
11577         javax/swing/JSlider.java,
11578         javax/swing/JTabbedPane.java,
11579         javax/swing/JTable.java,
11580         javax/swing/JTextField.java,
11581         javax/swing/JToolBar.java,
11582         javax/swing/JToolTip.java,
11583         javax/swing/JTree.java,
11584         javax/swing/JViewport.java,
11585         javax/swing/JWindow.java,
11586         javax/swing/KeyStroke.java,
11587         javax/swing/LookAndFeel.java,
11588         javax/swing/SwingUtilities.java,
11589         javax/swing/Timer.java,
11590         javax/swing/ToolTipManager.java,
11591         javax/swing/UIDefaults.java,
11592         javax/swing/border/TitledBorder.java,
11593         javax/swing/filechooser/FileSystemView.java,
11594         javax/swing/plaf/basic/BasicButtonListener.java,
11595         javax/swing/plaf/basic/BasicButtonUI.java,
11596         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11597         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11598         javax/swing/plaf/basic/BasicLabelUI.java,
11599         javax/swing/plaf/basic/BasicMenuItemUI.java,
11600         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11601         javax/swing/plaf/basic/BasicRootPaneUI.java,
11602         javax/swing/plaf/basic/BasicScrollBarUI.java,
11603         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11604         javax/swing/plaf/basic/BasicSliderUI.java,
11605         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11606         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11607         javax/swing/table/JTableHeader.java,
11608         javax/swing/text/AbstractDocument.java,
11609         javax/swing/text/DefaultCaret.java,
11610         javax/swing/text/StyledEditorKit.java,
11611         javax/swing/tree/DefaultTreeCellEditor.java:
11612         Cleaned up imports.
11613
11614 2004-05-05  Michael Koch  <konqueror@gmx.de>
11615
11616         * java/util/prefs/AbstractPreferences.java
11617         (AbstractPreferences): Added parenthesis for clarity.
11618         Closes classpath bug #7940.
11619
11620 2004-05-05  Tom Tromey  <tromey@redhat.com>
11621
11622         * javax/naming/CompoundName.java (endsWith): Look at correct
11623         element of source name.
11624
11625 2004-05-05  Mark Wielaard  <mark@klomp.org>
11626
11627         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11628         * java/util/HashMap.java (rehash): Add entry at start of bucket.
11629
11630 2004-05-05  Tom Tromey  <tromey@redhat.com>
11631
11632         * java/io/BufferedReader.java (skip): Removed unused
11633         variable.
11634
11635 2004-05-05  Michael Koch  <konqueror@gmx.de>
11636
11637         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11638
11639 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
11640
11641         * java/text/AttributedString.java,
11642         java/text/AttributedStringIterator.java,
11643         java/text/Collator.java,
11644         java/text/DecimalFormatSymbols.java,
11645         java/text/NumberFormat.java,
11646         java/text/RuleBasedCollator.java:
11647         Cleaned up imports.
11648
11649 2004-05-05  Tom Tromey  <tromey@redhat.com>
11650
11651         * java/text/Format.java: Cleaned up imports.
11652         * java/text/DecimalFormat.java: Cleaned up imports.
11653         * java/security/SecureRandom.java: Cleaned up imports.
11654         (SecureRandom): Removed unused variable.
11655         * java/security/UnresolvedPermission.java: Cleaned up imports.
11656         * java/util/Date.java (parse): Removed unused variable.
11657         * java/util/ResourceBundle.java: Cleaned up imports.
11658         (getBundle): Removed unused variable.
11659         (tryBundle): Likewise.
11660         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11661
11662 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11663
11664         * java/text/SimpleDateFormat.java:
11665         (formatWithAttribute): New method. It implements
11666         the formatting process with attributes.
11667         (format): Use formatWithAttribute.
11668         (formatToCharacterIterator): New method. Use
11669         formatWithAttribute.
11670
11671 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11672
11673         * java/text/MessageFormat.java:
11674         (class Field): New class.
11675         (formatToCharacterIterator): New method.
11676         (format): Use formatInternal now.
11677         (formatInternal): New method. String formatter should
11678         be done here (with attributes). Attributes merging supported.
11679         (parse): More documentation.
11680         (getFormatsByArgumentIndex): New method.
11681         (setFormatByArgumentIndex): New method.
11682         (setFormatsByArgumentIndex): New method.
11683
11684 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11685
11686         * java/text/DecimalFormat.java
11687         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11688         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11689         (parse): Fixed handling of exponentiation notation and grouping.
11690
11691 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11692
11693         * java/text/DecimalFormat.java
11694         (scanFix): Build attribute array. Fixed error reporting.
11695         (applyPatternWithSymbols): Store attributes for the prefix and
11696         suffix.
11697         (formatInternal): New method. Changed the way the string is
11698         computed. Implemented attributes. Cleant up rounding in
11699         exponential notation.
11700         (format): Use formatInternal.
11701         (formatToCharacterIterator): New method.
11702         (exponentRound, negativePrefixRanges, positivePrefixRanges,
11703         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
11704         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
11705         New fields.
11706
11707 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
11708
11709         * java/security/interfaces/DSAKeyPairGenerator.java,
11710         java/security/interfaces/DSAPrivateKey.java,
11711         java/security/interfaces/DSAPublicKey.java,
11712         java/security/interfaces/RSAPrivateKey.java,
11713         java/security/interfaces/RSAPublicKey.java:
11714         Cleaned up imports.
11715
11716 2004-05-04  Michael Koch  <konqueror@gmx.de>
11717
11718         * java/nio/ByteBuffer.java,
11719         java/nio/CharBuffer.java,
11720         java/nio/DoubleBuffer.java,
11721         java/nio/FloatBuffer.java,
11722         java/nio/IntBuffer.java,
11723         java/nio/LongBuffer.java,
11724         java/nio/ShortBuffer.java:
11725         (compareTo): Fixed bogus implementation in all buffer classes.
11726
11727 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11728
11729         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
11730         32 bit pixels not 8 bit pixels.
11731         (isCompatibleRaster): Added javadoc comment.
11732
11733 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11734
11735         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
11736         scanline stride.
11737
11738 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11739
11740         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
11741         (getColorModel): Return the actual color model.
11742         (getRaster): Implemented.
11743         (ColorRaster): New inner class.
11744         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
11745         a PaintContext.
11746         * java/awt/Color.java (<init>): Make exception more verbose.
11747         (createContext): Use ColorModel when creating a PaintContext.
11748
11749 2004-05-04  Michael Koch  <konqueror@gmx.de>
11750
11751         * gnu/java/text/CharacterBreakIterator.java
11752         (previous): Removed unused variable.
11753
11754 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
11755
11756         * gnu/java/text/FormatBuffer.java,
11757         gnu/java/text/AttributedFormatBuffer.java,
11758         gnu/java/text/StringFormatBuffer.java: New classes to implement
11759         attributed iterators in java.text.
11760         * gnu/java/text/FormatCharacterIterator.java: Moved 
11761         from java/text as it is an internal class.
11762         * java/text/FormatCharacterIterator.java: Removed.
11763         * java/text/Format.java:
11764         Import gnu.java.text.FormatCharacterIterator.
11765         * Makefile.am (java_source_files): Added new files.
11766         * Makefile.in: Regenerated.
11767         
11768
11769 2004-05-04  Mark Wielaard  <mark@klomp.org>
11770
11771         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
11772
11773 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
11774
11775         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
11776         * Makefile.in: Rebuilt.
11777
11778 2004-05-03  Mark Wielaard  <mark@klomp.org>
11779
11780         * gnu/java/security/der/DERReader.java: Call static methods staticly.
11781         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
11782         * java/net/URL.java
11783         (set(String, String, int, String, String, String, String, String)):
11784         Assign this.file to path or path + "?" + query.
11785         * java/util/Arrays.java: Call static methods staticly.
11786         * java/util/zip/ZipEntry.java: Likewise.
11787         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
11788         dir to this.direction.
11789         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
11790         Assign static field only once.
11791         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
11792
11793 2004-05-03  Mark Wielaard  <mark@klomp.org>
11794
11795         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
11796         unused variables hScrollbarHeight and vScrollbarWidth.
11797         (preferredSize): Likewise.
11798         * gnu/java/security/provider/DSAParameters.java (engineToString):
11799         Removed unused call to System.getProperty("line.seperator");
11800         * java/security/Security.java (loadProviders): Return result.
11801
11802 2004-05-03  Tom Tromey  <tromey@redhat.com>
11803
11804         * java/net/URLStreamHandler.java (toExternalForm): Removed
11805         unused variables.
11806         unused constructor.
11807         * java/math/BigDecimal.java (divide): Removed unused variable.
11808         * java/lang/Throwable.java: Cleaned up imports.
11809         * java/lang/ClassLoader.java: Cleaned up imports.
11810         * java/io/FilePermission.java (implies): Removed unused
11811         variable.
11812         * java/awt/TextComponent.java: Removed unused import.
11813         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
11814         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
11815         * gnu/java/text/WordBreakIterator.java: Removed unused import.
11816         * gnu/java/text/SentenceBreakIterator.java: Removed unused
11817         import.
11818         * gnu/java/text/LineBreakIterator.java: Removed unused import.
11819         * gnu/java/text/CharacterBreakIterator.java: Removed
11820         unused import.
11821         * gnu/java/security/provider/DSAKeyPairGenerator.java:
11822         Cleaned up imports.
11823         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
11824         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
11825         unused method.
11826         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
11827         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
11828         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
11829         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
11830         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
11831         (lookupProviders): Removed unused variable.
11832         (loadNextServiceProvider): Likewise.
11833         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
11834
11835 2004-05-03  Michael Koch  <konqueror@gmx.de>
11836
11837         Fixes PR libgcj/14695:
11838         * java/net/NetworkInterface.java
11839         (getByName): Return null when no interface was found.
11840
11841 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
11842             Tom Tromey  <tromey@redhat.com>
11843
11844         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
11845         additional option "-Wmissing-prototypes" for compiling C sources.
11846         Print actual filename for pass/fail rather than $name.c.
11847         * testsuite/libjava.jni/PR15133.java: New testcase file.
11848         * testsuite/libjava.jni/PR15133.c: Likewise.
11849         * testsuite/libjava.jni/PR15133.out: Likewise.
11850
11851 2004-04-30  Roger Sayle  <roger@eyesopen.com>
11852
11853         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
11854         ceil and floor.
11855
11856 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
11857         
11858         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
11859         limit the maximum heap size to avoid unnecessary thrashing.
11860
11861 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
11862
11863         * java/text/CollationElementIterator.java (reset): Reset
11864         lookahead variables.
11865
11866 2004-04-23  Mark Wielaard  <mark@klomp.org>
11867
11868         * jni/classpath/jcl.c: Changed C++ comments into C comments.
11869
11870 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11871
11872         * java/sql/DriverManager.java:
11873         Cleaned up imports.
11874
11875 2004-04-23  Michael Koch  <konqueror@gmx.de>
11876
11877         * java/net/URL.java
11878         (hashcode): Don't initialize with default value explicitely.
11879         (getContent): Removed redundant "final" keyword.
11880         (openStream): Likewise.
11881         (getURLStreamHandler): Fixed coding style.
11882         * java/net/URLConnection.java
11883         (defaultAllowUserInteraction): Don't initialize with default value
11884         explicitely.
11885         (connected): Likewise.
11886         (doOutput): Likewise.
11887         (ifModifiedSince): Likewise.
11888         (dateformats_initialized): Likewise.
11889         (setURLStreamHander): Use StreamTokenizer where it belongs to.
11890
11891 2004-04-23  Michael Koch  <konqueror@gmx.de>
11892
11893         * gnu/java/nio/channels/FileChannelImpl.java
11894         (SET, CUR): Unused, removed.
11895         (read): Implement here directly.
11896         (implRead): Removed.
11897         (write): Implement here directly.
11898         (implWrite): Removed.
11899
11900 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
11901
11902         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
11903         javax/rmi/CORBA/Stub.java,
11904         javax/rmi/CORBA/Util.java,
11905         javax/rmi/CORBA/ValueHandler.java,
11906         javax/rmi/CORBA/ValueHandler.java,
11907         javax/rmi/PortableRemoteObject.java:
11908         Cleaned up imports.
11909
11910 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11911
11912         * java/util/jar/JarFile.java,
11913         java/util/jar/JarInputStream.java,
11914         java/util/jar/JarOutputStream.java,
11915         java/util/jar/Manifest.java:
11916         Cleaned up imports.
11917
11918 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11919
11920         * java/util/ArrayList.java,
11921         java/util/Calendar.java,
11922         java/util/Currency.java,
11923         java/util/HashMap.java,
11924         java/util/HashSet.java,
11925         java/util/Hashtable.java,
11926         java/util/LinkedList.java,
11927         java/util/Properties.java,
11928         java/util/PropertyPermission.java,
11929         java/util/TimeZone.java,
11930         java/util/TreeMap.java,
11931         java/util/TreeSet.java,
11932         java/util/Vector.java,
11933         java/util/WeakHashMap.java:
11934         Cleaned up imports.
11935
11936 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
11937
11938         * java/util/logging/FileHandler.java,
11939         java/util/logging/Formatter.java,
11940         java/util/logging/Handler.java,
11941         java/util/logging/Logger.java,
11942         java/util/logging/SimpleFormatter.java,
11943         java/util/logging/XMLFormatter.java:
11944         Cleaned up imports.
11945
11946 2004-04-22  Mark Wielaard  <mark@klomp.org>
11947
11948         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
11949         -Wno-long-long flags variable.
11950         (gtk_c_files): Use PEDANTIC_CFLAGS.
11951         * Makefile.in: Regenerated.
11952
11953 2004-04-22  Mark Wielaard  <mark@klomp.org>
11954
11955         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11956         Changed C++ comments into C comments.
11957         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
11958         Likewise.
11959
11960 2004-04-22  Michael Koch  <konqueror@gmx.de>
11961
11962         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
11963         Merged copyright year with GNU classpath.
11964
11965 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
11966
11967         * javax/security/auth/x500/X500Principal.java:
11968         Cleaned up imports.
11969
11970 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
11971
11972         * javax/swing/JSlider.java:
11973         Fixed HTML tags in comments.
11974
11975 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
11976
11977         * javax/accessibility/AccessibleText.java:
11978         Cleaned up imports.
11979
11980 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
11981
11982         * java/net/URLStreamHandler.java
11983         (parseURL): Convert the file path to using '/' instead of native
11984         file separator.
11985
11986 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
11987
11988         * java/net/URL.java
11989         (userInfo): New field.
11990         (URL): Set authority to the right value.
11991         (setURL): Fixed authority and file initialization.
11992         * java/net/URLStreamHandler.java
11993         (parseURL): Take care of the query tag. Build authority.
11994         (toExternalForm): Fixed URL building using authority.
11995
11996 2004-04-22  Michael Koch  <konqueror@gmx.de>
11997
11998         * java/net/Socket.java
11999         (impl): Made package-private.
12000         * java/net/ServerSocket.java
12001         (implAccept): Access Socket.impl field directly.
12002
12003 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12004
12005         * java/util/prefs/Preferences.java,
12006         java/util/prefs/InvalidPreferencesFormatException.java,
12007         java/util/prefs/BackingStoreException.java,
12008         java/util/prefs/AbstractPreferences.java:
12009         Cleaned up imports.
12010
12011 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12012
12013         * java/util/regex/Matcher.java,
12014         java/util/regex/Pattern.java:
12015         Cleaned up imports.
12016
12017 2004-04-22  Michael Koch  <konqueror@gmx.de>
12018
12019         * java/nio/charset/IllegalCharsetNameException.java
12020         (charsetName): Made private.
12021         (IllegalCharsetNameException): Added @param tag to javadoc.
12022         (getCharsetName): Added @return tag to javadoc.
12023         * java/nio/charset/MalformedInputException.java
12024         (MalformedInputException): Added @param tag to javadoc.
12025         (getInputLength): Revised method description, added @return tag.
12026         (getMessage): Added @return tag.
12027
12028 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
12029
12030         * java/awt/Font.java (deriveFont): Implement missing variants.
12031         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12032         missing variants.
12033
12034 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
12035
12036         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12037         Set method->index values for interface methods to their itable index.
12038         (initializeClass): Call _Jv_LayoutInterfaceMethods.
12039
12040 2004-04-21  Michael Koch  <konqueror@gmx.de>
12041
12042         * java/nio/DirectByteBufferImpl.java
12043         (shiftDown): Made static, give address as argument and
12044         provide a convenience method that overwrites shiftDown in
12045         ByteBufferImpl and calls the native shiftDown.
12046         * java/nio/MappedByteBufferImpl.java
12047         (): Use optimized method in DirectByteBufferImpl.
12048         * java/nio/natDirectByteBufferImpl.cc
12049         (shiftDown): Changed method signature. Removed usage of array_offset.
12050
12051 2004-04-21  Michael Koch  <konqueror@gmx.de>
12052
12053         * gnu/java/net/natPlainSocketImplPosix.cc
12054         (SocketInputStream::read): Make sure returned data is a byte value.
12055
12056 2004-04-21  Michael Koch  <konqueror@gmx.de>
12057
12058         * gnu/classpath/ServiceFactory.java,
12059         gnu/classpath/ServiceProviderLoadingAction.java,
12060         javax/imageio/ImageReader.java,
12061         javax/imageio/ImageTranscoder.java,
12062         javax/imageio/ImageWriter.java,
12063         javax/imageio/package.html,
12064         javax/imageio/spi/IIOServiceProvider.java,
12065         javax/imageio/spi/ImageInputStreamSpi.java,
12066         javax/imageio/spi/ImageOutputStreamSpi.java,
12067         javax/imageio/spi/ImageReaderWriterSpi.java,
12068         javax/imageio/spi/ImageTranscoderSpi.java,
12069         javax/imageio/spi/RegisterableService.java,
12070         javax/imageio/spi/ServiceRegistry.java,
12071         javax/imageio/spi/package.html,
12072         javax/imageio/stream/IIOByteBuffer.java,
12073         javax/imageio/stream/ImageInputStream.java,
12074         javax/imageio/stream/ImageOutputStream.java,
12075         javax/imageio/stream/package.html:
12076         New files.
12077         * Makefile.am
12078         (ordinary_java_source_files): Added
12079         gnu/classpath/ServiceFactory.java and
12080         gnu/classpath/ServiceProviderLoadingAction.java.
12081         (javax_source_files): Added
12082         javax/imageio/ImageReader.java,
12083         javax/imageio/ImageTranscoder.java,
12084         javax/imageio/ImageWriter.java,
12085         javax/imageio/spi/IIOServiceProvider.java,
12086         javax/imageio/spi/ImageInputStreamSpi.java,
12087         javax/imageio/spi/ImageOutputStreamSpi.java,
12088         javax/imageio/spi/ImageReaderWriterSpi.java,
12089         javax/imageio/spi/ImageTranscoderSpi.java,
12090         javax/imageio/spi/RegisterableService.java,
12091         javax/imageio/spi/ServiceRegistry.java,
12092         javax/imageio/stream/IIOByteBuffer.java,
12093         javax/imageio/stream/ImageInputStream.java and
12094         javax/imageio/stream/ImageOutputStream.java.
12095         * Makefile.in: Regenerated.
12096
12097 2004-04-21  Michael Koch  <konqueror@gmx.de>
12098
12099         * java/util/Properties.java
12100         (load): Fix wrongly merged fix.
12101
12102 2004-04-21  Mark Wielaard  <mark@klomp.org>
12103
12104         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12105         malloc and free buf.
12106
12107 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
12108
12109         * javax/naming/AuthenticationException.java,
12110         javax/naming/AuthenticationNotSupportedException.java,
12111         javax/naming/CannotProceedException.java,
12112         javax/naming/CommunicationException.java,
12113         javax/naming/CompoundName.java,
12114         javax/naming/ConfigurationException.java,
12115         javax/naming/ContextNotEmptyException.java,
12116         javax/naming/InitialContext.java,
12117         javax/naming/InsufficientResourcesException.java,
12118         javax/naming/InterruptedNamingException.java,
12119         javax/naming/LimitExceededException.java,
12120         javax/naming/LinkException.java,
12121         javax/naming/LinkLoopException.java,
12122         javax/naming/LinkRef.java,
12123         javax/naming/MalformedLinkException.java,
12124         javax/naming/Name.java,
12125         javax/naming/NameAlreadyBoundException.java,
12126         javax/naming/NameNotFoundException.java,
12127         javax/naming/NamingSecurityException.java,
12128         javax/naming/NoInitialContextException.java,
12129         javax/naming/NoPermissionException.java,
12130         javax/naming/NotContextException.java,
12131         javax/naming/PartialResultException.java,
12132         javax/naming/ReferralException.java,
12133         javax/naming/ServiceUnavailableException.java,
12134         javax/naming/SizeLimitExceededException.java,
12135         javax/naming/TimeLimitExceededException.java,
12136         javax/naming/directory/Attribute.java,
12137         javax/naming/directory/Attributes.java,
12138         javax/naming/directory/SearchResult.java,
12139         javax/naming/event/NamingExceptionEvent.java,
12140         javax/naming/spi/ResolveResult.java:
12141         Cleaned up imports.
12142
12143 2004-04-21  Mark Wielaard  <mark@klomp.org>
12144
12145         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12146         Changed C++ comments into C comments. Removed commented out code.
12147         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12148         Likewise.
12149         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12150         Likewise.
12151         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12152         Likewise.
12153         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12154         Likewise.
12155         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12156         Likewise.
12157         * native/jni/gtk-peer/gthread-jni.c:
12158         Likewise.
12159
12160 2004-04-21  Mark Wielaard  <mark@klomp.org>
12161
12162         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12163         static fields defined in interface.
12164         * javax/awt/JDialog.java: Likewise.
12165         (JDialog): Make constructors public.
12166         (getDefaultCloseOperation): Make public.
12167         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12168         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12169         * javax/swing/JViewport.java (JViewport): Make constructor public.
12170
12171 2004-04-21  Michael Koch  <konqueror@gmx.de>
12172
12173         * java/util/Map.java
12174         (Entry): Removed redundant "static" modifier.
12175         * java/text/AttributedCharacterIterator.java:
12176         Updated copyright year.
12177
12178 2004-04-20  Michael Koch  <konqueror@gmx.de>
12179
12180         * javax/naming/directory/SearchControls.java:
12181         Don't explicitely extend java.lang.Object.
12182         * javax/naming/spi/DirStateFactory.java:
12183         Merged copyright year with GNU classpath.
12184
12185 2004-04-20  Michael Koch  <konqueror@gmx.de>
12186
12187         * java/nio/channels/Channels.java:
12188         Merged coding style with GNU classpath.
12189
12190 2004-04-20  Michael Koch  <konqueror@gmx.de>
12191
12192         * java/net/ServerSocket.java
12193         Merged coding style from GNU classpath.
12194
12195 2004-04-20  Michael Koch  <konqueror@gmx.de>
12196
12197         * java/io/BufferedWriter.java:
12198         Reordered variables to be at top of the class.
12199         (localFlush): Removed redundant final keyword.
12200
12201 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12202
12203         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
12204
12205 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12206
12207         * java/text/DecimalFormat.java (scanFix): Removed suffix check
12208         for percent and permill check.
12209
12210 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12211
12212         * java/text/FieldPosition.java
12213         (FieldPosition) Constructor now behaves as it should according
12214         to the java documentation.
12215
12216 2004-04-20  Mark Wielaard  <mark@klomp.org>
12217
12218         * java/util/Properties.java: Use the word umlaut, not &auml; in api
12219         documentation.
12220
12221 2004-04-20  Michael Koch  <konqueror@gmx.de>
12222
12223         * java/nio/Buffer.java,
12224         java/nio/channels/AlreadyConnectedException.java,
12225         java/nio/channels/AsynchronousCloseException.java,
12226         java/nio/channels/ByteChannel.java,
12227         java/nio/channels/CancelledKeyException.java,
12228         java/nio/channels/Channel.java,
12229         java/nio/channels/Channels.java,
12230         java/nio/channels/ClosedByInterruptException.java,
12231         java/nio/channels/ClosedChannelException.java,
12232         java/nio/channels/ClosedSelectorException.java,
12233         java/nio/channels/ConnectionPendingException.java,
12234         java/nio/channels/DatagramChannel.java,
12235         java/nio/channels/FileChannel.java,
12236         java/nio/channels/FileLock.java,
12237         java/nio/channels/FileLockInterruptionException.java,
12238         java/nio/channels/GatheringByteChannel.java,
12239         java/nio/channels/IllegalBlockingModeException.java,
12240         java/nio/channels/IllegalSelectorException.java,
12241         java/nio/channels/InterruptibleChannel.java,
12242         java/nio/channels/NoConnectionPendingException.java,
12243         java/nio/channels/NonReadableChannelException.java,
12244         java/nio/channels/NonWritableChannelException.java,
12245         java/nio/channels/NotYetBoundException.java,
12246         java/nio/channels/NotYetConnectedException.java,
12247         java/nio/channels/OverlappingFileLockException.java,
12248         java/nio/channels/Pipe.java,
12249         java/nio/channels/ReadableByteChannel.java,
12250         java/nio/channels/ScatteringByteChannel.java,
12251         java/nio/channels/SelectableChannel.java,
12252         java/nio/channels/SelectionKey.java,
12253         java/nio/channels/Selector.java,
12254         java/nio/channels/ServerSocketChannel.java,
12255         java/nio/channels/SocketChannel.java,
12256         java/nio/channels/UnresolvedAddressException.java,
12257         java/nio/channels/UnsupportedAddressTypeException.java,
12258         java/nio/channels/WritableByteChannel.java,
12259         java/nio/channels/spi/AbstractInterruptibleChannel.java,
12260         java/nio/channels/spi/AbstractSelectableChannel.java,
12261         java/nio/channels/spi/AbstractSelectionKey.java,
12262         java/nio/channels/spi/AbstractSelector.java,
12263         java/nio/channels/spi/SelectorProvider.java,
12264         java/nio/charset/spi/CharsetProvider.java:
12265         Fixed javadocs and jalopied all over java.nio.
12266
12267 2004-04-20  Michael Koch  <konqueror@gmx.de>
12268
12269         * java/nio/ByteBufferImpl.java,
12270         java/nio/CharBufferImpl.java,
12271         java/nio/DirectByteBufferImpl.java,
12272         java/nio/DoubleBufferImpl.java,
12273         java/nio/DoubleViewBufferImpl.java,
12274         java/nio/FloatBufferImpl.java,
12275         java/nio/FloatViewBufferImpl.java,
12276         java/nio/IntBufferImpl.java,
12277         java/nio/IntViewBufferImpl.java,
12278         java/nio/LongBufferImpl.java,
12279         java/nio/LongViewBufferImpl.java,
12280         java/nio/MappedByteBufferImpl.java,
12281         java/nio/ShortBufferImpl.java,
12282         java/nio/ShortViewBufferImpl.java:
12283         Made sure all classes are final and removed final keyword from all
12284         methods.
12285
12286 2004-04-20  Michael Koch  <konqueror@gmx.de>
12287
12288         * java/rmi/MarshalledObject.java,
12289         java/rmi/Naming.java,
12290         java/rmi/RemoteException.java,
12291         java/rmi/activation/ActivationException.java,
12292         java/rmi/server/ServerCloneException.java,
12293         java/security/AccessController.java,
12294         java/security/AlgorithmParameterGenerator.java,
12295         java/security/AlgorithmParameters.java,
12296         java/security/CodeSource.java,
12297         java/security/Identity.java,
12298         java/security/IdentityScope.java,
12299         java/security/KeyPairGenerator.java,
12300         java/security/KeyStore.java,
12301         java/security/Security.java,
12302         java/security/Signature.java,
12303         java/security/SignatureSpi.java,
12304         java/security/SignedObject.java,
12305         java/security/spec/DSAParameterSpec.java,
12306         java/security/spec/DSAPrivateKeySpec.java,
12307         java/security/spec/DSAPublicKeySpec.java,
12308         java/sql/Array.java,
12309         java/sql/DatabaseMetaData.java,
12310         java/sql/ResultSet.java,
12311         java/text/ChoiceFormat.java,
12312         java/text/CollationElementIterator.java,
12313         java/text/CollationKey.java,
12314         java/text/Collator.java,
12315         java/text/DateFormat.java,
12316         java/text/DateFormatSymbols.java,
12317         java/text/DecimalFormatSymbols.java,
12318         java/text/Format.java,
12319         java/text/ParsePosition.java,
12320         java/text/RuleBasedCollator.java,
12321         java/text/SimpleDateFormat.java,
12322         java/text/StringCharacterIterator.java,
12323         java/util/Collections.java,
12324         java/util/PropertyResourceBundle.java,
12325         java/util/ResourceBundle.java,
12326         java/util/StringTokenizer.java,
12327         java/util/jar/Attributes.java,
12328         java/util/logging/ConsoleHandler.java,
12329         java/util/logging/LogManager.java,
12330         java/util/logging/MemoryHandler.java,
12331         java/util/logging/SocketHandler.java,
12332         javax/naming/NamingException.java:
12333         Fixed javadoc, coding style and argument names all over.
12334
12335 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12336
12337         * java/io/FileDescriptor.java: (FileDescriptor) Added public
12338         constructor. (valid) Added null check.
12339
12340 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12341
12342         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12343         * java/io/FileOutputStream.java
12344         (FileOutputStream) Reorganized constructors. Constructors now
12345         check whether the given path is directory.
12346
12347 2004-04-20  Michael Koch  <konqueror@gmx.de>
12348
12349         * java/net/Authenticator.java,
12350         java/net/BindException.java,
12351         java/net/ConnectException.java,
12352         java/net/ContentHandler.java,
12353         java/net/ContentHandlerFactory.java,
12354         java/net/DatagramPacket.java,
12355         java/net/DatagramSocket.java,
12356         java/net/DatagramSocketImpl.java,
12357         java/net/DatagramSocketImplFactory.java,
12358         java/net/FileNameMap.java,
12359         java/net/HttpURLConnection.java,
12360         java/net/Inet4Address.java,
12361         java/net/Inet6Address.java,
12362         java/net/InetAddress.java,
12363         java/net/InetSocketAddress.java,
12364         java/net/JarURLConnection.java,
12365         java/net/MalformedURLException.java,
12366         java/net/MulticastSocket.java,
12367         java/net/NetPermission.java,
12368         java/net/NetworkInterface.java,
12369         java/net/NoRouteToHostException.java,
12370         java/net/PasswordAuthentication.java,
12371         java/net/PortUnreachableException.java,
12372         java/net/ProtocolException.java,
12373         java/net/ServerSocket.java,
12374         java/net/Socket.java,
12375         java/net/SocketAddress.java,
12376         java/net/SocketException.java,
12377         java/net/SocketImpl.java,
12378         java/net/SocketImplFactory.java,
12379         java/net/SocketOptions.java,
12380         java/net/SocketPermission.java,
12381         java/net/SocketTimeoutException.java,
12382         java/net/URI.java,
12383         java/net/URISyntaxException.java,
12384         java/net/URL.java,
12385         java/net/URLClassLoader.java,
12386         java/net/URLConnection.java,
12387         java/net/URLDecoder.java,
12388         java/net/URLEncoder.java,
12389         java/net/URLStreamHandler.java,
12390         java/net/URLStreamHandlerFactory.java,
12391         java/net/UnknownHostException.java,
12392         java/net/UnknownServiceException.java:
12393         Fixed javadocs, coding style and argument names all over.
12394
12395 2004-04-20  Michael Koch  <konqueror@gmx.de>
12396
12397         * java/lang/Byte.java,
12398         java/lang/CharSequence.java,
12399         java/lang/ClassLoader.java,
12400         java/lang/Compiler.java,
12401         java/lang/Double.java,
12402         java/lang/Float.java,
12403         java/lang/Integer.java,
12404         java/lang/Long.java,
12405         java/lang/Math.java,
12406         java/lang/Number.java,
12407         java/lang/Package.java,
12408         java/lang/Runtime.java,
12409         java/lang/RuntimePermission.java,
12410         java/lang/SecurityManager.java,
12411         java/lang/Short.java,
12412         java/lang/StringBuffer.java,
12413         java/lang/System.java,
12414         java/lang/ThreadGroup.java,
12415         java/lang/Throwable.java,
12416         java/lang/reflect/InvocationHandler.java,
12417         java/lang/reflect/Proxy.java:
12418         Fixed javadocs, coding style and argument names all over.
12419
12420 2004-04-20  Michael Koch  <konqueror@gmx.de>
12421
12422         * java/io/BufferedWriter.java,
12423         java/io/ByteArrayInputStream.java,
12424         java/io/CharArrayWriter.java,
12425         java/io/DataInput.java,
12426         java/io/DataInputStream.java,
12427         java/io/File.java,
12428         java/io/FilterInputStream.java,
12429         java/io/InputStream.java,
12430         java/io/InputStreamReader.java,
12431         java/io/ObjectInputStream.java,
12432         java/io/ObjectStreamClass.java,
12433         java/io/PipedInputStream.java,
12434         java/io/PipedReader.java,
12435         java/io/PushbackInputStream.java,
12436         java/io/PushbackReader.java,
12437         java/io/RandomAccessFile.java,
12438         java/io/SerializablePermission.java,
12439         java/io/StreamTokenizer.java,
12440         java/io/StringWriter.java,
12441         java/io/WriteAbortedException.java,
12442         java/io/Writer.java:
12443         Fixed javadocs all over, rename arguments to match javadocs,
12444         fixed coding style.
12445
12446 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12447
12448         * java/awt/FontMetrics.java:
12449         (charsWidth): fixed accumulation of total_width
12450         (getWidth): simple default implementation
12451         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12452         in Rectangle constructor.
12453         * java/awt/image/Raster.java (toString): Added method. 
12454         * java/awt/image/SampleModel.java (<init>): Added error cause
12455         information to thrown exception.
12456         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12457         New method.
12458         (setDataElements): New method.
12459         (setPixels): New method.
12460         (toString): New method.
12461
12462 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12463
12464         * java/awt/image/ComponentColorModel.java
12465         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12466         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12467         Mauve tests on this method. Improved documentation.
12468
12469 2004-04-20  Michael Koch  <konqueror@gmx.de>
12470
12471         * javax/swing/JLayeredPane.java,
12472         javax/swing/plaf/BorderUIResource.java,
12473         javax/swing/plaf/ComponentUI.java,
12474         javax/swing/undo/CompoundEdit.java,
12475         javax/swing/undo/StateEdit.java:
12476         Fixed HTML tags in javadocs all over.
12477
12478 2004-04-20  Michael Koch  <konqueror@gmx.de>
12479
12480         * javax/print/attribute/EnumSyntax.java
12481         (getOffset): Made protected.
12482         * javax/print/attribute/HashAttributeSet.java
12483         (HashAttributeSet): Likewise.
12484         * javax/print/attribute/ResolutionSyntax.java
12485         (getFeedResolution): Fixed typo in exception name.
12486         (getCrossFeedResolution): Likewise.
12487         * javax/print/attribute/SetOfIntegerSyntax.java
12488         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12489         * javax/print/attribute/TextSyntax.java
12490         (TextSyntax): Handle locale correctly.
12491         (hashCode): Calc better hashcode value.
12492         (equals): Fixed @return tag.
12493         (toString): New method.
12494
12495 2004-04-20  Michael Koch  <konqueror@gmx.de>
12496
12497         * gnu/java/nio/FileLockImpl.java
12498         (static): Removed, not needed anymore.
12499         * gnu/java/nio/channels/FileChannelImpl.java
12500         (FileChannelImpl): Made final.
12501         (mode): Made private.
12502         (READ, WRITE, APPEND): Made public.
12503         (EXCL, SYNC, DSYNC): Likewise.
12504         (static): Load native JNI library, when needed.
12505         (length): Unused, removed.
12506         (available): Made public.
12507         (implPosition): Throws IOException.
12508         (seek): Likewise.
12509         (implTruncate): Likewise.
12510         (unlock): Likewise.
12511         (lock): Likewise.
12512
12513 2004-04-20  Michael Koch  <konqueror@gmx.de>
12514
12515         * java/awt/AWTPermission.java,
12516         java/awt/Component.java,
12517         java/awt/ComponentOrientation.java,,
12518         java/awt/Dialog.java,
12519         java/awt/FontMetrics.java,
12520         java/awt/Graphics.java,
12521         java/awt/datatransfer/DataFlavor.java,
12522         java/beans/Introspector.java,
12523         java/beans/PropertyEditor.java,
12524         java/beans/PropertyEditorManager.java,
12525         java/beans/beancontext/BeanContextServiceProvider.java:
12526         Fixed HTML tags in javadocs all over.
12527
12528 2004-04-20  Mark Wielaard  <mark@klomp.org>
12529
12530         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12531         MissingResourceException is thrown.
12532         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12533         null when a MissingResourceException is thrown. Should never happen.
12534
12535 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12536
12537         * java/awt/image/DataBufferShort.java,
12538         java/awt/image/DataBufferFloat.java,
12539         java/awt/image/DataBufferDouble.java,
12540         java/awt/image/PixelInterleavedSampleModel.java: New files.
12541         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12542         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12543
12544 2004-04-20  Michael Koch  <konqueror@gmx.de>
12545
12546         * Makefile.am (java_source_files): Added
12547         java/awt/image/DataBufferDouble.java,
12548         java/awt/image/DataBufferFloat.java,
12549         java/awt/image/DataBufferShort.java and
12550         java/awt/image/PixelInterleavedSampleModel.java.
12551         * Makefile.in: Regenerated.
12552
12553 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
12554  
12555         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
12556         undocumented CNI calls.
12557         * include/java-interp.h (_Jv_InterpClass): No longer
12558         extends java.lang.Class.
12559         * java/lang/Class.h (Class): Add new field `aux_info'.
12560         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12561         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12562         Use Class->aux_info instead.
12563         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12564         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12565         Use Class->aux_info instead.
12566         * java/io/natObjectInputStream.cc (allocateObject): Use
12567         _Jv_AllocObject.
12568         * java/lang/natClass.cc (newInstance): Likewise.
12569         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12570         * java/lang/natObject.cc (clone): Likewise.
12571         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12572         * java/lang/natVMClassLoader.cc (defineClass): Don't use
12573         JvAllocObject. Allocate klass->aux_info here for interpreted
12574         class.
12575         
12576 2004-04-17  Mark Wielaard  <mark@klomp.org>
12577
12578         * javax/swing/JToggleButton.java (ToggleButtonModel):
12579         Make public static inner class.
12580         * javax/swing/JTabbedPane.java (setComponentAt):
12581         Call Page.setComponent().
12582         (SCROLL_TAB_LAYOUT): Make public, value is 1.
12583         (WRAP_TAB_LAYOUT): Make public, value is 0.
12584         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12585         Make private static inner class.
12586
12587 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
12588
12589         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12590         arguments to match new signature. Remove FIXME comments.
12591
12592 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
12593
12594         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12595         Remove method.
12596         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12597         unused code.
12598
12599 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
12600
12601         * Makefile.am: Added new file.
12602         * Makefile.in: Regenerate.
12603         * javax/swing/ImageIcon.java: 
12604         (ImageIcon(file)): set description of the icon 
12605         to the file name
12606         * javax/swing/JCheckBoxMenuItem.java:
12607         Mostly Implemented. Work in progress.
12608         * javax/swing/JRadioButtonMenuItem.java:
12609         Reimplement constructors to use JToggleButtonModel.
12610         * javax/swing/plaf/basic/BasicIconFactory.java:
12611         (getCheckBoxMenuItemIcon): return check box
12612         icon.
12613         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12614         paint menu item selected only when it is armed and 
12615         pressed. 
12616  
12617 2004-04-02  David Jee  <djee@redhat.com>
12618
12619         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12620         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12621         * java/awt/Component.java
12622         (add): Set the parent of the popup as this component.
12623         * java/awt/PopupMenu.java
12624         (addNotify): Create popup menu when peer is null.
12625         (show): Call addNotify() if peer is null.
12626         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12627         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12628         argument for gtk_menu_popup() as zero. This causes the popup menu to
12629         respond to any mouse button.
12630
12631 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
12632
12633         * Makefile.am: Added new file.
12634         * Makefile.in: Regenerate.
12635         * javax/swing/JRadioButtonMenuItem.java:
12636         Implemented.
12637         * javax/swing/plaf/basic/BasicIconFactory.java:
12638         (getRadioButtonMenuItemIcon): Return
12639         radio button icon.
12640         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12641         (getPreferredSize): Add size of checkIcon if it
12642         exists.
12643         (installDefaults): Don't initialize checkIcon.
12644         It's value will be set in subclasses. 
12645         (uninstallDefaults): remove uninstallation of 
12646         checkIcon.
12647         (paint): Moved code to paintMenuItem().
12648         (paintMenuItem): Implemented.
12649         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12650         UI delegate for JRadioButtonMenuItem.
12651         
12652 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12653
12654         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12655         Corrected position of the accelerator.
12656
12657 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12658
12659         * Makefile.am: Added new file. 
12660         * Makefile.in: Regenerate.
12661         * javax/swing/JMenuItem.java: Partly 
12662         implemented. Work in progress
12663         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12664         Changed default value of acceleratorDelimiter.
12665         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12666         New class. Partly implemented.
12667                 
12668 2004-03-26  Mark Wielaard  <mark@klomp.org>
12669
12670         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12671         (item_activate): Declare label before use.
12672         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12673         (gtkSetFont): Removed unused variable label.
12674         (addExposeFilter): Declare variables before use.
12675         (removeExposeFilter): Likewise.
12676         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12677         (ok_clicked): Declare str_fileName before use.
12678
12679 2004-03-26  David Jee  <djee@redhat.com>
12680
12681         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12682         (addSeparator): Remove.
12683         * java/awt/Menu.java
12684         (separator): Remove static final MenuItem field.
12685         (separatorLabel): New static final String field.
12686         (addSeparator): Do not use peer method; use add(MenuItem) instead.
12687         Use separatorLabel to denote that it is a separator.
12688         (insertSeparator): Create a new MenuItem with separatorLabel, instead
12689         of reusing the static separator instance, because a MenuItem instance
12690         can't be added more than once without being cloned.
12691         * java/awt/peer/MenuPeer.java
12692         (addSeparator): Remove from interface.
12693
12694 2004-03-26  David Jee  <djee@redhat.com>
12695
12696         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12697         (connectSignals): New native method declaration.
12698         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12699         * java/awt/MenuItem.java
12700         (getActionCommand): Return the label if the action command is not set.
12701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12702         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
12703         gtk_menu_shell_append().
12704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
12705         (item_activate): Fix argument type.
12706         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
12707         signal here.
12708         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
12709         method.
12710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12711         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
12712         given. Add the menu widget's top-level GtkWindow to the global window
12713         group, so it can grab the pointer.
12714         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
12715         gtk_menu_shell_append().
12716
12717 2004-03-23  Graydon Hoare  <graydon@redhat.com>
12718
12719         * java/text/AttributedString.java 
12720         (addAttribute): Fix off-by-one.
12721         (getIterator): Likewise.        
12722         * java/text/AttributedStringIterator.java 
12723         (getRunLimit): Correct logic.
12724         (getRunStart): Likewise.
12725         (getAttribute): Fix inequality.
12726         (getAttributes): Likewise.
12727         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
12728
12729 2004-03-23  Kim Ho  <kho@redhat.com>
12730
12731         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12732         (calculateSizes): Return real width and height.
12733
12734 2004-03-23  Kim Ho  <kho@redhat.com>
12735
12736         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12737         (calculateTabRects): Set the selectedRun before
12738         trying to rotate tabs.
12739
12740 2004-03-23  Kim Ho  <kho@redhat.com>
12741
12742         * Makefile.am: New file
12743         * Makefile.in: Regenerate
12744         * java/awt/Graphics.java: (drawRect):
12745         Draw to the correct point.
12746         * javax/swing/DefaultSingleSelectionModel.java
12747         (isSelected): Return true if the selected index
12748         is not -1.
12749         * javax/swing/JLabel.java: Do not change mnemonic
12750         index if text is null.
12751         * javax/swing/JProgressBar.java: Use JComponent's
12752         EventListenerList.
12753         * javax/swing/JScrollBar.java: Ditto.
12754         * javax/swing/JSlider.java: Ditto.
12755         * javax/swing/JTabbedPane.java: Reimplement.
12756         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12757         Add defaults for TabbedPane.
12758         * javax/swing/plaf/basic/BasicArrowButton.java:
12759         Implement
12760         * javax/swing/plaf/basic/BasicProgressBarUI.java:
12761         (paintDeterminate): Don't paint String if it's
12762         empty.
12763         (paintIndeterminate): ditto.
12764         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12765         Reimplement.
12766
12767 2004-03-19  Michael Koch  <konqueror@gmx.de>
12768
12769         * java/awt/image/AffineTransformOp.java
12770         (AffineTransformOp): Made public.
12771         * javax/swing/JComponent.java
12772         (listenerList): Made protected.
12773         (accessibleContext): Likewise.
12774         * javax/swing/JList.java
12775         (valueChanged): Dont use internal fields of ListSelectionEvent.
12776         * javax/swing/JViewport.java
12777         (getView): Dont use internal fields of Component.
12778         (addImpl): Likewise.
12779         * javax/swing/Timer.java
12780         (isRunning): Made public.
12781         (start): Likewise.
12782         (stop): Likewise.
12783         * javax/swing/UIDefaults.java
12784         (getInt): Made public.
12785         * javax/swing/plaf/basic/BasicListUI.java
12786         (mousePressed): Dont use internal fields of MouseEvent.
12787         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
12788         * javax/swing/plaf/basic/BasicScrollBarUI.java
12789         (arrowIcon): Made static.
12790         * javax/swing/plaf/basic/BasicViewportUI.java
12791         (stateChanged): Dont use internal field on ChangeEvent.
12792         * javax/swing/text/JTextComponent.java
12793         (getUI): Call UIManager.getUI().
12794         (updateUI): Use getUI().
12795
12796 2004-03-19  Graydon Hoare  <graydon@redhat.com>
12797
12798         * javax/swing/JComponent.java: Turn off double buffer by default.
12799         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
12800         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
12801         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
12802         Use cairo to copy areas.
12803         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
12804         Initialize and set clip region.
12805
12806 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
12807
12808         * java/applet/Applet.java (preferredSize): Override deprecated
12809         variant of getPreferredSize.
12810         (minimumSize): Override deprecated variant of getMinimumSize.
12811
12812 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
12813
12814         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12815         (drawImage(img,xform,bgcolor,obs)): New Method.
12816         Helper function that every drawImage method will
12817         use.
12818         (drawRaster): Added new parameter, bgcolor. All
12819         transparent pixels are changed to bgcolor before 
12820         image is drawn.
12821         (drawRenderedImage): Fixed to use changed drawRaster().
12822         (drawImage(image,xform,obs): Fixed to use new helper function 
12823         (drawImage(image,op,x,y)): Ditto.
12824         (drawImage (img,x,y,observer)): Ditto.
12825         ((PainterThread) bgcolor): New Field.
12826         ((PainterThread) (setPixels)): Changed all transparent pixels 
12827         to bgcolor.     
12828         (drawImage(img,x,y,width,height,bgcolor,observer)): 
12829         Fixed FIXME - all the transparent pixels are 
12830         changed to the specified bgcolor. 
12831         (drawImage(img, x, y, width, height, observer): Changed to 
12832         use function above.
12833         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
12834         Fixed FIXME- changed all transparent pixels to bgcolor.
12835         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
12836         Changed to use function above. 
12837
12838 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
12839
12840         * java/applet/Applet.java (dimensions): New field.
12841         (getDimensions): New method.
12842         (getPreferredSize): Call getDimensions.
12843         (getMinimumSize): Likewise.
12844
12845 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12846
12847         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
12848         * jni/classpath/jnilink.c: Likewise.
12849
12850         * java/applet/Applet.java (getPreferredSize): New method.
12851         (getMinimumSize): New method.
12852
12853 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
12854
12855         * prims.cc (_Jv_AllocObject): Remove `size' argument.
12856         (_Jv_AllocObjectNoFinalizer): Likewise.
12857         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
12858         (_Jv_AllocPtrFreeObject): Likewise.
12859         (_Jv_AllocString): Moved from natString.cc. Call collector interface
12860         directly even in the JVMPI case.        
12861         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
12862         _Jv_AllocObject calls.
12863         * gcj/javaprims.h: Update prototypes.
12864         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
12865         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
12866         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
12867
12868 2004-04-14  Andrew Haley  <aph@redhat.com>
12869             Bryce McKinlay  <mckinlay@redhat.com>
12870
12871         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
12872         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
12873         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
12874
12875         * testsuite/libjava.lang/InvokeInterface.java: New file.
12876         * testsuite/libjava.lang/InvokeInterface.out: New file.
12877
12878 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
12879         
12880         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
12881         modified lookup().
12882         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
12883         StackTraceElement directly.
12884         (newElement): New native helper method to create StackTraceElement
12885         bypassing Java access control.
12886         (createStackTraceElement): Use newElement() instead of directly
12887         calling StackTraceElement's constructor.
12888         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
12889
12890 2004-04-01  Michael Koch  <konqueror@gmx.de>
12891
12892         * java/lang/SecurityManager.java
12893         (checkAwtEventQueueAccess): Implemented.
12894
12895 2004-04-01  Gary Benson  <gbenson@redhat.com>
12896
12897         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
12898         (_Jv_SearchMethodInClass): Likewise.
12899
12900 2004-03-26  Peter Moon  <peterm@miraculum.com>
12901
12902         * java/text/NumberFormat.java: Fix spelling of setCurrency
12903         method.
12904
12905 2004-03-21  Anthony Green  <green@redhat.com>
12906
12907         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
12908         recursion when searching for the system ClassLoader.
12909
12910 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
12911
12912         * java/net/ServerSocket.java
12913         (accept): Close the socket when error occured.
12914
12915 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
12916
12917         * java/net/URI.java (parseURI): Added unquoting.
12918         (unquote): New method.
12919         (quoteAuthority): Implemented.
12920         (quote(String,String)): New method.
12921         (quotePath): Implemented.
12922         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
12923         (getSchemeSpecificPart): Removed FIXME comment.
12924         (getRawAuthority): Return new rawAuthority field.
12925         (getAuthority): Removed FIXME comment.
12926         (getRawUserInfo): Return new rawUserInfo field.
12927         (getUserInfo): Removed FIXME comment.
12928         (getRawPath): Return new rawPath field.
12929         (getPath): Removed FIXME comment.
12930         (getRawQuery): Return new rawQuery field.
12931         (getQuery): Removed FIXME comment.
12932         (getRawFragment): Return new rawFragment field.
12933         (getFragment): Removed FIXME comment.
12934
12935 2004-03-20  Michael Koch  <konqueror@gmx.de>
12936
12937         * java/net/URLConnection.java: Merged copyright year with classpath.
12938
12939 2004-03-20  Norbert Frese  <postfach@nfrese.net>
12940
12941         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
12942         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
12943         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
12944         rmi-message.
12945         (getObjectInputStream): Return object reference, throw IOException if null.
12946         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
12947         (getObjectOutputStream): Return object reference, throw IOException if null.
12948         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
12949         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
12950         (UnicastConnectionManager): Throw RemoteException if port is not available.
12951         (getInstance): Throw RemoteException.
12952         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
12953         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
12954         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
12955         Collect Exceptions which are returned by a rmi-call and fix void returns.
12956         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
12957         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
12958         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
12959         (dispatch): Answer ping messages which are sent by other java implementions.
12960         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
12961         for every rmi-message and fix void return problems.
12962         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
12963         (UnicastServerRef): Throw RemoteException.
12964         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
12965         In some situations it is necessary to export a subclass of the class which has the _Stub.
12966         For instance when the class with has the _Stub is abstract.
12967         (findStubSkelClass): New method which looks for the class which has the _Stub.
12968         (getClientHost): Implementated.
12969         * gcc/libjava/java/rmi/server/RemoteServer.java
12970         (getClientHost): Implementated.
12971         * gcc/libjava/Makefile.am (rmi_java_source_files):
12972         Added gnu/java/rmi/server/RMIIncomingThread.java.
12973         * Makefile.in: Regenerated.
12974
12975 2004-03-20  Michael Koch  <konqueror@gmx.de>
12976
12977         * java/net/InetAddress.java
12978         (getLocalHostname): Added javadoc.
12979
12980 2004-03-19  Per Bothner  <per@bothner.com>
12981
12982         * configure.in: FILE variable  overrides FLATFORM when linking
12983         natFileChannelXXX.cc.
12984
12985         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
12986         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
12987
12988 2004-03-19  Per Bothner  <per@bothner.com>
12989
12990         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
12991         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
12992         * Makefile.am:  Update accordingly.
12993         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
12994         as aliases for UnicodeLittle and UnicodeBig.
12995
12996 2004-03-20  Mark Wielaard  <mark@klomp.org>
12997
12998         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
12999         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13000         Don't access ws when it is null.
13001         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13002         Likewise.
13003
13004 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
13005
13006         * java/lang/ThreadGroup.java (list): Changed print to println.
13007
13008 2004-03-19  Mark Wielaard  <mark@klomp.org>
13009
13010         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
13011         happy.
13012
13013 2004-02-10  Randolph Chung  <tausq@debian.org>
13014  
13015         * configure.in: Build java for hppa target.
13016         * configure: Regenerate.
13017         * libjava/configure.host (hppa-*): Add target.
13018         * libjava/sysdeps/pa/lock.h: New file.
13019
13020 2004-03-19  Mark Wielaard  <mark@klomp.org>
13021
13022         Reported by Stephen Crawley
13023         * java/io/FilePermission.java (implies): Use String.length() -1 to
13024         access last char of String.
13025
13026 2004-03-19  Michael Koch  <konqueror@gmx.de>
13027
13028         * java/awt/image/AffineTransformOp.java
13029         (AffineTransformOp): Made public.
13030         * javax/swing/JComponent.java
13031         (listenerList): Made protected.
13032         (accessibleContext): Likewise.
13033         * javax/swing/JList.java
13034         (valueChanged): Dont use internal fields of ListSelectionEvent.
13035         * javax/swing/JViewport.java
13036         (getView): Dont use internal fields of Component.
13037         (addImpl): Likewise.
13038         * javax/swing/Timer.java
13039         (isRunning): Made public.
13040         (start): Likewise.
13041         (stop): Likewise.
13042         * javax/swing/UIDefaults.java
13043         (getInt): Made public.
13044         * javax/swing/plaf/basic/BasicListUI.java
13045         (mousePressed): Dont use internal fields of MouseEvent.
13046         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13047         * javax/swing/plaf/basic/BasicScrollBarUI.java
13048         (arrowIcon): Made static.
13049         * javax/swing/plaf/basic/BasicViewportUI.java
13050         (stateChanged): Dont use internal field on ChangeEvent.
13051         * javax/swing/text/JTextComponent.java
13052         (getUI): Call UIManager.getUI().
13053         (updateUI): Use getUI().
13054
13055 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13056
13057         * verify.cc: Undef PC.
13058
13059 2004-03-18  Michael Koch  <konqueror@gmx.de>
13060
13061         * java/nio/channels/spi/AbstractSelectableChannel.java
13062         (keys): Initialize at declaration.
13063         (locate): keys cant be null.
13064         (add): Removed.
13065         (addSelectionKey): New method.
13066         (removeSelectionKey): New method.
13067         * java/nio/channels/spi/AbstractSelectionKey.java
13068         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13069         * java/nio/channels/spi/AbstractSelector.java
13070         (provider): Javadoc added.
13071         (cancelledKeys): Javadoc added.
13072         (cancelKey): Javadoc added, add key to cancelledKeys.
13073         (deregister): Implemented.
13074
13075 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13076
13077         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13078         MAP_FAILED to void *.
13079
13080 2004-03-12  Graydon Hoare  <graydon@redhat.com>
13081
13082         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13083         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
13084         * javax/swing/JList.java (ListListener): Revalidate on changes.
13085         * javax/swing/JScrollPane.java: Reimplement.
13086         * javax/swing/JViewport.java: Reimplement.
13087         * javax/swing/ScrollPaneLayout.java: Reimplement.
13088         * javax/swing/ViewportLayout.java: Tidy up.
13089         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13090         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13091         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13092         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13093         backing store only.
13094
13095 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
13096
13097         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13098         (window_wm_protocols_filter): New function.
13099         (window_focus_in_cb): Remove function.
13100         (window_focus_out_cb): Likewise.
13101         (window_focus_or_active_state_change_cb): New function.
13102         (create): Add filter that removes WM_TAKE_FOCUS client messages.
13103         (connectSignals): Don't attach handlers to focus-in-event or
13104         focus-out-event signals.  Handle notify signal.
13105
13106 2004-03-11  David Jee  <djee@redhat.com>
13107
13108         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13109         (gtkSetLabel): New native method declaration.
13110         (setLabel): Use gtkSetLabel.
13111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13112         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13113
13114 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
13115
13116         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13117         black when color argument is null.
13118
13119 2004-03-10  Kim Ho  <kho@redhat.com>
13120
13121         * java/awt/Container.java: Remove check
13122         for drag events.
13123
13124 2004-03-10  Kim Ho  <kho@redhat.com>
13125
13126         * java/awt/Container.java: (visitChild):
13127         Remove candidate clip. Use the component
13128         clip to intersect.
13129         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13130         (handleEvent): Use the PaintEvent's clip.
13131
13132 2004-03-10  Kim Ho  <kho@redhat.com>
13133
13134         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13135         (handleEvent): Don't set the clip for the
13136         Graphics object.
13137
13138 2004-03-09  Graydon Hoare  <graydon@redhat.com>
13139
13140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
13141         Fix double <-> fixed macros, reset font transform.
13142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13143         Likewise.
13144
13145 2004-03-09  Kim Ho  <kho@redhat.com>
13146
13147         * java/awt/Container.java: (visitChild): Move
13148         the x and y coordinate of the component rectangle
13149         to correct position.
13150         (handleEvent): Forward drag events to the pressed
13151         component.
13152         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13153         Fix comments.
13154         (ArrowButtonListener::mousePressed): Stop the
13155         existing timer.
13156         (mouseDragged): Implement.
13157         (TrackListener::mousePressed): Only react if
13158         the press doesn't occur on the thumb, otherwise
13159         just set the offset.
13160         (TrackListener::mouseReleased): Unset the isAdjusting
13161         value.
13162         (createIncreaseIcon): Switch icon.
13163         (createDecreaseIcon): Switch icon.
13164         (calculatePreferredSize): Use width.
13165         (getThumbBounds): Use the top as the lower value.
13166         (layoutVScrollBar): Switch the button locations.
13167         (paintIncreaseHighlight): Paint correct side of thumb.
13168         (paintDecreaseHighlight): ditto.
13169         (valueForYPosition): Use top as the lower value.
13170         * javax/swing/plaf/basic/BasicSliderUI.java:
13171         Fix comments.
13172         (mouseDragged): Implement.
13173         (mousePressed): Only react when the thumb isn't
13174         pressed, otherwise just set offset.
13175         (mouseReleased): Handle a release of the thumb.
13176         (scrollDueToClickInTrack): Stop the timer first.
13177         * javax/swing/JProgressBar.java:
13178         (setString): Fix change condition.
13179         * javax/swing/JSeparator.java:
13180         Remove println's.
13181
13182 2004-03-08  David Jee  <djee@redhat.com>
13183
13184         * java/awt/image/AffineTransformOp.java:
13185         (filter): Use Graphics2D interface instead of directly using the
13186         GdkGraphics2D peer.
13187
13188 2004-03-05  David Jee  <djee@redhat.com>
13189
13190         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13191         (handleEvent): Action events are generated upon MOUSE_RELEASED.
13192         * java/awt/Container.java
13193         (acquireComponentForMouseEvent): Fixed.
13194         (handleEvent): Fixed.
13195         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13196         (state_to_awt_mods_with_button_states): New method.
13197         (pre_event_handler): Fixed mouse event generation.
13198
13199 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
13200
13201         gnu/java/awt/peer/gtk/GdkGraphics2D.java
13202         (GdkGraphics2D (BufferedImage)): Initialize
13203         pixmap associated with specified BufferedImage.
13204         (setPaint): Changed implementation of Texture
13205         Paint to use AffineTransformOp.
13206         * java/awt/image/AffineTransformOp.java
13207         (createCompatibleDestRaster): Throw RasterFormatException 
13208         if resulting width or height of raster is 0.
13209
13210 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
13211
13212         * java/awt/image/AffineTransformOp.java:
13213         Removed unnecessary field interpolationType.
13214         Formatted some of the lines to be consistent with 
13215         the GNU style.
13216         (AffineTransformOp): Create new RenderingHints 
13217         containing specified interpolation type.
13218         (createCompatibleDestImage): Implemented.
13219         (createCompatibleDestRaster): Implemented.
13220         (filter): Implemented.
13221         (getBounds2D(BufferedImage)): Implemented.
13222         (getBounds2D(Raster)): Implemented.
13223         (getInterpolationType): Get interpolation value from 
13224         rendering hints.
13225
13226 2004-03-04  David Jee  <djee@redhat.com>
13227
13228         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13229         (setFont): Check if child peers are null.
13230
13231 2004-03-04  Graydon Hoare  <graydon@redhat.com>
13232
13233         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13234         .libs in -L option.
13235         (libjava_arguments): Add new libraries to argument list.
13236
13237 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
13238
13239         * Makefile.am: Added java/awt/image/AffineTransformOp.java
13240         * Makefile.in: Re-generated.
13241         * java/awt/image/AffineTransformOp.java: New Class.
13242
13243 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
13244
13245         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13246         (setPaint): Interpret correctly TexturePaint's
13247         anchor rectangle.
13248         (drawImage): Fixed scale factors of the affine
13249         transform.
13250
13251 2004-02-27  David Jee  <djee@redhat.com>
13252
13253         * gnu/java/awt/peer/gtk/GdkGraphics.java
13254         (GdkGraphics(Component)): Inherit font from component.
13255         (drawString): Use font style.
13256         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13257         (gtkSetFont): New native method declaration.
13258         (setFont): New method.
13259         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13260         (gtkSetFont): New native method declaration.
13261         (setFont): Call new native method gtkSetFont.
13262         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13263         (setFont): For all child components who do not their fonts set,
13264         set their peers' fonts with this container's font.
13265         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13266         Move all native method declarations to the top for readability.
13267         (gtkSetFont): New native method declaration.
13268         (setFont): New method.
13269         * java/awt/Component.java
13270         (setFont): Invalidate after setting the font.
13271         * java/awt/Container.java
13272         (invalidateTree): New method.
13273         (setFont): Invalidate the container tree after setting the font.
13274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13275         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13277         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13279         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13281         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13282
13283 2004-02-27  Olga Rodimina <rodimina@redhat.com>
13284
13285         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13286         (updateBufferedImage): New helper function.
13287         Updates BufferedImage in memory if it was changed.
13288         (draw): changed to update BufferedImage in memory after
13289         this drawing operation
13290         (fill): Ditto.
13291         (draw3DRect): Ditto.
13292         (fill3DRect): Ditto.
13293         (clearRect): Ditto.
13294         (drawRaster): Ditto.
13295         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
13296         no affine transformation.
13297         (drawGlyphVector): Ditto.
13298
13299 2004-02-26  Olga Rodimina <rodimina@redhat.com>
13300
13301         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13302         (isBufferedImageGraphics): New Helper function. 
13303         Returns true if this graphics2d can be used to draw 
13304         into buffered image and false otherwise.
13305         (updateImagePixels): New Helper function. 
13306         Updates pixels in the BufferedImage.
13307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13308         (getImagePixels): New function. Returns pixels
13309         of the buffered image associated with 
13310         this Graphics2D.
13311
13312 2004-02-26  David Jee  <djee@redhat.com>
13313
13314         * java/awt/BorderLayout.java
13315         (layoutContainer): Fix width and height calculations to ensure
13316         that they're non-negative.
13317         * java/awt/Component.java
13318         (setBackground): If c is null, inherit from closest ancestor whose
13319         background color is set.
13320
13321 2004-02-26  Kim Ho  <kho@redhat.com>
13322
13323         * Makefile.am: Add new files.
13324         * Makefile.in: Re-generate.
13325         * javax/swing/JProgressBar.java: 
13326         (JProgressBar(int, int int)): Throw
13327         IllegalArgumentException if orientation is
13328         invalid.
13329         (JProgressBar(BoundedRangeModel)): Create
13330         ChangeListener and register it. UpdateUI.
13331         (getChangeListeners): Implement.
13332         (setModel): Reset ChangeListener.
13333         * javax/swing/JScrollBar.java: Implement.
13334         * javax/swing/JSeparator.java: Implement.
13335         * javax/swing/JSlider.java:
13336         (JSlider(int, int, int, int)): Throw 
13337         IllegalArgumentException if orientation
13338         is invalid.
13339         (getChangeListeners): Fix method name.
13340         * javax/swing/SwingUtilities.java:
13341         (layoutCompoundLabel): If there is no text,
13342         set the text rectangle dimensions to 0.
13343         * javax/swing/plaf/basic/BasicButtonUI.java:
13344         (paint): If there is no text, don't paint it.
13345         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13346         Implement.
13347         * javax/swing/plaf/basic/BasicSeparatorUI.java:
13348         Implement.
13349         * javax/swing/plaf/basic/BasicSliderUI.java: 
13350         (propertyChange): If the model changes, change
13351         the listeners accordingly.
13352
13353 2004-02-25  Graydon Hoare  <graydon@redhat.com>
13354
13355         * javax/swing/AbstractButton.java: Add "final" qualifiers.
13356         * javax/swing/JList.java: Reimplement.
13357         * javax/swing/DefaultListSelectionModel.java: Reimplement.
13358         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13359         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13360         * javax/swing/ListModel.java: Javadoc.
13361         * javax/swing/ListSelectionModel.java: Add missing methods.
13362         * javax/swing/AbstractListModel.java: Javadoc and corrections.
13363         * javax/swing/DefaultListModel.java: Javadoc and corrections.
13364         * javax/swing/ListModel.java: Javadoc and corrections.
13365         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13366
13367 2004-02-25  David Jee  <djee@redhat.com>
13368
13369         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13370         (GtkFontPeer): Change default size to 12.
13371         * gnu/java/awt/peer/gtk/GtkToolkit.java
13372         (getFontPeer): Change default size to 12.
13373         (getClasspathFontPeer): Likewise. Set default name to "Default".
13374         * java/awt/Font.java
13375         (Font(Map)): Call Font(String,Map).
13376         (Font(String,Map)): If attrs is null, initialize it as an empty
13377         HashMap, which will ensure that the Font will get default attributes.
13378
13379 2004-02-25  David Jee  <djee@redhat.com>
13380
13381         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13382         (GtkFontPeer(String,int)): Call the new constructor with size 1.
13383         (GtkFontPeer(String,int,int)): New constructor with size attribute.
13384         * gnu/java/awt/peer/gtk/GtkToolkit.java
13385         (getFontPeer(String,int)): Call the new overload method with size 1.
13386         (getFontPeer(String,int,int)): New method. Overloaded with size
13387         attribute.
13388         (getClasspathFontPeer): Set the size of the font.
13389
13390 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
13391
13392         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13393         (bimage): New field.
13394         (GdkGraphics2D): New Constructor. Constructs Graphics
13395         object that can be used to draw into the Buffered Image.
13396         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13397         (GdkGraphicsEnvironment): Fixed to include public 
13398         keyword.
13399         (createGraphics): Implemented.
13400         * gnu/java/awt/peer/gtk/GtkToolkit.java
13401         (getLocalGraphicsEnvironment): Implemented.
13402         * java/awt/GraphicsEnvironment.java:
13403         (getLocalGraphicsEnvironment): Implemented.
13404         * java/awt/image/BufferedImage.java:
13405         (createGraphics): Implemented.
13406                 
13407 2004-02-24  David Jee  <djee@redhat.com>
13408
13409         * java/awt/Component.java
13410         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13411         * java/awt/Container.java
13412         (addNotifyContainerChildren): Fix event enabling.
13413
13414 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
13415
13416         * Makefile.am: Added 
13417         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13418         * Makefile.in: Re-generated.
13419         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13420         New Class. 
13421         
13422 2004-02-19  Kim Ho  <kho@redhat.com>
13423
13424         * Makefile.am: Add BasicProgressBarUI
13425         * Makefile.in: Regenerate.
13426         * javax/swing/JProgressBar.java: 
13427         Re-implement.
13428         * javax/swing/plaf/basic/BasicLookAndFeel.java
13429         Add constants for JProgressBar.
13430         * javax/swing/plaf/basic/BasicProgressBarUI.java
13431         Implement.
13432         * javax/swing/plaf/basic/BasicSliderUI.java
13433         Change comments.
13434         (calculateGeometry): New method
13435         (paint): Remove unnecessary size calculations.
13436
13437 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
13438
13439         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13440         (drawRaster): Fixed small error that caused
13441         imageToUser transformation to be set incorrectly.
13442         (toString): Implemented.
13443
13444 2004-02-18  David Jee  <djee@redhat.com>
13445
13446         * java/awt/CardLayout.java
13447         (addLayoutComponent): Show the first component added as the default.
13448         (removeLayoutComponent): After removing, show the next component.
13449         (gotoComponent): If there is only one component, show it and return.
13450
13451 2004-02-18  Kim Ho  <kho@redhat.com>
13452
13453         * javax/swing/JSlider.java: Re-order
13454         modifiers.
13455         * javax/swing/JLabel.java: Re-order
13456         modifiers.
13457         * javax/swing/JComponent.java: 
13458         (addPropertyChangeListener):
13459         Implement.
13460         (removePropertyChangeListener):
13461         ditto.
13462         (firePropertyChangeEvent):
13463         ditto.
13464
13465 2004-02-17  David Jee  <djee@redhat.com>
13466
13467         * java/awt/Component.java
13468         (show): Dispatch ComponentEvent via system event queue.
13469         (hide): Likewise.
13470         (move): Likewise.
13471         (resize): Likewise.
13472         (reshape): Likewise.
13473         * java/awt/Window.java
13474         (setBoundsCallback): Likewise.
13475
13476 2004-02-17  David Jee  <djee@redhat.com>
13477
13478         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13479         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13480         Use gtk_widget_set_size_request() instead of the deprecated
13481         gtk_widget_set_usize().
13482
13483 2004-02-17  Kim Ho  <kho@redhat.com>
13484
13485         * javax/swing/JSlider.java: Fix comments and
13486         make property strings constants.
13487         (createStandardLabels): Use the labels
13488         preferred size as bounds.
13489         * javax/swing/plaf/basic/BasicSliderUI.java
13490         Fix comments.
13491         (ScrollHandler::actionPerformed): Don't
13492         calculate the timer stop value. Let the
13493         MouseListeners find the stop location.
13494         (getPreferredHorizontalSize): Re-implement.
13495         (getPreferredVerticalSize): ditto.
13496         (getMinimumHorizontalSize): ditto.
13497         (getMinimumVerticalSize): ditto.
13498         (getPreferredSize): ditto.
13499         (getMinimumSize): ditto.
13500         (getMaximumSize): ditto.
13501         (paintTicks): Use doubles to find the
13502         tick location.
13503         (paintHorizontalLabel):  Use preferredSize
13504         as initial width and height.
13505         (paintVerticalLabel): ditto.
13506
13507 2004-02-17  Kim Ho  <kho@redhat.com>
13508
13509         * javax/swing/JLabel.java: Changed 
13510         property strings to constants.
13511         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13512         New property.
13513         (setText): Change mnemonic index if
13514         text is too short.
13515         (setDisplayedMnemonicIndex): Fire property
13516         change event.
13517         (getDisplayedMnemonicIndex): Remove check
13518         against short text.
13519
13520 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13521
13522         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13523         (drawImage(img,xform,obs)): Invert xform before
13524         passing the xform to cairo.
13525         (drawImage(img,x,y,bgcolor,obs)): Implemented.
13526         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13527         implemented.
13528         (drawImage (img,x,y,w,h,obs)): Implemented.
13529         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13530         bgcolor,obs)): Partly implemented.
13531         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13532         Implemented.
13533         * java/awt/image/BufferedImage.java:
13534         (copyData): if dest is null, create raster with same
13535         dimensions as the current image.
13536
13537 2004-02-16  Graydon Hoare  <graydon@redhat.com>
13538
13539         * javax/swing/plaf/basic/BasicLabelUI.java 
13540         (getPreferredSize): Use layoutCL.
13541         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
13542         (getPreferredButtonSize): Start with empty view rect, layout using
13543         component's preferred alignment.
13544         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13545         List defaults.
13546
13547 2004-02-16  David Jee  <djee@redhat.com>
13548
13549         * java/awt/Component.java
13550         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13551         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13552         (move): Erase old bounds and repaint new bounds. Dispatch
13553         COMPONENT_MOVED ComponentEvent.
13554         (resize): Erase old bounds and repaint new bounds. Dispatch
13555         COMPONENT_RESIZED ComponentEvent.
13556         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13557         ComponentEvents.
13558         * java/awt/Window.java
13559         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13560         ComponentEvents.
13561
13562 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
13563
13564         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13565         (setRenderingHint): Added implementation of 
13566         Interpolation rendering hints.
13567         (setRenderingHints): Ditto.
13568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13569         (drawPixels): fixed to allow user to choose type 
13570         of filtering that should be used when displaying images.
13571         (cairoSurfaceSetFilter): New method. Sets filter type for 
13572         interpolation of pixel values.
13573
13574 2004-02-16  David Jee  <djee@redhat.com>
13575
13576         * java/awt/GridBagLayout.java
13577         (calcCellSizes): Rows or columns with zero sizes should still be
13578         considered for extra space distribution.
13579
13580 2004-02-16  Kim Ho  <kho@redhat.com>
13581
13582         * javax/swing/JLabel.java: Re-implement.
13583         * javax/swing/plaf/basic/BasicLabelUI.java
13584         Re-implement.
13585         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13586         Added constant.
13587
13588 2004-02-16  Kim Ho  <kho@redhat.com>
13589
13590         * javax/swing/JSlider.java: Fix indentation and comments.
13591         (setModel): Remove null check to conform with Sun's.
13592         (setOrientation): Throw exception if not
13593         HORIZONTAL or VERTICAL.
13594         (getInverted): Use private variable instead of 
13595         ComponentOrientation.
13596         (setInverted): ditto.
13597         * javax/swing/plaf/basic/BasicSliderUI.java:
13598         Fix indentation and comments.
13599         (propertyChange): Remove check for inverted slider, handle
13600         in main paint.
13601         (getMinimumSize): Return preferred size.
13602         (getMaximumSize): ditto.
13603         (calculateFocusRect): Don't relocate rectangle.
13604         (drawInverted): Return XOR of the slider's inversion and 
13605         the component's orientation.
13606         (paint): Update leftToRightCache
13607
13608 2004-02-13  David Jee  <djee@redhat.com>
13609
13610         * java/awt/GridBagLayout.java
13611         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13612         code to helper methods.
13613         (sortBySpan): New helper method.
13614         (distributeSizeAndWeight): Likewise.
13615         (calcCellWeights): Likewise.
13616         (calcCellSizes): Add comments.
13617
13618 2004-02-13  David Jee  <djee@redhat.com>
13619
13620         * java/awt/Component.java
13621         (show): Only do something if component is invisible at the moment.
13622         (hide): Only do something if component is visible at the moment.
13623         (reshape): If lightweight, erase old bounds and repaint new bounds.
13624
13625 2004-02-13  Kim Ho  <kho@redhat.com>
13626
13627         * Makefile.am: Updated for new file.
13628         * Makefile.in: Regenerated.
13629         * javax/swing/JSlider.java: Reimplement.
13630         * javax/swing/SwingUtilities.java
13631         (layoutCompoundLabel): Use icon height
13632         instead of width.
13633         (paintComponent): Implement.
13634         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13635         Add JSlider defaults.
13636         * javax/swing/plaf/basic/BasicSliderUI.java:
13637         Implement. New file.
13638
13639 2004-03-17  Michael Koch  <konqueror@gmx.de>
13640
13641         * gnu/java/net/PlainDatagramSocketImpl.java
13642         (RECEIVE_LOCK): New member field.
13643         (SEND_LOCK): New member field.
13644         (send0): New method.
13645         (send): Synchronize on SEND_LOCK.
13646         (receive0): New method.
13647         (receive): Synchronize on RECEIVE_LOCK.
13648         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13649         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13650         gnu/java/net/natPlainDatagramSocketImplWin32.cc
13651         (send0): Renamed from send.
13652         (receive0): Renamed from receive.
13653 2004-03-17  Michael Koch  <konqueror@gmx.de>
13654
13655         * gnu/java/net/natPlainSocketImplPosix.cc
13656         (write): Just call write(jbyteArray, offset, len).
13657         (read): Just call read(jbyteArray, offset, len).
13658
13659 2004-03-16  Michael Koch  <konqueror@gmx.de>
13660
13661         * javax/swing/JTabbedPane.java
13662         (serialVersionUID): New field.
13663
13664 2004-03-16  Norbert Frese  <postfach@nfrese.net>
13665
13666         * java/net/InetAddress.java
13667         (getByName): Handle hostname == "" case.
13668
13669 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
13670
13671         Reported by: Adam Heath <doogie@debian.org>
13672         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13673         class loader.
13674
13675 2004-03-15  Michael Koch  <konqueror@gmx.de>
13676
13677         * java/util/Locale.java: Reverting my last patch
13678         and add a comment why the original version was okay.
13679
13680 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
13681
13682         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13683         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13684         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13685         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13686
13687 2004-03-12  Michael Koch  <konqueror@gmx.de>
13688
13689         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13690
13691 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13692
13693         * java/net/URI.java (toURL): Implemented.
13694
13695 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13696
13697         * java/net/URI.java
13698         (URI_REGEXP) updated to contain scheme specific part.
13699         (SCHEME_SPEC_PART_GROUP) new constant.
13700         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13701         updated to make room for SCHEME_SPEC_PART_GROUP.
13702         (parseURI) parse scheme specific part.
13703         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
13704         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
13705         getQuery, getFragment) implemented.
13706
13707 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
13708
13709         * libraries/javalib/java/net/URI.java
13710         partially implemented using java.util.regex.
13711         (URI_REGEXP) new constant. Used to parse URIs.
13712         (SCHEME_GROUP) new constant representing index of scheme group
13713         in parsed URI.
13714         (AUTHORITY_GROUP) new constant representing index of authority
13715         group in parsed URI.
13716         (PATH_GROUP) new constant representing index of path group in
13717         parsed URI.
13718         (QUERY_GROUP) new constant representing index of query group in
13719         parsed URI.
13720         (FRAGMENT_GROUP) new constant representing index of fragment
13721         group in parsed URI.
13722         (getURIGroup) new static utility method.
13723         (parseURI) implemented.
13724         (quote) stub for new static utility method.
13725         (quoteAuthority) stub for new static utility method.
13726         (quoteHost) stub for new static utility method.
13727         (quotePath) stub for new static utility method.
13728         (quoteUserInfo) stub for new static utility method.
13729         (URI) implemented.
13730         (create) don't throw URISyntaxException. Implemented.
13731         (toString) implemented.
13732
13733 2004-03-12  Michael Koch  <konqueror@gmx.de>
13734
13735         * java/net/HttpURLConnection.java
13736         (getResponseCode): Fix another typo in javadoc.
13737
13738 2004-03-11  Michael Koch  <konqueror@gmx.de>
13739
13740         * java/util/logging/Level.java
13741         (parse): Use String.equals() instead of ==.
13742
13743 2004-03-11  Michael Koch  <konqueror@gmx.de>
13744
13745         * gnu/java/net/protocol/jar/Connection.java
13746         (getContentLength): New method.
13747
13748 2004-03-11  Michael Koch  <konqueror@gmx.de>
13749
13750         * gnu/java/net/PlainSocketImpl.java:
13751         Reformated to merge better with classpath's version.
13752
13753 2004-03-11  Michael Koch  <konqueror@gmx.de>
13754
13755         * java/util/Locale.java
13756         (getISO3Language): Use String.equals() instead of ==.
13757         (getISO3Country): Likewise.
13758
13759 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
13760
13761         * java/text/AttributedString.java
13762         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
13763         Use HashMap instead of Hashtable since value can be null, and
13764         you can not store a null value in a Hashtable.
13765
13766 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
13767
13768         * java/text/AttributedStringIterator.java
13769         (getAllAttributesKey): Return only keys concerned
13770         by the current iterator.
13771         (getAttributes): Use strict inequality for
13772         end_index. 
13773
13774 2004-03-11  Michael Koch  <konqueror@gmx.de>
13775
13776         * java/net/HttpURLConnection.java:
13777         Fixed typo in javadoc.
13778
13779 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
13780
13781         * java/io/BufferedInputStream.java (marktarget): New field for max
13782         mark limit.
13783         (CHUNKSIZE): New constant for incremental mark buffer allocation.
13784         (mark): Use new fields.
13785         (read): Likewise.
13786         (read(byte[],int,int)): Likewise.
13787         (skip): Likewise.
13788         (refill): Likewise.
13789
13790 2004-03-11  Mark Wielaard  <mark@klomp.org>
13791
13792         * java/beans/BeanDescriptor.java (BeanDescriptor):
13793         Set the FeatureDescriptor programmatic name.
13794
13795 2004-03-11  Michael Koch  <konqueror@gmx.de>
13796
13797         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
13798         This file was was just copied form java/io/natFileDescriptorEcos.cc
13799         and never changed to compile correctly.
13800
13801 2004-03-11  Michael Koch  <konqueror@gmx.de>
13802
13803         * gnu/java/nio/PipeImpl.java
13804         (SourceChannelImpl): Made final.
13805         (read): Implemented.
13806         (SinkChannelImpl): Made final.
13807         (write): Implemented.
13808
13809 2004-03-11  Michael Koch  <konqueror@gmx.de>
13810
13811         * gnu/java/net/PlainDatagramSocketImpl.java:
13812         Reformated to match classpath's version more.
13813
13814 2004-03-11  Michael Koch  <konqueror@gmx.de>
13815
13816         * gnu/java/awt/peer/ClasspathFontPeer.java:
13817         Fixed javadoc to be correct xhtml.
13818         * gnu/java/awt/peer/gtk/GtkArgList.java
13819         (add): Use Boolean.valueOf() instead of new Boolean().
13820
13821 2004-03-09  Michael Koch  <konqueror@gmx.de>
13822
13823         * java/lang/Thread.java
13824         (runnable): Moved around.
13825         (daemon): Renamed from daemon_flag.
13826         (contextClassLoader): Renamed from context_class_loader.
13827         (Thread): Reordered constructors.
13828         (activeCount): Use group directly.
13829         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
13830         (holdsLock): Reworked javadoc.
13831         (setDaemon): Reworked.
13832         * java/lang/natThread.cc
13833         (destroy): Removed.
13834
13835 2004-03-08  Anthony Green  <green@redhat.com>
13836
13837         * Makefile.am: Build property resource files into libgcj.
13838         * Makefile.in: Rebuilt.
13839         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13840         java/util/regex/PatternSyntaxException.java,
13841         gnu/regexp/CharIndexed.java,
13842         gnu/regexp/CharIndexedCharArray.java,
13843         gnu/regexp/CharIndexedInputStream.java,
13844         gnu/regexp/CharIndexedReader.java,
13845         gnu/regexp/CharIndexedString.java,
13846         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
13847         gnu/regexp/REException.java,
13848         gnu/regexp/REFilterInputStream.java,
13849         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
13850         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
13851         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
13852         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
13853         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
13854         gnu/regexp/RETokenLookAhead.java,
13855         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
13856         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
13857         gnu/regexp/RETokenStart.java,
13858         gnu/regexp/RETokenWordBoundary.java,
13859         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
13860
13861 2004-03-03  Per Bothner  <per@bothner.com>
13862
13863         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
13864         Optimize when argument is a FileChannelImpl.
13865         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
13866         New native methods.
13867         * java/nio/channels/natChannels.cc:  New file for new native methods.
13868         * Makefile.am:  Update accordingly.
13869
13870 2004-03-02  Jan Hubicka  <jh@suse.cz>
13871
13872         * configure.host: Pass -fno-omit-frame-pointer for i386.
13873         * configure.in: Likewise.
13874         * configure: Regenerate.
13875
13876 2004-03-01  Per Bothner  <per@bothner.com>
13877
13878         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
13879
13880 2004-02-29  Per Bothner  <per@bothner.com>
13881
13882         * java/nio/channels/FileChannelImpl.java:  Moved to package
13883         gnu/java/nio/channels, since we need to refer to it from java.io.
13884         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
13885         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
13886         from java/nio/channels.  Don't depend on FileDescriptor.
13887         (in, out, err):  New static fields.
13888         (mode):  New field.
13889         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
13890         from FileDescriptor.
13891         (by):  Removed MappedByteBuffer field.
13892         (map):  New working implementation.
13893         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
13894         some code "ported" from natFileDescriptoPosix.cc.
13895         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
13896         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
13897         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
13898         Remove native methods.
13899         * Makefile.am, configure.in:  Updated accordingly.
13900
13901         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
13902         (ch):  New FileChannelImpl field.  Update constructor to match.
13903         (releaseImpl):  Remove native method.  Instead ...
13904         (release):  Call unlock on channel.
13905         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
13906
13907         * java/io/natFileDescriptorEcos.cc:  Remove file.
13908         * java/io/natFileDescriptorPosix.cc:  Remove file.
13909         * java/io/natFileDescriptorWin32.cc:  Remove file.
13910         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
13911         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
13912         (<init>(FileChannelImpl)):  New package-private constructor.
13913         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
13914         (available, close, read, skip):  Implement using FileChannelImpl.
13915         (getFD):  Allocate FileDescriptor if needed.
13916         (getChannel):  Is now trivial.
13917         * java/io/FileOutputStream.java:  Corresponding changes.
13918         * java/io/RandomAccessFile.java:  Corresponding changes.
13919
13920         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
13921         unmapImpl):  New dummy methods, to be overridden by subclass.
13922         (finalize, isLoaded, load, force):  New methods.
13923         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
13924         Now works, at least for read mapping.
13925
13926         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
13927         streams using FileChannelImpl, not FileDescriptor.
13928         * java/lang/natWin32Process.cc (startProcess):  Likewise.
13929
13930 2004-02-28  Michael Koch  <konqueror@gmx.de>
13931
13932         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
13933         wrong code.
13934
13935 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
13936
13937         * java/io/ObjectInputStream.java
13938         (readClassDescriptor): Keep elements of the mapping non null.
13939         (checkTypeConsistency): New method.
13940         (readFields): Fixed main loop and base logic. Small reindentation.
13941         * java/io/ObjectStreamField.java
13942         (lookupField): New method to update the field reference.
13943         (checkFieldType): New method.
13944         * java/io/ObjectStreamClass.java
13945         (setClass, setFields): Call lookupField when building the field
13946         database. Check the real field type.
13947
13948 2004-02-28  Michael Koch  <konqueror@gmx.de>
13949
13950         * java/nio/ByteOrder.java
13951         (nativeOrder): Use equals() to compare strings.
13952
13953 2004-02-26  Michael Koch  <konqueror@gmx.de>
13954
13955         * gnu/java/nio/FileLockImpl.java
13956         (finalize): Made protected.
13957         * java/nio/channels/FileChannel.java
13958         (MapMode.READ_ONLY): Made final.
13959         (MapMode.READ_WRITE): Made final.
13960         (MapMode.PRIVATE): Made final.
13961         * java/nio/channels/SocketChannel.java
13962         (open): Simplified code.
13963         * java/nio/channels/spi/AbstractSelectableChannel.java
13964         (registered): Unused, removed.
13965         (keyFor): Check channel is open, only locate key
13966         and not add a new one.
13967         (register): Don't delete attachments.
13968
13969 2004-02-26  Michael Koch  <konqueror@gmx.de>
13970
13971         * gnu/java/awt/ComponentDataBlitOp.java
13972         (INSTANCE): Made final.
13973         * gnu/java/awt/image/ImageDecoder.java:
13974         Reworked imports.
13975         (cm): Unused, removed.
13976
13977 2004-02-26  Michael Koch  <konqueror@gmx.de>
13978
13979         * gnu/java/nio/DatagramChannelImpl.java
13980         (send): Check if target address is resolved.
13981
13982 2004-02-26  Michael Koch  <konqueror@gmx.de>
13983
13984         * Makefile.am: Generate and install headers for inner classes in
13985         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
13986         * Makefile.in: Regenerated.
13987
13988 2004-02-24  Anthony Green  <green@redhat.com>
13989
13990         * java/lang/StringBuffer.java: No need to NULL out remainder of
13991         buffer since ensureCapacity_unsynchronized will have done this for
13992         us.
13993
13994 2004-02-20  Michael Koch  <konqueror@gmx.de>
13995
13996         * gnu/java/net/protocol/jar/Handler.java
13997         (): Removed unneeded check for file != null. java.net.URL.getFile()
13998         returns an empty string but never null.
13999
14000 2004-02-20  Michael Koch  <konqueror@gmx.de>
14001
14002         * gnu/gcj/convert/Convert.java
14003         (main): Use equals() to compare strings.
14004
14005 2004-02-20  Michael Koch  <konqueror@gmx.de>
14006
14007         * javax/swing/AbstractButton.java: Made several constants final.
14008         (getRolloverSelectedIcon): Made public.
14009         (getSelectedIcon): Made public.
14010
14011 2004-02-16  Per Bothner  <per@bothner.com>
14012
14013         * java/nio/CharBufferImpl.java:  Inline super constructor.
14014         * java/nio/DoubleBufferImpl.java:  Likewise.
14015         * java/nio/FloatBufferImpl.java:  Likewise.
14016         * java/nio/IntBufferImpl.java:  Likewise.
14017         * java/nio/LongBufferImpl.java:  Likewise.
14018         * java/nio/ShortBufferImpl.java:  Likewise.
14019         * java/nio/CharBuffer.java:  Remove unused constructor.
14020         * java/nio/DoubleBuffer.java:  Likewise.
14021         * java/nio/FloatBuffer.java:  Likewise.
14022         * java/nio/IntBuffer.java:  Likewise.
14023         * java/nio/LongBuffer.java:  Likewise.
14024         * java/nio/ShortBuffer.java:  Likewise.
14025         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
14026         Fix buggy call to super constructor.
14027         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14028         * java/nio/FloatViewBufferImpl.java:  Likewise.
14029         * java/nio/IntViewBufferImpl.java:  Likewise.
14030         * java/nio/LongViewBufferImpl.java:  Likewise.
14031         * java/nio/ShortViewBufferImpl.java:  Likewise.
14032         
14033         * java/nio/ByteBuffer.java (endian):  Make non-private so other
14034         java.nio classes can inherit it.
14035         (<init>):  Don't bother clearing array_offset.
14036         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
14037         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
14038         Remove redundant test.
14039
14040         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14041         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14042         Use new XxxViewBufferImpl constructors.
14043         * java/nio/MappedByteBufferImpl.java:  Likewise.
14044         * java/nio/DirectByteBufferImpl.java:  Likewise.
14045
14046         * java/nio/ByteBufferImpl.java:  Remove one constructor.
14047         Inline super in remaining constructor.
14048         * java/nio/ByteBuffer.java:  Remove unused constructor.
14049
14050         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
14051
14052         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
14053         * java/nio/DirectByteBufferImpl.java (owner):  New field.
14054         (offset):  Remove unused field.
14055         (<init>):  Modify one and add another constructor.  Change callers.
14056         (allocateDirect):  Removed - not used.
14057         (getImpl, putImpl):  Make static and pass address explicitly,
14058         to make them useful for MappedByteBufferImpl.
14059         (get, put):  Check for underflow.  Modify for new getImpl.
14060         (getImpl):  New native method where target is array.
14061         (get(byte[],int,int)):  Use the above.
14062         (adjustAddress):  New static native method.
14063         (slice, duplicate, asReadOnly):  New implementations.
14064         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14065         adjustAddress):  New or updated native methods.
14066
14067 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
14068
14069         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14070         overflow of fieldmapping.
14071
14072 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
14073
14074         * javax/swing/undo/UndoManager.java: Re-written from scratch.
14075
14076 2004-02-14  Per Bothner  <per@bothner.com>
14077
14078         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14079         Set closed before calling implCloseChannel, as in the spec.
14080
14081 2004-02-09  Graydon Hoare  <graydon@redhat.com>
14082
14083         * javax/swing/ToggleButtonModel.java: Remove dead class.
14084         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14085         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14086         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14087         * Makefile.am: Update for new and removed files.
14088         * Makefile.in: Regenerate.
14089
14090         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14091         * javax/swing/AbstractButton.java 
14092         (AbstractButton): Initialize fields correctly in ctor.
14093         * javax/swing/JCheckbox.java 
14094         (JCheckBox): Override painting flags.
14095         * javax/swing/DefaultButtonModel.java: Conform to sun.
14096         * javax/swing/JComponent.java (paint): Fill with background color
14097         if available.
14098         (processComponentKeyEvent)
14099         (processFocusEvent)
14100         (processKeyEvent)
14101         (processMouseMotionEvent): Remove event-consuming empty methods.
14102         (getUIClassID): Return "ComponentUI" not "JComponent"
14103         * javax/swing/JFrame.java: Remove some debugging chatter.
14104         (JFrame): Subscribe to window events.
14105         * javax/swing/JRadioButton.java 
14106         (JRadioButton): Override painting flags.
14107         * javax/swing/JRootPane.java 
14108         (JRootPane): Set background from UIDefaults.
14109         * javax/swing/JToggleButton.java 
14110         (ToggleButtonModel): New inner class.
14111         (JToggleButton): Override layout alighment.
14112         * javax/swing/SwingUtilities.java:
14113         (getLocalBounds): Return width and height, not x and y.
14114         (calculateInnerArea): Use local bounds, not bounds.
14115         (layoutCompoundLabel): Provide overridden form.
14116         (layoutCompoundLabel): Correct bugs.
14117         * javax/swing/UIDefaults.java: Correct comment.
14118         * javax/swing/plaf/basic/BasicButtonUI.java: 
14119         Move most logic into defaults, external listener.
14120         (paintIcon): Implement icon painting.
14121         (paint): Fix state painting to conform to changes in model.
14122         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14123         Remove most dead/wrong methods.
14124         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14125         * javax/swing/plaf/basic/BasicIconFactory.java:
14126         (DummyIcon): New class.
14127         (getMenuItemCheckIcon)
14128         (getMenuItemArrowIcon) 
14129         (getMenuArrowIcon)
14130         (getCheckBoxMenuItemIcon)
14131         (getRadioButtonMenuItemIcon)
14132         (createEmptyFrameIcon): Return DummyIcons, not null.
14133         (getCheckBoxIcon): Implement an icon that looks like sun's.
14134         (getRadioButtonIcon): Implement an icon that looks like sun's.
14135         * javax/swing/plaf/basic/BasicLookAndFeel.java 
14136         (initComponentDefaults): Fix impossible values, add some missing.
14137         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14138         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14139         Remove most dead/wrong methods.
14140         (icon): New field.
14141         (getDefaultIcon): New method.
14142         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14143         Remove most dead/wrong methods.
14144         * javax/swing/plaf/metal/MetalLookAndFeel.java
14145         (getDefaults): Return super.getDefaults(), not BasicDefaults.
14146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14147         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14148         Implement "clearing" as drawing, when on pixmap drawables.
14149
14150         * javax/swing/JButton.java (getUIClassID): 
14151         * javax/swing/JCheckBox.java (getUIClassID):
14152         * javax/swing/JEditorPane.java (getUIClassID):
14153         * javax/swing/JLabel.java (getUIClassID): 
14154         * javax/swing/JList.java (getUIClassID): 
14155         * javax/swing/JOptionPane.java (getUIClassID): 
14156         * javax/swing/JPanel.java (getUIClassID): 
14157         * javax/swing/JPasswordField.java (uiClassID): 
14158         * javax/swing/JRadioButton.java (getUIClassID): 
14159         * javax/swing/JRootPane.java (getUIClassID): 
14160         * javax/swing/JScrollPane.java (getUIClassID): 
14161         * javax/swing/JTabbedPane.java (getUIClassID): 
14162         * javax/swing/JToggleButton.java (getUIClassID): 
14163         * javax/swing/JTree.java (getUIClassID): 
14164         * javax/swing/JViewport.java (getUIClassID): 
14165         * javax/swing/text/JTextComponent.java (getUIClassID):
14166         Return "fooUI" not "Jfoo"
14167
14168 2004-02-11  Michael Koch  <konqueror@gmx.de>
14169
14170         * java/net/DatagramSocket.java
14171         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14172         Boolean object.
14173         (setBroadcast): Likewise.
14174         * java/net/MulticastSocket.java
14175         (setLoopbackMode): Likewise.
14176         * java/net/ServerSocket.java
14177         (setReuseAddress): Likewise.
14178         * java/net/Socket.java
14179         (setTcpNoDelay): Likewise.
14180         (setSoLinger): Likewise.
14181         (setOOBInline): Likewise.
14182         (setKeepAlive): Likewise.
14183         (setReuseAddress): Likewise.
14184         * java/net/URLConnection.java
14185         (setContentHandler): Replace == with equals().
14186         * java/net/URLStreamHandler.java
14187         (hostSEquals): Fix checking host addresses.
14188         (toExternalForm): Dont check protocol for null. We know already its
14189         not null.
14190
14191 2004-02-10  David Jee  <djee@redhat.com>
14192
14193         * java/awt/BorderLayout.java
14194         (calcCompSize): Invisible components get zero dimensions.
14195         * java/awt/Button.java
14196         (setLabel): Set actionCommand.
14197         * java/awt/Component.java
14198         (show): Invalidate component and parent container.
14199         (hide): Likewise.
14200
14201 2004-02-10  David Jee  <djee@redhat.com>
14202
14203         * java/awt/GridBagLayout.java
14204         (GridBagLayout): New private field, internalcomptable.
14205         (lookupInternalConstraints): New method.
14206         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14207         (GetLayoutInfo): Reimplement.
14208         (calcCellSizes): Ignore rows/columns with size 0.
14209
14210 2004-02-10  Michael Koch  <konqueror@gmx.de>
14211
14212         * gnu/java/awt/EmbeddedWindow.java
14213         (setHandle): Use java.awt.Component.getPeer() instead of
14214         java.awt.Component.peer directly.
14215
14216 2004-02-10  David Jee  <djee@redhat.com>
14217
14218         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14219         (gtkSetLabel): New native method definition.
14220         (setLabel): Use gtkSetLabel.
14221         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14222         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14223
14224 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
14225
14226         * include/powerpc-signal.h: Revert 2004-01-21 change.
14227         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
14228         from syscall for ppc32 versions.
14229
14230 2004-02-08  Per Bothner  <per@bothner.com>
14231
14232         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
14233         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
14234         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
14235         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
14236         Pass ByteOrder parameter to most methods, since the underlying
14237         ByteBuffer's order isn't always what we should use.
14238         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
14239         * java/nio/DirectByteBufferImpl.java:  Likewise.
14240         Use ByteBufferHelper methods.
14241         * java/nio/MappedByteBufferImpl.java:  Likewise.
14242         (compact):  Use shiftDown.
14243         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
14244         (get, put):  Use ByteBufferHelper.
14245         (compact):  Use new shiftDown method.
14246         (duplicate(boolean)):  New helper method.
14247         (duplicate, asReadOnlyBuffer):  Use it.
14248         (order):  Return endian field.
14249         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14250         * java/nio/FloatViewBufferImpl.java:  Likewise.
14251         * java/nio/IntViewBufferImpl.java:  Likewise.
14252         * java/nio/LongViewBufferImpl.java:  Likewise.
14253         * java/nio/ShortViewBufferImpl.java:  Likewise.
14254         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
14255         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
14256         (compact):  Re-implement using shiftDown.
14257
14258 2004-02-08  Andreas Jaeger  <aj@suse.de>
14259
14260         * include/x86_64-signal.h: Fix typo.
14261
14262 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
14263
14264         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14265         qualifier to _regs.
14266         (HANDLE_DIVIDE_OVERFLOW): Likewise.
14267
14268 2004-02-06  Michael Koch  <konqueror@gmx.de>
14269
14270         * java/io/ObjectInputStream.java
14271         (currentClassLoader): Reverted to old version of this method.
14272
14273 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
14274
14275         * java/io/ObjectInputStream.java: Made all calls
14276         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14277         use cached info from ObjectStreamClass. (readClassDescriptor):
14278         Cache more information in ObjectStreamClass. (processResolution,
14279         readFields): Use cached info from ObjectStreamClass.
14280         (newObject): Throw exception instead of returning null for failure.
14281         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14282         setCharField, setDoubleField, setFloatField, setIntField,
14283         setLongField, setShortField, setObjectField, readObjectParams):
14284         Removed. (dumpElement, dumpElementln): Removed dump flag condition
14285         check.
14286         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14287         (setClass): Added call to cacheMethods() (findMethod): New method.
14288         (cacheMethods): New method. (ObjectStreamClass): Added call to
14289         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14290         AccessController.doPrivileged to invoke setAccessible.
14291         (readObjectMethod, readResolveMethod, realClassIsSerializable,
14292         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14293         New fields.
14294         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14295         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14296         isPrimitive): Made safe for cases where type == null.
14297         (setBooleanField, setByteField, setCharField, setShortField,
14298         setIntField, setLongField, setFloatField, setDoubleField,
14299         setObjectField): New methods.
14300
14301 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
14302
14303         * java/awt/Component.java (getFont): Return a default font
14304         instead of null.
14305
14306         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14307         (Scrollbar (int, int, int, int, int)): Make default page
14308         increment 10.
14309         (setValues): Only call peer.setValues if one of the values has
14310         changed.
14311         (generateName): New method.
14312         (getUniqueLong): New method.
14313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14314         (range_scrollbar): Remove structure.
14315         (post_adjustment_event): Remove function.
14316         (post_change_event): Accept jobject argument.
14317         (create): Cast jints to gdoubles.  Round scrollbar values to the
14318         nearest integer.  Clamp min, max and value settings.
14319         (connectJObject): Connect hook to widget->window.
14320         (connectSignals): Remove range_scrollbar structure variables.
14321         Remove "move-slider" connection.  Pass global peer reference to
14322         "value-changed" callback.
14323         (setLineIncrement): Cast jint value to gdouble.
14324         (setPageIncrement): Likewise.
14325         (setValues): Likewise.  Clamp min, max and value settings.
14326
14327 2004-02-05  Michael Koch  <konqueror@gmx.de>
14328
14329         * javax/swing/AbstractCellEditor.java
14330         (getCellEditorValue): Removed.
14331         * javax/swing/Box.java: Reformated.
14332         (serialVersionUID): New field.
14333         * javax/swing/ButtonGroup.java:
14334         Removed some weird whitespace.
14335         * javax/swing/CellEditor.java: Reformated.
14336         * javax/swing/CellRendererPane.java
14337         (serialVersionUID): New field.
14338         (AccessibleCellRendererPaneserialVersionUID): New field.
14339         * javax/swing/DefaultListModel.java
14340         (serialVersionUID): New field.
14341         * javax/swing/JEditorPane.java
14342         (serialVersionUID): New field.
14343         (setPage): Throws IOException.
14344         (addHyperlinkListener): Implemented.
14345         (removeHyperlinkListener): Implemented.
14346         (getHyperlinkListener): New method.
14347         * javax/swing/JFileChooser.java
14348         (serialVersionUID): New field.
14349         (AccessibleJFileChooser.serialVersionUID): New field.
14350         (addActionListener): Implemented.
14351         (removeActionListener): Implemented.
14352         (getActionListeners): New method.
14353         * javax/swing/JFormattedTextField.java
14354         (serialVersionUID): New field.
14355         (AbstractFormatter.serialVersionUID): New field.
14356         (clone): Throws CloneNotSupportedException
14357         (setEditValid): Add missing argument.
14358         (stringToValue): Throws ParseExcpetion.
14359         (valueToString): Throws ParseException.
14360         (commitEdit): Throws ParseException.
14361         * javax/swing/JLabel.java
14362         (serialVersionUID): New field.
14363         * javax/swing/JList.java
14364         (serialVersionUID): New field.
14365         (addListSelectionListener): Reformated.
14366         (removeListSelectionListener): Reformated.
14367         (getListSelectionListeners): New method.
14368         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14369         Reformated.
14370         (serialVersionUID): New field.
14371         * javax/swing/table/AbstractTableModel.java
14372         (getValueAt): Removed.
14373         (getColumnCount): Removed.
14374         (getRowCount): Removed.
14375
14376 2004-02-05  Michael Koch  <konqueror@gmx.de>
14377
14378         * java/awt/datatransfer/DataFlavor.java
14379         (imageFlavor): Javadoc added.
14380         (javaJVMLocalObjectType): Fixed.
14381
14382 2004-02-05  Michael Koch  <konqueror@gmx.de>
14383
14384         * java/lang/Thread.java
14385         (Thread): Reordered.
14386         (setContextClassLoader): Fixed javadoc comment.
14387         (setPriority): Reordered.
14388         (yield): Reordered.
14389         (initialize_native): Reordered.
14390         (gen_name): Reordered.
14391
14392 2004-02-05  Michael Koch  <konqueror@gmx.de>
14393
14394         * java/lang/Thread.java: Reordered fields, reformated much code,
14395         no functional changes, some variables renamed, javadoc comments
14396         merged.
14397
14398 2004-02-05  Michael Koch  <konqueror@gmx.de>
14399
14400         * java/util/zip/Deflater.java,
14401         java/util/zip/DeflaterOutputStream.java,
14402         java/util/zip/GZIPInputStream.java:
14403         Reformated and javadoc comments merged from classpath.
14404
14405 2004-02-05  Michael Koch  <konqueror@gmx.de>
14406
14407         * gnu/java/nio/NIOServerSocket.java
14408         (impl): Unused, removed.
14409         * gnu/java/nio/SocketChannelImpl.java
14410         (finnishConnect): Don't throw NoConnectionPendingException if not
14411         connected or no connection pending.
14412
14413 2004-02-02  Graydon Hoare  <graydon@redhat.com>
14414
14415         * javax/swing/SwingUtilities.java: Many new functions.
14416         * java/awt/Container.java (LightweightDispatcher): Reimplement.
14417         * javax/swing/basic/BasicGraphicsUtils.java 
14418         (getPreferredButtonSize): Start layout from top-left corner.
14419
14420 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
14421
14422         * java/awt/geom/AffineTransform.java: 
14423         Corrected comments on the field definitions for
14424         m11 and m10.
14425         (shear): Fixed few errors that caused shear
14426         transformation to be performed incorrectly.
14427         (createInverse): Fixed to return correct
14428         inverse of the given matrix.
14429
14430 2004-02-03  Tom Tromey  <tromey@redhat.com>
14431
14432         * java/lang/natPosixProcess.cc (startProcess): Handle case where
14433         PATH or LD_LIBRARY_PATH is not set in parent environment.
14434
14435 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
14436
14437         * gnu/java/awt/peer/gtk/GtkListPeer.java,
14438         java/awt/BorderLayout.java, java/awt/CardLayout.java,
14439         java/awt/CheckboxGroup.java, java/awt/Choice.java,
14440         java/awt/Component.java, java/awt/Container.java,
14441         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14442         java/awt/LayoutManager2.java, java/awt/List.java,
14443         java/awt/Menu.java, java/awt/MenuBar.java,
14444         java/awt/MenuItem.java, java/awt/Polygon.java,
14445         java/awt/Rectangle.java, java/awt/ScrollPane.java,
14446         java/awt/Scrollbar.java, java/awt/TextArea.java,
14447         java/awt/TextField.java,
14448         java/awt/image/renderable/RenderContext.java,
14449         javax/swing/JApplet.java: Fix handling of alias methods, where a
14450         method has been deprecated in favour of a new one with the same
14451         funtion but a different name.  Put the method implementation in
14452         the deprecated method and have the new method call the
14453         deprecated one.  Make all other code call the new method.
14454
14455 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
14456
14457         * gnu/java/nio/DatagramChannelImpl.java
14458         (inChannelOperation): New field.
14459         (isInChannelOperation): New accessor.
14460         (setInChannelOperation): New modifier.
14461         (receive): Use capacity() - position() of destination
14462         buffer instead of remaining(). Set and reset our "in
14463         channel operation indicator" before and after delegating
14464         the receive to our datagram socket. Removed testing code.
14465         Update destination buffer's current position if it is
14466         backed by a byte array (hasArray() is true).
14467         (send): Set and reset our "in channel operation indicator"
14468         before and after delegating the send to our datagram socket.
14469         Removed testing code. Update source buffer's current position
14470         if it is backed by a byte array (hasArray() is true).
14471         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14472         Use capacity() - position() of destination buffer instead
14473         of remaining().
14474         * java/net/DatagramSocket.java (receive): Don't throw an
14475         IllegalBlockingModeException if we have a non-blocking
14476         channel which initiated this operation.
14477         (send): Likewise.
14478
14479 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
14480
14481         * configure.in: Add pkgconfig check for glib and gthread.
14482         * configure: Regenerate.
14483
14484 2004-02-01  Michael Koch  <konqueror@gmx.de>
14485
14486         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14487         arguments.
14488         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14489         * verify.cc (debug_print): Mark 'fmt' unused.
14490
14491 2004-01-30  Michael Koch  <konqueror@gmx.de>
14492
14493         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14494         * configure: Regenerated.
14495         * glib-2.0.m4: Removed.
14496         * gtk-2.0.m4: Removed.
14497         * libart.m4: Removed.
14498         * pkg.m4: New file.
14499
14500 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
14501
14502         * gnu/java/net/PlainSocketImpl.java 
14503         (inChannelOperation): New field.
14504         (isInChannelOperation): New accessor.
14505         (setInChannelOperation): New modifier.
14506         * gnu/java/nio/ServerSocketChannelImpl.java
14507         (accept): Set and reset our server socket's PlainSocketImpl's
14508         "in channel operation" indicator before and after delegating
14509         the accept to our server socket.
14510         * gnu/java/nio/SocketChannelImpl.java
14511         (connect): Set and reset our socket's PlainSocketImpl's "in channel
14512         operation" indicator before and after delegating the operation to
14513         our socket.
14514         (read): Likewise.
14515         (write): Likewise.
14516         * java/net/ServerSocket.java (implAccept): Don't throw an
14517         IllegalBlockingModeException if we have a non-blocking
14518         channel which initiated this accept operation.
14519         * java/net/Socket.java (connect): Don't throw an
14520         IllegalBlockingModeException if we have a non-blocking
14521         channel which initiated this connect operation.
14522         * java/nio/channels/spi/AbstractSelectableChannel.java
14523         (configureBlocking): Only call implConfigureBlocking() if
14524         the desired blocking mode is different from our current one.
14525
14526 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
14527
14528         * java/io/BufferedReader.java (sbuf): New field.
14529         (readLine): Use String.valueOf instead of new String() as per
14530         Per Bothner's suggestion. Use instance sbuf field instead of a
14531         local StringBuffer instance.
14532         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14533         caller's buffer to refill().
14534         (read(void)): Pass our internal work buffer to refill if our
14535         input queue is empty.
14536         (refill): Changed return type to int. Use the specified buffer
14537         instead of our work buffer as per Bryce McKinlay's suggestion.
14538         Return the number of characters read or -1 for EOF.
14539
14540 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14541
14542         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14543
14544 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14545
14546         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14547         * Makefile.in: Re-generated.
14548         * gnu/awt/xlib/XFontPeer.java: New file.
14549         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14550         (setClip): Commented out debug printout.
14551         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14552         (getFontPeer): Return XFontPeer.
14553         (getLocalGraphicsEnvironment): New method.
14554         (getClasspathFontPeer): New method.
14555         (createFont): New method.
14556
14557 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14558
14559         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14560         return null. 
14561
14562 2004-01-29  Kim Ho  <kho@redhat.com>
14563
14564         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14565         (gtkLayoutSetVisible): New method
14566         (setMenuBar): Hide layout before setting MenuBar
14567         and reshow it after.
14568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14569         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14570
14571 2004-01-28  Michael Koch  <konqueror@gmx.de>
14572
14573         * gnu/java/lang/ClassHelper.java
14574         (getPackagePortion): Removed.
14575
14576 2004-01-28  Michael Koch  <konqueror@gmx.de>
14577
14578         * javax/swing/JComponent.java
14579         (listenerList): Initalize globally.
14580         (ancestor_list): Removed.
14581         (veto_list): Removed.
14582         (change_list): Removed.
14583         (get_veto_list): Removed.
14584         (get_change_list): Removed.
14585         (get_ancestor_list): Removed.
14586         (removeAncestorListener): Reimplemented.
14587         (removePropertyChangeListener): Likewise.
14588         (removeVetoableChangeListener): Likewise.
14589         (addAncestorListener): Likewise.
14590         (addPropertyChangeListener): Likewise.
14591         (addVetoableChangeListener): Likewise.
14592         (getListeners): New method.
14593         (getAncestorListeners): Likewise.
14594         (getVetoableChangeListeners): Likewise.
14595         (fireVetoableChange): Throws PropertyVetoException.
14596         * javax/swing/JEditorPane.java
14597         (JEditorPane): Throws IOException.
14598
14599 2004-01-28  David Jee  <djee@redhat.com>
14600
14601         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14602         (create): Set the default foreground color to
14603         java.awt.SystemColor.windowText.
14604
14605 2004-01-27  Michael Koch  <konqueror@gmx.de>
14606
14607         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14608         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14609         Reindented to merge with classpath.
14610
14611 2004-01-27  David Jee  <djee@redhat.com>
14612
14613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14614         (addExposeFilter): Handle GtkFramePeer separately.
14615         (removeExposeFilter): Likewise.
14616
14617 2004-01-27  Michael Koch  <konqueror@gmx.de>
14618
14619         * gnu/java/net/protocol/http/Connection.java
14620         (getOutputStream): Fixed typo.
14621
14622 2004-01-27  Michael Koch  <konqueror@gmx.de>
14623
14624         * java/lang/Class.java
14625         (getConstructor): Removed SecurityException from throws clause.
14626         (_getConstructors): Likewise.
14627         (getConstructors): Likewise.
14628         (getDeclaredConstructor): Likewise.
14629         (getDeclaredClasses): Likewise.
14630         (getDeclaredConstructors): Likewise.
14631         (getDeclaredField): Likewise.
14632         (getDeclaredMethod): Likewise.
14633         (getDeclaredMethods): Likewise.
14634         (getField): Likewise.
14635         (getMethod): Likewise.
14636         (getMethods): Likewise.
14637
14638 2004-01-27  Kim Ho  <kho@redhat.com>
14639
14640         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14641         (removeMenuBarPeer): Remove MenuBarPeer argument.
14642         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14643         (dispose): Call native method.
14644         * java/awt/Frame.java (setMenuBar): Create and remove
14645         MenuBar peers only if the Frame has a peer.
14646         (addNotify): Create the MenuBar peer if one exists.
14647         (removeNotify): Remove MenuBar peer if one exists.
14648         * java/awt/Menu.java: Fix imports.
14649         (addNotify): Don't use full class name.
14650         (removeNotify): Call removeNotify on all children.
14651         * java/awt/MenuBar.java (removeNotify): Call
14652         removeNotify on all children.
14653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14654         (removeMenuBarPeer): Remove MenuBarPeer argument.
14655         Iterate through children to find the Frame's MenuBar.
14656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14657         New file.
14658         (dispose): Remove references to the MenuComponent.
14659
14660 2004-01-27  Michael Koch  <konqueror@gmx.de>
14661
14662         * javax/swing/AbstractCellEditor.java: Reformated.
14663         * javax/swing/DefaultListSelectionModel.java
14664         (listenerList): Made protected.
14665         (addListSelectionListener): Javadoc added.
14666         (removeListSelectionListener): Likewise.
14667         (getListeners): Likewise.
14668         (getListSelectionListeners): Likewise.
14669         * javax/swing/JComboBox.java: Merged copyright year.
14670         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14671
14672 2004-01-26  Andrew Haley  <aph@redhat.com>
14673
14674         * javax/swing/table/JTableHeader.java: Extend JComponent
14675
14676 2004-01-26  Kim Ho  <kho@redhat.com>
14677
14678         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14679         Fix spacing.
14680
14681 2004-01-26  Kim Ho  <kho@redhat.com>
14682
14683         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14684         method.
14685         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14686         height and let the Layout Managers readjust anything that
14687         needs to move.
14688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14689         (moveLayout): New method. Shift everything in the Gtk
14690         layout in the Y direction by an offset.
14691
14692 2004-01-26  David Jee  <djee@redhat.com>
14693
14694         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14695         (handleEvent): Implemented. Handles PaintEvents.
14696         (paint): Implemented. Use GTK native methods to queue updates
14697         for this heavyweight peer.
14698         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14699         (handleEvent): Removed.
14700         * java/awt/Component.java
14701         (paint): Implemented. Explictly paint the heavyweight peer.
14702         (update): Clear the background for heavyweight components.
14703         (paintAll): No need to call peer.paint() anymore.
14704         (processEvent): Don't process PaintEvents here. It's now done in
14705         the peer's handleEvent().
14706         (processPaintEvent): Removed.
14707         * java/awt/Container.java
14708         (paint): No need to call super.paint(). Visit heavyweight
14709         children as well.
14710         (update): Don't clear the background here.  It's done in
14711         Component.update().
14712         (visitChildren): Added check to not recurse into Containers.
14713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14714         (filter_expose_event_handler): New method.  Filter unwanted
14715         expose events while painting heavyweight peers.
14716         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14717         New method. Connect filter and block pre_event_handler.
14718         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14719         New method. Disconnect filter and unblock pre_event_handler.
14720         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
14721         New method. Invalidate and update given area.
14722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14723         (pre_event_handler): Add checks for unwanted expose events.
14724
14725 2004-01-26  David Jee  <djee@redhat.com>
14726
14727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14728         (find_bg_color_widget): For GtkButton, return its child.
14729
14730 2004-01-26  Kim Ho  <kho@redhat.com>
14731
14732         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
14733         private.
14734         (setMenuBar): Grab MenuBar height and change insets.
14735         (setBounds): Account for MenuBar height.
14736         (postInsetsChangedEvent): Ditto.
14737         (postSizeAllocateEvent): Remove.
14738         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14739         (menubar_resize_cb): Remove
14740         (setMenuBarPeer): Remove callback.
14741         (getMenuBarHeight): Use size requisition instead of
14742         allocation.
14743
14744 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14745
14746         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
14747         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
14748         when peer is null.
14749         (setColumns): Remove FIXME -- peer will retrieve number of
14750         columns by calling getColumns.
14751         (setRows): Likewise for number of rows.
14752         (next_text_number): New field.
14753         (paramString): Fix param string.
14754         (generateName): New method.
14755         (getUniqueLong): New method.
14756
14757 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14758
14759         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
14760         image observer of image loading status.
14761         (getImage (String)): Start image production.
14762         (getImage (URL)): Likewise.
14763
14764 2004-01-25  Michael Koch  <konqueror@gmx.de>
14765
14766         * java/lang/Class.java: Imports reworked, reformated.
14767         (Class): Javadoc added.
14768         (forName): Likewise.
14769         (getClasses): Likewise.
14770         (getClassLoader): Likewise.
14771         (getComponentType): Likewise.
14772         (getConstructor): Likewise.
14773         (getConstructors): Likewise.
14774         (getDeclaredConstructor): Likewise.
14775         (getDeclaredClasses): Likewise.
14776         (getDeclaredConstructors): Likewise.
14777         (getDeclaredField): Likewise.
14778         (getDeclaredMethod): Likewise.
14779         (getDeclaredMethods): Likewise.
14780         (getDeclaringClass): Likewise.
14781         (getField): Likewise.
14782         (getInterfaces): Likewise.
14783         (getMethod): Likewise.
14784         (getMethods): Likewise.
14785         (getModifiers): Likewise.
14786         (getName): Likewise.
14787         (getResource): Likewise.
14788         (getResourceAsStream): Likewise.
14789         (getSigners): Likewise.
14790         (setSigners): Likewise.
14791         (getSuperclass): Likewise.
14792         (isArray): Likewise.
14793         (isAssignableFrom): Likewise.
14794         (isInstance): Likewise.
14795         (isInterface): Likewise.
14796         (isPrimitive): Likewise.
14797         (newInstance): Likewise.
14798         (getProtectionDomain): Likewise.
14799         (toString): Likewise.
14800         (Class): Moved.
14801         (initializeClass): Likewise.
14802         (finalize): Likewise.
14803
14804 2004-01-24  Michael Koch  <konqueror@gmx.de>
14805
14806         * gnu/java/net/protocol/jar/Connection.java
14807         (hdrHash): Removed.
14808         (hdrVec): Removed.
14809         (gotHeaders): Removed.
14810         (getHeaderField): Removed.
14811         (getHeaderFields): Removed.
14812         (getHeaderFieldKey): Removed.
14813         (getKey): Removed.
14814         (getField): Removed.
14815         (getHeaders): Removed.
14816
14817 2004-01-24  Michael Koch  <konqueror@gmx.de>
14818
14819         * Makefile.am: Added library version to gtk peer lib.
14820         * Makefile.in: Regenerated.
14821
14822 2004-01-24  Michael Koch  <konqueror@gmx.de>
14823
14824         * java/util/zip/InflaterInputStream.java: Merged class documentation
14825         with classpath.
14826
14827 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
14828
14829         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
14830         header.  For __powerpc64__ provide the default-signal.h definitions
14831         for now.
14832         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
14833         instead of the dummy definitions.
14834         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
14835         (powerpc64*-*): Remove with_libffi_default.
14836         Only add -mminimal-toc for 64-bit compilations.
14837         * configure.in: Use powerpc-signal.h on powerpc64 as well.
14838         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
14839         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
14840         * configure: Rebuilt.
14841
14842 2004-01-23  Michael Koch  <konqueror@gmx.de>
14843
14844         * gnu/java/nio/FileLockImpl.java: Compile fixes.
14845
14846 2004-01-23  Michael Koch  <konqueror@gmx.de>
14847
14848         * java/lang/VMClassLoader.java: Reworked imports.
14849         
14850 2004-01-23  Michael Koch  <konqueror@gmx.de>
14851
14852         * javax/swing/AbstractAction.java: Reformated.
14853
14854 2004-01-23  Michael Koch  <konqueror@gmx.de>
14855
14856         * java/text/CollationElementIterator.java:
14857         (setText): New method.
14858
14859 2004-01-23  Michael Koch  <konqueror@gmx.de>
14860
14861         * gnu/java/nio/FileLockImpl.java:
14862         Fixed filename in copyright.
14863         (released): Removed.
14864         (finalize): New method.
14865         * gnu/java/nio/natFileLockImpl.cc
14866         (releaseImpl): Implemented.
14867         * java/nio/channels/FileChannelImpl.java:
14868         Reworked imports.
14869         (lock): Implemented.
14870         (lockImpl): New method.
14871         (tryLock): Implemented.
14872         (tryLockImpl): New method.
14873         * java/nio/channels/natFileChannelImpl.cc
14874         (lockImpl): New method.
14875         (tryLockImpl): New method.
14876
14877 2004-01-23  Michael Koch  <konqueror@gmx.de>
14878
14879         * java/io/FileDescriptor.java
14880         (lock): New method.
14881         (tryLock): New method.
14882         (unlock): New method.
14883         * java/io/natFileDescriptorEcos.cc
14884         (lock): New method.
14885         (tryLock): New method.
14886         (unlock): New method.
14887         * java/io/natFileDescriptorPosix.cc
14888         (lock): New method.
14889         (tryLock): New method.
14890         (unlock): New method.
14891         * java/io/natFileDescriptorWin32.cc
14892         (lock): New method.
14893         (tryLock): New method.
14894         (unlock): New method.
14895
14896 2004-01-23  Michael Koch  <konqueror@gmx.de>
14897
14898         * java/io/FileDescriptor.java
14899         (sync): Moved around, added javadoc.
14900         (valid): Likewise.
14901         (open): Likewise.
14902         (write): Likewise.
14903         (close): Likewise.
14904         (setLength): Likewise.
14905         (seek): Likewise.
14906         (getLength): Likewise.
14907         (getFilePointer): Likewise.
14908         (read): Likewise.
14909         (available): Likewise.
14910         (finalize): Likewise.
14911
14912 2004-01-23  Michael Koch  <konqueror@gmx.de>
14913
14914         * javax/swing/AbstractAction.java: Reformated.
14915         (getPropertyChangeListeners): New method.
14916         * javax/swing/AbstractCellEditor.java: Reformated.
14917         (getCellEditorListeners): New method.
14918         * javax/swing/DefaultListSelectionModel.java
14919         (listenerList): New field.
14920         (listeners): Removed.
14921         (get_listeners): Removed.
14922         (addListSelectionListener): Rewritten.
14923         (removeListSelectionListener): Rewritten.
14924         (getListSelectionListeners): New method.
14925         (getListeners): New method.
14926         * javax/swing/JComboBox.java: Imports reworked.
14927         (addActionListener): Implemented.
14928         (removeActionListener): Implemented.
14929         (addItemListener): Implemented.
14930         (removeItemListener): Implemented.
14931         (addPopupMenuListener): Implemented.
14932         (removePopupMenuListener): Implemented.
14933         (getActionListeners): New method.
14934         (getItemListeners): New method.
14935         (getPopupMenuListeners): New method.
14936
14937 2004-01-23  Michael Koch  <konqueror@gmx.de>
14938
14939         * gnu/java/net/protocol/http/Connection.java
14940         (connect): Don't initialize bufferedOutputStream if not needed.
14941         (sendRequest): Set property for content length if content is present.
14942         Write content only if present.
14943         (getOutputStream): Check if already connected, dont connect,
14944         initalize bufferedOutputStream if needed.
14945
14946 2004-01-23  Michael Koch  <konqueror@gmx.de>
14947
14948         * java/io/FileDescriptor.java
14949         (in, out, err): Added javadoc.
14950         (static): Merged loading code.
14951         (fd, position): Moved around.
14952
14953 2004-01-23  Michael Koch  <konqueror@gmx.de>
14954
14955         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
14956         New file.
14957
14958 2004-01-23  Michael Koch  <konqueror@gmx.de>
14959
14960         * java/lang/Class.java,
14961         java/lang/Object.java,
14962         java/lang/Thread.java: Merged copyright with classpath.
14963
14964 2004-01-23  Michael Koch  <konqueror@gmx.de>
14965
14966         * java/io/FileDescriptor.java: Merged copyright with classpath to
14967         start merging this class.
14968
14969 2004-01-22  Tom Tromey  <tromey@redhat.com>
14970
14971         PR libgcj/13107:
14972         * testsuite/libjava.lang/pr13107_2.xfail: New file.
14973         * testsuite/libjava.lang/pr13107_3.xfail: New file.
14974         * testsuite/libjava.lang/pr13107_3.java: New file.
14975         * testsuite/libjava.lang/pr13107_3.out: New file.
14976         * testsuite/libjava.lang/pr13107_2.java: New file.
14977         * testsuite/libjava.lang/pr13107_2.out: New file.
14978         * testsuite/libjava.lang/pr13107.java: New file.
14979         * testsuite/libjava.lang/pr13107.out: New file.
14980         * verify.cc (jsr_ptrs): Removed.
14981         (entry_points): Likewise.
14982         (struct subr_info): Likewise.
14983         (struct subr_entry_info): Likewise.
14984         (type_val::unused_by_subroutine_type): Likewise.
14985         (type::merge): Don't handle unused_by_subroutine_type.
14986         (type::print): Likewise.
14987         (state::flags): Removed.
14988         (state::subroutine): Likewise.
14989         (state::seen_subrs): Likewise.
14990         (state::NO_STACK): Likewise.
14991         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
14992         (state): Updated all methods.
14993         (state::clean_subrs): Removed.
14994         (state::state): Removed `ret_semantics' flag.
14995         (state::copy): Likewise.
14996         (state::add_subr): Removed.
14997         (state::enter_subroutine): Likewise.
14998         (type::set_return_address): New method.
14999         (handle_jsr_insn): Set return address on the type.  Always
15000         invalidate PC after call.
15001         (check_nonrecursive_call): Removed.
15002         (~_Jv_BytecodeVerifier): Updated.
15003         (branch_prepass): Removed special handling of jsr.
15004         (note_branch_target): Likewise.
15005         (get_subroutine): Removed.
15006         (state::merge): Don't merge subroutines and don't handle
15007         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
15008         (state::note_variable): Removed.
15009         (state::is_unmerged_ret_state): Likewise.
15010         (state::print): Updated.
15011         (set_variable): Likewise.
15012         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
15013         and jsr_semantics arguments.  Updated for new reverification
15014         list.
15015         (pop_jump): Rewrote.
15016         (construct_primitive_array_type): Updated.
15017         (state::next): Removed.
15018         (INVALID_STATE): New define.
15019         (state::INVALID): Removed.
15020         (state::NO_NEXT): New value.
15021         (state::pc, state::next): New fields.
15022         (state::get_pc): New method.
15023         (next_verify_pc): Removed.
15024         (next_verify_state): New field.
15025         (verify_instructions_0): Always check for falling off end.
15026         (linked): New type.
15027         (linked_utf8): Removed.
15028         (states): Changed type.
15029         (type::state_mergeable_p): New method.
15030         (state::state_mergeable_p): Likewise.
15031         (handle_ret_insn): Removed most code.
15032         (state::reverify): New method.
15033         (add_new_state): Likewise.
15034         (state::set_pc): Likewise.
15035
15036 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
15037
15038         PR java/13733
15039         * testsuite/libjava.compile/PR13733.java: New file.
15040         * testsuite/libjava.compile/PR13733.xfail: New file.
15041
15042 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
15043             Michael Koch  <konqueror@gmx.de>
15044
15045         * javax/swing/table/DefaultTableCellRenderer.java
15046         (DefaultTableCellRenderer): Added javadoc for the class and for
15047         the constructor, Border instance, create an EmptyBorder.
15048         (UIResource): Removed the comment at the end of the class
15049         (setForeground): New method.
15050         (setBackground): New method.
15051         (updateUI): New method.
15052         (getTableCellRendererComponent): Rewritten with the help of
15053         dvholten and Stephane Meslin-Weber.
15054         (validate): New method.
15055         (repaint): New method.
15056         (firePropertyChange): New method.
15057         (setValue): New method.
15058
15059 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
15060
15061         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15062         (connectJObject): Replace printf calls with g_assert statements.
15063         Move property-notify-event signal connection to ...
15064         (connectSignals): Connect property-notify-event signal.  Iterate
15065         through the vbox's children to find layout.
15066
15067 2004-01-22  Graydon Hoare  <graydon@redhat.com>
15068         
15069         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
15070         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15071         Predicate static initialization on GtkToolkit.useGraphics2D().
15072         * java/awt/Component.java (processPaintEvent): Consume event.
15073         * javax/swing/AbstractButton.java: Reimplement, document.
15074         * javax/swing/DefaultButtonModel.java: Reimplement, document.
15075         * javax/swing/JComponent.java (paint): Use double buffer.
15076         (listenerList): Enable member.
15077         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15078         * javax/swing/JToggleButton.java 
15079         (JToggleButton): Modify model constructor.
15080         * javax/swing/SwingUtilities.java 
15081         (layoutCompoundLabel): Adjust arithmetic.
15082         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15083         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
15084         (getPreferredButtonSize): Include margins in calculation.
15085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15086         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15087         Receive up events from subordinate layout component.
15088
15089 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
15090
15091         * java/awt/Component.java (show): Set visible to true before
15092         showing the peer.
15093
15094 2004-01-21  Kim Ho  <kho@redhat.com>
15095
15096         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15097         Fix comments.
15098         (removeMenuBarPeer): Make package private.
15099         (setMenuBarPeer): Make package private.
15100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15101         (menubar_resize_cb): Mark attributes unused.
15102         (getMenuBarHeight): ditto.
15103
15104 2004-01-21  David Jee  <djee@redhat.com>
15105
15106         * java/awt/Container.java
15107         (LightweightDispatcher.handleEvent): Add an extra check to avoid
15108         dispatching MOUSE_ENTERED event twice. Translate the point for
15109         the mouse event target before dispatching the event.
15110
15111 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
15112
15113         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15114         lib_org_w3c_dom_la_LDFLAGS): New.
15115         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15116         * Makefile.in: Rebuilt.
15117
15118 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15119
15120         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15121         Calculate proper offsets for heavyweight components packed in
15122         lightweight containers.
15123
15124         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15125         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15126         (native create): Add width parameter.
15127         (create): Calculate text entry width based on current font's
15128         metrics and number of columns.  Set TextField's font if not
15129         already set.  Call native create.
15130         (gtkEntryGetBorderWidth): New native method.
15131         (gtkEntryGetSize): Remove method.
15132         (getMinimumSize): Call minimumSize.
15133         (getPreferredSize): Call preferredSize.
15134         (minimumSize): Calculate minimum size based on backing
15135         GtkEntry's borders, font metrics and number of columns.
15136         (preferredSize): Likewise for preferred size.
15137         (get_border_width): New static function.
15138
15139         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15140         Override GtkWindowPeer's setResizable method to account for menu
15141         bar height when setting the frame's size.
15142
15143 2004-01-19  Matthias Klose  <doko@debian.org>
15144
15145         * libtool-version: Increased `current' to 6.
15146
15147 2004-01-19  Kim Ho  <kho@redhat.com>
15148
15149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15150         (connectJObject): Iterate through the vbox's children to find layout.
15151
15152 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15153
15154         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15155         isDispatchThread method to replace wrong test condition.
15156
15157 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15158
15159         * java/awt/EventQueue.java (pop): Prevent racing condition to add
15160         events to the queue out of order by acquiring locks in the proper
15161         order and not by releasing one before acquiring the other.
15162
15163 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15164
15165         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15166         visible so that dialog can be reused.
15167
15168 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15169
15170         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15171         events may be handled by any queue in the stack.
15172
15173 2004-01-19  Kim Ho  <kho@redhat.com>
15174
15175         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15176         MenuBarPeer parameter.
15177         (removeMenuBarPeer): New native method.
15178         (setMenuBar): Call remove if menu bar is null. Adjust insets
15179         appropriately.
15180         (postSizeAllocateEvent): New method. Called when menu bar size is
15181         allocated. Adjust insets and redo layout.
15182         (GtkFramePeer): Set menu bar during frame creation.
15183         (postConfigureEvent): Adjust position and size to accomodate
15184         menu bar.
15185         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15186         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15187         (addNotify): Create the peer if it doesn't exist and call addNotify
15188         for the menu's items.
15189         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15190         * java/awt/MenuItem.java (addNotify): Create the peer if it
15191         doesn't exist.
15192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15193         (removeMenuBarPeer): New method. Remove menu bar on the current
15194         frame.
15195         (setMenuBarPeer): Add the menu bar to the current frame and the
15196         callback for size-allocate events on the menu bar.
15197         (getMenuBarHeight): Add menu bar parameter.
15198         (menubar_resize_cb): New callback method for postSizeAllocate events.
15199
15200         Also: Fix indentation on last ChangeLog entry.
15201
15202 2004-01-16  Kim Ho  <kho@redhat.com>
15203
15204         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15205         (gtkWidgetGetDimensions): Remove.
15206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15207         (gtkWidgetGetDimensions): Remove.
15208
15209 2004-01-16  Tom Tromey  <tromey@redhat.com>
15210
15211         * java/awt/Container.java: Typo and indentation fixes.
15212
15213         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15214         * java/lang/natVMClassLoader.cc: ...here.  New file.
15215         * Makefile.in: Rebuilt.
15216         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15217
15218 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15219
15220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15221         Discard GDK_ENTER_NOTIFY related to ungrabs.
15222
15223 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15224
15225         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15226         is called for an intermediate queue.
15227
15228 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
15229
15230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15231         (window_property_changed_cb): Set id_set.
15232
15233 2004-01-16  Kim Ho  <kho@redhat.com>
15234
15235         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15236         it is a FileDialog and has dimensions of 0 by 0, then the initial
15237         size is set to size request plus insets.
15238         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15239         (gtkWidgetGetDimensions): Override method.
15240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15241         (gtkWidgetGetDimensions): Override method. Returns size request plus
15242         insets.
15243
15244 2004-01-16  Andrew Haley  <aph@redhat.com>
15245
15246         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15247         * sysdep/i386/locks.h: Likewise.
15248
15249 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15250
15251         * java/awt/EventDispatchThread.java (run): Stop running when
15252         interrupted.
15253         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15254         Reset the queue after transferring its contents.
15255         (push): Start a new dispatch thread if none is running.
15256
15257 2004-01-16  Olga Rodimina <rodimina@redhat.com>
15258
15259         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15260         (doPolygon): set fill rule of polygon to 
15261         WIND_EVEN_ODD by default.
15262
15263 2004-01-15  Olga Rodimina <rodimina@redhat.com>
15264
15265         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15266         Implemented rendering hints related methods.
15267         (getDefaultHints): New helper method. Returns
15268         default rendering hints.
15269         (walkPath): changed to normalize path if
15270         the KEY_STROKE_CONTROL key is in "normalize" mode.
15271         (draw3DRect): changed coordinates of rectangle by +0.5
15272         if in "normalize" mode.
15273
15274 2004-01-15  Tom Tromey  <tromey@redhat.com>
15275
15276         * Makefile.in: Rebuilt.
15277         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15278         (%.lo: %.java) Filter out StackTrace.lo.
15279
15280 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
15281
15282         * configure.in: Add in AC_PREREQ(2.13)
15283         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
15284         FIXME comment.
15285
15286 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
15287             Tom Tromey  <tromey@redhat.com>
15288
15289         PR libgcj/12001:
15290         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15291         array to superclass.
15292         (init): Changed interface; add URLs here.
15293         (initialize): New static method.
15294         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15295         (_Jv_RunMain): ... not here.
15296
15297 2004-01-14  Michael Koch  <konqueror@gmx.de>
15298
15299         * java/text/MessageFormat.java:
15300         Added descriptions to exceptions.
15301         This fixes PR libgcj/2429.
15302
15303 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15304
15305         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15306         (push): Make sure push is performed at the top of the thread stack.
15307
15308 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15309
15310         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15311         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15312         (native create): Add width and height parameters.  Set text
15313         view's size request according to new parameters.
15314         (create): Calculate text view size based on current font's
15315         metrics and number of rows and columns.  Set TextArea's font if
15316         not already set.  Call native create.
15317         (getMinimumSize): Call minimumSize.
15318         (getPreferredSize): Call preferredSize.
15319         (getHScrollbarHeight): New method.
15320         (getVScrollbarWidth): New method.
15321         (minimumSize): Calculate minimum size based on scrollbar
15322         visibility, scrollbar sizes, font metrics and number of rows and
15323         columns.
15324         (preferredSize): Likewise for preferred size.
15325         (gtkTextGetSize): Remove method.
15326
15327 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15328
15329         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15330         (initializeInsets): Remove method.
15331         (GtkComponentPeer): Initialize insets field.  Remove call to
15332         initializeInsets.
15333         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15334         Remove method.
15335         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15336         Remove method.
15337         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15339         (latestInsets): Remove field.
15340         (native create): Add insets parameter.  Call
15341         window_get_frame_extents.  Set the window's default size and
15342         size request based on its frame extents.
15343         (create): Initialize insets.
15344         (postInsetsChangedEvent): New method.
15345         (postConfigureEvent): Remove parameters top, left, bottom,
15346         right.  Remove insets-related logic.
15347         (connectJObject): Handle property-notify-event.
15348         (window_get_frame_extents, request_frame_extents,
15349         property_notify_predicate, window_property_changed_cb): New
15350         static functions.
15351         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15352         (pre_event_handler): Remove insets-related logic for configure
15353         events.
15354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15355         Update postConfigureEvent signature.
15356
15357 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15358  
15359         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15360         to handle Window "Closing" events.
15361  
15362 2004-01-13  David Jee  <djee@redhat.com>
15363
15364         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15365         (setBackground): New method. Children with no explicitly-set
15366         background will be repainted with the parent container's new
15367         background color.
15368
15369 2004-01-13  David Jee  <djee@redhat.com>
15370
15371         * Makefile.am: Add BitwiseXORComposite.java.
15372         * Makefile.in: Regenerated.
15373         * gcj/Makefile.in: Regenerated.
15374         * include/Makefile.in: Regenerated.
15375         * testsuite/Makefile.in: Regenerated.
15376
15377 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15378
15379         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15380         not show modal dialogs twice and so that it allows showing a modal
15381         dialog from another modal dialog.
15382
15383 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15384
15385         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15386         and run secondary dispatch thread to process event queue while this
15387         thread is blocked.
15388
15389 2004-01-12  Graydon Hoare  <graydon@redhat.com>
15390
15391         * gnu/java/awt/gtk/GdkGraphics2D.java
15392         (static): Check GtkToolkit before initializing static state.
15393         (Graphics2D): Don't construct transform with 0.5 unit offset.
15394
15395 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
15396
15397         * gnu/java/awt/BitwiseXORComposite.java: Add.
15398         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15399         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15400         (BitwiseXORComposite): Remove inner class.
15401
15402 2004-01-11  Michael Koch  <konqueror@gmx.de>
15403
15404         * gnu/java/lang/reflect/TypeSignature.java
15405         (getEncodingOfClass): Documentation fixed.
15406         (getClassForEncoding): Give class loader to Class.forName().
15407         Documentation fixed.
15408
15409 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
15410
15411         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15412
15413 2004-01-11  Michael Koch  <konqueror@gmx.de>
15414
15415         * javax/swing/undo/StateEditable.java
15416         (RCSID): Removed redundant modifiers.
15417
15418 2004-01-10  Michael Koch  <konqueror@gmx.de>
15419
15420         * javax/print/attribute/EnumSyntax.java
15421         (getStringTable): Made protected.
15422         (getEnumValueTable): Likewise.
15423         * javax/print/attribute/standard/JobKOctetsProcessed.java
15424         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15425         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15426         (JobMediaSheetsCompleted): Made class final.
15427         * javax/print/attribute/standard/OutputDeviceAssigned.java
15428         (getName): Fixed typo.
15429         * javax/print/attribute/standard/RequestingUserName.java
15430         (serialVersionUID): Fixed value.
15431
15432 2004-01-10  Michael Koch  <konqueror@gmx.de>
15433
15434         * javax/swing/plaf/basic/BasicButtonUI.java,
15435         javax/swing/plaf/basic/BasicCheckBoxUI.java,
15436         javax/swing/plaf/basic/BasicListUI.java,
15437         javax/swing/plaf/basic/BasicOptionPaneUI.java,
15438         javax/swing/plaf/basic/BasicPanelUI.java,
15439         javax/swing/plaf/basic/BasicRadioButtonUI.java,
15440         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15441         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15442         javax/swing/plaf/basic/BasicViewportUI.java:
15443         Fixed import statements.
15444
15445 2004-01-10  Michael Koch  <konqueror@gmx.de>
15446
15447         * gnu/java/awt/image/ImageDecoder.java
15448         (produce): Made public.
15449         * gnu/java/awt/peer/GLightweightPeer.java,
15450         gnu/java/awt/peer/gtk/GtkToolkit.java:
15451         Reformated.
15452
15453 2004-01-10  Michael Koch  <konqueror@gmx.de>
15454
15455         * javax/swing/JRadioButtonMenuItem.java,
15456         javax/swing/JSeparator.java,
15457         javax/swing/JSplitPane.java,
15458         javax/swing/JTextPane.java,
15459         javax/swing/JToolBar.java,
15460         javax/swing/ListCellRenderer.java,
15461         javax/swing/ListModel.java,
15462         javax/swing/MenuElement.java,
15463         javax/swing/OverlayLayout.java,
15464         javax/swing/ProgressMonitor.java,
15465         javax/swing/ProgressMonitorInputStream.java,
15466         javax/swing/Renderer.java,
15467         javax/swing/RootPaneContainer.java,
15468         javax/swing/Scrollable.java,
15469         javax/swing/SingleSelectionModel.java,
15470         javax/swing/ToolTipManager.java,
15471         javax/swing/ViewportLayout.java,
15472         javax/swing/event/DocumentEvent.java,
15473         javax/swing/event/SwingPropertyChangeSupport.java,
15474         javax/swing/event/TreeSelectionEvent.java,
15475         javax/swing/event/UndoableEditEvent.java,
15476         javax/swing/text/AbstractDocument.java,
15477         javax/swing/text/AttributeSet.java,
15478         javax/swing/text/Caret.java,
15479         javax/swing/text/ComponentView.java,
15480         javax/swing/text/DefaultCaret.java,
15481         javax/swing/text/DefaultEditorKit.java,
15482         javax/swing/text/Document.java,
15483         javax/swing/text/EditorKit.java,
15484         javax/swing/text/GapContent.java,
15485         javax/swing/text/Keymap.java,
15486         javax/swing/text/MutableAttributeSet.java,
15487         javax/swing/text/PlainEditorKit.java,
15488         javax/swing/text/Segment.java,
15489         javax/swing/text/Style.java,
15490         javax/swing/text/StyledDocument.java,
15491         javax/swing/text/StyledEditorKit.java,
15492         javax/swing/text/TextAction.java,
15493         javax/swing/text/View.java: Fixed import statements.
15494
15495 2004-01-08  Graydon Hoare  <graydon@redhat.com>
15496
15497         * javax/swing/JLayeredPane.java: Rewrite to accomodate
15498         djee@redhat.com's recent inverse ordering of Container elements.
15499
15500 2004-01-09  Michael Koch  <konqueror@gmx.de>
15501
15502         * gnu/java/lang/ArrayHelper.java
15503         (equalsArray): Removed.
15504
15505 2004-01-09  Andrew Haley  <aph@redhat.com>
15506
15507         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15508         a Utf8Const field before looking at its class.
15509
15510 2004-01-09  Michael Koch  <konqueror@gmx.de>
15511
15512         * javax/print/attribute/standard/DocumentName.java,
15513         javax/print/attribute/standard/JobHoldUntil.java,
15514         javax/print/attribute/standard/JobMessageFromOperator.java,
15515         javax/print/attribute/standard/JobName.java,
15516         javax/print/attribute/standard/JobOriginatingUserName.java,
15517         javax/print/attribute/standard/OutputDeviceAssigned.java,
15518         javax/print/attribute/standard/PrinterInfo.java,
15519         javax/print/attribute/standard/PrinterLocation.java,
15520         javax/print/attribute/standard/PrinterMakeAndModel.java,
15521         javax/print/attribute/standard/PrinterMessageFromOperator.java,
15522         javax/print/attribute/standard/PrinterName.java,
15523         javax/print/attribute/standard/RequestingUserName.java: New files.
15524         * Makefile.am (javax_source_files): Added new files.
15525         * Makefile.in: Regenerated.
15526
15527 2004-01-09  Michael Koch  <konqueror@gmx.de>
15528
15529         * javax/swing/AbstractAction.java,
15530         javax/swing/AbstractSet.java,
15531         javax/swing/Action.java,
15532         javax/swing/ActionMap.java,
15533         javax/swing/BoundedRangeModel.java,
15534         javax/swing/ButtonModel.java,
15535         javax/swing/CellEditor.java,
15536         javax/swing/CellRendererPane.java,
15537         javax/swing/ComboBoxEditor.java,
15538         javax/swing/DebugGraphics.java,
15539         javax/swing/DefaultCellEditor.java,
15540         javax/swing/DefaultCellRenderer.java,
15541         javax/swing/DefaultComboBoxModel.java,
15542         javax/swing/DefaultDesktopManager.java,
15543         javax/swing/DefaultFocusManager.java,
15544         javax/swing/DefaultListCellRenderer.java,
15545         javax/swing/Icon.java,
15546         javax/swing/JButton.java,
15547         javax/swing/JCheckBoxMenuItem.java,
15548         javax/swing/JDesktopPane.java,
15549         javax/swing/JEditorPane.java,
15550         javax/swing/JMenu.java,
15551         javax/swing/JPanel.java,
15552         javax/swing/JPasswordField.java,
15553         javax/swing/JPopupMenu.java,
15554         javax/swing/JProgressBar.java: Reworked imports.
15555
15556 2004-01-09  Michael Koch  <konqueror@gmx.de>
15557
15558         * java/awt/geom/PathIterator.java
15559         (WIND_EVEN_ODD): Removed redundant modifiers.
15560         (WIND_NON_ZERO): Likewise.
15561         (SEG_MOVETO): Likewise.
15562         (SEG_LINETO): Likewise.
15563         (SEG_QUADTO): Likewise.
15564         (SEG_CUBICTO): Likewise.
15565         (SEG_CLOSE): Likewise.
15566         * java/awt/image/SinglePixelPackedSampleModel.java:
15567         Removed redundant semicolon.
15568         * java/io/ObjectInputStream.java
15569         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15570         * java/util/logging/Filter.java
15571         (isLoggable): Removed redundant modifier.
15572         * java/util/logging/LogManager.java:
15573         Removed redundant semicolon.
15574         * java/util/logging/XMLFormatter.java
15575         (format): Removed unused variable "key".
15576
15577 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
15578
15579         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15580         New name for the former setFile native method.
15581         (setFile): New method.
15582         (setDirectory): Implemented.
15583         (connectSignals): New native method.
15584         (setFilenameFilter): Improve comment.
15585         (getGraphics): Comment.
15586         (gtkHideFileDialog): New method.
15587         (gtkDisposeFileDialog): New method.
15588         (gtkSetFilename): New method.
15589         * java/awt/Dialog.java (show): Block on modal dialogs, but only
15590         for FileDialog for now.
15591         (hide): New method.
15592         (dispose): New method.
15593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15594         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15595         deprecated creation functions.  Make dialog modal.  Add it to the
15596         window group.
15597         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15598         function.
15599         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15600         Rename to...
15601         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15602         name.
15603         (window_closed): New function.
15604         (ok_clicked): New function.
15605         (cancel_clicked): New function.
15606
15607 2004-01-08  Michael Koch  <konqueror@gmx.de>
15608
15609         * javax/swing/JLayeredPane.java: Revert changes to standard
15610         boilerplate, reworked imports.
15611
15612 2004-01-07  Tom Tromey  <tromey@redhat.com>
15613
15614         PR libgcj/13439:
15615         * verify.cc (state::merge): Copy changed locals out of subroutine
15616         in NO_STACK case.
15617         (state::FLAG_CHANGED): New const.
15618         (state::FLAG_UNUSED): Likewise.
15619         (state::local_changed): Removed.  Updated all users.
15620         (state::flags): New field.
15621         (state::merge): Added jsr_semantics argument, more logic.
15622         (push_jump_merge): Added jsr_semantics argument.
15623         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15624         merging through the jsr instruction.
15625
15626 2004-01-07  Tom Tromey  <tromey@redhat.com>
15627
15628         * scripts/MakeDefaultMimeTypes.java: Use \n, not
15629         backslash-newline.
15630
15631 2004-01-07  Graydon Hoare  <graydon@redhat.com>
15632
15633         * java/awt/Container.java (LightweightDispatcher): Implement.
15634         (visitChild): Reuse graphics object.
15635         (dispatchEventImpl): Optionally dispatch to lightweight.
15636         (addNotifyContainerChildren): Build LightweightDispatcher.
15637
15638 2004-01-07  David Jee  <djee@redhat.com>
15639
15640         * java/awt/Container.java
15641         (update): Clear only the clipped region, instead of clearing the
15642         entire Container.
15643         (visitChildren): Visit children in descending order.
15644
15645 2004-01-07  Michael Koch  <konqueror@gmx.de>
15646
15647         * java/lang/reflect/Array.java: Merged documentation with classpath.
15648
15649 2004-01-07  Michael Koch  <konqueror@gmx.de>
15650
15651         * java/text/CollationElementIterator.java
15652         (textIndex): Renamed from index.
15653         * java/text/CollationKey.java
15654         (collator): New member.
15655         (CollationKey): New argument for parent collator.
15656         (equals): Check for same collator, source string and key array.
15657         * java/text/RuleBasedCollator.java:
15658         Reformated.
15659         (RuleBasedCollator): Don't re-initialize frenchAccents with default
15660         value.
15661         (getCollationElementIterator): Rewritten.
15662         (getCollationKey): Added new argument to CollationKey constructor.
15663
15664 2004-01-07  Michael Koch  <konqueror@gmx.de>
15665
15666         * gnu/java/nio/DatagramChannelImpl.java
15667         (blocking): Removed.
15668         (DatagramChannelImpl): Call configureBlocking().
15669         (implConfigureBlocking): Dont initialize blocking.
15670         * gnu/java/nio/ServerSocketChannelImpl.java
15671         (blocking): Removed.
15672         (ServerSocketChannelImpl): Call configureBlocking().
15673         (implConfigureBlocking): Dont initialize blocking.
15674         * gnu/java/nio/SocketChannelImpl.java
15675         (blocking): Removed.
15676         (SocketChannelImpl): Call configureBlocking().
15677         (implConfigureBlocking): Dont initialize blocking.
15678         (connect): Use isBlocking().
15679         * java/nio/channels/spi/AbstractSelectableChannel.java
15680         (configureBlocking): Use blockingLock() instead of LOCK.
15681         Set blocking after successfully called implConfigureBlocking().
15682         (register): Use blockingLock() instead of LOCK.
15683
15684 2004-01-07  Michael Koch  <konqueror@gmx.de>
15685
15686         * java/net/ServerSocket.java (isBound): Fixed documentation.
15687
15688 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
15689
15690         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15691         (changeEvent): Create event object on demand.
15692         (DefaultBoundedRangeModel, toString, setValue, setExtent,
15693         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15694         fireStateChanged): Re-written.
15695         * javax/swing/event/EventListenerList.java: Reformatted, document
15696         typical usage.
15697         (toString): Implemented.
15698         (getListeners): Re-written.
15699         (remove): Re-written.
15700         (add): Re-written.
15701         (NO_LISTENERS): New singleton field.
15702         (listenerList): Declare as transient; document.
15703         (serialVersionUID): Document.
15704         (getListenerCount(Class)): More efficient implementation,
15705         also accepts null argument.  Improve Javadoc.
15706         (getListenerCount()): Remove unnecessary cast; docfix.
15707         * javax/swing/undo/UndoableEditSupport.java:
15708         Re-format, document.
15709         (UndoableEditSupport): Set realSource field. Improve documentation.
15710         (_postEdit): Iterate over cloned listener vector.
15711         (toString): Don't emit realSource.
15712         (beginUpdate, endUpdate): Support nested updates.
15713         (postEdit): Use compound edit if present.
15714
15715 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15716
15717         * java/awt/Container.java (swapComponents): Add forgotten
15718         function, required for JLayeredPane change.
15719
15720 2004-01-06  Michael Koch  <konqueror@gmx.de>
15721
15722         * java/text/CollationElementIterator.java: Reformated.
15723         (CollationElementIterator): Changed order of arguments.
15724         * java/text/RuleBasedCollator.java
15725         (RuleBasedCollator): Merged class documentation.
15726         (CollationElement): Added documentation.
15727         (compare): Reformated, renamed arguments.
15728         (equals): Likewise.
15729         (getCollationElementIterator): Likewise.
15730         (getCollationKey): Likewise.
15731
15732 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15733
15734         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
15735
15736 2004-01-06  Michael Koch  <konqueror@gmx.de>
15737
15738         * gnu/java/net/protocol/file/Connection.java:
15739         Reformated copyright.
15740         (hdrHash): Removed.
15741         (hdrVec): Removed.
15742         (gotHeaders): Removed.
15743         (getHeaderField): Removed.
15744         (getHeaderField): Removed.
15745         (getHeaderFieldKey): Removed.
15746         (getKey): Removed.
15747         (getField): Removed.
15748         (getHeaders): Removed.
15749
15750 2004-01-06  Michael Koch  <konqueror@gmx.de>
15751
15752         * javax/print/attribute/standard/DateTimeAtCompleted.java,
15753         javax/print/attribute/standard/DateTimeAtCreation.java,
15754         javax/print/attribute/standard/DateTimeAtProcessing.java,
15755         javax/print/attribute/standard/JobImpressionsCompleted.java,
15756         javax/print/attribute/standard/JobKOctets.java,
15757         javax/print/attribute/standard/JobKOctetsProcessed.java,
15758         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
15759         javax/print/attribute/standard/JobPrioritySupported.java: New files.
15760         * Makefile.am (javax_source_files): Added new files.
15761         * Makefile.in: Regenerated.
15762
15763 2004-01-06  Michael Koch  <konqueror@gmx.de>
15764
15765         * java/net/URLConnection.java
15766         (contentHandler): Removed.
15767         (locale): Removed.
15768         (getHeaderFields): Return an empty map instead of null.
15769         (getContent): Connect if needed, renamed "cType" to "type" and
15770         "contentHandler" to "ch" and made it a local variable.
15771         (getPermission): Don't use package in class name.
15772         (setDefaultRequestProperty): Fixed typo in documentation.
15773         (initializeDateFormats): Made locale a local variable.
15774
15775 2004-01-06  Michael Koch  <konqueror@gmx.de>
15776
15777         * java/lang/Package.java
15778         (getPackage): Get the current class loader directly.
15779         * java/lang/SecurityManager.java
15780         (currentLoadedClass): Dont iterate over class contexts.
15781         (classLoaderDepth): Don't check class loaders if everything is allowed.
15782
15783 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15784
15785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15786         (pre_event_handler): Set all insets to 0 when a Configure event
15787         is received for a GtkPlug.
15788         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
15789         Make handle long, not int.
15790         (EmbeddedWindow()): New constructor.
15791         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
15792         long, not int.
15793         (setHandle): New method.
15794         (getHandle): Return long, not int.
15795         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
15796         declaration.
15797         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
15798         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
15799         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
15800         argument to GdkNativeWindow.
15801         (construct): New method.
15802         (embed): New method.
15803
15804         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
15805         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
15806         (create(int, int)): New method.
15807         (create): Call new create method.
15808         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
15809         methods.
15810         (childResized): Remove native implementation.  Implement in
15811         Java.
15812         (getHScrollbarHeight, getVScrollbarWidth): Call
15813         gtk_widget_size_request to get scrollbar dimensions.
15814         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
15815         call getVScrollbarWidth and getHScrollbarHeight when vertical
15816         and horizontal scrollbars respectively are needed.
15817         (doLayout): Enlarge child if it is smaller than the viewport.
15818
15819 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15820
15821         * java/awt/Dialog.java (constructor): Accept null title as per spec.
15822         * java/awt/FileDialog.java (constructor): Throw exception on invalid
15823         argument as per spec.
15824
15825 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15826
15827         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
15828         (insert): Ditto.
15829         (remove): Ditto.  Also, Check for valid argument.
15830         (removeAll): Use peer interface method.
15831         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
15832         native add function.
15833         (nativeRemove): New name for native remove function.
15834         (getHistory): New native function.
15835         (constructor): Generate ItemEvent.
15836         (add): Ditto, if selection is changed.
15837         (remove): Ditto, ditto.
15838         (removeAll): Add implementation.
15839         (handleEvent): Remove.  Dead code.
15840         (choicePostItemEvent): Add comment.
15841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
15842         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
15843         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
15844         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
15845         comments and fix condition to change selection.
15846         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
15847         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
15848         remove all capability.
15849         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
15850         (item_activate): Add cast to remove compiler warning.
15851
15852 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15853
15854         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15855         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15856         (getPreferredSize): Call preferredSize.
15857         (preferredSize): Call gtkWidgetGetPreferredDimensions.
15858         (getMinimumSize): Call minimumSize.
15859         (minimumSize): Call gtkWidgetGetPreferredDimensions.
15860         (gtkWidgetGetDimensions): Return the peer widget's current size
15861         request.
15862         (gtkWidgetGetPreferredDimensions): Return the peer widget's
15863         natural size request.
15864
15865 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
15866
15867         Thanks to Brian Gough <bjg@network-theory.com>
15868         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
15869         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
15870
15871 2004-01-04  Matthias Klose  <doko@debian.org>
15872
15873         * aclocal.m4: Rebuilt using "aclocal -I .".
15874         * configure: Rebuilt.
15875
15876 2004-01-03  Per Bothner  <per@bothner.com>
15877
15878         * java/util/Date.java (parse):  Fix a number of problems.
15879         (skipParens):  Remove no-longer-needed method.
15880