Daily bump.
[official-gcc.git] / libjava / ChangeLog-2004
blob2e6438f9941fd483e5a193cf32bba4c27f76cefd
1 2004-12-31  Andreas Jaeger  <aj@suse.de>
3         * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
5 2004-12-20  Tom Tromey  <tromey@redhat.com>
7         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
8         Re-enable duplicate class registration error.
10         * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
11         * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
12         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
13         * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
14         get_multilibs.
15         (libjava_find_gij): Likewise.  Changed return result if gij not
16         found.
17         (test_libjava_from_javac): Updated.
19         PR java/15001
20         * testsuite/libjava.jni/iface.c: New file.
21         * testsuite/libjava.jni/iface.out: New file.
22         * testsuite/libjava.jni/iface.java: New file.
24 2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>
26         * include/config.h.in: Regenerate.
28 2004-12-10  Andrew Haley  <aph@redhat.com>
30         PR java/15001
31         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
32         abstract methods by name.
34 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
36         * java/util/IdentityHashMap.java (put): Replace mistaken use
37         of "<<" by "*".
39 2004-12-06  Tom Tromey  <tromey@redhat.com>
41         For PR java/14853:
42         * testsuite/libjava.compile/PR14853.java: New file.
43         * testsuite/libjava.compile/PR14853.xfail: New file.
45 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
47         PR libgcj/7305
48         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
49         * Makefile.am (install-data-local): Install headers into
50         $(gxx_include_dir) rather than $(includedir).
51         (AM_MAKEFLAGS): Pass down gxx_include_dir.
52         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
53         * include/Makefile.am (tool_include__HEADERS): Define this...
54         (include_HEADERS): ...instead of this.
55         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
56         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
58 2004-12-02  Tom Tromey  <tromey@redhat.com>
60         For PR java/16675:
61         * testsuite/libjava.compile/PR16675.java: New file.
63 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
65         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
66         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
67         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
69 2004-12-01  Tom Tromey  <tromey@redhat.com>
71         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
72         name.
73         (_Jv_ThreadRegister): Likewise.
74         (_Jv_MutexCheckMonitor): Likewise.
76         * link.cc: Include limits.h.
78 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
80         PR libgcj/18699
81         * testsuite/libjava.lang/PR18699.java,
82         testsuite/libjava.lang/PR18699.out: New test.
84 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
86         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
87         Update image observer.
88         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
89         Start image production.
90         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
91         against negative menu bar widths.
92         (setBounds): Likewise.
93         (postConfigureEvent): Likewise.
94         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
95         remove consumer unless only a single frame has completed.
96         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
97         Add observer parameter.
98         (setPixels): Update image observer.
99         (imageComplete): Likewise.
100         * java/applet/Applet.java (width): New field.
101         (height): Likewise.
102         (setStub): Set size if width or height field has been set.
103         (resize): If stub is null save width and height values.
104         * java/awt/Component.java (reshape): Protect against null
105         parent.
106         * java/awt/image/MemoryImageSource.java
107         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
108         Document.
109         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
110         Likewise.
111         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
112         Reference pixel array directly, rather than creating a local
113         copy.
114         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
115         Likewise.
116         (newPixels(int,int,int,int)): Fix for loop and array copy
117         bounds.
118         (newPixels(int,int,int,int,boolean)): Likewise.
119         (startProduction): If animated call imageComplete with
120         SINGLEFRAME.
121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
122         gdk_flush lines.
123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
124         (drawPixels): Return if g is null or g->drawable is not a gdk
125         drawable.
127 2004-11-30  Michael Koch  <konqueror@gmx.de>
129         * javax/swing/DefaultSingleSelectionModel.java,
130         javax/swing/JPasswordField.java,
131         javax/swing/tree/AbstractLayoutCache.java:
132         Reformatted and javadocs cleaned up.
134 2004-11-30  Michael Koch  <konqueror@gmx.de>
136         * java/awt/Component.java:
137         Fixed argument names to match javadocs.
138         (setFont): Rewritten set property first and then fire event.
139         (setLocale): Likewise.
140         * javax/swing/text/JTextComponent.java
141         (setEditable): Likewise.
143 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
145         * java/awt/Button.java
146         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
147         source of 'click'.
149 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
151         * java/awt/Checkbox.java: Remove stub comments.
153 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
155         * java/awt/Button.java
156         (AccessibleAWTButton.getAccessibleActionDescription): Return
157         'click'.
159 2004-11-30  Michael Koch  <konqueror@gmx.de>
161         * java/awt/CardLayout.java:
162         Made some constants static.
163         (serialVersionUID): Made private.
164         (addLayoutComponent): Simplified code.
165         * java/awt/event/InputEvent.java
166         (getModifiersEx): Added missing @param tag.
167         * java/awt/image/RGBImageFilter.java
168         (filterRGBPixels): Reformatted, removed wrong @param tag.
170 2004-11-30  Michael Koch  <konqueror@gmx.de>
172         * javax/swing/text/FieldView.java,
173         javax/swing/text/JTextComponent.java:
174         Removed debug code.
176 2004-11-30  Michael Koch  <konqueror@gmx.de>
178         * javax/swing/BorderFactory.java
179         (BorderFactory): Added private constructor.
180         * javax/swing/SwingUtilities.java
181         (SwingUtilities): Likewise.
182         (computeStringWidth): New method.
184 2004-11-30  Michael Koch  <konqueror@gmx.de>
186         * java/awt/color/ICC_Profile.java
187         (icSigNamedColorTag): Removed.
188         * java/awt/datatransfer/DataFlavor.java
189         (isMimeTypeEqual): Made final.
190         * java/awt/image/AffineTransformOp.java:
191         Reworked javadocs.
192         (TYPE_BICUBIC): Added @since tag.
194 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
196         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
197         comments.
199 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
201         * java/awt/Checkbox.java (itemStateChanged): Implement function.
202         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
204 2004-11-30  Sven de Marothy  <sven@physto.se>
206         * java/awt/Polygon.java (contains): Reimplemented.
208 2004-11-30  Michael Koch  <konqueror@gmx.de>
210         * java/awt/print/PrinterJob.java: Reformatted.
212 2004-11-30  Michael Koch  <konqueror@gmx.de>
214         * java/awt/image/AffineTransformOp.java,
215         java/awt/image/ColorConvertOp.java,
216         java/awt/image/LookupOp.java,
217         java/awt/image/RescaleOp.java:
218         Added final keywords where they belong.
220 2004-11-30  Michael Koch  <konqueror@gmx.de>
222         * java/awt/CardLayout.java,
223         java/awt/Component.java,
224         java/awt/Font.java,
225         java/awt/image/SinglePixelPackedSampleModel.java:
226         Fixed javadocs and argument names all over.
228 2004-11-30  Michael Koch  <konqueror@gmx.de>
230         * java/awt/image/DataBufferShort.java: Fixed file header.
231         * java/awt/image/DataBufferUShort.java: Likewise.
232         (DataBufferUShort): Throw NullPointerException if dataArray is null.
234 2004-11-30  Sven de Marothy  <sven@physto.se>
236         * java/awt/geom/Arc2D.java
237         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
238         (setAngles): Likewise.
239         (containsAngle): Return false on zero extent, don't include
240         final angle.
241         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
242         ones.
244 2004-11-30  Sven de Marothy  <sven@physto.se>
246         * java/awt/geom/AffineTransform.java,
247         (inverseTransform): Fixed bug and simplified code.
248         (createTransformedShape): Return null on null parameter.
250 2004-11-30  Michael Koch  <konqueror@gmx.de>
252         * java/awt/color/ICC_ColorSpace.java,
253         java/awt/color/ICC_Profile.java,
254         java/awt/color/ICC_ProfileGray.java,
255         java/awt/color/ICC_ProfileRGB.java:
256         Re-indent copyright header to be standardish.
257         * java/awt/datatransfer/StringSelection.java:
258         Reformatted.
259         * java/awt/geom/Area.java
260         (EPSILON): Made static.
261         (RS_EPSILON): Likewise.
262         (PE_EPSILON): Likewide.
264 2004-11-30  Sven de Marothy  <sven@physto.se>
266         * javax/swing/SwingUtilities.java:
267         (computeDifference): Implemented
268         (computeIntersection): Likewise
269         (computeUnion): Likewise
270         (isRectangleContainingRectangle): Likewise
272 2004-11-30  Michael Koch  <konqueror@gmx.de>
274         * java/awt/BasicStroke.java,
275         java/awt/Button.java,
276         java/awt/Canvas.java,
277         java/awt/CheckboxMenuItem.java,
278         java/awt/Container.java,
279         java/awt/EventQueue.java,
280         java/awt/FileDialog.java,
281         java/awt/FlowLayout.java,
282         java/awt/FontMetrics.java,
283         java/awt/Graphics.java,
284         java/awt/GridLayout.java,
285         java/awt/KeyboardFocusManager.java,
286         java/awt/Label.java,
287         java/awt/LayoutManager2.java,
288         java/awt/List.java,
289         java/awt/MenuBar.java,
290         java/awt/Scrollbar.java,
291         java/awt/Toolkit.java,
292         java/awt/Window.java,
293         java/awt/datatransfer/DataFlavor.java,
294         java/awt/datatransfer/FlavorTable.java,
295         java/awt/event/ActionListener.java,
296         java/awt/event/HierarchyBoundsAdapter.java,
297         java/awt/geom/Arc2D.java,
298         java/awt/geom/Rectangle2D.java,
299         java/awt/geom/RectangularShape.java,
300         java/awt/im/spi/InputMethod.java,
301         java/awt/image/ByteLookupTable.java,
302         java/awt/image/ColorModel.java,
303         java/awt/image/DirectColorModel.java,
304         java/awt/image/ShortLookupTable.java,
305         java/awt/print/Book.java:
306         Fixed javadocs and method argument names all over.
308 2004-11-30  Michael Koch  <konqueror@gmx.de>
310         * gnu/java/awt/peer/gtk/GdkFontPeer.java
311         (buildString): Optimise String building.
313 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
315         * java/awt/TextArea.java (AccessibleAWTTextArea,
316         getAccessibleContext): Implement.
317         * java/awt/TextField.java (AccessibleAWTTextField,
318         getAccessibleContext): Implement.
320 2004-11-30  Tom Tromey  <tromey@redhat.com>
322         * Makefile.in: Rebuilt.
323         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
324         Fixed typo.
326 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
328         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
329         Implement.
330         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
331         Implement.
333 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
335         * java/awt/print/PrinterJob.java (lookupPrintServices,
336         getPrintService, setPrintService): Implement.
337         (lookupStreamPrintServices): Add commented out implementation.
338         (printer): New field.
340 2004-11-30  Mark Wielaard  <mark@klomp.org>
342         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
343         when not yet set.
345 2004-11-30  Sven de Marothy  <sven@physto.se>
347         * java/awt/geom/GeneralPath.java (evaluateCrossings):
348         Fixed epsilon value, should always be nonzero.
350 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
352         * java/awt/image/Raster.java
353         (createPackedRaster): Implemented.
355 2004-11-30  Graydon Hoare  <graydon@redhat.com>
357         * javax/swing/plaf/basic/BasicTextUI.java:
358         Listen to focus events, indicate focus via caret.
359         * javax/swing/text/GapContent.java (getString): Return substring.
360         * javax/swing/text/PlainDocument.java (reindex): New method.
361         (createDefaultRoot): Call it.
362         (insertUpdate): Likewise.
363         (removeUpdate): Likewise.
364         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
365         on tab and newline, even if no painting happens.
367 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
369         * Makefile.am: List peer JNI header: Java source file
370         dependencies explicitly.  Likewise for JNI .lo: JNI header
371         dependencies.
372         * Makefile.in: Regenerate.
374 2004-11-30  Graydon Hoare  <graydon@redhat.com>
376         * Makefile.am: Add entry for BasicTextPaneUI.java
377         * Makefile.in: Regenerate.
378         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
379         (GdkGraphics2D): Set clip after transform.
380         (drawImage): Protect against null image.
381         * gnu/java/awt/peer/gtk/GtkFramePeer.java
382         (setIconImage): Protect against non-GtkImage args.
383         * gnu/java/awt/peer/gtk/GtkToolkit.java
384         (checkImage): Protect against non-GtkImage args.
385         * java/awt/print/PrinterJob.java:
386         (print): Add variant taking PrintRequestAttributeSet.
387         (printDialog): Likewise.
388         * javax/swing/JComponent.java:
389         (transferHandler): New field.
390         (getComponentGraphics): Build new Graphics for each sub-paint.
391         (getTransferHandler): New method.
392         (setTransferHandler): New method.
393         * javax/swing/JDesktopPane.java
394         (setDragMode): Force LIVE_DRAG_MODE.
395         * javax/swing/JMenuItem.java
396         (menuSelectionChanged): Protect against null parent.
397         * javax/swing/JTable.java (setDefaultRenderer): New method.
398         * javax/swing/JTree.java: Get basic ctors and UI working.
399         * javax/swing/JViewport.java (JViewport): Set scroll mode.
400         * javax/swing/RepaintManager.java
401         (addDirtyRegion): Skip empty regions.
402         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
403         bound scrollpane minimum by central view minimum.
404         * javax/swing/ToolTipManager.java
405         (showTip): Guard against null component.
406         * javax/swing/TransferHandler.java: Stub out.
407         * javax/swing/plaf/basic/BasicLookAndFeel.java:
408         Add entry for TextPaneUI, change Tree icons to pngs.
409         * javax/swing/plaf/basic/BasicMenuItemUI.java:
410         (installDefaults): Set text position and alignment.
411         (paintMenuItem): Layout icon with normal compound function.
412         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
413         (getMaximumSize): Delete.
414         (getMinimumSize): Delete.
415         (getPreferredSize): Use column model's total width.
416         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
417         * javax/swing/plaf/basic/BasicTextUI.java
418         (modelChanged): Make resilient against nulls.
419         * javax/swing/plaf/basic/BasicTreeUI.java:
420         Add some simplistic config / painting functions.
421         * javax/swing/plaf/basic/BasicViewportUI.java
422         (paintSimple): Add new non-backingstore paint mode.
423         (paintBackingStore): Split out backing store code.
424         (paint): Switch on painting mode.
425         * javax/swing/text/SimpleAttributeSet.java
426         (SimpleAttributeSet): Resist nulls.
427         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
428         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
430 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
433         Set pango context's description and language.
435 2004-11-30  Mark Wielaard  <mark@klomp.org>
437         * java/awt/image/LookupOp.java: Comments and indentation fixes.
439 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
441         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
442         (getAccessibleContext): Implement.
444 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
446         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
447         Implement.
448         (getIndexAtPoint, getCharacterBounds): New methods.
450 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
452         * java/awt/Button.java (AccessibleAWTButton): Implement.
454 2004-11-30  Mark Wielaard  <mark@klomp.org>
456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
457         (filenameFilterCallback): Made static.
459 2004-11-30  Michael Koch  <konqueror@gmx.de>
461         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
462         (cairoShowGlyphs) Removed.
464 2004-11-30  Sven de Marothy <sven@physto.se>
466         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
467         Don't invert matrix when reverse CLUT is available.
468         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
469         * java/awt/color/ICC_ColorSpace.java: Likewise.
470         * java/awt/color/ICC_Profile.java: Likewise.
471         * java/awt/color/ICC_ProfileGray.java: Likewise.
472         * java/awt/color/ICC_ProfileRGB.java: Likewise.
474 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
476         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
478 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
480         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
482 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
484         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
485         field hiding ComponentSampleModel.scanlineStride.
487 2004-11-30  Noa Resare  <noa@resare.com>
489         * java/awt/geom/GeneralPath.java (currentSegment):
490         Fix typo in transform.transform() invocation.
492 2004-11-30  Sven de Marothy <sven@physto.se>
494         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
495         (createImage): Created bitmap should be filled with bg color
497 2004-11-30  Noa Resare  <noa@resare.com>
499         * java/awt/Choice.java (add):
500         Implement correct selection behavior when peer == null.
501         (insert): Likewise.
502         (remove): Likewise.
504 2004-11-30  Mark Wielaard  <mark@klomp.org>
506         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
507         Call select() when Choice has a selected item.
509 2004-11-30  Michael Koch  <address@bogus.example.com>
511         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
512         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
513         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
514         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
515         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
516         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
517         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
518         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
519         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
520         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
521         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
522         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
523         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
524         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
525         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
526         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
527         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
528         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
529         Fixed method names to start at begin of line. This is desired by GNU
530         coding style guide.
532 2004-11-30  Michael Koch  <konqueror@gmx.de>
534         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
535         (gtkWidgetSetVisible): Unused. Removed.
536         (connectJObject): Likewise.
537         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
538         (gtkScrolledWindowSetScrollPosition): Commented out.
540 2004-11-30  Mark Wielaard  <mark@klomp.org>
542         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
543         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
544         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
546 2004-11-30  Mark Wielaard  <mark@klomp.org>
548         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
549         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
550         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
551         (init_dpi_conversion_factor): Correct prototype.
553 2004-11-30  Sven de Marothy  <sven@physto.se>
555         * java/awt/image/ConvolveOp.java: Added missing
556         copyright notice.
558 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
560         Fixes bug #10908
561         * gnu/java/beans/IntrospectionIncubator.java:
562         (addMethod): static methods are discarded now, too.
564 2004-11-30  Mark Wielaard  <mark@klomp.org>
566         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
567         java source files.
568         * Makefile.in: Regenerated.
570 2004-11-30  Sven de Marothy  <sven@physto.se>
572         * gnu/java/awt/color/CieXyzConverter.java,
573         gnu/java/awt/color/GrayScaleConverter.java,
574         gnu/java/awt/color/SrgbConverter.java,
575         gnu/java/awt/color/ClutProfileConverter.java,
576         gnu/java/awt/color/LinearRGBConverter.java,
577         gnu/java/awt/color/TagEntry.java,
578         gnu/java/awt/color/ColorLookUpTable.java,
579         gnu/java/awt/color/ProfileHeader.java,
580         gnu/java/awt/color/ToneReproductionCurve.java,
581         gnu/java/awt/color/ColorSpaceConverter.java,
582         gnu/java/awt/color/PyccConverter.java,
583         gnu/java/awt/color/GrayProfileConverter.java,
584         gnu/java/awt/color/RgbProfileConverter.java:
585         New files.
586         * java/awt/color/ICC_ColorSpace.java,
587         java/awt/color/ICC_Profile.java,
588         java/awt/color/ICC_ProfileGray.java,
589         java/awt/color/ICC_ProfileRGB.java:
590         Implemented (sans PhotoYCC color space).
592 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
594         * java/awt/image/AffineTransformOp.java (filter):  Implement
595         bilinear interpolation for Rasters.
597 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
599         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
600         use the provided colormap.  Throw documented exceptions.  Document
601         exceptions.
603 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
605         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
606         constructor.
608 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
610         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
612 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
614         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
615         filtering.
617 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
619         * java/awt/image/ComponentSampleModel.java (getDataElements,
620         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
622 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
624         * java/awt/Font.java (name): New field.
625         (size): Likewise.
626         (style): Likewise.
628 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
630         * java/awt/image/Raster.java (createBandedRaster): Implement.
632 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
634         * java/awt/image/ConvolveOp.java: New class.
635         * Makefile.am: Add ConvolveOp.
636         * Makefile.in: Regenerate.
638 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
640         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
641         LookupOp, RescaleOp): Fix loop bounds.
643 2004-11-30  jlquinn  <jlquinn@optonline.net>
645         * Makefile.am: Fix typo in BandCombineOp.
646         * Makefile.in: Regenerate.
648 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
650         * java/awt/image/BandCombineOp.java: New class.
651         * Makefile.am: Add BandCombineOp.
652         * Makefile.in: Regenerate.
654 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
656         * java/awt/image/LookupOp.java: New class.
657         * Makefile.am: Add LookupOp.
658         * Makefile.in: Regenerate.
660 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
662         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
663         javadocs.
665 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
667         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
668         wrap.  Use Boolean.valueOf.
670 2004-11-30  Michael Koch  <konqueror@gmx.de>
672         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
673         (releasePeerGraphicsResource): Fixed typo in method name.
674         * gnu/java/awt/peer/gtk/GdkFontPeer.java
675         (finalize): Fixed typo in releasePeerGraphicsResource.
677 2004-11-30  Michael Koch  <konqueror@gmx.de>
679         * java/awt/font/TextAttribute.java
680         (RUN_DIRECTION_LTR): Initialie with static value instead of
681         calculating it.
682         (RUN_DIRECTION_RTL): Likewise.
683         (STRIKETHROUGH_ON): Likewise.
684         (SWAP_COLORS_ON): Likewise.
686 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
688         * java/awt/image/ColorConvertOp.java: New class.
689         * java/awt/image/ColorModel.java (cloneColorModel): New method.
690         * Makefile.am: Add ColorConvertOp.
691         * Makefile.in: Regenerate.
693 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
695         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
696         Track Window focus owner on FOCUS_GAINED events.
698 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
701         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
703 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
706         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
707         Fix pointer warning.
709 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
712         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
713         Fix pointer warning.
715         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
716         warnings.
717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
718         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
719         to fix type punned pointer warning.
720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
721         Likewise.
723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
724         (window_get_new_state): Introduce unions to fix warnings as above.
725         (window_property_changed_cb): Likewise.
726         (window_active_state_change_cb): Mark unused variables unused.
727         (window_focus_state_change_cb): Likewise.
728         (window_focus_in_cb): Likewise.
729         (window_focus_out_cb): Likewise.
731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
732         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
733         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
735 2004-11-30  Michael Koch  <konqueror@gmx.de>
737         * javax/swing/JMenuBar.java
738         (updateUI): Simplified.
739         * javax/swing/tree/DefaultTreeSelectionModel.java:
740         Reorganized import statements.
742 2004-11-30  Michael Koch  <konqueror@gmx.de>
744         * java/awt/font/TextAttribute.java,
745         javax/swing/JComponent.java,
746         javax/swing/JInternalFrame.java,
747         javax/swing/table/TableColumn.java,
748         javax/swing/text/StyleConstants.java:
749         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
751 2004-11-30  Michael Koch  <konqueror@gmx.de>
753         * javax/swing/tree/DefaultTreeCellEditor.java,
754         javax/swing/tree/DefaultTreeModel.java,
755         javax/swing/tree/DefaultTreeSelectionModel.java:
756         Jalopied.
758 2004-11-30  Michael Koch  <konqueror@gmx.de>
760         * javax/swing/tree/DefaultTreeCellEditor.java
761         (EditorContainer.EditorContainer): Fixed arguments.
762         (EditorContainer.EditorContainer): New method.
763         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
764         (DefaultTextField.getBorder): Implemented.
765         (listenerList): New field.
766         (addCellEditorListener): Implemented.
767         (removeCellEditorListener): Implemented.
768         (getCellEditorListeners): New method.
769         * javax/swing/tree/DefaultTreeModel.java
770         (addTreeModelListener): Fixed javadoc.
771         (removeTreeModelListener): Likewise.
772         (getTreeModelListeners): New method.
773         (fireTreeNodesChanged): Implemented.
774         (fireTreeNodesInserted): Likewise.
775         (fireTreeNodesRemoved): Likewise.
776         (fireTreeStructureChanged): Likewise.
777         (getListeners): Fixed javadoc.
778         * javax/swing/tree/DefaultTreeSelectionModel.java
779         (addTreeSelectionListener): Implemented.
780         (removeTreeSelectionListener): Likewise.
781         (fireValueChanged): Likewise.
782         (getListeners): Likewise.
783         (addPropertyChangeListener): Likewise.
784         (removePropertyChangeListener): Likewise.
785         (getTreeSelectionListeners): New method.
786         (getPropertyChangeListeners): Likewise.
788 2004-11-30  Michael Koch  <konqueror@gmx.de>
790         * javax/swing/plaf/basic/BasicScrollBarUI.java
791         (maximumThumbSize): Removed static keyword.
792         (minimumThumbSize): Likewise.
793         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
794         (CloseAction): Made public.
795         (IconifyAction): Likewise.
796         (MaximizeAction): Likewise.
797         (MoveAction): Likewise.
798         (RestoreAction): Likewise.
799         (SizeAction): Likewise.
800         (SystemMenuBar): Likewise.
801         * javax/swing/plaf/basic/BasicSliderUI.java
802         (TrackListener): Likewise.
803         * javax/swing/plaf/basic/BasicSplitPaneUI.java
804         (KeyboardDownRightHandler): Likewise.
805         (KeyboardEndHandler): Likewise.
806         (KeyboardHomeHandler): Likewise.
807         (KeyboardResizeToggleHandler): Likewise.
808         (KeyboardUpLeftHandler): Likewise.
809         (PropertyHandler): Likewise.
810         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
811         (PropertyChangeHandler): Likewise.
812         (TabSelectionHandler): Likewise.
814 2004-11-30  Michael Koch  <konqueror@gmx.de>
816         * javax/swing/text/JTextComponent.java
817         (getKeymap): Made public.
819 2004-11-30  Michael Koch  <konqueror@gmx.de>
821         * javax/swing/JEditorPane.java
822         (getStream): Throws IOException.
823         (read): Likewise.
824         * javax/swing/JRootPane.java
825         (createContentPane): Fixed return type.
826         * javax/swing/JSpinner.java
827         (commitEdit): Throws ParseException.
828         * javax/swing/plaf/metal/MetalLookAndFeel.java
829         (serialVersionUID): New field.
830         * javax/swing/table/TableColumn.java
831         (resizedPostingDisableCount): Added @deprecated tag.
832         (disableResizedPosting): Likewise.
833         (enableResizedPosting): Likewise.
834         * javax/swing/text/Document.java
835         (TitleProperty): Fixed value.
836         * javax/swing/tree/TreeCellEditor.java
837         (TreeCellEditor): Extends CellEditor.
839 2004-11-30  Michael Koch  <konqueror@gmx.de>
841         * javax/swing/JWindow.java
842         javax/swing/SpinnerModel.java
843         javax/swing/Timer.java
844         javax/swing/event/MenuKeyEvent.java
845         javax/swing/plaf/basic/BasicButtonUI.java
846         javax/swing/plaf/basic/BasicIconFactory.java
847         javax/swing/plaf/basic/BasicTabbedPaneUI.java
848         javax/swing/text/AttributeSet.java
849         javax/swing/text/Highlighter.java
850         javax/swing/text/StyleConstants.java
851         javax/swing/tree/TreeCellEditor.java:
852         Removed redundant and reordered modifiers.
854 2004-11-30  Michael Koch  <konqueror@gmx.de>
856         * javax/swing/plaf/basic/BasicToolTipUI.java:
857         Reformatted copyright header.
859 2004-11-30  Michael Koch  <konqueror@gmx.de>
861         * javax/swing/AbstractAction.java,
862         javax/swing/AbstractButton.java,
863         javax/swing/AbstractCellEditor.java,
864         javax/swing/AbstractListModel.java,
865         javax/swing/AbstractSpinnerModel.java,
866         javax/swing/ActionMap.java,
867         javax/swing/BorderFactory.java,
868         javax/swing/Box.java,
869         javax/swing/ButtonModel.java,
870         javax/swing/CellEditor.java,
871         javax/swing/CellRendererPane.java,
872         javax/swing/DefaultBoundedRangeModel.java,
873         javax/swing/DefaultButtonModel.java,
874         javax/swing/DefaultCellEditor.java,
875         javax/swing/DefaultDesktopManager.java,
876         javax/swing/DefaultListCellRenderer.java,
877         javax/swing/DefaultListSelectionModel.java,
878         javax/swing/DefaultSingleSelectionModel.java,
879         javax/swing/GrayFilter.java,
880         javax/swing/InputMap.java,
881         javax/swing/JApplet.java,
882         javax/swing/JCheckBoxMenuItem.java,
883         javax/swing/JColorChooser.java,
884         javax/swing/JComboBox.java,
885         javax/swing/JComponent.java,
886         javax/swing/JDesktopPane.java,
887         javax/swing/JDialog.java,
888         javax/swing/JEditorPane.java,
889         javax/swing/JFileChooser.java,
890         javax/swing/JFormattedTextField.java,
891         javax/swing/JFrame.java,
892         javax/swing/JInternalFrame.java,
893         javax/swing/JLabel.java,
894         javax/swing/JLayeredPane.java,
895         javax/swing/JList.java,
896         javax/swing/JMenu.java,
897         javax/swing/JMenuBar.java,
898         javax/swing/JMenuItem.java,
899         javax/swing/JOptionPane.java,
900         javax/swing/JPanel.java,
901         javax/swing/JPasswordField.java,
902         javax/swing/JPopupMenu.java,
903         javax/swing/JRadioButtonMenuItem.java,
904         javax/swing/JRootPane.java,
905         javax/swing/JSpinner.java,
906         javax/swing/JSplitPane.java,
907         javax/swing/JTabbedPane.java,
908         javax/swing/JTable.java,
909         javax/swing/JTextArea.java,
910         javax/swing/JTextPane.java,
911         javax/swing/JToggleButton.java,
912         javax/swing/JToolBar.java,
913         javax/swing/JToolTip.java,
914         javax/swing/JTree.java,
915         javax/swing/JViewport.java,
916         javax/swing/ListModel.java,
917         javax/swing/LookAndFeel.java,
918         javax/swing/MenuSelectionManager.java,
919         javax/swing/ProgressMonitorInputStream.java,
920         javax/swing/RepaintManager.java,
921         javax/swing/RootPaneContainer.java,
922         javax/swing/ScrollPaneLayout.java,
923         javax/swing/SpringLayout.java,
924         javax/swing/SwingUtilities.java,
925         javax/swing/Timer.java,
926         javax/swing/ToolTipManager.java,
927         javax/swing/UIDefaults.java,
928         javax/swing/UIManager.java,
929         javax/swing/border/MatteBorder.java,
930         javax/swing/colorchooser/AbstractColorChooserPanel.java,
931         javax/swing/colorchooser/ColorSelectionModel.java,
932         javax/swing/colorchooser/DefaultColorSelectionModel.java,
933         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
934         javax/swing/colorchooser/DefaultPreviewPanel.java,
935         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
936         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
937         javax/swing/event/AncestorEvent.java,
938         javax/swing/event/HyperlinkEvent.java,
939         javax/swing/event/InternalFrameEvent.java,
940         javax/swing/event/MenuDragMouseEvent.java,
941         javax/swing/event/TableColumnModelEvent.java,
942         javax/swing/event/TableModelEvent.java,
943         javax/swing/event/TreeExpansionEvent.java,
944         javax/swing/event/TreeModelEvent.java,
945         javax/swing/event/TreeSelectionEvent.java,
946         javax/swing/event/TreeWillExpandListener.java,
947         javax/swing/event/UndoableEditEvent.java,
948         javax/swing/filechooser/FileView.java,
949         javax/swing/plaf/BorderUIResource.java,
950         javax/swing/plaf/ComponentUI.java,
951         javax/swing/plaf/FileChooserUI.java,
952         javax/swing/plaf/IconUIResource.java,
953         javax/swing/plaf/ListUI.java,
954         javax/swing/plaf/PopupMenuUI.java,
955         javax/swing/plaf/SplitPaneUI.java,
956         javax/swing/plaf/TabbedPaneUI.java,
957         javax/swing/plaf/TextUI.java,
958         javax/swing/plaf/TreeUI.java,
959         javax/swing/plaf/basic/BasicArrowButton.java,
960         javax/swing/plaf/basic/BasicBorders.java,
961         javax/swing/plaf/basic/BasicButtonUI.java,
962         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
963         javax/swing/plaf/basic/BasicColorChooserUI.java,
964         javax/swing/plaf/basic/BasicComboBoxEditor.java,
965         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
966         javax/swing/plaf/basic/BasicComboBoxUI.java,
967         javax/swing/plaf/basic/BasicComboPopup.java,
968         javax/swing/plaf/basic/BasicDesktopIconUI.java,
969         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
970         javax/swing/plaf/basic/BasicIconFactory.java,
971         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
972         javax/swing/plaf/basic/BasicInternalFrameUI.java,
973         javax/swing/plaf/basic/BasicListUI.java,
974         javax/swing/plaf/basic/BasicLookAndFeel.java,
975         javax/swing/plaf/basic/BasicMenuBarUI.java,
976         javax/swing/plaf/basic/BasicMenuItemUI.java,
977         javax/swing/plaf/basic/BasicMenuUI.java,
978         javax/swing/plaf/basic/BasicOptionPaneUI.java,
979         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
980         javax/swing/plaf/basic/BasicPopupMenuUI.java,
981         javax/swing/plaf/basic/BasicProgressBarUI.java,
982         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
983         javax/swing/plaf/basic/BasicRootPaneUI.java,
984         javax/swing/plaf/basic/BasicScrollBarUI.java,
985         javax/swing/plaf/basic/BasicSeparatorUI.java,
986         javax/swing/plaf/basic/BasicSliderUI.java,
987         javax/swing/plaf/basic/BasicSpinnerUI.java,
988         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
989         javax/swing/plaf/basic/BasicSplitPaneUI.java,
990         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
991         javax/swing/plaf/basic/BasicTableHeaderUI.java,
992         javax/swing/plaf/basic/BasicTableUI.java,
993         javax/swing/plaf/basic/BasicTextAreaUI.java,
994         javax/swing/plaf/basic/BasicTextFieldUI.java,
995         javax/swing/plaf/basic/BasicTextUI.java,
996         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
997         javax/swing/plaf/basic/BasicToolBarUI.java,
998         javax/swing/plaf/basic/BasicToolTipUI.java,
999         javax/swing/plaf/basic/BasicTreeUI.java,
1000         javax/swing/plaf/basic/BasicViewportUI.java,
1001         javax/swing/plaf/basic/ComboPopup.java,
1002         javax/swing/table/AbstractTableModel.java,
1003         javax/swing/table/DefaultTableCellRenderer.java,
1004         javax/swing/table/DefaultTableColumnModel.java,
1005         javax/swing/table/DefaultTableModel.java,
1006         javax/swing/table/JTableHeader.java,
1007         javax/swing/table/TableCellEditor.java,
1008         javax/swing/table/TableCellRenderer.java,
1009         javax/swing/table/TableColumn.java,
1010         javax/swing/table/TableColumnModel.java,
1011         javax/swing/text/AbstractDocument.java,
1012         javax/swing/text/Caret.java,
1013         javax/swing/text/DefaultCaret.java,
1014         javax/swing/text/DefaultEditorKit.java,
1015         javax/swing/text/DefaultHighlighter.java,
1016         javax/swing/text/EditorKit.java,
1017         javax/swing/text/JTextComponent.java,
1018         javax/swing/text/LayeredHighlighter.java,
1019         javax/swing/text/PasswordView.java,
1020         javax/swing/text/SimpleAttributeSet.java,
1021         javax/swing/text/StyleConstants.java,
1022         javax/swing/text/StyleContext.java,
1023         javax/swing/text/StyledEditorKit.java,
1024         javax/swing/text/TextAction.java,
1025         javax/swing/text/View.java,
1026         javax/swing/tree/AbstractLayoutCache.java,
1027         javax/swing/tree/DefaultTreeCellRenderer.java,
1028         javax/swing/tree/DefaultTreeModel.java,
1029         javax/swing/tree/DefaultTreeSelectionModel.java,
1030         javax/swing/tree/FixedHeightLayoutCache.java,
1031         javax/swing/tree/TreeCellRenderer.java,
1032         javax/swing/tree/TreeSelectionModel.java,
1033         javax/swing/tree/VariableHeightLayoutCache.java,
1034         javax/swing/undo/AbstractUndoableEdit.java,
1035         javax/swing/undo/UndoableEditSupport.java:
1036         Imports cleaned up.
1038 2004-11-30  Michael Koch  <konqueror@gmx.de>
1040         * java/awt/Container.java,
1041         java/awt/Font.java,
1042         java/awt/font/TextLayout.java:
1043         Imports cleaned up.
1045 2004-11-30  Michael Koch  <konqueror@gmx.de>
1047         * javax/swing/AbstractButton.java
1048         (getLabel): Added @deprecated tag.
1049         (setLabel): Likewise.
1050         * javax/swing/FocusManager.java
1051         (disableSwingFocusManager): Likewise.
1052         (isFocusManagerEnabled): Likewise.
1053         * javax/swing/JComponent.java
1054         (isManagingFocus): Added version to @deprecated tag.
1055         (getNextFocusableComponent): Moved @deprecated tag to bottom of
1056         javadoc.
1057         (getConditionForKeyStroke): Likewise.
1058         (getActionForKeyStroke): Likewise.
1059         * javax/swing/JDesktopPane.java
1060         (LIVE_DRAG_MODE): Added @specnote tag.
1061         (OUTLINE_DRAG_MODE): Likewise.
1062         * javax/swing/JInternalFrame.java
1063         (MENU_BAR_PROPERTY): Fixed value.
1064         (getMenuBar): Added @deprecated tag.
1065         (setMenuBar): Likewise.
1066         * javax/swing/JViewport.java
1067         (isBackingStoreEnabled): Likewise.
1068         (setBackingStoreEnabled): Likewise.
1069         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1070         (closeKey): Likewise.
1071         (maximizeKey): Likewise.
1072         (minimizeKey): Likewise.
1073         (navigateKey): Likewise.
1074         (navigateKey2): Likewise.
1075         * javax/swing/plaf/basic/BasicInternalFrameUI.java
1076         (openMenuKey): Likewise.
1077         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1078         (keyboardDownRightListener): Likewise.
1079         (keyboardEndListener): Likewise.
1080         (keyboardHomeListener): Likewise.
1081         (keyboardResizeToggleListener): Likewise.
1082         (keyboardUpLeftListener): Likewise.
1083         (dividerResizeToggleKey): Likewise.
1084         (downKey): Likewise.
1085         (endKey): Likewise.
1086         (homeKey): Likewise.
1087         (leftKey): Likewise.
1088         (rightKey): Likewise.
1089         (upKey): Likewise.
1090         (createKeyboardUpLeftListener): Likewise.
1091         (createKeyboardDownRightListener): Likewise.
1092         (createKeyboardHomeListener): Likewise.
1093         (createKeyboardEndListener): Likewise.
1094         (createKeyboardResizeToggleListener): Likewise.
1095         (getDividerBorderSize): Likewise.
1096         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1097         (downKey): Likewise.
1098         (leftKey): Likewise.
1099         (rightKey): Likewise.
1100         (upKey): Likewise.
1102 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1105         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1106         GTK_TEXT_VIEW macro.
1108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1109         (connect_awt_hook_cb): Mark unused variable unused.
1111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1112         Do the cast right.
1114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1115         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1116         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1117         Remove unused var menu.
1118         (selection_changed): Remove unused value.
1120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1121         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1122         warning with using an intermediate variable.
1124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1125         (area_updated): Fix unused var warning for BE archs.
1127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1128         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1129         var.
1130         (realize_cb): Mark unused variable unused.
1132         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1133         (seek_glyphstring_idx): Fix a C90 warning.
1135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1136         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1137         Mark unused arguments unused.
1139         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1140         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1141         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1142         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1143         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1144         Likewise.
1146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1147         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1148         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1149         Likewise.
1151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1152         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1153         Likewise.
1154         (filenameFilterCallback): Remove unused var.
1155         (handle_response): Declare str_fileName and remove last else statement.
1157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1158         New File.
1159         (nativeGetNumFontsFamilies) New function.
1160         (nativeGetFontFamilies) Likewise.
1161         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1162         (getAvailableFontFamilyNames): Implement.
1163         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1164         * Makefile.in: Regenerate.
1166 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1168         * gnu/java/awt/peer/ClasspathFontPeer.java
1169         (setStandardAttributes(String,Map)): If size attribute doesn't
1170         exist, default to size 12.  Clamp size value to a minimum of 1.
1172 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1174         * javax/swing/JDialog.java
1175         (decorated): Likewise.
1176         * javax/swing/JFrame.java
1177         (defaultLookAndFeelDecorated): Likewise.
1179 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1181         * javax/swing/plaf/basic/BasicToolBarUI.java
1182         (offset, regular): Made final.
1183         * javax/swing/plaf/basic/BasicScrollBarUI.java
1184         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1185         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1187 2004-11-30  Michael Koch  <konqueror@gmx.de>
1189         * gnu/java/awt/BitwiseXORComposite.java,
1190         gnu/java/awt/ClasspathToolkit.java,
1191         gnu/java/awt/image/XBMDecoder.java,
1192         gnu/java/awt/peer/GLightweightPeer.java,
1193         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1194         Reorganized import statements.
1196 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1198         * java/awt/Button.java
1199         (next_button_number): Removed useless initializer.
1200         * java/awt/Frame.java
1201         (next_frame_number): Likewise.
1202         * java/awt/Panel.java
1203         (next_panel_number): Likewise,
1204         * java/awt/Scrollbar.java
1205         (next_scrollbar_number): Likewise.
1206         * java/awt/TextArea.java
1207         (next_text_number): Likewise.
1209 2004-11-30  Michael Koch  <konqueror@gmx.de>
1211         * java/awt/image/ByteLookupTable.java
1212         (ByteLookupTable) :Fixed HTML entities in javadocs.
1213         (lookupPixel): Fix case when dst is null.
1214         * java/awt/image/ShortLookupTable.java
1215         (ShortLookupTable) :Fixed HTML entities in javadocs.
1216         (lookupPixel): Fix case when dst is null.
1217         * java/awt/image/DataBufferByte.java,
1218         java/awt/image/DataBufferDouble.java,
1219         java/awt/image/DataBufferFloat.java,
1220         java/awt/image/DataBufferInt.java,
1221         java/awt/image/DataBufferShort.java,
1222         java/awt/image/DataBufferUShort.java:
1223         Fix initialization of bankData in constructors.
1225 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1227         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1228         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1229         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1230         requests.
1231         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1232         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1233         (setNativeBounds): Make package private.  Set size request even
1234         if GTK parent is NULL.
1235         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1236         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1237         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1239 2004-11-30  Mark Wielaard  <mark@klomp.org>
1241         Workaround for bug #17952.
1242         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1243         (request_frame_extents): Check window->window != NULL.
1245 2004-11-30  Mark Wielaard  <mark@klomp.org>
1247         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1249 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1252         native_text_layout_state_table here.
1254         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1256 2004-11-30  Mark Wielaard  <mark@klomp.org>
1258         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1259         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1260         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1262 2004-11-30  Michael Koch  <konqueror@gmx.de>
1264         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1265         Merged import statements.
1267 2004-11-30  Michael Koch  <konqueror@gmx.de>
1269         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1270         (isBufferedImageGraphics): Simplified.
1272 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1274         * javax/swing/JTree.java
1275         (isRootVisible): Fixed typo in method name.
1276         * javax/swing/JScrollBar.java
1277         (setValues): Likewise.
1278         * javax/swing/JScrollPane.java
1279         (createScrollListener): Call JScrollBar.setValues.
1281 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1283         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1284         Don't call setParentAndBounds on GtkWindowPeers.
1286         * java/awt/Component.java (static): Don't set default keyboard
1287         focus manager.
1288         * java/awt/KeyboardFocusManager.java
1289         (getCurrentKeyboardFocusManager): If current keyboard focus
1290         manager is null set a default.
1292         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1293         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1294         (gtkWidgetSetBackground): New method.
1295         (block_expose_events_cb): New function.
1296         (connectSignals): Block the AWT's expose event processing on
1297         button press and release.
1298         (gtkSetLabel): Set text on proper widget.
1299         (gtkWidgetModifyFont): Modify font on proper widget.
1300         (gtkWidgetSetBackground): Set normal, active and prelight
1301         colours.
1302         (gtkWidgetSetForeground): Set forground colour of proper widget.
1303         (gtkActivate): Activate the correct widget.
1304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1305         Only clear rectangle if the backing component is not an event
1306         box.
1307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1308         (beginNativeRepaintID): New variable.
1309         (endNativeRepaintID): Likewise.
1310         (gtkInit): Initialize new fields with method IDs.
1311         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1312         (endNativeRepaintID): Likewise.
1314 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1316         * javax/swing/JList.java (init): Revert accidental commit.
1318         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1319         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1320         Call initComponentGraphics or connectSignals depending on
1321         component's realization status.
1322         (realize_cb): New function.
1323         (initComponentGraphics): New method.
1324         (connectSignals): New method.
1325         (clipRect): Return immediately if component is not realized.
1326         (setClip): Likewise.
1327         (translate): Likewise.
1328         (drawImage variants): Return false immediately if component is
1329         not realized.
1330         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1331         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1332         (connectSignals): New method.
1333         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1334         depending on component's realization status.  Move other
1335         initialization calls to ...
1336         (initComponentGraphics2D): New method.
1337         (realize_cb): New function.
1338         (cairoSetMatrix): Return immediately if gr is NULL.
1339         (cairoNewPath): Likewise.
1340         (cairoRectangle): Likewise.
1341         (cairoClip): Likewise.
1342         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1343         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1344         (gtkWidgetRepaintArea): Remove method.
1345         (isRealized): New method.
1346         (GtkComponentPeer): Move setParent, connectJObject and setCursor
1347         calls to setParentAndBounds.  Call setParentAndBounds.
1348         (setParentAndBounds): New method.
1349         (setComponentBounds): Return immediately if bounds are all zero.
1350         (repaint): Remove call to gtkWidgetRepaintArea.  Return
1351         immediately if requested paint region is 0x0.
1352         (setCursor): New method.
1353         (gtkWidgetSetParent): Only set widget's parent if its parent is
1354         currently NULL.
1355         (setNativeBounds): Only set widget's bounds if it has a parent.
1356         (connectSignals): Don't call gtk_widget_realize.  Connect
1357         "realize" signal to connect_awt_hook_cb handler.
1358         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1359         New field.
1360         (beginValidate): Set isValidating true.
1361         (endValidate): Set parents and bounds for children first, then
1362         for this.  Set isValidating false.
1363         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1364         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1365         (connectJObject): Remove method.
1366         (connectSignals): Don't call gtk_widget_realize.
1367         * gnu/java/awt/peer/gtk/GtkListPeer.java,
1368         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1369         (connectJObject): Remove method.
1370         (connectSignals): Don't call gtk_widget_realize.
1371         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1372         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1373         (connectJObject): Remove method.
1374         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1375         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1376         (connectJObject): Remove method.
1377         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1378         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1379         (create): Don't call gtk_widget_realize.
1380         (connectJObject): Remove method.
1381         (connectSignals): Don't call gtk_widget_realize.  Connect
1382         "realize" signal to connect_awt_hook_cb handler.
1383         (nativeSetBounds): Don't attempt to move GDK window if it is
1384         NULL.
1385         * java/awt/Container.java (addImpl): Don't call comp.addNotify
1386         if peer is not null.
1387         (validateTree): Create peers for all children before calling
1388         doLayout.
1389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1390         (connectSignals): Don't call gtk_widget_realize.
1391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1392         (connect_awt_hook_cb): New function.
1393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1394         (initComponentGraphicsID): New variable.
1395         (initComponentGraphics2DID): Likewise.
1396         (setCursorID): Likewise.
1397         (gtkInit): Initialize new fields with method IDs.
1398         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1399         extern.
1400         (initComponentGraphics2DID): Declare extern.
1401         (setCursorID): Likewise.
1402         (connect_awt_hook_cb): Declare function.
1404 2004-11-30  Michael Koch  <konqueror@gmx.de>
1406         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1407         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1408         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1409         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1410         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1411         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1412         gnu/java/awt/peer/gtk/GtkClipboard.java,
1413         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1414         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1415         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1416         gnu/java/awt/peer/gtk/GtkListPeer.java,
1417         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1418         gnu/java/awt/peer/gtk/GtkToolkit.java,
1419         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1420         Import statements reworked.  Some little reformattings.
1422 2004-11-30  Michael Koch  <konqueror@gmx.de>
1424         * java/awt/image/AffineTransformOp.java
1425         (TYPE_BILINEAR): Initialize with 2.
1426         * java/awt/print/Printable.java: Jalopied.
1427         (PAGE_EXISTS): Initialize with 0;
1428         (NO_SUCH_PAGE): Initialized with 1.
1430 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1432         * Makefile.am: Add BufferedImageFilter.java.
1433         * Makefile.in: Regenerate.
1435 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1438         (install_font_peer): Minor bug fixes to track cairo font semantics.
1440 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1442         * java/awt/image/BufferedImageFilter.java: Implement.
1444 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1446         * Makefile.am
1447         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1448         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1449         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1450         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1451         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1452         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1453         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1454         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1455         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1456         * Makefile.in: Regenerate.
1457         * gnu/awt/xlib/XToolkit.java
1458         (getClasspathTextLayoutPeer): Add stub.
1459         * gnu/java/awt/ClasspathToolkit.java
1460         (getClasspathTextLayoutPeer) Add.
1461         * gnu/java/awt/peer/ClasspathFontPeer.java
1462         (copyStyleToAttrs)
1463         (copySizeToAttrs): Make public.
1464         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1465         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1466         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1467         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1468         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1469         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1470         * gnu/java/awt/peer/gtk/GdkGraphics.java
1471         (getFontPeer): New function.
1472         (drawString): Pass font peer to native side.
1473         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1474         (cairoSetFont)
1475         (cairoShowGlyphs)
1476         (PainterThread): Remove.
1477         (GdkGraphics2D): Set hints during construction.
1478         (shifted)
1479         (walkPath)
1480         (draw)
1481         (setRenderingHint)
1482         (setRenderingHints): Reimplement normalization logic.
1483         (getDefaultHints)
1484         (updateBufferedImage)
1485         (isBufferedImageGraphics)
1486         (updateImagePixels)
1487         (drawImage): Make final.
1488         (drawImage): Always paint synchronously.
1489         (drawString)
1490         (drawGlyphVector): Rewrite.
1491         (releasePeerGraphicResource)
1492         (getPeerTextMetrics)
1493         (getPeerFontMetrics)
1494         (drawGdkGlyphVector)
1495         (drawGdkTextLayout)
1496         (cairoDrawGdkGlyphVector)
1497         (cairoDrawGdkTextLayout)
1498         (cairoDrawString)
1499         (getFontPeer): New functions.
1500         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1501         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1502         (getFontMetrics): Get metrics via toolkit, to hit cache.
1503         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1504         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1505         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1506         (fontCache)
1507         (metricsCache)
1508         (imageCache): New members.
1509         (getFontMetrics)
1510         (getImage)
1511         (getClasspathFontPeer): Use caches.
1512         (getFontPeer): Route through getClasspathFontPeer.
1513         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1514         * java/awt/font/TextLayout.java: Implement in terms of peer.
1515         * javax/swing/plaf/basic/BasicSliderUI.java
1516         (paintThumb): Use polyline rather than polygon.
1517         * javax/swing/plaf/basic/BasicGraphicsUtils.java:
1518         Update comment but, alas, still do not switch to using TextLayouts.
1519         * javax/swing/text/Utilities.java (drawTabbedText):
1520         Draw text run-at-a-time, not char-at-a-time.
1521         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1522         layout table.
1523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1525         Remove files.
1526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1527         incorporate brains of old GdkClasspathFontPeerMetrics.
1528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1529         incorporate brains of old GdkClasspathFontPeer.
1530         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1532         (drawString): Rewrite to use persistent layout in peer font.
1533         Comment out extraneous gdk_flush calls.
1534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1535         (metrics_cairo)
1536         (metrics_surface): New static variables.
1537         (paint_glyph_run)
1538         (install_font_peer): New helper functions.
1539         (releasePeerGraphicResource)
1540         (getPeerTextMetrics)
1541         (getPeerFontMetrics)
1542         (cairoDrawGdkTextLayout)
1543         (cairoDrawGdkGlyphVector): New native methods.
1544         (cairoDrawString): Rewrite, leaving layout-based version
1545         commented out for the time being.
1546         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1548 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1550         * java/awt/geom/AffineTransform.java:
1551         Fixed javadocs overall.
1553 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1555         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1556         it's correct.
1558 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1560         * java/awt/image/IndexColorModel.java: Fix use of immutable
1561         BigIntegers.
1563 2004-11-30  Tom Tromey  <tromey@redhat.com>
1565         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1566         Renamed from 'messageIcon'.
1567         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1569 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1571         * java/awt/image/RescaleOp.java: Fix formatting.
1573 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1575         * javax/swing/plaf/basic/BasicComboPopup.java
1576         (SCROLL_DOWN): made final.
1577         (SCROLL_UP): made final.
1579 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1581         * javax/swing/plaf/basic/BasicComboPopup.java:
1582         Added javadocs for undocumented fields.
1583         (show): scroll down to the selected item and
1584         highlight selected item.
1585         (startAutoScrolling): Implemented.
1586         (stopAutoScrolling): Implemented.
1587         (autoScrollUp): Implemented.
1588         (autoScrollDown): Implemented.
1589         (InvocationMouseHandler.mouseReleased): Implemented.
1590         (InvocationMouseMotionHandler.mouseDragged): Implemented.
1592 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1594         * java/awt/image/RescaleOp.java: Implement.
1596 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1598         * java/awt/image/IndexColorModel.java (getRGBs,
1599         convertToIntDiscrete): Implement.
1601 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1603         * java/awt/image/IndexColorModel.java: Add class docs.
1605 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1607         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1608         Implement.
1610 2004-11-30  Michael Koch  <konqueror@gmx.de>
1612         * java/awt/MenuBar.java,
1613         java/awt/peer/MenuBarPeer.java:
1614         Revert accidentally commited changes.
1616 2004-11-30  Michael Koch  <konqueror@gmx.de>
1618         * java/awt/AWTKeyStroke.java,
1619         java/awt/Canvas.java,
1620         java/awt/CardLayout.java,
1621         java/awt/CheckboxMenuItem.java,
1622         java/awt/Component.java,
1623         java/awt/Container.java,
1624         java/awt/DefaultKeyboardFocusManager.java,
1625         java/awt/EventDispatchThread.java,
1626         java/awt/FileDialog.java,
1627         java/awt/FlowLayout.java,
1628         java/awt/Font.java,
1629         java/awt/Frame.java,
1630         java/awt/Graphics2D.java,
1631         java/awt/GraphicsEnvironment.java,
1632         java/awt/GridBagConstraints.java,
1633         java/awt/GridBagLayout.java,
1634         java/awt/GridLayout.java,
1635         java/awt/Image.java,
1636         java/awt/KeyboardFocusManager.java,
1637         java/awt/Label.java,
1638         java/awt/List.java,
1639         java/awt/MediaTracker.java,
1640         java/awt/Menu.java,
1641         java/awt/MenuBar.java,
1642         java/awt/MenuComponent.java,
1643         java/awt/Panel.java,
1644         java/awt/PopupMenu.java,
1645         java/awt/ScrollPane.java,
1646         java/awt/Scrollbar.java,
1647         java/awt/SystemColor.java,
1648         java/awt/TextArea.java,
1649         java/awt/TextField.java,
1650         java/awt/Toolkit.java,
1651         java/awt/Window.java,
1652         java/awt/color/ICC_Profile.java,
1653         java/awt/datatransfer/DataFlavor.java,
1654         java/awt/datatransfer/StringSelection.java,
1655         java/awt/datatransfer/SystemFlavorMap.java,
1656         java/awt/dnd/Autoscroll.java,
1657         java/awt/dnd/DropTarget.java,
1658         java/awt/dnd/DropTargetContext.java,
1659         java/awt/dnd/DropTargetDragEvent.java,
1660         java/awt/dnd/peer/DropTargetContextPeer.java,
1661         java/awt/event/AdjustmentEvent.java,
1662         java/awt/event/InputEvent.java,
1663         java/awt/event/InvocationEvent.java,
1664         java/awt/event/KeyEvent.java,
1665         java/awt/event/MouseEvent.java,
1666         java/awt/font/TextLayout.java,
1667         java/awt/geom/GeneralPath.java,
1668         java/awt/geom/Point2D.java,
1669         java/awt/im/InputContext.java,
1670         java/awt/im/spi/InputMethodContext.java,
1671         java/awt/image/AffineTransformOp.java,
1672         java/awt/image/BufferedImage.java,
1673         java/awt/image/ColorModel.java,
1674         java/awt/image/ComponentColorModel.java,
1675         java/awt/image/CropImageFilter.java,
1676         java/awt/image/DirectColorModel.java,
1677         java/awt/image/MemoryImageSource.java,
1678         java/awt/image/PackedColorModel.java,
1679         java/awt/image/PixelGrabber.java,
1680         java/awt/image/RasterOp.java,
1681         java/awt/peer/MenuBarPeer.java:
1682         Some fixes for checkstyle. Import statement and modifier order
1683         redordering.
1685 2004-11-30  Michael Koch  <konqueror@gmx.de>
1687         * javax/swing/JTable.java
1688         (setModel): Reimplemented.
1690 2004-11-30  Michael Koch  <konqueror@gmx.de>
1692         * javax/swing/JTextArea.java
1693         (append): Re-implemented.
1694         (insert): Likewise.
1696 2004-11-30  Michael Koch  <konqueror@gmx.de>
1698         * javax/swing/JSpinner.java
1699         (serialVersionUID): New static field.
1700         * javax/swing/JToggleButton.java
1701         (JToggleButton): Fixed email addresses.
1702         * javax/swing/SpinnerNumberModel.java
1703         (serialVersionUID): Added javadoc.
1705 2004-11-30  Michael Koch  <konqueror@gmx.de>
1707         * javax/swing/JTextArea.java:
1708         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1709         bug here which is fixed in HEAD ...
1711 2004-11-30  Andrew John Hughes  <address@hidden>
1713         * javax/swing/JTextArea.java: Added additional
1714         documentation.
1716 2004-11-30  Andrew John Hughes  <address@hidden>
1718         * javax/swing/JRadioButton.java:
1719         Implemented additional constructors and accessibility
1720         classes.  Added documentation and fixed a typo in
1721         AbstractButton.
1723 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1725         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1726         missing constructor.
1728 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1730         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1731         Implement missing 1.4 constructor.
1733 2004-11-30  Andrew John Hughes  <address@hidden>
1735         * javax/swing/JToggleButton.java:
1736         Implemented additional constructors and accessibility
1737         classes.  Added documentation and fixed a typo in
1738         AbstractButton.
1740 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1742         * java/awt/image/ColorModel.java (getDataElement,
1743         getDataElements): Document since 1.4.
1745 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1747         * java/awt/image/BandedSampleModel.java: Implement.
1748         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1749         * Makefile.in: Regenerated.
1751 2004-11-30  Michael Koch  <konqueror@gmx.de>
1753         * java/awt/Window.java: Fixed whitespace difference with GNU
1754         classpath.
1756 2004-11-30  Mark Wielaard  <mark@klomp.org>
1758         * Makefile.am: Add javax/swing/SpinnerListModel.java.
1759         * Makefile.in: Regenerated.
1761 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1763         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1764         Implemented SpinnerListModel.  Added documentation to
1765         SpinnerModel.
1767 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1769         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1770         (init_dpi_conversion_factor): Apply the patch from main correctly.
1771         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1773 2004-11-30  Tom Tromey  <tromey@redhat.com>
1775         Bug 9948.
1776         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1777         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1778         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1779         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
1781 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1783         * java/awt/Canvas.java
1784         (AccessibleAWTCanvas): added serialization UID
1785         * java/awt/Label.java
1786         (AccessibleAWTLabel): added serialization UID
1787         * javax/swing/JRootPane.java
1788         (AccessibleJRootPane): added comment to existing UID
1789         * javax/swing/JSpinner.java
1790         (DefaultEditor): added serialization UID
1791         (NumberEditor): added serialization UID
1792         * javax/swing/text/html/HTML.java
1793         (UnknownTag): added serialization UID
1795 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1797         * javax/swing/JInternalFrame.java
1798         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
1799         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
1800         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
1801         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
1802         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1803         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
1804         Made final as per API spec.
1806 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1808         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
1810 2004-11-30  Sven de Marothy  <sven@physto.se>
1812         * java/awt/geom/Arc2D.java: Reformatted.
1813         (setArc): Correct documentation to say 'upper left corner'.
1814         (setArcByTangent,contains,intersects): Implemented.
1815         (containsAngle): Corrected to handle negative extents.
1816         (ArcIterator): Set to private.
1817         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
1818         (intersects): Fix: Now checks the arc segment.
1819         (contains): Cleaned up.
1820         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
1821         (contains): Implemented.
1822         (intersects): Implemented.
1823         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
1824         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
1825         document.  Fully (re)implemented using separate xpoints and ypoints
1826         float[] coords.
1828 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1830         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1831         * configure: Regenerate.
1832         * include/config.h.in: Likewise.
1833         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1835         macro to gtkpeer.h.
1836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1837         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1838         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1839         architectures.
1840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1841         Likewise.
1843 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1845         * java/awt/SystemColor.java: Fix @link doc entries.
1847 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1849         * java/awt/RenderingHints.java: Documented.
1850         (RenderingHints): Accept null init Map.
1851         (putAll): Preprocess map to generate appropriate exceptions.
1852         (remove): Cast object to Key and remove from hintMap.
1854 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1856         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
1857         Implementation of accessibility classes and methods
1858         for these two components.
1860 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1862         * java/awt/KeyboardFocusManager.java:
1863         Added missing documentation.
1865 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
1867         * java/awt/Label.java, java/awt/Canvas.java:
1868         Added accessibility classes to AWT Label and Canvas,
1869         as well as additional documentation for Canvas.
1871 2004-11-30  David Gilbert  <address@bogus.example.com>
1873         * java/awt/image/DataBuffer.java: Update API documentation.
1874         * java/awt/image/DataBufferByte.java: Likewise.
1875         * java/awt/image/DataBufferDouble.java: Likewise.
1876         * java/awt/image/DataBufferFloat.java: Likewise.
1877         * java/awt/image/DataBufferInt.java: Likewise.
1878         * java/awt/image/DataBufferShort.java: Likewise.
1879         * java/awt/image/DataBufferUShort.java: Likewise.
1881 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
1883         * java/awt/Component.java (postEvent):
1884         Only delegate to parent if a parent exists.
1885         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
1887 2004-11-30  Sven de Marothy  <sven@physto.se>
1889         *java/awt/AWTEventMulticaster.java,
1890         java/awt/Adjustable.java,
1891         java/awt/Point.java,
1892         java/awt/Polygon.java,
1893         java/awt/Rectangle.java,
1894         java/awt/Shape.java,
1895         java/awt/geom/Area.java,
1896         java/awt/geom/Ellipse2D.java,
1897         java/awt/geom/PathIterator.java,
1898         java/awt/geom/Point2D.java,
1899         java/awt/geom/Rectangle2D.java,
1900         java/lang/Comparable.java,
1901         java/util/Arrays.java:
1902         Fixed documentation errors
1904 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1906         * java/awt/image/ComponentSampleModel.java: Add documentation.
1909 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1911         * java/awt/image/ComponentSampleModel.java (constructor):
1912         Initialize numBanks when figuring out the max bank index.
1914 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1916         * java/awt/image/Raster.java (createPackedRaster): Implement
1917         MultiPixelPackedSampleModel codepath.
1919 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1921         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
1922         * Makefile.am: Add MultiPixelPackedSampleModel.java.
1923         * Makefile.in: Regenerate.
1925 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1927         * java/awt/image/Raster.java (getNumBands): Implement.
1929 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1931         * java/awt/image/Raster.java
1932         (createPackedRaster(int,int,int,int,int,Point)): Implement for
1933         bands>1.
1935 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1937         * java/awt/image/SinglePixelPackedSampleModel.java
1938         (SinglePixelPackedSampleModel): Throw exception for unsupported
1939         datatype.
1941 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1943         * java/awt/image/ColorModel.java (getDataElement): Implemented.
1944         Update javadoc.
1945         (getDataElements): Add missing version.  Remove bogus version.
1946         Update javadoc.
1948 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
1950         * javax/swing/plaf/basic/BasicComboBoxUI.java:
1951         (paintCurrentValue): Pass correct parameters to
1952         getListCellRendererComponent().
1953         (ListDataHandler.intervalRemoved): Implemented.
1954         (PropertyChangeHandler.propertyChange): Handle changes in
1955         MODEL_CHANGED_PROPERTY of the JComboBox
1956         * javax/swing/plaf/basic/BasicComboPopup.java:
1957         (BasicComboPopup): Moved code that configures popup to
1958         configurePopup() and call it instead.
1959         (firePopupMenuWillBecomeVisible): Implemented.
1960         (firePopupMenuWillBecomeInvisible): Likewise.
1961         (firePopupMenuCanceled): Likewise.
1962         (configureList): Set list's visibleRowCount same as
1963         comboBox's visibleRowCount.
1964         (configurePopup): Implemented.
1965         (getPopupHeightForRowCount): Get item's from JComboBox's model and
1966         not from model of the JList.
1967         (ListMouseMotionHandler.mouseMoved): Implemented.
1968         (PropertyChangeHandler.propertyChange): Handles change in the
1969         JComboBox's model.
1971 2004-11-30  Michael Koch  <konqueror@gmx.de>
1973         * javax/swing/JComponent.java
1974         (isMaximumSizeSet): New method.
1975         (isMinimumSizeSet): Likewise.
1976         (isPreferredSizeSet): Likewise.
1978 2004-11-30  Michael Koch  <konqueror@gmx.de>
1980         * javax/swing/JSpinner.java:
1981         Some Re-formatting.
1982         (spinner): New field.
1983         (DefaultEditor): New method.
1984         (getSpinner): Likewise.
1985         (NumberEdito): Likewise.
1986         (getModel): Likewise
1988 2004-11-30  Michael Koch  <konqueror@gmx.de>
1990         * javax/swing/InputVerifier.java:
1991         Re-formatted.
1992         * javax/swing/JComponent.java
1993         (inputVerifier): New property field.
1994         (getInputVerifier): New method.
1995         (setInputVerifier): Likewise.
1997 2004-11-30  Michael Koch  <konqueror@gmx.de>
1999         * javax/swing/JComponent.java
2000         (JComponent): Added javadoc comment.
2001         (setBorder): Fire property change eventr.
2002         (setEnabled): Likewise.
2003         (setMaximumSize): Likewise.
2004         (setMinimumSize): Likewise.
2005         (setPreferredSize): Likewise.
2006         (setOpaque): Likewise.
2008 2004-11-30  Michael Koch  <konqueror@gmx.de>
2010         * javax/swing/JTextField.java
2011         (action): New field.
2012         (actionCommand): Likewise.
2013         (actionPropertyChangeListener): Likewise.
2014         (setHorizontalAlignment): Abort soon if new value == old value. Fire
2015         event before repainting.
2016         (postActionEvent): New method.
2017         (getAction): Likewise.
2018         (setAction): Likewise.
2019         (getActionCommand): Likewise.
2020         (setActionCommand): Likewise.
2021         (createActionPropertyChangeListener): Likewise.
2022         (configurePropertiesFromAction): Likewise.
2024 2004-11-30  Michael Koch  <konqueror@gmx.de>
2026         * javax/swing/DebugGraphics.java:
2027         Re-formatted. Fixed some javadocs.
2028         * javax/swing/JApplet.java
2029         (rootPaneCheckingEnabled): Renamed from checking.
2030         * javax/swing/JCheckBox.java
2031         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2032         * javax/swing/JFrame.java:
2033         Re-formatted a bit and reordered some methods.
2034         (rootPaneCheckingEnabled): Renamed from checking.
2035         (getPreferredSize): Simplified.
2036         * javax/swing/JTextArea.java
2037         (getColumnWidth): New method.
2038         (getLineCount): Likewise.
2039         (getLineStartOffset): Likewise.
2040         (getLineEndOffset): Likewise.
2041         (getLineOfOffset): Likewise.
2042         (getRowHeight): Likewise.
2043         (insert): Likewise.
2044         (replaceRange): Likewise.
2045         * javax/swing/JTextField.java
2046         (scrollOffset): new field.
2047         (getScrollOffset): New method.
2048         (setScrollOffset): Likewise.
2049         (getColumnWidth): Likewise.
2050         * javax/swing/JTree.java
2051         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2052         (CELL_EDITOR_PROPERTY): Likewise.
2053         (CELL_RENDERER_PROPERTY): Likewise.
2054         (EDITABLE_PROPERTY): Likewise.
2055         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2056         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2057         (LARGE_MODEL_PROPERTY): Likewise.
2058         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2059         (ROOT_VISIBLE_PROPERTY): Likewise.
2060         (ROW_HEIGHT_PROPERTY): Likewise.
2061         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2062         (SELECTION_MODEL_PROPERTY): Likewise.
2063         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2064         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2065         (TREE_MODEL_PROPERTY): Likewise.
2066         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2067         (cellEditor): New field.
2068         (invokesStopCellEditing): Likewise.
2069         (largeModel): Likewise.
2070         (rowHeight): Likewise.
2071         (scrollsOnExpand): Likewise.
2072         (selectionModel): Likewise.
2073         (toggleClickCount): Likewise.
2074         (visibleRowCount): Likewise.
2075         (setShowsRootHandles): Fixed typo in method name.
2076         (getCellEditor): New method.
2077         (setCellEditor): Likewise.
2078         (getSelectionModel): Likewise.
2079         (setSelectionModel): Likewise.
2080         (getVisibleRowCount): Likewise.
2081         (setVisibleRowCount): Likewise.
2082         (isLargeModel): Likewise.
2083         (setLargeModel): Likewise.
2084         (getRowHeight): Likewise.
2085         (setRowHeight): Likewise.
2086         (getInvokesStopCellEditing): Likewise.
2087         (setInvokesStopCellEditing): Likewise.
2088         (getToggleClickCount): Likewise.
2089         (setToggleClickCount): Likewise.
2090         (getScrollsOnExpand): Likewise.
2091         (setScrollsOnExpand): Likewise.
2092         * javax/swing/table/DefaultTableColumnModel.java
2093         (addColumnModelListener): Fixed javadoc.
2094         (removeColumnModelListener): Implemented. Fixed javadoc.
2095         (getColumnModelListeners): New method.
2096         * javax/swing/table/JTableHeader.java
2097         (columnModel): Made protected.
2098         (draggedColumn): Likewise.
2099         (draggedDistance): Likewise.
2100         (reorderingAllowed): Likewise.
2101         (resizingAllowed): Likewise.
2102         (resizingColumn): Likewise.
2103         (table): Likewise.
2104         (updateTableInRealTime): Likewise.
2105         (createDefaultColumnModel): Renamed from
2106         createDefaultTableColumnModel.
2107         (setDefaultRenderer): New method.
2108         * javax/swing/table/TableColumn.java
2109         (getPropertyChangeListeners): New method.
2110         * javax/swing/text/DefaultHighlighter.java
2111         (drawsLayeredHighlights): New field.
2112         (getDrawsLayeredHighlights): New method.
2113         (setDrawsLayeredHighlights): Likewise.
2114         * javax/swing/text/DocumentFilter.java
2115         (FilterBypass): New inner class.
2116         (insertString): New method.
2117         (remove): Likewise.
2118         (replace): Likewise.
2119         * javax/swing/text/JTextComponent.java
2120         (dragEnabled): New field.
2121         (getSelectedText): New method.
2122         (getDragEnabled): Likewise.
2123         (setDragEnabled): Likewise.
2124         (replaceSelection): Reimplemented.
2125         * javax/swing/text/NavigationFilter.java
2126         (FilterBypass): New inner class.
2127         (NavigationFilter): New method.
2128         (moveDot): Likewise.
2129         (setDot): Likewise.
2130         * javax/swing/text/SimpleAttributeSet.java
2131         (EMPTY): Made public final.
2133 2004-11-30  Michael Koch  <konqueror@gmx.de>
2135         * javax/swing/SpinnerNumberModel.java
2136         (getMinimum): New method.
2137         (setMinimum): Likewise.
2138         (getMaximum): Likewise.
2139         (setMaximum): Likewise.
2140         (getStepSize): Likewise.
2141         (setStepSize): Likewise.
2143 2004-11-30  Michael Koch  <konqueror@gmx.de>
2145         * javax/swing/JMenu.java
2146         (getMenuListeners): New method.
2147         (fireMenuSelected): Simplified.
2148         * javax/swing/JRootPane.java
2149         (NONE): New static field.
2150         (FRAME): Likewise.
2151         (PLAIN_DIALOG): Likewise.
2152         (INFORMATION_DIALOG): Likewise.
2153         (ERROR_DIALOG): Likewise.
2154         (COLOR_CHOOSER_DIALOG): Likewise.
2155         (FILE_CHOOSER_DIALOG): Likewise.
2156         (QUESTION_DIALOG): Likewise.
2157         (WARNING_DIALOG): Likewise.
2158         (defaultButton): New field.
2159         (getDefaultButton): New method.
2160         (setDefaultButton): Likewise.
2161         * javax/swing/JScrollPane.java
2162         (getUI): New method.
2163         (setUI): Likewise.
2164         * javax/swing/JTable.java
2165         (getUI): Javadoc added.
2166         (setUI): New method.
2167         * javax/swing/JViewport.java
2168         (getUI): New method.
2169         (setUI): Likewise.
2170         * javax/swing/UIDefaults.java
2171         (removePropertyChangeListener): Made public.
2173 2004-11-30  Michael Koch  <konqueror@gmx.de>
2175         * javax/swing/JApplet.java, javax/swing/JFrame.java:
2176         Re-indented.
2178 2004-11-30  Michael Koch  <konqueror@gmx.de>
2180         * javax/swing/AbstractButton.java:
2181         Little re-formatting.
2182         (changeEvent): Made protected.
2183         (fireStateChanged): Removed argument.
2184         (setHorizontalAlignment): Abort method when old value is equal too new
2185         value.
2186         (setHorizontalTextPosition): Likewise.
2187         (setVerticalAlignment): Likewise.
2188         (setVerticalTextPosition): Likewise.
2189         (setBorderPainted): Likewise.
2190         (setIcon): Likewise.
2191         (setText): Likewise.
2192         (setIconTextGap): Likewise.
2193         (setMargin): Likewise.
2194         (setPressedIcon): Likewise.
2195         (setFocusPainted): Likewise.
2196         (setDisabledSelectedIcon): Likewise.
2197         (setRolloverIcon): Likewise.
2198         (setRolloverSelectedIcon): Likewise.
2199         (setSelectedIcon): Likewise.
2200         (setContentAreaFilled): Likewise.
2202 2004-11-30  Kim Ho  <kho@redhat.com>
2204         * javax/swing/plaf/basic/BasicArrowButton.java:
2205         Jalopy. Reimplement.
2206         * javax/swing/plaf/basic/BasicScrollBarUI.java:
2207         Jalopy.
2208         (arrowIcon, upIcon, downIcon, leftIcon,
2209         rightIcon): Removed.
2210         (createIncreaseButton): Use BasicArrowButton.
2211         (createDecreaseButton): Ditto.
2212         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2213         (createRightOneTouchButton): Remove button border.
2214         (createLeftOneTouchButton): Ditto.
2216 2004-11-30  Michael Koch  <konqueror@gmx.de>
2218         * javax/swing/JSpinner.java
2219         (setModel): New method.
2220         * javax/swing/SpringLayout.java
2221         (Constraints): May not be final.
2223 2004-11-30  Michael Koch  <konqueror@gmx.de>
2225         * gnu/java/awt/peer/gtk/GtkClipboard.java,
2226         java/awt/datatransfer/Clipboard.java,
2227         java/awt/datatransfer/ClipboardOwner.java:
2228         Reformated to make it use our coding standard.
2230 2004-11-30  Michael Koch  <konqueror@gmx.de>
2232         * javax/swing/SpinnerNumberModel.java
2233         (SpinnerNumberModel): Implements java.io.Serializable.
2234         (serialVersionUID): New field.
2235         (SpinnerNumberModel): Added missing @throws tags to javadocs.
2236         * javax/swing/UIManager.java
2237         (get): New method.
2238         (getBoolean): Likewise.
2239         (getBorder): Likewise.
2240         (getColor): Likewise.
2241         (getDimension): Likewise.
2242         (getFont): Likewise.
2243         (getIcon): Likewise.
2244         (getInsets): Likewise.
2245         (getInt): Likewise.
2246         (getString): Likewise.
2248 2004-11-30  Michael Koch  <konqueror@gmx.de>
2250         * javax/swing/JPasswordField.java:
2251         Reformated. Implemented construtors.
2252         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2253         (create): New method.
2254         * javax/swing/text/PlainView.java
2255         (selectedColor): Made package-private to allow access from sub-classes
2256         in same package too.
2257         (unselectedColor): Likewise.
2258         (font): Likewise.
2259         (drawSelectedText): Make protected.
2260         (drawUnselectedText): Likewise.
2261         * javax/swing/text/PasswordView.java: New file.
2262         * Makefile.am: Added javax/swing/text/PasswordView.java.
2263         * Makefile.in: Regenerated.
2265 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2267         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2268         bar's width.
2269         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2270         Add FIXME comment.
2271         (addHelpMenu): Elide call to nativeSetHelpMenu.
2272         * java/awt/Menu.java (isTearOff): Rename to tearOff.
2273         (menuSerializedDataVersion): Initialize to 1.
2274         (separatorLabel): Mark transient.
2275         (insert(MenuItem,int)): Implement.
2276         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2277         peer.
2278         (countMenus): Count help menu.
2279         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2280         accessibleContext): Add fields.
2281         * java/awt/MenuItem.java: Remove event mask FIXME.
2282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2283         (gtkWidgetModifyFont): Only set font if label is non-NULL.
2284         (setLabel): Don't treat "-" specially.
2286 2004-11-30  Kim Ho  <kho@redhat.com>
2288         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2289         (stateChanged): Only update the image and the track if
2290         the values are not being adjusted.
2291         (updateChooser): Grab the new mouse point from the
2292         spinner values. Update the image and track only if
2293         the values are not being adjusted.
2294         (getHSBValues): New method.
2295         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2296         (SliderHandler::stateChanged): Changed internalChange
2297         to updateChange. Set sliderChange.
2298         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2299         (spinnerChange): New variable.
2300         (sliderChange): Ditto.
2301         (updateChange): Renamed from internalChange.
2302         (updateChooser): Do not update sliders if the sliders
2303         were the original source of the change. Ditto for spinners.
2304         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2305         (mousePress): Don't scroll the JViewport if there will
2306         be extra space at the end of the run. Change layout() to
2307         revalidate().
2308         (calculateSize): Use the component's width/height unless
2309         it is smaller than the max tab width/height.
2310         (calculateTabRects): Subtract the tab run overlay.
2311         (rotateTabRuns): Don't rotate if there's only one run.
2312         (layoutContainer): Reuse the viewport point.
2313         (createLayoutManager): Set the viewport to use no layout.
2314         (paintTabArea): Don't paint the tabs that are not visible
2315         to the JViewport.
2316         (paintContentBorderTopEdge): Check for scroll tab layout before
2317         looking for gap.
2318         (paintContentBorderLeftEdge): Ditto.
2319         (paintContentBorderBottomEdge): Ditto.
2320         (paintContentBorderRightEdge): Ditto.
2322 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2324         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2325         Rename ...
2326         (gtkWidgetModifyFont): New method.
2327         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2328         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2329         (setMenuBarWidth): New method.
2330         (setBounds): Set the menu bar width.
2331         (postConfigureEvent): Set the menu bar width if the window's
2332         width has changed.
2333         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2334         Don't call create.
2335         (setFont): New method.
2336         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2337         method.
2338         (setFont): Likewise.
2339         (GtkMenuComponentPeer): Call create and setFont.
2340         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2342         (connectSignals): Make package private.
2343         (gtkWidgetModifyFont): New method.
2344         (create): Likewise.
2345         (GtkMenuItemPeer): Don't call create.
2346         (setFont): New method.
2347         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2348         condition.
2349         * java/awt/Container.java (validateTree): Fix comment typos.
2350         * java/awt/MenuComponent.java (getFont): Return parent's font if
2351         our font is null.
2352         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2353         (create): Remove call to deprecated
2354         gtk_check_menu_item_set_show_toggle function.
2356 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
2358         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2359         (Almost everywhere): add LOG calls, fix, add comments.
2360         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2361         Add explicit check for LOCKED bit in slow case (PR 16662).
2362         (_Jv_MonitorExit): Add casts in debug-only code.
2363         Always release LOCKED bit before throwing exception.
2364         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2365         isn't.  Handle easy cases without lock acquisition.
2366         (Object::wait): Use NotifyAll for lock inflation.
2368 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2370         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2371         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2372         (gtkFixedMove): Remove method.
2374 2004-11-30  Sven de Marothy  <sven@physto.se>
2376         * java/awt/geom/Area.java: Implemented.
2378 2004-11-30  Mark Wielaard  <mark@klomp.org>
2380         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2382 2004-11-30 Sven de Marothy <sven@physto.se>
2384         * java/awt/geom/Arc2D.java
2385         Reformatted.
2386         (setArc): Correct documentation to say 'upper left corner'.
2387         (setArcByTangent,contains,intersects): Implemented.
2388         (containsAngle): Corrected to handle negative extents.
2389         (ArcIterator): Set to private.
2390         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2391         * java/awt/geom/Ellipse2D.java
2392         Documented.
2393         (contains,intersects): Implemented.
2394         * java/awt/geom/Line2D.java
2395         (linesIntersect): Correct handling of special cases.
2397 2004-11-30  Mark Wielaard  <mark@klomp.org>
2399         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2400         Color.BLACK if c == null, don't create new Color object each time.
2401         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2402         field.
2403         (setColor): Use Color.BLACK when argument null.
2404         (setComposite): Set this.comp field.
2405         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2406         (DrawState.comp): New private field.
2407         (DrawState.save): Save Composite.
2408         (DrawState.restore): Restore comp field.
2409         * java/awt/FontMetrics.java (gRC): New static final private field.
2410         (getLineMetrics(String, Graphics)): New method.
2411         (getLineMetrics(String, int, int, Graphics)): Likewise.
2412         (getLineMetrics(char[], int, int, Graphics)): Likewise.
2413         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2414         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2415         argument. PR SWING/17294.
2416         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2417         the fall-back code since none of the TextArea methods are really
2418         implemented now. PR SWING/17296.
2419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2420         (GdkGlyphVector_setChars): Replace assert() with if block when
2421         pango_itemize() returns null. PR AWT/17295.
2422         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2424 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2426         * Makefile.am (gtk_c_source_files): Add
2427         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2428         * Makefile.in: Regenerate.
2429         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2430         comment.
2431         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2432         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2433         (create): Pack GtkButton in GtkEventBox.
2434         (connectJObject): Remove.
2435         (focus_in_cb): New function.
2436         (focus_out_cb): Likewise.
2437         (connectSignals): Connect focus-in-event and focus-out-event
2438         signals.
2439         (gtkSetFont): Rename to ...
2440         (gtkWidgetModifyFont): New method.
2441         (gtkWidgetRequestFocus): New method.
2442         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2443         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2444         (gtkSetFont): Rename to ...
2445         (gtkWidgetModifyFont): New method.
2446         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2447         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2448         (isInRepaint): New field.
2449         (gtkSetFont): Remove method.
2450         (addExposeFilter): Likewise.
2451         (removeExposeFilter): Likewise.
2452         (gtkWidgetQueueDrawArea): Rename to ...
2453         (gtkWidgetRepaintArea): New method.
2454         (beginNativeRepaint): New method.
2455         (endNativeRepaint): New method.
2456         (setComponentBounds): Move implementation here from
2457         GtkComponentPeer.
2458         (paint): Remove implementation.
2459         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2460         beginNativeRepaint and endNativeRepaint.
2461         (setBounds): Use menu bar height in bounds calculation.
2462         (postExposeEvent): Only post paint event if we're not doing a
2463         native repaint.
2464         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2465         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2466         (find_gtk_layout): Remove function.
2467         (filter_expose_event_handler): Likewise.
2468         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2469         Likewise.
2470         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2471         (setComponentBounds): Call GtkComponentPeer's
2472         setComponentBounds.
2473         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2474         New method.
2475         (moveLayout): Rename to ...
2476         (gtkFixedMove): New method.
2477         (gtkLayoutSetVisible): Rename to ...
2478         (gtkFixedSetVisible): New method.
2479         (setMenuBar): Rearrange, to make the three separate cases
2480         clearer.
2481         (postExposeEvent): Only post paint event if we're not doing a
2482         native repaint.
2483         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2484         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2485         (gtkWidgetModifyFont): New method.
2486         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2487         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2488         Call run directly, rather than spawning a new thread.
2489         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2490         Likewise.
2491         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2492         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2493         Rename to ...
2494         (gtkWidgetModifyFont): New method.
2495         (create): Rename ebox to eventbox.
2496         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2497         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2498         Rename to ...
2499         (gtkWidgetModifyFont): New method.
2500         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2501         (GtkMenuComponentPeer): Set the default font.
2502         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2503         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2504         (gtkSetFont): Rename to ...
2505         (gtkWidgetModifyFont): New method.
2506         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2508         * java/awt/Component.java (locale): Initialize to default
2509         locale.
2510         * java/awt/Container.java (invalidateTree): Make
2511         package-private.
2512         (paint): Paint self first.
2513         (setMenuBar): Call invalidateTree.
2514         * java/awt/Panel.java (dispatchEventImpl): Remove method.
2515         * java/awt/Window.java (show): Call no-parameter variant of
2516         requestFocusInWindow.
2517         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2518         Remove special case for window widget.
2519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2520         (grab_current_drawable): Likewise.
2521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2522         (create): Replace GtkLayout with GtkFixed.
2523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2524         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2526         Move all GtkFramePeer native method implementations here from
2527         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2529         Replace GtkLayout with GtkFixed.
2530         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2531         (find_layout): Remove function.
2532         (create): Replace GtkLayout with GtkFixed.
2533         (connectSignals): Remove find_layout call.
2534         (toBack): Replace XFlush with gdk_flush.
2535         (toFront): Replace XFlush with gdk_flush.
2536         Move GtkFramePeer native method implementations to
2537         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2538         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2540 2004-11-30  Michael Koch  <konqueror@gmx.de>
2542         * javax/swing/JTextArea.java
2543         (lineWrap): Renamed from "wrapping".
2544         (wrapStyleWord): NEw field.
2545         (getLineWrap): Re-edited javadoc comment.
2546         (setLineWrap): Likewise.
2547         (getWrapStyleWord): New method.
2548         (setWrapStyleWord): Likewise.
2550 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2552         * configure: Regenerate for libtool change.
2554 2004-11-29  Tom Tromey  <tromey@redhat.com>
2556         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2557         Recognize --help and --version.
2558         (usage): Mention gcj-dbtool.  Added "out" argument.
2559         (insist): Updated.
2561 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
2563         * link.cc (link_symbol_table): Do not use intptr_t.
2565 2004-11-28  Mark Wielaard  <mark@klomp.org>
2567         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2568         XMLDecoder tests which currently don't compile.
2570 2004-11-27  Andrew Haley  <aph@redhat.com>
2572         * link.cc (ensure_class_linked): Conditionally compile
2573         _Jv_IsInterpretedClass on INTERPRETER.
2574         (print_class_loaded): Likewise.
2575         (wait_for_state): Likewise.
2576         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2577         * include/java-interp.h (ROUND): Remove.
2579 2004-11-25  Tom Tromey  <tromey@redhat.com>
2581         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2582         * java/lang/Class.h (_Jv_Linker): Declare.
2583         (Class): Fix names of friends.
2584         (_Jv_getInterfaceMethod): Declare.
2586 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2588         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2589         variable libjava_ld_library_path.
2590         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2592 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
2594         * java/util/ResourceBundle.java (BundleKey): Don't implement
2595         Cloneable.
2596         (BundleKey.clone): Removed.
2597         (getBundle): Copy BundleKey using constructor, not clone().
2599 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2601         * configure: Regenerate for libtool reversion.
2603 2004-11-25  Michael Koch  <konqueror@gmx.de>
2605         * Makefile.am: Added most of javax.print again.
2606         * Makefile.in: Regenerated.
2608 2004-11-25  Michael Koch  <konqueror@gmx.de>
2610         * Makefile.am: Added most of javax.print again.
2611         * Makefile.in: Regenerated.
2613 2004-11-24  Tom Tromey  <tromey@redhat.com>
2615         * Merged gcj-abi-2-dev-branch to trunk.
2617 2004-11-16  Tom Tromey  <tromey@redhat.com>
2619         * include/java-interp.h (_Jv_DefineClass): Updated.
2620         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2621         domain to class reader.
2622         * defineclass.cc (parse): Use print_class_loaded.
2623         Include ProtectionDomain.h.
2624         (_Jv_DefineClass): Added ProtectionDomain argument.
2625         (_Jv_ClassReader): Likewise.
2626         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2627         * link.cc: Include CodeSource.h.
2628         (print_class_loaded): New function.
2629         (wait_for_state): Use it.
2631 2004-11-16  Andrew Haley  <aph@redhat.com>
2633         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2635 2004-11-16  Andrew Haley  <aph@redhat.com>
2637         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2638         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2639         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2640         * configure: Regenerate.
2641         * Makefile.in: Regenerate.
2643 2004-11-15  Andrew Haley  <aph@redhat.com>
2645         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2646         gc-allocated object.
2648 2004-11-15  Andrew Haley  <aph@redhat.com>
2650         * java/net/URLClassLoader.java
2651         (URLLoader.getClassPath): New method.
2652         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2653         attribute and add URLs for each entry.
2654         (JarURLLoader.classPath): New field.
2655         (JarURLLoader.getClassPath): New method.
2656         (addURLImpl): Scan through the list of extraUrls in the new
2657         loader, adding them to our urlinfos.
2658         (definePackage, findURLResource, findResources): Use
2659         urlinfos.size(), not urls.size().
2661 2004-11-11  Tom Tromey  <tromey@redhat.com>
2663         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2664         method.
2665         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2666         linked.
2667         (ensureSupersLinked): Declare.
2668         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2669         linked.
2671 2004-11-10  Tom Tromey  <tromey@redhat.com>
2673         * gij.cc (main): Treat -verbose the same as -verbose:class.
2674         (help): Document -verbose and -verbose:class.
2676         * link.cc (verbose_class_flag): Declare.
2677         (wait_for_state): Print message when handling precompiled class.
2678         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2680 2004-11-09  Tom Tromey  <tromey@redhat.com>
2682         * testsuite/libjava.lang/assign2.out: New file.
2683         * testsuite/libjava.lang/assign2.java: New file.
2685         * java/lang/natRuntime.cc (insertSystemProperties): Set
2686         java.version to 1.4.2 and java.specification.version to 1.4.  Set
2687         java.runtime.version.
2689 2004-11-08  Tom Tromey  <tromey@redhat.com>
2691         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2692         supers installed.
2693         * link.cc (verify_type_assertions): Don't link supers.
2695         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2696         * include/java-interp.h (class _Jv_InterpClass)
2697         <_Jv_PrepareMissingMethods>: No longer `friend'.
2698         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2699         `friend'.
2700         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2701         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2702         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2703         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2704         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2705         * link.cc (search_method_in_class): Renamed from
2706         _Jv_SearchMethodInClass.
2707         (resolve_pool_entry): Updated.
2709         * include/jvm.h (_Jv_CheckAssignment): Removed.
2710         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2712 2004-11-05  Tom Tromey  <tromey@redhat.com>
2714         * link.cc (verify_type_assertions): Ensure classes have supers
2715         linked.  Strip off array types first.
2717 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
2719         * link.cc: Include VerifyError.h.
2720         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2721         in the type assertion table.
2722         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2723         verify_type_assertions.
2724         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2725         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
2726         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2727         assertion code values.
2728         (struct _Jv_TypeAssertion): Declare.
2729         (assertion_table): New class field.
2730         (verify): Remove class field.
2732 2004-11-05  Andrew Haley  <aph@redhat.com>
2734         * Makefile.am: Move jv_dbtool.java to
2735         gnu/gcj/tools/gcj_dbtool/Main.java.
2736         * Makefile.in: Rebuild.
2737         * java/lang/VMCompiler.java: Rename property
2738         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2739         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2740         jv_dbtool.java.
2742 2004-11-05  Andrew Haley  <aph@redhat.com>
2744         * jv_dbtool.java (main): Allow the user to specify the size of the
2745         database.  Display the capacity and the size.
2746         (usage): Show the new option.
2748 2004-11-04  Tom Tromey  <tromey@redhat.com>
2750         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2751         * link.cc (make_vtable): Use correct index when searching for
2752         missing method's name.  Don't use `flags'.
2753         (set_vtable_entries): Removed `flags' argument.  Don't recurse
2754         into superclasses.
2755         (link_symbol_table): Ensure target class method table is
2756         complete.  Ensure target fields are laid out before entering
2757         loop.
2759         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2760         fix.
2762         * interpret.cc (do_verify): Don't verify abstract methods.
2764 2004-11-01  Tom Tromey  <tromey@redhat.com>
2766         * link.cc (wait_for_state): Call verify_class.
2768         * verify.cc (state::check_no_uninitialized_objects): Removed.
2769         (push_jump): Updated.
2770         (push_exception_jump): Likewise.
2771         (handle_ret_insn): Likewise.
2772         (handle_jsr_insn): Likewise.
2774 2004-10-28  Andrew Haley  <aph@redhat.com>
2776         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2777         * jv_dbtool.java: New file.
2778         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2779         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2780         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
2781         * Makefile.in: Regenerate,
2782         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
2783         Enumeration, StringTokenizer, Vector, PersistentByteMap.
2784         (precompiledMapFiles): New variable.
2785         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
2786         initialize precompiledMapFiles.
2787         (compileClass): Look at the database of precompiled class files
2788         before firing up gcj.
2790         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
2792 2004-10-27  Andrew Haley  <aph@redhat.com>
2794         * java/lang/VMCompiler.java (compileClass): try looking for
2795         precompiledMapFiles.
2796         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2798 2004-10-27  Tom Tromey  <tromey@redhat.com>
2800         * link.cc (ensure_class_linked): Only resolve classes for
2801         compiled classes.
2802         (add_miranda_methods): Ensure interface supers are installed.
2803         (resolve_pool_entry): Better error message.
2805 2004-10-25  Tom Tromey  <tromey@redhat.com>
2807         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
2809         * java/util/ResourceBundle.java (tryBundle): Use
2810         Class.isAssignableFrom rather than catching ClassCastException.
2812         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
2813         exception if we hit EOF of `in'.
2814         (read): Handle case where inflating returns -1.
2816         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
2817         initialize `iter'.
2818         * gnu/java/text/SentenceBreakIterator.java
2819         (SentenceBreakIterator): Don't initialize `iter'.
2820         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
2821         initialize `iter'.
2822         * gnu/java/text/CharacterBreakIterator.java
2823         (CharacterBreakIterator): Don't initialize `iter'.
2824         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
2825         constructor.
2826         * java/text/BreakIterator.java: Updated documentation.
2828 2004-10-20  Tom Tromey  <tromey@redhat.com>
2830         * java/util/ResourceBundle.java (tryBundle): Also ignore
2831         ClassCastException.
2833 2004-10-18  Tom Tromey  <tromey@redhat.com>
2835         * interpret.cc (do_post_miranda_hook): New method.
2836         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
2837         New field.
2838         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
2839         (_Jv_CompiledEngine): Initialize new field.
2840         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
2841         (_Jv_InterpreterEngine): Initialize new field.
2842         * link.cc (resolve_pool_entry): Put Miranda methods in target
2843         class.
2844         (ensure_method_table_complete): Call post_miranda_hook.
2845         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
2846         aux_info.
2847         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
2848         (parse): Set class' aux_info here.
2850         * boehm.cc (_Jv_MarkObj): Mark `throws'.
2852         * boehm.cc: Re-merged with trunk.
2854 2004-10-18  Andrew Haley  <aph@redhat.com>
2856         PR java/18036:
2857         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2858         and correct logic used to find interpreter.
2860 2004-10-13  Andrew Haley  <aph@redhat.com>
2862         * interpret.cc (_Jv_InterpMethod::run): Initialize
2863         _Jv_StartOfInterpreter.
2864         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2865         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2866         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2867         _Unwind_FindEnclosingFunction to discover whether PC is within the
2868         interpreter.
2870 2004-10-13  Tom Tromey  <tromey@redhat.com>
2872         * link.cc (find_iindex): Copy correct number of slots to new
2873         ioffsets.
2875 2004-10-12  Tom Tromey  <tromey@redhat.com>
2877         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
2878         proc.
2879         (gcj_loader_test_one): Use it.
2880         (gcj_loader_run): Likewise.
2882         * prims.cc: Don't include FirstThread.h.
2884 2004-10-06  Tom Tromey  <tromey@redhat.com>
2886         * link.cc (ensure_method_table_complete): Ensure superclass
2887         Miranda methods installed.
2889         * include/java-interp.h (class _Jv_JNIMethod): Added
2890         JV_MARKOBJ_DECL as a friend.
2891         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
2892         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
2893         interpreter method structures.  Mark jni_arg_types of JNI
2894         methods.
2896         * defineclass.cc (parse): Use JV_STATE_READ.
2897         * java/lang/Class.h (JV_STATE_READ): New enum value.
2899 2004-10-05  Tom Tromey  <tromey@redhat.com>
2901         * link.cc (resolve_pool_entry): Add signature info to missing
2902         method's information.
2904         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
2905         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
2907 2004-10-04  Tom Tromey  <tromey@redhat.com>
2909         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
2910         marking IDT.
2912 2004-09-29  Tom Tromey  <tromey@redhat.com>
2914         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
2915         resolve.cc.
2916         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
2917         * jni.cc: Use _Jv_Linker.
2918         * interpret.cc: Use _Jv_Linker.
2919         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
2920         * java/lang/natClassLoader.cc: Use _Jv_Linker.
2921         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
2922         * java/lang/Class.h: Use _Jv_Linker.
2923         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
2924         * resolve.cc: Renamed ...
2925         * link.cc: ... here.  Use _Jv_Linker.
2926         * defineclass.cc (checkExtends): Use _Jv_Linker.
2928 2004-09-17  Tom Tromey  <tromey@redhat.com>
2930         * defineclass.cc (handleCodeAttribute): Don't reference
2931         `deferred'.
2932         (handleMethodsEnd): Likewise.
2933         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
2934         field.
2935         (_Jv_Defer_Resolution): Don't declare or define.
2936         * interpret.cc (do_create_ncode): Don't resolve deferred method
2937         pointers.
2938         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
2939         * resolve.cc (link_symbol_table): No need to defer resolution.
2941 2004-09-14  Tom Tromey  <tromey@redhat.com>
2943         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
2944         (_Jv_MarkObj): Updated.
2945         (_Jv_MarkArray): Likewise.
2947         * include/jvm.h (StringClass): Removed.
2948         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
2949         * interpret.cc (_Jv_InitField): Don't use StringClass.
2950         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
2951         StringClass.
2952         (rehash): Likewise
2953         (intern): Likewise.
2954         (_Jv_FinalizeString): Likewise.
2955         (_Jv_NewStringUtf8Const): Likewise.
2956         (equals): Likewise.
2957         * prims.cc (JvConvertArgv): Don't use StringClass.
2959         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
2960         * resolve.cc (ensure_fields_laid_out): Don't mention
2961         COMPACT_FIELDS.
2962         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
2963         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
2965         * java/lang/reflect/natField.cc (getType): Use resolve_field.
2966         * java/lang/natVMClassLoader.cc (resolveClass): New native
2967         implementation.
2968         (linkClass0): Removed.
2969         (markClassErrorState0): Likewise.
2970         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
2971         preparation code to resolve.cc.
2972         (_Jv_RegisterClassHookDefault): Set class's execution engine if
2973         not already set.
2974         (_Jv_FindClass): Use wait_for_state.
2975         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
2976         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
2977         Moved interface table and class preparation code to resolve.cc.
2978         (finalize): Rewrote.
2979         (initializeClass): Simplified locking and class preparation.
2980         * java/lang/VMClassLoader.java (linkClass0): Removed.
2981         (markClassErrorState0): Likewise.
2982         (resolveClass): Now native.
2983         (transformException): New method.
2984         * java/lang/Class.h (getSuperclass): Don't try to resolve super
2985         reference.
2986         (getInterface): Likewise.
2987         (size): Likewise.
2988         (set_state): New method.
2989         (Class): Updated friend declarations.
2990         (verify): Field now private.
2991         (engine): New field.
2992         * include/jvm.h (class _Jv_Resolver): New class declaration.
2993         (_Jv_ResolveField): Removed declaration.
2994         (_Jv_CheckAccessNoInit): Likewise.
2995         (_Jv_isBinaryCompatible): Removed.
2996         * include/java-interp.h (class _Jv_MethodBase): Updated friend
2997         declarations.
2998         (class _Jv_InterpMethod): Likewise.
2999         (class _Jv_InterpClass): Likewise.
3000         (class _Jv_JNIMethod): Likewise.
3001         * include/execution.h: New file.
3002         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
3003         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
3004         Register class after setting fields.
3005         * resolve.cc: Include execution.h, VerifyError.h.  Moved
3006         interpreter-specific code to interpret.cc.
3007         (uaddr): New location.
3008         (struct aligner): Likewise.
3009         (ALIGNOF): Likewise.
3010         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
3011         (INITIAL_IFACES_LEN): Likewise.
3012         (null_idt): Likewise.
3013         (_Jv_GetMethodString): Likewise.
3014         (_Jv_ThrowNoSuchMethodError): Likewise.
3015         (_Jv_abstractMethodError): Likewise.
3016         (_Jv_Resolver::get_alignment_from_class): Renamed.
3017         (_Jv_Resolver::resolve_field): Likewise.
3018         (_Jv_Resolver::resolve_pool_entry): Likewise.
3019         (_Jv_Resolver::resolve_class_ref): Likewise.
3020         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3021         (_Jv_Resolver::indexof): Likewise.
3022         (_Jv_Resolver::get_interfaces): Likewise.
3023         (_Jv_Resolver::generate_itable): Likewise.
3024         (_Jv_Resolver::append_partial_itable): Likewise.
3025         (_Jv_Resolver::find_iindex): Likewise.
3026         (_Jv_Resolver::link_symbol_table): Likewise.
3027         (_Jv_Resolver::link_exception_table): Likewise.
3028         (_Jv_Resolver::layout_interface_methods): Likewise.
3029         (_Jv_Resolver::layout_vtable_methods): Likewise.
3030         (_Jv_Resolver::set_vtable_entries): Likewise.
3031         (_Jv_Resolver::make_vtable): Likewise.
3032         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3033         (_Jv_Resolver::ensure_class_linked): Likewise.
3034         (_Jv_Resolver::ensure_supers_installed): Likewise.
3035         (_Jv_Resolver::add_miranda_methods): Likewise.
3036         (_Jv_Resolver::ensure_method_table_complete): Likewise.
3037         (_Jv_Resolver::verify_class): Likewise.
3038         (_Jv_Resolver::wait_for_state): Likewise.
3039         * prims.cc (_Jv_soleCompiledEngine): New global.
3040         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3041         (_Jv_CheckAccessNoInit): Removed.
3042         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3043         * interpret.cc: Include platform.h, ClassFormatError.h,
3044         Modifier.h, execution.h.
3045         (_Jv_soleInterpreterEngine): New global.
3046         (compile): Use resolve_pool_entry.
3047         (run): Likewise.
3048         (_Jv_InitField): New location.
3049         (skip_one_type): Likewise.
3050         (get_ffi_type_from_signature): Likewise.
3051         (_Jv_count_arguments): Likewise.
3052         (init_cif): Likewise.
3053         (ncode_closure): Likewise.
3054         (ffi_closure_fun): Likewise.
3055         (ncode): Likewise.
3056         (throw_class_format_error): Likewise.
3057         (throw_class_format_error): Likewise.
3058         (_Jv_InterpreterEngine::do_verify): New method.
3059         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3060         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3061         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3062         * defineclass.cc: Include execution.h.
3063         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3064         engine.
3065         (checkExtends): Ensure superclass has supers installed.
3066         (_Jv_ClassNameSamePackage): Clarify usage constraints.
3067         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3068         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
3069         dispatch tables.
3071 2004-09-13  Tom Tromey  <tromey@redhat.com>
3073         * mauve-libgcj: List some classes we don't have.
3075 2004-09-10  Andrew Haley  <aph@redhat.com>
3077         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3078         * java/lang/natClass.cc (initializeClass): Check itable.
3079         (_Jv_getInterfaceMethod): New.
3080         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3081         Check that an interface method isn't called with invokevirtual.
3083         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3084         super_meth is virtual.
3086 2004-09-01  Tom Tromey  <tromey@redhat.com>
3088         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3089         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3090         _Jv_CheckAccessNoInit.
3091         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3092         * prims.cc (_Jv_CheckAccessNoInit): New method.
3094         * java/lang/reflect/natMethod.cc (invoke): Check access against
3095         declaring class, not object's class.
3096         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3097         argument.
3098         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3099         overridden method.
3100         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3101         argument.
3103 2004-08-30  Andrew Haley  <aph@redhat.com>
3105         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3106         ClassNotFoundException.
3107         Throw NoClassDefFoundError.
3109         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3110         to klass->verify() from here ...
3111         (_Jv_PrepareCompiledClass): ...and put it here.
3113 2004-08-27  Andrew Haley  <aph@redhat.com>
3115         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3116         klass->verify().
3117         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3118         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3120 2004-08-27  Tom Tromey  <tromey@redhat.com>
3122         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3123         friend.
3124         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3125         (_Jv_IsAssignableFromSlow): New function.
3126         Include VerifyError.h.
3127         * include/jvm.h (_Jv_CheckAssignment): Declare.
3129 2004-08-18  Andrew Haley  <aph@redhat.com>
3131         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3132         argument.  Pass it to findClass instead of fileName.
3133         (compileClass): Pass class name to loadSharedLibrary.
3135 2004-06-22  Andrew Haley  <aph@redhat.com>
3137         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3139 2004-06-15  Andrew Haley  <aph@redhat.com>
3141         * java/lang/natSystem.cc (getenv0): Don't assume environment
3142         variable is Latin 1 coded.
3144 2004-06-07  Andrew Haley  <aph@redhat.com>
3146         * java/lang/System.java: (getenv0): New method.
3147         (getenv): Add security check.  Do the right thing.
3148         * java/lang/natSystem.cc (getenv0): New method.
3150 2004-04-19    Andrew Haley  <aph@redhat.com>
3152         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3153         we destroy.
3155         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3156         is returned as an int in the range 0 to 255.
3158 2004-08-13  Tom Tromey  <tromey@redhat.com>
3160         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3161         class if it is interpreted.
3163 2004-08-12  Tom Tromey  <tromey@redhat.com>
3165         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3166         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3167         (Class::getSuperclass): Updated.
3168         (Class::getInterfaces): Likewise.
3169         (Class::size): Updated.
3170         (_Jv_LayoutClass): Updated declaration.
3171         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3172         Synchronize on class.
3173         (_Jv_LayoutClass): Changed interface.
3174         (initializeClass): Updated.
3175         (_Jv_LinkSymbolTable): Likewise.
3177         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3178         friend.
3179         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3180         _Jv_isBinaryCompatible.
3181         * java/lang/natClass.cc (initializeClass): Use
3182         _Jv_isBinaryCompatible.
3183         (_Jv_LinkSymbolTable): Likewise.
3184         * include/jvm.h (_Jv_isBinaryCompatible): New function.
3186 2004-08-11  Tom Tromey  <tromey@redhat.com>
3188         * gcj/javaprims.h: Regenerated.
3189         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3190         (_registerClass): Likewise.
3191         * Makefile.in: Rebuilt.
3192         * Makefile.am (core_java_source_files): Added VMCompiler.
3193         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3194         * java/lang/VMCompiler.java: New file.
3195         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3196         `verbose' code.
3197         (copyFile): Don't use fully-qualified name.
3198         (h): Removed.
3199         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3200         (defineClass): Use VMCompiler.
3201         * java/lang/ClassLoader.java (defineClass): Removed jit
3202         compilation code and `verbose' code.
3203         (getClassLoader0): Removed.
3204         (_registerClass): Likewise.
3205         (SharedLibHelpers): Removed.
3207 2004-08-10  Tom Tromey  <tromey@redhat.com>
3209         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3210         URL)): New constructor.
3211         (SoURLLoader): Likewise.
3212         (JarURLLoader): Create SoURLLoader with override URL.
3214 2004-08-10  Mark Wielaard  <mark@klomp.org>
3216         * Makefile.in: Rebuilt.
3217         * Makefile.am (interpret.lo): New rule.
3219 2004-08-05  Andrew Haley  <aph@redhat.com>
3221         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3222         aside for "GCJLIBS" in directory where jarfiles are loaded.
3223         (JarURLLoader.getClass): New method.
3224         (JarURLLoader.toString):  New method.
3225         (FileResource.toString):  New method.
3226         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3227         Remove "Duplicate class registration: " bug.
3228         (_registerClass): New method.
3229         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3230         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3231         Add debugging.
3232         (_Jv_LayoutClass): Use getSuperclass() rather than directly
3233         accessing the field.
3234         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3235         (defineClass): Call gcj to JIT-compile a class.
3236         (_registerClass): New method.
3237         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3238         library name can refer to more than one loaded library, so use a
3239         Set of SharedLibHelpers.
3240         If a shared library is already loaded, take a copy.
3241         (copyFile): New function.
3243         * testsuite/libjava.compile/compile.exp: Force
3244         -findirect-dispatch.
3246         * java/security/BasicPermission.java: Remove bogus checks.
3248         * java/lang/System.java (getenv0): New method.
3249         * java/lang/natSystem.cc (getenv0): New method.
3251 2004-05-24  Andrew Haley  <aph@redhat.com>
3253         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3255 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
3257         * Merged with HEAD as of 20040514. Diff against
3258         gcj-abi-2-merge-20040514.
3260 2004-04-16  Andrew Haley  <aph@redhat.com>
3262         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3263         _Jv_LayoutClass.
3264         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3265         (_Jv_PrepareCompiledClass): If we throw an exception during
3266         preparation, restore state.
3267         (ClassLoader::getClassLoader0): New method.
3269         * java/lang/natClass.cc (get_alignment_from_class): Moved here
3270         from resolve.cc.
3271         (ALIGNOF): Use offsetof, not __alignof__.
3272         (_Jv_ResolveClassRef): Resolve a reference to a class in a
3273         constant pool.
3274         (getInterfaces): Emit debug output if interface hasn't been
3275         resolved.
3276         (initializeClass): Call _Jv_LayoutClass.
3277         (_Jv_LinkSymbolTable): Add debugging output.
3278         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3279         found.
3280         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3281         (_Jv_LinkSymbolTable): Pass the real class loader to
3282         _Jv_FindClass.
3283         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3284         exception class.
3285         (_Jv_LinkSymbolTable): Assert if we find a static field reference
3286         to an interpreted class.
3287         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3288         superclass.
3289         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3290         resolve.cc.
3292         * java/lang/VMSecurityManager.java: Check for the system class
3293         loader as well as loader != null.
3295         * java/lang/SecurityManager.java (checkPermission): Remove
3296         security check.
3297         (checkRead): Likewise.
3298         (checkConnect): Likewise.
3300         * java/lang/ClassLoader.java (loadClass): Include all class
3301         loaders in stack trace string.
3302         Look for class in "gcjlib.so" in the same directory.
3303         (getSystemClassLoader) Use getClassLoader0.
3304         (getClassLoader0): New native method.
3306         * java/lang/Class.h (getSuperclass): New method.
3307         (getInterface): New method.
3308         (size): Lay out class if needed.
3309         (firstMethodIndex): New method.
3310         (Jv_ResolveClassRef): New declaration.
3311         (_Jv_LinkSymbolTable): New declaration.
3313         * java/io/ObjectOutputStream.java: Add DEBUG statements
3314         everywhere.
3315         (dumpElementln): New method.
3316         (depth): New field.
3317         * java/io/ObjectInputStream.java (MyIOException): new, for
3318         debugging.
3319         Everywhere: use MyIOException rather than IOException.
3320         Indent debugging output to make nesting visible.
3321         (currentClassLoader): Make native
3322         (callersClassLoader): New field.
3323         (depth): New field.
3324         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3325         method.
3327         (readObject): ENDBLOCKDATA is generated if the class has a write
3328         method, not if it has a read method.
3330         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3332         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3333         getContextClassLoader form the current thread after our own class
3334         loader.
3336         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3337         debugging.
3338         (toString): New method.
3340         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3341         interfaces array.
3343         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3344         a constant pool entry, resolve it now.
3345         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3346         in natClass.cc.
3347         Move get_alignment_from_class to natClass.cc.
3349         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3350         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3352         * defineclass.cc (checkExtends): Don't access superclass field
3353         directly.
3355         * Makefile.in: regenerate.
3357         * gnu/gcj/util/natDebug.cc: New
3358         * gnu/gcj/util/Debug.java: New.
3360         * Makefile.am (java/io/ObjectInputStream.lo): Use
3361         -fno-optimize-sibling-calls.
3363         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3364         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3365         in an interface.
3366         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3368 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
3370         * configure: Regenerate for libtool change.
3372 2004-11-24  Michael Koch  <konqueror@gmx.de>
3374         * gnu/java/security/PolicyFile.java: New file.
3375         * Makefile.am: Added gnu/java/security/PolicyFile.java.
3376         * Makefile.in: Regenerated.
3378 2004-11-24  Michael Koch  <konqueror@gmx.de>
3380         * java/lang/Character.java, scripts/unicode-blocks.pl:
3381         Reorder "final static" to "static final".
3383 2004-11-24  Michael Koch  <konqueror@gmx.de>
3385         * java/util/ResourceBundle.java: Reformatted.
3386         (tryBundle): Fixed javadoc.
3388 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
3390         * java/text/MessageFormat.java
3391         (formatInternal): Made private.
3393 2004-11-24  Michael Koch  <konqueror@gmx.de>
3395         * java/nio/DirectByteBufferImpl.java
3396         (ReadWrite.ReadWrite): New constructor.
3397         (DirectByteBufferImpl): Likewise.
3398         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3399         Use DirectByteBufferImpl.ReadWrite.
3400         * Makefile.am:
3401         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3402         * Makefile.in: Rgenerated.
3404 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
3406         * java/nio/DirectByteBufferImpl.java
3407         (ReadOnly): New inner subclass.
3408         (ReadWrite): New inner subclass.
3409         (owner): Made final and private.
3410         (address): Made final.
3411         (DirectByteBufferImpl(int)): New constructor.
3412         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3413         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3414         (allocate): Modified to instantiate ReadWrite subclass.
3415         (finalize): Fixed to only free the buffer, if we own it.
3416         (put): Removed read-only check.
3417         (slice, duplicate): Modified to instantiate appropriate subclass.
3418         (isReadOnly): Removed.
3419         * java/nio/MappedByteBufferImpl.java
3420         (slice, duplicate): Modified to instantiate appropriate
3421         DirectByteBufferImpl subclass.
3423 2004-11-24  Michael Koch  <konqueror@gmx.de>
3425         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3426         * java/nio/DirectByteBufferImpl.java:
3427         Moved native methods to java.nio.VMDirectByteBuffer class.
3428         * java/nio/MappedByteBufferImpl.java:
3429         Use native methods from java.nio.VMDirectByteBuffer class.
3430         * java/nio/VMDirectByteBuffer.java: New file,
3431         * java/nio/natDirectByteBufferImpl.cc:
3432         Moved all methods into java.nio.VMDirectByteBuffer class.
3433         * java/nio/channels/spi/AbstractSelectableChannel.java
3434         (register): Only re-use valid keys.
3435         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3436         * Makefile.in: Regenerated.
3438 2004-11-24  Michael Koch  <konqueror@gmx.de>
3440         * java/nio/DirectByteBufferImpl.java,
3441         java/nio/MappedByteBufferImpl.java:
3442         Reformatted.
3444 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3446         * testsuite/lib/libjava.exp,
3447         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3449 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
3451         * configure.host: Enable the interpreter for mips*-*-linux*.
3453 2004-11-23  Michael Koch  <konqueror@gmx.de>
3455         * java/lang/String.java (rehash): Removed.
3456         * java/lang/natString.cc (rehash): Made static.
3457         (_Jv_NewStringUtf8Const): Use static rehash method.
3459 2004-11-23  Michael Koch  <konqueror@gmx.de>
3461         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3462         include/Makefile.in, testsuite/Makefile.in: Regenerated.
3464 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
3466         PR target/18444
3467         * configure.ac (threading): Accept 'posix95'.
3468         * configure: Regenerate.
3470 2004-11-22  Michael Koch  <konqueror@gmx.de>
3472         * gnu/java/nio/SocketChannelImpl.java
3473         (read): Made check for blocking un-ambiguous.
3474         Removed wrong check for data array length.
3476 2004-11-21  Michael Koch  <konqueror@gmx.de>
3478         * gnu/java/nio/SocketChannelImpl.java
3479         (read): Only return 0 when no bytes for reading available in
3480         non-blocking mode.
3481         * java/nio/channels/SocketChannel.java:
3482         Added some missing @return tags.
3484 2004-11-21  Michael Koch  <konqueror@gmx.de>
3486         * java/beans/PropertyChangeSupport.java
3487         (propertyChangeSupportSerializedDataVersion): Made static.
3488         * java/beans/VetoableChangeSupport.java
3489         (propertyChangeSupportSerializedDataVersion): Likewise.
3491 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3493         * java/net/URLStreamHandler.java
3494         (parseURL): Fixed file path canonicalisation.
3496 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3498         * java/net/URLStreamHandler.java
3499         (parseURL): Fixed file path canonicalisation.
3501 2004-11-18  Michael Koch  <konqueror@gmx.de>
3503         * java/net/URLClassLoader.java: Whitespace cleanup.
3505 2004-11-18  Robert Schuster <address@bogus.example.com>
3507         Complete 1.4 support
3508         * java/beans/PropertyDescriptor.java:
3509         (setReadMethod): New method
3510         (setWriteMethod): New method
3511         (equals): Implemented (1.4)
3512         (checkMethods): operates on arguments now (private)
3515 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3517         * java/net/Inet6Address.java (getHostAddress): Fix textual
3518         representation of IPv6 address with embedded zeroes
3519         to conform to RFC 2373.
3521 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
3523         * java/lang/StackTraceElement.java: Made final.
3524         * java/nio/channels/Channels.java: Added private constructor.
3525         * java/rmi/Naming.java: Added private constructor.
3526         * java/rmi/registry/LocateRegistry.java: Added private constructor.
3527         * java/rmi/server/RMIClassLoader.java: Added private constructor.
3528         * java/security/KeyPairGeneratorSpi.java
3529         (clone): Made protected and simplified implementation.
3530         * java/text/DateFormat.java
3531         (allFields): Made package accessible.
3532         * java/text/DecimalFormat.java
3533         (formatInternal): Made private.
3534         * java/text/Format.java
3535         (formatInternal): Made private.
3536         * java/util/logging/Handler.java: Made constructor protected.
3537         * java/util/regex/Matcher.java: Made final.
3538         * java/util/regex/Pattern.java: Made final.
3539         * javax/crypto/CipherInputStream.java
3540         (mark): Corrected mark parameter type (from long to int).
3541         * javax/crypto/ExemptionMechanism.java
3542         (finalize): Added.
3543         * javax/crypto/Mac.java
3544         (getMacLength): Made final.
3545         (clone): Made final.
3546         * javax/imageio/ImageIO.java: Added private constructor.
3547         * javax/imageio/stream/ImageInputStreamImpl.java
3548         (checkClosed): Made final.
3549         * javax/net/ssl/SSLPermission.java: Made final.
3550         * javax/print/DocFlavor.java
3551         (hostEncoding): Added work-around to prevent the field from being
3552         a compile time constant.
3553         * javax/print/attribute/AttributeSetUtilities.java: Added private
3554         constructor.
3555         (UnmodifiableDocAttributeSet): Made private.
3556         (UnmodifiablePrintJobAttributeSet): Made private.
3557         (UnmodifiablePrintRequestAttributeSet): Made private.
3558         (UnmodifiablePrintServiceAttributeSet): Made private.
3559         (SynchronizedAttributeSet): Made private.
3560         (SynchronizedDocAttributeSet): Made private.
3561         (SynchronizedPrintJobAttributeSet): Made private.
3562         (SynchronizedPrintRequestAttributeSet): Made private.
3563         (SynchronizedPrintServiceAttributeSet): Made private.
3564         * javax/security/auth/PrivateCredentialPermission.java: Made final.
3566 2004-11-18  Craig Black  <craig.black@aonix.com>
3568         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3570 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3572         * Makefile.am: Correct friend function declaration.
3573         * Makefile.in: Regenerated.
3574         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3575         scope to function names.  Declare functions directly.
3576         * libjava/java/lang/Class.h
3577         (java::lang::Class): Correct friend class declaration.
3578         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3579         scope.
3580         * libjava/java/lang/Class.h
3581         (java::lang::Object): Correct friend class declaration.
3583 2004-11-17  David Daney  <ddaney@avtrex.com>
3585         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3587 2004-11-17  Michael Koch  <konqueror@gmx.de>
3589         * java/net/Socket.java (getPort): Return 0 in error case.
3591 2004-11-17  Michael Koch  <konqueror@gmx.de>
3593         *  java/nio/DirectByteBufferImpl.java
3594         (owner): Updated comment.
3595         (allocate): New method.
3597 2004-11-17  Michael Koch  <konqueror@gmx.de>
3599         * java/net/URL.java (URL): Handle case when argument is null.
3601 2004-11-17  Michael Koch  <konqueror@gmx.de>
3603         * java/beans/Beans.java,
3604         java/beans/PropertyChangeEvent.java,
3605         java/beans/PropertyEditorSupport.java:
3606         Fixed javadocs.
3608 2004-11-17  Michael Koch  <konqueror@gmx.de>
3610         * java/util/Timer.java (DEFAULT_SIZE): Made static.
3612 2004-11-17  Michael Koch  <konqueror@gmx.de>
3614         * java/net/InetAddress.java (getCanonicalHostName):
3615         Support IPv6 addresses.
3617 2004-11-16  Michael Koch  <konqueror@gmx.de>
3619         * java/lang/Object.java: Added javadocs all over (merged from GNU
3620         classpath).
3622 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3624         * java/security/Security.java (Security): Silence the warning about no
3625         providers found in the no debug case.
3627 2004-11-16  Michael Koch  <konqueror@gmx.de>
3629         * java/net/InetAddress.java
3630         (toString): Merged from GNU classpath.
3632 2004-11-16  Michael Koch  <konqueror@gmx.de>
3634         * java/awt/geom/doc-files/Area-1.png,
3635         java/awt/geom/doc-files/Ellipse-1.png,
3636         java/awt/geom/doc-files/GeneralPath-1.png:
3637         New files.
3639 2004-11-16  Michael Koch  <konqueror@gmx.de>
3641         * java/util/Currency.java (cache): Fix modifier order.
3643 2004-11-16  Michael Koch  <konqueror@gmx.de>
3645         * java/io/BufferedReader.java,
3646         java/io/FileInputStream.java,
3647         java/io/FileOutputStream.java,
3648         java/io/FileWriter.java,
3649         java/io/OutputStreamWriter.java,
3650         java/io/PipedInputStream.java,
3651         java/io/PipedOutputStream.java,
3652         java/io/PipedReader.java,
3653         java/io/PipedWriter.java,
3654         java/io/PrintStream.java,
3655         java/io/PushbackInputStream.java,
3656         java/io/RandomAccessFile.java,
3657         java/io/Reader.java,
3658         java/io/StreamTokenizer.java,
3659         java/io/StringReader.java,
3660         java/net/NetworkInterface.java,
3661         java/net/URLClassLoader.java,
3662         java/nio/ByteOrder.java,
3663         java/nio/channels/Channel.java:
3664         Fixed javadocs all over.
3666 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3668         * Makefile.am: Add imported files.
3669         * Makefile.in: Regenerate.
3671         2004-10-24  Casey Marshall  <csm@gnu.org>
3673         * javax/security/auth/login/LoginContext.java: Implemented.
3674         * javax/security/auth/login/Configuration.java (getConfig): New method.
3675         * javax/security/auth/spi/LoginModule.java,
3676         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3678 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
3680         Import/Merge the X.509 certificate code from Classpath.
3682         * Makefile.am: Add imported files.
3683         * Makefile.in: Regenerate.
3685         2004-11-07  Casey Marshall  <csm@gnu.org>
3687         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3688         priviliged action. Add new algorithms.
3689         * gnu/java/security/provider/X509CertificateFactory.java
3690         (engineGenerateCertificate): Chain exceptions.
3691         (engineGenerateCertificates): Likewise.
3692         (engineGenerateCRL): Likewise.
3693         (engineGenerateCRLs): Likewise.
3694         (engineGenerateCertPath): New methods.
3695         (generateCert): Throw exception if 'inStream' is null.
3696         (generateCRL): Likewise.
3697         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3698         version from GNU Crypto CVS.
3699         * gnu/java/security/x509/X509CRL.java: Likewise.
3700         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3701         * gnu/java/security/x509/X509Certificate.java: Likewise.
3702         * java/security/cert/TrustAnchor.java: Call 'toString' and not
3703         toRFC2253.
3704         * gnu/java/security/provider/CollectionCertStoreImpl.java,
3705         * gnu/java/security/provider/EncodedKeyFactory.java,
3706         * gnu/java/security/provider/GnuDHPublicKey.java,
3707         * gnu/java/security/provider/GnuRSAPrivateKey.java,
3708         * gnu/java/security/provider/GnuRSAPublicKey.java,
3709         * gnu/java/security/provider/MD2withRSA.java,
3710         * gnu/java/security/provider/MD4withRSA.java,
3711         * gnu/java/security/provider/MD5withRSA.java,
3712         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3713         * gnu/java/security/provider/RSA.java,
3714         * gnu/java/security/provider/RSAKeyFactory.java,
3715         * gnu/java/security/provider/SHA1withRSA.java,
3716         * gnu/java/security/x509/GnuPKIExtension.java,
3717         * gnu/java/security/x509/PolicyNodeImpl.java,
3718         * gnu/java/security/x509/Util.java,
3719         * gnu/java/security/x509/X509CRLSelectorImpl.java,
3720         * gnu/java/security/x509/X509CertPath.java,
3721         * gnu/java/security/x509/X509CertSelectorImpl.java,
3722         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3723         * gnu/java/security/x509/ext/BasicConstraints.java,
3724         * gnu/java/security/x509/ext/CRLNumber.java,
3725         * gnu/java/security/x509/ext/CertificatePolicies.java,
3726         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3727         * gnu/java/security/x509/ext/Extension.java,
3728         * gnu/java/security/x509/ext/GeneralNames.java,
3729         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3730         * gnu/java/security/x509/ext/KeyUsage.java,
3731         * gnu/java/security/x509/ext/PolicyConstraint.java,
3732         * gnu/java/security/x509/ext/PolicyMappings.java,
3733         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3734         * gnu/java/security/x509/ext/ReasonCode.java,
3735         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3736         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3738         2004-11-07  Casey Marshall  <csm@gnu.org>
3740         * gnu/java/security/x509/X509CRL.java:
3741         Missed import statements in previous checkin.
3743         2004-11-07  Casey Marshall  <csm@gnu.org>
3745         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3746         to 'X509CertificateImpl' from previous checkin.
3748 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
3750         PR other/14264
3751         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3753 2004-11-11  Casey Marshall  <csm@gnu.org>
3755         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3756         channel is open.
3757         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3758         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3760 2004-11-11  Robert Schuster <thebohemian@gmx.net>
3762         Fixed regression:
3763         * gnu/java/beans/IntrospectionIncubator.java:
3764         (addMethod): Corrected classification of normal and property methods.
3765         (capitalize): Added documentation.
3766         (DoubleKey): [class] Added documentation.
3768 2004-11-09  Tom Tromey  <tromey@redhat.com>
3770         * include/jni.h: Added FIXME.
3772 2004-11-08  Tom Tromey  <tromey@redhat.com>
3774         * java/util/GregorianCalendar.java: Removed unused imports.
3775         * java/util/Vector.java: Removed unused import.
3777 2004-11-07  Michael Koch  <konqueror@gmx.de>
3779         * java/lang/Process.java:
3780         Import cleanups.
3782 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
3784         * java/util/zip/ZipEntry.java
3785         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
3787 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
3789         Fixes bug #10908
3790         * gnu/java/beans/IntrospectionIncubator.java:
3791         (addMethod): static methods are discarded now, too.
3793 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3795         * java/util/GregorianCalendar.java
3796         Added/amended documentation.
3798 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3800         * java/util/Collections.java
3801         Added documentation.
3802         * java/util/SortedMap.java
3803         Clarified some method examples.
3804         * java/util/SortedSet.java
3805         Clarified some method examples.
3807 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3809         * java/util/Currency.java
3810         Documented variables and methods more fully.
3811         Caches the currency instances, so that a request
3812         for a locale, l, only ever returns the same
3813         instance (i.e. successive calls to getInstance(l)
3814         are reference equivalent (==)).
3816 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3818         * java/util/Date.java
3819         Added missing documentation.
3821 2004-11-06  Michael Koch  <konqueror@gmx.de>
3823         * java/util/zip/CheckedInputStream.java,
3824         java/util/zip/InflaterInputStream.java,
3825         java/util/zip/ZipFile.java,
3826         java/util/zip/ZipInputStream.java:
3827         Import cleanups.
3829 2004-11-06  Tom Tromey  <tromey@redhat.com>
3831         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
3832         package-private.
3833         (connections): Likewise.
3834         (scavenger): Likewise.
3835         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
3836         package-private.
3837         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
3838         package-private.
3839         (ptr): Likewise.
3840         * gnu/classpath/ServiceFactory.java (log): Now package-private.
3842 2004-11-06  Tom Tromey  <tromey@redhat.com>
3844         * javax/naming/directory/BasicAttributes.java (attributes): Now
3845         package-private.
3846         * javax/imageio/spi/ServiceRegistry.java (categories): Now
3847         package-private.
3849 2004-11-06  Tom Tromey  <tromey@redhat.com>
3851         * java/net/URLClassLoader.java (URLClassLoader): Now
3852         package-private.
3853         * java/nio/charset/CoderResult.java (CoderResult): Now
3854         package-private.
3855         (get): Likewise.
3856         (Cache): Likewise.  Don't synchronize on `this'.
3857         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
3858         package-private.
3859         * java/util/TimeZone.java (timezones): Now package-private.
3861 2004-11-06  Tom Tromey  <tromey@redhat.com>
3863         * java/security/Permissions.java (perms): Now package-private.
3864         * java/security/UnresolvedPermission.java (permissions): Now
3865         package-private.
3867 2004-11-06  Tom Tromey  <tromey@redhat.com>
3869         * java/io/FilePermission.java: Reindented.
3871 2004-11-06  Tom Tromey  <tromey@redhat.com>
3873         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
3874         package-private.
3875         (setBlockDataMode): Likewise.
3877 2004-11-06  Tom Tromey  <tromey@redhat.com>
3879         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
3880         package-private.
3881         (Encoder): Likewise.
3882         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
3883         (Encoder): Likewise.
3884         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
3885         package-private.
3886         (Encoder): Likewise.
3888 2004-11-06  Mark Wielaard  <mark@klomp.org>
3890         * Makefile.am: Add new javax.imageio files.
3891         * Makefile.in: Regenerated.
3893 2004-11-06  Michael Koch  <konqueror@gmx.de>
3895         * javax/imageio/event/IIOReadProgressListener.java,
3896         javax/imageio/event/IIOReadUpdateListener.java,
3897         javax/imageio/event/IIOReadWarningListener.java,
3898         javax/imageio/event/IIOWriteProgressListener.java,
3899         javax/imageio/event/IIOWriteWarningListener.java,
3900         javax/imageio/metadata/IIOMetadataFormat.java,
3901         javax/imageio/stream/FileCacheImageInputStream.java,
3902         javax/imageio/stream/FileCacheImageOutputStream.java,
3903         javax/imageio/stream/ImageInputStreamImpl.java:
3904         Import cleanup.
3905         * javax/imageio/metadata/package.html: New file.
3907 2004-11-06  Michael Koch  <konqueror@gmx.de>
3909         * javax/imageio/spi/ImageReaderSpi.java
3910         (isOwnReader): New method.
3911         * javax/imageio/spi/ImageWriterSpi.java
3912         (isOwnWriter): Likewise.
3914 2004-11-06  Michael Koch  <konqueror@gmx.de>
3916         * javax/imageio/ImageWriter.java
3917         (convertImageMetadata): New abstract method.
3918         (convertStreamMetadata): Likewise.
3919         (write): Likewise.
3920         * javax/imageio/stream/FileCacheImageInputStream.java
3921         (close): Fixed setting of stream to null.
3922         (checkStreamClosed): Throws IOException.
3924 2004-11-06  Michael Koch  <konqueror@gmx.de>
3926         * javax/imageio/stream/FileCacheImageInputStream.java,
3927         javax/imageio/stream/FileCacheImageOutputStream.java,
3928         javax/imageio/stream/FileImageInputStream.java,
3929         javax/imageio/stream/FileImageOutputStream.java,
3930         javax/imageio/stream/MemoryCacheImageInputStream.java,
3931         javax/imageio/stream/MemoryCacheImageOutputStream.java:
3932         New files.
3934 2004-11-06  Michael Koch  <konqueror@gmx.de>
3936         * javax/imageio/metadata/IIOInvalidTreeException.java,
3937         javax/imageio/metadata/IIOMetadataFormatImpl.java,
3938         javax/imageio/metadata/IIOMetadataNode.java:
3939         New stub files.
3941 2004-11-06  Michael Koch  <konqueror@gmx.de>
3943         * javax/imageio/stream/ImageInputStreamImpl.java,
3944         javax/imageio/stream/ImageOutputStreamImpl.java:
3945         New files.
3947 2004-11-06  Michael Koch  <konqueror@gmx.de>
3949         * javax/imageio/ImageIO.java:
3950         Added much new methods.
3952 2004-11-06  Michael Koch  <konqueror@gmx.de>
3954         * javax/imageio/ImageReader.java,
3955         javax/imageio/ImageWriter.java,
3956         javax/imageio/spi/ImageWriterSpi.java:
3957         Add SOME new methods.
3959 2004-11-06  Michael Koch  <konqueror@gmx.de>
3961         * javax/imageio/IIOParam.java,
3962         javax/imageio/ImageReadParam.java,
3963         javax/imageio/ImageReader.java,
3964         javax/imageio/ImageWriter.java:
3965         Mostly implemented.
3966         * javax/imageio/spi/ImageReaderSpi.java,
3967         javax/imageio/spi/ImageWriterSpi.java:
3968         New files.
3970 2004-11-06  Michael Koch  <konqueror@gmx.de>
3972         * javax/imageio/ImageWriteParam.java,
3973         javax/imageio/metadata/IIOMetadataFormat.java:
3974         Implemented.
3976 2004-11-06  Michael Koch  <konqueror@gmx.de>
3978         * javax/imageio/ImageTypeSpecifier.java:
3979         Mostly implemented.
3981 2004-11-06  Michael Koch  <konqueror@gmx.de>
3983         * javax/imageio/metadata/IIOMetadata.java:
3984         Mostly implemented.
3986 2004-11-06  Michael Koch  <konqueror@gmx.de>
3988         * javax/imageio/IIOImage.java,
3989         javax/imageio/ImageReadParam.java,
3990         javax/imageio/metadata/IIOMetadataController.java,
3991         javax/imageio/metadata/IIOMetadataFormat.java:
3992         New files.
3993         * javax/imageio/stream/ImageOutputStream.java:
3994         Implemented.
3996 2004-11-06  Michael Koch  <konqueror@gmx.de>
3998         * javax/imageio/IIOParam.java,
3999         javax/imageio/IIOParamController.java,
4000         javax/imageio/ImageTypeSpecifier.java,
4001         javax/imageio/ImageWriteParam.java,
4002         javax/imageio/metadata/IIOMetadata.java:
4003         New files.
4004         * javax/imageio/ImageTranscoder.java:
4005         Implemented.
4007 2004-11-06  Michael Koch  <konqueror@gmx.de>
4009         * javax/imageio/spi/ImageInputStreamSpi.java,
4010         javax/imageio/spi/ImageOutputStreamSpi.java:
4011         Reworked import startments.
4012         * javax/imageio/spi/ServiceRegistry.java:
4013         Reworked import startments. Fixed XHTML in javadocs.
4014         (ServiceRegistry): Added @param tag to javadoc.
4015         * javax/imageio/stream/ImageInputStream.java
4016         (mark): Doesn't throws IOException;
4018 2004-11-06  Michael Koch  <konqueror@gmx.de>
4020         * javax/imageio/ImageIO.java:
4021         New file.
4023 2004-11-06  Michael Koch  <konqueror@gmx.de>
4025         * javax/imageio/spi/IIORegistry.java
4026         (static): Don't register ImageReaderSpi.class and
4027         ImageWriterSpi.class yet.
4029 2004-11-06  Michael Koch  <konqueror@gmx.de>
4031         * javax/imageio/spi/IIORegistry.java:
4032         New file.
4034 2004-11-06  Noa Resare  <noa@resare.com>
4036         * java/net/Socket.java (getPort): Return 0 instead of -1 on
4037         unconnected sockets.
4039 2004-11-06  Michael Koch  <konqueror@gmx.de>
4041         * java/lang/StringBuffer.java,
4042         java/lang/Throwable.java,
4043         java/security/spec/DSAParameterSpec.java,
4044         java/util/zip/ZipEntry.java,
4045         java/util/zip/ZipFile.java,
4046         java/util/zip/ZipInputStream.java,
4047         java/util/zip/ZipOutputStream.java:
4048         Removed redundant and reordered modifiers.
4050 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4052         * java/io/Vector.java
4053         (writeObject): New function to serialized output thread safe.
4055         * java/io/ObjectOutputStream.java
4056         (writeObject): Move the assignment of the class handle to after
4057         the assignment of class descriptor handle.
4059 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4061         Fixes documentation and indentation
4062         * java/beans/PropertyEditorSupport.java:
4063         reworked initial API doc
4064         (value): changed name from val
4066 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4068         Updates to 1.5
4069         * java/beans/PropertyEditorSupport.java
4070         (PropertyEditorSupport()): Changed modifier to public
4071         (PropertyEditorSupport(Object): Changed modifier to public
4072         (setSource): New method
4073         (getSource): New method
4075 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4077         Fixes bug #10799
4078         * java/beans/PropertyEditorSupport.java
4079         (setValue): Fire property change event
4081 2004-11-03  Tom Tromey  <tromey@redhat.com>
4083         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4084         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4085         returns jobjectArray.
4086         (_Jv_JNIEnv::NewObjectArray): Likewise.
4088 2004-11-01  Tom Tromey  <tromey@redhat.com>
4090         * verify.cc (state::check_no_uninitialized_objects): Removed.
4091         (push_jump): Updated.
4092         (push_exception_jump): Likewise.
4093         (handle_ret_insn): Likewise.
4094         (handle_jsr_insn): Likewise.
4096 2004-10-30  Mark Wielaard  <mark@klomp.org>
4098         PR libgcj/18234
4099         * java/lang/Runtime.java (static): Call init().
4100         (Runtime): Remove call to init().
4101         (init): Make static.
4103 2004-10-28  David Daney  <ddaney@avtrex.com>
4105         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4106         * Makefile.am: Build it.
4107         * Makefile.in: Regenerate.
4109 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4111         PR libgcj/18104
4112         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
4113         colon.
4114         * Makefile.in: Regenerate.
4115         * configure: Regenerate.
4116         * configure.ac (CLASSPATH_SEPARATOR): Define.
4117         * gcj/Makefile.in: Regenerate.
4118         * include/Makefile.in: Regenerate.
4119         * testsuite/Makefile.in: Regenerate.
4120         * testsuite/lib/libjava.exp (libjava_arguments): Fix
4121         CLASSPATH separator handling for Windows.
4123 2004-10-26  Michael Koch  <konqueror@gmx.de>
4125         * gnu/java/net/protocol/http/Connection.java
4126         (getOutputStream): Implicitely switch to POST method.
4128 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
4130         * libjava/java/lang/Class.h
4131         (java::lang::Class): Correct friend class declaration.
4133 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
4135         * Makefile.am (DARWIN_CRT_SRC): New.
4136         (libgcj_la_SOURCES): Use it.
4137         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4138         * darwin.cc: New file.
4139         * include/jvm.h (_Jv_RegisterClasses): Constify.
4140         (_Jv_RegisterClasses_Counted): New prototype.
4141         * java/lang/Class.h: Include stddef.h.
4142         (_Jv_RegisterClasses): Constify.
4143         (_Jv_RegisterClasses_Counted): New prototype.
4144         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4145         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4146         (_Jv_RegisterClasses_Counted): New function.
4147         * configure: Regenerate.
4148         * Makefile.in: Regenerate.
4149         * gcj/Makefile.in: Regenerate.
4150         * include/Makefile.in: Regenerate.
4151         * testsuite/Makefile.in: Regenerate.
4153 2004-10-25  Tom Tromey  <tromey@redhat.com>
4155         * java/util/ResourceBundle.java (tryBundle): Use
4156         Class.isAssignableFrom rather than catching ClassCastException.
4158 2004-10-25  Tom Tromey  <tromey@redhat.com>
4160         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4161         initialize `iter'.
4162         * gnu/java/text/SentenceBreakIterator.java
4163         (SentenceBreakIterator): Don't initialize `iter'.
4164         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4165         initialize `iter'.
4166         * gnu/java/text/CharacterBreakIterator.java
4167         (CharacterBreakIterator): Don't initialize `iter'.
4168         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4169         constructor.
4170         * java/text/BreakIterator.java: Updated documentation.
4172 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
4174         PR other/18138
4175         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4177 2004-10-23  Michael Koch  <konqueror@gmx.de>
4179         * javax/print/DocFlavor.java,
4180         javax/print/attribute/standard/JobStateReason.java,
4181         javax/print/attribute/standard/MultipleDocumentHandling.java:
4182         Added missing constants.
4184 2004-10-22  Tom Tromey  <tromey@redhat.com>
4186         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4187         typo.
4189 2004-10-22  Michael Koch  <konqueror@gmx.de>
4191         PR libjava/14009
4192         * gnu/java/net/protocol/http/Connection.java
4193         (sendRequest): Handle case when url.getFile() returns an empty string.
4195 2004-10-22  Michael Koch  <konqueror@gmx.de>
4197         * java/lang/Math.java,
4198         java/lang/StackTraceElement.java,
4199         java/nio/Buffer.java,
4200         java/nio/ByteBuffer.java,
4201         java/nio/CharBuffer.java,
4202         java/nio/DoubleBuffer.java,
4203         java/nio/FloatBuffer.java,
4204         java/nio/IntBuffer.java,
4205         java/nio/LongBuffer.java,
4206         java/nio/ShortBuffer.java,
4207         java/nio/charset/Charset.java,
4208         java/rmi/server/RMIClassLoader.java,
4209         java/rmi/server/RMISocketFactory.java,
4210         java/security/Policy.java,
4211         java/text/ChoiceFormat.java,
4212         java/text/CollationElementIterator.java,
4213         java/text/DateFormat.java,
4214         java/text/DecimalFormat.java,
4215         java/text/DecimalFormatSymbols.java,
4216         java/text/MessageFormat.java,
4217         java/text/NumberFormat.java,
4218         java/text/RuleBasedCollator.java,
4219         java/text/SimpleDateFormat.java,
4220         java/util/BitSet.java,
4221         java/util/Calendar.java,
4222         java/util/Collections.java,
4223         java/util/IdentityHashMap.java,
4224         java/util/Locale.java,
4225         java/util/TreeMap.java,
4226         java/util/logging/LogRecord.java,
4227         java/util/logging/XMLFormatter.java,
4228         java/util/prefs/AbstractPreferences.java,
4229         java/util/prefs/Preferences.java,
4230         javax/crypto/interfaces/DHPrivateKey.java,
4231         javax/crypto/interfaces/DHPublicKey.java,
4232         javax/crypto/interfaces/PBEKey.java,
4233         javax/net/ssl/HandshakeCompletedEvent.java,
4234         javax/security/auth/Subject.java:
4235         Removed redundant and reordered modifiers.
4237 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
4239         * gnu/java/net/natPlainSocketImplPosix.cc
4240         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4241         with 'int *' argument instead of 'long *'.
4243 2004-10-21  Michael Koch  <konqueror@gmx.de>
4245         * java/net/NetworkInterface.java,
4246         java/text/Format.java,
4247         javax/security/auth/x500/X500Principal.java,
4248         javax/security/auth/x500/X500PrivateCredential.java,
4249         javax/security/cert/X509CertBridge.java,
4250         javax/security/sasl/Sasl.java,
4251         javax/sql/XAConnection.java:
4252         Import cleanup.
4254 2004-10-21  Michael Koch  <konqueror@gmx.de>
4256         * javax/net/ssl/HandshakeCompletedEvent.java,
4257         javax/net/ssl/KeyManagerFactory.java,
4258         javax/net/ssl/SSLContext.java,
4259         javax/net/ssl/SSLServerSocketFactory.java,
4260         javax/net/ssl/SSLSession.java,
4261         javax/net/ssl/SSLSocketFactory.java,
4262         javax/net/ssl/TrustManagerFactory.java:
4263         Import cleanup.
4265 2004-10-21  Michael Koch  <konqueror@gmx.de>
4267         * javax/naming/directory/BasicAttribute.java,
4268         javax/naming/directory/BasicAttributes.java,
4269         javax/naming/directory/InitialDirContext.java,
4270         javax/naming/event/NamingEvent.java,
4271         javax/naming/ldap/ControlFactory.java,
4272         javax/naming/ldap/ExtendedRequest.java,
4273         javax/naming/ldap/InitialLdapContext.java,
4274         javax/naming/ldap/LdapReferralException.java,
4275         javax/naming/spi/DirObjectFactory.java,
4276         javax/naming/spi/DirStateFactory.java,
4277         javax/naming/spi/DirectoryManager.java,
4278         javax/naming/spi/InitialContextFactory.java,
4279         javax/naming/spi/InitialContextFactoryBuilder.java,
4280         javax/naming/spi/NamingManager.java,
4281         javax/naming/spi/ObjectFactory.java,
4282         javax/naming/spi/ObjectFactoryBuilder.java,
4283         javax/naming/spi/StateFactory.java:
4284         Import cleanup.
4286 2004-10-21  Michael Koch  <konqueror@gmx.de>
4288         * javax/crypto/Cipher.java,
4289         javax/crypto/EncryptedPrivateKeyInfo.java,
4290         javax/crypto/ExemptionMechanism.java,
4291         javax/crypto/KeyAgreement.java,
4292         javax/crypto/KeyGenerator.java,
4293         javax/crypto/Mac.java,
4294         javax/crypto/SecretKeyFactory.java,
4295         javax/crypto/SecretKeyFactorySpi.java,
4296         javax/crypto/spec/SecretKeySpec.java:
4297         Import cleanup.
4299 2004-10-21  Michael Koch  <konqueror@gmx.de>
4301         * java/security/AlgorithmParameterGenerator.java,
4302         java/security/AlgorithmParameters.java,
4303         java/security/AlgorithmParametersSpi.java,
4304         java/security/AllPermission.java,
4305         java/security/BasicPermission.java,
4306         java/security/Certificate.java,
4307         java/security/CodeSource.java,
4308         java/security/DigestInputStream.java,
4309         java/security/DigestOutputStream.java,
4310         java/security/GuardedObject.java,
4311         java/security/KeyFactory.java,
4312         java/security/KeyFactorySpi.java,
4313         java/security/KeyPairGenerator.java,
4314         java/security/KeyStore.java,
4315         java/security/KeyStoreSpi.java,
4316         java/security/Permissions.java,
4317         java/security/Security.java,
4318         java/security/Signature.java,
4319         java/security/UnresolvedPermission.java,
4320         java/security/cert/CertPathBuilder.java,
4321         java/security/cert/CertPathValidator.java,
4322         java/security/cert/CertStore.java,
4323         java/security/cert/Certificate.java,
4324         java/security/cert/CertificateFactory.java,
4325         java/security/cert/PolicyQualifierInfo.java,
4326         java/security/cert/TrustAnchor.java,
4327         java/security/cert/X509CRL.java,
4328         java/security/cert/X509CRLSelector.java,
4329         java/security/cert/X509CertSelector.java:
4330         Import cleanup.
4332 2004-10-21  Michael Koch  <konqueror@gmx.de>
4334         * java/rmi/MarshalledObject.java,
4335         java/rmi/Naming.java,
4336         java/rmi/activation/Activatable.java,
4337         java/rmi/activation/ActivationGroup.java,
4338         java/rmi/activation/ActivationGroupDesc.java,
4339         java/rmi/activation/ActivationInstantiator.java,
4340         java/rmi/activation/ActivationMonitor.java,
4341         java/rmi/activation/ActivationSystem.java,
4342         java/rmi/activation/Activator.java,
4343         java/rmi/registry/LocateRegistry.java,
4344         java/rmi/registry/Registry.java,
4345         java/rmi/server/LogStream.java,
4346         java/rmi/server/ObjID.java,
4347         java/rmi/server/RMIClientSocketFactory.java,
4348         java/rmi/server/RMIServerSocketFactory.java,
4349         java/rmi/server/RMISocketFactory.java,
4350         java/rmi/server/RemoteCall.java,
4351         java/rmi/server/RemoteServer.java,
4352         java/rmi/server/ServerRef.java,
4353         java/rmi/server/UID.java,
4354         java/rmi/server/UnicastRemoteObject.java:
4355         Import cleanup.
4357 2004-10-21  Tom Tromey  <tromey@redhat.com>
4359         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4360         exception if we hit EOF of `in'.
4361         (read): Handle case where inflating returns -1.
4363 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
4365         * gnu/java/nio/channels/natFileChannelPosix.cc
4366         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4367         argument instead of 'long *'.
4369 2004-10-21  Tom Tromey  <tromey@redhat.com>
4371         * java/util/ResourceBundle.java (tryBundle): Also ignore
4372         ClassCastException.
4374 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
4376         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4377         for all sh*-*-linux* targets.
4378         * configure: Regenerate.
4379         * include/sh-signal.h: New file.
4381 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4383         * java/lang/ieeefp.h: Add m32r support.
4385 2004-10-20  Andreas Schwab  <schwab@suse.de>
4387         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4388         to uaddr, not int.
4389         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4390         Likewise.
4392 2004-10-20  Michael Koch  <konqueror@gmx.de>
4394         * javax/print/attribute/standard/ColorSupported.java,
4395         javax/print/attribute/standard/Compression.java,
4396         javax/print/attribute/standard/Copies.java,
4397         javax/print/attribute/standard/CopiesSupported.java,
4398         javax/print/attribute/standard/DateTimeAtCompleted.java,
4399         javax/print/attribute/standard/DateTimeAtCreation.java,
4400         javax/print/attribute/standard/DateTimeAtProcessing.java,
4401         javax/print/attribute/standard/DocumentName.java,
4402         javax/print/attribute/standard/Fidelity.java,
4403         javax/print/attribute/standard/Finishings.java,
4404         javax/print/attribute/standard/JobHoldUntil.java,
4405         javax/print/attribute/standard/JobImpressions.java,
4406         javax/print/attribute/standard/JobImpressionsCompleted.java,
4407         javax/print/attribute/standard/JobImpressionsSupported.java,
4408         javax/print/attribute/standard/JobKOctets.java,
4409         javax/print/attribute/standard/JobKOctetsProcessed.java,
4410         javax/print/attribute/standard/JobKOctetsSupported.java,
4411         javax/print/attribute/standard/JobMediaSheets.java,
4412         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4413         javax/print/attribute/standard/JobMediaSheetsSupported.java,
4414         javax/print/attribute/standard/JobMessageFromOperator.java,
4415         javax/print/attribute/standard/JobName.java,
4416         javax/print/attribute/standard/JobOriginatingUserName.java,
4417         javax/print/attribute/standard/JobPriority.java,
4418         javax/print/attribute/standard/JobPrioritySupported.java,
4419         javax/print/attribute/standard/JobSheets.java,
4420         javax/print/attribute/standard/JobState.java,
4421         javax/print/attribute/standard/JobStateReason.java,
4422         javax/print/attribute/standard/JobStateReasons.java,
4423         javax/print/attribute/standard/Media.java,
4424         javax/print/attribute/standard/MultipleDocumentHandling.java,
4425         javax/print/attribute/standard/NumberOfDocuments.java,
4426         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4427         javax/print/attribute/standard/NumberUp.java,
4428         javax/print/attribute/standard/NumberUpSupported.java,
4429         javax/print/attribute/standard/OrientationRequested.java,
4430         javax/print/attribute/standard/OutputDeviceAssigned.java,
4431         javax/print/attribute/standard/PDLOverrideSupported.java,
4432         javax/print/attribute/standard/PageRanges.java,
4433         javax/print/attribute/standard/PagesPerMinute.java,
4434         javax/print/attribute/standard/PagesPerMinuteColor.java,
4435         javax/print/attribute/standard/PrintQuality.java,
4436         javax/print/attribute/standard/PrinterInfo.java,
4437         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4438         javax/print/attribute/standard/PrinterLocation.java,
4439         javax/print/attribute/standard/PrinterMakeAndModel.java,
4440         javax/print/attribute/standard/PrinterMessageFromOperator.java,
4441         javax/print/attribute/standard/PrinterMoreInfo.java,
4442         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4443         javax/print/attribute/standard/PrinterName.java,
4444         javax/print/attribute/standard/PrinterStateReason.java,
4445         javax/print/attribute/standard/PrinterStateReasons.java,
4446         javax/print/attribute/standard/PrinterURI.java,
4447         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4448         javax/print/attribute/standard/RequestingUserName.java:
4449         Reorganized imports and removed redundant final modifiers.
4451 2004-10-20  Michael Koch  <konqueror@gmx.de>
4453         * javax/security/sasl/SaslClient.java,
4454         javax/security/sasl/SaslClientFactory.java,
4455         javax/security/sasl/SaslException.java,
4456         javax/security/sasl/SaslServer.java,
4457         javax/security/sasl/SaslServerFactory.java:
4458         Remvoed CVS tags.
4460 2004-10-20  Michael Koch  <konqueror@gmx.de>
4462         * javax/security/auth/login/NullConfiguration.java,
4463         javax/security/auth/x500/X500Principal.java,
4464         javax/security/cert/X509Certificate.java,
4465         javax/security/sasl/AuthenticationException.java,
4466         javax/security/sasl/AuthorizeCallback.java,
4467         javax/security/sasl/RealmCallback.java,
4468         javax/security/sasl/RealmChoiceCallback.java,
4469         javax/security/sasl/Sasl.java,
4470         javax/security/sasl/SaslClient.java,
4471         javax/security/sasl/SaslClientFactory.java,
4472         javax/security/sasl/SaslException.java,
4473         javax/security/sasl/SaslServer.java,
4474         javax/security/sasl/SaslServerFactory.java:
4475         Cleaned up import statements and copyright notices.
4477 2004-10-20  Michael Koch  <konqueror@gmx.de>
4479         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4481 2004-10-20  Michael Koch  <konqueror@gmx.de>
4483         * java/sql/Timestamp.java,
4484         java/text/AttributedCharacterIterator.java,
4485         java/text/AttributedString.java,
4486         java/util/zip/CheckedOutputStream.java,
4487         java/util/zip/DeflaterOutputStream.java,
4488         java/util/zip/ZipFile.java,
4489         javax/crypto/Cipher.java,
4490         javax/crypto/ExemptionMechanismException.java,
4491         javax/crypto/SecretKey.java,
4492         javax/crypto/SecretKeyFactory.java,
4493         javax/naming/directory/ModificationItem.java,
4494         javax/naming/directory/SearchControls.java,
4495         javax/naming/event/NamingListener.java,
4496         javax/naming/ldap/Control.java,
4497         javax/naming/ldap/ExtendedResponse.java,
4498         javax/net/ssl/SSLSocketFactory.java:
4499         Reorganized imports and fixed copyright headers.
4501 2004-10-20  Michael Koch  <konqueror@gmx.de>
4503         * java/util/logging/ConsoleHandler.java,
4504         java/util/logging/ErrorManager.java,
4505         java/util/logging/FileHandler.java,
4506         java/util/logging/Filter.java,
4507         java/util/logging/Formatter.java,
4508         java/util/logging/Handler.java,
4509         java/util/logging/Level.java,
4510         java/util/logging/LogManager.java,
4511         java/util/logging/LogRecord.java,
4512         java/util/logging/Logger.java,
4513         java/util/logging/LoggingPermission.java,
4514         java/util/logging/MemoryHandler.java,
4515         java/util/logging/SimpleFormatter.java,
4516         java/util/logging/SocketHandler.java,
4517         java/util/logging/StreamHandler.java,
4518         java/util/logging/XMLFormatter.java:
4519         Standardized copyrigth header.
4521 2004-10-20  Michael Koch  <konqueror@gmx.de>
4523         * java/security/AlgorithmParameterGenerator.java,
4524         java/security/AlgorithmParameters.java,
4525         java/security/DigestInputStream.java,
4526         java/security/Identity.java,
4527         java/security/KeyFactory.java,
4528         java/security/KeyPairGenerator.java,
4529         java/security/KeyStore.java,
4530         java/security/MessageDigest.java,
4531         java/security/MessageDigestSpi.java,
4532         java/security/Policy.java,
4533         java/security/SecureRandom.java,
4534         java/security/Security.java,
4535         java/security/Signature.java,
4536         java/security/SignatureSpi.java,
4537         java/security/cert/CertPathBuilder.java,
4538         java/security/cert/CertPathValidator.java,
4539         java/security/cert/CertStore.java,
4540         java/security/cert/Certificate.java,
4541         java/security/cert/CertificateFactory.java,
4542         java/security/cert/PolicyQualifierInfo.java,
4543         java/security/cert/TrustAnchor.java,
4544         java/security/cert/X509CRL.java,
4545         java/security/cert/X509CRLEntry.java,
4546         java/security/cert/X509Certificate.java,
4547         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4548         Import statements reorganized, some little formatting issues,
4549         used java-style array declarations, added comments in empty catch
4550         blocks.
4552 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4554         * java/security/Security.java
4555         (static): Use AccessController.doPrivileged to get system property.
4557 2004-10-18  Sven de Marothy  <sven@physto.se>
4559         * java/nio/ByteBufferHelper.java
4560         (putDouble): Use Double.toRawLongBits instead.
4562 2004-10-18  Mark Wielaard  <mark@klomp.org>
4563         Andrew Haley  <aph@redhat.com>
4565         * testsuite/libjava.lang/ExtraClassLoader.java: New.
4567 2004-10-18  Andrew Haley  <aph@redhat.com>
4569         PR java/18036:
4570         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4571         and correct logic used to find interpreter.
4573 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4575         * java/util/logging/LogManager.java
4576         (findAncestor): Fixed IndexOutOfBoundsException.
4578 2004-10-18  Michael Koch  <konqueror@gmx.de>
4580         * java/io/BufferedInputStream.java: Fixed @author tag.
4581         (read): Simplified expression.
4582         (read): Merged javadoc a bit more.
4583         (read): Renamed 'remain' to 'totalBytesRead'.
4584         * java/io/DataInputStream.java,
4585         java/io/DataOutputStream.java,
4586         java/io/ObjectInputStream.java,
4587         java/io/ObjectOutputStream.java:
4588         Reworked modifier order.
4590 2004-10-18  Michael Koch  <konqueror@gmx.de>
4592         * java/net/Inet4Address.java: Merged file header and javadocs.
4593         * java/net/Inet6Address.java: Likewise.
4594         * java/net/InetAddress.java
4595         (getCanonicalHostName): Create Inet4Address object instead of
4596         InetAddress and add comment regarding IPv6.
4597         (toString): Simplified.
4599 2004-10-18  Michael Koch  <konqueror@gmx.de>
4601         * gnu/java/net/protocol/http/Connection.java,
4602         java/nio/MappedByteBufferImpl.java,
4603         java/text/RuleBasedCollator.java,
4604         java/util/ResourceBundle.java:
4605         Reworked import statements.
4607 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4609         * java/security/IdentityScope.java
4610         (systemScope): Removed useless initializer.
4611         * java/security/Policy.java
4612         (currentPolicy): Likewise.
4614 2004-10-18  Michael Koch  <konqueror@gmx.de>
4616         * java/lang/System.java: Revert accidential change.
4618 2004-10-18  Michael Koch  <konqueror@gmx.de>
4620         * java/lang/Math.java,
4621         java/lang/Package.java,
4622         java/lang/Runtime.java,
4623         java/lang/StrictMath.java,
4624         java/lang/System.java,
4625         java/lang/Thread.java,
4626         java/lang/ThreadLocal.java,
4627         java/lang/Void.java:
4628         Reworked import statements, HTML in javadocs and modifier orders.
4630 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4632         * java/util/Timer.java
4633         (nr): Removed useless initializer.
4634         * java/util/logging/LogRecord.java
4635         (lastSeqNum): Likewise.
4636         * javax/naming/spi/NamingManager.java
4637         (icfb, ofb): Likewise.
4639 2004-10-18  Michael Koch  <konqueror@gmx.de>
4641         * gnu/java/net/PlainDatagramSocketImpl.java:
4642         Reworked import statements.
4643         * gnu/java/security/provider/DSAParameters.java:
4644         Fixed copyrigth years.
4645         * java/net/JarURLConnection.java:
4646         Fixed HTML in @author tags.
4649 2004-10-18  Michael Koch  <konqueror@gmx.de>
4651         * java/rmi/activation/ActivationSystem.java
4652         (SYSTEM_PORT): Initialize with correct port number.
4654 2004-10-18  Michael Koch  <konqueror@gmx.de>
4656         * java/lang/reflect/Proxy.java: Improved javadocs.
4658 2004-10-18  Michael Koch  <konqueror@gmx.de>
4660         * java/lang/reflect/AccessibleObject.java
4661         (checkPermission): Removed redundant final modifier.
4662         (secureSetAccessible): Likewise.
4663         * java/lang/reflect/Proxy.java:
4664         Reworked import statements.
4665         (generate): Removed redundant final modifier.
4666         * java/lang/reflect/ReflectPermission.java:
4667         Reorder package declaration and import statement.
4669 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4671         * java/lang/reflect/Proxy.java
4672         (count): Removed useless initializer.
4674 2004-10-17  Michael Koch  <konqueror@gmx.de>
4676         * java/net/BindException.java,
4677         java/net/ConnectException.java,
4678         java/net/ContentHandler.java,
4679         java/net/ContentHandlerFactory.java,
4680         java/net/DatagramPacket.java,
4681         java/net/DatagramSocket.java,
4682         java/net/DatagramSocketImpl.java,
4683         java/net/DatagramSocketImplFactory.java,
4684         java/net/FileNameMap.java,
4685         java/net/HttpURLConnection.java,
4686         java/net/MalformedURLException.java,
4687         java/net/MulticastSocket.java,
4688         java/net/NetworkInterface.java,
4689         java/net/NoRouteToHostException.java,
4690         java/net/PasswordAuthentication.java,
4691         java/net/PortUnreachableException.java,
4692         java/net/ProtocolException.java,
4693         java/net/ServerSocket.java,
4694         java/net/Socket.java,
4695         java/net/SocketException.java,
4696         java/net/SocketImpl.java,
4697         java/net/SocketImplFactory.java,
4698         java/net/SocketOptions.java,
4699         java/net/SocketPermission.java,
4700         java/net/SocketTimeoutException.java,
4701         java/net/URI.java,
4702         java/net/URISyntaxException.java,
4703         java/net/URL.java,
4704         java/net/URLDecoder.java,
4705         java/net/URLEncoder.java,
4706         java/net/URLStreamHandler.java,
4707         java/net/URLStreamHandlerFactory.java,
4708         java/net/UnknownHostException.java,
4709         java/net/UnknownServiceException.java:
4710         Big import statement and @author tag cleanup.
4712 2004-10-17  Michael Koch  <konqueror@gmx.de>
4714         * gnu/java/security/OID.java,
4715         gnu/java/security/provider/DSAParameters.java,
4716         gnu/java/security/provider/DSASignature.java,
4717         gnu/java/security/x509/X500DistinguishedName.java,
4718         gnu/java/security/x509/X509CRL.java:
4719         Import statements cleaned up.
4721 2004-10-16  Michael Koch  <konqueror@gmx.de>
4723         * gnu/java/nio/NIODatagramSocket.java,
4724         gnu/java/nio/ServerSocketChannelImpl.java:
4725         Reorganized import statements.
4727 2004-10-16  Michael Koch  <konqueror@gmx.de>
4729         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4730         gnu/java/rmi/rmic/RMIC.java,
4731         gnu/java/rmi/server/RMIHashes.java,
4732         gnu/java/rmi/server/RMIObjectInputStream.java,
4733         gnu/java/rmi/server/RMIObjectOutputStream.java,
4734         gnu/java/rmi/server/UnicastConnection.java,
4735         gnu/java/rmi/server/UnicastConnectionManager.java,
4736         gnu/java/rmi/server/UnicastRemoteCall.java,
4737         gnu/java/rmi/server/UnicastServer.java,
4738         gnu/java/rmi/server/UnicastServerRef.java,
4739         java/rmi/MarshalledObject.java,
4740         java/rmi/Naming.java,
4741         java/rmi/RMISecurityManager.java,
4742         java/rmi/Remote.java,
4743         java/rmi/activation/Activatable.java,
4744         java/rmi/activation/ActivationDesc.java,
4745         java/rmi/activation/ActivationGroup.java,
4746         java/rmi/activation/ActivationGroupDesc.java,
4747         java/rmi/activation/ActivationGroupID.java,
4748         java/rmi/activation/ActivationID.java,
4749         java/rmi/activation/ActivationInstantiator.java,
4750         java/rmi/activation/ActivationMonitor.java,
4751         java/rmi/activation/ActivationSystem.java,
4752         java/rmi/activation/Activator.java,
4753         java/rmi/dgc/DGC.java,
4754         java/rmi/dgc/Lease.java,
4755         java/rmi/dgc/VMID.java,
4756         java/rmi/registry/LocateRegistry.java,
4757         java/rmi/registry/Registry.java,
4758         java/rmi/registry/RegistryHandler.java,
4759         java/rmi/server/LoaderHandler.java,
4760         java/rmi/server/LogStream.java,
4761         java/rmi/server/ObjID.java,
4762         java/rmi/server/Operation.java,
4763         java/rmi/server/RMIClassLoader.java,
4764         java/rmi/server/RMIClassLoaderSpi.java,
4765         java/rmi/server/RMIClientSocketFactory.java,
4766         java/rmi/server/RMIFailureHandler.java,
4767         java/rmi/server/RMIServerSocketFactory.java,
4768         java/rmi/server/RMISocketFactory.java,
4769         java/rmi/server/RemoteCall.java,
4770         java/rmi/server/RemoteObject.java,
4771         java/rmi/server/RemoteRef.java,
4772         java/rmi/server/RemoteServer.java,
4773         java/rmi/server/RemoteStub.java,
4774         java/rmi/server/ServerRef.java,
4775         java/rmi/server/Skeleton.java,
4776         java/rmi/server/SkeletonMismatchException.java,
4777         java/rmi/server/UID.java,
4778         java/rmi/server/UnicastRemoteObject.java,
4779         java/rmi/server/Unreferenced.java:
4780         File headers and import statements cleaned up.
4782 2004-10-16  Michael Koch  <konqueror@gmx.de>
4784         * libjava/gnu/java/nio/charset/UTF_16.java,
4785         libjava/gnu/java/nio/charset/UTF_16BE.java,
4786         libjava/gnu/java/nio/charset/UTF_16LE.java,
4787         libjava/java/nio/ByteOrder.java,
4788         libjava/java/nio/MappedByteBuffer.java,
4789         libjava/java/nio/channels/Channels.java,
4790         libjava/java/nio/channels/spi/SelectorProvider.java,
4791         libjava/java/nio/charset/Charset.java:
4792         Cleanup.
4794 2004-10-16  Michael Koch  <konqueror@gmx.de>
4796         * gnu/java/nio/charset/UTF_16Encoder.java
4797         (UTF_16Encoder): Fixed maxBytesPerChar handling.
4799 2004-10-16  Michael Koch  <konqueror@gmx.de>
4801         * java/math/BigDecimal.java, java/math/BigInteger.java:
4802         Reorganized import statements, removed redundant and
4803         reorganized modifiers.
4805 2004-10-16  Michael Koch  <konqueror@gmx.de>
4807         * gnu/java/beans/ExplicitBeanInfo.java:
4808         Explicitely import java.awt.Image.
4809         (getIcon): Fixed off-by-one error.
4811 2004-10-15  Andrew Haley  <aph@redhat.com>
4813         * Makefile.am (nat_files, xlib_nat_files): New.
4814         * Makefile.in: Regenerate.
4816 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
4818         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
4819         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
4821 2004-10-13  Andrew Haley  <aph@redhat.com>
4823         * interpret.cc (_Jv_InterpMethod::run): Initialize
4824         _Jv_StartOfInterpreter.
4825         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
4826         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
4827         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
4828         _Unwind_FindEnclosingFunction to discover whether PC is within the
4829         interpreter.
4831 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
4833         PR libgcj/17903:
4834         * testsuite/libjava.lang/md5test.java: New file.
4835         * testsuite/libjava.lang/md5test.out: Likewise.
4836         * testsuite/libjava.lang/shatest.java: Likewise.
4837         * testsuite/libjava.lang/shatest.out: Likewise.
4839 2004-10-11  Richard Henderson  <rth@redhat.com>
4841         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
4842         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
4844 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
4846         * java/util/Calendar.java (set): Invalidate DST_OFFSET
4847         field as a DST boundary may have been crossed.
4848         * java/util/GregorianCalendar.java (add): Throw
4849         IllegalArgumentException on attempt to add to DST_OFFSET or
4850         ZONE_OFFSET fields. Update javadoc.
4852 2004-10-09  Michael Koch  <konqueror@gmx.de>
4854         * java/io/CharArrayWriter.java
4855         (resize): Removed redundant 'final' modifier.
4856         * java/io/DataInputStream.java
4857         (readFully): Throw IndexOutOfBoundsException of len < 0.
4858         * java/io/FileDescriptor.java,
4859         java/io/FileInputStream.java,
4860         java/io/FileOutputStream.java,
4861         java/io/ObjectOutputStream.java,
4862         java/io/ObjectStreamClass.java,
4863         java/io/PipedInputStream.java,
4864         java/io/RandomAccessFile.java:
4865         Reorganized import statements.
4867 2004-10-09  Michael Koch  <konqueror@gmx.de>
4869         * gnu/java/rmi/rmic/RMIC.java,
4870         gnu/java/rmi/server/RMIHashes.java,
4871         gnu/java/rmi/server/RMIObjectInputStream.java,
4872         gnu/java/rmi/server/UnicastConnection.java,
4873         gnu/java/rmi/server/UnicastConnectionManager.java,
4874         gnu/java/rmi/server/UnicastRemoteCall.java,
4875         gnu/java/rmi/server/UnicastServerRef.java:
4876         Reworked import statements and fixed file headers.
4878 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
4880         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
4881         emission rule.
4882         * configure: Rebuilt.
4884 2004-09-30  Tom Tromey  <tromey@redhat.com>
4886         * java/text/MessageFormat.java (Field): Constructor now
4887         protected.
4889 2004-09-30  Tom Tromey  <tromey@redhat.com>
4891         * javax/crypto/MacSpi.java: Fixed typo.
4893 2004-09-30  Michael Koch  <konqueror@gmx.de>
4895         * java/net/InetAddress.java: Reformatted.
4896         (loopback): Initialize with Inet4Address object.
4897         (static): Initialize ANY_IF with Inet4Address object.
4898         (InetAddress): Removed unused package-private constructor.
4900 2004-09-30  Michael Koch  <konqueror@gmx.de>
4902         * java/beans/Beans.java,
4903         java/beans/EventHandler.java,
4904         java/beans/EventSetDescriptor.java,
4905         java/beans/Introspector.java,
4906         java/beans/PropertyEditorManager.java,
4907         java/beans/beancontext/BeanContext.java,
4908         java/beans/beancontext/BeanContextChild.java,
4909         java/beans/beancontext/BeanContextChildSupport.java,
4910         java/beans/beancontext/BeanContextMembershipEvent.java:
4911         Reordered import statements and removed redundant modifiers.
4913 2004-09-29  Tom Tromey  <tromey@redhat.com>
4915         PR libgcj/17715:
4916         * Makefile.in: Rebuilt.
4917         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
4918         files.
4919         (all_property_files): New macro.
4921         * Makefile.in: Rebuilt.
4922         * Makefile.am (ordinary_java_source_files): Re-sorted.
4923         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
4925 2004-09-28  Tom Tromey  <tromey@redhat.com>
4927         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
4929         PR libgcj/17222:
4930         * Makefile.am (libgcj.la): Restored.
4931         * Makefile.in: Rebuilt.
4933 2004-09-28  Michael Koch  <konqueror@gmx.de>
4935         * java/net/URLConnection.java: Reformatted.
4936         * java/net/URLClassLoader.java: Reformatted.
4937         (getContent): Reordered return of content.
4938         (getContentHandler): Don't check for null explicitely.
4940 2004-09-27  Michael Koch  <konqueror@gmx.de>
4942         * java/io/BufferedInputStream.java
4943         (BufferedInputStream): Added Jeroen Frijters to authors.
4944         (count): Don't explicitely initialize with default value.
4945         (pos): Likewise.
4946         (marklimit): Likewise.
4947         (read): Changed boolean expression to match GNU classpath' version.
4948         (reset): Add proper message to exception.
4949         (skip): Check for closed stream.
4950         (refill): Likewise.
4952 2004-09-26  Per Bothner  <per@bothner.com>
4954         * prims.cc (unblock_signal): Annotate signum with __unused__ to
4955         avoid warnings in the non-POSIX_VERSION case.
4956         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
4957         so place it inside an #if block.
4958         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
4959         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
4960         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
4961         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
4963 2004-09-26  Per Bothner  <per@bothner.com>
4965         * prims.cc (process_gcj_properties):  Optimization.
4967 2004-09-26  Per Bothner  <per@bothner.com>
4969         * java/util/Collections.java (sort):  Copy from array in forwards
4970         order, rather than reverse order which may be much less efficient.
4972 2004-09-26  Mark Wielaard  <mark@klomp.org>
4974         * java/lang/System.java (properties): Make package private.
4975         * java/lang/Throwable.java (StaticData.nl): Initialize through
4976         directly accessing System.properties.getProperty().
4978         * java/lang/Throwable.java (nl): Remove static field.
4979         (StaticData): New private static inner class.
4980         (stackTraceStringBuffer): Use StaticData.nl.
4982 2004-09-26  Casey Marshall <csm@gnu.org>
4984         * java/security/ProtectionDomain.java
4985         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
4986         `true'.
4988         * java/security/SecureClassLoader.java
4989         (defineClass): make protection domain dynamically bound.
4990         (getPermissions): call `getCurrentPolicy' to avoid permission
4991         check.
4993 2004-09-25  Mark Wielaard  <mark@klomp.org>
4995         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
4996         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
4997         * Makefile.in: Regenerated.
4999         * gcj/javaprims.h: Regenerated.
5001         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
5002         (getDefaultTimeZone): Make package private. Check that GMToffset
5003         contains at least one digit.
5004         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
5005         VMTimeZone.
5006         * util/VMTimeZone.java: New file with above methods.
5008         * java/util/natTimeZone.cc: Removed (renamed).
5009         * java/util/natVMTimeZone.cc: Added (renamed).
5011 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
5013         * java/util/TimeZone.java
5014         (getDefaultTimeZone): Fixed test to distinguish between hours and
5015         minutes in specified timezone.
5017 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
5019         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
5020         handling of default package. (generate): Removed confused comments
5021         and code about making Method and Field accessible.
5023 2004-09-25  Tom Tromey  <tromey@redhat.com>
5025         PR java/17500:
5026         * testsuite/libjava.compile/pr17500.java: New file.
5028 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
5029             Mark Wielaard  <mark@klomp.org>
5031         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5032         * gnu/regexp/RETokenLookAhead.java: New file.
5034         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5035         * Makefile.in: Regenerated.
5037 2004-09-25  Michael Koch  <konqueror@gmx.de>
5039         * java/io/ObjectStreamField.java:
5040         Removed unused import statement.
5042 2004-09-24  Tom Tromey  <tromey@redhat.com>
5044         PR java/15656:
5045         * testsuite/libjava.compile/pr15656.xfail: New file.
5046         * testsuite/libjava.compile/pr15656.java: new file.
5048         PR java/16789:
5049         * testsuite/libjava.lang/pr16789.out: New file.
5050         * testsuite/libjava.lang/pr16789.java: New file.
5052 2004-09-24  Andrew Haley  <aph@redhat.com>
5054         PR java/16927
5055         * testsuite/libjava.compile/AssertBug.java: New file.
5057 2004-09-24  Casey Marshall <csm@gnu.org>
5059         * java/util/PropertyPermissionCollection.java
5060         (implies): avoid infinite loop.
5062 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5064         * javax/security/auth/PrivateCredentialPermission.java
5065         (PrivateCredentialPermission): added serialization UID
5068 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
5070         * gnu/java/rmi/server/UnicastServer.java
5071         (incomingMessageCall): Added code to handle Errors.
5072         * gnu/java/rmi/server/UnicastServerRef.java
5073         (incomingMessageCall): Added code to handle Errors.
5076 2004-09-24  Tom Tromey  <tromey@redhat.com>
5078         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5079         (definedPackages): Likewise.
5081 2004-09-24  Michael Koch  <konqueror@gmx.de>
5083         * java/io/ObjectInputStream.java:
5084         Re-ordered imports.
5086 2004-09-24  Casey Marshall <csm@gnu.org>
5088         * java/io/ObjectInputStream.java (callReadMethod): re-throw
5089         `ClassNotFoundException'.
5091 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5093         * java/io/ObjectInputStream.java (readObject): Delegate instantation
5094         of Externalizable classes to ObjectStreamClass.
5095         * java/io/ObjectStreamClass.java (newInstance): New method to
5096         instantiate Externalizable (while ignoring the accessibility of
5097         the constructor). (constructor): New field to cache the constructor.
5099 2004-09-24  Mark Wielaard  <mark@klomp.org>
5101         * java/net/URL.java (systemClassLoader): New static field.
5102         (getURLStreamHandler): Always use system/application classloader
5103         for finding URLStreamhandler. Remove unecessary instanceof checks.
5105 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
5107         * java/net/URL.java
5108         (set): This method now matches the behaviour of the JDK.
5109         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5111 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
5113         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5115 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5117         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5118         Don't set authority if host isn't specified.
5120 2004-09-24  Michael Koch  <konqueror@gmx.de>
5122         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5123         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5124         * gnu/java/nio/VMPipe.java,
5125         gnu/java/nio/VMSelector.java:
5126         New files.
5127         * gnu/java/nio/natPipeImplEcos.cc,
5128         gnu/java/nio/natPipeImplPosix.cc,
5129         gnu/java/nio/natPipeImplWin32.cc:
5130         Ported to VMPipe.
5131         * gnu/java/nio/natSelectorImplEcos.cc,
5132         gnu/java/nio/natSelectorImplPosix.cc,
5133         gnu/java/nio/natSelectorImplWin32.cc:
5134         Ported to VMSelector.
5135         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5136         gnu/java/nio/VMSelector.java.
5137         * Makefile.in: Regenerated.
5139 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5141         * java/lang/StackTraceElement.java
5142         (className): Renamed field to declaringClass to be compatible
5143         with Sun serialization format.
5145 2004-09-23  Michael Koch  <konqueror@gmx.de>
5147         * java/applet/AppletContext.java,
5148         java/applet/Applet.java,
5149         java/applet/AppletStub.java,
5150         java/applet/AudioClip.java:
5151         Jalopied and checkstyle clean.
5153         * javax/swing/JCheckBox.java: Reformated.
5154         (JCheckBox): Fixed all constructors.
5155         (isBorderPaintedFlat): New method.
5156         (setBorderPaintedFlat): New method.
5157         * javax/swing/JEditorPane.java
5158         (createEditorKitForContentType): Made public.
5159         (scrollToReference): Likewise.
5160         * javax/swing/JTextArea.java
5161         (setLineWrap): Fire property change.
5162         * javax/swing/JToggleButton.java
5163         (JToggleButton): New constructor.
5164         (JToggleButton): Simplified.
5165         * javax/swing/text/AttributeSet.java
5166         (FontAttribute): Renamed from FontCharacterAttribute.
5167         * javax/swing/text/JTextComponent.java
5168         (KeyBinBinding): Added javadoc.
5169         (JTextComponent): Likewise.
5170         (getAccessibleContext): Fixed javadoc.
5171         * javax/swing/text/View.java
5172         (View): Added javadoc.
5173         * javax/swing/text/TabableView.java: New file.
5174         * Makefile.am: Added javax/swing/text/TabableView.java.
5175         * Makefile.in: Regenerated.
5176 2004-09-23  Mark Wielaard  <mark@klomp.org>
5178         * java/util/Collections.java
5179         (binarySearch(List, Object, Comparator)): Explicitly
5180         reverse direction in list iterator.
5181         (rotate): Just return when list is empty.
5183 2004-09-23  Tom Tromey  <tromey@redhat.com>
5185         PR java/17329:
5186         * testsuite/libjava.compile/pr17329.java: New file.
5188         PR java/17380:
5189         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5190         9.2-implicit-7.
5192 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5194         * Makefile.am: Run aclocal with -I ../config
5195         * acinclude.m4: Delete macros picked up from ../config and tidy.
5196         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5197         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5198         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5200 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5202         * aclocal.m4: Regenerate with aclocal 1.9.2.
5203         * configure: Regenerate.
5204         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5205         * include/Makefile.in, testsuite/Makefile.in: Likewise.
5207 2004-09-22  David Daney  <ddaney@avtrex.com>
5209         PR libgcj/17623
5210         * java/net/URL.java (URL): Copy userInfo from context.
5211         (getUserInfo): Return cached userInfo if present.
5213 2004-09-22  Tom Tromey  <tromey@redhat.com>
5215         PR libgcj/6182:
5216         * mauve-libgcj: Enable java.lang.Character tests.
5218 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5220         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5221         dependencies.
5222         (lib_org_ietf_jgss_la_LIBADD): Likewise.
5223         * Makefile.in: Regenerated.
5225 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5227         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5228         * configure: Regenerate.
5229         * include/config.h.in: Likewise.
5230         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5232         macro to gtkpeer.h.
5233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5234         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5235         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5236         architectures.
5237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5238         Likewise.
5240 2004-09-22  Tom Tromey  <tromey@redhat.com>
5242         PR libgcj/14446:
5243         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5244         when comparing CRCs.
5245         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5246         field.
5247         (read()): New overload.
5249 2004-09-21  Tom Tromey  <tromey@redhat.com>
5251         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5252         Indentation fix.
5254 2004-09-21  Michael Koch  <konqueror@gmx.de>
5256         * java/net/Socket.java
5257         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5259 2004-09-21  Casey Marshall  <csm@gnu.org>
5261         * javax/crypto/MacSpi.java (clone): Provide meaningful
5262         implementation.
5264 2004-09-21  Tom Tromey  <tromey@redhat.com>
5266         PR libgcj/16869:
5267         * Makefile.in: Rebuilt.
5268         * Makefile.am (MOSTLYCLEANFILES): Removed.
5269         (mostlyclean-local): Remove header files.
5271 2004-09-21  Casey Marshall  <csm@gnu.org>
5273         * java/security/cert/X509CRLSelector.java:
5274         (match): remove unreachable try-catch clauses.
5275         Reported by: Dalibor Topic <robilad@kaffe.org>
5277 2004-09-21  Mark Wielaard  <mark@klomp.org>
5279         * java/util/TreeMap.java (root): Don't initialize.
5280         (TreeMap(Comparator)): Call fabricateTree(0).
5281         (fabricateTree): Initialize root and size when count is 0.
5283 2004-09-21  Sven de Marothy <sven@physto.se>
5285         * java/nio/ByteBuffer.java (hashCode): Implemented.
5286         * java/nio/CharBuffer.java: Likewise.
5287         * java/nio/DoubleBuffer.java: Likewise.
5288         * java/nio/FloatBuffer.java: Likewise.
5289         * java/nio/LongBuffer.java: Likewise.
5290         * java/nio/IntBuffer.java: Likewise.
5291         * java/nio/ShortBuffer.java: Likewise.
5293 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5295         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5297 2004-09-21  Michael Koch  <konqueror@gmx.de>
5299         * javax/net/ssl/SSLServerSocket.java:
5300         Removed comment about "Do not edit this file, it's generated.".
5302 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5304         Import the big Crypto/Jessie/Security merge from Classpath.
5306         * Makefile.am: Add imported files.
5307         * Makefile.in: Regenerate.
5309         2004-08-14  Casey Marshall <csm@gnu.org>
5311         The Big Crypto Merge of 2004.
5313         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5314         Crypto's version.
5316         Files imported from GNU Crypto.
5317         * javax/crypto/BadPaddingException.java
5318         * javax/crypto/Cipher.java
5319         * javax/crypto/CipherInputStream.java
5320         * javax/crypto/CipherOutputStream.java
5321         * javax/crypto/CipherSpi.java
5322         * javax/crypto/EncryptedPrivateKeyInfo.java
5323         * javax/crypto/ExemptionMechanism.java
5324         * javax/crypto/ExemptionMechanismException.java
5325         * javax/crypto/ExemptionMechanismSpi.java
5326         * javax/crypto/IllegalBlockSizeException.java
5327         * javax/crypto/KeyAgreement.java
5328         * javax/crypto/KeyAgreementSpi.java
5329         * javax/crypto/KeyGenerator.java
5330         * javax/crypto/KeyGeneratorSpi.java
5331         * javax/crypto/Mac.java
5332         * javax/crypto/MacSpi.java
5333         * javax/crypto/Makefile.am
5334         * javax/crypto/NoSuchPaddingException.java
5335         * javax/crypto/NullCipher.java
5336         * javax/crypto/NullCipherImpl.java
5337         * javax/crypto/SealedObject.java
5338         * javax/crypto/SecretKey.java
5339         * javax/crypto/SecretKeyFactory.java
5340         * javax/crypto/SecretKeyFactorySpi.java
5341         * javax/crypto/ShortBufferException.java
5342         * javax/crypto/interfaces/DHKey.java
5343         * javax/crypto/interfaces/DHPrivateKey.java
5344         * javax/crypto/interfaces/DHPublicKey.java
5345         * javax/crypto/interfaces/PBEKey.java
5346         * javax/crypto/spec/DESKeySpec.java
5347         * javax/crypto/spec/DESedeKeySpec.java
5348         * javax/crypto/spec/DHGenParameterSpec.java
5349         * javax/crypto/spec/DHParameterSpec.java
5350         * javax/crypto/spec/DHPrivateKeySpec.java
5351         * javax/crypto/spec/DHPublicKeySpec.java
5352         * javax/crypto/spec/IvParameterSpec.java
5353         * javax/crypto/spec/PBEKeySpec.java
5354         * javax/crypto/spec/PBEParameterSpec.java
5355         * javax/crypto/spec/RC2ParameterSpec.java
5356         * javax/crypto/spec/RC5ParameterSpec.java
5357         * javax/crypto/spec/SecretKeySpec.java
5358         * javax/security/auth/AuthPermission.java
5359         * javax/security/auth/DestroyFailedException.java
5360         * javax/security/auth/Destroyable.java
5361         * javax/security/auth/Policy.java
5362         * javax/security/auth/PrivateCredentialPermission.java
5363         * javax/security/auth/RefreshFailedException.java
5364         * javax/security/auth/Refreshable.java
5365         * javax/security/auth/Subject.java
5366         * javax/security/auth/SubjectDomainCombiner.java
5367         * javax/security/auth/callback/Callback.java
5368         * javax/security/auth/callback/CallbackHandler.java
5369         * javax/security/auth/callback/ChoiceCallback.java
5370         * javax/security/auth/callback/ConfirmationCallback.java
5371         * javax/security/auth/callback/LanguageCallback.java
5372         * javax/security/auth/callback/NameCallback.java
5373         * javax/security/auth/callback/PasswordCallback.java
5374         * javax/security/auth/callback/TextInputCallback.java
5375         * javax/security/auth/callback/TextOutputCallback.java
5376         * javax/security/auth/callback/UnsupportedCallbackException.java
5377         * javax/security/auth/login/AccountExpiredException.java
5378         * javax/security/auth/login/AppConfigurationEntry.java
5379         * javax/security/auth/login/Configuration.java
5380         * javax/security/auth/login/CredentialExpiredException.java
5381         * javax/security/auth/login/FailedLoginException.java
5382         * javax/security/auth/login/LoginContext.java
5383         * javax/security/auth/login/LoginException.java
5384         * javax/security/auth/login/NullConfiguration.java
5385         * javax/security/auth/x500/X500PrivateCredential.java
5386         * javax/security/sasl/AuthenticationException.java
5387         * javax/security/sasl/AuthorizeCallback.java
5388         * javax/security/sasl/RealmCallback.java
5389         * javax/security/sasl/RealmChoiceCallback.java
5390         * javax/security/sasl/Sasl.java
5391         * javax/security/sasl/SaslClient.java
5392         * javax/security/sasl/SaslClientFactory.java
5393         * javax/security/sasl/SaslException.java
5394         * javax/security/sasl/SaslServer.java
5395         * javax/security/sasl/SaslServerFactory.java
5396         * org/ietf/jgss/ChannelBinding.java
5397         * org/ietf/jgss/GSSContext.java
5398         * org/ietf/jgss/GSSCredential.java
5399         * org/ietf/jgss/GSSException.java
5400         * org/ietf/jgss/GSSManager.java
5401         * org/ietf/jgss/GSSName.java
5402         * org/ietf/jgss/MessageProp.java
5403         * org/ietf/jgss/Oid.java
5404         * org/ietf/jgss/MessagesBundle.properties
5406         Files imported from Jessie <http://www.nongnu.org/jessie/>
5407         * javax/net/ServerSocketFactory.java
5408         * javax/net/SocketFactory.java
5409         * javax/net/VanillaServerSocketFactory.java
5410         * javax/net/VanillaSocketFactory.java
5411         * javax/net/ssl/HandshakeCompletedEvent.java
5412         * javax/net/ssl/HandshakeCompletedListener.java
5413         * javax/net/ssl/HostnameVerifier.java
5414         * javax/net/ssl/HttpsURLConnection.java
5415         * javax/net/ssl/KeyManager.java
5416         * javax/net/ssl/KeyManagerFactory.java
5417         * javax/net/ssl/KeyManagerFactorySpi.java
5418         * javax/net/ssl/ManagerFactoryParameters.java
5419         * javax/net/ssl/SSLContext.java
5420         * javax/net/ssl/SSLContextSpi.java
5421         * javax/net/ssl/SSLException.java
5422         * javax/net/ssl/SSLHandshakeException.java
5423         * javax/net/ssl/SSLKeyException.java
5424         * javax/net/ssl/SSLPeerUnverifiedException.java
5425         * javax/net/ssl/SSLPermission.java
5426         * javax/net/ssl/SSLProtocolException.java
5427         * javax/net/ssl/SSLServerSocket.java
5428         * javax/net/ssl/SSLServerSocketFactory.java
5429         * javax/net/ssl/SSLSession.java
5430         * javax/net/ssl/SSLSessionBindingEvent.java
5431         * javax/net/ssl/SSLSessionBindingListener.java
5432         * javax/net/ssl/SSLSessionContext.java
5433         * javax/net/ssl/SSLSocket.java
5434         * javax/net/ssl/SSLSocketFactory.java
5435         * javax/net/ssl/TrivialHostnameVerifier.java
5436         * javax/net/ssl/TrustManager.java
5437         * javax/net/ssl/TrustManagerFactory.java
5438         * javax/net/ssl/TrustManagerFactorySpi.java
5439         * javax/net/ssl/X509KeyManager.java
5440         * javax/net/ssl/X509TrustManager.java
5441         * javax/security/cert/Certificate.java
5442         * javax/security/cert/CertificateEncodingException.java
5443         * javax/security/cert/CertificateException.java
5444         * javax/security/cert/CertificateExpiredException.java
5445         * javax/security/cert/CertificateNotYetValidException.java
5446         * javax/security/cert/CertificateParsingException.java
5447         * javax/security/cert/X509CertBridge.java
5448         * javax/security/cert/X509Certificate.java
5450         2004-08-20  Casey Marshall  <csm@gnu.org>
5452         * java/security/cert/X509CRLSelector.java: New file.
5453         * java/security/cert/X509CertSelector.java: New file.
5455 2004-09-15  Michael Koch  <konqueror@gmx.de>
5457         * gnu/java/net/protocol/file/Handler.java
5458         (openConnection): Don't throw exception if host part for file: URI is
5459         present. setURL() keeps file: protocol if ftp: protocol is not
5460         available.
5462 2004-09-14  Richard Henderson  <rth@redhat.com>
5464         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5465         value of sigsuspend.
5467 2004-09-12  Tom Tromey  <tromey@redhat.com>
5469         * javax/naming/CompoundName.java (CompoundName): Don't check for
5470         separator in "flat" case.
5472 2004-09-12  Michael Koch  <konqueror@gmx.de>
5474         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5475         AM_CONFIG_HEADER by AC_CONFIG_FILES.
5476         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5477         Regenerate.
5479 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5481         PR libgcj/14751
5482         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5483         handle in newly-allocated _Jv_Thread_t.
5484         (_Jv_ThreadDestroyData): Close thread handle.
5485         (_Jv_ThreadStart): Remove obsolete comment.
5486         Store handle of newly-created thread in _Jv_Thread_t.
5487         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5488         before including <windows.h>
5489         #define _Jv_HaveCondDestroy
5491 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5493         * java/lang/natThread.cc (finalize_native): Destroy
5494         join conditional variable and mutex if these destroy
5495         operations are supported.
5497 2004-09-10  Dalibor Topic <robilad@kaffe.org>
5499         * gnu/java/net/protocol/file/Connection.java (permission): New field.
5500         (DEFAULT_PERMISSION): New constant.
5501         (Connection): Create a FilePermission with permission to read file.
5503 2004-09-10  Michael Koch  <konqueror@gmx.de>
5505         * gnu/java/net/protocol/file/Connection.java
5506         (getLastModified): Moved around.
5507         (getPermission): Return stored permission.
5509 2004-09-10  Michael Koch  <konqueror@gmx.de>
5511         * Makefile.in: Regenerate.
5513 2004-09-10  Michael Koch  <konqueror@gmx.de>
5515         * Makefile.am: Reverted accidently commited stuff.
5516         * configure: Regenerated.
5518 2004-09-10  Michael Koch  <konqueror@gmx.de>
5520         * gnu/java/net/protocol/file/Connection.java
5521         (lineSeparator): Made non-final.
5522         (static): Removed.
5523         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5524         instead of StringBufferInputStream.
5526 2004-09-10  Michael Koch  <konqueror@gmx.de>
5528         * gnu/java/net/protocol/file/Connection.java
5529         (connect): Handle file is a directory case.
5531 2004-09-10  Michael Koch  <konqueror@gmx.de>
5533         * Makefile.am
5534         (xlib_includes): Removed.
5535         (AM_CPPFLAGS): Renamed from INCLUDES.
5536         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5537         * Makefile.in: Regenerate.
5539 2004-09-09  Michael Koch  <konqueror@gmx.de>
5541         * java/security/ProtectionDomain.java,
5542         * java/util/PropertyPermissionCollection.java:
5543         Fixed javadocs all over.
5545 2004-09-09  Sven de Marothy  <sven@physto.se>
5547         Patch from David Gilbert <david.gilbert@object-refinery.com>
5548         * java/lang/Comparable.java: Fixed documentation errors.
5549         * java/util/Arrays.java: Likewise.
5551 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5553         * java/net/Inet4Address.java
5554         (Inet4Address): Added comment to serialization UID.
5555         * java/text/Format.java
5556         (Format): Added comment to serialization UID.
5558 2004-09-09  Michael Koch  <konqueror@gmx.de>
5560         * java/lang/System.java
5561         (err): Fixed javadoci to point to setErr() and not setOut().
5563 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
5565         (normalizePath): Added special case for windows systems.
5567 2004-09-09  Michael Koch  <konqueror@gmx.de>
5569         * java/io/File.java
5570         (dupSeparator): Made private.
5571         (File(URI)): New constructor.
5572         (getParentFile): Fixed javadoc.
5573         (createTempFile): Reformated.
5574         (setReadOnly): Added comment.
5575         (deleteOnExit): Merged javadoc with classpath version.
5577 2004-09-09  Michael Koch  <konqueror@gmx.de>
5579         * Makefile.am: Don't try to include deps.mk.
5580         * Makefile.in: Regenerated.
5582 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
5584         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5585         .d files.
5586         * configure: Rebuilt.
5588 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
5590         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5591         Changed pfn from static local to local.
5593 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
5594             H.J. Lu  <hongjiu.lu@intel.com>
5596         PR libgcj/17290
5597         * Makefile.am (GCJCOMPILE): Remove definition.
5598         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5599         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5600         * Makefile.in: Rebuilt.
5602 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
5604         * configure.ac (enable-gc-debug): Update help for new syntax.
5605         * configure: Regenerate.
5607 2004-09-03  David Daney  <ddaney@avtrex.com>
5609         * include/mips-signal.h: Update copyright.
5611 2004-09-03  David Daney  <ddaney@avtrex.com>
5613         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5614         * include/mips-signal.h: Added HANDLE_FPE support.
5616 2004-08-31  Michael Koch  <konqueror@gmx.de>
5618         * javax/swing/plaf/basic/BasicTextAreaUI.java
5619         (create): New method.
5620         * javax/swing/text/DefaultHighlighter.java
5621         (DefaultHighlightPainter.debugRect): Removed.
5622         * javax/swing/text/StyleContext.java
5623         (DEFAULT_STYLE): New field.
5625 2004-08-31  Michael Koch  <konqueror@gmx.de>
5627         * javax/swing/plaf/basic/BasicLookAndFeel.java
5628         (initComponentDefaults): Add keybindings for selection.backward and
5629         selection-forward for text components.
5630         * javax/swing/plaf/basic/BasicTextUI.java
5631         (paintSafely): Paint highlight only when something is actually
5632         selected.
5633         * javax/swing/text/DefaultCaret.java
5634         (handleHighlight): New method.
5635         (setSelectionVisible): Don't do anything when nothing changes.
5636         Handle highlight.
5637         (moveDot): Reimplemented. Handle highlight.
5638         (setDot): Set mark too. Handle highlight.
5639         (getSelectionPainter): New method.
5640         * javax/swing/text/DefaultEditorKit.java
5641         (defaultActions): Added new actions for text selection.
5642         * javax/swing/text/DefaultHighlighter.java
5643         (DefaultHighlightPainter): New inner class.
5644         (DefaultPainter): New field.
5645         (paint): Implemented.
5646         * javax/swing/text/PlainView.java
5647         (paint): Don't draw background here again.
5648         * javax/swing/text/Utilities.java
5649         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5650         (drawTabbedText): Likewise.
5652 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5654         * javax/swing/JComponent.java
5655         (resetKeyboardActions): Add null checks.
5657 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5659         * javax/swing/DefaultButtonModel.java:
5660         Skip group notification when no group is set.
5662 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5664         * javax/swing/JColorChooser.java:
5665         Make a couple inner classes static, for jikes.
5667 2004-08-31  Michael Koch  <konqueror@gmx.de>
5669         * javax/swing/plaf/basic/BasicTextUI.java
5670         (RottView.modelToView): New method.
5671         (UpdateHandler): Renamed from EventHandler.
5672         (updateHandler): Renamed from eventHandler.
5673         (modelToView): Implemented.
5674         * javax/swing/text/AbstractDocument.java
5675         (BranchElement.getElement): Return null for non-existing indeces.
5676         (BranchElement.getElementIndex): Return 0 in some corner cases.
5677         * javax/swing/text/FieldView.java
5678         (modelToView): New method.
5679         * javax/swing/text/PlainView.java
5680         (modelToView): Made public.
5682 2004-08-31  Kim Ho  <kho@redhat.com>
5684         * Makefile.am: New files.
5685         * Makefile.in: Regenerate.
5686         * gcj/Makefile.in: Regenerate.
5687         * include/Makefile.in: Regenerate.
5688         * java/awt/Color.java: Fix documentation.
5689         (RGBtoHSB): Use floats for conversions.
5690         * javax/swing/ButtonGroup.java: Run Jalopy.
5691         (setSelected): Reimplement.
5692         * javax/swing/DefaultButtonModel.java: Run Jalopy.
5693         (changeState): Let ButtonGroup know that the button
5694         is changing state.
5695         * javax/swing/JColorChooser.java: Implement.
5696         * javax/swing/JLabel.java: Run Jalopy.
5697         * javax/swing/JSpinner.java: Run Jalopy.
5698         (setValue): New method.
5699         * javax/swing/JTabbedPane.java: Run Jalopy.
5700         (removeTabAt): Call correct remove method.
5701         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5702         (getPreviousValue): Compare minimum value.
5703         * javax/swing/Timer.java: Run Jalopy.
5704         (run): Comment out println.
5705         * javax/swing/ToolTipManager.java:
5706         (mouseMoved): Get new tooltip text for location.
5707         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5708         Jalopy and Javadoc.
5709         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5710         Implement.
5711         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5712         Run Jalopy.
5713         (setSelectedColor): Fire ChangeEvent.
5714         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5715         New file. Implement.
5716         * javax/swing/colorchooser/DefaultPreviewPanel.java:
5717         Ditto.
5718         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5719         Ditto.
5720         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5721         Ditto.
5722         * javax/swing/plaf/basic/BasicArrowButton.java:
5723         (getArrow): Fix size of upward pointing button.
5724         * javax/swing/plaf/basic/BasicColorChooserUI.java:
5725         Implement.
5726         * javax/swing/plaf/basic/BasicSliderUI.java:
5727         (getWidthOfWidestLabel): Use preferred dimensions.
5728         (getHeightOfTallestLabel): Ditto.
5729         * javax/swing/plaf/basic/BasicSpinnerUI.java:
5730         Run Jalopy.
5731         (mousePressed): Disable changes to spinner if it is not enabled.
5732         * testsuite/Makefile.in: Regenerate.
5735 2004-08-31  Michael Koch  <konqueror@gmx.de>
5737         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5738         javax/swing/plaf/basic/BasicTableUI.java:
5739         Added copyright notice.
5741 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
5743         * Makefile.am: Added new files.
5744         * Makefile.in: Regenerate.
5745         * javax/swing/ComboBoxEditor.java: Added javadocs.
5746         * javax/swing/ComboBoxModel.java: Likewise.
5747         * javax/swing/DefaultComboBoxModel.java: Implemented.
5748         * javax/swing/DefaultListCellRenderer.java: Added javadocs
5749         and ran through jalopy to fix formatting style.
5750         (getListCellRendererComponent): Use appropriate border
5751         if renderer has focus and use noFocusBorder when it doesn't.
5752         * javax/swing/JComboBox.java: Implemented.
5753         * javax/swing/JList.java:
5754         (locationToIndex): New Method. Implemented.
5755         (indexToLocation): New Method.
5756         * javax/swing/JPopupMenu.java:
5757         (visible): New field.
5758         (isVisible): Changed to use new field above.
5759         (setVisible): Likewise.
5760         * javax/swing/MutableComboBoxModel.java: Added javadocs.
5761         * javax/swing/plaf/basic/BasicArrowButton.java:
5762         (shadow): Changed default color to Color.gray.
5763         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5764         UI delegate for JComboBox.
5765         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5766         Popup menu containing list of JComboBox's items.
5767         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5768         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5769         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5770         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5771         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5772         (popupMenuWillBecomeVisible): Set selected path to the first
5773         element only if it is of type MenuElement. Also fix formatting
5774         style.
5775         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
5776         methods signatures.
5778 2004-08-31  Michael Koch  <konqueror@gmx.de>
5780         * javax/swing/text/AbstractDocument.java
5781         (createBranchElement): Use new constructor of BranchElement.
5782         (createLeafElement): Renamed arguments.
5783         (getRootElements): Implemented.
5784         (BranchElement.start): Removed.
5785         (BranchElement.end): Likewise.
5786         (BranchElement.BranchElement): Fixed arguments.
5787         (BranchElement.getEndOffset): Reimplemented.
5788         (BranchElement.getStartOffset): Likewis.
5789         * javax/swing/text/DefaultCaret.java
5790         (paint): Draw simple vertical line as caret instead of a rectangle.
5791         * javax/swing/text/JTextComponent.java
5792         (setText): Use doc directly.
5793         * javax/swing/text/PlainView.java
5794         (nextTabStop): Implemented.
5795         * javax/swing/text/Utilities.java
5796         (drawTabbedText): nextTabStop() returns an absolute x position.
5797         (getTabbedTextWidth): Likewise.
5799 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5801         * java/awt/Component.java
5802         (isFocusTraversable): Predicate on isLightweight()
5803         (setFocusable): Set isFocusTraversableOverridden.
5804         (requestFocus): Predicate peer dispatch on !isLightweight()
5805         (requestFocusInWindow): Likewise.
5806         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
5807         * java/awt/Container.java
5808         (dispatchEventImpl): Predicate on event mask.
5809         (LightweightDispatcher): Remove focus machinery.
5810         * java/awt/DefaultFocusTraversalPolicy.java
5811         (accept): Expand predicate to include isFocusable().
5812         * java/awt/DefaultKeyboardFocusManager.java:
5813         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
5814         * java/awt/KeyboardFocusManager.java
5815         (redispatchEvent): Synchronize on event to prevent feedback.
5816         * javax/swing/AbstractButton.java
5817         (ButtonFocusListener): Remove class.
5818         (init): Set focusPainted, focusable.
5819         * javax/swing/ActionMap.java (get): Check parent for null.
5820         * javax/swing/InputMap.java (get): Likewise.
5821         * javax/swing/JComponent.java
5822         (inputMap_whenFocused): New InputMap.
5823         (inputMap_whenAncestorOfFocused): Likewise.
5824         (inputMap_whenInFocusedWindow): Likewise.
5825         (getActionForKeyStroke): Rewrite.
5826         (getConditionForKeystroke): Likewise.
5827         (ActionListenerProxy): New private class.
5828         (setInputMap): Implement.
5829         (getInputMap): Likewise.
5830         (setActionMap): Likewise.
5831         (getActionMap): Likewise.
5832         (processComponentKeyEvent): New empty method.
5833         (processKeyEvent): Implement.
5834         (processKeyBinding): Likewise.
5835         (resetKeyboardActions): Rewrite.
5836         * javax/swing/KeyStroke.java: Rewrite.
5837         * javax/swing/SwingUtilities.java
5838         (notifyAction): Implement.
5839         (replaceUIActionMap): Likewise.
5840         (replaceUIInputMap): Likewise.
5841         * javax/swing/plaf/basic/BasicButtonListener.java
5842         (focusGained): Implement.
5843         (focusLost): Repaint if focusPainted().
5844         (installKeyboardActions): Install pressed / released actions.
5845         (uninstallKeyboardActions): Implement.
5846         * javax/swing/plaf/basic/BasicButtonUI.java
5847         (focusColor): New field.
5848         (installDefaults): Load focus color, install input map.
5849         (installKeyboardActions): Implement.
5850         (uninstallKeyboardActions): Likewise.
5851         (paintFocus): Rewrite.
5852         * javax/swing/plaf/basic/BasicLookAndFeel.java
5853         (Button.focus): New default, midPurple.
5854         * javax/swing/plaf/basic/BasicTextUI.java
5855         (kit): Make static.
5856         (installUI): Get doc from kit, load defaults.
5857         (getKeymapName): Implement.
5858         (createKeymap): Likewise.
5859         (installKeyboardActions): Likewise.
5860         (getInputMap): Likewise.
5861         (getActionMap): Likewise.
5862         (createActionMap): Likewise.
5863         * javax/swing/text/AbstractDocument.java
5864         (getStartPosition): Implement.
5865         (getEndPosition): Likewise.
5866         * javax/swing/text/DefaultEditorKit.java
5867         (CopyAction): New class.
5868         (CutAction): Likewise.
5869         (DefaultKeyTypedAction): Likewise.
5870         (InsertBreakAction): Likewise.
5871         (InsertContentAction): Likewise.
5872         (InsertTabAction): Likewise.
5873         (PasteAction): Likewise.
5874         (defaultActions): New static table.
5875         (createCaret): Implement.
5876         (getActions): Likewise.
5877         * javax/swing/text/JTextComponent.java
5878         (KeymapWrapper): New private class.
5879         (KeymapActionMap): Likewise.
5880         (DefaultKeymap): New class.
5881         (keymaps): New static table.
5882         (keymap): New field.
5883         (getKeymap): Implement.
5884         (removeKeymap): Likewise.
5885         (addKeymap): Likewise.
5886         (setKeymap): Likewise.
5887         (loadKeymap): Likewise.
5888         (getActions): Likewise.
5889         (margin): New field.
5890         (JTextComponent): Build and install default keymap.
5891         * javax/swing/text/TextAction.java
5892         (textAction): Call super properly.
5893         (getTextComponent): Implement.
5894         * javax/swing/text/Utilities.java
5895         (drawTabbedText): Adjust position by ascent.
5897 2004-08-31  David Jee  <djee@redhat.com>
5899         PR AWT/17156
5901         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5902         (setEnabled): Make it a native method.
5903         * java/awt/DefaultKeyboardFocusManager.java
5904         (postProcessKeyEvent): Only post event if the menu item
5905         is active.
5906         * java/awt/MenuItem.java:
5907         Private field 'enabled' should be true by default.
5908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5909         (setEnabled): New function.
5911 2004-08-31  David Jee  <djee@redhat.com>
5913         PR AWT/17059
5915         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5916         (nativeSetHelpMenu): New native method declaration.
5917         (addHelpMenu): Call nativeSetHelpMenu().
5918         (addMenu): Remove.
5919         * java/awt/MenuBar.java
5920         (setHelpMenu): Call addNotify() on the new help menu.
5921         (add): Call addNotify() on the new menu.
5922         (addNotify): Set the help menu if one exists.
5923         * java/awt/peer/MenuBarPeer.java
5924         (addMenu): Remove.
5925         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5926         (nativeSetHelpMenu): New method.
5928 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5930         * Makefile.am: Add new files.
5931         * Makefile.in: Regenerate.
5932         * javax/swing/Box.java: Fix setting of layout in ctor.
5933         * javax/swing/JScrollPane.java: Scroll headers as well.
5934         * javax/swing/JTable.java: Reimplement.
5935         * javax/swing/JViewPort.java: Only add non-null children.
5936         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
5937         * javax/swing/Timer.java: Fix stopping null waker.
5938         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
5939         * javax/swing/plaf/basic/BasicTableUI.java: New file.
5940         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
5941         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
5942         * javax/swing/table/DefaultTableModel.java: Clean up.
5943         * javax/swing/table/JTableHeader.java: Implement.
5945 2004-08-31  Mark Wielaard  <mark@klomp.org>
5947         * javax/swing/JSpinner.java (getChangeListeners): Remove double
5948         semi-colon.
5950 2004-08-31  Mark Wielaard  <mark@klomp.org>
5952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
5953         Declare variables at top of functions/block.
5954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
5956 2004-08-31  Mark Wielaard  <mark@klomp.org>
5958         * java/lang/Rectangle.java (intersects): Check r.width and r.height
5959         first.
5961 2004-08-31  Michael Koch  <konqueror@gmx.de>
5963         * javax/swing/text/PlainView.java
5964         (selectedColor): New field.
5965         (unselectedColor): Likewise.
5966         (font): Likewise.
5967         (updateMetrics): New method.
5968         (lineToRect): Likewise.
5969         (modelToView): Likewise.
5970         (drawSelectedText): Use color from JTextComponent ad draw with
5971         Utilities class.
5972         (drawUnselectedText): Likewise.
5973         (paint): Initialize helper fields.
5974         * javax/swing/text/View.java
5975         (getChildAllocation): New method.
5976         (getViewIndex): Likewise.
5977         (getToolTipText): Likewise.
5979 2004-08-31  Michael Koch  <konqueror@gmx.de>
5981         * javax/swing/text/Utilities.java
5982         (drawTabbedText): Reimplemented.
5983         (getTabbedTextWidth): Likewise.
5985 2004-08-31  Michael Koch  <konqueror@gmx.de>
5987         * javax/swing/plaf/basic/BasicTextUI.java
5988         (installDefaults): Install caret and highlighter.
5989         (modelToView): Use Bias.Forward when calling sibling.
5990         * javax/swing/text/AbstractDocument.java
5991         (ElementEdit): Implements DocumentEvent.ElementChange.
5992         (ElementEdit.ElementEdit): New method.
5993         (ElementEdit.getChildrenAdded): Likewise.
5994         (ElementEdit.getChildrenRemoved): Likewise.
5995         (ElementEdit.getElement): Likewise.
5996         (ElementEdit.getIndex): Likewise.
5997         * javax/swing/text/DefaultCaret.java
5998         (color): Removed.
5999         (textComponent): Renamed from parent, made private.
6000         (selectionVisible): Renamed from vis_sel, made private.
6001         (blinkRate): Renamed from blink, made private.
6002         (magicCaretPosition): Renamed from magic, made private.
6003         (visible): Renamed from vis, made private.
6004         (dot): Made private.
6005         (mark): Likewise.
6006         (deinstall): Remove as MouseMotionListener.
6007         (install): Initialize textComponent first. Add as MouseMotionListener.
6008         (paint): Reimplemented.
6009         * javax/swing/text/JTextComponent.java
6010         (setCaret): Deinstall old caret, install new one and fire property
6011         change after setting property.
6012         (setHighlighter): Deinstall old highlighter, install new one and fire
6013         property change after setting property.
6014         (setCaretColor): Fire property change after setting property.
6015         (setDisabledTextColor): Likewise.
6016         (setSelectedTextColor): Likewise.
6017         (setSelectionColor): Likewise.
6018         (modelToView): New method.
6020 2004-08-31  Michael Koch  <konqueror@gmx.de>
6022         * javax/swing/text/AbstractDocument.java
6023         (getText): Simplified.
6024         * javax/swing/text/Segment.java
6025         (current): New field.
6026         (current): Reimplemented.
6027         (first): Likewise.
6028         (getIndex): Likewise.
6029         (last): Likewise.
6030         (next): Likewise.
6031         (previous): Likewise.
6032         (setIndex): Likewise.
6034 2004-08-31  Michael Koch  <konqueror@gmx.de>
6036         * javax/swing/plaf/basic/BasicButtonUI.java
6037         (defaultTextIconGap): Made protected.
6038         (defaultTextShiftOffset): Likewise.
6039         (textShiftOffset): New field.
6040         (clearTextShiftOffset): New method.
6041         (getTextShiftOffset): Likewise.
6042         (setTextShiftOffset): Likewise.
6044 2004-08-31  Michael Koch  <konqueror@gmx.de>
6046         * javax/swing/plaf/basic/BasicTextUI.java
6047         (installUI): Add eventHandler as property listener.
6048         (uninstallUI): remove eventHandler as propert listener.
6049         (installDefaults): Added comment.
6050         (installListeners): Likewise.
6051         (installKeyboardActions): Likewise.
6052         (uninstallDefaults): Likewise.
6053         (uninstallListeners): Likewise.
6054         (uninstallKeyboardActions): Likewise.
6056 2004-08-31  Michael Koch  <konqueror@gmx.de>
6058         * javax/swing/text/AbstractDocument.java:
6059         Fixed some typos in comments.
6060         (insertString): Reimplemented.
6061         (remove): Likewise.
6062         (replace): New method.
6063         (children): Dont use fully qualified class name.
6064         (DefaultDocumentEvent.offset): Renamed from off.
6065         (DefaultDocumentEvent.length): Renamed from len.
6066         (DefaultDocumentEvent.type): New field.
6067         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6068         (DefaultDocumentEvent.getType): Implemented.
6070 2004-08-31  Michael Koch  <konqueror@gmx.de>
6072         * javax/swing/plaf/basic/BasicTextUI.java
6073         (RootView.textComponent): Removed.
6074         (RootView.RootView): Don't initialize textComponent.
6075         (RootView.getViewFactory): New method.
6076         (EventHandler): New inner class.
6077         (rootView): Initialize at instance creation.
6078         (eventHandler): New field.
6079         (installUI): Don't create view hierarchy directly,
6080         call modelChanged() instead.
6081         (modelChanged): New method.
6082         * javax/swing/text/JTextComponent.java
6083         (setDocument): Fire property change event.
6085 2004-08-31  Michael Koch  <konqueror@gmx.de>
6087         * javax/swing/plaf/basic/BasicTextUI.java
6088         (RootView.paint): Removed debug output.
6089         (paintSafely): Draw highlighter before text.
6090         (paintBackground): Use background color of text component.
6091         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6092         Reformatted.
6094 2004-08-31  Michael Koch  <konqueror@gmx.de>
6096         * javax/swing/plaf/basic/BasicToolBarUI.java
6097         (BasicToolBarUI): Fixed arguments for constructor.
6098         (createUI): Fixed creation of object.
6100 2004-08-31  Michael Koch  <konqueror@gmx.de>
6102         * javax/swing/DefaultListSelectionModel.java
6103         (fireValueChanged): Renamed from fireSelectionValueChanged,
6104         made protected.
6106 2004-08-31  Michael Koch  <konqueror@gmx.de>
6108         * javax/swing/text/TabSet.java
6109         (TabSet): Implements java.io.Serializable.
6110         * javax/swing/text/TabStop.java
6111         (TabStop): Implements java.io.Serializable.
6112         (TabStop): Made public.
6114 2004-08-31  Michael Koch  <konqueror@gmx.de>
6116         * javax/swing/JComponent.java
6117         (setUI): Fire PropertyChange.
6118         * javax/swing/JLabel.java
6119         (text): Renamed from labelText.
6120         (horizontalAlignment): New default vlaue.
6121         (icon): Renamed from activeIcon.
6122         (displayedMnemonic): Renamed from mnemonicKey, added default value.
6123         (displayedMnemonicIndex): Renamed from underlineChar.
6124         (setDisplayedMnemonic): Reimplemented.
6125         * javax/swing/JRadioButton.java
6126         (JRadioButton): New constructors.
6127         * javax/swing/JTextField.java
6128         (JTextField): Throw exception if colums < 0, initialitialz
6129         this.columns directly and initialize document with text conditionally.
6131 2004-08-31  Michael Koch  <konqueror@gmx.de>
6133         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6134         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6135         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6136         * javax/swing/text/FieldView.java
6137         (paint): Just call super method for now.
6138         * Makefile.am: Added new files.
6139         * Makefile.in: Regenerated.
6141 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
6143         * javax/swing/AbstractSpinnerModel.java,
6144         javax/swing/JSpinner.java,
6145         javax/swing/SpinnerNumberModel.java,
6146         javax/swing/plaf/basic/BasicSpinnerUI.java:
6147         New files.
6148         * javax/swing/plaf/basic/BasicLookAndFeel.java
6149         (initClassDefaults): Added defaults for BasicSpinnerUI.
6151 2004-08-31  Michael Koch  <konqueror@gmx.de>
6153         * Makefile.am: Added new files.
6154         * Makefile.in: Regenerated.
6156 2004-08-31  Michael Koch  <konqueror@gmx.de>
6158         * javax/swing/TransferHandler.java,
6159         javax/swing/plaf/basic/ComboPopup.java: New files
6160         * Makefile.am: Added javax/swing/TransferHandler.java and
6161         javax/swing/plaf/basic/ComboPopup.java
6162         * Makefile.in: Regenerated.
6164 2004-08-31  Roman Kennke  <roman@ontographics.com>
6166         * javax/swing/text/Utilities.java: New file.
6168 2004-08-31  Michael Koch  <konqueror@gmx.de>
6170         * Makefile.am: Added javax/swing/text/Utilities.java.
6171         * Makefile.in: Regenerated.
6173 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6175         * javax/swing/text/SimpleAttributeSet.java: New file.
6176         * javax/swing/text/StyleConstants.java: New file.
6177         * javax/swing/text/StyleContext.java: New file.
6178         * javax/swing/text/TabSet.java: New file.
6179         * javax/swing/text/TabStop.java: New file.
6180         * javax/swing/text/AbstactDocument.java:
6181         (AbstractElement): Implement attribute support.
6182         * javax/swing/text/AttributeSet.java
6183         (NameAttribute): New static field.
6184         (ResolveAttribute): New static field.
6185         * Makefile.am: Update for new files.
6186         * Makefile.in: Regenerate.
6188 2004-08-31  Craig Black  <craig.black@aonix.com>
6190         * gnu/java/awt/peer/gtk/GdkGraphics.java
6191         (drawImage): Add support for scaling pixmaps.
6192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6193         (copyAndScalePixmap): New native method.
6195 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6197         PR AWT/16121
6198         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
6199         type-punning compiler warnings using unions.
6200         (throw): Replace bzero with memset.
6202 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6203             Thomas Fitzsimmons  <fitzsim@redhat.com>
6205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6206         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
6207         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6209         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6211 2004-08-31  Mark Wielaard  <mark@klomp.org>
6213         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6214         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6215         and stdlib.h, not gtkpeer.h.
6216         (*vm): New static variable.
6217         (areaPreparedID): Make static.
6218         (areaUpdatedID): Likewise.
6219         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6220         (area_prepared): Likewise.
6221         (area_updated): Likewise.
6222         (closed): Likewise.
6223         (initStaticState): Initialize *vm javaVM.
6224         (pumpBytes): Use given env, not global gdk_env.
6226 2004-08-31  Mark Wielaard  <mark@klomp.org>
6228         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6229         comments.
6231 2004-08-31  Sven de Marothy  <sven@physto.se>
6233         * java/awt/geom/CubicCurve2D.java: Reindent.
6234         (contains): Implemented.
6235         (intersects): Implemented.
6236         * java/awt/geom/QuadCurve2D.java: Likewise.
6237         * java/awt/geom/GeneralPath.java: Reindent and document.
6238         Fully (re)implemented using separate xpoints and ypoints
6239         float[] coords.
6240         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6242 2004-08-31  Michael Koch  <konqueror@gmx.de>
6244         * javax/swing/JMenuItem.java
6245         (getMenuDragMouseListeners): New method.
6246         (getMenuKeyListeners): Likewise.
6248 2004-08-31  Michael Koch  <konqueror@gmx.de>
6250         * javax/swing/AbstractButton.java
6251         (model): Made protected.
6252         (actionListener): Likewise.
6253         (changeListener): Likewise.
6254         (itemListener): Likewise.
6255         (multiClickThreshhold): New field.
6256         (getActionListeners): New method.
6257         (getChangeListeners): Likewise.
6258         (getItemListeners): Likewise.
6259         (fireItemStateChanged): Simplified implementation.
6260         (fireActionPerformed): Likewise.
6261         (fireStateChanged): Likewise.
6262         (getMultiClickThreshhold): New method.
6263         (setMultiClickThreshhold): Likewise.
6265 2004-08-31  Tom Tromey  <tromey@redhat.com>
6267         * java/awt/image/Kernel.java (clone): Use super.clone().
6269 2004-08-31  David Jee  <djee@redhat.com>
6271         PR AWT/16682
6272         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6273         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6274         (nativeSetIconImageFromData): New native method declaration.
6275         (setIconImage): Handle images not produced from GdkPixbufDecoder.
6276         * gnu/java/awt/peer/gtk/GtkImage.java
6277         (getPixelCache): New method.
6278         (getColorModel): New method.
6279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6280         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6281         (free_pixbuf_data): New helper function.
6282         (nativeSetIconImageFromData): New function.
6284 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6286         PR SWING/16576
6287         * javax/swing/JLayeredPane.java
6288         (setLayer): Permit changing layer after addition.
6289         (setPosition): Permit over-length positions.
6290         (layerToRange): Compare intValue()s.
6291         * javax/swing/Box.java (createHorizontalBox): Implement.
6292         (createRigidArea): Likewise.
6293         (createVerticalBox): Likewise.
6295 2004-08-31  Kim Ho  <kho@redhat.com>
6297         * java/awt/Component.java:
6298         (processMouseEvent): Consume event after
6299         listeners process it.
6300         (processMouseMotionEvent): ditto.
6301         (processMouseWheelEvent): ditto.
6302         * java/awt/Container.java:
6303         (acquireComponentForMouseEvent):
6304         Do not dispatch to events that have been
6305         removed from the Container.
6306         (handleEvent): Consume the MouseEvents.
6307         * javax/swing/RepaintManager.java:
6308         (paintDirtyRegions): Do not add to list of
6309         damaged areas if the component has no root.
6311 2004-08-31  Michael Koch  <konqueror@gmx.de>
6313         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6315 2004-08-31  Mark Wielaard  <mark@klomp.org>
6317         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6318         null when a MissingResourceException is thrown. Should never happen.
6320 2004-08-31  Mark Wielaard  <mark@klomp.org>
6322         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6323         when argument is null.
6325 2004-08-31  Mark Wielaard  <mark@klomp.org>
6327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6328         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6329         Define hid at start of function.
6330         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6331         Likewise.
6333 2004-08-31  Mark Wielaard  <mark@klomp.org>
6335         * gnu/java/awt/EmbeddedWindow.java: Reindent.
6336         * javax/swing/JButton.java: Reindent.
6337         * javax/swing/JCheckBox.java: Reindent.
6339 2004-08-31  Mark Wielaard  <mark@klomp.org>
6341         * Makefile.am (gtk_c_source_files): Added
6342         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6343         (gtk_awt_peer_sources): Added
6344         gnu/java/awt/peer/gtk/GThreadMutex.java and
6345         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6346         * Makefile.in: Regenerated.
6348 2004-08-31  Archie Cobbs  <archie@dellroad.org>
6350         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6352 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6354         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
6355         Added jfieldID, jmethodID.
6357 2004-08-31  Mark Wielaard  <mark@klomp.org>
6359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6360         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6361         gdk_env before calling any gdk or gtk function.
6363         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6364         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6365         (run): Set gtkInitCalled.
6367 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6369         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
6370         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6373         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6374         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
6375         init_glib_threads.
6376         (init_glib_threads): New function.
6378 2004-08-31  Mark Wielaard  <mark@klomp.org>
6380         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6381         PRIORITY when not already defined in header file.
6383 2004-08-31  Mark Wielaard  <mark@klomp.org>
6385         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6386         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6388 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6390         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6391         Implemented missing functions for GTK2.
6392         Added error handling.
6393         Renamed static functions out of the g_ namespace.
6394         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
6395         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6396         Rewrote global-reference code.
6397         Eliminated cascading errors.
6398         (mutex_trylock_jni_impl) Fully implemented.
6399         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6400         resolution.
6401         (setup_cache) New function.
6402         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6403         bug where they were not unlocking the GMutex associated with the
6404         condition variable during the wait on that condition variable.
6406         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6407         native/jni/gtk-peer/gthread-jni.c,
6408         native/jni/gtk-peer/gthread-jni.h
6409         (g_thread_jni_functions): Renamed to ...
6410         (portable_native_sync_jni_functions): this name.
6411         (gdk_vm): Renamed to...
6412         (the_vm): this name.
6414         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6415         (gdk_vm): Removed duplicate definition.
6416         (gtkInit): Removed stray message to stdout.
6417         (gtkInit): Use g_malloc and g_free instead of malloc and free.
6418         (gtkInit): Fix a const assignment bug.
6419         (gtkInit): Simplified code.
6421         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6422         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6423         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6424         gnu/java/awt/peer/gtk/GThreadMutex.java:
6425         New files.
6427 2004-08-31  Mark Wielaard  <mark@klomp.org>
6429         * javax/swing/Box.java: Put FIXME comment above class declaration.
6430         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6431         * javax/swing/JCheckBox.java: Likewise.
6432         * javax/swing/JDialog.java: Likewise.
6433         * javax/swing/JRadioButton.java: Likewise.
6434         * javax/swing/JToggleButton.java: Likewise.
6435         * javax/swing/UIManager.java: Likewise.
6436         * javax/swing/border/TitledBorder.java: Likewise.
6437         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6438         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6439         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6440         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6441         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6442         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6443         * javax/swing/text/JTextComponent.java: Likewise.
6445 2004-08-31  David Jee  <djee@redhat.com>
6447         PR AWT/16682
6448         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6449         (setIconImage): Add a FIXME for unhandled cases.
6451 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6453         PR AWT/16040
6454         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6455         getModifiers.  Replace old button masks with new ones.
6456         * gnu/awt/xlib/XEventLoop.java: Likewise.
6457         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6458         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6459         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6460         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6461         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6462         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6463         * java/awt/Component.java: Replace old modifier masks with new
6464         ones.
6465         * java/awt/Container.java: Call getModifiersEx, not
6466         getModifiers.
6467         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
6468         old modifier masks.
6469         * javax/swing/JMenuItem.java: Replace old button masks with new
6470         ones.
6471         * javax/swing/KeyStroke.java: Call getModifiersEx, not
6472         getModifiers.
6473         * javax/swing/SwingUtilities.java: Likewise.
6474         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6475         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6477         mask macros with new ones.
6478         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6479         macros with new ones representing new masks.
6481 2004-08-31  Craig Black  <craig.black@aonix.com>
6483         * gnu/java/awt/peer/gtk/GdkGraphics.java
6484         (drawRoundRect): Implemented.
6485         (fillRoundRect): Implemented.
6486         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6487         (drawRoundRect): Reimplemented to match GdkGraphics.
6488         (fillRoundRect): Reimplemented to match GdkGraphics.
6490 2004-08-31  Mark Wielaard  <mark@klomp.org>
6492         * Makefile.in: Regenerated.
6494 2004-08-31  Michael Koch  <konqueror@gmx.de>
6496         * gnu/java/awt/EmbeddedWindow.java
6497         (addNotify): Use AccessController to allow execution of privileged
6498         code.
6500 2004-08-31  Michael Koch  <konqueror@gmx.de>
6502         * gnu/java/awt/EmbeddedWindow.java
6503         (static): Removed.
6504         (addNotify): Set peer via reflection.
6505         (setWindowPeer): Removed.
6506         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6507         * Makefile.am (nat_source_files):
6508         Removed gnu/java/awt/natEmbeddedWindow.cc.
6510 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6512         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
6513         and gnu/java/security/action/SetAccessibleAction.java.
6515 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6517         * gnu/java/security/action/GetPropertyAction.java (setParameters):
6518         Renamed from 'setName'. New 2-argument form with default value.
6519         (run): Pass default 'value' parameter to System.getProperty().
6520         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6521         typos.
6523 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6525         * gnu/java/security/action/GetPropertyAction.java: New class.
6526         * gnu/java/security/action/SetAccessibleAction.java: New class.
6528 2004-08-31  David Jee  <djee@redhat.com>
6530         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6531         (setIconImage): Check if image is null.
6533 2004-08-31  David Jee  <djee@redhat.com>
6535         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6536         (create): Set the icon image.
6537         (nativeSetIconImage): New native method declaration.
6538         (setIconImage): Implement.
6539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6540         (nativeSetIconImage): New function.
6542 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6544         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6545         (filenameFilterCallback): Declare local variable accepted before use.
6547 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6549         * gnu/java/awt/ComponentDataBlitOp.java:
6550         Cleaned up imports.
6552 2004-08-31  Tom Tromey  <tromey@redhat.com>
6554         * gnu/java/awt/peer/GLightweightPeer.java,
6555         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6556         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6557         javax/swing/JScrollPane.java: Removed
6558         redundant imports.
6560 2004-08-31  David Jee  <djee@redhat.com>
6562         * java/awt/DefaultKeyboardFocusManager.java
6563         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6564         event.  Fix shift modifier checking.
6565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6566         (accel_attach): Remove.
6567         (setupAccelGroup): Remove calls to accel_attach.
6569 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6571         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6572         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6574         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6575         GtkArgList.java.
6576         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6577         * Makefile.in: Regenerate.
6578         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6579         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6580         (create(String)): New method.
6581         (create): Call new create method.
6582         (getArgs): Remove method.
6583         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6584         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6585         (nativeCreate): Rename to create.
6586         (gtkSetLabel): Rename to gtkButtonSetLabel.
6587         (gtkToggleButtonSetActive): New method.
6588         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6589         (setState): Replace set call with gtkToggleButtonSetActive.
6590         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6591         (getArgs): Remove method.
6592         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6593         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6594         (gtkWidgetSetSensitive): New method.
6595         (gtkWidgetSetParent): Likewise.
6596         (GtkComponentPeer): Call setParent, setComponentBounds and
6597         setVisibleAndEnabled.
6598         (setParent): New method.
6599         (setComponentBounds): New method.
6600         (setVisibleAndEnabled): New method.
6601         (setEnabled): Call gtkWidgetSetSensitive.
6602         (getArgs): Remove method.
6603         Remove all set methods.
6604         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6605         gtkWindowSetModal, setTitle and setResizable.
6606         (getArgs): Remove method.
6607         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6608         (setComponentBounds): New method.
6609         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6610         Replace set call with gtkWindowSetResizable.
6611         (getArgs): Remove method.
6612         (create): Call setTitle and setResizable.
6613         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6614         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6615         (gtkWindowSetTitle): New method.
6616         (gtkWindowSetResizable): New method.
6617         (gtkWindowSetModal): New method.
6618         (setParent): New method.
6619         (setVisibleAndEnabled): New method.
6620         (getArgs): Remove method.
6621         (setTitle): Call gtkWindowSetTitle.
6622         (setResizable): Call gtkWindowSetResizable.
6623         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6624         and off locking instrumentation.
6626 2004-08-31  Kim Ho  <kho@redhat.com>
6628         * Makefile.am: Add new file.
6629         * Makefile.in: Regenerate.
6630         * gcj/Makefile.in: Regenerate
6631         * include/Makefile.in:
6632         * java/awt/Container.java:
6633         (acquireComponentForMouseEvent): Respect
6634         the event mask when looking for candidate.
6635         * javax/swing/JComponent.java:
6636         Remove toolTip field.
6637         (createToolTip): Create a tooltip on demand.
6638         (setToolTipText): Register with the ToolTipManager.
6639         (getToolTipText(MouseEvent)): Return getToolTipText().
6640         * javax/swing/JToolTip.java: Implement.
6641         * javax/swing/Timer.java: Jalopy.
6642         (restart): Call stop, then start.
6643         (stop): Interrupt the timer rather than wait for
6644         the timer to come to a stop naturally.
6645         * javax/swing/ToolTipManager.java: Implement.
6646         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6647         Change ToolTip.background color.
6648         * javax/swing/plaf/basic/BasicToolTipUI.java:
6649         Implement.
6650         * testsuite/Makefile.in: Regenerate
6652 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
6654         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6655         constructor param comments.
6657 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6659         * java/awt/Component.java: Document AWT 1.0 event handler
6660         methods.
6662 2004-08-31  Roman Kennke  <roman@ontographics.com>
6664         * javax/swing/Box.java:
6665         (createGlue): Implemented
6666         (createHorizontalGlue): Implemented
6667         (createHorizontalStrut): Implemented
6668         (createVerticalGlue): Implemented
6669         (createVerticalStrut): Implemented
6671 2004-08-31  David Jee  <djee@redhat.com>
6673         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6674         (GtkChoicePeer): Do not automatically select first item.
6675         (getHistory): Remove.
6676         (nativeGetSelected): New method.
6677         (nativeRemoveAll): New method.
6678         (add): Use nativeGetSelected() instead of getHistory().
6679         (remove): Likewise.
6680         (removeAll): Call nativeRemoveAll().
6681         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6682         (create): Migrate to GtkComboBox.
6683         (append): Likewise.
6684         (nativeAdd): Likewise.
6685         (nativeRemove): Likewise.
6686         (select): Likewise.
6687         (nativeRemoveAll): New method.
6688         (nativeGetSelected): New method.
6689         (selection_changed): New method.
6690         (getHistory): Remove.
6691         (item_activate): Remove.
6692         (item_removed): Remove.
6693         (connect_choice_item_selectable_hook): Remove.
6695 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6697         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6698         variable in setEditable call.
6700         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6701         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6702         (gtkWidgetSetBackground): New method.
6703         (gtkWidgetSetForeground): Likewise.
6704         (create): Set peer's editable state based on awtComponent's.
6706         * java/awt/Button.java (Button()): Use empty string rather than
6707         null in no-label constructor.
6709 2004-08-31  Roman Kennke  <roman@ontographics.com>
6711         * javax/swing/BoxLayout.java: Reimplement.
6713 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6715         * gnu/java/awt/peer/gtk/GdkGraphics.java,
6716         gnu_java_awt_peer_gtk_GdkGraphics.c
6717         (initState(GtkComponentPeer)): Don't return array of colour
6718         values.
6719         (GdkGraphics(int,int)): Set default font to size 12.
6720         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6721         component's foreground colour.
6722         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6723         gnu_java_awt_peer_gtk_GdkGraphics2D.c
6724         (initState(GtkComponentPeer)): Don't return array of colour
6725         values.
6726         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6727         colours to component's colours.
6728         (current_colors_of_widget): Remove function.
6729         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6730         Return a new graphics object.
6731         * java/awt/Font.java (toString): Fix format.
6732         * java/awt/Graphics.java (toString): Likewise.
6734 2004-08-31  Craig Black  <craig.black@aonix.com>
6736         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6737         (addTearOff): New function.
6738         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6739         New native method.
6740         (init): Call addTearOff() when menu.isTearOff().
6742 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6744         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6745         Default implementation.
6746         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6747         Implement using GdkPixbufDecoder.
6749 2004-08-31  David Jee  <djee@redhat.com>
6751         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6752         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6753         setting the size of GtkFileDialogPeers.
6754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6755         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6756         use their default sizes rather than their natural requisitions.
6758 2004-08-31  Michael Koch  <konqueror@gmx.de>
6760         * javax/swing/JFormattedTextField.java
6761         (JFormattedTextField): Implemented.
6762         * javax/swing/text/DefaultEditorKit.java
6763         (BeepAction): New inner class.
6764         * javax/swing/text/Segment.java
6765         (partialReturn): New field.
6766         (setPartialReturn): New method.
6767         (isPartialReturn): Likewise.
6768         * javax/swing/text/View.java
6769         (createFragment): Fixed typo.
6770         (getStartOffset): New method.
6771         (getEndOffset): Likewise.
6773 2004-08-31  Michael Koch  <konqueror@gmx.de>
6775         * javax/swing/table/DefaultTableColumnModel.java
6776         (serialVersionUID): Made private.
6777         (listenerList): Initialize.
6778         (changeEvent): Initialize.
6779         * javax/swing/table/JTableHeader.java
6780         (JTableHeader): New constructors.
6781         (createDefaultColumnModel): New method.
6782         * javax/swing/table/TableColumn.java
6783         (setHeaderRenderer): Simplified code.
6784         (setCellRenderer): Likewise.
6785         (setWidth): Likewise.
6787 2004-08-31  Tom Tromey  <tromey@redhat.com>
6789         * java/text/AttributedString.java (AttributedString): Use
6790         ArrayList to build array of attribute ranges.  Don't use
6791         `attribs' before it is set.
6793 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6795         * HACKING: Remove reference to special automake. No longer needed.
6797 2004-08-30  Tom Tromey  <tromey@redhat.com>
6799         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
6800         return result from `add'.
6802 2004-08-30  Tom Tromey  <tromey@redhat.com>
6804         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
6806 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6808         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
6810 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
6812         * java/io/File.java File(String,String): Fixed handling of empty
6813         path.
6815 2004-08-30  Casey Marshall  <csm@gnu.org>
6817         Author e-mail updated for all files.
6818         * gnu/java/security/OID.java (equals): Test if the aurgment is an
6819         instance of OID.
6820         (compareTo): Use `equals'.
6821         * gnu/java/security/der/BitString.java (equals): Test if the
6822         argument is an instance of BitString.
6823         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
6824         class final. Made fields private.
6825         (<init>): New constructor.
6826         (skip): New method.
6827         (makeString): Made static; don't use NIO.
6828         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
6829         * gnu/java/security/der/DERWriter.java: Fixed imports.
6830         (writeString): Don't use NIO.
6831         (toIso88591, toUtf16Be, toUtf8): New methods.
6832         * gnu/java/security/der/DERValue.java: Formatting changes only.
6833         * gnu/java/security/der/DER.java: Likewise.
6835 2004-08-30  Tom Tromey  <tromey@redhat.com>
6837         * java/nio/CharBuffer.java (put): Fix typo.
6838         * java/nio/DoubleBuffer.java (put): Fix typo.
6839         * java/nio/FloatBuffer.java (put): Fix typo.
6840         * java/nio/IntBuffer.java (put): Fix typo.
6841         * java/nio/LongBuffer.java (put): Fix typo.
6842         * java/nio/ShortBuffer.java (put): Fix typo.
6844 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
6846         * java/nio/ByteBuffer.java (put): Fix typo.
6848 2004-08-30  Casey Marshall  <csm@gnu.org>
6850         * java/security/DummyKeyPairGenerator.java (clone): Removed
6851         useless instanceof check.
6852         * java/security/DummyMessageDigest.java (clone): Likewise.
6853         * java/security/DummySignature.java (clone): Likewise.
6854         * java/security/MessageDigest.java (clone): Remove useless
6855         instanceof check.
6856         * java/security/MessageDigestSpi.java (clone): Likewise.
6857         * java/security/Signature.java (clone): Provide meaningful
6858         implementation.
6859         * java/security/SignatureSpi.java (clone): Likewise.
6861 2004-08-29  Mark Wielaard  <mark@klomp.org>
6863         * java/util/Arrays.java
6864         (sort(byte[], int, int)): Check fromIndex < 0.
6865         (sort(char[], int, int)): Likewise.
6866         (sort(short[], int, int)): Likewise.
6867         (sort(int[], int, int)): Likewise.
6868         (sort(long[], int, int)): Likewise.
6869         (sort(float[], int, int)): Likewise.
6870         (sort(double[], int, int)): Likewise.
6871         (sort(Object[], int, int, Comparator)): Likewise.
6872         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
6873         (qsort(char[], int, int)): Likewise.
6874         (qsort(short[], int, int)): Likewise.
6875         (qsort(int[], int, int)): Likewise.
6876         (qsort(long[], int, int)): Likewise.
6877         (qsort(float[], int, int)): Likewise.
6878         (qsort(double[], int, int)): Likewise.
6880 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6882         * java/util/AbstractCollection.java, java/util/AbstractList.java,
6883         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
6884         java/util/ArrayList.java, java/util/Arrays.java,
6885         java/util/BitSet.java, java/util/Calendar.java,
6886         java/util/Collection.java, java/util/ListIterator.java,
6887         java/util/Map.java, java/util/SortedSet.java:
6888         Added additional exceptions to documentation, along
6889         with some additions and corrections.
6891 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
6893         * configure.ac: Handle --enable-gc-debug.
6894         * configure: Regenerate.
6895         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
6896         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
6897         Rearrange include file order.
6898         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
6899         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
6900         (disable_gc_mutex): Delete along with all references.
6901         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
6902         adjust for debug header size.
6903         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
6904         debug case.
6905         (_Jv_AllocArray): Declare min_heap_addr only if needed.
6906         (gcj_describe_type_fn): New.
6907         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
6908         Register gcj_describe_type_fn.
6909         * include/boehm-gc.h:
6910         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
6911         Don't define, but declare, for debug case.
6912         * java/lang/natObject.cc:
6913         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
6915 2004-08-26  Mark Wielaard  <mark@klomp.org>
6917         Fixes PR libgcj/17002:
6918         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
6919         a TimeZoneId string and then try to convert that to a TimeZone with
6920         getDefaultSystemTimeZone(String).
6921         (timezones0): Changed type from Hashtable to HashMap.
6922         (timezones): Create HashMap, not Hashtable.
6923         (getDefaultTimeZone): New method, rewritten from CNI version.
6924         (readTimeZoneFile): New method.
6925         (readtzFile): Likewise.
6926         (skipFully): Likewise.
6927         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
6928         getDefaultTimeZoneId and rewritten.
6929         (getDefaultTimeZoneId): Rewritten in java.
6931 2004-08-25  David Daney  <daney@avtrex.com>
6933         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
6934         * Makefile.in: Regenerated.
6936 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
6938         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
6939         only if jvmpi is enabled.
6940         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
6941         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
6942         (_Jv_AllocString): Likewise.
6943         (_Jv_AllocPtrFreeObject): Likewise.
6945 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
6947         * defineclass.cc: Include <stdio.h>.
6948         * java/lang/natClassLoader.cc: Include <stdio.h>.
6950 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
6951             Michael Koch  <konqueror@gmx.de>
6953         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
6954         * Makefile.in: Regenerated.
6956 2004-08-20  Michael Koch  <konqueror@gmx.de>
6958         * configure.ac: Replaced all AC_TRY_COMPILE macros with
6959         AC_COMPILE_IFELSE macros.
6961 2004-08-20  Michael Koch  <konqueror@gmx.de>
6963         * configure.in: Renamed to configure.ac.
6964         * configure.ac: New file.
6965         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
6966         include/config.h.in, testsuite/Makefile.in: Regenerated.
6968 2004-08-20  Michael Koch  <konqueror@gmx.de>
6970         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
6971         * aclocal.m4, configure: Regenerated.
6973 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
6974             Michael Koch  <konqueror@gmx.de>
6976         * configure.in, Makefile.am: Ported to automake 1.9.
6977         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
6978         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
6979         Regenerated.
6981 2004-08-19  Tom Tromey  <tromey@redhat.com>
6983         * java/net/DatagramSocket.java: Fixed typo.
6985 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
6987         PR libgcj/17081
6988         * java/net/URI.java (string): New field. Make all other fields
6989         transient.
6990         (readObject): Implemented.
6991         (writeObject): Implemented.
6992         (URI): Set 'string'.
6994 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
6996         PR libgcj/17079
6997         * java/util/logging/Handler.java (isLoggable): Accept record if its
6998         log level equals the threshold level. From Robin Green.
7000 2004-08-18  David Daney  <ddaney@avtrex.com>
7002         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
7003         instead of sigwait.
7005 2004-08-17  Michael Koch  <konqueror@gmx.de>
7007         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
7008         * Makefile.in: Regenerated.
7010 2004-08-16  Tom Tromey  <tromey@redhat.com>
7012         PR java/8473:
7013         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
7015 2004-08-16  Michael Koch  <konqueror@gmx.de>
7017         * Makefile.am
7018         (math_c_files): Renamed from c_files.
7019         (math_c_source_files): Renamed from c_source_files.
7020         * Makefile.in,
7021         gcj/Makefile.in,
7022         include/Makefile.in,
7023         testsuite/Makefile.in: Regenerated.
7025 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
7027         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7028         to avoid autoconf warning.
7029         * configure: Rebuilt.
7031 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
7033         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
7034         localhostAddress to loopbackAddress.
7035         * java/net/natInetAddressWin32.cc (lookup): Likewise.
7037 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7039         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
7040         boehm-gc's include dirs.
7041         * configure: Rebuilt.
7042         * include/boehm-gc.h: Include gc_config.h.
7044 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7046         * java/net/InetAddress.java (loopbackAddress): Renamed from
7047         localhostAddress.
7048         (getByName): Return loopback address for null hostname, without
7049         security check. Use lookup(), not getAllByName.
7050         (getAllByName): Return loopback address for null hostname, without
7051         security check.
7052         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7053         check here.
7055 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7057         PR libgcj/17020
7058         Reported by Robin Green.
7059         * defineclass.cc (handleField): Don't throw exception on unrecognised
7060         modifier. Add FIXME comments for spec compliance.
7061         (handleMethod): Likewise.
7063 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
7065         PR libgcj/16662
7066         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7067         (Almost everywhere): add LOG calls, fix, add comments.
7068         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7069         Add explicit check for LOCKED bit in slow case (PR 16662).
7070         (_Jv_MonitorExit): Add casts in debug-only code.
7071         Always release LOCKED bit before throwing exception.
7072         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7073         isn't.  Handle easy cases without lock acquisition.
7074         (Object::wait): Use NotifyAll for lock inflation.
7076 2004-08-12  David Daney  <ddaney@avtrex.com>
7078         * testsuite/libjava.lang/Process_1.java: New test.
7079         * testsuite/libjava.lang/Process_2.java: New test.
7080         * testsuite/libjava.lang/Process_3.java: New test.
7081         * testsuite/libjava.lang/Process_4.java: New test.
7082         * testsuite/libjava.lang/Process_5.java: New test.
7083         * testsuite/libjava.lang/Process_6.java: New test.
7084         * testsuite/libjava.lang/Process_1.out: Expected result.
7085         * testsuite/libjava.lang/Process_2.out: Expected result.
7086         * testsuite/libjava.lang/Process_3.out: Expected result.
7087         * testsuite/libjava.lang/Process_4.out: Expected result.
7088         * testsuite/libjava.lang/Process_5.out: Expected result.
7089         * testsuite/libjava.lang/Process_6.out: Expected result.
7091 2004-08-12  David Daney  <ddaney@avtrex.com>
7093         PR libgcj/11801
7094         * java/lang/PosixProcess.java: Rewrote.
7095         * java/lang/natPosixProcess.cc: Rewrote.
7096         * java/lang/Runtime.java (execInternal): Declare throws IOException.
7097         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7098         * posix-threads.cc (block_sigchld) New function.
7099         (_Jv_ThreadRegister) Use it.
7100         (_Jv_ThreadStart) Use it.
7101         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7102         * Makefile.am: ... to specify extra native headers.
7103         * configure: Regenerated.
7104         * include/config.h: Regenerated.
7105         * Makefile.in: Regenerated.
7106         * gcj/Makefile.in: Regenerated.
7107         * include/Makefile.in: Regenerated.
7108         * testsuite/Makefile.in: Regenerated.
7110 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
7112         PR tree-optimization/16867
7113         * testsuite/libjava.lang/PR16867.java: New test.
7115 2004-08-09  Per Bothner  <per@bothner.com>
7117         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7118         with private fields and access methods.
7119         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7120         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7121         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7122         ( _Jv_makeUtf8Const): Rewrite using new constructors.
7123         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7124         * defineclass.cc: Use new _Utf8Const access/convenience methods.
7125         * jni.cc: Likewise.
7126         * resolve.cc: Likewise.
7127         * gcj/field.h: Likewise.
7128         * include/jvm.h: Likewise.
7129         * java/lang/Class.h: Likewise.
7130         * java/lang/natClass.cc: Likwise.
7131         * java/lang/natClassLoader.cc: Likewise
7132         * java/lang/reflect/natMethod.cc: Likewise
7133         * verify.cc: Likewise.
7134         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
7135         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
7137 2004-08-10  Andrew Haley  <aph@redhat.com>
7139         * testsuite/libjava.lang/err14.java: New file.
7140         * testsuite/libjava.lang/err14.out: New file.
7142 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
7144         * Makefile.am: Fix missing rename from x_nat_headers to
7145         xlib_nat_headers.
7146         * Makefile.in: Regenerated.
7148 2004-08-04  Andrew Haley  <aph@redhat.com>
7150         * java/security/BasicPermission.java: Don't check wildcards.
7152 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
7153             Michael Koch  <konqueror@gmx.de>
7155         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7156         * configure.in: Replaced all usages of AC_LINK_FILES by
7157         AC_CONFIG_LINKS.
7158         * aclocal.m4,
7159         configure: Regenerated.
7161 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
7162             Michael Koch  <konqueror@gmx.de>
7164         * acconfig.h: Removed.
7165         * Makefile.am: Rename variables for xlib peer to include xlib and
7166         gtk_c_headers to gtk_jni_headers.
7167         * Makefile.in: Regenerated.
7169 2004-08-04  Andrew Haley  <aph@redhat.com>
7171         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7172         debugging.
7174 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
7176         * configure.in: Eliminate uses of changequote (mostly by quoting []).
7177         Replace most top level 'dnl' comments with '#' comments, conforming
7178         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
7179         help strings.
7180         * configure: Rebuilt.
7182 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
7184         * acinclude.m4: Include no-executables.m4.
7185         * aclocal.m4: Rebuild.
7186         * configure.in: Convert to the autoconf 2.59 version of
7187         of the no-executables hack, and also of the nonstandard CXX
7188         hack and the multilibbed CC and CXX hack.  Change prerequisite
7189         to autoconf 2.59.
7190         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
7191         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7192         testsuite/Makefile.in: Regenerate.
7194 2004-08-03  Tom Tromey  <tromey@redhat.com>
7196         * jni.cc: Reindented.
7198 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7200         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7202 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7204         * testsuite/libjava.compile/PR16701.java: New test.
7206 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7208         * java/util/Collection.java, java/util/List.java,
7209         java/util/Map.java, java/util/Set.java,
7210         java/util/SortedMap.java, java/util/SortedSet.java:
7211         Added additional exceptions to documentation.
7213 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
7215         PR libgcj/16814
7216         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7217         * configure. Regenerate.
7218         * include/win32.h: Explicitly include winsock2.h
7219         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7220         Winsock api.
7222 2004-07-30  Michael Koch  <konqueror@gmx.de>
7224         * java/util/zip/GZIPInputStream.java
7225         (GZIPInputStream): Increase buffer size to 4k.
7226         * java/util/zip/GZIPOutputStream.java
7227         (GZIPOutputStream): Likewise.
7228         * java/util/zip/Inflater.java
7229         (setInput): Merged formating with GNU classpath.
7230         * java/util/zip/InflaterInputStream.java
7231         (InflaterInputStream): Increase buffer size to 4k.
7232         (fill): Throw exception if stream ends early.
7233         (read): Merged endless-loop with GNU classpath.
7234         (skip): Increase buffer size to 2k.
7236 2004-07-30  Michael Koch  <konqueror@gmx.de>
7238         * gnu/java/awt/EmbeddedWindow.java
7239         (addNotify): Use AccessController to allow execution of privileged
7240         code.
7242 2004-07-29  Michael Koch  <konqueror@gmx.de>
7244         * gnu/java/lang/MainThread.java:
7245         Explicitely import used classes.
7246         (args): Make it type String[].
7248 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7250         * gnu/java/awt/ComponentDataBlitOp.java,
7251         gnu/java/beans/ExplicitBeanInfo.java,
7252         gnu/java/beans/IntrospectionIncubator.java,
7253         gnu/java/beans/editors/ColorEditor.java,
7254         gnu/java/beans/editors/FontEditor.java,
7255         gnu/java/beans/editors/NativeBooleanEditor.java,
7256         gnu/java/beans/editors/NativeByteEditor.java,
7257         gnu/java/beans/editors/NativeDoubleEditor.java,
7258         gnu/java/beans/editors/NativeFloatEditor.java,
7259         gnu/java/beans/editors/NativeIntEditor.java,
7260         gnu/java/beans/editors/NativeLongEditor.java,
7261         gnu/java/beans/editors/NativeShortEditor.java,
7262         gnu/java/beans/editors/StringEditor.java,
7263         gnu/java/io/ClassLoaderObjectInputStream.java,
7264         gnu/java/io/decode/Decoder.java,
7265         gnu/java/io/encode/Encoder.java,
7266         gnu/java/lang/ClassHelper.java,
7267         gnu/java/locale/Calendar.java,
7268         gnu/java/locale/Calendar_de.java,
7269         gnu/java/locale/Calendar_en.java,
7270         gnu/java/locale/Calendar_nl.java,
7271         gnu/java/locale/LocaleInformation_de.java,
7272         gnu/java/locale/LocaleInformation_en.java,
7273         gnu/java/locale/LocaleInformation_nl.java:
7274         Cleaned up imports.
7276 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7278         * README: Remove obsolete info. Update bug URL.
7279         * THANKS: Updated.
7280         * NEWS: Updated with news up to GCC 3.4 release.
7282 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7284         * gnu/java/security/action/GetPropertyAction.java (setParameters):
7285         Renamed from 'setName'. New 2-argument form with default value.
7286         (run): Pass default 'value' parameter to System.getProperty().
7287         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7288         typos.
7289         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7290         not 'setName'.
7292 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7294         * configure.in: Check for minimum GTK version 2.4 requirement.
7295         * configure: Rebuilt.
7297 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7299         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7300         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7301         Reduce sleep time.
7302         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7303         compiler bug.
7304         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
7305         address. Reduce sleep times. Synchronize with target threads before
7306         attempting to interrupt them. Don't try to calibrate yeild count,
7307         instead, always loop for a fixed time.
7308         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7309         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7310         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7311         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7312         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7313         * testsuite/libjava.lang/pr179.java: Likewise.
7314         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7315         time. Remove upper bounds check on sleep time.
7317 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7319         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7320         * testsuite/libjava.lang/Thread_HoldsLock.out: New.
7322 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7324         * java/io/File.java (toURI): Throw RuntimeException, not
7325         InternalError.
7326         * java/lang/Runtime.java (exit): Qualify static sleep() call with
7327         class name, not instance.
7329 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
7331         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7332         and gnu/java/security/action/SetAccessibleAction.java.
7333         * Makefile.in: Rebuilt.
7335 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7337         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7338         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7339         _Jv_InitPrimClass.
7340         (DECLARE_PRIM_TYPE): Don't declare array vtables.
7341         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7342         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7344 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7346         * Makefile.am: Replace jar, rmic and rmiregistry references with
7347         gjar, grmic and grmiregistry.
7348         * configure.in: Likewise.
7349         * Makefile.in: Regenerate.
7350         * configure: Likewise.
7351         * gcj/Makefile.in: Likewise.
7352         * include/Makefile.in: Likewise.
7353         * testsuite/Makefile.in: Likewise.
7355 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7357         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7358         for privileged getProperty calls.
7359         * java/io/ObjectOutputStream.java (getField): No longer static. Use
7360         SetAccessibleAction instead of anonymous class for doPrivileged call.
7361         (getMethod): Likewise.
7362         (setAccessible): New field. PrivilegedAction object to use when
7363         calling setAccessible.
7364         * java/io/ObjectStreamClass.java (calculateOffsets): Use
7365         SetAccessibleAction instead of anonymous class for diPrivileged call.
7366         (setFields): Likewise.
7367         (getClassUID): Likewise.
7368         (findMethod): Likewise.
7369         * gnu/java/security/action/GetPropertyAction.java: New class.
7370         * gnu/java/security/action/SetAccessibleAction.java: New class.
7372 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7374         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7375         for final fields.
7376         * testsuite/libjava.lang/Serialization.java: New test.
7377         * testsuite/libjava.lang/Serialization.out: New.
7379 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7381         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7382         missed in last commit.
7384 2004-07-23  Mark Wielaard  <mark@klomp.org>
7386         * java/lang/System.java (static): Set http.agent system property when
7387         not yet set.
7388         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7389         from system property inside AccessController.doPrivileged() call.
7390         (proxyPort): Made package private.
7391         (proxyInUse): Likewise.
7392         (proxyHost): Likewise.
7393         (userAgent): Likewise.
7395 2004-07-23  Mark Wielaard  <mark@klomp.org>
7397         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7398         implementation.
7400 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
7402         * Makefile.am (ordinary_java_source_files): Add
7403         DefaultContentHandlerFactory.java.
7404         * Makefile.in: Rebuilt.
7405         * java/net/URLConnection.java (defaultFactory): New field.
7406         (getContent):
7407         (getContentHandler): Renamed from 'setContentHandler'. Try
7408         defaultFactory after user-set factory, if any. Search for content
7409         handler implementations in gnu.java.net.content, not gnu.gcj.content.
7410         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7411         Implemented.
7412         (getLastModified): Implemented.
7413         (getPermission): Create file permission here, instead of in
7414         constructor.
7415         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7416         Implemented.
7417         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7418         Implemented.
7419         (getLastModified): Implemented.
7420         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7421         Default implementation.
7422         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7423         Implement using GdkPixbufDecoder.
7425 2004-07-21  Michael Koch  <konqueror@gmx.de>
7427         * javax/swing/JTextArea.java
7428         (setLineWrap): Fire property change event after new value is set.
7429         (setTabSize): Likewise.
7431 2004-07-21  Michael Koch  <konqueror@gmx.de>
7433         * javax/swing/JTable.java
7434         (autoCreateColumnsFromModel): New field.
7435         (autoResizeMode): Likewise.
7436         (cellEditor): Likewise.
7437         (cellSelectionEnabled): Likewise.
7438         (columnModel): Likewise.
7439         (dataModel): Likewise.
7440         (defaultEditorsByColumnClass): Likewise.
7441         (defaultRenderersByColumnClass): Likewise.
7442         (editingColumn): Likewise.
7443         (editingRow): Likewise.
7444         (gridColor): Likewise.
7445         (preferredViewportSize): Likewise.
7446         (rowHeight): Likewise.
7447         (rowMargin): Likewise.
7448         (rowSelectionAllowed): Likewise.
7449         (selectionBackground): Likewise.
7450         (selectionForeground): Likewise.
7451         (selectionModel): Likewise.
7452         (showHorizontalLines): Likewise.
7453         (showVerticalLines): Likewise.
7454         (tableHeader): Likewise.
7455         (JTable): Implemented.
7456         (getColumnModel): Likewise.
7457         (getSelectedRow): Likewise.
7458         (getSelectionModel): Likewise.
7459         (setModel): Likewise.
7460         (setSelectionModel): Likewise.
7461         (createScrollPaneForTable): New method.
7462         (createDefaultDataModel): Likewise.
7463         (createDefaultListSelectionModel): Likewise.
7464         (getModel): Likewise.
7465         (getTableHeader): Likewise.
7466         (setTableHeader): Likewise.
7467         (getColumnSelectionAllowed): Likewise.
7468         (setColumnSelectionAllowed): Likewise.
7469         (getRowSelectionAllowed): Likewise.
7470         (setRowSelectionAllowed): Likewise.
7471         (getAutoResizeMode): Likewise.
7472         (setAutoResizeMode): Likewise.
7473         (getColumnCount): Likewise.
7474         (getRowCount): Likewise.
7475         (getCellRenderer): Likewise.
7476         * javax/swing/JTree.java
7477         (cellRenderer): New field.
7478         (editable): Likewise.
7479         (rootVisible): Likewise.
7480         (showsRootHandles): Likewise.
7481         (getModel): New method.
7482         (setModel): Likewise.
7483         (isEditable): Likewise.
7484         (setEditable): Likewise.
7485         (isRootVisbile): Likewise.
7486         (setRootVisible): Likewise.
7487         (getShowsRootHandles): Likewise.
7488         (setShowRootHandles): Likewise.
7489         (getCellRenderer): Likewise.
7490         (setCellRenderer): Likewise.
7492 2004-07-21  Michael Koch  <konqueror@gmx.de>
7494         * javax/swing/JFormattedTextField.java
7495         (setDocument): Implemented.
7496         * javax/swing/JRootPane.java:
7497         Fixed javadocs.
7498         * javax/swing/JTable.java
7499         (getDefaultRenderer): New method.
7500         * javax/swing/JTextField.java
7501         (setFont): Likewise.
7502         (getPreferredSize): Likewise.
7503         * javax/swing/JToggleButton.java
7504         (getAccessibleContext): Fix javadoc.
7505         * javax/swing/JTree.java:
7506         Add some javadocs.
7507         * javax/swing/JViewport.java:
7508         Likewise.
7510 2004-07-21  David Jee  <djee@redhat.com>
7512         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7513         Collect all native method declaration at the top.
7514         (create): Set the filename filter if necessary.
7515         (setDirectory): Call nativeSetDirectory().
7516         (setFilenameFilter): Implement.
7517         (filenameFilterCallback): New method.
7518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7519         (create): Configure dialog to show hidden files.
7520         (filenameFilterCallback): New function.
7521         (nativeSetFilenameFilter): New function.
7522         (nativeSetDirectory): New function.
7524 2004-07-21  Kim Ho  <kho@redhat.com>
7526         * javax/swing/plaf/basic/BasicSliderUI.java:
7527         Ran Jalopy.
7528         (paintTrack): Fill the track before painting
7529         the borders.
7531 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7533         patch from Roman Kennke <roman@ontographics.com>
7534         * javax/swing/Spring.java: New file.
7535         * javax/swing/SpringLayout.java: New file.
7536         * Makefile.am: Add new files.
7537         * Makefile.in: Regenerate.
7539 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7541         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7542         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7543         * javax/swing/ScrollPaneLayout.java: Likewise.
7545 2004-07-21  Kim Ho  <kho@redhat.com>
7547         * javax/swing/DefaultDesktopManager.java:
7548         (findMinimum): Removed.
7549         (resizeFrame): Trust the UI to pass valid
7550         bounds.
7551         * javax/swing/JOptionPane.java:
7552         Implemented showInternalXXXDialog methods.
7553         (startModal): New method.
7554         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7555         (BorderListener::mouseDragged): Verify that the new
7556         bounds are valid before passing them to the DesktopManager.
7557         (preferredLayoutSize): Delegate
7558         to getSize.
7559         (minimumLayoutSize): Ditto.
7560         (getSize): New method.
7561         (GlassPaneDispatcher): Reimplemented by copying
7562         a stripped down LightweightDispatcher from Container.
7563         (getMinimumSize): Call minimumLayoutSize.
7564         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7565         Ran Jalopy.
7566         (mousePressed): Add ability to properly close
7567         JInternalFrames.
7568         * javax/swing/plaf/basic/BasicToolBarUI.java:
7569         (DragWindow): Set owner for DragWindow.
7571 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7573         * java/awt/image/ShortLookupTable.java: New file.
7574         * java/awt/image/ByteLookupTable.java: New file.
7575         * Makefile.am: Added new files.
7576         * Makefile.in: Regenerated.
7578 2004-07-21  David Jee  <djee@redhat.com>
7580         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7581         (create(GtkContainerPeer)): New native method.
7582         (create()): Call native create(), passing in the parent frame
7583         as the paramter. Natively set the current file and directory.
7584         (setFile): Construct an absolute filename before passing it to
7585         the native peer.
7586         (nativeGetDirectory): New method.
7587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7588         (window_closed): Removed.
7589         (ok_clicked): Likewise.
7590         (cancel_clicked): Likewise.
7591         (handle_response): New method.
7592         (create): Use GtkFileChooserDialog.
7593         (connectSignals): Connect to handle_response.
7594         (nativeGetDirectory): New method.
7595         (nativeSetFile): Use GtkFileChooserDialog.
7597 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7599         * java/awt/image/LookupTable.java: New file.
7600         * Makefile.am: Added new file.
7601         * Makefile.in: Regenerated.
7603 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7605         * java/awt/image/Kernel.java: New file.
7606         * Makefile.am: Added new file.
7607         * Makefile.in: Regenerated.
7609 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7611         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7612         * javax/swing/JMenu.java: Likewise.
7613         * javax/swing/JMenuBar.java: Likewise.
7614         (MARGIN_CHANGED_PROPERTY): New property.
7615         (setMargin): Implemented.
7616         * javax/swing/JMenuItem.java: Fixed javadocs.
7617         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7618         (LABEL_CHANGED_PROPERTY): New property.
7619         (add): changed to use createActionComponent.
7620         (createActionComponent): Implemented.
7621         (setLabel): Fire PropertyChangeEvent if label property
7622         changes.
7623         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7624         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7625         (ContainerHandler): Repaint if margin property has changed.
7626         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7627         (installUI): Call installComponents().
7628         (uninstallUI): Call uinstallComponents().
7629         * javax/swing/plaf/basic/BasicMenuUI.java:
7630         Fixed javadocs.
7631         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7632         Likewise.
7634 2004-07-21  Kim Ho  <kho@redhat.com>
7636         * javax/swing/plaf/basic/BasicToolBarUI.java:
7637         (DragWindow): Use the right constructor.
7639 2004-07-21  Kim Ho  <kho@redhat.com>
7641         * javax/swing/JToolBar.java:
7642         (layoutContainer): Use getComponents.
7643         * javax/swing/plaf/basic/BasicToolBarUI.java:
7644         (DragWindow): Don't use SwingUtilities'
7645         getOwnerFrame
7646         (ToolBarDialog): ditto.
7648 2004-07-21  Kim Ho  <kho@redhat.com>
7650         * javax/swing/JRootPane.java:
7651         Ran jalopy.
7652         (layoutContainer): Set the glasspane's size to
7653         be the same as the content pane.
7654         (createGlassPane): Set opaque property to false.
7656 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7658         * java/awt/Component.java (requestFocus()): Don't handle Panels
7659         specially.
7660         (requestFocus(boolean)): Likewise.
7661         (requestFocusInWindow(boolean)): Likewise.
7662         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7663         Set GTK_CAN_FOCUS flag.
7665 2004-07-21  Kim Ho  <kho@redhat.com>
7667         * Makefile.am: Added new file.
7668         * Makefile.in: Regenerated.
7669         * gcj/Makefile.in: Regenerated.
7670         * include/Makefile.in: Regenerated.
7671         * javax/swing/AbstractButton.java:
7672         Add rollOverEnabled property.
7673         (setRolloverEnabled): Use new property.
7674         (isRolloverEnabled): Use new property.
7675         * javax/swing/JTabbedPane.java:
7676         (setComponent): Remove useless JTabbedPane.this.
7677         * javax/swing/JToolBar.java: Finish implementation.
7678         * javax/swing/plaf/basic/BasicArrowButton.java:
7679         (paint): Moved border painting to a border.
7680         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7681         Change JToolBar look and feel defaults.
7682         * javax/swing/plaf/basic/BasicOptionPaneUI.java
7683         (actionPerformed): Return Integer index instead of name.
7684         (addButtonComponents): Check to see if component is
7685         JButton last.
7686         (createMessageArea): Don't use components that are not
7687         completed yet.
7688         (getIconForType): Use temporary icons.
7689         * javax/swing/plaf/basic/BasicSliderUI.java:
7690         (mousePressed): Do not return if it's on thumb.
7691         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7692         (paintMinorTickForVertSlider): ditto.
7693         (paintMajorTickForHorizSlider): ditto.
7694         (paintMajorTickForVertSlider): ditto.
7695         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7696         Add a border around the SplitPaneDivider.
7697         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7698         Remove comments.
7699         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7700         New file. Implemented.
7701         * javax/swing/plaf/basic/BasicToolBarUI.java:
7702         Implemented.
7703         * testsuite/Makefile.in: Regenerated.
7705 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7707         * javax/swing/Timer.java (run): Queue events each time cycle.
7709 2004-07-21  David Jee  <djee@redhat.com>
7711         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7712         (imageComplete): Call image.imageComplete().
7713         * java/awt/image/MemoryImageSource.java:
7714         Reimplement consumers as a Vector instead of a Hashtable.  This is
7715         because enumeration on a Hashtable is not thread-safe.
7716         (addConsumer): Adapt to Vector consumers.
7717         (isConsumer): Adapt to Vector consumers.
7718         (removeConsumer): Adapt to Vector consumers.
7719         (startProduction): Adapt to Vector consumers. Call imageComplete()
7720         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7721         (newPixels): Adapt to Vector consumers.
7722         (sendPicture): Set the color model of the image consumer.
7723         (newPixels(IIII)): Adapt to Vector consumers.
7724         (newPixels(IIIIB)): Adapt to Vector consumers.
7726 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7728         * java/awt/Component.java (deliverEvent): Implement.
7729         (postEvent): Implement.
7730         (handleEvent): Implement.
7731         (translateEvent): New method.
7732         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
7733         * java/awt/Container.java (deliverEvent): Implement.
7734         * java/awt/Event.java (paramString): Fix formatting.
7735         * java/awt/Font.java (toString): Likewise.
7736         * java/awt/Window.java (postEvent): Implement.
7738 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7740         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7741         Set window's focus owner upon receiving a FOCUS_LOST event.
7742         * java/awt/Window.java (Window()): Refocus the previously
7743         focused component within the window when the window regains the
7744         top-level focus.
7745         (setFocusOwner): New method.
7746         * java/awt/Component.java (requestFocus): Add FIXME.
7748         * libgcj.pc.in: Remove library flags.
7750 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7752         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7753         MOUSE_PRESSED event.
7754         * java/awt/Component.java (requestFocus()): Handle Panel
7755         specially.  Post FOCUS_LOST event on opposite component.
7756         (requestFocus(boolean)): Likewise.
7757         (requestFocusInWindow(boolean)): Likewise.
7758         (paramString): Reorder dimension fields.
7759         * java/awt/Container.java (paramString): Fix string format.
7760         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7761         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
7762         process key events if the focus owner is non-null.
7763         (dispatchKeyEvent): Likewise.
7764         * java/awt/Frame.java (paramString): Fix formatting.
7765         (generateName): New method.
7766         (getUniqueLong): Likewise.
7767         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7768         the temporary focus owner is null.  If so, return the permanent
7769         focus owner.
7770         * java/awt/Panel.java (generateName): New method.
7771         (getUniqueLong): Likewise.
7772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
7773         signal handling to make callbacks more specific.
7775 2004-07-21  Michael Koch  <konqueror@gmx.de>
7777         * javax/swing/text/Position.java
7778         (Bias): Implemented.
7780 2004-07-21  Michael Koch  <konqueror@gmx.de>
7782         * javax/swing/LookAndFeel.java
7783         (provideErrorFeedback): New method.
7785 2004-07-21  Michael Koch  <konqueror@gmx.de>
7787         * javax/swing/JTextArea.java
7788         (tabSize): New field.
7789         (getTabSize): New method.
7790         (setTabSize): Likewise.
7792 2004-07-21  Michael Koch  <konqueror@gmx.de>
7794         * javax/swing/ActionMap.java:
7795         Fixed javadocs all over.
7796         (serialVersionUID): Made private.
7797         (parent): Don't explicitely initialize with default value.
7798         (get): SImplified.
7799         (keys): Reimplemented.
7800         (allKeys): Likewise.
7801         (convertSet): Removed.
7802         * javax/swing/ComponentInputMap.java:
7803         Fixed javadocs all over.
7804         (ComponentInputMap): Implemented.
7805         (put): Likewise.
7806         (clear): Likewise.
7807         (remove): Likewise.
7808         (SetParent): Likewise.
7809         (getComponent): Likewise.
7810         * javax/swing/InputMap.java:
7811         Fixed javadocs all over.
7812         (serialVersionUID): Made private.
7813         (parent): Don't explicitely initialize with default value.
7814         (get): SImplified.
7815         (keys): Reimplemented.
7816         (allKeys): Likewise.
7817         (convertSet): Removed.
7819 2004-07-21  Michael Koch  <konqueror@gmx.de>
7821         * javax/swing/ActionMap.java,
7822         javax/swing/ComponentInputMap.java,
7823         javax/swing/InputMap.java,
7824         javax/swing/table/DefaultTableColumnModel.java,
7825         javax/swing/table/TableColumn.java,
7826         javax/swing/table/TableColumnModel.java,
7827         javax/swing/table/TableModel.java,
7828         javax/swing/text/AbstractDocument.java,
7829         javax/swing/text/TextAction.java:
7830         Reformated.
7832 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7834         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
7835         Make method non-static.
7836         * javax/swing/AbstractButton.java:
7837         Rename fields to match property names where possible.
7838         (iconTextGap): New property.
7839         * javax/swing/JCheckBox.java: Match AbstractButton changes.
7840         (init) New method, call from after various constructors.
7841         * javax/swing/JComponent.java (revalidate):
7842         Invalidate before queueing repair.
7843         * javax/swing/JList.java (getPreferredScrollableViewportSize):
7844         Reimplement in terms of visibleRowCount property.
7845         * javax/swing/JMenuButton.java: Match AbstractButton changes.
7846         * javax/swing/JScrollPane.java (createScrollListener):
7847         Remove tracing chatter.
7848         * javax/swing/JToggleButton.java: Match AbstractButton changes.
7849         * javax/swing/RepaintManager.java (addInvalidComponent):
7850         Don't invalidate.
7851         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
7852         calculations.
7853         * javax/swing/SwingUtilities.java (layoutCompoundLabel):
7854         Mimic sun behavior on top left/right positioning.
7855         * javax/swing/ViewportLayout.java (preferredLayoutSize):
7856         Remove mistaken use of preferredScrollableViewportSize here.
7857         (layoutContainer): Use view's preferred size as basis.
7858         * javax/swing/plaf/basic/BasicButtonUI.java:
7859         Set, get, and use textIconGap property.
7860         (paint) Paint text returned from layout (with ellipsis).
7861         * javax/swing/plaf/basic/BasicListUI.java:
7862         Remove tracing chatter, correct various minor calculations.
7863         (getCellBounds): Update layout state before calculating.
7864         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
7865         Use margin default similar to sun's.
7866         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
7867         (createIncreaseIcon): Center icon, minimize margins.
7868         (createDecreaseIcon): Likewise.
7869         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
7870         Implement.
7871         (installUI): Call it.
7872         (uninstallDefaults): Implement.
7873         (uninstallUI): Call it.
7874         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
7875         Call existing Window constructor.
7876         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
7877         Set clip before painting.
7879 2004-07-21  Olga Rodimina <rodimina@redhat.com>
7881         * javax/swing/JMenuItem.java:
7882         (processMouseEvent): Reimplemented to deal with
7883         mouse drag events.
7884         (createMenuDragMouseEvent): New private helper method.
7885         Creates MenuDragMouseEvent.
7886         * javax/swing/MenuSelectionManager.java
7887         (componentForPoint): Implemented.
7888         (isComponentPartOfCurrentMenu): Made public.
7889         (processMouseEvent): Reimplemented to deal with
7890         mouse drag events.
7891         (setSelectedPath): Corrected small mistake that caused
7892         path to be set incorrectly.
7893         (getPath): If given component is JMenu then also add this
7894         menu's popup menu to the selected path.
7895         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7896         (getPath): Ditto.
7897         (getPreferredSize): Call getPreferredMenuItemSize().
7898         (getPreferredItemSize): Moved code from getPreferredSize to here.
7899         (installListeners): Install MouseMotionListeners.
7900         (MouseInputHandler): Pass mouse release event to MenuSelectionManager
7901         if mouse wasn't released in the bounds of this menu item.
7902         (MenuDragMouseHandler): Implemented.
7903         * javax/swing/plaf/basic/BasicMenuUI.java:
7904         (installListeners): Install MouseMotionListener and
7905         MenuDrageMouseListener.
7906         (MenuDragMouseHandler): Implemented.
7907         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7908         (uninstallListeners): Implemented.
7910 2004-07-21  Michael Koch  <konqueror@gmx.de>
7912         * javax/swing/JCheckBox.java: Reformated.
7913         (JCheckBox): Fixed all constructors.
7914         (isBorderPaintedFlat): New method.
7915         (setBorderPaintedFlat): New method.
7916         * javax/swing/JEditorPane.java
7917         (createEditorKitForContentType): Made public.
7918         (scrollToReference): Likewise.
7919         * javax/swing/JTextArea.java
7920         (setLineWrap): Fire property change.
7921         * javax/swing/JToggleButton.java
7922         (JToggleButton): New constructor.
7923         (JToggleButton): Simplified.
7924         * javax/swing/text/AttributeSet.java
7925         (FontAttribute): Renamed from FontCharacterAttribute.
7926         * javax/swing/text/JTextComponent.java
7927         (KeyBinBinding): Added javadoc.
7928         (JTextComponent): Likewise.
7929         (getAccessibleContext): Fixed javadoc.
7930         * javax/swing/text/View.java
7931         (View): Added javadoc.
7932         * javax/swing/text/TabableView.java: New file.
7933         * Makefile.am: Added javax/swing/text/TabableView.java.
7934         * Makefile.in: Regenerated.
7936 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7938         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
7939         * gnu/java/awt/peer/gtk/GtkToolkit.java
7940         (GtkErrorImage): New helper class.
7941         (bufferedImageOrError): New helper method.
7942         (createImage): Use it.
7944 2004-07-21  David Jee  <djee@redhat.com>
7946         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7947         (setCaretPosition): Scroll the text view so the new caret position
7948         is visible on screen.
7950 2004-07-21  David Jee  <djee@redhat.com>
7952         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7953         (setBounds): Do not validate awtComponent here.
7954         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
7955         (getPreferredSize): New method.
7956         * java/awt/ScrollPane.java
7957         (ScrollPane): Set default size to 100x100.
7958         (addNotify): If child is not a Panel, wrap it with a new Panel.
7959         (paramString): Implement.
7961 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7963         * javax/swing/JMenu.java:
7964         (setSelected): Display popup menu only if this menu
7965         is showing on the screen.
7966         * javax/swing/JPopupMenu.java:
7967         (processMouseEvent): Added comment.
7968         (processKeyEvent): Likewise.
7969         * javax/swing/MenuSelectionManager.java:
7970         (clearSelectedPath): Only fireStateChanged() after
7971         selected path was changed, not before.
7972         (setSelectedPath): Likewise.
7973         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7974         (paintMenuItem): Corrected position of menu item's
7975         icon.
7976         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7977         (installUI): Correct setDefaultLightWeightPopupEnabled call.
7978         (popupMenuCanceled): Reimplemented.
7979         (popupMenuWillBecomeVisible): Select first menu item by default
7980         when displaying free floating popup menus.
7981         (TopWindowListener): Reimplemented.
7983 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7985         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
7986         Panel from being painted twice when it is first shown.
7988 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7990         * java/awt/Window.java: Reverted changes from my
7991         previous patch for creating window without an owner.
7992         * javax/swing/SwingUtilities.java:
7993         (SwingUtilities.OwnerFrame): made static.
7994         (OwnerFrame.setVisible): New method. Overridden with
7995         empty implementation.
7996         (OwnerFrame.isShowing): New method. Ovverridden
7997         to return always true.
7999 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8001         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8002         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8003         (GtkComponentPeer): Remove temporary try/catch block.
8004         (setVisible): Call show and hide.
8005         (show): Make native.
8006         (hide): Likewise.
8007         (getArgs): Don't add "visible" argument.
8008         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8009         (property_notify_predicate): Return Bool instead of int.
8010         (find_layout): New function.
8011         (connectJObject): Call find_layout.
8012         (connectSignals): Likewise.
8013         (moveLayout): Likewise.
8014         (gtkLayoutSetVisible): Likewise.
8016 2004-07-21  Mark Wielaard  <mark@klomp.org>
8018         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8019         on notifier object before calling notifyAll().
8021 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8023         * java/awt/Window.java: Changed constructors to use new
8024         method that is described below. Constructors call this
8025         methods only if newly created window should have an owner.
8026         (setWindowOwner): New method. Implementation for
8027         this method is moved from this(owner,configuration).
8028         * javax/swing/JWindow.java:
8029         (JWindow): Reimplement to use SwingUtilities.ownerFrame
8030         instead of owner.
8031         * javax/swing/SwingUtilities.java:
8032         (ownerFrame): Change type of this field to OwnerFrame.
8033         (getOwnerFrame): Changed to return object of type OwnerFrame.
8034         (SwingUtilities.OwnerFrame): New class. Represents owner
8035         of a Window that is not provided with one.
8037 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8039         *  javax/swing/AbstractButton.java:
8040         (configurePropertiesFromAction): Set action command
8041         to button's text by default if action command is not
8042         explicitely specified.
8043         * javax/swing/JMenu.java: Remove unnecessary listener
8044         and methods relevant to it.
8045         (setSelected): Reimplemented.
8046         (menuSelectionChanged): Moved most part of implementation to
8047         setSelected() and call it instead.
8048         * javax/swing/JMenuItem.java:
8049         (init): Comment out statement that sets paint_border to false.
8050         (configurePropertiesFromAction): Do not set accelerator
8051         for JMenu.
8052         (menuSelectionChanged): Change selected index in the selection
8053         model of menu item's parent.
8054         * javax/swing/JPopupMenu.java:
8055         (remove): Set constraints.fill field to GridBagConstraints.BOTH
8056         instead of GridBagConstraints.HORIZONTAL.
8057         (insert): Likewise.
8058         (createActionChangeListener): Implemented.
8059         (setVisible): Correct location of HeavyWeightMenu and
8060         don't firePopupMenuCanceled().
8061         (menuSelectionChanged): Implemented.
8062         (ActionChangeListener): New Listener. Implemented.
8063         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8064         (BasicMenuBarUI.ContainerHandler): Implemented.
8065         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8066         (paintMenuItem): Uncommented out code that paints
8067         icon, now that icons are working properly.
8068         (PropertyChangeListener): Implemented.
8069         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8070         Added javadocs.
8071         (topWindowListener): New field.
8072         (Constructor): initialize topWindowListener.
8073         (BasicPopupMenuUI.TopWindowListener): Implemented.
8074         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8075         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8076         Implemented.
8078 2004-07-21  Michael Koch  <konqueror@gmx.de>
8080         * javax/swing/plaf/basic/BasicButtonUI.java
8081         (paintFocus): Fixed method signature.
8082         (paintButtonPressed): Likewise.
8083         (paintButtonNormal): Likewise.
8084         (paintText): New method.
8085         * javax/swing/plaf/basic/BasicLabelUI.java
8086         (paint): Re-indented.
8087         * javax/swing/plaf/basic/BasicTextUI.java
8088         (installUI): Set parent textComponent to opaque.
8089         * javax/swing/text/DefaultHighlighter.java
8090         (checkPositions): New helper method.
8091         (addHighlight): Throws BadLocationException, check positions.
8092         (changeHighlight): Likewise.
8093         * javax/swing/text/EditorKit.java
8094         (EditorKit): Implements Serializable.
8095         * javax/swing/text/JTextComponent.java
8096         (getUI): Added javadoc.
8097         (setUI): Likewise.
8098         (upadteUI): Added javadoc, don't revalidate and repaint.
8100 2004-07-21  David Jee  <djee@redhat.com>
8102         * java/awt/GridBagLayout.java
8103         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8104         * javax/swing/AbstractButton.java
8105         (setText): Reindent.
8106         * javax/swing/RepaintManager.java
8107         (addInvalidComponent): Find the first ancestor that isValidateRoot().
8109 2004-07-21  Michael Koch  <konqueror@gmx.de>
8111         * javax/swing/JFormattedTextField.java
8112         (value): New field.
8113         (JFormattedTextField): Implemented.
8114         (getValue): Likewise.
8115         (setValue): Likewise.
8116         * javax/swing/LookAndFeel.java
8117         (getSupportsWindowDecorations): New method.
8118         * javax/swing/UIDefaults.java:
8119         Use java.beans.PropertyChangeSupport instead of doing all ourself.
8120         (addPropertyChangeListener): Made public.
8121         (addResourceBundle): Likewise.
8122         (removeResourceBundle): Likewise.
8123         (setDefaultLocale): Likewise.
8124         * javax/swing/plaf/basic/BasicRootPaneUI.java
8125         (BasicRootPaneUI): Implements PropertyChangeListener.
8126         (propertyChange): New method.
8127         * javax/swing/plaf/basic/BasicTextUI.java
8128         (BasicHighlighter): New inner class.
8129         (createHighlighter): New method.
8130         * javax/swing/plaf/basic/BasicToolBarUI.java
8131         (DragWindow): Extends java.awt.Window.
8132         * javax/swing/text/JTextComponent.java
8133         (getDocument): Removed debug output.
8134         * javax/swing/plaf/basic/BasicTextFieldUI.java,
8135         javax/swing/text/DefaultHighlighter.java,
8136         javax/swing/text/FieldView.java,
8137         javax/swing/text/PlainView.java: New files.
8138         * Makefile.am: Added new files.
8139         * Makefile.in: Regenerated.
8141 2004-07-21  Michael Koch  <konqueror@gmx.de>
8143         * javax/swing/JEditorPane.java
8144         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8145         (createEditorKitForContentType): Likewise.
8146         * javax/swing/text/DefaultEditorKit.java
8147         (serialVersionUID): Added constant field.
8148         (EndOfLineStringPropery): Fixed typo.
8149         (DefaultEditorKit): New constructor.
8150         * javax/swing/text/Segment.java:
8151         Import java.text.CharacterIterator.
8152         * javax/swing/text/CharacterIterator.java,
8153         javax/swing/text/PlainEditorKit.java: Removed.
8154         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8155         javax/swing/text/PlainEditorKit.java.
8156         * Makefile.in: Regenerated.
8158 2004-07-21  Michael Koch  <konqueror@gmx.de>
8160         * javax/swing/JButton.java,
8161         javax/swing/text/DefaultEditorKit.java,
8162         javax/swing/text/EditorKit.java,
8163         javax/swing/text/Segment.java,
8164         javax/swing/text/StyledEditorKit.java:
8165         Reformatted.
8167 2004-07-21  Michael Koch  <konqueror@gmx.de>
8169         * javax/swing/ImageIcon.java
8170         (file): Removed.
8171         (description): Renamed from descr.
8172         (ImageIcon): Added missing constructors.
8173         (setParent): Removed.
8174         (setImageObserver): New method.
8175         (getImageObserver): New method.
8176         (paintIcon): Handle observer = null.
8177         * javax/swing/JButton.java
8178         (removeNotify): Fixed javadoc.
8179         (updateUI): Simplified.
8180         * javax/swing/JRootPane.java
8181         (serialVersionUID): New constant field.
8182         * javax/swing/UIManager.java:
8183         Fixed javadocs all over.
8184         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8185         * javax/swing/text/AbstractDocument.java
8186         (createPosition): Throws BadLocationException.
8187         (getText): Likewise.
8188         (remove): Likewise.
8189         * javax/swing/text/ComponentView.java
8190         (modelToView): Likewise.
8191         * javax/swing/text/DefaultEditorKit.java:
8192         Made all public methods public.
8193         (read): Throws BadLocationException and IOException.
8194         (write): Likewise.
8195         * javax/swing/text/EditorKit.java:
8196         Made all public methods public.
8197         (serialVersionUID): New constant field.
8198         (clone): New method.
8199         (read): Throws BadLocationException and IOException.
8200         (write): Likewise.
8201         * javax/swing/text/Segment.java
8202         (array): Made public.
8203         (count): Likewise.
8204         (offset): Likewise.
8205         (Segment): New constructors.
8206         (clone): Reimplemented.
8207         * javax/swing/text/StyledEditorKit.java
8208         (serialVersionUID): New constant field.
8210 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8212         * java/awt/image/BufferedImage.java
8213         (getSource): Implement.
8214         * javax/swing/ImageIcon.java
8215         (ImageIcon): Implement ctor.
8216         * javax/swing/ScrollPaneLayout.java
8217         (preferredLayoutSize): Be more careful about nulls.
8219 2004-07-21  Michael Koch  <konqueror@gmx.de>
8221         * javax/swing/text/AttributeSet.java
8222         (CharacterAttribute): New interface
8223         (ColorAttribute): Likewise.
8224         (FontCharacterAttribute): Likewise.
8225         (ParagraphAttribute): Likewise.
8226         * javax/swing/text/DefaultCaret.java
8227         (moveCaret): New method.
8228         (positionCaret): Likewise.
8229         (repaint): Made protected.
8230         * javax/swing/text/JTextComponent.java
8231         (KeyBinding): Made it static.
8232         * javax/swing/text/View.java
8233         (getContainer): Honor parent == null.
8235 2004-07-21  Michael Koch  <konqueror@gmx.de>
8237         * javax/swing/text/AbstractDocument.java:
8238         Reformatted.
8240 2004-07-21  Michael Koch  <konqueror@gmx.de>
8242         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8243         Import javax.swing.UIManager explicitely.
8244         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8245         (ScrollingButton): Made it static.
8247 2004-07-21  Michael Koch  <konqueror@gmx.de>
8249         * javax/swing/UIDefaults.java
8250         (ActiveValue): Made public.
8251         (LazyValue): Likewise.
8252         * javax/swing/plaf/basic/BasicTextUI.java
8253         (RootView): Reintroduced.
8254         (view): Removed.
8255         (rootView): New field.
8256         (installUI): Create document if needed, initialize rootView.
8257         (uninstallUI): Hanle rootView.
8258         (paint): Likewise.
8259         (getRootView): Likewise.
8260         (setView): Likewise.
8261         * javax/swing/text/DefaultCaret.java:
8262         Renamed all "evt" variables to "event".
8264 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8266         * libgcj.spec.in: Add -l-java-util-logging.
8268 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
8270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8271         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8272         gtk-xft-dpi can no calculate the right value.
8273         (dpi_changed_cb): Mark *pspec as unsused.
8275 2004-07-21  David Jee  <djee@redhat.com>
8277         * java/awt/Component.java
8278         (move): Delegate to setBounds().
8279         (resize): Likewise.
8280         (reshape): Fix so it repaints parent and self only when necessary.
8282 2004-07-21  David Jee  <djee@redhat.com>
8284         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8285         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8286         (GtkComponentPeer): Revert previous patch from 2004-06-22.
8287         (setVisible): Likewise.
8288         (show): Likewise.
8289         (hide): Likewise.
8290         (getArgs): Likewise.
8291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8292         (property_notify_predicate): Likewise.
8293         (find_layout): Likewise.
8294         (connectJObject): Likewise.
8295         (connectSignals): Likewise.
8296         (moveLayout): Likewise.
8297         (gtkLayoutSetVisible): Likewise.
8299 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8301         * Makefile.am
8302         (jv_convert_LDADD):
8303         (gij_LDADD):
8304         (rmic_LDADD):
8305         (rmiregistry_LDADD): Add lib-java-util-logging.la
8306         * Makefile.in: Regenerate.
8308 2004-07-21  Michael Koch  <konqueror@gmx.de>
8310         * javax/swing/text/AbstractDocument.java
8311         (replace): Dont use protected method of java.util.Vector directly.
8313 2004-07-21  Michael Koch  <konqueror@gmx.de>
8315         * javax/swing/plaf/basic/BasicTextUI.java
8316         (installUI): Call specialized install methods.
8317         (installDefaults): New method.
8318         (installListeners): Likewise.
8319         (installKeyboardActions): Likewise.
8320         (uninstallUI): Likewise.
8321         (uninstallDefaults): New method.
8322         (uninstallListeners): Likewise.
8323         (uninstallKeyboardActions): Likewise.
8324         (getPropertyPrefix): New abstract method.
8325         (paint): Made final, just call paintSafely().
8326         (paintSavely): New method.
8327         (paintBackground): Likewise.
8328         (getVisibleEditorRect): Likewise.
8329         * javax/swing/text/LayeredHighlighter.java,
8330         javax/swing/text/TabExpander.java: New files.
8331         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8332         and javax/swing/text/TabExpander.java.
8333         * Makefile.in: Regenerated.
8335 2004-07-21  Michael Koch  <konqueror@gmx.de>
8337         * javax/swing/plaf/basic/BasicTextUI.java
8338         (BasicTextUI): Made abstract.
8339         (BasicCaret): New inner class.
8340         (view): Don't explicitely initialize with "null".
8341         (textComponent): New field.
8342         (textColor): Removed.
8343         (disabledTextColor): Removed.
8344         (normalBackgroundColor): Removed.
8345         (RootView): Removed commented out inner class.
8346         (createUI): Removed.
8347         (createCaret): New method.
8348         (getComponent): Likewise.
8349         (installUI): Initialize textComponent only.
8350         (getPreferredSize): Use installed JTextComponent.
8351         (setView): New method.
8352         (create): Likewise.
8353         * javax/swing/text/JTextComponent.java
8354         (highlighter): New field.
8355         (caretColor): Likewise.
8356         (disabledTextColor): Likewise.
8357         (seletedTextColor): Likewise.
8358         (selectionColor): Likewise.
8359         (setUI): New method.
8360         (getCaretColor): Likewise.
8361         (setCaretColor): Likewise.
8362         (getDisabledColor): Likewise.
8363         (setDisabledColor): Likewise.
8364         (getSelectedTextColor): Likewise.
8365         (setSelectedTextColor): Likewise.
8366         (getSelectionColor): Likewise.
8367         (setSelectionColor): Likewise.
8368         (getHighlighter): Likewise.
8369         (setHighlighter): Likewise.
8370         (replaceSelection): Likewise.
8372 2004-07-21  Michael Koch  <konqueror@gmx.de>
8374         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8375         (BasicScrollPaneUI): Implements ScrollPaneConstants.
8376         * javax/swing/plaf/basic/BasicToolBarUI.java
8377         (BasicToolBarUI): Implements SwingConstants.
8379 2004-07-21  Michael Koch  <konqueror@gmx.de>
8381         * javax/swing/JPopupMenu.java: Removed CVS tags.
8382         * javax/swing/UIDefaults.java: Reformatted.
8383         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8384         Explicitely import used classes.
8386 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8388         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8390         (GtkComponentPeer): Remove temporary try/catch block.
8391         (setVisible): Call show and hide.
8392         (show): Make native.
8393         (hide): Likewise.
8394         (getArgs): Don't add "visible" argument.
8395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8396         (property_notify_predicate): Return Bool instead of int.
8397         (find_layout): New function.
8398         (connectJObject): Call find_layout.
8399         (connectSignals): Likewise.
8400         (moveLayout): Likewise.
8401         (gtkLayoutSetVisible): Likewise.
8403 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8405         * javax/swing/AbstractButton.java:
8406         (setDisplayedMnemonicIndex): Check if button
8407         text is not null before checking its length.
8408         * javax/swing/JMenuItem.java:
8409         (processMouseEvent): Disarm menu item if mouse has
8410         exited it.
8411         * javax/swing/plaf/basic/BasicMenuUI.java:
8412         (MouseInputHandler.mouseEntered): Do not raise
8413         popup menu if this menu is already selected.
8414         (MouseInputHandler.mousePressed): Do not fire
8415         MenuEvents.
8416         (MenuHandler): Implemented.
8418 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8420         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8421         (getSelectedObjects): Implemented.
8422         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8423         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
8424         Added javadoc for few methods.
8425         (processMouseEvent): Made public.
8426         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8427         (processMouseEvent): Likewise.
8429 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8431         * javax/swing/AbstractButton.java:
8432         (init): Set display mnemonic index to -1.
8433         (setMnemonic(char)): Use setMnemonic(int).
8434         (setMnemonic(int)): Set display mnemonic index.
8435         (getDisplayedMnemonicIndex): Change method signature
8436         by removing 'index' parameter.
8437         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8438         Added default for Menu.selectionBackground.
8439         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8440         (paintMenuItem): Change background color of the selected
8441         menu item.
8442         (paintText): Paint differently when menu item is disabled.
8443         Also paint mnemonic if it appears in the menu item's label.
8444         (paintAccelerator): Paint accelerator differently
8445         if menu item is disabled.
8446         * javax/swing/plaf/basic/BasicMenuUI.java:
8447         (installDefaults): Install defaults for
8448         selectionForeground and selectionBackground.
8449         (uninstallDefaults): Uninstall defauls for
8450         selectionForeground and selectionBackground.
8452 2004-07-21  Michael Koch  <konqueror@gmx.de>
8454         * javax/swing/text/AbstractDocument.java
8455         (BranchElement): Implemented.
8456         (LeafElement): Implemented.
8457         * javax/swing/text/DefaultCaret.java:
8458         Import used classes.
8459         (serialVersionUID): New constant.
8460         * javax/swing/text/JTextComponent.java
8461         (AccessibleJTextComponent): Removed dead declaration.
8462         (caretPos): Removed.
8463         (setCaret): New method.
8464         * javax/swing/text/PlainDocument.java
8465         (rootElement): New field.
8466         (PlainDocument): Initialize rootElement.
8467         (createDefaultRoot): New method.
8468         (getDefaultRootElement): Implemented.
8469         * javax/swing/text/View.java: Reformatted.
8470         * javax/swing/text/ViewFactory.java
8471         (create): Added javadoc.
8473 2004-07-21  Michael Koch  <konqueror@gmx.de>
8475         * javax/swing/ToolTipManager.java: Reformatted.
8477 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
8479         * javax/swing/AbstractButton.java
8480         (changeEvent): New field.
8481         (fireItemStateChanged): Change source of the event
8482         to 'this' before firing it to button listeners.
8483         (fireActionPerformed): Likewise.
8484         (fireStateChanged): Likewise.
8485         (createActionListener): Do not set source
8486         of the event to AbstractButton.
8487         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8488         (ContainerHandler.componentAdded): Removed
8489         print out statement.
8490         (ContainerHandler.componentRemoved): Likewise.
8492 2004-07-21  Michael Koch  <konqueror@gmx.de>
8494         * javax/swing/text/Highlighter.java: New file.
8495         * Makefile.am: Added javax/swing/text/Highlighter.java.
8496         * Makefile.in: Regenerated.
8498 2004-07-21  Michael Koch  <konqueror@gmx.de>
8500         * javax/swing/ToolTipManager.java
8501         (stillInsideTimerAction): Fixed constructor arguments.
8502         (outsideTimerAction): Likewise.
8503         (insideTimerAction): Likewise.
8505 2004-07-21  Michael Koch  <konqueror@gmx.de>
8507         * javax/swing/JButton.java: Reformatted.
8508         * javax/swing/JFormattedTextField.java
8509         (getUIClassID): Implemented.
8510         * javax/swing/JRootPane.java
8511         (serialVersionUID): New constant.
8512         * javax/swing/JTextField.java
8513         (align): New field.
8514         (JTextField): Simplified.
8515         (getUIClassID): New method.
8516         (getActionListeners): Added @since tag.
8517         (setColumns): Invalidate layout and repaint.
8518         (getHorizontalAlignment): New method.
8519         (setHorizontalAlignment): New method.
8520         (selectAll): Removed.
8521         * javax/swing/SwingUtilities.java
8522         (getAncestorOfClass): Removed redundant @see tag.
8523         (isLeftMouseButton): Fixed implementation.
8524         (isMiddleMouseButton): Likewise.
8525         (isRightMouseButton): Likewise.
8526         * javax/swing/text/AbstractDocument.java
8527         (AttributeContext.addAttribute): New method.
8528         (AttributeContext.addAttributes): New method.
8529         (AttributeContext.getEmptySet): New method.
8530         (AttributeContext.reclaim): New method.
8531         (AttributeContext.removeAttribute): New method.
8532         (AttributeContext.removeAttributes): New method.
8533         * javax/swing/text/Document.java
8534         (createPosition): Throws BadLocationException.
8535         (getText): Likewise.
8536         (remove): Likewise.
8537         * javax/swing/text/JTextComponent.java
8538         (getText): Return null if no document is set. Catch
8539         BadLocationException.
8540         (getUI): Return ui.
8541         (updateUI): Simplified.
8543 2004-07-21  Michael Koch  <konqueror@gmx.de>
8545         * javax/swing/JButton.java
8546         (removeNotify): Fixed javadoc.
8547         (updateUI): Simplified.
8549 2004-07-21  David Jee  <djee@redhat.com>
8551         * gnu/java/awt/image/ImageDecoder.java
8552         (startProduction): Only add consumer if it's not added yet.
8553         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8554         (GdkPixbufDecoder): Don't call initState() here.
8555         (produce): Call initState() here, to ensure area_prepared and
8556         area_updated signals are properly connected.
8557         * gnu/java/awt/peer/gtk/GtkImage.java
8558         (setColorModel): Use equals() to compare ColorModel objects.
8559         (setPixels): Likewise.
8560         * java/awt/image/ColorModel.java
8561         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8562         * java/awt/image/RGBImageFilter.java
8563         (setColorModel): Set consumer's color model.
8564         (setPixels): Use equals() to compare ColorModel objects.
8566 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
8568         * java/net/URLConnection.java (position): New field.
8569         (dateFormat1, dateFormat2, dateFormat3): Removed.
8570         (dateFormats): New field.
8571         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8572         each time instead of re-allocating.
8573         (initializeDateFormats): Initialize 'dateFormats'.
8575 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8577         PR libgcj/16591
8578         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8579         is defined.
8581 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8583         * java/net/Socket.java (getImpl): Now private. Remove comment.
8585 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8587         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8588         of chained Writer when calling super-constructor.
8589         * java/io/FilterWriter.java (FilterWriter): Likewise.
8590         * java/io/PrintWriter.java (PrintWriter): Likewise.
8592 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
8594         * prims.cc (process_gcj_properties): Don't increment i within LHS
8595         of assignment.
8597 2004-07-19  Per Bothner  <per@bothner.com>
8599         Print -verbose:message on "loading", not initialization.
8600         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
8601         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
8602         gcj::verbose_class_flag.
8603         * java/lang/natClass.cc (initializeClass):  Don't print message here.
8604         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
8605         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8606         (_Jv_PrepareCompiledClass):  Likewise.
8608 2004-07-18  Matthias Klose  <doko@debian.org>
8610         * configure.in: Substitute target_noncanonical.
8611         * configure: Regenerate
8613 2004-07-17  Michael Koch  <konqueror@gmx.de>
8615         * java/lang/String.java: Fixed javadocs all over.
8617 2004-07-17  Mark Wielaard  <mark@klomp.org>
8619         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8620         when size is smaller.
8621         * java/io/RandomAccessFile.java (setLength): Use truncate for
8622         shrinking the file and seek plus write for expanding the file.
8624 2004-07-17  Michael Koch  <konqueror@gmx.de>
8626         * gnu/java/nio/channels/natFileChannelPosix.cc
8627         (implTruncate): Always save current position. Only reposition file
8628         pointer to where we started if not beyond new lenght. Reposition file
8629         pointer to file length if it points beyond the end of file.
8631 2004-07-17  Mark Wielaard  <mark@klomp.org>
8633         * javax/swing/Box.java: Put FIXME comment above class declaration.
8634         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8635         * javax/swing/JCheckBox.java: Likewise.
8636         * javax/swing/JDialog.java: Likewise.
8637         * javax/swing/JRadioButton.java: Likewise.
8638         * javax/swing/JToggleButton.java: Likewise.
8639         * javax/swing/UIManager.java: Likewise.
8640         * javax/swing/border/TitledBorder.java: Likewise.
8641         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8642         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8643         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8644         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8645         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8646         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8647         * javax/swing/text/JTextComponent.java: Likewise.
8649 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
8651         * java/net/DatagramPacket.java (setAddress): Removed check for
8652         null address.
8654 2004-07-17  Michael Koch  <konqueror@gmx.de>
8656         * java/net/DatagramSocket.java
8657         (getLocalAddress): Check if socket is bound or not.
8658         * java/net/Socket.java
8659         (getLocalAddrss): Check if socket is bound or not.
8660         (getPort): Return -1 when not connected. Dont check getImpl() for
8661         null.
8662         (setReuseAddress): Check if socket is closed.
8663         (isConnected): Check if getImpl() returns null.
8665 2004-07-17  Mark Wielaard  <mark@klomp.org>
8667         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8668         on notifier object before calling notifyAll().
8670 2004-07-17  Michael Koch  <konqueror@gmx.de>
8672         * gnu/java/nio/channels/FileChannelImpl.java
8673         (finalize): Added javadoc.
8675 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
8677         * java/text/CollationElementIterator.java
8678         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8679         (setText): Use ArrayList instead of Vector.
8681 2004-07-17  Michael Koch  <konqueror@gmx.de>
8683         * java/nio/ByteOrder.java
8684         (static): Removed. Not needed.
8685         Thanks to Patrick Reali for noticing.
8686         * java/nio/charset/CharsetDecoder.java
8687         (decode): Fix for classpath bug #9177: Reset state before flipping.
8689 2004-07-17  Michael Koch  <konqueror@gmx.de>
8691         * java/security/Security.java: Fixed javadocs all over.
8693 2004-07-17  Michael Koch  <konqueror@gmx.de>
8695         * gnu/java/awt/EmbeddedWindow.java
8696         (static): Removed.
8697         (addNotify): Set peer via reflection.
8698         (setWindowPeer): Removed.
8699         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8700         * Makefile.am (nat_source_files):
8701         Removed gnu/java/awt/natEmbeddedWindow.cc.
8702         * Makefile.in: Regenerated.
8704 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
8706         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8707         assignment.
8708         * configure: Regenerated.
8710 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
8712         * configure.in: Use build_noncanonical rather than build_alias.
8713         * configure: Rebuild.
8715         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8716         by logic refactoring.  Move default definition of NATIVE closer
8717         to first alternate definition.
8718         * configure: Regenerate.
8720         * Makefile.am: Set ZIP and GCJH directly using autoconf.
8721         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8722         gcj/Makefile.in: Regenerate.
8723         * configure.in: Set ZIP and GCJH.  Remove redundant condition
8724         in AM_CONDITIONAL(NATIVE,...)
8725         * configure: Regenerate.
8727 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
8729         * configure.in: Use target_noncanonical rather than
8730         target_alias for forward-compatibility with autoconf 2.59.
8731         * configure: Regenerate.
8732         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8733         testsuite/Makefile.am: Substitute target_noncanonical.
8734         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8735         testsuite/Makefile.in: Regenerate.
8737         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8738         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8739         * acinclude.m4: Include acx.m4.
8740         * aclocal.m4: Regenerate.
8741         * configure: Regenerate.
8743 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
8745         PR libgcj/16574
8746         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8747         (decimalFormat): New static variable.
8748         (sbuf): Likewise.
8749         (getTime): New. Override Date.getTime().
8750         (toString): Synchronize. Use decimalFormat to format nanos value
8751         correctly. Truncate extra zeros.
8752         (before): Compare getNanos() only if getTime() is equal.
8753         (after): Likewise.
8755 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
8757         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8758         * configure.in: ...here.
8759         * aclocal.m4: Regenerate.
8760         * configure: Regenerate.
8762         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8763         * configure: Rebuilt with autoconf 2.13.
8764         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8765         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8767 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
8769         PR libgcj/16204
8770         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
8771         large file support.
8772         * Makefile.in: Rebuilt.
8773         * testsuite/libjava.lang/LargeFile.java: New test case.
8774         * testsuite/libjava.lang/LargeFile.out: New file.
8776 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8778         * java/beans/EventHandler.java: Remove debugging statements.
8780 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8782         * java/beans/EventHandler.java: New file.
8783         * Makefile.am (awt_java_source_files): Add EventHandler.java.
8784         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8785         testsuite/Makefile.in: Regenerate.
8787 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
8789         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
8790         flag to the gcj_setup.
8791         (gcj_jacks_run): Check tclsh version and launch jacks directly with
8792         the tclsh.
8793         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
8794         deprecation flag change. 58 XFAILS removed.
8796 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
8798         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
8799         -fno-use-divide-subroutine.
8800         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
8801         (HANDLE_FPE): Define.
8802         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
8803         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8804         (HANDLE_DIVIDE_OVERFLOW): Define.
8806 2004-07-14  Michael Koch  <konqueror@gmx.de>
8807             Matthias Klose  <doko@debian.org>
8809         * java/awt/im/InputContext.java: Initialize in, line.
8811 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
8813         * interpret.cc (run): Correctly access libffi return values of
8814         integral smaller-than-int type; these are implicitly promoted.
8816 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
8818         PR libgcj/7587
8819         * interpret.cc (compile_mutex): New.
8820         (_Jv_InitInterpreter): New. Initialize compile_mutex.
8821         (run): Lock compile_mutex before calling compile() if compilation is
8822         required.
8823         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
8824         * include/java-interp.h (_Jv_InitInterpreter): Declare.
8826 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
8828         PR libgcj/15713
8829         * include/jvm.h (_Jv_value): New union type.
8830         * gcj/field.h (_Jv_Field): Add new _addr union field variants
8831         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
8832         union members.
8834 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
8836         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
8837         * gnu/awt/xlib/XOffScreenImage.java
8838           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
8839           constructor argument. Add constructor using ImageProducer.
8840           (getSource): Implement.
8841           (imageComplete): New method.
8842           (setColorModel): New method.
8843           (setDimensions): New method.
8844           (setHints): New method.
8845           (setPixels): New method.
8846           (setProperties): New method.
8847         * gnu/gcj/xlib/GC.java (drawPoint): New native method.
8848         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
8850 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
8852         PR libgcj/16478
8853         * prims.cc (_Jv_CreateJavaVM): Fix comment.
8854         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
8855         (finalizerReady): Now native.
8856         (run): Likewise.
8857         (runFinalizers): Removed.
8858         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
8859         a primitive lock, and don't hold it while running the finalizers.
8860         (runFinalizers): Implement. Don't aquire any Java lock.
8861         (finalizerReady): Use lock primitives to signal finalizer thread.
8863 2004-07-11  Mark Wielaard  <mark@klomp.org>
8865         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
8866         * java/net/URLStreamHandler.java (parseURL): When url file part
8867         doesn't contain a '/' just ignore context.
8869 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
8871         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
8872         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8873         (MAKE_THROW_FRAME): Do not modify PSW address.
8874         (INIT_SEGV): Install SIGINFO-style signal handler.
8875         (INIT_FPE): Likewise.
8877 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8879         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
8880         status. 21 xfail's removed, 1 added.
8882 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8884         * gcj/javaprims.h: Regenerate CNI namespace definitions.
8886 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8888         * java/text/MessageFormat.java
8889         (formatInternal): Append "{n}" if argument n is unavailable.
8890         (format(Object, StringBuffer, FieldPosition)): This
8891         should be equivalent to format(Object[],
8892         StringBuffer, FieldPosition).
8894 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8896         * java.util.Calendar.java (cache): New private static field. Cached
8897         mappings of locales->calendar classes.
8898         (ctorArgTypes): New private static field. Singleton argument for
8899         calendar class constructor lookup.
8900         (getInstance): Cache Locale->Calendar class mappings using HashMap.
8901         Optimize by bypassing reflection instantiation for the
8902         GregorianCalendar case.
8904 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8906         * java/util/Calendar.java: Use getSystemClassLoader as argument for
8907         ResourceBundle.getBundle() calls.
8908         * java/util/GregorianCalendar.java: Likewise.
8909         * java/util/Currency.java: Likewise.
8910         * java/text/BreakIterator.java: Likewise.
8911         * java/text/Collator.java: Likewise.
8912         * java/text/DateFormat.java: Likewise.
8913         * java/text/DateFormatSymbols.java: Likewise.
8914         * java/text/DecimalFormatSymbols.java: Likewise.
8915         * java/text/NumberFormat.java: Likewise.
8916         * java/awt/Window.java: Likewise.
8918 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8920         * java/util/ResourceBundle.java (bundleCache): Renamed from
8921         resourceBundleCache. Update comments.
8922         (getObject): Don't catch MissingResourceException.
8923         (getBundle(String)): Remove 'final'. Use system classloader if
8924         getCallingClassLoader returned null.
8925         (getBundle(String, Locale)): Likewise.
8926         (BundleKey): New private class. HashMap key for bundle cache lookup.
8927         (lookupKey): New. Singleton instance of BundleKey.
8928         (nullEntry): New. Cache entry to represent failed lookups.
8929         (getBundle(String, Locale, ClassLoader)): Re-written to use new
8930         caching strategy, no-allocation lookup, and new tryBundle methods.
8931         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
8932         name using given classloader.
8933         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
8934         baseName for given Locale and attempt to load bundle.
8936 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8938         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
8939         illegal protected method calls.
8941 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8943         Fix or remove some bogus test cases.
8944         * testsuite/libjava.compile/pr10459_2.java: Removed.
8945         * testsuite/libjava.compile/pr10459.java: Test using its own method,
8946         not Object.clone().
8947         * testsuite/libjava.compile/inner_data.java: Test against its own
8948         protected field.
8950 2004-07-09  Michael Koch  <konqueror@gmx.de>
8952         * scripts/unicode-muncher.pl: Updated to version 2.1
8953         from GNU classpath. Added some clarifications on where to find the
8954         needed files from www.unicode.org.
8955         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
8956         gnu/gcj/convert/UnicodeData-3.0.0.txt:
8957         Removed, these can directly be downloaded from www.unicode.org if
8958         needed.
8959         * gnu/java/lang/CharData.java: Regenerated.
8960         * include/java-chartables.h: Regenerated.
8961         * Makefile.am (ordinary_java_source_files):
8962         Removed gnu/java/lang/CharData.java.
8963         * Makefile.in: Regenerated.
8965 2004-07-09  Michael Koch  <konqueror@gmx.de>
8967         * java/security/AccessControlContext.java,
8968         java/security/SecureClassLoader.java:
8969         Fixed javadocs.
8971 2004-07-09  Michael Koch  <konqueror@gmx.de>
8973         * java/io/ObjectInputStream.java (readFields): Use long datatype
8974         when shifting byte values more then 24 bits left.
8976 2004-07-09  Michael Koch  <konqueror@gmx.de>
8978         * java/util/zip/DeflaterOutputStream.java,
8979         java/util/zip/GZIPInputStream.java,
8980         java/util/zip/GZIPOutputStream.java,
8981         java/util/zip/InflaterInputStream.java:
8982         Reformatted. Added javadocs. Reordered all stuff.
8983         Renamed variables to be more clear.
8985 2004-07-09  Michael Koch  <konqueror@gmx.de>
8987         * javax/imageio/IIOException.java,
8988         javax/imageio/event/IIOReadProgressListener.java,
8989         javax/imageio/event/IIOReadUpdateListener.java,
8990         javax/imageio/event/IIOReadWarningListener.java,
8991         javax/imageio/event/IIOWriteProgressListener.java,
8992         javax/imageio/event/IIOWriteWarningListener.java:
8993         New files.
8994         * Makefile.am: Added new files.
8995         * Makefile.in: Regenerated.
8997 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
8999         * java/text/RuleBasedCollator.java
9000         (mergeRules): Use ArrayList instead of Vector.
9001         (subParseString): likewise.
9002         (parseString): likewise.
9003         (buildCollationVector): likewise.
9004         (getCollationKey): likewise.
9006 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
9008         * java/text/DateFormat.java (parse):
9009         Improved javadoc. Improved exception message.
9011 2004-07-09  Mark Wielaard  <mark@klomp.org>
9013         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
9014         interrupted() method to clear interupt flag of our Thread.
9016 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
9018         * java/nio/Buffer.java,
9019         java/nio/ByteBuffer.java,
9020         java/nio/ByteBufferHelper.java,
9021         java/nio/ByteBufferImpl.java,
9022         java/nio/CharBuffer.java,
9023         java/nio/CharBufferImpl.java,
9024         java/nio/CharViewBufferImpl.java,
9025         java/nio/DirectByteBufferImpl.java,
9026         java/nio/DoubleBuffer.java,
9027         java/nio/DoubleBufferImpl.java,
9028         java/nio/DoubleViewBufferImpl.java,
9029         java/nio/FloatBuffer.java,
9030         java/nio/FloatBufferImpl.java,
9031         java/nio/FloatViewBufferImpl.java,
9032         java/nio/IntBuffer.java,
9033         java/nio/IntBufferImpl.java,
9034         java/nio/IntViewBufferImpl.java,
9035         java/nio/LongBuffer.java,
9036         java/nio/LongBufferImpl.java,
9037         java/nio/LongViewBufferImpl.java,
9038         java/nio/MappedByteBufferImpl.java,
9039         java/nio/ShortBuffer.java,
9040         java/nio/ShortBufferImpl.java,
9041         java/nio/ShortViewBufferImpl.java:
9042         Fixed javadocs all over. Improved input error
9043         checking.
9045         * java/nio/Buffer.java
9046         (checkForUnderflow, checkForOverflow, checkIndex,
9047         checkIfReadOnly, checkArraySize): New helper methods
9048         for error checking.
9050         * java/nio/ByteBufferHelper.java
9051         (checkRemainingForRead, checkRemainingForWrite,
9052         checkAvailableForRead, checkAvailableForWrite): Removed
9053         no longer needed methods.
9055 2004-07-09  Michael Koch  <konqueror@gmx.de>
9057         * gnu/regexp/CharIndexedInputStream.java:
9058         Reordered imports to match classpath.
9060 2004-07-09  Michael Koch  <konqueror@gmx.de>
9062         * gnu/java/awt/EmbeddedWindow.java:
9063         Load native library for setWindowPeer method.
9065 2004-07-08  Randolph Chung  <tausq@debian.org>
9067         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9068         * configure: Regenerate.
9069         * configure.host: Set can_unwind_signal for hppa*-linux.
9070         * include/pa-signal.h: New file.
9072 2004-07-07  Per Bothner  <per@bothner.com>
9074         * Makefile.am:  Add rules to build libgij from just gij.cc.
9076         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
9077         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
9078         (initializeClass):  If verbose_class_flag, print message.
9079         * gij.cc (main):  Handle -verbose:class flag.
9081 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
9083         * configure.host: Enable hash synchronization on Darwin.
9084         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9085         ';', since this is a comment on Darwin.
9086         (compare_and_swap_release): Likewise.
9088 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
9090         * java/net/URLStreamHandler.java (parseURL): Canonicalize
9091         file portion of URL in addition to spec for file: protocol.
9093 2004-07-05  Anthony Green  <green@redhat.com>
9095         * java/io/File.java (toURI): Merge from Classpath.
9097 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9099         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9100         before passing to URL constructor. Rethrow any MalformedURLException
9101         as a RuntimeException. Catch MalformedURLException specifically, not
9102         all exceptions.
9104 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9106         * java/util/Locale.java (readObject): Intern strings read from object
9107         stream.
9109 2004-07-04  Michael Koch  <konqueror@gmx.de>
9111         * gnu/gcj/runtime/FirstThread.java,
9112         gnu/gcj/runtime/natFirstThread.cc: Removed.
9113         * gnu/java/lang/MainThread.java,
9114         gnu/java/lang/natMainThread.cc: New files.
9115         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9116         * Makefile.am: Added new files and removed deleted ones.
9117         * Makefile.in: Regenerated.
9119 2004-07-03  Mark Wielaard  <mark@klomp.org>
9120             Anthony Green  <green@redhat.com>
9122         * java/net/URL.java (getFile): Clarify return value doc.
9123         (getPath): Return null if file is empty - not empty String.
9124         (set): Convert protocol to lower case before doing anything.
9125         Only change the protocol handler if it's different.
9127 2004-07-03  Anthony Green  <green@redhat.com>
9129         * java/net/URL.java (URL): Convert protocol to lower case before
9130         doing anything, so we getURLStreamHandler() with the proper value.
9132 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
9134         * java/util/Locale.java (hashcode): Made transient.
9135         (hashCode): No longer synchronized.
9136         (equals): Remove comment.
9137         (writeObject): No longer synchronized. Implement using writeObject
9138         calls instead of tweaking hashCode field. Update doc.
9139         (readObject): Implement using readObject calls.
9141 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
9142             Andreas Tobler  <a.tobler@schweiz.ch>
9144         * configure.host (powerpc-*-darwin*): New case, define
9145         can_unwind_signal.
9146         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9147         * configure: Regenerate.
9148         * include/darwin-signal.h: New.
9150 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
9152         * java/beans/Statement.java (doExecute): Fix formatting.
9154 2004-06-29  Per Bothner  <per@bothner.com>
9156         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9157         etc etc):  Remove needless parenthesis, which causes __stdcall__
9158         attribute on MinGW to get ignored.
9160 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
9162         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9164 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
9166         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9168 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
9170         * java/beans/Expression.java: New file.
9171         * java/beans/Statement.java: New file.
9172         * Makefile.am: Added new files.
9173         * Makefile.in: Re-generate.
9175 2004-06-27 Mark Wielaard  <mark@klomp.org>
9177         * java/io/FilePermission.java (usingPerms): Removed.
9178         (actionsString): Made final.
9179         (cachePerms): Renamed to checkPerms.
9180         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9181         on action String.
9182         (FilePermission): Check arguments, call checkPerms().
9183         (equals): Remove cachePerms() call.
9184         (implies): Likewise.
9186 2004-06-27  Mark Wielaard  <mark@klomp.org>
9188         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9189         final field.
9190         (sendRequest): Use new field in user-agent http agent.
9192 2004-06-27  Mark Wielaard  <mark@klomp.org>
9194         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9195         when argument is null.
9197 2004-06-26  Mark Wielaard  <mark@klomp.org>
9199         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9200         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9201         GetMethodID call.
9202         (cancel_clicked): Likewise.
9204 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
9206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9207         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9208         can not calculate the right value.
9209         (dpi_changed_cb): Likewise. Mark *pspec as unused.
9211 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
9213         * testsuite/libjava.jacks/jacks.xfail: Remove
9214         15.9.1-qualified-concrete-20.
9216 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9218         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9219         encoding name to iconv.
9220         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9222 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9224         PR libgcj/16134:
9225         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
9226         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9227         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9229 2004-06-21  Andrew Haley  <aph@redhat.com>
9231         * java/io/ObjectOutputStream.java: Add DEBUG statements
9232         everywhere.
9233         (dumpElementln): New method.
9234         (depth): New field.
9235         * java/io/ObjectInputStream.java
9236         (currentClassLoader): Make native.
9237         (callersClassLoader): New field.
9238         (depth): New field.
9239         (readObject): ENDBLOCKDATA is generated if the class has a write
9240         method, not if it has a read method.
9241         (readObject): Save and restore this.currentObject and
9242         this.currentObjectStreamClass around calls to callReadMethod().
9243         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9244         method.
9246 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
9248         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9249         darwin.
9251 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9253         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9254         if desired, before the default class loader is initialised.
9255         Call INIT_SEGV only if HANDLE_SEGV is defined.
9257 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9259         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9260         directory only if it actually exists.
9262 2004-06-18  Graydon Hoare  <graydon@redhat.com>
9264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9265         Fix up non-ansi comments.
9267 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9269         * javax/swing/text/AbstractDocument.java: Adding missing import
9270         for javax.swing.event.EventListenerList.
9271         * javax/swing/text/DefaultCaret.java: Likewise.
9273 2004-06-17  Michael Koch  <konqueror@gmx.de>
9275         * javax/swing/JToolBar.java
9276         (name): Removed.
9277         (JToolBar): Use Component.setName(String) instead of doing it all
9278         alone.
9279         * javax/swing/Timer.java
9280         (queueEvent): Added missing modifier.
9282 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
9284         * Makefile.am: Added new file.
9285         * Makefile.in: Re-generate.
9286         * javax/swing/JMenu.java:
9287         (insertSeparator): Implemented.
9288         * javax/swing/JPopupMenu.java:
9289         (JPopupMenu.Separator): Implemented.
9290         * javax/swing/MenuSelectionManager.java:
9291         (processMouseEvent): Use java.awt.Component
9292         for event source instead of javax.swing.JComponent.
9293         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9294         New File. Implemented.
9296 2004-06-16  David Jee  <djee@redhat.com>
9298         * java/awt/GridBagLayout.java
9299         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9300         Make sure pos_x and pos_y are never negative.
9302 2004-04-16  Andrew Overholt  <overholt@redhat.com>
9304         * Makefile.am: Add new file.
9305         * Makefile.in: Re-generate.
9306         * javax/swing/JToolBar.java
9307         Partially implemented.
9308         * javax/swing/plaf/basic/BasicToolBarUI.java
9309         New file. Partially implemented.
9311 2004-06-16  Graydon Hoare  <graydon@redhat.com>
9313         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9314         (setComposite): Accept AlphaComposite arguments.
9315         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9316         (createBufferedImage): Add new overloads.
9317         * gnu/java/awt/peer/gtk/GtkToolkit.java
9318         (createImage): Use GdkPixbufDecoder.createBufferedImage
9319         when useGraphics2D() is true.
9320         (getImage): Delegate to createImage.
9321         * javax/swing/JList.java
9322         (isSelectionEmpty):
9323         (getFirstVisibleIndex):
9324         (getLastVisibleIndex):
9325         (setSelectedValue):
9326         (ensureIndexIsVisible): New methods.
9327         * javax/swing/Timer.java: Reimplement.
9329 2004-06-16  Michael Koch  <konqueror@gmx.de>
9331         * javax/swing/text/AbstractDocument.java
9332         (AbstracElement): Made public, implements java.io.Serializable.
9333         (AttributeContext): Made public.
9334         (BranchElement): Likewise.
9335         (Content): Likewise.
9336         (DefaultDocumentEvent): Made public, extends
9337         javax.swing.undo.CompoundEdit.
9338         (ElementEdit): Made public, extends
9339         javax.swing.undo.AbstractUndoableEdit.
9340         (LeafElement): Made public.
9341         (LeafElement.LeafElement): Made public.
9343 2004-06-16  Michael Koch  <konqueror@gmx.de>
9345         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9346         methods (that were obviously never be intended to get included hi this
9347         class. Added some methods too.
9349 2004-06-16  Michael Koch  <konqueror@gmx.de>
9351         * javax/swing/text/PlainDocument.java
9352         (serialVersionUID): New constant.
9353         (lineLimitAttribute): Likewise.
9354         (tabSizeAttribute): Likewise.
9355         (tabSize): New field.
9356         (PlainDocument): Made public.
9357         (PlainDocument): New constructor.
9359 2004-06-16  Michael Koch  <konqueror@gmx.de>
9361         * javax/swing/text/AbstractDocument.java
9362         (insertString): Throws BadLocationException.
9363         * javax/swing/text/Document.java
9364         (insertString): Likewise.
9365         * javax/swing/text/JTextComponent.java:
9366         Javadocs and comments cleaned up.
9368 2004-06-16  Michael Koch  <konqueror@gmx.de>
9370         * javax/swing/event/UndoableEditListener.java: Reformatted.
9371         * javax/swing/text/AbstractDocument.java
9372         (AbstractDocument): Implements java.io.Serializable.
9373         (doc_list): Removed.
9374         (undo_list): Removed.
9375         (AbstractElement.serialVerionUID): New field.
9376         (BranchElement.serialVerionUID): Likewise.
9377         (DefaultDocumentEvent.serialVerionUID): Likewise.
9378         (ElementEdit.serialVerionUID): Likewise.
9379         (LeafElement.serialVerionUID): Likewise.
9380         (serialVerionUID): Likewise.
9381         (BAD_LOCATION): New constant.
9382         (BidiElementName): Likewise.
9383         (ContentElementName): Likewise.
9384         (ParagraphElementName): Likewise.
9385         (SectionElementName): Likewise.
9386         (ElementNameAttribute): Likewise.
9387         (AbstractDocument): Made protected.
9388         (AbstractDocument): New construtor.
9389         (listenerList): New field.
9390         (fireChangedUpdate): Implemented.
9391         (fireInsertUpdate): Likewise.
9392         (fireRemoveUpdate): Likewise.
9393         (fireUndoableEditUpdate): Likewise.
9394         (getListeners): Likewise.
9395         (addDocumentListener): Likewise.
9396         (removeDocumentListener): Likewise.
9397         (addUndoableEditListener): Likewise.
9398         (removeUndoableEditListener): Likewise.
9399         (getDocumentListeners): New method.
9400         (getUndoableEditListeners): Likewise.
9401         (getAsynchronousLoadPriority): Made public.
9402         (getBidiRootElement): Likewise.
9403         (setAsynchronousLoadPriority): Likewise.
9404         (setDocumentProperties): Likewise.
9405         * javax/swing/text/BadLocationException.java
9406         (serialVerionUID): New field.
9407         * javax/swing/text/DefaultCaret.java
9408         (changeEvent): New field.
9409         (listenerList): Likewise.
9410         (changes): Removed.
9411         (addChangeListener): Reimplemented.
9412         (removeChangeListener): Likewise.
9413         (getListeners): New method.
9414         (getChangeListeners): Likwise.
9415         (getComponent): Likewise.
9416         * javax/swing/text/GapContent.java
9417         (GapContent): Implements java.io.Serializable.
9418         (serialVerionUID): New field.
9420 2004-06-16  Michael Koch  <konqueror@gmx.de>
9422         * javax/swing/JTree.java
9423         (treeModel): New field.
9424         (JTree): New constructors, one existing one made public.
9425         (createTreeModel): New method.
9426         (addTreeExpansionListener): Likewise.
9427         (removeTreeExpansionListener): Likewise.
9428         (getTreeExpansionListeners): Likewise.
9429         (fireTreeCollapsed): Likewise.
9430         (fireTreeExpanded): Likewise.
9431         (addTreeSelectionListener): Likewise.
9432         (removeTreeSelectionListener): Likewise.
9433         (getTreeSelectionListeners): Likewise.
9434         (fireValueChanged): Likewise.
9435         (addTreeWillExpandListener): Likewise.
9436         (removeTreeWillExpandListener): Likewise.
9437         (getTreeWillExpandListeners): Likewise.
9438         (fireTreeWillCollapse): Likewise.
9439         (fireTreeWillExpand): Likewise.
9441 2004-06-16  Michael Koch  <konqueror@gmx.de>
9443         * javax/swing/JTree.java: Reformatted.
9445 2004-06-16  Michael Koch  <konqueror@gmx.de>
9447         * javax/swing/JTextArea.java: New file.
9448         * javax/swing/JTextField.java
9449         (actions): Removed.
9450         (notifyAction): New constant.
9451         (columns): New field.
9452         (JTextField): New constructors.
9453         (createDefaultModel): New method.
9454         (addActionListener): Reimplmemented.
9455         (removeActionListener): Reimplemented.
9456         (getActionListeners): New method.
9457         (fireActionPerformed): New method.
9458         (getColumns): New method.
9459         (setColumne): New method.
9460         * javax/swing/text/JTextComponent.java
9461         (AccessibleJTextComponent.serialVersionUID): New field.
9462         (serialVersionUID): Likewise.
9463         (DEFAULT_KEYMAP): Likewise.
9464         (FOCUS_ACCELERATOR_KEY): Likewise.
9465         (doc): Made private.
9466         (icon_gap): Likewise.
9467         (icon): Likewise.
9468         (align): Likewise.
9469         (JTextComponent): Some constructors removed.
9470         (getScrollableTracksViewportHeight): New method.
9471         (getScrollableTracksViewportWidth): Likewise.
9472         * Makefile.am: Added javax/swing/JTextArea.java.
9473         * Makefile.in: Regenerated.
9475 2004-06-15  Graydon Hoare  <graydon@redhat.com>
9477         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9478         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9479         * javax/swing/JViewport.java
9480         (getExtentSize): Return size rather than preferred size.
9481         (toViewCoordinates): New methods.
9482         (getViewSize): Return size rather than preferred size.
9483         (setViewSize): Note view size as set.
9484         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9485         * javax/swing/plaf/basic/BasicScrollBarUI.java
9486         (getPreferredSize): Don't redo layout.
9487         * javax/swing/plaf/basic/BasicViewportUI.java
9488         (paint): Translate image properly and eat exceptions.
9490 2004-06-15  Kim Ho  <kho@redhat.com>
9492         * javax/swing/JTabbedPane.java
9493         (setComponent): Remove old component and
9494         add new component.
9495         (setSelectedIndex): Don't operate on the
9496         components if they're null. Don't set index
9497         on the model if the index is the same.
9498         (insertTab): Don't add or hide the component
9499         if it's null. Repaint the container.
9500         * javax/swing/plaf/basic/BasicLookAndFeel.java
9501         Change colors for TabbedPane.
9502         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9503         (mousePressed): Re-layout and paint the component.
9504         (layoutContainer): Don't set location on the view.
9505         (ScrollingViewport::paint): Remove.
9507 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9510         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9513         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9514         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
9515         critical region.
9516         (drawLine): Call gdk_flush before leaving GDK critical region.
9517         (fillRect): Likewise.
9518         (drawRect): Likewise.
9519         (copyArea): Likewise.
9520         (copyPixmap): Likewise.
9521         (clearRect): Likewise.
9522         (drawArc): Likewise.
9523         (drawPolyline): Likewise.
9524         (drawPolygon): Likewise.
9525         (fillPolygon): Likewise.
9526         (fillArc): Likewise.
9527         (drawOval): Likewise.
9528         (fillOval): Likewise.
9530         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9531         style parameter.
9532         (GdkFontMetrics): Add style argument to initState call.
9533         (stringWidth(String,int,int,String)): Add style parameter.
9534         (stringWidth(String)): Add style argument to stringWidth call.
9535         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9536         (initState): Set pango font style and weight based on AWT style
9537         parameter.  Pass default GTK language to
9538         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
9539         simply dividing by PANGO_SCALE.
9540         (stringWidth): Set pango font style and weight based on AWT style
9541         parameter.
9543         * java/awt/Button.java (next_button_number): New field.
9544         (paramString): Change output.
9545         (generateName): New method.
9546         (getUniqueLong): New method.
9548 2004-06-14  Kim Ho  <kho@redhat.com>
9550         * javax/swing/JTabbedPane.java:
9551         (setComponentAt): Set the component, not
9552         the enabled status.
9553         * javax/swing/plaf/basic/BasicDesktopIconUI.java
9554         (actionPerformed): Let deiconize catch exception.
9556 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9558         * javax/swing/JPopupMenu.java:
9559         (setVisible): Corrected location of a
9560         heavyweight popup menu.
9562 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9564         * javax/swing/MenuSelectionManager.java:
9565         Ran through jalopy to fix formatting style.
9567 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9569         * javax/swing/JLayeredPane.java:
9570         (remove): Revalidate and repaint layered pane after
9571         the component was removed.
9572         javax/swing/JMenu.java:
9573         (setVisible): Display popup menu at the user location,
9574         if one was set by the user.
9575         (setMenuLocation): Reimplemented. Fixed javadoc.
9576         * javax/swing/JMenuBar.java: Added javadoc.
9577         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9578         (MODEL_CHANGED_PROPERTY): New Property.
9579         (isSelected): Implemented.
9580         (setBorderPainted): Fire PropertyChangeEvent
9581         if paintBorder property changes.
9582         (setSelected): Implemented.
9583         (setSelectionModel): Implemented.
9584         * javax/swing/JPopupMenu.java: Added Javadoc
9585         (pack): Implemented.
9586         (setVisible): Reimplemented.
9587         (show): Fixed location.
9588         (JPopupMenu.LigthWeightPopup): Reimplemented to use
9589         Container instead of JPanel.
9590         * javax/swing/MenuSelectionManager.java: Added Javadocs.
9591         (clearSelectedPath): Reimplemented to clear selectedPath
9592         in reverse order.
9593         (processMouseEvent): Reimplemented.
9594         (setSelectedPath): Fire stateChange event indicating that
9595         selected menu path has changed.
9596         (getPath): Change to use ArrayList instead of Vector.
9597         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9598         (installUI): call installKeyboardActions().
9599         (uninstallUI): call uninstallKeyboardActions().
9601 2004-06-13  Michael Koch  <konqueror@gmx.de>
9603         * javax/swing/text/DefaultCaret.java,
9604         javax/swing/text/BadLocationException.java:
9605         Reformatted.
9607 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
9609         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9610         DEFAULT_COLS): New variables.
9611         (create): Don't allow 0 rows or 0 columns.  Instead, set the
9612         values to DEFAULT_ROWS or DEFAULT_COLS.
9613         (getMinimumSize): Likewise.
9614         (getPreferredSize): Likewise.
9615         (minimumSize): Likewise.
9616         (preferredSize): Likewise.
9617         (create): Set peer's editable state.
9618         * java/awt/TextArea.java (TextArea()): Set rows and columns to
9619         zero.  Update javadocs.
9620         (TextArea(String)): Likewise.
9621         (TextArea(int,int)): Fix javadocs.
9622         (TextArea(String,int,int,int)): Only throw exception if one of
9623         rows or columns is zero.  Fix javadocs.
9625 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9627         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9628         addition to Components.
9630         * java/awt/MenuItem.java (dispatchEventImpl): If the event
9631         wasn't consumed by normal processing, send it to the parent
9632         menu.
9634         * gnu/java/awt/peer/gtk/GtkImagePainter.java
9635         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9636         translation.
9638 2004-06-11  David Jee  <djee@redhat.com>
9640         * java/awt/MediaTracker.java
9641         (addImage(Image,int)): Call imageUpdate() to udpate image status.
9642         (addImage(Image,int,int,int)): Likewise.
9644 2004-06-11  Michael Koch  <konqueror@gmx.de>
9646         * javax/swing/text/AbstractDocument.java,
9647         javax/swing/text/Document.java,
9648         javax/swing/text/GapContent.java,
9649         javax/swing/text/JTextComponent.java,
9650         javax/swing/text/PlainDocument.java:
9651         Reformatted.
9653 2004-06-11  Michael Koch  <konqueror@gmx.de>
9655         * javax/swing/JRootPane.java
9656         (AccessibleJRootPane.serialVersionUID): New field.
9657         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9658         (AccessibleJRootPane.getAccessibleRole): New method.
9659         (RootLayout): Implements Serializable.
9660         (RootLayout.serialVersionUID): New field.
9661         (RootLayout.RootLayout): New constructor.
9662         (setJMenuBar): Made public.
9663         (getJMenuBar): Likewise.
9664         (JRootPane): Likewise.
9665         (createContentPane): Likewise.
9666         (createGlassPane): Likewise.
9667         (createLayeredPane): Likewise.
9669 2004-06-11  Michael Koch  <konqueror@gmx.de>
9671         * javax/swing/SwingUtilities.java
9672         (isLeftMouseButton): Fixed javadoc.
9673         (isMiddleMouseButton): Likewise.
9674         (isRightMouseButton): Likewise.
9676 2004-06-11  Michael Koch  <konqueror@gmx.de>
9678         * javax/swing/JScrollPane.java
9679         (serialVersionUID): New field.
9680         (columnHeader): Made protected.
9681         (rowHeader): Likewise.
9682         (lowerLeft): Likewise.
9683         (lowerRight): Likewise.
9684         (upperLeft): Likewise.
9685         (upperRight): Likewise.
9686         (horizontalScrollBar): Likewise.
9687         (horizontalScrollBarPolicy): Likewise.
9688         (verticalScrollBar): Likewise.
9689         (verticalScrollBarPolicy): Likewise.
9690         (viewport): Likewise.
9692 2004-06-11  Michael Koch  <konqueror@gmx.de>
9694         * javax/swing/LookAndFeel.java: Fixed javadocs.
9696 2004-06-11  Michael Koch  <konqueror@gmx.de>
9698         * javax/swing/JEditorPane.java: Fixed javadocs.
9699         (JEditorPane): Removed redundant call to to this().
9700         (fireHyperlinkUpdate): Implemented.
9702 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9704         * javax/swing/JMenu.java: Fixed file name
9705         in the file comment.
9707 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9709         * javax/swing/JMenu.java: Added javadoc.
9710         (JMenu): Added MenuChangeListener to listen to
9711         ChangeEvents occuring in menu's model.
9712         (insert): Throw IllegalArgumentException if
9713         index is less than 0
9714         (setSelected): Reimplement.
9715         (setPopupMenuVisible): Call menu's model isEnabled()
9716         (setDelay): Throw IllegalArgumentException if
9717         given amount of delay is less than 0.
9718         (createActionComponent): Implemented.
9719         (createActionChangeListener): Implemented.
9720         (addSeparator): Implemented.
9721         (getItem): Throw IllegalArgumentException if index is
9722         less than 0.
9723         (getItemCount): Implemented.
9724         (fireMenuSelected): Changed to use menuEvent.
9725         (fireMenuDeselected): Likewise.
9726         (fireMenuCanceled): Likewise.
9727         (setAccelerator): Changed to throw an error if this
9728         method is used.
9729         (doClick): Implemented.
9730         (JMenu.ActionChangedListener): New inner class to handle
9731         PropertyChangeEvents occuring in the actions associated with menu.
9732         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9733         (BasicMenuUI): Added PropertyChangeListener to the menu.
9734         (createChangeListener): Implemented.
9735         (createMenuDragMouseListener): Likewise.
9736         (createMenuKeyListener): Likewise.
9737         (createPropertyChangeListener): Likewise.
9738         (uninstallListeners): Likewise.
9739         (BasicMenuUI.MouseInputHandler): Reimplemented.
9740         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9741         (BasicMenuUI.ChangeHandler): Likewise.
9742         (BasicMenuUI.MenuDragMouseHandler): Likewise.
9743         (BasicMenuUI.MenuKeyHandler): Likewise.
9745 2004-06-10  David Jee  <djee@redhat.com>
9747         * java/awt/MediaTracker.java
9748         (imageUpdate): Only do notifyAll() if the image is complete.
9750 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9752         * javax/swing/JApplet.java:
9753         (getJMenuBar): Made public.
9754         (setJMenuBar): Likewise.
9755         * javax/swing/JFrame.java:
9756         (getJMenuBar): Made public.
9757         (setJMenuBar): Likewise.
9758         * javax/swing/JWindow.java:
9759         (getJMenuBar): Removed.
9760         (setJMenuBar): Removed.
9762 2004-06-10  Michael Koch  <konqueror@gmx.de>
9764         * javax/swing/JEditorPane.java
9765         (createEditorKitForContentType): Fixed visibility.
9766         (fireHyperlinkUpdate): Likewise.
9767         (getContentType): Likewise.
9768         (getEditorKit): Likewise.
9769         (getEditorKitForContentType): Likewise.
9770         (getPage): Likewise.
9771         (read): Likewise.
9772         (registerEditorKitForContentTyoe): Likewise.
9773         (replaceSelection): Likewise.
9774         (setContentType): Likewise.
9775         (setEditorKit): Likewise.
9776         (setPage): Likewise.
9778 2004-06-10  Michael Koch  <konqueror@gmx.de>
9780         * javax/swing/Timer.java
9781         (Timer): New constructor.
9782         * javax/swing/plaf/basic/BasicProgressBarUI.java
9783         (animationTimer): Don't initialize at construction.
9784         (startAnimationTimer): Added since tag.
9785         (stopAnimationTimer): Likewise.
9786         (installUI): Use new Timer constructor.
9787         * javax/swing/plaf/basic/BasicScrollBarUI.java
9788         (installUI): Likewise.
9789         * javax/swing/plaf/basic/BasicSliderUI.java
9790         (installUI): Likewise.
9792 2004-06-10  Michael Koch  <konqueror@gmx.de>
9794         * javax/swing/ButtonGroup.java
9795         (serialVersionUID): Made private.
9796         (buttons): Renamed from v, added javadoc.
9797         (sel): Added javadoc.
9798         (ButtonGroup): Likewise.
9799         (add): Likewise.
9800         (remove): Likewise.
9801         (getElements): Likewise.
9802         (getSelection): Likewise.
9803         (setSelected): Likewise.
9804         (isSelected): Likewise.
9805         (getButtonCount): Likewise.
9807 2004-06-10  Michael Koch  <konqueror@gmx.de>
9809         * javax/swing/ButtonGroup.java,
9810         javax/swing/ImageIcon.java,
9811         javax/swing/JEditorPane.java,
9812         javax/swing/JRootPane.java,
9813         javax/swing/JTextField.java,
9814         javax/swing/LookAndFeel.java,
9815         javax/swing/plaf/basic/BasicTextUI.java:
9816         Reindented.
9818 2004-06-10  Michael Koch  <konqueror@gmx.de>
9820         * javax/swing/text/Style.java: Added javadocs.
9822 2004-06-10  Michael Koch  <konqueror@gmx.de>
9824         * javax/swing/JComponent.java
9825         (fireVetoableChange): Removed redundant cast.
9826         * javax/swing/JLabel.java
9827         (getDisabledIcon): Save icon for next call.
9829 2004-06-10  Michael Koch  <konqueror@gmx.de>
9831         * javax/swing/KeyStroke.java
9832         (getKeyStroke(char,boolean)): Marked deprecated.
9834 2004-06-10  Michael Koch  <konqueror@gmx.de>
9836         * javax/swing/DefaultCellEditor.java,
9837         javax/swing/GrayFilter.java,
9838         javax/swing/event/DocumentEvent.java,
9839         javax/swing/text/JTextComponent.java,
9840         javax/swing/text/MutableAttributeSet.java:
9841         Reindented.
9843 2004-06-10  Michael Koch  <konqueror@gmx.de>
9845         * javax/swing/plaf/BorderUIResource.java:
9846         Added serialVersionUID all over.
9848 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
9850         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9852 2004-06-10  Michael Koch  <konqueror@gmx.de>
9854         * javax/swing/table/DefaultTableCellRenderer.java
9855         (noFocusBorder): Initialize directly.
9857 2004-06-10  Michael Koch  <konqueror@gmx.de>
9859         * javax/swing/plaf/basic/BasicArrowButton.java
9860         (setDirection): Use method argument.
9862 2004-06-10  Michael Koch  <konqueror@gmx.de>
9864         * javax/swing/plaf/BorderUIResource.java,
9865         javax/swing/plaf/ComponentUI.java,
9866         javax/swing/undo/CompoundEdit.java,
9867         javax/swing/undo/StateEdit.java:
9868         Fixed javadocs all over.
9870 2004-06-10  Michael Koch  <konqueror@gmx.de>
9872         * javax/swing/DefaultButtonModel.java
9873         (ARMED): Made public final, fixed value.
9874         (ENABLED): Likewise.
9875         (PRESSED): Likewise.
9876         (ROLLOVER): Likewise.
9877         (SELECTED): Likewise.
9878         (stateMask): Initialize directly.
9879         (listenerList): Likewise.
9880         (mnemonic): Likewise.
9881         (fireStateChanged): Removed argument, use changeEvent as event.
9882         All places where this method is called are fixed too.
9883         (getActionCommant): Fixed javadoc.
9884         (setGroup): Fixed javadoc.
9885         (getGroup): New method.
9887 2004-06-09  Olga Rodimina <rodimina@redhat.com>
9889         * javax/swing/AbstractButton.java
9890         (AbstractButton): Use init() to initialize the button.
9891         (init): New Method. Initializes AbstractButton.
9892         * javax/swing/JMenuItem.java: Documented.
9893         (JMenuItem): Reimplemented.
9894         (init): Implemented.
9895         (setEnabled): Changed to call super.setEnabled()
9896         (processMouseEvent): Reimplemented.
9897         (fireMenuKeyPressed): Implemented.
9898         (fireMenuKeyReleased): Implemented.
9899         (fireMenuKeyTyped): Implemented.
9900         (menuSelectionChanged): disarm the model if the menu item was
9901         deselected.
9902         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
9903         (getPath): Change to use ArrayList instead of Vector.
9904         (getPreferredSize): Renamed variable.
9905         (paintMenuItem): Paint margin area of menu item.
9906         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
9907         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
9908         menu item's bounds before clearing the selection.
9910 2004-06-09  David Jee  <djee@redhat.com>
9912         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
9913         (GtkTextComponentPeer): Set caret position to 0.
9914         * java/awt/TextComponent.java
9915         (setText): Set caret position to 0.
9916         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9917         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9918         Handle GtkScrolledWindow separately. Fix signal handler blocking.
9919         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9920         Likewise.
9921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9922         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
9923         visible.
9925 2004-06-09  Kim Ho  <kho@redhat.com>
9927         * Makefile.am: New files
9928         * Makefile.in: Regenerated
9929         * java/awt/Container.java
9930         (getComponentAt): Removed.
9931         * javax/swing/AbstractAction.java
9932         (ENABLED_PROPERTY): New property.
9933         (putValue): Fire PropertyChangeEvents.
9934         (setEnabled): ditto.
9935         (firePropertyChange): Javadoc and implement
9936         convenience method.
9937         * javax/swing/AbstractButton.java
9938         (setAction): Don't create PropertyChangeListener
9939         if new Action is null.
9940         (setIcon): Don't set icon till after comparing
9941         it.
9942         (configurePropertiesFromAction): Check mnemonic
9943         key before calling intValue().
9944         (createActionPropertyChangeListener): Check
9945         properties rather than bulk change.
9946         * javax/swing/DefaultDesktopManager.java:
9947         Implement.
9948         * javax/swing/DesktopManager.java:
9949         Jalopy and javadoc.
9950         * javax/swing/JComponent.java
9951         (fireVetoableChange): Implement.
9952         (paintImmediately): Use root component.
9953         * javax/swing/JDesktopPane.java: Implement
9954         * javax/swing/JInternalFrame.java: Implement
9955         * javax/swing/JLabel.java
9956         (getDisabledIcon): Return grayscaled icon if
9957         no disabled icon specified.
9958         * javax/swing/JMenuBar.java
9959         (getComponentAtIndex): Use getComponent
9960         * javax/swing/JOptionPane.java
9961         (getDesktopPaneForComponent): Use SwingUtilities'
9962         getAncestorOfClass
9963         (getFrameForComponent): ditto.
9964         * javax/swing/JSplitPane.java
9965         (remove): Use getComponent.
9966         * javax/swing/SwingUtilities.java
9967         (convertPoint): Implement.
9968         * javax/swing/plaf/basic/BasicButtonUI.java
9969         (paintButtonNormal): Check opaqueness before
9970         filling background.
9971         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
9972         Implement
9973         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
9974         Implement.
9975         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
9976         Implement.
9977         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
9978         Implement.
9979         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9980         Change InternalFrame and Desktop colors.
9982 2004-06-09  David Jee  <djee@redhat.com>
9984         * java/awt/Container.java
9985         (remove): Do not set component to invisible.
9987 2004-06-09  Michael Koch  <konqueror@gmx.de>
9989         * javax/swing/tree/DefaultMutableTreeNode.java
9990         (getLeafCount): Renamed enum to e.
9992 2004-06-09  Michael Koch  <konqueror@gmx.de>
9994         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9995         (positionForMouseEvent): Removed redundant semicolon.
9996         (continueDrag): Use method arguments.
9998 2004-06-09  Michael Koch  <konqueror@gmx.de>
10000         * javax/swing/border/TitledBorder.java,
10001         javax/swing/filechooser/FileSystemView.java,
10002         javax/swing/plaf/basic/BasicButtonListener.java,
10003         javax/swing/plaf/basic/BasicGraphicsUtils.java,
10004         javax/swing/plaf/basic/BasicLabelUI.java,
10005         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
10006         javax/swing/plaf/basic/BasicScrollBarUI.java,
10007         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10008         javax/swing/plaf/basic/BasicSliderUI.java,
10009         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10010         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10011         javax/swing/table/JTableHeader.java,
10012         javax/swing/text/AbstractDocument.java,
10013         javax/swing/text/DefaultCaret.java,
10014         javax/swing/text/StyledEditorKit.java,
10015         javax/swing/tree/DefaultTreeCellEditor.java:
10016         Reworked import statements.
10018 2004-06-08  Graydon Hoare  <graydon@redhat.com>
10020         * javax/swing/Box.java: Temporarily comment out code
10021         broken due to visibility bug.
10023 2004-06-09  Michael Koch  <konqueror@gmx.de>
10025         * javax/swing/ImageIcon.java
10026         (ImageIcon): Added missing constructor.
10028 2004-06-08  Michael Koch  <konqueror@gmx.de>
10030         * javax/swing/JToggleButton.java
10031         (JToggleButton): New constructor.
10032         (getAccessibleContext): Moved documentation into javadoc.
10033         (getUIClassID): Likewise.
10035 2004-06-08  Michael Koch  <konqueror@gmx.de>
10037         * javax/swing/AbstractButton.java
10038         (getDisabledIcon): Create disabled icon if none exists yet.
10040 2004-06-08  Michael Koch  <konqueror@gmx.de>
10042         * javax/swing/plaf/basic/BasicLookAndFeel.java
10043         (initClassDefaults): Added FormattedTextFieldUI.
10044         (loadResourceBundle): Renamed enum to e.
10046 2004-06-08  Michael Koch  <konqueror@gmx.de>
10048         * javax/swing/plaf/basic/BasicButtonUI.java
10049         (paintIcon): Simplified.
10050         (paintText): Paint disabled button correctly.
10052 2004-06-08  Michael Koch  <konqueror@gmx.de>
10054         * javax/swing/JComponent.java
10055         (createToolTip): Use official JToolTip API.
10057 2004-06-08  Michael Koch  <konqueror@gmx.de>
10059         * javax/swing/JToolTip.java
10060         (JToolTip): No arguments in API.
10061         (setTipText): New method.
10063 2004-06-08  Michael Koch  <konqueror@gmx.de>
10065         * javax/swing/SwingUtilities.java
10066         (isLeftMouseButton): New method.
10067         (isMiddleMouseButton): New method.
10068         (isRightMouseButton): New method.
10070 2004-06-08  Michael Koch  <konqueror@gmx.de>
10072         * javax/swing/AbstractButton.java,
10073         javax/swing/CellRendererPane.java,
10074         javax/swing/JCheckBoxMenuItem.java,
10075         javax/swing/JColorChooser.java,
10076         javax/swing/JComboBox.java,
10077         javax/swing/JComponent.java,
10078         javax/swing/JDesktopPane.java,
10079         javax/swing/JFileChooser.java,
10080         javax/swing/JMenu.java,
10081         javax/swing/JMenuItem.java,
10082         javax/swing/JOptionPane.java,
10083         javax/swing/JPasswordField.java,
10084         javax/swing/JPopupMenu.java,
10085         javax/swing/JProgressBar.java,
10086         javax/swing/JRadioButtonMenuItem.java,
10087         javax/swing/JScrollBar.java,
10088         javax/swing/JSeparator.java,
10089         javax/swing/JSlider.java,
10090         javax/swing/JSplitPane.java,
10091         javax/swing/JTabbedPane.java,
10092         javax/swing/JTextField.java,
10093         javax/swing/JToolBar.java,
10094         javax/swing/text/JTextComponent.java:
10095         Fixed all constructors of accessibility classes.
10097 2004-06-08  Michael Koch  <konqueror@gmx.de>
10099         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10100         over.
10102 2004-06-08  Michael Koch  <konqueror@gmx.de>
10104         * javax/swing/Box.java
10105         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10106         (AccessibleBoxFiller.serialVersionUID): New member variable.
10107         * javax/swing/DefaultButtonModel.java
10108         (stateMask): Made protected.
10109         (listenerList): Likewise.
10110         (changeEvent): Likewise.
10111         (group): Likewise.
10112         (mnemonic): Likewise.
10113         (actionCommand): Likewise.
10114         (getListeners): New method.
10115         (getActionListeners): New method.
10116         (getItemListeners): New method.
10117         (getChangeListeners): New method.
10118         (fireItemStateChanged): Simplified.
10119         (fireActionPerformed): Simplified.
10120         (fireStateChanged): Simplified.
10121         * javax/swing/JFrame.java
10122         (JFrame): Implements WindowContants.
10123         (HIDE_ON_CLOSE): Removed.
10124         (EXIT_ON_CLOSE): Removed.
10125         (DISPOSE_ON_CLOSE): Removed.
10126         (DO_NOTHING_ON_CLOSE): Removed.
10127         (processWindowEvent): Exit with code 0.
10128         (setDefaultCloseOperation): Do security check before setting value.
10129         * javax/swing/JOptionPane.java
10130         (message): Initialize only in constructor.
10131         * javax/swing/JToolTip.java: Removed unused imports.
10132         * javax/swing/JViewport.java
10133         (serialVersionUID): New member variable.
10134         (SIMPLE_SCROLL_MODE): Made final, fixed value.
10135         (BLIT_SCROLL_MODE): Likewise.
10136         (BACKINGSTORE_SCROLL_MODE): Likewise.
10137         (scrollUnderway): Made protected.
10138         (isViewSizeSet): Likewise.
10139         * javax/swing/ListModel.java: Fixed javadoc.
10140         * javax/swing/Popup.java: Likewise.
10141         * javax/swing/RepaintManager.java
10142         (paintDirtyRegions): Don't use internal classes of
10143         java.util.AbstractMap.
10144         * javax/swing/ScrollPaneConstants.java: Reindented.
10145         * javax/swing/ScrollPaneLayout.java
10146         (viewport): Made protected.
10147         (verticalScrollBar): Made protected, renamed to vsb.
10148         (horizontalScrollBar): Made protected, renamed to hsb.
10149         (rowHeader): Made protected, renamed to rowHead.
10150         (columnHeader): Made protected, renamed to colHead.
10151         (lowerLeft): Made protected.
10152         (lowerRight): Made protected.
10153         (upperLeft): Made protected.
10154         (upperRight): Made protected.
10155         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10156         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10158 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
10160         * java/awt/MediaTracker.java (imageUpdate): Only set status to
10161         LOADING if flags has SOMEBITS set.
10163 2004-06-07  Michael Koch  <konqueror@gmx.de>
10165         * javax/swing/AbstractButton.java: Reorganized imports.
10166         * javax/swing/ActionMap.java: Likewise.
10167         * javax/swing/DefaultButtonModel.java: Likewise.
10168         * javax/swing/DefaultListModel.java: Likewise.
10169         * javax/swing/ImageIcon.java: Likewise.
10170         (serialVersionUID): New member variable.
10171         * javax/swing/JComboBox.java: Reorganized imports.
10172         * javax/swing/JComponent.java: Likewise.
10173         (ui): Made protected.
10174         (listenerList): Made protected.
10175         (TOOL_TIP_TEXT_KEY): New constant.
10176         (scrollRectToVisible): Removed redundant null check.
10177         * javax/swing/JFrame.java: Reorganized imports.
10178         * javax/swing/JInternalFrame.java: Reorganized imports.
10179         * javax/swing/JProgressBar.java: Likewise.
10180         * javax/swing/JRootPane.java: Likewise.
10181         * javax/swing/JScrollBar.java: Likewise.
10182         * javax/swing/JSeparator.java: Likewise.
10183         * javax/swing/JSlider.java: Likewise.
10184         * javax/swing/JTabbedPane.java: Likewise.
10185         * javax/swing/JTextField.java: Likewise.
10186         * javax/swing/JToolBar.java: Likewise.
10187         * javax/swing/JTree.java: Likewise.
10188         * javax/swing/JViewport.java: Likewise.
10189         * javax/swing/JWindow.java: Likewise.
10190         * javax/swing/KeyStroke.java: Likewise.
10191         * javax/swing/LookAndFeel.java: Likewise.
10192         * javax/swing/MenuSelectionManager.java: Likewise.
10193         * javax/swing/SwingUtilities.java: Likewise.
10194         * javax/swing/Timer.java: Likewise.
10195         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10196         * javax/swing/JList.java
10197         (HORIZONTAL_WRAP): Made final, fixed value.
10198         (VERTICAL): Likewise.
10199         (VERTICAL_WRAP): Likewise.
10201 2004-06-07  Michael Koch  <konqueror@gmx.de>
10203         * javax/swing/AbstractButton.java
10204         (serialVersionUID): New member variable.
10205         (AccessibleAbstractButton.serialVersionUID): Likewise.
10206         (AbstractButton): Made public.
10207         * javax/swing/Box.java
10208         (AccessibleBox.serialVersionUID): New member variable.
10209         (Filler.serialVersionUID): Likewise.
10210         * javax/swing/DefaultListSelectionModel.java
10211         (serialVersionUID): Likewise.
10212         * javax/swing/JApplet.java
10213         (serialVersionUID): Likewise.
10214         * javax/swing/JCheckBox.java
10215         (serialVersionUID): Likewise.
10216         * javax/swing/JCheckBoxMenuItem.java
10217         (serialVersionUID): Likewise.
10218         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10219         * javax/swing/JColorChooser.java
10220         (serialVersionUID): Likewise.
10221         (AccessibleJColorChooser.serialVersionUID): Likewise.
10222         * javax/swing/JComponent.java
10223         (serialVersionUID): Made private.
10224         (AccessibleJComponent.serialVersionUID): New member variable.
10225         * javax/swing/JDesktopPane.java
10226         (serialVersionUID): Likewise.
10227         * javax/swing/JDialog.java
10228         (serialVersionUID): Likewise.
10229         * javax/swing/JFormattedTextField.java
10230         (serialVersionUID): Fixed value.
10231         * javax/swing/JFrame.java
10232         (serialVersionUID): New member variable.
10233         (getDefaultCloseOpertation): Made public.
10234         * javax/swing/JLayeredPane.java
10235         (serialVersionUID): Likewise.
10236         (LAYER_PROPERTY): Made final, fixed value.
10237         (JLayeredPane): Made public.
10238         * javax/swing/JMenu.java
10239         (AccessibleJMenu.serialVersionUID): New member variable.
10240         (WinListener.serialVersionUID): Likewise.
10241         * javax/swing/JMenuBar.java
10242         (serialVersionUID): Likewise.
10243         (getComponentAtIndex): Added @deprecated tag.
10244         * javax/swing/JMenuItem.java
10245         (serialVersionUID): New member variable.
10246         (AccessibleJMenuItem.serialVersionUID): Likewise.
10247         * javax/swing/JOptionPane.java
10248         (serialVersionUID): Likewise.
10249         (AccessibleJOptionPane.serialVersionUID): Likewise.
10250         * javax/swing/JPopupMenu.java
10251         (serialVersionUID): Likewise.
10252         (AccessibleJPopupMenu.serialVersionUID): Likewise.
10253         (getPopupMenuListeners): New method.
10254         (getComponentAtIndex): Added @deprecated tag.
10255         * javax/swing/JProgressBar.java
10256         (serialVersionUID): New member variable.
10257         (AccessibleJProgressBar.serialVersionUID): Likewise.
10258         * javax/swing/JRadioButton.java
10259         (serialVersionUID): Likewise.
10260         * javax/swing/JRadioButtonMenuItem.java
10261         (serialVersionUID): Likewise.
10262         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10263         * javax/swing/JScrollBar.java
10264         (serialVersionUID): Likewise.
10265         (AccessibleJScrollBar.serialVersionUID): Likewise.
10266         * javax/swing/JSeparator.java
10267         (serialVersionUID): Likewise.
10268         (AccessibleJSeparator.serialVersionUID): Likewise.
10269         * javax/swing/JSlider.java: Fixed javadocs.
10270         (AccessibleJSlider.serialVersionUID): New member variable.
10271         * javax/swing/JSplitPane.java: Added copyright statement.
10272         (serialVersionUID): New member variable.
10273         (AccessibleJSplitPane.serialVersionUID): Likewise.
10274         * javax/swing/JTabbedPane.java
10275         (serialVersionUID): Likewise.
10276         (AccessibleJTabbedPane.serialVersionUID): Likewise.
10277         (ModelListener.serialVersionUID): Likewise.
10278         (ModelListener.ModelListener): New constructor.
10279         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10280         (WRAP_TAB_LAYOUT): Likewise.
10281         * javax/swing/JTable.java
10282         (serialVersionUID): New member variable.
10283         * javax/swing/JToggleButton.java
10284         (serialVersionUID): Likewise.
10285         (ToggleButtonModel): Made static.
10286         (ToggleButtonModel.serialVersionUID): New member variable.
10287         * javax/swing/JToolTip.java
10288         (serialVersionUID): Likewise.
10289         * javax/swing/JTree.java
10290         (serialVersionUID): Likewise.
10291         * javax/swing/JWindow.java
10292         (serialVersionUID): Likewise.
10293         * javax/swing/Timer.java
10294         (serialVersionUID): Likewise.
10296 2004-06-06  Michael Koch  <konqueror@gmx.de>
10298         * javax/swing/SwingConstants.java
10299         (NEXT): New constant.
10300         (PREVIOUS): Likewise.
10301         * javax/swing/UIManager.java
10302         (LookAndFeel): Made public.
10303         (LookAndFeel.getClassName): Likewise.
10304         (LookAndFeel.getName): Likewise.
10306 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10308         * javax/swing/JCheckBoxMenuItem.java:
10309         Removed CVS tags.
10310         * javax/swing/JMenu.java: Likewise.
10311         * javax/swing/JMenuBar.java: Likewise.
10312         * javax/swing/JMenuItem.java: Likewise.
10313         * javax/swing/JPopupMenu.java: Likewise.
10314         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10315         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10316         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10317         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10318         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10319         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10320         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10322 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10324         * javax/swing/plaf/basic/BasicMenuUI.java:
10325         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10326         Call getPath() from super class instead.
10328 2004-05-31  David Jee  <djee@redhat.com>
10330         * java/awt/Container.java
10331         (remove): Set component visibility to false after removing it.
10333 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
10335         * java/awt/Component.java (getForeground): Return SystemColor if
10336         parent is null.
10337         (getBackground): Likewise.
10339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10340         (item_highlighted): New function.
10341         (connectSignals): Set item_highlighted as list's select
10342         function.
10344         * java/applet/Applet.java: Revert changes from 2004-04-29,
10345         2004-03-15 and 2004-03-14.
10347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10348         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10349         factor.
10351         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10352         "Dialog" as the default font.
10353         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10354         Likewise.
10355         * java/awt/Component.java (getFont): Return "Dialog" font by
10356         default.
10357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10358         Multiply size argument to pango_font_description_set_size by the
10359         DPI conversion factor rather than by PANGO_SCALE.
10360         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10363         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10368         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10369         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10370         Divide baseline y coordinate by DPI conversion factor rather
10371         than by PANGO_SCALE.
10372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10373         (area_prepared): Fix typo.
10374         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10375         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10377         (dpi_conversion_factor): New global variable.
10378         (init_dpi_conversion_factor): New function to calculate and
10379         track DPI conversion factor.
10380         (dpi_changed_cb): New callback.
10381         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10383 2004-05-27  David Jee  <djee@redhat.com>
10385         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10386         (getGraphics): Return a new GdkGraphics instance.
10387         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10388         (getGraphics): Call super.getGraphics().
10390 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10392         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10393         (setNativeBounds): Clamp width and height values to >= 0.
10395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10396         (find_fg_color_widget): Handle GtkOptionMenu specially.
10398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10399         (pre_event_handler): Only post configure events to visible
10400         top-level windows.
10402 2004-05-26  David Jee  <djee@redhat.com>
10404         * java/awt/BorderLayout.java
10405         (layoutContainer): Fix size calculations.
10407 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10410         (window_wm_protocols_filter): Remove function.
10411         (create): Remove filter that removes WM_TAKE_FOCUS client
10412         messages.
10414 2004-06-17  Anthony Green  <green@redhat.com>
10416         * java/util/zip/ZipFile.java (getInputStream): Return null if
10417         entry not found.
10419         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10420         directory contents to the class path.
10422 2004-06-15  Andrew Haley  <aph@redhat.com>
10424         * java/lang/natSystem.cc (getenv0): Don't assume environment
10425         variable is Latin 1 coded.
10427 2004-06-14  Andreas Jaeger  <aj@suse.de>
10429         * configure.in: Support --enable-version-specific-runtime-libs.
10430         * configure: Regenerated.
10432 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
10434         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10435         to pass ClassLoader argument.
10436         * java/util/GregorianCalendar.java: Likewise.
10437         * java/util/Currency.java: Likewise.
10438         * java/text/BreakIterator.java: Likewise.
10439         * java/text/Collator.java: Likewise.
10440         * java/text/DateFormat.java: Likewise.
10441         * java/text/DateFormatSymbols.java: Likewise.
10442         * java/text/DecimalFormatSymbols.java: Likewise.
10443         * java/text/NumberFormat.java: Likewise.
10444         * java/awt/Window.java: Likewise.
10446 2004-06-14  Andrew Haley  <aph@redhat.com>
10448         * java/lang/System.java: (getenv0): New method.
10449         (getenv): Add security check.  Do the right thing.
10450         * java/lang/natSystem.cc (getenv0): New method.
10452 2004-06-12  Mark Wielaard  <mark@klomp.org>
10454         * javax/swing/RepaintManager.java
10455         (paintDirtyRegions): Use entrySet(), not values().
10457 2004-06-10  Mark Wielaard  <mark@klomp.org>
10459         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10460         NoSuchMethodError.
10462 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
10464         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
10465         when we already know the answer.
10466         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10467         (setStartRule,setEndRule): Don't take abs of day number.
10468         (getOffset): Clarify docs.  Add argument checks.
10469         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10470         (equals,hasSameRules,toString,readObject): Use startTimeMode and
10471         endTimeMode.
10473 2004-06-10  Tom Tromey  <tromey@redhat.com>
10475         * interpret.cc (run): Handle wide fload.
10477 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
10479         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10481 2004-06-05  Michael Koch  <konqueror@gmx.de>
10483         * javax/swing/SwingConstants.java
10484         (NEXT): New constant.
10485         (PREVIOUS): Likewise.
10487 2004-06-05  Michael Koch  <konqueror@gmx.de>
10489         * javax/swing/UIManager.java
10490         (LookAndFeel): Made public.
10491         (LookAndFeel.getName): Likewise.
10492         (LookAndFeel.getClassName): Likewise.
10494 2004-06-03  Michael Koch  <konqueror@gmx.de>
10496         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10497         (requestFocus): Revert last changes.
10498         (gtkRequestFocus): Removed.
10499         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10500         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10501         Renamed to ...
10502         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10503         Reverted last patch.
10504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10505         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10506         Reverted comment change.
10508 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10510         * javax/swing/JCheckBoxMenuItem.java:
10511         Removed CVS tags.
10512         * javax/swing/JMenu.java: Likewise.
10513         * javax/swing/JMenuBar.java: Likewise.
10514         * javax/swing/JMenuItem.java: Likewise.
10515         * javax/swing/JPopupMenu.java: Likewise.
10516         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10517         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10518         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10519         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10520         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10521         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10522         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10524 2004-06-01  Tom Tromey  <tromey@redhat.com>
10526         * java/io/ObjectStreamField.java: Cleaned up imports.
10528 2004-06-01  Michael Koch  <konqueror@gmx.de>
10530         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10532 2004-06-01  Mark Wielaard  <mark@klomp.org>
10534         * java/io/Writer.java (Writer(Object)): Fixed API doc.
10536 2004-06-01  Michael Koch  <konqueror@gmx.de>
10538         * java/security/Security.java
10539         (insertProviderAt): Use equals() instead of ==.
10540         (removeProvicer): Likewise.
10541         (getProvider): Likewise.
10542         * java/security/Signature.java
10543         (sign): Don't set state to UNINITIALIZED.
10544         (verify): Likewise.
10546 2004-06-01  Mark Wielaard  <mark@klomp.org>
10548         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10549         Implement by calling gtkRequestFocus.
10550         (gtkRequestFocus): New native method.
10551         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10552         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10553         Renamed to ...
10554         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10555         New function name.
10556         (filter_expose_event_handler):
10557         Mark static.
10558         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10559         (menu_pos): Mark static.
10561 2004-06-01  Michael Koch  <konqueror@gmx.de>
10563         * java/text/CollationElementIterator.java,
10564         java/text/CollationKey.java,
10565         java/text/RuleBasedCollator.java: New versions from GNU classpath.
10566         * testsuite/libjava.mauve/xfails: Removed all
10567         java.text.CollationElementIterator tests.
10569 2004-06-01  Michael Koch  <konqueror@gmx.de>
10571         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10572         version.
10573         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10574         Java 1.5 keyword usage.
10576 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10578         * javax/swing/plaf/basic/BasicMenuUI.java:
10579         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10580         Call getPath() from super class instead.
10582 2004-05-31  Michael Koch  <konqueror@gmx.de>
10584         * java/io/SequenceInputStream.java:
10585         Rename enum to e because enum is a keyword in Java 1.5.
10587 2004-05-31  Michael Koch  <konqueror@gmx.de>
10589         * gnu/java/rmi/rmic/CompilerProcess.java:
10590         Fixed javadoc to by XHTML compliant.
10592 2004-05-30  Mark Wielaard  <mark@klomp.org>
10594         * java/awt/Toolkit.java (loadSystemColors): Implement.
10596 2004-05-30  Michael Koch  <konqueror@gmx.de>
10598         * java/lang/System.java: Reordered imports.
10600 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
10602         * java/text/DecimalFormat.java
10603         (parse): Fixed parsing of decimal strings. Number of maximum
10604         digits to be read should now work.
10605         * java/text/SimpleDateFormat.java
10606         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10607         formatter. This fixes DateFormatTest.
10609 2004-05-30  Michael Koch  <konqueror@gmx.de>
10611         * java/nio/Buffer.java
10612         (limit): Fixed off by one error.
10613         * java/nio/CharBuffer.java
10614         (wrap): Fixed arguments, added javadocs.
10616 2004-05-30  Michael Koch  <konqueror@gmx.de>
10618         * gnu/java/beans/BeanInfoEmbryo.java,
10619         java/awt/im/InputContext.java,
10620         javax/swing/tree/DefaultMutableTreeNode.java:
10621         Rename enum to e because enum is a keyword in Java 1.5.
10623 2004-05-30  Michael Koch  <konqueror@gmx.de>
10625         * gnu/java/math/MPN.java,
10626         java/awt/geom/Arc2D.java:
10627         Fixed javadocs all over.
10629 2004-05-30  Michael Koch  <konqueror@gmx.de>
10631         * java/awt/DefaultKeyboardFocusManager.java
10632         (dispatchEvent): Call method to get key event dispatchers.
10633         (dispatchKeyEvent): Call method to get key event post processors.
10634         * javax/swing/JComponent.java
10635         (listenerList): Made protected.
10636         * javax/swing/JOptionPane.java
10637         (message): Don't initialize.
10638         (JOptionPane): Set message text.
10639         * javax/swing/JPopupMenu.java
10640         (show): Fixed typo in argument name.
10641         * javax/swing/RepaintManager.java
10642         (paintDirtyRegions): Use public API of java.util.Map.
10643         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10644         (positionForMouseEvent): Removed redundant ';'.
10645         (continueDrag): Use method arguments.
10647 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
10649         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10650         results.
10652 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
10654         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10655         _Jv_AllocBytes.
10656         * gnu/gcj/RawDataManaged.java: New file.
10657         * java/lang/Thread.java (data): Declare as RawDataManaged.
10658         * java/lang/natThread.cc (init_native): Cast natThread data to
10659         RawDataManaged, not jobject.
10660         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10661         * Makefile.in: Rebuilt.
10663 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
10665         * java/util/SimpleTimeZone.java: Reverting my last change until I
10666         can fix it properly.
10668 2004-05-27  Michael Koch  <konqueror@gmx.de>
10670         * javax/swing/JPopupMenu.java
10671         (isVisible): Do not use visible directly.
10672         (setVisible): Likewise.
10673         * javax/swing/JWindow.java
10674         (JWindow): call accessible constructor.
10675         * javax/swing/RepaintManager.java
10676         (paintDirtyRegions): Use public methods to obtain iterator.
10678 2004-05-25  David Jee  <djee@redhat.com>
10680         * java/awt/Container.java
10681         (remove): Set component's parent to null only after we removed the
10682         component from its parent's layout manager.
10684 2004-05-25  David Jee  <djee@redhat.com>
10686         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10687         (GtkComponentPeer): Set bounds regardless of whether awtComponent
10688         is valid.
10689         * gnu/java/awt/peer/gtk/GtkListPeer.java
10690         (getSize): Change native method declaration.
10691         (minimumSize): Pass visible row count into getSize().
10692         (preferredSize): Likewise.
10693         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10694         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10695         natural size. Use visible row count to determine the final height
10696         value to return.
10698 2004-05-21  Graydon Hoare  <graydon@redhat.com>
10700         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10701         (setClip): Minor correction to order of operations.
10703         * javax/swing/JScrollPane.java: Extend sketchy implementation.
10704         * javax/swing/ScrollPaneLayout.java: Likewise.
10705         * javax/swing/JViewPort.java: Likewise.
10706         * javax/swing/ViewportLayout.java: Likewise.
10708         * javax/swing/JComponent.java: Rewrite.
10709         * javax/swing/RepaintManager.java: Likewise.
10711         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10712         * javax/swing/JList.java
10713         (setSelectedIndices):
10714         (getSelectedIndices):
10715         (getSelectedValues): New functions.
10716         (getPreferredScrollableViewportSize): Return preferred size.
10717         (getScrollableUnitIncrement):
10718         (getScrollableBlockIncrement): Initial implementations.
10719         * javax/swing/JRootPane.java: Clean up slightly.
10720         (getUI):
10721         (setUI):
10722         (updateUI):
10723         (getUIClassID):
10724         (isValidateRoot): Add overrides from JComponent.
10725         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10726         * javax/swing/UIManager.java (getDimension): Return the dimension.
10728         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10729         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10730         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10731         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10732         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10733         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10734         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10735         * javax/swing/plaf/basic/BasicRootPaneUI.java:
10736         Likewise, and set background.
10737         * javax/swing/plaf/basic/BasicListUI.java:
10738         Likewise, and improve a bit.
10739         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10740         Likewise, and adjust calculations.
10741         * javax/swing/plaf/basic/BasicViewportUI.java:
10742         Likewise, and improve a bit.
10743         * javax/swing/plaf/basic/BasicLookAndFeel.java
10744         (Button.margin): Shrink.
10746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10747         Hack to set horizontal always, workaround pango.
10749         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10751         Synchronize more often, check cairo status after ops,
10752         handle changes to cairo pattern API, check for disposal.
10754 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
10756         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10757         (BasicMenuItemUI): Create propertyChangeListener.
10758         (getPath):Implemented.
10759         (installListeners): Add propertyChangeListener to menuItem.
10760         (uninstallListeners): Remove propertyChangeListener from menuItem.
10761         (update): Implemented.
10762         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10763         (mouseEntered): Take insets of popup menu into account when
10764         calculating position of popup menu.
10766 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10768         * Makefile.am: Added new file.
10769         * Makefile.in: Regenerate.
10770         * javax/swing/JMenuBar.java:
10771         Started implementation.
10772         * javax/swing/JPopupMenu.java:
10773         (setVisible): Fixed location of lightweight/mediumweight
10774         popup menu.
10775         (show): Fixed location of PopupMenu.
10776         * javax/swing/plaf/basic/BasicMenuBarUI.java:
10777         New file. UI Delegate for JMenuBar.
10778         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10779         (mouseEntered): Corrected position of the submenu.
10781 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
10783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
10784         to _gtk_accel_group_attach.
10785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
10786         Likewise.
10788         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
10789         package access.  Don't override setFont.
10790         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
10791         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
10792         gtkWidgetRequestFocus package access.
10793         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
10794         setFont.
10795         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
10796         Give gtkWidgetRequestFocus package access.
10797         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
10798         gtkWidgetRequestFocus package access.  Don't override setFont.
10799         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
10800         setFont.
10801         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10802         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
10803         region.
10804         (gtkSetFont): Likewise.
10805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
10806         Implement.
10807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10808         (gtkSetFont): Whitespace fix.
10810         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10811         (gtkWidgetSetUsize): Remove method.
10813 2004-05-18  David Jee  <djee@redhat.com>
10815         * java/awt/image/MemoryImageSource.java
10816         (newPixels(int,int,int,int,boolean)): Set only the specified
10817         rectangle of pixels.
10818         (newPixels(byte[],ColorModel,int,int)): Implement.
10819         (newPixels(int[],ColorModel,int,int)): Implement.
10821 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10823         * Makefile.am: Added new file.
10824         * Makefile.in: Regenerate.
10825         * javax/swing/JMenu.java: Started
10826         implementation.
10827         * javax/swing/JPopupMenu.java:
10828         (insert): If specified index is -1, then
10829         add component at the end.
10830         (isPopupTrigger): Reimplemented.
10831         (JPopupMenu.LightWeightPopup): setBounds
10832         of the lightWeightPopup before adding it
10833         to the layeredPane.
10834         (javax/swing/plaf/basic/BasicIconFactory.java):
10835         (getMenuArrowIcon): Implemented.
10836         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10837         (getPreferredSize): Add size of the arrow icon
10838         if this menu item is instance of JMenu.
10839         (paintMenuItem): Paint arrow icon if this
10840         menu item is a submenu.
10841         * javax/swing/plaf/basic/BasicMenuUI.java:
10842         New File. UI Delegate for JMenu.
10844 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
10846         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
10847         Post KEY_TYPED events.
10848         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10849         (generates_key_typed_event): Remove function.
10851 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
10853         * javax/swing/JRootPane.java
10854         (JRootPane.RootLayout): Reimplemented to
10855         set bounds of contentPane and menuBar.
10856         (setJMenuBar): Add menu bar to the layered pane.
10857         (createLayeredPane): Set layout of layeredPane
10858         to null.
10859         * javax/swing/JLayeredPane.java:
10860         (addImpl): Calculate index of the component in the
10861         layeredPane according to the specified position within
10862         the layer.
10864 2004-05-17  David Jee  <djee@redhat.com>
10866         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10867         (setPixels): Change color model to the default model after
10868         converting pixels.
10869         * java/awt/image/MemoryImageSource.java
10870         (newPixels): Set only the specified rectangle of pixels.
10872 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10874         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
10875         -l-java-beans -l-javax-accessibility -l-javax-swing.
10877         * java/awt/AWTEvent.java (toString): Print source's name rather
10878         than the source itself.
10880 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
10882         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
10883         native.
10884         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
10885         (gdk_color_to_java_color): New function.
10886         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
10888 2004-05-12  David Jee  <djee@redhat.com>
10890         * java/awt/image/RGBImageFilter.java:
10891         Initialize origmodel as null.
10892         (makeColor): Fix pixel component order.
10893         (filterRGBPixels): Fix pixel iteration.
10894         (setPixels): Add extra checks for index color model. Convert pixels
10895         to default color model if necessary.
10896         (convertColorModelToDefault): New override method for byte pixels.
10897         (convertColorModelToDefault): For int pixels, fix pixel iteration.
10898         (makeColorbyDefaultCM): New override method for byte pixels.
10899         (makeColorbyDefaultCM): For int pixel, add color model as argument.
10900         (makeColor): Fix pixel component order.
10902 2004-05-11  Kim Ho  <kho@redhat.com>
10904         * javax/swing/Box.java:
10905         Comment out more parts of Box.Filler.
10907 2004-05-11  Kim Ho  <kho@redhat.com>
10909         * javax/swing/Box.java:
10910         Remove reference to AccessibleAWTComponent so
10911         it compiles again.
10913 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
10915         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10916         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
10917         implementation of list peer to use GtkTreeView instead of
10918         deprecated GtkCList.
10920 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
10922         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10923         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
10924         (handleEvent): Remove keyChar argument to
10925         gtkWidgetDispatchKeyEvent calls.
10926         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
10927         compiler warnings.
10928         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
10929         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
10930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
10931         Likewise.
10933 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
10935         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10936         (gtkWidgetRequestFocus): Mark protected.
10937         (GtkComponentPeer): Only set the peer's bounds if its component
10938         is valid.
10939         * java/awt/Component.java (static): Set the default keyboard
10940         focus manager.
10941         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
10942         requestFocusInWindow(temporary)): Don't request focus if the
10943         component is not showing.  Get tree lock before traversing
10944         component hierarchy.
10945         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
10946         Only set the global focus owner if it is not a Window.
10947         (processKeyEvent): Consume keystrokes associated with the focus
10948         traversal keystroke.
10949         (focusPreviousComponent, focusNextComponent, upFocusCycle,
10950         downFocusCycle): Call requestFocusInWindow instead of
10951         requestFocus.
10952         * java/awt/EventDispatchThread.java (run): Move setting of
10953         default keyboard focus manager to Component.java.
10954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10955         (awt_keycode_to_keysym): New function.
10956         (gtkWidgetDispatchKeyEvent): Finish implementation.
10957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10958         (pre_event_handler): Add FIXME comment.
10960         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10961         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10962         (gtkWidgetRequestFocus): New method.
10963         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
10964         disable Tab and Shift-Tab keystrokes.
10965         (addNotify, appendText, insertText, replaceText): Simplify peer
10966         retrieval code.
10967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
10968         (connectSignals): Remove connections to "commit" signals.
10969         Remove C++-style comments.
10971         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10972         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10973         (handleEvent): Activate GTK button when the space bar key is
10974         pressed.
10975         (gtkActivate): New method.
10977 2004-05-06  David Jee  <djee@redhat.com>
10979         * java/awt/image/CropImageFilter.java
10980         (setPixels): Implement for byte array pixels.
10981         * java/awt/image/ReplicateScaleFilter.java
10982         (setPixels): Implement for byte array pixels.
10983         (replicatePixels): Overload for byte array pixels.
10985 2004-05-06  Kim Ho  <kho@redhat.com>
10987         * javax/swing/Box.java:
10988         (getAccessibleContext): Return an instance of the
10989         correct class.
10991 2004-05-05  David Jee  <djee@redhat.com>
10993         * gnu/java/awt/peer/gtk/GdkGraphics.java
10994         (drawImage): When component is null, use SystemColor.window as
10995         the default bgcolor.
10996         * gnu/java/awt/peer/gtk/GtkImage.java
10997         (setPixels): We can avoid iterating through the pixel rows only
10998         when height is 1.
10999         * java/awt/Image.java
11000         (getScaledInstance): Partially implement.
11001         * java/awt/image/CropImageFilter.java
11002         (setProperties): Fix "filter" property.
11003         (setPixels): Implement.
11004         * java/awt/image/ReplicateScaleFilter.java
11005         (setDimensions): Use scaled dimensions.
11006         (setPixels): Implement.
11007         (replicatePixels): New method.
11009 2004-05-05  David Jee  <djee@redhat.com>
11011         * gnu/java/awt/peer/gtk/GtkImagePainter.java
11012         (convertPixels): If either pixels or model is null, return null.
11013         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
11014         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
11015         is null, do nothing and return.
11017 2004-05-03  Kim Ho  <kho@redhat.com>
11019         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
11020         (getGraphics): Like GtkFramePeer, the Graphics
11021         object needs to be translate to account for
11022         window decorations.
11023         (postMouseEvent): New method. Account for
11024         translation.
11025         (postExposeEvent): ditto.
11026         * javax/swing/Box.java: Stubbed.
11027         * javax/swing/JDialog.java: Ran through jalopy
11028         to fix indentation.
11029         (JDialog): Call SwingUtilities' getOwnerFrame
11030         for null owners.
11031         (setLayout): Check isRootPaneCheckingEnabled
11032         * javax/swing/JOptionPane.java: Re-implemented.
11033         * javax/swing/SwingUtilities.java:
11034         (getOwnerFrame): Static method to grab a default
11035         owner frame for Dialogs that don't specify owners.
11036         * javax/swing/event/SwingPropertyChangeSupport.java:
11037         (firePropertyChange): Fix early exit condition.
11038         * javax/swing/plaf/basic/BasicLabelUI.java:
11039         (paint): Avoid painting text if it is null
11040         or empty.
11041         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11042         Implement.
11044 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
11046         * Makefile.am: Added new file.
11047         * Makefile.in: Regenerate.
11048         * javax/swing/JPopupMenu.java:
11049         Started implementation.
11050         * javax/swing/JWindow.java
11051         (JWindow): call super() if parent for window
11052         is not specified.
11053         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11054         New File. UI Delegate for JPopupMenu.
11056 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
11058         * javax/swing/JApplet.java: Indicated that JApplet
11059         implements RootPaneContainer and made method of this
11060         interface public.
11061         * javax/swing/JFrame.java: Ditto.
11062         * javax/swing/JWindow.java: Ditto.
11064 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
11066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11067         (nativeSetBounds): Call gdk_window_move in addition to
11068         gtk_window_move.
11070         * java/applet/Applet.java (preferredSize): Call parent's
11071         preferredSize if the applet stub is null.
11072         (minimumSize): Likewise for parent's minimumSize.
11074 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
11076         * javax/swing/JMenuItem.java
11077         (createActionPropertyChangeListener): Implemented.
11078         (processMouseEvent): Ditto.
11079         (fireMenuDragMouseEntered): Ditto.
11080         (fireMenuDragMouseExited): Ditto.
11081         (fireMenuDragMouseDragged): Ditto.
11082         (fireMenuDragMouseReleased): Ditto.
11083         (menuSelectionChanged): Ditto.
11084         (getSubElements): Ditto.
11085         (getComponent): Ditto.
11086         (addMenuDragMouseListener): Ditto.
11087         (removeMenuDragMouseListener):Ditto.
11088         (addMenuKeyListener): Ditto.
11089         (removeMenuKeyListener): Ditto.
11090         * javax/swing/plaf/basic/BasicMenuItemUI.java
11091         (doClick): Imlemented.
11092         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11093         Don't handle mouse events here. Pass them to
11094         MenuSelectionManager.
11096 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11097         Used correct version of jalopy configuration
11098         file to fix style in the files below.
11100 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11102         * javax/swing/JCheckBoxMenuItem.java:
11103         Fixed style and removed unnecessary comments.
11104         * javax/swing/JMenuItem.java: Ditto.
11105         * javax/swing/JRadioButtonMenuItem.java: Ditto.
11106         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11107         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11108         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11110 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
11112         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11113         C-style.
11115         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11117         * java/awt/ContainerOrderFocusTraversalPolicy.java
11118         (getComponentAfter): Start from current component and work up
11119         the component hierarchy until an acceptable component is found.
11120         Synchronize on tree lock.
11121         (getComponentBefore): Likewise.
11123 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11125         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11126         focus-related debugging messages.
11127         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11128         * java/awt/EventDispatchThread.java: Likewise.
11129         * java/awt/KeyboardFocusManager.java: Likewise.
11130         * java/awt/Window.java: Likewise.
11131         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11132         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11135         new C++-style comments to C-style comments.
11136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11138         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11139         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11140         (handleEvent): Dispatch key press and key release events to
11141         backing widget.
11142         (requestFocus): Post a FOCUS_GAINED event to the event queue.
11143         (gtkWidgetRequestFocus): New method.
11144         (gtkWidgetDispatchKeyEvent): Likewise.
11145         * java/awt/Component.java (requestFocus, requestFocus(boolean),
11146         requestFocusInWindow, requestFocusInWindow(boolean),
11147         getFocusCycleRootAncestor, nextFocus, transferFocus,
11148         transferFocusBackward, transferFocusUpCycle, hasFocus,
11149         isFocusOwner): Implement and document focus-handling methods.
11150         (setFocusTraversalKeys): Inherit focus traversal keys when
11151         keystrokes argument is null.  Fix focus-handling documentation
11152         throughout class.
11153         * java/awt/Container.java (setFocusTraversalKeys,
11154         getFocusTraversalKeys, areFocusTraversalKeysSet,
11155         isFocusCycleRoot, setFocusTraversalPolicy,
11156         getFocusTraversalPolicy, isFocusTraversalPolicySet,
11157         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11158         Implement and document focus-handling methods.
11159         (transferFocusBackward): Remove method.
11160         (readObject, writeObject): Implement and document serialization
11161         methods.
11162         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11163         and document.
11164         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11165         document.
11166         * java/awt/DefaultKeyboardFocusManager.java: Implement and
11167         partially document.
11168         * java/awt/EventDispatchThread.java (run): Set default keyboard
11169         focus manager.  Attempt to dispatch each event to the keyboard
11170         focus manager before normal dispatch.
11171         * java/awt/KeyboardFocusManager.java: Implement and partially
11172         document.
11173         * java/awt/Window.java (Window): Set focusCycleRoot to true.
11174         (show): Focus initial component when window is shown for the
11175         first time.
11176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11177         (pre_event_handler): Replace complex key press and key release
11178         logic with simple callbacks into GtkComponentPeer.
11179         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11181 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
11183         * javax/swing/MenuSelectionManager.java
11184         (componentForPoint): Added new method.
11185         (defaultManager): New Method. Implemented.
11186         (getSelectedPath): Ditto.
11187         (isComponentPartOfCurrentMenu): Ditto.
11188         (processKeyEvent): Added new method.
11189         (processMouseEvent): New Method. Implemented.
11190         (setSelectedPath): Ditto.
11191         (getPath): Ditto.
11193 2004-04-19  Kim Ho  <kho@redhat.com>
11195         * java/awt/Container.java:
11196         (remove): Set the component's parent to null.
11197         (getComponentAt): Implement.
11198         * javax/swing/JComponent.java:
11199         (JComponent): Initialize defaultLocale
11200         (getDefaultLocale): Implement.
11201         (setDefaultLocale): ditto.
11202         * javax/swing/JSlider.java:
11203         (JSlider): Fix calculation of value.
11204         * javax/swing/JSplitPane.java: Implement.
11205         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11206         Change SplitPane's default divider size.
11207         * javax/swing/plaf/basic/BasicScrollBarUI.java:
11208         (paint): Remove unused code.
11209         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11210         Added comments and ran through jalopy.
11211         (setBasicSplitPaneUI): Get reference to hidden divider
11212         and set up one touch buttons if necessary.
11213         (setBorder): Fire propertyChangeEvent only if
11214         borders are different.
11215         (getPreferredSize): Defer to layout manager.
11216         (propertyChange): Implement.
11217         (oneTouchExpandableChanged): ditto.
11218         (createLeftOneTouchButton): Use BasicArrowButton.
11219         (createRightOneTouchButton): ditto.
11220         (moveDividerTo): New method. Moves the divider
11221         to a set location based on the last divider location.
11222         (BasicSplitPaneDivider::MouseHandler): Implement.
11223         (BasicSplitPaneDivider::OneTouchButton): Removed.
11224         (BasicSplitPaneDivider::DragController): Implement.
11225         (BasicSplitPaneDivider::VerticalDragController):
11226         ditto.
11227         (BasicSplitPaneDivider::DividerLayout): ditto.
11228         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11229         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11230         (calculateLayoutInfo): Don't show component if it's
11231         null.
11232         (paintTab): Fix title paint logic.
11234 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
11236         PR libgcj/8321
11237         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11238         (setStartRule,setEndRule): Don't take abs of day number.
11239         (getOffset): Clarify docs.  Add argument checks.
11240         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11241         (equals,hasSameRules,toString,readObject): Use startTimeMode and
11242         endTimeMode.
11243         * testsuite/libjava.mauve/xfails
11244         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11246 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
11248         Layout interfaces during preparation, not initialization.
11249         * java/lang/natClass.cc (initializeClass): Move
11250         _Jv_LayoutInterfaceMethods call...
11251         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11253 2004-05-19  Anthony Green  <green@localhost.localdomain>
11255         * Makefile.am (awt_java_source_files): Remove javax.rmi and
11256         gnu.javax.rmi code.
11257         * Makefile.in: Rebuilt.
11258         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11259         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11260         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11261         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11262         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11263         gnu/javax/rmi/CORBA/DelegateFactory.java,
11264         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11265         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11266         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11267         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11268         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11269         gnu/javax/rmi/PortableServer.java: Remove files.
11271 2004-05-19  Anthony Green  <green@redhat.com>
11273         * Makefile.am: Define JAVA_EXT_DIRS.
11274         * Makefile.in: Rebuilt.
11275         * java/lang/natRuntime.cc (insertSystemProperties): Set
11276         java.ext.dirs property.
11278 2004-05-16  Mark Wielaard  <mark@klomp.org>
11280         * java/io/Writer.java (Writer(Object)): Check for null lock object.
11282 2004-05-15  Mark Wielaard  <mark@klomp.org>
11284         * doc/cni.sgml: Removed, merged into gcj.texi.
11286 2004-05-15  Mark Wielaard  <mark@klomp.org>
11288         * Makefile.am (ordinary_java_source_files): Add new javax.print
11289         classes.
11290         * Makefile.in: Regenerated.
11292 2004-05-15  Michael Koch  <konqueror@gmx.de>
11294         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11295         javax/print/attribute/standard/DateTimeAtCreation.java,
11296         javax/print/attribute/standard/DateTimeAtProcessing.java,
11297         javax/print/attribute/standard/DocumentName.java,
11298         javax/print/attribute/standard/JobHoldUntil.java,
11299         javax/print/attribute/standard/JobImpressionsCompleted.java,
11300         javax/print/attribute/standard/JobMessageFromOperator.java,
11301         javax/print/attribute/standard/JobName.java,
11302         javax/print/attribute/standard/JobOriginatingUserName.java,
11303         javax/print/attribute/standard/JobPriority.java,
11304         javax/print/attribute/standard/JobPrioritySupported.java,
11305         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11306         javax/print/attribute/standard/OutputDeviceAssigned.java,
11307         javax/print/attribute/standard/PrinterInfo.java,
11308         javax/print/attribute/standard/PrinterLocation.java,
11309         javax/print/attribute/standard/PrinterMakeAndModel.java,
11310         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11311         javax/print/attribute/standard/PrinterName.java,
11312         javax/print/attribute/standard/QueuedJobCount.java,
11313         javax/print/attribute/standard/RequestingUserName.java:
11314         Fixed javadocs all over.
11316 2004-05-15  Michael Koch  <konqueror@gmx.de>
11318         * javax/print/DocFlavor.java,
11319         javax/print/attribute/standard/ColorSupported.java,
11320         javax/print/attribute/standard/Compression.java,
11321         javax/print/attribute/standard/CopiesSupported.java,
11322         javax/print/attribute/standard/Fidelity.java,
11323         javax/print/attribute/standard/Finishings.java,
11324         javax/print/attribute/standard/JobImpressionsSupported.java,
11325         javax/print/attribute/standard/JobKOctetsSupported.java,
11326         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11327         javax/print/attribute/standard/JobSheets.java,
11328         javax/print/attribute/standard/JobState.java,
11329         javax/print/attribute/standard/JobStateReason.java,
11330         javax/print/attribute/standard/JobStateReasons.java,
11331         javax/print/attribute/standard/Media.java,
11332         javax/print/attribute/standard/MediaSizeName.java,
11333         javax/print/attribute/standard/MultipleDocumentHandling.java,
11334         javax/print/attribute/standard/NumberUpSupported.java,
11335         javax/print/attribute/standard/OrientationRequested.java,
11336         javax/print/attribute/standard/PDLOverrideSupported.java,
11337         javax/print/attribute/standard/PageRanges.java,
11338         javax/print/attribute/standard/PresentationDirection.java,
11339         javax/print/attribute/standard/PrintQuality.java,
11340         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11341         javax/print/attribute/standard/PrinterMoreInfo.java,
11342         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11343         javax/print/attribute/standard/PrinterResolution.java,
11344         javax/print/attribute/standard/PrinterState.java,
11345         javax/print/attribute/standard/PrinterStateReason.java,
11346         javax/print/attribute/standard/PrinterStateReasons.java,
11347         javax/print/attribute/standard/PrinterURI.java,
11348         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11349         javax/print/attribute/standard/Severity.java,
11350         javax/print/attribute/standard/SheetCollate.java,
11351         javax/print/attribute/standard/Sides.java:
11352         Added serialVersionUID and removed final keyword where it doenst
11353         belong.
11355 2004-05-15  Michael Koch  <konqueror@gmx.de>
11357         * javax/print/PrintServiceLookup.java: New file.
11359 2004-05-15  Michael Koch  <konqueror@gmx.de>
11361         * javax/print/DocFlavor.java:
11362         Implemented all flavor classes.
11364 2004-05-15  Michael Koch  <konqueror@gmx.de>
11366         * javax/print/attribute/standard/ColorSupported.java,
11367         javax/print/attribute/standard/Compression.java,
11368         javax/print/attribute/standard/CopiesSupported.java,
11369         javax/print/attribute/standard/Fidelity.java,
11370         javax/print/attribute/standard/Finishings.java,
11371         javax/print/attribute/standard/JobImpressionsSupported.java,
11372         javax/print/attribute/standard/JobKOctetsSupported.java,
11373         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11374         javax/print/attribute/standard/JobSheets.java,
11375         javax/print/attribute/standard/JobState.java,
11376         javax/print/attribute/standard/JobStateReason.java,
11377         javax/print/attribute/standard/JobStateReasons.java,
11378         javax/print/attribute/standard/Media.java,
11379         javax/print/attribute/standard/MediaSizeName.java,
11380         javax/print/attribute/standard/MultipleDocumentHandling.java,
11381         javax/print/attribute/standard/NumberUpSupported.java,
11382         javax/print/attribute/standard/OrientationRequested.java,
11383         javax/print/attribute/standard/PDLOverrideSupported.java,
11384         javax/print/attribute/standard/PageRanges.java,
11385         javax/print/attribute/standard/PresentationDirection.java,
11386         javax/print/attribute/standard/PrintQuality.java,
11387         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11388         javax/print/attribute/standard/PrinterMoreInfo.java,
11389         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11390         javax/print/attribute/standard/PrinterResolution.java,
11391         javax/print/attribute/standard/PrinterState.java,
11392         javax/print/attribute/standard/PrinterStateReason.java,
11393         javax/print/attribute/standard/PrinterStateReasons.java,
11394         javax/print/attribute/standard/PrinterURI.java,
11395         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11396         javax/print/attribute/standard/Severity.java,
11397         javax/print/attribute/standard/SheetCollate.java,
11398         javax/print/attribute/standard/Sides.java: New files.
11400 2004-05-15  Michael Koch  <konqueror@gmx.de>
11402         * javax/print/Doc.java
11403         (getPrintData): Throws IOException.
11404         (getReaderForText): Likewise.
11405         (getStreamForBytes): Likewise.
11406         * javax/print/DocFlavor.java:
11407         Fixed filename in copyright.
11408         (serialVersionUID): New field.
11409         * javax/print/ServiceUIFactory.java:
11410         Made all constants final.
11411         * javax/print/AttributeException.java
11412         javax/print/MultiDoc.java
11413         javax/print/MultiDocPrintJob.java
11414         javax/print/MultiDocPrintService.java
11415         javax/print/StreamPrintService.java
11416         javax/print/URIException.java: New files.
11417         * javax/print/Makefile.am
11418         (EXTRA_DIST): Added all new files.
11420 2004-05-15  Michael Koch  <konqueror@gmx.de>
11422         * javax/print/attribute/standard/Copies.java,
11423         javax/print/attribute/standard/DateTimeAtCompleted.java,
11424         javax/print/attribute/standard/DateTimeAtCreation.java,
11425         javax/print/attribute/standard/DateTimeAtProcessing.java,
11426         javax/print/attribute/standard/DocumentName.java,
11427         javax/print/attribute/standard/JobHoldUntil.java,
11428         javax/print/attribute/standard/JobImpressions.java,
11429         javax/print/attribute/standard/JobImpressionsCompleted.java,
11430         javax/print/attribute/standard/JobKOctets.java,
11431         javax/print/attribute/standard/JobKOctetsProcessed.java,
11432         javax/print/attribute/standard/JobMediaSheets.java,
11433         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11434         javax/print/attribute/standard/JobMessageFromOperator.java,
11435         javax/print/attribute/standard/JobName.java,
11436         javax/print/attribute/standard/JobOriginatingUserName.java,
11437         javax/print/attribute/standard/JobPriority.java,
11438         javax/print/attribute/standard/JobPrioritySupported.java,
11439         javax/print/attribute/standard/NumberOfDocuments.java,
11440         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11441         javax/print/attribute/standard/NumberUp.java,
11442         javax/print/attribute/standard/OutputDeviceAssigned.java,
11443         javax/print/attribute/standard/PagesPerMinute.java,
11444         javax/print/attribute/standard/PagesPerMinuteColor.java:
11445         Fixed @return tag all over.
11447 2004-05-15  Michael Koch  <konqueror@gmx.de>
11449         * javax/print/attribute/AttributeSetUtilities.java
11450         (verifyCategoryForValue): Fixed typo in javadoc.
11451         * javax/print/attribute/HashAttributeSet.java
11452         (containsKey): Fixed @return tag.
11453         (comtainsValue): Likewise.
11454         (equals): Likewise.
11455         * javax/print/attribute/IntegerSyntax.java
11456         (equals): Likewise.
11457         * javax/print/attribute/ResolutionSyntax.java
11458         (equals): Likewise.
11459         (getCrossFeedResolution): Removed unused code.
11460         (getFeedResolution): Likewise.
11461         * javax/print/attribute/SetOfIntegerSyntax.java
11462         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11463         (equals): Fixed @return tag.
11464         * javax/print/attribute/TextSyntax.java
11465         (TextSyntax): Take locale into account.
11466         (hashCode): Better implementation.
11468 2004-05-15  Michael Koch  <konqueror@gmx.de>
11470         * javax/print/CancelablePrintJob.java,
11471         javax/print/Doc.java,
11472         javax/print/DocFlavor.java,
11473         javax/print/DocPrintJob.java,
11474         javax/print/FlavorException.java,
11475         javax/print/PrintException.java,
11476         javax/print/PrintService.java,
11477         javax/print/ServiceUIFactory.java: New files.
11479 2004-05-15  Mark Wielaard  <mark@klomp.org>
11481         * gnu/regexp/CharIndexedReader.java: Removed.
11482         * gnu/regexp/REFilterReader.java: Likewise.
11483         * gnu/regexp/RETokenLookAhead.java: Likewise.
11484         * Makefile.am (ordinary_java_source_files): Remove above classes.
11485         * Makefile.in: Regenerated.
11487 2004-05-14  Tom Tromey  <tromey@redhat.com>
11489         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11490         not `XGraphicsConfiguration.XOffScreenImage'.
11492 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
11494         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11496 2004-05-14  Steven Augart  <augart@watson.ibm.com>
11498         * include/jni.h (_Jv_func): Removed.
11499         (struct JNINativeInterface): Use `void *' for reserved slots.
11500         (struct JNIInvokeInterface): Likewise.
11502 2004-05-11  Michael Koch  <konqueror@gmx.de>
11504         * gnu/java/net/natPlainSocketImplPosix.cc
11505         (read): Fixed typo in expression.
11507 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
11509         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11510         ld_library_additions. Adjust all calls to libjava_invoke to match
11511         the new argument.
11513         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11514         path to cxxflagslist.
11515         Pass path of libstdc++ to libjava_invoke.
11517         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11518         libjava_invoke arguments.
11520 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
11522         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11523         reality.
11525 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
11527         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11528         main binary against the JNI shared library.
11530 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11532         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11533         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11534         (SimpleTimeZone): Tweak docs.  Add new variation.
11535         (setStartRule,setEndRule): Add new variations.  Use
11536         startTimeMode and endTimeMode.
11538 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11540         * java/util/Calendar.java (getActualMinimum,
11541         getActualMaximum):  Remove abstract.  Implement.
11543 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11545         Run the jni tests using the interpreter.
11546         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11547         options_cxx to shared lib compile command.
11548         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11549         they are used to link the shared lib, not the main binary.
11550         Use libjava_invoke to run gij.
11552 2004-05-06  Michael Koch  <konqueror@gmx.de>
11554         * java/util/logging/Level.java
11555         (parse): Use == instead of String.equals().
11557 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11559         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
11560         verify_field_signature and verify_method_signature, not
11561         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11562         (_Jv_ClassReader::handleField): Likewise.
11563         (_Jv_ClassReader::handleMethod): Likewise.
11565 2004-05-06  Michael Koch  <konqueror@gmx.de>
11567         * javax/swing/table/TableColumn.java:
11568         Reformated.
11570 2004-05-06  Michael Koch  <konqueror@gmx.de>
11572         * javax/imageio/spi/ImageReaderWriterSpi.java
11573         (ImageReaderWriterSpi): Made it public.
11574         * javax/imageio/stream/ImageInputStream.java:
11575         Clean up imports.
11577 2004-05-06  Michael Koch  <konqueror@gmx.de>
11579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11580         Removed empty line.
11582 2004-05-06  Michael Koch  <konqueror@gmx.de>
11584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11585         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11586         New files.
11587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11588         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11590         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11591         their own source file.
11592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11593         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11594         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11596         (create): Define variable on top of function.
11597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11598         (menu_pos): Prototyped.
11599         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11600         (setTitle): Removed.
11601         * jni/gtk-peer/gthread-jni.c
11602         (gdk_threads_wake): Removed.
11603         * Makefile.am (gtk_c_source_files): Added new files
11604         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11605         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11606         * Makefile.in: Regenerated.
11608 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
11610         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11611         call.
11613 2004-05-05  Mark Wielaard  <mark@klomp.org>
11615         * javax/swing/AbstractButton.java: Replace special HTML entities with
11616         ASCII equivalent.
11617         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11618         * javax/swing/DefaultButtonModel.java: Likewise.
11619         * javax/swing/DefaultListModel.java: Likewise.
11620         * javax/swing/JList.java: Likewise.
11621         * javax/swing/JSlider.java: Likewise.
11622         * javax/swing/ListModel.java: Likewise.
11623         * javax/swing/Popup.java: Likewise.
11624         * javax/swing/SwingUtilities.java: Likewise.
11626 2004-05-05  Michael Koch  <konqueror@gmx.de>
11628         * javax/swing/AbstractButton.java,
11629         javax/swing/ActionMap.java,
11630         javax/swing/DefaultButtonModel.java,
11631         javax/swing/DefaultListModel.java,
11632         javax/swing/ImageIcon.java,
11633         javax/swing/JComboBox.java,
11634         javax/swing/JComponent.java,
11635         javax/swing/JFrame.java,
11636         javax/swing/JInternalFrame.java,
11637         javax/swing/JMenuBar.java,
11638         javax/swing/JMenuItem.java,
11639         javax/swing/JOptionPane.java,
11640         javax/swing/JProgressBar.java,
11641         javax/swing/JRootPane.java,
11642         javax/swing/JScrollBar.java,
11643         javax/swing/JScrollPane.java,
11644         javax/swing/JSeparator.java,
11645         javax/swing/JSlider.java,
11646         javax/swing/JTabbedPane.java,
11647         javax/swing/JTable.java,
11648         javax/swing/JTextField.java,
11649         javax/swing/JToolBar.java,
11650         javax/swing/JToolTip.java,
11651         javax/swing/JTree.java,
11652         javax/swing/JViewport.java,
11653         javax/swing/JWindow.java,
11654         javax/swing/KeyStroke.java,
11655         javax/swing/LookAndFeel.java,
11656         javax/swing/SwingUtilities.java,
11657         javax/swing/Timer.java,
11658         javax/swing/ToolTipManager.java,
11659         javax/swing/UIDefaults.java,
11660         javax/swing/border/TitledBorder.java,
11661         javax/swing/filechooser/FileSystemView.java,
11662         javax/swing/plaf/basic/BasicButtonListener.java,
11663         javax/swing/plaf/basic/BasicButtonUI.java,
11664         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11665         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11666         javax/swing/plaf/basic/BasicLabelUI.java,
11667         javax/swing/plaf/basic/BasicMenuItemUI.java,
11668         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11669         javax/swing/plaf/basic/BasicRootPaneUI.java,
11670         javax/swing/plaf/basic/BasicScrollBarUI.java,
11671         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11672         javax/swing/plaf/basic/BasicSliderUI.java,
11673         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11674         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11675         javax/swing/table/JTableHeader.java,
11676         javax/swing/text/AbstractDocument.java,
11677         javax/swing/text/DefaultCaret.java,
11678         javax/swing/text/StyledEditorKit.java,
11679         javax/swing/tree/DefaultTreeCellEditor.java:
11680         Cleaned up imports.
11682 2004-05-05  Michael Koch  <konqueror@gmx.de>
11684         * java/util/prefs/AbstractPreferences.java
11685         (AbstractPreferences): Added parenthesis for clarity.
11686         Closes classpath bug #7940.
11688 2004-05-05  Tom Tromey  <tromey@redhat.com>
11690         * javax/naming/CompoundName.java (endsWith): Look at correct
11691         element of source name.
11693 2004-05-05  Mark Wielaard  <mark@klomp.org>
11695         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11696         * java/util/HashMap.java (rehash): Add entry at start of bucket.
11698 2004-05-05  Tom Tromey  <tromey@redhat.com>
11700         * java/io/BufferedReader.java (skip): Removed unused
11701         variable.
11703 2004-05-05  Michael Koch  <konqueror@gmx.de>
11705         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11707 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
11709         * java/text/AttributedString.java,
11710         java/text/AttributedStringIterator.java,
11711         java/text/Collator.java,
11712         java/text/DecimalFormatSymbols.java,
11713         java/text/NumberFormat.java,
11714         java/text/RuleBasedCollator.java:
11715         Cleaned up imports.
11717 2004-05-05  Tom Tromey  <tromey@redhat.com>
11719         * java/text/Format.java: Cleaned up imports.
11720         * java/text/DecimalFormat.java: Cleaned up imports.
11721         * java/security/SecureRandom.java: Cleaned up imports.
11722         (SecureRandom): Removed unused variable.
11723         * java/security/UnresolvedPermission.java: Cleaned up imports.
11724         * java/util/Date.java (parse): Removed unused variable.
11725         * java/util/ResourceBundle.java: Cleaned up imports.
11726         (getBundle): Removed unused variable.
11727         (tryBundle): Likewise.
11728         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11730 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11732         * java/text/SimpleDateFormat.java:
11733         (formatWithAttribute): New method. It implements
11734         the formatting process with attributes.
11735         (format): Use formatWithAttribute.
11736         (formatToCharacterIterator): New method. Use
11737         formatWithAttribute.
11739 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11741         * java/text/MessageFormat.java:
11742         (class Field): New class.
11743         (formatToCharacterIterator): New method.
11744         (format): Use formatInternal now.
11745         (formatInternal): New method. String formatter should
11746         be done here (with attributes). Attributes merging supported.
11747         (parse): More documentation.
11748         (getFormatsByArgumentIndex): New method.
11749         (setFormatByArgumentIndex): New method.
11750         (setFormatsByArgumentIndex): New method.
11752 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11754         * java/text/DecimalFormat.java
11755         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11756         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11757         (parse): Fixed handling of exponentiation notation and grouping.
11759 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11761         * java/text/DecimalFormat.java
11762         (scanFix): Build attribute array. Fixed error reporting.
11763         (applyPatternWithSymbols): Store attributes for the prefix and
11764         suffix.
11765         (formatInternal): New method. Changed the way the string is
11766         computed. Implemented attributes. Cleant up rounding in
11767         exponential notation.
11768         (format): Use formatInternal.
11769         (formatToCharacterIterator): New method.
11770         (exponentRound, negativePrefixRanges, positivePrefixRanges,
11771         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
11772         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
11773         New fields.
11775 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
11777         * java/security/interfaces/DSAKeyPairGenerator.java,
11778         java/security/interfaces/DSAPrivateKey.java,
11779         java/security/interfaces/DSAPublicKey.java,
11780         java/security/interfaces/RSAPrivateKey.java,
11781         java/security/interfaces/RSAPublicKey.java:
11782         Cleaned up imports.
11784 2004-05-04  Michael Koch  <konqueror@gmx.de>
11786         * java/nio/ByteBuffer.java,
11787         java/nio/CharBuffer.java,
11788         java/nio/DoubleBuffer.java,
11789         java/nio/FloatBuffer.java,
11790         java/nio/IntBuffer.java,
11791         java/nio/LongBuffer.java,
11792         java/nio/ShortBuffer.java:
11793         (compareTo): Fixed bogus implementation in all buffer classes.
11795 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11797         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
11798         32 bit pixels not 8 bit pixels.
11799         (isCompatibleRaster): Added javadoc comment.
11801 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11803         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
11804         scanline stride.
11806 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11808         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
11809         (getColorModel): Return the actual color model.
11810         (getRaster): Implemented.
11811         (ColorRaster): New inner class.
11812         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
11813         a PaintContext.
11814         * java/awt/Color.java (<init>): Make exception more verbose.
11815         (createContext): Use ColorModel when creating a PaintContext.
11817 2004-05-04  Michael Koch  <konqueror@gmx.de>
11819         * gnu/java/text/CharacterBreakIterator.java
11820         (previous): Removed unused variable.
11822 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
11824         * gnu/java/text/FormatBuffer.java,
11825         gnu/java/text/AttributedFormatBuffer.java,
11826         gnu/java/text/StringFormatBuffer.java: New classes to implement
11827         attributed iterators in java.text.
11828         * gnu/java/text/FormatCharacterIterator.java: Moved
11829         from java/text as it is an internal class.
11830         * java/text/FormatCharacterIterator.java: Removed.
11831         * java/text/Format.java:
11832         Import gnu.java.text.FormatCharacterIterator.
11833         * Makefile.am (java_source_files): Added new files.
11834         * Makefile.in: Regenerated.
11837 2004-05-04  Mark Wielaard  <mark@klomp.org>
11839         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
11841 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
11843         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
11844         * Makefile.in: Rebuilt.
11846 2004-05-03  Mark Wielaard  <mark@klomp.org>
11848         * gnu/java/security/der/DERReader.java: Call static methods staticly.
11849         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
11850         * java/net/URL.java
11851         (set(String, String, int, String, String, String, String, String)):
11852         Assign this.file to path or path + "?" + query.
11853         * java/util/Arrays.java: Call static methods staticly.
11854         * java/util/zip/ZipEntry.java: Likewise.
11855         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
11856         dir to this.direction.
11857         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
11858         Assign static field only once.
11859         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
11861 2004-05-03  Mark Wielaard  <mark@klomp.org>
11863         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
11864         unused variables hScrollbarHeight and vScrollbarWidth.
11865         (preferredSize): Likewise.
11866         * gnu/java/security/provider/DSAParameters.java (engineToString):
11867         Removed unused call to System.getProperty("line.seperator");
11868         * java/security/Security.java (loadProviders): Return result.
11870 2004-05-03  Tom Tromey  <tromey@redhat.com>
11872         * java/net/URLStreamHandler.java (toExternalForm): Removed
11873         unused variables.
11874         unused constructor.
11875         * java/math/BigDecimal.java (divide): Removed unused variable.
11876         * java/lang/Throwable.java: Cleaned up imports.
11877         * java/lang/ClassLoader.java: Cleaned up imports.
11878         * java/io/FilePermission.java (implies): Removed unused
11879         variable.
11880         * java/awt/TextComponent.java: Removed unused import.
11881         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
11882         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
11883         * gnu/java/text/WordBreakIterator.java: Removed unused import.
11884         * gnu/java/text/SentenceBreakIterator.java: Removed unused
11885         import.
11886         * gnu/java/text/LineBreakIterator.java: Removed unused import.
11887         * gnu/java/text/CharacterBreakIterator.java: Removed
11888         unused import.
11889         * gnu/java/security/provider/DSAKeyPairGenerator.java:
11890         Cleaned up imports.
11891         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
11892         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
11893         unused method.
11894         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
11895         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
11896         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
11897         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
11898         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
11899         (lookupProviders): Removed unused variable.
11900         (loadNextServiceProvider): Likewise.
11901         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
11903 2004-05-03  Michael Koch  <konqueror@gmx.de>
11905         Fixes PR libgcj/14695:
11906         * java/net/NetworkInterface.java
11907         (getByName): Return null when no interface was found.
11909 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
11910             Tom Tromey  <tromey@redhat.com>
11912         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
11913         additional option "-Wmissing-prototypes" for compiling C sources.
11914         Print actual filename for pass/fail rather than $name.c.
11915         * testsuite/libjava.jni/PR15133.java: New testcase file.
11916         * testsuite/libjava.jni/PR15133.c: Likewise.
11917         * testsuite/libjava.jni/PR15133.out: Likewise.
11919 2004-04-30  Roger Sayle  <roger@eyesopen.com>
11921         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
11922         ceil and floor.
11924 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
11926         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
11927         limit the maximum heap size to avoid unnecessary thrashing.
11929 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
11931         * java/text/CollationElementIterator.java (reset): Reset
11932         lookahead variables.
11934 2004-04-23  Mark Wielaard  <mark@klomp.org>
11936         * jni/classpath/jcl.c: Changed C++ comments into C comments.
11938 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11940         * java/sql/DriverManager.java:
11941         Cleaned up imports.
11943 2004-04-23  Michael Koch  <konqueror@gmx.de>
11945         * java/net/URL.java
11946         (hashcode): Don't initialize with default value explicitely.
11947         (getContent): Removed redundant "final" keyword.
11948         (openStream): Likewise.
11949         (getURLStreamHandler): Fixed coding style.
11950         * java/net/URLConnection.java
11951         (defaultAllowUserInteraction): Don't initialize with default value
11952         explicitely.
11953         (connected): Likewise.
11954         (doOutput): Likewise.
11955         (ifModifiedSince): Likewise.
11956         (dateformats_initialized): Likewise.
11957         (setURLStreamHander): Use StreamTokenizer where it belongs to.
11959 2004-04-23  Michael Koch  <konqueror@gmx.de>
11961         * gnu/java/nio/channels/FileChannelImpl.java
11962         (SET, CUR): Unused, removed.
11963         (read): Implement here directly.
11964         (implRead): Removed.
11965         (write): Implement here directly.
11966         (implWrite): Removed.
11968 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
11970         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
11971         javax/rmi/CORBA/Stub.java,
11972         javax/rmi/CORBA/Util.java,
11973         javax/rmi/CORBA/ValueHandler.java,
11974         javax/rmi/CORBA/ValueHandler.java,
11975         javax/rmi/PortableRemoteObject.java:
11976         Cleaned up imports.
11978 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11980         * java/util/jar/JarFile.java,
11981         java/util/jar/JarInputStream.java,
11982         java/util/jar/JarOutputStream.java,
11983         java/util/jar/Manifest.java:
11984         Cleaned up imports.
11986 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11988         * java/util/ArrayList.java,
11989         java/util/Calendar.java,
11990         java/util/Currency.java,
11991         java/util/HashMap.java,
11992         java/util/HashSet.java,
11993         java/util/Hashtable.java,
11994         java/util/LinkedList.java,
11995         java/util/Properties.java,
11996         java/util/PropertyPermission.java,
11997         java/util/TimeZone.java,
11998         java/util/TreeMap.java,
11999         java/util/TreeSet.java,
12000         java/util/Vector.java,
12001         java/util/WeakHashMap.java:
12002         Cleaned up imports.
12004 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
12006         * java/util/logging/FileHandler.java,
12007         java/util/logging/Formatter.java,
12008         java/util/logging/Handler.java,
12009         java/util/logging/Logger.java,
12010         java/util/logging/SimpleFormatter.java,
12011         java/util/logging/XMLFormatter.java:
12012         Cleaned up imports.
12014 2004-04-22  Mark Wielaard  <mark@klomp.org>
12016         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
12017         -Wno-long-long flags variable.
12018         (gtk_c_files): Use PEDANTIC_CFLAGS.
12019         * Makefile.in: Regenerated.
12021 2004-04-22  Mark Wielaard  <mark@klomp.org>
12023         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12024         Changed C++ comments into C comments.
12025         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12026         Likewise.
12028 2004-04-22  Michael Koch  <konqueror@gmx.de>
12030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12031         Merged copyright year with GNU classpath.
12033 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12035         * javax/security/auth/x500/X500Principal.java:
12036         Cleaned up imports.
12038 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12040         * javax/swing/JSlider.java:
12041         Fixed HTML tags in comments.
12043 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12045         * javax/accessibility/AccessibleText.java:
12046         Cleaned up imports.
12048 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
12050         * java/net/URLStreamHandler.java
12051         (parseURL): Convert the file path to using '/' instead of native
12052         file separator.
12054 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
12056         * java/net/URL.java
12057         (userInfo): New field.
12058         (URL): Set authority to the right value.
12059         (setURL): Fixed authority and file initialization.
12060         * java/net/URLStreamHandler.java
12061         (parseURL): Take care of the query tag. Build authority.
12062         (toExternalForm): Fixed URL building using authority.
12064 2004-04-22  Michael Koch  <konqueror@gmx.de>
12066         * java/net/Socket.java
12067         (impl): Made package-private.
12068         * java/net/ServerSocket.java
12069         (implAccept): Access Socket.impl field directly.
12071 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12073         * java/util/prefs/Preferences.java,
12074         java/util/prefs/InvalidPreferencesFormatException.java,
12075         java/util/prefs/BackingStoreException.java,
12076         java/util/prefs/AbstractPreferences.java:
12077         Cleaned up imports.
12079 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12081         * java/util/regex/Matcher.java,
12082         java/util/regex/Pattern.java:
12083         Cleaned up imports.
12085 2004-04-22  Michael Koch  <konqueror@gmx.de>
12087         * java/nio/charset/IllegalCharsetNameException.java
12088         (charsetName): Made private.
12089         (IllegalCharsetNameException): Added @param tag to javadoc.
12090         (getCharsetName): Added @return tag to javadoc.
12091         * java/nio/charset/MalformedInputException.java
12092         (MalformedInputException): Added @param tag to javadoc.
12093         (getInputLength): Revised method description, added @return tag.
12094         (getMessage): Added @return tag.
12096 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
12098         * java/awt/Font.java (deriveFont): Implement missing variants.
12099         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12100         missing variants.
12102 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
12104         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12105         Set method->index values for interface methods to their itable index.
12106         (initializeClass): Call _Jv_LayoutInterfaceMethods.
12108 2004-04-21  Michael Koch  <konqueror@gmx.de>
12110         * java/nio/DirectByteBufferImpl.java
12111         (shiftDown): Made static, give address as argument and
12112         provide a convenience method that overwrites shiftDown in
12113         ByteBufferImpl and calls the native shiftDown.
12114         * java/nio/MappedByteBufferImpl.java
12115         (): Use optimized method in DirectByteBufferImpl.
12116         * java/nio/natDirectByteBufferImpl.cc
12117         (shiftDown): Changed method signature. Removed usage of array_offset.
12119 2004-04-21  Michael Koch  <konqueror@gmx.de>
12121         * gnu/java/net/natPlainSocketImplPosix.cc
12122         (SocketInputStream::read): Make sure returned data is a byte value.
12124 2004-04-21  Michael Koch  <konqueror@gmx.de>
12126         * gnu/classpath/ServiceFactory.java,
12127         gnu/classpath/ServiceProviderLoadingAction.java,
12128         javax/imageio/ImageReader.java,
12129         javax/imageio/ImageTranscoder.java,
12130         javax/imageio/ImageWriter.java,
12131         javax/imageio/package.html,
12132         javax/imageio/spi/IIOServiceProvider.java,
12133         javax/imageio/spi/ImageInputStreamSpi.java,
12134         javax/imageio/spi/ImageOutputStreamSpi.java,
12135         javax/imageio/spi/ImageReaderWriterSpi.java,
12136         javax/imageio/spi/ImageTranscoderSpi.java,
12137         javax/imageio/spi/RegisterableService.java,
12138         javax/imageio/spi/ServiceRegistry.java,
12139         javax/imageio/spi/package.html,
12140         javax/imageio/stream/IIOByteBuffer.java,
12141         javax/imageio/stream/ImageInputStream.java,
12142         javax/imageio/stream/ImageOutputStream.java,
12143         javax/imageio/stream/package.html:
12144         New files.
12145         * Makefile.am
12146         (ordinary_java_source_files): Added
12147         gnu/classpath/ServiceFactory.java and
12148         gnu/classpath/ServiceProviderLoadingAction.java.
12149         (javax_source_files): Added
12150         javax/imageio/ImageReader.java,
12151         javax/imageio/ImageTranscoder.java,
12152         javax/imageio/ImageWriter.java,
12153         javax/imageio/spi/IIOServiceProvider.java,
12154         javax/imageio/spi/ImageInputStreamSpi.java,
12155         javax/imageio/spi/ImageOutputStreamSpi.java,
12156         javax/imageio/spi/ImageReaderWriterSpi.java,
12157         javax/imageio/spi/ImageTranscoderSpi.java,
12158         javax/imageio/spi/RegisterableService.java,
12159         javax/imageio/spi/ServiceRegistry.java,
12160         javax/imageio/stream/IIOByteBuffer.java,
12161         javax/imageio/stream/ImageInputStream.java and
12162         javax/imageio/stream/ImageOutputStream.java.
12163         * Makefile.in: Regenerated.
12165 2004-04-21  Michael Koch  <konqueror@gmx.de>
12167         * java/util/Properties.java
12168         (load): Fix wrongly merged fix.
12170 2004-04-21  Mark Wielaard  <mark@klomp.org>
12172         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12173         malloc and free buf.
12175 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
12177         * javax/naming/AuthenticationException.java,
12178         javax/naming/AuthenticationNotSupportedException.java,
12179         javax/naming/CannotProceedException.java,
12180         javax/naming/CommunicationException.java,
12181         javax/naming/CompoundName.java,
12182         javax/naming/ConfigurationException.java,
12183         javax/naming/ContextNotEmptyException.java,
12184         javax/naming/InitialContext.java,
12185         javax/naming/InsufficientResourcesException.java,
12186         javax/naming/InterruptedNamingException.java,
12187         javax/naming/LimitExceededException.java,
12188         javax/naming/LinkException.java,
12189         javax/naming/LinkLoopException.java,
12190         javax/naming/LinkRef.java,
12191         javax/naming/MalformedLinkException.java,
12192         javax/naming/Name.java,
12193         javax/naming/NameAlreadyBoundException.java,
12194         javax/naming/NameNotFoundException.java,
12195         javax/naming/NamingSecurityException.java,
12196         javax/naming/NoInitialContextException.java,
12197         javax/naming/NoPermissionException.java,
12198         javax/naming/NotContextException.java,
12199         javax/naming/PartialResultException.java,
12200         javax/naming/ReferralException.java,
12201         javax/naming/ServiceUnavailableException.java,
12202         javax/naming/SizeLimitExceededException.java,
12203         javax/naming/TimeLimitExceededException.java,
12204         javax/naming/directory/Attribute.java,
12205         javax/naming/directory/Attributes.java,
12206         javax/naming/directory/SearchResult.java,
12207         javax/naming/event/NamingExceptionEvent.java,
12208         javax/naming/spi/ResolveResult.java:
12209         Cleaned up imports.
12211 2004-04-21  Mark Wielaard  <mark@klomp.org>
12213         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12214         Changed C++ comments into C comments. Removed commented out code.
12215         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12216         Likewise.
12217         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12218         Likewise.
12219         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12220         Likewise.
12221         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12222         Likewise.
12223         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12224         Likewise.
12225         * native/jni/gtk-peer/gthread-jni.c:
12226         Likewise.
12228 2004-04-21  Mark Wielaard  <mark@klomp.org>
12230         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12231         static fields defined in interface.
12232         * javax/awt/JDialog.java: Likewise.
12233         (JDialog): Make constructors public.
12234         (getDefaultCloseOperation): Make public.
12235         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12236         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12237         * javax/swing/JViewport.java (JViewport): Make constructor public.
12239 2004-04-21  Michael Koch  <konqueror@gmx.de>
12241         * java/util/Map.java
12242         (Entry): Removed redundant "static" modifier.
12243         * java/text/AttributedCharacterIterator.java:
12244         Updated copyright year.
12246 2004-04-20  Michael Koch  <konqueror@gmx.de>
12248         * javax/naming/directory/SearchControls.java:
12249         Don't explicitely extend java.lang.Object.
12250         * javax/naming/spi/DirStateFactory.java:
12251         Merged copyright year with GNU classpath.
12253 2004-04-20  Michael Koch  <konqueror@gmx.de>
12255         * java/nio/channels/Channels.java:
12256         Merged coding style with GNU classpath.
12258 2004-04-20  Michael Koch  <konqueror@gmx.de>
12260         * java/net/ServerSocket.java
12261         Merged coding style from GNU classpath.
12263 2004-04-20  Michael Koch  <konqueror@gmx.de>
12265         * java/io/BufferedWriter.java:
12266         Reordered variables to be at top of the class.
12267         (localFlush): Removed redundant final keyword.
12269 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12271         * java/awt/event/MouseEvent.java (<init>): fixed field assignment
12273 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12275         * java/text/DecimalFormat.java (scanFix): Removed suffix check
12276         for percent and permill check.
12278 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12280         * java/text/FieldPosition.java
12281         (FieldPosition) Constructor now behaves as it should according
12282         to the java documentation.
12284 2004-04-20  Mark Wielaard  <mark@klomp.org>
12286         * java/util/Properties.java: Use the word umlaut, not &auml; in api
12287         documentation.
12289 2004-04-20  Michael Koch  <konqueror@gmx.de>
12291         * java/nio/Buffer.java,
12292         java/nio/channels/AlreadyConnectedException.java,
12293         java/nio/channels/AsynchronousCloseException.java,
12294         java/nio/channels/ByteChannel.java,
12295         java/nio/channels/CancelledKeyException.java,
12296         java/nio/channels/Channel.java,
12297         java/nio/channels/Channels.java,
12298         java/nio/channels/ClosedByInterruptException.java,
12299         java/nio/channels/ClosedChannelException.java,
12300         java/nio/channels/ClosedSelectorException.java,
12301         java/nio/channels/ConnectionPendingException.java,
12302         java/nio/channels/DatagramChannel.java,
12303         java/nio/channels/FileChannel.java,
12304         java/nio/channels/FileLock.java,
12305         java/nio/channels/FileLockInterruptionException.java,
12306         java/nio/channels/GatheringByteChannel.java,
12307         java/nio/channels/IllegalBlockingModeException.java,
12308         java/nio/channels/IllegalSelectorException.java,
12309         java/nio/channels/InterruptibleChannel.java,
12310         java/nio/channels/NoConnectionPendingException.java,
12311         java/nio/channels/NonReadableChannelException.java,
12312         java/nio/channels/NonWritableChannelException.java,
12313         java/nio/channels/NotYetBoundException.java,
12314         java/nio/channels/NotYetConnectedException.java,
12315         java/nio/channels/OverlappingFileLockException.java,
12316         java/nio/channels/Pipe.java,
12317         java/nio/channels/ReadableByteChannel.java,
12318         java/nio/channels/ScatteringByteChannel.java,
12319         java/nio/channels/SelectableChannel.java,
12320         java/nio/channels/SelectionKey.java,
12321         java/nio/channels/Selector.java,
12322         java/nio/channels/ServerSocketChannel.java,
12323         java/nio/channels/SocketChannel.java,
12324         java/nio/channels/UnresolvedAddressException.java,
12325         java/nio/channels/UnsupportedAddressTypeException.java,
12326         java/nio/channels/WritableByteChannel.java,
12327         java/nio/channels/spi/AbstractInterruptibleChannel.java,
12328         java/nio/channels/spi/AbstractSelectableChannel.java,
12329         java/nio/channels/spi/AbstractSelectionKey.java,
12330         java/nio/channels/spi/AbstractSelector.java,
12331         java/nio/channels/spi/SelectorProvider.java,
12332         java/nio/charset/spi/CharsetProvider.java:
12333         Fixed javadocs and jalopied all over java.nio.
12335 2004-04-20  Michael Koch  <konqueror@gmx.de>
12337         * java/nio/ByteBufferImpl.java,
12338         java/nio/CharBufferImpl.java,
12339         java/nio/DirectByteBufferImpl.java,
12340         java/nio/DoubleBufferImpl.java,
12341         java/nio/DoubleViewBufferImpl.java,
12342         java/nio/FloatBufferImpl.java,
12343         java/nio/FloatViewBufferImpl.java,
12344         java/nio/IntBufferImpl.java,
12345         java/nio/IntViewBufferImpl.java,
12346         java/nio/LongBufferImpl.java,
12347         java/nio/LongViewBufferImpl.java,
12348         java/nio/MappedByteBufferImpl.java,
12349         java/nio/ShortBufferImpl.java,
12350         java/nio/ShortViewBufferImpl.java:
12351         Made sure all classes are final and removed final keyword from all
12352         methods.
12354 2004-04-20  Michael Koch  <konqueror@gmx.de>
12356         * java/rmi/MarshalledObject.java,
12357         java/rmi/Naming.java,
12358         java/rmi/RemoteException.java,
12359         java/rmi/activation/ActivationException.java,
12360         java/rmi/server/ServerCloneException.java,
12361         java/security/AccessController.java,
12362         java/security/AlgorithmParameterGenerator.java,
12363         java/security/AlgorithmParameters.java,
12364         java/security/CodeSource.java,
12365         java/security/Identity.java,
12366         java/security/IdentityScope.java,
12367         java/security/KeyPairGenerator.java,
12368         java/security/KeyStore.java,
12369         java/security/Security.java,
12370         java/security/Signature.java,
12371         java/security/SignatureSpi.java,
12372         java/security/SignedObject.java,
12373         java/security/spec/DSAParameterSpec.java,
12374         java/security/spec/DSAPrivateKeySpec.java,
12375         java/security/spec/DSAPublicKeySpec.java,
12376         java/sql/Array.java,
12377         java/sql/DatabaseMetaData.java,
12378         java/sql/ResultSet.java,
12379         java/text/ChoiceFormat.java,
12380         java/text/CollationElementIterator.java,
12381         java/text/CollationKey.java,
12382         java/text/Collator.java,
12383         java/text/DateFormat.java,
12384         java/text/DateFormatSymbols.java,
12385         java/text/DecimalFormatSymbols.java,
12386         java/text/Format.java,
12387         java/text/ParsePosition.java,
12388         java/text/RuleBasedCollator.java,
12389         java/text/SimpleDateFormat.java,
12390         java/text/StringCharacterIterator.java,
12391         java/util/Collections.java,
12392         java/util/PropertyResourceBundle.java,
12393         java/util/ResourceBundle.java,
12394         java/util/StringTokenizer.java,
12395         java/util/jar/Attributes.java,
12396         java/util/logging/ConsoleHandler.java,
12397         java/util/logging/LogManager.java,
12398         java/util/logging/MemoryHandler.java,
12399         java/util/logging/SocketHandler.java,
12400         javax/naming/NamingException.java:
12401         Fixed javadoc, coding style and argument names all over.
12403 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12405         * java/io/FileDescriptor.java: (FileDescriptor) Added public
12406         constructor. (valid) Added null check.
12408 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12410         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12411         * java/io/FileOutputStream.java
12412         (FileOutputStream) Reorganized constructors. Constructors now
12413         check whether the given path is directory.
12415 2004-04-20  Michael Koch  <konqueror@gmx.de>
12417         * java/net/Authenticator.java,
12418         java/net/BindException.java,
12419         java/net/ConnectException.java,
12420         java/net/ContentHandler.java,
12421         java/net/ContentHandlerFactory.java,
12422         java/net/DatagramPacket.java,
12423         java/net/DatagramSocket.java,
12424         java/net/DatagramSocketImpl.java,
12425         java/net/DatagramSocketImplFactory.java,
12426         java/net/FileNameMap.java,
12427         java/net/HttpURLConnection.java,
12428         java/net/Inet4Address.java,
12429         java/net/Inet6Address.java,
12430         java/net/InetAddress.java,
12431         java/net/InetSocketAddress.java,
12432         java/net/JarURLConnection.java,
12433         java/net/MalformedURLException.java,
12434         java/net/MulticastSocket.java,
12435         java/net/NetPermission.java,
12436         java/net/NetworkInterface.java,
12437         java/net/NoRouteToHostException.java,
12438         java/net/PasswordAuthentication.java,
12439         java/net/PortUnreachableException.java,
12440         java/net/ProtocolException.java,
12441         java/net/ServerSocket.java,
12442         java/net/Socket.java,
12443         java/net/SocketAddress.java,
12444         java/net/SocketException.java,
12445         java/net/SocketImpl.java,
12446         java/net/SocketImplFactory.java,
12447         java/net/SocketOptions.java,
12448         java/net/SocketPermission.java,
12449         java/net/SocketTimeoutException.java,
12450         java/net/URI.java,
12451         java/net/URISyntaxException.java,
12452         java/net/URL.java,
12453         java/net/URLClassLoader.java,
12454         java/net/URLConnection.java,
12455         java/net/URLDecoder.java,
12456         java/net/URLEncoder.java,
12457         java/net/URLStreamHandler.java,
12458         java/net/URLStreamHandlerFactory.java,
12459         java/net/UnknownHostException.java,
12460         java/net/UnknownServiceException.java:
12461         Fixed javadocs, coding style and argument names all over.
12463 2004-04-20  Michael Koch  <konqueror@gmx.de>
12465         * java/lang/Byte.java,
12466         java/lang/CharSequence.java,
12467         java/lang/ClassLoader.java,
12468         java/lang/Compiler.java,
12469         java/lang/Double.java,
12470         java/lang/Float.java,
12471         java/lang/Integer.java,
12472         java/lang/Long.java,
12473         java/lang/Math.java,
12474         java/lang/Number.java,
12475         java/lang/Package.java,
12476         java/lang/Runtime.java,
12477         java/lang/RuntimePermission.java,
12478         java/lang/SecurityManager.java,
12479         java/lang/Short.java,
12480         java/lang/StringBuffer.java,
12481         java/lang/System.java,
12482         java/lang/ThreadGroup.java,
12483         java/lang/Throwable.java,
12484         java/lang/reflect/InvocationHandler.java,
12485         java/lang/reflect/Proxy.java:
12486         Fixed javadocs, coding style and argument names all over.
12488 2004-04-20  Michael Koch  <konqueror@gmx.de>
12490         * java/io/BufferedWriter.java,
12491         java/io/ByteArrayInputStream.java,
12492         java/io/CharArrayWriter.java,
12493         java/io/DataInput.java,
12494         java/io/DataInputStream.java,
12495         java/io/File.java,
12496         java/io/FilterInputStream.java,
12497         java/io/InputStream.java,
12498         java/io/InputStreamReader.java,
12499         java/io/ObjectInputStream.java,
12500         java/io/ObjectStreamClass.java,
12501         java/io/PipedInputStream.java,
12502         java/io/PipedReader.java,
12503         java/io/PushbackInputStream.java,
12504         java/io/PushbackReader.java,
12505         java/io/RandomAccessFile.java,
12506         java/io/SerializablePermission.java,
12507         java/io/StreamTokenizer.java,
12508         java/io/StringWriter.java,
12509         java/io/WriteAbortedException.java,
12510         java/io/Writer.java:
12511         Fixed javadocs all over, rename arguments to match javadocs,
12512         fixed coding style.
12514 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12516         * java/awt/FontMetrics.java:
12517         (charsWidth): fixed accumulation of total_width
12518         (getWidth): simple default implementation
12519         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12520         in Rectangle constructor.
12521         * java/awt/image/Raster.java (toString): Added method.
12522         * java/awt/image/SampleModel.java (<init>): Added error cause
12523         information to thrown exception.
12524         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12525         New method.
12526         (setDataElements): New method.
12527         (setPixels): New method.
12528         (toString): New method.
12530 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12532         * java/awt/image/ComponentColorModel.java
12533         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12534         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12535         Mauve tests on this method. Improved documentation.
12537 2004-04-20  Michael Koch  <konqueror@gmx.de>
12539         * javax/swing/JLayeredPane.java,
12540         javax/swing/plaf/BorderUIResource.java,
12541         javax/swing/plaf/ComponentUI.java,
12542         javax/swing/undo/CompoundEdit.java,
12543         javax/swing/undo/StateEdit.java:
12544         Fixed HTML tags in javadocs all over.
12546 2004-04-20  Michael Koch  <konqueror@gmx.de>
12548         * javax/print/attribute/EnumSyntax.java
12549         (getOffset): Made protected.
12550         * javax/print/attribute/HashAttributeSet.java
12551         (HashAttributeSet): Likewise.
12552         * javax/print/attribute/ResolutionSyntax.java
12553         (getFeedResolution): Fixed typo in exception name.
12554         (getCrossFeedResolution): Likewise.
12555         * javax/print/attribute/SetOfIntegerSyntax.java
12556         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12557         * javax/print/attribute/TextSyntax.java
12558         (TextSyntax): Handle locale correctly.
12559         (hashCode): Calc better hashcode value.
12560         (equals): Fixed @return tag.
12561         (toString): New method.
12563 2004-04-20  Michael Koch  <konqueror@gmx.de>
12565         * gnu/java/nio/FileLockImpl.java
12566         (static): Removed, not needed anymore.
12567         * gnu/java/nio/channels/FileChannelImpl.java
12568         (FileChannelImpl): Made final.
12569         (mode): Made private.
12570         (READ, WRITE, APPEND): Made public.
12571         (EXCL, SYNC, DSYNC): Likewise.
12572         (static): Load native JNI library, when needed.
12573         (length): Unused, removed.
12574         (available): Made public.
12575         (implPosition): Throws IOException.
12576         (seek): Likewise.
12577         (implTruncate): Likewise.
12578         (unlock): Likewise.
12579         (lock): Likewise.
12581 2004-04-20  Michael Koch  <konqueror@gmx.de>
12583         * java/awt/AWTPermission.java,
12584         java/awt/Component.java,
12585         java/awt/ComponentOrientation.java,,
12586         java/awt/Dialog.java,
12587         java/awt/FontMetrics.java,
12588         java/awt/Graphics.java,
12589         java/awt/datatransfer/DataFlavor.java,
12590         java/beans/Introspector.java,
12591         java/beans/PropertyEditor.java,
12592         java/beans/PropertyEditorManager.java,
12593         java/beans/beancontext/BeanContextServiceProvider.java:
12594         Fixed HTML tags in javadocs all over.
12596 2004-04-20  Mark Wielaard  <mark@klomp.org>
12598         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12599         MissingResourceException is thrown.
12600         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12601         null when a MissingResourceException is thrown. Should never happen.
12603 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12605         * java/awt/image/DataBufferShort.java,
12606         java/awt/image/DataBufferFloat.java,
12607         java/awt/image/DataBufferDouble.java,
12608         java/awt/image/PixelInterleavedSampleModel.java: New files.
12609         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12610         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12612 2004-04-20  Michael Koch  <konqueror@gmx.de>
12614         * Makefile.am (java_source_files): Added
12615         java/awt/image/DataBufferDouble.java,
12616         java/awt/image/DataBufferFloat.java,
12617         java/awt/image/DataBufferShort.java and
12618         java/awt/image/PixelInterleavedSampleModel.java.
12619         * Makefile.in: Regenerated.
12621 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
12623         * gcj/cni.h (JvAllocObject): Remove these obsolete,
12624         undocumented CNI calls.
12625         * include/java-interp.h (_Jv_InterpClass): No longer
12626         extends java.lang.Class.
12627         * java/lang/Class.h (Class): Add new field `aux_info'.
12628         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12629         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12630         Use Class->aux_info instead.
12631         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12632         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12633         Use Class->aux_info instead.
12634         * java/io/natObjectInputStream.cc (allocateObject): Use
12635         _Jv_AllocObject.
12636         * java/lang/natClass.cc (newInstance): Likewise.
12637         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12638         * java/lang/natObject.cc (clone): Likewise.
12639         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12640         * java/lang/natVMClassLoader.cc (defineClass): Don't use
12641         JvAllocObject. Allocate klass->aux_info here for interpreted
12642         class.
12644 2004-04-17  Mark Wielaard  <mark@klomp.org>
12646         * javax/swing/JToggleButton.java (ToggleButtonModel):
12647         Make public static inner class.
12648         * javax/swing/JTabbedPane.java (setComponentAt):
12649         Call Page.setComponent().
12650         (SCROLL_TAB_LAYOUT): Make public, value is 1.
12651         (WRAP_TAB_LAYOUT): Make public, value is 0.
12652         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12653         Make private static inner class.
12655 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
12657         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12658         arguments to match new signature. Remove FIXME comments.
12660 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
12662         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12663         Remove method.
12664         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12665         unused code.
12667 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
12669         * Makefile.am: Added new file.
12670         * Makefile.in: Regenerate.
12671         * javax/swing/ImageIcon.java:
12672         (ImageIcon(file)): set description of the icon
12673         to the file name
12674         * javax/swing/JCheckBoxMenuItem.java:
12675         Mostly Implemented. Work in progress.
12676         * javax/swing/JRadioButtonMenuItem.java:
12677         Reimplement constructors to use JToggleButtonModel.
12678         * javax/swing/plaf/basic/BasicIconFactory.java:
12679         (getCheckBoxMenuItemIcon): return check box
12680         icon.
12681         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12682         paint menu item selected only when it is armed and
12683         pressed.
12685 2004-04-02  David Jee  <djee@redhat.com>
12687         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12688         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12689         * java/awt/Component.java
12690         (add): Set the parent of the popup as this component.
12691         * java/awt/PopupMenu.java
12692         (addNotify): Create popup menu when peer is null.
12693         (show): Call addNotify() if peer is null.
12694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12695         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12696         argument for gtk_menu_popup() as zero. This causes the popup menu to
12697         respond to any mouse button.
12699 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
12701         * Makefile.am: Added new file.
12702         * Makefile.in: Regenerate.
12703         * javax/swing/JRadioButtonMenuItem.java:
12704         Implemented.
12705         * javax/swing/plaf/basic/BasicIconFactory.java:
12706         (getRadioButtonMenuItemIcon): Return
12707         radio button icon.
12708         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12709         (getPreferredSize): Add size of checkIcon if it
12710         exists.
12711         (installDefaults): Don't initialize checkIcon.
12712         It's value will be set in subclasses.
12713         (uninstallDefaults): remove uninstallation of
12714         checkIcon.
12715         (paint): Moved code to paintMenuItem().
12716         (paintMenuItem): Implemented.
12717         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12718         UI delegate for JRadioButtonMenuItem.
12720 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12722         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12723         Corrected position of the accelerator.
12725 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12727         * Makefile.am: Added new file.
12728         * Makefile.in: Regenerate.
12729         * javax/swing/JMenuItem.java: Partly
12730         implemented. Work in progress
12731         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12732         Changed default value of acceleratorDelimiter.
12733         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12734         New class. Partly implemented.
12736 2004-03-26  Mark Wielaard  <mark@klomp.org>
12738         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12739         (item_activate): Declare label before use.
12740         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12741         (gtkSetFont): Removed unused variable label.
12742         (addExposeFilter): Declare variables before use.
12743         (removeExposeFilter): Likewise.
12744         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12745         (ok_clicked): Declare str_fileName before use.
12747 2004-03-26  David Jee  <djee@redhat.com>
12749         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12750         (addSeparator): Remove.
12751         * java/awt/Menu.java
12752         (separator): Remove static final MenuItem field.
12753         (separatorLabel): New static final String field.
12754         (addSeparator): Do not use peer method; use add(MenuItem) instead.
12755         Use separatorLabel to denote that it is a separator.
12756         (insertSeparator): Create a new MenuItem with separatorLabel, instead
12757         of reusing the static separator instance, because a MenuItem instance
12758         can't be added more than once without being cloned.
12759         * java/awt/peer/MenuPeer.java
12760         (addSeparator): Remove from interface.
12762 2004-03-26  David Jee  <djee@redhat.com>
12764         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12765         (connectSignals): New native method declaration.
12766         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12767         * java/awt/MenuItem.java
12768         (getActionCommand): Return the label if the action command is not set.
12769         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12770         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
12771         gtk_menu_shell_append().
12772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
12773         (item_activate): Fix argument type.
12774         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
12775         signal here.
12776         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
12777         method.
12778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12779         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
12780         given. Add the menu widget's top-level GtkWindow to the global window
12781         group, so it can grab the pointer.
12782         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
12783         gtk_menu_shell_append().
12785 2004-03-23  Graydon Hoare  <graydon@redhat.com>
12787         * java/text/AttributedString.java
12788         (addAttribute): Fix off-by-one.
12789         (getIterator): Likewise.
12790         * java/text/AttributedStringIterator.java
12791         (getRunLimit): Correct logic.
12792         (getRunStart): Likewise.
12793         (getAttribute): Fix inequality.
12794         (getAttributes): Likewise.
12795         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
12797 2004-03-23  Kim Ho  <kho@redhat.com>
12799         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12800         (calculateSizes): Return real width and height.
12802 2004-03-23  Kim Ho  <kho@redhat.com>
12804         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12805         (calculateTabRects): Set the selectedRun before
12806         trying to rotate tabs.
12808 2004-03-23  Kim Ho  <kho@redhat.com>
12810         * Makefile.am: New file
12811         * Makefile.in: Regenerate
12812         * java/awt/Graphics.java: (drawRect):
12813         Draw to the correct point.
12814         * javax/swing/DefaultSingleSelectionModel.java
12815         (isSelected): Return true if the selected index
12816         is not -1.
12817         * javax/swing/JLabel.java: Do not change mnemonic
12818         index if text is null.
12819         * javax/swing/JProgressBar.java: Use JComponent's
12820         EventListenerList.
12821         * javax/swing/JScrollBar.java: Ditto.
12822         * javax/swing/JSlider.java: Ditto.
12823         * javax/swing/JTabbedPane.java: Reimplement.
12824         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12825         Add defaults for TabbedPane.
12826         * javax/swing/plaf/basic/BasicArrowButton.java:
12827         Implement
12828         * javax/swing/plaf/basic/BasicProgressBarUI.java:
12829         (paintDeterminate): Don't paint String if it's
12830         empty.
12831         (paintIndeterminate): ditto.
12832         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12833         Reimplement.
12835 2004-03-19  Michael Koch  <konqueror@gmx.de>
12837         * java/awt/image/AffineTransformOp.java
12838         (AffineTransformOp): Made public.
12839         * javax/swing/JComponent.java
12840         (listenerList): Made protected.
12841         (accessibleContext): Likewise.
12842         * javax/swing/JList.java
12843         (valueChanged): Dont use internal fields of ListSelectionEvent.
12844         * javax/swing/JViewport.java
12845         (getView): Dont use internal fields of Component.
12846         (addImpl): Likewise.
12847         * javax/swing/Timer.java
12848         (isRunning): Made public.
12849         (start): Likewise.
12850         (stop): Likewise.
12851         * javax/swing/UIDefaults.java
12852         (getInt): Made public.
12853         * javax/swing/plaf/basic/BasicListUI.java
12854         (mousePressed): Dont use internal fields of MouseEvent.
12855         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
12856         * javax/swing/plaf/basic/BasicScrollBarUI.java
12857         (arrowIcon): Made static.
12858         * javax/swing/plaf/basic/BasicViewportUI.java
12859         (stateChanged): Dont use internal field on ChangeEvent.
12860         * javax/swing/text/JTextComponent.java
12861         (getUI): Call UIManager.getUI().
12862         (updateUI): Use getUI().
12864 2004-03-19  Graydon Hoare  <graydon@redhat.com>
12866         * javax/swing/JComponent.java: Turn off double buffer by default.
12867         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
12868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
12869         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
12870         Use cairo to copy areas.
12871         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
12872         Initialize and set clip region.
12874 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
12876         * java/applet/Applet.java (preferredSize): Override deprecated
12877         variant of getPreferredSize.
12878         (minimumSize): Override deprecated variant of getMinimumSize.
12880 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
12882         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12883         (drawImage(img,xform,bgcolor,obs)): New Method.
12884         Helper function that every drawImage method will
12885         use.
12886         (drawRaster): Added new parameter, bgcolor. All
12887         transparent pixels are changed to bgcolor before
12888         image is drawn.
12889         (drawRenderedImage): Fixed to use changed drawRaster().
12890         (drawImage(image,xform,obs): Fixed to use new helper function
12891         (drawImage(image,op,x,y)): Ditto.
12892         (drawImage (img,x,y,observer)): Ditto.
12893         ((PainterThread) bgcolor): New Field.
12894         ((PainterThread) (setPixels)): Changed all transparent pixels
12895         to bgcolor.
12896         (drawImage(img,x,y,width,height,bgcolor,observer)):
12897         Fixed FIXME - all the transparent pixels are
12898         changed to the specified bgcolor.
12899         (drawImage(img, x, y, width, height, observer): Changed to
12900         use function above.
12901         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
12902         Fixed FIXME- changed all transparent pixels to bgcolor.
12903         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
12904         Changed to use function above.
12906 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
12908         * java/applet/Applet.java (dimensions): New field.
12909         (getDimensions): New method.
12910         (getPreferredSize): Call getDimensions.
12911         (getMinimumSize): Likewise.
12913 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12915         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
12916         * jni/classpath/jnilink.c: Likewise.
12918         * java/applet/Applet.java (getPreferredSize): New method.
12919         (getMinimumSize): New method.
12921 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
12923         * prims.cc (_Jv_AllocObject): Remove `size' argument.
12924         (_Jv_AllocObjectNoFinalizer): Likewise.
12925         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
12926         (_Jv_AllocPtrFreeObject): Likewise.
12927         (_Jv_AllocString): Moved from natString.cc. Call collector interface
12928         directly even in the JVMPI case.
12929         * gcj/cni.h (JvAllocObject): Remove `size' argument from
12930         _Jv_AllocObject calls.
12931         * gcj/javaprims.h: Update prototypes.
12932         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
12933         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
12934         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
12936 2004-04-14  Andrew Haley  <aph@redhat.com>
12937             Bryce McKinlay  <mckinlay@redhat.com>
12939         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
12940         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
12941         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
12943         * testsuite/libjava.lang/InvokeInterface.java: New file.
12944         * testsuite/libjava.lang/InvokeInterface.out: New file.
12946 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
12948         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
12949         modified lookup().
12950         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
12951         StackTraceElement directly.
12952         (newElement): New native helper method to create StackTraceElement
12953         bypassing Java access control.
12954         (createStackTraceElement): Use newElement() instead of directly
12955         calling StackTraceElement's constructor.
12956         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
12958 2004-04-01  Michael Koch  <konqueror@gmx.de>
12960         * java/lang/SecurityManager.java
12961         (checkAwtEventQueueAccess): Implemented.
12963 2004-04-01  Gary Benson  <gbenson@redhat.com>
12965         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
12966         (_Jv_SearchMethodInClass): Likewise.
12968 2004-03-26  Peter Moon  <peterm@miraculum.com>
12970         * java/text/NumberFormat.java: Fix spelling of setCurrency
12971         method.
12973 2004-03-21  Anthony Green  <green@redhat.com>
12975         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
12976         recursion when searching for the system ClassLoader.
12978 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
12980         * java/net/ServerSocket.java
12981         (accept): Close the socket when error occured.
12983 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
12985         * java/net/URI.java (parseURI): Added unquoting.
12986         (unquote): New method.
12987         (quoteAuthority): Implemented.
12988         (quote(String,String)): New method.
12989         (quotePath): Implemented.
12990         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
12991         (getSchemeSpecificPart): Removed FIXME comment.
12992         (getRawAuthority): Return new rawAuthority field.
12993         (getAuthority): Removed FIXME comment.
12994         (getRawUserInfo): Return new rawUserInfo field.
12995         (getUserInfo): Removed FIXME comment.
12996         (getRawPath): Return new rawPath field.
12997         (getPath): Removed FIXME comment.
12998         (getRawQuery): Return new rawQuery field.
12999         (getQuery): Removed FIXME comment.
13000         (getRawFragment): Return new rawFragment field.
13001         (getFragment): Removed FIXME comment.
13003 2004-03-20  Michael Koch  <konqueror@gmx.de>
13005         * java/net/URLConnection.java: Merged copyright year with classpath.
13007 2004-03-20  Norbert Frese  <postfach@nfrese.net>
13009         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
13010         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
13011         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
13012         rmi-message.
13013         (getObjectInputStream): Return object reference, throw IOException if null.
13014         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
13015         (getObjectOutputStream): Return object reference, throw IOException if null.
13016         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
13017         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
13018         (UnicastConnectionManager): Throw RemoteException if port is not available.
13019         (getInstance): Throw RemoteException.
13020         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
13021         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
13022         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13023         Collect Exceptions which are returned by a rmi-call and fix void returns.
13024         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13025         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13026         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13027         (dispatch): Answer ping messages which are sent by other java implementions.
13028         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13029         for every rmi-message and fix void return problems.
13030         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13031         (UnicastServerRef): Throw RemoteException.
13032         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13033         In some situations it is necessary to export a subclass of the class which has the _Stub.
13034         For instance when the class with has the _Stub is abstract.
13035         (findStubSkelClass): New method which looks for the class which has the _Stub.
13036         (getClientHost): Implementated.
13037         * gcc/libjava/java/rmi/server/RemoteServer.java
13038         (getClientHost): Implementated.
13039         * gcc/libjava/Makefile.am (rmi_java_source_files):
13040         Added gnu/java/rmi/server/RMIIncomingThread.java.
13041         * Makefile.in: Regenerated.
13043 2004-03-20  Michael Koch  <konqueror@gmx.de>
13045         * java/net/InetAddress.java
13046         (getLocalHostname): Added javadoc.
13048 2004-03-19  Per Bothner  <per@bothner.com>
13050         * configure.in: FILE variable  overrides FLATFORM when linking
13051         natFileChannelXXX.cc.
13053         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
13054         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
13056 2004-03-19  Per Bothner  <per@bothner.com>
13058         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
13059         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
13060         * Makefile.am:  Update accordingly.
13061         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
13062         as aliases for UnicodeLittle and UnicodeBig.
13064 2004-03-20  Mark Wielaard  <mark@klomp.org>
13066         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13067         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13068         Don't access ws when it is null.
13069         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13070         Likewise.
13072 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
13074         * java/lang/ThreadGroup.java (list): Changed print to println.
13076 2004-03-19  Mark Wielaard  <mark@klomp.org>
13078         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
13079         happy.
13081 2004-02-10  Randolph Chung  <tausq@debian.org>
13083         * configure.in: Build java for hppa target.
13084         * configure: Regenerate.
13085         * libjava/configure.host (hppa-*): Add target.
13086         * libjava/sysdeps/pa/lock.h: New file.
13088 2004-03-19  Mark Wielaard  <mark@klomp.org>
13090         Reported by Stephen Crawley
13091         * java/io/FilePermission.java (implies): Use String.length() -1 to
13092         access last char of String.
13094 2004-03-19  Michael Koch  <konqueror@gmx.de>
13096         * java/awt/image/AffineTransformOp.java
13097         (AffineTransformOp): Made public.
13098         * javax/swing/JComponent.java
13099         (listenerList): Made protected.
13100         (accessibleContext): Likewise.
13101         * javax/swing/JList.java
13102         (valueChanged): Dont use internal fields of ListSelectionEvent.
13103         * javax/swing/JViewport.java
13104         (getView): Dont use internal fields of Component.
13105         (addImpl): Likewise.
13106         * javax/swing/Timer.java
13107         (isRunning): Made public.
13108         (start): Likewise.
13109         (stop): Likewise.
13110         * javax/swing/UIDefaults.java
13111         (getInt): Made public.
13112         * javax/swing/plaf/basic/BasicListUI.java
13113         (mousePressed): Dont use internal fields of MouseEvent.
13114         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13115         * javax/swing/plaf/basic/BasicScrollBarUI.java
13116         (arrowIcon): Made static.
13117         * javax/swing/plaf/basic/BasicViewportUI.java
13118         (stateChanged): Dont use internal field on ChangeEvent.
13119         * javax/swing/text/JTextComponent.java
13120         (getUI): Call UIManager.getUI().
13121         (updateUI): Use getUI().
13123 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13125         * verify.cc: Undef PC.
13127 2004-03-18  Michael Koch  <konqueror@gmx.de>
13129         * java/nio/channels/spi/AbstractSelectableChannel.java
13130         (keys): Initialize at declaration.
13131         (locate): keys cant be null.
13132         (add): Removed.
13133         (addSelectionKey): New method.
13134         (removeSelectionKey): New method.
13135         * java/nio/channels/spi/AbstractSelectionKey.java
13136         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13137         * java/nio/channels/spi/AbstractSelector.java
13138         (provider): Javadoc added.
13139         (cancelledKeys): Javadoc added.
13140         (cancelKey): Javadoc added, add key to cancelledKeys.
13141         (deregister): Implemented.
13143 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13145         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13146         MAP_FAILED to void *.
13148 2004-03-12  Graydon Hoare  <graydon@redhat.com>
13150         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13151         * javax/swing/JComponent.java (paint): Use persistent double buffer.
13152         * javax/swing/JList.java (ListListener): Revalidate on changes.
13153         * javax/swing/JScrollPane.java: Reimplement.
13154         * javax/swing/JViewport.java: Reimplement.
13155         * javax/swing/ScrollPaneLayout.java: Reimplement.
13156         * javax/swing/ViewportLayout.java: Tidy up.
13157         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13158         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13159         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13160         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13161         backing store only.
13163 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
13165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13166         (window_wm_protocols_filter): New function.
13167         (window_focus_in_cb): Remove function.
13168         (window_focus_out_cb): Likewise.
13169         (window_focus_or_active_state_change_cb): New function.
13170         (create): Add filter that removes WM_TAKE_FOCUS client messages.
13171         (connectSignals): Don't attach handlers to focus-in-event or
13172         focus-out-event signals.  Handle notify signal.
13174 2004-03-11  David Jee  <djee@redhat.com>
13176         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13177         (gtkSetLabel): New native method declaration.
13178         (setLabel): Use gtkSetLabel.
13179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13180         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13182 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
13184         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13185         black when color argument is null.
13187 2004-03-10  Kim Ho  <kho@redhat.com>
13189         * java/awt/Container.java: Remove check
13190         for drag events.
13192 2004-03-10  Kim Ho  <kho@redhat.com>
13194         * java/awt/Container.java: (visitChild):
13195         Remove candidate clip. Use the component
13196         clip to intersect.
13197         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13198         (handleEvent): Use the PaintEvent's clip.
13200 2004-03-10  Kim Ho  <kho@redhat.com>
13202         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13203         (handleEvent): Don't set the clip for the
13204         Graphics object.
13206 2004-03-09  Graydon Hoare  <graydon@redhat.com>
13208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
13209         Fix double <-> fixed macros, reset font transform.
13210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13211         Likewise.
13213 2004-03-09  Kim Ho  <kho@redhat.com>
13215         * java/awt/Container.java: (visitChild): Move
13216         the x and y coordinate of the component rectangle
13217         to correct position.
13218         (handleEvent): Forward drag events to the pressed
13219         component.
13220         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13221         Fix comments.
13222         (ArrowButtonListener::mousePressed): Stop the
13223         existing timer.
13224         (mouseDragged): Implement.
13225         (TrackListener::mousePressed): Only react if
13226         the press doesn't occur on the thumb, otherwise
13227         just set the offset.
13228         (TrackListener::mouseReleased): Unset the isAdjusting
13229         value.
13230         (createIncreaseIcon): Switch icon.
13231         (createDecreaseIcon): Switch icon.
13232         (calculatePreferredSize): Use width.
13233         (getThumbBounds): Use the top as the lower value.
13234         (layoutVScrollBar): Switch the button locations.
13235         (paintIncreaseHighlight): Paint correct side of thumb.
13236         (paintDecreaseHighlight): ditto.
13237         (valueForYPosition): Use top as the lower value.
13238         * javax/swing/plaf/basic/BasicSliderUI.java:
13239         Fix comments.
13240         (mouseDragged): Implement.
13241         (mousePressed): Only react when the thumb isn't
13242         pressed, otherwise just set offset.
13243         (mouseReleased): Handle a release of the thumb.
13244         (scrollDueToClickInTrack): Stop the timer first.
13245         * javax/swing/JProgressBar.java:
13246         (setString): Fix change condition.
13247         * javax/swing/JSeparator.java:
13248         Remove println's.
13250 2004-03-08  David Jee  <djee@redhat.com>
13252         * java/awt/image/AffineTransformOp.java:
13253         (filter): Use Graphics2D interface instead of directly using the
13254         GdkGraphics2D peer.
13256 2004-03-05  David Jee  <djee@redhat.com>
13258         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13259         (handleEvent): Action events are generated upon MOUSE_RELEASED.
13260         * java/awt/Container.java
13261         (acquireComponentForMouseEvent): Fixed.
13262         (handleEvent): Fixed.
13263         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13264         (state_to_awt_mods_with_button_states): New method.
13265         (pre_event_handler): Fixed mouse event generation.
13267 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
13269         gnu/java/awt/peer/gtk/GdkGraphics2D.java
13270         (GdkGraphics2D (BufferedImage)): Initialize
13271         pixmap associated with specified BufferedImage.
13272         (setPaint): Changed implementation of Texture
13273         Paint to use AffineTransformOp.
13274         * java/awt/image/AffineTransformOp.java
13275         (createCompatibleDestRaster): Throw RasterFormatException
13276         if resulting width or height of raster is 0.
13278 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
13280         * java/awt/image/AffineTransformOp.java:
13281         Removed unnecessary field interpolationType.
13282         Formatted some of the lines to be consistent with
13283         the GNU style.
13284         (AffineTransformOp): Create new RenderingHints
13285         containing specified interpolation type.
13286         (createCompatibleDestImage): Implemented.
13287         (createCompatibleDestRaster): Implemented.
13288         (filter): Implemented.
13289         (getBounds2D(BufferedImage)): Implemented.
13290         (getBounds2D(Raster)): Implemented.
13291         (getInterpolationType): Get interpolation value from
13292         rendering hints.
13294 2004-03-04  David Jee  <djee@redhat.com>
13296         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13297         (setFont): Check if child peers are null.
13299 2004-03-04  Graydon Hoare  <graydon@redhat.com>
13301         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13302         .libs in -L option.
13303         (libjava_arguments): Add new libraries to argument list.
13305 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
13307         * Makefile.am: Added java/awt/image/AffineTransformOp.java
13308         * Makefile.in: Re-generated.
13309         * java/awt/image/AffineTransformOp.java: New Class.
13311 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
13313         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13314         (setPaint): Interpret correctly TexturePaint's
13315         anchor rectangle.
13316         (drawImage): Fixed scale factors of the affine
13317         transform.
13319 2004-02-27  David Jee  <djee@redhat.com>
13321         * gnu/java/awt/peer/gtk/GdkGraphics.java
13322         (GdkGraphics(Component)): Inherit font from component.
13323         (drawString): Use font style.
13324         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13325         (gtkSetFont): New native method declaration.
13326         (setFont): New method.
13327         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13328         (gtkSetFont): New native method declaration.
13329         (setFont): Call new native method gtkSetFont.
13330         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13331         (setFont): For all child components who do not their fonts set,
13332         set their peers' fonts with this container's font.
13333         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13334         Move all native method declarations to the top for readability.
13335         (gtkSetFont): New native method declaration.
13336         (setFont): New method.
13337         * java/awt/Component.java
13338         (setFont): Invalidate after setting the font.
13339         * java/awt/Container.java
13340         (invalidateTree): New method.
13341         (setFont): Invalidate the container tree after setting the font.
13342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13343         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13345         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13346         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13347         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13349         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13351 2004-02-27  Olga Rodimina <rodimina@redhat.com>
13353         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13354         (updateBufferedImage): New helper function.
13355         Updates BufferedImage in memory if it was changed.
13356         (draw): changed to update BufferedImage in memory after
13357         this drawing operation
13358         (fill): Ditto.
13359         (draw3DRect): Ditto.
13360         (fill3DRect): Ditto.
13361         (clearRect): Ditto.
13362         (drawRaster): Ditto.
13363         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
13364         no affine transformation.
13365         (drawGlyphVector): Ditto.
13367 2004-02-26  Olga Rodimina <rodimina@redhat.com>
13369         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13370         (isBufferedImageGraphics): New Helper function.
13371         Returns true if this graphics2d can be used to draw
13372         into buffered image and false otherwise.
13373         (updateImagePixels): New Helper function.
13374         Updates pixels in the BufferedImage.
13375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13376         (getImagePixels): New function. Returns pixels
13377         of the buffered image associated with
13378         this Graphics2D.
13380 2004-02-26  David Jee  <djee@redhat.com>
13382         * java/awt/BorderLayout.java
13383         (layoutContainer): Fix width and height calculations to ensure
13384         that they're non-negative.
13385         * java/awt/Component.java
13386         (setBackground): If c is null, inherit from closest ancestor whose
13387         background color is set.
13389 2004-02-26  Kim Ho  <kho@redhat.com>
13391         * Makefile.am: Add new files.
13392         * Makefile.in: Re-generate.
13393         * javax/swing/JProgressBar.java:
13394         (JProgressBar(int, int int)): Throw
13395         IllegalArgumentException if orientation is
13396         invalid.
13397         (JProgressBar(BoundedRangeModel)): Create
13398         ChangeListener and register it. UpdateUI.
13399         (getChangeListeners): Implement.
13400         (setModel): Reset ChangeListener.
13401         * javax/swing/JScrollBar.java: Implement.
13402         * javax/swing/JSeparator.java: Implement.
13403         * javax/swing/JSlider.java:
13404         (JSlider(int, int, int, int)): Throw
13405         IllegalArgumentException if orientation
13406         is invalid.
13407         (getChangeListeners): Fix method name.
13408         * javax/swing/SwingUtilities.java:
13409         (layoutCompoundLabel): If there is no text,
13410         set the text rectangle dimensions to 0.
13411         * javax/swing/plaf/basic/BasicButtonUI.java:
13412         (paint): If there is no text, don't paint it.
13413         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13414         Implement.
13415         * javax/swing/plaf/basic/BasicSeparatorUI.java:
13416         Implement.
13417         * javax/swing/plaf/basic/BasicSliderUI.java:
13418         (propertyChange): If the model changes, change
13419         the listeners accordingly.
13421 2004-02-25  Graydon Hoare  <graydon@redhat.com>
13423         * javax/swing/AbstractButton.java: Add "final" qualifiers.
13424         * javax/swing/JList.java: Reimplement.
13425         * javax/swing/DefaultListSelectionModel.java: Reimplement.
13426         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13427         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13428         * javax/swing/ListModel.java: Javadoc.
13429         * javax/swing/ListSelectionModel.java: Add missing methods.
13430         * javax/swing/AbstractListModel.java: Javadoc and corrections.
13431         * javax/swing/DefaultListModel.java: Javadoc and corrections.
13432         * javax/swing/ListModel.java: Javadoc and corrections.
13433         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13435 2004-02-25  David Jee  <djee@redhat.com>
13437         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13438         (GtkFontPeer): Change default size to 12.
13439         * gnu/java/awt/peer/gtk/GtkToolkit.java
13440         (getFontPeer): Change default size to 12.
13441         (getClasspathFontPeer): Likewise. Set default name to "Default".
13442         * java/awt/Font.java
13443         (Font(Map)): Call Font(String,Map).
13444         (Font(String,Map)): If attrs is null, initialize it as an empty
13445         HashMap, which will ensure that the Font will get default attributes.
13447 2004-02-25  David Jee  <djee@redhat.com>
13449         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13450         (GtkFontPeer(String,int)): Call the new constructor with size 1.
13451         (GtkFontPeer(String,int,int)): New constructor with size attribute.
13452         * gnu/java/awt/peer/gtk/GtkToolkit.java
13453         (getFontPeer(String,int)): Call the new overload method with size 1.
13454         (getFontPeer(String,int,int)): New method. Overloaded with size
13455         attribute.
13456         (getClasspathFontPeer): Set the size of the font.
13458 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
13460         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13461         (bimage): New field.
13462         (GdkGraphics2D): New Constructor. Constructs Graphics
13463         object that can be used to draw into the Buffered Image.
13464         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13465         (GdkGraphicsEnvironment): Fixed to include public
13466         keyword.
13467         (createGraphics): Implemented.
13468         * gnu/java/awt/peer/gtk/GtkToolkit.java
13469         (getLocalGraphicsEnvironment): Implemented.
13470         * java/awt/GraphicsEnvironment.java:
13471         (getLocalGraphicsEnvironment): Implemented.
13472         * java/awt/image/BufferedImage.java:
13473         (createGraphics): Implemented.
13475 2004-02-24  David Jee  <djee@redhat.com>
13477         * java/awt/Component.java
13478         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13479         * java/awt/Container.java
13480         (addNotifyContainerChildren): Fix event enabling.
13482 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
13484         * Makefile.am: Added
13485         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13486         * Makefile.in: Re-generated.
13487         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13488         New Class.
13490 2004-02-19  Kim Ho  <kho@redhat.com>
13492         * Makefile.am: Add BasicProgressBarUI
13493         * Makefile.in: Regenerate.
13494         * javax/swing/JProgressBar.java:
13495         Re-implement.
13496         * javax/swing/plaf/basic/BasicLookAndFeel.java
13497         Add constants for JProgressBar.
13498         * javax/swing/plaf/basic/BasicProgressBarUI.java
13499         Implement.
13500         * javax/swing/plaf/basic/BasicSliderUI.java
13501         Change comments.
13502         (calculateGeometry): New method
13503         (paint): Remove unnecessary size calculations.
13505 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
13507         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13508         (drawRaster): Fixed small error that caused
13509         imageToUser transformation to be set incorrectly.
13510         (toString): Implemented.
13512 2004-02-18  David Jee  <djee@redhat.com>
13514         * java/awt/CardLayout.java
13515         (addLayoutComponent): Show the first component added as the default.
13516         (removeLayoutComponent): After removing, show the next component.
13517         (gotoComponent): If there is only one component, show it and return.
13519 2004-02-18  Kim Ho  <kho@redhat.com>
13521         * javax/swing/JSlider.java: Re-order
13522         modifiers.
13523         * javax/swing/JLabel.java: Re-order
13524         modifiers.
13525         * javax/swing/JComponent.java:
13526         (addPropertyChangeListener):
13527         Implement.
13528         (removePropertyChangeListener):
13529         ditto.
13530         (firePropertyChangeEvent):
13531         ditto.
13533 2004-02-17  David Jee  <djee@redhat.com>
13535         * java/awt/Component.java
13536         (show): Dispatch ComponentEvent via system event queue.
13537         (hide): Likewise.
13538         (move): Likewise.
13539         (resize): Likewise.
13540         (reshape): Likewise.
13541         * java/awt/Window.java
13542         (setBoundsCallback): Likewise.
13544 2004-02-17  David Jee  <djee@redhat.com>
13546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13547         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13548         Use gtk_widget_set_size_request() instead of the deprecated
13549         gtk_widget_set_usize().
13551 2004-02-17  Kim Ho  <kho@redhat.com>
13553         * javax/swing/JSlider.java: Fix comments and
13554         make property strings constants.
13555         (createStandardLabels): Use the labels
13556         preferred size as bounds.
13557         * javax/swing/plaf/basic/BasicSliderUI.java
13558         Fix comments.
13559         (ScrollHandler::actionPerformed): Don't
13560         calculate the timer stop value. Let the
13561         MouseListeners find the stop location.
13562         (getPreferredHorizontalSize): Re-implement.
13563         (getPreferredVerticalSize): ditto.
13564         (getMinimumHorizontalSize): ditto.
13565         (getMinimumVerticalSize): ditto.
13566         (getPreferredSize): ditto.
13567         (getMinimumSize): ditto.
13568         (getMaximumSize): ditto.
13569         (paintTicks): Use doubles to find the
13570         tick location.
13571         (paintHorizontalLabel):  Use preferredSize
13572         as initial width and height.
13573         (paintVerticalLabel): ditto.
13575 2004-02-17  Kim Ho  <kho@redhat.com>
13577         * javax/swing/JLabel.java: Changed
13578         property strings to constants.
13579         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13580         New property.
13581         (setText): Change mnemonic index if
13582         text is too short.
13583         (setDisplayedMnemonicIndex): Fire property
13584         change event.
13585         (getDisplayedMnemonicIndex): Remove check
13586         against short text.
13588 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13590         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13591         (drawImage(img,xform,obs)): Invert xform before
13592         passing the xform to cairo.
13593         (drawImage(img,x,y,bgcolor,obs)): Implemented.
13594         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13595         implemented.
13596         (drawImage (img,x,y,w,h,obs)): Implemented.
13597         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13598         bgcolor,obs)): Partly implemented.
13599         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13600         Implemented.
13601         * java/awt/image/BufferedImage.java:
13602         (copyData): if dest is null, create raster with same
13603         dimensions as the current image.
13605 2004-02-16  Graydon Hoare  <graydon@redhat.com>
13607         * javax/swing/plaf/basic/BasicLabelUI.java
13608         (getPreferredSize): Use layoutCL.
13609         * javax/swing/plaf/basic/BasicGraphicsUtils.java
13610         (getPreferredButtonSize): Start with empty view rect, layout using
13611         component's preferred alignment.
13612         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13613         List defaults.
13615 2004-02-16  David Jee  <djee@redhat.com>
13617         * java/awt/Component.java
13618         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13619         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13620         (move): Erase old bounds and repaint new bounds. Dispatch
13621         COMPONENT_MOVED ComponentEvent.
13622         (resize): Erase old bounds and repaint new bounds. Dispatch
13623         COMPONENT_RESIZED ComponentEvent.
13624         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13625         ComponentEvents.
13626         * java/awt/Window.java
13627         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13628         ComponentEvents.
13630 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
13632         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13633         (setRenderingHint): Added implementation of
13634         Interpolation rendering hints.
13635         (setRenderingHints): Ditto.
13636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13637         (drawPixels): fixed to allow user to choose type
13638         of filtering that should be used when displaying images.
13639         (cairoSurfaceSetFilter): New method. Sets filter type for
13640         interpolation of pixel values.
13642 2004-02-16  David Jee  <djee@redhat.com>
13644         * java/awt/GridBagLayout.java
13645         (calcCellSizes): Rows or columns with zero sizes should still be
13646         considered for extra space distribution.
13648 2004-02-16  Kim Ho  <kho@redhat.com>
13650         * javax/swing/JLabel.java: Re-implement.
13651         * javax/swing/plaf/basic/BasicLabelUI.java
13652         Re-implement.
13653         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13654         Added constant.
13656 2004-02-16  Kim Ho  <kho@redhat.com>
13658         * javax/swing/JSlider.java: Fix indentation and comments.
13659         (setModel): Remove null check to conform with Sun's.
13660         (setOrientation): Throw exception if not
13661         HORIZONTAL or VERTICAL.
13662         (getInverted): Use private variable instead of
13663         ComponentOrientation.
13664         (setInverted): ditto.
13665         * javax/swing/plaf/basic/BasicSliderUI.java:
13666         Fix indentation and comments.
13667         (propertyChange): Remove check for inverted slider, handle
13668         in main paint.
13669         (getMinimumSize): Return preferred size.
13670         (getMaximumSize): ditto.
13671         (calculateFocusRect): Don't relocate rectangle.
13672         (drawInverted): Return XOR of the slider's inversion and
13673         the component's orientation.
13674         (paint): Update leftToRightCache
13676 2004-02-13  David Jee  <djee@redhat.com>
13678         * java/awt/GridBagLayout.java
13679         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13680         code to helper methods.
13681         (sortBySpan): New helper method.
13682         (distributeSizeAndWeight): Likewise.
13683         (calcCellWeights): Likewise.
13684         (calcCellSizes): Add comments.
13686 2004-02-13  David Jee  <djee@redhat.com>
13688         * java/awt/Component.java
13689         (show): Only do something if component is invisible at the moment.
13690         (hide): Only do something if component is visible at the moment.
13691         (reshape): If lightweight, erase old bounds and repaint new bounds.
13693 2004-02-13  Kim Ho  <kho@redhat.com>
13695         * Makefile.am: Updated for new file.
13696         * Makefile.in: Regenerated.
13697         * javax/swing/JSlider.java: Reimplement.
13698         * javax/swing/SwingUtilities.java
13699         (layoutCompoundLabel): Use icon height
13700         instead of width.
13701         (paintComponent): Implement.
13702         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13703         Add JSlider defaults.
13704         * javax/swing/plaf/basic/BasicSliderUI.java:
13705         Implement. New file.
13707 2004-03-17  Michael Koch  <konqueror@gmx.de>
13709         * gnu/java/net/PlainDatagramSocketImpl.java
13710         (RECEIVE_LOCK): New member field.
13711         (SEND_LOCK): New member field.
13712         (send0): New method.
13713         (send): Synchronize on SEND_LOCK.
13714         (receive0): New method.
13715         (receive): Synchronize on RECEIVE_LOCK.
13716         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13717         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13718         gnu/java/net/natPlainDatagramSocketImplWin32.cc
13719         (send0): Renamed from send.
13720         (receive0): Renamed from receive.
13721 2004-03-17  Michael Koch  <konqueror@gmx.de>
13723         * gnu/java/net/natPlainSocketImplPosix.cc
13724         (write): Just call write(jbyteArray, offset, len).
13725         (read): Just call read(jbyteArray, offset, len).
13727 2004-03-16  Michael Koch  <konqueror@gmx.de>
13729         * javax/swing/JTabbedPane.java
13730         (serialVersionUID): New field.
13732 2004-03-16  Norbert Frese  <postfach@nfrese.net>
13734         * java/net/InetAddress.java
13735         (getByName): Handle hostname == "" case.
13737 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
13739         Reported by: Adam Heath <doogie@debian.org>
13740         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13741         class loader.
13743 2004-03-15  Michael Koch  <konqueror@gmx.de>
13745         * java/util/Locale.java: Reverting my last patch
13746         and add a comment why the original version was okay.
13748 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
13750         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13751         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13752         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13753         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13755 2004-03-12  Michael Koch  <konqueror@gmx.de>
13757         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13759 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13761         * java/net/URI.java (toURL): Implemented.
13763 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13765         * java/net/URI.java
13766         (URI_REGEXP) updated to contain scheme specific part.
13767         (SCHEME_SPEC_PART_GROUP) new constant.
13768         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13769         updated to make room for SCHEME_SPEC_PART_GROUP.
13770         (parseURI) parse scheme specific part.
13771         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
13772         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
13773         getQuery, getFragment) implemented.
13775 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
13777         * libraries/javalib/java/net/URI.java
13778         partially implemented using java.util.regex.
13779         (URI_REGEXP) new constant. Used to parse URIs.
13780         (SCHEME_GROUP) new constant representing index of scheme group
13781         in parsed URI.
13782         (AUTHORITY_GROUP) new constant representing index of authority
13783         group in parsed URI.
13784         (PATH_GROUP) new constant representing index of path group in
13785         parsed URI.
13786         (QUERY_GROUP) new constant representing index of query group in
13787         parsed URI.
13788         (FRAGMENT_GROUP) new constant representing index of fragment
13789         group in parsed URI.
13790         (getURIGroup) new static utility method.
13791         (parseURI) implemented.
13792         (quote) stub for new static utility method.
13793         (quoteAuthority) stub for new static utility method.
13794         (quoteHost) stub for new static utility method.
13795         (quotePath) stub for new static utility method.
13796         (quoteUserInfo) stub for new static utility method.
13797         (URI) implemented.
13798         (create) don't throw URISyntaxException. Implemented.
13799         (toString) implemented.
13801 2004-03-12  Michael Koch  <konqueror@gmx.de>
13803         * java/net/HttpURLConnection.java
13804         (getResponseCode): Fix another typo in javadoc.
13806 2004-03-11  Michael Koch  <konqueror@gmx.de>
13808         * java/util/logging/Level.java
13809         (parse): Use String.equals() instead of ==.
13811 2004-03-11  Michael Koch  <konqueror@gmx.de>
13813         * gnu/java/net/protocol/jar/Connection.java
13814         (getContentLength): New method.
13816 2004-03-11  Michael Koch  <konqueror@gmx.de>
13818         * gnu/java/net/PlainSocketImpl.java:
13819         Reformated to merge better with classpath's version.
13821 2004-03-11  Michael Koch  <konqueror@gmx.de>
13823         * java/util/Locale.java
13824         (getISO3Language): Use String.equals() instead of ==.
13825         (getISO3Country): Likewise.
13827 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
13829         * java/text/AttributedString.java
13830         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
13831         Use HashMap instead of Hashtable since value can be null, and
13832         you can not store a null value in a Hashtable.
13834 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
13836         * java/text/AttributedStringIterator.java
13837         (getAllAttributesKey): Return only keys concerned
13838         by the current iterator.
13839         (getAttributes): Use strict inequality for
13840         end_index.
13842 2004-03-11  Michael Koch  <konqueror@gmx.de>
13844         * java/net/HttpURLConnection.java:
13845         Fixed typo in javadoc.
13847 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
13849         * java/io/BufferedInputStream.java (marktarget): New field for max
13850         mark limit.
13851         (CHUNKSIZE): New constant for incremental mark buffer allocation.
13852         (mark): Use new fields.
13853         (read): Likewise.
13854         (read(byte[],int,int)): Likewise.
13855         (skip): Likewise.
13856         (refill): Likewise.
13858 2004-03-11  Mark Wielaard  <mark@klomp.org>
13860         * java/beans/BeanDescriptor.java (BeanDescriptor):
13861         Set the FeatureDescriptor programmatic name.
13863 2004-03-11  Michael Koch  <konqueror@gmx.de>
13865         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
13866         This file was was just copied form java/io/natFileDescriptorEcos.cc
13867         and never changed to compile correctly.
13869 2004-03-11  Michael Koch  <konqueror@gmx.de>
13871         * gnu/java/nio/PipeImpl.java
13872         (SourceChannelImpl): Made final.
13873         (read): Implemented.
13874         (SinkChannelImpl): Made final.
13875         (write): Implemented.
13877 2004-03-11  Michael Koch  <konqueror@gmx.de>
13879         * gnu/java/net/PlainDatagramSocketImpl.java:
13880         Reformated to match classpath's version more.
13882 2004-03-11  Michael Koch  <konqueror@gmx.de>
13884         * gnu/java/awt/peer/ClasspathFontPeer.java:
13885         Fixed javadoc to be correct xhtml.
13886         * gnu/java/awt/peer/gtk/GtkArgList.java
13887         (add): Use Boolean.valueOf() instead of new Boolean().
13889 2004-03-09  Michael Koch  <konqueror@gmx.de>
13891         * java/lang/Thread.java
13892         (runnable): Moved around.
13893         (daemon): Renamed from daemon_flag.
13894         (contextClassLoader): Renamed from context_class_loader.
13895         (Thread): Reordered constructors.
13896         (activeCount): Use group directly.
13897         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
13898         (holdsLock): Reworked javadoc.
13899         (setDaemon): Reworked.
13900         * java/lang/natThread.cc
13901         (destroy): Removed.
13903 2004-03-08  Anthony Green  <green@redhat.com>
13905         * Makefile.am: Build property resource files into libgcj.
13906         * Makefile.in: Rebuilt.
13907         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13908         java/util/regex/PatternSyntaxException.java,
13909         gnu/regexp/CharIndexed.java,
13910         gnu/regexp/CharIndexedCharArray.java,
13911         gnu/regexp/CharIndexedInputStream.java,
13912         gnu/regexp/CharIndexedReader.java,
13913         gnu/regexp/CharIndexedString.java,
13914         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
13915         gnu/regexp/REException.java,
13916         gnu/regexp/REFilterInputStream.java,
13917         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
13918         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
13919         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
13920         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
13921         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
13922         gnu/regexp/RETokenLookAhead.java,
13923         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
13924         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
13925         gnu/regexp/RETokenStart.java,
13926         gnu/regexp/RETokenWordBoundary.java,
13927         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
13929 2004-03-03  Per Bothner  <per@bothner.com>
13931         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
13932         Optimize when argument is a FileChannelImpl.
13933         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
13934         New native methods.
13935         * java/nio/channels/natChannels.cc:  New file for new native methods.
13936         * Makefile.am:  Update accordingly.
13938 2004-03-02  Jan Hubicka  <jh@suse.cz>
13940         * configure.host: Pass -fno-omit-frame-pointer for i386.
13941         * configure.in: Likewise.
13942         * configure: Regenerate.
13944 2004-03-01  Per Bothner  <per@bothner.com>
13946         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
13948 2004-02-29  Per Bothner  <per@bothner.com>
13950         * java/nio/channels/FileChannelImpl.java:  Moved to package
13951         gnu/java/nio/channels, since we need to refer to it from java.io.
13952         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
13953         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
13954         from java/nio/channels.  Don't depend on FileDescriptor.
13955         (in, out, err):  New static fields.
13956         (mode):  New field.
13957         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
13958         from FileDescriptor.
13959         (by):  Removed MappedByteBuffer field.
13960         (map):  New working implementation.
13961         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
13962         some code "ported" from natFileDescriptoPosix.cc.
13963         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
13964         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
13965         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
13966         Remove native methods.
13967         * Makefile.am, configure.in:  Updated accordingly.
13969         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
13970         (ch):  New FileChannelImpl field.  Update constructor to match.
13971         (releaseImpl):  Remove native method.  Instead ...
13972         (release):  Call unlock on channel.
13973         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
13975         * java/io/natFileDescriptorEcos.cc:  Remove file.
13976         * java/io/natFileDescriptorPosix.cc:  Remove file.
13977         * java/io/natFileDescriptorWin32.cc:  Remove file.
13978         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
13979         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
13980         (<init>(FileChannelImpl)):  New package-private constructor.
13981         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
13982         (available, close, read, skip):  Implement using FileChannelImpl.
13983         (getFD):  Allocate FileDescriptor if needed.
13984         (getChannel):  Is now trivial.
13985         * java/io/FileOutputStream.java:  Corresponding changes.
13986         * java/io/RandomAccessFile.java:  Corresponding changes.
13988         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
13989         unmapImpl):  New dummy methods, to be overridden by subclass.
13990         (finalize, isLoaded, load, force):  New methods.
13991         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
13992         Now works, at least for read mapping.
13994         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
13995         streams using FileChannelImpl, not FileDescriptor.
13996         * java/lang/natWin32Process.cc (startProcess):  Likewise.
13998 2004-02-28  Michael Koch  <konqueror@gmx.de>
14000         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
14001         wrong code.
14003 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
14005         * java/io/ObjectInputStream.java
14006         (readClassDescriptor): Keep elements of the mapping non null.
14007         (checkTypeConsistency): New method.
14008         (readFields): Fixed main loop and base logic. Small reindentation.
14009         * java/io/ObjectStreamField.java
14010         (lookupField): New method to update the field reference.
14011         (checkFieldType): New method.
14012         * java/io/ObjectStreamClass.java
14013         (setClass, setFields): Call lookupField when building the field
14014         database. Check the real field type.
14016 2004-02-28  Michael Koch  <konqueror@gmx.de>
14018         * java/nio/ByteOrder.java
14019         (nativeOrder): Use equals() to compare strings.
14021 2004-02-26  Michael Koch  <konqueror@gmx.de>
14023         * gnu/java/nio/FileLockImpl.java
14024         (finalize): Made protected.
14025         * java/nio/channels/FileChannel.java
14026         (MapMode.READ_ONLY): Made final.
14027         (MapMode.READ_WRITE): Made final.
14028         (MapMode.PRIVATE): Made final.
14029         * java/nio/channels/SocketChannel.java
14030         (open): Simplified code.
14031         * java/nio/channels/spi/AbstractSelectableChannel.java
14032         (registered): Unused, removed.
14033         (keyFor): Check channel is open, only locate key
14034         and not add a new one.
14035         (register): Don't delete attachments.
14037 2004-02-26  Michael Koch  <konqueror@gmx.de>
14039         * gnu/java/awt/ComponentDataBlitOp.java
14040         (INSTANCE): Made final.
14041         * gnu/java/awt/image/ImageDecoder.java:
14042         Reworked imports.
14043         (cm): Unused, removed.
14045 2004-02-26  Michael Koch  <konqueror@gmx.de>
14047         * gnu/java/nio/DatagramChannelImpl.java
14048         (send): Check if target address is resolved.
14050 2004-02-26  Michael Koch  <konqueror@gmx.de>
14052         * Makefile.am: Generate and install headers for inner classes in
14053         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14054         * Makefile.in: Regenerated.
14056 2004-02-24  Anthony Green  <green@redhat.com>
14058         * java/lang/StringBuffer.java: No need to NULL out remainder of
14059         buffer since ensureCapacity_unsynchronized will have done this for
14060         us.
14062 2004-02-20  Michael Koch  <konqueror@gmx.de>
14064         * gnu/java/net/protocol/jar/Handler.java
14065         (): Removed unneeded check for file != null. java.net.URL.getFile()
14066         returns an empty string but never null.
14068 2004-02-20  Michael Koch  <konqueror@gmx.de>
14070         * gnu/gcj/convert/Convert.java
14071         (main): Use equals() to compare strings.
14073 2004-02-20  Michael Koch  <konqueror@gmx.de>
14075         * javax/swing/AbstractButton.java: Made several constants final.
14076         (getRolloverSelectedIcon): Made public.
14077         (getSelectedIcon): Made public.
14079 2004-02-16  Per Bothner  <per@bothner.com>
14081         * java/nio/CharBufferImpl.java:  Inline super constructor.
14082         * java/nio/DoubleBufferImpl.java:  Likewise.
14083         * java/nio/FloatBufferImpl.java:  Likewise.
14084         * java/nio/IntBufferImpl.java:  Likewise.
14085         * java/nio/LongBufferImpl.java:  Likewise.
14086         * java/nio/ShortBufferImpl.java:  Likewise.
14087         * java/nio/CharBuffer.java:  Remove unused constructor.
14088         * java/nio/DoubleBuffer.java:  Likewise.
14089         * java/nio/FloatBuffer.java:  Likewise.
14090         * java/nio/IntBuffer.java:  Likewise.
14091         * java/nio/LongBuffer.java:  Likewise.
14092         * java/nio/ShortBuffer.java:  Likewise.
14093         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
14094         Fix buggy call to super constructor.
14095         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14096         * java/nio/FloatViewBufferImpl.java:  Likewise.
14097         * java/nio/IntViewBufferImpl.java:  Likewise.
14098         * java/nio/LongViewBufferImpl.java:  Likewise.
14099         * java/nio/ShortViewBufferImpl.java:  Likewise.
14101         * java/nio/ByteBuffer.java (endian):  Make non-private so other
14102         java.nio classes can inherit it.
14103         (<init>):  Don't bother clearing array_offset.
14104         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
14105         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
14106         Remove redundant test.
14108         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14109         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14110         Use new XxxViewBufferImpl constructors.
14111         * java/nio/MappedByteBufferImpl.java:  Likewise.
14112         * java/nio/DirectByteBufferImpl.java:  Likewise.
14114         * java/nio/ByteBufferImpl.java:  Remove one constructor.
14115         Inline super in remaining constructor.
14116         * java/nio/ByteBuffer.java:  Remove unused constructor.
14118         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
14120         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
14121         * java/nio/DirectByteBufferImpl.java (owner):  New field.
14122         (offset):  Remove unused field.
14123         (<init>):  Modify one and add another constructor.  Change callers.
14124         (allocateDirect):  Removed - not used.
14125         (getImpl, putImpl):  Make static and pass address explicitly,
14126         to make them useful for MappedByteBufferImpl.
14127         (get, put):  Check for underflow.  Modify for new getImpl.
14128         (getImpl):  New native method where target is array.
14129         (get(byte[],int,int)):  Use the above.
14130         (adjustAddress):  New static native method.
14131         (slice, duplicate, asReadOnly):  New implementations.
14132         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14133         adjustAddress):  New or updated native methods.
14135 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
14137         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14138         overflow of fieldmapping.
14140 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
14142         * javax/swing/undo/UndoManager.java: Re-written from scratch.
14144 2004-02-14  Per Bothner  <per@bothner.com>
14146         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14147         Set closed before calling implCloseChannel, as in the spec.
14149 2004-02-09  Graydon Hoare  <graydon@redhat.com>
14151         * javax/swing/ToggleButtonModel.java: Remove dead class.
14152         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14153         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14154         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14155         * Makefile.am: Update for new and removed files.
14156         * Makefile.in: Regenerate.
14158         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14159         * javax/swing/AbstractButton.java
14160         (AbstractButton): Initialize fields correctly in ctor.
14161         * javax/swing/JCheckbox.java
14162         (JCheckBox): Override painting flags.
14163         * javax/swing/DefaultButtonModel.java: Conform to sun.
14164         * javax/swing/JComponent.java (paint): Fill with background color
14165         if available.
14166         (processComponentKeyEvent)
14167         (processFocusEvent)
14168         (processKeyEvent)
14169         (processMouseMotionEvent): Remove event-consuming empty methods.
14170         (getUIClassID): Return "ComponentUI" not "JComponent"
14171         * javax/swing/JFrame.java: Remove some debugging chatter.
14172         (JFrame): Subscribe to window events.
14173         * javax/swing/JRadioButton.java
14174         (JRadioButton): Override painting flags.
14175         * javax/swing/JRootPane.java
14176         (JRootPane): Set background from UIDefaults.
14177         * javax/swing/JToggleButton.java
14178         (ToggleButtonModel): New inner class.
14179         (JToggleButton): Override layout alighment.
14180         * javax/swing/SwingUtilities.java:
14181         (getLocalBounds): Return width and height, not x and y.
14182         (calculateInnerArea): Use local bounds, not bounds.
14183         (layoutCompoundLabel): Provide overridden form.
14184         (layoutCompoundLabel): Correct bugs.
14185         * javax/swing/UIDefaults.java: Correct comment.
14186         * javax/swing/plaf/basic/BasicButtonUI.java:
14187         Move most logic into defaults, external listener.
14188         (paintIcon): Implement icon painting.
14189         (paint): Fix state painting to conform to changes in model.
14190         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14191         Remove most dead/wrong methods.
14192         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14193         * javax/swing/plaf/basic/BasicIconFactory.java:
14194         (DummyIcon): New class.
14195         (getMenuItemCheckIcon)
14196         (getMenuItemArrowIcon)
14197         (getMenuArrowIcon)
14198         (getCheckBoxMenuItemIcon)
14199         (getRadioButtonMenuItemIcon)
14200         (createEmptyFrameIcon): Return DummyIcons, not null.
14201         (getCheckBoxIcon): Implement an icon that looks like sun's.
14202         (getRadioButtonIcon): Implement an icon that looks like sun's.
14203         * javax/swing/plaf/basic/BasicLookAndFeel.java
14204         (initComponentDefaults): Fix impossible values, add some missing.
14205         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14206         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14207         Remove most dead/wrong methods.
14208         (icon): New field.
14209         (getDefaultIcon): New method.
14210         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14211         Remove most dead/wrong methods.
14212         * javax/swing/plaf/metal/MetalLookAndFeel.java
14213         (getDefaults): Return super.getDefaults(), not BasicDefaults.
14214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14215         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14216         Implement "clearing" as drawing, when on pixmap drawables.
14218         * javax/swing/JButton.java (getUIClassID):
14219         * javax/swing/JCheckBox.java (getUIClassID):
14220         * javax/swing/JEditorPane.java (getUIClassID):
14221         * javax/swing/JLabel.java (getUIClassID):
14222         * javax/swing/JList.java (getUIClassID):
14223         * javax/swing/JOptionPane.java (getUIClassID):
14224         * javax/swing/JPanel.java (getUIClassID):
14225         * javax/swing/JPasswordField.java (uiClassID):
14226         * javax/swing/JRadioButton.java (getUIClassID):
14227         * javax/swing/JRootPane.java (getUIClassID):
14228         * javax/swing/JScrollPane.java (getUIClassID):
14229         * javax/swing/JTabbedPane.java (getUIClassID):
14230         * javax/swing/JToggleButton.java (getUIClassID):
14231         * javax/swing/JTree.java (getUIClassID):
14232         * javax/swing/JViewport.java (getUIClassID):
14233         * javax/swing/text/JTextComponent.java (getUIClassID):
14234         Return "fooUI" not "Jfoo"
14236 2004-02-11  Michael Koch  <konqueror@gmx.de>
14238         * java/net/DatagramSocket.java
14239         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14240         Boolean object.
14241         (setBroadcast): Likewise.
14242         * java/net/MulticastSocket.java
14243         (setLoopbackMode): Likewise.
14244         * java/net/ServerSocket.java
14245         (setReuseAddress): Likewise.
14246         * java/net/Socket.java
14247         (setTcpNoDelay): Likewise.
14248         (setSoLinger): Likewise.
14249         (setOOBInline): Likewise.
14250         (setKeepAlive): Likewise.
14251         (setReuseAddress): Likewise.
14252         * java/net/URLConnection.java
14253         (setContentHandler): Replace == with equals().
14254         * java/net/URLStreamHandler.java
14255         (hostSEquals): Fix checking host addresses.
14256         (toExternalForm): Dont check protocol for null. We know already its
14257         not null.
14259 2004-02-10  David Jee  <djee@redhat.com>
14261         * java/awt/BorderLayout.java
14262         (calcCompSize): Invisible components get zero dimensions.
14263         * java/awt/Button.java
14264         (setLabel): Set actionCommand.
14265         * java/awt/Component.java
14266         (show): Invalidate component and parent container.
14267         (hide): Likewise.
14269 2004-02-10  David Jee  <djee@redhat.com>
14271         * java/awt/GridBagLayout.java
14272         (GridBagLayout): New private field, internalcomptable.
14273         (lookupInternalConstraints): New method.
14274         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14275         (GetLayoutInfo): Reimplement.
14276         (calcCellSizes): Ignore rows/columns with size 0.
14278 2004-02-10  Michael Koch  <konqueror@gmx.de>
14280         * gnu/java/awt/EmbeddedWindow.java
14281         (setHandle): Use java.awt.Component.getPeer() instead of
14282         java.awt.Component.peer directly.
14284 2004-02-10  David Jee  <djee@redhat.com>
14286         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14287         (gtkSetLabel): New native method definition.
14288         (setLabel): Use gtkSetLabel.
14289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14290         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14292 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
14294         * include/powerpc-signal.h: Revert 2004-01-21 change.
14295         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
14296         from syscall for ppc32 versions.
14298 2004-02-08  Per Bothner  <per@bothner.com>
14300         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
14301         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
14302         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
14303         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
14304         Pass ByteOrder parameter to most methods, since the underlying
14305         ByteBuffer's order isn't always what we should use.
14306         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
14307         * java/nio/DirectByteBufferImpl.java:  Likewise.
14308         Use ByteBufferHelper methods.
14309         * java/nio/MappedByteBufferImpl.java:  Likewise.
14310         (compact):  Use shiftDown.
14311         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
14312         (get, put):  Use ByteBufferHelper.
14313         (compact):  Use new shiftDown method.
14314         (duplicate(boolean)):  New helper method.
14315         (duplicate, asReadOnlyBuffer):  Use it.
14316         (order):  Return endian field.
14317         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14318         * java/nio/FloatViewBufferImpl.java:  Likewise.
14319         * java/nio/IntViewBufferImpl.java:  Likewise.
14320         * java/nio/LongViewBufferImpl.java:  Likewise.
14321         * java/nio/ShortViewBufferImpl.java:  Likewise.
14322         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
14323         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
14324         (compact):  Re-implement using shiftDown.
14326 2004-02-08  Andreas Jaeger  <aj@suse.de>
14328         * include/x86_64-signal.h: Fix typo.
14330 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
14332         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14333         qualifier to _regs.
14334         (HANDLE_DIVIDE_OVERFLOW): Likewise.
14336 2004-02-06  Michael Koch  <konqueror@gmx.de>
14338         * java/io/ObjectInputStream.java
14339         (currentClassLoader): Reverted to old version of this method.
14341 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
14343         * java/io/ObjectInputStream.java: Made all calls
14344         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14345         use cached info from ObjectStreamClass. (readClassDescriptor):
14346         Cache more information in ObjectStreamClass. (processResolution,
14347         readFields): Use cached info from ObjectStreamClass.
14348         (newObject): Throw exception instead of returning null for failure.
14349         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14350         setCharField, setDoubleField, setFloatField, setIntField,
14351         setLongField, setShortField, setObjectField, readObjectParams):
14352         Removed. (dumpElement, dumpElementln): Removed dump flag condition
14353         check.
14354         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14355         (setClass): Added call to cacheMethods() (findMethod): New method.
14356         (cacheMethods): New method. (ObjectStreamClass): Added call to
14357         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14358         AccessController.doPrivileged to invoke setAccessible.
14359         (readObjectMethod, readResolveMethod, realClassIsSerializable,
14360         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14361         New fields.
14362         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14363         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14364         isPrimitive): Made safe for cases where type == null.
14365         (setBooleanField, setByteField, setCharField, setShortField,
14366         setIntField, setLongField, setFloatField, setDoubleField,
14367         setObjectField): New methods.
14369 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
14371         * java/awt/Component.java (getFont): Return a default font
14372         instead of null.
14374         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14375         (Scrollbar (int, int, int, int, int)): Make default page
14376         increment 10.
14377         (setValues): Only call peer.setValues if one of the values has
14378         changed.
14379         (generateName): New method.
14380         (getUniqueLong): New method.
14381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14382         (range_scrollbar): Remove structure.
14383         (post_adjustment_event): Remove function.
14384         (post_change_event): Accept jobject argument.
14385         (create): Cast jints to gdoubles.  Round scrollbar values to the
14386         nearest integer.  Clamp min, max and value settings.
14387         (connectJObject): Connect hook to widget->window.
14388         (connectSignals): Remove range_scrollbar structure variables.
14389         Remove "move-slider" connection.  Pass global peer reference to
14390         "value-changed" callback.
14391         (setLineIncrement): Cast jint value to gdouble.
14392         (setPageIncrement): Likewise.
14393         (setValues): Likewise.  Clamp min, max and value settings.
14395 2004-02-05  Michael Koch  <konqueror@gmx.de>
14397         * javax/swing/AbstractCellEditor.java
14398         (getCellEditorValue): Removed.
14399         * javax/swing/Box.java: Reformated.
14400         (serialVersionUID): New field.
14401         * javax/swing/ButtonGroup.java:
14402         Removed some weird whitespace.
14403         * javax/swing/CellEditor.java: Reformated.
14404         * javax/swing/CellRendererPane.java
14405         (serialVersionUID): New field.
14406         (AccessibleCellRendererPaneserialVersionUID): New field.
14407         * javax/swing/DefaultListModel.java
14408         (serialVersionUID): New field.
14409         * javax/swing/JEditorPane.java
14410         (serialVersionUID): New field.
14411         (setPage): Throws IOException.
14412         (addHyperlinkListener): Implemented.
14413         (removeHyperlinkListener): Implemented.
14414         (getHyperlinkListener): New method.
14415         * javax/swing/JFileChooser.java
14416         (serialVersionUID): New field.
14417         (AccessibleJFileChooser.serialVersionUID): New field.
14418         (addActionListener): Implemented.
14419         (removeActionListener): Implemented.
14420         (getActionListeners): New method.
14421         * javax/swing/JFormattedTextField.java
14422         (serialVersionUID): New field.
14423         (AbstractFormatter.serialVersionUID): New field.
14424         (clone): Throws CloneNotSupportedException
14425         (setEditValid): Add missing argument.
14426         (stringToValue): Throws ParseExcpetion.
14427         (valueToString): Throws ParseException.
14428         (commitEdit): Throws ParseException.
14429         * javax/swing/JLabel.java
14430         (serialVersionUID): New field.
14431         * javax/swing/JList.java
14432         (serialVersionUID): New field.
14433         (addListSelectionListener): Reformated.
14434         (removeListSelectionListener): Reformated.
14435         (getListSelectionListeners): New method.
14436         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14437         Reformated.
14438         (serialVersionUID): New field.
14439         * javax/swing/table/AbstractTableModel.java
14440         (getValueAt): Removed.
14441         (getColumnCount): Removed.
14442         (getRowCount): Removed.
14444 2004-02-05  Michael Koch  <konqueror@gmx.de>
14446         * java/awt/datatransfer/DataFlavor.java
14447         (imageFlavor): Javadoc added.
14448         (javaJVMLocalObjectType): Fixed.
14450 2004-02-05  Michael Koch  <konqueror@gmx.de>
14452         * java/lang/Thread.java
14453         (Thread): Reordered.
14454         (setContextClassLoader): Fixed javadoc comment.
14455         (setPriority): Reordered.
14456         (yield): Reordered.
14457         (initialize_native): Reordered.
14458         (gen_name): Reordered.
14460 2004-02-05  Michael Koch  <konqueror@gmx.de>
14462         * java/lang/Thread.java: Reordered fields, reformated much code,
14463         no functional changes, some variables renamed, javadoc comments
14464         merged.
14466 2004-02-05  Michael Koch  <konqueror@gmx.de>
14468         * java/util/zip/Deflater.java,
14469         java/util/zip/DeflaterOutputStream.java,
14470         java/util/zip/GZIPInputStream.java:
14471         Reformated and javadoc comments merged from classpath.
14473 2004-02-05  Michael Koch  <konqueror@gmx.de>
14475         * gnu/java/nio/NIOServerSocket.java
14476         (impl): Unused, removed.
14477         * gnu/java/nio/SocketChannelImpl.java
14478         (finnishConnect): Don't throw NoConnectionPendingException if not
14479         connected or no connection pending.
14481 2004-02-02  Graydon Hoare  <graydon@redhat.com>
14483         * javax/swing/SwingUtilities.java: Many new functions.
14484         * java/awt/Container.java (LightweightDispatcher): Reimplement.
14485         * javax/swing/basic/BasicGraphicsUtils.java
14486         (getPreferredButtonSize): Start layout from top-left corner.
14488 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
14490         * java/awt/geom/AffineTransform.java:
14491         Corrected comments on the field definitions for
14492         m11 and m10.
14493         (shear): Fixed few errors that caused shear
14494         transformation to be performed incorrectly.
14495         (createInverse): Fixed to return correct
14496         inverse of the given matrix.
14498 2004-02-03  Tom Tromey  <tromey@redhat.com>
14500         * java/lang/natPosixProcess.cc (startProcess): Handle case where
14501         PATH or LD_LIBRARY_PATH is not set in parent environment.
14503 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
14505         * gnu/java/awt/peer/gtk/GtkListPeer.java,
14506         java/awt/BorderLayout.java, java/awt/CardLayout.java,
14507         java/awt/CheckboxGroup.java, java/awt/Choice.java,
14508         java/awt/Component.java, java/awt/Container.java,
14509         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14510         java/awt/LayoutManager2.java, java/awt/List.java,
14511         java/awt/Menu.java, java/awt/MenuBar.java,
14512         java/awt/MenuItem.java, java/awt/Polygon.java,
14513         java/awt/Rectangle.java, java/awt/ScrollPane.java,
14514         java/awt/Scrollbar.java, java/awt/TextArea.java,
14515         java/awt/TextField.java,
14516         java/awt/image/renderable/RenderContext.java,
14517         javax/swing/JApplet.java: Fix handling of alias methods, where a
14518         method has been deprecated in favour of a new one with the same
14519         funtion but a different name.  Put the method implementation in
14520         the deprecated method and have the new method call the
14521         deprecated one.  Make all other code call the new method.
14523 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
14525         * gnu/java/nio/DatagramChannelImpl.java
14526         (inChannelOperation): New field.
14527         (isInChannelOperation): New accessor.
14528         (setInChannelOperation): New modifier.
14529         (receive): Use capacity() - position() of destination
14530         buffer instead of remaining(). Set and reset our "in
14531         channel operation indicator" before and after delegating
14532         the receive to our datagram socket. Removed testing code.
14533         Update destination buffer's current position if it is
14534         backed by a byte array (hasArray() is true).
14535         (send): Set and reset our "in channel operation indicator"
14536         before and after delegating the send to our datagram socket.
14537         Removed testing code. Update source buffer's current position
14538         if it is backed by a byte array (hasArray() is true).
14539         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14540         Use capacity() - position() of destination buffer instead
14541         of remaining().
14542         * java/net/DatagramSocket.java (receive): Don't throw an
14543         IllegalBlockingModeException if we have a non-blocking
14544         channel which initiated this operation.
14545         (send): Likewise.
14547 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
14549         * configure.in: Add pkgconfig check for glib and gthread.
14550         * configure: Regenerate.
14552 2004-02-01  Michael Koch  <konqueror@gmx.de>
14554         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14555         arguments.
14556         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14557         * verify.cc (debug_print): Mark 'fmt' unused.
14559 2004-01-30  Michael Koch  <konqueror@gmx.de>
14561         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14562         * configure: Regenerated.
14563         * glib-2.0.m4: Removed.
14564         * gtk-2.0.m4: Removed.
14565         * libart.m4: Removed.
14566         * pkg.m4: New file.
14568 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
14570         * gnu/java/net/PlainSocketImpl.java
14571         (inChannelOperation): New field.
14572         (isInChannelOperation): New accessor.
14573         (setInChannelOperation): New modifier.
14574         * gnu/java/nio/ServerSocketChannelImpl.java
14575         (accept): Set and reset our server socket's PlainSocketImpl's
14576         "in channel operation" indicator before and after delegating
14577         the accept to our server socket.
14578         * gnu/java/nio/SocketChannelImpl.java
14579         (connect): Set and reset our socket's PlainSocketImpl's "in channel
14580         operation" indicator before and after delegating the operation to
14581         our socket.
14582         (read): Likewise.
14583         (write): Likewise.
14584         * java/net/ServerSocket.java (implAccept): Don't throw an
14585         IllegalBlockingModeException if we have a non-blocking
14586         channel which initiated this accept operation.
14587         * java/net/Socket.java (connect): Don't throw an
14588         IllegalBlockingModeException if we have a non-blocking
14589         channel which initiated this connect operation.
14590         * java/nio/channels/spi/AbstractSelectableChannel.java
14591         (configureBlocking): Only call implConfigureBlocking() if
14592         the desired blocking mode is different from our current one.
14594 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
14596         * java/io/BufferedReader.java (sbuf): New field.
14597         (readLine): Use String.valueOf instead of new String() as per
14598         Per Bothner's suggestion. Use instance sbuf field instead of a
14599         local StringBuffer instance.
14600         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14601         caller's buffer to refill().
14602         (read(void)): Pass our internal work buffer to refill if our
14603         input queue is empty.
14604         (refill): Changed return type to int. Use the specified buffer
14605         instead of our work buffer as per Bryce McKinlay's suggestion.
14606         Return the number of characters read or -1 for EOF.
14608 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14610         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14612 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14614         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14615         * Makefile.in: Re-generated.
14616         * gnu/awt/xlib/XFontPeer.java: New file.
14617         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14618         (setClip): Commented out debug printout.
14619         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14620         (getFontPeer): Return XFontPeer.
14621         (getLocalGraphicsEnvironment): New method.
14622         (getClasspathFontPeer): New method.
14623         (createFont): New method.
14625 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14627         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14628         return null.
14630 2004-01-29  Kim Ho  <kho@redhat.com>
14632         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14633         (gtkLayoutSetVisible): New method
14634         (setMenuBar): Hide layout before setting MenuBar
14635         and reshow it after.
14636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14637         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14639 2004-01-28  Michael Koch  <konqueror@gmx.de>
14641         * gnu/java/lang/ClassHelper.java
14642         (getPackagePortion): Removed.
14644 2004-01-28  Michael Koch  <konqueror@gmx.de>
14646         * javax/swing/JComponent.java
14647         (listenerList): Initalize globally.
14648         (ancestor_list): Removed.
14649         (veto_list): Removed.
14650         (change_list): Removed.
14651         (get_veto_list): Removed.
14652         (get_change_list): Removed.
14653         (get_ancestor_list): Removed.
14654         (removeAncestorListener): Reimplemented.
14655         (removePropertyChangeListener): Likewise.
14656         (removeVetoableChangeListener): Likewise.
14657         (addAncestorListener): Likewise.
14658         (addPropertyChangeListener): Likewise.
14659         (addVetoableChangeListener): Likewise.
14660         (getListeners): New method.
14661         (getAncestorListeners): Likewise.
14662         (getVetoableChangeListeners): Likewise.
14663         (fireVetoableChange): Throws PropertyVetoException.
14664         * javax/swing/JEditorPane.java
14665         (JEditorPane): Throws IOException.
14667 2004-01-28  David Jee  <djee@redhat.com>
14669         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14670         (create): Set the default foreground color to
14671         java.awt.SystemColor.windowText.
14673 2004-01-27  Michael Koch  <konqueror@gmx.de>
14675         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14676         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14677         Reindented to merge with classpath.
14679 2004-01-27  David Jee  <djee@redhat.com>
14681         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14682         (addExposeFilter): Handle GtkFramePeer separately.
14683         (removeExposeFilter): Likewise.
14685 2004-01-27  Michael Koch  <konqueror@gmx.de>
14687         * gnu/java/net/protocol/http/Connection.java
14688         (getOutputStream): Fixed typo.
14690 2004-01-27  Michael Koch  <konqueror@gmx.de>
14692         * java/lang/Class.java
14693         (getConstructor): Removed SecurityException from throws clause.
14694         (_getConstructors): Likewise.
14695         (getConstructors): Likewise.
14696         (getDeclaredConstructor): Likewise.
14697         (getDeclaredClasses): Likewise.
14698         (getDeclaredConstructors): Likewise.
14699         (getDeclaredField): Likewise.
14700         (getDeclaredMethod): Likewise.
14701         (getDeclaredMethods): Likewise.
14702         (getField): Likewise.
14703         (getMethod): Likewise.
14704         (getMethods): Likewise.
14706 2004-01-27  Kim Ho  <kho@redhat.com>
14708         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14709         (removeMenuBarPeer): Remove MenuBarPeer argument.
14710         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14711         (dispose): Call native method.
14712         * java/awt/Frame.java (setMenuBar): Create and remove
14713         MenuBar peers only if the Frame has a peer.
14714         (addNotify): Create the MenuBar peer if one exists.
14715         (removeNotify): Remove MenuBar peer if one exists.
14716         * java/awt/Menu.java: Fix imports.
14717         (addNotify): Don't use full class name.
14718         (removeNotify): Call removeNotify on all children.
14719         * java/awt/MenuBar.java (removeNotify): Call
14720         removeNotify on all children.
14721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14722         (removeMenuBarPeer): Remove MenuBarPeer argument.
14723         Iterate through children to find the Frame's MenuBar.
14724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14725         New file.
14726         (dispose): Remove references to the MenuComponent.
14728 2004-01-27  Michael Koch  <konqueror@gmx.de>
14730         * javax/swing/AbstractCellEditor.java: Reformated.
14731         * javax/swing/DefaultListSelectionModel.java
14732         (listenerList): Made protected.
14733         (addListSelectionListener): Javadoc added.
14734         (removeListSelectionListener): Likewise.
14735         (getListeners): Likewise.
14736         (getListSelectionListeners): Likewise.
14737         * javax/swing/JComboBox.java: Merged copyright year.
14738         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14740 2004-01-26  Andrew Haley  <aph@redhat.com>
14742         * javax/swing/table/JTableHeader.java: Extend JComponent
14744 2004-01-26  Kim Ho  <kho@redhat.com>
14746         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14747         Fix spacing.
14749 2004-01-26  Kim Ho  <kho@redhat.com>
14751         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14752         method.
14753         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14754         height and let the Layout Managers readjust anything that
14755         needs to move.
14756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14757         (moveLayout): New method. Shift everything in the Gtk
14758         layout in the Y direction by an offset.
14760 2004-01-26  David Jee  <djee@redhat.com>
14762         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14763         (handleEvent): Implemented. Handles PaintEvents.
14764         (paint): Implemented. Use GTK native methods to queue updates
14765         for this heavyweight peer.
14766         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14767         (handleEvent): Removed.
14768         * java/awt/Component.java
14769         (paint): Implemented. Explictly paint the heavyweight peer.
14770         (update): Clear the background for heavyweight components.
14771         (paintAll): No need to call peer.paint() anymore.
14772         (processEvent): Don't process PaintEvents here. It's now done in
14773         the peer's handleEvent().
14774         (processPaintEvent): Removed.
14775         * java/awt/Container.java
14776         (paint): No need to call super.paint(). Visit heavyweight
14777         children as well.
14778         (update): Don't clear the background here.  It's done in
14779         Component.update().
14780         (visitChildren): Added check to not recurse into Containers.
14781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14782         (filter_expose_event_handler): New method.  Filter unwanted
14783         expose events while painting heavyweight peers.
14784         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14785         New method. Connect filter and block pre_event_handler.
14786         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14787         New method. Disconnect filter and unblock pre_event_handler.
14788         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
14789         New method. Invalidate and update given area.
14790         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14791         (pre_event_handler): Add checks for unwanted expose events.
14793 2004-01-26  David Jee  <djee@redhat.com>
14795         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14796         (find_bg_color_widget): For GtkButton, return its child.
14798 2004-01-26  Kim Ho  <kho@redhat.com>
14800         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
14801         private.
14802         (setMenuBar): Grab MenuBar height and change insets.
14803         (setBounds): Account for MenuBar height.
14804         (postInsetsChangedEvent): Ditto.
14805         (postSizeAllocateEvent): Remove.
14806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14807         (menubar_resize_cb): Remove
14808         (setMenuBarPeer): Remove callback.
14809         (getMenuBarHeight): Use size requisition instead of
14810         allocation.
14812 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14814         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
14815         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
14816         when peer is null.
14817         (setColumns): Remove FIXME -- peer will retrieve number of
14818         columns by calling getColumns.
14819         (setRows): Likewise for number of rows.
14820         (next_text_number): New field.
14821         (paramString): Fix param string.
14822         (generateName): New method.
14823         (getUniqueLong): New method.
14825 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14827         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
14828         image observer of image loading status.
14829         (getImage (String)): Start image production.
14830         (getImage (URL)): Likewise.
14832 2004-01-25  Michael Koch  <konqueror@gmx.de>
14834         * java/lang/Class.java: Imports reworked, reformated.
14835         (Class): Javadoc added.
14836         (forName): Likewise.
14837         (getClasses): Likewise.
14838         (getClassLoader): Likewise.
14839         (getComponentType): Likewise.
14840         (getConstructor): Likewise.
14841         (getConstructors): Likewise.
14842         (getDeclaredConstructor): Likewise.
14843         (getDeclaredClasses): Likewise.
14844         (getDeclaredConstructors): Likewise.
14845         (getDeclaredField): Likewise.
14846         (getDeclaredMethod): Likewise.
14847         (getDeclaredMethods): Likewise.
14848         (getDeclaringClass): Likewise.
14849         (getField): Likewise.
14850         (getInterfaces): Likewise.
14851         (getMethod): Likewise.
14852         (getMethods): Likewise.
14853         (getModifiers): Likewise.
14854         (getName): Likewise.
14855         (getResource): Likewise.
14856         (getResourceAsStream): Likewise.
14857         (getSigners): Likewise.
14858         (setSigners): Likewise.
14859         (getSuperclass): Likewise.
14860         (isArray): Likewise.
14861         (isAssignableFrom): Likewise.
14862         (isInstance): Likewise.
14863         (isInterface): Likewise.
14864         (isPrimitive): Likewise.
14865         (newInstance): Likewise.
14866         (getProtectionDomain): Likewise.
14867         (toString): Likewise.
14868         (Class): Moved.
14869         (initializeClass): Likewise.
14870         (finalize): Likewise.
14872 2004-01-24  Michael Koch  <konqueror@gmx.de>
14874         * gnu/java/net/protocol/jar/Connection.java
14875         (hdrHash): Removed.
14876         (hdrVec): Removed.
14877         (gotHeaders): Removed.
14878         (getHeaderField): Removed.
14879         (getHeaderFields): Removed.
14880         (getHeaderFieldKey): Removed.
14881         (getKey): Removed.
14882         (getField): Removed.
14883         (getHeaders): Removed.
14885 2004-01-24  Michael Koch  <konqueror@gmx.de>
14887         * Makefile.am: Added library version to gtk peer lib.
14888         * Makefile.in: Regenerated.
14890 2004-01-24  Michael Koch  <konqueror@gmx.de>
14892         * java/util/zip/InflaterInputStream.java: Merged class documentation
14893         with classpath.
14895 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
14897         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
14898         header.  For __powerpc64__ provide the default-signal.h definitions
14899         for now.
14900         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
14901         instead of the dummy definitions.
14902         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
14903         (powerpc64*-*): Remove with_libffi_default.
14904         Only add -mminimal-toc for 64-bit compilations.
14905         * configure.in: Use powerpc-signal.h on powerpc64 as well.
14906         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
14907         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
14908         * configure: Rebuilt.
14910 2004-01-23  Michael Koch  <konqueror@gmx.de>
14912         * gnu/java/nio/FileLockImpl.java: Compile fixes.
14914 2004-01-23  Michael Koch  <konqueror@gmx.de>
14916         * java/lang/VMClassLoader.java: Reworked imports.
14918 2004-01-23  Michael Koch  <konqueror@gmx.de>
14920         * javax/swing/AbstractAction.java: Reformated.
14922 2004-01-23  Michael Koch  <konqueror@gmx.de>
14924         * java/text/CollationElementIterator.java:
14925         (setText): New method.
14927 2004-01-23  Michael Koch  <konqueror@gmx.de>
14929         * gnu/java/nio/FileLockImpl.java:
14930         Fixed filename in copyright.
14931         (released): Removed.
14932         (finalize): New method.
14933         * gnu/java/nio/natFileLockImpl.cc
14934         (releaseImpl): Implemented.
14935         * java/nio/channels/FileChannelImpl.java:
14936         Reworked imports.
14937         (lock): Implemented.
14938         (lockImpl): New method.
14939         (tryLock): Implemented.
14940         (tryLockImpl): New method.
14941         * java/nio/channels/natFileChannelImpl.cc
14942         (lockImpl): New method.
14943         (tryLockImpl): New method.
14945 2004-01-23  Michael Koch  <konqueror@gmx.de>
14947         * java/io/FileDescriptor.java
14948         (lock): New method.
14949         (tryLock): New method.
14950         (unlock): New method.
14951         * java/io/natFileDescriptorEcos.cc
14952         (lock): New method.
14953         (tryLock): New method.
14954         (unlock): New method.
14955         * java/io/natFileDescriptorPosix.cc
14956         (lock): New method.
14957         (tryLock): New method.
14958         (unlock): New method.
14959         * java/io/natFileDescriptorWin32.cc
14960         (lock): New method.
14961         (tryLock): New method.
14962         (unlock): New method.
14964 2004-01-23  Michael Koch  <konqueror@gmx.de>
14966         * java/io/FileDescriptor.java
14967         (sync): Moved around, added javadoc.
14968         (valid): Likewise.
14969         (open): Likewise.
14970         (write): Likewise.
14971         (close): Likewise.
14972         (setLength): Likewise.
14973         (seek): Likewise.
14974         (getLength): Likewise.
14975         (getFilePointer): Likewise.
14976         (read): Likewise.
14977         (available): Likewise.
14978         (finalize): Likewise.
14980 2004-01-23  Michael Koch  <konqueror@gmx.de>
14982         * javax/swing/AbstractAction.java: Reformated.
14983         (getPropertyChangeListeners): New method.
14984         * javax/swing/AbstractCellEditor.java: Reformated.
14985         (getCellEditorListeners): New method.
14986         * javax/swing/DefaultListSelectionModel.java
14987         (listenerList): New field.
14988         (listeners): Removed.
14989         (get_listeners): Removed.
14990         (addListSelectionListener): Rewritten.
14991         (removeListSelectionListener): Rewritten.
14992         (getListSelectionListeners): New method.
14993         (getListeners): New method.
14994         * javax/swing/JComboBox.java: Imports reworked.
14995         (addActionListener): Implemented.
14996         (removeActionListener): Implemented.
14997         (addItemListener): Implemented.
14998         (removeItemListener): Implemented.
14999         (addPopupMenuListener): Implemented.
15000         (removePopupMenuListener): Implemented.
15001         (getActionListeners): New method.
15002         (getItemListeners): New method.
15003         (getPopupMenuListeners): New method.
15005 2004-01-23  Michael Koch  <konqueror@gmx.de>
15007         * gnu/java/net/protocol/http/Connection.java
15008         (connect): Don't initialize bufferedOutputStream if not needed.
15009         (sendRequest): Set property for content length if content is present.
15010         Write content only if present.
15011         (getOutputStream): Check if already connected, dont connect,
15012         initalize bufferedOutputStream if needed.
15014 2004-01-23  Michael Koch  <konqueror@gmx.de>
15016         * java/io/FileDescriptor.java
15017         (in, out, err): Added javadoc.
15018         (static): Merged loading code.
15019         (fd, position): Moved around.
15021 2004-01-23  Michael Koch  <konqueror@gmx.de>
15023         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15024         New file.
15026 2004-01-23  Michael Koch  <konqueror@gmx.de>
15028         * java/lang/Class.java,
15029         java/lang/Object.java,
15030         java/lang/Thread.java: Merged copyright with classpath.
15032 2004-01-23  Michael Koch  <konqueror@gmx.de>
15034         * java/io/FileDescriptor.java: Merged copyright with classpath to
15035         start merging this class.
15037 2004-01-22  Tom Tromey  <tromey@redhat.com>
15039         PR libgcj/13107:
15040         * testsuite/libjava.lang/pr13107_2.xfail: New file.
15041         * testsuite/libjava.lang/pr13107_3.xfail: New file.
15042         * testsuite/libjava.lang/pr13107_3.java: New file.
15043         * testsuite/libjava.lang/pr13107_3.out: New file.
15044         * testsuite/libjava.lang/pr13107_2.java: New file.
15045         * testsuite/libjava.lang/pr13107_2.out: New file.
15046         * testsuite/libjava.lang/pr13107.java: New file.
15047         * testsuite/libjava.lang/pr13107.out: New file.
15048         * verify.cc (jsr_ptrs): Removed.
15049         (entry_points): Likewise.
15050         (struct subr_info): Likewise.
15051         (struct subr_entry_info): Likewise.
15052         (type_val::unused_by_subroutine_type): Likewise.
15053         (type::merge): Don't handle unused_by_subroutine_type.
15054         (type::print): Likewise.
15055         (state::flags): Removed.
15056         (state::subroutine): Likewise.
15057         (state::seen_subrs): Likewise.
15058         (state::NO_STACK): Likewise.
15059         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15060         (state): Updated all methods.
15061         (state::clean_subrs): Removed.
15062         (state::state): Removed `ret_semantics' flag.
15063         (state::copy): Likewise.
15064         (state::add_subr): Removed.
15065         (state::enter_subroutine): Likewise.
15066         (type::set_return_address): New method.
15067         (handle_jsr_insn): Set return address on the type.  Always
15068         invalidate PC after call.
15069         (check_nonrecursive_call): Removed.
15070         (~_Jv_BytecodeVerifier): Updated.
15071         (branch_prepass): Removed special handling of jsr.
15072         (note_branch_target): Likewise.
15073         (get_subroutine): Removed.
15074         (state::merge): Don't merge subroutines and don't handle
15075         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
15076         (state::note_variable): Removed.
15077         (state::is_unmerged_ret_state): Likewise.
15078         (state::print): Updated.
15079         (set_variable): Likewise.
15080         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
15081         and jsr_semantics arguments.  Updated for new reverification
15082         list.
15083         (pop_jump): Rewrote.
15084         (construct_primitive_array_type): Updated.
15085         (state::next): Removed.
15086         (INVALID_STATE): New define.
15087         (state::INVALID): Removed.
15088         (state::NO_NEXT): New value.
15089         (state::pc, state::next): New fields.
15090         (state::get_pc): New method.
15091         (next_verify_pc): Removed.
15092         (next_verify_state): New field.
15093         (verify_instructions_0): Always check for falling off end.
15094         (linked): New type.
15095         (linked_utf8): Removed.
15096         (states): Changed type.
15097         (type::state_mergeable_p): New method.
15098         (state::state_mergeable_p): Likewise.
15099         (handle_ret_insn): Removed most code.
15100         (state::reverify): New method.
15101         (add_new_state): Likewise.
15102         (state::set_pc): Likewise.
15104 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
15106         PR java/13733
15107         * testsuite/libjava.compile/PR13733.java: New file.
15108         * testsuite/libjava.compile/PR13733.xfail: New file.
15110 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
15111             Michael Koch  <konqueror@gmx.de>
15113         * javax/swing/table/DefaultTableCellRenderer.java
15114         (DefaultTableCellRenderer): Added javadoc for the class and for
15115         the constructor, Border instance, create an EmptyBorder.
15116         (UIResource): Removed the comment at the end of the class
15117         (setForeground): New method.
15118         (setBackground): New method.
15119         (updateUI): New method.
15120         (getTableCellRendererComponent): Rewritten with the help of
15121         dvholten and Stephane Meslin-Weber.
15122         (validate): New method.
15123         (repaint): New method.
15124         (firePropertyChange): New method.
15125         (setValue): New method.
15127 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
15129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15130         (connectJObject): Replace printf calls with g_assert statements.
15131         Move property-notify-event signal connection to ...
15132         (connectSignals): Connect property-notify-event signal.  Iterate
15133         through the vbox's children to find layout.
15135 2004-01-22  Graydon Hoare  <graydon@redhat.com>
15137         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
15138         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15139         Predicate static initialization on GtkToolkit.useGraphics2D().
15140         * java/awt/Component.java (processPaintEvent): Consume event.
15141         * javax/swing/AbstractButton.java: Reimplement, document.
15142         * javax/swing/DefaultButtonModel.java: Reimplement, document.
15143         * javax/swing/JComponent.java (paint): Use double buffer.
15144         (listenerList): Enable member.
15145         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15146         * javax/swing/JToggleButton.java
15147         (JToggleButton): Modify model constructor.
15148         * javax/swing/SwingUtilities.java
15149         (layoutCompoundLabel): Adjust arithmetic.
15150         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15151         * javax/swing/plaf/basic/BasicGraphicsUtils.java
15152         (getPreferredButtonSize): Include margins in calculation.
15153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15154         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15155         Receive up events from subordinate layout component.
15157 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
15159         * java/awt/Component.java (show): Set visible to true before
15160         showing the peer.
15162 2004-01-21  Kim Ho  <kho@redhat.com>
15164         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15165         Fix comments.
15166         (removeMenuBarPeer): Make package private.
15167         (setMenuBarPeer): Make package private.
15168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15169         (menubar_resize_cb): Mark attributes unused.
15170         (getMenuBarHeight): ditto.
15172 2004-01-21  David Jee  <djee@redhat.com>
15174         * java/awt/Container.java
15175         (LightweightDispatcher.handleEvent): Add an extra check to avoid
15176         dispatching MOUSE_ENTERED event twice. Translate the point for
15177         the mouse event target before dispatching the event.
15179 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
15181         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15182         lib_org_w3c_dom_la_LDFLAGS): New.
15183         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15184         * Makefile.in: Rebuilt.
15186 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15188         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15189         Calculate proper offsets for heavyweight components packed in
15190         lightweight containers.
15192         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15193         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15194         (native create): Add width parameter.
15195         (create): Calculate text entry width based on current font's
15196         metrics and number of columns.  Set TextField's font if not
15197         already set.  Call native create.
15198         (gtkEntryGetBorderWidth): New native method.
15199         (gtkEntryGetSize): Remove method.
15200         (getMinimumSize): Call minimumSize.
15201         (getPreferredSize): Call preferredSize.
15202         (minimumSize): Calculate minimum size based on backing
15203         GtkEntry's borders, font metrics and number of columns.
15204         (preferredSize): Likewise for preferred size.
15205         (get_border_width): New static function.
15207         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15208         Override GtkWindowPeer's setResizable method to account for menu
15209         bar height when setting the frame's size.
15211 2004-01-19  Matthias Klose  <doko@debian.org>
15213         * libtool-version: Increased `current' to 6.
15215 2004-01-19  Kim Ho  <kho@redhat.com>
15217         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15218         (connectJObject): Iterate through the vbox's children to find layout.
15220 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15222         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15223         isDispatchThread method to replace wrong test condition.
15225 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15227         * java/awt/EventQueue.java (pop): Prevent racing condition to add
15228         events to the queue out of order by acquiring locks in the proper
15229         order and not by releasing one before acquiring the other.
15231 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15233         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15234         visible so that dialog can be reused.
15236 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15238         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15239         events may be handled by any queue in the stack.
15241 2004-01-19  Kim Ho  <kho@redhat.com>
15243         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15244         MenuBarPeer parameter.
15245         (removeMenuBarPeer): New native method.
15246         (setMenuBar): Call remove if menu bar is null. Adjust insets
15247         appropriately.
15248         (postSizeAllocateEvent): New method. Called when menu bar size is
15249         allocated. Adjust insets and redo layout.
15250         (GtkFramePeer): Set menu bar during frame creation.
15251         (postConfigureEvent): Adjust position and size to accomodate
15252         menu bar.
15253         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15254         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15255         (addNotify): Create the peer if it doesn't exist and call addNotify
15256         for the menu's items.
15257         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15258         * java/awt/MenuItem.java (addNotify): Create the peer if it
15259         doesn't exist.
15260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15261         (removeMenuBarPeer): New method. Remove menu bar on the current
15262         frame.
15263         (setMenuBarPeer): Add the menu bar to the current frame and the
15264         callback for size-allocate events on the menu bar.
15265         (getMenuBarHeight): Add menu bar parameter.
15266         (menubar_resize_cb): New callback method for postSizeAllocate events.
15268         Also: Fix indentation on last ChangeLog entry.
15270 2004-01-16  Kim Ho  <kho@redhat.com>
15272         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15273         (gtkWidgetGetDimensions): Remove.
15274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15275         (gtkWidgetGetDimensions): Remove.
15277 2004-01-16  Tom Tromey  <tromey@redhat.com>
15279         * java/awt/Container.java: Typo and indentation fixes.
15281         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15282         * java/lang/natVMClassLoader.cc: ...here.  New file.
15283         * Makefile.in: Rebuilt.
15284         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15286 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15289         Discard GDK_ENTER_NOTIFY related to ungrabs.
15291 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15293         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15294         is called for an intermediate queue.
15296 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
15298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15299         (window_property_changed_cb): Set id_set.
15301 2004-01-16  Kim Ho  <kho@redhat.com>
15303         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15304         it is a FileDialog and has dimensions of 0 by 0, then the initial
15305         size is set to size request plus insets.
15306         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15307         (gtkWidgetGetDimensions): Override method.
15308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15309         (gtkWidgetGetDimensions): Override method. Returns size request plus
15310         insets.
15312 2004-01-16  Andrew Haley  <aph@redhat.com>
15314         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15315         * sysdep/i386/locks.h: Likewise.
15317 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15319         * java/awt/EventDispatchThread.java (run): Stop running when
15320         interrupted.
15321         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15322         Reset the queue after transferring its contents.
15323         (push): Start a new dispatch thread if none is running.
15325 2004-01-16  Olga Rodimina <rodimina@redhat.com>
15327         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15328         (doPolygon): set fill rule of polygon to
15329         WIND_EVEN_ODD by default.
15331 2004-01-15  Olga Rodimina <rodimina@redhat.com>
15333         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15334         Implemented rendering hints related methods.
15335         (getDefaultHints): New helper method. Returns
15336         default rendering hints.
15337         (walkPath): changed to normalize path if
15338         the KEY_STROKE_CONTROL key is in "normalize" mode.
15339         (draw3DRect): changed coordinates of rectangle by +0.5
15340         if in "normalize" mode.
15342 2004-01-15  Tom Tromey  <tromey@redhat.com>
15344         * Makefile.in: Rebuilt.
15345         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15346         (%.lo: %.java) Filter out StackTrace.lo.
15348 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
15350         * configure.in: Add in AC_PREREQ(2.13)
15351         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete
15352         FIXME comment.
15354 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
15355             Tom Tromey  <tromey@redhat.com>
15357         PR libgcj/12001:
15358         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15359         array to superclass.
15360         (init): Changed interface; add URLs here.
15361         (initialize): New static method.
15362         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15363         (_Jv_RunMain): ... not here.
15365 2004-01-14  Michael Koch  <konqueror@gmx.de>
15367         * java/text/MessageFormat.java:
15368         Added descriptions to exceptions.
15369         This fixes PR libgcj/2429.
15371 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15373         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15374         (push): Make sure push is performed at the top of the thread stack.
15376 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15378         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15379         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15380         (native create): Add width and height parameters.  Set text
15381         view's size request according to new parameters.
15382         (create): Calculate text view size based on current font's
15383         metrics and number of rows and columns.  Set TextArea's font if
15384         not already set.  Call native create.
15385         (getMinimumSize): Call minimumSize.
15386         (getPreferredSize): Call preferredSize.
15387         (getHScrollbarHeight): New method.
15388         (getVScrollbarWidth): New method.
15389         (minimumSize): Calculate minimum size based on scrollbar
15390         visibility, scrollbar sizes, font metrics and number of rows and
15391         columns.
15392         (preferredSize): Likewise for preferred size.
15393         (gtkTextGetSize): Remove method.
15395 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15397         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15398         (initializeInsets): Remove method.
15399         (GtkComponentPeer): Initialize insets field.  Remove call to
15400         initializeInsets.
15401         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15402         Remove method.
15403         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15404         Remove method.
15405         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15406         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15407         (latestInsets): Remove field.
15408         (native create): Add insets parameter.  Call
15409         window_get_frame_extents.  Set the window's default size and
15410         size request based on its frame extents.
15411         (create): Initialize insets.
15412         (postInsetsChangedEvent): New method.
15413         (postConfigureEvent): Remove parameters top, left, bottom,
15414         right.  Remove insets-related logic.
15415         (connectJObject): Handle property-notify-event.
15416         (window_get_frame_extents, request_frame_extents,
15417         property_notify_predicate, window_property_changed_cb): New
15418         static functions.
15419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15420         (pre_event_handler): Remove insets-related logic for configure
15421         events.
15422         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15423         Update postConfigureEvent signature.
15425 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15427         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15428         to handle Window "Closing" events.
15430 2004-01-13  David Jee  <djee@redhat.com>
15432         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15433         (setBackground): New method. Children with no explicitly-set
15434         background will be repainted with the parent container's new
15435         background color.
15437 2004-01-13  David Jee  <djee@redhat.com>
15439         * Makefile.am: Add BitwiseXORComposite.java.
15440         * Makefile.in: Regenerated.
15441         * gcj/Makefile.in: Regenerated.
15442         * include/Makefile.in: Regenerated.
15443         * testsuite/Makefile.in: Regenerated.
15445 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15447         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15448         not show modal dialogs twice and so that it allows showing a modal
15449         dialog from another modal dialog.
15451 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15453         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15454         and run secondary dispatch thread to process event queue while this
15455         thread is blocked.
15457 2004-01-12  Graydon Hoare  <graydon@redhat.com>
15459         * gnu/java/awt/gtk/GdkGraphics2D.java
15460         (static): Check GtkToolkit before initializing static state.
15461         (Graphics2D): Don't construct transform with 0.5 unit offset.
15463 2004-01-12  Sascha Brawer  <brawer@dandelis.ch>
15465         * gnu/java/awt/BitwiseXORComposite.java: Add.
15466         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15467         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15468         (BitwiseXORComposite): Remove inner class.
15470 2004-01-11  Michael Koch  <konqueror@gmx.de>
15472         * gnu/java/lang/reflect/TypeSignature.java
15473         (getEncodingOfClass): Documentation fixed.
15474         (getClassForEncoding): Give class loader to Class.forName().
15475         Documentation fixed.
15477 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
15479         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15481 2004-01-11  Michael Koch  <konqueror@gmx.de>
15483         * javax/swing/undo/StateEditable.java
15484         (RCSID): Removed redundant modifiers.
15486 2004-01-10  Michael Koch  <konqueror@gmx.de>
15488         * javax/print/attribute/EnumSyntax.java
15489         (getStringTable): Made protected.
15490         (getEnumValueTable): Likewise.
15491         * javax/print/attribute/standard/JobKOctetsProcessed.java
15492         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15493         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15494         (JobMediaSheetsCompleted): Made class final.
15495         * javax/print/attribute/standard/OutputDeviceAssigned.java
15496         (getName): Fixed typo.
15497         * javax/print/attribute/standard/RequestingUserName.java
15498         (serialVersionUID): Fixed value.
15500 2004-01-10  Michael Koch  <konqueror@gmx.de>
15502         * javax/swing/plaf/basic/BasicButtonUI.java,
15503         javax/swing/plaf/basic/BasicCheckBoxUI.java,
15504         javax/swing/plaf/basic/BasicListUI.java,
15505         javax/swing/plaf/basic/BasicOptionPaneUI.java,
15506         javax/swing/plaf/basic/BasicPanelUI.java,
15507         javax/swing/plaf/basic/BasicRadioButtonUI.java,
15508         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15509         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15510         javax/swing/plaf/basic/BasicViewportUI.java:
15511         Fixed import statements.
15513 2004-01-10  Michael Koch  <konqueror@gmx.de>
15515         * gnu/java/awt/image/ImageDecoder.java
15516         (produce): Made public.
15517         * gnu/java/awt/peer/GLightweightPeer.java,
15518         gnu/java/awt/peer/gtk/GtkToolkit.java:
15519         Reformated.
15521 2004-01-10  Michael Koch  <konqueror@gmx.de>
15523         * javax/swing/JRadioButtonMenuItem.java,
15524         javax/swing/JSeparator.java,
15525         javax/swing/JSplitPane.java,
15526         javax/swing/JTextPane.java,
15527         javax/swing/JToolBar.java,
15528         javax/swing/ListCellRenderer.java,
15529         javax/swing/ListModel.java,
15530         javax/swing/MenuElement.java,
15531         javax/swing/OverlayLayout.java,
15532         javax/swing/ProgressMonitor.java,
15533         javax/swing/ProgressMonitorInputStream.java,
15534         javax/swing/Renderer.java,
15535         javax/swing/RootPaneContainer.java,
15536         javax/swing/Scrollable.java,
15537         javax/swing/SingleSelectionModel.java,
15538         javax/swing/ToolTipManager.java,
15539         javax/swing/ViewportLayout.java,
15540         javax/swing/event/DocumentEvent.java,
15541         javax/swing/event/SwingPropertyChangeSupport.java,
15542         javax/swing/event/TreeSelectionEvent.java,
15543         javax/swing/event/UndoableEditEvent.java,
15544         javax/swing/text/AbstractDocument.java,
15545         javax/swing/text/AttributeSet.java,
15546         javax/swing/text/Caret.java,
15547         javax/swing/text/ComponentView.java,
15548         javax/swing/text/DefaultCaret.java,
15549         javax/swing/text/DefaultEditorKit.java,
15550         javax/swing/text/Document.java,
15551         javax/swing/text/EditorKit.java,
15552         javax/swing/text/GapContent.java,
15553         javax/swing/text/Keymap.java,
15554         javax/swing/text/MutableAttributeSet.java,
15555         javax/swing/text/PlainEditorKit.java,
15556         javax/swing/text/Segment.java,
15557         javax/swing/text/Style.java,
15558         javax/swing/text/StyledDocument.java,
15559         javax/swing/text/StyledEditorKit.java,
15560         javax/swing/text/TextAction.java,
15561         javax/swing/text/View.java: Fixed import statements.
15563 2004-01-08  Graydon Hoare  <graydon@redhat.com>
15565         * javax/swing/JLayeredPane.java: Rewrite to accomodate
15566         djee@redhat.com's recent inverse ordering of Container elements.
15568 2004-01-09  Michael Koch  <konqueror@gmx.de>
15570         * gnu/java/lang/ArrayHelper.java
15571         (equalsArray): Removed.
15573 2004-01-09  Andrew Haley  <aph@redhat.com>
15575         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15576         a Utf8Const field before looking at its class.
15578 2004-01-09  Michael Koch  <konqueror@gmx.de>
15580         * javax/print/attribute/standard/DocumentName.java,
15581         javax/print/attribute/standard/JobHoldUntil.java,
15582         javax/print/attribute/standard/JobMessageFromOperator.java,
15583         javax/print/attribute/standard/JobName.java,
15584         javax/print/attribute/standard/JobOriginatingUserName.java,
15585         javax/print/attribute/standard/OutputDeviceAssigned.java,
15586         javax/print/attribute/standard/PrinterInfo.java,
15587         javax/print/attribute/standard/PrinterLocation.java,
15588         javax/print/attribute/standard/PrinterMakeAndModel.java,
15589         javax/print/attribute/standard/PrinterMessageFromOperator.java,
15590         javax/print/attribute/standard/PrinterName.java,
15591         javax/print/attribute/standard/RequestingUserName.java: New files.
15592         * Makefile.am (javax_source_files): Added new files.
15593         * Makefile.in: Regenerated.
15595 2004-01-09  Michael Koch  <konqueror@gmx.de>
15597         * javax/swing/AbstractAction.java,
15598         javax/swing/AbstractSet.java,
15599         javax/swing/Action.java,
15600         javax/swing/ActionMap.java,
15601         javax/swing/BoundedRangeModel.java,
15602         javax/swing/ButtonModel.java,
15603         javax/swing/CellEditor.java,
15604         javax/swing/CellRendererPane.java,
15605         javax/swing/ComboBoxEditor.java,
15606         javax/swing/DebugGraphics.java,
15607         javax/swing/DefaultCellEditor.java,
15608         javax/swing/DefaultCellRenderer.java,
15609         javax/swing/DefaultComboBoxModel.java,
15610         javax/swing/DefaultDesktopManager.java,
15611         javax/swing/DefaultFocusManager.java,
15612         javax/swing/DefaultListCellRenderer.java,
15613         javax/swing/Icon.java,
15614         javax/swing/JButton.java,
15615         javax/swing/JCheckBoxMenuItem.java,
15616         javax/swing/JDesktopPane.java,
15617         javax/swing/JEditorPane.java,
15618         javax/swing/JMenu.java,
15619         javax/swing/JPanel.java,
15620         javax/swing/JPasswordField.java,
15621         javax/swing/JPopupMenu.java,
15622         javax/swing/JProgressBar.java: Reworked imports.
15624 2004-01-09  Michael Koch  <konqueror@gmx.de>
15626         * java/awt/geom/PathIterator.java
15627         (WIND_EVEN_ODD): Removed redundant modifiers.
15628         (WIND_NON_ZERO): Likewise.
15629         (SEG_MOVETO): Likewise.
15630         (SEG_LINETO): Likewise.
15631         (SEG_QUADTO): Likewise.
15632         (SEG_CUBICTO): Likewise.
15633         (SEG_CLOSE): Likewise.
15634         * java/awt/image/SinglePixelPackedSampleModel.java:
15635         Removed redundant semicolon.
15636         * java/io/ObjectInputStream.java
15637         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15638         * java/util/logging/Filter.java
15639         (isLoggable): Removed redundant modifier.
15640         * java/util/logging/LogManager.java:
15641         Removed redundant semicolon.
15642         * java/util/logging/XMLFormatter.java
15643         (format): Removed unused variable "key".
15645 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
15647         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15648         New name for the former setFile native method.
15649         (setFile): New method.
15650         (setDirectory): Implemented.
15651         (connectSignals): New native method.
15652         (setFilenameFilter): Improve comment.
15653         (getGraphics): Comment.
15654         (gtkHideFileDialog): New method.
15655         (gtkDisposeFileDialog): New method.
15656         (gtkSetFilename): New method.
15657         * java/awt/Dialog.java (show): Block on modal dialogs, but only
15658         for FileDialog for now.
15659         (hide): New method.
15660         (dispose): New method.
15661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15662         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15663         deprecated creation functions.  Make dialog modal.  Add it to the
15664         window group.
15665         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15666         function.
15667         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15668         Rename to...
15669         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15670         name.
15671         (window_closed): New function.
15672         (ok_clicked): New function.
15673         (cancel_clicked): New function.
15675 2004-01-08  Michael Koch  <konqueror@gmx.de>
15677         * javax/swing/JLayeredPane.java: Revert changes to standard
15678         boilerplate, reworked imports.
15680 2004-01-07  Tom Tromey  <tromey@redhat.com>
15682         PR libgcj/13439:
15683         * verify.cc (state::merge): Copy changed locals out of subroutine
15684         in NO_STACK case.
15685         (state::FLAG_CHANGED): New const.
15686         (state::FLAG_UNUSED): Likewise.
15687         (state::local_changed): Removed.  Updated all users.
15688         (state::flags): New field.
15689         (state::merge): Added jsr_semantics argument, more logic.
15690         (push_jump_merge): Added jsr_semantics argument.
15691         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15692         merging through the jsr instruction.
15694 2004-01-07  Tom Tromey  <tromey@redhat.com>
15696         * scripts/MakeDefaultMimeTypes.java: Use \n, not
15697         backslash-newline.
15699 2004-01-07  Graydon Hoare  <graydon@redhat.com>
15701         * java/awt/Container.java (LightweightDispatcher): Implement.
15702         (visitChild): Reuse graphics object.
15703         (dispatchEventImpl): Optionally dispatch to lightweight.
15704         (addNotifyContainerChildren): Build LightweightDispatcher.
15706 2004-01-07  David Jee  <djee@redhat.com>
15708         * java/awt/Container.java
15709         (update): Clear only the clipped region, instead of clearing the
15710         entire Container.
15711         (visitChildren): Visit children in descending order.
15713 2004-01-07  Michael Koch  <konqueror@gmx.de>
15715         * java/lang/reflect/Array.java: Merged documentation with classpath.
15717 2004-01-07  Michael Koch  <konqueror@gmx.de>
15719         * java/text/CollationElementIterator.java
15720         (textIndex): Renamed from index.
15721         * java/text/CollationKey.java
15722         (collator): New member.
15723         (CollationKey): New argument for parent collator.
15724         (equals): Check for same collator, source string and key array.
15725         * java/text/RuleBasedCollator.java:
15726         Reformated.
15727         (RuleBasedCollator): Don't re-initialize frenchAccents with default
15728         value.
15729         (getCollationElementIterator): Rewritten.
15730         (getCollationKey): Added new argument to CollationKey constructor.
15732 2004-01-07  Michael Koch  <konqueror@gmx.de>
15734         * gnu/java/nio/DatagramChannelImpl.java
15735         (blocking): Removed.
15736         (DatagramChannelImpl): Call configureBlocking().
15737         (implConfigureBlocking): Dont initialize blocking.
15738         * gnu/java/nio/ServerSocketChannelImpl.java
15739         (blocking): Removed.
15740         (ServerSocketChannelImpl): Call configureBlocking().
15741         (implConfigureBlocking): Dont initialize blocking.
15742         * gnu/java/nio/SocketChannelImpl.java
15743         (blocking): Removed.
15744         (SocketChannelImpl): Call configureBlocking().
15745         (implConfigureBlocking): Dont initialize blocking.
15746         (connect): Use isBlocking().
15747         * java/nio/channels/spi/AbstractSelectableChannel.java
15748         (configureBlocking): Use blockingLock() instead of LOCK.
15749         Set blocking after successfully called implConfigureBlocking().
15750         (register): Use blockingLock() instead of LOCK.
15752 2004-01-07  Michael Koch  <konqueror@gmx.de>
15754         * java/net/ServerSocket.java (isBound): Fixed documentation.
15756 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
15758         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15759         (changeEvent): Create event object on demand.
15760         (DefaultBoundedRangeModel, toString, setValue, setExtent,
15761         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15762         fireStateChanged): Re-written.
15763         * javax/swing/event/EventListenerList.java: Reformatted, document
15764         typical usage.
15765         (toString): Implemented.
15766         (getListeners): Re-written.
15767         (remove): Re-written.
15768         (add): Re-written.
15769         (NO_LISTENERS): New singleton field.
15770         (listenerList): Declare as transient; document.
15771         (serialVersionUID): Document.
15772         (getListenerCount(Class)): More efficient implementation,
15773         also accepts null argument.  Improve Javadoc.
15774         (getListenerCount()): Remove unnecessary cast; docfix.
15775         * javax/swing/undo/UndoableEditSupport.java:
15776         Re-format, document.
15777         (UndoableEditSupport): Set realSource field. Improve documentation.
15778         (_postEdit): Iterate over cloned listener vector.
15779         (toString): Don't emit realSource.
15780         (beginUpdate, endUpdate): Support nested updates.
15781         (postEdit): Use compound edit if present.
15783 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15785         * java/awt/Container.java (swapComponents): Add forgotten
15786         function, required for JLayeredPane change.
15788 2004-01-06  Michael Koch  <konqueror@gmx.de>
15790         * java/text/CollationElementIterator.java: Reformated.
15791         (CollationElementIterator): Changed order of arguments.
15792         * java/text/RuleBasedCollator.java
15793         (RuleBasedCollator): Merged class documentation.
15794         (CollationElement): Added documentation.
15795         (compare): Reformated, renamed arguments.
15796         (equals): Likewise.
15797         (getCollationElementIterator): Likewise.
15798         (getCollationKey): Likewise.
15800 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15802         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
15804 2004-01-06  Michael Koch  <konqueror@gmx.de>
15806         * gnu/java/net/protocol/file/Connection.java:
15807         Reformated copyright.
15808         (hdrHash): Removed.
15809         (hdrVec): Removed.
15810         (gotHeaders): Removed.
15811         (getHeaderField): Removed.
15812         (getHeaderField): Removed.
15813         (getHeaderFieldKey): Removed.
15814         (getKey): Removed.
15815         (getField): Removed.
15816         (getHeaders): Removed.
15818 2004-01-06  Michael Koch  <konqueror@gmx.de>
15820         * javax/print/attribute/standard/DateTimeAtCompleted.java,
15821         javax/print/attribute/standard/DateTimeAtCreation.java,
15822         javax/print/attribute/standard/DateTimeAtProcessing.java,
15823         javax/print/attribute/standard/JobImpressionsCompleted.java,
15824         javax/print/attribute/standard/JobKOctets.java,
15825         javax/print/attribute/standard/JobKOctetsProcessed.java,
15826         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
15827         javax/print/attribute/standard/JobPrioritySupported.java: New files.
15828         * Makefile.am (javax_source_files): Added new files.
15829         * Makefile.in: Regenerated.
15831 2004-01-06  Michael Koch  <konqueror@gmx.de>
15833         * java/net/URLConnection.java
15834         (contentHandler): Removed.
15835         (locale): Removed.
15836         (getHeaderFields): Return an empty map instead of null.
15837         (getContent): Connect if needed, renamed "cType" to "type" and
15838         "contentHandler" to "ch" and made it a local variable.
15839         (getPermission): Don't use package in class name.
15840         (setDefaultRequestProperty): Fixed typo in documentation.
15841         (initializeDateFormats): Made locale a local variable.
15843 2004-01-06  Michael Koch  <konqueror@gmx.de>
15845         * java/lang/Package.java
15846         (getPackage): Get the current class loader directly.
15847         * java/lang/SecurityManager.java
15848         (currentLoadedClass): Dont iterate over class contexts.
15849         (classLoaderDepth): Don't check class loaders if everything is allowed.
15851 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15854         (pre_event_handler): Set all insets to 0 when a Configure event
15855         is received for a GtkPlug.
15856         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
15857         Make handle long, not int.
15858         (EmbeddedWindow()): New constructor.
15859         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
15860         long, not int.
15861         (setHandle): New method.
15862         (getHandle): Return long, not int.
15863         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
15864         declaration.
15865         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
15866         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
15867         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
15868         argument to GdkNativeWindow.
15869         (construct): New method.
15870         (embed): New method.
15872         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
15873         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
15874         (create(int, int)): New method.
15875         (create): Call new create method.
15876         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
15877         methods.
15878         (childResized): Remove native implementation.  Implement in
15879         Java.
15880         (getHScrollbarHeight, getVScrollbarWidth): Call
15881         gtk_widget_size_request to get scrollbar dimensions.
15882         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
15883         call getVScrollbarWidth and getHScrollbarHeight when vertical
15884         and horizontal scrollbars respectively are needed.
15885         (doLayout): Enlarge child if it is smaller than the viewport.
15887 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15889         * java/awt/Dialog.java (constructor): Accept null title as per spec.
15890         * java/awt/FileDialog.java (constructor): Throw exception on invalid
15891         argument as per spec.
15893 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15895         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
15896         (insert): Ditto.
15897         (remove): Ditto.  Also, Check for valid argument.
15898         (removeAll): Use peer interface method.
15899         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
15900         native add function.
15901         (nativeRemove): New name for native remove function.
15902         (getHistory): New native function.
15903         (constructor): Generate ItemEvent.
15904         (add): Ditto, if selection is changed.
15905         (remove): Ditto, ditto.
15906         (removeAll): Add implementation.
15907         (handleEvent): Remove.  Dead code.
15908         (choicePostItemEvent): Add comment.
15909         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
15910         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
15911         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
15912         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
15913         comments and fix condition to change selection.
15914         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
15915         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
15916         remove all capability.
15917         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
15918         (item_activate): Add cast to remove compiler warning.
15920 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15922         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15923         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15924         (getPreferredSize): Call preferredSize.
15925         (preferredSize): Call gtkWidgetGetPreferredDimensions.
15926         (getMinimumSize): Call minimumSize.
15927         (minimumSize): Call gtkWidgetGetPreferredDimensions.
15928         (gtkWidgetGetDimensions): Return the peer widget's current size
15929         request.
15930         (gtkWidgetGetPreferredDimensions): Return the peer widget's
15931         natural size request.
15933 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
15935         Thanks to Brian Gough <bjg@network-theory.com>
15936         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
15937         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
15939 2004-01-04  Matthias Klose  <doko@debian.org>
15941         * aclocal.m4: Rebuilt using "aclocal -I .".
15942         * configure: Rebuilt.
15944 2004-01-03  Per Bothner  <per@bothner.com>
15946         * java/util/Date.java (parse):  Fix a number of problems.
15947         (skipParens):  Remove no-longer-needed method.