OSDN Git Service

2004-12-17 Andrew Haley <aph@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
2
3         * java/util/IdentityHashMap.java (put): Replace mistaken use
4         of "<<" by "*".
5
6 2004-12-06  Tom Tromey  <tromey@redhat.com>
7
8         For PR java/14853:
9         * testsuite/libjava.compile/PR14853.java: New file.
10         * testsuite/libjava.compile/PR14853.xfail: New file.
11
12 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
13
14         PR libgcj/7305
15         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
16         * Makefile.am (install-data-local): Install headers into 
17         $(gxx_include_dir) rather than $(includedir).
18         (AM_MAKEFLAGS): Pass down gxx_include_dir.
19         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
20         * include/Makefile.am (tool_include__HEADERS): Define this...
21         (include_HEADERS): ...instead of this.
22         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
23         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
24
25 2004-12-02  Tom Tromey  <tromey@redhat.com>
26
27         For PR java/16675:
28         * testsuite/libjava.compile/PR16675.java: New file.
29
30 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
31
32         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
33         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
34         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
35
36 2004-12-01  Tom Tromey  <tromey@redhat.com>
37
38         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
39         name.
40         (_Jv_ThreadRegister): Likewise.
41         (_Jv_MutexCheckMonitor): Likewise.
42
43         * link.cc: Include limits.h.
44
45 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
46
47         PR libgcj/18699
48         * testsuite/libjava.lang/PR18699.java, 
49         testsuite/libjava.lang/PR18699.out: New test.
50
51 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
52
53         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
54         Update image observer.
55         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
56         Start image production.
57         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
58         against negative menu bar widths.
59         (setBounds): Likewise.
60         (postConfigureEvent): Likewise.
61         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
62         remove consumer unless only a single frame has completed.
63         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
64         Add observer parameter.
65         (setPixels): Update image observer.
66         (imageComplete): Likewise.
67         * java/applet/Applet.java (width): New field.
68         (height): Likewise.
69         (setStub): Set size if width or height field has been set.
70         (resize): If stub is null save width and height values.
71         * java/awt/Component.java (reshape): Protect against null
72         parent.
73         * java/awt/image/MemoryImageSource.java
74         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
75         Document.
76         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
77         Likewise.
78         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
79         Reference pixel array directly, rather than creating a local
80         copy.
81         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
82         Likewise.
83         (newPixels(int,int,int,int)): Fix for loop and array copy
84         bounds.
85         (newPixels(int,int,int,int,boolean)): Likewise.
86         (startProduction): If animated call imageComplete with
87         SINGLEFRAME.
88         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
89         gdk_flush lines.
90         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
91         (drawPixels): Return if g is null or g->drawable is not a gdk
92         drawable.
93
94 2004-11-30  Michael Koch  <konqueror@gmx.de>
95
96         * javax/swing/DefaultSingleSelectionModel.java,
97         javax/swing/JPasswordField.java,
98         javax/swing/tree/AbstractLayoutCache.java:
99         Reformatted and javadocs cleaned up.
100
101 2004-11-30  Michael Koch  <konqueror@gmx.de>
102
103         * java/awt/Component.java:
104         Fixed argument names to match javadocs.
105         (setFont): Rewritten set property first and then fire event.
106         (setLocale): Likewise.
107         * javax/swing/text/JTextComponent.java
108         (setEditable): Likewise.
109
110 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
111
112         * java/awt/Button.java
113         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
114         source of 'click'.
115
116 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
117
118         * java/awt/Checkbox.java: Remove stub comments.
119
120 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
121
122         * java/awt/Button.java
123         (AccessibleAWTButton.getAccessibleActionDescription): Return
124         'click'.
125
126 2004-11-30  Michael Koch  <konqueror@gmx.de>
127
128         * java/awt/CardLayout.java:
129         Made some constants static.
130         (serialVersionUID): Made private.
131         (addLayoutComponent): Simplified code.
132         * java/awt/event/InputEvent.java
133         (getModifiersEx): Added missing @param tag.
134         * java/awt/image/RGBImageFilter.java
135         (filterRGBPixels): Reformatted, removed wrong @param tag.
136
137 2004-11-30  Michael Koch  <konqueror@gmx.de>
138
139         * javax/swing/text/FieldView.java,
140         javax/swing/text/JTextComponent.java:
141         Removed debug code.
142
143 2004-11-30  Michael Koch  <konqueror@gmx.de>
144
145         * javax/swing/BorderFactory.java
146         (BorderFactory): Added private constructor.
147         * javax/swing/SwingUtilities.java
148         (SwingUtilities): Likewise.
149         (computeStringWidth): New method.
150
151 2004-11-30  Michael Koch  <konqueror@gmx.de>
152
153         * java/awt/color/ICC_Profile.java
154         (icSigNamedColorTag): Removed.
155         * java/awt/datatransfer/DataFlavor.java
156         (isMimeTypeEqual): Made final.
157         * java/awt/image/AffineTransformOp.java:
158         Reworked javadocs.
159         (TYPE_BICUBIC): Added @since tag.
160
161 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
162
163         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
164         comments.
165
166 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
167
168         * java/awt/Checkbox.java (itemStateChanged): Implement function.
169         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
170
171 2004-11-30  Sven de Marothy  <sven@physto.se>
172
173         * java/awt/Polygon.java (contains): Reimplemented.
174
175 2004-11-30  Michael Koch  <konqueror@gmx.de>
176
177         * java/awt/print/PrinterJob.java: Reformatted.
178
179 2004-11-30  Michael Koch  <konqueror@gmx.de>
180
181         * java/awt/image/AffineTransformOp.java,
182         java/awt/image/ColorConvertOp.java,
183         java/awt/image/LookupOp.java,
184         java/awt/image/RescaleOp.java:
185         Added final keywords where they belong.
186
187 2004-11-30  Michael Koch  <konqueror@gmx.de>
188
189         * java/awt/CardLayout.java,
190         java/awt/Component.java,
191         java/awt/Font.java,
192         java/awt/image/SinglePixelPackedSampleModel.java:
193         Fixed javadocs and argument names all over.
194
195 2004-11-30  Michael Koch  <konqueror@gmx.de>
196
197         * java/awt/image/DataBufferShort.java: Fixed file header.
198         * java/awt/image/DataBufferUShort.java: Likewise.
199         (DataBufferUShort): Throw NullPointerException if dataArray is null.
200
201 2004-11-30  Sven de Marothy  <sven@physto.se>
202
203         * java/awt/geom/Arc2D.java
204         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
205         (setAngles): Likewise.
206         (containsAngle): Return false on zero extent, don't include
207         final angle.
208         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
209         ones.
210
211 2004-11-30  Sven de Marothy  <sven@physto.se>
212
213         * java/awt/geom/AffineTransform.java,
214         (inverseTransform): Fixed bug and simplified code.
215         (createTransformedShape): Return null on null parameter.
216
217 2004-11-30  Michael Koch  <konqueror@gmx.de>
218
219         * java/awt/color/ICC_ColorSpace.java,
220         java/awt/color/ICC_Profile.java,
221         java/awt/color/ICC_ProfileGray.java,
222         java/awt/color/ICC_ProfileRGB.java:
223         Re-indent copyright header to be standardish.
224         * java/awt/datatransfer/StringSelection.java:
225         Reformatted.
226         * java/awt/geom/Area.java
227         (EPSILON): Made static.
228         (RS_EPSILON): Likewise.
229         (PE_EPSILON): Likewide.
230
231 2004-11-30  Sven de Marothy  <sven@physto.se>
232
233         * javax/swing/SwingUtilities.java:
234         (computeDifference): Implemented
235         (computeIntersection): Likewise
236         (computeUnion): Likewise
237         (isRectangleContainingRectangle): Likewise
238
239 2004-11-30  Michael Koch  <konqueror@gmx.de>
240
241         * java/awt/BasicStroke.java,
242         java/awt/Button.java,
243         java/awt/Canvas.java,
244         java/awt/CheckboxMenuItem.java,
245         java/awt/Container.java,
246         java/awt/EventQueue.java,
247         java/awt/FileDialog.java,
248         java/awt/FlowLayout.java,
249         java/awt/FontMetrics.java,
250         java/awt/Graphics.java,
251         java/awt/GridLayout.java,
252         java/awt/KeyboardFocusManager.java,
253         java/awt/Label.java,
254         java/awt/LayoutManager2.java,
255         java/awt/List.java,
256         java/awt/MenuBar.java,
257         java/awt/Scrollbar.java,
258         java/awt/Toolkit.java,
259         java/awt/Window.java,
260         java/awt/datatransfer/DataFlavor.java,
261         java/awt/datatransfer/FlavorTable.java,
262         java/awt/event/ActionListener.java,
263         java/awt/event/HierarchyBoundsAdapter.java,
264         java/awt/geom/Arc2D.java,
265         java/awt/geom/Rectangle2D.java,
266         java/awt/geom/RectangularShape.java,
267         java/awt/im/spi/InputMethod.java,
268         java/awt/image/ByteLookupTable.java,
269         java/awt/image/ColorModel.java,
270         java/awt/image/DirectColorModel.java,
271         java/awt/image/ShortLookupTable.java,
272         java/awt/print/Book.java:
273         Fixed javadocs and method argument names all over.
274
275 2004-11-30  Michael Koch  <konqueror@gmx.de>
276
277         * gnu/java/awt/peer/gtk/GdkFontPeer.java
278         (buildString): Optimise String building.
279
280 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
281
282         * java/awt/TextArea.java (AccessibleAWTTextArea,
283         getAccessibleContext): Implement.
284         * java/awt/TextField.java (AccessibleAWTTextField,
285         getAccessibleContext): Implement.
286
287 2004-11-30  Tom Tromey  <tromey@redhat.com>
288
289         * Makefile.in: Rebuilt.
290         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
291         Fixed typo.
292
293 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
294
295         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
296         Implement.
297         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
298         Implement.
299
300 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
301
302         * java/awt/print/PrinterJob.java (lookupPrintServices,
303         getPrintService, setPrintService): Implement.
304         (lookupStreamPrintServices): Add commented out implementation.
305         (printer): New field.
306
307 2004-11-30  Mark Wielaard  <mark@klomp.org>
308
309         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
310         when not yet set.
311
312 2004-11-30  Sven de Marothy  <sven@physto.se>
313
314         * java/awt/geom/GeneralPath.java (evaluateCrossings):
315         Fixed epsilon value, should always be nonzero.
316
317 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
318
319         * java/awt/image/Raster.java
320         (createPackedRaster): Implemented.
321
322 2004-11-30  Graydon Hoare  <graydon@redhat.com>
323
324         * javax/swing/plaf/basic/BasicTextUI.java: 
325         Listen to focus events, indicate focus via caret.
326         * javax/swing/text/GapContent.java (getString): Return substring.
327         * javax/swing/text/PlainDocument.java (reindex): New method.
328         (createDefaultRoot): Call it.
329         (insertUpdate): Likewise.
330         (removeUpdate): Likewise.
331         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
332         on tab and newline, even if no painting happens.
333
334 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
335
336         * Makefile.am: List peer JNI header: Java source file
337         dependencies explicitly.  Likewise for JNI .lo: JNI header
338         dependencies.
339         * Makefile.in: Regenerate.
340
341 2004-11-30  Graydon Hoare  <graydon@redhat.com>
342
343         * Makefile.am: Add entry for BasicTextPaneUI.java
344         * Makefile.in: Regenerate.
345         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
346         (GdkGraphics2D): Set clip after transform.
347         (drawImage): Protect against null image.
348         * gnu/java/awt/peer/gtk/GtkFramePeer.java
349         (setIconImage): Protect against non-GtkImage args.
350         * gnu/java/awt/peer/gtk/GtkToolkit.java
351         (checkImage): Protect against non-GtkImage args.
352         * java/awt/print/PrinterJob.java:
353         (print): Add variant taking PrintRequestAttributeSet.
354         (printDialog): Likewise.
355         * javax/swing/JComponent.java:
356         (transferHandler): New field.
357         (getComponentGraphics): Build new Graphics for each sub-paint.
358         (getTransferHandler): New method.
359         (setTransferHandler): New method.
360         * javax/swing/JDesktopPane.java 
361         (setDragMode): Force LIVE_DRAG_MODE.
362         * javax/swing/JMenuItem.java
363         (menuSelectionChanged): Protect against null parent.
364         * javax/swing/JTable.java (setDefaultRenderer): New method.
365         * javax/swing/JTree.java: Get basic ctors and UI working.
366         * javax/swing/JViewport.java (JViewport): Set scroll mode.
367         * javax/swing/RepaintManager.java 
368         (addDirtyRegion): Skip empty regions.
369         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
370         bound scrollpane minimum by central view minimum.
371         * javax/swing/ToolTipManager.java 
372         (showTip): Guard against null component.
373         * javax/swing/TransferHandler.java: Stub out.
374         * javax/swing/plaf/basic/BasicLookAndFeel.java:
375         Add entry for TextPaneUI, change Tree icons to pngs.
376         * javax/swing/plaf/basic/BasicMenuItemUI.java:
377         (installDefaults): Set text position and alignment.
378         (paintMenuItem): Layout icon with normal compound function.
379         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
380         (getMaximumSize): Delete.
381         (getMinimumSize): Delete.
382         (getPreferredSize): Use column model's total width.
383         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
384         * javax/swing/plaf/basic/BasicTextUI.java
385         (modelChanged): Make resilient against nulls.
386         * javax/swing/plaf/basic/BasicTreeUI.java: 
387         Add some simplistic config / painting functions.
388         * javax/swing/plaf/basic/BasicViewportUI.java
389         (paintSimple): Add new non-backingstore paint mode.
390         (paintBackingStore): Split out backing store code.
391         (paint): Switch on painting mode.
392         * javax/swing/text/SimpleAttributeSet.java
393         (SimpleAttributeSet): Resist nulls.
394         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
395         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
396
397 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
398
399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
400         Set pango context's description and language.
401
402 2004-11-30  Mark Wielaard  <mark@klomp.org>
403
404         * java/awt/image/LookupOp.java: Comments and indentation fixes.
405
406 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
407
408         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
409         (getAccessibleContext): Implement.
410
411 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
412
413         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
414         Implement.
415         (getIndexAtPoint, getCharacterBounds): New methods.
416
417 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
418
419         * java/awt/Button.java (AccessibleAWTButton): Implement.
420
421 2004-11-30  Mark Wielaard  <mark@klomp.org>
422
423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
424         (filenameFilterCallback): Made static.
425
426 2004-11-30  Michael Koch  <konqueror@gmx.de>
427
428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
429         (cairoShowGlyphs) Removed.
430
431 2004-11-30  Sven de Marothy <sven@physto.se>
432
433         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
434         Don't invert matrix when reverse CLUT is available.
435         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
436         * java/awt/color/ICC_ColorSpace.java: Likewise.
437         * java/awt/color/ICC_Profile.java: Likewise.
438         * java/awt/color/ICC_ProfileGray.java: Likewise.
439         * java/awt/color/ICC_ProfileRGB.java: Likewise.
440
441 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
442
443         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
444
445 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
446
447         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
448
449 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
450
451         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
452         field hiding ComponentSampleModel.scanlineStride.
453
454 2004-11-30  Noa Resare  <noa@resare.com>
455
456         * java/awt/geom/GeneralPath.java (currentSegment):
457         Fix typo in transform.transform() invocation.
458
459 2004-11-30  Sven de Marothy <sven@physto.se>
460
461         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
462         (createImage): Created bitmap should be filled with bg color
463
464 2004-11-30  Noa Resare  <noa@resare.com>
465
466         * java/awt/Choice.java (add):
467         Implement correct selection behavior when peer == null.
468         (insert): Likewise.
469         (remove): Likewise.
470
471 2004-11-30  Mark Wielaard  <mark@klomp.org>
472
473         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
474         Call select() when Choice has a selected item.
475
476 2004-11-30  Michael Koch  <address@bogus.example.com>
477
478         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
479         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
480         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
481         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
482         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
483         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
484         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
485         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
486         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
487         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
488         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
489         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
490         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
491         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
492         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
493         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
494         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
495         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
496         Fixed method names to start at begin of line. This is desired by GNU
497         coding style guide.
498
499 2004-11-30  Michael Koch  <konqueror@gmx.de>
500
501         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
502         (gtkWidgetSetVisible): Unused. Removed.
503         (connectJObject): Likewise.
504         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
505         (gtkScrolledWindowSetScrollPosition): Commented out.
506
507 2004-11-30  Mark Wielaard  <mark@klomp.org>
508
509         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
510         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
511         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
512
513 2004-11-30  Mark Wielaard  <mark@klomp.org>
514
515         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
516         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
517         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
518         (init_dpi_conversion_factor): Correct prototype.
519
520 2004-11-30  Sven de Marothy  <sven@physto.se>
521         
522         * java/awt/image/ConvolveOp.java: Added missing
523         copyright notice.
524
525 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
526
527         Fixes bug #10908
528         * gnu/java/beans/IntrospectionIncubator.java:
529         (addMethod): static methods are discarded now, too.
530
531 2004-11-30  Mark Wielaard  <mark@klomp.org>
532
533         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
534         java source files.
535         * Makefile.in: Regenerated.
536
537 2004-11-30  Sven de Marothy  <sven@physto.se>
538
539         * gnu/java/awt/color/CieXyzConverter.java,
540         gnu/java/awt/color/GrayScaleConverter.java,
541         gnu/java/awt/color/SrgbConverter.java,
542         gnu/java/awt/color/ClutProfileConverter.java,
543         gnu/java/awt/color/LinearRGBConverter.java,
544         gnu/java/awt/color/TagEntry.java,
545         gnu/java/awt/color/ColorLookUpTable.java,
546         gnu/java/awt/color/ProfileHeader.java,
547         gnu/java/awt/color/ToneReproductionCurve.java,
548         gnu/java/awt/color/ColorSpaceConverter.java,
549         gnu/java/awt/color/PyccConverter.java,
550         gnu/java/awt/color/GrayProfileConverter.java,
551         gnu/java/awt/color/RgbProfileConverter.java:
552         New files.
553         * java/awt/color/ICC_ColorSpace.java,
554         java/awt/color/ICC_Profile.java,
555         java/awt/color/ICC_ProfileGray.java,
556         java/awt/color/ICC_ProfileRGB.java:
557         Implemented (sans PhotoYCC color space).
558
559 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
560
561         * java/awt/image/AffineTransformOp.java (filter):  Implement
562         bilinear interpolation for Rasters.
563
564 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
565
566         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
567         use the provided colormap.  Throw documented exceptions.  Document
568         exceptions.
569
570 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
571
572         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
573         constructor.
574
575 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
576
577         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
578
579 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
580
581         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
582         filtering.
583
584 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
585
586         * java/awt/image/ComponentSampleModel.java (getDataElements,
587         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
588
589 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
590
591         * java/awt/Font.java (name): New field.
592         (size): Likewise.
593         (style): Likewise.
594
595 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
596
597         * java/awt/image/Raster.java (createBandedRaster): Implement.
598
599 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
600
601         * java/awt/image/ConvolveOp.java: New class.
602         * Makefile.am: Add ConvolveOp.
603         * Makefile.in: Regenerate.
604
605 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
606
607         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
608         LookupOp, RescaleOp): Fix loop bounds.
609
610 2004-11-30  jlquinn  <jlquinn@optonline.net>
611
612         * Makefile.am: Fix typo in BandCombineOp.
613         * Makefile.in: Regenerate.
614
615 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
616
617         * java/awt/image/BandCombineOp.java: New class.
618         * Makefile.am: Add BandCombineOp.
619         * Makefile.in: Regenerate.
620
621 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
622
623         * java/awt/image/LookupOp.java: New class.
624         * Makefile.am: Add LookupOp.
625         * Makefile.in: Regenerate.
626
627 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
628
629         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
630         javadocs.
631
632 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
633
634         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
635         wrap.  Use Boolean.valueOf.
636         
637 2004-11-30  Michael Koch  <konqueror@gmx.de>
638
639         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
640         (releasePeerGraphicsResource): Fixed typo in method name.
641         * gnu/java/awt/peer/gtk/GdkFontPeer.java
642         (finalize): Fixed typo in releasePeerGraphicsResource.
643
644 2004-11-30  Michael Koch  <konqueror@gmx.de>
645
646         * java/awt/font/TextAttribute.java
647         (RUN_DIRECTION_LTR): Initialie with static value instead of
648         calculating it.
649         (RUN_DIRECTION_RTL): Likewise.
650         (STRIKETHROUGH_ON): Likewise.
651         (SWAP_COLORS_ON): Likewise.
652
653 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
654
655         * java/awt/image/ColorConvertOp.java: New class.
656         * java/awt/image/ColorModel.java (cloneColorModel): New method.
657         * Makefile.am: Add ColorConvertOp.
658         * Makefile.in: Regenerate.
659
660 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
661
662         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
663         Track Window focus owner on FOCUS_GAINED events.
664
665 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
666
667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
668         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
669
670 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
671
672         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
673         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
674         Fix pointer warning.
675
676 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
677
678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
679         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
680         Fix pointer warning.
681
682         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
683         warnings.
684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
685         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
686         to fix type punned pointer warning.
687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
688         Likewise.
689
690         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
691         (window_get_new_state): Introduce unions to fix warnings as above.
692         (window_property_changed_cb): Likewise.
693         (window_active_state_change_cb): Mark unused variables unused.
694         (window_focus_state_change_cb): Likewise.
695         (window_focus_in_cb): Likewise.
696         (window_focus_out_cb): Likewise.
697
698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
699         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
700         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
701
702 2004-11-30  Michael Koch  <konqueror@gmx.de>
703
704         * javax/swing/JMenuBar.java
705         (updateUI): Simplified.
706         * javax/swing/tree/DefaultTreeSelectionModel.java:
707         Reorganized import statements.
708
709 2004-11-30  Michael Koch  <konqueror@gmx.de>
710
711         * java/awt/font/TextAttribute.java,
712         javax/swing/JComponent.java,
713         javax/swing/JInternalFrame.java,
714         javax/swing/table/TableColumn.java,
715         javax/swing/text/StyleConstants.java:
716         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
717
718 2004-11-30  Michael Koch  <konqueror@gmx.de>
719
720         * javax/swing/tree/DefaultTreeCellEditor.java,
721         javax/swing/tree/DefaultTreeModel.java,
722         javax/swing/tree/DefaultTreeSelectionModel.java:
723         Jalopied.
724
725 2004-11-30  Michael Koch  <konqueror@gmx.de>
726
727         * javax/swing/tree/DefaultTreeCellEditor.java
728         (EditorContainer.EditorContainer): Fixed arguments.
729         (EditorContainer.EditorContainer): New method.
730         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
731         (DefaultTextField.getBorder): Implemented.
732         (listenerList): New field.
733         (addCellEditorListener): Implemented.
734         (removeCellEditorListener): Implemented.
735         (getCellEditorListeners): New method.
736         * javax/swing/tree/DefaultTreeModel.java
737         (addTreeModelListener): Fixed javadoc.
738         (removeTreeModelListener): Likewise.
739         (getTreeModelListeners): New method.
740         (fireTreeNodesChanged): Implemented.
741         (fireTreeNodesInserted): Likewise.
742         (fireTreeNodesRemoved): Likewise.
743         (fireTreeStructureChanged): Likewise.
744         (getListeners): Fixed javadoc.
745         * javax/swing/tree/DefaultTreeSelectionModel.java
746         (addTreeSelectionListener): Implemented.
747         (removeTreeSelectionListener): Likewise.
748         (fireValueChanged): Likewise.
749         (getListeners): Likewise.
750         (addPropertyChangeListener): Likewise.
751         (removePropertyChangeListener): Likewise.
752         (getTreeSelectionListeners): New method.
753         (getPropertyChangeListeners): Likewise.
754
755 2004-11-30  Michael Koch  <konqueror@gmx.de>
756
757         * javax/swing/plaf/basic/BasicScrollBarUI.java
758         (maximumThumbSize): Removed static keyword.
759         (minimumThumbSize): Likewise.
760         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
761         (CloseAction): Made public.
762         (IconifyAction): Likewise.
763         (MaximizeAction): Likewise.
764         (MoveAction): Likewise.
765         (RestoreAction): Likewise.
766         (SizeAction): Likewise.
767         (SystemMenuBar): Likewise.
768         * javax/swing/plaf/basic/BasicSliderUI.java
769         (TrackListener): Likewise.
770         * javax/swing/plaf/basic/BasicSplitPaneUI.java
771         (KeyboardDownRightHandler): Likewise.
772         (KeyboardEndHandler): Likewise.
773         (KeyboardHomeHandler): Likewise.
774         (KeyboardResizeToggleHandler): Likewise.
775         (KeyboardUpLeftHandler): Likewise.
776         (PropertyHandler): Likewise.
777         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
778         (PropertyChangeHandler): Likewise.
779         (TabSelectionHandler): Likewise.
780
781 2004-11-30  Michael Koch  <konqueror@gmx.de>
782
783         * javax/swing/text/JTextComponent.java
784         (getKeymap): Made public.
785
786 2004-11-30  Michael Koch  <konqueror@gmx.de>
787
788         * javax/swing/JEditorPane.java
789         (getStream): Throws IOException.
790         (read): Likewise.
791         * javax/swing/JRootPane.java
792         (createContentPane): Fixed return type.
793         * javax/swing/JSpinner.java
794         (commitEdit): Throws ParseException.
795         * javax/swing/plaf/metal/MetalLookAndFeel.java
796         (serialVersionUID): New field.
797         * javax/swing/table/TableColumn.java
798         (resizedPostingDisableCount): Added @deprecated tag.
799         (disableResizedPosting): Likewise.
800         (enableResizedPosting): Likewise.
801         * javax/swing/text/Document.java
802         (TitleProperty): Fixed value.
803         * javax/swing/tree/TreeCellEditor.java
804         (TreeCellEditor): Extends CellEditor.
805
806 2004-11-30  Michael Koch  <konqueror@gmx.de>
807
808         * javax/swing/JWindow.java
809         javax/swing/SpinnerModel.java
810         javax/swing/Timer.java
811         javax/swing/event/MenuKeyEvent.java
812         javax/swing/plaf/basic/BasicButtonUI.java
813         javax/swing/plaf/basic/BasicIconFactory.java
814         javax/swing/plaf/basic/BasicTabbedPaneUI.java
815         javax/swing/text/AttributeSet.java
816         javax/swing/text/Highlighter.java
817         javax/swing/text/StyleConstants.java
818         javax/swing/tree/TreeCellEditor.java:
819         Removed redundant and reordered modifiers.
820
821 2004-11-30  Michael Koch  <konqueror@gmx.de>
822
823         * javax/swing/plaf/basic/BasicToolTipUI.java:
824         Reformatted copyright header.
825
826 2004-11-30  Michael Koch  <konqueror@gmx.de>
827
828         * javax/swing/AbstractAction.java,
829         javax/swing/AbstractButton.java,
830         javax/swing/AbstractCellEditor.java,
831         javax/swing/AbstractListModel.java,
832         javax/swing/AbstractSpinnerModel.java,
833         javax/swing/ActionMap.java,
834         javax/swing/BorderFactory.java,
835         javax/swing/Box.java,
836         javax/swing/ButtonModel.java,
837         javax/swing/CellEditor.java,
838         javax/swing/CellRendererPane.java,
839         javax/swing/DefaultBoundedRangeModel.java,
840         javax/swing/DefaultButtonModel.java,
841         javax/swing/DefaultCellEditor.java,
842         javax/swing/DefaultDesktopManager.java,
843         javax/swing/DefaultListCellRenderer.java,
844         javax/swing/DefaultListSelectionModel.java,
845         javax/swing/DefaultSingleSelectionModel.java,
846         javax/swing/GrayFilter.java,
847         javax/swing/InputMap.java,
848         javax/swing/JApplet.java,
849         javax/swing/JCheckBoxMenuItem.java,
850         javax/swing/JColorChooser.java,
851         javax/swing/JComboBox.java,
852         javax/swing/JComponent.java,
853         javax/swing/JDesktopPane.java,
854         javax/swing/JDialog.java,
855         javax/swing/JEditorPane.java,
856         javax/swing/JFileChooser.java,
857         javax/swing/JFormattedTextField.java,
858         javax/swing/JFrame.java,
859         javax/swing/JInternalFrame.java,
860         javax/swing/JLabel.java,
861         javax/swing/JLayeredPane.java,
862         javax/swing/JList.java,
863         javax/swing/JMenu.java,
864         javax/swing/JMenuBar.java,
865         javax/swing/JMenuItem.java,
866         javax/swing/JOptionPane.java,
867         javax/swing/JPanel.java,
868         javax/swing/JPasswordField.java,
869         javax/swing/JPopupMenu.java,
870         javax/swing/JRadioButtonMenuItem.java,
871         javax/swing/JRootPane.java,
872         javax/swing/JSpinner.java,
873         javax/swing/JSplitPane.java,
874         javax/swing/JTabbedPane.java,
875         javax/swing/JTable.java,
876         javax/swing/JTextArea.java,
877         javax/swing/JTextPane.java,
878         javax/swing/JToggleButton.java,
879         javax/swing/JToolBar.java,
880         javax/swing/JToolTip.java,
881         javax/swing/JTree.java,
882         javax/swing/JViewport.java,
883         javax/swing/ListModel.java,
884         javax/swing/LookAndFeel.java,
885         javax/swing/MenuSelectionManager.java,
886         javax/swing/ProgressMonitorInputStream.java,
887         javax/swing/RepaintManager.java,
888         javax/swing/RootPaneContainer.java,
889         javax/swing/ScrollPaneLayout.java,
890         javax/swing/SpringLayout.java,
891         javax/swing/SwingUtilities.java,
892         javax/swing/Timer.java,
893         javax/swing/ToolTipManager.java,
894         javax/swing/UIDefaults.java,
895         javax/swing/UIManager.java,
896         javax/swing/border/MatteBorder.java,
897         javax/swing/colorchooser/AbstractColorChooserPanel.java,
898         javax/swing/colorchooser/ColorSelectionModel.java,
899         javax/swing/colorchooser/DefaultColorSelectionModel.java,
900         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
901         javax/swing/colorchooser/DefaultPreviewPanel.java,
902         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
903         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
904         javax/swing/event/AncestorEvent.java,
905         javax/swing/event/HyperlinkEvent.java,
906         javax/swing/event/InternalFrameEvent.java,
907         javax/swing/event/MenuDragMouseEvent.java,
908         javax/swing/event/TableColumnModelEvent.java,
909         javax/swing/event/TableModelEvent.java,
910         javax/swing/event/TreeExpansionEvent.java,
911         javax/swing/event/TreeModelEvent.java,
912         javax/swing/event/TreeSelectionEvent.java,
913         javax/swing/event/TreeWillExpandListener.java,
914         javax/swing/event/UndoableEditEvent.java,
915         javax/swing/filechooser/FileView.java,
916         javax/swing/plaf/BorderUIResource.java,
917         javax/swing/plaf/ComponentUI.java,
918         javax/swing/plaf/FileChooserUI.java,
919         javax/swing/plaf/IconUIResource.java,
920         javax/swing/plaf/ListUI.java,
921         javax/swing/plaf/PopupMenuUI.java,
922         javax/swing/plaf/SplitPaneUI.java,
923         javax/swing/plaf/TabbedPaneUI.java,
924         javax/swing/plaf/TextUI.java,
925         javax/swing/plaf/TreeUI.java,
926         javax/swing/plaf/basic/BasicArrowButton.java,
927         javax/swing/plaf/basic/BasicBorders.java,
928         javax/swing/plaf/basic/BasicButtonUI.java,
929         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
930         javax/swing/plaf/basic/BasicColorChooserUI.java,
931         javax/swing/plaf/basic/BasicComboBoxEditor.java,
932         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
933         javax/swing/plaf/basic/BasicComboBoxUI.java,
934         javax/swing/plaf/basic/BasicComboPopup.java,
935         javax/swing/plaf/basic/BasicDesktopIconUI.java,
936         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
937         javax/swing/plaf/basic/BasicIconFactory.java,
938         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
939         javax/swing/plaf/basic/BasicInternalFrameUI.java,
940         javax/swing/plaf/basic/BasicListUI.java,
941         javax/swing/plaf/basic/BasicLookAndFeel.java,
942         javax/swing/plaf/basic/BasicMenuBarUI.java,
943         javax/swing/plaf/basic/BasicMenuItemUI.java,
944         javax/swing/plaf/basic/BasicMenuUI.java,
945         javax/swing/plaf/basic/BasicOptionPaneUI.java,
946         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
947         javax/swing/plaf/basic/BasicPopupMenuUI.java,
948         javax/swing/plaf/basic/BasicProgressBarUI.java,
949         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
950         javax/swing/plaf/basic/BasicRootPaneUI.java,
951         javax/swing/plaf/basic/BasicScrollBarUI.java,
952         javax/swing/plaf/basic/BasicSeparatorUI.java,
953         javax/swing/plaf/basic/BasicSliderUI.java,
954         javax/swing/plaf/basic/BasicSpinnerUI.java,
955         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
956         javax/swing/plaf/basic/BasicSplitPaneUI.java,
957         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
958         javax/swing/plaf/basic/BasicTableHeaderUI.java,
959         javax/swing/plaf/basic/BasicTableUI.java,
960         javax/swing/plaf/basic/BasicTextAreaUI.java,
961         javax/swing/plaf/basic/BasicTextFieldUI.java,
962         javax/swing/plaf/basic/BasicTextUI.java,
963         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
964         javax/swing/plaf/basic/BasicToolBarUI.java,
965         javax/swing/plaf/basic/BasicToolTipUI.java,
966         javax/swing/plaf/basic/BasicTreeUI.java,
967         javax/swing/plaf/basic/BasicViewportUI.java,
968         javax/swing/plaf/basic/ComboPopup.java,
969         javax/swing/table/AbstractTableModel.java,
970         javax/swing/table/DefaultTableCellRenderer.java,
971         javax/swing/table/DefaultTableColumnModel.java,
972         javax/swing/table/DefaultTableModel.java,
973         javax/swing/table/JTableHeader.java,
974         javax/swing/table/TableCellEditor.java,
975         javax/swing/table/TableCellRenderer.java,
976         javax/swing/table/TableColumn.java,
977         javax/swing/table/TableColumnModel.java,
978         javax/swing/text/AbstractDocument.java,
979         javax/swing/text/Caret.java,
980         javax/swing/text/DefaultCaret.java,
981         javax/swing/text/DefaultEditorKit.java,
982         javax/swing/text/DefaultHighlighter.java,
983         javax/swing/text/EditorKit.java,
984         javax/swing/text/JTextComponent.java,
985         javax/swing/text/LayeredHighlighter.java,
986         javax/swing/text/PasswordView.java,
987         javax/swing/text/SimpleAttributeSet.java,
988         javax/swing/text/StyleConstants.java,
989         javax/swing/text/StyleContext.java,
990         javax/swing/text/StyledEditorKit.java,
991         javax/swing/text/TextAction.java,
992         javax/swing/text/View.java,
993         javax/swing/tree/AbstractLayoutCache.java,
994         javax/swing/tree/DefaultTreeCellRenderer.java,
995         javax/swing/tree/DefaultTreeModel.java,
996         javax/swing/tree/DefaultTreeSelectionModel.java,
997         javax/swing/tree/FixedHeightLayoutCache.java,
998         javax/swing/tree/TreeCellRenderer.java,
999         javax/swing/tree/TreeSelectionModel.java,
1000         javax/swing/tree/VariableHeightLayoutCache.java,
1001         javax/swing/undo/AbstractUndoableEdit.java,
1002         javax/swing/undo/UndoableEditSupport.java:
1003         Imports cleaned up.
1004
1005 2004-11-30  Michael Koch  <konqueror@gmx.de>
1006
1007         * java/awt/Container.java,
1008         java/awt/Font.java,
1009         java/awt/font/TextLayout.java:
1010         Imports cleaned up.
1011
1012 2004-11-30  Michael Koch  <konqueror@gmx.de>
1013
1014         * javax/swing/AbstractButton.java
1015         (getLabel): Added @deprecated tag.
1016         (setLabel): Likewise.
1017         * javax/swing/FocusManager.java
1018         (disableSwingFocusManager): Likewise.
1019         (isFocusManagerEnabled): Likewise.
1020         * javax/swing/JComponent.java
1021         (isManagingFocus): Added version to @deprecated tag.
1022         (getNextFocusableComponent): Moved @deprecated tag to bottom of
1023         javadoc.
1024         (getConditionForKeyStroke): Likewise.
1025         (getActionForKeyStroke): Likewise.
1026         * javax/swing/JDesktopPane.java
1027         (LIVE_DRAG_MODE): Added @specnote tag.
1028         (OUTLINE_DRAG_MODE): Likewise.
1029         * javax/swing/JInternalFrame.java
1030         (MENU_BAR_PROPERTY): Fixed value.
1031         (getMenuBar): Added @deprecated tag.
1032         (setMenuBar): Likewise.
1033         * javax/swing/JViewport.java
1034         (isBackingStoreEnabled): Likewise.
1035         (setBackingStoreEnabled): Likewise.
1036         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1037         (closeKey): Likewise.
1038         (maximizeKey): Likewise.
1039         (minimizeKey): Likewise.
1040         (navigateKey): Likewise.
1041         (navigateKey2): Likewise.
1042         * javax/swing/plaf/basic/BasicInternalFrameUI.java
1043         (openMenuKey): Likewise.
1044         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1045         (keyboardDownRightListener): Likewise.
1046         (keyboardEndListener): Likewise.
1047         (keyboardHomeListener): Likewise.
1048         (keyboardResizeToggleListener): Likewise.
1049         (keyboardUpLeftListener): Likewise.
1050         (dividerResizeToggleKey): Likewise.
1051         (downKey): Likewise.
1052         (endKey): Likewise.
1053         (homeKey): Likewise.
1054         (leftKey): Likewise.
1055         (rightKey): Likewise.
1056         (upKey): Likewise.
1057         (createKeyboardUpLeftListener): Likewise.
1058         (createKeyboardDownRightListener): Likewise.
1059         (createKeyboardHomeListener): Likewise.
1060         (createKeyboardEndListener): Likewise.
1061         (createKeyboardResizeToggleListener): Likewise.
1062         (getDividerBorderSize): Likewise.
1063         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1064         (downKey): Likewise.
1065         (leftKey): Likewise.
1066         (rightKey): Likewise.
1067         (upKey): Likewise.
1068
1069 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1070
1071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1072         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1073         GTK_TEXT_VIEW macro.
1074
1075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1076         (connect_awt_hook_cb): Mark unused variable unused.
1077
1078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1079         Do the cast right.
1080
1081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1082         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1083         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1084         Remove unused var menu.
1085         (selection_changed): Remove unused value.
1086
1087         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1088         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1089         warning with using an intermediate variable.
1090
1091         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1092         (area_updated): Fix unused var warning for BE archs.
1093
1094         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1095         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1096         var.
1097         (realize_cb): Mark unused variable unused.
1098
1099         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1100         (seek_glyphstring_idx): Fix a C90 warning.
1101
1102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1103         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1104         Mark unused arguments unused.
1105
1106         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1107         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1108         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1109         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1110         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1111         Likewise.
1112
1113         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1114         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1115         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1116         Likewise.
1117
1118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1119         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1120         Likewise.
1121         (filenameFilterCallback): Remove unused var.
1122         (handle_response): Declare str_fileName and remove last else statement.
1123
1124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1125         New File.
1126         (nativeGetNumFontsFamilies) New function.
1127         (nativeGetFontFamilies) Likewise.
1128         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1129         (getAvailableFontFamilyNames): Implement.
1130         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1131         * Makefile.in: Regenerate.
1132
1133 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1134
1135         * gnu/java/awt/peer/ClasspathFontPeer.java
1136         (setStandardAttributes(String,Map)): If size attribute doesn't
1137         exist, default to size 12.  Clamp size value to a minimum of 1.
1138
1139 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1140
1141         * javax/swing/JDialog.java
1142         (decorated): Likewise.
1143         * javax/swing/JFrame.java
1144         (defaultLookAndFeelDecorated): Likewise.
1145
1146 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1147
1148         * javax/swing/plaf/basic/BasicToolBarUI.java
1149         (offset, regular): Made final.
1150         * javax/swing/plaf/basic/BasicScrollBarUI.java
1151         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1152         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1153
1154 2004-11-30  Michael Koch  <konqueror@gmx.de>
1155
1156         * gnu/java/awt/BitwiseXORComposite.java,
1157         gnu/java/awt/ClasspathToolkit.java,
1158         gnu/java/awt/image/XBMDecoder.java,
1159         gnu/java/awt/peer/GLightweightPeer.java,
1160         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1161         Reorganized import statements.
1162
1163 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1164
1165         * java/awt/Button.java
1166         (next_button_number): Removed useless initializer.
1167         * java/awt/Frame.java
1168         (next_frame_number): Likewise.
1169         * java/awt/Panel.java
1170         (next_panel_number): Likewise,
1171         * java/awt/Scrollbar.java
1172         (next_scrollbar_number): Likewise.
1173         * java/awt/TextArea.java
1174         (next_text_number): Likewise.
1175
1176 2004-11-30  Michael Koch  <konqueror@gmx.de>
1177
1178         * java/awt/image/ByteLookupTable.java
1179         (ByteLookupTable) :Fixed HTML entities in javadocs.
1180         (lookupPixel): Fix case when dst is null.
1181         * java/awt/image/ShortLookupTable.java
1182         (ShortLookupTable) :Fixed HTML entities in javadocs.
1183         (lookupPixel): Fix case when dst is null.
1184         * java/awt/image/DataBufferByte.java,
1185         java/awt/image/DataBufferDouble.java,
1186         java/awt/image/DataBufferFloat.java,
1187         java/awt/image/DataBufferInt.java,
1188         java/awt/image/DataBufferShort.java,
1189         java/awt/image/DataBufferUShort.java:
1190         Fix initialization of bankData in constructors.
1191
1192 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1193
1194         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1195         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1196         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1197         requests.
1198         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1199         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1200         (setNativeBounds): Make package private.  Set size request even
1201         if GTK parent is NULL.
1202         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1203         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1204         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1205
1206 2004-11-30  Mark Wielaard  <mark@klomp.org>
1207
1208         Workaround for bug #17952.
1209         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1210         (request_frame_extents): Check window->window != NULL.
1211
1212 2004-11-30  Mark Wielaard  <mark@klomp.org>
1213
1214         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1215
1216 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1217
1218         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1219         native_text_layout_state_table here.
1220
1221         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1222
1223 2004-11-30  Mark Wielaard  <mark@klomp.org>
1224
1225         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1226         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1227         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1228
1229 2004-11-30  Michael Koch  <konqueror@gmx.de>
1230
1231         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1232         Merged import statements.
1233
1234 2004-11-30  Michael Koch  <konqueror@gmx.de>
1235
1236         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1237         (isBufferedImageGraphics): Simplified.
1238
1239 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1240
1241         * javax/swing/JTree.java
1242         (isRootVisible): Fixed typo in method name.
1243         * javax/swing/JScrollBar.java
1244         (setValues): Likewise.
1245         * javax/swing/JScrollPane.java
1246         (createScrollListener): Call JScrollBar.setValues.
1247
1248 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1249
1250         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1251         Don't call setParentAndBounds on GtkWindowPeers.
1252
1253         * java/awt/Component.java (static): Don't set default keyboard
1254         focus manager.
1255         * java/awt/KeyboardFocusManager.java
1256         (getCurrentKeyboardFocusManager): If current keyboard focus
1257         manager is null set a default.
1258
1259         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1260         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1261         (gtkWidgetSetBackground): New method.
1262         (block_expose_events_cb): New function.
1263         (connectSignals): Block the AWT's expose event processing on
1264         button press and release.
1265         (gtkSetLabel): Set text on proper widget.
1266         (gtkWidgetModifyFont): Modify font on proper widget.
1267         (gtkWidgetSetBackground): Set normal, active and prelight
1268         colours.
1269         (gtkWidgetSetForeground): Set forground colour of proper widget.
1270         (gtkActivate): Activate the correct widget.
1271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1272         Only clear rectangle if the backing component is not an event
1273         box.
1274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1275         (beginNativeRepaintID): New variable.
1276         (endNativeRepaintID): Likewise.
1277         (gtkInit): Initialize new fields with method IDs.
1278         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1279         (endNativeRepaintID): Likewise.
1280
1281 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1282
1283         * javax/swing/JList.java (init): Revert accidental commit.
1284
1285         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1286         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1287         Call initComponentGraphics or connectSignals depending on
1288         component's realization status.
1289         (realize_cb): New function.
1290         (initComponentGraphics): New method.
1291         (connectSignals): New method.
1292         (clipRect): Return immediately if component is not realized.
1293         (setClip): Likewise.
1294         (translate): Likewise.
1295         (drawImage variants): Return false immediately if component is
1296         not realized.
1297         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1298         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1299         (connectSignals): New method.
1300         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1301         depending on component's realization status.  Move other
1302         initialization calls to ...
1303         (initComponentGraphics2D): New method.
1304         (realize_cb): New function.
1305         (cairoSetMatrix): Return immediately if gr is NULL.
1306         (cairoNewPath): Likewise.
1307         (cairoRectangle): Likewise.
1308         (cairoClip): Likewise.
1309         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1310         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1311         (gtkWidgetRepaintArea): Remove method.
1312         (isRealized): New method.
1313         (GtkComponentPeer): Move setParent, connectJObject and setCursor
1314         calls to setParentAndBounds.  Call setParentAndBounds.
1315         (setParentAndBounds): New method.
1316         (setComponentBounds): Return immediately if bounds are all zero.
1317         (repaint): Remove call to gtkWidgetRepaintArea.  Return
1318         immediately if requested paint region is 0x0.
1319         (setCursor): New method.
1320         (gtkWidgetSetParent): Only set widget's parent if its parent is
1321         currently NULL.
1322         (setNativeBounds): Only set widget's bounds if it has a parent.
1323         (connectSignals): Don't call gtk_widget_realize.  Connect
1324         "realize" signal to connect_awt_hook_cb handler.
1325         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1326         New field.
1327         (beginValidate): Set isValidating true.
1328         (endValidate): Set parents and bounds for children first, then
1329         for this.  Set isValidating false.
1330         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1331         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1332         (connectJObject): Remove method.
1333         (connectSignals): Don't call gtk_widget_realize.
1334         * gnu/java/awt/peer/gtk/GtkListPeer.java,
1335         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1336         (connectJObject): Remove method.
1337         (connectSignals): Don't call gtk_widget_realize.
1338         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1339         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1340         (connectJObject): Remove method.
1341         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1343         (connectJObject): Remove method.
1344         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1346         (create): Don't call gtk_widget_realize.
1347         (connectJObject): Remove method.
1348         (connectSignals): Don't call gtk_widget_realize.  Connect
1349         "realize" signal to connect_awt_hook_cb handler.
1350         (nativeSetBounds): Don't attempt to move GDK window if it is
1351         NULL.
1352         * java/awt/Container.java (addImpl): Don't call comp.addNotify
1353         if peer is not null.
1354         (validateTree): Create peers for all children before calling
1355         doLayout.
1356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1357         (connectSignals): Don't call gtk_widget_realize.
1358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1359         (connect_awt_hook_cb): New function.
1360         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1361         (initComponentGraphicsID): New variable.
1362         (initComponentGraphics2DID): Likewise.
1363         (setCursorID): Likewise.
1364         (gtkInit): Initialize new fields with method IDs.
1365         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1366         extern.
1367         (initComponentGraphics2DID): Declare extern.
1368         (setCursorID): Likewise.
1369         (connect_awt_hook_cb): Declare function.
1370
1371 2004-11-30  Michael Koch  <konqueror@gmx.de>
1372
1373         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1374         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1375         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1376         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1377         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1378         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1379         gnu/java/awt/peer/gtk/GtkClipboard.java,
1380         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1381         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1382         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1383         gnu/java/awt/peer/gtk/GtkListPeer.java,
1384         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1385         gnu/java/awt/peer/gtk/GtkToolkit.java,
1386         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1387         Import statements reworked.  Some little reformattings.
1388
1389 2004-11-30  Michael Koch  <konqueror@gmx.de>
1390
1391         * java/awt/image/AffineTransformOp.java
1392         (TYPE_BILINEAR): Initialize with 2.
1393         * java/awt/print/Printable.java: Jalopied.
1394         (PAGE_EXISTS): Initialize with 0;
1395         (NO_SUCH_PAGE): Initialized with 1.
1396
1397 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1398
1399         * Makefile.am: Add BufferedImageFilter.java.
1400         * Makefile.in: Regenerate.
1401
1402 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1403
1404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 
1405         (install_font_peer): Minor bug fixes to track cairo font semantics.
1406
1407 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1408
1409         * java/awt/image/BufferedImageFilter.java: Implement.
1410
1411 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1412
1413         * Makefile.am
1414         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1415         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1416         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1417         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1418         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1419         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1420         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1421         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1422         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1423         * Makefile.in: Regenerate.
1424         * gnu/awt/xlib/XToolkit.java 
1425         (getClasspathTextLayoutPeer): Add stub.
1426         * gnu/java/awt/ClasspathToolkit.java 
1427         (getClasspathTextLayoutPeer) Add.
1428         * gnu/java/awt/peer/ClasspathFontPeer.java 
1429         (copyStyleToAttrs)
1430         (copySizeToAttrs): Make public.
1431         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1432         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1433         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1434         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1435         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1436         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1437         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1438         (getFontPeer): New function.
1439         (drawString): Pass font peer to native side.
1440         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1441         (cairoSetFont)
1442         (cairoShowGlyphs)
1443         (PainterThread): Remove.
1444         (GdkGraphics2D): Set hints during construction.
1445         (shifted)
1446         (walkPath)
1447         (draw)
1448         (setRenderingHint)
1449         (setRenderingHints): Reimplement normalization logic.
1450         (getDefaultHints)
1451         (updateBufferedImage)
1452         (isBufferedImageGraphics)
1453         (updateImagePixels)
1454         (drawImage): Make final.
1455         (drawImage): Always paint synchronously.
1456         (drawString)
1457         (drawGlyphVector): Rewrite.
1458         (releasePeerGraphicResource)
1459         (getPeerTextMetrics)
1460         (getPeerFontMetrics)
1461         (drawGdkGlyphVector)
1462         (drawGdkTextLayout)
1463         (cairoDrawGdkGlyphVector)
1464         (cairoDrawGdkTextLayout)
1465         (cairoDrawString)
1466         (getFontPeer): New functions.
1467         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1468         * gnu/java/awt/peer/gtk/GtkComponentPeer.java 
1469         (getFontMetrics): Get metrics via toolkit, to hit cache.
1470         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1471         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1472         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1473         (fontCache)
1474         (metricsCache)
1475         (imageCache): New members.
1476         (getFontMetrics)
1477         (getImage)
1478         (getClasspathFontPeer): Use caches.
1479         (getFontPeer): Route through getClasspathFontPeer.
1480         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1481         * java/awt/font/TextLayout.java: Implement in terms of peer.
1482         * javax/swing/plaf/basic/BasicSliderUI.java 
1483         (paintThumb): Use polyline rather than polygon.
1484         * javax/swing/plaf/basic/BasicGraphicsUtils.java: 
1485         Update comment but, alas, still do not switch to using TextLayouts.
1486         * javax/swing/text/Utilities.java (drawTabbedText):
1487         Draw text run-at-a-time, not char-at-a-time.
1488         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1489         layout table.
1490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1492         Remove files.
1493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1494         incorporate brains of old GdkClasspathFontPeerMetrics.
1495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1496         incorporate brains of old GdkClasspathFontPeer.
1497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1499         (drawString): Rewrite to use persistent layout in peer font.
1500         Comment out extraneous gdk_flush calls.
1501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1502         (metrics_cairo)
1503         (metrics_surface): New static variables.
1504         (paint_glyph_run)
1505         (install_font_peer): New helper functions.
1506         (releasePeerGraphicResource)
1507         (getPeerTextMetrics)
1508         (getPeerFontMetrics)
1509         (cairoDrawGdkTextLayout)
1510         (cairoDrawGdkGlyphVector): New native methods.
1511         (cairoDrawString): Rewrite, leaving layout-based version 
1512         commented out for the time being.
1513         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1514
1515 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1516
1517         * java/awt/geom/AffineTransform.java:
1518         Fixed javadocs overall.
1519
1520 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1521
1522         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1523         it's correct.
1524
1525 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1526
1527         * java/awt/image/IndexColorModel.java: Fix use of immutable
1528         BigIntegers.
1529
1530 2004-11-30  Tom Tromey  <tromey@redhat.com>
1531
1532         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1533         Renamed from 'messageIcon'.
1534         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1535
1536 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1537
1538         * java/awt/image/RescaleOp.java: Fix formatting.
1539
1540 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1541
1542         * javax/swing/plaf/basic/BasicComboPopup.java
1543         (SCROLL_DOWN): made final.
1544         (SCROLL_UP): made final.
1545
1546 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1547
1548         * javax/swing/plaf/basic/BasicComboPopup.java:
1549         Added javadocs for undocumented fields.
1550         (show): scroll down to the selected item and 
1551         highlight selected item.
1552         (startAutoScrolling): Implemented.
1553         (stopAutoScrolling): Implemented.
1554         (autoScrollUp): Implemented.
1555         (autoScrollDown): Implemented.
1556         (InvocationMouseHandler.mouseReleased): Implemented.
1557         (InvocationMouseMotionHandler.mouseDragged): Implemented.
1558
1559 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1560
1561         * java/awt/image/RescaleOp.java: Implement.
1562
1563 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1564
1565         * java/awt/image/IndexColorModel.java (getRGBs,
1566         convertToIntDiscrete): Implement.
1567
1568 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1569
1570         * java/awt/image/IndexColorModel.java: Add class docs.
1571
1572 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1573
1574         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1575         Implement.
1576
1577 2004-11-30  Michael Koch  <konqueror@gmx.de>
1578
1579         * java/awt/MenuBar.java,
1580         java/awt/peer/MenuBarPeer.java:
1581         Revert accidentally commited changes.
1582
1583 2004-11-30  Michael Koch  <konqueror@gmx.de>
1584
1585         * java/awt/AWTKeyStroke.java,
1586         java/awt/Canvas.java,
1587         java/awt/CardLayout.java,
1588         java/awt/CheckboxMenuItem.java,
1589         java/awt/Component.java,
1590         java/awt/Container.java,
1591         java/awt/DefaultKeyboardFocusManager.java,
1592         java/awt/EventDispatchThread.java,
1593         java/awt/FileDialog.java,
1594         java/awt/FlowLayout.java,
1595         java/awt/Font.java,
1596         java/awt/Frame.java,
1597         java/awt/Graphics2D.java,
1598         java/awt/GraphicsEnvironment.java,
1599         java/awt/GridBagConstraints.java,
1600         java/awt/GridBagLayout.java,
1601         java/awt/GridLayout.java,
1602         java/awt/Image.java,
1603         java/awt/KeyboardFocusManager.java,
1604         java/awt/Label.java,
1605         java/awt/List.java,
1606         java/awt/MediaTracker.java,
1607         java/awt/Menu.java,
1608         java/awt/MenuBar.java,
1609         java/awt/MenuComponent.java,
1610         java/awt/Panel.java,
1611         java/awt/PopupMenu.java,
1612         java/awt/ScrollPane.java,
1613         java/awt/Scrollbar.java,
1614         java/awt/SystemColor.java,
1615         java/awt/TextArea.java,
1616         java/awt/TextField.java,
1617         java/awt/Toolkit.java,
1618         java/awt/Window.java,
1619         java/awt/color/ICC_Profile.java,
1620         java/awt/datatransfer/DataFlavor.java,
1621         java/awt/datatransfer/StringSelection.java,
1622         java/awt/datatransfer/SystemFlavorMap.java,
1623         java/awt/dnd/Autoscroll.java,
1624         java/awt/dnd/DropTarget.java,
1625         java/awt/dnd/DropTargetContext.java,
1626         java/awt/dnd/DropTargetDragEvent.java,
1627         java/awt/dnd/peer/DropTargetContextPeer.java,
1628         java/awt/event/AdjustmentEvent.java,
1629         java/awt/event/InputEvent.java,
1630         java/awt/event/InvocationEvent.java,
1631         java/awt/event/KeyEvent.java,
1632         java/awt/event/MouseEvent.java,
1633         java/awt/font/TextLayout.java,
1634         java/awt/geom/GeneralPath.java,
1635         java/awt/geom/Point2D.java,
1636         java/awt/im/InputContext.java,
1637         java/awt/im/spi/InputMethodContext.java,
1638         java/awt/image/AffineTransformOp.java,
1639         java/awt/image/BufferedImage.java,
1640         java/awt/image/ColorModel.java,
1641         java/awt/image/ComponentColorModel.java,
1642         java/awt/image/CropImageFilter.java,
1643         java/awt/image/DirectColorModel.java,
1644         java/awt/image/MemoryImageSource.java,
1645         java/awt/image/PackedColorModel.java,
1646         java/awt/image/PixelGrabber.java,
1647         java/awt/image/RasterOp.java,
1648         java/awt/peer/MenuBarPeer.java:
1649         Some fixes for checkstyle. Import statement and modifier order
1650         redordering.
1651
1652 2004-11-30  Michael Koch  <konqueror@gmx.de>
1653
1654         * javax/swing/JTable.java
1655         (setModel): Reimplemented.
1656
1657 2004-11-30  Michael Koch  <konqueror@gmx.de>
1658
1659         * javax/swing/JTextArea.java
1660         (append): Re-implemented.
1661         (insert): Likewise.
1662
1663 2004-11-30  Michael Koch  <konqueror@gmx.de>
1664
1665         * javax/swing/JSpinner.java
1666         (serialVersionUID): New static field.
1667         * javax/swing/JToggleButton.java
1668         (JToggleButton): Fixed email addresses.
1669         * javax/swing/SpinnerNumberModel.java
1670         (serialVersionUID): Added javadoc.
1671
1672 2004-11-30  Michael Koch  <konqueror@gmx.de>
1673
1674         * javax/swing/JTextArea.java:
1675         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1676         bug here which is fixed in HEAD ...
1677
1678 2004-11-30  Andrew John Hughes  <address@hidden>
1679
1680         * javax/swing/JTextArea.java: Added additional
1681         documentation.
1682
1683 2004-11-30  Andrew John Hughes  <address@hidden>
1684
1685         * javax/swing/JRadioButton.java:
1686         Implemented additional constructors and accessibility
1687         classes.  Added documentation and fixed a typo in
1688         AbstractButton.
1689
1690 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1691
1692         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1693         missing constructor.
1694
1695 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1696
1697         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1698         Implement missing 1.4 constructor.
1699
1700 2004-11-30  Andrew John Hughes  <address@hidden>
1701
1702         * javax/swing/JToggleButton.java:
1703         Implemented additional constructors and accessibility
1704         classes.  Added documentation and fixed a typo in
1705         AbstractButton.
1706
1707 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1708
1709         * java/awt/image/ColorModel.java (getDataElement,
1710         getDataElements): Document since 1.4.
1711
1712 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1713
1714         * java/awt/image/BandedSampleModel.java: Implement.
1715         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1716         * Makefile.in: Regenerated.
1717         
1718 2004-11-30  Michael Koch  <konqueror@gmx.de>
1719
1720         * java/awt/Window.java: Fixed whitespace difference with GNU
1721         classpath.
1722
1723 2004-11-30  Mark Wielaard  <mark@klomp.org>
1724
1725         * Makefile.am: Add javax/swing/SpinnerListModel.java.
1726         * Makefile.in: Regenerated.
1727
1728 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1729
1730         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1731         Implemented SpinnerListModel.  Added documentation to
1732         SpinnerModel.
1733
1734 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1735
1736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c 
1737         (init_dpi_conversion_factor): Apply the patch from main correctly.
1738         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1739
1740 2004-11-30  Tom Tromey  <tromey@redhat.com>
1741
1742         Bug 9948.
1743         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1744         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1745         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1746         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
1747
1748 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1749
1750         * java/awt/Canvas.java
1751         (AccessibleAWTCanvas): added serialization UID
1752         * java/awt/Label.java
1753         (AccessibleAWTLabel): added serialization UID
1754         * javax/swing/JRootPane.java
1755         (AccessibleJRootPane): added comment to existing UID
1756         * javax/swing/JSpinner.java
1757         (DefaultEditor): added serialization UID
1758         (NumberEditor): added serialization UID
1759         * javax/swing/text/html/HTML.java
1760         (UnknownTag): added serialization UID
1761         
1762 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1763
1764         * javax/swing/JInternalFrame.java
1765         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
1766         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
1767         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
1768         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
1769         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1770         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
1771         Made final as per API spec.
1772
1773 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1774
1775         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
1776
1777 2004-11-30  Sven de Marothy  <sven@physto.se>
1778
1779         * java/awt/geom/Arc2D.java: Reformatted.
1780         (setArc): Correct documentation to say 'upper left corner'.
1781         (setArcByTangent,contains,intersects): Implemented.
1782         (containsAngle): Corrected to handle negative extents.
1783         (ArcIterator): Set to private.
1784         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
1785         (intersects): Fix: Now checks the arc segment.
1786         (contains): Cleaned up.
1787         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
1788         (contains): Implemented.
1789         (intersects): Implemented.
1790         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
1791         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
1792         document.  Fully (re)implemented using separate xpoints and ypoints
1793         float[] coords.
1794
1795 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1796
1797         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1798         * configure: Regenerate.
1799         * include/config.h.in: Likewise.
1800         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1801         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1802         macro to gtkpeer.h.
1803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1804         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1805         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1806         architectures.
1807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1808         Likewise.
1809
1810 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1811
1812         * java/awt/SystemColor.java: Fix @link doc entries.
1813
1814 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1815
1816         * java/awt/RenderingHints.java: Documented.
1817         (RenderingHints): Accept null init Map.
1818         (putAll): Preprocess map to generate appropriate exceptions.
1819         (remove): Cast object to Key and remove from hintMap.
1820
1821 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1822
1823         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
1824         Implementation of accessibility classes and methods
1825         for these two components.
1826
1827 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1828
1829         * java/awt/KeyboardFocusManager.java:
1830         Added missing documentation.
1831
1832 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
1833
1834         * java/awt/Label.java, java/awt/Canvas.java:
1835         Added accessibility classes to AWT Label and Canvas,
1836         as well as additional documentation for Canvas.
1837
1838 2004-11-30  David Gilbert  <address@bogus.example.com>
1839
1840         * java/awt/image/DataBuffer.java: Update API documentation.
1841         * java/awt/image/DataBufferByte.java: Likewise.
1842         * java/awt/image/DataBufferDouble.java: Likewise.
1843         * java/awt/image/DataBufferFloat.java: Likewise.
1844         * java/awt/image/DataBufferInt.java: Likewise.
1845         * java/awt/image/DataBufferShort.java: Likewise.
1846         * java/awt/image/DataBufferUShort.java: Likewise.
1847
1848 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
1849
1850         * java/awt/Component.java (postEvent):
1851         Only delegate to parent if a parent exists.
1852         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
1853
1854 2004-11-30  Sven de Marothy  <sven@physto.se>
1855
1856         *java/awt/AWTEventMulticaster.java,
1857         java/awt/Adjustable.java,
1858         java/awt/Point.java,
1859         java/awt/Polygon.java,
1860         java/awt/Rectangle.java,
1861         java/awt/Shape.java,
1862         java/awt/geom/Area.java,
1863         java/awt/geom/Ellipse2D.java,
1864         java/awt/geom/PathIterator.java,
1865         java/awt/geom/Point2D.java,
1866         java/awt/geom/Rectangle2D.java,
1867         java/lang/Comparable.java,
1868         java/util/Arrays.java:
1869         Fixed documentation errors
1870
1871 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1872
1873         * java/awt/image/ComponentSampleModel.java: Add documentation.
1874
1875
1876 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1877
1878         * java/awt/image/ComponentSampleModel.java (constructor):
1879         Initialize numBanks when figuring out the max bank index.
1880
1881 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1882
1883         * java/awt/image/Raster.java (createPackedRaster): Implement
1884         MultiPixelPackedSampleModel codepath.
1885
1886 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1887
1888         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
1889         * Makefile.am: Add MultiPixelPackedSampleModel.java.
1890         * Makefile.in: Regenerate.
1891
1892 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1893
1894         * java/awt/image/Raster.java (getNumBands): Implement.
1895
1896 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1897
1898         * java/awt/image/Raster.java
1899         (createPackedRaster(int,int,int,int,int,Point)): Implement for
1900         bands>1.
1901
1902 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1903
1904         * java/awt/image/SinglePixelPackedSampleModel.java
1905         (SinglePixelPackedSampleModel): Throw exception for unsupported
1906         datatype.
1907
1908 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1909
1910         * java/awt/image/ColorModel.java (getDataElement): Implemented.
1911         Update javadoc.
1912         (getDataElements): Add missing version.  Remove bogus version.
1913         Update javadoc.
1914
1915 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
1916
1917         * javax/swing/plaf/basic/BasicComboBoxUI.java:
1918         (paintCurrentValue): Pass correct parameters to 
1919         getListCellRendererComponent().
1920         (ListDataHandler.intervalRemoved): Implemented. 
1921         (PropertyChangeHandler.propertyChange): Handle changes in
1922         MODEL_CHANGED_PROPERTY of the JComboBox
1923         * javax/swing/plaf/basic/BasicComboPopup.java:
1924         (BasicComboPopup): Moved code that configures popup to 
1925         configurePopup() and call it instead. 
1926         (firePopupMenuWillBecomeVisible): Implemented.
1927         (firePopupMenuWillBecomeInvisible): Likewise.
1928         (firePopupMenuCanceled): Likewise.
1929         (configureList): Set list's visibleRowCount same as 
1930         comboBox's visibleRowCount.
1931         (configurePopup): Implemented.
1932         (getPopupHeightForRowCount): Get item's from JComboBox's model and 
1933         not from model of the JList.
1934         (ListMouseMotionHandler.mouseMoved): Implemented.
1935         (PropertyChangeHandler.propertyChange): Handles change in the
1936         JComboBox's model.
1937
1938 2004-11-30  Michael Koch  <konqueror@gmx.de>
1939
1940         * javax/swing/JComponent.java
1941         (isMaximumSizeSet): New method.
1942         (isMinimumSizeSet): Likewise.
1943         (isPreferredSizeSet): Likewise.
1944
1945 2004-11-30  Michael Koch  <konqueror@gmx.de>
1946
1947         * javax/swing/JSpinner.java:
1948         Some Re-formatting.
1949         (spinner): New field.
1950         (DefaultEditor): New method.
1951         (getSpinner): Likewise.
1952         (NumberEdito): Likewise.
1953         (getModel): Likewise
1954
1955 2004-11-30  Michael Koch  <konqueror@gmx.de>
1956
1957         * javax/swing/InputVerifier.java:
1958         Re-formatted.
1959         * javax/swing/JComponent.java
1960         (inputVerifier): New property field.
1961         (getInputVerifier): New method.
1962         (setInputVerifier): Likewise.
1963
1964 2004-11-30  Michael Koch  <konqueror@gmx.de>
1965
1966         * javax/swing/JComponent.java
1967         (JComponent): Added javadoc comment.
1968         (setBorder): Fire property change eventr.
1969         (setEnabled): Likewise.
1970         (setMaximumSize): Likewise.
1971         (setMinimumSize): Likewise.
1972         (setPreferredSize): Likewise.
1973         (setOpaque): Likewise.
1974
1975 2004-11-30  Michael Koch  <konqueror@gmx.de>
1976
1977         * javax/swing/JTextField.java
1978         (action): New field.
1979         (actionCommand): Likewise.
1980         (actionPropertyChangeListener): Likewise.
1981         (setHorizontalAlignment): Abort soon if new value == old value. Fire
1982         event before repainting.
1983         (postActionEvent): New method.
1984         (getAction): Likewise.
1985         (setAction): Likewise.
1986         (getActionCommand): Likewise.
1987         (setActionCommand): Likewise.
1988         (createActionPropertyChangeListener): Likewise.
1989         (configurePropertiesFromAction): Likewise.
1990
1991 2004-11-30  Michael Koch  <konqueror@gmx.de>
1992
1993         * javax/swing/DebugGraphics.java:
1994         Re-formatted. Fixed some javadocs.
1995         * javax/swing/JApplet.java
1996         (rootPaneCheckingEnabled): Renamed from checking.
1997         * javax/swing/JCheckBox.java
1998         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
1999         * javax/swing/JFrame.java:
2000         Re-formatted a bit and reordered some methods.
2001         (rootPaneCheckingEnabled): Renamed from checking.
2002         (getPreferredSize): Simplified.
2003         * javax/swing/JTextArea.java
2004         (getColumnWidth): New method.
2005         (getLineCount): Likewise.
2006         (getLineStartOffset): Likewise.
2007         (getLineEndOffset): Likewise.
2008         (getLineOfOffset): Likewise.
2009         (getRowHeight): Likewise.
2010         (insert): Likewise.
2011         (replaceRange): Likewise.
2012         * javax/swing/JTextField.java
2013         (scrollOffset): new field.
2014         (getScrollOffset): New method.
2015         (setScrollOffset): Likewise.
2016         (getColumnWidth): Likewise.
2017         * javax/swing/JTree.java
2018         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2019         (CELL_EDITOR_PROPERTY): Likewise.
2020         (CELL_RENDERER_PROPERTY): Likewise.
2021         (EDITABLE_PROPERTY): Likewise.
2022         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2023         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2024         (LARGE_MODEL_PROPERTY): Likewise.
2025         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2026         (ROOT_VISIBLE_PROPERTY): Likewise.
2027         (ROW_HEIGHT_PROPERTY): Likewise.
2028         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2029         (SELECTION_MODEL_PROPERTY): Likewise.
2030         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2031         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2032         (TREE_MODEL_PROPERTY): Likewise.
2033         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2034         (cellEditor): New field.
2035         (invokesStopCellEditing): Likewise.
2036         (largeModel): Likewise.
2037         (rowHeight): Likewise.
2038         (scrollsOnExpand): Likewise.
2039         (selectionModel): Likewise.
2040         (toggleClickCount): Likewise.
2041         (visibleRowCount): Likewise.
2042         (setShowsRootHandles): Fixed typo in method name.
2043         (getCellEditor): New method.
2044         (setCellEditor): Likewise.
2045         (getSelectionModel): Likewise.
2046         (setSelectionModel): Likewise.
2047         (getVisibleRowCount): Likewise.
2048         (setVisibleRowCount): Likewise.
2049         (isLargeModel): Likewise.
2050         (setLargeModel): Likewise.
2051         (getRowHeight): Likewise.
2052         (setRowHeight): Likewise.
2053         (getInvokesStopCellEditing): Likewise.
2054         (setInvokesStopCellEditing): Likewise.
2055         (getToggleClickCount): Likewise.
2056         (setToggleClickCount): Likewise.
2057         (getScrollsOnExpand): Likewise.
2058         (setScrollsOnExpand): Likewise.
2059         * javax/swing/table/DefaultTableColumnModel.java
2060         (addColumnModelListener): Fixed javadoc.
2061         (removeColumnModelListener): Implemented. Fixed javadoc.
2062         (getColumnModelListeners): New method.
2063         * javax/swing/table/JTableHeader.java
2064         (columnModel): Made protected.
2065         (draggedColumn): Likewise.
2066         (draggedDistance): Likewise.
2067         (reorderingAllowed): Likewise.
2068         (resizingAllowed): Likewise.
2069         (resizingColumn): Likewise.
2070         (table): Likewise.
2071         (updateTableInRealTime): Likewise.
2072         (createDefaultColumnModel): Renamed from
2073         createDefaultTableColumnModel.
2074         (setDefaultRenderer): New method.
2075         * javax/swing/table/TableColumn.java
2076         (getPropertyChangeListeners): New method.
2077         * javax/swing/text/DefaultHighlighter.java
2078         (drawsLayeredHighlights): New field.
2079         (getDrawsLayeredHighlights): New method.
2080         (setDrawsLayeredHighlights): Likewise.
2081         * javax/swing/text/DocumentFilter.java
2082         (FilterBypass): New inner class.
2083         (insertString): New method.
2084         (remove): Likewise.
2085         (replace): Likewise.
2086         * javax/swing/text/JTextComponent.java
2087         (dragEnabled): New field.
2088         (getSelectedText): New method.
2089         (getDragEnabled): Likewise.
2090         (setDragEnabled): Likewise.
2091         (replaceSelection): Reimplemented.
2092         * javax/swing/text/NavigationFilter.java
2093         (FilterBypass): New inner class.
2094         (NavigationFilter): New method.
2095         (moveDot): Likewise.
2096         (setDot): Likewise.
2097         * javax/swing/text/SimpleAttributeSet.java
2098         (EMPTY): Made public final.
2099
2100 2004-11-30  Michael Koch  <konqueror@gmx.de>
2101
2102         * javax/swing/SpinnerNumberModel.java
2103         (getMinimum): New method.
2104         (setMinimum): Likewise.
2105         (getMaximum): Likewise.
2106         (setMaximum): Likewise.
2107         (getStepSize): Likewise.
2108         (setStepSize): Likewise.
2109
2110 2004-11-30  Michael Koch  <konqueror@gmx.de>
2111
2112         * javax/swing/JMenu.java
2113         (getMenuListeners): New method.
2114         (fireMenuSelected): Simplified.
2115         * javax/swing/JRootPane.java
2116         (NONE): New static field.
2117         (FRAME): Likewise.
2118         (PLAIN_DIALOG): Likewise.
2119         (INFORMATION_DIALOG): Likewise.
2120         (ERROR_DIALOG): Likewise.
2121         (COLOR_CHOOSER_DIALOG): Likewise.
2122         (FILE_CHOOSER_DIALOG): Likewise.
2123         (QUESTION_DIALOG): Likewise.
2124         (WARNING_DIALOG): Likewise.
2125         (defaultButton): New field.
2126         (getDefaultButton): New method.
2127         (setDefaultButton): Likewise.
2128         * javax/swing/JScrollPane.java
2129         (getUI): New method.
2130         (setUI): Likewise.
2131         * javax/swing/JTable.java
2132         (getUI): Javadoc added.
2133         (setUI): New method.
2134         * javax/swing/JViewport.java
2135         (getUI): New method.
2136         (setUI): Likewise.
2137         * javax/swing/UIDefaults.java
2138         (removePropertyChangeListener): Made public.
2139
2140 2004-11-30  Michael Koch  <konqueror@gmx.de>
2141
2142         * javax/swing/JApplet.java, javax/swing/JFrame.java:
2143         Re-indented.
2144
2145 2004-11-30  Michael Koch  <konqueror@gmx.de>
2146
2147         * javax/swing/AbstractButton.java:
2148         Little re-formatting.
2149         (changeEvent): Made protected.
2150         (fireStateChanged): Removed argument.
2151         (setHorizontalAlignment): Abort method when old value is equal too new
2152         value.
2153         (setHorizontalTextPosition): Likewise.
2154         (setVerticalAlignment): Likewise.
2155         (setVerticalTextPosition): Likewise.
2156         (setBorderPainted): Likewise.
2157         (setIcon): Likewise.
2158         (setText): Likewise.
2159         (setIconTextGap): Likewise.
2160         (setMargin): Likewise.
2161         (setPressedIcon): Likewise.
2162         (setFocusPainted): Likewise.
2163         (setDisabledSelectedIcon): Likewise.
2164         (setRolloverIcon): Likewise.
2165         (setRolloverSelectedIcon): Likewise.
2166         (setSelectedIcon): Likewise.
2167         (setContentAreaFilled): Likewise.
2168
2169 2004-11-30  Kim Ho  <kho@redhat.com>
2170
2171         * javax/swing/plaf/basic/BasicArrowButton.java:
2172         Jalopy. Reimplement.
2173         * javax/swing/plaf/basic/BasicScrollBarUI.java:
2174         Jalopy.
2175         (arrowIcon, upIcon, downIcon, leftIcon,
2176         rightIcon): Removed.
2177         (createIncreaseButton): Use BasicArrowButton.
2178         (createDecreaseButton): Ditto.
2179         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2180         (createRightOneTouchButton): Remove button border.
2181         (createLeftOneTouchButton): Ditto.
2182
2183 2004-11-30  Michael Koch  <konqueror@gmx.de>
2184
2185         * javax/swing/JSpinner.java
2186         (setModel): New method.
2187         * javax/swing/SpringLayout.java
2188         (Constraints): May not be final.
2189
2190 2004-11-30  Michael Koch  <konqueror@gmx.de>
2191
2192         * gnu/java/awt/peer/gtk/GtkClipboard.java,
2193         java/awt/datatransfer/Clipboard.java,
2194         java/awt/datatransfer/ClipboardOwner.java:
2195         Reformated to make it use our coding standard.
2196
2197 2004-11-30  Michael Koch  <konqueror@gmx.de>
2198
2199         * javax/swing/SpinnerNumberModel.java
2200         (SpinnerNumberModel): Implements java.io.Serializable.
2201         (serialVersionUID): New field.
2202         (SpinnerNumberModel): Added missing @throws tags to javadocs.
2203         * javax/swing/UIManager.java
2204         (get): New method.
2205         (getBoolean): Likewise.
2206         (getBorder): Likewise.
2207         (getColor): Likewise.
2208         (getDimension): Likewise.
2209         (getFont): Likewise.
2210         (getIcon): Likewise.
2211         (getInsets): Likewise.
2212         (getInt): Likewise.
2213         (getString): Likewise.
2214
2215 2004-11-30  Michael Koch  <konqueror@gmx.de>
2216
2217         * javax/swing/JPasswordField.java:
2218         Reformated. Implemented construtors.
2219         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2220         (create): New method.
2221         * javax/swing/text/PlainView.java
2222         (selectedColor): Made package-private to allow access from sub-classes
2223         in same package too.
2224         (unselectedColor): Likewise.
2225         (font): Likewise.
2226         (drawSelectedText): Make protected.
2227         (drawUnselectedText): Likewise.
2228         * javax/swing/text/PasswordView.java: New file.
2229         * Makefile.am: Added javax/swing/text/PasswordView.java.
2230         * Makefile.in: Regenerated.
2231
2232 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2233
2234         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2235         bar's width.
2236         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2237         Add FIXME comment.
2238         (addHelpMenu): Elide call to nativeSetHelpMenu.
2239         * java/awt/Menu.java (isTearOff): Rename to tearOff.
2240         (menuSerializedDataVersion): Initialize to 1.
2241         (separatorLabel): Mark transient.
2242         (insert(MenuItem,int)): Implement.
2243         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2244         peer.
2245         (countMenus): Count help menu.
2246         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2247         accessibleContext): Add fields.
2248         * java/awt/MenuItem.java: Remove event mask FIXME.
2249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2250         (gtkWidgetModifyFont): Only set font if label is non-NULL.
2251         (setLabel): Don't treat "-" specially.
2252
2253 2004-11-30  Kim Ho  <kho@redhat.com>
2254
2255         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2256         (stateChanged): Only update the image and the track if
2257         the values are not being adjusted.
2258         (updateChooser): Grab the new mouse point from the
2259         spinner values. Update the image and track only if 
2260         the values are not being adjusted. 
2261         (getHSBValues): New method.
2262         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2263         (SliderHandler::stateChanged): Changed internalChange 
2264         to updateChange. Set sliderChange.
2265         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2266         (spinnerChange): New variable.
2267         (sliderChange): Ditto.
2268         (updateChange): Renamed from internalChange.
2269         (updateChooser): Do not update sliders if the sliders
2270         were the original source of the change. Ditto for spinners.
2271         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2272         (mousePress): Don't scroll the JViewport if there will
2273         be extra space at the end of the run. Change layout() to
2274         revalidate().
2275         (calculateSize): Use the component's width/height unless
2276         it is smaller than the max tab width/height.
2277         (calculateTabRects): Subtract the tab run overlay.
2278         (rotateTabRuns): Don't rotate if there's only one run.
2279         (layoutContainer): Reuse the viewport point.
2280         (createLayoutManager): Set the viewport to use no layout.
2281         (paintTabArea): Don't paint the tabs that are not visible
2282         to the JViewport.
2283         (paintContentBorderTopEdge): Check for scroll tab layout before
2284         looking for gap.
2285         (paintContentBorderLeftEdge): Ditto.
2286         (paintContentBorderBottomEdge): Ditto.
2287         (paintContentBorderRightEdge): Ditto.
2288
2289 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2290
2291         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2292         Rename ...
2293         (gtkWidgetModifyFont): New method.
2294         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2295         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2296         (setMenuBarWidth): New method.
2297         (setBounds): Set the menu bar width.
2298         (postConfigureEvent): Set the menu bar width if the window's
2299         width has changed.
2300         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2301         Don't call create.
2302         (setFont): New method.
2303         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2304         method.
2305         (setFont): Likewise.
2306         (GtkMenuComponentPeer): Call create and setFont.
2307         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2308         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2309         (connectSignals): Make package private.
2310         (gtkWidgetModifyFont): New method.
2311         (create): Likewise.
2312         (GtkMenuItemPeer): Don't call create.
2313         (setFont): New method.
2314         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2315         condition.
2316         * java/awt/Container.java (validateTree): Fix comment typos.
2317         * java/awt/MenuComponent.java (getFont): Return parent's font if
2318         our font is null.
2319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2320         (create): Remove call to deprecated
2321         gtk_check_menu_item_set_show_toggle function.
2322
2323 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
2324
2325         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2326         (Almost everywhere): add LOG calls, fix, add comments.
2327         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2328         Add explicit check for LOCKED bit in slow case (PR 16662).
2329         (_Jv_MonitorExit): Add casts in debug-only code.
2330         Always release LOCKED bit before throwing exception.
2331         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2332         isn't.  Handle easy cases without lock acquisition.
2333         (Object::wait): Use NotifyAll for lock inflation.
2334
2335 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2336
2337         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2339         (gtkFixedMove): Remove method.
2340
2341 2004-11-30  Sven de Marothy  <sven@physto.se>
2342
2343         * java/awt/geom/Area.java: Implemented.
2344
2345 2004-11-30  Mark Wielaard  <mark@klomp.org>
2346
2347         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2348
2349 2004-11-30 Sven de Marothy <sven@physto.se>
2350
2351         * java/awt/geom/Arc2D.java
2352         Reformatted.
2353         (setArc): Correct documentation to say 'upper left corner'.
2354         (setArcByTangent,contains,intersects): Implemented.
2355         (containsAngle): Corrected to handle negative extents.
2356         (ArcIterator): Set to private.
2357         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2358         * java/awt/geom/Ellipse2D.java
2359         Documented.
2360         (contains,intersects): Implemented.
2361         * java/awt/geom/Line2D.java
2362         (linesIntersect): Correct handling of special cases.
2363
2364 2004-11-30  Mark Wielaard  <mark@klomp.org>
2365
2366         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2367         Color.BLACK if c == null, don't create new Color object each time.
2368         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2369         field.
2370         (setColor): Use Color.BLACK when argument null.
2371         (setComposite): Set this.comp field.
2372         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2373         (DrawState.comp): New private field.
2374         (DrawState.save): Save Composite.
2375         (DrawState.restore): Restore comp field.
2376         * java/awt/FontMetrics.java (gRC): New static final private field.
2377         (getLineMetrics(String, Graphics)): New method.
2378         (getLineMetrics(String, int, int, Graphics)): Likewise.
2379         (getLineMetrics(char[], int, int, Graphics)): Likewise.
2380         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2381         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2382         argument. PR SWING/17294.
2383         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2384         the fall-back code since none of the TextArea methods are really
2385         implemented now. PR SWING/17296.
2386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2387         (GdkGlyphVector_setChars): Replace assert() with if block when
2388         pango_itemize() returns null. PR AWT/17295.
2389         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2390         
2391 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2392
2393         * Makefile.am (gtk_c_source_files): Add
2394         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2395         * Makefile.in: Regenerate.
2396         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2397         comment.
2398         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2400         (create): Pack GtkButton in GtkEventBox.
2401         (connectJObject): Remove.
2402         (focus_in_cb): New function.
2403         (focus_out_cb): Likewise.
2404         (connectSignals): Connect focus-in-event and focus-out-event
2405         signals.
2406         (gtkSetFont): Rename to ...
2407         (gtkWidgetModifyFont): New method.
2408         (gtkWidgetRequestFocus): New method.
2409         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2410         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2411         (gtkSetFont): Rename to ...
2412         (gtkWidgetModifyFont): New method.
2413         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2414         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2415         (isInRepaint): New field.
2416         (gtkSetFont): Remove method.
2417         (addExposeFilter): Likewise.
2418         (removeExposeFilter): Likewise.
2419         (gtkWidgetQueueDrawArea): Rename to ...
2420         (gtkWidgetRepaintArea): New method.
2421         (beginNativeRepaint): New method.
2422         (endNativeRepaint): New method.
2423         (setComponentBounds): Move implementation here from
2424         GtkComponentPeer.
2425         (paint): Remove implementation.
2426         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2427         beginNativeRepaint and endNativeRepaint.
2428         (setBounds): Use menu bar height in bounds calculation.
2429         (postExposeEvent): Only post paint event if we're not doing a
2430         native repaint.
2431         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2432         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2433         (find_gtk_layout): Remove function.
2434         (filter_expose_event_handler): Likewise.
2435         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2436         Likewise.
2437         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2438         (setComponentBounds): Call GtkComponentPeer's
2439         setComponentBounds.
2440         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2441         New method.
2442         (moveLayout): Rename to ...
2443         (gtkFixedMove): New method.
2444         (gtkLayoutSetVisible): Rename to ...
2445         (gtkFixedSetVisible): New method.
2446         (setMenuBar): Rearrange, to make the three separate cases
2447         clearer.
2448         (postExposeEvent): Only post paint event if we're not doing a
2449         native repaint.
2450         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2451         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2452         (gtkWidgetModifyFont): New method.
2453         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2454         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2455         Call run directly, rather than spawning a new thread.
2456         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2457         Likewise.
2458         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2459         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2460         Rename to ...
2461         (gtkWidgetModifyFont): New method.
2462         (create): Rename ebox to eventbox.
2463         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2464         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2465         Rename to ...
2466         (gtkWidgetModifyFont): New method.
2467         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2468         (GtkMenuComponentPeer): Set the default font.
2469         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2470         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2471         (gtkSetFont): Rename to ...
2472         (gtkWidgetModifyFont): New method.
2473         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2474         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2475         * java/awt/Component.java (locale): Initialize to default
2476         locale.
2477         * java/awt/Container.java (invalidateTree): Make
2478         package-private.
2479         (paint): Paint self first.
2480         (setMenuBar): Call invalidateTree.
2481         * java/awt/Panel.java (dispatchEventImpl): Remove method.
2482         * java/awt/Window.java (show): Call no-parameter variant of
2483         requestFocusInWindow.
2484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2485         Remove special case for window widget.
2486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2487         (grab_current_drawable): Likewise.
2488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2489         (create): Replace GtkLayout with GtkFixed.
2490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2491         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2493         Move all GtkFramePeer native method implementations here from
2494         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2496         Replace GtkLayout with GtkFixed.
2497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2498         (find_layout): Remove function.
2499         (create): Replace GtkLayout with GtkFixed.
2500         (connectSignals): Remove find_layout call.
2501         (toBack): Replace XFlush with gdk_flush.
2502         (toFront): Replace XFlush with gdk_flush.
2503         Move GtkFramePeer native method implementations to
2504         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2505         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2506
2507 2004-11-30  Michael Koch  <konqueror@gmx.de>
2508
2509         * javax/swing/JTextArea.java
2510         (lineWrap): Renamed from "wrapping".
2511         (wrapStyleWord): NEw field.
2512         (getLineWrap): Re-edited javadoc comment.
2513         (setLineWrap): Likewise.
2514         (getWrapStyleWord): New method.
2515         (setWrapStyleWord): Likewise.
2516
2517 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2518
2519         * configure: Regenerate for libtool change.
2520
2521 2004-11-29  Tom Tromey  <tromey@redhat.com>
2522
2523         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2524         Recognize --help and --version.
2525         (usage): Mention gcj-dbtool.  Added "out" argument.
2526         (insist): Updated.
2527
2528 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
2529
2530         * link.cc (link_symbol_table): Do not use intptr_t.
2531
2532 2004-11-28  Mark Wielaard  <mark@klomp.org>
2533
2534         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2535         XMLDecoder tests which currently don't compile.
2536
2537 2004-11-27  Andrew Haley  <aph@redhat.com>
2538
2539         * link.cc (ensure_class_linked): Conditionally compile
2540         _Jv_IsInterpretedClass on INTERPRETER.
2541         (print_class_loaded): Likewise.
2542         (wait_for_state): Likewise.
2543         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2544         * include/java-interp.h (ROUND): Remove.
2545
2546 2004-11-25  Tom Tromey  <tromey@redhat.com>
2547
2548         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2549         * java/lang/Class.h (_Jv_Linker): Declare.
2550         (Class): Fix names of friends.
2551         (_Jv_getInterfaceMethod): Declare.
2552
2553 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2554
2555         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2556         variable libjava_ld_library_path.
2557         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2558
2559 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
2560
2561         * java/util/ResourceBundle.java (BundleKey): Don't implement
2562         Cloneable.
2563         (BundleKey.clone): Removed.
2564         (getBundle): Copy BundleKey using constructor, not clone().
2565
2566 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2567
2568         * configure: Regenerate for libtool reversion.
2569
2570 2004-11-25  Michael Koch  <konqueror@gmx.de>
2571
2572         * Makefile.am: Added most of javax.print again.
2573         * Makefile.in: Regenerated.
2574
2575 2004-11-25  Michael Koch  <konqueror@gmx.de>
2576
2577         * Makefile.am: Added most of javax.print again.
2578         * Makefile.in: Regenerated.
2579
2580 2004-11-24  Tom Tromey  <tromey@redhat.com>
2581
2582         * Merged gcj-abi-2-dev-branch to trunk.
2583
2584 2004-11-16  Tom Tromey  <tromey@redhat.com>
2585
2586         * include/java-interp.h (_Jv_DefineClass): Updated.
2587         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2588         domain to class reader.
2589         * defineclass.cc (parse): Use print_class_loaded.
2590         Include ProtectionDomain.h.
2591         (_Jv_DefineClass): Added ProtectionDomain argument.
2592         (_Jv_ClassReader): Likewise.
2593         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2594         * link.cc: Include CodeSource.h.
2595         (print_class_loaded): New function.
2596         (wait_for_state): Use it.
2597
2598 2004-11-16  Andrew Haley  <aph@redhat.com>
2599
2600         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2601
2602 2004-11-16  Andrew Haley  <aph@redhat.com>
2603
2604         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2605         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2606         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2607         * configure: Regenerate.
2608         * Makefile.in: Regenerate.      
2609
2610 2004-11-15  Andrew Haley  <aph@redhat.com>
2611
2612         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2613         gc-allocated object.
2614
2615 2004-11-15  Andrew Haley  <aph@redhat.com>
2616
2617         * java/net/URLClassLoader.java
2618         (URLLoader.getClassPath): New method.
2619         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2620         attribute and add URLs for each entry.
2621         (JarURLLoader.classPath): New field.
2622         (JarURLLoader.getClassPath): New method.
2623         (addURLImpl): Scan through the list of extraUrls in the new
2624         loader, adding them to our urlinfos.
2625         (definePackage, findURLResource, findResources): Use
2626         urlinfos.size(), not urls.size().
2627
2628 2004-11-11  Tom Tromey  <tromey@redhat.com>
2629
2630         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2631         method.
2632         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2633         linked.
2634         (ensureSupersLinked): Declare.
2635         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2636         linked.
2637
2638 2004-11-10  Tom Tromey  <tromey@redhat.com>
2639
2640         * gij.cc (main): Treat -verbose the same as -verbose:class.
2641         (help): Document -verbose and -verbose:class.
2642
2643         * link.cc (verbose_class_flag): Declare.
2644         (wait_for_state): Print message when handling precompiled class.
2645         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2646
2647 2004-11-09  Tom Tromey  <tromey@redhat.com>
2648
2649         * testsuite/libjava.lang/assign2.out: New file.
2650         * testsuite/libjava.lang/assign2.java: New file.
2651
2652         * java/lang/natRuntime.cc (insertSystemProperties): Set
2653         java.version to 1.4.2 and java.specification.version to 1.4.  Set
2654         java.runtime.version.
2655
2656 2004-11-08  Tom Tromey  <tromey@redhat.com>
2657
2658         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2659         supers installed.
2660         * link.cc (verify_type_assertions): Don't link supers.
2661
2662         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2663         * include/java-interp.h (class _Jv_InterpClass)
2664         <_Jv_PrepareMissingMethods>: No longer `friend'.
2665         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2666         `friend'.
2667         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2668         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2669         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2670         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2671         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2672         * link.cc (search_method_in_class): Renamed from
2673         _Jv_SearchMethodInClass.
2674         (resolve_pool_entry): Updated.
2675
2676         * include/jvm.h (_Jv_CheckAssignment): Removed.
2677         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2678
2679 2004-11-05  Tom Tromey  <tromey@redhat.com>
2680
2681         * link.cc (verify_type_assertions): Ensure classes have supers
2682         linked.  Strip off array types first.
2683
2684 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
2685
2686         * link.cc: Include VerifyError.h. 
2687         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2688         in the type assertion table.
2689         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2690         verify_type_assertions.
2691         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2692         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE, 
2693         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2694         assertion code values.
2695         (struct _Jv_TypeAssertion): Declare.
2696         (assertion_table): New class field.
2697         (verify): Remove class field.
2698
2699 2004-11-05  Andrew Haley  <aph@redhat.com>
2700
2701         * Makefile.am: Move jv_dbtool.java to
2702         gnu/gcj/tools/gcj_dbtool/Main.java.
2703         * Makefile.in: Rebuild.
2704         * java/lang/VMCompiler.java: Rename property
2705         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2706         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2707         jv_dbtool.java.
2708         
2709 2004-11-05  Andrew Haley  <aph@redhat.com>
2710
2711         * jv_dbtool.java (main): Allow the user to specify the size of the
2712         database.  Display the capacity and the size.
2713         (usage): Show the new option.
2714                 
2715 2004-11-04  Tom Tromey  <tromey@redhat.com>
2716
2717         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2718         * link.cc (make_vtable): Use correct index when searching for
2719         missing method's name.  Don't use `flags'.
2720         (set_vtable_entries): Removed `flags' argument.  Don't recurse
2721         into superclasses.
2722         (link_symbol_table): Ensure target class method table is
2723         complete.  Ensure target fields are laid out before entering
2724         loop.
2725
2726         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2727         fix.
2728
2729         * interpret.cc (do_verify): Don't verify abstract methods.
2730
2731 2004-11-01  Tom Tromey  <tromey@redhat.com>
2732
2733         * link.cc (wait_for_state): Call verify_class.
2734
2735         * verify.cc (state::check_no_uninitialized_objects): Removed.
2736         (push_jump): Updated.
2737         (push_exception_jump): Likewise.
2738         (handle_ret_insn): Likewise.
2739         (handle_jsr_insn): Likewise.
2740
2741 2004-10-28  Andrew Haley  <aph@redhat.com>
2742
2743         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2744         * jv_dbtool.java: New file.
2745         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2746         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2747         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
2748         * Makefile.in: Regenerate,
2749         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
2750         Enumeration, StringTokenizer, Vector, PersistentByteMap.
2751         (precompiledMapFiles): New variable.
2752         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
2753         initialize precompiledMapFiles.
2754         (compileClass): Look at the database of precompiled class files
2755         before firing up gcj.
2756
2757         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
2758
2759 2004-10-27  Andrew Haley  <aph@redhat.com>
2760
2761         * java/lang/VMCompiler.java (compileClass): try looking for
2762         precompiledMapFiles.
2763         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2764
2765 2004-10-27  Tom Tromey  <tromey@redhat.com>
2766
2767         * link.cc (ensure_class_linked): Only resolve classes for
2768         compiled classes.
2769         (add_miranda_methods): Ensure interface supers are installed.
2770         (resolve_pool_entry): Better error message.
2771
2772 2004-10-25  Tom Tromey  <tromey@redhat.com>
2773
2774         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
2775
2776         * java/util/ResourceBundle.java (tryBundle): Use
2777         Class.isAssignableFrom rather than catching ClassCastException.
2778
2779         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
2780         exception if we hit EOF of `in'.
2781         (read): Handle case where inflating returns -1.
2782
2783         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
2784         initialize `iter'.
2785         * gnu/java/text/SentenceBreakIterator.java
2786         (SentenceBreakIterator): Don't initialize `iter'.
2787         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
2788         initialize `iter'.
2789         * gnu/java/text/CharacterBreakIterator.java
2790         (CharacterBreakIterator): Don't initialize `iter'.
2791         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
2792         constructor.
2793         * java/text/BreakIterator.java: Updated documentation.
2794
2795 2004-10-20  Tom Tromey  <tromey@redhat.com>
2796
2797         * java/util/ResourceBundle.java (tryBundle): Also ignore
2798         ClassCastException.
2799
2800 2004-10-18  Tom Tromey  <tromey@redhat.com>
2801
2802         * interpret.cc (do_post_miranda_hook): New method.
2803         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
2804         New field.
2805         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
2806         (_Jv_CompiledEngine): Initialize new field.
2807         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
2808         (_Jv_InterpreterEngine): Initialize new field.
2809         * link.cc (resolve_pool_entry): Put Miranda methods in target
2810         class.
2811         (ensure_method_table_complete): Call post_miranda_hook.
2812         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
2813         aux_info.
2814         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
2815         (parse): Set class' aux_info here.
2816
2817         * boehm.cc (_Jv_MarkObj): Mark `throws'.
2818
2819         * boehm.cc: Re-merged with trunk.
2820
2821 2004-10-18  Andrew Haley  <aph@redhat.com>
2822
2823         PR java/18036:
2824         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2825         and correct logic used to find interpreter.
2826
2827 2004-10-13  Andrew Haley  <aph@redhat.com>
2828
2829         * interpret.cc (_Jv_InterpMethod::run): Initialize
2830         _Jv_StartOfInterpreter.
2831         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2832         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2833         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2834         _Unwind_FindEnclosingFunction to discover whether PC is within the
2835         interpreter.
2836
2837 2004-10-13  Tom Tromey  <tromey@redhat.com>
2838
2839         * link.cc (find_iindex): Copy correct number of slots to new
2840         ioffsets.
2841
2842 2004-10-12  Tom Tromey  <tromey@redhat.com>
2843
2844         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
2845         proc.
2846         (gcj_loader_test_one): Use it.
2847         (gcj_loader_run): Likewise.
2848
2849         * prims.cc: Don't include FirstThread.h.
2850
2851 2004-10-06  Tom Tromey  <tromey@redhat.com>
2852
2853         * link.cc (ensure_method_table_complete): Ensure superclass
2854         Miranda methods installed.
2855
2856         * include/java-interp.h (class _Jv_JNIMethod): Added
2857         JV_MARKOBJ_DECL as a friend.
2858         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
2859         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
2860         interpreter method structures.  Mark jni_arg_types of JNI
2861         methods.
2862
2863         * defineclass.cc (parse): Use JV_STATE_READ.
2864         * java/lang/Class.h (JV_STATE_READ): New enum value.
2865
2866 2004-10-05  Tom Tromey  <tromey@redhat.com>
2867
2868         * link.cc (resolve_pool_entry): Add signature info to missing
2869         method's information.
2870
2871         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
2872         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
2873
2874 2004-10-04  Tom Tromey  <tromey@redhat.com>
2875
2876         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
2877         marking IDT.
2878
2879 2004-09-29  Tom Tromey  <tromey@redhat.com>
2880
2881         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
2882         resolve.cc.
2883         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
2884         * jni.cc: Use _Jv_Linker.
2885         * interpret.cc: Use _Jv_Linker.
2886         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
2887         * java/lang/natClassLoader.cc: Use _Jv_Linker.
2888         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
2889         * java/lang/Class.h: Use _Jv_Linker.
2890         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
2891         * resolve.cc: Renamed ...
2892         * link.cc: ... here.  Use _Jv_Linker.
2893         * defineclass.cc (checkExtends): Use _Jv_Linker.
2894
2895 2004-09-17  Tom Tromey  <tromey@redhat.com>
2896
2897         * defineclass.cc (handleCodeAttribute): Don't reference
2898         `deferred'.
2899         (handleMethodsEnd): Likewise.
2900         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
2901         field.
2902         (_Jv_Defer_Resolution): Don't declare or define.
2903         * interpret.cc (do_create_ncode): Don't resolve deferred method
2904         pointers.
2905         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
2906         * resolve.cc (link_symbol_table): No need to defer resolution.
2907
2908 2004-09-14  Tom Tromey  <tromey@redhat.com>
2909
2910         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
2911         (_Jv_MarkObj): Updated.
2912         (_Jv_MarkArray): Likewise.
2913
2914         * include/jvm.h (StringClass): Removed.
2915         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
2916         * interpret.cc (_Jv_InitField): Don't use StringClass.
2917         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
2918         StringClass.
2919         (rehash): Likewise
2920         (intern): Likewise.
2921         (_Jv_FinalizeString): Likewise.
2922         (_Jv_NewStringUtf8Const): Likewise.
2923         (equals): Likewise.
2924         * prims.cc (JvConvertArgv): Don't use StringClass.
2925
2926         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
2927         * resolve.cc (ensure_fields_laid_out): Don't mention
2928         COMPACT_FIELDS.
2929         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
2930         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
2931
2932         * java/lang/reflect/natField.cc (getType): Use resolve_field.
2933         * java/lang/natVMClassLoader.cc (resolveClass): New native
2934         implementation.
2935         (linkClass0): Removed.
2936         (markClassErrorState0): Likewise.
2937         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
2938         preparation code to resolve.cc.
2939         (_Jv_RegisterClassHookDefault): Set class's execution engine if
2940         not already set.
2941         (_Jv_FindClass): Use wait_for_state.
2942         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
2943         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
2944         Moved interface table and class preparation code to resolve.cc.
2945         (finalize): Rewrote.
2946         (initializeClass): Simplified locking and class preparation.
2947         * java/lang/VMClassLoader.java (linkClass0): Removed.
2948         (markClassErrorState0): Likewise.
2949         (resolveClass): Now native.
2950         (transformException): New method.
2951         * java/lang/Class.h (getSuperclass): Don't try to resolve super
2952         reference.
2953         (getInterface): Likewise.
2954         (size): Likewise.
2955         (set_state): New method.
2956         (Class): Updated friend declarations.
2957         (verify): Field now private.
2958         (engine): New field.
2959         * include/jvm.h (class _Jv_Resolver): New class declaration.
2960         (_Jv_ResolveField): Removed declaration.
2961         (_Jv_CheckAccessNoInit): Likewise.
2962         (_Jv_isBinaryCompatible): Removed.
2963         * include/java-interp.h (class _Jv_MethodBase): Updated friend
2964         declarations.
2965         (class _Jv_InterpMethod): Likewise.
2966         (class _Jv_InterpClass): Likewise.
2967         (class _Jv_JNIMethod): Likewise.
2968         * include/execution.h: New file.
2969         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
2970         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
2971         Register class after setting fields.
2972         * resolve.cc: Include execution.h, VerifyError.h.  Moved
2973         interpreter-specific code to interpret.cc.
2974         (uaddr): New location.
2975         (struct aligner): Likewise.
2976         (ALIGNOF): Likewise.
2977         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
2978         (INITIAL_IFACES_LEN): Likewise.
2979         (null_idt): Likewise.
2980         (_Jv_GetMethodString): Likewise.
2981         (_Jv_ThrowNoSuchMethodError): Likewise.
2982         (_Jv_abstractMethodError): Likewise.
2983         (_Jv_Resolver::get_alignment_from_class): Renamed.
2984         (_Jv_Resolver::resolve_field): Likewise.
2985         (_Jv_Resolver::resolve_pool_entry): Likewise.
2986         (_Jv_Resolver::resolve_class_ref): Likewise.
2987         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
2988         (_Jv_Resolver::indexof): Likewise.
2989         (_Jv_Resolver::get_interfaces): Likewise.
2990         (_Jv_Resolver::generate_itable): Likewise.
2991         (_Jv_Resolver::append_partial_itable): Likewise.
2992         (_Jv_Resolver::find_iindex): Likewise.
2993         (_Jv_Resolver::link_symbol_table): Likewise.
2994         (_Jv_Resolver::link_exception_table): Likewise.
2995         (_Jv_Resolver::layout_interface_methods): Likewise.
2996         (_Jv_Resolver::layout_vtable_methods): Likewise.
2997         (_Jv_Resolver::set_vtable_entries): Likewise.
2998         (_Jv_Resolver::make_vtable): Likewise.
2999         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3000         (_Jv_Resolver::ensure_class_linked): Likewise.
3001         (_Jv_Resolver::ensure_supers_installed): Likewise.
3002         (_Jv_Resolver::add_miranda_methods): Likewise.
3003         (_Jv_Resolver::ensure_method_table_complete): Likewise.
3004         (_Jv_Resolver::verify_class): Likewise.
3005         (_Jv_Resolver::wait_for_state): Likewise.
3006         * prims.cc (_Jv_soleCompiledEngine): New global.
3007         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3008         (_Jv_CheckAccessNoInit): Removed.
3009         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3010         * interpret.cc: Include platform.h, ClassFormatError.h,
3011         Modifier.h, execution.h.
3012         (_Jv_soleInterpreterEngine): New global.
3013         (compile): Use resolve_pool_entry.
3014         (run): Likewise.
3015         (_Jv_InitField): New location.
3016         (skip_one_type): Likewise.
3017         (get_ffi_type_from_signature): Likewise.
3018         (_Jv_count_arguments): Likewise.
3019         (init_cif): Likewise.
3020         (ncode_closure): Likewise.
3021         (ffi_closure_fun): Likewise.
3022         (ncode): Likewise.
3023         (throw_class_format_error): Likewise.
3024         (throw_class_format_error): Likewise.
3025         (_Jv_InterpreterEngine::do_verify): New method.
3026         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3027         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3028         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3029         * defineclass.cc: Include execution.h.
3030         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3031         engine.
3032         (checkExtends): Ensure superclass has supers installed.
3033         (_Jv_ClassNameSamePackage): Clarify usage constraints.
3034         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3035         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
3036         dispatch tables.
3037
3038 2004-09-13  Tom Tromey  <tromey@redhat.com>
3039
3040         * mauve-libgcj: List some classes we don't have.
3041
3042 2004-09-10  Andrew Haley  <aph@redhat.com>
3043
3044         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3045         * java/lang/natClass.cc (initializeClass): Check itable.
3046         (_Jv_getInterfaceMethod): New.
3047         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3048         Check that an interface method isn't called with invokevirtual.
3049
3050         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3051         super_meth is virtual.
3052
3053 2004-09-01  Tom Tromey  <tromey@redhat.com>
3054
3055         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3056         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3057         _Jv_CheckAccessNoInit.
3058         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3059         * prims.cc (_Jv_CheckAccessNoInit): New method.
3060
3061         * java/lang/reflect/natMethod.cc (invoke): Check access against
3062         declaring class, not object's class.
3063         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3064         argument.
3065         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3066         overridden method.
3067         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3068         argument.
3069
3070 2004-08-30  Andrew Haley  <aph@redhat.com>
3071
3072         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3073         ClassNotFoundException.
3074         Throw NoClassDefFoundError.
3075
3076         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3077         to klass->verify() from here ...
3078         (_Jv_PrepareCompiledClass): ...and put it here.
3079
3080 2004-08-27  Andrew Haley  <aph@redhat.com>
3081
3082         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3083         klass->verify().
3084         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3085         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3086
3087 2004-08-27  Tom Tromey  <tromey@redhat.com>
3088
3089         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3090         friend.
3091         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3092         (_Jv_IsAssignableFromSlow): New function.
3093         Include VerifyError.h.
3094         * include/jvm.h (_Jv_CheckAssignment): Declare.
3095
3096 2004-08-18  Andrew Haley  <aph@redhat.com>
3097
3098         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3099         argument.  Pass it to findClass instead of fileName.
3100         (compileClass): Pass class name to loadSharedLibrary.
3101
3102 2004-06-22  Andrew Haley  <aph@redhat.com>
3103
3104         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3105
3106 2004-06-15  Andrew Haley  <aph@redhat.com>
3107
3108         * java/lang/natSystem.cc (getenv0): Don't assume environment
3109         variable is Latin 1 coded.
3110
3111 2004-06-07  Andrew Haley  <aph@redhat.com>
3112
3113         * java/lang/System.java: (getenv0): New method.
3114         (getenv): Add security check.  Do the right thing.
3115         * java/lang/natSystem.cc (getenv0): New method.
3116
3117 2004-04-19    Andrew Haley  <aph@redhat.com>
3118
3119         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3120         we destroy.
3121
3122         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3123         is returned as an int in the range 0 to 255.
3124
3125 2004-08-13  Tom Tromey  <tromey@redhat.com>
3126
3127         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3128         class if it is interpreted.
3129
3130 2004-08-12  Tom Tromey  <tromey@redhat.com>
3131
3132         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3133         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3134         (Class::getSuperclass): Updated.
3135         (Class::getInterfaces): Likewise.
3136         (Class::size): Updated.
3137         (_Jv_LayoutClass): Updated declaration.
3138         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3139         Synchronize on class.
3140         (_Jv_LayoutClass): Changed interface.
3141         (initializeClass): Updated.
3142         (_Jv_LinkSymbolTable): Likewise.
3143
3144         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3145         friend.
3146         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3147         _Jv_isBinaryCompatible.
3148         * java/lang/natClass.cc (initializeClass): Use
3149         _Jv_isBinaryCompatible.
3150         (_Jv_LinkSymbolTable): Likewise.
3151         * include/jvm.h (_Jv_isBinaryCompatible): New function.
3152
3153 2004-08-11  Tom Tromey  <tromey@redhat.com>
3154
3155         * gcj/javaprims.h: Regenerated.
3156         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3157         (_registerClass): Likewise.
3158         * Makefile.in: Rebuilt.
3159         * Makefile.am (core_java_source_files): Added VMCompiler.
3160         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3161         * java/lang/VMCompiler.java: New file.
3162         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3163         `verbose' code.
3164         (copyFile): Don't use fully-qualified name.
3165         (h): Removed.
3166         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3167         (defineClass): Use VMCompiler.
3168         * java/lang/ClassLoader.java (defineClass): Removed jit
3169         compilation code and `verbose' code.
3170         (getClassLoader0): Removed.
3171         (_registerClass): Likewise.
3172         (SharedLibHelpers): Removed.
3173
3174 2004-08-10  Tom Tromey  <tromey@redhat.com>
3175
3176         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3177         URL)): New constructor.
3178         (SoURLLoader): Likewise.
3179         (JarURLLoader): Create SoURLLoader with override URL.
3180
3181 2004-08-10  Mark Wielaard  <mark@klomp.org>
3182
3183         * Makefile.in: Rebuilt.
3184         * Makefile.am (interpret.lo): New rule.
3185
3186 2004-08-05  Andrew Haley  <aph@redhat.com>
3187
3188         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3189         aside for "GCJLIBS" in directory where jarfiles are loaded.     
3190         (JarURLLoader.getClass): New method.
3191         (JarURLLoader.toString):  New method.
3192         (FileResource.toString):  New method.
3193         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3194         Remove "Duplicate class registration: " bug.
3195         (_registerClass): New method.
3196         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3197         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3198         Add debugging.
3199         (_Jv_LayoutClass): Use getSuperclass() rather than directly
3200         accessing the field.
3201         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3202         (defineClass): Call gcj to JIT-compile a class.
3203         (_registerClass): New method.
3204         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3205         library name can refer to more than one loaded library, so use a
3206         Set of SharedLibHelpers.
3207         If a shared library is already loaded, take a copy.
3208         (copyFile): New function.
3209
3210         * testsuite/libjava.compile/compile.exp: Force
3211         -findirect-dispatch.
3212
3213         * java/security/BasicPermission.java: Remove bogus checks.
3214
3215         * java/lang/System.java (getenv0): New method.
3216         * java/lang/natSystem.cc (getenv0): New method.
3217
3218 2004-05-24  Andrew Haley  <aph@redhat.com>
3219
3220         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3221
3222 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
3223
3224         * Merged with HEAD as of 20040514. Diff against
3225         gcj-abi-2-merge-20040514.
3226
3227 2004-04-16  Andrew Haley  <aph@redhat.com>
3228
3229         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3230         _Jv_LayoutClass.
3231         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3232         (_Jv_PrepareCompiledClass): If we throw an exception during
3233         preparation, restore state.
3234         (ClassLoader::getClassLoader0): New method.
3235
3236         * java/lang/natClass.cc (get_alignment_from_class): Moved here
3237         from resolve.cc.
3238         (ALIGNOF): Use offsetof, not __alignof__.
3239         (_Jv_ResolveClassRef): Resolve a reference to a class in a
3240         constant pool.
3241         (getInterfaces): Emit debug output if interface hasn't been
3242         resolved.
3243         (initializeClass): Call _Jv_LayoutClass.
3244         (_Jv_LinkSymbolTable): Add debugging output.
3245         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3246         found.
3247         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3248         (_Jv_LinkSymbolTable): Pass the real class loader to
3249         _Jv_FindClass.
3250         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3251         exception class.
3252         (_Jv_LinkSymbolTable): Assert if we find a static field reference
3253         to an interpreted class.
3254         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3255         superclass.
3256         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3257         resolve.cc.
3258         
3259         * java/lang/VMSecurityManager.java: Check for the system class
3260         loader as well as loader != null.
3261         
3262         * java/lang/SecurityManager.java (checkPermission): Remove
3263         security check.
3264         (checkRead): Likewise.
3265         (checkConnect): Likewise.
3266
3267         * java/lang/ClassLoader.java (loadClass): Include all class
3268         loaders in stack trace string.
3269         Look for class in "gcjlib.so" in the same directory.
3270         (getSystemClassLoader) Use getClassLoader0.
3271         (getClassLoader0): New native method.
3272
3273         * java/lang/Class.h (getSuperclass): New method.
3274         (getInterface): New method.
3275         (size): Lay out class if needed.
3276         (firstMethodIndex): New method.
3277         (Jv_ResolveClassRef): New declaration.
3278         (_Jv_LinkSymbolTable): New declaration.
3279
3280         * java/io/ObjectOutputStream.java: Add DEBUG statements
3281         everywhere.
3282         (dumpElementln): New method.
3283         (depth): New field.
3284         * java/io/ObjectInputStream.java (MyIOException): new, for
3285         debugging.
3286         Everywhere: use MyIOException rather than IOException.
3287         Indent debugging output to make nesting visible.
3288         (currentClassLoader): Make native
3289         (callersClassLoader): New field.
3290         (depth): New field.
3291         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3292         method.
3293         
3294         (readObject): ENDBLOCKDATA is generated if the class has a write
3295         method, not if it has a read method.
3296
3297         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3298
3299         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3300         getContextClassLoader form the current thread after our own class
3301         loader.
3302
3303         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3304         debugging.
3305         (toString): New method.
3306
3307         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3308         interfaces array.
3309
3310         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3311         a constant pool entry, resolve it now.
3312         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3313         in natClass.cc.
3314         Move get_alignment_from_class to natClass.cc.
3315
3316         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3317         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3318
3319         * defineclass.cc (checkExtends): Don't access superclass field
3320         directly.
3321
3322         * Makefile.in: regenerate.
3323
3324         * gnu/gcj/util/natDebug.cc: New
3325         * gnu/gcj/util/Debug.java: New.
3326
3327         * Makefile.am (java/io/ObjectInputStream.lo): Use
3328         -fno-optimize-sibling-calls.
3329
3330         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3331         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3332         in an interface.
3333         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3334
3335 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
3336
3337         * configure: Regenerate for libtool change.
3338
3339 2004-11-24  Michael Koch  <konqueror@gmx.de>
3340
3341         * gnu/java/security/PolicyFile.java: New file.
3342         * Makefile.am: Added gnu/java/security/PolicyFile.java.
3343         * Makefile.in: Regenerated.
3344
3345 2004-11-24  Michael Koch  <konqueror@gmx.de>
3346
3347         * java/lang/Character.java, scripts/unicode-blocks.pl:
3348         Reorder "final static" to "static final".
3349
3350 2004-11-24  Michael Koch  <konqueror@gmx.de>
3351
3352         * java/util/ResourceBundle.java: Reformatted.
3353         (tryBundle): Fixed javadoc.
3354
3355 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
3356
3357         * java/text/MessageFormat.java
3358         (formatInternal): Made private.
3359
3360 2004-11-24  Michael Koch  <konqueror@gmx.de>
3361
3362         * java/nio/DirectByteBufferImpl.java
3363         (ReadWrite.ReadWrite): New constructor.
3364         (DirectByteBufferImpl): Likewise.
3365         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3366         Use DirectByteBufferImpl.ReadWrite.
3367         * Makefile.am:
3368         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3369         * Makefile.in: Rgenerated.
3370
3371 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
3372
3373         * java/nio/DirectByteBufferImpl.java
3374         (ReadOnly): New inner subclass.
3375         (ReadWrite): New inner subclass.
3376         (owner): Made final and private.
3377         (address): Made final.
3378         (DirectByteBufferImpl(int)): New constructor.
3379         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3380         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3381         (allocate): Modified to instantiate ReadWrite subclass.
3382         (finalize): Fixed to only free the buffer, if we own it.
3383         (put): Removed read-only check.
3384         (slice, duplicate): Modified to instantiate appropriate subclass.
3385         (isReadOnly): Removed.
3386         * java/nio/MappedByteBufferImpl.java
3387         (slice, duplicate): Modified to instantiate appropriate
3388         DirectByteBufferImpl subclass.
3389
3390 2004-11-24  Michael Koch  <konqueror@gmx.de>
3391
3392         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3393         * java/nio/DirectByteBufferImpl.java:
3394         Moved native methods to java.nio.VMDirectByteBuffer class.
3395         * java/nio/MappedByteBufferImpl.java:
3396         Use native methods from java.nio.VMDirectByteBuffer class.
3397         * java/nio/VMDirectByteBuffer.java: New file,
3398         * java/nio/natDirectByteBufferImpl.cc:
3399         Moved all methods into java.nio.VMDirectByteBuffer class.
3400         * java/nio/channels/spi/AbstractSelectableChannel.java
3401         (register): Only re-use valid keys.
3402         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3403         * Makefile.in: Regenerated.
3404
3405 2004-11-24  Michael Koch  <konqueror@gmx.de>
3406
3407         * java/nio/DirectByteBufferImpl.java,
3408         java/nio/MappedByteBufferImpl.java:
3409         Reformatted.
3410
3411 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3412
3413         * testsuite/lib/libjava.exp,
3414         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3415
3416 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
3417
3418         * configure.host: Enable the interpreter for mips*-*-linux*.
3419
3420 2004-11-23  Michael Koch  <konqueror@gmx.de>
3421
3422         * java/lang/String.java (rehash): Removed.
3423         * java/lang/natString.cc (rehash): Made static.
3424         (_Jv_NewStringUtf8Const): Use static rehash method.
3425
3426 2004-11-23  Michael Koch  <konqueror@gmx.de>
3427
3428         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3429         include/Makefile.in, testsuite/Makefile.in: Regenerated.
3430
3431 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
3432
3433         PR target/18444
3434         * configure.ac (threading): Accept 'posix95'.
3435         * configure: Regenerate.
3436
3437 2004-11-22  Michael Koch  <konqueror@gmx.de>
3438
3439         * gnu/java/nio/SocketChannelImpl.java
3440         (read): Made check for blocking un-ambiguous.
3441         Removed wrong check for data array length.
3442
3443 2004-11-21  Michael Koch  <konqueror@gmx.de>
3444
3445         * gnu/java/nio/SocketChannelImpl.java
3446         (read): Only return 0 when no bytes for reading available in
3447         non-blocking mode.
3448         * java/nio/channels/SocketChannel.java:
3449         Added some missing @return tags.
3450
3451 2004-11-21  Michael Koch  <konqueror@gmx.de>
3452
3453         * java/beans/PropertyChangeSupport.java
3454         (propertyChangeSupportSerializedDataVersion): Made static.
3455         * java/beans/VetoableChangeSupport.java
3456         (propertyChangeSupportSerializedDataVersion): Likewise.
3457
3458 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3459
3460         * java/net/URLStreamHandler.java
3461         (parseURL): Fixed file path canonicalisation.
3462
3463 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3464
3465         * java/net/URLStreamHandler.java
3466         (parseURL): Fixed file path canonicalisation.
3467
3468 2004-11-18  Michael Koch  <konqueror@gmx.de>
3469
3470         * java/net/URLClassLoader.java: Whitespace cleanup.
3471
3472 2004-11-18  Robert Schuster <address@bogus.example.com>
3473
3474         Complete 1.4 support
3475         * java/beans/PropertyDescriptor.java:
3476         (setReadMethod): New method
3477         (setWriteMethod): New method
3478         (equals): Implemented (1.4)
3479         (checkMethods): operates on arguments now (private)
3480
3481
3482 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3483
3484         * java/net/Inet6Address.java (getHostAddress): Fix textual
3485         representation of IPv6 address with embedded zeroes
3486         to conform to RFC 2373.
3487
3488 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
3489
3490         * java/lang/StackTraceElement.java: Made final.
3491         * java/nio/channels/Channels.java: Added private constructor.
3492         * java/rmi/Naming.java: Added private constructor.
3493         * java/rmi/registry/LocateRegistry.java: Added private constructor.
3494         * java/rmi/server/RMIClassLoader.java: Added private constructor.
3495         * java/security/KeyPairGeneratorSpi.java
3496         (clone): Made protected and simplified implementation.
3497         * java/text/DateFormat.java
3498         (allFields): Made package accessible.
3499         * java/text/DecimalFormat.java
3500         (formatInternal): Made private.
3501         * java/text/Format.java
3502         (formatInternal): Made private.
3503         * java/util/logging/Handler.java: Made constructor protected.
3504         * java/util/regex/Matcher.java: Made final.
3505         * java/util/regex/Pattern.java: Made final.
3506         * javax/crypto/CipherInputStream.java
3507         (mark): Corrected mark parameter type (from long to int).
3508         * javax/crypto/ExemptionMechanism.java
3509         (finalize): Added.
3510         * javax/crypto/Mac.java
3511         (getMacLength): Made final.
3512         (clone): Made final.
3513         * javax/imageio/ImageIO.java: Added private constructor.
3514         * javax/imageio/stream/ImageInputStreamImpl.java
3515         (checkClosed): Made final.
3516         * javax/net/ssl/SSLPermission.java: Made final.
3517         * javax/print/DocFlavor.java
3518         (hostEncoding): Added work-around to prevent the field from being
3519         a compile time constant.
3520         * javax/print/attribute/AttributeSetUtilities.java: Added private
3521         constructor.
3522         (UnmodifiableDocAttributeSet): Made private.
3523         (UnmodifiablePrintJobAttributeSet): Made private.
3524         (UnmodifiablePrintRequestAttributeSet): Made private.
3525         (UnmodifiablePrintServiceAttributeSet): Made private.
3526         (SynchronizedAttributeSet): Made private.
3527         (SynchronizedDocAttributeSet): Made private.
3528         (SynchronizedPrintJobAttributeSet): Made private.
3529         (SynchronizedPrintRequestAttributeSet): Made private.
3530         (SynchronizedPrintServiceAttributeSet): Made private.
3531         * javax/security/auth/PrivateCredentialPermission.java: Made final.
3532
3533 2004-11-18  Craig Black  <craig.black@aonix.com>
3534
3535         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3536
3537 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3538
3539         * Makefile.am: Correct friend function declaration.
3540         * Makefile.in: Regenerated.
3541         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3542         scope to function names.  Declare functions directly.
3543         * libjava/java/lang/Class.h
3544         (java::lang::Class): Correct friend class declaration.
3545         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3546         scope.
3547         * libjava/java/lang/Class.h
3548         (java::lang::Object): Correct friend class declaration.
3549
3550 2004-11-17  David Daney  <ddaney@avtrex.com>
3551
3552         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3553
3554 2004-11-17  Michael Koch  <konqueror@gmx.de>
3555
3556         * java/net/Socket.java (getPort): Return 0 in error case.
3557
3558 2004-11-17  Michael Koch  <konqueror@gmx.de>
3559
3560         *  java/nio/DirectByteBufferImpl.java
3561         (owner): Updated comment.
3562         (allocate): New method.
3563
3564 2004-11-17  Michael Koch  <konqueror@gmx.de>
3565
3566         * java/net/URL.java (URL): Handle case when argument is null.
3567
3568 2004-11-17  Michael Koch  <konqueror@gmx.de>
3569
3570         * java/beans/Beans.java,
3571         java/beans/PropertyChangeEvent.java,
3572         java/beans/PropertyEditorSupport.java:
3573         Fixed javadocs.
3574
3575 2004-11-17  Michael Koch  <konqueror@gmx.de>
3576
3577         * java/util/Timer.java (DEFAULT_SIZE): Made static.
3578
3579 2004-11-17  Michael Koch  <konqueror@gmx.de>
3580
3581         * java/net/InetAddress.java (getCanonicalHostName):
3582         Support IPv6 addresses.
3583
3584 2004-11-16  Michael Koch  <konqueror@gmx.de>
3585
3586         * java/lang/Object.java: Added javadocs all over (merged from GNU
3587         classpath).
3588
3589 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3590
3591         * java/security/Security.java (Security): Silence the warning about no
3592         providers found in the no debug case.
3593
3594 2004-11-16  Michael Koch  <konqueror@gmx.de>
3595
3596         * java/net/InetAddress.java
3597         (toString): Merged from GNU classpath.
3598
3599 2004-11-16  Michael Koch  <konqueror@gmx.de>
3600
3601         * java/awt/geom/doc-files/Area-1.png,
3602         java/awt/geom/doc-files/Ellipse-1.png,
3603         java/awt/geom/doc-files/GeneralPath-1.png:
3604         New files.
3605
3606 2004-11-16  Michael Koch  <konqueror@gmx.de>
3607
3608         * java/util/Currency.java (cache): Fix modifier order.
3609
3610 2004-11-16  Michael Koch  <konqueror@gmx.de>
3611
3612         * java/io/BufferedReader.java,
3613         java/io/FileInputStream.java,
3614         java/io/FileOutputStream.java,
3615         java/io/FileWriter.java,
3616         java/io/OutputStreamWriter.java,
3617         java/io/PipedInputStream.java,
3618         java/io/PipedOutputStream.java,
3619         java/io/PipedReader.java,
3620         java/io/PipedWriter.java,
3621         java/io/PrintStream.java,
3622         java/io/PushbackInputStream.java,
3623         java/io/RandomAccessFile.java,
3624         java/io/Reader.java,
3625         java/io/StreamTokenizer.java,
3626         java/io/StringReader.java,
3627         java/net/NetworkInterface.java,
3628         java/net/URLClassLoader.java,
3629         java/nio/ByteOrder.java,
3630         java/nio/channels/Channel.java:
3631         Fixed javadocs all over.
3632
3633 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3634
3635         * Makefile.am: Add imported files.
3636         * Makefile.in: Regenerate.
3637
3638         2004-10-24  Casey Marshall  <csm@gnu.org>
3639
3640         * javax/security/auth/login/LoginContext.java: Implemented.
3641         * javax/security/auth/login/Configuration.java (getConfig): New method.
3642         * javax/security/auth/spi/LoginModule.java,
3643         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3644
3645 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
3646
3647         Import/Merge the X.509 certificate code from Classpath.
3648
3649         * Makefile.am: Add imported files.
3650         * Makefile.in: Regenerate.
3651
3652         2004-11-07  Casey Marshall  <csm@gnu.org>
3653
3654         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3655         priviliged action. Add new algorithms.
3656         * gnu/java/security/provider/X509CertificateFactory.java
3657         (engineGenerateCertificate): Chain exceptions.
3658         (engineGenerateCertificates): Likewise.
3659         (engineGenerateCRL): Likewise.
3660         (engineGenerateCRLs): Likewise.
3661         (engineGenerateCertPath): New methods.
3662         (generateCert): Throw exception if 'inStream' is null.
3663         (generateCRL): Likewise.
3664         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3665         version from GNU Crypto CVS.
3666         * gnu/java/security/x509/X509CRL.java: Likewise.
3667         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3668         * gnu/java/security/x509/X509Certificate.java: Likewise.
3669         * java/security/cert/TrustAnchor.java: Call 'toString' and not
3670         toRFC2253.
3671         * gnu/java/security/provider/CollectionCertStoreImpl.java,
3672         * gnu/java/security/provider/EncodedKeyFactory.java,
3673         * gnu/java/security/provider/GnuDHPublicKey.java,
3674         * gnu/java/security/provider/GnuRSAPrivateKey.java,
3675         * gnu/java/security/provider/GnuRSAPublicKey.java,
3676         * gnu/java/security/provider/MD2withRSA.java,
3677         * gnu/java/security/provider/MD4withRSA.java,
3678         * gnu/java/security/provider/MD5withRSA.java,
3679         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3680         * gnu/java/security/provider/RSA.java,
3681         * gnu/java/security/provider/RSAKeyFactory.java,
3682         * gnu/java/security/provider/SHA1withRSA.java,
3683         * gnu/java/security/x509/GnuPKIExtension.java,
3684         * gnu/java/security/x509/PolicyNodeImpl.java,
3685         * gnu/java/security/x509/Util.java,
3686         * gnu/java/security/x509/X509CRLSelectorImpl.java,
3687         * gnu/java/security/x509/X509CertPath.java,
3688         * gnu/java/security/x509/X509CertSelectorImpl.java,
3689         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3690         * gnu/java/security/x509/ext/BasicConstraints.java,
3691         * gnu/java/security/x509/ext/CRLNumber.java,
3692         * gnu/java/security/x509/ext/CertificatePolicies.java,
3693         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3694         * gnu/java/security/x509/ext/Extension.java,
3695         * gnu/java/security/x509/ext/GeneralNames.java,
3696         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3697         * gnu/java/security/x509/ext/KeyUsage.java,
3698         * gnu/java/security/x509/ext/PolicyConstraint.java,
3699         * gnu/java/security/x509/ext/PolicyMappings.java,
3700         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3701         * gnu/java/security/x509/ext/ReasonCode.java,
3702         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3703         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3704
3705         2004-11-07  Casey Marshall  <csm@gnu.org>
3706
3707         * gnu/java/security/x509/X509CRL.java:
3708         Missed import statements in previous checkin.
3709
3710         2004-11-07  Casey Marshall  <csm@gnu.org>
3711
3712         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3713         to 'X509CertificateImpl' from previous checkin.
3714
3715 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
3716
3717         PR other/14264
3718         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3719
3720 2004-11-11  Casey Marshall  <csm@gnu.org>
3721
3722         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3723         channel is open.
3724         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3725         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3726
3727 2004-11-11  Robert Schuster <thebohemian@gmx.net>
3728
3729         Fixed regression:
3730         * gnu/java/beans/IntrospectionIncubator.java:
3731         (addMethod): Corrected classification of normal and property methods.
3732         (capitalize): Added documentation.
3733         (DoubleKey): [class] Added documentation.
3734
3735 2004-11-09  Tom Tromey  <tromey@redhat.com>
3736
3737         * include/jni.h: Added FIXME.
3738
3739 2004-11-08  Tom Tromey  <tromey@redhat.com>
3740
3741         * java/util/GregorianCalendar.java: Removed unused imports.
3742         * java/util/Vector.java: Removed unused import.
3743
3744 2004-11-07  Michael Koch  <konqueror@gmx.de>
3745
3746         * java/lang/Process.java:
3747         Import cleanups.
3748
3749 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
3750
3751         * java/util/zip/ZipEntry.java
3752         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
3753
3754 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
3755
3756         Fixes bug #10908
3757         * gnu/java/beans/IntrospectionIncubator.java:
3758         (addMethod): static methods are discarded now, too.
3759
3760 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3761
3762         * java/util/GregorianCalendar.java
3763         Added/amended documentation.
3764
3765 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3766
3767         * java/util/Collections.java
3768         Added documentation.
3769         * java/util/SortedMap.java
3770         Clarified some method examples.
3771         * java/util/SortedSet.java
3772         Clarified some method examples.
3773
3774 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3775
3776         * java/util/Currency.java
3777         Documented variables and methods more fully.
3778         Caches the currency instances, so that a request
3779         for a locale, l, only ever returns the same
3780         instance (i.e. successive calls to getInstance(l)
3781         are reference equivalent (==)).
3782
3783 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3784
3785         * java/util/Date.java
3786         Added missing documentation.
3787
3788 2004-11-06  Michael Koch  <konqueror@gmx.de>
3789
3790         * java/util/zip/CheckedInputStream.java,
3791         java/util/zip/InflaterInputStream.java,
3792         java/util/zip/ZipFile.java,
3793         java/util/zip/ZipInputStream.java:
3794         Import cleanups.
3795
3796 2004-11-06  Tom Tromey  <tromey@redhat.com>
3797
3798         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
3799         package-private.
3800         (connections): Likewise.
3801         (scavenger): Likewise.
3802         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
3803         package-private.
3804         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
3805         package-private.
3806         (ptr): Likewise.
3807         * gnu/classpath/ServiceFactory.java (log): Now package-private.
3808
3809 2004-11-06  Tom Tromey  <tromey@redhat.com>
3810
3811         * javax/naming/directory/BasicAttributes.java (attributes): Now
3812         package-private.
3813         * javax/imageio/spi/ServiceRegistry.java (categories): Now
3814         package-private.
3815
3816 2004-11-06  Tom Tromey  <tromey@redhat.com>
3817
3818         * java/net/URLClassLoader.java (URLClassLoader): Now
3819         package-private.
3820         * java/nio/charset/CoderResult.java (CoderResult): Now
3821         package-private.
3822         (get): Likewise.
3823         (Cache): Likewise.  Don't synchronize on `this'.
3824         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
3825         package-private.
3826         * java/util/TimeZone.java (timezones): Now package-private.
3827
3828 2004-11-06  Tom Tromey  <tromey@redhat.com>
3829
3830         * java/security/Permissions.java (perms): Now package-private.
3831         * java/security/UnresolvedPermission.java (permissions): Now
3832         package-private.
3833
3834 2004-11-06  Tom Tromey  <tromey@redhat.com>
3835
3836         * java/io/FilePermission.java: Reindented.
3837
3838 2004-11-06  Tom Tromey  <tromey@redhat.com>
3839
3840         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
3841         package-private.
3842         (setBlockDataMode): Likewise.
3843
3844 2004-11-06  Tom Tromey  <tromey@redhat.com>
3845
3846         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
3847         package-private.
3848         (Encoder): Likewise.
3849         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
3850         (Encoder): Likewise.
3851         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
3852         package-private.
3853         (Encoder): Likewise.
3854
3855 2004-11-06  Mark Wielaard  <mark@klomp.org>
3856
3857         * Makefile.am: Add new javax.imageio files.
3858         * Makefile.in: Regenerated.
3859
3860 2004-11-06  Michael Koch  <konqueror@gmx.de>
3861
3862         * javax/imageio/event/IIOReadProgressListener.java,
3863         javax/imageio/event/IIOReadUpdateListener.java,
3864         javax/imageio/event/IIOReadWarningListener.java,
3865         javax/imageio/event/IIOWriteProgressListener.java,
3866         javax/imageio/event/IIOWriteWarningListener.java,
3867         javax/imageio/metadata/IIOMetadataFormat.java,
3868         javax/imageio/stream/FileCacheImageInputStream.java,
3869         javax/imageio/stream/FileCacheImageOutputStream.java,
3870         javax/imageio/stream/ImageInputStreamImpl.java:
3871         Import cleanup.
3872         * javax/imageio/metadata/package.html: New file.
3873
3874 2004-11-06  Michael Koch  <konqueror@gmx.de>
3875
3876         * javax/imageio/spi/ImageReaderSpi.java
3877         (isOwnReader): New method.
3878         * javax/imageio/spi/ImageWriterSpi.java
3879         (isOwnWriter): Likewise.
3880
3881 2004-11-06  Michael Koch  <konqueror@gmx.de>
3882
3883         * javax/imageio/ImageWriter.java
3884         (convertImageMetadata): New abstract method.
3885         (convertStreamMetadata): Likewise.
3886         (write): Likewise.
3887         * javax/imageio/stream/FileCacheImageInputStream.java
3888         (close): Fixed setting of stream to null.
3889         (checkStreamClosed): Throws IOException.
3890
3891 2004-11-06  Michael Koch  <konqueror@gmx.de>
3892
3893         * javax/imageio/stream/FileCacheImageInputStream.java,
3894         javax/imageio/stream/FileCacheImageOutputStream.java,
3895         javax/imageio/stream/FileImageInputStream.java,
3896         javax/imageio/stream/FileImageOutputStream.java,
3897         javax/imageio/stream/MemoryCacheImageInputStream.java,
3898         javax/imageio/stream/MemoryCacheImageOutputStream.java:
3899         New files.
3900
3901 2004-11-06  Michael Koch  <konqueror@gmx.de>
3902
3903         * javax/imageio/metadata/IIOInvalidTreeException.java,
3904         javax/imageio/metadata/IIOMetadataFormatImpl.java,
3905         javax/imageio/metadata/IIOMetadataNode.java:
3906         New stub files.
3907
3908 2004-11-06  Michael Koch  <konqueror@gmx.de>
3909
3910         * javax/imageio/stream/ImageInputStreamImpl.java,
3911         javax/imageio/stream/ImageOutputStreamImpl.java:
3912         New files.
3913
3914 2004-11-06  Michael Koch  <konqueror@gmx.de>
3915
3916         * javax/imageio/ImageIO.java:
3917         Added much new methods.
3918
3919 2004-11-06  Michael Koch  <konqueror@gmx.de>
3920
3921         * javax/imageio/ImageReader.java,
3922         javax/imageio/ImageWriter.java,
3923         javax/imageio/spi/ImageWriterSpi.java:
3924         Add SOME new methods.
3925
3926 2004-11-06  Michael Koch  <konqueror@gmx.de>
3927
3928         * javax/imageio/IIOParam.java,
3929         javax/imageio/ImageReadParam.java,
3930         javax/imageio/ImageReader.java,
3931         javax/imageio/ImageWriter.java:
3932         Mostly implemented.
3933         * javax/imageio/spi/ImageReaderSpi.java,
3934         javax/imageio/spi/ImageWriterSpi.java:
3935         New files.
3936
3937 2004-11-06  Michael Koch  <konqueror@gmx.de>
3938
3939         * javax/imageio/ImageWriteParam.java,
3940         javax/imageio/metadata/IIOMetadataFormat.java:
3941         Implemented.
3942
3943 2004-11-06  Michael Koch  <konqueror@gmx.de>
3944
3945         * javax/imageio/ImageTypeSpecifier.java:
3946         Mostly implemented.
3947
3948 2004-11-06  Michael Koch  <konqueror@gmx.de>
3949
3950         * javax/imageio/metadata/IIOMetadata.java:
3951         Mostly implemented.
3952
3953 2004-11-06  Michael Koch  <konqueror@gmx.de>
3954
3955         * javax/imageio/IIOImage.java,
3956         javax/imageio/ImageReadParam.java,
3957         javax/imageio/metadata/IIOMetadataController.java,
3958         javax/imageio/metadata/IIOMetadataFormat.java:
3959         New files.
3960         * javax/imageio/stream/ImageOutputStream.java:
3961         Implemented.
3962
3963 2004-11-06  Michael Koch  <konqueror@gmx.de>
3964
3965         * javax/imageio/IIOParam.java,
3966         javax/imageio/IIOParamController.java,
3967         javax/imageio/ImageTypeSpecifier.java,
3968         javax/imageio/ImageWriteParam.java,
3969         javax/imageio/metadata/IIOMetadata.java:
3970         New files.
3971         * javax/imageio/ImageTranscoder.java:
3972         Implemented.
3973
3974 2004-11-06  Michael Koch  <konqueror@gmx.de>
3975
3976         * javax/imageio/spi/ImageInputStreamSpi.java,
3977         javax/imageio/spi/ImageOutputStreamSpi.java:
3978         Reworked import startments.
3979         * javax/imageio/spi/ServiceRegistry.java:
3980         Reworked import startments. Fixed XHTML in javadocs.
3981         (ServiceRegistry): Added @param tag to javadoc.
3982         * javax/imageio/stream/ImageInputStream.java
3983         (mark): Doesn't throws IOException;
3984
3985 2004-11-06  Michael Koch  <konqueror@gmx.de>
3986
3987         * javax/imageio/ImageIO.java:
3988         New file.
3989
3990 2004-11-06  Michael Koch  <konqueror@gmx.de>
3991
3992         * javax/imageio/spi/IIORegistry.java
3993         (static): Don't register ImageReaderSpi.class and
3994         ImageWriterSpi.class yet.
3995
3996 2004-11-06  Michael Koch  <konqueror@gmx.de>
3997
3998         * javax/imageio/spi/IIORegistry.java:
3999         New file.
4000
4001 2004-11-06  Noa Resare  <noa@resare.com>
4002
4003         * java/net/Socket.java (getPort): Return 0 instead of -1 on
4004         unconnected sockets.
4005
4006 2004-11-06  Michael Koch  <konqueror@gmx.de>
4007
4008         * java/lang/StringBuffer.java,
4009         java/lang/Throwable.java,
4010         java/security/spec/DSAParameterSpec.java,
4011         java/util/zip/ZipEntry.java,
4012         java/util/zip/ZipFile.java,
4013         java/util/zip/ZipInputStream.java,
4014         java/util/zip/ZipOutputStream.java:
4015         Removed redundant and reordered modifiers.
4016
4017 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4018
4019         * java/io/Vector.java
4020         (writeObject): New function to serialized output thread safe.
4021
4022         * java/io/ObjectOutputStream.java
4023         (writeObject): Move the assignment of the class handle to after
4024         the assignment of class descriptor handle.
4025
4026 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4027
4028         Fixes documentation and indentation
4029         * java/beans/PropertyEditorSupport.java:
4030         reworked initial API doc
4031         (value): changed name from val
4032
4033 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4034
4035         Updates to 1.5
4036         * java/beans/PropertyEditorSupport.java
4037         (PropertyEditorSupport()): Changed modifier to public
4038         (PropertyEditorSupport(Object): Changed modifier to public
4039         (setSource): New method
4040         (getSource): New method
4041
4042 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4043
4044         Fixes bug #10799
4045         * java/beans/PropertyEditorSupport.java
4046         (setValue): Fire property change event
4047
4048 2004-11-03  Tom Tromey  <tromey@redhat.com>
4049
4050         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4051         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4052         returns jobjectArray.
4053         (_Jv_JNIEnv::NewObjectArray): Likewise.
4054
4055 2004-11-01  Tom Tromey  <tromey@redhat.com>
4056
4057         * verify.cc (state::check_no_uninitialized_objects): Removed.
4058         (push_jump): Updated.
4059         (push_exception_jump): Likewise.
4060         (handle_ret_insn): Likewise.
4061         (handle_jsr_insn): Likewise.
4062
4063 2004-10-30  Mark Wielaard  <mark@klomp.org>
4064
4065         PR libgcj/18234
4066         * java/lang/Runtime.java (static): Call init().
4067         (Runtime): Remove call to init().
4068         (init): Make static.
4069
4070 2004-10-28  David Daney  <ddaney@avtrex.com>
4071
4072         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4073         * Makefile.am: Build it.
4074         * Makefile.in: Regenerate.
4075
4076 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4077
4078         PR libgcj/18104
4079         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
4080         colon.
4081         * Makefile.in: Regenerate.
4082         * configure: Regenerate.
4083         * configure.ac (CLASSPATH_SEPARATOR): Define.
4084         * gcj/Makefile.in: Regenerate.
4085         * include/Makefile.in: Regenerate.
4086         * testsuite/Makefile.in: Regenerate.
4087         * testsuite/lib/libjava.exp (libjava_arguments): Fix
4088         CLASSPATH separator handling for Windows.
4089
4090 2004-10-26  Michael Koch  <konqueror@gmx.de>
4091
4092         * gnu/java/net/protocol/http/Connection.java
4093         (getOutputStream): Implicitely switch to POST method.
4094
4095 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
4096
4097         * libjava/java/lang/Class.h
4098         (java::lang::Class): Correct friend class declaration.
4099
4100 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
4101
4102         * Makefile.am (DARWIN_CRT_SRC): New.
4103         (libgcj_la_SOURCES): Use it.
4104         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4105         * darwin.cc: New file.
4106         * include/jvm.h (_Jv_RegisterClasses): Constify.
4107         (_Jv_RegisterClasses_Counted): New prototype.
4108         * java/lang/Class.h: Include stddef.h.  
4109         (_Jv_RegisterClasses): Constify.
4110         (_Jv_RegisterClasses_Counted): New prototype.
4111         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4112         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4113         (_Jv_RegisterClasses_Counted): New function.
4114         * configure: Regenerate.
4115         * Makefile.in: Regenerate.
4116         * gcj/Makefile.in: Regenerate.
4117         * include/Makefile.in: Regenerate.
4118         * testsuite/Makefile.in: Regenerate.
4119
4120 2004-10-25  Tom Tromey  <tromey@redhat.com>
4121
4122         * java/util/ResourceBundle.java (tryBundle): Use
4123         Class.isAssignableFrom rather than catching ClassCastException.
4124
4125 2004-10-25  Tom Tromey  <tromey@redhat.com>
4126
4127         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4128         initialize `iter'.
4129         * gnu/java/text/SentenceBreakIterator.java
4130         (SentenceBreakIterator): Don't initialize `iter'.
4131         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4132         initialize `iter'.
4133         * gnu/java/text/CharacterBreakIterator.java
4134         (CharacterBreakIterator): Don't initialize `iter'.
4135         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4136         constructor.
4137         * java/text/BreakIterator.java: Updated documentation.
4138
4139 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
4140
4141         PR other/18138
4142         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4143
4144 2004-10-23  Michael Koch  <konqueror@gmx.de>
4145
4146         * javax/print/DocFlavor.java,
4147         javax/print/attribute/standard/JobStateReason.java,
4148         javax/print/attribute/standard/MultipleDocumentHandling.java:
4149         Added missing constants.
4150
4151 2004-10-22  Tom Tromey  <tromey@redhat.com>
4152
4153         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4154         typo.
4155
4156 2004-10-22  Michael Koch  <konqueror@gmx.de>
4157
4158         PR libjava/14009
4159         * gnu/java/net/protocol/http/Connection.java
4160         (sendRequest): Handle case when url.getFile() returns an empty string.
4161
4162 2004-10-22  Michael Koch  <konqueror@gmx.de>
4163
4164         * java/lang/Math.java,
4165         java/lang/StackTraceElement.java,
4166         java/nio/Buffer.java,
4167         java/nio/ByteBuffer.java,
4168         java/nio/CharBuffer.java,
4169         java/nio/DoubleBuffer.java,
4170         java/nio/FloatBuffer.java,
4171         java/nio/IntBuffer.java,
4172         java/nio/LongBuffer.java,
4173         java/nio/ShortBuffer.java,
4174         java/nio/charset/Charset.java,
4175         java/rmi/server/RMIClassLoader.java,
4176         java/rmi/server/RMISocketFactory.java,
4177         java/security/Policy.java,
4178         java/text/ChoiceFormat.java,
4179         java/text/CollationElementIterator.java,
4180         java/text/DateFormat.java,
4181         java/text/DecimalFormat.java,
4182         java/text/DecimalFormatSymbols.java,
4183         java/text/MessageFormat.java,
4184         java/text/NumberFormat.java,
4185         java/text/RuleBasedCollator.java,
4186         java/text/SimpleDateFormat.java,
4187         java/util/BitSet.java,
4188         java/util/Calendar.java,
4189         java/util/Collections.java,
4190         java/util/IdentityHashMap.java,
4191         java/util/Locale.java,
4192         java/util/TreeMap.java,
4193         java/util/logging/LogRecord.java,
4194         java/util/logging/XMLFormatter.java,
4195         java/util/prefs/AbstractPreferences.java,
4196         java/util/prefs/Preferences.java,
4197         javax/crypto/interfaces/DHPrivateKey.java,
4198         javax/crypto/interfaces/DHPublicKey.java,
4199         javax/crypto/interfaces/PBEKey.java,
4200         javax/net/ssl/HandshakeCompletedEvent.java,
4201         javax/security/auth/Subject.java:
4202         Removed redundant and reordered modifiers.
4203
4204 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
4205
4206         * gnu/java/net/natPlainSocketImplPosix.cc
4207         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4208         with 'int *' argument instead of 'long *'.
4209
4210 2004-10-21  Michael Koch  <konqueror@gmx.de>
4211
4212         * java/net/NetworkInterface.java,
4213         java/text/Format.java,
4214         javax/security/auth/x500/X500Principal.java,
4215         javax/security/auth/x500/X500PrivateCredential.java,
4216         javax/security/cert/X509CertBridge.java,
4217         javax/security/sasl/Sasl.java,
4218         javax/sql/XAConnection.java:
4219         Import cleanup.
4220
4221 2004-10-21  Michael Koch  <konqueror@gmx.de>
4222
4223         * javax/net/ssl/HandshakeCompletedEvent.java,
4224         javax/net/ssl/KeyManagerFactory.java,
4225         javax/net/ssl/SSLContext.java,
4226         javax/net/ssl/SSLServerSocketFactory.java,
4227         javax/net/ssl/SSLSession.java,
4228         javax/net/ssl/SSLSocketFactory.java,
4229         javax/net/ssl/TrustManagerFactory.java:
4230         Import cleanup.
4231
4232 2004-10-21  Michael Koch  <konqueror@gmx.de>
4233
4234         * javax/naming/directory/BasicAttribute.java,
4235         javax/naming/directory/BasicAttributes.java,
4236         javax/naming/directory/InitialDirContext.java,
4237         javax/naming/event/NamingEvent.java,
4238         javax/naming/ldap/ControlFactory.java,
4239         javax/naming/ldap/ExtendedRequest.java,
4240         javax/naming/ldap/InitialLdapContext.java,
4241         javax/naming/ldap/LdapReferralException.java,
4242         javax/naming/spi/DirObjectFactory.java,
4243         javax/naming/spi/DirStateFactory.java,
4244         javax/naming/spi/DirectoryManager.java,
4245         javax/naming/spi/InitialContextFactory.java,
4246         javax/naming/spi/InitialContextFactoryBuilder.java,
4247         javax/naming/spi/NamingManager.java,
4248         javax/naming/spi/ObjectFactory.java,
4249         javax/naming/spi/ObjectFactoryBuilder.java,
4250         javax/naming/spi/StateFactory.java:
4251         Import cleanup.
4252
4253 2004-10-21  Michael Koch  <konqueror@gmx.de>
4254
4255         * javax/crypto/Cipher.java,
4256         javax/crypto/EncryptedPrivateKeyInfo.java,
4257         javax/crypto/ExemptionMechanism.java,
4258         javax/crypto/KeyAgreement.java,
4259         javax/crypto/KeyGenerator.java,
4260         javax/crypto/Mac.java,
4261         javax/crypto/SecretKeyFactory.java,
4262         javax/crypto/SecretKeyFactorySpi.java,
4263         javax/crypto/spec/SecretKeySpec.java:
4264         Import cleanup.
4265
4266 2004-10-21  Michael Koch  <konqueror@gmx.de>
4267
4268         * java/security/AlgorithmParameterGenerator.java,
4269         java/security/AlgorithmParameters.java,
4270         java/security/AlgorithmParametersSpi.java,
4271         java/security/AllPermission.java,
4272         java/security/BasicPermission.java,
4273         java/security/Certificate.java,
4274         java/security/CodeSource.java,
4275         java/security/DigestInputStream.java,
4276         java/security/DigestOutputStream.java,
4277         java/security/GuardedObject.java,
4278         java/security/KeyFactory.java,
4279         java/security/KeyFactorySpi.java,
4280         java/security/KeyPairGenerator.java,
4281         java/security/KeyStore.java,
4282         java/security/KeyStoreSpi.java,
4283         java/security/Permissions.java,
4284         java/security/Security.java,
4285         java/security/Signature.java,
4286         java/security/UnresolvedPermission.java,
4287         java/security/cert/CertPathBuilder.java,
4288         java/security/cert/CertPathValidator.java,
4289         java/security/cert/CertStore.java,
4290         java/security/cert/Certificate.java,
4291         java/security/cert/CertificateFactory.java,
4292         java/security/cert/PolicyQualifierInfo.java,
4293         java/security/cert/TrustAnchor.java,
4294         java/security/cert/X509CRL.java,
4295         java/security/cert/X509CRLSelector.java,
4296         java/security/cert/X509CertSelector.java:
4297         Import cleanup.
4298
4299 2004-10-21  Michael Koch  <konqueror@gmx.de>
4300
4301         * java/rmi/MarshalledObject.java,
4302         java/rmi/Naming.java,
4303         java/rmi/activation/Activatable.java,
4304         java/rmi/activation/ActivationGroup.java,
4305         java/rmi/activation/ActivationGroupDesc.java,
4306         java/rmi/activation/ActivationInstantiator.java,
4307         java/rmi/activation/ActivationMonitor.java,
4308         java/rmi/activation/ActivationSystem.java,
4309         java/rmi/activation/Activator.java,
4310         java/rmi/registry/LocateRegistry.java,
4311         java/rmi/registry/Registry.java,
4312         java/rmi/server/LogStream.java,
4313         java/rmi/server/ObjID.java,
4314         java/rmi/server/RMIClientSocketFactory.java,
4315         java/rmi/server/RMIServerSocketFactory.java,
4316         java/rmi/server/RMISocketFactory.java,
4317         java/rmi/server/RemoteCall.java,
4318         java/rmi/server/RemoteServer.java,
4319         java/rmi/server/ServerRef.java,
4320         java/rmi/server/UID.java,
4321         java/rmi/server/UnicastRemoteObject.java:
4322         Import cleanup.
4323
4324 2004-10-21  Tom Tromey  <tromey@redhat.com>
4325
4326         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4327         exception if we hit EOF of `in'.
4328         (read): Handle case where inflating returns -1.
4329
4330 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
4331
4332         * gnu/java/nio/channels/natFileChannelPosix.cc
4333         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4334         argument instead of 'long *'.
4335
4336 2004-10-21  Tom Tromey  <tromey@redhat.com>
4337
4338         * java/util/ResourceBundle.java (tryBundle): Also ignore
4339         ClassCastException.
4340
4341 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
4342
4343         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4344         for all sh*-*-linux* targets.
4345         * configure: Regenerate.
4346         * include/sh-signal.h: New file.
4347
4348 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4349
4350         * java/lang/ieeefp.h: Add m32r support.
4351
4352 2004-10-20  Andreas Schwab  <schwab@suse.de>
4353
4354         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4355         to uaddr, not int.
4356         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4357         Likewise.
4358
4359 2004-10-20  Michael Koch  <konqueror@gmx.de>
4360
4361         * javax/print/attribute/standard/ColorSupported.java,
4362         javax/print/attribute/standard/Compression.java,
4363         javax/print/attribute/standard/Copies.java,
4364         javax/print/attribute/standard/CopiesSupported.java,
4365         javax/print/attribute/standard/DateTimeAtCompleted.java,
4366         javax/print/attribute/standard/DateTimeAtCreation.java,
4367         javax/print/attribute/standard/DateTimeAtProcessing.java,
4368         javax/print/attribute/standard/DocumentName.java,
4369         javax/print/attribute/standard/Fidelity.java,
4370         javax/print/attribute/standard/Finishings.java,
4371         javax/print/attribute/standard/JobHoldUntil.java,
4372         javax/print/attribute/standard/JobImpressions.java,
4373         javax/print/attribute/standard/JobImpressionsCompleted.java,
4374         javax/print/attribute/standard/JobImpressionsSupported.java,
4375         javax/print/attribute/standard/JobKOctets.java,
4376         javax/print/attribute/standard/JobKOctetsProcessed.java,
4377         javax/print/attribute/standard/JobKOctetsSupported.java,
4378         javax/print/attribute/standard/JobMediaSheets.java,
4379         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4380         javax/print/attribute/standard/JobMediaSheetsSupported.java,
4381         javax/print/attribute/standard/JobMessageFromOperator.java,
4382         javax/print/attribute/standard/JobName.java,
4383         javax/print/attribute/standard/JobOriginatingUserName.java,
4384         javax/print/attribute/standard/JobPriority.java,
4385         javax/print/attribute/standard/JobPrioritySupported.java,
4386         javax/print/attribute/standard/JobSheets.java,
4387         javax/print/attribute/standard/JobState.java,
4388         javax/print/attribute/standard/JobStateReason.java,
4389         javax/print/attribute/standard/JobStateReasons.java,
4390         javax/print/attribute/standard/Media.java,
4391         javax/print/attribute/standard/MultipleDocumentHandling.java,
4392         javax/print/attribute/standard/NumberOfDocuments.java,
4393         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4394         javax/print/attribute/standard/NumberUp.java,
4395         javax/print/attribute/standard/NumberUpSupported.java,
4396         javax/print/attribute/standard/OrientationRequested.java,
4397         javax/print/attribute/standard/OutputDeviceAssigned.java,
4398         javax/print/attribute/standard/PDLOverrideSupported.java,
4399         javax/print/attribute/standard/PageRanges.java,
4400         javax/print/attribute/standard/PagesPerMinute.java,
4401         javax/print/attribute/standard/PagesPerMinuteColor.java,
4402         javax/print/attribute/standard/PrintQuality.java,
4403         javax/print/attribute/standard/PrinterInfo.java,
4404         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4405         javax/print/attribute/standard/PrinterLocation.java,
4406         javax/print/attribute/standard/PrinterMakeAndModel.java,
4407         javax/print/attribute/standard/PrinterMessageFromOperator.java,
4408         javax/print/attribute/standard/PrinterMoreInfo.java,
4409         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4410         javax/print/attribute/standard/PrinterName.java,
4411         javax/print/attribute/standard/PrinterStateReason.java,
4412         javax/print/attribute/standard/PrinterStateReasons.java,
4413         javax/print/attribute/standard/PrinterURI.java,
4414         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4415         javax/print/attribute/standard/RequestingUserName.java:
4416         Reorganized imports and removed redundant final modifiers.
4417
4418 2004-10-20  Michael Koch  <konqueror@gmx.de>
4419
4420         * javax/security/sasl/SaslClient.java,
4421         javax/security/sasl/SaslClientFactory.java,
4422         javax/security/sasl/SaslException.java,
4423         javax/security/sasl/SaslServer.java,
4424         javax/security/sasl/SaslServerFactory.java:
4425         Remvoed CVS tags.
4426
4427 2004-10-20  Michael Koch  <konqueror@gmx.de>
4428
4429         * javax/security/auth/login/NullConfiguration.java,
4430         javax/security/auth/x500/X500Principal.java,
4431         javax/security/cert/X509Certificate.java,
4432         javax/security/sasl/AuthenticationException.java,
4433         javax/security/sasl/AuthorizeCallback.java,
4434         javax/security/sasl/RealmCallback.java,
4435         javax/security/sasl/RealmChoiceCallback.java,
4436         javax/security/sasl/Sasl.java,
4437         javax/security/sasl/SaslClient.java,
4438         javax/security/sasl/SaslClientFactory.java,
4439         javax/security/sasl/SaslException.java,
4440         javax/security/sasl/SaslServer.java,
4441         javax/security/sasl/SaslServerFactory.java:
4442         Cleaned up import statements and copyright notices.
4443
4444 2004-10-20  Michael Koch  <konqueror@gmx.de>
4445
4446         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4447
4448 2004-10-20  Michael Koch  <konqueror@gmx.de>
4449
4450         * java/sql/Timestamp.java,
4451         java/text/AttributedCharacterIterator.java,
4452         java/text/AttributedString.java,
4453         java/util/zip/CheckedOutputStream.java,
4454         java/util/zip/DeflaterOutputStream.java,
4455         java/util/zip/ZipFile.java,
4456         javax/crypto/Cipher.java,
4457         javax/crypto/ExemptionMechanismException.java,
4458         javax/crypto/SecretKey.java,
4459         javax/crypto/SecretKeyFactory.java,
4460         javax/naming/directory/ModificationItem.java,
4461         javax/naming/directory/SearchControls.java,
4462         javax/naming/event/NamingListener.java,
4463         javax/naming/ldap/Control.java,
4464         javax/naming/ldap/ExtendedResponse.java,
4465         javax/net/ssl/SSLSocketFactory.java:
4466         Reorganized imports and fixed copyright headers.
4467
4468 2004-10-20  Michael Koch  <konqueror@gmx.de>
4469
4470         * java/util/logging/ConsoleHandler.java,
4471         java/util/logging/ErrorManager.java,
4472         java/util/logging/FileHandler.java,
4473         java/util/logging/Filter.java,
4474         java/util/logging/Formatter.java,
4475         java/util/logging/Handler.java,
4476         java/util/logging/Level.java,
4477         java/util/logging/LogManager.java,
4478         java/util/logging/LogRecord.java,
4479         java/util/logging/Logger.java,
4480         java/util/logging/LoggingPermission.java,
4481         java/util/logging/MemoryHandler.java,
4482         java/util/logging/SimpleFormatter.java,
4483         java/util/logging/SocketHandler.java,
4484         java/util/logging/StreamHandler.java,
4485         java/util/logging/XMLFormatter.java:
4486         Standardized copyrigth header.
4487
4488 2004-10-20  Michael Koch  <konqueror@gmx.de>
4489
4490         * java/security/AlgorithmParameterGenerator.java,
4491         java/security/AlgorithmParameters.java,
4492         java/security/DigestInputStream.java,
4493         java/security/Identity.java,
4494         java/security/KeyFactory.java,
4495         java/security/KeyPairGenerator.java,
4496         java/security/KeyStore.java,
4497         java/security/MessageDigest.java,
4498         java/security/MessageDigestSpi.java,
4499         java/security/Policy.java,
4500         java/security/SecureRandom.java,
4501         java/security/Security.java,
4502         java/security/Signature.java,
4503         java/security/SignatureSpi.java,
4504         java/security/cert/CertPathBuilder.java,
4505         java/security/cert/CertPathValidator.java,
4506         java/security/cert/CertStore.java,
4507         java/security/cert/Certificate.java,
4508         java/security/cert/CertificateFactory.java,
4509         java/security/cert/PolicyQualifierInfo.java,
4510         java/security/cert/TrustAnchor.java,
4511         java/security/cert/X509CRL.java,
4512         java/security/cert/X509CRLEntry.java,
4513         java/security/cert/X509Certificate.java,
4514         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4515         Import statements reorganized, some little formatting issues,
4516         used java-style array declarations, added comments in empty catch
4517         blocks.
4518
4519 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4520
4521         * java/security/Security.java
4522         (static): Use AccessController.doPrivileged to get system property.
4523
4524 2004-10-18  Sven de Marothy  <sven@physto.se>
4525
4526         * java/nio/ByteBufferHelper.java
4527         (putDouble): Use Double.toRawLongBits instead.
4528
4529 2004-10-18  Mark Wielaard  <mark@klomp.org>
4530         Andrew Haley  <aph@redhat.com>
4531
4532         * testsuite/libjava.lang/ExtraClassLoader.java: New.
4533
4534 2004-10-18  Andrew Haley  <aph@redhat.com>
4535
4536         PR java/18036:
4537         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4538         and correct logic used to find interpreter.
4539         
4540 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4541
4542         * java/util/logging/LogManager.java
4543         (findAncestor): Fixed IndexOutOfBoundsException.
4544
4545 2004-10-18  Michael Koch  <konqueror@gmx.de>
4546
4547         * java/io/BufferedInputStream.java: Fixed @author tag.
4548         (read): Simplified expression.
4549         (read): Merged javadoc a bit more.
4550         (read): Renamed 'remain' to 'totalBytesRead'.
4551         * java/io/DataInputStream.java,
4552         java/io/DataOutputStream.java,
4553         java/io/ObjectInputStream.java,
4554         java/io/ObjectOutputStream.java:
4555         Reworked modifier order.
4556
4557 2004-10-18  Michael Koch  <konqueror@gmx.de>
4558
4559         * java/net/Inet4Address.java: Merged file header and javadocs.
4560         * java/net/Inet6Address.java: Likewise.
4561         * java/net/InetAddress.java
4562         (getCanonicalHostName): Create Inet4Address object instead of
4563         InetAddress and add comment regarding IPv6.
4564         (toString): Simplified.
4565
4566 2004-10-18  Michael Koch  <konqueror@gmx.de>
4567
4568         * gnu/java/net/protocol/http/Connection.java,
4569         java/nio/MappedByteBufferImpl.java,
4570         java/text/RuleBasedCollator.java,
4571         java/util/ResourceBundle.java:
4572         Reworked import statements.
4573
4574 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4575
4576         * java/security/IdentityScope.java
4577         (systemScope): Removed useless initializer.
4578         * java/security/Policy.java
4579         (currentPolicy): Likewise.
4580
4581 2004-10-18  Michael Koch  <konqueror@gmx.de>
4582
4583         * java/lang/System.java: Revert accidential change.
4584
4585 2004-10-18  Michael Koch  <konqueror@gmx.de>
4586
4587         * java/lang/Math.java,
4588         java/lang/Package.java,
4589         java/lang/Runtime.java,
4590         java/lang/StrictMath.java,
4591         java/lang/System.java,
4592         java/lang/Thread.java,
4593         java/lang/ThreadLocal.java,
4594         java/lang/Void.java:
4595         Reworked import statements, HTML in javadocs and modifier orders.
4596
4597 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4598
4599         * java/util/Timer.java
4600         (nr): Removed useless initializer.
4601         * java/util/logging/LogRecord.java
4602         (lastSeqNum): Likewise.
4603         * javax/naming/spi/NamingManager.java
4604         (icfb, ofb): Likewise.
4605
4606 2004-10-18  Michael Koch  <konqueror@gmx.de>
4607
4608         * gnu/java/net/PlainDatagramSocketImpl.java:
4609         Reworked import statements.
4610         * gnu/java/security/provider/DSAParameters.java:
4611         Fixed copyrigth years.
4612         * java/net/JarURLConnection.java:
4613         Fixed HTML in @author tags.
4614         
4615
4616 2004-10-18  Michael Koch  <konqueror@gmx.de>
4617
4618         * java/rmi/activation/ActivationSystem.java
4619         (SYSTEM_PORT): Initialize with correct port number.
4620
4621 2004-10-18  Michael Koch  <konqueror@gmx.de>
4622
4623         * java/lang/reflect/Proxy.java: Improved javadocs.
4624
4625 2004-10-18  Michael Koch  <konqueror@gmx.de>
4626
4627         * java/lang/reflect/AccessibleObject.java
4628         (checkPermission): Removed redundant final modifier.
4629         (secureSetAccessible): Likewise.
4630         * java/lang/reflect/Proxy.java:
4631         Reworked import statements.
4632         (generate): Removed redundant final modifier.
4633         * java/lang/reflect/ReflectPermission.java:
4634         Reorder package declaration and import statement.
4635
4636 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4637
4638         * java/lang/reflect/Proxy.java
4639         (count): Removed useless initializer.
4640
4641 2004-10-17  Michael Koch  <konqueror@gmx.de>
4642
4643         * java/net/BindException.java,
4644         java/net/ConnectException.java,
4645         java/net/ContentHandler.java,
4646         java/net/ContentHandlerFactory.java,
4647         java/net/DatagramPacket.java,
4648         java/net/DatagramSocket.java,
4649         java/net/DatagramSocketImpl.java,
4650         java/net/DatagramSocketImplFactory.java,
4651         java/net/FileNameMap.java,
4652         java/net/HttpURLConnection.java,
4653         java/net/MalformedURLException.java,
4654         java/net/MulticastSocket.java,
4655         java/net/NetworkInterface.java,
4656         java/net/NoRouteToHostException.java,
4657         java/net/PasswordAuthentication.java,
4658         java/net/PortUnreachableException.java,
4659         java/net/ProtocolException.java,
4660         java/net/ServerSocket.java,
4661         java/net/Socket.java,
4662         java/net/SocketException.java,
4663         java/net/SocketImpl.java,
4664         java/net/SocketImplFactory.java,
4665         java/net/SocketOptions.java,
4666         java/net/SocketPermission.java,
4667         java/net/SocketTimeoutException.java,
4668         java/net/URI.java,
4669         java/net/URISyntaxException.java,
4670         java/net/URL.java,
4671         java/net/URLDecoder.java,
4672         java/net/URLEncoder.java,
4673         java/net/URLStreamHandler.java,
4674         java/net/URLStreamHandlerFactory.java,
4675         java/net/UnknownHostException.java,
4676         java/net/UnknownServiceException.java:
4677         Big import statement and @author tag cleanup.
4678
4679 2004-10-17  Michael Koch  <konqueror@gmx.de>
4680
4681         * gnu/java/security/OID.java,
4682         gnu/java/security/provider/DSAParameters.java,
4683         gnu/java/security/provider/DSASignature.java,
4684         gnu/java/security/x509/X500DistinguishedName.java,
4685         gnu/java/security/x509/X509CRL.java:
4686         Import statements cleaned up.
4687
4688 2004-10-16  Michael Koch  <konqueror@gmx.de>
4689
4690         * gnu/java/nio/NIODatagramSocket.java,
4691         gnu/java/nio/ServerSocketChannelImpl.java:
4692         Reorganized import statements.
4693
4694 2004-10-16  Michael Koch  <konqueror@gmx.de>
4695
4696         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4697         gnu/java/rmi/rmic/RMIC.java,
4698         gnu/java/rmi/server/RMIHashes.java,
4699         gnu/java/rmi/server/RMIObjectInputStream.java,
4700         gnu/java/rmi/server/RMIObjectOutputStream.java,
4701         gnu/java/rmi/server/UnicastConnection.java,
4702         gnu/java/rmi/server/UnicastConnectionManager.java,
4703         gnu/java/rmi/server/UnicastRemoteCall.java,
4704         gnu/java/rmi/server/UnicastServer.java,
4705         gnu/java/rmi/server/UnicastServerRef.java,
4706         java/rmi/MarshalledObject.java,
4707         java/rmi/Naming.java,
4708         java/rmi/RMISecurityManager.java,
4709         java/rmi/Remote.java,
4710         java/rmi/activation/Activatable.java,
4711         java/rmi/activation/ActivationDesc.java,
4712         java/rmi/activation/ActivationGroup.java,
4713         java/rmi/activation/ActivationGroupDesc.java,
4714         java/rmi/activation/ActivationGroupID.java,
4715         java/rmi/activation/ActivationID.java,
4716         java/rmi/activation/ActivationInstantiator.java,
4717         java/rmi/activation/ActivationMonitor.java,
4718         java/rmi/activation/ActivationSystem.java,
4719         java/rmi/activation/Activator.java,
4720         java/rmi/dgc/DGC.java,
4721         java/rmi/dgc/Lease.java,
4722         java/rmi/dgc/VMID.java,
4723         java/rmi/registry/LocateRegistry.java,
4724         java/rmi/registry/Registry.java,
4725         java/rmi/registry/RegistryHandler.java,
4726         java/rmi/server/LoaderHandler.java,
4727         java/rmi/server/LogStream.java,
4728         java/rmi/server/ObjID.java,
4729         java/rmi/server/Operation.java,
4730         java/rmi/server/RMIClassLoader.java,
4731         java/rmi/server/RMIClassLoaderSpi.java,
4732         java/rmi/server/RMIClientSocketFactory.java,
4733         java/rmi/server/RMIFailureHandler.java,
4734         java/rmi/server/RMIServerSocketFactory.java,
4735         java/rmi/server/RMISocketFactory.java,
4736         java/rmi/server/RemoteCall.java,
4737         java/rmi/server/RemoteObject.java,
4738         java/rmi/server/RemoteRef.java,
4739         java/rmi/server/RemoteServer.java,
4740         java/rmi/server/RemoteStub.java,
4741         java/rmi/server/ServerRef.java,
4742         java/rmi/server/Skeleton.java,
4743         java/rmi/server/SkeletonMismatchException.java,
4744         java/rmi/server/UID.java,
4745         java/rmi/server/UnicastRemoteObject.java,
4746         java/rmi/server/Unreferenced.java:
4747         File headers and import statements cleaned up.
4748
4749 2004-10-16  Michael Koch  <konqueror@gmx.de>
4750
4751         * libjava/gnu/java/nio/charset/UTF_16.java,
4752         libjava/gnu/java/nio/charset/UTF_16BE.java,
4753         libjava/gnu/java/nio/charset/UTF_16LE.java,
4754         libjava/java/nio/ByteOrder.java,
4755         libjava/java/nio/MappedByteBuffer.java,
4756         libjava/java/nio/channels/Channels.java,
4757         libjava/java/nio/channels/spi/SelectorProvider.java,
4758         libjava/java/nio/charset/Charset.java:
4759         Cleanup.
4760
4761 2004-10-16  Michael Koch  <konqueror@gmx.de>
4762
4763         * gnu/java/nio/charset/UTF_16Encoder.java
4764         (UTF_16Encoder): Fixed maxBytesPerChar handling.
4765
4766 2004-10-16  Michael Koch  <konqueror@gmx.de>
4767
4768         * java/math/BigDecimal.java, java/math/BigInteger.java:
4769         Reorganized import statements, removed redundant and
4770         reorganized modifiers.
4771
4772 2004-10-16  Michael Koch  <konqueror@gmx.de>
4773
4774         * gnu/java/beans/ExplicitBeanInfo.java:
4775         Explicitely import java.awt.Image.
4776         (getIcon): Fixed off-by-one error.
4777
4778 2004-10-15  Andrew Haley  <aph@redhat.com>
4779
4780         * Makefile.am (nat_files, xlib_nat_files): New.
4781         * Makefile.in: Regenerate.
4782
4783 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
4784
4785         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
4786         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
4787
4788 2004-10-13  Andrew Haley  <aph@redhat.com>
4789
4790         * interpret.cc (_Jv_InterpMethod::run): Initialize
4791         _Jv_StartOfInterpreter.
4792         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
4793         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
4794         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
4795         _Unwind_FindEnclosingFunction to discover whether PC is within the
4796         interpreter.
4797
4798 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
4799
4800         PR libgcj/17903:
4801         * testsuite/libjava.lang/md5test.java: New file.
4802         * testsuite/libjava.lang/md5test.out: Likewise.
4803         * testsuite/libjava.lang/shatest.java: Likewise.
4804         * testsuite/libjava.lang/shatest.out: Likewise.
4805
4806 2004-10-11  Richard Henderson  <rth@redhat.com>
4807
4808         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
4809         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
4810
4811 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
4812
4813         * java/util/Calendar.java (set): Invalidate DST_OFFSET
4814         field as a DST boundary may have been crossed.
4815         * java/util/GregorianCalendar.java (add): Throw 
4816         IllegalArgumentException on attempt to add to DST_OFFSET or 
4817         ZONE_OFFSET fields. Update javadoc.
4818
4819 2004-10-09  Michael Koch  <konqueror@gmx.de>
4820
4821         * java/io/CharArrayWriter.java
4822         (resize): Removed redundant 'final' modifier.
4823         * java/io/DataInputStream.java
4824         (readFully): Throw IndexOutOfBoundsException of len < 0.
4825         * java/io/FileDescriptor.java,
4826         java/io/FileInputStream.java,
4827         java/io/FileOutputStream.java,
4828         java/io/ObjectOutputStream.java,
4829         java/io/ObjectStreamClass.java,
4830         java/io/PipedInputStream.java,
4831         java/io/RandomAccessFile.java:
4832         Reorganized import statements.
4833
4834 2004-10-09  Michael Koch  <konqueror@gmx.de>
4835
4836         * gnu/java/rmi/rmic/RMIC.java,
4837         gnu/java/rmi/server/RMIHashes.java,
4838         gnu/java/rmi/server/RMIObjectInputStream.java,
4839         gnu/java/rmi/server/UnicastConnection.java,
4840         gnu/java/rmi/server/UnicastConnectionManager.java,
4841         gnu/java/rmi/server/UnicastRemoteCall.java,
4842         gnu/java/rmi/server/UnicastServerRef.java:
4843         Reworked import statements and fixed file headers.
4844
4845 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
4846
4847         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
4848         emission rule.
4849         * configure: Rebuilt.
4850
4851 2004-09-30  Tom Tromey  <tromey@redhat.com>
4852
4853         * java/text/MessageFormat.java (Field): Constructor now
4854         protected.
4855
4856 2004-09-30  Tom Tromey  <tromey@redhat.com>
4857
4858         * javax/crypto/MacSpi.java: Fixed typo.
4859
4860 2004-09-30  Michael Koch  <konqueror@gmx.de>
4861
4862         * java/net/InetAddress.java: Reformatted.
4863         (loopback): Initialize with Inet4Address object.
4864         (static): Initialize ANY_IF with Inet4Address object.
4865         (InetAddress): Removed unused package-private constructor.
4866
4867 2004-09-30  Michael Koch  <konqueror@gmx.de>
4868
4869         * java/beans/Beans.java,
4870         java/beans/EventHandler.java,
4871         java/beans/EventSetDescriptor.java,
4872         java/beans/Introspector.java,
4873         java/beans/PropertyEditorManager.java,
4874         java/beans/beancontext/BeanContext.java,
4875         java/beans/beancontext/BeanContextChild.java,
4876         java/beans/beancontext/BeanContextChildSupport.java,
4877         java/beans/beancontext/BeanContextMembershipEvent.java:
4878         Reordered import statements and removed redundant modifiers.
4879
4880 2004-09-29  Tom Tromey  <tromey@redhat.com>
4881
4882         PR libgcj/17715:
4883         * Makefile.in: Rebuilt.
4884         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
4885         files.
4886         (all_property_files): New macro.
4887
4888         * Makefile.in: Rebuilt.
4889         * Makefile.am (ordinary_java_source_files): Re-sorted.
4890         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
4891
4892 2004-09-28  Tom Tromey  <tromey@redhat.com>
4893
4894         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
4895
4896         PR libgcj/17222:
4897         * Makefile.am (libgcj.la): Restored.
4898         * Makefile.in: Rebuilt.
4899
4900 2004-09-28  Michael Koch  <konqueror@gmx.de>
4901
4902         * java/net/URLConnection.java: Reformatted.
4903         * java/net/URLClassLoader.java: Reformatted.
4904         (getContent): Reordered return of content.
4905         (getContentHandler): Don't check for null explicitely.
4906
4907 2004-09-27  Michael Koch  <konqueror@gmx.de>
4908
4909         * java/io/BufferedInputStream.java
4910         (BufferedInputStream): Added Jeroen Frijters to authors.
4911         (count): Don't explicitely initialize with default value.
4912         (pos): Likewise.
4913         (marklimit): Likewise.
4914         (read): Changed boolean expression to match GNU classpath' version.
4915         (reset): Add proper message to exception.
4916         (skip): Check for closed stream.
4917         (refill): Likewise.
4918
4919 2004-09-26  Per Bothner  <per@bothner.com>
4920
4921         * prims.cc (unblock_signal): Annotate signum with __unused__ to
4922         avoid warnings in the non-POSIX_VERSION case.
4923         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
4924         so place it inside an #if block.
4925         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
4926         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
4927         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
4928         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
4929
4930 2004-09-26  Per Bothner  <per@bothner.com>
4931
4932         * prims.cc (process_gcj_properties):  Optimization.
4933
4934 2004-09-26  Per Bothner  <per@bothner.com>
4935
4936         * java/util/Collections.java (sort):  Copy from array in forwards
4937         order, rather than reverse order which may be much less efficient.
4938
4939 2004-09-26  Mark Wielaard  <mark@klomp.org>
4940
4941         * java/lang/System.java (properties): Make package private.
4942         * java/lang/Throwable.java (StaticData.nl): Initialize through
4943         directly accessing System.properties.getProperty().
4944
4945         * java/lang/Throwable.java (nl): Remove static field.
4946         (StaticData): New private static inner class.
4947         (stackTraceStringBuffer): Use StaticData.nl.
4948
4949 2004-09-26  Casey Marshall <csm@gnu.org>
4950
4951         * java/security/ProtectionDomain.java
4952         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
4953         `true'.
4954
4955         * java/security/SecureClassLoader.java
4956         (defineClass): make protection domain dynamically bound.
4957         (getPermissions): call `getCurrentPolicy' to avoid permission
4958         check.
4959
4960 2004-09-25  Mark Wielaard  <mark@klomp.org>
4961
4962         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
4963         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
4964         * Makefile.in: Regenerated.
4965
4966         * gcj/javaprims.h: Regenerated.
4967
4968         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
4969         (getDefaultTimeZone): Make package private. Check that GMToffset
4970         contains at least one digit.
4971         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
4972         VMTimeZone.
4973         * util/VMTimeZone.java: New file with above methods.
4974
4975         * java/util/natTimeZone.cc: Removed (renamed).
4976         * java/util/natVMTimeZone.cc: Added (renamed).
4977
4978 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
4979
4980         * java/util/TimeZone.java
4981         (getDefaultTimeZone): Fixed test to distinguish between hours and
4982         minutes in specified timezone.
4983
4984 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
4985
4986         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
4987         handling of default package. (generate): Removed confused comments
4988         and code about making Method and Field accessible.
4989
4990 2004-09-25  Tom Tromey  <tromey@redhat.com>
4991
4992         PR java/17500:
4993         * testsuite/libjava.compile/pr17500.java: New file.
4994
4995 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
4996             Mark Wielaard  <mark@klomp.org>
4997
4998         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
4999         * gnu/regexp/RETokenLookAhead.java: New file.
5000
5001         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5002         * Makefile.in: Regenerated.
5003
5004 2004-09-25  Michael Koch  <konqueror@gmx.de>
5005
5006         * java/io/ObjectStreamField.java:
5007         Removed unused import statement.
5008
5009 2004-09-24  Tom Tromey  <tromey@redhat.com>
5010
5011         PR java/15656:
5012         * testsuite/libjava.compile/pr15656.xfail: New file.
5013         * testsuite/libjava.compile/pr15656.java: new file.
5014
5015         PR java/16789:
5016         * testsuite/libjava.lang/pr16789.out: New file.
5017         * testsuite/libjava.lang/pr16789.java: New file.
5018
5019 2004-09-24  Andrew Haley  <aph@redhat.com>
5020
5021         PR java/16927
5022         * testsuite/libjava.compile/AssertBug.java: New file.
5023
5024 2004-09-24  Casey Marshall <csm@gnu.org>
5025
5026         * java/util/PropertyPermissionCollection.java
5027         (implies): avoid infinite loop.
5028
5029 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5030
5031         * javax/security/auth/PrivateCredentialPermission.java
5032         (PrivateCredentialPermission): added serialization UID
5033
5034
5035 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
5036
5037         * gnu/java/rmi/server/UnicastServer.java
5038         (incomingMessageCall): Added code to handle Errors.
5039         * gnu/java/rmi/server/UnicastServerRef.java
5040         (incomingMessageCall): Added code to handle Errors.
5041
5042
5043 2004-09-24  Tom Tromey  <tromey@redhat.com>
5044
5045         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5046         (definedPackages): Likewise.
5047
5048 2004-09-24  Michael Koch  <konqueror@gmx.de>
5049
5050         * java/io/ObjectInputStream.java:
5051         Re-ordered imports.
5052
5053 2004-09-24  Casey Marshall <csm@gnu.org>
5054
5055         * java/io/ObjectInputStream.java (callReadMethod): re-throw
5056         `ClassNotFoundException'.
5057
5058 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5059
5060         * java/io/ObjectInputStream.java (readObject): Delegate instantation
5061         of Externalizable classes to ObjectStreamClass.
5062         * java/io/ObjectStreamClass.java (newInstance): New method to
5063         instantiate Externalizable (while ignoring the accessibility of
5064         the constructor). (constructor): New field to cache the constructor.
5065
5066 2004-09-24  Mark Wielaard  <mark@klomp.org>
5067
5068         * java/net/URL.java (systemClassLoader): New static field.
5069         (getURLStreamHandler): Always use system/application classloader
5070         for finding URLStreamhandler. Remove unecessary instanceof checks.
5071
5072 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
5073
5074         * java/net/URL.java
5075         (set): This method now matches the behaviour of the JDK.
5076         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5077
5078 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
5079
5080         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5081
5082 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5083
5084         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5085         Don't set authority if host isn't specified.
5086
5087 2004-09-24  Michael Koch  <konqueror@gmx.de>
5088
5089         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5090         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5091         * gnu/java/nio/VMPipe.java,
5092         gnu/java/nio/VMSelector.java:
5093         New files.
5094         * gnu/java/nio/natPipeImplEcos.cc,
5095         gnu/java/nio/natPipeImplPosix.cc,
5096         gnu/java/nio/natPipeImplWin32.cc:
5097         Ported to VMPipe.
5098         * gnu/java/nio/natSelectorImplEcos.cc,
5099         gnu/java/nio/natSelectorImplPosix.cc,
5100         gnu/java/nio/natSelectorImplWin32.cc:
5101         Ported to VMSelector.
5102         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5103         gnu/java/nio/VMSelector.java.
5104         * Makefile.in: Regenerated.
5105
5106 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5107
5108         * java/lang/StackTraceElement.java
5109         (className): Renamed field to declaringClass to be compatible
5110         with Sun serialization format.
5111
5112 2004-09-23  Michael Koch  <konqueror@gmx.de>
5113
5114         * java/applet/AppletContext.java,
5115         java/applet/Applet.java,
5116         java/applet/AppletStub.java,
5117         java/applet/AudioClip.java:
5118         Jalopied and checkstyle clean.
5119
5120         * javax/swing/JCheckBox.java: Reformated.
5121         (JCheckBox): Fixed all constructors.
5122         (isBorderPaintedFlat): New method.
5123         (setBorderPaintedFlat): New method.
5124         * javax/swing/JEditorPane.java
5125         (createEditorKitForContentType): Made public.
5126         (scrollToReference): Likewise.
5127         * javax/swing/JTextArea.java
5128         (setLineWrap): Fire property change.
5129         * javax/swing/JToggleButton.java
5130         (JToggleButton): New constructor.
5131         (JToggleButton): Simplified.
5132         * javax/swing/text/AttributeSet.java
5133         (FontAttribute): Renamed from FontCharacterAttribute.
5134         * javax/swing/text/JTextComponent.java
5135         (KeyBinBinding): Added javadoc.
5136         (JTextComponent): Likewise.
5137         (getAccessibleContext): Fixed javadoc.
5138         * javax/swing/text/View.java
5139         (View): Added javadoc.
5140         * javax/swing/text/TabableView.java: New file.
5141         * Makefile.am: Added javax/swing/text/TabableView.java.
5142         * Makefile.in: Regenerated.
5143 2004-09-23  Mark Wielaard  <mark@klomp.org>
5144
5145         * java/util/Collections.java
5146         (binarySearch(List, Object, Comparator)): Explicitly
5147         reverse direction in list iterator.
5148         (rotate): Just return when list is empty.
5149
5150 2004-09-23  Tom Tromey  <tromey@redhat.com>
5151
5152         PR java/17329:
5153         * testsuite/libjava.compile/pr17329.java: New file.
5154
5155         PR java/17380:
5156         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5157         9.2-implicit-7.
5158
5159 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5160
5161         * Makefile.am: Run aclocal with -I ../config
5162         * acinclude.m4: Delete macros picked up from ../config and tidy.
5163         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5164         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5165         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5166
5167 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5168
5169         * aclocal.m4: Regenerate with aclocal 1.9.2.
5170         * configure: Regenerate.
5171         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5172         * include/Makefile.in, testsuite/Makefile.in: Likewise.
5173
5174 2004-09-22  David Daney  <ddaney@avtrex.com>
5175
5176         PR libgcj/17623
5177         * java/net/URL.java (URL): Copy userInfo from context.
5178         (getUserInfo): Return cached userInfo if present.
5179
5180 2004-09-22  Tom Tromey  <tromey@redhat.com>
5181
5182         PR libgcj/6182:
5183         * mauve-libgcj: Enable java.lang.Character tests.
5184
5185 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5186
5187         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5188         dependencies.
5189         (lib_org_ietf_jgss_la_LIBADD): Likewise.
5190         * Makefile.in: Regenerated.
5191
5192 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5193
5194         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5195         * configure: Regenerate.
5196         * include/config.h.in: Likewise.
5197         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5199         macro to gtkpeer.h.
5200         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5201         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5202         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5203         architectures.
5204         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5205         Likewise.
5206
5207 2004-09-22  Tom Tromey  <tromey@redhat.com>
5208
5209         PR libgcj/14446:
5210         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5211         when comparing CRCs.
5212         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5213         field.
5214         (read()): New overload.
5215
5216 2004-09-21  Tom Tromey  <tromey@redhat.com>
5217
5218         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5219         Indentation fix.
5220
5221 2004-09-21  Michael Koch  <konqueror@gmx.de>
5222
5223         * java/net/Socket.java
5224         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5225
5226 2004-09-21  Casey Marshall  <csm@gnu.org>
5227
5228         * javax/crypto/MacSpi.java (clone): Provide meaningful
5229         implementation.
5230
5231 2004-09-21  Tom Tromey  <tromey@redhat.com>
5232
5233         PR libgcj/16869:
5234         * Makefile.in: Rebuilt.
5235         * Makefile.am (MOSTLYCLEANFILES): Removed.
5236         (mostlyclean-local): Remove header files.
5237
5238 2004-09-21  Casey Marshall  <csm@gnu.org>
5239
5240         * java/security/cert/X509CRLSelector.java:
5241         (match): remove unreachable try-catch clauses.
5242         Reported by: Dalibor Topic <robilad@kaffe.org>
5243
5244 2004-09-21  Mark Wielaard  <mark@klomp.org>
5245
5246         * java/util/TreeMap.java (root): Don't initialize.
5247         (TreeMap(Comparator)): Call fabricateTree(0).
5248         (fabricateTree): Initialize root and size when count is 0.
5249
5250 2004-09-21  Sven de Marothy <sven@physto.se>
5251
5252         * java/nio/ByteBuffer.java (hashCode): Implemented.
5253         * java/nio/CharBuffer.java: Likewise.
5254         * java/nio/DoubleBuffer.java: Likewise.
5255         * java/nio/FloatBuffer.java: Likewise.
5256         * java/nio/LongBuffer.java: Likewise.
5257         * java/nio/IntBuffer.java: Likewise.
5258         * java/nio/ShortBuffer.java: Likewise.
5259
5260 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5261
5262         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5263
5264 2004-09-21  Michael Koch  <konqueror@gmx.de>
5265
5266         * javax/net/ssl/SSLServerSocket.java:
5267         Removed comment about "Do not edit this file, it's generated.".
5268
5269 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5270
5271         Import the big Crypto/Jessie/Security merge from Classpath.
5272
5273         * Makefile.am: Add imported files.
5274         * Makefile.in: Regenerate.
5275
5276         2004-08-14  Casey Marshall <csm@gnu.org>
5277
5278         The Big Crypto Merge of 2004.
5279
5280         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5281         Crypto's version.
5282
5283         Files imported from GNU Crypto.
5284         * javax/crypto/BadPaddingException.java
5285         * javax/crypto/Cipher.java
5286         * javax/crypto/CipherInputStream.java
5287         * javax/crypto/CipherOutputStream.java
5288         * javax/crypto/CipherSpi.java
5289         * javax/crypto/EncryptedPrivateKeyInfo.java
5290         * javax/crypto/ExemptionMechanism.java
5291         * javax/crypto/ExemptionMechanismException.java
5292         * javax/crypto/ExemptionMechanismSpi.java
5293         * javax/crypto/IllegalBlockSizeException.java
5294         * javax/crypto/KeyAgreement.java
5295         * javax/crypto/KeyAgreementSpi.java
5296         * javax/crypto/KeyGenerator.java
5297         * javax/crypto/KeyGeneratorSpi.java
5298         * javax/crypto/Mac.java
5299         * javax/crypto/MacSpi.java
5300         * javax/crypto/Makefile.am
5301         * javax/crypto/NoSuchPaddingException.java
5302         * javax/crypto/NullCipher.java
5303         * javax/crypto/NullCipherImpl.java
5304         * javax/crypto/SealedObject.java
5305         * javax/crypto/SecretKey.java
5306         * javax/crypto/SecretKeyFactory.java
5307         * javax/crypto/SecretKeyFactorySpi.java
5308         * javax/crypto/ShortBufferException.java
5309         * javax/crypto/interfaces/DHKey.java
5310         * javax/crypto/interfaces/DHPrivateKey.java
5311         * javax/crypto/interfaces/DHPublicKey.java
5312         * javax/crypto/interfaces/PBEKey.java
5313         * javax/crypto/spec/DESKeySpec.java
5314         * javax/crypto/spec/DESedeKeySpec.java
5315         * javax/crypto/spec/DHGenParameterSpec.java
5316         * javax/crypto/spec/DHParameterSpec.java
5317         * javax/crypto/spec/DHPrivateKeySpec.java
5318         * javax/crypto/spec/DHPublicKeySpec.java
5319         * javax/crypto/spec/IvParameterSpec.java
5320         * javax/crypto/spec/PBEKeySpec.java
5321         * javax/crypto/spec/PBEParameterSpec.java
5322         * javax/crypto/spec/RC2ParameterSpec.java
5323         * javax/crypto/spec/RC5ParameterSpec.java
5324         * javax/crypto/spec/SecretKeySpec.java
5325         * javax/security/auth/AuthPermission.java
5326         * javax/security/auth/DestroyFailedException.java
5327         * javax/security/auth/Destroyable.java
5328         * javax/security/auth/Policy.java
5329         * javax/security/auth/PrivateCredentialPermission.java
5330         * javax/security/auth/RefreshFailedException.java
5331         * javax/security/auth/Refreshable.java
5332         * javax/security/auth/Subject.java
5333         * javax/security/auth/SubjectDomainCombiner.java
5334         * javax/security/auth/callback/Callback.java
5335         * javax/security/auth/callback/CallbackHandler.java
5336         * javax/security/auth/callback/ChoiceCallback.java
5337         * javax/security/auth/callback/ConfirmationCallback.java
5338         * javax/security/auth/callback/LanguageCallback.java
5339         * javax/security/auth/callback/NameCallback.java
5340         * javax/security/auth/callback/PasswordCallback.java
5341         * javax/security/auth/callback/TextInputCallback.java
5342         * javax/security/auth/callback/TextOutputCallback.java
5343         * javax/security/auth/callback/UnsupportedCallbackException.java
5344         * javax/security/auth/login/AccountExpiredException.java
5345         * javax/security/auth/login/AppConfigurationEntry.java
5346         * javax/security/auth/login/Configuration.java
5347         * javax/security/auth/login/CredentialExpiredException.java
5348         * javax/security/auth/login/FailedLoginException.java
5349         * javax/security/auth/login/LoginContext.java
5350         * javax/security/auth/login/LoginException.java
5351         * javax/security/auth/login/NullConfiguration.java
5352         * javax/security/auth/x500/X500PrivateCredential.java
5353         * javax/security/sasl/AuthenticationException.java
5354         * javax/security/sasl/AuthorizeCallback.java
5355         * javax/security/sasl/RealmCallback.java
5356         * javax/security/sasl/RealmChoiceCallback.java
5357         * javax/security/sasl/Sasl.java
5358         * javax/security/sasl/SaslClient.java
5359         * javax/security/sasl/SaslClientFactory.java
5360         * javax/security/sasl/SaslException.java
5361         * javax/security/sasl/SaslServer.java
5362         * javax/security/sasl/SaslServerFactory.java
5363         * org/ietf/jgss/ChannelBinding.java
5364         * org/ietf/jgss/GSSContext.java
5365         * org/ietf/jgss/GSSCredential.java
5366         * org/ietf/jgss/GSSException.java
5367         * org/ietf/jgss/GSSManager.java
5368         * org/ietf/jgss/GSSName.java
5369         * org/ietf/jgss/MessageProp.java
5370         * org/ietf/jgss/Oid.java
5371         * org/ietf/jgss/MessagesBundle.properties
5372
5373         Files imported from Jessie <http://www.nongnu.org/jessie/>
5374         * javax/net/ServerSocketFactory.java
5375         * javax/net/SocketFactory.java
5376         * javax/net/VanillaServerSocketFactory.java
5377         * javax/net/VanillaSocketFactory.java
5378         * javax/net/ssl/HandshakeCompletedEvent.java
5379         * javax/net/ssl/HandshakeCompletedListener.java
5380         * javax/net/ssl/HostnameVerifier.java
5381         * javax/net/ssl/HttpsURLConnection.java
5382         * javax/net/ssl/KeyManager.java
5383         * javax/net/ssl/KeyManagerFactory.java
5384         * javax/net/ssl/KeyManagerFactorySpi.java
5385         * javax/net/ssl/ManagerFactoryParameters.java
5386         * javax/net/ssl/SSLContext.java
5387         * javax/net/ssl/SSLContextSpi.java
5388         * javax/net/ssl/SSLException.java
5389         * javax/net/ssl/SSLHandshakeException.java
5390         * javax/net/ssl/SSLKeyException.java
5391         * javax/net/ssl/SSLPeerUnverifiedException.java
5392         * javax/net/ssl/SSLPermission.java
5393         * javax/net/ssl/SSLProtocolException.java
5394         * javax/net/ssl/SSLServerSocket.java
5395         * javax/net/ssl/SSLServerSocketFactory.java
5396         * javax/net/ssl/SSLSession.java
5397         * javax/net/ssl/SSLSessionBindingEvent.java
5398         * javax/net/ssl/SSLSessionBindingListener.java
5399         * javax/net/ssl/SSLSessionContext.java
5400         * javax/net/ssl/SSLSocket.java
5401         * javax/net/ssl/SSLSocketFactory.java
5402         * javax/net/ssl/TrivialHostnameVerifier.java
5403         * javax/net/ssl/TrustManager.java
5404         * javax/net/ssl/TrustManagerFactory.java
5405         * javax/net/ssl/TrustManagerFactorySpi.java
5406         * javax/net/ssl/X509KeyManager.java
5407         * javax/net/ssl/X509TrustManager.java
5408         * javax/security/cert/Certificate.java
5409         * javax/security/cert/CertificateEncodingException.java
5410         * javax/security/cert/CertificateException.java
5411         * javax/security/cert/CertificateExpiredException.java
5412         * javax/security/cert/CertificateNotYetValidException.java
5413         * javax/security/cert/CertificateParsingException.java
5414         * javax/security/cert/X509CertBridge.java
5415         * javax/security/cert/X509Certificate.java
5416
5417         2004-08-20  Casey Marshall  <csm@gnu.org>
5418
5419         * java/security/cert/X509CRLSelector.java: New file.
5420         * java/security/cert/X509CertSelector.java: New file.
5421
5422 2004-09-15  Michael Koch  <konqueror@gmx.de>
5423
5424         * gnu/java/net/protocol/file/Handler.java
5425         (openConnection): Don't throw exception if host part for file: URI is
5426         present. setURL() keeps file: protocol if ftp: protocol is not
5427         available.
5428
5429 2004-09-14  Richard Henderson  <rth@redhat.com>
5430
5431         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5432         value of sigsuspend.
5433
5434 2004-09-12  Tom Tromey  <tromey@redhat.com>
5435
5436         * javax/naming/CompoundName.java (CompoundName): Don't check for
5437         separator in "flat" case.
5438
5439 2004-09-12  Michael Koch  <konqueror@gmx.de>
5440
5441         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5442         AM_CONFIG_HEADER by AC_CONFIG_FILES.
5443         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5444         Regenerate.
5445
5446 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5447
5448         PR libgcj/14751
5449         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5450         handle in newly-allocated _Jv_Thread_t.
5451         (_Jv_ThreadDestroyData): Close thread handle.
5452         (_Jv_ThreadStart): Remove obsolete comment.
5453         Store handle of newly-created thread in _Jv_Thread_t.
5454         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5455         before including <windows.h>
5456         #define _Jv_HaveCondDestroy
5457
5458 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5459
5460         * java/lang/natThread.cc (finalize_native): Destroy
5461         join conditional variable and mutex if these destroy
5462         operations are supported.
5463
5464 2004-09-10  Dalibor Topic <robilad@kaffe.org>
5465
5466         * gnu/java/net/protocol/file/Connection.java (permission): New field.
5467         (DEFAULT_PERMISSION): New constant.
5468         (Connection): Create a FilePermission with permission to read file.
5469
5470 2004-09-10  Michael Koch  <konqueror@gmx.de>
5471
5472         * gnu/java/net/protocol/file/Connection.java
5473         (getLastModified): Moved around.
5474         (getPermission): Return stored permission.
5475
5476 2004-09-10  Michael Koch  <konqueror@gmx.de>
5477
5478         * Makefile.in: Regenerate.
5479
5480 2004-09-10  Michael Koch  <konqueror@gmx.de>
5481
5482         * Makefile.am: Reverted accidently commited stuff.
5483         * configure: Regenerated.
5484
5485 2004-09-10  Michael Koch  <konqueror@gmx.de>
5486
5487         * gnu/java/net/protocol/file/Connection.java
5488         (lineSeparator): Made non-final.
5489         (static): Removed.
5490         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5491         instead of StringBufferInputStream.
5492
5493 2004-09-10  Michael Koch  <konqueror@gmx.de>
5494
5495         * gnu/java/net/protocol/file/Connection.java
5496         (connect): Handle file is a directory case.
5497
5498 2004-09-10  Michael Koch  <konqueror@gmx.de>
5499
5500         * Makefile.am
5501         (xlib_includes): Removed.
5502         (AM_CPPFLAGS): Renamed from INCLUDES.
5503         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5504         * Makefile.in: Regenerate.
5505
5506 2004-09-09  Michael Koch  <konqueror@gmx.de>
5507
5508         * java/security/ProtectionDomain.java,
5509         * java/util/PropertyPermissionCollection.java:
5510         Fixed javadocs all over.
5511
5512 2004-09-09  Sven de Marothy  <sven@physto.se>
5513
5514         Patch from David Gilbert <david.gilbert@object-refinery.com>
5515         * java/lang/Comparable.java: Fixed documentation errors.
5516         * java/util/Arrays.java: Likewise.
5517
5518 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5519
5520         * java/net/Inet4Address.java
5521         (Inet4Address): Added comment to serialization UID.
5522         * java/text/Format.java
5523         (Format): Added comment to serialization UID.
5524
5525 2004-09-09  Michael Koch  <konqueror@gmx.de>
5526
5527         * java/lang/System.java
5528         (err): Fixed javadoci to point to setErr() and not setOut().
5529
5530 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
5531
5532         (normalizePath): Added special case for windows systems.
5533
5534 2004-09-09  Michael Koch  <konqueror@gmx.de>
5535
5536         * java/io/File.java
5537         (dupSeparator): Made private.
5538         (File(URI)): New constructor.
5539         (getParentFile): Fixed javadoc.
5540         (createTempFile): Reformated.
5541         (setReadOnly): Added comment.
5542         (deleteOnExit): Merged javadoc with classpath version.
5543
5544 2004-09-09  Michael Koch  <konqueror@gmx.de>
5545
5546         * Makefile.am: Don't try to include deps.mk.
5547         * Makefile.in: Regenerated.
5548
5549 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
5550
5551         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5552         .d files.
5553         * configure: Rebuilt.
5554
5555 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
5556
5557         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5558         Changed pfn from static local to local.
5559
5560 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
5561             H.J. Lu  <hongjiu.lu@intel.com>
5562
5563         PR libgcj/17290
5564         * Makefile.am (GCJCOMPILE): Remove definition.
5565         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5566         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5567         * Makefile.in: Rebuilt.
5568
5569 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
5570
5571         * configure.ac (enable-gc-debug): Update help for new syntax.
5572         * configure: Regenerate.
5573
5574 2004-09-03  David Daney  <ddaney@avtrex.com>
5575
5576         * include/mips-signal.h: Update copyright.
5577
5578 2004-09-03  David Daney  <ddaney@avtrex.com>
5579
5580         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5581         * include/mips-signal.h: Added HANDLE_FPE support.
5582         
5583 2004-08-31  Michael Koch  <konqueror@gmx.de>
5584
5585         * javax/swing/plaf/basic/BasicTextAreaUI.java
5586         (create): New method.
5587         * javax/swing/text/DefaultHighlighter.java
5588         (DefaultHighlightPainter.debugRect): Removed.
5589         * javax/swing/text/StyleContext.java
5590         (DEFAULT_STYLE): New field.
5591
5592 2004-08-31  Michael Koch  <konqueror@gmx.de>
5593
5594         * javax/swing/plaf/basic/BasicLookAndFeel.java
5595         (initComponentDefaults): Add keybindings for selection.backward and
5596         selection-forward for text components.
5597         * javax/swing/plaf/basic/BasicTextUI.java
5598         (paintSafely): Paint highlight only when something is actually
5599         selected.
5600         * javax/swing/text/DefaultCaret.java
5601         (handleHighlight): New method.
5602         (setSelectionVisible): Don't do anything when nothing changes.
5603         Handle highlight.
5604         (moveDot): Reimplemented. Handle highlight.
5605         (setDot): Set mark too. Handle highlight.
5606         (getSelectionPainter): New method.
5607         * javax/swing/text/DefaultEditorKit.java
5608         (defaultActions): Added new actions for text selection.
5609         * javax/swing/text/DefaultHighlighter.java
5610         (DefaultHighlightPainter): New inner class.
5611         (DefaultPainter): New field.
5612         (paint): Implemented.
5613         * javax/swing/text/PlainView.java
5614         (paint): Don't draw background here again.
5615         * javax/swing/text/Utilities.java
5616         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5617         (drawTabbedText): Likewise.
5618
5619 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5620
5621         * javax/swing/JComponent.java
5622         (resetKeyboardActions): Add null checks.
5623
5624 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5625
5626         * javax/swing/DefaultButtonModel.java:
5627         Skip group notification when no group is set.
5628
5629 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5630
5631         * javax/swing/JColorChooser.java: 
5632         Make a couple inner classes static, for jikes.
5633
5634 2004-08-31  Michael Koch  <konqueror@gmx.de>
5635
5636         * javax/swing/plaf/basic/BasicTextUI.java
5637         (RottView.modelToView): New method.
5638         (UpdateHandler): Renamed from EventHandler.
5639         (updateHandler): Renamed from eventHandler.
5640         (modelToView): Implemented.
5641         * javax/swing/text/AbstractDocument.java
5642         (BranchElement.getElement): Return null for non-existing indeces.
5643         (BranchElement.getElementIndex): Return 0 in some corner cases.
5644         * javax/swing/text/FieldView.java
5645         (modelToView): New method.
5646         * javax/swing/text/PlainView.java
5647         (modelToView): Made public.
5648
5649 2004-08-31  Kim Ho  <kho@redhat.com>
5650
5651         * Makefile.am: New files.
5652         * Makefile.in: Regenerate.
5653         * gcj/Makefile.in: Regenerate.
5654         * include/Makefile.in: Regenerate.
5655         * java/awt/Color.java: Fix documentation.
5656         (RGBtoHSB): Use floats for conversions.
5657         * javax/swing/ButtonGroup.java: Run Jalopy.
5658         (setSelected): Reimplement.
5659         * javax/swing/DefaultButtonModel.java: Run Jalopy.
5660         (changeState): Let ButtonGroup know that the button 
5661         is changing state.
5662         * javax/swing/JColorChooser.java: Implement.
5663         * javax/swing/JLabel.java: Run Jalopy.
5664         * javax/swing/JSpinner.java: Run Jalopy.
5665         (setValue): New method.
5666         * javax/swing/JTabbedPane.java: Run Jalopy.
5667         (removeTabAt): Call correct remove method.
5668         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5669         (getPreviousValue): Compare minimum value.
5670         * javax/swing/Timer.java: Run Jalopy.
5671         (run): Comment out println.
5672         * javax/swing/ToolTipManager.java:
5673         (mouseMoved): Get new tooltip text for location.
5674         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5675         Jalopy and Javadoc.
5676         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5677         Implement.
5678         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5679         Run Jalopy.
5680         (setSelectedColor): Fire ChangeEvent.
5681         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5682         New file. Implement.
5683         * javax/swing/colorchooser/DefaultPreviewPanel.java:
5684         Ditto.
5685         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5686         Ditto.
5687         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5688         Ditto.
5689         * javax/swing/plaf/basic/BasicArrowButton.java:
5690         (getArrow): Fix size of upward pointing button.
5691         * javax/swing/plaf/basic/BasicColorChooserUI.java:
5692         Implement.
5693         * javax/swing/plaf/basic/BasicSliderUI.java:
5694         (getWidthOfWidestLabel): Use preferred dimensions.
5695         (getHeightOfTallestLabel): Ditto.
5696         * javax/swing/plaf/basic/BasicSpinnerUI.java:
5697         Run Jalopy.
5698         (mousePressed): Disable changes to spinner if it is not enabled.
5699         * testsuite/Makefile.in: Regenerate.
5700
5701
5702 2004-08-31  Michael Koch  <konqueror@gmx.de>
5703
5704         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5705         javax/swing/plaf/basic/BasicTableUI.java:
5706         Added copyright notice.
5707
5708 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
5709
5710         * Makefile.am: Added new files.
5711         * Makefile.in: Regenerate.
5712         * javax/swing/ComboBoxEditor.java: Added javadocs.
5713         * javax/swing/ComboBoxModel.java: Likewise.
5714         * javax/swing/DefaultComboBoxModel.java: Implemented.
5715         * javax/swing/DefaultListCellRenderer.java: Added javadocs
5716         and ran through jalopy to fix formatting style.
5717         (getListCellRendererComponent): Use appropriate border
5718         if renderer has focus and use noFocusBorder when it doesn't.
5719         * javax/swing/JComboBox.java: Implemented.
5720         * javax/swing/JList.java:
5721         (locationToIndex): New Method. Implemented.
5722         (indexToLocation): New Method.
5723         * javax/swing/JPopupMenu.java: 
5724         (visible): New field.
5725         (isVisible): Changed to use new field above.
5726         (setVisible): Likewise.
5727         * javax/swing/MutableComboBoxModel.java: Added javadocs.
5728         * javax/swing/plaf/basic/BasicArrowButton.java: 
5729         (shadow): Changed default color to Color.gray.
5730         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5731         UI delegate for JComboBox.
5732         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5733         Popup menu containing list of JComboBox's items.
5734         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5735         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5736         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5737         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5738         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5739         (popupMenuWillBecomeVisible): Set selected path to the first
5740         element only if it is of type MenuElement. Also fix formatting
5741         style.
5742         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
5743         methods signatures.
5744         
5745 2004-08-31  Michael Koch  <konqueror@gmx.de>
5746
5747         * javax/swing/text/AbstractDocument.java
5748         (createBranchElement): Use new constructor of BranchElement.
5749         (createLeafElement): Renamed arguments.
5750         (getRootElements): Implemented.
5751         (BranchElement.start): Removed.
5752         (BranchElement.end): Likewise.
5753         (BranchElement.BranchElement): Fixed arguments.
5754         (BranchElement.getEndOffset): Reimplemented.
5755         (BranchElement.getStartOffset): Likewis.
5756         * javax/swing/text/DefaultCaret.java
5757         (paint): Draw simple vertical line as caret instead of a rectangle.
5758         * javax/swing/text/JTextComponent.java
5759         (setText): Use doc directly.
5760         * javax/swing/text/PlainView.java
5761         (nextTabStop): Implemented.
5762         * javax/swing/text/Utilities.java
5763         (drawTabbedText): nextTabStop() returns an absolute x position.
5764         (getTabbedTextWidth): Likewise.
5765
5766 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5767
5768         * java/awt/Component.java 
5769         (isFocusTraversable): Predicate on isLightweight()
5770         (setFocusable): Set isFocusTraversableOverridden.
5771         (requestFocus): Predicate peer dispatch on !isLightweight()
5772         (requestFocusInWindow): Likewise.
5773         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
5774         * java/awt/Container.java
5775         (dispatchEventImpl): Predicate on event mask.
5776         (LightweightDispatcher): Remove focus machinery.
5777         * java/awt/DefaultFocusTraversalPolicy.java
5778         (accept): Expand predicate to include isFocusable(). 
5779         * java/awt/DefaultKeyboardFocusManager.java:
5780         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
5781         * java/awt/KeyboardFocusManager.java
5782         (redispatchEvent): Synchronize on event to prevent feedback.
5783         * javax/swing/AbstractButton.java
5784         (ButtonFocusListener): Remove class.
5785         (init): Set focusPainted, focusable.
5786         * javax/swing/ActionMap.java (get): Check parent for null. 
5787         * javax/swing/InputMap.java (get): Likewise. 
5788         * javax/swing/JComponent.java
5789         (inputMap_whenFocused): New InputMap.
5790         (inputMap_whenAncestorOfFocused): Likewise.
5791         (inputMap_whenInFocusedWindow): Likewise.
5792         (getActionForKeyStroke): Rewrite.
5793         (getConditionForKeystroke): Likewise.
5794         (ActionListenerProxy): New private class.
5795         (setInputMap): Implement.
5796         (getInputMap): Likewise.
5797         (setActionMap): Likewise.
5798         (getActionMap): Likewise.
5799         (processComponentKeyEvent): New empty method.
5800         (processKeyEvent): Implement.
5801         (processKeyBinding): Likewise.
5802         (resetKeyboardActions): Rewrite.
5803         * javax/swing/KeyStroke.java: Rewrite.
5804         * javax/swing/SwingUtilities.java
5805         (notifyAction): Implement.
5806         (replaceUIActionMap): Likewise.
5807         (replaceUIInputMap): Likewise.
5808         * javax/swing/plaf/basic/BasicButtonListener.java
5809         (focusGained): Implement.
5810         (focusLost): Repaint if focusPainted().
5811         (installKeyboardActions): Install pressed / released actions.
5812         (uninstallKeyboardActions): Implement.
5813         * javax/swing/plaf/basic/BasicButtonUI.java
5814         (focusColor): New field.
5815         (installDefaults): Load focus color, install input map.
5816         (installKeyboardActions): Implement.
5817         (uninstallKeyboardActions): Likewise.
5818         (paintFocus): Rewrite.
5819         * javax/swing/plaf/basic/BasicLookAndFeel.java
5820         (Button.focus): New default, midPurple. 
5821         * javax/swing/plaf/basic/BasicTextUI.java
5822         (kit): Make static.
5823         (installUI): Get doc from kit, load defaults.
5824         (getKeymapName): Implement.
5825         (createKeymap): Likewise.
5826         (installKeyboardActions): Likewise.
5827         (getInputMap): Likewise.
5828         (getActionMap): Likewise.
5829         (createActionMap): Likewise.
5830         * javax/swing/text/AbstractDocument.java
5831         (getStartPosition): Implement.
5832         (getEndPosition): Likewise.
5833         * javax/swing/text/DefaultEditorKit.java
5834         (CopyAction): New class.
5835         (CutAction): Likewise.
5836         (DefaultKeyTypedAction): Likewise.
5837         (InsertBreakAction): Likewise.
5838         (InsertContentAction): Likewise.
5839         (InsertTabAction): Likewise.
5840         (PasteAction): Likewise.
5841         (defaultActions): New static table.
5842         (createCaret): Implement.
5843         (getActions): Likewise.
5844         * javax/swing/text/JTextComponent.java
5845         (KeymapWrapper): New private class.
5846         (KeymapActionMap): Likewise.
5847         (DefaultKeymap): New class.
5848         (keymaps): New static table.
5849         (keymap): New field.
5850         (getKeymap): Implement.
5851         (removeKeymap): Likewise.
5852         (addKeymap): Likewise.
5853         (setKeymap): Likewise.
5854         (loadKeymap): Likewise.
5855         (getActions): Likewise.
5856         (margin): New field.
5857         (JTextComponent): Build and install default keymap.
5858         * javax/swing/text/TextAction.java
5859         (textAction): Call super properly.
5860         (getTextComponent): Implement.
5861         * javax/swing/text/Utilities.java
5862         (drawTabbedText): Adjust position by ascent.
5863
5864 2004-08-31  David Jee  <djee@redhat.com>
5865
5866         PR AWT/17156
5867
5868         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5869         (setEnabled): Make it a native method.
5870         * java/awt/DefaultKeyboardFocusManager.java
5871         (postProcessKeyEvent): Only post event if the menu item
5872         is active.
5873         * java/awt/MenuItem.java:
5874         Private field 'enabled' should be true by default.
5875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5876         (setEnabled): New function.
5877
5878 2004-08-31  David Jee  <djee@redhat.com>
5879
5880         PR AWT/17059
5881
5882         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5883         (nativeSetHelpMenu): New native method declaration.
5884         (addHelpMenu): Call nativeSetHelpMenu().
5885         (addMenu): Remove.
5886         * java/awt/MenuBar.java
5887         (setHelpMenu): Call addNotify() on the new help menu.
5888         (add): Call addNotify() on the new menu.
5889         (addNotify): Set the help menu if one exists.
5890         * java/awt/peer/MenuBarPeer.java
5891         (addMenu): Remove.
5892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5893         (nativeSetHelpMenu): New method.
5894
5895 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5896
5897         * Makefile.am: Add new files.
5898         * Makefile.in: Regenerate.
5899         * javax/swing/Box.java: Fix setting of layout in ctor.
5900         * javax/swing/JScrollPane.java: Scroll headers as well.
5901         * javax/swing/JTable.java: Reimplement.
5902         * javax/swing/JViewPort.java: Only add non-null children.
5903         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
5904         * javax/swing/Timer.java: Fix stopping null waker.
5905         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
5906         * javax/swing/plaf/basic/BasicTableUI.java: New file.
5907         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
5908         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
5909         * javax/swing/table/DefaultTableModel.java: Clean up.
5910         * javax/swing/table/JTableHeader.java: Implement.
5911
5912 2004-08-31  Mark Wielaard  <mark@klomp.org>
5913
5914         * javax/swing/JSpinner.java (getChangeListeners): Remove double
5915         semi-colon.
5916
5917 2004-08-31  Mark Wielaard  <mark@klomp.org>
5918
5919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
5920         Declare variables at top of functions/block.
5921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
5922
5923 2004-08-31  Mark Wielaard  <mark@klomp.org>
5924
5925         * java/lang/Rectangle.java (intersects): Check r.width and r.height
5926         first.
5927
5928 2004-08-31  Michael Koch  <konqueror@gmx.de>
5929
5930         * javax/swing/text/PlainView.java
5931         (selectedColor): New field.
5932         (unselectedColor): Likewise.
5933         (font): Likewise.
5934         (updateMetrics): New method.
5935         (lineToRect): Likewise.
5936         (modelToView): Likewise.
5937         (drawSelectedText): Use color from JTextComponent ad draw with
5938         Utilities class.
5939         (drawUnselectedText): Likewise.
5940         (paint): Initialize helper fields.
5941         * javax/swing/text/View.java
5942         (getChildAllocation): New method.
5943         (getViewIndex): Likewise.
5944         (getToolTipText): Likewise.
5945
5946 2004-08-31  Michael Koch  <konqueror@gmx.de>
5947
5948         * javax/swing/text/Utilities.java
5949         (drawTabbedText): Reimplemented.
5950         (getTabbedTextWidth): Likewise.
5951
5952 2004-08-31  Michael Koch  <konqueror@gmx.de>
5953
5954         * javax/swing/plaf/basic/BasicTextUI.java
5955         (installDefaults): Install caret and highlighter.
5956         (modelToView): Use Bias.Forward when calling sibling.
5957         * javax/swing/text/AbstractDocument.java
5958         (ElementEdit): Implements DocumentEvent.ElementChange.
5959         (ElementEdit.ElementEdit): New method.
5960         (ElementEdit.getChildrenAdded): Likewise.
5961         (ElementEdit.getChildrenRemoved): Likewise.
5962         (ElementEdit.getElement): Likewise.
5963         (ElementEdit.getIndex): Likewise.
5964         * javax/swing/text/DefaultCaret.java
5965         (color): Removed.
5966         (textComponent): Renamed from parent, made private.
5967         (selectionVisible): Renamed from vis_sel, made private.
5968         (blinkRate): Renamed from blink, made private.
5969         (magicCaretPosition): Renamed from magic, made private.
5970         (visible): Renamed from vis, made private.
5971         (dot): Made private.
5972         (mark): Likewise.
5973         (deinstall): Remove as MouseMotionListener.
5974         (install): Initialize textComponent first. Add as MouseMotionListener.
5975         (paint): Reimplemented.
5976         * javax/swing/text/JTextComponent.java
5977         (setCaret): Deinstall old caret, install new one and fire property
5978         change after setting property.
5979         (setHighlighter): Deinstall old highlighter, install new one and fire
5980         property change after setting property.
5981         (setCaretColor): Fire property change after setting property.
5982         (setDisabledTextColor): Likewise.
5983         (setSelectedTextColor): Likewise.
5984         (setSelectionColor): Likewise.
5985         (modelToView): New method.
5986
5987 2004-08-31  Michael Koch  <konqueror@gmx.de>
5988
5989         * javax/swing/text/AbstractDocument.java
5990         (getText): Simplified.
5991         * javax/swing/text/Segment.java
5992         (current): New field.
5993         (current): Reimplemented.
5994         (first): Likewise.
5995         (getIndex): Likewise.
5996         (last): Likewise.
5997         (next): Likewise.
5998         (previous): Likewise.
5999         (setIndex): Likewise.
6000
6001 2004-08-31  Michael Koch  <konqueror@gmx.de>
6002
6003         * javax/swing/plaf/basic/BasicButtonUI.java
6004         (defaultTextIconGap): Made protected.
6005         (defaultTextShiftOffset): Likewise.
6006         (textShiftOffset): New field.
6007         (clearTextShiftOffset): New method.
6008         (getTextShiftOffset): Likewise.
6009         (setTextShiftOffset): Likewise.
6010
6011 2004-08-31  Michael Koch  <konqueror@gmx.de>
6012
6013         * javax/swing/plaf/basic/BasicTextUI.java
6014         (installUI): Add eventHandler as property listener.
6015         (uninstallUI): remove eventHandler as propert listener.
6016         (installDefaults): Added comment.
6017         (installListeners): Likewise.
6018         (installKeyboardActions): Likewise.
6019         (uninstallDefaults): Likewise.
6020         (uninstallListeners): Likewise.
6021         (uninstallKeyboardActions): Likewise.
6022
6023 2004-08-31  Michael Koch  <konqueror@gmx.de>
6024
6025         * javax/swing/text/AbstractDocument.java:
6026         Fixed some typos in comments.
6027         (insertString): Reimplemented.
6028         (remove): Likewise.
6029         (replace): New method.
6030         (children): Dont use fully qualified class name.
6031         (DefaultDocumentEvent.offset): Renamed from off.
6032         (DefaultDocumentEvent.length): Renamed from len.
6033         (DefaultDocumentEvent.type): New field.
6034         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6035         (DefaultDocumentEvent.getType): Implemented.
6036
6037 2004-08-31  Michael Koch  <konqueror@gmx.de>
6038
6039         * javax/swing/plaf/basic/BasicTextUI.java
6040         (RootView.textComponent): Removed.
6041         (RootView.RootView): Don't initialize textComponent.
6042         (RootView.getViewFactory): New method.
6043         (EventHandler): New inner class.
6044         (rootView): Initialize at instance creation.
6045         (eventHandler): New field.
6046         (installUI): Don't create view hierarchy directly,
6047         call modelChanged() instead.
6048         (modelChanged): New method.
6049         * javax/swing/text/JTextComponent.java
6050         (setDocument): Fire property change event.
6051
6052 2004-08-31  Michael Koch  <konqueror@gmx.de>
6053
6054         * javax/swing/plaf/basic/BasicTextUI.java
6055         (RootView.paint): Removed debug output.
6056         (paintSafely): Draw highlighter before text.
6057         (paintBackground): Use background color of text component.
6058         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6059         Reformatted.
6060
6061 2004-08-31  Michael Koch  <konqueror@gmx.de>
6062
6063         * javax/swing/plaf/basic/BasicToolBarUI.java
6064         (BasicToolBarUI): Fixed arguments for constructor.
6065         (createUI): Fixed creation of object.
6066
6067 2004-08-31  Michael Koch  <konqueror@gmx.de>
6068
6069         * javax/swing/DefaultListSelectionModel.java
6070         (fireValueChanged): Renamed from fireSelectionValueChanged,
6071         made protected.
6072
6073 2004-08-31  Michael Koch  <konqueror@gmx.de>
6074
6075         * javax/swing/text/TabSet.java
6076         (TabSet): Implements java.io.Serializable.
6077         * javax/swing/text/TabStop.java
6078         (TabStop): Implements java.io.Serializable.
6079         (TabStop): Made public.
6080
6081 2004-08-31  Michael Koch  <konqueror@gmx.de>
6082
6083         * javax/swing/JComponent.java
6084         (setUI): Fire PropertyChange.
6085         * javax/swing/JLabel.java
6086         (text): Renamed from labelText.
6087         (horizontalAlignment): New default vlaue.
6088         (icon): Renamed from activeIcon.
6089         (displayedMnemonic): Renamed from mnemonicKey, added default value.
6090         (displayedMnemonicIndex): Renamed from underlineChar.
6091         (setDisplayedMnemonic): Reimplemented.
6092         * javax/swing/JRadioButton.java
6093         (JRadioButton): New constructors.
6094         * javax/swing/JTextField.java
6095         (JTextField): Throw exception if colums < 0, initialitialz
6096         this.columns directly and initialize document with text conditionally.
6097
6098 2004-08-31  Michael Koch  <konqueror@gmx.de>
6099
6100         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6101         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6102         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6103         * javax/swing/text/FieldView.java
6104         (paint): Just call super method for now.
6105         * Makefile.am: Added new files.
6106         * Makefile.in: Regenerated.
6107
6108 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
6109
6110         * javax/swing/AbstractSpinnerModel.java,
6111         javax/swing/JSpinner.java,
6112         javax/swing/SpinnerNumberModel.java,
6113         javax/swing/plaf/basic/BasicSpinnerUI.java:
6114         New files.
6115         * javax/swing/plaf/basic/BasicLookAndFeel.java
6116         (initClassDefaults): Added defaults for BasicSpinnerUI.
6117
6118 2004-08-31  Michael Koch  <konqueror@gmx.de>
6119
6120         * Makefile.am: Added new files.
6121         * Makefile.in: Regenerated.
6122
6123 2004-08-31  Michael Koch  <konqueror@gmx.de>
6124
6125         * javax/swing/TransferHandler.java,
6126         javax/swing/plaf/basic/ComboPopup.java: New files
6127         * Makefile.am: Added javax/swing/TransferHandler.java and
6128         javax/swing/plaf/basic/ComboPopup.java
6129         * Makefile.in: Regenerated.
6130
6131 2004-08-31  Roman Kennke  <roman@ontographics.com>
6132
6133         * javax/swing/text/Utilities.java: New file.
6134
6135 2004-08-31  Michael Koch  <konqueror@gmx.de>
6136
6137         * Makefile.am: Added javax/swing/text/Utilities.java.
6138         * Makefile.in: Regenerated.
6139
6140 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6141
6142         * javax/swing/text/SimpleAttributeSet.java: New file.
6143         * javax/swing/text/StyleConstants.java: New file.
6144         * javax/swing/text/StyleContext.java: New file.
6145         * javax/swing/text/TabSet.java: New file.
6146         * javax/swing/text/TabStop.java: New file.
6147         * javax/swing/text/AbstactDocument.java:
6148         (AbstractElement): Implement attribute support.
6149         * javax/swing/text/AttributeSet.java
6150         (NameAttribute): New static field.
6151         (ResolveAttribute): New static field.
6152         * Makefile.am: Update for new files.
6153         * Makefile.in: Regenerate.
6154
6155 2004-08-31  Craig Black  <craig.black@aonix.com>
6156
6157         * gnu/java/awt/peer/gtk/GdkGraphics.java 
6158         (drawImage): Add support for scaling pixmaps.
6159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6160         (copyAndScalePixmap): New native method.
6161  
6162 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6163
6164         PR AWT/16121
6165         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
6166         type-punning compiler warnings using unions.
6167         (throw): Replace bzero with memset.
6168
6169 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6170             Thomas Fitzsimmons  <fitzsim@redhat.com>
6171
6172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6173         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
6174         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6175         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6176         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6177
6178 2004-08-31  Mark Wielaard  <mark@klomp.org>
6179
6180         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6181         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6182         and stdlib.h, not gtkpeer.h.
6183         (*vm): New static variable.
6184         (areaPreparedID): Make static.
6185         (areaUpdatedID): Likewise.
6186         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6187         (area_prepared): Likewise.
6188         (area_updated): Likewise.
6189         (closed): Likewise.
6190         (initStaticState): Initialize *vm javaVM.
6191         (pumpBytes): Use given env, not global gdk_env.
6192
6193 2004-08-31  Mark Wielaard  <mark@klomp.org>
6194
6195         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6196         comments.
6197
6198 2004-08-31  Sven de Marothy  <sven@physto.se>
6199
6200         * java/awt/geom/CubicCurve2D.java: Reindent.
6201         (contains): Implemented.
6202         (intersects): Implemented.
6203         * java/awt/geom/QuadCurve2D.java: Likewise.
6204         * java/awt/geom/GeneralPath.java: Reindent and document.
6205         Fully (re)implemented using separate xpoints and ypoints
6206         float[] coords.
6207         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6208
6209 2004-08-31  Michael Koch  <konqueror@gmx.de>
6210
6211         * javax/swing/JMenuItem.java
6212         (getMenuDragMouseListeners): New method.
6213         (getMenuKeyListeners): Likewise.
6214
6215 2004-08-31  Michael Koch  <konqueror@gmx.de>
6216
6217         * javax/swing/AbstractButton.java
6218         (model): Made protected.
6219         (actionListener): Likewise.
6220         (changeListener): Likewise.
6221         (itemListener): Likewise.
6222         (multiClickThreshhold): New field.
6223         (getActionListeners): New method.
6224         (getChangeListeners): Likewise.
6225         (getItemListeners): Likewise.
6226         (fireItemStateChanged): Simplified implementation.
6227         (fireActionPerformed): Likewise.
6228         (fireStateChanged): Likewise.
6229         (getMultiClickThreshhold): New method.
6230         (setMultiClickThreshhold): Likewise.
6231
6232 2004-08-31  Tom Tromey  <tromey@redhat.com>
6233
6234         * java/awt/image/Kernel.java (clone): Use super.clone().
6235
6236 2004-08-31  David Jee  <djee@redhat.com>
6237
6238         PR AWT/16682
6239         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6240         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6241         (nativeSetIconImageFromData): New native method declaration.
6242         (setIconImage): Handle images not produced from GdkPixbufDecoder.
6243         * gnu/java/awt/peer/gtk/GtkImage.java
6244         (getPixelCache): New method.
6245         (getColorModel): New method.
6246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6247         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6248         (free_pixbuf_data): New helper function.
6249         (nativeSetIconImageFromData): New function.
6250
6251 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6252
6253         PR SWING/16576
6254         * javax/swing/JLayeredPane.java 
6255         (setLayer): Permit changing layer after addition.
6256         (setPosition): Permit over-length positions.
6257         (layerToRange): Compare intValue()s.
6258         * javax/swing/Box.java (createHorizontalBox): Implement.
6259         (createRigidArea): Likewise.
6260         (createVerticalBox): Likewise.
6261
6262 2004-08-31  Kim Ho  <kho@redhat.com>
6263
6264         * java/awt/Component.java:
6265         (processMouseEvent): Consume event after
6266         listeners process it.
6267         (processMouseMotionEvent): ditto.
6268         (processMouseWheelEvent): ditto.
6269         * java/awt/Container.java:
6270         (acquireComponentForMouseEvent):
6271         Do not dispatch to events that have been
6272         removed from the Container.
6273         (handleEvent): Consume the MouseEvents.
6274         * javax/swing/RepaintManager.java:
6275         (paintDirtyRegions): Do not add to list of 
6276         damaged areas if the component has no root.
6277
6278 2004-08-31  Michael Koch  <konqueror@gmx.de>
6279
6280         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6281
6282 2004-08-31  Mark Wielaard  <mark@klomp.org>
6283
6284         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6285         null when a MissingResourceException is thrown. Should never happen.
6286
6287 2004-08-31  Mark Wielaard  <mark@klomp.org>
6288
6289         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6290         when argument is null.
6291
6292 2004-08-31  Mark Wielaard  <mark@klomp.org>
6293
6294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6295         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6296         Define hid at start of function.
6297         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6298         Likewise.
6299
6300 2004-08-31  Mark Wielaard  <mark@klomp.org>
6301
6302         * gnu/java/awt/EmbeddedWindow.java: Reindent.
6303         * javax/swing/JButton.java: Reindent.
6304         * javax/swing/JCheckBox.java: Reindent.
6305
6306 2004-08-31  Mark Wielaard  <mark@klomp.org>
6307
6308         * Makefile.am (gtk_c_source_files): Added
6309         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6310         (gtk_awt_peer_sources): Added
6311         gnu/java/awt/peer/gtk/GThreadMutex.java and
6312         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6313         * Makefile.in: Regenerated.
6314
6315 2004-08-31  Archie Cobbs  <archie@dellroad.org>
6316
6317         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6318
6319 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6320
6321         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
6322         Added jfieldID, jmethodID.
6323
6324 2004-08-31  Mark Wielaard  <mark@klomp.org>
6325
6326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6327         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6328         gdk_env before calling any gdk or gtk function.
6329
6330         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6331         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6332         (run): Set gtkInitCalled.
6333
6334 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6335
6336         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
6337         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6338
6339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6340         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6341         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
6342         init_glib_threads. 
6343         (init_glib_threads): New function.
6344
6345 2004-08-31  Mark Wielaard  <mark@klomp.org>
6346
6347         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6348         PRIORITY when not already defined in header file.
6349
6350 2004-08-31  Mark Wielaard  <mark@klomp.org>
6351
6352         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6353         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6354
6355 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6356
6357         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6358         Implemented missing functions for GTK2.
6359         Added error handling.
6360         Renamed static functions out of the g_ namespace.
6361         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
6362         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6363         Rewrote global-reference code.
6364         Eliminated cascading errors.
6365         (mutex_trylock_jni_impl) Fully implemented.
6366         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6367         resolution.
6368         (setup_cache) New function.
6369         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6370         bug where they were not unlocking the GMutex associated with the
6371         condition variable during the wait on that condition variable.
6372
6373         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6374         native/jni/gtk-peer/gthread-jni.c,
6375         native/jni/gtk-peer/gthread-jni.h
6376         (g_thread_jni_functions): Renamed to ...
6377         (portable_native_sync_jni_functions): this name.
6378         (gdk_vm): Renamed to...
6379         (the_vm): this name.
6380
6381         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6382         (gdk_vm): Removed duplicate definition.
6383         (gtkInit): Removed stray message to stdout.
6384         (gtkInit): Use g_malloc and g_free instead of malloc and free.
6385         (gtkInit): Fix a const assignment bug.
6386         (gtkInit): Simplified code.
6387
6388         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6389         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6390         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6391         gnu/java/awt/peer/gtk/GThreadMutex.java:
6392         New files.
6393
6394 2004-08-31  Mark Wielaard  <mark@klomp.org>
6395
6396         * javax/swing/Box.java: Put FIXME comment above class declaration.
6397         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6398         * javax/swing/JCheckBox.java: Likewise.
6399         * javax/swing/JDialog.java: Likewise.
6400         * javax/swing/JRadioButton.java: Likewise.
6401         * javax/swing/JToggleButton.java: Likewise.
6402         * javax/swing/UIManager.java: Likewise.
6403         * javax/swing/border/TitledBorder.java: Likewise.
6404         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6405         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6406         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6407         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6408         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6409         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6410         * javax/swing/text/JTextComponent.java: Likewise.
6411
6412 2004-08-31  David Jee  <djee@redhat.com>
6413
6414         PR AWT/16682
6415         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6416         (setIconImage): Add a FIXME for unhandled cases.
6417
6418 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6419
6420         PR AWT/16040
6421         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6422         getModifiers.  Replace old button masks with new ones.
6423         * gnu/awt/xlib/XEventLoop.java: Likewise.
6424         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6425         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6426         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6427         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6428         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6429         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6430         * java/awt/Component.java: Replace old modifier masks with new
6431         ones.
6432         * java/awt/Container.java: Call getModifiersEx, not
6433         getModifiers.
6434         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
6435         old modifier masks.
6436         * javax/swing/JMenuItem.java: Replace old button masks with new
6437         ones.
6438         * javax/swing/KeyStroke.java: Call getModifiersEx, not
6439         getModifiers.
6440         * javax/swing/SwingUtilities.java: Likewise.
6441         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6442         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6444         mask macros with new ones.
6445         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6446         macros with new ones representing new masks.
6447
6448 2004-08-31  Craig Black  <craig.black@aonix.com>
6449
6450         * gnu/java/awt/peer/gtk/GdkGraphics.java
6451         (drawRoundRect): Implemented.
6452         (fillRoundRect): Implemented.
6453         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6454         (drawRoundRect): Reimplemented to match GdkGraphics.
6455         (fillRoundRect): Reimplemented to match GdkGraphics.
6456
6457 2004-08-31  Mark Wielaard  <mark@klomp.org>
6458
6459         * Makefile.in: Regenerated.
6460
6461 2004-08-31  Michael Koch  <konqueror@gmx.de>
6462
6463         * gnu/java/awt/EmbeddedWindow.java
6464         (addNotify): Use AccessController to allow execution of privileged
6465         code.
6466
6467 2004-08-31  Michael Koch  <konqueror@gmx.de>
6468
6469         * gnu/java/awt/EmbeddedWindow.java
6470         (static): Removed.
6471         (addNotify): Set peer via reflection.
6472         (setWindowPeer): Removed.
6473         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6474         * Makefile.am (nat_source_files):
6475         Removed gnu/java/awt/natEmbeddedWindow.cc.
6476
6477 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6478
6479         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
6480         and gnu/java/security/action/SetAccessibleAction.java.
6481
6482 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6483
6484         * gnu/java/security/action/GetPropertyAction.java (setParameters):
6485         Renamed from 'setName'. New 2-argument form with default value.
6486         (run): Pass default 'value' parameter to System.getProperty().
6487         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6488         typos.
6489
6490 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6491
6492         * gnu/java/security/action/GetPropertyAction.java: New class.
6493         * gnu/java/security/action/SetAccessibleAction.java: New class.
6494
6495 2004-08-31  David Jee  <djee@redhat.com>
6496
6497         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6498         (setIconImage): Check if image is null.
6499
6500 2004-08-31  David Jee  <djee@redhat.com>
6501
6502         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6503         (create): Set the icon image.
6504         (nativeSetIconImage): New native method declaration.
6505         (setIconImage): Implement.
6506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6507         (nativeSetIconImage): New function.
6508
6509 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6510
6511         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6512         (filenameFilterCallback): Declare local variable accepted before use.
6513
6514 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6515
6516         * gnu/java/awt/ComponentDataBlitOp.java:
6517         Cleaned up imports.
6518
6519 2004-08-31  Tom Tromey  <tromey@redhat.com>
6520
6521         * gnu/java/awt/peer/GLightweightPeer.java,
6522         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6523         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6524         javax/swing/JScrollPane.java: Removed
6525         redundant imports.
6526
6527 2004-08-31  David Jee  <djee@redhat.com>
6528
6529         * java/awt/DefaultKeyboardFocusManager.java
6530         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6531         event.  Fix shift modifier checking.
6532         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6533         (accel_attach): Remove.
6534         (setupAccelGroup): Remove calls to accel_attach.
6535
6536 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6537
6538         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6539         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6540
6541         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6542         GtkArgList.java.
6543         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6544         * Makefile.in: Regenerate.
6545         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6546         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6547         (create(String)): New method.
6548         (create): Call new create method.
6549         (getArgs): Remove method.
6550         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6551         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
6552         (nativeCreate): Rename to create.
6553         (gtkSetLabel): Rename to gtkButtonSetLabel.
6554         (gtkToggleButtonSetActive): New method.
6555         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6556         (setState): Replace set call with gtkToggleButtonSetActive.
6557         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6558         (getArgs): Remove method.
6559         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6560         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6561         (gtkWidgetSetSensitive): New method.
6562         (gtkWidgetSetParent): Likewise.
6563         (GtkComponentPeer): Call setParent, setComponentBounds and
6564         setVisibleAndEnabled.
6565         (setParent): New method.
6566         (setComponentBounds): New method.
6567         (setVisibleAndEnabled): New method.
6568         (setEnabled): Call gtkWidgetSetSensitive.
6569         (getArgs): Remove method.
6570         Remove all set methods.
6571         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6572         gtkWindowSetModal, setTitle and setResizable.
6573         (getArgs): Remove method.
6574         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6575         (setComponentBounds): New method.
6576         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6577         Replace set call with gtkWindowSetResizable.
6578         (getArgs): Remove method.
6579         (create): Call setTitle and setResizable.
6580         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6581         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6582         (gtkWindowSetTitle): New method.
6583         (gtkWindowSetResizable): New method.
6584         (gtkWindowSetModal): New method.
6585         (setParent): New method.
6586         (setVisibleAndEnabled): New method.
6587         (getArgs): Remove method.
6588         (setTitle): Call gtkWindowSetTitle.
6589         (setResizable): Call gtkWindowSetResizable.
6590         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6591         and off locking instrumentation.
6592
6593 2004-08-31  Kim Ho  <kho@redhat.com>
6594
6595         * Makefile.am: Add new file.
6596         * Makefile.in: Regenerate.
6597         * gcj/Makefile.in: Regenerate
6598         * include/Makefile.in:
6599         * java/awt/Container.java:
6600         (acquireComponentForMouseEvent): Respect 
6601         the event mask when looking for candidate.
6602         * javax/swing/JComponent.java:
6603         Remove toolTip field.
6604         (createToolTip): Create a tooltip on demand.
6605         (setToolTipText): Register with the ToolTipManager.
6606         (getToolTipText(MouseEvent)): Return getToolTipText().
6607         * javax/swing/JToolTip.java: Implement.
6608         * javax/swing/Timer.java: Jalopy.
6609         (restart): Call stop, then start.
6610         (stop): Interrupt the timer rather than wait for
6611         the timer to come to a stop naturally.
6612         * javax/swing/ToolTipManager.java: Implement.
6613         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6614         Change ToolTip.background color.
6615         * javax/swing/plaf/basic/BasicToolTipUI.java:
6616         Implement.
6617         * testsuite/Makefile.in: Regenerate
6618
6619 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
6620
6621         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6622         constructor param comments.
6623
6624 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6625
6626         * java/awt/Component.java: Document AWT 1.0 event handler
6627         methods.
6628
6629 2004-08-31  Roman Kennke  <roman@ontographics.com>
6630
6631         * javax/swing/Box.java:
6632         (createGlue): Implemented
6633         (createHorizontalGlue): Implemented
6634         (createHorizontalStrut): Implemented
6635         (createVerticalGlue): Implemented
6636         (createVerticalStrut): Implemented
6637
6638 2004-08-31  David Jee  <djee@redhat.com>
6639
6640         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6641         (GtkChoicePeer): Do not automatically select first item.
6642         (getHistory): Remove.
6643         (nativeGetSelected): New method.
6644         (nativeRemoveAll): New method.
6645         (add): Use nativeGetSelected() instead of getHistory().
6646         (remove): Likewise.
6647         (removeAll): Call nativeRemoveAll().
6648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6649         (create): Migrate to GtkComboBox.
6650         (append): Likewise.
6651         (nativeAdd): Likewise.
6652         (nativeRemove): Likewise.
6653         (select): Likewise.
6654         (nativeRemoveAll): New method.
6655         (nativeGetSelected): New method.
6656         (selection_changed): New method.
6657         (getHistory): Remove.
6658         (item_activate): Remove.
6659         (item_removed): Remove.
6660         (connect_choice_item_selectable_hook): Remove.
6661
6662 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6663
6664         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6665         variable in setEditable call.
6666
6667         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6668         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6669         (gtkWidgetSetBackground): New method.
6670         (gtkWidgetSetForeground): Likewise.
6671         (create): Set peer's editable state based on awtComponent's.
6672
6673         * java/awt/Button.java (Button()): Use empty string rather than
6674         null in no-label constructor.
6675
6676 2004-08-31  Roman Kennke  <roman@ontographics.com>
6677
6678         * javax/swing/BoxLayout.java: Reimplement.
6679
6680 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6681
6682         * gnu/java/awt/peer/gtk/GdkGraphics.java,
6683         gnu_java_awt_peer_gtk_GdkGraphics.c
6684         (initState(GtkComponentPeer)): Don't return array of colour
6685         values.
6686         (GdkGraphics(int,int)): Set default font to size 12.
6687         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6688         component's foreground colour.
6689         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6690         gnu_java_awt_peer_gtk_GdkGraphics2D.c
6691         (initState(GtkComponentPeer)): Don't return array of colour
6692         values.
6693         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6694         colours to component's colours.
6695         (current_colors_of_widget): Remove function.
6696         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6697         Return a new graphics object.
6698         * java/awt/Font.java (toString): Fix format.
6699         * java/awt/Graphics.java (toString): Likewise.
6700
6701 2004-08-31  Craig Black  <craig.black@aonix.com>
6702
6703         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6704         (addTearOff): New function.
6705         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6706         New native method.
6707         (init): Call addTearOff() when menu.isTearOff().
6708
6709 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6710
6711         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6712         Default implementation.
6713         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6714         Implement using GdkPixbufDecoder.
6715
6716 2004-08-31  David Jee  <djee@redhat.com>
6717
6718         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6719         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6720         setting the size of GtkFileDialogPeers.
6721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6722         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6723         use their default sizes rather than their natural requisitions.
6724
6725 2004-08-31  Michael Koch  <konqueror@gmx.de>
6726
6727         * javax/swing/JFormattedTextField.java
6728         (JFormattedTextField): Implemented.
6729         * javax/swing/text/DefaultEditorKit.java
6730         (BeepAction): New inner class.
6731         * javax/swing/text/Segment.java
6732         (partialReturn): New field.
6733         (setPartialReturn): New method.
6734         (isPartialReturn): Likewise.
6735         * javax/swing/text/View.java
6736         (createFragment): Fixed typo.
6737         (getStartOffset): New method.
6738         (getEndOffset): Likewise.
6739
6740 2004-08-31  Michael Koch  <konqueror@gmx.de>
6741
6742         * javax/swing/table/DefaultTableColumnModel.java
6743         (serialVersionUID): Made private.
6744         (listenerList): Initialize.
6745         (changeEvent): Initialize.
6746         * javax/swing/table/JTableHeader.java
6747         (JTableHeader): New constructors.
6748         (createDefaultColumnModel): New method.
6749         * javax/swing/table/TableColumn.java
6750         (setHeaderRenderer): Simplified code.
6751         (setCellRenderer): Likewise.
6752         (setWidth): Likewise.
6753
6754 2004-08-31  Tom Tromey  <tromey@redhat.com>
6755
6756         * java/text/AttributedString.java (AttributedString): Use
6757         ArrayList to build array of attribute ranges.  Don't use
6758         `attribs' before it is set.
6759
6760 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6761
6762         * HACKING: Remove reference to special automake. No longer needed.
6763
6764 2004-08-30  Tom Tromey  <tromey@redhat.com>
6765
6766         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
6767         return result from `add'.
6768
6769 2004-08-30  Tom Tromey  <tromey@redhat.com>
6770
6771         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
6772
6773 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6774
6775         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
6776
6777 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
6778
6779         * java/io/File.java File(String,String): Fixed handling of empty
6780         path.
6781
6782 2004-08-30  Casey Marshall  <csm@gnu.org>
6783
6784         Author e-mail updated for all files.
6785         * gnu/java/security/OID.java (equals): Test if the aurgment is an
6786         instance of OID.
6787         (compareTo): Use `equals'.
6788         * gnu/java/security/der/BitString.java (equals): Test if the
6789         argument is an instance of BitString.
6790         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
6791         class final. Made fields private.
6792         (<init>): New constructor.
6793         (skip): New method.
6794         (makeString): Made static; don't use NIO.
6795         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
6796         * gnu/java/security/der/DERWriter.java: Fixed imports.
6797         (writeString): Don't use NIO.
6798         (toIso88591, toUtf16Be, toUtf8): New methods.
6799         * gnu/java/security/der/DERValue.java: Formatting changes only.
6800         * gnu/java/security/der/DER.java: Likewise.
6801
6802 2004-08-30  Tom Tromey  <tromey@redhat.com>
6803
6804         * java/nio/CharBuffer.java (put): Fix typo.
6805         * java/nio/DoubleBuffer.java (put): Fix typo.
6806         * java/nio/FloatBuffer.java (put): Fix typo.
6807         * java/nio/IntBuffer.java (put): Fix typo.
6808         * java/nio/LongBuffer.java (put): Fix typo.
6809         * java/nio/ShortBuffer.java (put): Fix typo.
6810
6811 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
6812
6813         * java/nio/ByteBuffer.java (put): Fix typo.
6814
6815 2004-08-30  Casey Marshall  <csm@gnu.org>
6816
6817         * java/security/DummyKeyPairGenerator.java (clone): Removed
6818         useless instanceof check.
6819         * java/security/DummyMessageDigest.java (clone): Likewise.
6820         * java/security/DummySignature.java (clone): Likewise.
6821         * java/security/MessageDigest.java (clone): Remove useless
6822         instanceof check.
6823         * java/security/MessageDigestSpi.java (clone): Likewise.
6824         * java/security/Signature.java (clone): Provide meaningful
6825         implementation.
6826         * java/security/SignatureSpi.java (clone): Likewise.
6827
6828 2004-08-29  Mark Wielaard  <mark@klomp.org>
6829
6830         * java/util/Arrays.java
6831         (sort(byte[], int, int)): Check fromIndex < 0.
6832         (sort(char[], int, int)): Likewise.
6833         (sort(short[], int, int)): Likewise.
6834         (sort(int[], int, int)): Likewise.
6835         (sort(long[], int, int)): Likewise.
6836         (sort(float[], int, int)): Likewise.
6837         (sort(double[], int, int)): Likewise.
6838         (sort(Object[], int, int, Comparator)): Likewise.
6839         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
6840         (qsort(char[], int, int)): Likewise.
6841         (qsort(short[], int, int)): Likewise.
6842         (qsort(int[], int, int)): Likewise.
6843         (qsort(long[], int, int)): Likewise.
6844         (qsort(float[], int, int)): Likewise.
6845         (qsort(double[], int, int)): Likewise.
6846
6847 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6848
6849         * java/util/AbstractCollection.java, java/util/AbstractList.java,
6850         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
6851         java/util/ArrayList.java, java/util/Arrays.java,
6852         java/util/BitSet.java, java/util/Calendar.java,
6853         java/util/Collection.java, java/util/ListIterator.java,
6854         java/util/Map.java, java/util/SortedSet.java:
6855         Added additional exceptions to documentation, along
6856         with some additions and corrections.
6857
6858 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
6859
6860         * configure.ac: Handle --enable-gc-debug.
6861         * configure: Regenerate.
6862         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
6863         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
6864         Rearrange include file order.
6865         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
6866         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
6867         (disable_gc_mutex): Delete along with all references.
6868         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
6869         adjust for debug header size.
6870         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
6871         debug case.
6872         (_Jv_AllocArray): Declare min_heap_addr only if needed.
6873         (gcj_describe_type_fn): New.
6874         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
6875         Register gcj_describe_type_fn.
6876         * include/boehm-gc.h:
6877         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
6878         Don't define, but declare, for debug case.
6879         * java/lang/natObject.cc:
6880         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
6881
6882 2004-08-26  Mark Wielaard  <mark@klomp.org>
6883
6884         Fixes PR libgcj/17002:
6885         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
6886         a TimeZoneId string and then try to convert that to a TimeZone with
6887         getDefaultSystemTimeZone(String).
6888         (timezones0): Changed type from Hashtable to HashMap.
6889         (timezones): Create HashMap, not Hashtable.
6890         (getDefaultTimeZone): New method, rewritten from CNI version.
6891         (readTimeZoneFile): New method.
6892         (readtzFile): Likewise.
6893         (skipFully): Likewise.
6894         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
6895         getDefaultTimeZoneId and rewritten.
6896         (getDefaultTimeZoneId): Rewritten in java.
6897         
6898 2004-08-25  David Daney  <daney@avtrex.com>
6899
6900         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
6901         * Makefile.in: Regenerated.
6902
6903 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
6904
6905         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
6906         only if jvmpi is enabled.
6907         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
6908         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
6909         (_Jv_AllocString): Likewise.
6910         (_Jv_AllocPtrFreeObject): Likewise.     
6911
6912 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
6913
6914         * defineclass.cc: Include <stdio.h>.
6915         * java/lang/natClassLoader.cc: Include <stdio.h>.
6916
6917 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
6918             Michael Koch  <konqueror@gmx.de>
6919
6920         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
6921         * Makefile.in: Regenerated.
6922
6923 2004-08-20  Michael Koch  <konqueror@gmx.de>
6924
6925         * configure.ac: Replaced all AC_TRY_COMPILE macros with
6926         AC_COMPILE_IFELSE macros.
6927
6928 2004-08-20  Michael Koch  <konqueror@gmx.de>
6929
6930         * configure.in: Renamed to configure.ac.
6931         * configure.ac: New file.
6932         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
6933         include/config.h.in, testsuite/Makefile.in: Regenerated.
6934
6935 2004-08-20  Michael Koch  <konqueror@gmx.de>
6936
6937         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
6938         * aclocal.m4, configure: Regenerated.
6939
6940 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
6941             Michael Koch  <konqueror@gmx.de>
6942
6943         * configure.in, Makefile.am: Ported to automake 1.9.
6944         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
6945         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
6946         Regenerated.
6947
6948 2004-08-19  Tom Tromey  <tromey@redhat.com>
6949
6950         * java/net/DatagramSocket.java: Fixed typo.
6951
6952 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
6953
6954         PR libgcj/17081
6955         * java/net/URI.java (string): New field. Make all other fields
6956         transient.
6957         (readObject): Implemented.
6958         (writeObject): Implemented.
6959         (URI): Set 'string'.
6960
6961 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
6962
6963         PR libgcj/17079
6964         * java/util/logging/Handler.java (isLoggable): Accept record if its
6965         log level equals the threshold level. From Robin Green.
6966
6967 2004-08-18  David Daney  <ddaney@avtrex.com>
6968
6969         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
6970         instead of sigwait.
6971
6972 2004-08-17  Michael Koch  <konqueror@gmx.de>
6973
6974         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
6975         * Makefile.in: Regenerated.
6976
6977 2004-08-16  Tom Tromey  <tromey@redhat.com>
6978
6979         PR java/8473:
6980         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
6981
6982 2004-08-16  Michael Koch  <konqueror@gmx.de>
6983
6984         * Makefile.am
6985         (math_c_files): Renamed from c_files.
6986         (math_c_source_files): Renamed from c_source_files.
6987         * Makefile.in,
6988         gcj/Makefile.in,
6989         include/Makefile.in,
6990         testsuite/Makefile.in: Regenerated.
6991
6992 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
6993
6994         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
6995         to avoid autoconf warning.
6996         * configure: Rebuilt.
6997
6998 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
6999
7000         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
7001         localhostAddress to loopbackAddress.
7002         * java/net/natInetAddressWin32.cc (lookup): Likewise.
7003
7004 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7005
7006         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
7007         boehm-gc's include dirs.
7008         * configure: Rebuilt.
7009         * include/boehm-gc.h: Include gc_config.h.
7010
7011 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7012
7013         * java/net/InetAddress.java (loopbackAddress): Renamed from 
7014         localhostAddress.
7015         (getByName): Return loopback address for null hostname, without
7016         security check. Use lookup(), not getAllByName.
7017         (getAllByName): Return loopback address for null hostname, without
7018         security check.
7019         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7020         check here.
7021
7022 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7023
7024         PR libgcj/17020
7025         Reported by Robin Green.
7026         * defineclass.cc (handleField): Don't throw exception on unrecognised
7027         modifier. Add FIXME comments for spec compliance.
7028         (handleMethod): Likewise.
7029
7030 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
7031
7032         PR libgcj/16662
7033         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7034         (Almost everywhere): add LOG calls, fix, add comments.
7035         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7036         Add explicit check for LOCKED bit in slow case (PR 16662).
7037         (_Jv_MonitorExit): Add casts in debug-only code.
7038         Always release LOCKED bit before throwing exception.
7039         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7040         isn't.  Handle easy cases without lock acquisition.
7041         (Object::wait): Use NotifyAll for lock inflation.
7042
7043 2004-08-12  David Daney  <ddaney@avtrex.com>
7044
7045         * testsuite/libjava.lang/Process_1.java: New test.
7046         * testsuite/libjava.lang/Process_2.java: New test.
7047         * testsuite/libjava.lang/Process_3.java: New test.
7048         * testsuite/libjava.lang/Process_4.java: New test.
7049         * testsuite/libjava.lang/Process_5.java: New test.
7050         * testsuite/libjava.lang/Process_6.java: New test.
7051         * testsuite/libjava.lang/Process_1.out: Expected result.
7052         * testsuite/libjava.lang/Process_2.out: Expected result.
7053         * testsuite/libjava.lang/Process_3.out: Expected result.
7054         * testsuite/libjava.lang/Process_4.out: Expected result.
7055         * testsuite/libjava.lang/Process_5.out: Expected result.
7056         * testsuite/libjava.lang/Process_6.out: Expected result.
7057
7058 2004-08-12  David Daney  <ddaney@avtrex.com>
7059
7060         PR libgcj/11801
7061         * java/lang/PosixProcess.java: Rewrote.
7062         * java/lang/natPosixProcess.cc: Rewrote.
7063         * java/lang/Runtime.java (execInternal): Declare throws IOException.
7064         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7065         * posix-threads.cc (block_sigchld) New function.
7066         (_Jv_ThreadRegister) Use it.
7067         (_Jv_ThreadStart) Use it.
7068         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7069         * Makefile.am: ... to specify extra native headers.
7070         * configure: Regenerated.
7071         * include/config.h: Regenerated.
7072         * Makefile.in: Regenerated.
7073         * gcj/Makefile.in: Regenerated.
7074         * include/Makefile.in: Regenerated.
7075         * testsuite/Makefile.in: Regenerated.
7076
7077 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
7078
7079         PR tree-optimization/16867
7080         * testsuite/libjava.lang/PR16867.java: New test.
7081
7082 2004-08-09  Per Bothner  <per@bothner.com>
7083
7084         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7085         with private fields and access methods.
7086         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7087         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7088         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7089         ( _Jv_makeUtf8Const): Rewrite using new constructors.
7090         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7091         * defineclass.cc: Use new _Utf8Const access/convenience methods.
7092         * jni.cc: Likewise.
7093         * resolve.cc: Likewise.
7094         * gcj/field.h: Likewise.
7095         * include/jvm.h: Likewise.
7096         * java/lang/Class.h: Likewise.
7097         * java/lang/natClass.cc: Likwise.
7098         * java/lang/natClassLoader.cc: Likewise
7099         * java/lang/reflect/natMethod.cc: Likewise
7100         * verify.cc: Likewise.
7101         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
7102         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
7103
7104 2004-08-10  Andrew Haley  <aph@redhat.com>
7105
7106         * testsuite/libjava.lang/err14.java: New file.
7107         * testsuite/libjava.lang/err14.out: New file.
7108
7109 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
7110
7111         * Makefile.am: Fix missing rename from x_nat_headers to 
7112         xlib_nat_headers.
7113         * Makefile.in: Regenerated.
7114
7115 2004-08-04  Andrew Haley  <aph@redhat.com>
7116
7117         * java/security/BasicPermission.java: Don't check wildcards.
7118
7119 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
7120             Michael Koch  <konqueror@gmx.de>
7121
7122         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7123         * configure.in: Replaced all usages of AC_LINK_FILES by
7124         AC_CONFIG_LINKS.
7125         * aclocal.m4,
7126         configure: Regenerated.
7127
7128 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
7129             Michael Koch  <konqueror@gmx.de>
7130
7131         * acconfig.h: Removed.
7132         * Makefile.am: Rename variables for xlib peer to include xlib and
7133         gtk_c_headers to gtk_jni_headers.
7134         * Makefile.in: Regenerated.
7135
7136 2004-08-04  Andrew Haley  <aph@redhat.com>
7137
7138         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7139         debugging.
7140
7141 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
7142
7143         * configure.in: Eliminate uses of changequote (mostly by quoting []).
7144         Replace most top level 'dnl' comments with '#' comments, conforming
7145         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
7146         help strings.
7147         * configure: Rebuilt.
7148
7149 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
7150
7151         * acinclude.m4: Include no-executables.m4.
7152         * aclocal.m4: Rebuild.
7153         * configure.in: Convert to the autoconf 2.59 version of
7154         of the no-executables hack, and also of the nonstandard CXX
7155         hack and the multilibbed CC and CXX hack.  Change prerequisite
7156         to autoconf 2.59.
7157         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
7158         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7159         testsuite/Makefile.in: Regenerate.
7160
7161 2004-08-03  Tom Tromey  <tromey@redhat.com>
7162
7163         * jni.cc: Reindented.
7164
7165 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7166
7167         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7168
7169 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7170
7171         * testsuite/libjava.compile/PR16701.java: New test.
7172
7173 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7174
7175         * java/util/Collection.java, java/util/List.java,
7176         java/util/Map.java, java/util/Set.java,
7177         java/util/SortedMap.java, java/util/SortedSet.java:
7178         Added additional exceptions to documentation.
7179
7180 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
7181
7182         PR libgcj/16814
7183         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7184         * configure. Regenerate.
7185         * include/win32.h: Explicitly include winsock2.h
7186         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7187         Winsock api.
7188
7189 2004-07-30  Michael Koch  <konqueror@gmx.de>
7190
7191         * java/util/zip/GZIPInputStream.java
7192         (GZIPInputStream): Increase buffer size to 4k.
7193         * java/util/zip/GZIPOutputStream.java
7194         (GZIPOutputStream): Likewise.
7195         * java/util/zip/Inflater.java
7196         (setInput): Merged formating with GNU classpath.
7197         * java/util/zip/InflaterInputStream.java
7198         (InflaterInputStream): Increase buffer size to 4k.
7199         (fill): Throw exception if stream ends early.
7200         (read): Merged endless-loop with GNU classpath.
7201         (skip): Increase buffer size to 2k.
7202
7203 2004-07-30  Michael Koch  <konqueror@gmx.de>
7204
7205         * gnu/java/awt/EmbeddedWindow.java
7206         (addNotify): Use AccessController to allow execution of privileged
7207         code.
7208
7209 2004-07-29  Michael Koch  <konqueror@gmx.de>
7210
7211         * gnu/java/lang/MainThread.java:
7212         Explicitely import used classes.
7213         (args): Make it type String[].
7214
7215 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7216
7217         * gnu/java/awt/ComponentDataBlitOp.java,
7218         gnu/java/beans/ExplicitBeanInfo.java,
7219         gnu/java/beans/IntrospectionIncubator.java,
7220         gnu/java/beans/editors/ColorEditor.java,
7221         gnu/java/beans/editors/FontEditor.java,
7222         gnu/java/beans/editors/NativeBooleanEditor.java,
7223         gnu/java/beans/editors/NativeByteEditor.java,
7224         gnu/java/beans/editors/NativeDoubleEditor.java,
7225         gnu/java/beans/editors/NativeFloatEditor.java,
7226         gnu/java/beans/editors/NativeIntEditor.java,
7227         gnu/java/beans/editors/NativeLongEditor.java,
7228         gnu/java/beans/editors/NativeShortEditor.java,
7229         gnu/java/beans/editors/StringEditor.java,
7230         gnu/java/io/ClassLoaderObjectInputStream.java,
7231         gnu/java/io/decode/Decoder.java,
7232         gnu/java/io/encode/Encoder.java,
7233         gnu/java/lang/ClassHelper.java,
7234         gnu/java/locale/Calendar.java,
7235         gnu/java/locale/Calendar_de.java,
7236         gnu/java/locale/Calendar_en.java,
7237         gnu/java/locale/Calendar_nl.java,
7238         gnu/java/locale/LocaleInformation_de.java,
7239         gnu/java/locale/LocaleInformation_en.java,
7240         gnu/java/locale/LocaleInformation_nl.java:
7241         Cleaned up imports.
7242
7243 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7244
7245         * README: Remove obsolete info. Update bug URL.
7246         * THANKS: Updated.
7247         * NEWS: Updated with news up to GCC 3.4 release.
7248
7249 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7250
7251         * gnu/java/security/action/GetPropertyAction.java (setParameters):
7252         Renamed from 'setName'. New 2-argument form with default value.
7253         (run): Pass default 'value' parameter to System.getProperty().
7254         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7255         typos.
7256         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7257         not 'setName'.
7258
7259 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7260
7261         * configure.in: Check for minimum GTK version 2.4 requirement.
7262         * configure: Rebuilt.
7263
7264 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7265
7266         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7267         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7268         Reduce sleep time.
7269         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7270         compiler bug.
7271         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
7272         address. Reduce sleep times. Synchronize with target threads before
7273         attempting to interrupt them. Don't try to calibrate yeild count,
7274         instead, always loop for a fixed time.
7275         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7276         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7277         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7278         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7279         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7280         * testsuite/libjava.lang/pr179.java: Likewise.
7281         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7282         time. Remove upper bounds check on sleep time. 
7283
7284 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7285
7286         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7287         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
7288
7289 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7290
7291         * java/io/File.java (toURI): Throw RuntimeException, not 
7292         InternalError.
7293         * java/lang/Runtime.java (exit): Qualify static sleep() call with
7294         class name, not instance.
7295
7296 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
7297
7298         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7299         and gnu/java/security/action/SetAccessibleAction.java.
7300         * Makefile.in: Rebuilt.
7301
7302 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7303
7304         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7305         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7306         _Jv_InitPrimClass.
7307         (DECLARE_PRIM_TYPE): Don't declare array vtables.
7308         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7309         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7310
7311 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7312
7313         * Makefile.am: Replace jar, rmic and rmiregistry references with
7314         gjar, grmic and grmiregistry.
7315         * configure.in: Likewise.
7316         * Makefile.in: Regenerate.
7317         * configure: Likewise.
7318         * gcj/Makefile.in: Likewise.
7319         * include/Makefile.in: Likewise.
7320         * testsuite/Makefile.in: Likewise.
7321
7322 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7323
7324         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7325         for privileged getProperty calls.
7326         * java/io/ObjectOutputStream.java (getField): No longer static. Use
7327         SetAccessibleAction instead of anonymous class for doPrivileged call.
7328         (getMethod): Likewise.
7329         (setAccessible): New field. PrivilegedAction object to use when
7330         calling setAccessible.
7331         * java/io/ObjectStreamClass.java (calculateOffsets): Use
7332         SetAccessibleAction instead of anonymous class for diPrivileged call.
7333         (setFields): Likewise.
7334         (getClassUID): Likewise.
7335         (findMethod): Likewise.
7336         * gnu/java/security/action/GetPropertyAction.java: New class.
7337         * gnu/java/security/action/SetAccessibleAction.java: New class. 
7338
7339 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7340
7341         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7342         for final fields.
7343         * testsuite/libjava.lang/Serialization.java: New test.
7344         * testsuite/libjava.lang/Serialization.out: New.
7345
7346 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7347
7348         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7349         missed in last commit.
7350
7351 2004-07-23  Mark Wielaard  <mark@klomp.org>
7352
7353         * java/lang/System.java (static): Set http.agent system property when
7354         not yet set.
7355         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7356         from system property inside AccessController.doPrivileged() call.
7357         (proxyPort): Made package private.
7358         (proxyInUse): Likewise.
7359         (proxyHost): Likewise.
7360         (userAgent): Likewise.
7361
7362 2004-07-23  Mark Wielaard  <mark@klomp.org>
7363
7364         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7365         implementation.
7366
7367 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
7368
7369         * Makefile.am (ordinary_java_source_files): Add
7370         DefaultContentHandlerFactory.java.
7371         * Makefile.in: Rebuilt.
7372         * java/net/URLConnection.java (defaultFactory): New field.
7373         (getContent): 
7374         (getContentHandler): Renamed from 'setContentHandler'. Try 
7375         defaultFactory after user-set factory, if any. Search for content 
7376         handler implementations in gnu.java.net.content, not gnu.gcj.content.
7377         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7378         Implemented.
7379         (getLastModified): Implemented.
7380         (getPermission): Create file permission here, instead of in
7381         constructor.
7382         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7383         Implemented.
7384         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7385         Implemented.
7386         (getLastModified): Implemented.
7387         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7388         Default implementation.
7389         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7390         Implement using GdkPixbufDecoder.
7391         
7392 2004-07-21  Michael Koch  <konqueror@gmx.de>
7393
7394         * javax/swing/JTextArea.java
7395         (setLineWrap): Fire property change event after new value is set.
7396         (setTabSize): Likewise.
7397
7398 2004-07-21  Michael Koch  <konqueror@gmx.de>
7399
7400         * javax/swing/JTable.java
7401         (autoCreateColumnsFromModel): New field.
7402         (autoResizeMode): Likewise.
7403         (cellEditor): Likewise.
7404         (cellSelectionEnabled): Likewise.
7405         (columnModel): Likewise.
7406         (dataModel): Likewise.
7407         (defaultEditorsByColumnClass): Likewise.
7408         (defaultRenderersByColumnClass): Likewise.
7409         (editingColumn): Likewise.
7410         (editingRow): Likewise.
7411         (gridColor): Likewise.
7412         (preferredViewportSize): Likewise.
7413         (rowHeight): Likewise.
7414         (rowMargin): Likewise.
7415         (rowSelectionAllowed): Likewise.
7416         (selectionBackground): Likewise.
7417         (selectionForeground): Likewise.
7418         (selectionModel): Likewise.
7419         (showHorizontalLines): Likewise.
7420         (showVerticalLines): Likewise.
7421         (tableHeader): Likewise.
7422         (JTable): Implemented.
7423         (getColumnModel): Likewise.
7424         (getSelectedRow): Likewise.
7425         (getSelectionModel): Likewise.
7426         (setModel): Likewise.
7427         (setSelectionModel): Likewise.
7428         (createScrollPaneForTable): New method.
7429         (createDefaultDataModel): Likewise.
7430         (createDefaultListSelectionModel): Likewise.
7431         (getModel): Likewise.
7432         (getTableHeader): Likewise.
7433         (setTableHeader): Likewise.
7434         (getColumnSelectionAllowed): Likewise.
7435         (setColumnSelectionAllowed): Likewise.
7436         (getRowSelectionAllowed): Likewise.
7437         (setRowSelectionAllowed): Likewise.
7438         (getAutoResizeMode): Likewise.
7439         (setAutoResizeMode): Likewise.
7440         (getColumnCount): Likewise.
7441         (getRowCount): Likewise.
7442         (getCellRenderer): Likewise.
7443         * javax/swing/JTree.java
7444         (cellRenderer): New field.
7445         (editable): Likewise.
7446         (rootVisible): Likewise.
7447         (showsRootHandles): Likewise.
7448         (getModel): New method.
7449         (setModel): Likewise.
7450         (isEditable): Likewise.
7451         (setEditable): Likewise.
7452         (isRootVisbile): Likewise.
7453         (setRootVisible): Likewise.
7454         (getShowsRootHandles): Likewise.
7455         (setShowRootHandles): Likewise.
7456         (getCellRenderer): Likewise.
7457         (setCellRenderer): Likewise.
7458
7459 2004-07-21  Michael Koch  <konqueror@gmx.de>
7460
7461         * javax/swing/JFormattedTextField.java
7462         (setDocument): Implemented.
7463         * javax/swing/JRootPane.java:
7464         Fixed javadocs.
7465         * javax/swing/JTable.java
7466         (getDefaultRenderer): New method.
7467         * javax/swing/JTextField.java
7468         (setFont): Likewise.
7469         (getPreferredSize): Likewise.
7470         * javax/swing/JToggleButton.java
7471         (getAccessibleContext): Fix javadoc.
7472         * javax/swing/JTree.java:
7473         Add some javadocs.
7474         * javax/swing/JViewport.java:
7475         Likewise.
7476
7477 2004-07-21  David Jee  <djee@redhat.com>
7478
7479         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7480         Collect all native method declaration at the top.
7481         (create): Set the filename filter if necessary.
7482         (setDirectory): Call nativeSetDirectory().
7483         (setFilenameFilter): Implement.
7484         (filenameFilterCallback): New method.
7485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7486         (create): Configure dialog to show hidden files.
7487         (filenameFilterCallback): New function. 
7488         (nativeSetFilenameFilter): New function.
7489         (nativeSetDirectory): New function.
7490
7491 2004-07-21  Kim Ho  <kho@redhat.com>
7492
7493         * javax/swing/plaf/basic/BasicSliderUI.java:
7494         Ran Jalopy.
7495         (paintTrack): Fill the track before painting
7496         the borders.
7497
7498 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7499
7500         patch from Roman Kennke <roman@ontographics.com>
7501         * javax/swing/Spring.java: New file.
7502         * javax/swing/SpringLayout.java: New file.
7503         * Makefile.am: Add new files.
7504         * Makefile.in: Regenerate.
7505
7506 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7507
7508         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7509         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7510         * javax/swing/ScrollPaneLayout.java: Likewise.
7511
7512 2004-07-21  Kim Ho  <kho@redhat.com>
7513
7514         * javax/swing/DefaultDesktopManager.java:
7515         (findMinimum): Removed.
7516         (resizeFrame): Trust the UI to pass valid 
7517         bounds.
7518         * javax/swing/JOptionPane.java:
7519         Implemented showInternalXXXDialog methods.
7520         (startModal): New method.
7521         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7522         (BorderListener::mouseDragged): Verify that the new 
7523         bounds are valid before passing them to the DesktopManager.
7524         (preferredLayoutSize): Delegate
7525         to getSize.
7526         (minimumLayoutSize): Ditto.
7527         (getSize): New method.
7528         (GlassPaneDispatcher): Reimplemented by copying 
7529         a stripped down LightweightDispatcher from Container.
7530         (getMinimumSize): Call minimumLayoutSize.
7531         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7532         Ran Jalopy.
7533         (mousePressed): Add ability to properly close 
7534         JInternalFrames.
7535         * javax/swing/plaf/basic/BasicToolBarUI.java:
7536         (DragWindow): Set owner for DragWindow.
7537
7538 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7539
7540         * java/awt/image/ShortLookupTable.java: New file.
7541         * java/awt/image/ByteLookupTable.java: New file.
7542         * Makefile.am: Added new files.
7543         * Makefile.in: Regenerated.
7544
7545 2004-07-21  David Jee  <djee@redhat.com>
7546
7547         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7548         (create(GtkContainerPeer)): New native method.
7549         (create()): Call native create(), passing in the parent frame
7550         as the paramter. Natively set the current file and directory.
7551         (setFile): Construct an absolute filename before passing it to
7552         the native peer.
7553         (nativeGetDirectory): New method.
7554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7555         (window_closed): Removed.
7556         (ok_clicked): Likewise.
7557         (cancel_clicked): Likewise.
7558         (handle_response): New method.
7559         (create): Use GtkFileChooserDialog.
7560         (connectSignals): Connect to handle_response.
7561         (nativeGetDirectory): New method.
7562         (nativeSetFile): Use GtkFileChooserDialog.
7563
7564 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7565
7566         * java/awt/image/LookupTable.java: New file.
7567         * Makefile.am: Added new file.
7568         * Makefile.in: Regenerated.
7569
7570 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7571
7572         * java/awt/image/Kernel.java: New file.
7573         * Makefile.am: Added new file.
7574         * Makefile.in: Regenerated.
7575
7576 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7577
7578         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7579         * javax/swing/JMenu.java: Likewise.
7580         * javax/swing/JMenuBar.java: Likewise.
7581         (MARGIN_CHANGED_PROPERTY): New property.
7582         (setMargin): Implemented.
7583         * javax/swing/JMenuItem.java: Fixed javadocs.
7584         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7585         (LABEL_CHANGED_PROPERTY): New property.
7586         (add): changed to use createActionComponent.
7587         (createActionComponent): Implemented.   
7588         (setLabel): Fire PropertyChangeEvent if label property
7589         changes.
7590         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7591         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7592         (ContainerHandler): Repaint if margin property has changed.
7593         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7594         (installUI): Call installComponents().
7595         (uninstallUI): Call uinstallComponents().
7596         * javax/swing/plaf/basic/BasicMenuUI.java:
7597         Fixed javadocs.
7598         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7599         Likewise.
7600
7601 2004-07-21  Kim Ho  <kho@redhat.com>
7602
7603         * javax/swing/plaf/basic/BasicToolBarUI.java:
7604         (DragWindow): Use the right constructor.
7605
7606 2004-07-21  Kim Ho  <kho@redhat.com>
7607
7608         * javax/swing/JToolBar.java:
7609         (layoutContainer): Use getComponents.
7610         * javax/swing/plaf/basic/BasicToolBarUI.java:
7611         (DragWindow): Don't use SwingUtilities' 
7612         getOwnerFrame
7613         (ToolBarDialog): ditto.
7614
7615 2004-07-21  Kim Ho  <kho@redhat.com>
7616
7617         * javax/swing/JRootPane.java:
7618         Ran jalopy.
7619         (layoutContainer): Set the glasspane's size to 
7620         be the same as the content pane.
7621         (createGlassPane): Set opaque property to false.
7622
7623 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7624
7625         * java/awt/Component.java (requestFocus()): Don't handle Panels
7626         specially.
7627         (requestFocus(boolean)): Likewise.
7628         (requestFocusInWindow(boolean)): Likewise.
7629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7630         Set GTK_CAN_FOCUS flag.
7631
7632 2004-07-21  Kim Ho  <kho@redhat.com>
7633
7634         * Makefile.am: Added new file.
7635         * Makefile.in: Regenerated.
7636         * gcj/Makefile.in: Regenerated.
7637         * include/Makefile.in: Regenerated.
7638         * javax/swing/AbstractButton.java:
7639         Add rollOverEnabled property.
7640         (setRolloverEnabled): Use new property.
7641         (isRolloverEnabled): Use new property.
7642         * javax/swing/JTabbedPane.java:
7643         (setComponent): Remove useless JTabbedPane.this.
7644         * javax/swing/JToolBar.java: Finish implementation.
7645         * javax/swing/plaf/basic/BasicArrowButton.java:
7646         (paint): Moved border painting to a border.
7647         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7648         Change JToolBar look and feel defaults.
7649         * javax/swing/plaf/basic/BasicOptionPaneUI.java
7650         (actionPerformed): Return Integer index instead of name.
7651         (addButtonComponents): Check to see if component is
7652         JButton last.
7653         (createMessageArea): Don't use components that are not
7654         completed yet.
7655         (getIconForType): Use temporary icons.
7656         * javax/swing/plaf/basic/BasicSliderUI.java:
7657         (mousePressed): Do not return if it's on thumb.
7658         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7659         (paintMinorTickForVertSlider): ditto.
7660         (paintMajorTickForHorizSlider): ditto.
7661         (paintMajorTickForVertSlider): ditto.
7662         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7663         Add a border around the SplitPaneDivider.
7664         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7665         Remove comments.
7666         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7667         New file. Implemented.
7668         * javax/swing/plaf/basic/BasicToolBarUI.java:
7669         Implemented.
7670         * testsuite/Makefile.in: Regenerated.
7671
7672 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7673
7674         * javax/swing/Timer.java (run): Queue events each time cycle.
7675
7676 2004-07-21  David Jee  <djee@redhat.com>
7677
7678         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7679         (imageComplete): Call image.imageComplete().
7680         * java/awt/image/MemoryImageSource.java:
7681         Reimplement consumers as a Vector instead of a Hashtable.  This is
7682         because enumeration on a Hashtable is not thread-safe.
7683         (addConsumer): Adapt to Vector consumers.
7684         (isConsumer): Adapt to Vector consumers.
7685         (removeConsumer): Adapt to Vector consumers.
7686         (startProduction): Adapt to Vector consumers. Call imageComplete()
7687         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7688         (newPixels): Adapt to Vector consumers.
7689         (sendPicture): Set the color model of the image consumer.
7690         (newPixels(IIII)): Adapt to Vector consumers.
7691         (newPixels(IIIIB)): Adapt to Vector consumers.
7692
7693 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7694
7695         * java/awt/Component.java (deliverEvent): Implement.
7696         (postEvent): Implement.
7697         (handleEvent): Implement.
7698         (translateEvent): New method.
7699         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
7700         * java/awt/Container.java (deliverEvent): Implement.
7701         * java/awt/Event.java (paramString): Fix formatting.
7702         * java/awt/Font.java (toString): Likewise.
7703         * java/awt/Window.java (postEvent): Implement.
7704
7705 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7706
7707         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7708         Set window's focus owner upon receiving a FOCUS_LOST event.
7709         * java/awt/Window.java (Window()): Refocus the previously
7710         focused component within the window when the window regains the
7711         top-level focus.
7712         (setFocusOwner): New method.
7713         * java/awt/Component.java (requestFocus): Add FIXME.
7714
7715         * libgcj.pc.in: Remove library flags.
7716
7717 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7718
7719         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7720         MOUSE_PRESSED event.
7721         * java/awt/Component.java (requestFocus()): Handle Panel
7722         specially.  Post FOCUS_LOST event on opposite component.
7723         (requestFocus(boolean)): Likewise.
7724         (requestFocusInWindow(boolean)): Likewise.
7725         (paramString): Reorder dimension fields.
7726         * java/awt/Container.java (paramString): Fix string format.
7727         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7728         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
7729         process key events if the focus owner is non-null.
7730         (dispatchKeyEvent): Likewise.
7731         * java/awt/Frame.java (paramString): Fix formatting.
7732         (generateName): New method.
7733         (getUniqueLong): Likewise.
7734         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7735         the temporary focus owner is null.  If so, return the permanent
7736         focus owner.
7737         * java/awt/Panel.java (generateName): New method.
7738         (getUniqueLong): Likewise.
7739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
7740         signal handling to make callbacks more specific.
7741
7742 2004-07-21  Michael Koch  <konqueror@gmx.de>
7743
7744         * javax/swing/text/Position.java
7745         (Bias): Implemented.
7746
7747 2004-07-21  Michael Koch  <konqueror@gmx.de>
7748
7749         * javax/swing/LookAndFeel.java
7750         (provideErrorFeedback): New method.
7751
7752 2004-07-21  Michael Koch  <konqueror@gmx.de>
7753
7754         * javax/swing/JTextArea.java
7755         (tabSize): New field.
7756         (getTabSize): New method.
7757         (setTabSize): Likewise.
7758
7759 2004-07-21  Michael Koch  <konqueror@gmx.de>
7760
7761         * javax/swing/ActionMap.java:
7762         Fixed javadocs all over.
7763         (serialVersionUID): Made private.
7764         (parent): Don't explicitely initialize with default value.
7765         (get): SImplified.
7766         (keys): Reimplemented.
7767         (allKeys): Likewise.
7768         (convertSet): Removed.
7769         * javax/swing/ComponentInputMap.java:
7770         Fixed javadocs all over.
7771         (ComponentInputMap): Implemented.
7772         (put): Likewise.
7773         (clear): Likewise.
7774         (remove): Likewise.
7775         (SetParent): Likewise.
7776         (getComponent): Likewise.
7777         * javax/swing/InputMap.java:
7778         Fixed javadocs all over.
7779         (serialVersionUID): Made private.
7780         (parent): Don't explicitely initialize with default value.
7781         (get): SImplified.
7782         (keys): Reimplemented.
7783         (allKeys): Likewise.
7784         (convertSet): Removed.
7785
7786 2004-07-21  Michael Koch  <konqueror@gmx.de>
7787
7788         * javax/swing/ActionMap.java,
7789         javax/swing/ComponentInputMap.java,
7790         javax/swing/InputMap.java,
7791         javax/swing/table/DefaultTableColumnModel.java,
7792         javax/swing/table/TableColumn.java,
7793         javax/swing/table/TableColumnModel.java,
7794         javax/swing/table/TableModel.java,
7795         javax/swing/text/AbstractDocument.java,
7796         javax/swing/text/TextAction.java:
7797         Reformated.
7798
7799 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7800
7801         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
7802         Make method non-static.
7803         * javax/swing/AbstractButton.java:
7804         Rename fields to match property names where possible.
7805         (iconTextGap): New property.
7806         * javax/swing/JCheckBox.java: Match AbstractButton changes.
7807         (init) New method, call from after various constructors.
7808         * javax/swing/JComponent.java (revalidate): 
7809         Invalidate before queueing repair.
7810         * javax/swing/JList.java (getPreferredScrollableViewportSize):
7811         Reimplement in terms of visibleRowCount property.
7812         * javax/swing/JMenuButton.java: Match AbstractButton changes.
7813         * javax/swing/JScrollPane.java (createScrollListener): 
7814         Remove tracing chatter.
7815         * javax/swing/JToggleButton.java: Match AbstractButton changes.
7816         * javax/swing/RepaintManager.java (addInvalidComponent): 
7817         Don't invalidate.
7818         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
7819         calculations.
7820         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
7821         Mimic sun behavior on top left/right positioning.
7822         * javax/swing/ViewportLayout.java (preferredLayoutSize):
7823         Remove mistaken use of preferredScrollableViewportSize here.
7824         (layoutContainer): Use view's preferred size as basis.
7825         * javax/swing/plaf/basic/BasicButtonUI.java:
7826         Set, get, and use textIconGap property.
7827         (paint) Paint text returned from layout (with ellipsis).
7828         * javax/swing/plaf/basic/BasicListUI.java:
7829         Remove tracing chatter, correct various minor calculations.
7830         (getCellBounds): Update layout state before calculating.
7831         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
7832         Use margin default similar to sun's.    
7833         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
7834         (createIncreaseIcon): Center icon, minimize margins.
7835         (createDecreaseIcon): Likewise.
7836         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
7837         Implement.
7838         (installUI): Call it.
7839         (uninstallDefaults): Implement.
7840         (uninstallUI): Call it.
7841         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
7842         Call existing Window constructor.
7843         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
7844         Set clip before painting.
7845
7846 2004-07-21  Olga Rodimina <rodimina@redhat.com>
7847         
7848         * javax/swing/JMenuItem.java:
7849         (processMouseEvent): Reimplemented to deal with
7850         mouse drag events.
7851         (createMenuDragMouseEvent): New private helper method.
7852         Creates MenuDragMouseEvent.
7853         * javax/swing/MenuSelectionManager.java
7854         (componentForPoint): Implemented.
7855         (isComponentPartOfCurrentMenu): Made public.
7856         (processMouseEvent): Reimplemented to deal with 
7857         mouse drag events.
7858         (setSelectedPath): Corrected small mistake that caused
7859         path to be set incorrectly.
7860         (getPath): If given component is JMenu then also add this
7861         menu's popup menu to the selected path.
7862         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7863         (getPath): Ditto.
7864         (getPreferredSize): Call getPreferredMenuItemSize().
7865         (getPreferredItemSize): Moved code from getPreferredSize to here.
7866         (installListeners): Install MouseMotionListeners.
7867         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
7868         if mouse wasn't released in the bounds of this menu item.
7869         (MenuDragMouseHandler): Implemented.
7870         * javax/swing/plaf/basic/BasicMenuUI.java:
7871         (installListeners): Install MouseMotionListener and 
7872         MenuDrageMouseListener.
7873         (MenuDragMouseHandler): Implemented.
7874         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7875         (uninstallListeners): Implemented.
7876         
7877 2004-07-21  Michael Koch  <konqueror@gmx.de>
7878
7879         * javax/swing/JCheckBox.java: Reformated.
7880         (JCheckBox): Fixed all constructors.
7881         (isBorderPaintedFlat): New method.
7882         (setBorderPaintedFlat): New method.
7883         * javax/swing/JEditorPane.java
7884         (createEditorKitForContentType): Made public.
7885         (scrollToReference): Likewise.
7886         * javax/swing/JTextArea.java
7887         (setLineWrap): Fire property change.
7888         * javax/swing/JToggleButton.java
7889         (JToggleButton): New constructor.
7890         (JToggleButton): Simplified.
7891         * javax/swing/text/AttributeSet.java
7892         (FontAttribute): Renamed from FontCharacterAttribute.
7893         * javax/swing/text/JTextComponent.java
7894         (KeyBinBinding): Added javadoc.
7895         (JTextComponent): Likewise.
7896         (getAccessibleContext): Fixed javadoc.
7897         * javax/swing/text/View.java
7898         (View): Added javadoc.
7899         * javax/swing/text/TabableView.java: New file.
7900         * Makefile.am: Added javax/swing/text/TabableView.java.
7901         * Makefile.in: Regenerated.
7902
7903 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7904
7905         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
7906         * gnu/java/awt/peer/gtk/GtkToolkit.java 
7907         (GtkErrorImage): New helper class.
7908         (bufferedImageOrError): New helper method.
7909         (createImage): Use it.
7910
7911 2004-07-21  David Jee  <djee@redhat.com>
7912
7913         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7914         (setCaretPosition): Scroll the text view so the new caret position
7915         is visible on screen.
7916
7917 2004-07-21  David Jee  <djee@redhat.com>
7918
7919         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7920         (setBounds): Do not validate awtComponent here.
7921         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
7922         (getPreferredSize): New method.
7923         * java/awt/ScrollPane.java
7924         (ScrollPane): Set default size to 100x100.
7925         (addNotify): If child is not a Panel, wrap it with a new Panel.
7926         (paramString): Implement.
7927
7928 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7929
7930         * javax/swing/JMenu.java:
7931         (setSelected): Display popup menu only if this menu 
7932         is showing on the screen.
7933         * javax/swing/JPopupMenu.java:
7934         (processMouseEvent): Added comment.
7935         (processKeyEvent): Likewise.
7936         * javax/swing/MenuSelectionManager.java:
7937         (clearSelectedPath): Only fireStateChanged() after
7938         selected path was changed, not before.
7939         (setSelectedPath): Likewise.
7940         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7941         (paintMenuItem): Corrected position of menu item's
7942         icon.
7943         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7944         (installUI): Correct setDefaultLightWeightPopupEnabled call.
7945         (popupMenuCanceled): Reimplemented.
7946         (popupMenuWillBecomeVisible): Select first menu item by default 
7947         when displaying free floating popup menus.
7948         (TopWindowListener): Reimplemented.
7949
7950 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7951
7952         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
7953         Panel from being painted twice when it is first shown.
7954
7955 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7956
7957         * java/awt/Window.java: Reverted changes from my 
7958         previous patch for creating window without an owner.
7959         * javax/swing/SwingUtilities.java: 
7960         (SwingUtilities.OwnerFrame): made static.
7961         (OwnerFrame.setVisible): New method. Overridden with
7962         empty implementation.
7963         (OwnerFrame.isShowing): New method. Ovverridden
7964         to return always true.
7965
7966 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7967
7968         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7969         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7970         (GtkComponentPeer): Remove temporary try/catch block.
7971         (setVisible): Call show and hide.
7972         (show): Make native.
7973         (hide): Likewise.
7974         (getArgs): Don't add "visible" argument.
7975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7976         (property_notify_predicate): Return Bool instead of int.
7977         (find_layout): New function.
7978         (connectJObject): Call find_layout.
7979         (connectSignals): Likewise.
7980         (moveLayout): Likewise.
7981         (gtkLayoutSetVisible): Likewise.
7982
7983 2004-07-21  Mark Wielaard  <mark@klomp.org>
7984
7985         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
7986         on notifier object before calling notifyAll().
7987
7988 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7989
7990         * java/awt/Window.java: Changed constructors to use new
7991         method that is described below. Constructors call this
7992         methods only if newly created window should have an owner.
7993         (setWindowOwner): New method. Implementation for
7994         this method is moved from this(owner,configuration).
7995         * javax/swing/JWindow.java:
7996         (JWindow): Reimplement to use SwingUtilities.ownerFrame
7997         instead of owner.
7998         * javax/swing/SwingUtilities.java:
7999         (ownerFrame): Change type of this field to OwnerFrame.
8000         (getOwnerFrame): Changed to return object of type OwnerFrame.
8001         (SwingUtilities.OwnerFrame): New class. Represents owner
8002         of a Window that is not provided with one.
8003
8004 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8005
8006         *  javax/swing/AbstractButton.java: 
8007         (configurePropertiesFromAction): Set action command
8008         to button's text by default if action command is not 
8009         explicitely specified.
8010         * javax/swing/JMenu.java: Remove unnecessary listener
8011         and methods relevant to it.
8012         (setSelected): Reimplemented.
8013         (menuSelectionChanged): Moved most part of implementation to
8014         setSelected() and call it instead.
8015         * javax/swing/JMenuItem.java: 
8016         (init): Comment out statement that sets paint_border to false.
8017         (configurePropertiesFromAction): Do not set accelerator
8018         for JMenu.
8019         (menuSelectionChanged): Change selected index in the selection
8020         model of menu item's parent.
8021         * javax/swing/JPopupMenu.java:
8022         (remove): Set constraints.fill field to GridBagConstraints.BOTH
8023         instead of GridBagConstraints.HORIZONTAL.
8024         (insert): Likewise.
8025         (createActionChangeListener): Implemented.
8026         (setVisible): Correct location of HeavyWeightMenu and 
8027         don't firePopupMenuCanceled().
8028         (menuSelectionChanged): Implemented.
8029         (ActionChangeListener): New Listener. Implemented.
8030         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8031         (BasicMenuBarUI.ContainerHandler): Implemented.
8032         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8033         (paintMenuItem): Uncommented out code that paints 
8034         icon, now that icons are working properly.
8035         (PropertyChangeListener): Implemented.
8036         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8037         Added javadocs.
8038         (topWindowListener): New field.
8039         (Constructor): initialize topWindowListener.
8040         (BasicPopupMenuUI.TopWindowListener): Implemented.      
8041         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8042         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8043         Implemented.
8044
8045 2004-07-21  Michael Koch  <konqueror@gmx.de>
8046
8047         * javax/swing/plaf/basic/BasicButtonUI.java
8048         (paintFocus): Fixed method signature.
8049         (paintButtonPressed): Likewise.
8050         (paintButtonNormal): Likewise.
8051         (paintText): New method.
8052         * javax/swing/plaf/basic/BasicLabelUI.java
8053         (paint): Re-indented.
8054         * javax/swing/plaf/basic/BasicTextUI.java
8055         (installUI): Set parent textComponent to opaque.
8056         * javax/swing/text/DefaultHighlighter.java
8057         (checkPositions): New helper method.
8058         (addHighlight): Throws BadLocationException, check positions.
8059         (changeHighlight): Likewise.
8060         * javax/swing/text/EditorKit.java
8061         (EditorKit): Implements Serializable.
8062         * javax/swing/text/JTextComponent.java
8063         (getUI): Added javadoc.
8064         (setUI): Likewise.
8065         (upadteUI): Added javadoc, don't revalidate and repaint.
8066
8067 2004-07-21  David Jee  <djee@redhat.com>
8068
8069         * java/awt/GridBagLayout.java
8070         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8071         * javax/swing/AbstractButton.java
8072         (setText): Reindent.
8073         * javax/swing/RepaintManager.java
8074         (addInvalidComponent): Find the first ancestor that isValidateRoot().
8075
8076 2004-07-21  Michael Koch  <konqueror@gmx.de>
8077
8078         * javax/swing/JFormattedTextField.java
8079         (value): New field.
8080         (JFormattedTextField): Implemented.
8081         (getValue): Likewise.
8082         (setValue): Likewise.
8083         * javax/swing/LookAndFeel.java
8084         (getSupportsWindowDecorations): New method.
8085         * javax/swing/UIDefaults.java:
8086         Use java.beans.PropertyChangeSupport instead of doing all ourself.
8087         (addPropertyChangeListener): Made public.
8088         (addResourceBundle): Likewise.
8089         (removeResourceBundle): Likewise.
8090         (setDefaultLocale): Likewise.
8091         * javax/swing/plaf/basic/BasicRootPaneUI.java
8092         (BasicRootPaneUI): Implements PropertyChangeListener.
8093         (propertyChange): New method.
8094         * javax/swing/plaf/basic/BasicTextUI.java
8095         (BasicHighlighter): New inner class.
8096         (createHighlighter): New method.
8097         * javax/swing/plaf/basic/BasicToolBarUI.java
8098         (DragWindow): Extends java.awt.Window.
8099         * javax/swing/text/JTextComponent.java
8100         (getDocument): Removed debug output.
8101         * javax/swing/plaf/basic/BasicTextFieldUI.java,
8102         javax/swing/text/DefaultHighlighter.java,
8103         javax/swing/text/FieldView.java,
8104         javax/swing/text/PlainView.java: New files.
8105         * Makefile.am: Added new files.
8106         * Makefile.in: Regenerated.
8107
8108 2004-07-21  Michael Koch  <konqueror@gmx.de>
8109
8110         * javax/swing/JEditorPane.java
8111         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8112         (createEditorKitForContentType): Likewise.
8113         * javax/swing/text/DefaultEditorKit.java
8114         (serialVersionUID): Added constant field.
8115         (EndOfLineStringPropery): Fixed typo.
8116         (DefaultEditorKit): New constructor.
8117         * javax/swing/text/Segment.java:
8118         Import java.text.CharacterIterator.
8119         * javax/swing/text/CharacterIterator.java,
8120         javax/swing/text/PlainEditorKit.java: Removed.
8121         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8122         javax/swing/text/PlainEditorKit.java.
8123         * Makefile.in: Regenerated.
8124
8125 2004-07-21  Michael Koch  <konqueror@gmx.de>
8126
8127         * javax/swing/JButton.java,
8128         javax/swing/text/DefaultEditorKit.java,
8129         javax/swing/text/EditorKit.java,
8130         javax/swing/text/Segment.java,
8131         javax/swing/text/StyledEditorKit.java:
8132         Reformatted.
8133
8134 2004-07-21  Michael Koch  <konqueror@gmx.de>
8135
8136         * javax/swing/ImageIcon.java
8137         (file): Removed.
8138         (description): Renamed from descr.
8139         (ImageIcon): Added missing constructors.
8140         (setParent): Removed.
8141         (setImageObserver): New method.
8142         (getImageObserver): New method.
8143         (paintIcon): Handle observer = null.
8144         * javax/swing/JButton.java
8145         (removeNotify): Fixed javadoc.
8146         (updateUI): Simplified.
8147         * javax/swing/JRootPane.java
8148         (serialVersionUID): New constant field.
8149         * javax/swing/UIManager.java:
8150         Fixed javadocs all over.
8151         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8152         * javax/swing/text/AbstractDocument.java
8153         (createPosition): Throws BadLocationException.
8154         (getText): Likewise.
8155         (remove): Likewise.
8156         * javax/swing/text/ComponentView.java
8157         (modelToView): Likewise.
8158         * javax/swing/text/DefaultEditorKit.java:
8159         Made all public methods public.
8160         (read): Throws BadLocationException and IOException.
8161         (write): Likewise.
8162         * javax/swing/text/EditorKit.java:
8163         Made all public methods public.
8164         (serialVersionUID): New constant field.
8165         (clone): New method.
8166         (read): Throws BadLocationException and IOException.
8167         (write): Likewise.
8168         * javax/swing/text/Segment.java
8169         (array): Made public.
8170         (count): Likewise.
8171         (offset): Likewise.
8172         (Segment): New constructors.
8173         (clone): Reimplemented.
8174         * javax/swing/text/StyledEditorKit.java
8175         (serialVersionUID): New constant field.
8176
8177 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8178
8179         * java/awt/image/BufferedImage.java 
8180         (getSource): Implement.
8181         * javax/swing/ImageIcon.java 
8182         (ImageIcon): Implement ctor.
8183         * javax/swing/ScrollPaneLayout.java 
8184         (preferredLayoutSize): Be more careful about nulls.
8185
8186 2004-07-21  Michael Koch  <konqueror@gmx.de>
8187
8188         * javax/swing/text/AttributeSet.java
8189         (CharacterAttribute): New interface
8190         (ColorAttribute): Likewise.
8191         (FontCharacterAttribute): Likewise.
8192         (ParagraphAttribute): Likewise.
8193         * javax/swing/text/DefaultCaret.java
8194         (moveCaret): New method.
8195         (positionCaret): Likewise.
8196         (repaint): Made protected.
8197         * javax/swing/text/JTextComponent.java
8198         (KeyBinding): Made it static.
8199         * javax/swing/text/View.java
8200         (getContainer): Honor parent == null.
8201
8202 2004-07-21  Michael Koch  <konqueror@gmx.de>
8203
8204         * javax/swing/text/AbstractDocument.java:
8205         Reformatted.
8206
8207 2004-07-21  Michael Koch  <konqueror@gmx.de>
8208
8209         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8210         Import javax.swing.UIManager explicitely.
8211         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8212         (ScrollingButton): Made it static.
8213
8214 2004-07-21  Michael Koch  <konqueror@gmx.de>
8215
8216         * javax/swing/UIDefaults.java
8217         (ActiveValue): Made public.
8218         (LazyValue): Likewise.
8219         * javax/swing/plaf/basic/BasicTextUI.java
8220         (RootView): Reintroduced.
8221         (view): Removed.
8222         (rootView): New field.
8223         (installUI): Create document if needed, initialize rootView.
8224         (uninstallUI): Hanle rootView.
8225         (paint): Likewise.
8226         (getRootView): Likewise.
8227         (setView): Likewise.
8228         * javax/swing/text/DefaultCaret.java:
8229         Renamed all "evt" variables to "event".
8230
8231 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8232
8233         * libgcj.spec.in: Add -l-java-util-logging.
8234
8235 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
8236
8237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8238         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8239         gtk-xft-dpi can no calculate the right value.
8240         (dpi_changed_cb): Mark *pspec as unsused.
8241
8242 2004-07-21  David Jee  <djee@redhat.com>
8243
8244         * java/awt/Component.java
8245         (move): Delegate to setBounds().
8246         (resize): Likewise.
8247         (reshape): Fix so it repaints parent and self only when necessary.
8248
8249 2004-07-21  David Jee  <djee@redhat.com>
8250
8251         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8252         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8253         (GtkComponentPeer): Revert previous patch from 2004-06-22.
8254         (setVisible): Likewise.
8255         (show): Likewise.
8256         (hide): Likewise.
8257         (getArgs): Likewise.
8258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8259         (property_notify_predicate): Likewise.
8260         (find_layout): Likewise.
8261         (connectJObject): Likewise.
8262         (connectSignals): Likewise.
8263         (moveLayout): Likewise.
8264         (gtkLayoutSetVisible): Likewise.
8265
8266 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8267
8268         * Makefile.am
8269         (jv_convert_LDADD):
8270         (gij_LDADD):
8271         (rmic_LDADD):
8272         (rmiregistry_LDADD): Add lib-java-util-logging.la
8273         * Makefile.in: Regenerate.
8274
8275 2004-07-21  Michael Koch  <konqueror@gmx.de>
8276
8277         * javax/swing/text/AbstractDocument.java
8278         (replace): Dont use protected method of java.util.Vector directly.
8279
8280 2004-07-21  Michael Koch  <konqueror@gmx.de>
8281
8282         * javax/swing/plaf/basic/BasicTextUI.java
8283         (installUI): Call specialized install methods.
8284         (installDefaults): New method.
8285         (installListeners): Likewise.
8286         (installKeyboardActions): Likewise.
8287         (uninstallUI): Likewise.
8288         (uninstallDefaults): New method.
8289         (uninstallListeners): Likewise.
8290         (uninstallKeyboardActions): Likewise.
8291         (getPropertyPrefix): New abstract method.
8292         (paint): Made final, just call paintSafely().
8293         (paintSavely): New method.
8294         (paintBackground): Likewise.
8295         (getVisibleEditorRect): Likewise.
8296         * javax/swing/text/LayeredHighlighter.java,
8297         javax/swing/text/TabExpander.java: New files.
8298         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8299         and javax/swing/text/TabExpander.java.
8300         * Makefile.in: Regenerated.
8301
8302 2004-07-21  Michael Koch  <konqueror@gmx.de>
8303
8304         * javax/swing/plaf/basic/BasicTextUI.java
8305         (BasicTextUI): Made abstract.
8306         (BasicCaret): New inner class.
8307         (view): Don't explicitely initialize with "null".
8308         (textComponent): New field.
8309         (textColor): Removed.
8310         (disabledTextColor): Removed.
8311         (normalBackgroundColor): Removed.
8312         (RootView): Removed commented out inner class.
8313         (createUI): Removed.
8314         (createCaret): New method.
8315         (getComponent): Likewise.
8316         (installUI): Initialize textComponent only.
8317         (getPreferredSize): Use installed JTextComponent.
8318         (setView): New method.
8319         (create): Likewise.
8320         * javax/swing/text/JTextComponent.java
8321         (highlighter): New field.
8322         (caretColor): Likewise.
8323         (disabledTextColor): Likewise.
8324         (seletedTextColor): Likewise.
8325         (selectionColor): Likewise.
8326         (setUI): New method.
8327         (getCaretColor): Likewise.
8328         (setCaretColor): Likewise.
8329         (getDisabledColor): Likewise.
8330         (setDisabledColor): Likewise.
8331         (getSelectedTextColor): Likewise.
8332         (setSelectedTextColor): Likewise.
8333         (getSelectionColor): Likewise.
8334         (setSelectionColor): Likewise.
8335         (getHighlighter): Likewise.
8336         (setHighlighter): Likewise.
8337         (replaceSelection): Likewise.
8338
8339 2004-07-21  Michael Koch  <konqueror@gmx.de>
8340
8341         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8342         (BasicScrollPaneUI): Implements ScrollPaneConstants.
8343         * javax/swing/plaf/basic/BasicToolBarUI.java
8344         (BasicToolBarUI): Implements SwingConstants.
8345
8346 2004-07-21  Michael Koch  <konqueror@gmx.de>
8347
8348         * javax/swing/JPopupMenu.java: Removed CVS tags.
8349         * javax/swing/UIDefaults.java: Reformatted.
8350         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8351         Explicitely import used classes.
8352
8353 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8354
8355         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8356         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8357         (GtkComponentPeer): Remove temporary try/catch block.
8358         (setVisible): Call show and hide.
8359         (show): Make native.
8360         (hide): Likewise.
8361         (getArgs): Don't add "visible" argument.
8362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8363         (property_notify_predicate): Return Bool instead of int.
8364         (find_layout): New function.
8365         (connectJObject): Call find_layout.
8366         (connectSignals): Likewise.
8367         (moveLayout): Likewise.
8368         (gtkLayoutSetVisible): Likewise.
8369
8370 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8371
8372         * javax/swing/AbstractButton.java:
8373         (setDisplayedMnemonicIndex): Check if button
8374         text is not null before checking its length.
8375         * javax/swing/JMenuItem.java:
8376         (processMouseEvent): Disarm menu item if mouse has
8377         exited it.
8378         * javax/swing/plaf/basic/BasicMenuUI.java:
8379         (MouseInputHandler.mouseEntered): Do not raise
8380         popup menu if this menu is already selected.
8381         (MouseInputHandler.mousePressed): Do not fire 
8382         MenuEvents.
8383         (MenuHandler): Implemented.     
8384
8385 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8386
8387         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8388         (getSelectedObjects): Implemented.
8389         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8390         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
8391         Added javadoc for few methods.
8392         (processMouseEvent): Made public.
8393         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8394         (processMouseEvent): Likewise.
8395
8396 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8397
8398         * javax/swing/AbstractButton.java:
8399         (init): Set display mnemonic index to -1.
8400         (setMnemonic(char)): Use setMnemonic(int).
8401         (setMnemonic(int)): Set display mnemonic index.
8402         (getDisplayedMnemonicIndex): Change method signature
8403         by removing 'index' parameter.
8404         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8405         Added default for Menu.selectionBackground.     
8406         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8407         (paintMenuItem): Change background color of the selected
8408         menu item.
8409         (paintText): Paint differently when menu item is disabled.
8410         Also paint mnemonic if it appears in the menu item's label.
8411         (paintAccelerator): Paint accelerator differently
8412         if menu item is disabled.
8413         * javax/swing/plaf/basic/BasicMenuUI.java:
8414         (installDefaults): Install defaults for 
8415         selectionForeground and selectionBackground.
8416         (uninstallDefaults): Uninstall defauls for 
8417         selectionForeground and selectionBackground.
8418
8419 2004-07-21  Michael Koch  <konqueror@gmx.de>
8420
8421         * javax/swing/text/AbstractDocument.java
8422         (BranchElement): Implemented.
8423         (LeafElement): Implemented.
8424         * javax/swing/text/DefaultCaret.java:
8425         Import used classes.
8426         (serialVersionUID): New constant.
8427         * javax/swing/text/JTextComponent.java
8428         (AccessibleJTextComponent): Removed dead declaration.
8429         (caretPos): Removed.
8430         (setCaret): New method.
8431         * javax/swing/text/PlainDocument.java
8432         (rootElement): New field.
8433         (PlainDocument): Initialize rootElement.
8434         (createDefaultRoot): New method.
8435         (getDefaultRootElement): Implemented.
8436         * javax/swing/text/View.java: Reformatted.
8437         * javax/swing/text/ViewFactory.java
8438         (create): Added javadoc.
8439
8440 2004-07-21  Michael Koch  <konqueror@gmx.de>
8441
8442         * javax/swing/ToolTipManager.java: Reformatted.
8443
8444 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
8445
8446         * javax/swing/AbstractButton.java
8447         (changeEvent): New field.
8448         (fireItemStateChanged): Change source of the event
8449         to 'this' before firing it to button listeners.
8450         (fireActionPerformed): Likewise.
8451         (fireStateChanged): Likewise.
8452         (createActionListener): Do not set source 
8453         of the event to AbstractButton.                                  
8454         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8455         (ContainerHandler.componentAdded): Removed 
8456         print out statement.
8457         (ContainerHandler.componentRemoved): Likewise.
8458
8459 2004-07-21  Michael Koch  <konqueror@gmx.de>
8460
8461         * javax/swing/text/Highlighter.java: New file.
8462         * Makefile.am: Added javax/swing/text/Highlighter.java.
8463         * Makefile.in: Regenerated.
8464
8465 2004-07-21  Michael Koch  <konqueror@gmx.de>
8466
8467         * javax/swing/ToolTipManager.java
8468         (stillInsideTimerAction): Fixed constructor arguments.
8469         (outsideTimerAction): Likewise.
8470         (insideTimerAction): Likewise.
8471
8472 2004-07-21  Michael Koch  <konqueror@gmx.de>
8473
8474         * javax/swing/JButton.java: Reformatted.
8475         * javax/swing/JFormattedTextField.java
8476         (getUIClassID): Implemented.
8477         * javax/swing/JRootPane.java
8478         (serialVersionUID): New constant.
8479         * javax/swing/JTextField.java
8480         (align): New field.
8481         (JTextField): Simplified.
8482         (getUIClassID): New method.
8483         (getActionListeners): Added @since tag.
8484         (setColumns): Invalidate layout and repaint.
8485         (getHorizontalAlignment): New method.
8486         (setHorizontalAlignment): New method.
8487         (selectAll): Removed.
8488         * javax/swing/SwingUtilities.java
8489         (getAncestorOfClass): Removed redundant @see tag.
8490         (isLeftMouseButton): Fixed implementation.
8491         (isMiddleMouseButton): Likewise.
8492         (isRightMouseButton): Likewise.
8493         * javax/swing/text/AbstractDocument.java
8494         (AttributeContext.addAttribute): New method.
8495         (AttributeContext.addAttributes): New method.
8496         (AttributeContext.getEmptySet): New method.
8497         (AttributeContext.reclaim): New method.
8498         (AttributeContext.removeAttribute): New method.
8499         (AttributeContext.removeAttributes): New method.
8500         * javax/swing/text/Document.java
8501         (createPosition): Throws BadLocationException.
8502         (getText): Likewise.
8503         (remove): Likewise.
8504         * javax/swing/text/JTextComponent.java
8505         (getText): Return null if no document is set. Catch
8506         BadLocationException.
8507         (getUI): Return ui.
8508         (updateUI): Simplified.
8509
8510 2004-07-21  Michael Koch  <konqueror@gmx.de>
8511
8512         * javax/swing/JButton.java
8513         (removeNotify): Fixed javadoc.
8514         (updateUI): Simplified.
8515
8516 2004-07-21  David Jee  <djee@redhat.com>
8517
8518         * gnu/java/awt/image/ImageDecoder.java
8519         (startProduction): Only add consumer if it's not added yet.
8520         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8521         (GdkPixbufDecoder): Don't call initState() here.
8522         (produce): Call initState() here, to ensure area_prepared and
8523         area_updated signals are properly connected.
8524         * gnu/java/awt/peer/gtk/GtkImage.java
8525         (setColorModel): Use equals() to compare ColorModel objects.
8526         (setPixels): Likewise.
8527         * java/awt/image/ColorModel.java
8528         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8529         * java/awt/image/RGBImageFilter.java
8530         (setColorModel): Set consumer's color model.
8531         (setPixels): Use equals() to compare ColorModel objects.
8532
8533 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
8534
8535         * java/net/URLConnection.java (position): New field.
8536         (dateFormat1, dateFormat2, dateFormat3): Removed.
8537         (dateFormats): New field.
8538         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8539         each time instead of re-allocating.
8540         (initializeDateFormats): Initialize 'dateFormats'.
8541
8542 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8543
8544         PR libgcj/16591
8545         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8546         is defined.
8547
8548 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8549
8550         * java/net/Socket.java (getImpl): Now private. Remove comment.
8551
8552 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8553
8554         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8555         of chained Writer when calling super-constructor.
8556         * java/io/FilterWriter.java (FilterWriter): Likewise.
8557         * java/io/PrintWriter.java (PrintWriter): Likewise.
8558
8559 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
8560
8561         * prims.cc (process_gcj_properties): Don't increment i within LHS
8562         of assignment.
8563
8564 2004-07-19  Per Bothner  <per@bothner.com>
8565
8566         Print -verbose:message on "loading", not initialization.
8567         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
8568         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
8569         gcj::verbose_class_flag.
8570         * java/lang/natClass.cc (initializeClass):  Don't print message here.
8571         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
8572         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8573         (_Jv_PrepareCompiledClass):  Likewise.
8574
8575 2004-07-18  Matthias Klose  <doko@debian.org>
8576
8577         * configure.in: Substitute target_noncanonical.
8578         * configure: Regenerate
8579
8580 2004-07-17  Michael Koch  <konqueror@gmx.de>
8581
8582         * java/lang/String.java: Fixed javadocs all over.
8583
8584 2004-07-17  Mark Wielaard  <mark@klomp.org>
8585
8586         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8587         when size is smaller.
8588         * java/io/RandomAccessFile.java (setLength): Use truncate for
8589         shrinking the file and seek plus write for expanding the file.
8590
8591 2004-07-17  Michael Koch  <konqueror@gmx.de>
8592
8593         * gnu/java/nio/channels/natFileChannelPosix.cc
8594         (implTruncate): Always save current position. Only reposition file
8595         pointer to where we started if not beyond new lenght. Reposition file
8596         pointer to file length if it points beyond the end of file.
8597
8598 2004-07-17  Mark Wielaard  <mark@klomp.org>
8599
8600         * javax/swing/Box.java: Put FIXME comment above class declaration.
8601         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8602         * javax/swing/JCheckBox.java: Likewise.
8603         * javax/swing/JDialog.java: Likewise.
8604         * javax/swing/JRadioButton.java: Likewise.
8605         * javax/swing/JToggleButton.java: Likewise.
8606         * javax/swing/UIManager.java: Likewise.
8607         * javax/swing/border/TitledBorder.java: Likewise.
8608         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8609         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8610         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8611         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8612         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8613         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8614         * javax/swing/text/JTextComponent.java: Likewise.
8615
8616 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
8617
8618         * java/net/DatagramPacket.java (setAddress): Removed check for
8619         null address.
8620
8621 2004-07-17  Michael Koch  <konqueror@gmx.de>
8622
8623         * java/net/DatagramSocket.java
8624         (getLocalAddress): Check if socket is bound or not.
8625         * java/net/Socket.java
8626         (getLocalAddrss): Check if socket is bound or not.
8627         (getPort): Return -1 when not connected. Dont check getImpl() for
8628         null.
8629         (setReuseAddress): Check if socket is closed.
8630         (isConnected): Check if getImpl() returns null.
8631
8632 2004-07-17  Mark Wielaard  <mark@klomp.org>
8633
8634         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8635         on notifier object before calling notifyAll().
8636
8637 2004-07-17  Michael Koch  <konqueror@gmx.de>
8638
8639         * gnu/java/nio/channels/FileChannelImpl.java
8640         (finalize): Added javadoc.
8641
8642 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
8643
8644         * java/text/CollationElementIterator.java
8645         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8646         (setText): Use ArrayList instead of Vector.
8647
8648 2004-07-17  Michael Koch  <konqueror@gmx.de>
8649
8650         * java/nio/ByteOrder.java
8651         (static): Removed. Not needed.
8652         Thanks to Patrick Reali for noticing.
8653         * java/nio/charset/CharsetDecoder.java
8654         (decode): Fix for classpath bug #9177: Reset state before flipping.
8655
8656 2004-07-17  Michael Koch  <konqueror@gmx.de>
8657
8658         * java/security/Security.java: Fixed javadocs all over.
8659
8660 2004-07-17  Michael Koch  <konqueror@gmx.de>
8661
8662         * gnu/java/awt/EmbeddedWindow.java
8663         (static): Removed.
8664         (addNotify): Set peer via reflection.
8665         (setWindowPeer): Removed.
8666         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8667         * Makefile.am (nat_source_files):
8668         Removed gnu/java/awt/natEmbeddedWindow.cc.
8669         * Makefile.in: Regenerated.
8670
8671 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
8672
8673         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8674         assignment.
8675         * configure: Regenerated.
8676
8677 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
8678
8679         * configure.in: Use build_noncanonical rather than build_alias.
8680         * configure: Rebuild.
8681
8682         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8683         by logic refactoring.  Move default definition of NATIVE closer
8684         to first alternate definition.
8685         * configure: Regenerate.
8686
8687         * Makefile.am: Set ZIP and GCJH directly using autoconf.
8688         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8689         gcj/Makefile.in: Regenerate.
8690         * configure.in: Set ZIP and GCJH.  Remove redundant condition
8691         in AM_CONDITIONAL(NATIVE,...)
8692         * configure: Regenerate.
8693
8694 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
8695
8696         * configure.in: Use target_noncanonical rather than
8697         target_alias for forward-compatibility with autoconf 2.59.
8698         * configure: Regenerate.
8699         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8700         testsuite/Makefile.am: Substitute target_noncanonical.
8701         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8702         testsuite/Makefile.in: Regenerate.
8703
8704         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8705         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8706         * acinclude.m4: Include acx.m4.
8707         * aclocal.m4: Regenerate.
8708         * configure: Regenerate.
8709
8710 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
8711
8712         PR libgcj/16574
8713         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8714         (decimalFormat): New static variable.
8715         (sbuf): Likewise.
8716         (getTime): New. Override Date.getTime().
8717         (toString): Synchronize. Use decimalFormat to format nanos value
8718         correctly. Truncate extra zeros.
8719         (before): Compare getNanos() only if getTime() is equal.
8720         (after): Likewise.
8721         
8722 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
8723
8724         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8725         * configure.in: ...here.
8726         * aclocal.m4: Regenerate.
8727         * configure: Regenerate.
8728
8729         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8730         * configure: Rebuilt with autoconf 2.13.
8731         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8732         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8733
8734 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
8735
8736         PR libgcj/16204
8737         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
8738         large file support.
8739         * Makefile.in: Rebuilt.
8740         * testsuite/libjava.lang/LargeFile.java: New test case.
8741         * testsuite/libjava.lang/LargeFile.out: New file.
8742
8743 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8744
8745         * java/beans/EventHandler.java: Remove debugging statements.
8746
8747 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8748
8749         * java/beans/EventHandler.java: New file.
8750         * Makefile.am (awt_java_source_files): Add EventHandler.java.
8751         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8752         testsuite/Makefile.in: Regenerate.
8753
8754 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
8755
8756         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
8757         flag to the gcj_setup.
8758         (gcj_jacks_run): Check tclsh version and launch jacks directly with
8759         the tclsh.
8760         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
8761         deprecation flag change. 58 XFAILS removed.
8762
8763 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
8764
8765         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
8766         -fno-use-divide-subroutine.
8767         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
8768         (HANDLE_FPE): Define.
8769         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
8770         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8771         (HANDLE_DIVIDE_OVERFLOW): Define.
8772
8773 2004-07-14  Michael Koch  <konqueror@gmx.de> 
8774             Matthias Klose  <doko@debian.org> 
8775
8776         * java/awt/im/InputContext.java: Initialize in, line.
8777
8778 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
8779
8780         * interpret.cc (run): Correctly access libffi return values of
8781         integral smaller-than-int type; these are implicitly promoted.
8782
8783 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
8784
8785         PR libgcj/7587
8786         * interpret.cc (compile_mutex): New.
8787         (_Jv_InitInterpreter): New. Initialize compile_mutex.
8788         (run): Lock compile_mutex before calling compile() if compilation is
8789         required.
8790         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
8791         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
8792
8793 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
8794
8795         PR libgcj/15713
8796         * include/jvm.h (_Jv_value): New union type.
8797         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
8798         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
8799         union members.
8800
8801 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
8802
8803         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
8804         * gnu/awt/xlib/XOffScreenImage.java
8805           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
8806           constructor argument. Add constructor using ImageProducer.
8807           (getSource): Implement.
8808           (imageComplete): New method.
8809           (setColorModel): New method.
8810           (setDimensions): New method.
8811           (setHints): New method.
8812           (setPixels): New method.
8813           (setProperties): New method.
8814         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
8815         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
8816
8817 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
8818
8819         PR libgcj/16478 
8820         * prims.cc (_Jv_CreateJavaVM): Fix comment.
8821         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
8822         (finalizerReady): Now native.
8823         (run): Likewise.
8824         (runFinalizers): Removed.
8825         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
8826         a primitive lock, and don't hold it while running the finalizers.
8827         (runFinalizers): Implement. Don't aquire any Java lock.
8828         (finalizerReady): Use lock primitives to signal finalizer thread.
8829
8830 2004-07-11  Mark Wielaard  <mark@klomp.org>
8831
8832         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
8833         * java/net/URLStreamHandler.java (parseURL): When url file part
8834         doesn't contain a '/' just ignore context.
8835
8836 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
8837
8838         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
8839         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8840         (MAKE_THROW_FRAME): Do not modify PSW address.
8841         (INIT_SEGV): Install SIGINFO-style signal handler.
8842         (INIT_FPE): Likewise.
8843
8844 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8845
8846         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
8847         status. 21 xfail's removed, 1 added.
8848
8849 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8850
8851         * gcj/javaprims.h: Regenerate CNI namespace definitions.
8852
8853 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8854
8855         * java/text/MessageFormat.java
8856         (formatInternal): Append "{n}" if argument n is unavailable.
8857         (format(Object, StringBuffer, FieldPosition)): This
8858         should be equivalent to format(Object[],
8859         StringBuffer, FieldPosition).
8860
8861 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8862
8863         * java.util.Calendar.java (cache): New private static field. Cached
8864         mappings of locales->calendar classes.
8865         (ctorArgTypes): New private static field. Singleton argument for
8866         calendar class constructor lookup.
8867         (getInstance): Cache Locale->Calendar class mappings using HashMap.
8868         Optimize by bypassing reflection instantiation for the 
8869         GregorianCalendar case.
8870
8871 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8872
8873         * java/util/Calendar.java: Use getSystemClassLoader as argument for
8874         ResourceBundle.getBundle() calls.
8875         * java/util/GregorianCalendar.java: Likewise.
8876         * java/util/Currency.java: Likewise.
8877         * java/text/BreakIterator.java: Likewise.
8878         * java/text/Collator.java: Likewise.
8879         * java/text/DateFormat.java: Likewise.
8880         * java/text/DateFormatSymbols.java: Likewise.
8881         * java/text/DecimalFormatSymbols.java: Likewise.
8882         * java/text/NumberFormat.java: Likewise.
8883         * java/awt/Window.java: Likewise.       
8884
8885 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8886
8887         * java/util/ResourceBundle.java (bundleCache): Renamed from
8888         resourceBundleCache. Update comments.
8889         (getObject): Don't catch MissingResourceException.
8890         (getBundle(String)): Remove 'final'. Use system classloader if
8891         getCallingClassLoader returned null.
8892         (getBundle(String, Locale)): Likewise.
8893         (BundleKey): New private class. HashMap key for bundle cache lookup.
8894         (lookupKey): New. Singleton instance of BundleKey.
8895         (nullEntry): New. Cache entry to represent failed lookups.
8896         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
8897         caching strategy, no-allocation lookup, and new tryBundle methods.
8898         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
8899         name using given classloader.
8900         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
8901         baseName for given Locale and attempt to load bundle.
8902
8903 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8904
8905         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
8906         illegal protected method calls.
8907
8908 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8909
8910         Fix or remove some bogus test cases.
8911         * testsuite/libjava.compile/pr10459_2.java: Removed.
8912         * testsuite/libjava.compile/pr10459.java: Test using its own method,
8913         not Object.clone().
8914         * testsuite/libjava.compile/inner_data.java: Test against its own
8915         protected field.
8916
8917 2004-07-09  Michael Koch  <konqueror@gmx.de>
8918
8919         * scripts/unicode-muncher.pl: Updated to version 2.1
8920         from GNU classpath. Added some clarifications on where to find the
8921         needed files from www.unicode.org.
8922         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
8923         gnu/gcj/convert/UnicodeData-3.0.0.txt:
8924         Removed, these can directly be downloaded from www.unicode.org if
8925         needed. 
8926         * gnu/java/lang/CharData.java: Regenerated.
8927         * include/java-chartables.h: Regenerated.
8928         * Makefile.am (ordinary_java_source_files):
8929         Removed gnu/java/lang/CharData.java.
8930         * Makefile.in: Regenerated.
8931
8932 2004-07-09  Michael Koch  <konqueror@gmx.de>
8933
8934         * java/security/AccessControlContext.java,
8935         java/security/SecureClassLoader.java:
8936         Fixed javadocs.
8937
8938 2004-07-09  Michael Koch  <konqueror@gmx.de>
8939
8940         * java/io/ObjectInputStream.java (readFields): Use long datatype
8941         when shifting byte values more then 24 bits left.
8942
8943 2004-07-09  Michael Koch  <konqueror@gmx.de>
8944
8945         * java/util/zip/DeflaterOutputStream.java,
8946         java/util/zip/GZIPInputStream.java,
8947         java/util/zip/GZIPOutputStream.java,
8948         java/util/zip/InflaterInputStream.java:
8949         Reformatted. Added javadocs. Reordered all stuff.
8950         Renamed variables to be more clear.
8951
8952 2004-07-09  Michael Koch  <konqueror@gmx.de>
8953
8954         * javax/imageio/IIOException.java,
8955         javax/imageio/event/IIOReadProgressListener.java,
8956         javax/imageio/event/IIOReadUpdateListener.java,
8957         javax/imageio/event/IIOReadWarningListener.java,
8958         javax/imageio/event/IIOWriteProgressListener.java,
8959         javax/imageio/event/IIOWriteWarningListener.java:
8960         New files.
8961         * Makefile.am: Added new files.
8962         * Makefile.in: Regenerated.
8963
8964 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
8965
8966         * java/text/RuleBasedCollator.java
8967         (mergeRules): Use ArrayList instead of Vector.
8968         (subParseString): likewise.
8969         (parseString): likewise.
8970         (buildCollationVector): likewise.
8971         (getCollationKey): likewise.
8972
8973 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
8974
8975         * java/text/DateFormat.java (parse):
8976         Improved javadoc. Improved exception message.
8977
8978 2004-07-09  Mark Wielaard  <mark@klomp.org>
8979
8980         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
8981         interrupted() method to clear interupt flag of our Thread.
8982
8983 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
8984
8985         * java/nio/Buffer.java,
8986         java/nio/ByteBuffer.java,
8987         java/nio/ByteBufferHelper.java,
8988         java/nio/ByteBufferImpl.java,
8989         java/nio/CharBuffer.java,
8990         java/nio/CharBufferImpl.java,
8991         java/nio/CharViewBufferImpl.java,
8992         java/nio/DirectByteBufferImpl.java,
8993         java/nio/DoubleBuffer.java,
8994         java/nio/DoubleBufferImpl.java,
8995         java/nio/DoubleViewBufferImpl.java,
8996         java/nio/FloatBuffer.java,
8997         java/nio/FloatBufferImpl.java,
8998         java/nio/FloatViewBufferImpl.java,
8999         java/nio/IntBuffer.java,
9000         java/nio/IntBufferImpl.java,
9001         java/nio/IntViewBufferImpl.java,
9002         java/nio/LongBuffer.java,
9003         java/nio/LongBufferImpl.java,
9004         java/nio/LongViewBufferImpl.java,
9005         java/nio/MappedByteBufferImpl.java,
9006         java/nio/ShortBuffer.java,
9007         java/nio/ShortBufferImpl.java,
9008         java/nio/ShortViewBufferImpl.java:
9009         Fixed javadocs all over. Improved input error
9010         checking.
9011
9012         * java/nio/Buffer.java
9013         (checkForUnderflow, checkForOverflow, checkIndex,
9014         checkIfReadOnly, checkArraySize): New helper methods
9015         for error checking.
9016
9017         * java/nio/ByteBufferHelper.java
9018         (checkRemainingForRead, checkRemainingForWrite,
9019         checkAvailableForRead, checkAvailableForWrite): Removed
9020         no longer needed methods.
9021
9022 2004-07-09  Michael Koch  <konqueror@gmx.de>
9023
9024         * gnu/regexp/CharIndexedInputStream.java:
9025         Reordered imports to match classpath.
9026
9027 2004-07-09  Michael Koch  <konqueror@gmx.de>
9028
9029         * gnu/java/awt/EmbeddedWindow.java:
9030         Load native library for setWindowPeer method.
9031
9032 2004-07-08  Randolph Chung  <tausq@debian.org>
9033
9034         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9035         * configure: Regenerate.
9036         * configure.host: Set can_unwind_signal for hppa*-linux.
9037         * include/pa-signal.h: New file.
9038
9039 2004-07-07  Per Bothner  <per@bothner.com>
9040
9041         * Makefile.am:  Add rules to build libgij from just gij.cc.
9042
9043         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
9044         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
9045         (initializeClass):  If verbose_class_flag, print message.
9046         * gij.cc (main):  Handle -verbose:class flag.
9047
9048 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
9049
9050         * configure.host: Enable hash synchronization on Darwin.
9051         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9052         ';', since this is a comment on Darwin.
9053         (compare_and_swap_release): Likewise.
9054
9055 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
9056
9057         * java/net/URLStreamHandler.java (parseURL): Canonicalize
9058         file portion of URL in addition to spec for file: protocol.
9059
9060 2004-07-05  Anthony Green  <green@redhat.com>
9061
9062         * java/io/File.java (toURI): Merge from Classpath.
9063
9064 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9065
9066         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9067         before passing to URL constructor. Rethrow any MalformedURLException
9068         as a RuntimeException. Catch MalformedURLException specifically, not
9069         all exceptions.
9070
9071 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9072
9073         * java/util/Locale.java (readObject): Intern strings read from object
9074         stream.
9075
9076 2004-07-04  Michael Koch  <konqueror@gmx.de>
9077
9078         * gnu/gcj/runtime/FirstThread.java,
9079         gnu/gcj/runtime/natFirstThread.cc: Removed.
9080         * gnu/java/lang/MainThread.java,
9081         gnu/java/lang/natMainThread.cc: New files.
9082         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9083         * Makefile.am: Added new files and removed deleted ones.
9084         * Makefile.in: Regenerated.
9085
9086 2004-07-03  Mark Wielaard  <mark@klomp.org>
9087             Anthony Green  <green@redhat.com>
9088
9089         * java/net/URL.java (getFile): Clarify return value doc.
9090         (getPath): Return null if file is empty - not empty String.
9091         (set): Convert protocol to lower case before doing anything.
9092         Only change the protocol handler if it's different.
9093
9094 2004-07-03  Anthony Green  <green@redhat.com>
9095
9096         * java/net/URL.java (URL): Convert protocol to lower case before
9097         doing anything, so we getURLStreamHandler() with the proper value.
9098
9099 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
9100
9101         * java/util/Locale.java (hashcode): Made transient.
9102         (hashCode): No longer synchronized.
9103         (equals): Remove comment.
9104         (writeObject): No longer synchronized. Implement using writeObject 
9105         calls instead of tweaking hashCode field. Update doc.
9106         (readObject): Implement using readObject calls.
9107
9108 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
9109             Andreas Tobler  <a.tobler@schweiz.ch>
9110
9111         * configure.host (powerpc-*-darwin*): New case, define
9112         can_unwind_signal.
9113         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9114         * configure: Regenerate.
9115         * include/darwin-signal.h: New.
9116
9117 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
9118
9119         * java/beans/Statement.java (doExecute): Fix formatting.
9120
9121 2004-06-29  Per Bothner  <per@bothner.com>
9122
9123         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9124         etc etc):  Remove needless parenthesis, which causes __stdcall__
9125         attribute on MinGW to get ignored.
9126
9127 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
9128
9129         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9130
9131 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
9132
9133         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9134
9135 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
9136
9137         * java/beans/Expression.java: New file.
9138         * java/beans/Statement.java: New file.
9139         * Makefile.am: Added new files.
9140         * Makefile.in: Re-generate.
9141
9142 2004-06-27 Mark Wielaard  <mark@klomp.org>
9143
9144         * java/io/FilePermission.java (usingPerms): Removed.
9145         (actionsString): Made final.
9146         (cachePerms): Renamed to checkPerms.
9147         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9148         on action String.
9149         (FilePermission): Check arguments, call checkPerms().
9150         (equals): Remove cachePerms() call.
9151         (implies): Likewise.
9152
9153 2004-06-27  Mark Wielaard  <mark@klomp.org>
9154
9155         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9156         final field.
9157         (sendRequest): Use new field in user-agent http agent.
9158
9159 2004-06-27  Mark Wielaard  <mark@klomp.org>
9160
9161         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9162         when argument is null.
9163
9164 2004-06-26  Mark Wielaard  <mark@klomp.org>
9165
9166         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9167         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9168         GetMethodID call.
9169         (cancel_clicked): Likewise.
9170
9171 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
9172
9173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9174         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9175         can not calculate the right value.
9176         (dpi_changed_cb): Likewise. Mark *pspec as unused.
9177
9178 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
9179
9180         * testsuite/libjava.jacks/jacks.xfail: Remove
9181         15.9.1-qualified-concrete-20.
9182
9183 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9184
9185         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9186         encoding name to iconv.
9187         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9188
9189 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9190
9191         PR libgcj/16134:
9192         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
9193         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9194         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9195
9196 2004-06-21  Andrew Haley  <aph@redhat.com>
9197
9198         * java/io/ObjectOutputStream.java: Add DEBUG statements
9199         everywhere.
9200         (dumpElementln): New method.
9201         (depth): New field.
9202         * java/io/ObjectInputStream.java
9203         (currentClassLoader): Make native.
9204         (callersClassLoader): New field.
9205         (depth): New field.
9206         (readObject): ENDBLOCKDATA is generated if the class has a write
9207         method, not if it has a read method.
9208         (readObject): Save and restore this.currentObject and
9209         this.currentObjectStreamClass around calls to callReadMethod().
9210         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9211         method.
9212
9213 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
9214
9215         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9216         darwin.
9217
9218 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9219
9220         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9221         if desired, before the default class loader is initialised.
9222         Call INIT_SEGV only if HANDLE_SEGV is defined.
9223
9224 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9225
9226         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9227         directory only if it actually exists.
9228
9229 2004-06-18  Graydon Hoare  <graydon@redhat.com>
9230
9231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9232         Fix up non-ansi comments.
9233
9234 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9235
9236         * javax/swing/text/AbstractDocument.java: Adding missing import
9237         for javax.swing.event.EventListenerList.
9238         * javax/swing/text/DefaultCaret.java: Likewise.
9239
9240 2004-06-17  Michael Koch  <konqueror@gmx.de>
9241
9242         * javax/swing/JToolBar.java
9243         (name): Removed.
9244         (JToolBar): Use Component.setName(String) instead of doing it all
9245         alone.
9246         * javax/swing/Timer.java
9247         (queueEvent): Added missing modifier.
9248
9249 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
9250
9251         * Makefile.am: Added new file.
9252         * Makefile.in: Re-generate.
9253         * javax/swing/JMenu.java:
9254         (insertSeparator): Implemented.
9255         * javax/swing/JPopupMenu.java:
9256         (JPopupMenu.Separator): Implemented.
9257         * javax/swing/MenuSelectionManager.java:
9258         (processMouseEvent): Use java.awt.Component 
9259         for event source instead of javax.swing.JComponent. 
9260         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9261         New File. Implemented.
9262         
9263 2004-06-16  David Jee  <djee@redhat.com>
9264
9265         * java/awt/GridBagLayout.java
9266         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9267         Make sure pos_x and pos_y are never negative.
9268
9269 2004-04-16  Andrew Overholt  <overholt@redhat.com>
9270
9271         * Makefile.am: Add new file.
9272         * Makefile.in: Re-generate.     
9273         * javax/swing/JToolBar.java
9274         Partially implemented.
9275         * javax/swing/plaf/basic/BasicToolBarUI.java
9276         New file. Partially implemented.
9277
9278 2004-06-16  Graydon Hoare  <graydon@redhat.com>
9279
9280         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
9281         (setComposite): Accept AlphaComposite arguments.
9282         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9283         (createBufferedImage): Add new overloads.
9284         * gnu/java/awt/peer/gtk/GtkToolkit.java
9285         (createImage): Use GdkPixbufDecoder.createBufferedImage
9286         when useGraphics2D() is true.
9287         (getImage): Delegate to createImage.
9288         * javax/swing/JList.java
9289         (isSelectionEmpty):
9290         (getFirstVisibleIndex):
9291         (getLastVisibleIndex):
9292         (setSelectedValue):
9293         (ensureIndexIsVisible): New methods.
9294         * javax/swing/Timer.java: Reimplement.
9295
9296 2004-06-16  Michael Koch  <konqueror@gmx.de>
9297
9298         * javax/swing/text/AbstractDocument.java
9299         (AbstracElement): Made public, implements java.io.Serializable.
9300         (AttributeContext): Made public.
9301         (BranchElement): Likewise.
9302         (Content): Likewise.
9303         (DefaultDocumentEvent): Made public, extends
9304         javax.swing.undo.CompoundEdit.
9305         (ElementEdit): Made public, extends
9306         javax.swing.undo.AbstractUndoableEdit.
9307         (LeafElement): Made public.
9308         (LeafElement.LeafElement): Made public.
9309
9310 2004-06-16  Michael Koch  <konqueror@gmx.de>
9311
9312         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9313         methods (that were obviously never be intended to get included hi this
9314         class. Added some methods too.
9315
9316 2004-06-16  Michael Koch  <konqueror@gmx.de>
9317
9318         * javax/swing/text/PlainDocument.java
9319         (serialVersionUID): New constant.
9320         (lineLimitAttribute): Likewise.
9321         (tabSizeAttribute): Likewise.
9322         (tabSize): New field.
9323         (PlainDocument): Made public.
9324         (PlainDocument): New constructor.
9325
9326 2004-06-16  Michael Koch  <konqueror@gmx.de>
9327
9328         * javax/swing/text/AbstractDocument.java
9329         (insertString): Throws BadLocationException.
9330         * javax/swing/text/Document.java
9331         (insertString): Likewise.
9332         * javax/swing/text/JTextComponent.java:
9333         Javadocs and comments cleaned up.
9334
9335 2004-06-16  Michael Koch  <konqueror@gmx.de>
9336
9337         * javax/swing/event/UndoableEditListener.java: Reformatted.
9338         * javax/swing/text/AbstractDocument.java
9339         (AbstractDocument): Implements java.io.Serializable.
9340         (doc_list): Removed.
9341         (undo_list): Removed.
9342         (AbstractElement.serialVerionUID): New field.
9343         (BranchElement.serialVerionUID): Likewise.
9344         (DefaultDocumentEvent.serialVerionUID): Likewise.
9345         (ElementEdit.serialVerionUID): Likewise.
9346         (LeafElement.serialVerionUID): Likewise.
9347         (serialVerionUID): Likewise.
9348         (BAD_LOCATION): New constant.
9349         (BidiElementName): Likewise.
9350         (ContentElementName): Likewise.
9351         (ParagraphElementName): Likewise.
9352         (SectionElementName): Likewise.
9353         (ElementNameAttribute): Likewise.
9354         (AbstractDocument): Made protected.
9355         (AbstractDocument): New construtor.
9356         (listenerList): New field.
9357         (fireChangedUpdate): Implemented.
9358         (fireInsertUpdate): Likewise.
9359         (fireRemoveUpdate): Likewise.
9360         (fireUndoableEditUpdate): Likewise.
9361         (getListeners): Likewise.
9362         (addDocumentListener): Likewise.
9363         (removeDocumentListener): Likewise.
9364         (addUndoableEditListener): Likewise.
9365         (removeUndoableEditListener): Likewise.
9366         (getDocumentListeners): New method.
9367         (getUndoableEditListeners): Likewise.
9368         (getAsynchronousLoadPriority): Made public.
9369         (getBidiRootElement): Likewise.
9370         (setAsynchronousLoadPriority): Likewise.
9371         (setDocumentProperties): Likewise.
9372         * javax/swing/text/BadLocationException.java
9373         (serialVerionUID): New field.
9374         * javax/swing/text/DefaultCaret.java
9375         (changeEvent): New field.
9376         (listenerList): Likewise.
9377         (changes): Removed.
9378         (addChangeListener): Reimplemented.
9379         (removeChangeListener): Likewise.
9380         (getListeners): New method.
9381         (getChangeListeners): Likwise.
9382         (getComponent): Likewise.
9383         * javax/swing/text/GapContent.java
9384         (GapContent): Implements java.io.Serializable.
9385         (serialVerionUID): New field.
9386
9387 2004-06-16  Michael Koch  <konqueror@gmx.de>
9388
9389         * javax/swing/JTree.java
9390         (treeModel): New field.
9391         (JTree): New constructors, one existing one made public.
9392         (createTreeModel): New method.
9393         (addTreeExpansionListener): Likewise.
9394         (removeTreeExpansionListener): Likewise.
9395         (getTreeExpansionListeners): Likewise.
9396         (fireTreeCollapsed): Likewise.
9397         (fireTreeExpanded): Likewise.
9398         (addTreeSelectionListener): Likewise.
9399         (removeTreeSelectionListener): Likewise.
9400         (getTreeSelectionListeners): Likewise.
9401         (fireValueChanged): Likewise.
9402         (addTreeWillExpandListener): Likewise.
9403         (removeTreeWillExpandListener): Likewise.
9404         (getTreeWillExpandListeners): Likewise.
9405         (fireTreeWillCollapse): Likewise.
9406         (fireTreeWillExpand): Likewise.
9407
9408 2004-06-16  Michael Koch  <konqueror@gmx.de>
9409
9410         * javax/swing/JTree.java: Reformatted.
9411
9412 2004-06-16  Michael Koch  <konqueror@gmx.de>
9413
9414         * javax/swing/JTextArea.java: New file.
9415         * javax/swing/JTextField.java
9416         (actions): Removed.
9417         (notifyAction): New constant.
9418         (columns): New field.
9419         (JTextField): New constructors.
9420         (createDefaultModel): New method.
9421         (addActionListener): Reimplmemented.
9422         (removeActionListener): Reimplemented.
9423         (getActionListeners): New method.
9424         (fireActionPerformed): New method.
9425         (getColumns): New method.
9426         (setColumne): New method.
9427         * javax/swing/text/JTextComponent.java
9428         (AccessibleJTextComponent.serialVersionUID): New field.
9429         (serialVersionUID): Likewise.
9430         (DEFAULT_KEYMAP): Likewise.
9431         (FOCUS_ACCELERATOR_KEY): Likewise.
9432         (doc): Made private.
9433         (icon_gap): Likewise.
9434         (icon): Likewise.
9435         (align): Likewise.
9436         (JTextComponent): Some constructors removed.
9437         (getScrollableTracksViewportHeight): New method.
9438         (getScrollableTracksViewportWidth): Likewise.
9439         * Makefile.am: Added javax/swing/JTextArea.java.
9440         * Makefile.in: Regenerated.
9441
9442 2004-06-15  Graydon Hoare  <graydon@redhat.com>
9443
9444         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9445         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9446         * javax/swing/JViewport.java 
9447         (getExtentSize): Return size rather than preferred size.
9448         (toViewCoordinates): New methods.
9449         (getViewSize): Return size rather than preferred size.
9450         (setViewSize): Note view size as set.
9451         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9452         * javax/swing/plaf/basic/BasicScrollBarUI.java 
9453         (getPreferredSize): Don't redo layout.
9454         * javax/swing/plaf/basic/BasicViewportUI.java 
9455         (paint): Translate image properly and eat exceptions.
9456
9457 2004-06-15  Kim Ho  <kho@redhat.com>
9458
9459         * javax/swing/JTabbedPane.java
9460         (setComponent): Remove old component and
9461         add new component.
9462         (setSelectedIndex): Don't operate on the 
9463         components if they're null. Don't set index
9464         on the model if the index is the same.
9465         (insertTab): Don't add or hide the component
9466         if it's null. Repaint the container.
9467         * javax/swing/plaf/basic/BasicLookAndFeel.java
9468         Change colors for TabbedPane.
9469         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9470         (mousePressed): Re-layout and paint the component.
9471         (layoutContainer): Don't set location on the view.
9472         (ScrollingViewport::paint): Remove.
9473
9474 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9475
9476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9477         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9478
9479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9480         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9481         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
9482         critical region.
9483         (drawLine): Call gdk_flush before leaving GDK critical region.
9484         (fillRect): Likewise.
9485         (drawRect): Likewise.
9486         (copyArea): Likewise.
9487         (copyPixmap): Likewise.
9488         (clearRect): Likewise.
9489         (drawArc): Likewise.
9490         (drawPolyline): Likewise.
9491         (drawPolygon): Likewise.
9492         (fillPolygon): Likewise.
9493         (fillArc): Likewise.
9494         (drawOval): Likewise.
9495         (fillOval): Likewise.
9496
9497         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9498         style parameter.
9499         (GdkFontMetrics): Add style argument to initState call.
9500         (stringWidth(String,int,int,String)): Add style parameter.
9501         (stringWidth(String)): Add style argument to stringWidth call.
9502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9503         (initState): Set pango font style and weight based on AWT style
9504         parameter.  Pass default GTK language to
9505         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
9506         simply dividing by PANGO_SCALE.
9507         (stringWidth): Set pango font style and weight based on AWT style
9508         parameter.
9509
9510         * java/awt/Button.java (next_button_number): New field.
9511         (paramString): Change output.
9512         (generateName): New method.
9513         (getUniqueLong): New method.
9514
9515 2004-06-14  Kim Ho  <kho@redhat.com>
9516
9517         * javax/swing/JTabbedPane.java:
9518         (setComponentAt): Set the component, not
9519         the enabled status.
9520         * javax/swing/plaf/basic/BasicDesktopIconUI.java
9521         (actionPerformed): Let deiconize catch exception.
9522
9523 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9524
9525         * javax/swing/JPopupMenu.java:
9526         (setVisible): Corrected location of a 
9527         heavyweight popup menu.
9528
9529 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9530
9531         * javax/swing/MenuSelectionManager.java: 
9532         Ran through jalopy to fix formatting style.
9533
9534 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9535         
9536         * javax/swing/JLayeredPane.java: 
9537         (remove): Revalidate and repaint layered pane after
9538         the component was removed.
9539         javax/swing/JMenu.java:
9540         (setVisible): Display popup menu at the user location,
9541         if one was set by the user.
9542         (setMenuLocation): Reimplemented. Fixed javadoc.
9543         * javax/swing/JMenuBar.java: Added javadoc.
9544         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9545         (MODEL_CHANGED_PROPERTY): New Property.
9546         (isSelected): Implemented.
9547         (setBorderPainted): Fire PropertyChangeEvent
9548         if paintBorder property changes.
9549         (setSelected): Implemented.
9550         (setSelectionModel): Implemented.
9551         * javax/swing/JPopupMenu.java: Added Javadoc
9552         (pack): Implemented.
9553         (setVisible): Reimplemented.
9554         (show): Fixed location.
9555         (JPopupMenu.LigthWeightPopup): Reimplemented to use
9556         Container instead of JPanel.
9557         * javax/swing/MenuSelectionManager.java: Added Javadocs.
9558         (clearSelectedPath): Reimplemented to clear selectedPath
9559         in reverse order.
9560         (processMouseEvent): Reimplemented.
9561         (setSelectedPath): Fire stateChange event indicating that
9562         selected menu path has changed.
9563         (getPath): Change to use ArrayList instead of Vector.
9564         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9565         (installUI): call installKeyboardActions().
9566         (uninstallUI): call uninstallKeyboardActions().
9567
9568 2004-06-13  Michael Koch  <konqueror@gmx.de>
9569
9570         * javax/swing/text/DefaultCaret.java,
9571         javax/swing/text/BadLocationException.java:
9572         Reformatted.
9573
9574 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
9575
9576         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9577         DEFAULT_COLS): New variables.
9578         (create): Don't allow 0 rows or 0 columns.  Instead, set the
9579         values to DEFAULT_ROWS or DEFAULT_COLS.
9580         (getMinimumSize): Likewise.
9581         (getPreferredSize): Likewise.
9582         (minimumSize): Likewise.
9583         (preferredSize): Likewise.
9584         (create): Set peer's editable state.
9585         * java/awt/TextArea.java (TextArea()): Set rows and columns to
9586         zero.  Update javadocs.
9587         (TextArea(String)): Likewise.
9588         (TextArea(int,int)): Fix javadocs.
9589         (TextArea(String,int,int,int)): Only throw exception if one of
9590         rows or columns is zero.  Fix javadocs.
9591
9592 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9593
9594         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9595         addition to Components.
9596
9597         * java/awt/MenuItem.java (dispatchEventImpl): If the event
9598         wasn't consumed by normal processing, send it to the parent
9599         menu.
9600
9601         * gnu/java/awt/peer/gtk/GtkImagePainter.java
9602         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9603         translation.
9604
9605 2004-06-11  David Jee  <djee@redhat.com>
9606
9607         * java/awt/MediaTracker.java
9608         (addImage(Image,int)): Call imageUpdate() to udpate image status.
9609         (addImage(Image,int,int,int)): Likewise.
9610
9611 2004-06-11  Michael Koch  <konqueror@gmx.de>
9612
9613         * javax/swing/text/AbstractDocument.java,
9614         javax/swing/text/Document.java,
9615         javax/swing/text/GapContent.java,
9616         javax/swing/text/JTextComponent.java,
9617         javax/swing/text/PlainDocument.java:
9618         Reformatted.
9619
9620 2004-06-11  Michael Koch  <konqueror@gmx.de>
9621
9622         * javax/swing/JRootPane.java
9623         (AccessibleJRootPane.serialVersionUID): New field.
9624         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9625         (AccessibleJRootPane.getAccessibleRole): New method.
9626         (RootLayout): Implements Serializable.
9627         (RootLayout.serialVersionUID): New field.
9628         (RootLayout.RootLayout): New constructor.
9629         (setJMenuBar): Made public.
9630         (getJMenuBar): Likewise.
9631         (JRootPane): Likewise.
9632         (createContentPane): Likewise.
9633         (createGlassPane): Likewise.
9634         (createLayeredPane): Likewise.
9635
9636 2004-06-11  Michael Koch  <konqueror@gmx.de>
9637
9638         * javax/swing/SwingUtilities.java
9639         (isLeftMouseButton): Fixed javadoc.
9640         (isMiddleMouseButton): Likewise.
9641         (isRightMouseButton): Likewise.
9642
9643 2004-06-11  Michael Koch  <konqueror@gmx.de>
9644
9645         * javax/swing/JScrollPane.java
9646         (serialVersionUID): New field.
9647         (columnHeader): Made protected.
9648         (rowHeader): Likewise.
9649         (lowerLeft): Likewise.
9650         (lowerRight): Likewise.
9651         (upperLeft): Likewise.
9652         (upperRight): Likewise.
9653         (horizontalScrollBar): Likewise.
9654         (horizontalScrollBarPolicy): Likewise.
9655         (verticalScrollBar): Likewise.
9656         (verticalScrollBarPolicy): Likewise.
9657         (viewport): Likewise.
9658
9659 2004-06-11  Michael Koch  <konqueror@gmx.de>
9660
9661         * javax/swing/LookAndFeel.java: Fixed javadocs.
9662
9663 2004-06-11  Michael Koch  <konqueror@gmx.de>
9664
9665         * javax/swing/JEditorPane.java: Fixed javadocs.
9666         (JEditorPane): Removed redundant call to to this().
9667         (fireHyperlinkUpdate): Implemented.
9668
9669 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9670
9671         * javax/swing/JMenu.java: Fixed file name 
9672         in the file comment.
9673
9674 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9675
9676         * javax/swing/JMenu.java: Added javadoc.
9677         (JMenu): Added MenuChangeListener to listen to 
9678         ChangeEvents occuring in menu's model. 
9679         (insert): Throw IllegalArgumentException if 
9680         index is less than 0
9681         (setSelected): Reimplement.
9682         (setPopupMenuVisible): Call menu's model isEnabled()
9683         (setDelay): Throw IllegalArgumentException if 
9684         given amount of delay is less than 0.
9685         (createActionComponent): Implemented.
9686         (createActionChangeListener): Implemented.
9687         (addSeparator): Implemented.
9688         (getItem): Throw IllegalArgumentException if index is 
9689         less than 0.
9690         (getItemCount): Implemented.
9691         (fireMenuSelected): Changed to use menuEvent.
9692         (fireMenuDeselected): Likewise.
9693         (fireMenuCanceled): Likewise.
9694         (setAccelerator): Changed to throw an error if this 
9695         method is used. 
9696         (doClick): Implemented.
9697         (JMenu.ActionChangedListener): New inner class to handle
9698         PropertyChangeEvents occuring in the actions associated with menu.
9699         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9700         (BasicMenuUI): Added PropertyChangeListener to the menu.
9701         (createChangeListener): Implemented.
9702         (createMenuDragMouseListener): Likewise.
9703         (createMenuKeyListener): Likewise.
9704         (createPropertyChangeListener): Likewise.
9705         (uninstallListeners): Likewise.
9706         (BasicMenuUI.MouseInputHandler): Reimplemented.
9707         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9708         (BasicMenuUI.ChangeHandler): Likewise.
9709         (BasicMenuUI.MenuDragMouseHandler): Likewise.
9710         (BasicMenuUI.MenuKeyHandler): Likewise.
9711
9712 2004-06-10  David Jee  <djee@redhat.com>
9713
9714         * java/awt/MediaTracker.java
9715         (imageUpdate): Only do notifyAll() if the image is complete.
9716
9717 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9718
9719         * javax/swing/JApplet.java:
9720         (getJMenuBar): Made public.
9721         (setJMenuBar): Likewise.
9722         * javax/swing/JFrame.java:
9723         (getJMenuBar): Made public.
9724         (setJMenuBar): Likewise.
9725         * javax/swing/JWindow.java:
9726         (getJMenuBar): Removed.
9727         (setJMenuBar): Removed.
9728
9729 2004-06-10  Michael Koch  <konqueror@gmx.de>
9730
9731         * javax/swing/JEditorPane.java
9732         (createEditorKitForContentType): Fixed visibility.
9733         (fireHyperlinkUpdate): Likewise.
9734         (getContentType): Likewise.
9735         (getEditorKit): Likewise.
9736         (getEditorKitForContentType): Likewise.
9737         (getPage): Likewise.
9738         (read): Likewise.
9739         (registerEditorKitForContentTyoe): Likewise.
9740         (replaceSelection): Likewise.
9741         (setContentType): Likewise.
9742         (setEditorKit): Likewise.
9743         (setPage): Likewise.
9744
9745 2004-06-10  Michael Koch  <konqueror@gmx.de>
9746
9747         * javax/swing/Timer.java
9748         (Timer): New constructor.
9749         * javax/swing/plaf/basic/BasicProgressBarUI.java
9750         (animationTimer): Don't initialize at construction.
9751         (startAnimationTimer): Added since tag.
9752         (stopAnimationTimer): Likewise.
9753         (installUI): Use new Timer constructor.
9754         * javax/swing/plaf/basic/BasicScrollBarUI.java
9755         (installUI): Likewise.
9756         * javax/swing/plaf/basic/BasicSliderUI.java
9757         (installUI): Likewise.
9758
9759 2004-06-10  Michael Koch  <konqueror@gmx.de>
9760
9761         * javax/swing/ButtonGroup.java
9762         (serialVersionUID): Made private.
9763         (buttons): Renamed from v, added javadoc.
9764         (sel): Added javadoc.
9765         (ButtonGroup): Likewise.
9766         (add): Likewise.
9767         (remove): Likewise.
9768         (getElements): Likewise.
9769         (getSelection): Likewise.
9770         (setSelected): Likewise.
9771         (isSelected): Likewise.
9772         (getButtonCount): Likewise.
9773
9774 2004-06-10  Michael Koch  <konqueror@gmx.de>
9775
9776         * javax/swing/ButtonGroup.java,
9777         javax/swing/ImageIcon.java,
9778         javax/swing/JEditorPane.java,
9779         javax/swing/JRootPane.java,
9780         javax/swing/JTextField.java,
9781         javax/swing/LookAndFeel.java,
9782         javax/swing/plaf/basic/BasicTextUI.java:
9783         Reindented.
9784
9785 2004-06-10  Michael Koch  <konqueror@gmx.de>
9786
9787         * javax/swing/text/Style.java: Added javadocs.
9788
9789 2004-06-10  Michael Koch  <konqueror@gmx.de>
9790
9791         * javax/swing/JComponent.java
9792         (fireVetoableChange): Removed redundant cast.
9793         * javax/swing/JLabel.java
9794         (getDisabledIcon): Save icon for next call.
9795
9796 2004-06-10  Michael Koch  <konqueror@gmx.de>
9797
9798         * javax/swing/KeyStroke.java
9799         (getKeyStroke(char,boolean)): Marked deprecated.
9800
9801 2004-06-10  Michael Koch  <konqueror@gmx.de>
9802
9803         * javax/swing/DefaultCellEditor.java,
9804         javax/swing/GrayFilter.java,
9805         javax/swing/event/DocumentEvent.java,
9806         javax/swing/text/JTextComponent.java,
9807         javax/swing/text/MutableAttributeSet.java:
9808         Reindented.
9809
9810 2004-06-10  Michael Koch  <konqueror@gmx.de>
9811
9812         * javax/swing/plaf/BorderUIResource.java:
9813         Added serialVersionUID all over.
9814
9815 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
9816
9817         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9818
9819 2004-06-10  Michael Koch  <konqueror@gmx.de>
9820
9821         * javax/swing/table/DefaultTableCellRenderer.java
9822         (noFocusBorder): Initialize directly.
9823
9824 2004-06-10  Michael Koch  <konqueror@gmx.de>
9825
9826         * javax/swing/plaf/basic/BasicArrowButton.java
9827         (setDirection): Use method argument.
9828
9829 2004-06-10  Michael Koch  <konqueror@gmx.de>
9830
9831         * javax/swing/plaf/BorderUIResource.java,
9832         javax/swing/plaf/ComponentUI.java,
9833         javax/swing/undo/CompoundEdit.java,
9834         javax/swing/undo/StateEdit.java:
9835         Fixed javadocs all over.
9836
9837 2004-06-10  Michael Koch  <konqueror@gmx.de>
9838
9839         * javax/swing/DefaultButtonModel.java
9840         (ARMED): Made public final, fixed value.
9841         (ENABLED): Likewise.
9842         (PRESSED): Likewise.
9843         (ROLLOVER): Likewise.
9844         (SELECTED): Likewise.
9845         (stateMask): Initialize directly.
9846         (listenerList): Likewise.
9847         (mnemonic): Likewise.
9848         (fireStateChanged): Removed argument, use changeEvent as event.
9849         All places where this method is called are fixed too.
9850         (getActionCommant): Fixed javadoc.
9851         (setGroup): Fixed javadoc.
9852         (getGroup): New method.
9853
9854 2004-06-09  Olga Rodimina <rodimina@redhat.com>
9855
9856         * javax/swing/AbstractButton.java
9857         (AbstractButton): Use init() to initialize the button.
9858         (init): New Method. Initializes AbstractButton.
9859         * javax/swing/JMenuItem.java: Documented.
9860         (JMenuItem): Reimplemented.
9861         (init): Implemented.
9862         (setEnabled): Changed to call super.setEnabled()
9863         (processMouseEvent): Reimplemented.
9864         (fireMenuKeyPressed): Implemented.
9865         (fireMenuKeyReleased): Implemented.
9866         (fireMenuKeyTyped): Implemented.
9867         (menuSelectionChanged): disarm the model if the menu item was
9868         deselected.
9869         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
9870         (getPath): Change to use ArrayList instead of Vector.
9871         (getPreferredSize): Renamed variable.
9872         (paintMenuItem): Paint margin area of menu item.
9873         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
9874         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
9875         menu item's bounds before clearing the selection.       
9876
9877 2004-06-09  David Jee  <djee@redhat.com>
9878
9879         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
9880         (GtkTextComponentPeer): Set caret position to 0.
9881         * java/awt/TextComponent.java
9882         (setText): Set caret position to 0.
9883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9884         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9885         Handle GtkScrolledWindow separately. Fix signal handler blocking.
9886         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9887         Likewise.
9888         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9889         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
9890         visible.
9891
9892 2004-06-09  Kim Ho  <kho@redhat.com>
9893
9894         * Makefile.am: New files
9895         * Makefile.in: Regenerated
9896         * java/awt/Container.java
9897         (getComponentAt): Removed.
9898         * javax/swing/AbstractAction.java
9899         (ENABLED_PROPERTY): New property.
9900         (putValue): Fire PropertyChangeEvents.
9901         (setEnabled): ditto.
9902         (firePropertyChange): Javadoc and implement
9903         convenience method.
9904         * javax/swing/AbstractButton.java
9905         (setAction): Don't create PropertyChangeListener
9906         if new Action is null.
9907         (setIcon): Don't set icon till after comparing
9908         it.
9909         (configurePropertiesFromAction): Check mnemonic
9910         key before calling intValue().
9911         (createActionPropertyChangeListener): Check
9912         properties rather than bulk change.
9913         * javax/swing/DefaultDesktopManager.java:
9914         Implement.
9915         * javax/swing/DesktopManager.java:
9916         Jalopy and javadoc.
9917         * javax/swing/JComponent.java
9918         (fireVetoableChange): Implement.
9919         (paintImmediately): Use root component.
9920         * javax/swing/JDesktopPane.java: Implement
9921         * javax/swing/JInternalFrame.java: Implement
9922         * javax/swing/JLabel.java
9923         (getDisabledIcon): Return grayscaled icon if
9924         no disabled icon specified.
9925         * javax/swing/JMenuBar.java
9926         (getComponentAtIndex): Use getComponent
9927         * javax/swing/JOptionPane.java
9928         (getDesktopPaneForComponent): Use SwingUtilities'
9929         getAncestorOfClass
9930         (getFrameForComponent): ditto.
9931         * javax/swing/JSplitPane.java
9932         (remove): Use getComponent.
9933         * javax/swing/SwingUtilities.java
9934         (convertPoint): Implement.
9935         * javax/swing/plaf/basic/BasicButtonUI.java
9936         (paintButtonNormal): Check opaqueness before
9937         filling background.
9938         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
9939         Implement
9940         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
9941         Implement.
9942         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
9943         Implement.
9944         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
9945         Implement.
9946         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9947         Change InternalFrame and Desktop colors.
9948
9949 2004-06-09  David Jee  <djee@redhat.com>
9950
9951         * java/awt/Container.java
9952         (remove): Do not set component to invisible.
9953
9954 2004-06-09  Michael Koch  <konqueror@gmx.de>
9955
9956         * javax/swing/tree/DefaultMutableTreeNode.java
9957         (getLeafCount): Renamed enum to e.
9958
9959 2004-06-09  Michael Koch  <konqueror@gmx.de>
9960
9961         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9962         (positionForMouseEvent): Removed redundant semicolon.
9963         (continueDrag): Use method arguments.
9964
9965 2004-06-09  Michael Koch  <konqueror@gmx.de>
9966
9967         * javax/swing/border/TitledBorder.java,
9968         javax/swing/filechooser/FileSystemView.java,
9969         javax/swing/plaf/basic/BasicButtonListener.java,
9970         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9971         javax/swing/plaf/basic/BasicLabelUI.java,
9972         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
9973         javax/swing/plaf/basic/BasicScrollBarUI.java,
9974         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9975         javax/swing/plaf/basic/BasicSliderUI.java,
9976         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9977         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9978         javax/swing/table/JTableHeader.java,
9979         javax/swing/text/AbstractDocument.java,
9980         javax/swing/text/DefaultCaret.java,
9981         javax/swing/text/StyledEditorKit.java,
9982         javax/swing/tree/DefaultTreeCellEditor.java:
9983         Reworked import statements.
9984
9985 2004-06-08  Graydon Hoare  <graydon@redhat.com>
9986
9987         * javax/swing/Box.java: Temporarily comment out code
9988         broken due to visibility bug.
9989
9990 2004-06-09  Michael Koch  <konqueror@gmx.de>
9991
9992         * javax/swing/ImageIcon.java
9993         (ImageIcon): Added missing constructor.
9994
9995 2004-06-08  Michael Koch  <konqueror@gmx.de>
9996
9997         * javax/swing/JToggleButton.java
9998         (JToggleButton): New constructor.
9999         (getAccessibleContext): Moved documentation into javadoc.
10000         (getUIClassID): Likewise.
10001
10002 2004-06-08  Michael Koch  <konqueror@gmx.de>
10003
10004         * javax/swing/AbstractButton.java
10005         (getDisabledIcon): Create disabled icon if none exists yet.
10006
10007 2004-06-08  Michael Koch  <konqueror@gmx.de>
10008
10009         * javax/swing/plaf/basic/BasicLookAndFeel.java
10010         (initClassDefaults): Added FormattedTextFieldUI.
10011         (loadResourceBundle): Renamed enum to e.
10012
10013 2004-06-08  Michael Koch  <konqueror@gmx.de>
10014
10015         * javax/swing/plaf/basic/BasicButtonUI.java
10016         (paintIcon): Simplified.
10017         (paintText): Paint disabled button correctly.
10018
10019 2004-06-08  Michael Koch  <konqueror@gmx.de>
10020
10021         * javax/swing/JComponent.java
10022         (createToolTip): Use official JToolTip API.
10023
10024 2004-06-08  Michael Koch  <konqueror@gmx.de>
10025
10026         * javax/swing/JToolTip.java
10027         (JToolTip): No arguments in API.
10028         (setTipText): New method.
10029
10030 2004-06-08  Michael Koch  <konqueror@gmx.de>
10031
10032         * javax/swing/SwingUtilities.java
10033         (isLeftMouseButton): New method.
10034         (isMiddleMouseButton): New method.
10035         (isRightMouseButton): New method.
10036
10037 2004-06-08  Michael Koch  <konqueror@gmx.de>
10038
10039         * javax/swing/AbstractButton.java,
10040         javax/swing/CellRendererPane.java,
10041         javax/swing/JCheckBoxMenuItem.java,
10042         javax/swing/JColorChooser.java,
10043         javax/swing/JComboBox.java,
10044         javax/swing/JComponent.java,
10045         javax/swing/JDesktopPane.java,
10046         javax/swing/JFileChooser.java,
10047         javax/swing/JMenu.java,
10048         javax/swing/JMenuItem.java,
10049         javax/swing/JOptionPane.java,
10050         javax/swing/JPasswordField.java,
10051         javax/swing/JPopupMenu.java,
10052         javax/swing/JProgressBar.java,
10053         javax/swing/JRadioButtonMenuItem.java,
10054         javax/swing/JScrollBar.java,
10055         javax/swing/JSeparator.java,
10056         javax/swing/JSlider.java,
10057         javax/swing/JSplitPane.java,
10058         javax/swing/JTabbedPane.java,
10059         javax/swing/JTextField.java,
10060         javax/swing/JToolBar.java,
10061         javax/swing/text/JTextComponent.java:
10062         Fixed all constructors of accessibility classes.
10063
10064 2004-06-08  Michael Koch  <konqueror@gmx.de>
10065
10066         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10067         over.
10068
10069 2004-06-08  Michael Koch  <konqueror@gmx.de>
10070
10071         * javax/swing/Box.java
10072         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10073         (AccessibleBoxFiller.serialVersionUID): New member variable.
10074         * javax/swing/DefaultButtonModel.java
10075         (stateMask): Made protected.
10076         (listenerList): Likewise.
10077         (changeEvent): Likewise.
10078         (group): Likewise.
10079         (mnemonic): Likewise.
10080         (actionCommand): Likewise.
10081         (getListeners): New method.
10082         (getActionListeners): New method.
10083         (getItemListeners): New method.
10084         (getChangeListeners): New method.
10085         (fireItemStateChanged): Simplified.
10086         (fireActionPerformed): Simplified.
10087         (fireStateChanged): Simplified.
10088         * javax/swing/JFrame.java
10089         (JFrame): Implements WindowContants.
10090         (HIDE_ON_CLOSE): Removed.
10091         (EXIT_ON_CLOSE): Removed.
10092         (DISPOSE_ON_CLOSE): Removed.
10093         (DO_NOTHING_ON_CLOSE): Removed.
10094         (processWindowEvent): Exit with code 0.
10095         (setDefaultCloseOperation): Do security check before setting value.
10096         * javax/swing/JOptionPane.java
10097         (message): Initialize only in constructor.
10098         * javax/swing/JToolTip.java: Removed unused imports.
10099         * javax/swing/JViewport.java
10100         (serialVersionUID): New member variable.
10101         (SIMPLE_SCROLL_MODE): Made final, fixed value.
10102         (BLIT_SCROLL_MODE): Likewise.
10103         (BACKINGSTORE_SCROLL_MODE): Likewise.
10104         (scrollUnderway): Made protected.
10105         (isViewSizeSet): Likewise.
10106         * javax/swing/ListModel.java: Fixed javadoc.
10107         * javax/swing/Popup.java: Likewise.
10108         * javax/swing/RepaintManager.java
10109         (paintDirtyRegions): Don't use internal classes of
10110         java.util.AbstractMap.
10111         * javax/swing/ScrollPaneConstants.java: Reindented.
10112         * javax/swing/ScrollPaneLayout.java
10113         (viewport): Made protected.
10114         (verticalScrollBar): Made protected, renamed to vsb.
10115         (horizontalScrollBar): Made protected, renamed to hsb.
10116         (rowHeader): Made protected, renamed to rowHead.
10117         (columnHeader): Made protected, renamed to colHead.
10118         (lowerLeft): Made protected.
10119         (lowerRight): Made protected.
10120         (upperLeft): Made protected.
10121         (upperRight): Made protected.
10122         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10123         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10124
10125 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
10126
10127         * java/awt/MediaTracker.java (imageUpdate): Only set status to
10128         LOADING if flags has SOMEBITS set.
10129
10130 2004-06-07  Michael Koch  <konqueror@gmx.de>
10131
10132         * javax/swing/AbstractButton.java: Reorganized imports.
10133         * javax/swing/ActionMap.java: Likewise.
10134         * javax/swing/DefaultButtonModel.java: Likewise.
10135         * javax/swing/DefaultListModel.java: Likewise.
10136         * javax/swing/ImageIcon.java: Likewise.
10137         (serialVersionUID): New member variable.
10138         * javax/swing/JComboBox.java: Reorganized imports.
10139         * javax/swing/JComponent.java: Likewise.
10140         (ui): Made protected.
10141         (listenerList): Made protected.
10142         (TOOL_TIP_TEXT_KEY): New constant.
10143         (scrollRectToVisible): Removed redundant null check.
10144         * javax/swing/JFrame.java: Reorganized imports.
10145         * javax/swing/JInternalFrame.java: Reorganized imports.
10146         * javax/swing/JProgressBar.java: Likewise.
10147         * javax/swing/JRootPane.java: Likewise.
10148         * javax/swing/JScrollBar.java: Likewise.
10149         * javax/swing/JSeparator.java: Likewise.
10150         * javax/swing/JSlider.java: Likewise.
10151         * javax/swing/JTabbedPane.java: Likewise.
10152         * javax/swing/JTextField.java: Likewise.
10153         * javax/swing/JToolBar.java: Likewise.
10154         * javax/swing/JTree.java: Likewise.
10155         * javax/swing/JViewport.java: Likewise.
10156         * javax/swing/JWindow.java: Likewise.
10157         * javax/swing/KeyStroke.java: Likewise.
10158         * javax/swing/LookAndFeel.java: Likewise.
10159         * javax/swing/MenuSelectionManager.java: Likewise.
10160         * javax/swing/SwingUtilities.java: Likewise.
10161         * javax/swing/Timer.java: Likewise.
10162         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10163         * javax/swing/JList.java
10164         (HORIZONTAL_WRAP): Made final, fixed value.
10165         (VERTICAL): Likewise.
10166         (VERTICAL_WRAP): Likewise.
10167
10168 2004-06-07  Michael Koch  <konqueror@gmx.de>
10169
10170         * javax/swing/AbstractButton.java
10171         (serialVersionUID): New member variable.
10172         (AccessibleAbstractButton.serialVersionUID): Likewise.
10173         (AbstractButton): Made public.
10174         * javax/swing/Box.java
10175         (AccessibleBox.serialVersionUID): New member variable.
10176         (Filler.serialVersionUID): Likewise.
10177         * javax/swing/DefaultListSelectionModel.java
10178         (serialVersionUID): Likewise.
10179         * javax/swing/JApplet.java
10180         (serialVersionUID): Likewise.
10181         * javax/swing/JCheckBox.java
10182         (serialVersionUID): Likewise.
10183         * javax/swing/JCheckBoxMenuItem.java
10184         (serialVersionUID): Likewise.
10185         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10186         * javax/swing/JColorChooser.java
10187         (serialVersionUID): Likewise.
10188         (AccessibleJColorChooser.serialVersionUID): Likewise.
10189         * javax/swing/JComponent.java
10190         (serialVersionUID): Made private.
10191         (AccessibleJComponent.serialVersionUID): New member variable.
10192         * javax/swing/JDesktopPane.java
10193         (serialVersionUID): Likewise.
10194         * javax/swing/JDialog.java
10195         (serialVersionUID): Likewise.
10196         * javax/swing/JFormattedTextField.java
10197         (serialVersionUID): Fixed value.
10198         * javax/swing/JFrame.java
10199         (serialVersionUID): New member variable.
10200         (getDefaultCloseOpertation): Made public.
10201         * javax/swing/JLayeredPane.java
10202         (serialVersionUID): Likewise.
10203         (LAYER_PROPERTY): Made final, fixed value.
10204         (JLayeredPane): Made public.
10205         * javax/swing/JMenu.java
10206         (AccessibleJMenu.serialVersionUID): New member variable.
10207         (WinListener.serialVersionUID): Likewise.
10208         * javax/swing/JMenuBar.java
10209         (serialVersionUID): Likewise.
10210         (getComponentAtIndex): Added @deprecated tag.
10211         * javax/swing/JMenuItem.java
10212         (serialVersionUID): New member variable.
10213         (AccessibleJMenuItem.serialVersionUID): Likewise.
10214         * javax/swing/JOptionPane.java
10215         (serialVersionUID): Likewise.
10216         (AccessibleJOptionPane.serialVersionUID): Likewise.
10217         * javax/swing/JPopupMenu.java
10218         (serialVersionUID): Likewise.
10219         (AccessibleJPopupMenu.serialVersionUID): Likewise.
10220         (getPopupMenuListeners): New method.
10221         (getComponentAtIndex): Added @deprecated tag.
10222         * javax/swing/JProgressBar.java
10223         (serialVersionUID): New member variable.
10224         (AccessibleJProgressBar.serialVersionUID): Likewise.
10225         * javax/swing/JRadioButton.java
10226         (serialVersionUID): Likewise.
10227         * javax/swing/JRadioButtonMenuItem.java
10228         (serialVersionUID): Likewise.
10229         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10230         * javax/swing/JScrollBar.java
10231         (serialVersionUID): Likewise.
10232         (AccessibleJScrollBar.serialVersionUID): Likewise.
10233         * javax/swing/JSeparator.java
10234         (serialVersionUID): Likewise.
10235         (AccessibleJSeparator.serialVersionUID): Likewise.
10236         * javax/swing/JSlider.java: Fixed javadocs.
10237         (AccessibleJSlider.serialVersionUID): New member variable.
10238         * javax/swing/JSplitPane.java: Added copyright statement.
10239         (serialVersionUID): New member variable.
10240         (AccessibleJSplitPane.serialVersionUID): Likewise.
10241         * javax/swing/JTabbedPane.java
10242         (serialVersionUID): Likewise.
10243         (AccessibleJTabbedPane.serialVersionUID): Likewise.
10244         (ModelListener.serialVersionUID): Likewise.
10245         (ModelListener.ModelListener): New constructor.
10246         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10247         (WRAP_TAB_LAYOUT): Likewise.
10248         * javax/swing/JTable.java
10249         (serialVersionUID): New member variable.
10250         * javax/swing/JToggleButton.java
10251         (serialVersionUID): Likewise.
10252         (ToggleButtonModel): Made static.
10253         (ToggleButtonModel.serialVersionUID): New member variable.
10254         * javax/swing/JToolTip.java
10255         (serialVersionUID): Likewise.
10256         * javax/swing/JTree.java
10257         (serialVersionUID): Likewise.
10258         * javax/swing/JWindow.java
10259         (serialVersionUID): Likewise.
10260         * javax/swing/Timer.java
10261         (serialVersionUID): Likewise.
10262
10263 2004-06-06  Michael Koch  <konqueror@gmx.de>
10264
10265         * javax/swing/SwingConstants.java
10266         (NEXT): New constant.
10267         (PREVIOUS): Likewise.
10268         * javax/swing/UIManager.java
10269         (LookAndFeel): Made public.
10270         (LookAndFeel.getClassName): Likewise.
10271         (LookAndFeel.getName): Likewise.
10272
10273 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10274
10275         * javax/swing/JCheckBoxMenuItem.java:
10276         Removed CVS tags.
10277         * javax/swing/JMenu.java: Likewise.
10278         * javax/swing/JMenuBar.java: Likewise.
10279         * javax/swing/JMenuItem.java: Likewise.
10280         * javax/swing/JPopupMenu.java: Likewise.
10281         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10282         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10283         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10284         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10285         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10286         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10287         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10288
10289 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10290         
10291         * javax/swing/plaf/basic/BasicMenuUI.java:
10292         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10293         Call getPath() from super class instead.
10294
10295 2004-05-31  David Jee  <djee@redhat.com>
10296
10297         * java/awt/Container.java
10298         (remove): Set component visibility to false after removing it.
10299
10300 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
10301
10302         * java/awt/Component.java (getForeground): Return SystemColor if
10303         parent is null.
10304         (getBackground): Likewise.
10305
10306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10307         (item_highlighted): New function.
10308         (connectSignals): Set item_highlighted as list's select
10309         function.
10310
10311         * java/applet/Applet.java: Revert changes from 2004-04-29,
10312         2004-03-15 and 2004-03-14.
10313
10314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10315         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10316         factor.
10317
10318         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10319         "Dialog" as the default font.
10320         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10321         Likewise.
10322         * java/awt/Component.java (getFont): Return "Dialog" font by
10323         default.
10324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10325         Multiply size argument to pango_font_description_set_size by the
10326         DPI conversion factor rather than by PANGO_SCALE.
10327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10328         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10330         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10332         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10335         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10337         Divide baseline y coordinate by DPI conversion factor rather
10338         than by PANGO_SCALE.
10339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10340         (area_prepared): Fix typo.
10341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10342         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10344         (dpi_conversion_factor): New global variable.
10345         (init_dpi_conversion_factor): New function to calculate and
10346         track DPI conversion factor.
10347         (dpi_changed_cb): New callback.
10348         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10349
10350 2004-05-27  David Jee  <djee@redhat.com>
10351
10352         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10353         (getGraphics): Return a new GdkGraphics instance.
10354         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10355         (getGraphics): Call super.getGraphics().
10356
10357 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10358
10359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10360         (setNativeBounds): Clamp width and height values to >= 0.
10361
10362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10363         (find_fg_color_widget): Handle GtkOptionMenu specially.
10364
10365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10366         (pre_event_handler): Only post configure events to visible
10367         top-level windows.
10368
10369 2004-05-26  David Jee  <djee@redhat.com>
10370
10371         * java/awt/BorderLayout.java
10372         (layoutContainer): Fix size calculations.
10373
10374 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10375
10376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10377         (window_wm_protocols_filter): Remove function.
10378         (create): Remove filter that removes WM_TAKE_FOCUS client
10379         messages.
10380
10381 2004-06-17  Anthony Green  <green@redhat.com>
10382
10383         * java/util/zip/ZipFile.java (getInputStream): Return null if
10384         entry not found.
10385
10386         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10387         directory contents to the class path.
10388
10389 2004-06-15  Andrew Haley  <aph@redhat.com>
10390
10391         * java/lang/natSystem.cc (getenv0): Don't assume environment
10392         variable is Latin 1 coded.
10393
10394 2004-06-14  Andreas Jaeger  <aj@suse.de>
10395
10396         * configure.in: Support --enable-version-specific-runtime-libs.
10397         * configure: Regenerated.
10398
10399 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
10400
10401         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10402         to pass ClassLoader argument.
10403         * java/util/GregorianCalendar.java: Likewise.
10404         * java/util/Currency.java: Likewise.
10405         * java/text/BreakIterator.java: Likewise.
10406         * java/text/Collator.java: Likewise.
10407         * java/text/DateFormat.java: Likewise.
10408         * java/text/DateFormatSymbols.java: Likewise.
10409         * java/text/DecimalFormatSymbols.java: Likewise.
10410         * java/text/NumberFormat.java: Likewise.
10411         * java/awt/Window.java: Likewise.
10412
10413 2004-06-14  Andrew Haley  <aph@redhat.com>
10414
10415         * java/lang/System.java: (getenv0): New method.
10416         (getenv): Add security check.  Do the right thing.
10417         * java/lang/natSystem.cc (getenv0): New method.
10418
10419 2004-06-12  Mark Wielaard  <mark@klomp.org>
10420
10421         * javax/swing/RepaintManager.java
10422         (paintDirtyRegions): Use entrySet(), not values().
10423
10424 2004-06-10  Mark Wielaard  <mark@klomp.org>
10425
10426         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10427         NoSuchMethodError.
10428
10429 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
10430
10431         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
10432         when we already know the answer.
10433         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10434         (setStartRule,setEndRule): Don't take abs of day number.
10435         (getOffset): Clarify docs.  Add argument checks.
10436         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10437         (equals,hasSameRules,toString,readObject): Use startTimeMode and
10438         endTimeMode.
10439
10440 2004-06-10  Tom Tromey  <tromey@redhat.com>
10441
10442         * interpret.cc (run): Handle wide fload.
10443
10444 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
10445
10446         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10447
10448 2004-06-05  Michael Koch  <konqueror@gmx.de>
10449
10450         * javax/swing/SwingConstants.java
10451         (NEXT): New constant.
10452         (PREVIOUS): Likewise.
10453
10454 2004-06-05  Michael Koch  <konqueror@gmx.de>
10455
10456         * javax/swing/UIManager.java
10457         (LookAndFeel): Made public.
10458         (LookAndFeel.getName): Likewise.
10459         (LookAndFeel.getClassName): Likewise.
10460
10461 2004-06-03  Michael Koch  <konqueror@gmx.de>
10462
10463         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10464         (requestFocus): Revert last changes.
10465         (gtkRequestFocus): Removed.
10466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10467         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10468         Renamed to ...
10469         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10470         Reverted last patch.
10471         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10472         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10473         Reverted comment change.
10474
10475 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10476
10477         * javax/swing/JCheckBoxMenuItem.java:
10478         Removed CVS tags.
10479         * javax/swing/JMenu.java: Likewise.
10480         * javax/swing/JMenuBar.java: Likewise.
10481         * javax/swing/JMenuItem.java: Likewise.
10482         * javax/swing/JPopupMenu.java: Likewise.
10483         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10484         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10485         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10486         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10487         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10488         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10489         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10490
10491 2004-06-01  Tom Tromey  <tromey@redhat.com>
10492
10493         * java/io/ObjectStreamField.java: Cleaned up imports.
10494
10495 2004-06-01  Michael Koch  <konqueror@gmx.de>
10496
10497         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10498       
10499 2004-06-01  Mark Wielaard  <mark@klomp.org>
10500
10501         * java/io/Writer.java (Writer(Object)): Fixed API doc.
10502
10503 2004-06-01  Michael Koch  <konqueror@gmx.de>
10504
10505         * java/security/Security.java
10506         (insertProviderAt): Use equals() instead of ==.
10507         (removeProvicer): Likewise.
10508         (getProvider): Likewise.
10509         * java/security/Signature.java
10510         (sign): Don't set state to UNINITIALIZED.
10511         (verify): Likewise.
10512
10513 2004-06-01  Mark Wielaard  <mark@klomp.org>
10514
10515         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10516         Implement by calling gtkRequestFocus.
10517         (gtkRequestFocus): New native method.
10518         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10519         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10520         Renamed to ...
10521         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10522         New function name.
10523         (filter_expose_event_handler):
10524         Mark static.
10525         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10526         (menu_pos): Mark static.
10527
10528 2004-06-01  Michael Koch  <konqueror@gmx.de>
10529
10530         * java/text/CollationElementIterator.java,
10531         java/text/CollationKey.java,
10532         java/text/RuleBasedCollator.java: New versions from GNU classpath.
10533         * testsuite/libjava.mauve/xfails: Removed all
10534         java.text.CollationElementIterator tests.
10535
10536 2004-06-01  Michael Koch  <konqueror@gmx.de>
10537
10538         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10539         version.
10540         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10541         Java 1.5 keyword usage.
10542
10543 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10544
10545         * javax/swing/plaf/basic/BasicMenuUI.java:
10546         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10547         Call getPath() from super class instead.
10548
10549 2004-05-31  Michael Koch  <konqueror@gmx.de>
10550
10551         * java/io/SequenceInputStream.java:
10552         Rename enum to e because enum is a keyword in Java 1.5.
10553
10554 2004-05-31  Michael Koch  <konqueror@gmx.de>
10555
10556         * gnu/java/rmi/rmic/CompilerProcess.java:
10557         Fixed javadoc to by XHTML compliant.
10558
10559 2004-05-30  Mark Wielaard  <mark@klomp.org>
10560
10561         * java/awt/Toolkit.java (loadSystemColors): Implement.
10562
10563 2004-05-30  Michael Koch  <konqueror@gmx.de>
10564
10565         * java/lang/System.java: Reordered imports.
10566
10567 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
10568
10569         * java/text/DecimalFormat.java
10570         (parse): Fixed parsing of decimal strings. Number of maximum
10571         digits to be read should now work.
10572         * java/text/SimpleDateFormat.java
10573         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10574         formatter. This fixes DateFormatTest.
10575
10576 2004-05-30  Michael Koch  <konqueror@gmx.de>
10577
10578         * java/nio/Buffer.java
10579         (limit): Fixed off by one error.
10580         * java/nio/CharBuffer.java
10581         (wrap): Fixed arguments, added javadocs.
10582
10583 2004-05-30  Michael Koch  <konqueror@gmx.de>
10584
10585         * gnu/java/beans/BeanInfoEmbryo.java,
10586         java/awt/im/InputContext.java,
10587         javax/swing/tree/DefaultMutableTreeNode.java:
10588         Rename enum to e because enum is a keyword in Java 1.5.
10589
10590 2004-05-30  Michael Koch  <konqueror@gmx.de>
10591
10592         * gnu/java/math/MPN.java,
10593         java/awt/geom/Arc2D.java:
10594         Fixed javadocs all over.
10595
10596 2004-05-30  Michael Koch  <konqueror@gmx.de>
10597
10598         * java/awt/DefaultKeyboardFocusManager.java
10599         (dispatchEvent): Call method to get key event dispatchers.
10600         (dispatchKeyEvent): Call method to get key event post processors.
10601         * javax/swing/JComponent.java
10602         (listenerList): Made protected.
10603         * javax/swing/JOptionPane.java
10604         (message): Don't initialize.
10605         (JOptionPane): Set message text.
10606         * javax/swing/JPopupMenu.java
10607         (show): Fixed typo in argument name.
10608         * javax/swing/RepaintManager.java
10609         (paintDirtyRegions): Use public API of java.util.Map.
10610         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10611         (positionForMouseEvent): Removed redundant ';'.
10612         (continueDrag): Use method arguments.
10613
10614 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
10615
10616         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10617         results.
10618
10619 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
10620
10621         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10622         _Jv_AllocBytes.
10623         * gnu/gcj/RawDataManaged.java: New file.
10624         * java/lang/Thread.java (data): Declare as RawDataManaged.
10625         * java/lang/natThread.cc (init_native): Cast natThread data to
10626         RawDataManaged, not jobject.
10627         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10628         * Makefile.in: Rebuilt.
10629
10630 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
10631
10632         * java/util/SimpleTimeZone.java: Reverting my last change until I
10633         can fix it properly.
10634
10635 2004-05-27  Michael Koch  <konqueror@gmx.de>
10636
10637         * javax/swing/JPopupMenu.java
10638         (isVisible): Do not use visible directly.
10639         (setVisible): Likewise.
10640         * javax/swing/JWindow.java
10641         (JWindow): call accessible constructor.
10642         * javax/swing/RepaintManager.java
10643         (paintDirtyRegions): Use public methods to obtain iterator.
10644
10645 2004-05-25  David Jee  <djee@redhat.com>
10646
10647         * java/awt/Container.java
10648         (remove): Set component's parent to null only after we removed the
10649         component from its parent's layout manager.
10650
10651 2004-05-25  David Jee  <djee@redhat.com>
10652
10653         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10654         (GtkComponentPeer): Set bounds regardless of whether awtComponent
10655         is valid.
10656         * gnu/java/awt/peer/gtk/GtkListPeer.java
10657         (getSize): Change native method declaration.
10658         (minimumSize): Pass visible row count into getSize().
10659         (preferredSize): Likewise.
10660         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10661         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10662         natural size. Use visible row count to determine the final height
10663         value to return.
10664
10665 2004-05-21  Graydon Hoare  <graydon@redhat.com>
10666
10667         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
10668         (setClip): Minor correction to order of operations.
10669
10670         * javax/swing/JScrollPane.java: Extend sketchy implementation.
10671         * javax/swing/ScrollPaneLayout.java: Likewise.
10672         * javax/swing/JViewPort.java: Likewise.
10673         * javax/swing/ViewportLayout.java: Likewise.
10674
10675         * javax/swing/JComponent.java: Rewrite.
10676         * javax/swing/RepaintManager.java: Likewise.
10677
10678         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10679         * javax/swing/JList.java 
10680         (setSelectedIndices):
10681         (getSelectedIndices):
10682         (getSelectedValues): New functions.
10683         (getPreferredScrollableViewportSize): Return preferred size.
10684         (getScrollableUnitIncrement):
10685         (getScrollableBlockIncrement): Initial implementations.
10686         * javax/swing/JRootPane.java: Clean up slightly.
10687         (getUI):
10688         (setUI):
10689         (updateUI):
10690         (getUIClassID):
10691         (isValidateRoot): Add overrides from JComponent.
10692         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10693         * javax/swing/UIManager.java (getDimension): Return the dimension.
10694
10695         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10696         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10697         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10698         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10699         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10700         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10701         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10702         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
10703         Likewise, and set background.
10704         * javax/swing/plaf/basic/BasicListUI.java: 
10705         Likewise, and improve a bit.
10706         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
10707         Likewise, and adjust calculations.
10708         * javax/swing/plaf/basic/BasicViewportUI.java:
10709         Likewise, and improve a bit.
10710         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10711         (Button.margin): Shrink.
10712
10713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10714         Hack to set horizontal always, workaround pango.
10715
10716         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10718         Synchronize more often, check cairo status after ops,
10719         handle changes to cairo pattern API, check for disposal.
10720
10721 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
10722
10723         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10724         (BasicMenuItemUI): Create propertyChangeListener.
10725         (getPath):Implemented.
10726         (installListeners): Add propertyChangeListener to menuItem.
10727         (uninstallListeners): Remove propertyChangeListener from menuItem.
10728         (update): Implemented.
10729         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10730         (mouseEntered): Take insets of popup menu into account when
10731         calculating position of popup menu.     
10732         
10733 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10734
10735         * Makefile.am: Added new file. 
10736         * Makefile.in: Regenerate.
10737         * javax/swing/JMenuBar.java:
10738         Started implementation.
10739         * javax/swing/JPopupMenu.java:
10740         (setVisible): Fixed location of lightweight/mediumweight
10741         popup menu.
10742         (show): Fixed location of PopupMenu.
10743         * javax/swing/plaf/basic/BasicMenuBarUI.java:
10744         New file. UI Delegate for JMenuBar.
10745         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10746         (mouseEntered): Corrected position of the submenu.
10747
10748 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
10749
10750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
10751         to _gtk_accel_group_attach.
10752         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
10753         Likewise.
10754
10755         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
10756         package access.  Don't override setFont.
10757         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
10758         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
10759         gtkWidgetRequestFocus package access.
10760         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
10761         setFont.
10762         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
10763         Give gtkWidgetRequestFocus package access.
10764         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
10765         gtkWidgetRequestFocus package access.  Don't override setFont.
10766         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
10767         setFont.
10768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10769         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
10770         region.
10771         (gtkSetFont): Likewise.
10772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
10773         Implement.
10774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10775         (gtkSetFont): Whitespace fix.
10776
10777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10778         (gtkWidgetSetUsize): Remove method.
10779
10780 2004-05-18  David Jee  <djee@redhat.com>
10781
10782         * java/awt/image/MemoryImageSource.java
10783         (newPixels(int,int,int,int,boolean)): Set only the specified
10784         rectangle of pixels.
10785         (newPixels(byte[],ColorModel,int,int)): Implement.
10786         (newPixels(int[],ColorModel,int,int)): Implement.
10787
10788 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10789
10790         * Makefile.am: Added new file.
10791         * Makefile.in: Regenerate.
10792         * javax/swing/JMenu.java: Started 
10793         implementation.
10794         * javax/swing/JPopupMenu.java:
10795         (insert): If specified index is -1, then
10796         add component at the end.
10797         (isPopupTrigger): Reimplemented.
10798         (JPopupMenu.LightWeightPopup): setBounds
10799         of the lightWeightPopup before adding it 
10800         to the layeredPane.
10801         (javax/swing/plaf/basic/BasicIconFactory.java):
10802         (getMenuArrowIcon): Implemented.
10803         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10804         (getPreferredSize): Add size of the arrow icon 
10805         if this menu item is instance of JMenu.
10806         (paintMenuItem): Paint arrow icon if this 
10807         menu item is a submenu.
10808         * javax/swing/plaf/basic/BasicMenuUI.java:
10809         New File. UI Delegate for JMenu.
10810
10811 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
10812
10813         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
10814         Post KEY_TYPED events.
10815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10816         (generates_key_typed_event): Remove function.
10817
10818 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
10819
10820         * javax/swing/JRootPane.java
10821         (JRootPane.RootLayout): Reimplemented to 
10822         set bounds of contentPane and menuBar.
10823         (setJMenuBar): Add menu bar to the layered pane.
10824         (createLayeredPane): Set layout of layeredPane
10825         to null.
10826         * javax/swing/JLayeredPane.java:
10827         (addImpl): Calculate index of the component in the
10828         layeredPane according to the specified position within 
10829         the layer.      
10830
10831 2004-05-17  David Jee  <djee@redhat.com>
10832
10833         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10834         (setPixels): Change color model to the default model after
10835         converting pixels.
10836         * java/awt/image/MemoryImageSource.java
10837         (newPixels): Set only the specified rectangle of pixels.
10838
10839 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10840
10841         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
10842         -l-java-beans -l-javax-accessibility -l-javax-swing.
10843
10844         * java/awt/AWTEvent.java (toString): Print source's name rather
10845         than the source itself.
10846
10847 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
10848
10849         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
10850         native.
10851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
10852         (gdk_color_to_java_color): New function.
10853         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
10854
10855 2004-05-12  David Jee  <djee@redhat.com>
10856
10857         * java/awt/image/RGBImageFilter.java:
10858         Initialize origmodel as null.
10859         (makeColor): Fix pixel component order.
10860         (filterRGBPixels): Fix pixel iteration.
10861         (setPixels): Add extra checks for index color model. Convert pixels
10862         to default color model if necessary.
10863         (convertColorModelToDefault): New override method for byte pixels.
10864         (convertColorModelToDefault): For int pixels, fix pixel iteration.
10865         (makeColorbyDefaultCM): New override method for byte pixels.
10866         (makeColorbyDefaultCM): For int pixel, add color model as argument.
10867         (makeColor): Fix pixel component order.
10868
10869 2004-05-11  Kim Ho  <kho@redhat.com>
10870
10871         * javax/swing/Box.java:
10872         Comment out more parts of Box.Filler.
10873
10874 2004-05-11  Kim Ho  <kho@redhat.com>
10875
10876         * javax/swing/Box.java:
10877         Remove reference to AccessibleAWTComponent so
10878         it compiles again.
10879
10880 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
10881
10882         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
10884         implementation of list peer to use GtkTreeView instead of
10885         deprecated GtkCList.
10886
10887 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
10888
10889         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10890         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
10891         (handleEvent): Remove keyChar argument to
10892         gtkWidgetDispatchKeyEvent calls.
10893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
10894         compiler warnings.
10895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
10896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
10897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
10898         Likewise.
10899
10900 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
10901
10902         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10903         (gtkWidgetRequestFocus): Mark protected.
10904         (GtkComponentPeer): Only set the peer's bounds if its component
10905         is valid.
10906         * java/awt/Component.java (static): Set the default keyboard
10907         focus manager.
10908         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
10909         requestFocusInWindow(temporary)): Don't request focus if the
10910         component is not showing.  Get tree lock before traversing
10911         component hierarchy.
10912         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
10913         Only set the global focus owner if it is not a Window.
10914         (processKeyEvent): Consume keystrokes associated with the focus
10915         traversal keystroke.
10916         (focusPreviousComponent, focusNextComponent, upFocusCycle,
10917         downFocusCycle): Call requestFocusInWindow instead of
10918         requestFocus.
10919         * java/awt/EventDispatchThread.java (run): Move setting of
10920         default keyboard focus manager to Component.java.
10921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10922         (awt_keycode_to_keysym): New function.
10923         (gtkWidgetDispatchKeyEvent): Finish implementation.
10924         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10925         (pre_event_handler): Add FIXME comment.
10926
10927         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10928         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10929         (gtkWidgetRequestFocus): New method.
10930         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
10931         disable Tab and Shift-Tab keystrokes.
10932         (addNotify, appendText, insertText, replaceText): Simplify peer
10933         retrieval code.
10934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
10935         (connectSignals): Remove connections to "commit" signals.
10936         Remove C++-style comments.
10937
10938         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10939         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10940         (handleEvent): Activate GTK button when the space bar key is
10941         pressed.
10942         (gtkActivate): New method.
10943
10944 2004-05-06  David Jee  <djee@redhat.com>
10945
10946         * java/awt/image/CropImageFilter.java
10947         (setPixels): Implement for byte array pixels.
10948         * java/awt/image/ReplicateScaleFilter.java
10949         (setPixels): Implement for byte array pixels.
10950         (replicatePixels): Overload for byte array pixels.
10951
10952 2004-05-06  Kim Ho  <kho@redhat.com>
10953
10954         * javax/swing/Box.java:
10955         (getAccessibleContext): Return an instance of the 
10956         correct class.
10957
10958 2004-05-05  David Jee  <djee@redhat.com>
10959
10960         * gnu/java/awt/peer/gtk/GdkGraphics.java
10961         (drawImage): When component is null, use SystemColor.window as
10962         the default bgcolor.
10963         * gnu/java/awt/peer/gtk/GtkImage.java
10964         (setPixels): We can avoid iterating through the pixel rows only
10965         when height is 1.
10966         * java/awt/Image.java
10967         (getScaledInstance): Partially implement.
10968         * java/awt/image/CropImageFilter.java
10969         (setProperties): Fix "filter" property.
10970         (setPixels): Implement.
10971         * java/awt/image/ReplicateScaleFilter.java
10972         (setDimensions): Use scaled dimensions.
10973         (setPixels): Implement.
10974         (replicatePixels): New method.
10975
10976 2004-05-05  David Jee  <djee@redhat.com>
10977
10978         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10979         (convertPixels): If either pixels or model is null, return null.
10980         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
10981         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
10982         is null, do nothing and return.
10983
10984 2004-05-03  Kim Ho  <kho@redhat.com>
10985
10986         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
10987         (getGraphics): Like GtkFramePeer, the Graphics
10988         object needs to be translate to account for
10989         window decorations.
10990         (postMouseEvent): New method. Account for
10991         translation.
10992         (postExposeEvent): ditto.
10993         * javax/swing/Box.java: Stubbed.
10994         * javax/swing/JDialog.java: Ran through jalopy
10995         to fix indentation.
10996         (JDialog): Call SwingUtilities' getOwnerFrame
10997         for null owners.
10998         (setLayout): Check isRootPaneCheckingEnabled
10999         * javax/swing/JOptionPane.java: Re-implemented.
11000         * javax/swing/SwingUtilities.java:
11001         (getOwnerFrame): Static method to grab a default
11002         owner frame for Dialogs that don't specify owners.
11003         * javax/swing/event/SwingPropertyChangeSupport.java:
11004         (firePropertyChange): Fix early exit condition.
11005         * javax/swing/plaf/basic/BasicLabelUI.java:
11006         (paint): Avoid painting text if it is null 
11007         or empty.
11008         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11009         Implement.
11010
11011 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
11012
11013         * Makefile.am: Added new file.
11014         * Makefile.in: Regenerate.
11015         * javax/swing/JPopupMenu.java:
11016         Started implementation.
11017         * javax/swing/JWindow.java
11018         (JWindow): call super() if parent for window
11019         is not specified.
11020         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11021         New File. UI Delegate for JPopupMenu.
11022
11023 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
11024
11025         * javax/swing/JApplet.java: Indicated that JApplet
11026         implements RootPaneContainer and made method of this
11027         interface public. 
11028         * javax/swing/JFrame.java: Ditto.
11029         * javax/swing/JWindow.java: Ditto.
11030         
11031 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
11032
11033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11034         (nativeSetBounds): Call gdk_window_move in addition to
11035         gtk_window_move.
11036
11037         * java/applet/Applet.java (preferredSize): Call parent's
11038         preferredSize if the applet stub is null.
11039         (minimumSize): Likewise for parent's minimumSize.
11040
11041 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
11042
11043         * javax/swing/JMenuItem.java
11044         (createActionPropertyChangeListener): Implemented.
11045         (processMouseEvent): Ditto.
11046         (fireMenuDragMouseEntered): Ditto.
11047         (fireMenuDragMouseExited): Ditto.
11048         (fireMenuDragMouseDragged): Ditto.
11049         (fireMenuDragMouseReleased): Ditto.
11050         (menuSelectionChanged): Ditto.
11051         (getSubElements): Ditto.
11052         (getComponent): Ditto.
11053         (addMenuDragMouseListener): Ditto.
11054         (removeMenuDragMouseListener):Ditto.
11055         (addMenuKeyListener): Ditto.
11056         (removeMenuKeyListener): Ditto.
11057         * javax/swing/plaf/basic/BasicMenuItemUI.java
11058         (doClick): Imlemented.
11059         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11060         Don't handle mouse events here. Pass them to 
11061         MenuSelectionManager.
11062         
11063 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11064         Used correct version of jalopy configuration
11065         file to fix style in the files below.
11066
11067 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11068
11069         * javax/swing/JCheckBoxMenuItem.java: 
11070         Fixed style and removed unnecessary comments.
11071         * javax/swing/JMenuItem.java: Ditto.
11072         * javax/swing/JRadioButtonMenuItem.java: Ditto.
11073         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11074         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11075         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11076
11077 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
11078
11079         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11080         C-style.
11081
11082         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11083
11084         * java/awt/ContainerOrderFocusTraversalPolicy.java
11085         (getComponentAfter): Start from current component and work up
11086         the component hierarchy until an acceptable component is found.
11087         Synchronize on tree lock.
11088         (getComponentBefore): Likewise.
11089
11090 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11091
11092         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11093         focus-related debugging messages.
11094         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11095         * java/awt/EventDispatchThread.java: Likewise.
11096         * java/awt/KeyboardFocusManager.java: Likewise.
11097         * java/awt/Window.java: Likewise.
11098         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11099         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11100
11101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11102         new C++-style comments to C-style comments.
11103         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11104
11105         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11106         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11107         (handleEvent): Dispatch key press and key release events to
11108         backing widget.
11109         (requestFocus): Post a FOCUS_GAINED event to the event queue.
11110         (gtkWidgetRequestFocus): New method.
11111         (gtkWidgetDispatchKeyEvent): Likewise.
11112         * java/awt/Component.java (requestFocus, requestFocus(boolean),
11113         requestFocusInWindow, requestFocusInWindow(boolean),
11114         getFocusCycleRootAncestor, nextFocus, transferFocus,
11115         transferFocusBackward, transferFocusUpCycle, hasFocus,
11116         isFocusOwner): Implement and document focus-handling methods.
11117         (setFocusTraversalKeys): Inherit focus traversal keys when
11118         keystrokes argument is null.  Fix focus-handling documentation
11119         throughout class.
11120         * java/awt/Container.java (setFocusTraversalKeys,
11121         getFocusTraversalKeys, areFocusTraversalKeysSet,
11122         isFocusCycleRoot, setFocusTraversalPolicy,
11123         getFocusTraversalPolicy, isFocusTraversalPolicySet,
11124         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11125         Implement and document focus-handling methods.
11126         (transferFocusBackward): Remove method.
11127         (readObject, writeObject): Implement and document serialization
11128         methods.
11129         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11130         and document.
11131         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11132         document.
11133         * java/awt/DefaultKeyboardFocusManager.java: Implement and
11134         partially document.
11135         * java/awt/EventDispatchThread.java (run): Set default keyboard
11136         focus manager.  Attempt to dispatch each event to the keyboard
11137         focus manager before normal dispatch.
11138         * java/awt/KeyboardFocusManager.java: Implement and partially
11139         document.
11140         * java/awt/Window.java (Window): Set focusCycleRoot to true.
11141         (show): Focus initial component when window is shown for the
11142         first time.
11143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11144         (pre_event_handler): Replace complex key press and key release
11145         logic with simple callbacks into GtkComponentPeer.
11146         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11147
11148 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
11149
11150         * javax/swing/MenuSelectionManager.java
11151         (componentForPoint): Added new method. 
11152         (defaultManager): New Method. Implemented.
11153         (getSelectedPath): Ditto.
11154         (isComponentPartOfCurrentMenu): Ditto.
11155         (processKeyEvent): Added new method.
11156         (processMouseEvent): New Method. Implemented.
11157         (setSelectedPath): Ditto.
11158         (getPath): Ditto.
11159
11160 2004-04-19  Kim Ho  <kho@redhat.com>
11161
11162         * java/awt/Container.java: 
11163         (remove): Set the component's parent to null.
11164         (getComponentAt): Implement.
11165         * javax/swing/JComponent.java:
11166         (JComponent): Initialize defaultLocale
11167         (getDefaultLocale): Implement.
11168         (setDefaultLocale): ditto.
11169         * javax/swing/JSlider.java:
11170         (JSlider): Fix calculation of value.
11171         * javax/swing/JSplitPane.java: Implement.
11172         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11173         Change SplitPane's default divider size.
11174         * javax/swing/plaf/basic/BasicScrollBarUI.java:
11175         (paint): Remove unused code.
11176         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11177         Added comments and ran through jalopy.
11178         (setBasicSplitPaneUI): Get reference to hidden divider
11179         and set up one touch buttons if necessary.
11180         (setBorder): Fire propertyChangeEvent only if 
11181         borders are different.
11182         (getPreferredSize): Defer to layout manager.
11183         (propertyChange): Implement.
11184         (oneTouchExpandableChanged): ditto.
11185         (createLeftOneTouchButton): Use BasicArrowButton.
11186         (createRightOneTouchButton): ditto.
11187         (moveDividerTo): New method. Moves the divider
11188         to a set location based on the last divider location.
11189         (BasicSplitPaneDivider::MouseHandler): Implement.
11190         (BasicSplitPaneDivider::OneTouchButton): Removed.
11191         (BasicSplitPaneDivider::DragController): Implement.
11192         (BasicSplitPaneDivider::VerticalDragController):
11193         ditto.
11194         (BasicSplitPaneDivider::DividerLayout): ditto.
11195         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11196         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11197         (calculateLayoutInfo): Don't show component if it's
11198         null.
11199         (paintTab): Fix title paint logic.
11200
11201 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
11202
11203         PR libgcj/8321
11204         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11205         (setStartRule,setEndRule): Don't take abs of day number.
11206         (getOffset): Clarify docs.  Add argument checks.
11207         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11208         (equals,hasSameRules,toString,readObject): Use startTimeMode and
11209         endTimeMode.
11210         * testsuite/libjava.mauve/xfails
11211         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11212
11213 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
11214
11215         Layout interfaces during preparation, not initialization. 
11216         * java/lang/natClass.cc (initializeClass): Move 
11217         _Jv_LayoutInterfaceMethods call...
11218         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11219
11220 2004-05-19  Anthony Green  <green@localhost.localdomain>
11221
11222         * Makefile.am (awt_java_source_files): Remove javax.rmi and
11223         gnu.javax.rmi code.
11224         * Makefile.in: Rebuilt.
11225         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11226         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11227         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11228         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11229         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11230         gnu/javax/rmi/CORBA/DelegateFactory.java,
11231         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11232         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11233         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11234         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11235         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11236         gnu/javax/rmi/PortableServer.java: Remove files.
11237
11238 2004-05-19  Anthony Green  <green@redhat.com>
11239
11240         * Makefile.am: Define JAVA_EXT_DIRS.
11241         * Makefile.in: Rebuilt.
11242         * java/lang/natRuntime.cc (insertSystemProperties): Set
11243         java.ext.dirs property.
11244
11245 2004-05-16  Mark Wielaard  <mark@klomp.org>
11246
11247         * java/io/Writer.java (Writer(Object)): Check for null lock object.
11248
11249 2004-05-15  Mark Wielaard  <mark@klomp.org>
11250
11251         * doc/cni.sgml: Removed, merged into gcj.texi.
11252
11253 2004-05-15  Mark Wielaard  <mark@klomp.org>
11254
11255         * Makefile.am (ordinary_java_source_files): Add new javax.print
11256         classes.
11257         * Makefile.in: Regenerated.
11258
11259 2004-05-15  Michael Koch  <konqueror@gmx.de>
11260
11261         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11262         javax/print/attribute/standard/DateTimeAtCreation.java,
11263         javax/print/attribute/standard/DateTimeAtProcessing.java,
11264         javax/print/attribute/standard/DocumentName.java,
11265         javax/print/attribute/standard/JobHoldUntil.java,
11266         javax/print/attribute/standard/JobImpressionsCompleted.java,
11267         javax/print/attribute/standard/JobMessageFromOperator.java,
11268         javax/print/attribute/standard/JobName.java,
11269         javax/print/attribute/standard/JobOriginatingUserName.java,
11270         javax/print/attribute/standard/JobPriority.java,
11271         javax/print/attribute/standard/JobPrioritySupported.java,
11272         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11273         javax/print/attribute/standard/OutputDeviceAssigned.java,
11274         javax/print/attribute/standard/PrinterInfo.java,
11275         javax/print/attribute/standard/PrinterLocation.java,
11276         javax/print/attribute/standard/PrinterMakeAndModel.java,
11277         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11278         javax/print/attribute/standard/PrinterName.java,
11279         javax/print/attribute/standard/QueuedJobCount.java,
11280         javax/print/attribute/standard/RequestingUserName.java:
11281         Fixed javadocs all over.
11282
11283 2004-05-15  Michael Koch  <konqueror@gmx.de>
11284
11285         * javax/print/DocFlavor.java,
11286         javax/print/attribute/standard/ColorSupported.java,
11287         javax/print/attribute/standard/Compression.java,
11288         javax/print/attribute/standard/CopiesSupported.java,
11289         javax/print/attribute/standard/Fidelity.java,
11290         javax/print/attribute/standard/Finishings.java,
11291         javax/print/attribute/standard/JobImpressionsSupported.java,
11292         javax/print/attribute/standard/JobKOctetsSupported.java,
11293         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11294         javax/print/attribute/standard/JobSheets.java,
11295         javax/print/attribute/standard/JobState.java,
11296         javax/print/attribute/standard/JobStateReason.java,
11297         javax/print/attribute/standard/JobStateReasons.java,
11298         javax/print/attribute/standard/Media.java,
11299         javax/print/attribute/standard/MediaSizeName.java,
11300         javax/print/attribute/standard/MultipleDocumentHandling.java,
11301         javax/print/attribute/standard/NumberUpSupported.java,
11302         javax/print/attribute/standard/OrientationRequested.java,
11303         javax/print/attribute/standard/PDLOverrideSupported.java,
11304         javax/print/attribute/standard/PageRanges.java,
11305         javax/print/attribute/standard/PresentationDirection.java,
11306         javax/print/attribute/standard/PrintQuality.java,
11307         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11308         javax/print/attribute/standard/PrinterMoreInfo.java,
11309         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11310         javax/print/attribute/standard/PrinterResolution.java,
11311         javax/print/attribute/standard/PrinterState.java,
11312         javax/print/attribute/standard/PrinterStateReason.java,
11313         javax/print/attribute/standard/PrinterStateReasons.java,
11314         javax/print/attribute/standard/PrinterURI.java,
11315         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11316         javax/print/attribute/standard/Severity.java,
11317         javax/print/attribute/standard/SheetCollate.java,
11318         javax/print/attribute/standard/Sides.java:
11319         Added serialVersionUID and removed final keyword where it doenst
11320         belong.
11321
11322 2004-05-15  Michael Koch  <konqueror@gmx.de>
11323
11324         * javax/print/PrintServiceLookup.java: New file.
11325
11326 2004-05-15  Michael Koch  <konqueror@gmx.de>
11327
11328         * javax/print/DocFlavor.java:
11329         Implemented all flavor classes.
11330
11331 2004-05-15  Michael Koch  <konqueror@gmx.de>
11332
11333         * javax/print/attribute/standard/ColorSupported.java,
11334         javax/print/attribute/standard/Compression.java,
11335         javax/print/attribute/standard/CopiesSupported.java,
11336         javax/print/attribute/standard/Fidelity.java,
11337         javax/print/attribute/standard/Finishings.java,
11338         javax/print/attribute/standard/JobImpressionsSupported.java,
11339         javax/print/attribute/standard/JobKOctetsSupported.java,
11340         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11341         javax/print/attribute/standard/JobSheets.java,
11342         javax/print/attribute/standard/JobState.java,
11343         javax/print/attribute/standard/JobStateReason.java,
11344         javax/print/attribute/standard/JobStateReasons.java,
11345         javax/print/attribute/standard/Media.java,
11346         javax/print/attribute/standard/MediaSizeName.java,
11347         javax/print/attribute/standard/MultipleDocumentHandling.java,
11348         javax/print/attribute/standard/NumberUpSupported.java,
11349         javax/print/attribute/standard/OrientationRequested.java,
11350         javax/print/attribute/standard/PDLOverrideSupported.java,
11351         javax/print/attribute/standard/PageRanges.java,
11352         javax/print/attribute/standard/PresentationDirection.java,
11353         javax/print/attribute/standard/PrintQuality.java,
11354         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11355         javax/print/attribute/standard/PrinterMoreInfo.java,
11356         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11357         javax/print/attribute/standard/PrinterResolution.java,
11358         javax/print/attribute/standard/PrinterState.java,
11359         javax/print/attribute/standard/PrinterStateReason.java,
11360         javax/print/attribute/standard/PrinterStateReasons.java,
11361         javax/print/attribute/standard/PrinterURI.java,
11362         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11363         javax/print/attribute/standard/Severity.java,
11364         javax/print/attribute/standard/SheetCollate.java,
11365         javax/print/attribute/standard/Sides.java: New files.
11366
11367 2004-05-15  Michael Koch  <konqueror@gmx.de>
11368
11369         * javax/print/Doc.java
11370         (getPrintData): Throws IOException.
11371         (getReaderForText): Likewise.
11372         (getStreamForBytes): Likewise.
11373         * javax/print/DocFlavor.java:
11374         Fixed filename in copyright.
11375         (serialVersionUID): New field.
11376         * javax/print/ServiceUIFactory.java:
11377         Made all constants final.
11378         * javax/print/AttributeException.java
11379         javax/print/MultiDoc.java
11380         javax/print/MultiDocPrintJob.java
11381         javax/print/MultiDocPrintService.java
11382         javax/print/StreamPrintService.java
11383         javax/print/URIException.java: New files.
11384         * javax/print/Makefile.am
11385         (EXTRA_DIST): Added all new files.
11386
11387 2004-05-15  Michael Koch  <konqueror@gmx.de>
11388
11389         * javax/print/attribute/standard/Copies.java,
11390         javax/print/attribute/standard/DateTimeAtCompleted.java,
11391         javax/print/attribute/standard/DateTimeAtCreation.java,
11392         javax/print/attribute/standard/DateTimeAtProcessing.java,
11393         javax/print/attribute/standard/DocumentName.java,
11394         javax/print/attribute/standard/JobHoldUntil.java,
11395         javax/print/attribute/standard/JobImpressions.java,
11396         javax/print/attribute/standard/JobImpressionsCompleted.java,
11397         javax/print/attribute/standard/JobKOctets.java,
11398         javax/print/attribute/standard/JobKOctetsProcessed.java,
11399         javax/print/attribute/standard/JobMediaSheets.java,
11400         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11401         javax/print/attribute/standard/JobMessageFromOperator.java,
11402         javax/print/attribute/standard/JobName.java,
11403         javax/print/attribute/standard/JobOriginatingUserName.java,
11404         javax/print/attribute/standard/JobPriority.java,
11405         javax/print/attribute/standard/JobPrioritySupported.java,
11406         javax/print/attribute/standard/NumberOfDocuments.java,
11407         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11408         javax/print/attribute/standard/NumberUp.java,
11409         javax/print/attribute/standard/OutputDeviceAssigned.java,
11410         javax/print/attribute/standard/PagesPerMinute.java,
11411         javax/print/attribute/standard/PagesPerMinuteColor.java:
11412         Fixed @return tag all over.
11413
11414 2004-05-15  Michael Koch  <konqueror@gmx.de>
11415
11416         * javax/print/attribute/AttributeSetUtilities.java
11417         (verifyCategoryForValue): Fixed typo in javadoc.
11418         * javax/print/attribute/HashAttributeSet.java
11419         (containsKey): Fixed @return tag.
11420         (comtainsValue): Likewise.
11421         (equals): Likewise.
11422         * javax/print/attribute/IntegerSyntax.java
11423         (equals): Likewise.
11424         * javax/print/attribute/ResolutionSyntax.java
11425         (equals): Likewise.
11426         (getCrossFeedResolution): Removed unused code.
11427         (getFeedResolution): Likewise.
11428         * javax/print/attribute/SetOfIntegerSyntax.java
11429         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11430         (equals): Fixed @return tag.
11431         * javax/print/attribute/TextSyntax.java
11432         (TextSyntax): Take locale into account.
11433         (hashCode): Better implementation.
11434
11435 2004-05-15  Michael Koch  <konqueror@gmx.de>
11436
11437         * javax/print/CancelablePrintJob.java,
11438         javax/print/Doc.java,
11439         javax/print/DocFlavor.java,
11440         javax/print/DocPrintJob.java,
11441         javax/print/FlavorException.java,
11442         javax/print/PrintException.java,
11443         javax/print/PrintService.java,
11444         javax/print/ServiceUIFactory.java: New files.
11445
11446 2004-05-15  Mark Wielaard  <mark@klomp.org>
11447
11448         * gnu/regexp/CharIndexedReader.java: Removed.
11449         * gnu/regexp/REFilterReader.java: Likewise.
11450         * gnu/regexp/RETokenLookAhead.java: Likewise.
11451         * Makefile.am (ordinary_java_source_files): Remove above classes.
11452         * Makefile.in: Regenerated.
11453
11454 2004-05-14  Tom Tromey  <tromey@redhat.com>
11455
11456         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11457         not `XGraphicsConfiguration.XOffScreenImage'.
11458
11459 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
11460
11461         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11462
11463 2004-05-14  Steven Augart  <augart@watson.ibm.com>
11464
11465         * include/jni.h (_Jv_func): Removed.
11466         (struct JNINativeInterface): Use `void *' for reserved slots.
11467         (struct JNIInvokeInterface): Likewise.
11468
11469 2004-05-11  Michael Koch  <konqueror@gmx.de>
11470
11471         * gnu/java/net/natPlainSocketImplPosix.cc
11472         (read): Fixed typo in expression.
11473
11474 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
11475
11476         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11477         ld_library_additions. Adjust all calls to libjava_invoke to match
11478         the new argument.
11479
11480         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11481         path to cxxflagslist.
11482         Pass path of libstdc++ to libjava_invoke.
11483
11484         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11485         libjava_invoke arguments.
11486
11487 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
11488
11489         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11490         reality.
11491
11492 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
11493
11494         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11495         main binary against the JNI shared library.
11496
11497 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11498
11499         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11500         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11501         (SimpleTimeZone): Tweak docs.  Add new variation.
11502         (setStartRule,setEndRule): Add new variations.  Use
11503         startTimeMode and endTimeMode.
11504
11505 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11506
11507         * java/util/Calendar.java (getActualMinimum,
11508         getActualMaximum):  Remove abstract.  Implement.
11509
11510 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11511
11512         Run the jni tests using the interpreter.
11513         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11514         options_cxx to shared lib compile command.
11515         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11516         they are used to link the shared lib, not the main binary.
11517         Use libjava_invoke to run gij.
11518
11519 2004-05-06  Michael Koch  <konqueror@gmx.de>
11520
11521         * java/util/logging/Level.java
11522         (parse): Use == instead of String.equals().
11523
11524 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11525
11526         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
11527         verify_field_signature and verify_method_signature, not 
11528         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11529         (_Jv_ClassReader::handleField): Likewise.
11530         (_Jv_ClassReader::handleMethod): Likewise.
11531
11532 2004-05-06  Michael Koch  <konqueror@gmx.de>
11533
11534         * javax/swing/table/TableColumn.java:
11535         Reformated.
11536
11537 2004-05-06  Michael Koch  <konqueror@gmx.de>
11538
11539         * javax/imageio/spi/ImageReaderWriterSpi.java
11540         (ImageReaderWriterSpi): Made it public.
11541         * javax/imageio/stream/ImageInputStream.java:
11542         Clean up imports.
11543
11544 2004-05-06  Michael Koch  <konqueror@gmx.de>
11545
11546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11547         Removed empty line.
11548
11549 2004-05-06  Michael Koch  <konqueror@gmx.de>
11550
11551         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11552         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11553         New files.
11554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11555         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11557         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11558         their own source file.
11559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11560         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11561         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11563         (create): Define variable on top of function.
11564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11565         (menu_pos): Prototyped.
11566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11567         (setTitle): Removed.
11568         * jni/gtk-peer/gthread-jni.c
11569         (gdk_threads_wake): Removed.
11570         * Makefile.am (gtk_c_source_files): Added new files
11571         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11572         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11573         * Makefile.in: Regenerated.
11574
11575 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
11576
11577         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11578         call.
11579
11580 2004-05-05  Mark Wielaard  <mark@klomp.org>
11581
11582         * javax/swing/AbstractButton.java: Replace special HTML entities with
11583         ASCII equivalent.
11584         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11585         * javax/swing/DefaultButtonModel.java: Likewise.
11586         * javax/swing/DefaultListModel.java: Likewise.
11587         * javax/swing/JList.java: Likewise.
11588         * javax/swing/JSlider.java: Likewise.
11589         * javax/swing/ListModel.java: Likewise.
11590         * javax/swing/Popup.java: Likewise.
11591         * javax/swing/SwingUtilities.java: Likewise.
11592
11593 2004-05-05  Michael Koch  <konqueror@gmx.de>
11594
11595         * javax/swing/AbstractButton.java,
11596         javax/swing/ActionMap.java,
11597         javax/swing/DefaultButtonModel.java,
11598         javax/swing/DefaultListModel.java,
11599         javax/swing/ImageIcon.java,
11600         javax/swing/JComboBox.java,
11601         javax/swing/JComponent.java,
11602         javax/swing/JFrame.java,
11603         javax/swing/JInternalFrame.java,
11604         javax/swing/JMenuBar.java,
11605         javax/swing/JMenuItem.java,
11606         javax/swing/JOptionPane.java,
11607         javax/swing/JProgressBar.java,
11608         javax/swing/JRootPane.java,
11609         javax/swing/JScrollBar.java,
11610         javax/swing/JScrollPane.java,
11611         javax/swing/JSeparator.java,
11612         javax/swing/JSlider.java,
11613         javax/swing/JTabbedPane.java,
11614         javax/swing/JTable.java,
11615         javax/swing/JTextField.java,
11616         javax/swing/JToolBar.java,
11617         javax/swing/JToolTip.java,
11618         javax/swing/JTree.java,
11619         javax/swing/JViewport.java,
11620         javax/swing/JWindow.java,
11621         javax/swing/KeyStroke.java,
11622         javax/swing/LookAndFeel.java,
11623         javax/swing/SwingUtilities.java,
11624         javax/swing/Timer.java,
11625         javax/swing/ToolTipManager.java,
11626         javax/swing/UIDefaults.java,
11627         javax/swing/border/TitledBorder.java,
11628         javax/swing/filechooser/FileSystemView.java,
11629         javax/swing/plaf/basic/BasicButtonListener.java,
11630         javax/swing/plaf/basic/BasicButtonUI.java,
11631         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11632         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11633         javax/swing/plaf/basic/BasicLabelUI.java,
11634         javax/swing/plaf/basic/BasicMenuItemUI.java,
11635         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11636         javax/swing/plaf/basic/BasicRootPaneUI.java,
11637         javax/swing/plaf/basic/BasicScrollBarUI.java,
11638         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11639         javax/swing/plaf/basic/BasicSliderUI.java,
11640         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11641         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11642         javax/swing/table/JTableHeader.java,
11643         javax/swing/text/AbstractDocument.java,
11644         javax/swing/text/DefaultCaret.java,
11645         javax/swing/text/StyledEditorKit.java,
11646         javax/swing/tree/DefaultTreeCellEditor.java:
11647         Cleaned up imports.
11648
11649 2004-05-05  Michael Koch  <konqueror@gmx.de>
11650
11651         * java/util/prefs/AbstractPreferences.java
11652         (AbstractPreferences): Added parenthesis for clarity.
11653         Closes classpath bug #7940.
11654
11655 2004-05-05  Tom Tromey  <tromey@redhat.com>
11656
11657         * javax/naming/CompoundName.java (endsWith): Look at correct
11658         element of source name.
11659
11660 2004-05-05  Mark Wielaard  <mark@klomp.org>
11661
11662         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11663         * java/util/HashMap.java (rehash): Add entry at start of bucket.
11664
11665 2004-05-05  Tom Tromey  <tromey@redhat.com>
11666
11667         * java/io/BufferedReader.java (skip): Removed unused
11668         variable.
11669
11670 2004-05-05  Michael Koch  <konqueror@gmx.de>
11671
11672         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11673
11674 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
11675
11676         * java/text/AttributedString.java,
11677         java/text/AttributedStringIterator.java,
11678         java/text/Collator.java,
11679         java/text/DecimalFormatSymbols.java,
11680         java/text/NumberFormat.java,
11681         java/text/RuleBasedCollator.java:
11682         Cleaned up imports.
11683
11684 2004-05-05  Tom Tromey  <tromey@redhat.com>
11685
11686         * java/text/Format.java: Cleaned up imports.
11687         * java/text/DecimalFormat.java: Cleaned up imports.
11688         * java/security/SecureRandom.java: Cleaned up imports.
11689         (SecureRandom): Removed unused variable.
11690         * java/security/UnresolvedPermission.java: Cleaned up imports.
11691         * java/util/Date.java (parse): Removed unused variable.
11692         * java/util/ResourceBundle.java: Cleaned up imports.
11693         (getBundle): Removed unused variable.
11694         (tryBundle): Likewise.
11695         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11696
11697 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11698
11699         * java/text/SimpleDateFormat.java:
11700         (formatWithAttribute): New method. It implements
11701         the formatting process with attributes.
11702         (format): Use formatWithAttribute.
11703         (formatToCharacterIterator): New method. Use
11704         formatWithAttribute.
11705
11706 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11707
11708         * java/text/MessageFormat.java:
11709         (class Field): New class.
11710         (formatToCharacterIterator): New method.
11711         (format): Use formatInternal now.
11712         (formatInternal): New method. String formatter should
11713         be done here (with attributes). Attributes merging supported.
11714         (parse): More documentation.
11715         (getFormatsByArgumentIndex): New method.
11716         (setFormatByArgumentIndex): New method.
11717         (setFormatsByArgumentIndex): New method.
11718
11719 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11720
11721         * java/text/DecimalFormat.java
11722         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11723         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11724         (parse): Fixed handling of exponentiation notation and grouping.
11725
11726 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11727
11728         * java/text/DecimalFormat.java
11729         (scanFix): Build attribute array. Fixed error reporting.
11730         (applyPatternWithSymbols): Store attributes for the prefix and
11731         suffix.
11732         (formatInternal): New method. Changed the way the string is
11733         computed. Implemented attributes. Cleant up rounding in
11734         exponential notation.
11735         (format): Use formatInternal.
11736         (formatToCharacterIterator): New method.
11737         (exponentRound, negativePrefixRanges, positivePrefixRanges,
11738         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
11739         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
11740         New fields.
11741
11742 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
11743
11744         * java/security/interfaces/DSAKeyPairGenerator.java,
11745         java/security/interfaces/DSAPrivateKey.java,
11746         java/security/interfaces/DSAPublicKey.java,
11747         java/security/interfaces/RSAPrivateKey.java,
11748         java/security/interfaces/RSAPublicKey.java:
11749         Cleaned up imports.
11750
11751 2004-05-04  Michael Koch  <konqueror@gmx.de>
11752
11753         * java/nio/ByteBuffer.java,
11754         java/nio/CharBuffer.java,
11755         java/nio/DoubleBuffer.java,
11756         java/nio/FloatBuffer.java,
11757         java/nio/IntBuffer.java,
11758         java/nio/LongBuffer.java,
11759         java/nio/ShortBuffer.java:
11760         (compareTo): Fixed bogus implementation in all buffer classes.
11761
11762 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11763
11764         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
11765         32 bit pixels not 8 bit pixels.
11766         (isCompatibleRaster): Added javadoc comment.
11767
11768 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11769
11770         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
11771         scanline stride.
11772
11773 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11774
11775         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
11776         (getColorModel): Return the actual color model.
11777         (getRaster): Implemented.
11778         (ColorRaster): New inner class.
11779         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
11780         a PaintContext.
11781         * java/awt/Color.java (<init>): Make exception more verbose.
11782         (createContext): Use ColorModel when creating a PaintContext.
11783
11784 2004-05-04  Michael Koch  <konqueror@gmx.de>
11785
11786         * gnu/java/text/CharacterBreakIterator.java
11787         (previous): Removed unused variable.
11788
11789 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
11790
11791         * gnu/java/text/FormatBuffer.java,
11792         gnu/java/text/AttributedFormatBuffer.java,
11793         gnu/java/text/StringFormatBuffer.java: New classes to implement
11794         attributed iterators in java.text.
11795         * gnu/java/text/FormatCharacterIterator.java: Moved 
11796         from java/text as it is an internal class.
11797         * java/text/FormatCharacterIterator.java: Removed.
11798         * java/text/Format.java:
11799         Import gnu.java.text.FormatCharacterIterator.
11800         * Makefile.am (java_source_files): Added new files.
11801         * Makefile.in: Regenerated.
11802         
11803
11804 2004-05-04  Mark Wielaard  <mark@klomp.org>
11805
11806         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
11807
11808 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
11809
11810         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
11811         * Makefile.in: Rebuilt.
11812
11813 2004-05-03  Mark Wielaard  <mark@klomp.org>
11814
11815         * gnu/java/security/der/DERReader.java: Call static methods staticly.
11816         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
11817         * java/net/URL.java
11818         (set(String, String, int, String, String, String, String, String)):
11819         Assign this.file to path or path + "?" + query.
11820         * java/util/Arrays.java: Call static methods staticly.
11821         * java/util/zip/ZipEntry.java: Likewise.
11822         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
11823         dir to this.direction.
11824         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
11825         Assign static field only once.
11826         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
11827
11828 2004-05-03  Mark Wielaard  <mark@klomp.org>
11829
11830         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
11831         unused variables hScrollbarHeight and vScrollbarWidth.
11832         (preferredSize): Likewise.
11833         * gnu/java/security/provider/DSAParameters.java (engineToString):
11834         Removed unused call to System.getProperty("line.seperator");
11835         * java/security/Security.java (loadProviders): Return result.
11836
11837 2004-05-03  Tom Tromey  <tromey@redhat.com>
11838
11839         * java/net/URLStreamHandler.java (toExternalForm): Removed
11840         unused variables.
11841         unused constructor.
11842         * java/math/BigDecimal.java (divide): Removed unused variable.
11843         * java/lang/Throwable.java: Cleaned up imports.
11844         * java/lang/ClassLoader.java: Cleaned up imports.
11845         * java/io/FilePermission.java (implies): Removed unused
11846         variable.
11847         * java/awt/TextComponent.java: Removed unused import.
11848         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
11849         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
11850         * gnu/java/text/WordBreakIterator.java: Removed unused import.
11851         * gnu/java/text/SentenceBreakIterator.java: Removed unused
11852         import.
11853         * gnu/java/text/LineBreakIterator.java: Removed unused import.
11854         * gnu/java/text/CharacterBreakIterator.java: Removed
11855         unused import.
11856         * gnu/java/security/provider/DSAKeyPairGenerator.java:
11857         Cleaned up imports.
11858         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
11859         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
11860         unused method.
11861         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
11862         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
11863         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
11864         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
11865         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
11866         (lookupProviders): Removed unused variable.
11867         (loadNextServiceProvider): Likewise.
11868         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
11869
11870 2004-05-03  Michael Koch  <konqueror@gmx.de>
11871
11872         Fixes PR libgcj/14695:
11873         * java/net/NetworkInterface.java
11874         (getByName): Return null when no interface was found.
11875
11876 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
11877             Tom Tromey  <tromey@redhat.com>
11878
11879         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
11880         additional option "-Wmissing-prototypes" for compiling C sources.
11881         Print actual filename for pass/fail rather than $name.c.
11882         * testsuite/libjava.jni/PR15133.java: New testcase file.
11883         * testsuite/libjava.jni/PR15133.c: Likewise.
11884         * testsuite/libjava.jni/PR15133.out: Likewise.
11885
11886 2004-04-30  Roger Sayle  <roger@eyesopen.com>
11887
11888         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
11889         ceil and floor.
11890
11891 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
11892         
11893         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
11894         limit the maximum heap size to avoid unnecessary thrashing.
11895
11896 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
11897
11898         * java/text/CollationElementIterator.java (reset): Reset
11899         lookahead variables.
11900
11901 2004-04-23  Mark Wielaard  <mark@klomp.org>
11902
11903         * jni/classpath/jcl.c: Changed C++ comments into C comments.
11904
11905 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11906
11907         * java/sql/DriverManager.java:
11908         Cleaned up imports.
11909
11910 2004-04-23  Michael Koch  <konqueror@gmx.de>
11911
11912         * java/net/URL.java
11913         (hashcode): Don't initialize with default value explicitely.
11914         (getContent): Removed redundant "final" keyword.
11915         (openStream): Likewise.
11916         (getURLStreamHandler): Fixed coding style.
11917         * java/net/URLConnection.java
11918         (defaultAllowUserInteraction): Don't initialize with default value
11919         explicitely.
11920         (connected): Likewise.
11921         (doOutput): Likewise.
11922         (ifModifiedSince): Likewise.
11923         (dateformats_initialized): Likewise.
11924         (setURLStreamHander): Use StreamTokenizer where it belongs to.
11925
11926 2004-04-23  Michael Koch  <konqueror@gmx.de>
11927
11928         * gnu/java/nio/channels/FileChannelImpl.java
11929         (SET, CUR): Unused, removed.
11930         (read): Implement here directly.
11931         (implRead): Removed.
11932         (write): Implement here directly.
11933         (implWrite): Removed.
11934
11935 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
11936
11937         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
11938         javax/rmi/CORBA/Stub.java,
11939         javax/rmi/CORBA/Util.java,
11940         javax/rmi/CORBA/ValueHandler.java,
11941         javax/rmi/CORBA/ValueHandler.java,
11942         javax/rmi/PortableRemoteObject.java:
11943         Cleaned up imports.
11944
11945 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11946
11947         * java/util/jar/JarFile.java,
11948         java/util/jar/JarInputStream.java,
11949         java/util/jar/JarOutputStream.java,
11950         java/util/jar/Manifest.java:
11951         Cleaned up imports.
11952
11953 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11954
11955         * java/util/ArrayList.java,
11956         java/util/Calendar.java,
11957         java/util/Currency.java,
11958         java/util/HashMap.java,
11959         java/util/HashSet.java,
11960         java/util/Hashtable.java,
11961         java/util/LinkedList.java,
11962         java/util/Properties.java,
11963         java/util/PropertyPermission.java,
11964         java/util/TimeZone.java,
11965         java/util/TreeMap.java,
11966         java/util/TreeSet.java,
11967         java/util/Vector.java,
11968         java/util/WeakHashMap.java:
11969         Cleaned up imports.
11970
11971 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
11972
11973         * java/util/logging/FileHandler.java,
11974         java/util/logging/Formatter.java,
11975         java/util/logging/Handler.java,
11976         java/util/logging/Logger.java,
11977         java/util/logging/SimpleFormatter.java,
11978         java/util/logging/XMLFormatter.java:
11979         Cleaned up imports.
11980
11981 2004-04-22  Mark Wielaard  <mark@klomp.org>
11982
11983         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
11984         -Wno-long-long flags variable.
11985         (gtk_c_files): Use PEDANTIC_CFLAGS.
11986         * Makefile.in: Regenerated.
11987
11988 2004-04-22  Mark Wielaard  <mark@klomp.org>
11989
11990         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11991         Changed C++ comments into C comments.
11992         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
11993         Likewise.
11994
11995 2004-04-22  Michael Koch  <konqueror@gmx.de>
11996
11997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
11998         Merged copyright year with GNU classpath.
11999
12000 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12001
12002         * javax/security/auth/x500/X500Principal.java:
12003         Cleaned up imports.
12004
12005 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12006
12007         * javax/swing/JSlider.java:
12008         Fixed HTML tags in comments.
12009
12010 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12011
12012         * javax/accessibility/AccessibleText.java:
12013         Cleaned up imports.
12014
12015 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
12016
12017         * java/net/URLStreamHandler.java
12018         (parseURL): Convert the file path to using '/' instead of native
12019         file separator.
12020
12021 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
12022
12023         * java/net/URL.java
12024         (userInfo): New field.
12025         (URL): Set authority to the right value.
12026         (setURL): Fixed authority and file initialization.
12027         * java/net/URLStreamHandler.java
12028         (parseURL): Take care of the query tag. Build authority.
12029         (toExternalForm): Fixed URL building using authority.
12030
12031 2004-04-22  Michael Koch  <konqueror@gmx.de>
12032
12033         * java/net/Socket.java
12034         (impl): Made package-private.
12035         * java/net/ServerSocket.java
12036         (implAccept): Access Socket.impl field directly.
12037
12038 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12039
12040         * java/util/prefs/Preferences.java,
12041         java/util/prefs/InvalidPreferencesFormatException.java,
12042         java/util/prefs/BackingStoreException.java,
12043         java/util/prefs/AbstractPreferences.java:
12044         Cleaned up imports.
12045
12046 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12047
12048         * java/util/regex/Matcher.java,
12049         java/util/regex/Pattern.java:
12050         Cleaned up imports.
12051
12052 2004-04-22  Michael Koch  <konqueror@gmx.de>
12053
12054         * java/nio/charset/IllegalCharsetNameException.java
12055         (charsetName): Made private.
12056         (IllegalCharsetNameException): Added @param tag to javadoc.
12057         (getCharsetName): Added @return tag to javadoc.
12058         * java/nio/charset/MalformedInputException.java
12059         (MalformedInputException): Added @param tag to javadoc.
12060         (getInputLength): Revised method description, added @return tag.
12061         (getMessage): Added @return tag.
12062
12063 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
12064
12065         * java/awt/Font.java (deriveFont): Implement missing variants.
12066         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12067         missing variants.
12068
12069 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
12070
12071         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12072         Set method->index values for interface methods to their itable index.
12073         (initializeClass): Call _Jv_LayoutInterfaceMethods.
12074
12075 2004-04-21  Michael Koch  <konqueror@gmx.de>
12076
12077         * java/nio/DirectByteBufferImpl.java
12078         (shiftDown): Made static, give address as argument and
12079         provide a convenience method that overwrites shiftDown in
12080         ByteBufferImpl and calls the native shiftDown.
12081         * java/nio/MappedByteBufferImpl.java
12082         (): Use optimized method in DirectByteBufferImpl.
12083         * java/nio/natDirectByteBufferImpl.cc
12084         (shiftDown): Changed method signature. Removed usage of array_offset.
12085
12086 2004-04-21  Michael Koch  <konqueror@gmx.de>
12087
12088         * gnu/java/net/natPlainSocketImplPosix.cc
12089         (SocketInputStream::read): Make sure returned data is a byte value.
12090
12091 2004-04-21  Michael Koch  <konqueror@gmx.de>
12092
12093         * gnu/classpath/ServiceFactory.java,
12094         gnu/classpath/ServiceProviderLoadingAction.java,
12095         javax/imageio/ImageReader.java,
12096         javax/imageio/ImageTranscoder.java,
12097         javax/imageio/ImageWriter.java,
12098         javax/imageio/package.html,
12099         javax/imageio/spi/IIOServiceProvider.java,
12100         javax/imageio/spi/ImageInputStreamSpi.java,
12101         javax/imageio/spi/ImageOutputStreamSpi.java,
12102         javax/imageio/spi/ImageReaderWriterSpi.java,
12103         javax/imageio/spi/ImageTranscoderSpi.java,
12104         javax/imageio/spi/RegisterableService.java,
12105         javax/imageio/spi/ServiceRegistry.java,
12106         javax/imageio/spi/package.html,
12107         javax/imageio/stream/IIOByteBuffer.java,
12108         javax/imageio/stream/ImageInputStream.java,
12109         javax/imageio/stream/ImageOutputStream.java,
12110         javax/imageio/stream/package.html:
12111         New files.
12112         * Makefile.am
12113         (ordinary_java_source_files): Added
12114         gnu/classpath/ServiceFactory.java and
12115         gnu/classpath/ServiceProviderLoadingAction.java.
12116         (javax_source_files): Added
12117         javax/imageio/ImageReader.java,
12118         javax/imageio/ImageTranscoder.java,
12119         javax/imageio/ImageWriter.java,
12120         javax/imageio/spi/IIOServiceProvider.java,
12121         javax/imageio/spi/ImageInputStreamSpi.java,
12122         javax/imageio/spi/ImageOutputStreamSpi.java,
12123         javax/imageio/spi/ImageReaderWriterSpi.java,
12124         javax/imageio/spi/ImageTranscoderSpi.java,
12125         javax/imageio/spi/RegisterableService.java,
12126         javax/imageio/spi/ServiceRegistry.java,
12127         javax/imageio/stream/IIOByteBuffer.java,
12128         javax/imageio/stream/ImageInputStream.java and
12129         javax/imageio/stream/ImageOutputStream.java.
12130         * Makefile.in: Regenerated.
12131
12132 2004-04-21  Michael Koch  <konqueror@gmx.de>
12133
12134         * java/util/Properties.java
12135         (load): Fix wrongly merged fix.
12136
12137 2004-04-21  Mark Wielaard  <mark@klomp.org>
12138
12139         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12140         malloc and free buf.
12141
12142 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
12143
12144         * javax/naming/AuthenticationException.java,
12145         javax/naming/AuthenticationNotSupportedException.java,
12146         javax/naming/CannotProceedException.java,
12147         javax/naming/CommunicationException.java,
12148         javax/naming/CompoundName.java,
12149         javax/naming/ConfigurationException.java,
12150         javax/naming/ContextNotEmptyException.java,
12151         javax/naming/InitialContext.java,
12152         javax/naming/InsufficientResourcesException.java,
12153         javax/naming/InterruptedNamingException.java,
12154         javax/naming/LimitExceededException.java,
12155         javax/naming/LinkException.java,
12156         javax/naming/LinkLoopException.java,
12157         javax/naming/LinkRef.java,
12158         javax/naming/MalformedLinkException.java,
12159         javax/naming/Name.java,
12160         javax/naming/NameAlreadyBoundException.java,
12161         javax/naming/NameNotFoundException.java,
12162         javax/naming/NamingSecurityException.java,
12163         javax/naming/NoInitialContextException.java,
12164         javax/naming/NoPermissionException.java,
12165         javax/naming/NotContextException.java,
12166         javax/naming/PartialResultException.java,
12167         javax/naming/ReferralException.java,
12168         javax/naming/ServiceUnavailableException.java,
12169         javax/naming/SizeLimitExceededException.java,
12170         javax/naming/TimeLimitExceededException.java,
12171         javax/naming/directory/Attribute.java,
12172         javax/naming/directory/Attributes.java,
12173         javax/naming/directory/SearchResult.java,
12174         javax/naming/event/NamingExceptionEvent.java,
12175         javax/naming/spi/ResolveResult.java:
12176         Cleaned up imports.
12177
12178 2004-04-21  Mark Wielaard  <mark@klomp.org>
12179
12180         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12181         Changed C++ comments into C comments. Removed commented out code.
12182         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12183         Likewise.
12184         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12185         Likewise.
12186         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12187         Likewise.
12188         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12189         Likewise.
12190         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12191         Likewise.
12192         * native/jni/gtk-peer/gthread-jni.c:
12193         Likewise.
12194
12195 2004-04-21  Mark Wielaard  <mark@klomp.org>
12196
12197         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12198         static fields defined in interface.
12199         * javax/awt/JDialog.java: Likewise.
12200         (JDialog): Make constructors public.
12201         (getDefaultCloseOperation): Make public.
12202         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12203         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12204         * javax/swing/JViewport.java (JViewport): Make constructor public.
12205
12206 2004-04-21  Michael Koch  <konqueror@gmx.de>
12207
12208         * java/util/Map.java
12209         (Entry): Removed redundant "static" modifier.
12210         * java/text/AttributedCharacterIterator.java:
12211         Updated copyright year.
12212
12213 2004-04-20  Michael Koch  <konqueror@gmx.de>
12214
12215         * javax/naming/directory/SearchControls.java:
12216         Don't explicitely extend java.lang.Object.
12217         * javax/naming/spi/DirStateFactory.java:
12218         Merged copyright year with GNU classpath.
12219
12220 2004-04-20  Michael Koch  <konqueror@gmx.de>
12221
12222         * java/nio/channels/Channels.java:
12223         Merged coding style with GNU classpath.
12224
12225 2004-04-20  Michael Koch  <konqueror@gmx.de>
12226
12227         * java/net/ServerSocket.java
12228         Merged coding style from GNU classpath.
12229
12230 2004-04-20  Michael Koch  <konqueror@gmx.de>
12231
12232         * java/io/BufferedWriter.java:
12233         Reordered variables to be at top of the class.
12234         (localFlush): Removed redundant final keyword.
12235
12236 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12237
12238         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
12239
12240 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12241
12242         * java/text/DecimalFormat.java (scanFix): Removed suffix check
12243         for percent and permill check.
12244
12245 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12246
12247         * java/text/FieldPosition.java
12248         (FieldPosition) Constructor now behaves as it should according
12249         to the java documentation.
12250
12251 2004-04-20  Mark Wielaard  <mark@klomp.org>
12252
12253         * java/util/Properties.java: Use the word umlaut, not &auml; in api
12254         documentation.
12255
12256 2004-04-20  Michael Koch  <konqueror@gmx.de>
12257
12258         * java/nio/Buffer.java,
12259         java/nio/channels/AlreadyConnectedException.java,
12260         java/nio/channels/AsynchronousCloseException.java,
12261         java/nio/channels/ByteChannel.java,
12262         java/nio/channels/CancelledKeyException.java,
12263         java/nio/channels/Channel.java,
12264         java/nio/channels/Channels.java,
12265         java/nio/channels/ClosedByInterruptException.java,
12266         java/nio/channels/ClosedChannelException.java,
12267         java/nio/channels/ClosedSelectorException.java,
12268         java/nio/channels/ConnectionPendingException.java,
12269         java/nio/channels/DatagramChannel.java,
12270         java/nio/channels/FileChannel.java,
12271         java/nio/channels/FileLock.java,
12272         java/nio/channels/FileLockInterruptionException.java,
12273         java/nio/channels/GatheringByteChannel.java,
12274         java/nio/channels/IllegalBlockingModeException.java,
12275         java/nio/channels/IllegalSelectorException.java,
12276         java/nio/channels/InterruptibleChannel.java,
12277         java/nio/channels/NoConnectionPendingException.java,
12278         java/nio/channels/NonReadableChannelException.java,
12279         java/nio/channels/NonWritableChannelException.java,
12280         java/nio/channels/NotYetBoundException.java,
12281         java/nio/channels/NotYetConnectedException.java,
12282         java/nio/channels/OverlappingFileLockException.java,
12283         java/nio/channels/Pipe.java,
12284         java/nio/channels/ReadableByteChannel.java,
12285         java/nio/channels/ScatteringByteChannel.java,
12286         java/nio/channels/SelectableChannel.java,
12287         java/nio/channels/SelectionKey.java,
12288         java/nio/channels/Selector.java,
12289         java/nio/channels/ServerSocketChannel.java,
12290         java/nio/channels/SocketChannel.java,
12291         java/nio/channels/UnresolvedAddressException.java,
12292         java/nio/channels/UnsupportedAddressTypeException.java,
12293         java/nio/channels/WritableByteChannel.java,
12294         java/nio/channels/spi/AbstractInterruptibleChannel.java,
12295         java/nio/channels/spi/AbstractSelectableChannel.java,
12296         java/nio/channels/spi/AbstractSelectionKey.java,
12297         java/nio/channels/spi/AbstractSelector.java,
12298         java/nio/channels/spi/SelectorProvider.java,
12299         java/nio/charset/spi/CharsetProvider.java:
12300         Fixed javadocs and jalopied all over java.nio.
12301
12302 2004-04-20  Michael Koch  <konqueror@gmx.de>
12303
12304         * java/nio/ByteBufferImpl.java,
12305         java/nio/CharBufferImpl.java,
12306         java/nio/DirectByteBufferImpl.java,
12307         java/nio/DoubleBufferImpl.java,
12308         java/nio/DoubleViewBufferImpl.java,
12309         java/nio/FloatBufferImpl.java,
12310         java/nio/FloatViewBufferImpl.java,
12311         java/nio/IntBufferImpl.java,
12312         java/nio/IntViewBufferImpl.java,
12313         java/nio/LongBufferImpl.java,
12314         java/nio/LongViewBufferImpl.java,
12315         java/nio/MappedByteBufferImpl.java,
12316         java/nio/ShortBufferImpl.java,
12317         java/nio/ShortViewBufferImpl.java:
12318         Made sure all classes are final and removed final keyword from all
12319         methods.
12320
12321 2004-04-20  Michael Koch  <konqueror@gmx.de>
12322
12323         * java/rmi/MarshalledObject.java,
12324         java/rmi/Naming.java,
12325         java/rmi/RemoteException.java,
12326         java/rmi/activation/ActivationException.java,
12327         java/rmi/server/ServerCloneException.java,
12328         java/security/AccessController.java,
12329         java/security/AlgorithmParameterGenerator.java,
12330         java/security/AlgorithmParameters.java,
12331         java/security/CodeSource.java,
12332         java/security/Identity.java,
12333         java/security/IdentityScope.java,
12334         java/security/KeyPairGenerator.java,
12335         java/security/KeyStore.java,
12336         java/security/Security.java,
12337         java/security/Signature.java,
12338         java/security/SignatureSpi.java,
12339         java/security/SignedObject.java,
12340         java/security/spec/DSAParameterSpec.java,
12341         java/security/spec/DSAPrivateKeySpec.java,
12342         java/security/spec/DSAPublicKeySpec.java,
12343         java/sql/Array.java,
12344         java/sql/DatabaseMetaData.java,
12345         java/sql/ResultSet.java,
12346         java/text/ChoiceFormat.java,
12347         java/text/CollationElementIterator.java,
12348         java/text/CollationKey.java,
12349         java/text/Collator.java,
12350         java/text/DateFormat.java,
12351         java/text/DateFormatSymbols.java,
12352         java/text/DecimalFormatSymbols.java,
12353         java/text/Format.java,
12354         java/text/ParsePosition.java,
12355         java/text/RuleBasedCollator.java,
12356         java/text/SimpleDateFormat.java,
12357         java/text/StringCharacterIterator.java,
12358         java/util/Collections.java,
12359         java/util/PropertyResourceBundle.java,
12360         java/util/ResourceBundle.java,
12361         java/util/StringTokenizer.java,
12362         java/util/jar/Attributes.java,
12363         java/util/logging/ConsoleHandler.java,
12364         java/util/logging/LogManager.java,
12365         java/util/logging/MemoryHandler.java,
12366         java/util/logging/SocketHandler.java,
12367         javax/naming/NamingException.java:
12368         Fixed javadoc, coding style and argument names all over.
12369
12370 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12371
12372         * java/io/FileDescriptor.java: (FileDescriptor) Added public
12373         constructor. (valid) Added null check.
12374
12375 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12376
12377         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12378         * java/io/FileOutputStream.java
12379         (FileOutputStream) Reorganized constructors. Constructors now
12380         check whether the given path is directory.
12381
12382 2004-04-20  Michael Koch  <konqueror@gmx.de>
12383
12384         * java/net/Authenticator.java,
12385         java/net/BindException.java,
12386         java/net/ConnectException.java,
12387         java/net/ContentHandler.java,
12388         java/net/ContentHandlerFactory.java,
12389         java/net/DatagramPacket.java,
12390         java/net/DatagramSocket.java,
12391         java/net/DatagramSocketImpl.java,
12392         java/net/DatagramSocketImplFactory.java,
12393         java/net/FileNameMap.java,
12394         java/net/HttpURLConnection.java,
12395         java/net/Inet4Address.java,
12396         java/net/Inet6Address.java,
12397         java/net/InetAddress.java,
12398         java/net/InetSocketAddress.java,
12399         java/net/JarURLConnection.java,
12400         java/net/MalformedURLException.java,
12401         java/net/MulticastSocket.java,
12402         java/net/NetPermission.java,
12403         java/net/NetworkInterface.java,
12404         java/net/NoRouteToHostException.java,
12405         java/net/PasswordAuthentication.java,
12406         java/net/PortUnreachableException.java,
12407         java/net/ProtocolException.java,
12408         java/net/ServerSocket.java,
12409         java/net/Socket.java,
12410         java/net/SocketAddress.java,
12411         java/net/SocketException.java,
12412         java/net/SocketImpl.java,
12413         java/net/SocketImplFactory.java,
12414         java/net/SocketOptions.java,
12415         java/net/SocketPermission.java,
12416         java/net/SocketTimeoutException.java,
12417         java/net/URI.java,
12418         java/net/URISyntaxException.java,
12419         java/net/URL.java,
12420         java/net/URLClassLoader.java,
12421         java/net/URLConnection.java,
12422         java/net/URLDecoder.java,
12423         java/net/URLEncoder.java,
12424         java/net/URLStreamHandler.java,
12425         java/net/URLStreamHandlerFactory.java,
12426         java/net/UnknownHostException.java,
12427         java/net/UnknownServiceException.java:
12428         Fixed javadocs, coding style and argument names all over.
12429
12430 2004-04-20  Michael Koch  <konqueror@gmx.de>
12431
12432         * java/lang/Byte.java,
12433         java/lang/CharSequence.java,
12434         java/lang/ClassLoader.java,
12435         java/lang/Compiler.java,
12436         java/lang/Double.java,
12437         java/lang/Float.java,
12438         java/lang/Integer.java,
12439         java/lang/Long.java,
12440         java/lang/Math.java,
12441         java/lang/Number.java,
12442         java/lang/Package.java,
12443         java/lang/Runtime.java,
12444         java/lang/RuntimePermission.java,
12445         java/lang/SecurityManager.java,
12446         java/lang/Short.java,
12447         java/lang/StringBuffer.java,
12448         java/lang/System.java,
12449         java/lang/ThreadGroup.java,
12450         java/lang/Throwable.java,
12451         java/lang/reflect/InvocationHandler.java,
12452         java/lang/reflect/Proxy.java:
12453         Fixed javadocs, coding style and argument names all over.
12454
12455 2004-04-20  Michael Koch  <konqueror@gmx.de>
12456
12457         * java/io/BufferedWriter.java,
12458         java/io/ByteArrayInputStream.java,
12459         java/io/CharArrayWriter.java,
12460         java/io/DataInput.java,
12461         java/io/DataInputStream.java,
12462         java/io/File.java,
12463         java/io/FilterInputStream.java,
12464         java/io/InputStream.java,
12465         java/io/InputStreamReader.java,
12466         java/io/ObjectInputStream.java,
12467         java/io/ObjectStreamClass.java,
12468         java/io/PipedInputStream.java,
12469         java/io/PipedReader.java,
12470         java/io/PushbackInputStream.java,
12471         java/io/PushbackReader.java,
12472         java/io/RandomAccessFile.java,
12473         java/io/SerializablePermission.java,
12474         java/io/StreamTokenizer.java,
12475         java/io/StringWriter.java,
12476         java/io/WriteAbortedException.java,
12477         java/io/Writer.java:
12478         Fixed javadocs all over, rename arguments to match javadocs,
12479         fixed coding style.
12480
12481 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12482
12483         * java/awt/FontMetrics.java:
12484         (charsWidth): fixed accumulation of total_width
12485         (getWidth): simple default implementation
12486         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12487         in Rectangle constructor.
12488         * java/awt/image/Raster.java (toString): Added method. 
12489         * java/awt/image/SampleModel.java (<init>): Added error cause
12490         information to thrown exception.
12491         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12492         New method.
12493         (setDataElements): New method.
12494         (setPixels): New method.
12495         (toString): New method.
12496
12497 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12498
12499         * java/awt/image/ComponentColorModel.java
12500         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12501         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12502         Mauve tests on this method. Improved documentation.
12503
12504 2004-04-20  Michael Koch  <konqueror@gmx.de>
12505
12506         * javax/swing/JLayeredPane.java,
12507         javax/swing/plaf/BorderUIResource.java,
12508         javax/swing/plaf/ComponentUI.java,
12509         javax/swing/undo/CompoundEdit.java,
12510         javax/swing/undo/StateEdit.java:
12511         Fixed HTML tags in javadocs all over.
12512
12513 2004-04-20  Michael Koch  <konqueror@gmx.de>
12514
12515         * javax/print/attribute/EnumSyntax.java
12516         (getOffset): Made protected.
12517         * javax/print/attribute/HashAttributeSet.java
12518         (HashAttributeSet): Likewise.
12519         * javax/print/attribute/ResolutionSyntax.java
12520         (getFeedResolution): Fixed typo in exception name.
12521         (getCrossFeedResolution): Likewise.
12522         * javax/print/attribute/SetOfIntegerSyntax.java
12523         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12524         * javax/print/attribute/TextSyntax.java
12525         (TextSyntax): Handle locale correctly.
12526         (hashCode): Calc better hashcode value.
12527         (equals): Fixed @return tag.
12528         (toString): New method.
12529
12530 2004-04-20  Michael Koch  <konqueror@gmx.de>
12531
12532         * gnu/java/nio/FileLockImpl.java
12533         (static): Removed, not needed anymore.
12534         * gnu/java/nio/channels/FileChannelImpl.java
12535         (FileChannelImpl): Made final.
12536         (mode): Made private.
12537         (READ, WRITE, APPEND): Made public.
12538         (EXCL, SYNC, DSYNC): Likewise.
12539         (static): Load native JNI library, when needed.
12540         (length): Unused, removed.
12541         (available): Made public.
12542         (implPosition): Throws IOException.
12543         (seek): Likewise.
12544         (implTruncate): Likewise.
12545         (unlock): Likewise.
12546         (lock): Likewise.
12547
12548 2004-04-20  Michael Koch  <konqueror@gmx.de>
12549
12550         * java/awt/AWTPermission.java,
12551         java/awt/Component.java,
12552         java/awt/ComponentOrientation.java,,
12553         java/awt/Dialog.java,
12554         java/awt/FontMetrics.java,
12555         java/awt/Graphics.java,
12556         java/awt/datatransfer/DataFlavor.java,
12557         java/beans/Introspector.java,
12558         java/beans/PropertyEditor.java,
12559         java/beans/PropertyEditorManager.java,
12560         java/beans/beancontext/BeanContextServiceProvider.java:
12561         Fixed HTML tags in javadocs all over.
12562
12563 2004-04-20  Mark Wielaard  <mark@klomp.org>
12564
12565         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12566         MissingResourceException is thrown.
12567         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12568         null when a MissingResourceException is thrown. Should never happen.
12569
12570 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12571
12572         * java/awt/image/DataBufferShort.java,
12573         java/awt/image/DataBufferFloat.java,
12574         java/awt/image/DataBufferDouble.java,
12575         java/awt/image/PixelInterleavedSampleModel.java: New files.
12576         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12577         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12578
12579 2004-04-20  Michael Koch  <konqueror@gmx.de>
12580
12581         * Makefile.am (java_source_files): Added
12582         java/awt/image/DataBufferDouble.java,
12583         java/awt/image/DataBufferFloat.java,
12584         java/awt/image/DataBufferShort.java and
12585         java/awt/image/PixelInterleavedSampleModel.java.
12586         * Makefile.in: Regenerated.
12587
12588 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
12589  
12590         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
12591         undocumented CNI calls.
12592         * include/java-interp.h (_Jv_InterpClass): No longer
12593         extends java.lang.Class.
12594         * java/lang/Class.h (Class): Add new field `aux_info'.
12595         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12596         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12597         Use Class->aux_info instead.
12598         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12599         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12600         Use Class->aux_info instead.
12601         * java/io/natObjectInputStream.cc (allocateObject): Use
12602         _Jv_AllocObject.
12603         * java/lang/natClass.cc (newInstance): Likewise.
12604         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12605         * java/lang/natObject.cc (clone): Likewise.
12606         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12607         * java/lang/natVMClassLoader.cc (defineClass): Don't use
12608         JvAllocObject. Allocate klass->aux_info here for interpreted
12609         class.
12610         
12611 2004-04-17  Mark Wielaard  <mark@klomp.org>
12612
12613         * javax/swing/JToggleButton.java (ToggleButtonModel):
12614         Make public static inner class.
12615         * javax/swing/JTabbedPane.java (setComponentAt):
12616         Call Page.setComponent().
12617         (SCROLL_TAB_LAYOUT): Make public, value is 1.
12618         (WRAP_TAB_LAYOUT): Make public, value is 0.
12619         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12620         Make private static inner class.
12621
12622 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
12623
12624         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12625         arguments to match new signature. Remove FIXME comments.
12626
12627 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
12628
12629         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12630         Remove method.
12631         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12632         unused code.
12633
12634 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
12635
12636         * Makefile.am: Added new file.
12637         * Makefile.in: Regenerate.
12638         * javax/swing/ImageIcon.java: 
12639         (ImageIcon(file)): set description of the icon 
12640         to the file name
12641         * javax/swing/JCheckBoxMenuItem.java:
12642         Mostly Implemented. Work in progress.
12643         * javax/swing/JRadioButtonMenuItem.java:
12644         Reimplement constructors to use JToggleButtonModel.
12645         * javax/swing/plaf/basic/BasicIconFactory.java:
12646         (getCheckBoxMenuItemIcon): return check box
12647         icon.
12648         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12649         paint menu item selected only when it is armed and 
12650         pressed. 
12651  
12652 2004-04-02  David Jee  <djee@redhat.com>
12653
12654         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12655         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12656         * java/awt/Component.java
12657         (add): Set the parent of the popup as this component.
12658         * java/awt/PopupMenu.java
12659         (addNotify): Create popup menu when peer is null.
12660         (show): Call addNotify() if peer is null.
12661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12662         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12663         argument for gtk_menu_popup() as zero. This causes the popup menu to
12664         respond to any mouse button.
12665
12666 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
12667
12668         * Makefile.am: Added new file.
12669         * Makefile.in: Regenerate.
12670         * javax/swing/JRadioButtonMenuItem.java:
12671         Implemented.
12672         * javax/swing/plaf/basic/BasicIconFactory.java:
12673         (getRadioButtonMenuItemIcon): Return
12674         radio button icon.
12675         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12676         (getPreferredSize): Add size of checkIcon if it
12677         exists.
12678         (installDefaults): Don't initialize checkIcon.
12679         It's value will be set in subclasses. 
12680         (uninstallDefaults): remove uninstallation of 
12681         checkIcon.
12682         (paint): Moved code to paintMenuItem().
12683         (paintMenuItem): Implemented.
12684         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12685         UI delegate for JRadioButtonMenuItem.
12686         
12687 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12688
12689         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12690         Corrected position of the accelerator.
12691
12692 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12693
12694         * Makefile.am: Added new file. 
12695         * Makefile.in: Regenerate.
12696         * javax/swing/JMenuItem.java: Partly 
12697         implemented. Work in progress
12698         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12699         Changed default value of acceleratorDelimiter.
12700         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12701         New class. Partly implemented.
12702                 
12703 2004-03-26  Mark Wielaard  <mark@klomp.org>
12704
12705         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12706         (item_activate): Declare label before use.
12707         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12708         (gtkSetFont): Removed unused variable label.
12709         (addExposeFilter): Declare variables before use.
12710         (removeExposeFilter): Likewise.
12711         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12712         (ok_clicked): Declare str_fileName before use.
12713
12714 2004-03-26  David Jee  <djee@redhat.com>
12715
12716         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12717         (addSeparator): Remove.
12718         * java/awt/Menu.java
12719         (separator): Remove static final MenuItem field.
12720         (separatorLabel): New static final String field.
12721         (addSeparator): Do not use peer method; use add(MenuItem) instead.
12722         Use separatorLabel to denote that it is a separator.
12723         (insertSeparator): Create a new MenuItem with separatorLabel, instead
12724         of reusing the static separator instance, because a MenuItem instance
12725         can't be added more than once without being cloned.
12726         * java/awt/peer/MenuPeer.java
12727         (addSeparator): Remove from interface.
12728
12729 2004-03-26  David Jee  <djee@redhat.com>
12730
12731         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12732         (connectSignals): New native method declaration.
12733         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12734         * java/awt/MenuItem.java
12735         (getActionCommand): Return the label if the action command is not set.
12736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12737         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
12738         gtk_menu_shell_append().
12739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
12740         (item_activate): Fix argument type.
12741         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
12742         signal here.
12743         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
12744         method.
12745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12746         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
12747         given. Add the menu widget's top-level GtkWindow to the global window
12748         group, so it can grab the pointer.
12749         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
12750         gtk_menu_shell_append().
12751
12752 2004-03-23  Graydon Hoare  <graydon@redhat.com>
12753
12754         * java/text/AttributedString.java 
12755         (addAttribute): Fix off-by-one.
12756         (getIterator): Likewise.        
12757         * java/text/AttributedStringIterator.java 
12758         (getRunLimit): Correct logic.
12759         (getRunStart): Likewise.
12760         (getAttribute): Fix inequality.
12761         (getAttributes): Likewise.
12762         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
12763
12764 2004-03-23  Kim Ho  <kho@redhat.com>
12765
12766         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12767         (calculateSizes): Return real width and height.
12768
12769 2004-03-23  Kim Ho  <kho@redhat.com>
12770
12771         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12772         (calculateTabRects): Set the selectedRun before
12773         trying to rotate tabs.
12774
12775 2004-03-23  Kim Ho  <kho@redhat.com>
12776
12777         * Makefile.am: New file
12778         * Makefile.in: Regenerate
12779         * java/awt/Graphics.java: (drawRect):
12780         Draw to the correct point.
12781         * javax/swing/DefaultSingleSelectionModel.java
12782         (isSelected): Return true if the selected index
12783         is not -1.
12784         * javax/swing/JLabel.java: Do not change mnemonic
12785         index if text is null.
12786         * javax/swing/JProgressBar.java: Use JComponent's
12787         EventListenerList.
12788         * javax/swing/JScrollBar.java: Ditto.
12789         * javax/swing/JSlider.java: Ditto.
12790         * javax/swing/JTabbedPane.java: Reimplement.
12791         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12792         Add defaults for TabbedPane.
12793         * javax/swing/plaf/basic/BasicArrowButton.java:
12794         Implement
12795         * javax/swing/plaf/basic/BasicProgressBarUI.java:
12796         (paintDeterminate): Don't paint String if it's
12797         empty.
12798         (paintIndeterminate): ditto.
12799         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12800         Reimplement.
12801
12802 2004-03-19  Michael Koch  <konqueror@gmx.de>
12803
12804         * java/awt/image/AffineTransformOp.java
12805         (AffineTransformOp): Made public.
12806         * javax/swing/JComponent.java
12807         (listenerList): Made protected.
12808         (accessibleContext): Likewise.
12809         * javax/swing/JList.java
12810         (valueChanged): Dont use internal fields of ListSelectionEvent.
12811         * javax/swing/JViewport.java
12812         (getView): Dont use internal fields of Component.
12813         (addImpl): Likewise.
12814         * javax/swing/Timer.java
12815         (isRunning): Made public.
12816         (start): Likewise.
12817         (stop): Likewise.
12818         * javax/swing/UIDefaults.java
12819         (getInt): Made public.
12820         * javax/swing/plaf/basic/BasicListUI.java
12821         (mousePressed): Dont use internal fields of MouseEvent.
12822         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
12823         * javax/swing/plaf/basic/BasicScrollBarUI.java
12824         (arrowIcon): Made static.
12825         * javax/swing/plaf/basic/BasicViewportUI.java
12826         (stateChanged): Dont use internal field on ChangeEvent.
12827         * javax/swing/text/JTextComponent.java
12828         (getUI): Call UIManager.getUI().
12829         (updateUI): Use getUI().
12830
12831 2004-03-19  Graydon Hoare  <graydon@redhat.com>
12832
12833         * javax/swing/JComponent.java: Turn off double buffer by default.
12834         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
12835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
12836         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
12837         Use cairo to copy areas.
12838         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
12839         Initialize and set clip region.
12840
12841 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
12842
12843         * java/applet/Applet.java (preferredSize): Override deprecated
12844         variant of getPreferredSize.
12845         (minimumSize): Override deprecated variant of getMinimumSize.
12846
12847 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
12848
12849         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12850         (drawImage(img,xform,bgcolor,obs)): New Method.
12851         Helper function that every drawImage method will
12852         use.
12853         (drawRaster): Added new parameter, bgcolor. All
12854         transparent pixels are changed to bgcolor before 
12855         image is drawn.
12856         (drawRenderedImage): Fixed to use changed drawRaster().
12857         (drawImage(image,xform,obs): Fixed to use new helper function 
12858         (drawImage(image,op,x,y)): Ditto.
12859         (drawImage (img,x,y,observer)): Ditto.
12860         ((PainterThread) bgcolor): New Field.
12861         ((PainterThread) (setPixels)): Changed all transparent pixels 
12862         to bgcolor.     
12863         (drawImage(img,x,y,width,height,bgcolor,observer)): 
12864         Fixed FIXME - all the transparent pixels are 
12865         changed to the specified bgcolor. 
12866         (drawImage(img, x, y, width, height, observer): Changed to 
12867         use function above.
12868         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
12869         Fixed FIXME- changed all transparent pixels to bgcolor.
12870         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
12871         Changed to use function above. 
12872
12873 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
12874
12875         * java/applet/Applet.java (dimensions): New field.
12876         (getDimensions): New method.
12877         (getPreferredSize): Call getDimensions.
12878         (getMinimumSize): Likewise.
12879
12880 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12881
12882         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
12883         * jni/classpath/jnilink.c: Likewise.
12884
12885         * java/applet/Applet.java (getPreferredSize): New method.
12886         (getMinimumSize): New method.
12887
12888 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
12889
12890         * prims.cc (_Jv_AllocObject): Remove `size' argument.
12891         (_Jv_AllocObjectNoFinalizer): Likewise.
12892         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
12893         (_Jv_AllocPtrFreeObject): Likewise.
12894         (_Jv_AllocString): Moved from natString.cc. Call collector interface
12895         directly even in the JVMPI case.        
12896         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
12897         _Jv_AllocObject calls.
12898         * gcj/javaprims.h: Update prototypes.
12899         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
12900         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
12901         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
12902
12903 2004-04-14  Andrew Haley  <aph@redhat.com>
12904             Bryce McKinlay  <mckinlay@redhat.com>
12905
12906         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
12907         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
12908         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
12909
12910         * testsuite/libjava.lang/InvokeInterface.java: New file.
12911         * testsuite/libjava.lang/InvokeInterface.out: New file.
12912
12913 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
12914         
12915         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
12916         modified lookup().
12917         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
12918         StackTraceElement directly.
12919         (newElement): New native helper method to create StackTraceElement
12920         bypassing Java access control.
12921         (createStackTraceElement): Use newElement() instead of directly
12922         calling StackTraceElement's constructor.
12923         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
12924
12925 2004-04-01  Michael Koch  <konqueror@gmx.de>
12926
12927         * java/lang/SecurityManager.java
12928         (checkAwtEventQueueAccess): Implemented.
12929
12930 2004-04-01  Gary Benson  <gbenson@redhat.com>
12931
12932         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
12933         (_Jv_SearchMethodInClass): Likewise.
12934
12935 2004-03-26  Peter Moon  <peterm@miraculum.com>
12936
12937         * java/text/NumberFormat.java: Fix spelling of setCurrency
12938         method.
12939
12940 2004-03-21  Anthony Green  <green@redhat.com>
12941
12942         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
12943         recursion when searching for the system ClassLoader.
12944
12945 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
12946
12947         * java/net/ServerSocket.java
12948         (accept): Close the socket when error occured.
12949
12950 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
12951
12952         * java/net/URI.java (parseURI): Added unquoting.
12953         (unquote): New method.
12954         (quoteAuthority): Implemented.
12955         (quote(String,String)): New method.
12956         (quotePath): Implemented.
12957         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
12958         (getSchemeSpecificPart): Removed FIXME comment.
12959         (getRawAuthority): Return new rawAuthority field.
12960         (getAuthority): Removed FIXME comment.
12961         (getRawUserInfo): Return new rawUserInfo field.
12962         (getUserInfo): Removed FIXME comment.
12963         (getRawPath): Return new rawPath field.
12964         (getPath): Removed FIXME comment.
12965         (getRawQuery): Return new rawQuery field.
12966         (getQuery): Removed FIXME comment.
12967         (getRawFragment): Return new rawFragment field.
12968         (getFragment): Removed FIXME comment.
12969
12970 2004-03-20  Michael Koch  <konqueror@gmx.de>
12971
12972         * java/net/URLConnection.java: Merged copyright year with classpath.
12973
12974 2004-03-20  Norbert Frese  <postfach@nfrese.net>
12975
12976         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
12977         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
12978         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
12979         rmi-message.
12980         (getObjectInputStream): Return object reference, throw IOException if null.
12981         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
12982         (getObjectOutputStream): Return object reference, throw IOException if null.
12983         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
12984         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
12985         (UnicastConnectionManager): Throw RemoteException if port is not available.
12986         (getInstance): Throw RemoteException.
12987         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
12988         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
12989         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
12990         Collect Exceptions which are returned by a rmi-call and fix void returns.
12991         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
12992         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
12993         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
12994         (dispatch): Answer ping messages which are sent by other java implementions.
12995         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
12996         for every rmi-message and fix void return problems.
12997         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
12998         (UnicastServerRef): Throw RemoteException.
12999         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13000         In some situations it is necessary to export a subclass of the class which has the _Stub.
13001         For instance when the class with has the _Stub is abstract.
13002         (findStubSkelClass): New method which looks for the class which has the _Stub.
13003         (getClientHost): Implementated.
13004         * gcc/libjava/java/rmi/server/RemoteServer.java
13005         (getClientHost): Implementated.
13006         * gcc/libjava/Makefile.am (rmi_java_source_files):
13007         Added gnu/java/rmi/server/RMIIncomingThread.java.
13008         * Makefile.in: Regenerated.
13009
13010 2004-03-20  Michael Koch  <konqueror@gmx.de>
13011
13012         * java/net/InetAddress.java
13013         (getLocalHostname): Added javadoc.
13014
13015 2004-03-19  Per Bothner  <per@bothner.com>
13016
13017         * configure.in: FILE variable  overrides FLATFORM when linking
13018         natFileChannelXXX.cc.
13019
13020         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
13021         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
13022
13023 2004-03-19  Per Bothner  <per@bothner.com>
13024
13025         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
13026         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
13027         * Makefile.am:  Update accordingly.
13028         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
13029         as aliases for UnicodeLittle and UnicodeBig.
13030
13031 2004-03-20  Mark Wielaard  <mark@klomp.org>
13032
13033         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13034         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13035         Don't access ws when it is null.
13036         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13037         Likewise.
13038
13039 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
13040
13041         * java/lang/ThreadGroup.java (list): Changed print to println.
13042
13043 2004-03-19  Mark Wielaard  <mark@klomp.org>
13044
13045         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
13046         happy.
13047
13048 2004-02-10  Randolph Chung  <tausq@debian.org>
13049  
13050         * configure.in: Build java for hppa target.
13051         * configure: Regenerate.
13052         * libjava/configure.host (hppa-*): Add target.
13053         * libjava/sysdeps/pa/lock.h: New file.
13054
13055 2004-03-19  Mark Wielaard  <mark@klomp.org>
13056
13057         Reported by Stephen Crawley
13058         * java/io/FilePermission.java (implies): Use String.length() -1 to
13059         access last char of String.
13060
13061 2004-03-19  Michael Koch  <konqueror@gmx.de>
13062
13063         * java/awt/image/AffineTransformOp.java
13064         (AffineTransformOp): Made public.
13065         * javax/swing/JComponent.java
13066         (listenerList): Made protected.
13067         (accessibleContext): Likewise.
13068         * javax/swing/JList.java
13069         (valueChanged): Dont use internal fields of ListSelectionEvent.
13070         * javax/swing/JViewport.java
13071         (getView): Dont use internal fields of Component.
13072         (addImpl): Likewise.
13073         * javax/swing/Timer.java
13074         (isRunning): Made public.
13075         (start): Likewise.
13076         (stop): Likewise.
13077         * javax/swing/UIDefaults.java
13078         (getInt): Made public.
13079         * javax/swing/plaf/basic/BasicListUI.java
13080         (mousePressed): Dont use internal fields of MouseEvent.
13081         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13082         * javax/swing/plaf/basic/BasicScrollBarUI.java
13083         (arrowIcon): Made static.
13084         * javax/swing/plaf/basic/BasicViewportUI.java
13085         (stateChanged): Dont use internal field on ChangeEvent.
13086         * javax/swing/text/JTextComponent.java
13087         (getUI): Call UIManager.getUI().
13088         (updateUI): Use getUI().
13089
13090 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13091
13092         * verify.cc: Undef PC.
13093
13094 2004-03-18  Michael Koch  <konqueror@gmx.de>
13095
13096         * java/nio/channels/spi/AbstractSelectableChannel.java
13097         (keys): Initialize at declaration.
13098         (locate): keys cant be null.
13099         (add): Removed.
13100         (addSelectionKey): New method.
13101         (removeSelectionKey): New method.
13102         * java/nio/channels/spi/AbstractSelectionKey.java
13103         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13104         * java/nio/channels/spi/AbstractSelector.java
13105         (provider): Javadoc added.
13106         (cancelledKeys): Javadoc added.
13107         (cancelKey): Javadoc added, add key to cancelledKeys.
13108         (deregister): Implemented.
13109
13110 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13111
13112         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13113         MAP_FAILED to void *.
13114
13115 2004-03-12  Graydon Hoare  <graydon@redhat.com>
13116
13117         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13118         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
13119         * javax/swing/JList.java (ListListener): Revalidate on changes.
13120         * javax/swing/JScrollPane.java: Reimplement.
13121         * javax/swing/JViewport.java: Reimplement.
13122         * javax/swing/ScrollPaneLayout.java: Reimplement.
13123         * javax/swing/ViewportLayout.java: Tidy up.
13124         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13125         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13126         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13127         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13128         backing store only.
13129
13130 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
13131
13132         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13133         (window_wm_protocols_filter): New function.
13134         (window_focus_in_cb): Remove function.
13135         (window_focus_out_cb): Likewise.
13136         (window_focus_or_active_state_change_cb): New function.
13137         (create): Add filter that removes WM_TAKE_FOCUS client messages.
13138         (connectSignals): Don't attach handlers to focus-in-event or
13139         focus-out-event signals.  Handle notify signal.
13140
13141 2004-03-11  David Jee  <djee@redhat.com>
13142
13143         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13144         (gtkSetLabel): New native method declaration.
13145         (setLabel): Use gtkSetLabel.
13146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13147         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13148
13149 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
13150
13151         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13152         black when color argument is null.
13153
13154 2004-03-10  Kim Ho  <kho@redhat.com>
13155
13156         * java/awt/Container.java: Remove check
13157         for drag events.
13158
13159 2004-03-10  Kim Ho  <kho@redhat.com>
13160
13161         * java/awt/Container.java: (visitChild):
13162         Remove candidate clip. Use the component
13163         clip to intersect.
13164         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13165         (handleEvent): Use the PaintEvent's clip.
13166
13167 2004-03-10  Kim Ho  <kho@redhat.com>
13168
13169         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13170         (handleEvent): Don't set the clip for the
13171         Graphics object.
13172
13173 2004-03-09  Graydon Hoare  <graydon@redhat.com>
13174
13175         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
13176         Fix double <-> fixed macros, reset font transform.
13177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13178         Likewise.
13179
13180 2004-03-09  Kim Ho  <kho@redhat.com>
13181
13182         * java/awt/Container.java: (visitChild): Move
13183         the x and y coordinate of the component rectangle
13184         to correct position.
13185         (handleEvent): Forward drag events to the pressed
13186         component.
13187         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13188         Fix comments.
13189         (ArrowButtonListener::mousePressed): Stop the
13190         existing timer.
13191         (mouseDragged): Implement.
13192         (TrackListener::mousePressed): Only react if
13193         the press doesn't occur on the thumb, otherwise
13194         just set the offset.
13195         (TrackListener::mouseReleased): Unset the isAdjusting
13196         value.
13197         (createIncreaseIcon): Switch icon.
13198         (createDecreaseIcon): Switch icon.
13199         (calculatePreferredSize): Use width.
13200         (getThumbBounds): Use the top as the lower value.
13201         (layoutVScrollBar): Switch the button locations.
13202         (paintIncreaseHighlight): Paint correct side of thumb.
13203         (paintDecreaseHighlight): ditto.
13204         (valueForYPosition): Use top as the lower value.
13205         * javax/swing/plaf/basic/BasicSliderUI.java:
13206         Fix comments.
13207         (mouseDragged): Implement.
13208         (mousePressed): Only react when the thumb isn't
13209         pressed, otherwise just set offset.
13210         (mouseReleased): Handle a release of the thumb.
13211         (scrollDueToClickInTrack): Stop the timer first.
13212         * javax/swing/JProgressBar.java:
13213         (setString): Fix change condition.
13214         * javax/swing/JSeparator.java:
13215         Remove println's.
13216
13217 2004-03-08  David Jee  <djee@redhat.com>
13218
13219         * java/awt/image/AffineTransformOp.java:
13220         (filter): Use Graphics2D interface instead of directly using the
13221         GdkGraphics2D peer.
13222
13223 2004-03-05  David Jee  <djee@redhat.com>
13224
13225         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13226         (handleEvent): Action events are generated upon MOUSE_RELEASED.
13227         * java/awt/Container.java
13228         (acquireComponentForMouseEvent): Fixed.
13229         (handleEvent): Fixed.
13230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13231         (state_to_awt_mods_with_button_states): New method.
13232         (pre_event_handler): Fixed mouse event generation.
13233
13234 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
13235
13236         gnu/java/awt/peer/gtk/GdkGraphics2D.java
13237         (GdkGraphics2D (BufferedImage)): Initialize
13238         pixmap associated with specified BufferedImage.
13239         (setPaint): Changed implementation of Texture
13240         Paint to use AffineTransformOp.
13241         * java/awt/image/AffineTransformOp.java
13242         (createCompatibleDestRaster): Throw RasterFormatException 
13243         if resulting width or height of raster is 0.
13244
13245 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
13246
13247         * java/awt/image/AffineTransformOp.java:
13248         Removed unnecessary field interpolationType.
13249         Formatted some of the lines to be consistent with 
13250         the GNU style.
13251         (AffineTransformOp): Create new RenderingHints 
13252         containing specified interpolation type.
13253         (createCompatibleDestImage): Implemented.
13254         (createCompatibleDestRaster): Implemented.
13255         (filter): Implemented.
13256         (getBounds2D(BufferedImage)): Implemented.
13257         (getBounds2D(Raster)): Implemented.
13258         (getInterpolationType): Get interpolation value from 
13259         rendering hints.
13260
13261 2004-03-04  David Jee  <djee@redhat.com>
13262
13263         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13264         (setFont): Check if child peers are null.
13265
13266 2004-03-04  Graydon Hoare  <graydon@redhat.com>
13267
13268         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13269         .libs in -L option.
13270         (libjava_arguments): Add new libraries to argument list.
13271
13272 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
13273
13274         * Makefile.am: Added java/awt/image/AffineTransformOp.java
13275         * Makefile.in: Re-generated.
13276         * java/awt/image/AffineTransformOp.java: New Class.
13277
13278 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
13279
13280         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13281         (setPaint): Interpret correctly TexturePaint's
13282         anchor rectangle.
13283         (drawImage): Fixed scale factors of the affine
13284         transform.
13285
13286 2004-02-27  David Jee  <djee@redhat.com>
13287
13288         * gnu/java/awt/peer/gtk/GdkGraphics.java
13289         (GdkGraphics(Component)): Inherit font from component.
13290         (drawString): Use font style.
13291         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13292         (gtkSetFont): New native method declaration.
13293         (setFont): New method.
13294         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13295         (gtkSetFont): New native method declaration.
13296         (setFont): Call new native method gtkSetFont.
13297         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13298         (setFont): For all child components who do not their fonts set,
13299         set their peers' fonts with this container's font.
13300         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13301         Move all native method declarations to the top for readability.
13302         (gtkSetFont): New native method declaration.
13303         (setFont): New method.
13304         * java/awt/Component.java
13305         (setFont): Invalidate after setting the font.
13306         * java/awt/Container.java
13307         (invalidateTree): New method.
13308         (setFont): Invalidate the container tree after setting the font.
13309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13310         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13312         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13314         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13316         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13317
13318 2004-02-27  Olga Rodimina <rodimina@redhat.com>
13319
13320         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13321         (updateBufferedImage): New helper function.
13322         Updates BufferedImage in memory if it was changed.
13323         (draw): changed to update BufferedImage in memory after
13324         this drawing operation
13325         (fill): Ditto.
13326         (draw3DRect): Ditto.
13327         (fill3DRect): Ditto.
13328         (clearRect): Ditto.
13329         (drawRaster): Ditto.
13330         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
13331         no affine transformation.
13332         (drawGlyphVector): Ditto.
13333
13334 2004-02-26  Olga Rodimina <rodimina@redhat.com>
13335
13336         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13337         (isBufferedImageGraphics): New Helper function. 
13338         Returns true if this graphics2d can be used to draw 
13339         into buffered image and false otherwise.
13340         (updateImagePixels): New Helper function. 
13341         Updates pixels in the BufferedImage.
13342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13343         (getImagePixels): New function. Returns pixels
13344         of the buffered image associated with 
13345         this Graphics2D.
13346
13347 2004-02-26  David Jee  <djee@redhat.com>
13348
13349         * java/awt/BorderLayout.java
13350         (layoutContainer): Fix width and height calculations to ensure
13351         that they're non-negative.
13352         * java/awt/Component.java
13353         (setBackground): If c is null, inherit from closest ancestor whose
13354         background color is set.
13355
13356 2004-02-26  Kim Ho  <kho@redhat.com>
13357
13358         * Makefile.am: Add new files.
13359         * Makefile.in: Re-generate.
13360         * javax/swing/JProgressBar.java: 
13361         (JProgressBar(int, int int)): Throw
13362         IllegalArgumentException if orientation is
13363         invalid.
13364         (JProgressBar(BoundedRangeModel)): Create
13365         ChangeListener and register it. UpdateUI.
13366         (getChangeListeners): Implement.
13367         (setModel): Reset ChangeListener.
13368         * javax/swing/JScrollBar.java: Implement.
13369         * javax/swing/JSeparator.java: Implement.
13370         * javax/swing/JSlider.java:
13371         (JSlider(int, int, int, int)): Throw 
13372         IllegalArgumentException if orientation
13373         is invalid.
13374         (getChangeListeners): Fix method name.
13375         * javax/swing/SwingUtilities.java:
13376         (layoutCompoundLabel): If there is no text,
13377         set the text rectangle dimensions to 0.
13378         * javax/swing/plaf/basic/BasicButtonUI.java:
13379         (paint): If there is no text, don't paint it.
13380         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13381         Implement.
13382         * javax/swing/plaf/basic/BasicSeparatorUI.java:
13383         Implement.
13384         * javax/swing/plaf/basic/BasicSliderUI.java: 
13385         (propertyChange): If the model changes, change
13386         the listeners accordingly.
13387
13388 2004-02-25  Graydon Hoare  <graydon@redhat.com>
13389
13390         * javax/swing/AbstractButton.java: Add "final" qualifiers.
13391         * javax/swing/JList.java: Reimplement.
13392         * javax/swing/DefaultListSelectionModel.java: Reimplement.
13393         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13394         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13395         * javax/swing/ListModel.java: Javadoc.
13396         * javax/swing/ListSelectionModel.java: Add missing methods.
13397         * javax/swing/AbstractListModel.java: Javadoc and corrections.
13398         * javax/swing/DefaultListModel.java: Javadoc and corrections.
13399         * javax/swing/ListModel.java: Javadoc and corrections.
13400         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13401
13402 2004-02-25  David Jee  <djee@redhat.com>
13403
13404         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13405         (GtkFontPeer): Change default size to 12.
13406         * gnu/java/awt/peer/gtk/GtkToolkit.java
13407         (getFontPeer): Change default size to 12.
13408         (getClasspathFontPeer): Likewise. Set default name to "Default".
13409         * java/awt/Font.java
13410         (Font(Map)): Call Font(String,Map).
13411         (Font(String,Map)): If attrs is null, initialize it as an empty
13412         HashMap, which will ensure that the Font will get default attributes.
13413
13414 2004-02-25  David Jee  <djee@redhat.com>
13415
13416         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13417         (GtkFontPeer(String,int)): Call the new constructor with size 1.
13418         (GtkFontPeer(String,int,int)): New constructor with size attribute.
13419         * gnu/java/awt/peer/gtk/GtkToolkit.java
13420         (getFontPeer(String,int)): Call the new overload method with size 1.
13421         (getFontPeer(String,int,int)): New method. Overloaded with size
13422         attribute.
13423         (getClasspathFontPeer): Set the size of the font.
13424
13425 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
13426
13427         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13428         (bimage): New field.
13429         (GdkGraphics2D): New Constructor. Constructs Graphics
13430         object that can be used to draw into the Buffered Image.
13431         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13432         (GdkGraphicsEnvironment): Fixed to include public 
13433         keyword.
13434         (createGraphics): Implemented.
13435         * gnu/java/awt/peer/gtk/GtkToolkit.java
13436         (getLocalGraphicsEnvironment): Implemented.
13437         * java/awt/GraphicsEnvironment.java:
13438         (getLocalGraphicsEnvironment): Implemented.
13439         * java/awt/image/BufferedImage.java:
13440         (createGraphics): Implemented.
13441                 
13442 2004-02-24  David Jee  <djee@redhat.com>
13443
13444         * java/awt/Component.java
13445         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13446         * java/awt/Container.java
13447         (addNotifyContainerChildren): Fix event enabling.
13448
13449 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
13450
13451         * Makefile.am: Added 
13452         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13453         * Makefile.in: Re-generated.
13454         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13455         New Class. 
13456         
13457 2004-02-19  Kim Ho  <kho@redhat.com>
13458
13459         * Makefile.am: Add BasicProgressBarUI
13460         * Makefile.in: Regenerate.
13461         * javax/swing/JProgressBar.java: 
13462         Re-implement.
13463         * javax/swing/plaf/basic/BasicLookAndFeel.java
13464         Add constants for JProgressBar.
13465         * javax/swing/plaf/basic/BasicProgressBarUI.java
13466         Implement.
13467         * javax/swing/plaf/basic/BasicSliderUI.java
13468         Change comments.
13469         (calculateGeometry): New method
13470         (paint): Remove unnecessary size calculations.
13471
13472 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
13473
13474         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13475         (drawRaster): Fixed small error that caused
13476         imageToUser transformation to be set incorrectly.
13477         (toString): Implemented.
13478
13479 2004-02-18  David Jee  <djee@redhat.com>
13480
13481         * java/awt/CardLayout.java
13482         (addLayoutComponent): Show the first component added as the default.
13483         (removeLayoutComponent): After removing, show the next component.
13484         (gotoComponent): If there is only one component, show it and return.
13485
13486 2004-02-18  Kim Ho  <kho@redhat.com>
13487
13488         * javax/swing/JSlider.java: Re-order
13489         modifiers.
13490         * javax/swing/JLabel.java: Re-order
13491         modifiers.
13492         * javax/swing/JComponent.java: 
13493         (addPropertyChangeListener):
13494         Implement.
13495         (removePropertyChangeListener):
13496         ditto.
13497         (firePropertyChangeEvent):
13498         ditto.
13499
13500 2004-02-17  David Jee  <djee@redhat.com>
13501
13502         * java/awt/Component.java
13503         (show): Dispatch ComponentEvent via system event queue.
13504         (hide): Likewise.
13505         (move): Likewise.
13506         (resize): Likewise.
13507         (reshape): Likewise.
13508         * java/awt/Window.java
13509         (setBoundsCallback): Likewise.
13510
13511 2004-02-17  David Jee  <djee@redhat.com>
13512
13513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13514         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13515         Use gtk_widget_set_size_request() instead of the deprecated
13516         gtk_widget_set_usize().
13517
13518 2004-02-17  Kim Ho  <kho@redhat.com>
13519
13520         * javax/swing/JSlider.java: Fix comments and
13521         make property strings constants.
13522         (createStandardLabels): Use the labels
13523         preferred size as bounds.
13524         * javax/swing/plaf/basic/BasicSliderUI.java
13525         Fix comments.
13526         (ScrollHandler::actionPerformed): Don't
13527         calculate the timer stop value. Let the
13528         MouseListeners find the stop location.
13529         (getPreferredHorizontalSize): Re-implement.
13530         (getPreferredVerticalSize): ditto.
13531         (getMinimumHorizontalSize): ditto.
13532         (getMinimumVerticalSize): ditto.
13533         (getPreferredSize): ditto.
13534         (getMinimumSize): ditto.
13535         (getMaximumSize): ditto.
13536         (paintTicks): Use doubles to find the
13537         tick location.
13538         (paintHorizontalLabel):  Use preferredSize
13539         as initial width and height.
13540         (paintVerticalLabel): ditto.
13541
13542 2004-02-17  Kim Ho  <kho@redhat.com>
13543
13544         * javax/swing/JLabel.java: Changed 
13545         property strings to constants.
13546         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13547         New property.
13548         (setText): Change mnemonic index if
13549         text is too short.
13550         (setDisplayedMnemonicIndex): Fire property
13551         change event.
13552         (getDisplayedMnemonicIndex): Remove check
13553         against short text.
13554
13555 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13556
13557         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13558         (drawImage(img,xform,obs)): Invert xform before
13559         passing the xform to cairo.
13560         (drawImage(img,x,y,bgcolor,obs)): Implemented.
13561         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13562         implemented.
13563         (drawImage (img,x,y,w,h,obs)): Implemented.
13564         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13565         bgcolor,obs)): Partly implemented.
13566         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13567         Implemented.
13568         * java/awt/image/BufferedImage.java:
13569         (copyData): if dest is null, create raster with same
13570         dimensions as the current image.
13571
13572 2004-02-16  Graydon Hoare  <graydon@redhat.com>
13573
13574         * javax/swing/plaf/basic/BasicLabelUI.java 
13575         (getPreferredSize): Use layoutCL.
13576         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
13577         (getPreferredButtonSize): Start with empty view rect, layout using
13578         component's preferred alignment.
13579         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13580         List defaults.
13581
13582 2004-02-16  David Jee  <djee@redhat.com>
13583
13584         * java/awt/Component.java
13585         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13586         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13587         (move): Erase old bounds and repaint new bounds. Dispatch
13588         COMPONENT_MOVED ComponentEvent.
13589         (resize): Erase old bounds and repaint new bounds. Dispatch
13590         COMPONENT_RESIZED ComponentEvent.
13591         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13592         ComponentEvents.
13593         * java/awt/Window.java
13594         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13595         ComponentEvents.
13596
13597 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
13598
13599         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13600         (setRenderingHint): Added implementation of 
13601         Interpolation rendering hints.
13602         (setRenderingHints): Ditto.
13603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13604         (drawPixels): fixed to allow user to choose type 
13605         of filtering that should be used when displaying images.
13606         (cairoSurfaceSetFilter): New method. Sets filter type for 
13607         interpolation of pixel values.
13608
13609 2004-02-16  David Jee  <djee@redhat.com>
13610
13611         * java/awt/GridBagLayout.java
13612         (calcCellSizes): Rows or columns with zero sizes should still be
13613         considered for extra space distribution.
13614
13615 2004-02-16  Kim Ho  <kho@redhat.com>
13616
13617         * javax/swing/JLabel.java: Re-implement.
13618         * javax/swing/plaf/basic/BasicLabelUI.java
13619         Re-implement.
13620         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13621         Added constant.
13622
13623 2004-02-16  Kim Ho  <kho@redhat.com>
13624
13625         * javax/swing/JSlider.java: Fix indentation and comments.
13626         (setModel): Remove null check to conform with Sun's.
13627         (setOrientation): Throw exception if not
13628         HORIZONTAL or VERTICAL.
13629         (getInverted): Use private variable instead of 
13630         ComponentOrientation.
13631         (setInverted): ditto.
13632         * javax/swing/plaf/basic/BasicSliderUI.java:
13633         Fix indentation and comments.
13634         (propertyChange): Remove check for inverted slider, handle
13635         in main paint.
13636         (getMinimumSize): Return preferred size.
13637         (getMaximumSize): ditto.
13638         (calculateFocusRect): Don't relocate rectangle.
13639         (drawInverted): Return XOR of the slider's inversion and 
13640         the component's orientation.
13641         (paint): Update leftToRightCache
13642
13643 2004-02-13  David Jee  <djee@redhat.com>
13644
13645         * java/awt/GridBagLayout.java
13646         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13647         code to helper methods.
13648         (sortBySpan): New helper method.
13649         (distributeSizeAndWeight): Likewise.
13650         (calcCellWeights): Likewise.
13651         (calcCellSizes): Add comments.
13652
13653 2004-02-13  David Jee  <djee@redhat.com>
13654
13655         * java/awt/Component.java
13656         (show): Only do something if component is invisible at the moment.
13657         (hide): Only do something if component is visible at the moment.
13658         (reshape): If lightweight, erase old bounds and repaint new bounds.
13659
13660 2004-02-13  Kim Ho  <kho@redhat.com>
13661
13662         * Makefile.am: Updated for new file.
13663         * Makefile.in: Regenerated.
13664         * javax/swing/JSlider.java: Reimplement.
13665         * javax/swing/SwingUtilities.java
13666         (layoutCompoundLabel): Use icon height
13667         instead of width.
13668         (paintComponent): Implement.
13669         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13670         Add JSlider defaults.
13671         * javax/swing/plaf/basic/BasicSliderUI.java:
13672         Implement. New file.
13673
13674 2004-03-17  Michael Koch  <konqueror@gmx.de>
13675
13676         * gnu/java/net/PlainDatagramSocketImpl.java
13677         (RECEIVE_LOCK): New member field.
13678         (SEND_LOCK): New member field.
13679         (send0): New method.
13680         (send): Synchronize on SEND_LOCK.
13681         (receive0): New method.
13682         (receive): Synchronize on RECEIVE_LOCK.
13683         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13684         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13685         gnu/java/net/natPlainDatagramSocketImplWin32.cc
13686         (send0): Renamed from send.
13687         (receive0): Renamed from receive.
13688 2004-03-17  Michael Koch  <konqueror@gmx.de>
13689
13690         * gnu/java/net/natPlainSocketImplPosix.cc
13691         (write): Just call write(jbyteArray, offset, len).
13692         (read): Just call read(jbyteArray, offset, len).
13693
13694 2004-03-16  Michael Koch  <konqueror@gmx.de>
13695
13696         * javax/swing/JTabbedPane.java
13697         (serialVersionUID): New field.
13698
13699 2004-03-16  Norbert Frese  <postfach@nfrese.net>
13700
13701         * java/net/InetAddress.java
13702         (getByName): Handle hostname == "" case.
13703
13704 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
13705
13706         Reported by: Adam Heath <doogie@debian.org>
13707         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13708         class loader.
13709
13710 2004-03-15  Michael Koch  <konqueror@gmx.de>
13711
13712         * java/util/Locale.java: Reverting my last patch
13713         and add a comment why the original version was okay.
13714
13715 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
13716
13717         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13718         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13719         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13720         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13721
13722 2004-03-12  Michael Koch  <konqueror@gmx.de>
13723
13724         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13725
13726 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13727
13728         * java/net/URI.java (toURL): Implemented.
13729
13730 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13731
13732         * java/net/URI.java
13733         (URI_REGEXP) updated to contain scheme specific part.
13734         (SCHEME_SPEC_PART_GROUP) new constant.
13735         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13736         updated to make room for SCHEME_SPEC_PART_GROUP.
13737         (parseURI) parse scheme specific part.
13738         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
13739         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
13740         getQuery, getFragment) implemented.
13741
13742 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
13743
13744         * libraries/javalib/java/net/URI.java
13745         partially implemented using java.util.regex.
13746         (URI_REGEXP) new constant. Used to parse URIs.
13747         (SCHEME_GROUP) new constant representing index of scheme group
13748         in parsed URI.
13749         (AUTHORITY_GROUP) new constant representing index of authority
13750         group in parsed URI.
13751         (PATH_GROUP) new constant representing index of path group in
13752         parsed URI.
13753         (QUERY_GROUP) new constant representing index of query group in
13754         parsed URI.
13755         (FRAGMENT_GROUP) new constant representing index of fragment
13756         group in parsed URI.
13757         (getURIGroup) new static utility method.
13758         (parseURI) implemented.
13759         (quote) stub for new static utility method.
13760         (quoteAuthority) stub for new static utility method.
13761         (quoteHost) stub for new static utility method.
13762         (quotePath) stub for new static utility method.
13763         (quoteUserInfo) stub for new static utility method.
13764         (URI) implemented.
13765         (create) don't throw URISyntaxException. Implemented.
13766         (toString) implemented.
13767
13768 2004-03-12  Michael Koch  <konqueror@gmx.de>
13769
13770         * java/net/HttpURLConnection.java
13771         (getResponseCode): Fix another typo in javadoc.
13772
13773 2004-03-11  Michael Koch  <konqueror@gmx.de>
13774
13775         * java/util/logging/Level.java
13776         (parse): Use String.equals() instead of ==.
13777
13778 2004-03-11  Michael Koch  <konqueror@gmx.de>
13779
13780         * gnu/java/net/protocol/jar/Connection.java
13781         (getContentLength): New method.
13782
13783 2004-03-11  Michael Koch  <konqueror@gmx.de>
13784
13785         * gnu/java/net/PlainSocketImpl.java:
13786         Reformated to merge better with classpath's version.
13787
13788 2004-03-11  Michael Koch  <konqueror@gmx.de>
13789
13790         * java/util/Locale.java
13791         (getISO3Language): Use String.equals() instead of ==.
13792         (getISO3Country): Likewise.
13793
13794 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
13795
13796         * java/text/AttributedString.java
13797         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
13798         Use HashMap instead of Hashtable since value can be null, and
13799         you can not store a null value in a Hashtable.
13800
13801 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
13802
13803         * java/text/AttributedStringIterator.java
13804         (getAllAttributesKey): Return only keys concerned
13805         by the current iterator.
13806         (getAttributes): Use strict inequality for
13807         end_index. 
13808
13809 2004-03-11  Michael Koch  <konqueror@gmx.de>
13810
13811         * java/net/HttpURLConnection.java:
13812         Fixed typo in javadoc.
13813
13814 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
13815
13816         * java/io/BufferedInputStream.java (marktarget): New field for max
13817         mark limit.
13818         (CHUNKSIZE): New constant for incremental mark buffer allocation.
13819         (mark): Use new fields.
13820         (read): Likewise.
13821         (read(byte[],int,int)): Likewise.
13822         (skip): Likewise.
13823         (refill): Likewise.
13824
13825 2004-03-11  Mark Wielaard  <mark@klomp.org>
13826
13827         * java/beans/BeanDescriptor.java (BeanDescriptor):
13828         Set the FeatureDescriptor programmatic name.
13829
13830 2004-03-11  Michael Koch  <konqueror@gmx.de>
13831
13832         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
13833         This file was was just copied form java/io/natFileDescriptorEcos.cc
13834         and never changed to compile correctly.
13835
13836 2004-03-11  Michael Koch  <konqueror@gmx.de>
13837
13838         * gnu/java/nio/PipeImpl.java
13839         (SourceChannelImpl): Made final.
13840         (read): Implemented.
13841         (SinkChannelImpl): Made final.
13842         (write): Implemented.
13843
13844 2004-03-11  Michael Koch  <konqueror@gmx.de>
13845
13846         * gnu/java/net/PlainDatagramSocketImpl.java:
13847         Reformated to match classpath's version more.
13848
13849 2004-03-11  Michael Koch  <konqueror@gmx.de>
13850
13851         * gnu/java/awt/peer/ClasspathFontPeer.java:
13852         Fixed javadoc to be correct xhtml.
13853         * gnu/java/awt/peer/gtk/GtkArgList.java
13854         (add): Use Boolean.valueOf() instead of new Boolean().
13855
13856 2004-03-09  Michael Koch  <konqueror@gmx.de>
13857
13858         * java/lang/Thread.java
13859         (runnable): Moved around.
13860         (daemon): Renamed from daemon_flag.
13861         (contextClassLoader): Renamed from context_class_loader.
13862         (Thread): Reordered constructors.
13863         (activeCount): Use group directly.
13864         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
13865         (holdsLock): Reworked javadoc.
13866         (setDaemon): Reworked.
13867         * java/lang/natThread.cc
13868         (destroy): Removed.
13869
13870 2004-03-08  Anthony Green  <green@redhat.com>
13871
13872         * Makefile.am: Build property resource files into libgcj.
13873         * Makefile.in: Rebuilt.
13874         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13875         java/util/regex/PatternSyntaxException.java,
13876         gnu/regexp/CharIndexed.java,
13877         gnu/regexp/CharIndexedCharArray.java,
13878         gnu/regexp/CharIndexedInputStream.java,
13879         gnu/regexp/CharIndexedReader.java,
13880         gnu/regexp/CharIndexedString.java,
13881         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
13882         gnu/regexp/REException.java,
13883         gnu/regexp/REFilterInputStream.java,
13884         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
13885         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
13886         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
13887         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
13888         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
13889         gnu/regexp/RETokenLookAhead.java,
13890         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
13891         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
13892         gnu/regexp/RETokenStart.java,
13893         gnu/regexp/RETokenWordBoundary.java,
13894         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
13895
13896 2004-03-03  Per Bothner  <per@bothner.com>
13897
13898         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
13899         Optimize when argument is a FileChannelImpl.
13900         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
13901         New native methods.
13902         * java/nio/channels/natChannels.cc:  New file for new native methods.
13903         * Makefile.am:  Update accordingly.
13904
13905 2004-03-02  Jan Hubicka  <jh@suse.cz>
13906
13907         * configure.host: Pass -fno-omit-frame-pointer for i386.
13908         * configure.in: Likewise.
13909         * configure: Regenerate.
13910
13911 2004-03-01  Per Bothner  <per@bothner.com>
13912
13913         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
13914
13915 2004-02-29  Per Bothner  <per@bothner.com>
13916
13917         * java/nio/channels/FileChannelImpl.java:  Moved to package
13918         gnu/java/nio/channels, since we need to refer to it from java.io.
13919         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
13920         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
13921         from java/nio/channels.  Don't depend on FileDescriptor.
13922         (in, out, err):  New static fields.
13923         (mode):  New field.
13924         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
13925         from FileDescriptor.
13926         (by):  Removed MappedByteBuffer field.
13927         (map):  New working implementation.
13928         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
13929         some code "ported" from natFileDescriptoPosix.cc.
13930         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
13931         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
13932         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
13933         Remove native methods.
13934         * Makefile.am, configure.in:  Updated accordingly.
13935
13936         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
13937         (ch):  New FileChannelImpl field.  Update constructor to match.
13938         (releaseImpl):  Remove native method.  Instead ...
13939         (release):  Call unlock on channel.
13940         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
13941
13942         * java/io/natFileDescriptorEcos.cc:  Remove file.
13943         * java/io/natFileDescriptorPosix.cc:  Remove file.
13944         * java/io/natFileDescriptorWin32.cc:  Remove file.
13945         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
13946         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
13947         (<init>(FileChannelImpl)):  New package-private constructor.
13948         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
13949         (available, close, read, skip):  Implement using FileChannelImpl.
13950         (getFD):  Allocate FileDescriptor if needed.
13951         (getChannel):  Is now trivial.
13952         * java/io/FileOutputStream.java:  Corresponding changes.
13953         * java/io/RandomAccessFile.java:  Corresponding changes.
13954
13955         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
13956         unmapImpl):  New dummy methods, to be overridden by subclass.
13957         (finalize, isLoaded, load, force):  New methods.
13958         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
13959         Now works, at least for read mapping.
13960
13961         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
13962         streams using FileChannelImpl, not FileDescriptor.
13963         * java/lang/natWin32Process.cc (startProcess):  Likewise.
13964
13965 2004-02-28  Michael Koch  <konqueror@gmx.de>
13966
13967         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
13968         wrong code.
13969
13970 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
13971
13972         * java/io/ObjectInputStream.java
13973         (readClassDescriptor): Keep elements of the mapping non null.
13974         (checkTypeConsistency): New method.
13975         (readFields): Fixed main loop and base logic. Small reindentation.
13976         * java/io/ObjectStreamField.java
13977         (lookupField): New method to update the field reference.
13978         (checkFieldType): New method.
13979         * java/io/ObjectStreamClass.java
13980         (setClass, setFields): Call lookupField when building the field
13981         database. Check the real field type.
13982
13983 2004-02-28  Michael Koch  <konqueror@gmx.de>
13984
13985         * java/nio/ByteOrder.java
13986         (nativeOrder): Use equals() to compare strings.
13987
13988 2004-02-26  Michael Koch  <konqueror@gmx.de>
13989
13990         * gnu/java/nio/FileLockImpl.java
13991         (finalize): Made protected.
13992         * java/nio/channels/FileChannel.java
13993         (MapMode.READ_ONLY): Made final.
13994         (MapMode.READ_WRITE): Made final.
13995         (MapMode.PRIVATE): Made final.
13996         * java/nio/channels/SocketChannel.java
13997         (open): Simplified code.
13998         * java/nio/channels/spi/AbstractSelectableChannel.java
13999         (registered): Unused, removed.
14000         (keyFor): Check channel is open, only locate key
14001         and not add a new one.
14002         (register): Don't delete attachments.
14003
14004 2004-02-26  Michael Koch  <konqueror@gmx.de>
14005
14006         * gnu/java/awt/ComponentDataBlitOp.java
14007         (INSTANCE): Made final.
14008         * gnu/java/awt/image/ImageDecoder.java:
14009         Reworked imports.
14010         (cm): Unused, removed.
14011
14012 2004-02-26  Michael Koch  <konqueror@gmx.de>
14013
14014         * gnu/java/nio/DatagramChannelImpl.java
14015         (send): Check if target address is resolved.
14016
14017 2004-02-26  Michael Koch  <konqueror@gmx.de>
14018
14019         * Makefile.am: Generate and install headers for inner classes in
14020         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14021         * Makefile.in: Regenerated.
14022
14023 2004-02-24  Anthony Green  <green@redhat.com>
14024
14025         * java/lang/StringBuffer.java: No need to NULL out remainder of
14026         buffer since ensureCapacity_unsynchronized will have done this for
14027         us.
14028
14029 2004-02-20  Michael Koch  <konqueror@gmx.de>
14030
14031         * gnu/java/net/protocol/jar/Handler.java
14032         (): Removed unneeded check for file != null. java.net.URL.getFile()
14033         returns an empty string but never null.
14034
14035 2004-02-20  Michael Koch  <konqueror@gmx.de>
14036
14037         * gnu/gcj/convert/Convert.java
14038         (main): Use equals() to compare strings.
14039
14040 2004-02-20  Michael Koch  <konqueror@gmx.de>
14041
14042         * javax/swing/AbstractButton.java: Made several constants final.
14043         (getRolloverSelectedIcon): Made public.
14044         (getSelectedIcon): Made public.
14045
14046 2004-02-16  Per Bothner  <per@bothner.com>
14047
14048         * java/nio/CharBufferImpl.java:  Inline super constructor.
14049         * java/nio/DoubleBufferImpl.java:  Likewise.
14050         * java/nio/FloatBufferImpl.java:  Likewise.
14051         * java/nio/IntBufferImpl.java:  Likewise.
14052         * java/nio/LongBufferImpl.java:  Likewise.
14053         * java/nio/ShortBufferImpl.java:  Likewise.
14054         * java/nio/CharBuffer.java:  Remove unused constructor.
14055         * java/nio/DoubleBuffer.java:  Likewise.
14056         * java/nio/FloatBuffer.java:  Likewise.
14057         * java/nio/IntBuffer.java:  Likewise.
14058         * java/nio/LongBuffer.java:  Likewise.
14059         * java/nio/ShortBuffer.java:  Likewise.
14060         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
14061         Fix buggy call to super constructor.
14062         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14063         * java/nio/FloatViewBufferImpl.java:  Likewise.
14064         * java/nio/IntViewBufferImpl.java:  Likewise.
14065         * java/nio/LongViewBufferImpl.java:  Likewise.
14066         * java/nio/ShortViewBufferImpl.java:  Likewise.
14067         
14068         * java/nio/ByteBuffer.java (endian):  Make non-private so other
14069         java.nio classes can inherit it.
14070         (<init>):  Don't bother clearing array_offset.
14071         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
14072         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
14073         Remove redundant test.
14074
14075         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14076         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14077         Use new XxxViewBufferImpl constructors.
14078         * java/nio/MappedByteBufferImpl.java:  Likewise.
14079         * java/nio/DirectByteBufferImpl.java:  Likewise.
14080
14081         * java/nio/ByteBufferImpl.java:  Remove one constructor.
14082         Inline super in remaining constructor.
14083         * java/nio/ByteBuffer.java:  Remove unused constructor.
14084
14085         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
14086
14087         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
14088         * java/nio/DirectByteBufferImpl.java (owner):  New field.
14089         (offset):  Remove unused field.
14090         (<init>):  Modify one and add another constructor.  Change callers.
14091         (allocateDirect):  Removed - not used.
14092         (getImpl, putImpl):  Make static and pass address explicitly,
14093         to make them useful for MappedByteBufferImpl.
14094         (get, put):  Check for underflow.  Modify for new getImpl.
14095         (getImpl):  New native method where target is array.
14096         (get(byte[],int,int)):  Use the above.
14097         (adjustAddress):  New static native method.
14098         (slice, duplicate, asReadOnly):  New implementations.
14099         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14100         adjustAddress):  New or updated native methods.
14101
14102 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
14103
14104         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14105         overflow of fieldmapping.
14106
14107 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
14108
14109         * javax/swing/undo/UndoManager.java: Re-written from scratch.
14110
14111 2004-02-14  Per Bothner  <per@bothner.com>
14112
14113         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14114         Set closed before calling implCloseChannel, as in the spec.
14115
14116 2004-02-09  Graydon Hoare  <graydon@redhat.com>
14117
14118         * javax/swing/ToggleButtonModel.java: Remove dead class.
14119         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14120         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14121         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14122         * Makefile.am: Update for new and removed files.
14123         * Makefile.in: Regenerate.
14124
14125         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14126         * javax/swing/AbstractButton.java 
14127         (AbstractButton): Initialize fields correctly in ctor.
14128         * javax/swing/JCheckbox.java 
14129         (JCheckBox): Override painting flags.
14130         * javax/swing/DefaultButtonModel.java: Conform to sun.
14131         * javax/swing/JComponent.java (paint): Fill with background color
14132         if available.
14133         (processComponentKeyEvent)
14134         (processFocusEvent)
14135         (processKeyEvent)
14136         (processMouseMotionEvent): Remove event-consuming empty methods.
14137         (getUIClassID): Return "ComponentUI" not "JComponent"
14138         * javax/swing/JFrame.java: Remove some debugging chatter.
14139         (JFrame): Subscribe to window events.
14140         * javax/swing/JRadioButton.java 
14141         (JRadioButton): Override painting flags.
14142         * javax/swing/JRootPane.java 
14143         (JRootPane): Set background from UIDefaults.
14144         * javax/swing/JToggleButton.java 
14145         (ToggleButtonModel): New inner class.
14146         (JToggleButton): Override layout alighment.
14147         * javax/swing/SwingUtilities.java:
14148         (getLocalBounds): Return width and height, not x and y.
14149         (calculateInnerArea): Use local bounds, not bounds.
14150         (layoutCompoundLabel): Provide overridden form.
14151         (layoutCompoundLabel): Correct bugs.
14152         * javax/swing/UIDefaults.java: Correct comment.
14153         * javax/swing/plaf/basic/BasicButtonUI.java: 
14154         Move most logic into defaults, external listener.
14155         (paintIcon): Implement icon painting.
14156         (paint): Fix state painting to conform to changes in model.
14157         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14158         Remove most dead/wrong methods.
14159         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14160         * javax/swing/plaf/basic/BasicIconFactory.java:
14161         (DummyIcon): New class.
14162         (getMenuItemCheckIcon)
14163         (getMenuItemArrowIcon) 
14164         (getMenuArrowIcon)
14165         (getCheckBoxMenuItemIcon)
14166         (getRadioButtonMenuItemIcon)
14167         (createEmptyFrameIcon): Return DummyIcons, not null.
14168         (getCheckBoxIcon): Implement an icon that looks like sun's.
14169         (getRadioButtonIcon): Implement an icon that looks like sun's.
14170         * javax/swing/plaf/basic/BasicLookAndFeel.java 
14171         (initComponentDefaults): Fix impossible values, add some missing.
14172         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14173         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14174         Remove most dead/wrong methods.
14175         (icon): New field.
14176         (getDefaultIcon): New method.
14177         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14178         Remove most dead/wrong methods.
14179         * javax/swing/plaf/metal/MetalLookAndFeel.java
14180         (getDefaults): Return super.getDefaults(), not BasicDefaults.
14181         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14182         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14183         Implement "clearing" as drawing, when on pixmap drawables.
14184
14185         * javax/swing/JButton.java (getUIClassID): 
14186         * javax/swing/JCheckBox.java (getUIClassID):
14187         * javax/swing/JEditorPane.java (getUIClassID):
14188         * javax/swing/JLabel.java (getUIClassID): 
14189         * javax/swing/JList.java (getUIClassID): 
14190         * javax/swing/JOptionPane.java (getUIClassID): 
14191         * javax/swing/JPanel.java (getUIClassID): 
14192         * javax/swing/JPasswordField.java (uiClassID): 
14193         * javax/swing/JRadioButton.java (getUIClassID): 
14194         * javax/swing/JRootPane.java (getUIClassID): 
14195         * javax/swing/JScrollPane.java (getUIClassID): 
14196         * javax/swing/JTabbedPane.java (getUIClassID): 
14197         * javax/swing/JToggleButton.java (getUIClassID): 
14198         * javax/swing/JTree.java (getUIClassID): 
14199         * javax/swing/JViewport.java (getUIClassID): 
14200         * javax/swing/text/JTextComponent.java (getUIClassID):
14201         Return "fooUI" not "Jfoo"
14202
14203 2004-02-11  Michael Koch  <konqueror@gmx.de>
14204
14205         * java/net/DatagramSocket.java
14206         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14207         Boolean object.
14208         (setBroadcast): Likewise.
14209         * java/net/MulticastSocket.java
14210         (setLoopbackMode): Likewise.
14211         * java/net/ServerSocket.java
14212         (setReuseAddress): Likewise.
14213         * java/net/Socket.java
14214         (setTcpNoDelay): Likewise.
14215         (setSoLinger): Likewise.
14216         (setOOBInline): Likewise.
14217         (setKeepAlive): Likewise.
14218         (setReuseAddress): Likewise.
14219         * java/net/URLConnection.java
14220         (setContentHandler): Replace == with equals().
14221         * java/net/URLStreamHandler.java
14222         (hostSEquals): Fix checking host addresses.
14223         (toExternalForm): Dont check protocol for null. We know already its
14224         not null.
14225
14226 2004-02-10  David Jee  <djee@redhat.com>
14227
14228         * java/awt/BorderLayout.java
14229         (calcCompSize): Invisible components get zero dimensions.
14230         * java/awt/Button.java
14231         (setLabel): Set actionCommand.
14232         * java/awt/Component.java
14233         (show): Invalidate component and parent container.
14234         (hide): Likewise.
14235
14236 2004-02-10  David Jee  <djee@redhat.com>
14237
14238         * java/awt/GridBagLayout.java
14239         (GridBagLayout): New private field, internalcomptable.
14240         (lookupInternalConstraints): New method.
14241         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14242         (GetLayoutInfo): Reimplement.
14243         (calcCellSizes): Ignore rows/columns with size 0.
14244
14245 2004-02-10  Michael Koch  <konqueror@gmx.de>
14246
14247         * gnu/java/awt/EmbeddedWindow.java
14248         (setHandle): Use java.awt.Component.getPeer() instead of
14249         java.awt.Component.peer directly.
14250
14251 2004-02-10  David Jee  <djee@redhat.com>
14252
14253         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14254         (gtkSetLabel): New native method definition.
14255         (setLabel): Use gtkSetLabel.
14256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14257         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14258
14259 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
14260
14261         * include/powerpc-signal.h: Revert 2004-01-21 change.
14262         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
14263         from syscall for ppc32 versions.
14264
14265 2004-02-08  Per Bothner  <per@bothner.com>
14266
14267         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
14268         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
14269         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
14270         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
14271         Pass ByteOrder parameter to most methods, since the underlying
14272         ByteBuffer's order isn't always what we should use.
14273         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
14274         * java/nio/DirectByteBufferImpl.java:  Likewise.
14275         Use ByteBufferHelper methods.
14276         * java/nio/MappedByteBufferImpl.java:  Likewise.
14277         (compact):  Use shiftDown.
14278         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
14279         (get, put):  Use ByteBufferHelper.
14280         (compact):  Use new shiftDown method.
14281         (duplicate(boolean)):  New helper method.
14282         (duplicate, asReadOnlyBuffer):  Use it.
14283         (order):  Return endian field.
14284         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14285         * java/nio/FloatViewBufferImpl.java:  Likewise.
14286         * java/nio/IntViewBufferImpl.java:  Likewise.
14287         * java/nio/LongViewBufferImpl.java:  Likewise.
14288         * java/nio/ShortViewBufferImpl.java:  Likewise.
14289         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
14290         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
14291         (compact):  Re-implement using shiftDown.
14292
14293 2004-02-08  Andreas Jaeger  <aj@suse.de>
14294
14295         * include/x86_64-signal.h: Fix typo.
14296
14297 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
14298
14299         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14300         qualifier to _regs.
14301         (HANDLE_DIVIDE_OVERFLOW): Likewise.
14302
14303 2004-02-06  Michael Koch  <konqueror@gmx.de>
14304
14305         * java/io/ObjectInputStream.java
14306         (currentClassLoader): Reverted to old version of this method.
14307
14308 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
14309
14310         * java/io/ObjectInputStream.java: Made all calls
14311         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14312         use cached info from ObjectStreamClass. (readClassDescriptor):
14313         Cache more information in ObjectStreamClass. (processResolution,
14314         readFields): Use cached info from ObjectStreamClass.
14315         (newObject): Throw exception instead of returning null for failure.
14316         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14317         setCharField, setDoubleField, setFloatField, setIntField,
14318         setLongField, setShortField, setObjectField, readObjectParams):
14319         Removed. (dumpElement, dumpElementln): Removed dump flag condition
14320         check.
14321         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14322         (setClass): Added call to cacheMethods() (findMethod): New method.
14323         (cacheMethods): New method. (ObjectStreamClass): Added call to
14324         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14325         AccessController.doPrivileged to invoke setAccessible.
14326         (readObjectMethod, readResolveMethod, realClassIsSerializable,
14327         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14328         New fields.
14329         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14330         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14331         isPrimitive): Made safe for cases where type == null.
14332         (setBooleanField, setByteField, setCharField, setShortField,
14333         setIntField, setLongField, setFloatField, setDoubleField,
14334         setObjectField): New methods.
14335
14336 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
14337
14338         * java/awt/Component.java (getFont): Return a default font
14339         instead of null.
14340
14341         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14342         (Scrollbar (int, int, int, int, int)): Make default page
14343         increment 10.
14344         (setValues): Only call peer.setValues if one of the values has
14345         changed.
14346         (generateName): New method.
14347         (getUniqueLong): New method.
14348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14349         (range_scrollbar): Remove structure.
14350         (post_adjustment_event): Remove function.
14351         (post_change_event): Accept jobject argument.
14352         (create): Cast jints to gdoubles.  Round scrollbar values to the
14353         nearest integer.  Clamp min, max and value settings.
14354         (connectJObject): Connect hook to widget->window.
14355         (connectSignals): Remove range_scrollbar structure variables.
14356         Remove "move-slider" connection.  Pass global peer reference to
14357         "value-changed" callback.
14358         (setLineIncrement): Cast jint value to gdouble.
14359         (setPageIncrement): Likewise.
14360         (setValues): Likewise.  Clamp min, max and value settings.
14361
14362 2004-02-05  Michael Koch  <konqueror@gmx.de>
14363
14364         * javax/swing/AbstractCellEditor.java
14365         (getCellEditorValue): Removed.
14366         * javax/swing/Box.java: Reformated.
14367         (serialVersionUID): New field.
14368         * javax/swing/ButtonGroup.java:
14369         Removed some weird whitespace.
14370         * javax/swing/CellEditor.java: Reformated.
14371         * javax/swing/CellRendererPane.java
14372         (serialVersionUID): New field.
14373         (AccessibleCellRendererPaneserialVersionUID): New field.
14374         * javax/swing/DefaultListModel.java
14375         (serialVersionUID): New field.
14376         * javax/swing/JEditorPane.java
14377         (serialVersionUID): New field.
14378         (setPage): Throws IOException.
14379         (addHyperlinkListener): Implemented.
14380         (removeHyperlinkListener): Implemented.
14381         (getHyperlinkListener): New method.
14382         * javax/swing/JFileChooser.java
14383         (serialVersionUID): New field.
14384         (AccessibleJFileChooser.serialVersionUID): New field.
14385         (addActionListener): Implemented.
14386         (removeActionListener): Implemented.
14387         (getActionListeners): New method.
14388         * javax/swing/JFormattedTextField.java
14389         (serialVersionUID): New field.
14390         (AbstractFormatter.serialVersionUID): New field.
14391         (clone): Throws CloneNotSupportedException
14392         (setEditValid): Add missing argument.
14393         (stringToValue): Throws ParseExcpetion.
14394         (valueToString): Throws ParseException.
14395         (commitEdit): Throws ParseException.
14396         * javax/swing/JLabel.java
14397         (serialVersionUID): New field.
14398         * javax/swing/JList.java
14399         (serialVersionUID): New field.
14400         (addListSelectionListener): Reformated.
14401         (removeListSelectionListener): Reformated.
14402         (getListSelectionListeners): New method.
14403         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14404         Reformated.
14405         (serialVersionUID): New field.
14406         * javax/swing/table/AbstractTableModel.java
14407         (getValueAt): Removed.
14408         (getColumnCount): Removed.
14409         (getRowCount): Removed.
14410
14411 2004-02-05  Michael Koch  <konqueror@gmx.de>
14412
14413         * java/awt/datatransfer/DataFlavor.java
14414         (imageFlavor): Javadoc added.
14415         (javaJVMLocalObjectType): Fixed.
14416
14417 2004-02-05  Michael Koch  <konqueror@gmx.de>
14418
14419         * java/lang/Thread.java
14420         (Thread): Reordered.
14421         (setContextClassLoader): Fixed javadoc comment.
14422         (setPriority): Reordered.
14423         (yield): Reordered.
14424         (initialize_native): Reordered.
14425         (gen_name): Reordered.
14426
14427 2004-02-05  Michael Koch  <konqueror@gmx.de>
14428
14429         * java/lang/Thread.java: Reordered fields, reformated much code,
14430         no functional changes, some variables renamed, javadoc comments
14431         merged.
14432
14433 2004-02-05  Michael Koch  <konqueror@gmx.de>
14434
14435         * java/util/zip/Deflater.java,
14436         java/util/zip/DeflaterOutputStream.java,
14437         java/util/zip/GZIPInputStream.java:
14438         Reformated and javadoc comments merged from classpath.
14439
14440 2004-02-05  Michael Koch  <konqueror@gmx.de>
14441
14442         * gnu/java/nio/NIOServerSocket.java
14443         (impl): Unused, removed.
14444         * gnu/java/nio/SocketChannelImpl.java
14445         (finnishConnect): Don't throw NoConnectionPendingException if not
14446         connected or no connection pending.
14447
14448 2004-02-02  Graydon Hoare  <graydon@redhat.com>
14449
14450         * javax/swing/SwingUtilities.java: Many new functions.
14451         * java/awt/Container.java (LightweightDispatcher): Reimplement.
14452         * javax/swing/basic/BasicGraphicsUtils.java 
14453         (getPreferredButtonSize): Start layout from top-left corner.
14454
14455 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
14456
14457         * java/awt/geom/AffineTransform.java: 
14458         Corrected comments on the field definitions for
14459         m11 and m10.
14460         (shear): Fixed few errors that caused shear
14461         transformation to be performed incorrectly.
14462         (createInverse): Fixed to return correct
14463         inverse of the given matrix.
14464
14465 2004-02-03  Tom Tromey  <tromey@redhat.com>
14466
14467         * java/lang/natPosixProcess.cc (startProcess): Handle case where
14468         PATH or LD_LIBRARY_PATH is not set in parent environment.
14469
14470 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
14471
14472         * gnu/java/awt/peer/gtk/GtkListPeer.java,
14473         java/awt/BorderLayout.java, java/awt/CardLayout.java,
14474         java/awt/CheckboxGroup.java, java/awt/Choice.java,
14475         java/awt/Component.java, java/awt/Container.java,
14476         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14477         java/awt/LayoutManager2.java, java/awt/List.java,
14478         java/awt/Menu.java, java/awt/MenuBar.java,
14479         java/awt/MenuItem.java, java/awt/Polygon.java,
14480         java/awt/Rectangle.java, java/awt/ScrollPane.java,
14481         java/awt/Scrollbar.java, java/awt/TextArea.java,
14482         java/awt/TextField.java,
14483         java/awt/image/renderable/RenderContext.java,
14484         javax/swing/JApplet.java: Fix handling of alias methods, where a
14485         method has been deprecated in favour of a new one with the same
14486         funtion but a different name.  Put the method implementation in
14487         the deprecated method and have the new method call the
14488         deprecated one.  Make all other code call the new method.
14489
14490 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
14491
14492         * gnu/java/nio/DatagramChannelImpl.java
14493         (inChannelOperation): New field.
14494         (isInChannelOperation): New accessor.
14495         (setInChannelOperation): New modifier.
14496         (receive): Use capacity() - position() of destination
14497         buffer instead of remaining(). Set and reset our "in
14498         channel operation indicator" before and after delegating
14499         the receive to our datagram socket. Removed testing code.
14500         Update destination buffer's current position if it is
14501         backed by a byte array (hasArray() is true).
14502         (send): Set and reset our "in channel operation indicator"
14503         before and after delegating the send to our datagram socket.
14504         Removed testing code. Update source buffer's current position
14505         if it is backed by a byte array (hasArray() is true).
14506         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14507         Use capacity() - position() of destination buffer instead
14508         of remaining().
14509         * java/net/DatagramSocket.java (receive): Don't throw an
14510         IllegalBlockingModeException if we have a non-blocking
14511         channel which initiated this operation.
14512         (send): Likewise.
14513
14514 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
14515
14516         * configure.in: Add pkgconfig check for glib and gthread.
14517         * configure: Regenerate.
14518
14519 2004-02-01  Michael Koch  <konqueror@gmx.de>
14520
14521         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14522         arguments.
14523         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14524         * verify.cc (debug_print): Mark 'fmt' unused.
14525
14526 2004-01-30  Michael Koch  <konqueror@gmx.de>
14527
14528         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14529         * configure: Regenerated.
14530         * glib-2.0.m4: Removed.
14531         * gtk-2.0.m4: Removed.
14532         * libart.m4: Removed.
14533         * pkg.m4: New file.
14534
14535 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
14536
14537         * gnu/java/net/PlainSocketImpl.java 
14538         (inChannelOperation): New field.
14539         (isInChannelOperation): New accessor.
14540         (setInChannelOperation): New modifier.
14541         * gnu/java/nio/ServerSocketChannelImpl.java
14542         (accept): Set and reset our server socket's PlainSocketImpl's
14543         "in channel operation" indicator before and after delegating
14544         the accept to our server socket.
14545         * gnu/java/nio/SocketChannelImpl.java
14546         (connect): Set and reset our socket's PlainSocketImpl's "in channel
14547         operation" indicator before and after delegating the operation to
14548         our socket.
14549         (read): Likewise.
14550         (write): Likewise.
14551         * java/net/ServerSocket.java (implAccept): Don't throw an
14552         IllegalBlockingModeException if we have a non-blocking
14553         channel which initiated this accept operation.
14554         * java/net/Socket.java (connect): Don't throw an
14555         IllegalBlockingModeException if we have a non-blocking
14556         channel which initiated this connect operation.
14557         * java/nio/channels/spi/AbstractSelectableChannel.java
14558         (configureBlocking): Only call implConfigureBlocking() if
14559         the desired blocking mode is different from our current one.
14560
14561 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
14562
14563         * java/io/BufferedReader.java (sbuf): New field.
14564         (readLine): Use String.valueOf instead of new String() as per
14565         Per Bothner's suggestion. Use instance sbuf field instead of a
14566         local StringBuffer instance.
14567         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14568         caller's buffer to refill().
14569         (read(void)): Pass our internal work buffer to refill if our
14570         input queue is empty.
14571         (refill): Changed return type to int. Use the specified buffer
14572         instead of our work buffer as per Bryce McKinlay's suggestion.
14573         Return the number of characters read or -1 for EOF.
14574
14575 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14576
14577         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14578
14579 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14580
14581         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14582         * Makefile.in: Re-generated.
14583         * gnu/awt/xlib/XFontPeer.java: New file.
14584         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14585         (setClip): Commented out debug printout.
14586         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14587         (getFontPeer): Return XFontPeer.
14588         (getLocalGraphicsEnvironment): New method.
14589         (getClasspathFontPeer): New method.
14590         (createFont): New method.
14591
14592 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14593
14594         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14595         return null. 
14596
14597 2004-01-29  Kim Ho  <kho@redhat.com>
14598
14599         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14600         (gtkLayoutSetVisible): New method
14601         (setMenuBar): Hide layout before setting MenuBar
14602         and reshow it after.
14603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14604         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14605
14606 2004-01-28  Michael Koch  <konqueror@gmx.de>
14607
14608         * gnu/java/lang/ClassHelper.java
14609         (getPackagePortion): Removed.
14610
14611 2004-01-28  Michael Koch  <konqueror@gmx.de>
14612
14613         * javax/swing/JComponent.java
14614         (listenerList): Initalize globally.
14615         (ancestor_list): Removed.
14616         (veto_list): Removed.
14617         (change_list): Removed.
14618         (get_veto_list): Removed.
14619         (get_change_list): Removed.
14620         (get_ancestor_list): Removed.
14621         (removeAncestorListener): Reimplemented.
14622         (removePropertyChangeListener): Likewise.
14623         (removeVetoableChangeListener): Likewise.
14624         (addAncestorListener): Likewise.
14625         (addPropertyChangeListener): Likewise.
14626         (addVetoableChangeListener): Likewise.
14627         (getListeners): New method.
14628         (getAncestorListeners): Likewise.
14629         (getVetoableChangeListeners): Likewise.
14630         (fireVetoableChange): Throws PropertyVetoException.
14631         * javax/swing/JEditorPane.java
14632         (JEditorPane): Throws IOException.
14633
14634 2004-01-28  David Jee  <djee@redhat.com>
14635
14636         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14637         (create): Set the default foreground color to
14638         java.awt.SystemColor.windowText.
14639
14640 2004-01-27  Michael Koch  <konqueror@gmx.de>
14641
14642         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14643         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14644         Reindented to merge with classpath.
14645
14646 2004-01-27  David Jee  <djee@redhat.com>
14647
14648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14649         (addExposeFilter): Handle GtkFramePeer separately.
14650         (removeExposeFilter): Likewise.
14651
14652 2004-01-27  Michael Koch  <konqueror@gmx.de>
14653
14654         * gnu/java/net/protocol/http/Connection.java
14655         (getOutputStream): Fixed typo.
14656
14657 2004-01-27  Michael Koch  <konqueror@gmx.de>
14658
14659         * java/lang/Class.java
14660         (getConstructor): Removed SecurityException from throws clause.
14661         (_getConstructors): Likewise.
14662         (getConstructors): Likewise.
14663         (getDeclaredConstructor): Likewise.
14664         (getDeclaredClasses): Likewise.
14665         (getDeclaredConstructors): Likewise.
14666         (getDeclaredField): Likewise.
14667         (getDeclaredMethod): Likewise.
14668         (getDeclaredMethods): Likewise.
14669         (getField): Likewise.
14670         (getMethod): Likewise.
14671         (getMethods): Likewise.
14672
14673 2004-01-27  Kim Ho  <kho@redhat.com>
14674
14675         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14676         (removeMenuBarPeer): Remove MenuBarPeer argument.
14677         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14678         (dispose): Call native method.
14679         * java/awt/Frame.java (setMenuBar): Create and remove
14680         MenuBar peers only if the Frame has a peer.
14681         (addNotify): Create the MenuBar peer if one exists.
14682         (removeNotify): Remove MenuBar peer if one exists.
14683         * java/awt/Menu.java: Fix imports.
14684         (addNotify): Don't use full class name.
14685         (removeNotify): Call removeNotify on all children.
14686         * java/awt/MenuBar.java (removeNotify): Call
14687         removeNotify on all children.
14688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14689         (removeMenuBarPeer): Remove MenuBarPeer argument.
14690         Iterate through children to find the Frame's MenuBar.
14691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14692         New file.
14693         (dispose): Remove references to the MenuComponent.
14694
14695 2004-01-27  Michael Koch  <konqueror@gmx.de>
14696
14697         * javax/swing/AbstractCellEditor.java: Reformated.
14698         * javax/swing/DefaultListSelectionModel.java
14699         (listenerList): Made protected.
14700         (addListSelectionListener): Javadoc added.
14701         (removeListSelectionListener): Likewise.
14702         (getListeners): Likewise.
14703         (getListSelectionListeners): Likewise.
14704         * javax/swing/JComboBox.java: Merged copyright year.
14705         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14706
14707 2004-01-26  Andrew Haley  <aph@redhat.com>
14708
14709         * javax/swing/table/JTableHeader.java: Extend JComponent
14710
14711 2004-01-26  Kim Ho  <kho@redhat.com>
14712
14713         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14714         Fix spacing.
14715
14716 2004-01-26  Kim Ho  <kho@redhat.com>
14717
14718         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14719         method.
14720         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14721         height and let the Layout Managers readjust anything that
14722         needs to move.
14723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14724         (moveLayout): New method. Shift everything in the Gtk
14725         layout in the Y direction by an offset.
14726
14727 2004-01-26  David Jee  <djee@redhat.com>
14728
14729         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14730         (handleEvent): Implemented. Handles PaintEvents.
14731         (paint): Implemented. Use GTK native methods to queue updates
14732         for this heavyweight peer.
14733         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14734         (handleEvent): Removed.
14735         * java/awt/Component.java
14736         (paint): Implemented. Explictly paint the heavyweight peer.
14737         (update): Clear the background for heavyweight components.
14738         (paintAll): No need to call peer.paint() anymore.
14739         (processEvent): Don't process PaintEvents here. It's now done in
14740         the peer's handleEvent().
14741         (processPaintEvent): Removed.
14742         * java/awt/Container.java
14743         (paint): No need to call super.paint(). Visit heavyweight
14744         children as well.
14745         (update): Don't clear the background here.  It's done in
14746         Component.update().
14747         (visitChildren): Added check to not recurse into Containers.
14748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14749         (filter_expose_event_handler): New method.  Filter unwanted
14750         expose events while painting heavyweight peers.
14751         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14752         New method. Connect filter and block pre_event_handler.
14753         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14754         New method. Disconnect filter and unblock pre_event_handler.
14755         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
14756         New method. Invalidate and update given area.
14757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14758         (pre_event_handler): Add checks for unwanted expose events.
14759
14760 2004-01-26  David Jee  <djee@redhat.com>
14761
14762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14763         (find_bg_color_widget): For GtkButton, return its child.
14764
14765 2004-01-26  Kim Ho  <kho@redhat.com>
14766
14767         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
14768         private.
14769         (setMenuBar): Grab MenuBar height and change insets.
14770         (setBounds): Account for MenuBar height.
14771         (postInsetsChangedEvent): Ditto.
14772         (postSizeAllocateEvent): Remove.
14773         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14774         (menubar_resize_cb): Remove
14775         (setMenuBarPeer): Remove callback.
14776         (getMenuBarHeight): Use size requisition instead of
14777         allocation.
14778
14779 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14780
14781         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
14782         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
14783         when peer is null.
14784         (setColumns): Remove FIXME -- peer will retrieve number of
14785         columns by calling getColumns.
14786         (setRows): Likewise for number of rows.
14787         (next_text_number): New field.
14788         (paramString): Fix param string.
14789         (generateName): New method.
14790         (getUniqueLong): New method.
14791
14792 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14793
14794         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
14795         image observer of image loading status.
14796         (getImage (String)): Start image production.
14797         (getImage (URL)): Likewise.
14798
14799 2004-01-25  Michael Koch  <konqueror@gmx.de>
14800
14801         * java/lang/Class.java: Imports reworked, reformated.
14802         (Class): Javadoc added.
14803         (forName): Likewise.
14804         (getClasses): Likewise.
14805         (getClassLoader): Likewise.
14806         (getComponentType): Likewise.
14807         (getConstructor): Likewise.
14808         (getConstructors): Likewise.
14809         (getDeclaredConstructor): Likewise.
14810         (getDeclaredClasses): Likewise.
14811         (getDeclaredConstructors): Likewise.
14812         (getDeclaredField): Likewise.
14813         (getDeclaredMethod): Likewise.
14814         (getDeclaredMethods): Likewise.
14815         (getDeclaringClass): Likewise.
14816         (getField): Likewise.
14817         (getInterfaces): Likewise.
14818         (getMethod): Likewise.
14819         (getMethods): Likewise.
14820         (getModifiers): Likewise.
14821         (getName): Likewise.
14822         (getResource): Likewise.
14823         (getResourceAsStream): Likewise.
14824         (getSigners): Likewise.
14825         (setSigners): Likewise.
14826         (getSuperclass): Likewise.
14827         (isArray): Likewise.
14828         (isAssignableFrom): Likewise.
14829         (isInstance): Likewise.
14830         (isInterface): Likewise.
14831         (isPrimitive): Likewise.
14832         (newInstance): Likewise.
14833         (getProtectionDomain): Likewise.
14834         (toString): Likewise.
14835         (Class): Moved.
14836         (initializeClass): Likewise.
14837         (finalize): Likewise.
14838
14839 2004-01-24  Michael Koch  <konqueror@gmx.de>
14840
14841         * gnu/java/net/protocol/jar/Connection.java
14842         (hdrHash): Removed.
14843         (hdrVec): Removed.
14844         (gotHeaders): Removed.
14845         (getHeaderField): Removed.
14846         (getHeaderFields): Removed.
14847         (getHeaderFieldKey): Removed.
14848         (getKey): Removed.
14849         (getField): Removed.
14850         (getHeaders): Removed.
14851
14852 2004-01-24  Michael Koch  <konqueror@gmx.de>
14853
14854         * Makefile.am: Added library version to gtk peer lib.
14855         * Makefile.in: Regenerated.
14856
14857 2004-01-24  Michael Koch  <konqueror@gmx.de>
14858
14859         * java/util/zip/InflaterInputStream.java: Merged class documentation
14860         with classpath.
14861
14862 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
14863
14864         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
14865         header.  For __powerpc64__ provide the default-signal.h definitions
14866         for now.
14867         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
14868         instead of the dummy definitions.
14869         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
14870         (powerpc64*-*): Remove with_libffi_default.
14871         Only add -mminimal-toc for 64-bit compilations.
14872         * configure.in: Use powerpc-signal.h on powerpc64 as well.
14873         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
14874         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
14875         * configure: Rebuilt.
14876
14877 2004-01-23  Michael Koch  <konqueror@gmx.de>
14878
14879         * gnu/java/nio/FileLockImpl.java: Compile fixes.
14880
14881 2004-01-23  Michael Koch  <konqueror@gmx.de>
14882
14883         * java/lang/VMClassLoader.java: Reworked imports.
14884         
14885 2004-01-23  Michael Koch  <konqueror@gmx.de>
14886
14887         * javax/swing/AbstractAction.java: Reformated.
14888
14889 2004-01-23  Michael Koch  <konqueror@gmx.de>
14890
14891         * java/text/CollationElementIterator.java:
14892         (setText): New method.
14893
14894 2004-01-23  Michael Koch  <konqueror@gmx.de>
14895
14896         * gnu/java/nio/FileLockImpl.java:
14897         Fixed filename in copyright.
14898         (released): Removed.
14899         (finalize): New method.
14900         * gnu/java/nio/natFileLockImpl.cc
14901         (releaseImpl): Implemented.
14902         * java/nio/channels/FileChannelImpl.java:
14903         Reworked imports.
14904         (lock): Implemented.
14905         (lockImpl): New method.
14906         (tryLock): Implemented.
14907         (tryLockImpl): New method.
14908         * java/nio/channels/natFileChannelImpl.cc
14909         (lockImpl): New method.
14910         (tryLockImpl): New method.
14911
14912 2004-01-23  Michael Koch  <konqueror@gmx.de>
14913
14914         * java/io/FileDescriptor.java
14915         (lock): New method.
14916         (tryLock): New method.
14917         (unlock): New method.
14918         * java/io/natFileDescriptorEcos.cc
14919         (lock): New method.
14920         (tryLock): New method.
14921         (unlock): New method.
14922         * java/io/natFileDescriptorPosix.cc
14923         (lock): New method.
14924         (tryLock): New method.
14925         (unlock): New method.
14926         * java/io/natFileDescriptorWin32.cc
14927         (lock): New method.
14928         (tryLock): New method.
14929         (unlock): New method.
14930
14931 2004-01-23  Michael Koch  <konqueror@gmx.de>
14932
14933         * java/io/FileDescriptor.java
14934         (sync): Moved around, added javadoc.
14935         (valid): Likewise.
14936         (open): Likewise.
14937         (write): Likewise.
14938         (close): Likewise.
14939         (setLength): Likewise.
14940         (seek): Likewise.
14941         (getLength): Likewise.
14942         (getFilePointer): Likewise.
14943         (read): Likewise.
14944         (available): Likewise.
14945         (finalize): Likewise.
14946
14947 2004-01-23  Michael Koch  <konqueror@gmx.de>
14948
14949         * javax/swing/AbstractAction.java: Reformated.
14950         (getPropertyChangeListeners): New method.
14951         * javax/swing/AbstractCellEditor.java: Reformated.
14952         (getCellEditorListeners): New method.
14953         * javax/swing/DefaultListSelectionModel.java
14954         (listenerList): New field.
14955         (listeners): Removed.
14956         (get_listeners): Removed.
14957         (addListSelectionListener): Rewritten.
14958         (removeListSelectionListener): Rewritten.
14959         (getListSelectionListeners): New method.
14960         (getListeners): New method.
14961         * javax/swing/JComboBox.java: Imports reworked.
14962         (addActionListener): Implemented.
14963         (removeActionListener): Implemented.
14964         (addItemListener): Implemented.
14965         (removeItemListener): Implemented.
14966         (addPopupMenuListener): Implemented.
14967         (removePopupMenuListener): Implemented.
14968         (getActionListeners): New method.
14969         (getItemListeners): New method.
14970         (getPopupMenuListeners): New method.
14971
14972 2004-01-23  Michael Koch  <konqueror@gmx.de>
14973
14974         * gnu/java/net/protocol/http/Connection.java
14975         (connect): Don't initialize bufferedOutputStream if not needed.
14976         (sendRequest): Set property for content length if content is present.
14977         Write content only if present.
14978         (getOutputStream): Check if already connected, dont connect,
14979         initalize bufferedOutputStream if needed.
14980
14981 2004-01-23  Michael Koch  <konqueror@gmx.de>
14982
14983         * java/io/FileDescriptor.java
14984         (in, out, err): Added javadoc.
14985         (static): Merged loading code.
14986         (fd, position): Moved around.
14987
14988 2004-01-23  Michael Koch  <konqueror@gmx.de>
14989
14990         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
14991         New file.
14992
14993 2004-01-23  Michael Koch  <konqueror@gmx.de>
14994
14995         * java/lang/Class.java,
14996         java/lang/Object.java,
14997         java/lang/Thread.java: Merged copyright with classpath.
14998
14999 2004-01-23  Michael Koch  <konqueror@gmx.de>
15000
15001         * java/io/FileDescriptor.java: Merged copyright with classpath to
15002         start merging this class.
15003
15004 2004-01-22  Tom Tromey  <tromey@redhat.com>
15005
15006         PR libgcj/13107:
15007         * testsuite/libjava.lang/pr13107_2.xfail: New file.
15008         * testsuite/libjava.lang/pr13107_3.xfail: New file.
15009         * testsuite/libjava.lang/pr13107_3.java: New file.
15010         * testsuite/libjava.lang/pr13107_3.out: New file.
15011         * testsuite/libjava.lang/pr13107_2.java: New file.
15012         * testsuite/libjava.lang/pr13107_2.out: New file.
15013         * testsuite/libjava.lang/pr13107.java: New file.
15014         * testsuite/libjava.lang/pr13107.out: New file.
15015         * verify.cc (jsr_ptrs): Removed.
15016         (entry_points): Likewise.
15017         (struct subr_info): Likewise.
15018         (struct subr_entry_info): Likewise.
15019         (type_val::unused_by_subroutine_type): Likewise.
15020         (type::merge): Don't handle unused_by_subroutine_type.
15021         (type::print): Likewise.
15022         (state::flags): Removed.
15023         (state::subroutine): Likewise.
15024         (state::seen_subrs): Likewise.
15025         (state::NO_STACK): Likewise.
15026         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15027         (state): Updated all methods.
15028         (state::clean_subrs): Removed.
15029         (state::state): Removed `ret_semantics' flag.
15030         (state::copy): Likewise.
15031         (state::add_subr): Removed.
15032         (state::enter_subroutine): Likewise.
15033         (type::set_return_address): New method.
15034         (handle_jsr_insn): Set return address on the type.  Always
15035         invalidate PC after call.
15036         (check_nonrecursive_call): Removed.
15037         (~_Jv_BytecodeVerifier): Updated.
15038         (branch_prepass): Removed special handling of jsr.
15039         (note_branch_target): Likewise.
15040         (get_subroutine): Removed.
15041         (state::merge): Don't merge subroutines and don't handle
15042         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
15043         (state::note_variable): Removed.
15044         (state::is_unmerged_ret_state): Likewise.
15045         (state::print): Updated.
15046         (set_variable): Likewise.
15047         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
15048         and jsr_semantics arguments.  Updated for new reverification
15049         list.
15050         (pop_jump): Rewrote.
15051         (construct_primitive_array_type): Updated.
15052         (state::next): Removed.
15053         (INVALID_STATE): New define.
15054         (state::INVALID): Removed.
15055         (state::NO_NEXT): New value.
15056         (state::pc, state::next): New fields.
15057         (state::get_pc): New method.
15058         (next_verify_pc): Removed.
15059         (next_verify_state): New field.
15060         (verify_instructions_0): Always check for falling off end.
15061         (linked): New type.
15062         (linked_utf8): Removed.
15063         (states): Changed type.
15064         (type::state_mergeable_p): New method.
15065         (state::state_mergeable_p): Likewise.
15066         (handle_ret_insn): Removed most code.
15067         (state::reverify): New method.
15068         (add_new_state): Likewise.
15069         (state::set_pc): Likewise.
15070
15071 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
15072
15073         PR java/13733
15074         * testsuite/libjava.compile/PR13733.java: New file.
15075         * testsuite/libjava.compile/PR13733.xfail: New file.
15076
15077 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
15078             Michael Koch  <konqueror@gmx.de>
15079
15080         * javax/swing/table/DefaultTableCellRenderer.java
15081         (DefaultTableCellRenderer): Added javadoc for the class and for
15082         the constructor, Border instance, create an EmptyBorder.
15083         (UIResource): Removed the comment at the end of the class
15084         (setForeground): New method.
15085         (setBackground): New method.
15086         (updateUI): New method.
15087         (getTableCellRendererComponent): Rewritten with the help of
15088         dvholten and Stephane Meslin-Weber.
15089         (validate): New method.
15090         (repaint): New method.
15091         (firePropertyChange): New method.
15092         (setValue): New method.
15093
15094 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
15095
15096         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15097         (connectJObject): Replace printf calls with g_assert statements.
15098         Move property-notify-event signal connection to ...
15099         (connectSignals): Connect property-notify-event signal.  Iterate
15100         through the vbox's children to find layout.
15101
15102 2004-01-22  Graydon Hoare  <graydon@redhat.com>
15103         
15104         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
15105         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15106         Predicate static initialization on GtkToolkit.useGraphics2D().
15107         * java/awt/Component.java (processPaintEvent): Consume event.
15108         * javax/swing/AbstractButton.java: Reimplement, document.
15109         * javax/swing/DefaultButtonModel.java: Reimplement, document.
15110         * javax/swing/JComponent.java (paint): Use double buffer.
15111         (listenerList): Enable member.
15112         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15113         * javax/swing/JToggleButton.java 
15114         (JToggleButton): Modify model constructor.
15115         * javax/swing/SwingUtilities.java 
15116         (layoutCompoundLabel): Adjust arithmetic.
15117         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15118         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
15119         (getPreferredButtonSize): Include margins in calculation.
15120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15121         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15122         Receive up events from subordinate layout component.
15123
15124 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
15125
15126         * java/awt/Component.java (show): Set visible to true before
15127         showing the peer.
15128
15129 2004-01-21  Kim Ho  <kho@redhat.com>
15130
15131         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15132         Fix comments.
15133         (removeMenuBarPeer): Make package private.
15134         (setMenuBarPeer): Make package private.
15135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15136         (menubar_resize_cb): Mark attributes unused.
15137         (getMenuBarHeight): ditto.
15138
15139 2004-01-21  David Jee  <djee@redhat.com>
15140
15141         * java/awt/Container.java
15142         (LightweightDispatcher.handleEvent): Add an extra check to avoid
15143         dispatching MOUSE_ENTERED event twice. Translate the point for
15144         the mouse event target before dispatching the event.
15145
15146 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
15147
15148         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15149         lib_org_w3c_dom_la_LDFLAGS): New.
15150         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15151         * Makefile.in: Rebuilt.
15152
15153 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15154
15155         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15156         Calculate proper offsets for heavyweight components packed in
15157         lightweight containers.
15158
15159         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15160         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15161         (native create): Add width parameter.
15162         (create): Calculate text entry width based on current font's
15163         metrics and number of columns.  Set TextField's font if not
15164         already set.  Call native create.
15165         (gtkEntryGetBorderWidth): New native method.
15166         (gtkEntryGetSize): Remove method.
15167         (getMinimumSize): Call minimumSize.
15168         (getPreferredSize): Call preferredSize.
15169         (minimumSize): Calculate minimum size based on backing
15170         GtkEntry's borders, font metrics and number of columns.
15171         (preferredSize): Likewise for preferred size.
15172         (get_border_width): New static function.
15173
15174         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15175         Override GtkWindowPeer's setResizable method to account for menu
15176         bar height when setting the frame's size.
15177
15178 2004-01-19  Matthias Klose  <doko@debian.org>
15179
15180         * libtool-version: Increased `current' to 6.
15181
15182 2004-01-19  Kim Ho  <kho@redhat.com>
15183
15184         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15185         (connectJObject): Iterate through the vbox's children to find layout.
15186
15187 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15188
15189         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15190         isDispatchThread method to replace wrong test condition.
15191
15192 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15193
15194         * java/awt/EventQueue.java (pop): Prevent racing condition to add
15195         events to the queue out of order by acquiring locks in the proper
15196         order and not by releasing one before acquiring the other.
15197
15198 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15199
15200         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15201         visible so that dialog can be reused.
15202
15203 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15204
15205         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15206         events may be handled by any queue in the stack.
15207
15208 2004-01-19  Kim Ho  <kho@redhat.com>
15209
15210         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15211         MenuBarPeer parameter.
15212         (removeMenuBarPeer): New native method.
15213         (setMenuBar): Call remove if menu bar is null. Adjust insets
15214         appropriately.
15215         (postSizeAllocateEvent): New method. Called when menu bar size is
15216         allocated. Adjust insets and redo layout.
15217         (GtkFramePeer): Set menu bar during frame creation.
15218         (postConfigureEvent): Adjust position and size to accomodate
15219         menu bar.
15220         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15221         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15222         (addNotify): Create the peer if it doesn't exist and call addNotify
15223         for the menu's items.
15224         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15225         * java/awt/MenuItem.java (addNotify): Create the peer if it
15226         doesn't exist.
15227         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15228         (removeMenuBarPeer): New method. Remove menu bar on the current
15229         frame.
15230         (setMenuBarPeer): Add the menu bar to the current frame and the
15231         callback for size-allocate events on the menu bar.
15232         (getMenuBarHeight): Add menu bar parameter.
15233         (menubar_resize_cb): New callback method for postSizeAllocate events.
15234
15235         Also: Fix indentation on last ChangeLog entry.
15236
15237 2004-01-16  Kim Ho  <kho@redhat.com>
15238
15239         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15240         (gtkWidgetGetDimensions): Remove.
15241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15242         (gtkWidgetGetDimensions): Remove.
15243
15244 2004-01-16  Tom Tromey  <tromey@redhat.com>
15245
15246         * java/awt/Container.java: Typo and indentation fixes.
15247
15248         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15249         * java/lang/natVMClassLoader.cc: ...here.  New file.
15250         * Makefile.in: Rebuilt.
15251         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15252
15253 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15254
15255         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15256         Discard GDK_ENTER_NOTIFY related to ungrabs.
15257
15258 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15259
15260         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15261         is called for an intermediate queue.
15262
15263 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
15264
15265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15266         (window_property_changed_cb): Set id_set.
15267
15268 2004-01-16  Kim Ho  <kho@redhat.com>
15269
15270         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15271         it is a FileDialog and has dimensions of 0 by 0, then the initial
15272         size is set to size request plus insets.
15273         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15274         (gtkWidgetGetDimensions): Override method.
15275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15276         (gtkWidgetGetDimensions): Override method. Returns size request plus
15277         insets.
15278
15279 2004-01-16  Andrew Haley  <aph@redhat.com>
15280
15281         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15282         * sysdep/i386/locks.h: Likewise.
15283
15284 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15285
15286         * java/awt/EventDispatchThread.java (run): Stop running when
15287         interrupted.
15288         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15289         Reset the queue after transferring its contents.
15290         (push): Start a new dispatch thread if none is running.
15291
15292 2004-01-16  Olga Rodimina <rodimina@redhat.com>
15293
15294         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15295         (doPolygon): set fill rule of polygon to 
15296         WIND_EVEN_ODD by default.
15297
15298 2004-01-15  Olga Rodimina <rodimina@redhat.com>
15299
15300         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15301         Implemented rendering hints related methods.
15302         (getDefaultHints): New helper method. Returns
15303         default rendering hints.
15304         (walkPath): changed to normalize path if
15305         the KEY_STROKE_CONTROL key is in "normalize" mode.
15306         (draw3DRect): changed coordinates of rectangle by +0.5
15307         if in "normalize" mode.
15308
15309 2004-01-15  Tom Tromey  <tromey@redhat.com>
15310
15311         * Makefile.in: Rebuilt.
15312         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15313         (%.lo: %.java) Filter out StackTrace.lo.
15314
15315 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
15316
15317         * configure.in: Add in AC_PREREQ(2.13)
15318         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
15319         FIXME comment.
15320
15321 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
15322             Tom Tromey  <tromey@redhat.com>
15323
15324         PR libgcj/12001:
15325         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15326         array to superclass.
15327         (init): Changed interface; add URLs here.
15328         (initialize): New static method.
15329         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15330         (_Jv_RunMain): ... not here.
15331
15332 2004-01-14  Michael Koch  <konqueror@gmx.de>
15333
15334         * java/text/MessageFormat.java:
15335         Added descriptions to exceptions.
15336         This fixes PR libgcj/2429.
15337
15338 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15339
15340         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15341         (push): Make sure push is performed at the top of the thread stack.
15342
15343 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15344
15345         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15346         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15347         (native create): Add width and height parameters.  Set text
15348         view's size request according to new parameters.
15349         (create): Calculate text view size based on current font's
15350         metrics and number of rows and columns.  Set TextArea's font if
15351         not already set.  Call native create.
15352         (getMinimumSize): Call minimumSize.
15353         (getPreferredSize): Call preferredSize.
15354         (getHScrollbarHeight): New method.
15355         (getVScrollbarWidth): New method.
15356         (minimumSize): Calculate minimum size based on scrollbar
15357         visibility, scrollbar sizes, font metrics and number of rows and
15358         columns.
15359         (preferredSize): Likewise for preferred size.
15360         (gtkTextGetSize): Remove method.
15361
15362 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15363
15364         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15365         (initializeInsets): Remove method.
15366         (GtkComponentPeer): Initialize insets field.  Remove call to
15367         initializeInsets.
15368         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15369         Remove method.
15370         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15371         Remove method.
15372         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15373         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15374         (latestInsets): Remove field.
15375         (native create): Add insets parameter.  Call
15376         window_get_frame_extents.  Set the window's default size and
15377         size request based on its frame extents.
15378         (create): Initialize insets.
15379         (postInsetsChangedEvent): New method.
15380         (postConfigureEvent): Remove parameters top, left, bottom,
15381         right.  Remove insets-related logic.
15382         (connectJObject): Handle property-notify-event.
15383         (window_get_frame_extents, request_frame_extents,
15384         property_notify_predicate, window_property_changed_cb): New
15385         static functions.
15386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15387         (pre_event_handler): Remove insets-related logic for configure
15388         events.
15389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15390         Update postConfigureEvent signature.
15391
15392 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15393  
15394         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15395         to handle Window "Closing" events.
15396  
15397 2004-01-13  David Jee  <djee@redhat.com>
15398
15399         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15400         (setBackground): New method. Children with no explicitly-set
15401         background will be repainted with the parent container's new
15402         background color.
15403
15404 2004-01-13  David Jee  <djee@redhat.com>
15405
15406         * Makefile.am: Add BitwiseXORComposite.java.
15407         * Makefile.in: Regenerated.
15408         * gcj/Makefile.in: Regenerated.
15409         * include/Makefile.in: Regenerated.
15410         * testsuite/Makefile.in: Regenerated.
15411
15412 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15413
15414         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15415         not show modal dialogs twice and so that it allows showing a modal
15416         dialog from another modal dialog.
15417
15418 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15419
15420         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15421         and run secondary dispatch thread to process event queue while this
15422         thread is blocked.
15423
15424 2004-01-12  Graydon Hoare  <graydon@redhat.com>
15425
15426         * gnu/java/awt/gtk/GdkGraphics2D.java
15427         (static): Check GtkToolkit before initializing static state.
15428         (Graphics2D): Don't construct transform with 0.5 unit offset.
15429
15430 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
15431
15432         * gnu/java/awt/BitwiseXORComposite.java: Add.
15433         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15434         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15435         (BitwiseXORComposite): Remove inner class.
15436
15437 2004-01-11  Michael Koch  <konqueror@gmx.de>
15438
15439         * gnu/java/lang/reflect/TypeSignature.java
15440         (getEncodingOfClass): Documentation fixed.
15441         (getClassForEncoding): Give class loader to Class.forName().
15442         Documentation fixed.
15443
15444 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
15445
15446         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15447
15448 2004-01-11  Michael Koch  <konqueror@gmx.de>
15449
15450         * javax/swing/undo/StateEditable.java
15451         (RCSID): Removed redundant modifiers.
15452
15453 2004-01-10  Michael Koch  <konqueror@gmx.de>
15454
15455         * javax/print/attribute/EnumSyntax.java
15456         (getStringTable): Made protected.
15457         (getEnumValueTable): Likewise.
15458         * javax/print/attribute/standard/JobKOctetsProcessed.java
15459         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15460         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15461         (JobMediaSheetsCompleted): Made class final.
15462         * javax/print/attribute/standard/OutputDeviceAssigned.java
15463         (getName): Fixed typo.
15464         * javax/print/attribute/standard/RequestingUserName.java
15465         (serialVersionUID): Fixed value.
15466
15467 2004-01-10  Michael Koch  <konqueror@gmx.de>
15468
15469         * javax/swing/plaf/basic/BasicButtonUI.java,
15470         javax/swing/plaf/basic/BasicCheckBoxUI.java,
15471         javax/swing/plaf/basic/BasicListUI.java,
15472         javax/swing/plaf/basic/BasicOptionPaneUI.java,
15473         javax/swing/plaf/basic/BasicPanelUI.java,
15474         javax/swing/plaf/basic/BasicRadioButtonUI.java,
15475         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15476         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15477         javax/swing/plaf/basic/BasicViewportUI.java:
15478         Fixed import statements.
15479
15480 2004-01-10  Michael Koch  <konqueror@gmx.de>
15481
15482         * gnu/java/awt/image/ImageDecoder.java
15483         (produce): Made public.
15484         * gnu/java/awt/peer/GLightweightPeer.java,
15485         gnu/java/awt/peer/gtk/GtkToolkit.java:
15486         Reformated.
15487
15488 2004-01-10  Michael Koch  <konqueror@gmx.de>
15489
15490         * javax/swing/JRadioButtonMenuItem.java,
15491         javax/swing/JSeparator.java,
15492         javax/swing/JSplitPane.java,
15493         javax/swing/JTextPane.java,
15494         javax/swing/JToolBar.java,
15495         javax/swing/ListCellRenderer.java,
15496         javax/swing/ListModel.java,
15497         javax/swing/MenuElement.java,
15498         javax/swing/OverlayLayout.java,
15499         javax/swing/ProgressMonitor.java,
15500         javax/swing/ProgressMonitorInputStream.java,
15501         javax/swing/Renderer.java,
15502         javax/swing/RootPaneContainer.java,
15503         javax/swing/Scrollable.java,
15504         javax/swing/SingleSelectionModel.java,
15505         javax/swing/ToolTipManager.java,
15506         javax/swing/ViewportLayout.java,
15507         javax/swing/event/DocumentEvent.java,
15508         javax/swing/event/SwingPropertyChangeSupport.java,
15509         javax/swing/event/TreeSelectionEvent.java,
15510         javax/swing/event/UndoableEditEvent.java,
15511         javax/swing/text/AbstractDocument.java,
15512         javax/swing/text/AttributeSet.java,
15513         javax/swing/text/Caret.java,
15514         javax/swing/text/ComponentView.java,
15515         javax/swing/text/DefaultCaret.java,
15516         javax/swing/text/DefaultEditorKit.java,
15517         javax/swing/text/Document.java,
15518         javax/swing/text/EditorKit.java,
15519         javax/swing/text/GapContent.java,
15520         javax/swing/text/Keymap.java,
15521         javax/swing/text/MutableAttributeSet.java,
15522         javax/swing/text/PlainEditorKit.java,
15523         javax/swing/text/Segment.java,
15524         javax/swing/text/Style.java,
15525         javax/swing/text/StyledDocument.java,
15526         javax/swing/text/StyledEditorKit.java,
15527         javax/swing/text/TextAction.java,
15528         javax/swing/text/View.java: Fixed import statements.
15529
15530 2004-01-08  Graydon Hoare  <graydon@redhat.com>
15531
15532         * javax/swing/JLayeredPane.java: Rewrite to accomodate
15533         djee@redhat.com's recent inverse ordering of Container elements.
15534
15535 2004-01-09  Michael Koch  <konqueror@gmx.de>
15536
15537         * gnu/java/lang/ArrayHelper.java
15538         (equalsArray): Removed.
15539
15540 2004-01-09  Andrew Haley  <aph@redhat.com>
15541
15542         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15543         a Utf8Const field before looking at its class.
15544
15545 2004-01-09  Michael Koch  <konqueror@gmx.de>
15546
15547         * javax/print/attribute/standard/DocumentName.java,
15548         javax/print/attribute/standard/JobHoldUntil.java,
15549         javax/print/attribute/standard/JobMessageFromOperator.java,
15550         javax/print/attribute/standard/JobName.java,
15551         javax/print/attribute/standard/JobOriginatingUserName.java,
15552         javax/print/attribute/standard/OutputDeviceAssigned.java,
15553         javax/print/attribute/standard/PrinterInfo.java,
15554         javax/print/attribute/standard/PrinterLocation.java,
15555         javax/print/attribute/standard/PrinterMakeAndModel.java,
15556         javax/print/attribute/standard/PrinterMessageFromOperator.java,
15557         javax/print/attribute/standard/PrinterName.java,
15558         javax/print/attribute/standard/RequestingUserName.java: New files.
15559         * Makefile.am (javax_source_files): Added new files.
15560         * Makefile.in: Regenerated.
15561
15562 2004-01-09  Michael Koch  <konqueror@gmx.de>
15563
15564         * javax/swing/AbstractAction.java,
15565         javax/swing/AbstractSet.java,
15566         javax/swing/Action.java,
15567         javax/swing/ActionMap.java,
15568         javax/swing/BoundedRangeModel.java,
15569         javax/swing/ButtonModel.java,
15570         javax/swing/CellEditor.java,
15571         javax/swing/CellRendererPane.java,
15572         javax/swing/ComboBoxEditor.java,
15573         javax/swing/DebugGraphics.java,
15574         javax/swing/DefaultCellEditor.java,
15575         javax/swing/DefaultCellRenderer.java,
15576         javax/swing/DefaultComboBoxModel.java,
15577         javax/swing/DefaultDesktopManager.java,
15578         javax/swing/DefaultFocusManager.java,
15579         javax/swing/DefaultListCellRenderer.java,
15580         javax/swing/Icon.java,
15581         javax/swing/JButton.java,
15582         javax/swing/JCheckBoxMenuItem.java,
15583         javax/swing/JDesktopPane.java,
15584         javax/swing/JEditorPane.java,
15585         javax/swing/JMenu.java,
15586         javax/swing/JPanel.java,
15587         javax/swing/JPasswordField.java,
15588         javax/swing/JPopupMenu.java,
15589         javax/swing/JProgressBar.java: Reworked imports.
15590
15591 2004-01-09  Michael Koch  <konqueror@gmx.de>
15592
15593         * java/awt/geom/PathIterator.java
15594         (WIND_EVEN_ODD): Removed redundant modifiers.
15595         (WIND_NON_ZERO): Likewise.
15596         (SEG_MOVETO): Likewise.
15597         (SEG_LINETO): Likewise.
15598         (SEG_QUADTO): Likewise.
15599         (SEG_CUBICTO): Likewise.
15600         (SEG_CLOSE): Likewise.
15601         * java/awt/image/SinglePixelPackedSampleModel.java:
15602         Removed redundant semicolon.
15603         * java/io/ObjectInputStream.java
15604         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15605         * java/util/logging/Filter.java
15606         (isLoggable): Removed redundant modifier.
15607         * java/util/logging/LogManager.java:
15608         Removed redundant semicolon.
15609         * java/util/logging/XMLFormatter.java
15610         (format): Removed unused variable "key".
15611
15612 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
15613
15614         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15615         New name for the former setFile native method.
15616         (setFile): New method.
15617         (setDirectory): Implemented.
15618         (connectSignals): New native method.
15619         (setFilenameFilter): Improve comment.
15620         (getGraphics): Comment.
15621         (gtkHideFileDialog): New method.
15622         (gtkDisposeFileDialog): New method.
15623         (gtkSetFilename): New method.
15624         * java/awt/Dialog.java (show): Block on modal dialogs, but only
15625         for FileDialog for now.
15626         (hide): New method.
15627         (dispose): New method.
15628         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15629         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15630         deprecated creation functions.  Make dialog modal.  Add it to the
15631         window group.
15632         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15633         function.
15634         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15635         Rename to...
15636         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15637         name.
15638         (window_closed): New function.
15639         (ok_clicked): New function.
15640         (cancel_clicked): New function.
15641
15642 2004-01-08  Michael Koch  <konqueror@gmx.de>
15643
15644         * javax/swing/JLayeredPane.java: Revert changes to standard
15645         boilerplate, reworked imports.
15646
15647 2004-01-07  Tom Tromey  <tromey@redhat.com>
15648
15649         PR libgcj/13439:
15650         * verify.cc (state::merge): Copy changed locals out of subroutine
15651         in NO_STACK case.
15652         (state::FLAG_CHANGED): New const.
15653         (state::FLAG_UNUSED): Likewise.
15654         (state::local_changed): Removed.  Updated all users.
15655         (state::flags): New field.
15656         (state::merge): Added jsr_semantics argument, more logic.
15657         (push_jump_merge): Added jsr_semantics argument.
15658         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15659         merging through the jsr instruction.
15660
15661 2004-01-07  Tom Tromey  <tromey@redhat.com>
15662
15663         * scripts/MakeDefaultMimeTypes.java: Use \n, not
15664         backslash-newline.
15665
15666 2004-01-07  Graydon Hoare  <graydon@redhat.com>
15667
15668         * java/awt/Container.java (LightweightDispatcher): Implement.
15669         (visitChild): Reuse graphics object.
15670         (dispatchEventImpl): Optionally dispatch to lightweight.
15671         (addNotifyContainerChildren): Build LightweightDispatcher.
15672
15673 2004-01-07  David Jee  <djee@redhat.com>
15674
15675         * java/awt/Container.java
15676         (update): Clear only the clipped region, instead of clearing the
15677         entire Container.
15678         (visitChildren): Visit children in descending order.
15679
15680 2004-01-07  Michael Koch  <konqueror@gmx.de>
15681
15682         * java/lang/reflect/Array.java: Merged documentation with classpath.
15683
15684 2004-01-07  Michael Koch  <konqueror@gmx.de>
15685
15686         * java/text/CollationElementIterator.java
15687         (textIndex): Renamed from index.
15688         * java/text/CollationKey.java
15689         (collator): New member.
15690         (CollationKey): New argument for parent collator.
15691         (equals): Check for same collator, source string and key array.
15692         * java/text/RuleBasedCollator.java:
15693         Reformated.
15694         (RuleBasedCollator): Don't re-initialize frenchAccents with default
15695         value.
15696         (getCollationElementIterator): Rewritten.
15697         (getCollationKey): Added new argument to CollationKey constructor.
15698
15699 2004-01-07  Michael Koch  <konqueror@gmx.de>
15700
15701         * gnu/java/nio/DatagramChannelImpl.java
15702         (blocking): Removed.
15703         (DatagramChannelImpl): Call configureBlocking().
15704         (implConfigureBlocking): Dont initialize blocking.
15705         * gnu/java/nio/ServerSocketChannelImpl.java
15706         (blocking): Removed.
15707         (ServerSocketChannelImpl): Call configureBlocking().
15708         (implConfigureBlocking): Dont initialize blocking.
15709         * gnu/java/nio/SocketChannelImpl.java
15710         (blocking): Removed.
15711         (SocketChannelImpl): Call configureBlocking().
15712         (implConfigureBlocking): Dont initialize blocking.
15713         (connect): Use isBlocking().
15714         * java/nio/channels/spi/AbstractSelectableChannel.java
15715         (configureBlocking): Use blockingLock() instead of LOCK.
15716         Set blocking after successfully called implConfigureBlocking().
15717         (register): Use blockingLock() instead of LOCK.
15718
15719 2004-01-07  Michael Koch  <konqueror@gmx.de>
15720
15721         * java/net/ServerSocket.java (isBound): Fixed documentation.
15722
15723 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
15724
15725         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15726         (changeEvent): Create event object on demand.
15727         (DefaultBoundedRangeModel, toString, setValue, setExtent,
15728         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15729         fireStateChanged): Re-written.
15730         * javax/swing/event/EventListenerList.java: Reformatted, document
15731         typical usage.
15732         (toString): Implemented.
15733         (getListeners): Re-written.
15734         (remove): Re-written.
15735         (add): Re-written.
15736         (NO_LISTENERS): New singleton field.
15737         (listenerList): Declare as transient; document.
15738         (serialVersionUID): Document.
15739         (getListenerCount(Class)): More efficient implementation,
15740         also accepts null argument.  Improve Javadoc.
15741         (getListenerCount()): Remove unnecessary cast; docfix.
15742         * javax/swing/undo/UndoableEditSupport.java:
15743         Re-format, document.
15744         (UndoableEditSupport): Set realSource field. Improve documentation.
15745         (_postEdit): Iterate over cloned listener vector.
15746         (toString): Don't emit realSource.
15747         (beginUpdate, endUpdate): Support nested updates.
15748         (postEdit): Use compound edit if present.
15749
15750 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15751
15752         * java/awt/Container.java (swapComponents): Add forgotten
15753         function, required for JLayeredPane change.
15754
15755 2004-01-06  Michael Koch  <konqueror@gmx.de>
15756
15757         * java/text/CollationElementIterator.java: Reformated.
15758         (CollationElementIterator): Changed order of arguments.
15759         * java/text/RuleBasedCollator.java
15760         (RuleBasedCollator): Merged class documentation.
15761         (CollationElement): Added documentation.
15762         (compare): Reformated, renamed arguments.
15763         (equals): Likewise.
15764         (getCollationElementIterator): Likewise.
15765         (getCollationKey): Likewise.
15766
15767 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15768
15769         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
15770
15771 2004-01-06  Michael Koch  <konqueror@gmx.de>
15772
15773         * gnu/java/net/protocol/file/Connection.java:
15774         Reformated copyright.
15775         (hdrHash): Removed.
15776         (hdrVec): Removed.
15777         (gotHeaders): Removed.
15778         (getHeaderField): Removed.
15779         (getHeaderField): Removed.
15780         (getHeaderFieldKey): Removed.
15781         (getKey): Removed.
15782         (getField): Removed.
15783         (getHeaders): Removed.
15784
15785 2004-01-06  Michael Koch  <konqueror@gmx.de>
15786
15787         * javax/print/attribute/standard/DateTimeAtCompleted.java,
15788         javax/print/attribute/standard/DateTimeAtCreation.java,
15789         javax/print/attribute/standard/DateTimeAtProcessing.java,
15790         javax/print/attribute/standard/JobImpressionsCompleted.java,
15791         javax/print/attribute/standard/JobKOctets.java,
15792         javax/print/attribute/standard/JobKOctetsProcessed.java,
15793         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
15794         javax/print/attribute/standard/JobPrioritySupported.java: New files.
15795         * Makefile.am (javax_source_files): Added new files.
15796         * Makefile.in: Regenerated.
15797
15798 2004-01-06  Michael Koch  <konqueror@gmx.de>
15799
15800         * java/net/URLConnection.java
15801         (contentHandler): Removed.
15802         (locale): Removed.
15803         (getHeaderFields): Return an empty map instead of null.
15804         (getContent): Connect if needed, renamed "cType" to "type" and
15805         "contentHandler" to "ch" and made it a local variable.
15806         (getPermission): Don't use package in class name.
15807         (setDefaultRequestProperty): Fixed typo in documentation.
15808         (initializeDateFormats): Made locale a local variable.
15809
15810 2004-01-06  Michael Koch  <konqueror@gmx.de>
15811
15812         * java/lang/Package.java
15813         (getPackage): Get the current class loader directly.
15814         * java/lang/SecurityManager.java
15815         (currentLoadedClass): Dont iterate over class contexts.
15816         (classLoaderDepth): Don't check class loaders if everything is allowed.
15817
15818 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15819
15820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15821         (pre_event_handler): Set all insets to 0 when a Configure event
15822         is received for a GtkPlug.
15823         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
15824         Make handle long, not int.
15825         (EmbeddedWindow()): New constructor.
15826         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
15827         long, not int.
15828         (setHandle): New method.
15829         (getHandle): Return long, not int.
15830         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
15831         declaration.
15832         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
15833         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
15834         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
15835         argument to GdkNativeWindow.
15836         (construct): New method.
15837         (embed): New method.
15838
15839         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
15840         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
15841         (create(int, int)): New method.
15842         (create): Call new create method.
15843         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
15844         methods.
15845         (childResized): Remove native implementation.  Implement in
15846         Java.
15847         (getHScrollbarHeight, getVScrollbarWidth): Call
15848         gtk_widget_size_request to get scrollbar dimensions.
15849         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
15850         call getVScrollbarWidth and getHScrollbarHeight when vertical
15851         and horizontal scrollbars respectively are needed.
15852         (doLayout): Enlarge child if it is smaller than the viewport.
15853
15854 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15855
15856         * java/awt/Dialog.java (constructor): Accept null title as per spec.
15857         * java/awt/FileDialog.java (constructor): Throw exception on invalid
15858         argument as per spec.
15859
15860 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15861
15862         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
15863         (insert): Ditto.
15864         (remove): Ditto.  Also, Check for valid argument.
15865         (removeAll): Use peer interface method.
15866         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
15867         native add function.
15868         (nativeRemove): New name for native remove function.
15869         (getHistory): New native function.
15870         (constructor): Generate ItemEvent.
15871         (add): Ditto, if selection is changed.
15872         (remove): Ditto, ditto.
15873         (removeAll): Add implementation.
15874         (handleEvent): Remove.  Dead code.
15875         (choicePostItemEvent): Add comment.
15876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
15877         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
15878         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
15879         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
15880         comments and fix condition to change selection.
15881         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
15882         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
15883         remove all capability.
15884         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
15885         (item_activate): Add cast to remove compiler warning.
15886
15887 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15888
15889         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15890         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15891         (getPreferredSize): Call preferredSize.
15892         (preferredSize): Call gtkWidgetGetPreferredDimensions.
15893         (getMinimumSize): Call minimumSize.
15894         (minimumSize): Call gtkWidgetGetPreferredDimensions.
15895         (gtkWidgetGetDimensions): Return the peer widget's current size
15896         request.
15897         (gtkWidgetGetPreferredDimensions): Return the peer widget's
15898         natural size request.
15899
15900 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
15901
15902         Thanks to Brian Gough <bjg@network-theory.com>
15903         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
15904         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
15905
15906 2004-01-04  Matthias Klose  <doko@debian.org>
15907
15908         * aclocal.m4: Rebuilt using "aclocal -I .".
15909         * configure: Rebuilt.
15910
15911 2004-01-03  Per Bothner  <per@bothner.com>
15912
15913         * java/util/Date.java (parse):  Fix a number of problems.
15914         (skipParens):  Remove no-longer-needed method.
15915