OSDN Git Service

2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>
2
3         * include/config.h.in: Regenerate.
4
5 2004-12-10  Andrew Haley  <aph@redhat.com>
6
7         PR java/15001
8         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
9         abstract methods by name.
10
11 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
12
13         * java/util/IdentityHashMap.java (put): Replace mistaken use
14         of "<<" by "*".
15
16 2004-12-06  Tom Tromey  <tromey@redhat.com>
17
18         For PR java/14853:
19         * testsuite/libjava.compile/PR14853.java: New file.
20         * testsuite/libjava.compile/PR14853.xfail: New file.
21
22 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
23
24         PR libgcj/7305
25         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
26         * Makefile.am (install-data-local): Install headers into 
27         $(gxx_include_dir) rather than $(includedir).
28         (AM_MAKEFLAGS): Pass down gxx_include_dir.
29         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
30         * include/Makefile.am (tool_include__HEADERS): Define this...
31         (include_HEADERS): ...instead of this.
32         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
33         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
34
35 2004-12-02  Tom Tromey  <tromey@redhat.com>
36
37         For PR java/16675:
38         * testsuite/libjava.compile/PR16675.java: New file.
39
40 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
41
42         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
43         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
44         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
45
46 2004-12-01  Tom Tromey  <tromey@redhat.com>
47
48         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
49         name.
50         (_Jv_ThreadRegister): Likewise.
51         (_Jv_MutexCheckMonitor): Likewise.
52
53         * link.cc: Include limits.h.
54
55 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
56
57         PR libgcj/18699
58         * testsuite/libjava.lang/PR18699.java, 
59         testsuite/libjava.lang/PR18699.out: New test.
60
61 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
62
63         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
64         Update image observer.
65         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
66         Start image production.
67         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
68         against negative menu bar widths.
69         (setBounds): Likewise.
70         (postConfigureEvent): Likewise.
71         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
72         remove consumer unless only a single frame has completed.
73         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
74         Add observer parameter.
75         (setPixels): Update image observer.
76         (imageComplete): Likewise.
77         * java/applet/Applet.java (width): New field.
78         (height): Likewise.
79         (setStub): Set size if width or height field has been set.
80         (resize): If stub is null save width and height values.
81         * java/awt/Component.java (reshape): Protect against null
82         parent.
83         * java/awt/image/MemoryImageSource.java
84         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
85         Document.
86         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
87         Likewise.
88         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
89         Reference pixel array directly, rather than creating a local
90         copy.
91         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
92         Likewise.
93         (newPixels(int,int,int,int)): Fix for loop and array copy
94         bounds.
95         (newPixels(int,int,int,int,boolean)): Likewise.
96         (startProduction): If animated call imageComplete with
97         SINGLEFRAME.
98         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
99         gdk_flush lines.
100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
101         (drawPixels): Return if g is null or g->drawable is not a gdk
102         drawable.
103
104 2004-11-30  Michael Koch  <konqueror@gmx.de>
105
106         * javax/swing/DefaultSingleSelectionModel.java,
107         javax/swing/JPasswordField.java,
108         javax/swing/tree/AbstractLayoutCache.java:
109         Reformatted and javadocs cleaned up.
110
111 2004-11-30  Michael Koch  <konqueror@gmx.de>
112
113         * java/awt/Component.java:
114         Fixed argument names to match javadocs.
115         (setFont): Rewritten set property first and then fire event.
116         (setLocale): Likewise.
117         * javax/swing/text/JTextComponent.java
118         (setEditable): Likewise.
119
120 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
121
122         * java/awt/Button.java
123         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
124         source of 'click'.
125
126 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
127
128         * java/awt/Checkbox.java: Remove stub comments.
129
130 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
131
132         * java/awt/Button.java
133         (AccessibleAWTButton.getAccessibleActionDescription): Return
134         'click'.
135
136 2004-11-30  Michael Koch  <konqueror@gmx.de>
137
138         * java/awt/CardLayout.java:
139         Made some constants static.
140         (serialVersionUID): Made private.
141         (addLayoutComponent): Simplified code.
142         * java/awt/event/InputEvent.java
143         (getModifiersEx): Added missing @param tag.
144         * java/awt/image/RGBImageFilter.java
145         (filterRGBPixels): Reformatted, removed wrong @param tag.
146
147 2004-11-30  Michael Koch  <konqueror@gmx.de>
148
149         * javax/swing/text/FieldView.java,
150         javax/swing/text/JTextComponent.java:
151         Removed debug code.
152
153 2004-11-30  Michael Koch  <konqueror@gmx.de>
154
155         * javax/swing/BorderFactory.java
156         (BorderFactory): Added private constructor.
157         * javax/swing/SwingUtilities.java
158         (SwingUtilities): Likewise.
159         (computeStringWidth): New method.
160
161 2004-11-30  Michael Koch  <konqueror@gmx.de>
162
163         * java/awt/color/ICC_Profile.java
164         (icSigNamedColorTag): Removed.
165         * java/awt/datatransfer/DataFlavor.java
166         (isMimeTypeEqual): Made final.
167         * java/awt/image/AffineTransformOp.java:
168         Reworked javadocs.
169         (TYPE_BICUBIC): Added @since tag.
170
171 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
172
173         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
174         comments.
175
176 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
177
178         * java/awt/Checkbox.java (itemStateChanged): Implement function.
179         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
180
181 2004-11-30  Sven de Marothy  <sven@physto.se>
182
183         * java/awt/Polygon.java (contains): Reimplemented.
184
185 2004-11-30  Michael Koch  <konqueror@gmx.de>
186
187         * java/awt/print/PrinterJob.java: Reformatted.
188
189 2004-11-30  Michael Koch  <konqueror@gmx.de>
190
191         * java/awt/image/AffineTransformOp.java,
192         java/awt/image/ColorConvertOp.java,
193         java/awt/image/LookupOp.java,
194         java/awt/image/RescaleOp.java:
195         Added final keywords where they belong.
196
197 2004-11-30  Michael Koch  <konqueror@gmx.de>
198
199         * java/awt/CardLayout.java,
200         java/awt/Component.java,
201         java/awt/Font.java,
202         java/awt/image/SinglePixelPackedSampleModel.java:
203         Fixed javadocs and argument names all over.
204
205 2004-11-30  Michael Koch  <konqueror@gmx.de>
206
207         * java/awt/image/DataBufferShort.java: Fixed file header.
208         * java/awt/image/DataBufferUShort.java: Likewise.
209         (DataBufferUShort): Throw NullPointerException if dataArray is null.
210
211 2004-11-30  Sven de Marothy  <sven@physto.se>
212
213         * java/awt/geom/Arc2D.java
214         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
215         (setAngles): Likewise.
216         (containsAngle): Return false on zero extent, don't include
217         final angle.
218         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
219         ones.
220
221 2004-11-30  Sven de Marothy  <sven@physto.se>
222
223         * java/awt/geom/AffineTransform.java,
224         (inverseTransform): Fixed bug and simplified code.
225         (createTransformedShape): Return null on null parameter.
226
227 2004-11-30  Michael Koch  <konqueror@gmx.de>
228
229         * java/awt/color/ICC_ColorSpace.java,
230         java/awt/color/ICC_Profile.java,
231         java/awt/color/ICC_ProfileGray.java,
232         java/awt/color/ICC_ProfileRGB.java:
233         Re-indent copyright header to be standardish.
234         * java/awt/datatransfer/StringSelection.java:
235         Reformatted.
236         * java/awt/geom/Area.java
237         (EPSILON): Made static.
238         (RS_EPSILON): Likewise.
239         (PE_EPSILON): Likewide.
240
241 2004-11-30  Sven de Marothy  <sven@physto.se>
242
243         * javax/swing/SwingUtilities.java:
244         (computeDifference): Implemented
245         (computeIntersection): Likewise
246         (computeUnion): Likewise
247         (isRectangleContainingRectangle): Likewise
248
249 2004-11-30  Michael Koch  <konqueror@gmx.de>
250
251         * java/awt/BasicStroke.java,
252         java/awt/Button.java,
253         java/awt/Canvas.java,
254         java/awt/CheckboxMenuItem.java,
255         java/awt/Container.java,
256         java/awt/EventQueue.java,
257         java/awt/FileDialog.java,
258         java/awt/FlowLayout.java,
259         java/awt/FontMetrics.java,
260         java/awt/Graphics.java,
261         java/awt/GridLayout.java,
262         java/awt/KeyboardFocusManager.java,
263         java/awt/Label.java,
264         java/awt/LayoutManager2.java,
265         java/awt/List.java,
266         java/awt/MenuBar.java,
267         java/awt/Scrollbar.java,
268         java/awt/Toolkit.java,
269         java/awt/Window.java,
270         java/awt/datatransfer/DataFlavor.java,
271         java/awt/datatransfer/FlavorTable.java,
272         java/awt/event/ActionListener.java,
273         java/awt/event/HierarchyBoundsAdapter.java,
274         java/awt/geom/Arc2D.java,
275         java/awt/geom/Rectangle2D.java,
276         java/awt/geom/RectangularShape.java,
277         java/awt/im/spi/InputMethod.java,
278         java/awt/image/ByteLookupTable.java,
279         java/awt/image/ColorModel.java,
280         java/awt/image/DirectColorModel.java,
281         java/awt/image/ShortLookupTable.java,
282         java/awt/print/Book.java:
283         Fixed javadocs and method argument names all over.
284
285 2004-11-30  Michael Koch  <konqueror@gmx.de>
286
287         * gnu/java/awt/peer/gtk/GdkFontPeer.java
288         (buildString): Optimise String building.
289
290 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
291
292         * java/awt/TextArea.java (AccessibleAWTTextArea,
293         getAccessibleContext): Implement.
294         * java/awt/TextField.java (AccessibleAWTTextField,
295         getAccessibleContext): Implement.
296
297 2004-11-30  Tom Tromey  <tromey@redhat.com>
298
299         * Makefile.in: Rebuilt.
300         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
301         Fixed typo.
302
303 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
304
305         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
306         Implement.
307         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
308         Implement.
309
310 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
311
312         * java/awt/print/PrinterJob.java (lookupPrintServices,
313         getPrintService, setPrintService): Implement.
314         (lookupStreamPrintServices): Add commented out implementation.
315         (printer): New field.
316
317 2004-11-30  Mark Wielaard  <mark@klomp.org>
318
319         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
320         when not yet set.
321
322 2004-11-30  Sven de Marothy  <sven@physto.se>
323
324         * java/awt/geom/GeneralPath.java (evaluateCrossings):
325         Fixed epsilon value, should always be nonzero.
326
327 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
328
329         * java/awt/image/Raster.java
330         (createPackedRaster): Implemented.
331
332 2004-11-30  Graydon Hoare  <graydon@redhat.com>
333
334         * javax/swing/plaf/basic/BasicTextUI.java: 
335         Listen to focus events, indicate focus via caret.
336         * javax/swing/text/GapContent.java (getString): Return substring.
337         * javax/swing/text/PlainDocument.java (reindex): New method.
338         (createDefaultRoot): Call it.
339         (insertUpdate): Likewise.
340         (removeUpdate): Likewise.
341         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
342         on tab and newline, even if no painting happens.
343
344 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
345
346         * Makefile.am: List peer JNI header: Java source file
347         dependencies explicitly.  Likewise for JNI .lo: JNI header
348         dependencies.
349         * Makefile.in: Regenerate.
350
351 2004-11-30  Graydon Hoare  <graydon@redhat.com>
352
353         * Makefile.am: Add entry for BasicTextPaneUI.java
354         * Makefile.in: Regenerate.
355         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
356         (GdkGraphics2D): Set clip after transform.
357         (drawImage): Protect against null image.
358         * gnu/java/awt/peer/gtk/GtkFramePeer.java
359         (setIconImage): Protect against non-GtkImage args.
360         * gnu/java/awt/peer/gtk/GtkToolkit.java
361         (checkImage): Protect against non-GtkImage args.
362         * java/awt/print/PrinterJob.java:
363         (print): Add variant taking PrintRequestAttributeSet.
364         (printDialog): Likewise.
365         * javax/swing/JComponent.java:
366         (transferHandler): New field.
367         (getComponentGraphics): Build new Graphics for each sub-paint.
368         (getTransferHandler): New method.
369         (setTransferHandler): New method.
370         * javax/swing/JDesktopPane.java 
371         (setDragMode): Force LIVE_DRAG_MODE.
372         * javax/swing/JMenuItem.java
373         (menuSelectionChanged): Protect against null parent.
374         * javax/swing/JTable.java (setDefaultRenderer): New method.
375         * javax/swing/JTree.java: Get basic ctors and UI working.
376         * javax/swing/JViewport.java (JViewport): Set scroll mode.
377         * javax/swing/RepaintManager.java 
378         (addDirtyRegion): Skip empty regions.
379         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
380         bound scrollpane minimum by central view minimum.
381         * javax/swing/ToolTipManager.java 
382         (showTip): Guard against null component.
383         * javax/swing/TransferHandler.java: Stub out.
384         * javax/swing/plaf/basic/BasicLookAndFeel.java:
385         Add entry for TextPaneUI, change Tree icons to pngs.
386         * javax/swing/plaf/basic/BasicMenuItemUI.java:
387         (installDefaults): Set text position and alignment.
388         (paintMenuItem): Layout icon with normal compound function.
389         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
390         (getMaximumSize): Delete.
391         (getMinimumSize): Delete.
392         (getPreferredSize): Use column model's total width.
393         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
394         * javax/swing/plaf/basic/BasicTextUI.java
395         (modelChanged): Make resilient against nulls.
396         * javax/swing/plaf/basic/BasicTreeUI.java: 
397         Add some simplistic config / painting functions.
398         * javax/swing/plaf/basic/BasicViewportUI.java
399         (paintSimple): Add new non-backingstore paint mode.
400         (paintBackingStore): Split out backing store code.
401         (paint): Switch on painting mode.
402         * javax/swing/text/SimpleAttributeSet.java
403         (SimpleAttributeSet): Resist nulls.
404         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
405         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
406
407 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
408
409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
410         Set pango context's description and language.
411
412 2004-11-30  Mark Wielaard  <mark@klomp.org>
413
414         * java/awt/image/LookupOp.java: Comments and indentation fixes.
415
416 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
417
418         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
419         (getAccessibleContext): Implement.
420
421 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
422
423         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
424         Implement.
425         (getIndexAtPoint, getCharacterBounds): New methods.
426
427 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
428
429         * java/awt/Button.java (AccessibleAWTButton): Implement.
430
431 2004-11-30  Mark Wielaard  <mark@klomp.org>
432
433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
434         (filenameFilterCallback): Made static.
435
436 2004-11-30  Michael Koch  <konqueror@gmx.de>
437
438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
439         (cairoShowGlyphs) Removed.
440
441 2004-11-30  Sven de Marothy <sven@physto.se>
442
443         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
444         Don't invert matrix when reverse CLUT is available.
445         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
446         * java/awt/color/ICC_ColorSpace.java: Likewise.
447         * java/awt/color/ICC_Profile.java: Likewise.
448         * java/awt/color/ICC_ProfileGray.java: Likewise.
449         * java/awt/color/ICC_ProfileRGB.java: Likewise.
450
451 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
452
453         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
454
455 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
456
457         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
458
459 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
460
461         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
462         field hiding ComponentSampleModel.scanlineStride.
463
464 2004-11-30  Noa Resare  <noa@resare.com>
465
466         * java/awt/geom/GeneralPath.java (currentSegment):
467         Fix typo in transform.transform() invocation.
468
469 2004-11-30  Sven de Marothy <sven@physto.se>
470
471         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
472         (createImage): Created bitmap should be filled with bg color
473
474 2004-11-30  Noa Resare  <noa@resare.com>
475
476         * java/awt/Choice.java (add):
477         Implement correct selection behavior when peer == null.
478         (insert): Likewise.
479         (remove): Likewise.
480
481 2004-11-30  Mark Wielaard  <mark@klomp.org>
482
483         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
484         Call select() when Choice has a selected item.
485
486 2004-11-30  Michael Koch  <address@bogus.example.com>
487
488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
489         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
490         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
491         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
492         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
493         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
494         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
495         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
496         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
497         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
498         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
499         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
500         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
501         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
503         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
504         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
506         Fixed method names to start at begin of line. This is desired by GNU
507         coding style guide.
508
509 2004-11-30  Michael Koch  <konqueror@gmx.de>
510
511         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
512         (gtkWidgetSetVisible): Unused. Removed.
513         (connectJObject): Likewise.
514         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
515         (gtkScrolledWindowSetScrollPosition): Commented out.
516
517 2004-11-30  Mark Wielaard  <mark@klomp.org>
518
519         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
520         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
521         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
522
523 2004-11-30  Mark Wielaard  <mark@klomp.org>
524
525         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
526         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
527         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
528         (init_dpi_conversion_factor): Correct prototype.
529
530 2004-11-30  Sven de Marothy  <sven@physto.se>
531         
532         * java/awt/image/ConvolveOp.java: Added missing
533         copyright notice.
534
535 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
536
537         Fixes bug #10908
538         * gnu/java/beans/IntrospectionIncubator.java:
539         (addMethod): static methods are discarded now, too.
540
541 2004-11-30  Mark Wielaard  <mark@klomp.org>
542
543         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
544         java source files.
545         * Makefile.in: Regenerated.
546
547 2004-11-30  Sven de Marothy  <sven@physto.se>
548
549         * gnu/java/awt/color/CieXyzConverter.java,
550         gnu/java/awt/color/GrayScaleConverter.java,
551         gnu/java/awt/color/SrgbConverter.java,
552         gnu/java/awt/color/ClutProfileConverter.java,
553         gnu/java/awt/color/LinearRGBConverter.java,
554         gnu/java/awt/color/TagEntry.java,
555         gnu/java/awt/color/ColorLookUpTable.java,
556         gnu/java/awt/color/ProfileHeader.java,
557         gnu/java/awt/color/ToneReproductionCurve.java,
558         gnu/java/awt/color/ColorSpaceConverter.java,
559         gnu/java/awt/color/PyccConverter.java,
560         gnu/java/awt/color/GrayProfileConverter.java,
561         gnu/java/awt/color/RgbProfileConverter.java:
562         New files.
563         * java/awt/color/ICC_ColorSpace.java,
564         java/awt/color/ICC_Profile.java,
565         java/awt/color/ICC_ProfileGray.java,
566         java/awt/color/ICC_ProfileRGB.java:
567         Implemented (sans PhotoYCC color space).
568
569 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
570
571         * java/awt/image/AffineTransformOp.java (filter):  Implement
572         bilinear interpolation for Rasters.
573
574 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
575
576         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
577         use the provided colormap.  Throw documented exceptions.  Document
578         exceptions.
579
580 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
581
582         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
583         constructor.
584
585 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
586
587         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
588
589 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
590
591         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
592         filtering.
593
594 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
595
596         * java/awt/image/ComponentSampleModel.java (getDataElements,
597         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
598
599 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
600
601         * java/awt/Font.java (name): New field.
602         (size): Likewise.
603         (style): Likewise.
604
605 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
606
607         * java/awt/image/Raster.java (createBandedRaster): Implement.
608
609 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
610
611         * java/awt/image/ConvolveOp.java: New class.
612         * Makefile.am: Add ConvolveOp.
613         * Makefile.in: Regenerate.
614
615 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
616
617         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
618         LookupOp, RescaleOp): Fix loop bounds.
619
620 2004-11-30  jlquinn  <jlquinn@optonline.net>
621
622         * Makefile.am: Fix typo in BandCombineOp.
623         * Makefile.in: Regenerate.
624
625 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
626
627         * java/awt/image/BandCombineOp.java: New class.
628         * Makefile.am: Add BandCombineOp.
629         * Makefile.in: Regenerate.
630
631 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
632
633         * java/awt/image/LookupOp.java: New class.
634         * Makefile.am: Add LookupOp.
635         * Makefile.in: Regenerate.
636
637 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
638
639         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
640         javadocs.
641
642 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
643
644         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
645         wrap.  Use Boolean.valueOf.
646         
647 2004-11-30  Michael Koch  <konqueror@gmx.de>
648
649         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
650         (releasePeerGraphicsResource): Fixed typo in method name.
651         * gnu/java/awt/peer/gtk/GdkFontPeer.java
652         (finalize): Fixed typo in releasePeerGraphicsResource.
653
654 2004-11-30  Michael Koch  <konqueror@gmx.de>
655
656         * java/awt/font/TextAttribute.java
657         (RUN_DIRECTION_LTR): Initialie with static value instead of
658         calculating it.
659         (RUN_DIRECTION_RTL): Likewise.
660         (STRIKETHROUGH_ON): Likewise.
661         (SWAP_COLORS_ON): Likewise.
662
663 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
664
665         * java/awt/image/ColorConvertOp.java: New class.
666         * java/awt/image/ColorModel.java (cloneColorModel): New method.
667         * Makefile.am: Add ColorConvertOp.
668         * Makefile.in: Regenerate.
669
670 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
671
672         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
673         Track Window focus owner on FOCUS_GAINED events.
674
675 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
676
677         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
678         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
679
680 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
681
682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
683         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
684         Fix pointer warning.
685
686 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
687
688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
689         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
690         Fix pointer warning.
691
692         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
693         warnings.
694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
695         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
696         to fix type punned pointer warning.
697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
698         Likewise.
699
700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
701         (window_get_new_state): Introduce unions to fix warnings as above.
702         (window_property_changed_cb): Likewise.
703         (window_active_state_change_cb): Mark unused variables unused.
704         (window_focus_state_change_cb): Likewise.
705         (window_focus_in_cb): Likewise.
706         (window_focus_out_cb): Likewise.
707
708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
709         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
710         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
711
712 2004-11-30  Michael Koch  <konqueror@gmx.de>
713
714         * javax/swing/JMenuBar.java
715         (updateUI): Simplified.
716         * javax/swing/tree/DefaultTreeSelectionModel.java:
717         Reorganized import statements.
718
719 2004-11-30  Michael Koch  <konqueror@gmx.de>
720
721         * java/awt/font/TextAttribute.java,
722         javax/swing/JComponent.java,
723         javax/swing/JInternalFrame.java,
724         javax/swing/table/TableColumn.java,
725         javax/swing/text/StyleConstants.java:
726         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
727
728 2004-11-30  Michael Koch  <konqueror@gmx.de>
729
730         * javax/swing/tree/DefaultTreeCellEditor.java,
731         javax/swing/tree/DefaultTreeModel.java,
732         javax/swing/tree/DefaultTreeSelectionModel.java:
733         Jalopied.
734
735 2004-11-30  Michael Koch  <konqueror@gmx.de>
736
737         * javax/swing/tree/DefaultTreeCellEditor.java
738         (EditorContainer.EditorContainer): Fixed arguments.
739         (EditorContainer.EditorContainer): New method.
740         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
741         (DefaultTextField.getBorder): Implemented.
742         (listenerList): New field.
743         (addCellEditorListener): Implemented.
744         (removeCellEditorListener): Implemented.
745         (getCellEditorListeners): New method.
746         * javax/swing/tree/DefaultTreeModel.java
747         (addTreeModelListener): Fixed javadoc.
748         (removeTreeModelListener): Likewise.
749         (getTreeModelListeners): New method.
750         (fireTreeNodesChanged): Implemented.
751         (fireTreeNodesInserted): Likewise.
752         (fireTreeNodesRemoved): Likewise.
753         (fireTreeStructureChanged): Likewise.
754         (getListeners): Fixed javadoc.
755         * javax/swing/tree/DefaultTreeSelectionModel.java
756         (addTreeSelectionListener): Implemented.
757         (removeTreeSelectionListener): Likewise.
758         (fireValueChanged): Likewise.
759         (getListeners): Likewise.
760         (addPropertyChangeListener): Likewise.
761         (removePropertyChangeListener): Likewise.
762         (getTreeSelectionListeners): New method.
763         (getPropertyChangeListeners): Likewise.
764
765 2004-11-30  Michael Koch  <konqueror@gmx.de>
766
767         * javax/swing/plaf/basic/BasicScrollBarUI.java
768         (maximumThumbSize): Removed static keyword.
769         (minimumThumbSize): Likewise.
770         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
771         (CloseAction): Made public.
772         (IconifyAction): Likewise.
773         (MaximizeAction): Likewise.
774         (MoveAction): Likewise.
775         (RestoreAction): Likewise.
776         (SizeAction): Likewise.
777         (SystemMenuBar): Likewise.
778         * javax/swing/plaf/basic/BasicSliderUI.java
779         (TrackListener): Likewise.
780         * javax/swing/plaf/basic/BasicSplitPaneUI.java
781         (KeyboardDownRightHandler): Likewise.
782         (KeyboardEndHandler): Likewise.
783         (KeyboardHomeHandler): Likewise.
784         (KeyboardResizeToggleHandler): Likewise.
785         (KeyboardUpLeftHandler): Likewise.
786         (PropertyHandler): Likewise.
787         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
788         (PropertyChangeHandler): Likewise.
789         (TabSelectionHandler): Likewise.
790
791 2004-11-30  Michael Koch  <konqueror@gmx.de>
792
793         * javax/swing/text/JTextComponent.java
794         (getKeymap): Made public.
795
796 2004-11-30  Michael Koch  <konqueror@gmx.de>
797
798         * javax/swing/JEditorPane.java
799         (getStream): Throws IOException.
800         (read): Likewise.
801         * javax/swing/JRootPane.java
802         (createContentPane): Fixed return type.
803         * javax/swing/JSpinner.java
804         (commitEdit): Throws ParseException.
805         * javax/swing/plaf/metal/MetalLookAndFeel.java
806         (serialVersionUID): New field.
807         * javax/swing/table/TableColumn.java
808         (resizedPostingDisableCount): Added @deprecated tag.
809         (disableResizedPosting): Likewise.
810         (enableResizedPosting): Likewise.
811         * javax/swing/text/Document.java
812         (TitleProperty): Fixed value.
813         * javax/swing/tree/TreeCellEditor.java
814         (TreeCellEditor): Extends CellEditor.
815
816 2004-11-30  Michael Koch  <konqueror@gmx.de>
817
818         * javax/swing/JWindow.java
819         javax/swing/SpinnerModel.java
820         javax/swing/Timer.java
821         javax/swing/event/MenuKeyEvent.java
822         javax/swing/plaf/basic/BasicButtonUI.java
823         javax/swing/plaf/basic/BasicIconFactory.java
824         javax/swing/plaf/basic/BasicTabbedPaneUI.java
825         javax/swing/text/AttributeSet.java
826         javax/swing/text/Highlighter.java
827         javax/swing/text/StyleConstants.java
828         javax/swing/tree/TreeCellEditor.java:
829         Removed redundant and reordered modifiers.
830
831 2004-11-30  Michael Koch  <konqueror@gmx.de>
832
833         * javax/swing/plaf/basic/BasicToolTipUI.java:
834         Reformatted copyright header.
835
836 2004-11-30  Michael Koch  <konqueror@gmx.de>
837
838         * javax/swing/AbstractAction.java,
839         javax/swing/AbstractButton.java,
840         javax/swing/AbstractCellEditor.java,
841         javax/swing/AbstractListModel.java,
842         javax/swing/AbstractSpinnerModel.java,
843         javax/swing/ActionMap.java,
844         javax/swing/BorderFactory.java,
845         javax/swing/Box.java,
846         javax/swing/ButtonModel.java,
847         javax/swing/CellEditor.java,
848         javax/swing/CellRendererPane.java,
849         javax/swing/DefaultBoundedRangeModel.java,
850         javax/swing/DefaultButtonModel.java,
851         javax/swing/DefaultCellEditor.java,
852         javax/swing/DefaultDesktopManager.java,
853         javax/swing/DefaultListCellRenderer.java,
854         javax/swing/DefaultListSelectionModel.java,
855         javax/swing/DefaultSingleSelectionModel.java,
856         javax/swing/GrayFilter.java,
857         javax/swing/InputMap.java,
858         javax/swing/JApplet.java,
859         javax/swing/JCheckBoxMenuItem.java,
860         javax/swing/JColorChooser.java,
861         javax/swing/JComboBox.java,
862         javax/swing/JComponent.java,
863         javax/swing/JDesktopPane.java,
864         javax/swing/JDialog.java,
865         javax/swing/JEditorPane.java,
866         javax/swing/JFileChooser.java,
867         javax/swing/JFormattedTextField.java,
868         javax/swing/JFrame.java,
869         javax/swing/JInternalFrame.java,
870         javax/swing/JLabel.java,
871         javax/swing/JLayeredPane.java,
872         javax/swing/JList.java,
873         javax/swing/JMenu.java,
874         javax/swing/JMenuBar.java,
875         javax/swing/JMenuItem.java,
876         javax/swing/JOptionPane.java,
877         javax/swing/JPanel.java,
878         javax/swing/JPasswordField.java,
879         javax/swing/JPopupMenu.java,
880         javax/swing/JRadioButtonMenuItem.java,
881         javax/swing/JRootPane.java,
882         javax/swing/JSpinner.java,
883         javax/swing/JSplitPane.java,
884         javax/swing/JTabbedPane.java,
885         javax/swing/JTable.java,
886         javax/swing/JTextArea.java,
887         javax/swing/JTextPane.java,
888         javax/swing/JToggleButton.java,
889         javax/swing/JToolBar.java,
890         javax/swing/JToolTip.java,
891         javax/swing/JTree.java,
892         javax/swing/JViewport.java,
893         javax/swing/ListModel.java,
894         javax/swing/LookAndFeel.java,
895         javax/swing/MenuSelectionManager.java,
896         javax/swing/ProgressMonitorInputStream.java,
897         javax/swing/RepaintManager.java,
898         javax/swing/RootPaneContainer.java,
899         javax/swing/ScrollPaneLayout.java,
900         javax/swing/SpringLayout.java,
901         javax/swing/SwingUtilities.java,
902         javax/swing/Timer.java,
903         javax/swing/ToolTipManager.java,
904         javax/swing/UIDefaults.java,
905         javax/swing/UIManager.java,
906         javax/swing/border/MatteBorder.java,
907         javax/swing/colorchooser/AbstractColorChooserPanel.java,
908         javax/swing/colorchooser/ColorSelectionModel.java,
909         javax/swing/colorchooser/DefaultColorSelectionModel.java,
910         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
911         javax/swing/colorchooser/DefaultPreviewPanel.java,
912         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
913         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
914         javax/swing/event/AncestorEvent.java,
915         javax/swing/event/HyperlinkEvent.java,
916         javax/swing/event/InternalFrameEvent.java,
917         javax/swing/event/MenuDragMouseEvent.java,
918         javax/swing/event/TableColumnModelEvent.java,
919         javax/swing/event/TableModelEvent.java,
920         javax/swing/event/TreeExpansionEvent.java,
921         javax/swing/event/TreeModelEvent.java,
922         javax/swing/event/TreeSelectionEvent.java,
923         javax/swing/event/TreeWillExpandListener.java,
924         javax/swing/event/UndoableEditEvent.java,
925         javax/swing/filechooser/FileView.java,
926         javax/swing/plaf/BorderUIResource.java,
927         javax/swing/plaf/ComponentUI.java,
928         javax/swing/plaf/FileChooserUI.java,
929         javax/swing/plaf/IconUIResource.java,
930         javax/swing/plaf/ListUI.java,
931         javax/swing/plaf/PopupMenuUI.java,
932         javax/swing/plaf/SplitPaneUI.java,
933         javax/swing/plaf/TabbedPaneUI.java,
934         javax/swing/plaf/TextUI.java,
935         javax/swing/plaf/TreeUI.java,
936         javax/swing/plaf/basic/BasicArrowButton.java,
937         javax/swing/plaf/basic/BasicBorders.java,
938         javax/swing/plaf/basic/BasicButtonUI.java,
939         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
940         javax/swing/plaf/basic/BasicColorChooserUI.java,
941         javax/swing/plaf/basic/BasicComboBoxEditor.java,
942         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
943         javax/swing/plaf/basic/BasicComboBoxUI.java,
944         javax/swing/plaf/basic/BasicComboPopup.java,
945         javax/swing/plaf/basic/BasicDesktopIconUI.java,
946         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
947         javax/swing/plaf/basic/BasicIconFactory.java,
948         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
949         javax/swing/plaf/basic/BasicInternalFrameUI.java,
950         javax/swing/plaf/basic/BasicListUI.java,
951         javax/swing/plaf/basic/BasicLookAndFeel.java,
952         javax/swing/plaf/basic/BasicMenuBarUI.java,
953         javax/swing/plaf/basic/BasicMenuItemUI.java,
954         javax/swing/plaf/basic/BasicMenuUI.java,
955         javax/swing/plaf/basic/BasicOptionPaneUI.java,
956         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
957         javax/swing/plaf/basic/BasicPopupMenuUI.java,
958         javax/swing/plaf/basic/BasicProgressBarUI.java,
959         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
960         javax/swing/plaf/basic/BasicRootPaneUI.java,
961         javax/swing/plaf/basic/BasicScrollBarUI.java,
962         javax/swing/plaf/basic/BasicSeparatorUI.java,
963         javax/swing/plaf/basic/BasicSliderUI.java,
964         javax/swing/plaf/basic/BasicSpinnerUI.java,
965         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
966         javax/swing/plaf/basic/BasicSplitPaneUI.java,
967         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
968         javax/swing/plaf/basic/BasicTableHeaderUI.java,
969         javax/swing/plaf/basic/BasicTableUI.java,
970         javax/swing/plaf/basic/BasicTextAreaUI.java,
971         javax/swing/plaf/basic/BasicTextFieldUI.java,
972         javax/swing/plaf/basic/BasicTextUI.java,
973         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
974         javax/swing/plaf/basic/BasicToolBarUI.java,
975         javax/swing/plaf/basic/BasicToolTipUI.java,
976         javax/swing/plaf/basic/BasicTreeUI.java,
977         javax/swing/plaf/basic/BasicViewportUI.java,
978         javax/swing/plaf/basic/ComboPopup.java,
979         javax/swing/table/AbstractTableModel.java,
980         javax/swing/table/DefaultTableCellRenderer.java,
981         javax/swing/table/DefaultTableColumnModel.java,
982         javax/swing/table/DefaultTableModel.java,
983         javax/swing/table/JTableHeader.java,
984         javax/swing/table/TableCellEditor.java,
985         javax/swing/table/TableCellRenderer.java,
986         javax/swing/table/TableColumn.java,
987         javax/swing/table/TableColumnModel.java,
988         javax/swing/text/AbstractDocument.java,
989         javax/swing/text/Caret.java,
990         javax/swing/text/DefaultCaret.java,
991         javax/swing/text/DefaultEditorKit.java,
992         javax/swing/text/DefaultHighlighter.java,
993         javax/swing/text/EditorKit.java,
994         javax/swing/text/JTextComponent.java,
995         javax/swing/text/LayeredHighlighter.java,
996         javax/swing/text/PasswordView.java,
997         javax/swing/text/SimpleAttributeSet.java,
998         javax/swing/text/StyleConstants.java,
999         javax/swing/text/StyleContext.java,
1000         javax/swing/text/StyledEditorKit.java,
1001         javax/swing/text/TextAction.java,
1002         javax/swing/text/View.java,
1003         javax/swing/tree/AbstractLayoutCache.java,
1004         javax/swing/tree/DefaultTreeCellRenderer.java,
1005         javax/swing/tree/DefaultTreeModel.java,
1006         javax/swing/tree/DefaultTreeSelectionModel.java,
1007         javax/swing/tree/FixedHeightLayoutCache.java,
1008         javax/swing/tree/TreeCellRenderer.java,
1009         javax/swing/tree/TreeSelectionModel.java,
1010         javax/swing/tree/VariableHeightLayoutCache.java,
1011         javax/swing/undo/AbstractUndoableEdit.java,
1012         javax/swing/undo/UndoableEditSupport.java:
1013         Imports cleaned up.
1014
1015 2004-11-30  Michael Koch  <konqueror@gmx.de>
1016
1017         * java/awt/Container.java,
1018         java/awt/Font.java,
1019         java/awt/font/TextLayout.java:
1020         Imports cleaned up.
1021
1022 2004-11-30  Michael Koch  <konqueror@gmx.de>
1023
1024         * javax/swing/AbstractButton.java
1025         (getLabel): Added @deprecated tag.
1026         (setLabel): Likewise.
1027         * javax/swing/FocusManager.java
1028         (disableSwingFocusManager): Likewise.
1029         (isFocusManagerEnabled): Likewise.
1030         * javax/swing/JComponent.java
1031         (isManagingFocus): Added version to @deprecated tag.
1032         (getNextFocusableComponent): Moved @deprecated tag to bottom of
1033         javadoc.
1034         (getConditionForKeyStroke): Likewise.
1035         (getActionForKeyStroke): Likewise.
1036         * javax/swing/JDesktopPane.java
1037         (LIVE_DRAG_MODE): Added @specnote tag.
1038         (OUTLINE_DRAG_MODE): Likewise.
1039         * javax/swing/JInternalFrame.java
1040         (MENU_BAR_PROPERTY): Fixed value.
1041         (getMenuBar): Added @deprecated tag.
1042         (setMenuBar): Likewise.
1043         * javax/swing/JViewport.java
1044         (isBackingStoreEnabled): Likewise.
1045         (setBackingStoreEnabled): Likewise.
1046         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1047         (closeKey): Likewise.
1048         (maximizeKey): Likewise.
1049         (minimizeKey): Likewise.
1050         (navigateKey): Likewise.
1051         (navigateKey2): Likewise.
1052         * javax/swing/plaf/basic/BasicInternalFrameUI.java
1053         (openMenuKey): Likewise.
1054         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1055         (keyboardDownRightListener): Likewise.
1056         (keyboardEndListener): Likewise.
1057         (keyboardHomeListener): Likewise.
1058         (keyboardResizeToggleListener): Likewise.
1059         (keyboardUpLeftListener): Likewise.
1060         (dividerResizeToggleKey): Likewise.
1061         (downKey): Likewise.
1062         (endKey): Likewise.
1063         (homeKey): Likewise.
1064         (leftKey): Likewise.
1065         (rightKey): Likewise.
1066         (upKey): Likewise.
1067         (createKeyboardUpLeftListener): Likewise.
1068         (createKeyboardDownRightListener): Likewise.
1069         (createKeyboardHomeListener): Likewise.
1070         (createKeyboardEndListener): Likewise.
1071         (createKeyboardResizeToggleListener): Likewise.
1072         (getDividerBorderSize): Likewise.
1073         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1074         (downKey): Likewise.
1075         (leftKey): Likewise.
1076         (rightKey): Likewise.
1077         (upKey): Likewise.
1078
1079 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1080
1081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1082         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1083         GTK_TEXT_VIEW macro.
1084
1085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1086         (connect_awt_hook_cb): Mark unused variable unused.
1087
1088         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1089         Do the cast right.
1090
1091         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1092         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1093         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1094         Remove unused var menu.
1095         (selection_changed): Remove unused value.
1096
1097         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1098         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1099         warning with using an intermediate variable.
1100
1101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1102         (area_updated): Fix unused var warning for BE archs.
1103
1104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1105         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1106         var.
1107         (realize_cb): Mark unused variable unused.
1108
1109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1110         (seek_glyphstring_idx): Fix a C90 warning.
1111
1112         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1113         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1114         Mark unused arguments unused.
1115
1116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1117         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1118         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1119         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1120         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1121         Likewise.
1122
1123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1124         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1125         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1126         Likewise.
1127
1128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1129         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1130         Likewise.
1131         (filenameFilterCallback): Remove unused var.
1132         (handle_response): Declare str_fileName and remove last else statement.
1133
1134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1135         New File.
1136         (nativeGetNumFontsFamilies) New function.
1137         (nativeGetFontFamilies) Likewise.
1138         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1139         (getAvailableFontFamilyNames): Implement.
1140         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1141         * Makefile.in: Regenerate.
1142
1143 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1144
1145         * gnu/java/awt/peer/ClasspathFontPeer.java
1146         (setStandardAttributes(String,Map)): If size attribute doesn't
1147         exist, default to size 12.  Clamp size value to a minimum of 1.
1148
1149 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1150
1151         * javax/swing/JDialog.java
1152         (decorated): Likewise.
1153         * javax/swing/JFrame.java
1154         (defaultLookAndFeelDecorated): Likewise.
1155
1156 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1157
1158         * javax/swing/plaf/basic/BasicToolBarUI.java
1159         (offset, regular): Made final.
1160         * javax/swing/plaf/basic/BasicScrollBarUI.java
1161         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1162         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1163
1164 2004-11-30  Michael Koch  <konqueror@gmx.de>
1165
1166         * gnu/java/awt/BitwiseXORComposite.java,
1167         gnu/java/awt/ClasspathToolkit.java,
1168         gnu/java/awt/image/XBMDecoder.java,
1169         gnu/java/awt/peer/GLightweightPeer.java,
1170         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1171         Reorganized import statements.
1172
1173 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1174
1175         * java/awt/Button.java
1176         (next_button_number): Removed useless initializer.
1177         * java/awt/Frame.java
1178         (next_frame_number): Likewise.
1179         * java/awt/Panel.java
1180         (next_panel_number): Likewise,
1181         * java/awt/Scrollbar.java
1182         (next_scrollbar_number): Likewise.
1183         * java/awt/TextArea.java
1184         (next_text_number): Likewise.
1185
1186 2004-11-30  Michael Koch  <konqueror@gmx.de>
1187
1188         * java/awt/image/ByteLookupTable.java
1189         (ByteLookupTable) :Fixed HTML entities in javadocs.
1190         (lookupPixel): Fix case when dst is null.
1191         * java/awt/image/ShortLookupTable.java
1192         (ShortLookupTable) :Fixed HTML entities in javadocs.
1193         (lookupPixel): Fix case when dst is null.
1194         * java/awt/image/DataBufferByte.java,
1195         java/awt/image/DataBufferDouble.java,
1196         java/awt/image/DataBufferFloat.java,
1197         java/awt/image/DataBufferInt.java,
1198         java/awt/image/DataBufferShort.java,
1199         java/awt/image/DataBufferUShort.java:
1200         Fix initialization of bankData in constructors.
1201
1202 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1203
1204         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1205         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1206         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1207         requests.
1208         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1209         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1210         (setNativeBounds): Make package private.  Set size request even
1211         if GTK parent is NULL.
1212         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1213         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1214         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1215
1216 2004-11-30  Mark Wielaard  <mark@klomp.org>
1217
1218         Workaround for bug #17952.
1219         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1220         (request_frame_extents): Check window->window != NULL.
1221
1222 2004-11-30  Mark Wielaard  <mark@klomp.org>
1223
1224         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1225
1226 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1227
1228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1229         native_text_layout_state_table here.
1230
1231         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1232
1233 2004-11-30  Mark Wielaard  <mark@klomp.org>
1234
1235         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1236         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1237         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1238
1239 2004-11-30  Michael Koch  <konqueror@gmx.de>
1240
1241         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1242         Merged import statements.
1243
1244 2004-11-30  Michael Koch  <konqueror@gmx.de>
1245
1246         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1247         (isBufferedImageGraphics): Simplified.
1248
1249 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1250
1251         * javax/swing/JTree.java
1252         (isRootVisible): Fixed typo in method name.
1253         * javax/swing/JScrollBar.java
1254         (setValues): Likewise.
1255         * javax/swing/JScrollPane.java
1256         (createScrollListener): Call JScrollBar.setValues.
1257
1258 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1259
1260         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1261         Don't call setParentAndBounds on GtkWindowPeers.
1262
1263         * java/awt/Component.java (static): Don't set default keyboard
1264         focus manager.
1265         * java/awt/KeyboardFocusManager.java
1266         (getCurrentKeyboardFocusManager): If current keyboard focus
1267         manager is null set a default.
1268
1269         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1270         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1271         (gtkWidgetSetBackground): New method.
1272         (block_expose_events_cb): New function.
1273         (connectSignals): Block the AWT's expose event processing on
1274         button press and release.
1275         (gtkSetLabel): Set text on proper widget.
1276         (gtkWidgetModifyFont): Modify font on proper widget.
1277         (gtkWidgetSetBackground): Set normal, active and prelight
1278         colours.
1279         (gtkWidgetSetForeground): Set forground colour of proper widget.
1280         (gtkActivate): Activate the correct widget.
1281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1282         Only clear rectangle if the backing component is not an event
1283         box.
1284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1285         (beginNativeRepaintID): New variable.
1286         (endNativeRepaintID): Likewise.
1287         (gtkInit): Initialize new fields with method IDs.
1288         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1289         (endNativeRepaintID): Likewise.
1290
1291 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1292
1293         * javax/swing/JList.java (init): Revert accidental commit.
1294
1295         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1296         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1297         Call initComponentGraphics or connectSignals depending on
1298         component's realization status.
1299         (realize_cb): New function.
1300         (initComponentGraphics): New method.
1301         (connectSignals): New method.
1302         (clipRect): Return immediately if component is not realized.
1303         (setClip): Likewise.
1304         (translate): Likewise.
1305         (drawImage variants): Return false immediately if component is
1306         not realized.
1307         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1308         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1309         (connectSignals): New method.
1310         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1311         depending on component's realization status.  Move other
1312         initialization calls to ...
1313         (initComponentGraphics2D): New method.
1314         (realize_cb): New function.
1315         (cairoSetMatrix): Return immediately if gr is NULL.
1316         (cairoNewPath): Likewise.
1317         (cairoRectangle): Likewise.
1318         (cairoClip): Likewise.
1319         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1320         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1321         (gtkWidgetRepaintArea): Remove method.
1322         (isRealized): New method.
1323         (GtkComponentPeer): Move setParent, connectJObject and setCursor
1324         calls to setParentAndBounds.  Call setParentAndBounds.
1325         (setParentAndBounds): New method.
1326         (setComponentBounds): Return immediately if bounds are all zero.
1327         (repaint): Remove call to gtkWidgetRepaintArea.  Return
1328         immediately if requested paint region is 0x0.
1329         (setCursor): New method.
1330         (gtkWidgetSetParent): Only set widget's parent if its parent is
1331         currently NULL.
1332         (setNativeBounds): Only set widget's bounds if it has a parent.
1333         (connectSignals): Don't call gtk_widget_realize.  Connect
1334         "realize" signal to connect_awt_hook_cb handler.
1335         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1336         New field.
1337         (beginValidate): Set isValidating true.
1338         (endValidate): Set parents and bounds for children first, then
1339         for this.  Set isValidating false.
1340         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1342         (connectJObject): Remove method.
1343         (connectSignals): Don't call gtk_widget_realize.
1344         * gnu/java/awt/peer/gtk/GtkListPeer.java,
1345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1346         (connectJObject): Remove method.
1347         (connectSignals): Don't call gtk_widget_realize.
1348         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1349         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1350         (connectJObject): Remove method.
1351         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1352         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1353         (connectJObject): Remove method.
1354         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1355         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1356         (create): Don't call gtk_widget_realize.
1357         (connectJObject): Remove method.
1358         (connectSignals): Don't call gtk_widget_realize.  Connect
1359         "realize" signal to connect_awt_hook_cb handler.
1360         (nativeSetBounds): Don't attempt to move GDK window if it is
1361         NULL.
1362         * java/awt/Container.java (addImpl): Don't call comp.addNotify
1363         if peer is not null.
1364         (validateTree): Create peers for all children before calling
1365         doLayout.
1366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1367         (connectSignals): Don't call gtk_widget_realize.
1368         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1369         (connect_awt_hook_cb): New function.
1370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1371         (initComponentGraphicsID): New variable.
1372         (initComponentGraphics2DID): Likewise.
1373         (setCursorID): Likewise.
1374         (gtkInit): Initialize new fields with method IDs.
1375         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1376         extern.
1377         (initComponentGraphics2DID): Declare extern.
1378         (setCursorID): Likewise.
1379         (connect_awt_hook_cb): Declare function.
1380
1381 2004-11-30  Michael Koch  <konqueror@gmx.de>
1382
1383         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1384         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1385         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1386         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1387         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1388         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1389         gnu/java/awt/peer/gtk/GtkClipboard.java,
1390         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1391         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1392         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1393         gnu/java/awt/peer/gtk/GtkListPeer.java,
1394         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1395         gnu/java/awt/peer/gtk/GtkToolkit.java,
1396         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1397         Import statements reworked.  Some little reformattings.
1398
1399 2004-11-30  Michael Koch  <konqueror@gmx.de>
1400
1401         * java/awt/image/AffineTransformOp.java
1402         (TYPE_BILINEAR): Initialize with 2.
1403         * java/awt/print/Printable.java: Jalopied.
1404         (PAGE_EXISTS): Initialize with 0;
1405         (NO_SUCH_PAGE): Initialized with 1.
1406
1407 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1408
1409         * Makefile.am: Add BufferedImageFilter.java.
1410         * Makefile.in: Regenerate.
1411
1412 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1413
1414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 
1415         (install_font_peer): Minor bug fixes to track cairo font semantics.
1416
1417 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1418
1419         * java/awt/image/BufferedImageFilter.java: Implement.
1420
1421 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1422
1423         * Makefile.am
1424         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1425         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1426         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1427         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1428         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1429         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1430         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1431         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1432         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1433         * Makefile.in: Regenerate.
1434         * gnu/awt/xlib/XToolkit.java 
1435         (getClasspathTextLayoutPeer): Add stub.
1436         * gnu/java/awt/ClasspathToolkit.java 
1437         (getClasspathTextLayoutPeer) Add.
1438         * gnu/java/awt/peer/ClasspathFontPeer.java 
1439         (copyStyleToAttrs)
1440         (copySizeToAttrs): Make public.
1441         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1442         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1443         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1444         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1445         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1446         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1447         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1448         (getFontPeer): New function.
1449         (drawString): Pass font peer to native side.
1450         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1451         (cairoSetFont)
1452         (cairoShowGlyphs)
1453         (PainterThread): Remove.
1454         (GdkGraphics2D): Set hints during construction.
1455         (shifted)
1456         (walkPath)
1457         (draw)
1458         (setRenderingHint)
1459         (setRenderingHints): Reimplement normalization logic.
1460         (getDefaultHints)
1461         (updateBufferedImage)
1462         (isBufferedImageGraphics)
1463         (updateImagePixels)
1464         (drawImage): Make final.
1465         (drawImage): Always paint synchronously.
1466         (drawString)
1467         (drawGlyphVector): Rewrite.
1468         (releasePeerGraphicResource)
1469         (getPeerTextMetrics)
1470         (getPeerFontMetrics)
1471         (drawGdkGlyphVector)
1472         (drawGdkTextLayout)
1473         (cairoDrawGdkGlyphVector)
1474         (cairoDrawGdkTextLayout)
1475         (cairoDrawString)
1476         (getFontPeer): New functions.
1477         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1478         * gnu/java/awt/peer/gtk/GtkComponentPeer.java 
1479         (getFontMetrics): Get metrics via toolkit, to hit cache.
1480         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1481         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1482         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1483         (fontCache)
1484         (metricsCache)
1485         (imageCache): New members.
1486         (getFontMetrics)
1487         (getImage)
1488         (getClasspathFontPeer): Use caches.
1489         (getFontPeer): Route through getClasspathFontPeer.
1490         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1491         * java/awt/font/TextLayout.java: Implement in terms of peer.
1492         * javax/swing/plaf/basic/BasicSliderUI.java 
1493         (paintThumb): Use polyline rather than polygon.
1494         * javax/swing/plaf/basic/BasicGraphicsUtils.java: 
1495         Update comment but, alas, still do not switch to using TextLayouts.
1496         * javax/swing/text/Utilities.java (drawTabbedText):
1497         Draw text run-at-a-time, not char-at-a-time.
1498         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1499         layout table.
1500         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1502         Remove files.
1503         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1504         incorporate brains of old GdkClasspathFontPeerMetrics.
1505         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1506         incorporate brains of old GdkClasspathFontPeer.
1507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1509         (drawString): Rewrite to use persistent layout in peer font.
1510         Comment out extraneous gdk_flush calls.
1511         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1512         (metrics_cairo)
1513         (metrics_surface): New static variables.
1514         (paint_glyph_run)
1515         (install_font_peer): New helper functions.
1516         (releasePeerGraphicResource)
1517         (getPeerTextMetrics)
1518         (getPeerFontMetrics)
1519         (cairoDrawGdkTextLayout)
1520         (cairoDrawGdkGlyphVector): New native methods.
1521         (cairoDrawString): Rewrite, leaving layout-based version 
1522         commented out for the time being.
1523         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1524
1525 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1526
1527         * java/awt/geom/AffineTransform.java:
1528         Fixed javadocs overall.
1529
1530 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1531
1532         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1533         it's correct.
1534
1535 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1536
1537         * java/awt/image/IndexColorModel.java: Fix use of immutable
1538         BigIntegers.
1539
1540 2004-11-30  Tom Tromey  <tromey@redhat.com>
1541
1542         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1543         Renamed from 'messageIcon'.
1544         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1545
1546 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1547
1548         * java/awt/image/RescaleOp.java: Fix formatting.
1549
1550 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1551
1552         * javax/swing/plaf/basic/BasicComboPopup.java
1553         (SCROLL_DOWN): made final.
1554         (SCROLL_UP): made final.
1555
1556 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1557
1558         * javax/swing/plaf/basic/BasicComboPopup.java:
1559         Added javadocs for undocumented fields.
1560         (show): scroll down to the selected item and 
1561         highlight selected item.
1562         (startAutoScrolling): Implemented.
1563         (stopAutoScrolling): Implemented.
1564         (autoScrollUp): Implemented.
1565         (autoScrollDown): Implemented.
1566         (InvocationMouseHandler.mouseReleased): Implemented.
1567         (InvocationMouseMotionHandler.mouseDragged): Implemented.
1568
1569 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1570
1571         * java/awt/image/RescaleOp.java: Implement.
1572
1573 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1574
1575         * java/awt/image/IndexColorModel.java (getRGBs,
1576         convertToIntDiscrete): Implement.
1577
1578 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1579
1580         * java/awt/image/IndexColorModel.java: Add class docs.
1581
1582 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1583
1584         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1585         Implement.
1586
1587 2004-11-30  Michael Koch  <konqueror@gmx.de>
1588
1589         * java/awt/MenuBar.java,
1590         java/awt/peer/MenuBarPeer.java:
1591         Revert accidentally commited changes.
1592
1593 2004-11-30  Michael Koch  <konqueror@gmx.de>
1594
1595         * java/awt/AWTKeyStroke.java,
1596         java/awt/Canvas.java,
1597         java/awt/CardLayout.java,
1598         java/awt/CheckboxMenuItem.java,
1599         java/awt/Component.java,
1600         java/awt/Container.java,
1601         java/awt/DefaultKeyboardFocusManager.java,
1602         java/awt/EventDispatchThread.java,
1603         java/awt/FileDialog.java,
1604         java/awt/FlowLayout.java,
1605         java/awt/Font.java,
1606         java/awt/Frame.java,
1607         java/awt/Graphics2D.java,
1608         java/awt/GraphicsEnvironment.java,
1609         java/awt/GridBagConstraints.java,
1610         java/awt/GridBagLayout.java,
1611         java/awt/GridLayout.java,
1612         java/awt/Image.java,
1613         java/awt/KeyboardFocusManager.java,
1614         java/awt/Label.java,
1615         java/awt/List.java,
1616         java/awt/MediaTracker.java,
1617         java/awt/Menu.java,
1618         java/awt/MenuBar.java,
1619         java/awt/MenuComponent.java,
1620         java/awt/Panel.java,
1621         java/awt/PopupMenu.java,
1622         java/awt/ScrollPane.java,
1623         java/awt/Scrollbar.java,
1624         java/awt/SystemColor.java,
1625         java/awt/TextArea.java,
1626         java/awt/TextField.java,
1627         java/awt/Toolkit.java,
1628         java/awt/Window.java,
1629         java/awt/color/ICC_Profile.java,
1630         java/awt/datatransfer/DataFlavor.java,
1631         java/awt/datatransfer/StringSelection.java,
1632         java/awt/datatransfer/SystemFlavorMap.java,
1633         java/awt/dnd/Autoscroll.java,
1634         java/awt/dnd/DropTarget.java,
1635         java/awt/dnd/DropTargetContext.java,
1636         java/awt/dnd/DropTargetDragEvent.java,
1637         java/awt/dnd/peer/DropTargetContextPeer.java,
1638         java/awt/event/AdjustmentEvent.java,
1639         java/awt/event/InputEvent.java,
1640         java/awt/event/InvocationEvent.java,
1641         java/awt/event/KeyEvent.java,
1642         java/awt/event/MouseEvent.java,
1643         java/awt/font/TextLayout.java,
1644         java/awt/geom/GeneralPath.java,
1645         java/awt/geom/Point2D.java,
1646         java/awt/im/InputContext.java,
1647         java/awt/im/spi/InputMethodContext.java,
1648         java/awt/image/AffineTransformOp.java,
1649         java/awt/image/BufferedImage.java,
1650         java/awt/image/ColorModel.java,
1651         java/awt/image/ComponentColorModel.java,
1652         java/awt/image/CropImageFilter.java,
1653         java/awt/image/DirectColorModel.java,
1654         java/awt/image/MemoryImageSource.java,
1655         java/awt/image/PackedColorModel.java,
1656         java/awt/image/PixelGrabber.java,
1657         java/awt/image/RasterOp.java,
1658         java/awt/peer/MenuBarPeer.java:
1659         Some fixes for checkstyle. Import statement and modifier order
1660         redordering.
1661
1662 2004-11-30  Michael Koch  <konqueror@gmx.de>
1663
1664         * javax/swing/JTable.java
1665         (setModel): Reimplemented.
1666
1667 2004-11-30  Michael Koch  <konqueror@gmx.de>
1668
1669         * javax/swing/JTextArea.java
1670         (append): Re-implemented.
1671         (insert): Likewise.
1672
1673 2004-11-30  Michael Koch  <konqueror@gmx.de>
1674
1675         * javax/swing/JSpinner.java
1676         (serialVersionUID): New static field.
1677         * javax/swing/JToggleButton.java
1678         (JToggleButton): Fixed email addresses.
1679         * javax/swing/SpinnerNumberModel.java
1680         (serialVersionUID): Added javadoc.
1681
1682 2004-11-30  Michael Koch  <konqueror@gmx.de>
1683
1684         * javax/swing/JTextArea.java:
1685         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1686         bug here which is fixed in HEAD ...
1687
1688 2004-11-30  Andrew John Hughes  <address@hidden>
1689
1690         * javax/swing/JTextArea.java: Added additional
1691         documentation.
1692
1693 2004-11-30  Andrew John Hughes  <address@hidden>
1694
1695         * javax/swing/JRadioButton.java:
1696         Implemented additional constructors and accessibility
1697         classes.  Added documentation and fixed a typo in
1698         AbstractButton.
1699
1700 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1701
1702         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1703         missing constructor.
1704
1705 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1706
1707         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1708         Implement missing 1.4 constructor.
1709
1710 2004-11-30  Andrew John Hughes  <address@hidden>
1711
1712         * javax/swing/JToggleButton.java:
1713         Implemented additional constructors and accessibility
1714         classes.  Added documentation and fixed a typo in
1715         AbstractButton.
1716
1717 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1718
1719         * java/awt/image/ColorModel.java (getDataElement,
1720         getDataElements): Document since 1.4.
1721
1722 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1723
1724         * java/awt/image/BandedSampleModel.java: Implement.
1725         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1726         * Makefile.in: Regenerated.
1727         
1728 2004-11-30  Michael Koch  <konqueror@gmx.de>
1729
1730         * java/awt/Window.java: Fixed whitespace difference with GNU
1731         classpath.
1732
1733 2004-11-30  Mark Wielaard  <mark@klomp.org>
1734
1735         * Makefile.am: Add javax/swing/SpinnerListModel.java.
1736         * Makefile.in: Regenerated.
1737
1738 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1739
1740         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1741         Implemented SpinnerListModel.  Added documentation to
1742         SpinnerModel.
1743
1744 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1745
1746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c 
1747         (init_dpi_conversion_factor): Apply the patch from main correctly.
1748         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1749
1750 2004-11-30  Tom Tromey  <tromey@redhat.com>
1751
1752         Bug 9948.
1753         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1754         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1755         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1756         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
1757
1758 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1759
1760         * java/awt/Canvas.java
1761         (AccessibleAWTCanvas): added serialization UID
1762         * java/awt/Label.java
1763         (AccessibleAWTLabel): added serialization UID
1764         * javax/swing/JRootPane.java
1765         (AccessibleJRootPane): added comment to existing UID
1766         * javax/swing/JSpinner.java
1767         (DefaultEditor): added serialization UID
1768         (NumberEditor): added serialization UID
1769         * javax/swing/text/html/HTML.java
1770         (UnknownTag): added serialization UID
1771         
1772 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1773
1774         * javax/swing/JInternalFrame.java
1775         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
1776         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
1777         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
1778         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
1779         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1780         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
1781         Made final as per API spec.
1782
1783 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1784
1785         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
1786
1787 2004-11-30  Sven de Marothy  <sven@physto.se>
1788
1789         * java/awt/geom/Arc2D.java: Reformatted.
1790         (setArc): Correct documentation to say 'upper left corner'.
1791         (setArcByTangent,contains,intersects): Implemented.
1792         (containsAngle): Corrected to handle negative extents.
1793         (ArcIterator): Set to private.
1794         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
1795         (intersects): Fix: Now checks the arc segment.
1796         (contains): Cleaned up.
1797         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
1798         (contains): Implemented.
1799         (intersects): Implemented.
1800         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
1801         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
1802         document.  Fully (re)implemented using separate xpoints and ypoints
1803         float[] coords.
1804
1805 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1806
1807         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1808         * configure: Regenerate.
1809         * include/config.h.in: Likewise.
1810         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1812         macro to gtkpeer.h.
1813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1814         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1815         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1816         architectures.
1817         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1818         Likewise.
1819
1820 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1821
1822         * java/awt/SystemColor.java: Fix @link doc entries.
1823
1824 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1825
1826         * java/awt/RenderingHints.java: Documented.
1827         (RenderingHints): Accept null init Map.
1828         (putAll): Preprocess map to generate appropriate exceptions.
1829         (remove): Cast object to Key and remove from hintMap.
1830
1831 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1832
1833         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
1834         Implementation of accessibility classes and methods
1835         for these two components.
1836
1837 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1838
1839         * java/awt/KeyboardFocusManager.java:
1840         Added missing documentation.
1841
1842 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
1843
1844         * java/awt/Label.java, java/awt/Canvas.java:
1845         Added accessibility classes to AWT Label and Canvas,
1846         as well as additional documentation for Canvas.
1847
1848 2004-11-30  David Gilbert  <address@bogus.example.com>
1849
1850         * java/awt/image/DataBuffer.java: Update API documentation.
1851         * java/awt/image/DataBufferByte.java: Likewise.
1852         * java/awt/image/DataBufferDouble.java: Likewise.
1853         * java/awt/image/DataBufferFloat.java: Likewise.
1854         * java/awt/image/DataBufferInt.java: Likewise.
1855         * java/awt/image/DataBufferShort.java: Likewise.
1856         * java/awt/image/DataBufferUShort.java: Likewise.
1857
1858 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
1859
1860         * java/awt/Component.java (postEvent):
1861         Only delegate to parent if a parent exists.
1862         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
1863
1864 2004-11-30  Sven de Marothy  <sven@physto.se>
1865
1866         *java/awt/AWTEventMulticaster.java,
1867         java/awt/Adjustable.java,
1868         java/awt/Point.java,
1869         java/awt/Polygon.java,
1870         java/awt/Rectangle.java,
1871         java/awt/Shape.java,
1872         java/awt/geom/Area.java,
1873         java/awt/geom/Ellipse2D.java,
1874         java/awt/geom/PathIterator.java,
1875         java/awt/geom/Point2D.java,
1876         java/awt/geom/Rectangle2D.java,
1877         java/lang/Comparable.java,
1878         java/util/Arrays.java:
1879         Fixed documentation errors
1880
1881 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1882
1883         * java/awt/image/ComponentSampleModel.java: Add documentation.
1884
1885
1886 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1887
1888         * java/awt/image/ComponentSampleModel.java (constructor):
1889         Initialize numBanks when figuring out the max bank index.
1890
1891 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1892
1893         * java/awt/image/Raster.java (createPackedRaster): Implement
1894         MultiPixelPackedSampleModel codepath.
1895
1896 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1897
1898         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
1899         * Makefile.am: Add MultiPixelPackedSampleModel.java.
1900         * Makefile.in: Regenerate.
1901
1902 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1903
1904         * java/awt/image/Raster.java (getNumBands): Implement.
1905
1906 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1907
1908         * java/awt/image/Raster.java
1909         (createPackedRaster(int,int,int,int,int,Point)): Implement for
1910         bands>1.
1911
1912 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1913
1914         * java/awt/image/SinglePixelPackedSampleModel.java
1915         (SinglePixelPackedSampleModel): Throw exception for unsupported
1916         datatype.
1917
1918 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1919
1920         * java/awt/image/ColorModel.java (getDataElement): Implemented.
1921         Update javadoc.
1922         (getDataElements): Add missing version.  Remove bogus version.
1923         Update javadoc.
1924
1925 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
1926
1927         * javax/swing/plaf/basic/BasicComboBoxUI.java:
1928         (paintCurrentValue): Pass correct parameters to 
1929         getListCellRendererComponent().
1930         (ListDataHandler.intervalRemoved): Implemented. 
1931         (PropertyChangeHandler.propertyChange): Handle changes in
1932         MODEL_CHANGED_PROPERTY of the JComboBox
1933         * javax/swing/plaf/basic/BasicComboPopup.java:
1934         (BasicComboPopup): Moved code that configures popup to 
1935         configurePopup() and call it instead. 
1936         (firePopupMenuWillBecomeVisible): Implemented.
1937         (firePopupMenuWillBecomeInvisible): Likewise.
1938         (firePopupMenuCanceled): Likewise.
1939         (configureList): Set list's visibleRowCount same as 
1940         comboBox's visibleRowCount.
1941         (configurePopup): Implemented.
1942         (getPopupHeightForRowCount): Get item's from JComboBox's model and 
1943         not from model of the JList.
1944         (ListMouseMotionHandler.mouseMoved): Implemented.
1945         (PropertyChangeHandler.propertyChange): Handles change in the
1946         JComboBox's model.
1947
1948 2004-11-30  Michael Koch  <konqueror@gmx.de>
1949
1950         * javax/swing/JComponent.java
1951         (isMaximumSizeSet): New method.
1952         (isMinimumSizeSet): Likewise.
1953         (isPreferredSizeSet): Likewise.
1954
1955 2004-11-30  Michael Koch  <konqueror@gmx.de>
1956
1957         * javax/swing/JSpinner.java:
1958         Some Re-formatting.
1959         (spinner): New field.
1960         (DefaultEditor): New method.
1961         (getSpinner): Likewise.
1962         (NumberEdito): Likewise.
1963         (getModel): Likewise
1964
1965 2004-11-30  Michael Koch  <konqueror@gmx.de>
1966
1967         * javax/swing/InputVerifier.java:
1968         Re-formatted.
1969         * javax/swing/JComponent.java
1970         (inputVerifier): New property field.
1971         (getInputVerifier): New method.
1972         (setInputVerifier): Likewise.
1973
1974 2004-11-30  Michael Koch  <konqueror@gmx.de>
1975
1976         * javax/swing/JComponent.java
1977         (JComponent): Added javadoc comment.
1978         (setBorder): Fire property change eventr.
1979         (setEnabled): Likewise.
1980         (setMaximumSize): Likewise.
1981         (setMinimumSize): Likewise.
1982         (setPreferredSize): Likewise.
1983         (setOpaque): Likewise.
1984
1985 2004-11-30  Michael Koch  <konqueror@gmx.de>
1986
1987         * javax/swing/JTextField.java
1988         (action): New field.
1989         (actionCommand): Likewise.
1990         (actionPropertyChangeListener): Likewise.
1991         (setHorizontalAlignment): Abort soon if new value == old value. Fire
1992         event before repainting.
1993         (postActionEvent): New method.
1994         (getAction): Likewise.
1995         (setAction): Likewise.
1996         (getActionCommand): Likewise.
1997         (setActionCommand): Likewise.
1998         (createActionPropertyChangeListener): Likewise.
1999         (configurePropertiesFromAction): Likewise.
2000
2001 2004-11-30  Michael Koch  <konqueror@gmx.de>
2002
2003         * javax/swing/DebugGraphics.java:
2004         Re-formatted. Fixed some javadocs.
2005         * javax/swing/JApplet.java
2006         (rootPaneCheckingEnabled): Renamed from checking.
2007         * javax/swing/JCheckBox.java
2008         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2009         * javax/swing/JFrame.java:
2010         Re-formatted a bit and reordered some methods.
2011         (rootPaneCheckingEnabled): Renamed from checking.
2012         (getPreferredSize): Simplified.
2013         * javax/swing/JTextArea.java
2014         (getColumnWidth): New method.
2015         (getLineCount): Likewise.
2016         (getLineStartOffset): Likewise.
2017         (getLineEndOffset): Likewise.
2018         (getLineOfOffset): Likewise.
2019         (getRowHeight): Likewise.
2020         (insert): Likewise.
2021         (replaceRange): Likewise.
2022         * javax/swing/JTextField.java
2023         (scrollOffset): new field.
2024         (getScrollOffset): New method.
2025         (setScrollOffset): Likewise.
2026         (getColumnWidth): Likewise.
2027         * javax/swing/JTree.java
2028         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2029         (CELL_EDITOR_PROPERTY): Likewise.
2030         (CELL_RENDERER_PROPERTY): Likewise.
2031         (EDITABLE_PROPERTY): Likewise.
2032         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2033         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2034         (LARGE_MODEL_PROPERTY): Likewise.
2035         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2036         (ROOT_VISIBLE_PROPERTY): Likewise.
2037         (ROW_HEIGHT_PROPERTY): Likewise.
2038         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2039         (SELECTION_MODEL_PROPERTY): Likewise.
2040         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2041         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2042         (TREE_MODEL_PROPERTY): Likewise.
2043         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2044         (cellEditor): New field.
2045         (invokesStopCellEditing): Likewise.
2046         (largeModel): Likewise.
2047         (rowHeight): Likewise.
2048         (scrollsOnExpand): Likewise.
2049         (selectionModel): Likewise.
2050         (toggleClickCount): Likewise.
2051         (visibleRowCount): Likewise.
2052         (setShowsRootHandles): Fixed typo in method name.
2053         (getCellEditor): New method.
2054         (setCellEditor): Likewise.
2055         (getSelectionModel): Likewise.
2056         (setSelectionModel): Likewise.
2057         (getVisibleRowCount): Likewise.
2058         (setVisibleRowCount): Likewise.
2059         (isLargeModel): Likewise.
2060         (setLargeModel): Likewise.
2061         (getRowHeight): Likewise.
2062         (setRowHeight): Likewise.
2063         (getInvokesStopCellEditing): Likewise.
2064         (setInvokesStopCellEditing): Likewise.
2065         (getToggleClickCount): Likewise.
2066         (setToggleClickCount): Likewise.
2067         (getScrollsOnExpand): Likewise.
2068         (setScrollsOnExpand): Likewise.
2069         * javax/swing/table/DefaultTableColumnModel.java
2070         (addColumnModelListener): Fixed javadoc.
2071         (removeColumnModelListener): Implemented. Fixed javadoc.
2072         (getColumnModelListeners): New method.
2073         * javax/swing/table/JTableHeader.java
2074         (columnModel): Made protected.
2075         (draggedColumn): Likewise.
2076         (draggedDistance): Likewise.
2077         (reorderingAllowed): Likewise.
2078         (resizingAllowed): Likewise.
2079         (resizingColumn): Likewise.
2080         (table): Likewise.
2081         (updateTableInRealTime): Likewise.
2082         (createDefaultColumnModel): Renamed from
2083         createDefaultTableColumnModel.
2084         (setDefaultRenderer): New method.
2085         * javax/swing/table/TableColumn.java
2086         (getPropertyChangeListeners): New method.
2087         * javax/swing/text/DefaultHighlighter.java
2088         (drawsLayeredHighlights): New field.
2089         (getDrawsLayeredHighlights): New method.
2090         (setDrawsLayeredHighlights): Likewise.
2091         * javax/swing/text/DocumentFilter.java
2092         (FilterBypass): New inner class.
2093         (insertString): New method.
2094         (remove): Likewise.
2095         (replace): Likewise.
2096         * javax/swing/text/JTextComponent.java
2097         (dragEnabled): New field.
2098         (getSelectedText): New method.
2099         (getDragEnabled): Likewise.
2100         (setDragEnabled): Likewise.
2101         (replaceSelection): Reimplemented.
2102         * javax/swing/text/NavigationFilter.java
2103         (FilterBypass): New inner class.
2104         (NavigationFilter): New method.
2105         (moveDot): Likewise.
2106         (setDot): Likewise.
2107         * javax/swing/text/SimpleAttributeSet.java
2108         (EMPTY): Made public final.
2109
2110 2004-11-30  Michael Koch  <konqueror@gmx.de>
2111
2112         * javax/swing/SpinnerNumberModel.java
2113         (getMinimum): New method.
2114         (setMinimum): Likewise.
2115         (getMaximum): Likewise.
2116         (setMaximum): Likewise.
2117         (getStepSize): Likewise.
2118         (setStepSize): Likewise.
2119
2120 2004-11-30  Michael Koch  <konqueror@gmx.de>
2121
2122         * javax/swing/JMenu.java
2123         (getMenuListeners): New method.
2124         (fireMenuSelected): Simplified.
2125         * javax/swing/JRootPane.java
2126         (NONE): New static field.
2127         (FRAME): Likewise.
2128         (PLAIN_DIALOG): Likewise.
2129         (INFORMATION_DIALOG): Likewise.
2130         (ERROR_DIALOG): Likewise.
2131         (COLOR_CHOOSER_DIALOG): Likewise.
2132         (FILE_CHOOSER_DIALOG): Likewise.
2133         (QUESTION_DIALOG): Likewise.
2134         (WARNING_DIALOG): Likewise.
2135         (defaultButton): New field.
2136         (getDefaultButton): New method.
2137         (setDefaultButton): Likewise.
2138         * javax/swing/JScrollPane.java
2139         (getUI): New method.
2140         (setUI): Likewise.
2141         * javax/swing/JTable.java
2142         (getUI): Javadoc added.
2143         (setUI): New method.
2144         * javax/swing/JViewport.java
2145         (getUI): New method.
2146         (setUI): Likewise.
2147         * javax/swing/UIDefaults.java
2148         (removePropertyChangeListener): Made public.
2149
2150 2004-11-30  Michael Koch  <konqueror@gmx.de>
2151
2152         * javax/swing/JApplet.java, javax/swing/JFrame.java:
2153         Re-indented.
2154
2155 2004-11-30  Michael Koch  <konqueror@gmx.de>
2156
2157         * javax/swing/AbstractButton.java:
2158         Little re-formatting.
2159         (changeEvent): Made protected.
2160         (fireStateChanged): Removed argument.
2161         (setHorizontalAlignment): Abort method when old value is equal too new
2162         value.
2163         (setHorizontalTextPosition): Likewise.
2164         (setVerticalAlignment): Likewise.
2165         (setVerticalTextPosition): Likewise.
2166         (setBorderPainted): Likewise.
2167         (setIcon): Likewise.
2168         (setText): Likewise.
2169         (setIconTextGap): Likewise.
2170         (setMargin): Likewise.
2171         (setPressedIcon): Likewise.
2172         (setFocusPainted): Likewise.
2173         (setDisabledSelectedIcon): Likewise.
2174         (setRolloverIcon): Likewise.
2175         (setRolloverSelectedIcon): Likewise.
2176         (setSelectedIcon): Likewise.
2177         (setContentAreaFilled): Likewise.
2178
2179 2004-11-30  Kim Ho  <kho@redhat.com>
2180
2181         * javax/swing/plaf/basic/BasicArrowButton.java:
2182         Jalopy. Reimplement.
2183         * javax/swing/plaf/basic/BasicScrollBarUI.java:
2184         Jalopy.
2185         (arrowIcon, upIcon, downIcon, leftIcon,
2186         rightIcon): Removed.
2187         (createIncreaseButton): Use BasicArrowButton.
2188         (createDecreaseButton): Ditto.
2189         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2190         (createRightOneTouchButton): Remove button border.
2191         (createLeftOneTouchButton): Ditto.
2192
2193 2004-11-30  Michael Koch  <konqueror@gmx.de>
2194
2195         * javax/swing/JSpinner.java
2196         (setModel): New method.
2197         * javax/swing/SpringLayout.java
2198         (Constraints): May not be final.
2199
2200 2004-11-30  Michael Koch  <konqueror@gmx.de>
2201
2202         * gnu/java/awt/peer/gtk/GtkClipboard.java,
2203         java/awt/datatransfer/Clipboard.java,
2204         java/awt/datatransfer/ClipboardOwner.java:
2205         Reformated to make it use our coding standard.
2206
2207 2004-11-30  Michael Koch  <konqueror@gmx.de>
2208
2209         * javax/swing/SpinnerNumberModel.java
2210         (SpinnerNumberModel): Implements java.io.Serializable.
2211         (serialVersionUID): New field.
2212         (SpinnerNumberModel): Added missing @throws tags to javadocs.
2213         * javax/swing/UIManager.java
2214         (get): New method.
2215         (getBoolean): Likewise.
2216         (getBorder): Likewise.
2217         (getColor): Likewise.
2218         (getDimension): Likewise.
2219         (getFont): Likewise.
2220         (getIcon): Likewise.
2221         (getInsets): Likewise.
2222         (getInt): Likewise.
2223         (getString): Likewise.
2224
2225 2004-11-30  Michael Koch  <konqueror@gmx.de>
2226
2227         * javax/swing/JPasswordField.java:
2228         Reformated. Implemented construtors.
2229         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2230         (create): New method.
2231         * javax/swing/text/PlainView.java
2232         (selectedColor): Made package-private to allow access from sub-classes
2233         in same package too.
2234         (unselectedColor): Likewise.
2235         (font): Likewise.
2236         (drawSelectedText): Make protected.
2237         (drawUnselectedText): Likewise.
2238         * javax/swing/text/PasswordView.java: New file.
2239         * Makefile.am: Added javax/swing/text/PasswordView.java.
2240         * Makefile.in: Regenerated.
2241
2242 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2243
2244         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2245         bar's width.
2246         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2247         Add FIXME comment.
2248         (addHelpMenu): Elide call to nativeSetHelpMenu.
2249         * java/awt/Menu.java (isTearOff): Rename to tearOff.
2250         (menuSerializedDataVersion): Initialize to 1.
2251         (separatorLabel): Mark transient.
2252         (insert(MenuItem,int)): Implement.
2253         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2254         peer.
2255         (countMenus): Count help menu.
2256         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2257         accessibleContext): Add fields.
2258         * java/awt/MenuItem.java: Remove event mask FIXME.
2259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2260         (gtkWidgetModifyFont): Only set font if label is non-NULL.
2261         (setLabel): Don't treat "-" specially.
2262
2263 2004-11-30  Kim Ho  <kho@redhat.com>
2264
2265         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2266         (stateChanged): Only update the image and the track if
2267         the values are not being adjusted.
2268         (updateChooser): Grab the new mouse point from the
2269         spinner values. Update the image and track only if 
2270         the values are not being adjusted. 
2271         (getHSBValues): New method.
2272         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2273         (SliderHandler::stateChanged): Changed internalChange 
2274         to updateChange. Set sliderChange.
2275         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2276         (spinnerChange): New variable.
2277         (sliderChange): Ditto.
2278         (updateChange): Renamed from internalChange.
2279         (updateChooser): Do not update sliders if the sliders
2280         were the original source of the change. Ditto for spinners.
2281         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2282         (mousePress): Don't scroll the JViewport if there will
2283         be extra space at the end of the run. Change layout() to
2284         revalidate().
2285         (calculateSize): Use the component's width/height unless
2286         it is smaller than the max tab width/height.
2287         (calculateTabRects): Subtract the tab run overlay.
2288         (rotateTabRuns): Don't rotate if there's only one run.
2289         (layoutContainer): Reuse the viewport point.
2290         (createLayoutManager): Set the viewport to use no layout.
2291         (paintTabArea): Don't paint the tabs that are not visible
2292         to the JViewport.
2293         (paintContentBorderTopEdge): Check for scroll tab layout before
2294         looking for gap.
2295         (paintContentBorderLeftEdge): Ditto.
2296         (paintContentBorderBottomEdge): Ditto.
2297         (paintContentBorderRightEdge): Ditto.
2298
2299 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2300
2301         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2302         Rename ...
2303         (gtkWidgetModifyFont): New method.
2304         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2305         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2306         (setMenuBarWidth): New method.
2307         (setBounds): Set the menu bar width.
2308         (postConfigureEvent): Set the menu bar width if the window's
2309         width has changed.
2310         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2311         Don't call create.
2312         (setFont): New method.
2313         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2314         method.
2315         (setFont): Likewise.
2316         (GtkMenuComponentPeer): Call create and setFont.
2317         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2318         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2319         (connectSignals): Make package private.
2320         (gtkWidgetModifyFont): New method.
2321         (create): Likewise.
2322         (GtkMenuItemPeer): Don't call create.
2323         (setFont): New method.
2324         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2325         condition.
2326         * java/awt/Container.java (validateTree): Fix comment typos.
2327         * java/awt/MenuComponent.java (getFont): Return parent's font if
2328         our font is null.
2329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2330         (create): Remove call to deprecated
2331         gtk_check_menu_item_set_show_toggle function.
2332
2333 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
2334
2335         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2336         (Almost everywhere): add LOG calls, fix, add comments.
2337         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2338         Add explicit check for LOCKED bit in slow case (PR 16662).
2339         (_Jv_MonitorExit): Add casts in debug-only code.
2340         Always release LOCKED bit before throwing exception.
2341         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2342         isn't.  Handle easy cases without lock acquisition.
2343         (Object::wait): Use NotifyAll for lock inflation.
2344
2345 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2346
2347         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2348         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2349         (gtkFixedMove): Remove method.
2350
2351 2004-11-30  Sven de Marothy  <sven@physto.se>
2352
2353         * java/awt/geom/Area.java: Implemented.
2354
2355 2004-11-30  Mark Wielaard  <mark@klomp.org>
2356
2357         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2358
2359 2004-11-30 Sven de Marothy <sven@physto.se>
2360
2361         * java/awt/geom/Arc2D.java
2362         Reformatted.
2363         (setArc): Correct documentation to say 'upper left corner'.
2364         (setArcByTangent,contains,intersects): Implemented.
2365         (containsAngle): Corrected to handle negative extents.
2366         (ArcIterator): Set to private.
2367         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2368         * java/awt/geom/Ellipse2D.java
2369         Documented.
2370         (contains,intersects): Implemented.
2371         * java/awt/geom/Line2D.java
2372         (linesIntersect): Correct handling of special cases.
2373
2374 2004-11-30  Mark Wielaard  <mark@klomp.org>
2375
2376         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2377         Color.BLACK if c == null, don't create new Color object each time.
2378         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2379         field.
2380         (setColor): Use Color.BLACK when argument null.
2381         (setComposite): Set this.comp field.
2382         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2383         (DrawState.comp): New private field.
2384         (DrawState.save): Save Composite.
2385         (DrawState.restore): Restore comp field.
2386         * java/awt/FontMetrics.java (gRC): New static final private field.
2387         (getLineMetrics(String, Graphics)): New method.
2388         (getLineMetrics(String, int, int, Graphics)): Likewise.
2389         (getLineMetrics(char[], int, int, Graphics)): Likewise.
2390         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2391         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2392         argument. PR SWING/17294.
2393         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2394         the fall-back code since none of the TextArea methods are really
2395         implemented now. PR SWING/17296.
2396         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2397         (GdkGlyphVector_setChars): Replace assert() with if block when
2398         pango_itemize() returns null. PR AWT/17295.
2399         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2400         
2401 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2402
2403         * Makefile.am (gtk_c_source_files): Add
2404         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2405         * Makefile.in: Regenerate.
2406         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2407         comment.
2408         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2410         (create): Pack GtkButton in GtkEventBox.
2411         (connectJObject): Remove.
2412         (focus_in_cb): New function.
2413         (focus_out_cb): Likewise.
2414         (connectSignals): Connect focus-in-event and focus-out-event
2415         signals.
2416         (gtkSetFont): Rename to ...
2417         (gtkWidgetModifyFont): New method.
2418         (gtkWidgetRequestFocus): New method.
2419         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2420         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2421         (gtkSetFont): Rename to ...
2422         (gtkWidgetModifyFont): New method.
2423         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2424         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2425         (isInRepaint): New field.
2426         (gtkSetFont): Remove method.
2427         (addExposeFilter): Likewise.
2428         (removeExposeFilter): Likewise.
2429         (gtkWidgetQueueDrawArea): Rename to ...
2430         (gtkWidgetRepaintArea): New method.
2431         (beginNativeRepaint): New method.
2432         (endNativeRepaint): New method.
2433         (setComponentBounds): Move implementation here from
2434         GtkComponentPeer.
2435         (paint): Remove implementation.
2436         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2437         beginNativeRepaint and endNativeRepaint.
2438         (setBounds): Use menu bar height in bounds calculation.
2439         (postExposeEvent): Only post paint event if we're not doing a
2440         native repaint.
2441         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2442         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2443         (find_gtk_layout): Remove function.
2444         (filter_expose_event_handler): Likewise.
2445         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2446         Likewise.
2447         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2448         (setComponentBounds): Call GtkComponentPeer's
2449         setComponentBounds.
2450         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2451         New method.
2452         (moveLayout): Rename to ...
2453         (gtkFixedMove): New method.
2454         (gtkLayoutSetVisible): Rename to ...
2455         (gtkFixedSetVisible): New method.
2456         (setMenuBar): Rearrange, to make the three separate cases
2457         clearer.
2458         (postExposeEvent): Only post paint event if we're not doing a
2459         native repaint.
2460         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2461         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2462         (gtkWidgetModifyFont): New method.
2463         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2464         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2465         Call run directly, rather than spawning a new thread.
2466         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2467         Likewise.
2468         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2469         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2470         Rename to ...
2471         (gtkWidgetModifyFont): New method.
2472         (create): Rename ebox to eventbox.
2473         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2474         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2475         Rename to ...
2476         (gtkWidgetModifyFont): New method.
2477         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2478         (GtkMenuComponentPeer): Set the default font.
2479         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2480         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2481         (gtkSetFont): Rename to ...
2482         (gtkWidgetModifyFont): New method.
2483         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2484         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2485         * java/awt/Component.java (locale): Initialize to default
2486         locale.
2487         * java/awt/Container.java (invalidateTree): Make
2488         package-private.
2489         (paint): Paint self first.
2490         (setMenuBar): Call invalidateTree.
2491         * java/awt/Panel.java (dispatchEventImpl): Remove method.
2492         * java/awt/Window.java (show): Call no-parameter variant of
2493         requestFocusInWindow.
2494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2495         Remove special case for window widget.
2496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2497         (grab_current_drawable): Likewise.
2498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2499         (create): Replace GtkLayout with GtkFixed.
2500         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2501         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2503         Move all GtkFramePeer native method implementations here from
2504         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2505         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2506         Replace GtkLayout with GtkFixed.
2507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2508         (find_layout): Remove function.
2509         (create): Replace GtkLayout with GtkFixed.
2510         (connectSignals): Remove find_layout call.
2511         (toBack): Replace XFlush with gdk_flush.
2512         (toFront): Replace XFlush with gdk_flush.
2513         Move GtkFramePeer native method implementations to
2514         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2515         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2516
2517 2004-11-30  Michael Koch  <konqueror@gmx.de>
2518
2519         * javax/swing/JTextArea.java
2520         (lineWrap): Renamed from "wrapping".
2521         (wrapStyleWord): NEw field.
2522         (getLineWrap): Re-edited javadoc comment.
2523         (setLineWrap): Likewise.
2524         (getWrapStyleWord): New method.
2525         (setWrapStyleWord): Likewise.
2526
2527 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2528
2529         * configure: Regenerate for libtool change.
2530
2531 2004-11-29  Tom Tromey  <tromey@redhat.com>
2532
2533         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2534         Recognize --help and --version.
2535         (usage): Mention gcj-dbtool.  Added "out" argument.
2536         (insist): Updated.
2537
2538 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
2539
2540         * link.cc (link_symbol_table): Do not use intptr_t.
2541
2542 2004-11-28  Mark Wielaard  <mark@klomp.org>
2543
2544         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2545         XMLDecoder tests which currently don't compile.
2546
2547 2004-11-27  Andrew Haley  <aph@redhat.com>
2548
2549         * link.cc (ensure_class_linked): Conditionally compile
2550         _Jv_IsInterpretedClass on INTERPRETER.
2551         (print_class_loaded): Likewise.
2552         (wait_for_state): Likewise.
2553         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2554         * include/java-interp.h (ROUND): Remove.
2555
2556 2004-11-25  Tom Tromey  <tromey@redhat.com>
2557
2558         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2559         * java/lang/Class.h (_Jv_Linker): Declare.
2560         (Class): Fix names of friends.
2561         (_Jv_getInterfaceMethod): Declare.
2562
2563 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2564
2565         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2566         variable libjava_ld_library_path.
2567         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2568
2569 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
2570
2571         * java/util/ResourceBundle.java (BundleKey): Don't implement
2572         Cloneable.
2573         (BundleKey.clone): Removed.
2574         (getBundle): Copy BundleKey using constructor, not clone().
2575
2576 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2577
2578         * configure: Regenerate for libtool reversion.
2579
2580 2004-11-25  Michael Koch  <konqueror@gmx.de>
2581
2582         * Makefile.am: Added most of javax.print again.
2583         * Makefile.in: Regenerated.
2584
2585 2004-11-25  Michael Koch  <konqueror@gmx.de>
2586
2587         * Makefile.am: Added most of javax.print again.
2588         * Makefile.in: Regenerated.
2589
2590 2004-11-24  Tom Tromey  <tromey@redhat.com>
2591
2592         * Merged gcj-abi-2-dev-branch to trunk.
2593
2594 2004-11-16  Tom Tromey  <tromey@redhat.com>
2595
2596         * include/java-interp.h (_Jv_DefineClass): Updated.
2597         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2598         domain to class reader.
2599         * defineclass.cc (parse): Use print_class_loaded.
2600         Include ProtectionDomain.h.
2601         (_Jv_DefineClass): Added ProtectionDomain argument.
2602         (_Jv_ClassReader): Likewise.
2603         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2604         * link.cc: Include CodeSource.h.
2605         (print_class_loaded): New function.
2606         (wait_for_state): Use it.
2607
2608 2004-11-16  Andrew Haley  <aph@redhat.com>
2609
2610         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2611
2612 2004-11-16  Andrew Haley  <aph@redhat.com>
2613
2614         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2615         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2616         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2617         * configure: Regenerate.
2618         * Makefile.in: Regenerate.      
2619
2620 2004-11-15  Andrew Haley  <aph@redhat.com>
2621
2622         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2623         gc-allocated object.
2624
2625 2004-11-15  Andrew Haley  <aph@redhat.com>
2626
2627         * java/net/URLClassLoader.java
2628         (URLLoader.getClassPath): New method.
2629         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2630         attribute and add URLs for each entry.
2631         (JarURLLoader.classPath): New field.
2632         (JarURLLoader.getClassPath): New method.
2633         (addURLImpl): Scan through the list of extraUrls in the new
2634         loader, adding them to our urlinfos.
2635         (definePackage, findURLResource, findResources): Use
2636         urlinfos.size(), not urls.size().
2637
2638 2004-11-11  Tom Tromey  <tromey@redhat.com>
2639
2640         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2641         method.
2642         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2643         linked.
2644         (ensureSupersLinked): Declare.
2645         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2646         linked.
2647
2648 2004-11-10  Tom Tromey  <tromey@redhat.com>
2649
2650         * gij.cc (main): Treat -verbose the same as -verbose:class.
2651         (help): Document -verbose and -verbose:class.
2652
2653         * link.cc (verbose_class_flag): Declare.
2654         (wait_for_state): Print message when handling precompiled class.
2655         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2656
2657 2004-11-09  Tom Tromey  <tromey@redhat.com>
2658
2659         * testsuite/libjava.lang/assign2.out: New file.
2660         * testsuite/libjava.lang/assign2.java: New file.
2661
2662         * java/lang/natRuntime.cc (insertSystemProperties): Set
2663         java.version to 1.4.2 and java.specification.version to 1.4.  Set
2664         java.runtime.version.
2665
2666 2004-11-08  Tom Tromey  <tromey@redhat.com>
2667
2668         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2669         supers installed.
2670         * link.cc (verify_type_assertions): Don't link supers.
2671
2672         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2673         * include/java-interp.h (class _Jv_InterpClass)
2674         <_Jv_PrepareMissingMethods>: No longer `friend'.
2675         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2676         `friend'.
2677         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2678         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2679         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2680         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2681         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2682         * link.cc (search_method_in_class): Renamed from
2683         _Jv_SearchMethodInClass.
2684         (resolve_pool_entry): Updated.
2685
2686         * include/jvm.h (_Jv_CheckAssignment): Removed.
2687         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2688
2689 2004-11-05  Tom Tromey  <tromey@redhat.com>
2690
2691         * link.cc (verify_type_assertions): Ensure classes have supers
2692         linked.  Strip off array types first.
2693
2694 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
2695
2696         * link.cc: Include VerifyError.h. 
2697         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2698         in the type assertion table.
2699         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2700         verify_type_assertions.
2701         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2702         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE, 
2703         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2704         assertion code values.
2705         (struct _Jv_TypeAssertion): Declare.
2706         (assertion_table): New class field.
2707         (verify): Remove class field.
2708
2709 2004-11-05  Andrew Haley  <aph@redhat.com>
2710
2711         * Makefile.am: Move jv_dbtool.java to
2712         gnu/gcj/tools/gcj_dbtool/Main.java.
2713         * Makefile.in: Rebuild.
2714         * java/lang/VMCompiler.java: Rename property
2715         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2716         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2717         jv_dbtool.java.
2718         
2719 2004-11-05  Andrew Haley  <aph@redhat.com>
2720
2721         * jv_dbtool.java (main): Allow the user to specify the size of the
2722         database.  Display the capacity and the size.
2723         (usage): Show the new option.
2724                 
2725 2004-11-04  Tom Tromey  <tromey@redhat.com>
2726
2727         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2728         * link.cc (make_vtable): Use correct index when searching for
2729         missing method's name.  Don't use `flags'.
2730         (set_vtable_entries): Removed `flags' argument.  Don't recurse
2731         into superclasses.
2732         (link_symbol_table): Ensure target class method table is
2733         complete.  Ensure target fields are laid out before entering
2734         loop.
2735
2736         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2737         fix.
2738
2739         * interpret.cc (do_verify): Don't verify abstract methods.
2740
2741 2004-11-01  Tom Tromey  <tromey@redhat.com>
2742
2743         * link.cc (wait_for_state): Call verify_class.
2744
2745         * verify.cc (state::check_no_uninitialized_objects): Removed.
2746         (push_jump): Updated.
2747         (push_exception_jump): Likewise.
2748         (handle_ret_insn): Likewise.
2749         (handle_jsr_insn): Likewise.
2750
2751 2004-10-28  Andrew Haley  <aph@redhat.com>
2752
2753         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2754         * jv_dbtool.java: New file.
2755         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2756         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2757         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
2758         * Makefile.in: Regenerate,
2759         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
2760         Enumeration, StringTokenizer, Vector, PersistentByteMap.
2761         (precompiledMapFiles): New variable.
2762         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
2763         initialize precompiledMapFiles.
2764         (compileClass): Look at the database of precompiled class files
2765         before firing up gcj.
2766
2767         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
2768
2769 2004-10-27  Andrew Haley  <aph@redhat.com>
2770
2771         * java/lang/VMCompiler.java (compileClass): try looking for
2772         precompiledMapFiles.
2773         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2774
2775 2004-10-27  Tom Tromey  <tromey@redhat.com>
2776
2777         * link.cc (ensure_class_linked): Only resolve classes for
2778         compiled classes.
2779         (add_miranda_methods): Ensure interface supers are installed.
2780         (resolve_pool_entry): Better error message.
2781
2782 2004-10-25  Tom Tromey  <tromey@redhat.com>
2783
2784         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
2785
2786         * java/util/ResourceBundle.java (tryBundle): Use
2787         Class.isAssignableFrom rather than catching ClassCastException.
2788
2789         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
2790         exception if we hit EOF of `in'.
2791         (read): Handle case where inflating returns -1.
2792
2793         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
2794         initialize `iter'.
2795         * gnu/java/text/SentenceBreakIterator.java
2796         (SentenceBreakIterator): Don't initialize `iter'.
2797         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
2798         initialize `iter'.
2799         * gnu/java/text/CharacterBreakIterator.java
2800         (CharacterBreakIterator): Don't initialize `iter'.
2801         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
2802         constructor.
2803         * java/text/BreakIterator.java: Updated documentation.
2804
2805 2004-10-20  Tom Tromey  <tromey@redhat.com>
2806
2807         * java/util/ResourceBundle.java (tryBundle): Also ignore
2808         ClassCastException.
2809
2810 2004-10-18  Tom Tromey  <tromey@redhat.com>
2811
2812         * interpret.cc (do_post_miranda_hook): New method.
2813         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
2814         New field.
2815         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
2816         (_Jv_CompiledEngine): Initialize new field.
2817         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
2818         (_Jv_InterpreterEngine): Initialize new field.
2819         * link.cc (resolve_pool_entry): Put Miranda methods in target
2820         class.
2821         (ensure_method_table_complete): Call post_miranda_hook.
2822         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
2823         aux_info.
2824         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
2825         (parse): Set class' aux_info here.
2826
2827         * boehm.cc (_Jv_MarkObj): Mark `throws'.
2828
2829         * boehm.cc: Re-merged with trunk.
2830
2831 2004-10-18  Andrew Haley  <aph@redhat.com>
2832
2833         PR java/18036:
2834         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2835         and correct logic used to find interpreter.
2836
2837 2004-10-13  Andrew Haley  <aph@redhat.com>
2838
2839         * interpret.cc (_Jv_InterpMethod::run): Initialize
2840         _Jv_StartOfInterpreter.
2841         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2842         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2843         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2844         _Unwind_FindEnclosingFunction to discover whether PC is within the
2845         interpreter.
2846
2847 2004-10-13  Tom Tromey  <tromey@redhat.com>
2848
2849         * link.cc (find_iindex): Copy correct number of slots to new
2850         ioffsets.
2851
2852 2004-10-12  Tom Tromey  <tromey@redhat.com>
2853
2854         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
2855         proc.
2856         (gcj_loader_test_one): Use it.
2857         (gcj_loader_run): Likewise.
2858
2859         * prims.cc: Don't include FirstThread.h.
2860
2861 2004-10-06  Tom Tromey  <tromey@redhat.com>
2862
2863         * link.cc (ensure_method_table_complete): Ensure superclass
2864         Miranda methods installed.
2865
2866         * include/java-interp.h (class _Jv_JNIMethod): Added
2867         JV_MARKOBJ_DECL as a friend.
2868         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
2869         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
2870         interpreter method structures.  Mark jni_arg_types of JNI
2871         methods.
2872
2873         * defineclass.cc (parse): Use JV_STATE_READ.
2874         * java/lang/Class.h (JV_STATE_READ): New enum value.
2875
2876 2004-10-05  Tom Tromey  <tromey@redhat.com>
2877
2878         * link.cc (resolve_pool_entry): Add signature info to missing
2879         method's information.
2880
2881         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
2882         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
2883
2884 2004-10-04  Tom Tromey  <tromey@redhat.com>
2885
2886         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
2887         marking IDT.
2888
2889 2004-09-29  Tom Tromey  <tromey@redhat.com>
2890
2891         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
2892         resolve.cc.
2893         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
2894         * jni.cc: Use _Jv_Linker.
2895         * interpret.cc: Use _Jv_Linker.
2896         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
2897         * java/lang/natClassLoader.cc: Use _Jv_Linker.
2898         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
2899         * java/lang/Class.h: Use _Jv_Linker.
2900         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
2901         * resolve.cc: Renamed ...
2902         * link.cc: ... here.  Use _Jv_Linker.
2903         * defineclass.cc (checkExtends): Use _Jv_Linker.
2904
2905 2004-09-17  Tom Tromey  <tromey@redhat.com>
2906
2907         * defineclass.cc (handleCodeAttribute): Don't reference
2908         `deferred'.
2909         (handleMethodsEnd): Likewise.
2910         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
2911         field.
2912         (_Jv_Defer_Resolution): Don't declare or define.
2913         * interpret.cc (do_create_ncode): Don't resolve deferred method
2914         pointers.
2915         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
2916         * resolve.cc (link_symbol_table): No need to defer resolution.
2917
2918 2004-09-14  Tom Tromey  <tromey@redhat.com>
2919
2920         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
2921         (_Jv_MarkObj): Updated.
2922         (_Jv_MarkArray): Likewise.
2923
2924         * include/jvm.h (StringClass): Removed.
2925         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
2926         * interpret.cc (_Jv_InitField): Don't use StringClass.
2927         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
2928         StringClass.
2929         (rehash): Likewise
2930         (intern): Likewise.
2931         (_Jv_FinalizeString): Likewise.
2932         (_Jv_NewStringUtf8Const): Likewise.
2933         (equals): Likewise.
2934         * prims.cc (JvConvertArgv): Don't use StringClass.
2935
2936         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
2937         * resolve.cc (ensure_fields_laid_out): Don't mention
2938         COMPACT_FIELDS.
2939         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
2940         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
2941
2942         * java/lang/reflect/natField.cc (getType): Use resolve_field.
2943         * java/lang/natVMClassLoader.cc (resolveClass): New native
2944         implementation.
2945         (linkClass0): Removed.
2946         (markClassErrorState0): Likewise.
2947         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
2948         preparation code to resolve.cc.
2949         (_Jv_RegisterClassHookDefault): Set class's execution engine if
2950         not already set.
2951         (_Jv_FindClass): Use wait_for_state.
2952         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
2953         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
2954         Moved interface table and class preparation code to resolve.cc.
2955         (finalize): Rewrote.
2956         (initializeClass): Simplified locking and class preparation.
2957         * java/lang/VMClassLoader.java (linkClass0): Removed.
2958         (markClassErrorState0): Likewise.
2959         (resolveClass): Now native.
2960         (transformException): New method.
2961         * java/lang/Class.h (getSuperclass): Don't try to resolve super
2962         reference.
2963         (getInterface): Likewise.
2964         (size): Likewise.
2965         (set_state): New method.
2966         (Class): Updated friend declarations.
2967         (verify): Field now private.
2968         (engine): New field.
2969         * include/jvm.h (class _Jv_Resolver): New class declaration.
2970         (_Jv_ResolveField): Removed declaration.
2971         (_Jv_CheckAccessNoInit): Likewise.
2972         (_Jv_isBinaryCompatible): Removed.
2973         * include/java-interp.h (class _Jv_MethodBase): Updated friend
2974         declarations.
2975         (class _Jv_InterpMethod): Likewise.
2976         (class _Jv_InterpClass): Likewise.
2977         (class _Jv_JNIMethod): Likewise.
2978         * include/execution.h: New file.
2979         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
2980         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
2981         Register class after setting fields.
2982         * resolve.cc: Include execution.h, VerifyError.h.  Moved
2983         interpreter-specific code to interpret.cc.
2984         (uaddr): New location.
2985         (struct aligner): Likewise.
2986         (ALIGNOF): Likewise.
2987         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
2988         (INITIAL_IFACES_LEN): Likewise.
2989         (null_idt): Likewise.
2990         (_Jv_GetMethodString): Likewise.
2991         (_Jv_ThrowNoSuchMethodError): Likewise.
2992         (_Jv_abstractMethodError): Likewise.
2993         (_Jv_Resolver::get_alignment_from_class): Renamed.
2994         (_Jv_Resolver::resolve_field): Likewise.
2995         (_Jv_Resolver::resolve_pool_entry): Likewise.
2996         (_Jv_Resolver::resolve_class_ref): Likewise.
2997         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
2998         (_Jv_Resolver::indexof): Likewise.
2999         (_Jv_Resolver::get_interfaces): Likewise.
3000         (_Jv_Resolver::generate_itable): Likewise.
3001         (_Jv_Resolver::append_partial_itable): Likewise.
3002         (_Jv_Resolver::find_iindex): Likewise.
3003         (_Jv_Resolver::link_symbol_table): Likewise.
3004         (_Jv_Resolver::link_exception_table): Likewise.
3005         (_Jv_Resolver::layout_interface_methods): Likewise.
3006         (_Jv_Resolver::layout_vtable_methods): Likewise.
3007         (_Jv_Resolver::set_vtable_entries): Likewise.
3008         (_Jv_Resolver::make_vtable): Likewise.
3009         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3010         (_Jv_Resolver::ensure_class_linked): Likewise.
3011         (_Jv_Resolver::ensure_supers_installed): Likewise.
3012         (_Jv_Resolver::add_miranda_methods): Likewise.
3013         (_Jv_Resolver::ensure_method_table_complete): Likewise.
3014         (_Jv_Resolver::verify_class): Likewise.
3015         (_Jv_Resolver::wait_for_state): Likewise.
3016         * prims.cc (_Jv_soleCompiledEngine): New global.
3017         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3018         (_Jv_CheckAccessNoInit): Removed.
3019         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3020         * interpret.cc: Include platform.h, ClassFormatError.h,
3021         Modifier.h, execution.h.
3022         (_Jv_soleInterpreterEngine): New global.
3023         (compile): Use resolve_pool_entry.
3024         (run): Likewise.
3025         (_Jv_InitField): New location.
3026         (skip_one_type): Likewise.
3027         (get_ffi_type_from_signature): Likewise.
3028         (_Jv_count_arguments): Likewise.
3029         (init_cif): Likewise.
3030         (ncode_closure): Likewise.
3031         (ffi_closure_fun): Likewise.
3032         (ncode): Likewise.
3033         (throw_class_format_error): Likewise.
3034         (throw_class_format_error): Likewise.
3035         (_Jv_InterpreterEngine::do_verify): New method.
3036         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3037         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3038         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3039         * defineclass.cc: Include execution.h.
3040         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3041         engine.
3042         (checkExtends): Ensure superclass has supers installed.
3043         (_Jv_ClassNameSamePackage): Clarify usage constraints.
3044         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3045         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
3046         dispatch tables.
3047
3048 2004-09-13  Tom Tromey  <tromey@redhat.com>
3049
3050         * mauve-libgcj: List some classes we don't have.
3051
3052 2004-09-10  Andrew Haley  <aph@redhat.com>
3053
3054         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3055         * java/lang/natClass.cc (initializeClass): Check itable.
3056         (_Jv_getInterfaceMethod): New.
3057         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3058         Check that an interface method isn't called with invokevirtual.
3059
3060         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3061         super_meth is virtual.
3062
3063 2004-09-01  Tom Tromey  <tromey@redhat.com>
3064
3065         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3066         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3067         _Jv_CheckAccessNoInit.
3068         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3069         * prims.cc (_Jv_CheckAccessNoInit): New method.
3070
3071         * java/lang/reflect/natMethod.cc (invoke): Check access against
3072         declaring class, not object's class.
3073         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3074         argument.
3075         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3076         overridden method.
3077         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3078         argument.
3079
3080 2004-08-30  Andrew Haley  <aph@redhat.com>
3081
3082         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3083         ClassNotFoundException.
3084         Throw NoClassDefFoundError.
3085
3086         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3087         to klass->verify() from here ...
3088         (_Jv_PrepareCompiledClass): ...and put it here.
3089
3090 2004-08-27  Andrew Haley  <aph@redhat.com>
3091
3092         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3093         klass->verify().
3094         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3095         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3096
3097 2004-08-27  Tom Tromey  <tromey@redhat.com>
3098
3099         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3100         friend.
3101         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3102         (_Jv_IsAssignableFromSlow): New function.
3103         Include VerifyError.h.
3104         * include/jvm.h (_Jv_CheckAssignment): Declare.
3105
3106 2004-08-18  Andrew Haley  <aph@redhat.com>
3107
3108         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3109         argument.  Pass it to findClass instead of fileName.
3110         (compileClass): Pass class name to loadSharedLibrary.
3111
3112 2004-06-22  Andrew Haley  <aph@redhat.com>
3113
3114         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3115
3116 2004-06-15  Andrew Haley  <aph@redhat.com>
3117
3118         * java/lang/natSystem.cc (getenv0): Don't assume environment
3119         variable is Latin 1 coded.
3120
3121 2004-06-07  Andrew Haley  <aph@redhat.com>
3122
3123         * java/lang/System.java: (getenv0): New method.
3124         (getenv): Add security check.  Do the right thing.
3125         * java/lang/natSystem.cc (getenv0): New method.
3126
3127 2004-04-19    Andrew Haley  <aph@redhat.com>
3128
3129         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3130         we destroy.
3131
3132         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3133         is returned as an int in the range 0 to 255.
3134
3135 2004-08-13  Tom Tromey  <tromey@redhat.com>
3136
3137         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3138         class if it is interpreted.
3139
3140 2004-08-12  Tom Tromey  <tromey@redhat.com>
3141
3142         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3143         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3144         (Class::getSuperclass): Updated.
3145         (Class::getInterfaces): Likewise.
3146         (Class::size): Updated.
3147         (_Jv_LayoutClass): Updated declaration.
3148         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3149         Synchronize on class.
3150         (_Jv_LayoutClass): Changed interface.
3151         (initializeClass): Updated.
3152         (_Jv_LinkSymbolTable): Likewise.
3153
3154         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3155         friend.
3156         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3157         _Jv_isBinaryCompatible.
3158         * java/lang/natClass.cc (initializeClass): Use
3159         _Jv_isBinaryCompatible.
3160         (_Jv_LinkSymbolTable): Likewise.
3161         * include/jvm.h (_Jv_isBinaryCompatible): New function.
3162
3163 2004-08-11  Tom Tromey  <tromey@redhat.com>
3164
3165         * gcj/javaprims.h: Regenerated.
3166         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3167         (_registerClass): Likewise.
3168         * Makefile.in: Rebuilt.
3169         * Makefile.am (core_java_source_files): Added VMCompiler.
3170         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3171         * java/lang/VMCompiler.java: New file.
3172         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3173         `verbose' code.
3174         (copyFile): Don't use fully-qualified name.
3175         (h): Removed.
3176         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3177         (defineClass): Use VMCompiler.
3178         * java/lang/ClassLoader.java (defineClass): Removed jit
3179         compilation code and `verbose' code.
3180         (getClassLoader0): Removed.
3181         (_registerClass): Likewise.
3182         (SharedLibHelpers): Removed.
3183
3184 2004-08-10  Tom Tromey  <tromey@redhat.com>
3185
3186         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3187         URL)): New constructor.
3188         (SoURLLoader): Likewise.
3189         (JarURLLoader): Create SoURLLoader with override URL.
3190
3191 2004-08-10  Mark Wielaard  <mark@klomp.org>
3192
3193         * Makefile.in: Rebuilt.
3194         * Makefile.am (interpret.lo): New rule.
3195
3196 2004-08-05  Andrew Haley  <aph@redhat.com>
3197
3198         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3199         aside for "GCJLIBS" in directory where jarfiles are loaded.     
3200         (JarURLLoader.getClass): New method.
3201         (JarURLLoader.toString):  New method.
3202         (FileResource.toString):  New method.
3203         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3204         Remove "Duplicate class registration: " bug.
3205         (_registerClass): New method.
3206         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3207         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3208         Add debugging.
3209         (_Jv_LayoutClass): Use getSuperclass() rather than directly
3210         accessing the field.
3211         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3212         (defineClass): Call gcj to JIT-compile a class.
3213         (_registerClass): New method.
3214         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3215         library name can refer to more than one loaded library, so use a
3216         Set of SharedLibHelpers.
3217         If a shared library is already loaded, take a copy.
3218         (copyFile): New function.
3219
3220         * testsuite/libjava.compile/compile.exp: Force
3221         -findirect-dispatch.
3222
3223         * java/security/BasicPermission.java: Remove bogus checks.
3224
3225         * java/lang/System.java (getenv0): New method.
3226         * java/lang/natSystem.cc (getenv0): New method.
3227
3228 2004-05-24  Andrew Haley  <aph@redhat.com>
3229
3230         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3231
3232 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
3233
3234         * Merged with HEAD as of 20040514. Diff against
3235         gcj-abi-2-merge-20040514.
3236
3237 2004-04-16  Andrew Haley  <aph@redhat.com>
3238
3239         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3240         _Jv_LayoutClass.
3241         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3242         (_Jv_PrepareCompiledClass): If we throw an exception during
3243         preparation, restore state.
3244         (ClassLoader::getClassLoader0): New method.
3245
3246         * java/lang/natClass.cc (get_alignment_from_class): Moved here
3247         from resolve.cc.
3248         (ALIGNOF): Use offsetof, not __alignof__.
3249         (_Jv_ResolveClassRef): Resolve a reference to a class in a
3250         constant pool.
3251         (getInterfaces): Emit debug output if interface hasn't been
3252         resolved.
3253         (initializeClass): Call _Jv_LayoutClass.
3254         (_Jv_LinkSymbolTable): Add debugging output.
3255         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3256         found.
3257         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3258         (_Jv_LinkSymbolTable): Pass the real class loader to
3259         _Jv_FindClass.
3260         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3261         exception class.
3262         (_Jv_LinkSymbolTable): Assert if we find a static field reference
3263         to an interpreted class.
3264         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3265         superclass.
3266         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3267         resolve.cc.
3268         
3269         * java/lang/VMSecurityManager.java: Check for the system class
3270         loader as well as loader != null.
3271         
3272         * java/lang/SecurityManager.java (checkPermission): Remove
3273         security check.
3274         (checkRead): Likewise.
3275         (checkConnect): Likewise.
3276
3277         * java/lang/ClassLoader.java (loadClass): Include all class
3278         loaders in stack trace string.
3279         Look for class in "gcjlib.so" in the same directory.
3280         (getSystemClassLoader) Use getClassLoader0.
3281         (getClassLoader0): New native method.
3282
3283         * java/lang/Class.h (getSuperclass): New method.
3284         (getInterface): New method.
3285         (size): Lay out class if needed.
3286         (firstMethodIndex): New method.
3287         (Jv_ResolveClassRef): New declaration.
3288         (_Jv_LinkSymbolTable): New declaration.
3289
3290         * java/io/ObjectOutputStream.java: Add DEBUG statements
3291         everywhere.
3292         (dumpElementln): New method.
3293         (depth): New field.
3294         * java/io/ObjectInputStream.java (MyIOException): new, for
3295         debugging.
3296         Everywhere: use MyIOException rather than IOException.
3297         Indent debugging output to make nesting visible.
3298         (currentClassLoader): Make native
3299         (callersClassLoader): New field.
3300         (depth): New field.
3301         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3302         method.
3303         
3304         (readObject): ENDBLOCKDATA is generated if the class has a write
3305         method, not if it has a read method.
3306
3307         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3308
3309         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3310         getContextClassLoader form the current thread after our own class
3311         loader.
3312
3313         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3314         debugging.
3315         (toString): New method.
3316
3317         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3318         interfaces array.
3319
3320         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3321         a constant pool entry, resolve it now.
3322         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3323         in natClass.cc.
3324         Move get_alignment_from_class to natClass.cc.
3325
3326         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3327         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3328
3329         * defineclass.cc (checkExtends): Don't access superclass field
3330         directly.
3331
3332         * Makefile.in: regenerate.
3333
3334         * gnu/gcj/util/natDebug.cc: New
3335         * gnu/gcj/util/Debug.java: New.
3336
3337         * Makefile.am (java/io/ObjectInputStream.lo): Use
3338         -fno-optimize-sibling-calls.
3339
3340         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3341         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3342         in an interface.
3343         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3344
3345 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
3346
3347         * configure: Regenerate for libtool change.
3348
3349 2004-11-24  Michael Koch  <konqueror@gmx.de>
3350
3351         * gnu/java/security/PolicyFile.java: New file.
3352         * Makefile.am: Added gnu/java/security/PolicyFile.java.
3353         * Makefile.in: Regenerated.
3354
3355 2004-11-24  Michael Koch  <konqueror@gmx.de>
3356
3357         * java/lang/Character.java, scripts/unicode-blocks.pl:
3358         Reorder "final static" to "static final".
3359
3360 2004-11-24  Michael Koch  <konqueror@gmx.de>
3361
3362         * java/util/ResourceBundle.java: Reformatted.
3363         (tryBundle): Fixed javadoc.
3364
3365 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
3366
3367         * java/text/MessageFormat.java
3368         (formatInternal): Made private.
3369
3370 2004-11-24  Michael Koch  <konqueror@gmx.de>
3371
3372         * java/nio/DirectByteBufferImpl.java
3373         (ReadWrite.ReadWrite): New constructor.
3374         (DirectByteBufferImpl): Likewise.
3375         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3376         Use DirectByteBufferImpl.ReadWrite.
3377         * Makefile.am:
3378         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3379         * Makefile.in: Rgenerated.
3380
3381 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
3382
3383         * java/nio/DirectByteBufferImpl.java
3384         (ReadOnly): New inner subclass.
3385         (ReadWrite): New inner subclass.
3386         (owner): Made final and private.
3387         (address): Made final.
3388         (DirectByteBufferImpl(int)): New constructor.
3389         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3390         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3391         (allocate): Modified to instantiate ReadWrite subclass.
3392         (finalize): Fixed to only free the buffer, if we own it.
3393         (put): Removed read-only check.
3394         (slice, duplicate): Modified to instantiate appropriate subclass.
3395         (isReadOnly): Removed.
3396         * java/nio/MappedByteBufferImpl.java
3397         (slice, duplicate): Modified to instantiate appropriate
3398         DirectByteBufferImpl subclass.
3399
3400 2004-11-24  Michael Koch  <konqueror@gmx.de>
3401
3402         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3403         * java/nio/DirectByteBufferImpl.java:
3404         Moved native methods to java.nio.VMDirectByteBuffer class.
3405         * java/nio/MappedByteBufferImpl.java:
3406         Use native methods from java.nio.VMDirectByteBuffer class.
3407         * java/nio/VMDirectByteBuffer.java: New file,
3408         * java/nio/natDirectByteBufferImpl.cc:
3409         Moved all methods into java.nio.VMDirectByteBuffer class.
3410         * java/nio/channels/spi/AbstractSelectableChannel.java
3411         (register): Only re-use valid keys.
3412         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3413         * Makefile.in: Regenerated.
3414
3415 2004-11-24  Michael Koch  <konqueror@gmx.de>
3416
3417         * java/nio/DirectByteBufferImpl.java,
3418         java/nio/MappedByteBufferImpl.java:
3419         Reformatted.
3420
3421 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3422
3423         * testsuite/lib/libjava.exp,
3424         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3425
3426 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
3427
3428         * configure.host: Enable the interpreter for mips*-*-linux*.
3429
3430 2004-11-23  Michael Koch  <konqueror@gmx.de>
3431
3432         * java/lang/String.java (rehash): Removed.
3433         * java/lang/natString.cc (rehash): Made static.
3434         (_Jv_NewStringUtf8Const): Use static rehash method.
3435
3436 2004-11-23  Michael Koch  <konqueror@gmx.de>
3437
3438         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3439         include/Makefile.in, testsuite/Makefile.in: Regenerated.
3440
3441 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
3442
3443         PR target/18444
3444         * configure.ac (threading): Accept 'posix95'.
3445         * configure: Regenerate.
3446
3447 2004-11-22  Michael Koch  <konqueror@gmx.de>
3448
3449         * gnu/java/nio/SocketChannelImpl.java
3450         (read): Made check for blocking un-ambiguous.
3451         Removed wrong check for data array length.
3452
3453 2004-11-21  Michael Koch  <konqueror@gmx.de>
3454
3455         * gnu/java/nio/SocketChannelImpl.java
3456         (read): Only return 0 when no bytes for reading available in
3457         non-blocking mode.
3458         * java/nio/channels/SocketChannel.java:
3459         Added some missing @return tags.
3460
3461 2004-11-21  Michael Koch  <konqueror@gmx.de>
3462
3463         * java/beans/PropertyChangeSupport.java
3464         (propertyChangeSupportSerializedDataVersion): Made static.
3465         * java/beans/VetoableChangeSupport.java
3466         (propertyChangeSupportSerializedDataVersion): Likewise.
3467
3468 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3469
3470         * java/net/URLStreamHandler.java
3471         (parseURL): Fixed file path canonicalisation.
3472
3473 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3474
3475         * java/net/URLStreamHandler.java
3476         (parseURL): Fixed file path canonicalisation.
3477
3478 2004-11-18  Michael Koch  <konqueror@gmx.de>
3479
3480         * java/net/URLClassLoader.java: Whitespace cleanup.
3481
3482 2004-11-18  Robert Schuster <address@bogus.example.com>
3483
3484         Complete 1.4 support
3485         * java/beans/PropertyDescriptor.java:
3486         (setReadMethod): New method
3487         (setWriteMethod): New method
3488         (equals): Implemented (1.4)
3489         (checkMethods): operates on arguments now (private)
3490
3491
3492 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3493
3494         * java/net/Inet6Address.java (getHostAddress): Fix textual
3495         representation of IPv6 address with embedded zeroes
3496         to conform to RFC 2373.
3497
3498 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
3499
3500         * java/lang/StackTraceElement.java: Made final.
3501         * java/nio/channels/Channels.java: Added private constructor.
3502         * java/rmi/Naming.java: Added private constructor.
3503         * java/rmi/registry/LocateRegistry.java: Added private constructor.
3504         * java/rmi/server/RMIClassLoader.java: Added private constructor.
3505         * java/security/KeyPairGeneratorSpi.java
3506         (clone): Made protected and simplified implementation.
3507         * java/text/DateFormat.java
3508         (allFields): Made package accessible.
3509         * java/text/DecimalFormat.java
3510         (formatInternal): Made private.
3511         * java/text/Format.java
3512         (formatInternal): Made private.
3513         * java/util/logging/Handler.java: Made constructor protected.
3514         * java/util/regex/Matcher.java: Made final.
3515         * java/util/regex/Pattern.java: Made final.
3516         * javax/crypto/CipherInputStream.java
3517         (mark): Corrected mark parameter type (from long to int).
3518         * javax/crypto/ExemptionMechanism.java
3519         (finalize): Added.
3520         * javax/crypto/Mac.java
3521         (getMacLength): Made final.
3522         (clone): Made final.
3523         * javax/imageio/ImageIO.java: Added private constructor.
3524         * javax/imageio/stream/ImageInputStreamImpl.java
3525         (checkClosed): Made final.
3526         * javax/net/ssl/SSLPermission.java: Made final.
3527         * javax/print/DocFlavor.java
3528         (hostEncoding): Added work-around to prevent the field from being
3529         a compile time constant.
3530         * javax/print/attribute/AttributeSetUtilities.java: Added private
3531         constructor.
3532         (UnmodifiableDocAttributeSet): Made private.
3533         (UnmodifiablePrintJobAttributeSet): Made private.
3534         (UnmodifiablePrintRequestAttributeSet): Made private.
3535         (UnmodifiablePrintServiceAttributeSet): Made private.
3536         (SynchronizedAttributeSet): Made private.
3537         (SynchronizedDocAttributeSet): Made private.
3538         (SynchronizedPrintJobAttributeSet): Made private.
3539         (SynchronizedPrintRequestAttributeSet): Made private.
3540         (SynchronizedPrintServiceAttributeSet): Made private.
3541         * javax/security/auth/PrivateCredentialPermission.java: Made final.
3542
3543 2004-11-18  Craig Black  <craig.black@aonix.com>
3544
3545         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3546
3547 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3548
3549         * Makefile.am: Correct friend function declaration.
3550         * Makefile.in: Regenerated.
3551         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3552         scope to function names.  Declare functions directly.
3553         * libjava/java/lang/Class.h
3554         (java::lang::Class): Correct friend class declaration.
3555         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3556         scope.
3557         * libjava/java/lang/Class.h
3558         (java::lang::Object): Correct friend class declaration.
3559
3560 2004-11-17  David Daney  <ddaney@avtrex.com>
3561
3562         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3563
3564 2004-11-17  Michael Koch  <konqueror@gmx.de>
3565
3566         * java/net/Socket.java (getPort): Return 0 in error case.
3567
3568 2004-11-17  Michael Koch  <konqueror@gmx.de>
3569
3570         *  java/nio/DirectByteBufferImpl.java
3571         (owner): Updated comment.
3572         (allocate): New method.
3573
3574 2004-11-17  Michael Koch  <konqueror@gmx.de>
3575
3576         * java/net/URL.java (URL): Handle case when argument is null.
3577
3578 2004-11-17  Michael Koch  <konqueror@gmx.de>
3579
3580         * java/beans/Beans.java,
3581         java/beans/PropertyChangeEvent.java,
3582         java/beans/PropertyEditorSupport.java:
3583         Fixed javadocs.
3584
3585 2004-11-17  Michael Koch  <konqueror@gmx.de>
3586
3587         * java/util/Timer.java (DEFAULT_SIZE): Made static.
3588
3589 2004-11-17  Michael Koch  <konqueror@gmx.de>
3590
3591         * java/net/InetAddress.java (getCanonicalHostName):
3592         Support IPv6 addresses.
3593
3594 2004-11-16  Michael Koch  <konqueror@gmx.de>
3595
3596         * java/lang/Object.java: Added javadocs all over (merged from GNU
3597         classpath).
3598
3599 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3600
3601         * java/security/Security.java (Security): Silence the warning about no
3602         providers found in the no debug case.
3603
3604 2004-11-16  Michael Koch  <konqueror@gmx.de>
3605
3606         * java/net/InetAddress.java
3607         (toString): Merged from GNU classpath.
3608
3609 2004-11-16  Michael Koch  <konqueror@gmx.de>
3610
3611         * java/awt/geom/doc-files/Area-1.png,
3612         java/awt/geom/doc-files/Ellipse-1.png,
3613         java/awt/geom/doc-files/GeneralPath-1.png:
3614         New files.
3615
3616 2004-11-16  Michael Koch  <konqueror@gmx.de>
3617
3618         * java/util/Currency.java (cache): Fix modifier order.
3619
3620 2004-11-16  Michael Koch  <konqueror@gmx.de>
3621
3622         * java/io/BufferedReader.java,
3623         java/io/FileInputStream.java,
3624         java/io/FileOutputStream.java,
3625         java/io/FileWriter.java,
3626         java/io/OutputStreamWriter.java,
3627         java/io/PipedInputStream.java,
3628         java/io/PipedOutputStream.java,
3629         java/io/PipedReader.java,
3630         java/io/PipedWriter.java,
3631         java/io/PrintStream.java,
3632         java/io/PushbackInputStream.java,
3633         java/io/RandomAccessFile.java,
3634         java/io/Reader.java,
3635         java/io/StreamTokenizer.java,
3636         java/io/StringReader.java,
3637         java/net/NetworkInterface.java,
3638         java/net/URLClassLoader.java,
3639         java/nio/ByteOrder.java,
3640         java/nio/channels/Channel.java:
3641         Fixed javadocs all over.
3642
3643 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3644
3645         * Makefile.am: Add imported files.
3646         * Makefile.in: Regenerate.
3647
3648         2004-10-24  Casey Marshall  <csm@gnu.org>
3649
3650         * javax/security/auth/login/LoginContext.java: Implemented.
3651         * javax/security/auth/login/Configuration.java (getConfig): New method.
3652         * javax/security/auth/spi/LoginModule.java,
3653         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3654
3655 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
3656
3657         Import/Merge the X.509 certificate code from Classpath.
3658
3659         * Makefile.am: Add imported files.
3660         * Makefile.in: Regenerate.
3661
3662         2004-11-07  Casey Marshall  <csm@gnu.org>
3663
3664         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3665         priviliged action. Add new algorithms.
3666         * gnu/java/security/provider/X509CertificateFactory.java
3667         (engineGenerateCertificate): Chain exceptions.
3668         (engineGenerateCertificates): Likewise.
3669         (engineGenerateCRL): Likewise.
3670         (engineGenerateCRLs): Likewise.
3671         (engineGenerateCertPath): New methods.
3672         (generateCert): Throw exception if 'inStream' is null.
3673         (generateCRL): Likewise.
3674         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3675         version from GNU Crypto CVS.
3676         * gnu/java/security/x509/X509CRL.java: Likewise.
3677         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3678         * gnu/java/security/x509/X509Certificate.java: Likewise.
3679         * java/security/cert/TrustAnchor.java: Call 'toString' and not
3680         toRFC2253.
3681         * gnu/java/security/provider/CollectionCertStoreImpl.java,
3682         * gnu/java/security/provider/EncodedKeyFactory.java,
3683         * gnu/java/security/provider/GnuDHPublicKey.java,
3684         * gnu/java/security/provider/GnuRSAPrivateKey.java,
3685         * gnu/java/security/provider/GnuRSAPublicKey.java,
3686         * gnu/java/security/provider/MD2withRSA.java,
3687         * gnu/java/security/provider/MD4withRSA.java,
3688         * gnu/java/security/provider/MD5withRSA.java,
3689         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3690         * gnu/java/security/provider/RSA.java,
3691         * gnu/java/security/provider/RSAKeyFactory.java,
3692         * gnu/java/security/provider/SHA1withRSA.java,
3693         * gnu/java/security/x509/GnuPKIExtension.java,
3694         * gnu/java/security/x509/PolicyNodeImpl.java,
3695         * gnu/java/security/x509/Util.java,
3696         * gnu/java/security/x509/X509CRLSelectorImpl.java,
3697         * gnu/java/security/x509/X509CertPath.java,
3698         * gnu/java/security/x509/X509CertSelectorImpl.java,
3699         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3700         * gnu/java/security/x509/ext/BasicConstraints.java,
3701         * gnu/java/security/x509/ext/CRLNumber.java,
3702         * gnu/java/security/x509/ext/CertificatePolicies.java,
3703         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3704         * gnu/java/security/x509/ext/Extension.java,
3705         * gnu/java/security/x509/ext/GeneralNames.java,
3706         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3707         * gnu/java/security/x509/ext/KeyUsage.java,
3708         * gnu/java/security/x509/ext/PolicyConstraint.java,
3709         * gnu/java/security/x509/ext/PolicyMappings.java,
3710         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3711         * gnu/java/security/x509/ext/ReasonCode.java,
3712         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3713         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3714
3715         2004-11-07  Casey Marshall  <csm@gnu.org>
3716
3717         * gnu/java/security/x509/X509CRL.java:
3718         Missed import statements in previous checkin.
3719
3720         2004-11-07  Casey Marshall  <csm@gnu.org>
3721
3722         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3723         to 'X509CertificateImpl' from previous checkin.
3724
3725 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
3726
3727         PR other/14264
3728         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3729
3730 2004-11-11  Casey Marshall  <csm@gnu.org>
3731
3732         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3733         channel is open.
3734         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3735         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3736
3737 2004-11-11  Robert Schuster <thebohemian@gmx.net>
3738
3739         Fixed regression:
3740         * gnu/java/beans/IntrospectionIncubator.java:
3741         (addMethod): Corrected classification of normal and property methods.
3742         (capitalize): Added documentation.
3743         (DoubleKey): [class] Added documentation.
3744
3745 2004-11-09  Tom Tromey  <tromey@redhat.com>
3746
3747         * include/jni.h: Added FIXME.
3748
3749 2004-11-08  Tom Tromey  <tromey@redhat.com>
3750
3751         * java/util/GregorianCalendar.java: Removed unused imports.
3752         * java/util/Vector.java: Removed unused import.
3753
3754 2004-11-07  Michael Koch  <konqueror@gmx.de>
3755
3756         * java/lang/Process.java:
3757         Import cleanups.
3758
3759 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
3760
3761         * java/util/zip/ZipEntry.java
3762         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
3763
3764 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
3765
3766         Fixes bug #10908
3767         * gnu/java/beans/IntrospectionIncubator.java:
3768         (addMethod): static methods are discarded now, too.
3769
3770 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3771
3772         * java/util/GregorianCalendar.java
3773         Added/amended documentation.
3774
3775 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3776
3777         * java/util/Collections.java
3778         Added documentation.
3779         * java/util/SortedMap.java
3780         Clarified some method examples.
3781         * java/util/SortedSet.java
3782         Clarified some method examples.
3783
3784 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3785
3786         * java/util/Currency.java
3787         Documented variables and methods more fully.
3788         Caches the currency instances, so that a request
3789         for a locale, l, only ever returns the same
3790         instance (i.e. successive calls to getInstance(l)
3791         are reference equivalent (==)).
3792
3793 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3794
3795         * java/util/Date.java
3796         Added missing documentation.
3797
3798 2004-11-06  Michael Koch  <konqueror@gmx.de>
3799
3800         * java/util/zip/CheckedInputStream.java,
3801         java/util/zip/InflaterInputStream.java,
3802         java/util/zip/ZipFile.java,
3803         java/util/zip/ZipInputStream.java:
3804         Import cleanups.
3805
3806 2004-11-06  Tom Tromey  <tromey@redhat.com>
3807
3808         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
3809         package-private.
3810         (connections): Likewise.
3811         (scavenger): Likewise.
3812         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
3813         package-private.
3814         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
3815         package-private.
3816         (ptr): Likewise.
3817         * gnu/classpath/ServiceFactory.java (log): Now package-private.
3818
3819 2004-11-06  Tom Tromey  <tromey@redhat.com>
3820
3821         * javax/naming/directory/BasicAttributes.java (attributes): Now
3822         package-private.
3823         * javax/imageio/spi/ServiceRegistry.java (categories): Now
3824         package-private.
3825
3826 2004-11-06  Tom Tromey  <tromey@redhat.com>
3827
3828         * java/net/URLClassLoader.java (URLClassLoader): Now
3829         package-private.
3830         * java/nio/charset/CoderResult.java (CoderResult): Now
3831         package-private.
3832         (get): Likewise.
3833         (Cache): Likewise.  Don't synchronize on `this'.
3834         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
3835         package-private.
3836         * java/util/TimeZone.java (timezones): Now package-private.
3837
3838 2004-11-06  Tom Tromey  <tromey@redhat.com>
3839
3840         * java/security/Permissions.java (perms): Now package-private.
3841         * java/security/UnresolvedPermission.java (permissions): Now
3842         package-private.
3843
3844 2004-11-06  Tom Tromey  <tromey@redhat.com>
3845
3846         * java/io/FilePermission.java: Reindented.
3847
3848 2004-11-06  Tom Tromey  <tromey@redhat.com>
3849
3850         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
3851         package-private.
3852         (setBlockDataMode): Likewise.
3853
3854 2004-11-06  Tom Tromey  <tromey@redhat.com>
3855
3856         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
3857         package-private.
3858         (Encoder): Likewise.
3859         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
3860         (Encoder): Likewise.
3861         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
3862         package-private.
3863         (Encoder): Likewise.
3864
3865 2004-11-06  Mark Wielaard  <mark@klomp.org>
3866
3867         * Makefile.am: Add new javax.imageio files.
3868         * Makefile.in: Regenerated.
3869
3870 2004-11-06  Michael Koch  <konqueror@gmx.de>
3871
3872         * javax/imageio/event/IIOReadProgressListener.java,
3873         javax/imageio/event/IIOReadUpdateListener.java,
3874         javax/imageio/event/IIOReadWarningListener.java,
3875         javax/imageio/event/IIOWriteProgressListener.java,
3876         javax/imageio/event/IIOWriteWarningListener.java,
3877         javax/imageio/metadata/IIOMetadataFormat.java,
3878         javax/imageio/stream/FileCacheImageInputStream.java,
3879         javax/imageio/stream/FileCacheImageOutputStream.java,
3880         javax/imageio/stream/ImageInputStreamImpl.java:
3881         Import cleanup.
3882         * javax/imageio/metadata/package.html: New file.
3883
3884 2004-11-06  Michael Koch  <konqueror@gmx.de>
3885
3886         * javax/imageio/spi/ImageReaderSpi.java
3887         (isOwnReader): New method.
3888         * javax/imageio/spi/ImageWriterSpi.java
3889         (isOwnWriter): Likewise.
3890
3891 2004-11-06  Michael Koch  <konqueror@gmx.de>
3892
3893         * javax/imageio/ImageWriter.java
3894         (convertImageMetadata): New abstract method.
3895         (convertStreamMetadata): Likewise.
3896         (write): Likewise.
3897         * javax/imageio/stream/FileCacheImageInputStream.java
3898         (close): Fixed setting of stream to null.
3899         (checkStreamClosed): Throws IOException.
3900
3901 2004-11-06  Michael Koch  <konqueror@gmx.de>
3902
3903         * javax/imageio/stream/FileCacheImageInputStream.java,
3904         javax/imageio/stream/FileCacheImageOutputStream.java,
3905         javax/imageio/stream/FileImageInputStream.java,
3906         javax/imageio/stream/FileImageOutputStream.java,
3907         javax/imageio/stream/MemoryCacheImageInputStream.java,
3908         javax/imageio/stream/MemoryCacheImageOutputStream.java:
3909         New files.
3910
3911 2004-11-06  Michael Koch  <konqueror@gmx.de>
3912
3913         * javax/imageio/metadata/IIOInvalidTreeException.java,
3914         javax/imageio/metadata/IIOMetadataFormatImpl.java,
3915         javax/imageio/metadata/IIOMetadataNode.java:
3916         New stub files.
3917
3918 2004-11-06  Michael Koch  <konqueror@gmx.de>
3919
3920         * javax/imageio/stream/ImageInputStreamImpl.java,
3921         javax/imageio/stream/ImageOutputStreamImpl.java:
3922         New files.
3923
3924 2004-11-06  Michael Koch  <konqueror@gmx.de>
3925
3926         * javax/imageio/ImageIO.java:
3927         Added much new methods.
3928
3929 2004-11-06  Michael Koch  <konqueror@gmx.de>
3930
3931         * javax/imageio/ImageReader.java,
3932         javax/imageio/ImageWriter.java,
3933         javax/imageio/spi/ImageWriterSpi.java:
3934         Add SOME new methods.
3935
3936 2004-11-06  Michael Koch  <konqueror@gmx.de>
3937
3938         * javax/imageio/IIOParam.java,
3939         javax/imageio/ImageReadParam.java,
3940         javax/imageio/ImageReader.java,
3941         javax/imageio/ImageWriter.java:
3942         Mostly implemented.
3943         * javax/imageio/spi/ImageReaderSpi.java,
3944         javax/imageio/spi/ImageWriterSpi.java:
3945         New files.
3946
3947 2004-11-06  Michael Koch  <konqueror@gmx.de>
3948
3949         * javax/imageio/ImageWriteParam.java,
3950         javax/imageio/metadata/IIOMetadataFormat.java:
3951         Implemented.
3952
3953 2004-11-06  Michael Koch  <konqueror@gmx.de>
3954
3955         * javax/imageio/ImageTypeSpecifier.java:
3956         Mostly implemented.
3957
3958 2004-11-06  Michael Koch  <konqueror@gmx.de>
3959
3960         * javax/imageio/metadata/IIOMetadata.java:
3961         Mostly implemented.
3962
3963 2004-11-06  Michael Koch  <konqueror@gmx.de>
3964
3965         * javax/imageio/IIOImage.java,
3966         javax/imageio/ImageReadParam.java,
3967         javax/imageio/metadata/IIOMetadataController.java,
3968         javax/imageio/metadata/IIOMetadataFormat.java:
3969         New files.
3970         * javax/imageio/stream/ImageOutputStream.java:
3971         Implemented.
3972
3973 2004-11-06  Michael Koch  <konqueror@gmx.de>
3974
3975         * javax/imageio/IIOParam.java,
3976         javax/imageio/IIOParamController.java,
3977         javax/imageio/ImageTypeSpecifier.java,
3978         javax/imageio/ImageWriteParam.java,
3979         javax/imageio/metadata/IIOMetadata.java:
3980         New files.
3981         * javax/imageio/ImageTranscoder.java:
3982         Implemented.
3983
3984 2004-11-06  Michael Koch  <konqueror@gmx.de>
3985
3986         * javax/imageio/spi/ImageInputStreamSpi.java,
3987         javax/imageio/spi/ImageOutputStreamSpi.java:
3988         Reworked import startments.
3989         * javax/imageio/spi/ServiceRegistry.java:
3990         Reworked import startments. Fixed XHTML in javadocs.
3991         (ServiceRegistry): Added @param tag to javadoc.
3992         * javax/imageio/stream/ImageInputStream.java
3993         (mark): Doesn't throws IOException;
3994
3995 2004-11-06  Michael Koch  <konqueror@gmx.de>
3996
3997         * javax/imageio/ImageIO.java:
3998         New file.
3999
4000 2004-11-06  Michael Koch  <konqueror@gmx.de>
4001
4002         * javax/imageio/spi/IIORegistry.java
4003         (static): Don't register ImageReaderSpi.class and
4004         ImageWriterSpi.class yet.
4005
4006 2004-11-06  Michael Koch  <konqueror@gmx.de>
4007
4008         * javax/imageio/spi/IIORegistry.java:
4009         New file.
4010
4011 2004-11-06  Noa Resare  <noa@resare.com>
4012
4013         * java/net/Socket.java (getPort): Return 0 instead of -1 on
4014         unconnected sockets.
4015
4016 2004-11-06  Michael Koch  <konqueror@gmx.de>
4017
4018         * java/lang/StringBuffer.java,
4019         java/lang/Throwable.java,
4020         java/security/spec/DSAParameterSpec.java,
4021         java/util/zip/ZipEntry.java,
4022         java/util/zip/ZipFile.java,
4023         java/util/zip/ZipInputStream.java,
4024         java/util/zip/ZipOutputStream.java:
4025         Removed redundant and reordered modifiers.
4026
4027 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4028
4029         * java/io/Vector.java
4030         (writeObject): New function to serialized output thread safe.
4031
4032         * java/io/ObjectOutputStream.java
4033         (writeObject): Move the assignment of the class handle to after
4034         the assignment of class descriptor handle.
4035
4036 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4037
4038         Fixes documentation and indentation
4039         * java/beans/PropertyEditorSupport.java:
4040         reworked initial API doc
4041         (value): changed name from val
4042
4043 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4044
4045         Updates to 1.5
4046         * java/beans/PropertyEditorSupport.java
4047         (PropertyEditorSupport()): Changed modifier to public
4048         (PropertyEditorSupport(Object): Changed modifier to public
4049         (setSource): New method
4050         (getSource): New method
4051
4052 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4053
4054         Fixes bug #10799
4055         * java/beans/PropertyEditorSupport.java
4056         (setValue): Fire property change event
4057
4058 2004-11-03  Tom Tromey  <tromey@redhat.com>
4059
4060         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4061         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4062         returns jobjectArray.
4063         (_Jv_JNIEnv::NewObjectArray): Likewise.
4064
4065 2004-11-01  Tom Tromey  <tromey@redhat.com>
4066
4067         * verify.cc (state::check_no_uninitialized_objects): Removed.
4068         (push_jump): Updated.
4069         (push_exception_jump): Likewise.
4070         (handle_ret_insn): Likewise.
4071         (handle_jsr_insn): Likewise.
4072
4073 2004-10-30  Mark Wielaard  <mark@klomp.org>
4074
4075         PR libgcj/18234
4076         * java/lang/Runtime.java (static): Call init().
4077         (Runtime): Remove call to init().
4078         (init): Make static.
4079
4080 2004-10-28  David Daney  <ddaney@avtrex.com>
4081
4082         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4083         * Makefile.am: Build it.
4084         * Makefile.in: Regenerate.
4085
4086 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
4087
4088         PR libgcj/18104
4089         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
4090         colon.
4091         * Makefile.in: Regenerate.
4092         * configure: Regenerate.
4093         * configure.ac (CLASSPATH_SEPARATOR): Define.
4094         * gcj/Makefile.in: Regenerate.
4095         * include/Makefile.in: Regenerate.
4096         * testsuite/Makefile.in: Regenerate.
4097         * testsuite/lib/libjava.exp (libjava_arguments): Fix
4098         CLASSPATH separator handling for Windows.
4099
4100 2004-10-26  Michael Koch  <konqueror@gmx.de>
4101
4102         * gnu/java/net/protocol/http/Connection.java
4103         (getOutputStream): Implicitely switch to POST method.
4104
4105 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
4106
4107         * libjava/java/lang/Class.h
4108         (java::lang::Class): Correct friend class declaration.
4109
4110 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
4111
4112         * Makefile.am (DARWIN_CRT_SRC): New.
4113         (libgcj_la_SOURCES): Use it.
4114         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4115         * darwin.cc: New file.
4116         * include/jvm.h (_Jv_RegisterClasses): Constify.
4117         (_Jv_RegisterClasses_Counted): New prototype.
4118         * java/lang/Class.h: Include stddef.h.  
4119         (_Jv_RegisterClasses): Constify.
4120         (_Jv_RegisterClasses_Counted): New prototype.
4121         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4122         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4123         (_Jv_RegisterClasses_Counted): New function.
4124         * configure: Regenerate.
4125         * Makefile.in: Regenerate.
4126         * gcj/Makefile.in: Regenerate.
4127         * include/Makefile.in: Regenerate.
4128         * testsuite/Makefile.in: Regenerate.
4129
4130 2004-10-25  Tom Tromey  <tromey@redhat.com>
4131
4132         * java/util/ResourceBundle.java (tryBundle): Use
4133         Class.isAssignableFrom rather than catching ClassCastException.
4134
4135 2004-10-25  Tom Tromey  <tromey@redhat.com>
4136
4137         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4138         initialize `iter'.
4139         * gnu/java/text/SentenceBreakIterator.java
4140         (SentenceBreakIterator): Don't initialize `iter'.
4141         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4142         initialize `iter'.
4143         * gnu/java/text/CharacterBreakIterator.java
4144         (CharacterBreakIterator): Don't initialize `iter'.
4145         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4146         constructor.
4147         * java/text/BreakIterator.java: Updated documentation.
4148
4149 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
4150
4151         PR other/18138
4152         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4153
4154 2004-10-23  Michael Koch  <konqueror@gmx.de>
4155
4156         * javax/print/DocFlavor.java,
4157         javax/print/attribute/standard/JobStateReason.java,
4158         javax/print/attribute/standard/MultipleDocumentHandling.java:
4159         Added missing constants.
4160
4161 2004-10-22  Tom Tromey  <tromey@redhat.com>
4162
4163         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4164         typo.
4165
4166 2004-10-22  Michael Koch  <konqueror@gmx.de>
4167
4168         PR libjava/14009
4169         * gnu/java/net/protocol/http/Connection.java
4170         (sendRequest): Handle case when url.getFile() returns an empty string.
4171
4172 2004-10-22  Michael Koch  <konqueror@gmx.de>
4173
4174         * java/lang/Math.java,
4175         java/lang/StackTraceElement.java,
4176         java/nio/Buffer.java,
4177         java/nio/ByteBuffer.java,
4178         java/nio/CharBuffer.java,
4179         java/nio/DoubleBuffer.java,
4180         java/nio/FloatBuffer.java,
4181         java/nio/IntBuffer.java,
4182         java/nio/LongBuffer.java,
4183         java/nio/ShortBuffer.java,
4184         java/nio/charset/Charset.java,
4185         java/rmi/server/RMIClassLoader.java,
4186         java/rmi/server/RMISocketFactory.java,
4187         java/security/Policy.java,
4188         java/text/ChoiceFormat.java,
4189         java/text/CollationElementIterator.java,
4190         java/text/DateFormat.java,
4191         java/text/DecimalFormat.java,
4192         java/text/DecimalFormatSymbols.java,
4193         java/text/MessageFormat.java,
4194         java/text/NumberFormat.java,
4195         java/text/RuleBasedCollator.java,
4196         java/text/SimpleDateFormat.java,
4197         java/util/BitSet.java,
4198         java/util/Calendar.java,
4199         java/util/Collections.java,
4200         java/util/IdentityHashMap.java,
4201         java/util/Locale.java,
4202         java/util/TreeMap.java,
4203         java/util/logging/LogRecord.java,
4204         java/util/logging/XMLFormatter.java,
4205         java/util/prefs/AbstractPreferences.java,
4206         java/util/prefs/Preferences.java,
4207         javax/crypto/interfaces/DHPrivateKey.java,
4208         javax/crypto/interfaces/DHPublicKey.java,
4209         javax/crypto/interfaces/PBEKey.java,
4210         javax/net/ssl/HandshakeCompletedEvent.java,
4211         javax/security/auth/Subject.java:
4212         Removed redundant and reordered modifiers.
4213
4214 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
4215
4216         * gnu/java/net/natPlainSocketImplPosix.cc
4217         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4218         with 'int *' argument instead of 'long *'.
4219
4220 2004-10-21  Michael Koch  <konqueror@gmx.de>
4221
4222         * java/net/NetworkInterface.java,
4223         java/text/Format.java,
4224         javax/security/auth/x500/X500Principal.java,
4225         javax/security/auth/x500/X500PrivateCredential.java,
4226         javax/security/cert/X509CertBridge.java,
4227         javax/security/sasl/Sasl.java,
4228         javax/sql/XAConnection.java:
4229         Import cleanup.
4230
4231 2004-10-21  Michael Koch  <konqueror@gmx.de>
4232
4233         * javax/net/ssl/HandshakeCompletedEvent.java,
4234         javax/net/ssl/KeyManagerFactory.java,
4235         javax/net/ssl/SSLContext.java,
4236         javax/net/ssl/SSLServerSocketFactory.java,
4237         javax/net/ssl/SSLSession.java,
4238         javax/net/ssl/SSLSocketFactory.java,
4239         javax/net/ssl/TrustManagerFactory.java:
4240         Import cleanup.
4241
4242 2004-10-21  Michael Koch  <konqueror@gmx.de>
4243
4244         * javax/naming/directory/BasicAttribute.java,
4245         javax/naming/directory/BasicAttributes.java,
4246         javax/naming/directory/InitialDirContext.java,
4247         javax/naming/event/NamingEvent.java,
4248         javax/naming/ldap/ControlFactory.java,
4249         javax/naming/ldap/ExtendedRequest.java,
4250         javax/naming/ldap/InitialLdapContext.java,
4251         javax/naming/ldap/LdapReferralException.java,
4252         javax/naming/spi/DirObjectFactory.java,
4253         javax/naming/spi/DirStateFactory.java,
4254         javax/naming/spi/DirectoryManager.java,
4255         javax/naming/spi/InitialContextFactory.java,
4256         javax/naming/spi/InitialContextFactoryBuilder.java,
4257         javax/naming/spi/NamingManager.java,
4258         javax/naming/spi/ObjectFactory.java,
4259         javax/naming/spi/ObjectFactoryBuilder.java,
4260         javax/naming/spi/StateFactory.java:
4261         Import cleanup.
4262
4263 2004-10-21  Michael Koch  <konqueror@gmx.de>
4264
4265         * javax/crypto/Cipher.java,
4266         javax/crypto/EncryptedPrivateKeyInfo.java,
4267         javax/crypto/ExemptionMechanism.java,
4268         javax/crypto/KeyAgreement.java,
4269         javax/crypto/KeyGenerator.java,
4270         javax/crypto/Mac.java,
4271         javax/crypto/SecretKeyFactory.java,
4272         javax/crypto/SecretKeyFactorySpi.java,
4273         javax/crypto/spec/SecretKeySpec.java:
4274         Import cleanup.
4275
4276 2004-10-21  Michael Koch  <konqueror@gmx.de>
4277
4278         * java/security/AlgorithmParameterGenerator.java,
4279         java/security/AlgorithmParameters.java,
4280         java/security/AlgorithmParametersSpi.java,
4281         java/security/AllPermission.java,
4282         java/security/BasicPermission.java,
4283         java/security/Certificate.java,
4284         java/security/CodeSource.java,
4285         java/security/DigestInputStream.java,
4286         java/security/DigestOutputStream.java,
4287         java/security/GuardedObject.java,
4288         java/security/KeyFactory.java,
4289         java/security/KeyFactorySpi.java,
4290         java/security/KeyPairGenerator.java,
4291         java/security/KeyStore.java,
4292         java/security/KeyStoreSpi.java,
4293         java/security/Permissions.java,
4294         java/security/Security.java,
4295         java/security/Signature.java,
4296         java/security/UnresolvedPermission.java,
4297         java/security/cert/CertPathBuilder.java,
4298         java/security/cert/CertPathValidator.java,
4299         java/security/cert/CertStore.java,
4300         java/security/cert/Certificate.java,
4301         java/security/cert/CertificateFactory.java,
4302         java/security/cert/PolicyQualifierInfo.java,
4303         java/security/cert/TrustAnchor.java,
4304         java/security/cert/X509CRL.java,
4305         java/security/cert/X509CRLSelector.java,
4306         java/security/cert/X509CertSelector.java:
4307         Import cleanup.
4308
4309 2004-10-21  Michael Koch  <konqueror@gmx.de>
4310
4311         * java/rmi/MarshalledObject.java,
4312         java/rmi/Naming.java,
4313         java/rmi/activation/Activatable.java,
4314         java/rmi/activation/ActivationGroup.java,
4315         java/rmi/activation/ActivationGroupDesc.java,
4316         java/rmi/activation/ActivationInstantiator.java,
4317         java/rmi/activation/ActivationMonitor.java,
4318         java/rmi/activation/ActivationSystem.java,
4319         java/rmi/activation/Activator.java,
4320         java/rmi/registry/LocateRegistry.java,
4321         java/rmi/registry/Registry.java,
4322         java/rmi/server/LogStream.java,
4323         java/rmi/server/ObjID.java,
4324         java/rmi/server/RMIClientSocketFactory.java,
4325         java/rmi/server/RMIServerSocketFactory.java,
4326         java/rmi/server/RMISocketFactory.java,
4327         java/rmi/server/RemoteCall.java,
4328         java/rmi/server/RemoteServer.java,
4329         java/rmi/server/ServerRef.java,
4330         java/rmi/server/UID.java,
4331         java/rmi/server/UnicastRemoteObject.java:
4332         Import cleanup.
4333
4334 2004-10-21  Tom Tromey  <tromey@redhat.com>
4335
4336         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4337         exception if we hit EOF of `in'.
4338         (read): Handle case where inflating returns -1.
4339
4340 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
4341
4342         * gnu/java/nio/channels/natFileChannelPosix.cc
4343         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4344         argument instead of 'long *'.
4345
4346 2004-10-21  Tom Tromey  <tromey@redhat.com>
4347
4348         * java/util/ResourceBundle.java (tryBundle): Also ignore
4349         ClassCastException.
4350
4351 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
4352
4353         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4354         for all sh*-*-linux* targets.
4355         * configure: Regenerate.
4356         * include/sh-signal.h: New file.
4357
4358 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4359
4360         * java/lang/ieeefp.h: Add m32r support.
4361
4362 2004-10-20  Andreas Schwab  <schwab@suse.de>
4363
4364         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4365         to uaddr, not int.
4366         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4367         Likewise.
4368
4369 2004-10-20  Michael Koch  <konqueror@gmx.de>
4370
4371         * javax/print/attribute/standard/ColorSupported.java,
4372         javax/print/attribute/standard/Compression.java,
4373         javax/print/attribute/standard/Copies.java,
4374         javax/print/attribute/standard/CopiesSupported.java,
4375         javax/print/attribute/standard/DateTimeAtCompleted.java,
4376         javax/print/attribute/standard/DateTimeAtCreation.java,
4377         javax/print/attribute/standard/DateTimeAtProcessing.java,
4378         javax/print/attribute/standard/DocumentName.java,
4379         javax/print/attribute/standard/Fidelity.java,
4380         javax/print/attribute/standard/Finishings.java,
4381         javax/print/attribute/standard/JobHoldUntil.java,
4382         javax/print/attribute/standard/JobImpressions.java,
4383         javax/print/attribute/standard/JobImpressionsCompleted.java,
4384         javax/print/attribute/standard/JobImpressionsSupported.java,
4385         javax/print/attribute/standard/JobKOctets.java,
4386         javax/print/attribute/standard/JobKOctetsProcessed.java,
4387         javax/print/attribute/standard/JobKOctetsSupported.java,
4388         javax/print/attribute/standard/JobMediaSheets.java,
4389         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4390         javax/print/attribute/standard/JobMediaSheetsSupported.java,
4391         javax/print/attribute/standard/JobMessageFromOperator.java,
4392         javax/print/attribute/standard/JobName.java,
4393         javax/print/attribute/standard/JobOriginatingUserName.java,
4394         javax/print/attribute/standard/JobPriority.java,
4395         javax/print/attribute/standard/JobPrioritySupported.java,
4396         javax/print/attribute/standard/JobSheets.java,
4397         javax/print/attribute/standard/JobState.java,
4398         javax/print/attribute/standard/JobStateReason.java,
4399         javax/print/attribute/standard/JobStateReasons.java,
4400         javax/print/attribute/standard/Media.java,
4401         javax/print/attribute/standard/MultipleDocumentHandling.java,
4402         javax/print/attribute/standard/NumberOfDocuments.java,
4403         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4404         javax/print/attribute/standard/NumberUp.java,
4405         javax/print/attribute/standard/NumberUpSupported.java,
4406         javax/print/attribute/standard/OrientationRequested.java,
4407         javax/print/attribute/standard/OutputDeviceAssigned.java,
4408         javax/print/attribute/standard/PDLOverrideSupported.java,
4409         javax/print/attribute/standard/PageRanges.java,
4410         javax/print/attribute/standard/PagesPerMinute.java,
4411         javax/print/attribute/standard/PagesPerMinuteColor.java,
4412         javax/print/attribute/standard/PrintQuality.java,
4413         javax/print/attribute/standard/PrinterInfo.java,
4414         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4415         javax/print/attribute/standard/PrinterLocation.java,
4416         javax/print/attribute/standard/PrinterMakeAndModel.java,
4417         javax/print/attribute/standard/PrinterMessageFromOperator.java,
4418         javax/print/attribute/standard/PrinterMoreInfo.java,
4419         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4420         javax/print/attribute/standard/PrinterName.java,
4421         javax/print/attribute/standard/PrinterStateReason.java,
4422         javax/print/attribute/standard/PrinterStateReasons.java,
4423         javax/print/attribute/standard/PrinterURI.java,
4424         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4425         javax/print/attribute/standard/RequestingUserName.java:
4426         Reorganized imports and removed redundant final modifiers.
4427
4428 2004-10-20  Michael Koch  <konqueror@gmx.de>
4429
4430         * javax/security/sasl/SaslClient.java,
4431         javax/security/sasl/SaslClientFactory.java,
4432         javax/security/sasl/SaslException.java,
4433         javax/security/sasl/SaslServer.java,
4434         javax/security/sasl/SaslServerFactory.java:
4435         Remvoed CVS tags.
4436
4437 2004-10-20  Michael Koch  <konqueror@gmx.de>
4438
4439         * javax/security/auth/login/NullConfiguration.java,
4440         javax/security/auth/x500/X500Principal.java,
4441         javax/security/cert/X509Certificate.java,
4442         javax/security/sasl/AuthenticationException.java,
4443         javax/security/sasl/AuthorizeCallback.java,
4444         javax/security/sasl/RealmCallback.java,
4445         javax/security/sasl/RealmChoiceCallback.java,
4446         javax/security/sasl/Sasl.java,
4447         javax/security/sasl/SaslClient.java,
4448         javax/security/sasl/SaslClientFactory.java,
4449         javax/security/sasl/SaslException.java,
4450         javax/security/sasl/SaslServer.java,
4451         javax/security/sasl/SaslServerFactory.java:
4452         Cleaned up import statements and copyright notices.
4453
4454 2004-10-20  Michael Koch  <konqueror@gmx.de>
4455
4456         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4457
4458 2004-10-20  Michael Koch  <konqueror@gmx.de>
4459
4460         * java/sql/Timestamp.java,
4461         java/text/AttributedCharacterIterator.java,
4462         java/text/AttributedString.java,
4463         java/util/zip/CheckedOutputStream.java,
4464         java/util/zip/DeflaterOutputStream.java,
4465         java/util/zip/ZipFile.java,
4466         javax/crypto/Cipher.java,
4467         javax/crypto/ExemptionMechanismException.java,
4468         javax/crypto/SecretKey.java,
4469         javax/crypto/SecretKeyFactory.java,
4470         javax/naming/directory/ModificationItem.java,
4471         javax/naming/directory/SearchControls.java,
4472         javax/naming/event/NamingListener.java,
4473         javax/naming/ldap/Control.java,
4474         javax/naming/ldap/ExtendedResponse.java,
4475         javax/net/ssl/SSLSocketFactory.java:
4476         Reorganized imports and fixed copyright headers.
4477
4478 2004-10-20  Michael Koch  <konqueror@gmx.de>
4479
4480         * java/util/logging/ConsoleHandler.java,
4481         java/util/logging/ErrorManager.java,
4482         java/util/logging/FileHandler.java,
4483         java/util/logging/Filter.java,
4484         java/util/logging/Formatter.java,
4485         java/util/logging/Handler.java,
4486         java/util/logging/Level.java,
4487         java/util/logging/LogManager.java,
4488         java/util/logging/LogRecord.java,
4489         java/util/logging/Logger.java,
4490         java/util/logging/LoggingPermission.java,
4491         java/util/logging/MemoryHandler.java,
4492         java/util/logging/SimpleFormatter.java,
4493         java/util/logging/SocketHandler.java,
4494         java/util/logging/StreamHandler.java,
4495         java/util/logging/XMLFormatter.java:
4496         Standardized copyrigth header.
4497
4498 2004-10-20  Michael Koch  <konqueror@gmx.de>
4499
4500         * java/security/AlgorithmParameterGenerator.java,
4501         java/security/AlgorithmParameters.java,
4502         java/security/DigestInputStream.java,
4503         java/security/Identity.java,
4504         java/security/KeyFactory.java,
4505         java/security/KeyPairGenerator.java,
4506         java/security/KeyStore.java,
4507         java/security/MessageDigest.java,
4508         java/security/MessageDigestSpi.java,
4509         java/security/Policy.java,
4510         java/security/SecureRandom.java,
4511         java/security/Security.java,
4512         java/security/Signature.java,
4513         java/security/SignatureSpi.java,
4514         java/security/cert/CertPathBuilder.java,
4515         java/security/cert/CertPathValidator.java,
4516         java/security/cert/CertStore.java,
4517         java/security/cert/Certificate.java,
4518         java/security/cert/CertificateFactory.java,
4519         java/security/cert/PolicyQualifierInfo.java,
4520         java/security/cert/TrustAnchor.java,
4521         java/security/cert/X509CRL.java,
4522         java/security/cert/X509CRLEntry.java,
4523         java/security/cert/X509Certificate.java,
4524         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4525         Import statements reorganized, some little formatting issues,
4526         used java-style array declarations, added comments in empty catch
4527         blocks.
4528
4529 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4530
4531         * java/security/Security.java
4532         (static): Use AccessController.doPrivileged to get system property.
4533
4534 2004-10-18  Sven de Marothy  <sven@physto.se>
4535
4536         * java/nio/ByteBufferHelper.java
4537         (putDouble): Use Double.toRawLongBits instead.
4538
4539 2004-10-18  Mark Wielaard  <mark@klomp.org>
4540         Andrew Haley  <aph@redhat.com>
4541
4542         * testsuite/libjava.lang/ExtraClassLoader.java: New.
4543
4544 2004-10-18  Andrew Haley  <aph@redhat.com>
4545
4546         PR java/18036:
4547         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4548         and correct logic used to find interpreter.
4549         
4550 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4551
4552         * java/util/logging/LogManager.java
4553         (findAncestor): Fixed IndexOutOfBoundsException.
4554
4555 2004-10-18  Michael Koch  <konqueror@gmx.de>
4556
4557         * java/io/BufferedInputStream.java: Fixed @author tag.
4558         (read): Simplified expression.
4559         (read): Merged javadoc a bit more.
4560         (read): Renamed 'remain' to 'totalBytesRead'.
4561         * java/io/DataInputStream.java,
4562         java/io/DataOutputStream.java,
4563         java/io/ObjectInputStream.java,
4564         java/io/ObjectOutputStream.java:
4565         Reworked modifier order.
4566
4567 2004-10-18  Michael Koch  <konqueror@gmx.de>
4568
4569         * java/net/Inet4Address.java: Merged file header and javadocs.
4570         * java/net/Inet6Address.java: Likewise.
4571         * java/net/InetAddress.java
4572         (getCanonicalHostName): Create Inet4Address object instead of
4573         InetAddress and add comment regarding IPv6.
4574         (toString): Simplified.
4575
4576 2004-10-18  Michael Koch  <konqueror@gmx.de>
4577
4578         * gnu/java/net/protocol/http/Connection.java,
4579         java/nio/MappedByteBufferImpl.java,
4580         java/text/RuleBasedCollator.java,
4581         java/util/ResourceBundle.java:
4582         Reworked import statements.
4583
4584 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4585
4586         * java/security/IdentityScope.java
4587         (systemScope): Removed useless initializer.
4588         * java/security/Policy.java
4589         (currentPolicy): Likewise.
4590
4591 2004-10-18  Michael Koch  <konqueror@gmx.de>
4592
4593         * java/lang/System.java: Revert accidential change.
4594
4595 2004-10-18  Michael Koch  <konqueror@gmx.de>
4596
4597         * java/lang/Math.java,
4598         java/lang/Package.java,
4599         java/lang/Runtime.java,
4600         java/lang/StrictMath.java,
4601         java/lang/System.java,
4602         java/lang/Thread.java,
4603         java/lang/ThreadLocal.java,
4604         java/lang/Void.java:
4605         Reworked import statements, HTML in javadocs and modifier orders.
4606
4607 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4608
4609         * java/util/Timer.java
4610         (nr): Removed useless initializer.
4611         * java/util/logging/LogRecord.java
4612         (lastSeqNum): Likewise.
4613         * javax/naming/spi/NamingManager.java
4614         (icfb, ofb): Likewise.
4615
4616 2004-10-18  Michael Koch  <konqueror@gmx.de>
4617
4618         * gnu/java/net/PlainDatagramSocketImpl.java:
4619         Reworked import statements.
4620         * gnu/java/security/provider/DSAParameters.java:
4621         Fixed copyrigth years.
4622         * java/net/JarURLConnection.java:
4623         Fixed HTML in @author tags.
4624         
4625
4626 2004-10-18  Michael Koch  <konqueror@gmx.de>
4627
4628         * java/rmi/activation/ActivationSystem.java
4629         (SYSTEM_PORT): Initialize with correct port number.
4630
4631 2004-10-18  Michael Koch  <konqueror@gmx.de>
4632
4633         * java/lang/reflect/Proxy.java: Improved javadocs.
4634
4635 2004-10-18  Michael Koch  <konqueror@gmx.de>
4636
4637         * java/lang/reflect/AccessibleObject.java
4638         (checkPermission): Removed redundant final modifier.
4639         (secureSetAccessible): Likewise.
4640         * java/lang/reflect/Proxy.java:
4641         Reworked import statements.
4642         (generate): Removed redundant final modifier.
4643         * java/lang/reflect/ReflectPermission.java:
4644         Reorder package declaration and import statement.
4645
4646 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
4647
4648         * java/lang/reflect/Proxy.java
4649         (count): Removed useless initializer.
4650
4651 2004-10-17  Michael Koch  <konqueror@gmx.de>
4652
4653         * java/net/BindException.java,
4654         java/net/ConnectException.java,
4655         java/net/ContentHandler.java,
4656         java/net/ContentHandlerFactory.java,
4657         java/net/DatagramPacket.java,
4658         java/net/DatagramSocket.java,
4659         java/net/DatagramSocketImpl.java,
4660         java/net/DatagramSocketImplFactory.java,
4661         java/net/FileNameMap.java,
4662         java/net/HttpURLConnection.java,
4663         java/net/MalformedURLException.java,
4664         java/net/MulticastSocket.java,
4665         java/net/NetworkInterface.java,
4666         java/net/NoRouteToHostException.java,
4667         java/net/PasswordAuthentication.java,
4668         java/net/PortUnreachableException.java,
4669         java/net/ProtocolException.java,
4670         java/net/ServerSocket.java,
4671         java/net/Socket.java,
4672         java/net/SocketException.java,
4673         java/net/SocketImpl.java,
4674         java/net/SocketImplFactory.java,
4675         java/net/SocketOptions.java,
4676         java/net/SocketPermission.java,
4677         java/net/SocketTimeoutException.java,
4678         java/net/URI.java,
4679         java/net/URISyntaxException.java,
4680         java/net/URL.java,
4681         java/net/URLDecoder.java,
4682         java/net/URLEncoder.java,
4683         java/net/URLStreamHandler.java,
4684         java/net/URLStreamHandlerFactory.java,
4685         java/net/UnknownHostException.java,
4686         java/net/UnknownServiceException.java:
4687         Big import statement and @author tag cleanup.
4688
4689 2004-10-17  Michael Koch  <konqueror@gmx.de>
4690
4691         * gnu/java/security/OID.java,
4692         gnu/java/security/provider/DSAParameters.java,
4693         gnu/java/security/provider/DSASignature.java,
4694         gnu/java/security/x509/X500DistinguishedName.java,
4695         gnu/java/security/x509/X509CRL.java:
4696         Import statements cleaned up.
4697
4698 2004-10-16  Michael Koch  <konqueror@gmx.de>
4699
4700         * gnu/java/nio/NIODatagramSocket.java,
4701         gnu/java/nio/ServerSocketChannelImpl.java:
4702         Reorganized import statements.
4703
4704 2004-10-16  Michael Koch  <konqueror@gmx.de>
4705
4706         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4707         gnu/java/rmi/rmic/RMIC.java,
4708         gnu/java/rmi/server/RMIHashes.java,
4709         gnu/java/rmi/server/RMIObjectInputStream.java,
4710         gnu/java/rmi/server/RMIObjectOutputStream.java,
4711         gnu/java/rmi/server/UnicastConnection.java,
4712         gnu/java/rmi/server/UnicastConnectionManager.java,
4713         gnu/java/rmi/server/UnicastRemoteCall.java,
4714         gnu/java/rmi/server/UnicastServer.java,
4715         gnu/java/rmi/server/UnicastServerRef.java,
4716         java/rmi/MarshalledObject.java,
4717         java/rmi/Naming.java,
4718         java/rmi/RMISecurityManager.java,
4719         java/rmi/Remote.java,
4720         java/rmi/activation/Activatable.java,
4721         java/rmi/activation/ActivationDesc.java,
4722         java/rmi/activation/ActivationGroup.java,
4723         java/rmi/activation/ActivationGroupDesc.java,
4724         java/rmi/activation/ActivationGroupID.java,
4725         java/rmi/activation/ActivationID.java,
4726         java/rmi/activation/ActivationInstantiator.java,
4727         java/rmi/activation/ActivationMonitor.java,
4728         java/rmi/activation/ActivationSystem.java,
4729         java/rmi/activation/Activator.java,
4730         java/rmi/dgc/DGC.java,
4731         java/rmi/dgc/Lease.java,
4732         java/rmi/dgc/VMID.java,
4733         java/rmi/registry/LocateRegistry.java,
4734         java/rmi/registry/Registry.java,
4735         java/rmi/registry/RegistryHandler.java,
4736         java/rmi/server/LoaderHandler.java,
4737         java/rmi/server/LogStream.java,
4738         java/rmi/server/ObjID.java,
4739         java/rmi/server/Operation.java,
4740         java/rmi/server/RMIClassLoader.java,
4741         java/rmi/server/RMIClassLoaderSpi.java,
4742         java/rmi/server/RMIClientSocketFactory.java,
4743         java/rmi/server/RMIFailureHandler.java,
4744         java/rmi/server/RMIServerSocketFactory.java,
4745         java/rmi/server/RMISocketFactory.java,
4746         java/rmi/server/RemoteCall.java,
4747         java/rmi/server/RemoteObject.java,
4748         java/rmi/server/RemoteRef.java,
4749         java/rmi/server/RemoteServer.java,
4750         java/rmi/server/RemoteStub.java,
4751         java/rmi/server/ServerRef.java,
4752         java/rmi/server/Skeleton.java,
4753         java/rmi/server/SkeletonMismatchException.java,
4754         java/rmi/server/UID.java,
4755         java/rmi/server/UnicastRemoteObject.java,
4756         java/rmi/server/Unreferenced.java:
4757         File headers and import statements cleaned up.
4758
4759 2004-10-16  Michael Koch  <konqueror@gmx.de>
4760
4761         * libjava/gnu/java/nio/charset/UTF_16.java,
4762         libjava/gnu/java/nio/charset/UTF_16BE.java,
4763         libjava/gnu/java/nio/charset/UTF_16LE.java,
4764         libjava/java/nio/ByteOrder.java,
4765         libjava/java/nio/MappedByteBuffer.java,
4766         libjava/java/nio/channels/Channels.java,
4767         libjava/java/nio/channels/spi/SelectorProvider.java,
4768         libjava/java/nio/charset/Charset.java:
4769         Cleanup.
4770
4771 2004-10-16  Michael Koch  <konqueror@gmx.de>
4772
4773         * gnu/java/nio/charset/UTF_16Encoder.java
4774         (UTF_16Encoder): Fixed maxBytesPerChar handling.
4775
4776 2004-10-16  Michael Koch  <konqueror@gmx.de>
4777
4778         * java/math/BigDecimal.java, java/math/BigInteger.java:
4779         Reorganized import statements, removed redundant and
4780         reorganized modifiers.
4781
4782 2004-10-16  Michael Koch  <konqueror@gmx.de>
4783
4784         * gnu/java/beans/ExplicitBeanInfo.java:
4785         Explicitely import java.awt.Image.
4786         (getIcon): Fixed off-by-one error.
4787
4788 2004-10-15  Andrew Haley  <aph@redhat.com>
4789
4790         * Makefile.am (nat_files, xlib_nat_files): New.
4791         * Makefile.in: Regenerate.
4792
4793 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
4794
4795         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
4796         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
4797
4798 2004-10-13  Andrew Haley  <aph@redhat.com>
4799
4800         * interpret.cc (_Jv_InterpMethod::run): Initialize
4801         _Jv_StartOfInterpreter.
4802         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
4803         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
4804         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
4805         _Unwind_FindEnclosingFunction to discover whether PC is within the
4806         interpreter.
4807
4808 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
4809
4810         PR libgcj/17903:
4811         * testsuite/libjava.lang/md5test.java: New file.
4812         * testsuite/libjava.lang/md5test.out: Likewise.
4813         * testsuite/libjava.lang/shatest.java: Likewise.
4814         * testsuite/libjava.lang/shatest.out: Likewise.
4815
4816 2004-10-11  Richard Henderson  <rth@redhat.com>
4817
4818         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
4819         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
4820
4821 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
4822
4823         * java/util/Calendar.java (set): Invalidate DST_OFFSET
4824         field as a DST boundary may have been crossed.
4825         * java/util/GregorianCalendar.java (add): Throw 
4826         IllegalArgumentException on attempt to add to DST_OFFSET or 
4827         ZONE_OFFSET fields. Update javadoc.
4828
4829 2004-10-09  Michael Koch  <konqueror@gmx.de>
4830
4831         * java/io/CharArrayWriter.java
4832         (resize): Removed redundant 'final' modifier.
4833         * java/io/DataInputStream.java
4834         (readFully): Throw IndexOutOfBoundsException of len < 0.
4835         * java/io/FileDescriptor.java,
4836         java/io/FileInputStream.java,
4837         java/io/FileOutputStream.java,
4838         java/io/ObjectOutputStream.java,
4839         java/io/ObjectStreamClass.java,
4840         java/io/PipedInputStream.java,
4841         java/io/RandomAccessFile.java:
4842         Reorganized import statements.
4843
4844 2004-10-09  Michael Koch  <konqueror@gmx.de>
4845
4846         * gnu/java/rmi/rmic/RMIC.java,
4847         gnu/java/rmi/server/RMIHashes.java,
4848         gnu/java/rmi/server/RMIObjectInputStream.java,
4849         gnu/java/rmi/server/UnicastConnection.java,
4850         gnu/java/rmi/server/UnicastConnectionManager.java,
4851         gnu/java/rmi/server/UnicastRemoteCall.java,
4852         gnu/java/rmi/server/UnicastServerRef.java:
4853         Reworked import statements and fixed file headers.
4854
4855 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
4856
4857         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
4858         emission rule.
4859         * configure: Rebuilt.
4860
4861 2004-09-30  Tom Tromey  <tromey@redhat.com>
4862
4863         * java/text/MessageFormat.java (Field): Constructor now
4864         protected.
4865
4866 2004-09-30  Tom Tromey  <tromey@redhat.com>
4867
4868         * javax/crypto/MacSpi.java: Fixed typo.
4869
4870 2004-09-30  Michael Koch  <konqueror@gmx.de>
4871
4872         * java/net/InetAddress.java: Reformatted.
4873         (loopback): Initialize with Inet4Address object.
4874         (static): Initialize ANY_IF with Inet4Address object.
4875         (InetAddress): Removed unused package-private constructor.
4876
4877 2004-09-30  Michael Koch  <konqueror@gmx.de>
4878
4879         * java/beans/Beans.java,
4880         java/beans/EventHandler.java,
4881         java/beans/EventSetDescriptor.java,
4882         java/beans/Introspector.java,
4883         java/beans/PropertyEditorManager.java,
4884         java/beans/beancontext/BeanContext.java,
4885         java/beans/beancontext/BeanContextChild.java,
4886         java/beans/beancontext/BeanContextChildSupport.java,
4887         java/beans/beancontext/BeanContextMembershipEvent.java:
4888         Reordered import statements and removed redundant modifiers.
4889
4890 2004-09-29  Tom Tromey  <tromey@redhat.com>
4891
4892         PR libgcj/17715:
4893         * Makefile.in: Rebuilt.
4894         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
4895         files.
4896         (all_property_files): New macro.
4897
4898         * Makefile.in: Rebuilt.
4899         * Makefile.am (ordinary_java_source_files): Re-sorted.
4900         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
4901
4902 2004-09-28  Tom Tromey  <tromey@redhat.com>
4903
4904         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
4905
4906         PR libgcj/17222:
4907         * Makefile.am (libgcj.la): Restored.
4908         * Makefile.in: Rebuilt.
4909
4910 2004-09-28  Michael Koch  <konqueror@gmx.de>
4911
4912         * java/net/URLConnection.java: Reformatted.
4913         * java/net/URLClassLoader.java: Reformatted.
4914         (getContent): Reordered return of content.
4915         (getContentHandler): Don't check for null explicitely.
4916
4917 2004-09-27  Michael Koch  <konqueror@gmx.de>
4918
4919         * java/io/BufferedInputStream.java
4920         (BufferedInputStream): Added Jeroen Frijters to authors.
4921         (count): Don't explicitely initialize with default value.
4922         (pos): Likewise.
4923         (marklimit): Likewise.
4924         (read): Changed boolean expression to match GNU classpath' version.
4925         (reset): Add proper message to exception.
4926         (skip): Check for closed stream.
4927         (refill): Likewise.
4928
4929 2004-09-26  Per Bothner  <per@bothner.com>
4930
4931         * prims.cc (unblock_signal): Annotate signum with __unused__ to
4932         avoid warnings in the non-POSIX_VERSION case.
4933         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
4934         so place it inside an #if block.
4935         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
4936         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
4937         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
4938         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
4939
4940 2004-09-26  Per Bothner  <per@bothner.com>
4941
4942         * prims.cc (process_gcj_properties):  Optimization.
4943
4944 2004-09-26  Per Bothner  <per@bothner.com>
4945
4946         * java/util/Collections.java (sort):  Copy from array in forwards
4947         order, rather than reverse order which may be much less efficient.
4948
4949 2004-09-26  Mark Wielaard  <mark@klomp.org>
4950
4951         * java/lang/System.java (properties): Make package private.
4952         * java/lang/Throwable.java (StaticData.nl): Initialize through
4953         directly accessing System.properties.getProperty().
4954
4955         * java/lang/Throwable.java (nl): Remove static field.
4956         (StaticData): New private static inner class.
4957         (stackTraceStringBuffer): Use StaticData.nl.
4958
4959 2004-09-26  Casey Marshall <csm@gnu.org>
4960
4961         * java/security/ProtectionDomain.java
4962         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
4963         `true'.
4964
4965         * java/security/SecureClassLoader.java
4966         (defineClass): make protection domain dynamically bound.
4967         (getPermissions): call `getCurrentPolicy' to avoid permission
4968         check.
4969
4970 2004-09-25  Mark Wielaard  <mark@klomp.org>
4971
4972         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
4973         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
4974         * Makefile.in: Regenerated.
4975
4976         * gcj/javaprims.h: Regenerated.
4977
4978         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
4979         (getDefaultTimeZone): Make package private. Check that GMToffset
4980         contains at least one digit.
4981         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
4982         VMTimeZone.
4983         * util/VMTimeZone.java: New file with above methods.
4984
4985         * java/util/natTimeZone.cc: Removed (renamed).
4986         * java/util/natVMTimeZone.cc: Added (renamed).
4987
4988 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
4989
4990         * java/util/TimeZone.java
4991         (getDefaultTimeZone): Fixed test to distinguish between hours and
4992         minutes in specified timezone.
4993
4994 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
4995
4996         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
4997         handling of default package. (generate): Removed confused comments
4998         and code about making Method and Field accessible.
4999
5000 2004-09-25  Tom Tromey  <tromey@redhat.com>
5001
5002         PR java/17500:
5003         * testsuite/libjava.compile/pr17500.java: New file.
5004
5005 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
5006             Mark Wielaard  <mark@klomp.org>
5007
5008         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5009         * gnu/regexp/RETokenLookAhead.java: New file.
5010
5011         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5012         * Makefile.in: Regenerated.
5013
5014 2004-09-25  Michael Koch  <konqueror@gmx.de>
5015
5016         * java/io/ObjectStreamField.java:
5017         Removed unused import statement.
5018
5019 2004-09-24  Tom Tromey  <tromey@redhat.com>
5020
5021         PR java/15656:
5022         * testsuite/libjava.compile/pr15656.xfail: New file.
5023         * testsuite/libjava.compile/pr15656.java: new file.
5024
5025         PR java/16789:
5026         * testsuite/libjava.lang/pr16789.out: New file.
5027         * testsuite/libjava.lang/pr16789.java: New file.
5028
5029 2004-09-24  Andrew Haley  <aph@redhat.com>
5030
5031         PR java/16927
5032         * testsuite/libjava.compile/AssertBug.java: New file.
5033
5034 2004-09-24  Casey Marshall <csm@gnu.org>
5035
5036         * java/util/PropertyPermissionCollection.java
5037         (implies): avoid infinite loop.
5038
5039 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5040
5041         * javax/security/auth/PrivateCredentialPermission.java
5042         (PrivateCredentialPermission): added serialization UID
5043
5044
5045 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
5046
5047         * gnu/java/rmi/server/UnicastServer.java
5048         (incomingMessageCall): Added code to handle Errors.
5049         * gnu/java/rmi/server/UnicastServerRef.java
5050         (incomingMessageCall): Added code to handle Errors.
5051
5052
5053 2004-09-24  Tom Tromey  <tromey@redhat.com>
5054
5055         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5056         (definedPackages): Likewise.
5057
5058 2004-09-24  Michael Koch  <konqueror@gmx.de>
5059
5060         * java/io/ObjectInputStream.java:
5061         Re-ordered imports.
5062
5063 2004-09-24  Casey Marshall <csm@gnu.org>
5064
5065         * java/io/ObjectInputStream.java (callReadMethod): re-throw
5066         `ClassNotFoundException'.
5067
5068 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5069
5070         * java/io/ObjectInputStream.java (readObject): Delegate instantation
5071         of Externalizable classes to ObjectStreamClass.
5072         * java/io/ObjectStreamClass.java (newInstance): New method to
5073         instantiate Externalizable (while ignoring the accessibility of
5074         the constructor). (constructor): New field to cache the constructor.
5075
5076 2004-09-24  Mark Wielaard  <mark@klomp.org>
5077
5078         * java/net/URL.java (systemClassLoader): New static field.
5079         (getURLStreamHandler): Always use system/application classloader
5080         for finding URLStreamhandler. Remove unecessary instanceof checks.
5081
5082 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
5083
5084         * java/net/URL.java
5085         (set): This method now matches the behaviour of the JDK.
5086         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5087
5088 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
5089
5090         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5091
5092 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5093
5094         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5095         Don't set authority if host isn't specified.
5096
5097 2004-09-24  Michael Koch  <konqueror@gmx.de>
5098
5099         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5100         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5101         * gnu/java/nio/VMPipe.java,
5102         gnu/java/nio/VMSelector.java:
5103         New files.
5104         * gnu/java/nio/natPipeImplEcos.cc,
5105         gnu/java/nio/natPipeImplPosix.cc,
5106         gnu/java/nio/natPipeImplWin32.cc:
5107         Ported to VMPipe.
5108         * gnu/java/nio/natSelectorImplEcos.cc,
5109         gnu/java/nio/natSelectorImplPosix.cc,
5110         gnu/java/nio/natSelectorImplWin32.cc:
5111         Ported to VMSelector.
5112         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5113         gnu/java/nio/VMSelector.java.
5114         * Makefile.in: Regenerated.
5115
5116 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5117
5118         * java/lang/StackTraceElement.java
5119         (className): Renamed field to declaringClass to be compatible
5120         with Sun serialization format.
5121
5122 2004-09-23  Michael Koch  <konqueror@gmx.de>
5123
5124         * java/applet/AppletContext.java,
5125         java/applet/Applet.java,
5126         java/applet/AppletStub.java,
5127         java/applet/AudioClip.java:
5128         Jalopied and checkstyle clean.
5129
5130         * javax/swing/JCheckBox.java: Reformated.
5131         (JCheckBox): Fixed all constructors.
5132         (isBorderPaintedFlat): New method.
5133         (setBorderPaintedFlat): New method.
5134         * javax/swing/JEditorPane.java
5135         (createEditorKitForContentType): Made public.
5136         (scrollToReference): Likewise.
5137         * javax/swing/JTextArea.java
5138         (setLineWrap): Fire property change.
5139         * javax/swing/JToggleButton.java
5140         (JToggleButton): New constructor.
5141         (JToggleButton): Simplified.
5142         * javax/swing/text/AttributeSet.java
5143         (FontAttribute): Renamed from FontCharacterAttribute.
5144         * javax/swing/text/JTextComponent.java
5145         (KeyBinBinding): Added javadoc.
5146         (JTextComponent): Likewise.
5147         (getAccessibleContext): Fixed javadoc.
5148         * javax/swing/text/View.java
5149         (View): Added javadoc.
5150         * javax/swing/text/TabableView.java: New file.
5151         * Makefile.am: Added javax/swing/text/TabableView.java.
5152         * Makefile.in: Regenerated.
5153 2004-09-23  Mark Wielaard  <mark@klomp.org>
5154
5155         * java/util/Collections.java
5156         (binarySearch(List, Object, Comparator)): Explicitly
5157         reverse direction in list iterator.
5158         (rotate): Just return when list is empty.
5159
5160 2004-09-23  Tom Tromey  <tromey@redhat.com>
5161
5162         PR java/17329:
5163         * testsuite/libjava.compile/pr17329.java: New file.
5164
5165         PR java/17380:
5166         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5167         9.2-implicit-7.
5168
5169 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5170
5171         * Makefile.am: Run aclocal with -I ../config
5172         * acinclude.m4: Delete macros picked up from ../config and tidy.
5173         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5174         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5175         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5176
5177 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
5178
5179         * aclocal.m4: Regenerate with aclocal 1.9.2.
5180         * configure: Regenerate.
5181         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5182         * include/Makefile.in, testsuite/Makefile.in: Likewise.
5183
5184 2004-09-22  David Daney  <ddaney@avtrex.com>
5185
5186         PR libgcj/17623
5187         * java/net/URL.java (URL): Copy userInfo from context.
5188         (getUserInfo): Return cached userInfo if present.
5189
5190 2004-09-22  Tom Tromey  <tromey@redhat.com>
5191
5192         PR libgcj/6182:
5193         * mauve-libgcj: Enable java.lang.Character tests.
5194
5195 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5196
5197         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5198         dependencies.
5199         (lib_org_ietf_jgss_la_LIBADD): Likewise.
5200         * Makefile.in: Regenerated.
5201
5202 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5203
5204         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5205         * configure: Regenerate.
5206         * include/config.h.in: Likewise.
5207         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5209         macro to gtkpeer.h.
5210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5211         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5212         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5213         architectures.
5214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5215         Likewise.
5216
5217 2004-09-22  Tom Tromey  <tromey@redhat.com>
5218
5219         PR libgcj/14446:
5220         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5221         when comparing CRCs.
5222         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5223         field.
5224         (read()): New overload.
5225
5226 2004-09-21  Tom Tromey  <tromey@redhat.com>
5227
5228         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5229         Indentation fix.
5230
5231 2004-09-21  Michael Koch  <konqueror@gmx.de>
5232
5233         * java/net/Socket.java
5234         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5235
5236 2004-09-21  Casey Marshall  <csm@gnu.org>
5237
5238         * javax/crypto/MacSpi.java (clone): Provide meaningful
5239         implementation.
5240
5241 2004-09-21  Tom Tromey  <tromey@redhat.com>
5242
5243         PR libgcj/16869:
5244         * Makefile.in: Rebuilt.
5245         * Makefile.am (MOSTLYCLEANFILES): Removed.
5246         (mostlyclean-local): Remove header files.
5247
5248 2004-09-21  Casey Marshall  <csm@gnu.org>
5249
5250         * java/security/cert/X509CRLSelector.java:
5251         (match): remove unreachable try-catch clauses.
5252         Reported by: Dalibor Topic <robilad@kaffe.org>
5253
5254 2004-09-21  Mark Wielaard  <mark@klomp.org>
5255
5256         * java/util/TreeMap.java (root): Don't initialize.
5257         (TreeMap(Comparator)): Call fabricateTree(0).
5258         (fabricateTree): Initialize root and size when count is 0.
5259
5260 2004-09-21  Sven de Marothy <sven@physto.se>
5261
5262         * java/nio/ByteBuffer.java (hashCode): Implemented.
5263         * java/nio/CharBuffer.java: Likewise.
5264         * java/nio/DoubleBuffer.java: Likewise.
5265         * java/nio/FloatBuffer.java: Likewise.
5266         * java/nio/LongBuffer.java: Likewise.
5267         * java/nio/IntBuffer.java: Likewise.
5268         * java/nio/ShortBuffer.java: Likewise.
5269
5270 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5271
5272         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5273
5274 2004-09-21  Michael Koch  <konqueror@gmx.de>
5275
5276         * javax/net/ssl/SSLServerSocket.java:
5277         Removed comment about "Do not edit this file, it's generated.".
5278
5279 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
5280
5281         Import the big Crypto/Jessie/Security merge from Classpath.
5282
5283         * Makefile.am: Add imported files.
5284         * Makefile.in: Regenerate.
5285
5286         2004-08-14  Casey Marshall <csm@gnu.org>
5287
5288         The Big Crypto Merge of 2004.
5289
5290         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5291         Crypto's version.
5292
5293         Files imported from GNU Crypto.
5294         * javax/crypto/BadPaddingException.java
5295         * javax/crypto/Cipher.java
5296         * javax/crypto/CipherInputStream.java
5297         * javax/crypto/CipherOutputStream.java
5298         * javax/crypto/CipherSpi.java
5299         * javax/crypto/EncryptedPrivateKeyInfo.java
5300         * javax/crypto/ExemptionMechanism.java
5301         * javax/crypto/ExemptionMechanismException.java
5302         * javax/crypto/ExemptionMechanismSpi.java
5303         * javax/crypto/IllegalBlockSizeException.java
5304         * javax/crypto/KeyAgreement.java
5305         * javax/crypto/KeyAgreementSpi.java
5306         * javax/crypto/KeyGenerator.java
5307         * javax/crypto/KeyGeneratorSpi.java
5308         * javax/crypto/Mac.java
5309         * javax/crypto/MacSpi.java
5310         * javax/crypto/Makefile.am
5311         * javax/crypto/NoSuchPaddingException.java
5312         * javax/crypto/NullCipher.java
5313         * javax/crypto/NullCipherImpl.java
5314         * javax/crypto/SealedObject.java
5315         * javax/crypto/SecretKey.java
5316         * javax/crypto/SecretKeyFactory.java
5317         * javax/crypto/SecretKeyFactorySpi.java
5318         * javax/crypto/ShortBufferException.java
5319         * javax/crypto/interfaces/DHKey.java
5320         * javax/crypto/interfaces/DHPrivateKey.java
5321         * javax/crypto/interfaces/DHPublicKey.java
5322         * javax/crypto/interfaces/PBEKey.java
5323         * javax/crypto/spec/DESKeySpec.java
5324         * javax/crypto/spec/DESedeKeySpec.java
5325         * javax/crypto/spec/DHGenParameterSpec.java
5326         * javax/crypto/spec/DHParameterSpec.java
5327         * javax/crypto/spec/DHPrivateKeySpec.java
5328         * javax/crypto/spec/DHPublicKeySpec.java
5329         * javax/crypto/spec/IvParameterSpec.java
5330         * javax/crypto/spec/PBEKeySpec.java
5331         * javax/crypto/spec/PBEParameterSpec.java
5332         * javax/crypto/spec/RC2ParameterSpec.java
5333         * javax/crypto/spec/RC5ParameterSpec.java
5334         * javax/crypto/spec/SecretKeySpec.java
5335         * javax/security/auth/AuthPermission.java
5336         * javax/security/auth/DestroyFailedException.java
5337         * javax/security/auth/Destroyable.java
5338         * javax/security/auth/Policy.java
5339         * javax/security/auth/PrivateCredentialPermission.java
5340         * javax/security/auth/RefreshFailedException.java
5341         * javax/security/auth/Refreshable.java
5342         * javax/security/auth/Subject.java
5343         * javax/security/auth/SubjectDomainCombiner.java
5344         * javax/security/auth/callback/Callback.java
5345         * javax/security/auth/callback/CallbackHandler.java
5346         * javax/security/auth/callback/ChoiceCallback.java
5347         * javax/security/auth/callback/ConfirmationCallback.java
5348         * javax/security/auth/callback/LanguageCallback.java
5349         * javax/security/auth/callback/NameCallback.java
5350         * javax/security/auth/callback/PasswordCallback.java
5351         * javax/security/auth/callback/TextInputCallback.java
5352         * javax/security/auth/callback/TextOutputCallback.java
5353         * javax/security/auth/callback/UnsupportedCallbackException.java
5354         * javax/security/auth/login/AccountExpiredException.java
5355         * javax/security/auth/login/AppConfigurationEntry.java
5356         * javax/security/auth/login/Configuration.java
5357         * javax/security/auth/login/CredentialExpiredException.java
5358         * javax/security/auth/login/FailedLoginException.java
5359         * javax/security/auth/login/LoginContext.java
5360         * javax/security/auth/login/LoginException.java
5361         * javax/security/auth/login/NullConfiguration.java
5362         * javax/security/auth/x500/X500PrivateCredential.java
5363         * javax/security/sasl/AuthenticationException.java
5364         * javax/security/sasl/AuthorizeCallback.java
5365         * javax/security/sasl/RealmCallback.java
5366         * javax/security/sasl/RealmChoiceCallback.java
5367         * javax/security/sasl/Sasl.java
5368         * javax/security/sasl/SaslClient.java
5369         * javax/security/sasl/SaslClientFactory.java
5370         * javax/security/sasl/SaslException.java
5371         * javax/security/sasl/SaslServer.java
5372         * javax/security/sasl/SaslServerFactory.java
5373         * org/ietf/jgss/ChannelBinding.java
5374         * org/ietf/jgss/GSSContext.java
5375         * org/ietf/jgss/GSSCredential.java
5376         * org/ietf/jgss/GSSException.java
5377         * org/ietf/jgss/GSSManager.java
5378         * org/ietf/jgss/GSSName.java
5379         * org/ietf/jgss/MessageProp.java
5380         * org/ietf/jgss/Oid.java
5381         * org/ietf/jgss/MessagesBundle.properties
5382
5383         Files imported from Jessie <http://www.nongnu.org/jessie/>
5384         * javax/net/ServerSocketFactory.java
5385         * javax/net/SocketFactory.java
5386         * javax/net/VanillaServerSocketFactory.java
5387         * javax/net/VanillaSocketFactory.java
5388         * javax/net/ssl/HandshakeCompletedEvent.java
5389         * javax/net/ssl/HandshakeCompletedListener.java
5390         * javax/net/ssl/HostnameVerifier.java
5391         * javax/net/ssl/HttpsURLConnection.java
5392         * javax/net/ssl/KeyManager.java
5393         * javax/net/ssl/KeyManagerFactory.java
5394         * javax/net/ssl/KeyManagerFactorySpi.java
5395         * javax/net/ssl/ManagerFactoryParameters.java
5396         * javax/net/ssl/SSLContext.java
5397         * javax/net/ssl/SSLContextSpi.java
5398         * javax/net/ssl/SSLException.java
5399         * javax/net/ssl/SSLHandshakeException.java
5400         * javax/net/ssl/SSLKeyException.java
5401         * javax/net/ssl/SSLPeerUnverifiedException.java
5402         * javax/net/ssl/SSLPermission.java
5403         * javax/net/ssl/SSLProtocolException.java
5404         * javax/net/ssl/SSLServerSocket.java
5405         * javax/net/ssl/SSLServerSocketFactory.java
5406         * javax/net/ssl/SSLSession.java
5407         * javax/net/ssl/SSLSessionBindingEvent.java
5408         * javax/net/ssl/SSLSessionBindingListener.java
5409         * javax/net/ssl/SSLSessionContext.java
5410         * javax/net/ssl/SSLSocket.java
5411         * javax/net/ssl/SSLSocketFactory.java
5412         * javax/net/ssl/TrivialHostnameVerifier.java
5413         * javax/net/ssl/TrustManager.java
5414         * javax/net/ssl/TrustManagerFactory.java
5415         * javax/net/ssl/TrustManagerFactorySpi.java
5416         * javax/net/ssl/X509KeyManager.java
5417         * javax/net/ssl/X509TrustManager.java
5418         * javax/security/cert/Certificate.java
5419         * javax/security/cert/CertificateEncodingException.java
5420         * javax/security/cert/CertificateException.java
5421         * javax/security/cert/CertificateExpiredException.java
5422         * javax/security/cert/CertificateNotYetValidException.java
5423         * javax/security/cert/CertificateParsingException.java
5424         * javax/security/cert/X509CertBridge.java
5425         * javax/security/cert/X509Certificate.java
5426
5427         2004-08-20  Casey Marshall  <csm@gnu.org>
5428
5429         * java/security/cert/X509CRLSelector.java: New file.
5430         * java/security/cert/X509CertSelector.java: New file.
5431
5432 2004-09-15  Michael Koch  <konqueror@gmx.de>
5433
5434         * gnu/java/net/protocol/file/Handler.java
5435         (openConnection): Don't throw exception if host part for file: URI is
5436         present. setURL() keeps file: protocol if ftp: protocol is not
5437         available.
5438
5439 2004-09-14  Richard Henderson  <rth@redhat.com>
5440
5441         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5442         value of sigsuspend.
5443
5444 2004-09-12  Tom Tromey  <tromey@redhat.com>
5445
5446         * javax/naming/CompoundName.java (CompoundName): Don't check for
5447         separator in "flat" case.
5448
5449 2004-09-12  Michael Koch  <konqueror@gmx.de>
5450
5451         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5452         AM_CONFIG_HEADER by AC_CONFIG_FILES.
5453         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5454         Regenerate.
5455
5456 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5457
5458         PR libgcj/14751
5459         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5460         handle in newly-allocated _Jv_Thread_t.
5461         (_Jv_ThreadDestroyData): Close thread handle.
5462         (_Jv_ThreadStart): Remove obsolete comment.
5463         Store handle of newly-created thread in _Jv_Thread_t.
5464         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5465         before including <windows.h>
5466         #define _Jv_HaveCondDestroy
5467
5468 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
5469
5470         * java/lang/natThread.cc (finalize_native): Destroy
5471         join conditional variable and mutex if these destroy
5472         operations are supported.
5473
5474 2004-09-10  Dalibor Topic <robilad@kaffe.org>
5475
5476         * gnu/java/net/protocol/file/Connection.java (permission): New field.
5477         (DEFAULT_PERMISSION): New constant.
5478         (Connection): Create a FilePermission with permission to read file.
5479
5480 2004-09-10  Michael Koch  <konqueror@gmx.de>
5481
5482         * gnu/java/net/protocol/file/Connection.java
5483         (getLastModified): Moved around.
5484         (getPermission): Return stored permission.
5485
5486 2004-09-10  Michael Koch  <konqueror@gmx.de>
5487
5488         * Makefile.in: Regenerate.
5489
5490 2004-09-10  Michael Koch  <konqueror@gmx.de>
5491
5492         * Makefile.am: Reverted accidently commited stuff.
5493         * configure: Regenerated.
5494
5495 2004-09-10  Michael Koch  <konqueror@gmx.de>
5496
5497         * gnu/java/net/protocol/file/Connection.java
5498         (lineSeparator): Made non-final.
5499         (static): Removed.
5500         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5501         instead of StringBufferInputStream.
5502
5503 2004-09-10  Michael Koch  <konqueror@gmx.de>
5504
5505         * gnu/java/net/protocol/file/Connection.java
5506         (connect): Handle file is a directory case.
5507
5508 2004-09-10  Michael Koch  <konqueror@gmx.de>
5509
5510         * Makefile.am
5511         (xlib_includes): Removed.
5512         (AM_CPPFLAGS): Renamed from INCLUDES.
5513         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5514         * Makefile.in: Regenerate.
5515
5516 2004-09-09  Michael Koch  <konqueror@gmx.de>
5517
5518         * java/security/ProtectionDomain.java,
5519         * java/util/PropertyPermissionCollection.java:
5520         Fixed javadocs all over.
5521
5522 2004-09-09  Sven de Marothy  <sven@physto.se>
5523
5524         Patch from David Gilbert <david.gilbert@object-refinery.com>
5525         * java/lang/Comparable.java: Fixed documentation errors.
5526         * java/util/Arrays.java: Likewise.
5527
5528 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5529
5530         * java/net/Inet4Address.java
5531         (Inet4Address): Added comment to serialization UID.
5532         * java/text/Format.java
5533         (Format): Added comment to serialization UID.
5534
5535 2004-09-09  Michael Koch  <konqueror@gmx.de>
5536
5537         * java/lang/System.java
5538         (err): Fixed javadoci to point to setErr() and not setOut().
5539
5540 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
5541
5542         (normalizePath): Added special case for windows systems.
5543
5544 2004-09-09  Michael Koch  <konqueror@gmx.de>
5545
5546         * java/io/File.java
5547         (dupSeparator): Made private.
5548         (File(URI)): New constructor.
5549         (getParentFile): Fixed javadoc.
5550         (createTempFile): Reformated.
5551         (setReadOnly): Added comment.
5552         (deleteOnExit): Merged javadoc with classpath version.
5553
5554 2004-09-09  Michael Koch  <konqueror@gmx.de>
5555
5556         * Makefile.am: Don't try to include deps.mk.
5557         * Makefile.in: Regenerated.
5558
5559 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
5560
5561         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5562         .d files.
5563         * configure: Rebuilt.
5564
5565 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
5566
5567         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5568         Changed pfn from static local to local.
5569
5570 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
5571             H.J. Lu  <hongjiu.lu@intel.com>
5572
5573         PR libgcj/17290
5574         * Makefile.am (GCJCOMPILE): Remove definition.
5575         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5576         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5577         * Makefile.in: Rebuilt.
5578
5579 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
5580
5581         * configure.ac (enable-gc-debug): Update help for new syntax.
5582         * configure: Regenerate.
5583
5584 2004-09-03  David Daney  <ddaney@avtrex.com>
5585
5586         * include/mips-signal.h: Update copyright.
5587
5588 2004-09-03  David Daney  <ddaney@avtrex.com>
5589
5590         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5591         * include/mips-signal.h: Added HANDLE_FPE support.
5592         
5593 2004-08-31  Michael Koch  <konqueror@gmx.de>
5594
5595         * javax/swing/plaf/basic/BasicTextAreaUI.java
5596         (create): New method.
5597         * javax/swing/text/DefaultHighlighter.java
5598         (DefaultHighlightPainter.debugRect): Removed.
5599         * javax/swing/text/StyleContext.java
5600         (DEFAULT_STYLE): New field.
5601
5602 2004-08-31  Michael Koch  <konqueror@gmx.de>
5603
5604         * javax/swing/plaf/basic/BasicLookAndFeel.java
5605         (initComponentDefaults): Add keybindings for selection.backward and
5606         selection-forward for text components.
5607         * javax/swing/plaf/basic/BasicTextUI.java
5608         (paintSafely): Paint highlight only when something is actually
5609         selected.
5610         * javax/swing/text/DefaultCaret.java
5611         (handleHighlight): New method.
5612         (setSelectionVisible): Don't do anything when nothing changes.
5613         Handle highlight.
5614         (moveDot): Reimplemented. Handle highlight.
5615         (setDot): Set mark too. Handle highlight.
5616         (getSelectionPainter): New method.
5617         * javax/swing/text/DefaultEditorKit.java
5618         (defaultActions): Added new actions for text selection.
5619         * javax/swing/text/DefaultHighlighter.java
5620         (DefaultHighlightPainter): New inner class.
5621         (DefaultPainter): New field.
5622         (paint): Implemented.
5623         * javax/swing/text/PlainView.java
5624         (paint): Don't draw background here again.
5625         * javax/swing/text/Utilities.java
5626         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5627         (drawTabbedText): Likewise.
5628
5629 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5630
5631         * javax/swing/JComponent.java
5632         (resetKeyboardActions): Add null checks.
5633
5634 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5635
5636         * javax/swing/DefaultButtonModel.java:
5637         Skip group notification when no group is set.
5638
5639 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5640
5641         * javax/swing/JColorChooser.java: 
5642         Make a couple inner classes static, for jikes.
5643
5644 2004-08-31  Michael Koch  <konqueror@gmx.de>
5645
5646         * javax/swing/plaf/basic/BasicTextUI.java
5647         (RottView.modelToView): New method.
5648         (UpdateHandler): Renamed from EventHandler.
5649         (updateHandler): Renamed from eventHandler.
5650         (modelToView): Implemented.
5651         * javax/swing/text/AbstractDocument.java
5652         (BranchElement.getElement): Return null for non-existing indeces.
5653         (BranchElement.getElementIndex): Return 0 in some corner cases.
5654         * javax/swing/text/FieldView.java
5655         (modelToView): New method.
5656         * javax/swing/text/PlainView.java
5657         (modelToView): Made public.
5658
5659 2004-08-31  Kim Ho  <kho@redhat.com>
5660
5661         * Makefile.am: New files.
5662         * Makefile.in: Regenerate.
5663         * gcj/Makefile.in: Regenerate.
5664         * include/Makefile.in: Regenerate.
5665         * java/awt/Color.java: Fix documentation.
5666         (RGBtoHSB): Use floats for conversions.
5667         * javax/swing/ButtonGroup.java: Run Jalopy.
5668         (setSelected): Reimplement.
5669         * javax/swing/DefaultButtonModel.java: Run Jalopy.
5670         (changeState): Let ButtonGroup know that the button 
5671         is changing state.
5672         * javax/swing/JColorChooser.java: Implement.
5673         * javax/swing/JLabel.java: Run Jalopy.
5674         * javax/swing/JSpinner.java: Run Jalopy.
5675         (setValue): New method.
5676         * javax/swing/JTabbedPane.java: Run Jalopy.
5677         (removeTabAt): Call correct remove method.
5678         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5679         (getPreviousValue): Compare minimum value.
5680         * javax/swing/Timer.java: Run Jalopy.
5681         (run): Comment out println.
5682         * javax/swing/ToolTipManager.java:
5683         (mouseMoved): Get new tooltip text for location.
5684         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5685         Jalopy and Javadoc.
5686         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5687         Implement.
5688         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5689         Run Jalopy.
5690         (setSelectedColor): Fire ChangeEvent.
5691         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5692         New file. Implement.
5693         * javax/swing/colorchooser/DefaultPreviewPanel.java:
5694         Ditto.
5695         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5696         Ditto.
5697         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5698         Ditto.
5699         * javax/swing/plaf/basic/BasicArrowButton.java:
5700         (getArrow): Fix size of upward pointing button.
5701         * javax/swing/plaf/basic/BasicColorChooserUI.java:
5702         Implement.
5703         * javax/swing/plaf/basic/BasicSliderUI.java:
5704         (getWidthOfWidestLabel): Use preferred dimensions.
5705         (getHeightOfTallestLabel): Ditto.
5706         * javax/swing/plaf/basic/BasicSpinnerUI.java:
5707         Run Jalopy.
5708         (mousePressed): Disable changes to spinner if it is not enabled.
5709         * testsuite/Makefile.in: Regenerate.
5710
5711
5712 2004-08-31  Michael Koch  <konqueror@gmx.de>
5713
5714         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5715         javax/swing/plaf/basic/BasicTableUI.java:
5716         Added copyright notice.
5717
5718 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
5719
5720         * Makefile.am: Added new files.
5721         * Makefile.in: Regenerate.
5722         * javax/swing/ComboBoxEditor.java: Added javadocs.
5723         * javax/swing/ComboBoxModel.java: Likewise.
5724         * javax/swing/DefaultComboBoxModel.java: Implemented.
5725         * javax/swing/DefaultListCellRenderer.java: Added javadocs
5726         and ran through jalopy to fix formatting style.
5727         (getListCellRendererComponent): Use appropriate border
5728         if renderer has focus and use noFocusBorder when it doesn't.
5729         * javax/swing/JComboBox.java: Implemented.
5730         * javax/swing/JList.java:
5731         (locationToIndex): New Method. Implemented.
5732         (indexToLocation): New Method.
5733         * javax/swing/JPopupMenu.java: 
5734         (visible): New field.
5735         (isVisible): Changed to use new field above.
5736         (setVisible): Likewise.
5737         * javax/swing/MutableComboBoxModel.java: Added javadocs.
5738         * javax/swing/plaf/basic/BasicArrowButton.java: 
5739         (shadow): Changed default color to Color.gray.
5740         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5741         UI delegate for JComboBox.
5742         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5743         Popup menu containing list of JComboBox's items.
5744         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5745         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5746         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5747         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5748         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5749         (popupMenuWillBecomeVisible): Set selected path to the first
5750         element only if it is of type MenuElement. Also fix formatting
5751         style.
5752         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
5753         methods signatures.
5754         
5755 2004-08-31  Michael Koch  <konqueror@gmx.de>
5756
5757         * javax/swing/text/AbstractDocument.java
5758         (createBranchElement): Use new constructor of BranchElement.
5759         (createLeafElement): Renamed arguments.
5760         (getRootElements): Implemented.
5761         (BranchElement.start): Removed.
5762         (BranchElement.end): Likewise.
5763         (BranchElement.BranchElement): Fixed arguments.
5764         (BranchElement.getEndOffset): Reimplemented.
5765         (BranchElement.getStartOffset): Likewis.
5766         * javax/swing/text/DefaultCaret.java
5767         (paint): Draw simple vertical line as caret instead of a rectangle.
5768         * javax/swing/text/JTextComponent.java
5769         (setText): Use doc directly.
5770         * javax/swing/text/PlainView.java
5771         (nextTabStop): Implemented.
5772         * javax/swing/text/Utilities.java
5773         (drawTabbedText): nextTabStop() returns an absolute x position.
5774         (getTabbedTextWidth): Likewise.
5775
5776 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5777
5778         * java/awt/Component.java 
5779         (isFocusTraversable): Predicate on isLightweight()
5780         (setFocusable): Set isFocusTraversableOverridden.
5781         (requestFocus): Predicate peer dispatch on !isLightweight()
5782         (requestFocusInWindow): Likewise.
5783         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
5784         * java/awt/Container.java
5785         (dispatchEventImpl): Predicate on event mask.
5786         (LightweightDispatcher): Remove focus machinery.
5787         * java/awt/DefaultFocusTraversalPolicy.java
5788         (accept): Expand predicate to include isFocusable(). 
5789         * java/awt/DefaultKeyboardFocusManager.java:
5790         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
5791         * java/awt/KeyboardFocusManager.java
5792         (redispatchEvent): Synchronize on event to prevent feedback.
5793         * javax/swing/AbstractButton.java
5794         (ButtonFocusListener): Remove class.
5795         (init): Set focusPainted, focusable.
5796         * javax/swing/ActionMap.java (get): Check parent for null. 
5797         * javax/swing/InputMap.java (get): Likewise. 
5798         * javax/swing/JComponent.java
5799         (inputMap_whenFocused): New InputMap.
5800         (inputMap_whenAncestorOfFocused): Likewise.
5801         (inputMap_whenInFocusedWindow): Likewise.
5802         (getActionForKeyStroke): Rewrite.
5803         (getConditionForKeystroke): Likewise.
5804         (ActionListenerProxy): New private class.
5805         (setInputMap): Implement.
5806         (getInputMap): Likewise.
5807         (setActionMap): Likewise.
5808         (getActionMap): Likewise.
5809         (processComponentKeyEvent): New empty method.
5810         (processKeyEvent): Implement.
5811         (processKeyBinding): Likewise.
5812         (resetKeyboardActions): Rewrite.
5813         * javax/swing/KeyStroke.java: Rewrite.
5814         * javax/swing/SwingUtilities.java
5815         (notifyAction): Implement.
5816         (replaceUIActionMap): Likewise.
5817         (replaceUIInputMap): Likewise.
5818         * javax/swing/plaf/basic/BasicButtonListener.java
5819         (focusGained): Implement.
5820         (focusLost): Repaint if focusPainted().
5821         (installKeyboardActions): Install pressed / released actions.
5822         (uninstallKeyboardActions): Implement.
5823         * javax/swing/plaf/basic/BasicButtonUI.java
5824         (focusColor): New field.
5825         (installDefaults): Load focus color, install input map.
5826         (installKeyboardActions): Implement.
5827         (uninstallKeyboardActions): Likewise.
5828         (paintFocus): Rewrite.
5829         * javax/swing/plaf/basic/BasicLookAndFeel.java
5830         (Button.focus): New default, midPurple. 
5831         * javax/swing/plaf/basic/BasicTextUI.java
5832         (kit): Make static.
5833         (installUI): Get doc from kit, load defaults.
5834         (getKeymapName): Implement.
5835         (createKeymap): Likewise.
5836         (installKeyboardActions): Likewise.
5837         (getInputMap): Likewise.
5838         (getActionMap): Likewise.
5839         (createActionMap): Likewise.
5840         * javax/swing/text/AbstractDocument.java
5841         (getStartPosition): Implement.
5842         (getEndPosition): Likewise.
5843         * javax/swing/text/DefaultEditorKit.java
5844         (CopyAction): New class.
5845         (CutAction): Likewise.
5846         (DefaultKeyTypedAction): Likewise.
5847         (InsertBreakAction): Likewise.
5848         (InsertContentAction): Likewise.
5849         (InsertTabAction): Likewise.
5850         (PasteAction): Likewise.
5851         (defaultActions): New static table.
5852         (createCaret): Implement.
5853         (getActions): Likewise.
5854         * javax/swing/text/JTextComponent.java
5855         (KeymapWrapper): New private class.
5856         (KeymapActionMap): Likewise.
5857         (DefaultKeymap): New class.
5858         (keymaps): New static table.
5859         (keymap): New field.
5860         (getKeymap): Implement.
5861         (removeKeymap): Likewise.
5862         (addKeymap): Likewise.
5863         (setKeymap): Likewise.
5864         (loadKeymap): Likewise.
5865         (getActions): Likewise.
5866         (margin): New field.
5867         (JTextComponent): Build and install default keymap.
5868         * javax/swing/text/TextAction.java
5869         (textAction): Call super properly.
5870         (getTextComponent): Implement.
5871         * javax/swing/text/Utilities.java
5872         (drawTabbedText): Adjust position by ascent.
5873
5874 2004-08-31  David Jee  <djee@redhat.com>
5875
5876         PR AWT/17156
5877
5878         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5879         (setEnabled): Make it a native method.
5880         * java/awt/DefaultKeyboardFocusManager.java
5881         (postProcessKeyEvent): Only post event if the menu item
5882         is active.
5883         * java/awt/MenuItem.java:
5884         Private field 'enabled' should be true by default.
5885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5886         (setEnabled): New function.
5887
5888 2004-08-31  David Jee  <djee@redhat.com>
5889
5890         PR AWT/17059
5891
5892         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5893         (nativeSetHelpMenu): New native method declaration.
5894         (addHelpMenu): Call nativeSetHelpMenu().
5895         (addMenu): Remove.
5896         * java/awt/MenuBar.java
5897         (setHelpMenu): Call addNotify() on the new help menu.
5898         (add): Call addNotify() on the new menu.
5899         (addNotify): Set the help menu if one exists.
5900         * java/awt/peer/MenuBarPeer.java
5901         (addMenu): Remove.
5902         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5903         (nativeSetHelpMenu): New method.
5904
5905 2004-08-31  Graydon Hoare  <graydon@redhat.com>
5906
5907         * Makefile.am: Add new files.
5908         * Makefile.in: Regenerate.
5909         * javax/swing/Box.java: Fix setting of layout in ctor.
5910         * javax/swing/JScrollPane.java: Scroll headers as well.
5911         * javax/swing/JTable.java: Reimplement.
5912         * javax/swing/JViewPort.java: Only add non-null children.
5913         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
5914         * javax/swing/Timer.java: Fix stopping null waker.
5915         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
5916         * javax/swing/plaf/basic/BasicTableUI.java: New file.
5917         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
5918         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
5919         * javax/swing/table/DefaultTableModel.java: Clean up.
5920         * javax/swing/table/JTableHeader.java: Implement.
5921
5922 2004-08-31  Mark Wielaard  <mark@klomp.org>
5923
5924         * javax/swing/JSpinner.java (getChangeListeners): Remove double
5925         semi-colon.
5926
5927 2004-08-31  Mark Wielaard  <mark@klomp.org>
5928
5929         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
5930         Declare variables at top of functions/block.
5931         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
5932
5933 2004-08-31  Mark Wielaard  <mark@klomp.org>
5934
5935         * java/lang/Rectangle.java (intersects): Check r.width and r.height
5936         first.
5937
5938 2004-08-31  Michael Koch  <konqueror@gmx.de>
5939
5940         * javax/swing/text/PlainView.java
5941         (selectedColor): New field.
5942         (unselectedColor): Likewise.
5943         (font): Likewise.
5944         (updateMetrics): New method.
5945         (lineToRect): Likewise.
5946         (modelToView): Likewise.
5947         (drawSelectedText): Use color from JTextComponent ad draw with
5948         Utilities class.
5949         (drawUnselectedText): Likewise.
5950         (paint): Initialize helper fields.
5951         * javax/swing/text/View.java
5952         (getChildAllocation): New method.
5953         (getViewIndex): Likewise.
5954         (getToolTipText): Likewise.
5955
5956 2004-08-31  Michael Koch  <konqueror@gmx.de>
5957
5958         * javax/swing/text/Utilities.java
5959         (drawTabbedText): Reimplemented.
5960         (getTabbedTextWidth): Likewise.
5961
5962 2004-08-31  Michael Koch  <konqueror@gmx.de>
5963
5964         * javax/swing/plaf/basic/BasicTextUI.java
5965         (installDefaults): Install caret and highlighter.
5966         (modelToView): Use Bias.Forward when calling sibling.
5967         * javax/swing/text/AbstractDocument.java
5968         (ElementEdit): Implements DocumentEvent.ElementChange.
5969         (ElementEdit.ElementEdit): New method.
5970         (ElementEdit.getChildrenAdded): Likewise.
5971         (ElementEdit.getChildrenRemoved): Likewise.
5972         (ElementEdit.getElement): Likewise.
5973         (ElementEdit.getIndex): Likewise.
5974         * javax/swing/text/DefaultCaret.java
5975         (color): Removed.
5976         (textComponent): Renamed from parent, made private.
5977         (selectionVisible): Renamed from vis_sel, made private.
5978         (blinkRate): Renamed from blink, made private.
5979         (magicCaretPosition): Renamed from magic, made private.
5980         (visible): Renamed from vis, made private.
5981         (dot): Made private.
5982         (mark): Likewise.
5983         (deinstall): Remove as MouseMotionListener.
5984         (install): Initialize textComponent first. Add as MouseMotionListener.
5985         (paint): Reimplemented.
5986         * javax/swing/text/JTextComponent.java
5987         (setCaret): Deinstall old caret, install new one and fire property
5988         change after setting property.
5989         (setHighlighter): Deinstall old highlighter, install new one and fire
5990         property change after setting property.
5991         (setCaretColor): Fire property change after setting property.
5992         (setDisabledTextColor): Likewise.
5993         (setSelectedTextColor): Likewise.
5994         (setSelectionColor): Likewise.
5995         (modelToView): New method.
5996
5997 2004-08-31  Michael Koch  <konqueror@gmx.de>
5998
5999         * javax/swing/text/AbstractDocument.java
6000         (getText): Simplified.
6001         * javax/swing/text/Segment.java
6002         (current): New field.
6003         (current): Reimplemented.
6004         (first): Likewise.
6005         (getIndex): Likewise.
6006         (last): Likewise.
6007         (next): Likewise.
6008         (previous): Likewise.
6009         (setIndex): Likewise.
6010
6011 2004-08-31  Michael Koch  <konqueror@gmx.de>
6012
6013         * javax/swing/plaf/basic/BasicButtonUI.java
6014         (defaultTextIconGap): Made protected.
6015         (defaultTextShiftOffset): Likewise.
6016         (textShiftOffset): New field.
6017         (clearTextShiftOffset): New method.
6018         (getTextShiftOffset): Likewise.
6019         (setTextShiftOffset): Likewise.
6020
6021 2004-08-31  Michael Koch  <konqueror@gmx.de>
6022
6023         * javax/swing/plaf/basic/BasicTextUI.java
6024         (installUI): Add eventHandler as property listener.
6025         (uninstallUI): remove eventHandler as propert listener.
6026         (installDefaults): Added comment.
6027         (installListeners): Likewise.
6028         (installKeyboardActions): Likewise.
6029         (uninstallDefaults): Likewise.
6030         (uninstallListeners): Likewise.
6031         (uninstallKeyboardActions): Likewise.
6032
6033 2004-08-31  Michael Koch  <konqueror@gmx.de>
6034
6035         * javax/swing/text/AbstractDocument.java:
6036         Fixed some typos in comments.
6037         (insertString): Reimplemented.
6038         (remove): Likewise.
6039         (replace): New method.
6040         (children): Dont use fully qualified class name.
6041         (DefaultDocumentEvent.offset): Renamed from off.
6042         (DefaultDocumentEvent.length): Renamed from len.
6043         (DefaultDocumentEvent.type): New field.
6044         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6045         (DefaultDocumentEvent.getType): Implemented.
6046
6047 2004-08-31  Michael Koch  <konqueror@gmx.de>
6048
6049         * javax/swing/plaf/basic/BasicTextUI.java
6050         (RootView.textComponent): Removed.
6051         (RootView.RootView): Don't initialize textComponent.
6052         (RootView.getViewFactory): New method.
6053         (EventHandler): New inner class.
6054         (rootView): Initialize at instance creation.
6055         (eventHandler): New field.
6056         (installUI): Don't create view hierarchy directly,
6057         call modelChanged() instead.
6058         (modelChanged): New method.
6059         * javax/swing/text/JTextComponent.java
6060         (setDocument): Fire property change event.
6061
6062 2004-08-31  Michael Koch  <konqueror@gmx.de>
6063
6064         * javax/swing/plaf/basic/BasicTextUI.java
6065         (RootView.paint): Removed debug output.
6066         (paintSafely): Draw highlighter before text.
6067         (paintBackground): Use background color of text component.
6068         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6069         Reformatted.
6070
6071 2004-08-31  Michael Koch  <konqueror@gmx.de>
6072
6073         * javax/swing/plaf/basic/BasicToolBarUI.java
6074         (BasicToolBarUI): Fixed arguments for constructor.
6075         (createUI): Fixed creation of object.
6076
6077 2004-08-31  Michael Koch  <konqueror@gmx.de>
6078
6079         * javax/swing/DefaultListSelectionModel.java
6080         (fireValueChanged): Renamed from fireSelectionValueChanged,
6081         made protected.
6082
6083 2004-08-31  Michael Koch  <konqueror@gmx.de>
6084
6085         * javax/swing/text/TabSet.java
6086         (TabSet): Implements java.io.Serializable.
6087         * javax/swing/text/TabStop.java
6088         (TabStop): Implements java.io.Serializable.
6089         (TabStop): Made public.
6090
6091 2004-08-31  Michael Koch  <konqueror@gmx.de>
6092
6093         * javax/swing/JComponent.java
6094         (setUI): Fire PropertyChange.
6095         * javax/swing/JLabel.java
6096         (text): Renamed from labelText.
6097         (horizontalAlignment): New default vlaue.
6098         (icon): Renamed from activeIcon.
6099         (displayedMnemonic): Renamed from mnemonicKey, added default value.
6100         (displayedMnemonicIndex): Renamed from underlineChar.
6101         (setDisplayedMnemonic): Reimplemented.
6102         * javax/swing/JRadioButton.java
6103         (JRadioButton): New constructors.
6104         * javax/swing/JTextField.java
6105         (JTextField): Throw exception if colums < 0, initialitialz
6106         this.columns directly and initialize document with text conditionally.
6107
6108 2004-08-31  Michael Koch  <konqueror@gmx.de>
6109
6110         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6111         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6112         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6113         * javax/swing/text/FieldView.java
6114         (paint): Just call super method for now.
6115         * Makefile.am: Added new files.
6116         * Makefile.in: Regenerated.
6117
6118 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
6119
6120         * javax/swing/AbstractSpinnerModel.java,
6121         javax/swing/JSpinner.java,
6122         javax/swing/SpinnerNumberModel.java,
6123         javax/swing/plaf/basic/BasicSpinnerUI.java:
6124         New files.
6125         * javax/swing/plaf/basic/BasicLookAndFeel.java
6126         (initClassDefaults): Added defaults for BasicSpinnerUI.
6127
6128 2004-08-31  Michael Koch  <konqueror@gmx.de>
6129
6130         * Makefile.am: Added new files.
6131         * Makefile.in: Regenerated.
6132
6133 2004-08-31  Michael Koch  <konqueror@gmx.de>
6134
6135         * javax/swing/TransferHandler.java,
6136         javax/swing/plaf/basic/ComboPopup.java: New files
6137         * Makefile.am: Added javax/swing/TransferHandler.java and
6138         javax/swing/plaf/basic/ComboPopup.java
6139         * Makefile.in: Regenerated.
6140
6141 2004-08-31  Roman Kennke  <roman@ontographics.com>
6142
6143         * javax/swing/text/Utilities.java: New file.
6144
6145 2004-08-31  Michael Koch  <konqueror@gmx.de>
6146
6147         * Makefile.am: Added javax/swing/text/Utilities.java.
6148         * Makefile.in: Regenerated.
6149
6150 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6151
6152         * javax/swing/text/SimpleAttributeSet.java: New file.
6153         * javax/swing/text/StyleConstants.java: New file.
6154         * javax/swing/text/StyleContext.java: New file.
6155         * javax/swing/text/TabSet.java: New file.
6156         * javax/swing/text/TabStop.java: New file.
6157         * javax/swing/text/AbstactDocument.java:
6158         (AbstractElement): Implement attribute support.
6159         * javax/swing/text/AttributeSet.java
6160         (NameAttribute): New static field.
6161         (ResolveAttribute): New static field.
6162         * Makefile.am: Update for new files.
6163         * Makefile.in: Regenerate.
6164
6165 2004-08-31  Craig Black  <craig.black@aonix.com>
6166
6167         * gnu/java/awt/peer/gtk/GdkGraphics.java 
6168         (drawImage): Add support for scaling pixmaps.
6169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6170         (copyAndScalePixmap): New native method.
6171  
6172 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6173
6174         PR AWT/16121
6175         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
6176         type-punning compiler warnings using unions.
6177         (throw): Replace bzero with memset.
6178
6179 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6180             Thomas Fitzsimmons  <fitzsim@redhat.com>
6181
6182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6183         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
6184         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6186         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6187
6188 2004-08-31  Mark Wielaard  <mark@klomp.org>
6189
6190         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6191         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6192         and stdlib.h, not gtkpeer.h.
6193         (*vm): New static variable.
6194         (areaPreparedID): Make static.
6195         (areaUpdatedID): Likewise.
6196         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6197         (area_prepared): Likewise.
6198         (area_updated): Likewise.
6199         (closed): Likewise.
6200         (initStaticState): Initialize *vm javaVM.
6201         (pumpBytes): Use given env, not global gdk_env.
6202
6203 2004-08-31  Mark Wielaard  <mark@klomp.org>
6204
6205         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6206         comments.
6207
6208 2004-08-31  Sven de Marothy  <sven@physto.se>
6209
6210         * java/awt/geom/CubicCurve2D.java: Reindent.
6211         (contains): Implemented.
6212         (intersects): Implemented.
6213         * java/awt/geom/QuadCurve2D.java: Likewise.
6214         * java/awt/geom/GeneralPath.java: Reindent and document.
6215         Fully (re)implemented using separate xpoints and ypoints
6216         float[] coords.
6217         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6218
6219 2004-08-31  Michael Koch  <konqueror@gmx.de>
6220
6221         * javax/swing/JMenuItem.java
6222         (getMenuDragMouseListeners): New method.
6223         (getMenuKeyListeners): Likewise.
6224
6225 2004-08-31  Michael Koch  <konqueror@gmx.de>
6226
6227         * javax/swing/AbstractButton.java
6228         (model): Made protected.
6229         (actionListener): Likewise.
6230         (changeListener): Likewise.
6231         (itemListener): Likewise.
6232         (multiClickThreshhold): New field.
6233         (getActionListeners): New method.
6234         (getChangeListeners): Likewise.
6235         (getItemListeners): Likewise.
6236         (fireItemStateChanged): Simplified implementation.
6237         (fireActionPerformed): Likewise.
6238         (fireStateChanged): Likewise.
6239         (getMultiClickThreshhold): New method.
6240         (setMultiClickThreshhold): Likewise.
6241
6242 2004-08-31  Tom Tromey  <tromey@redhat.com>
6243
6244         * java/awt/image/Kernel.java (clone): Use super.clone().
6245
6246 2004-08-31  David Jee  <djee@redhat.com>
6247
6248         PR AWT/16682
6249         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6250         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6251         (nativeSetIconImageFromData): New native method declaration.
6252         (setIconImage): Handle images not produced from GdkPixbufDecoder.
6253         * gnu/java/awt/peer/gtk/GtkImage.java
6254         (getPixelCache): New method.
6255         (getColorModel): New method.
6256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6257         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6258         (free_pixbuf_data): New helper function.
6259         (nativeSetIconImageFromData): New function.
6260
6261 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6262
6263         PR SWING/16576
6264         * javax/swing/JLayeredPane.java 
6265         (setLayer): Permit changing layer after addition.
6266         (setPosition): Permit over-length positions.
6267         (layerToRange): Compare intValue()s.
6268         * javax/swing/Box.java (createHorizontalBox): Implement.
6269         (createRigidArea): Likewise.
6270         (createVerticalBox): Likewise.
6271
6272 2004-08-31  Kim Ho  <kho@redhat.com>
6273
6274         * java/awt/Component.java:
6275         (processMouseEvent): Consume event after
6276         listeners process it.
6277         (processMouseMotionEvent): ditto.
6278         (processMouseWheelEvent): ditto.
6279         * java/awt/Container.java:
6280         (acquireComponentForMouseEvent):
6281         Do not dispatch to events that have been
6282         removed from the Container.
6283         (handleEvent): Consume the MouseEvents.
6284         * javax/swing/RepaintManager.java:
6285         (paintDirtyRegions): Do not add to list of 
6286         damaged areas if the component has no root.
6287
6288 2004-08-31  Michael Koch  <konqueror@gmx.de>
6289
6290         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6291
6292 2004-08-31  Mark Wielaard  <mark@klomp.org>
6293
6294         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6295         null when a MissingResourceException is thrown. Should never happen.
6296
6297 2004-08-31  Mark Wielaard  <mark@klomp.org>
6298
6299         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6300         when argument is null.
6301
6302 2004-08-31  Mark Wielaard  <mark@klomp.org>
6303
6304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6305         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6306         Define hid at start of function.
6307         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6308         Likewise.
6309
6310 2004-08-31  Mark Wielaard  <mark@klomp.org>
6311
6312         * gnu/java/awt/EmbeddedWindow.java: Reindent.
6313         * javax/swing/JButton.java: Reindent.
6314         * javax/swing/JCheckBox.java: Reindent.
6315
6316 2004-08-31  Mark Wielaard  <mark@klomp.org>
6317
6318         * Makefile.am (gtk_c_source_files): Added
6319         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6320         (gtk_awt_peer_sources): Added
6321         gnu/java/awt/peer/gtk/GThreadMutex.java and
6322         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6323         * Makefile.in: Regenerated.
6324
6325 2004-08-31  Archie Cobbs  <archie@dellroad.org>
6326
6327         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6328
6329 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6330
6331         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
6332         Added jfieldID, jmethodID.
6333
6334 2004-08-31  Mark Wielaard  <mark@klomp.org>
6335
6336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6337         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6338         gdk_env before calling any gdk or gtk function.
6339
6340         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6341         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6342         (run): Set gtkInitCalled.
6343
6344 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6345
6346         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
6347         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6348
6349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6350         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6351         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
6352         init_glib_threads. 
6353         (init_glib_threads): New function.
6354
6355 2004-08-31  Mark Wielaard  <mark@klomp.org>
6356
6357         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6358         PRIORITY when not already defined in header file.
6359
6360 2004-08-31  Mark Wielaard  <mark@klomp.org>
6361
6362         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6363         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6364
6365 2004-08-31  Steven Augart  <augart@watson.ibm.com>
6366
6367         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6368         Implemented missing functions for GTK2.
6369         Added error handling.
6370         Renamed static functions out of the g_ namespace.
6371         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
6372         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6373         Rewrote global-reference code.
6374         Eliminated cascading errors.
6375         (mutex_trylock_jni_impl) Fully implemented.
6376         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6377         resolution.
6378         (setup_cache) New function.
6379         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6380         bug where they were not unlocking the GMutex associated with the
6381         condition variable during the wait on that condition variable.
6382
6383         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6384         native/jni/gtk-peer/gthread-jni.c,
6385         native/jni/gtk-peer/gthread-jni.h
6386         (g_thread_jni_functions): Renamed to ...
6387         (portable_native_sync_jni_functions): this name.
6388         (gdk_vm): Renamed to...
6389         (the_vm): this name.
6390
6391         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6392         (gdk_vm): Removed duplicate definition.
6393         (gtkInit): Removed stray message to stdout.
6394         (gtkInit): Use g_malloc and g_free instead of malloc and free.
6395         (gtkInit): Fix a const assignment bug.
6396         (gtkInit): Simplified code.
6397
6398         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6399         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6400         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6401         gnu/java/awt/peer/gtk/GThreadMutex.java:
6402         New files.
6403
6404 2004-08-31  Mark Wielaard  <mark@klomp.org>
6405
6406         * javax/swing/Box.java: Put FIXME comment above class declaration.
6407         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6408         * javax/swing/JCheckBox.java: Likewise.
6409         * javax/swing/JDialog.java: Likewise.
6410         * javax/swing/JRadioButton.java: Likewise.
6411         * javax/swing/JToggleButton.java: Likewise.
6412         * javax/swing/UIManager.java: Likewise.
6413         * javax/swing/border/TitledBorder.java: Likewise.
6414         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6415         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6416         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6417         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6418         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6419         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6420         * javax/swing/text/JTextComponent.java: Likewise.
6421
6422 2004-08-31  David Jee  <djee@redhat.com>
6423
6424         PR AWT/16682
6425         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6426         (setIconImage): Add a FIXME for unhandled cases.
6427
6428 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6429
6430         PR AWT/16040
6431         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6432         getModifiers.  Replace old button masks with new ones.
6433         * gnu/awt/xlib/XEventLoop.java: Likewise.
6434         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6435         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6436         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6437         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6438         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6439         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6440         * java/awt/Component.java: Replace old modifier masks with new
6441         ones.
6442         * java/awt/Container.java: Call getModifiersEx, not
6443         getModifiers.
6444         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
6445         old modifier masks.
6446         * javax/swing/JMenuItem.java: Replace old button masks with new
6447         ones.
6448         * javax/swing/KeyStroke.java: Call getModifiersEx, not
6449         getModifiers.
6450         * javax/swing/SwingUtilities.java: Likewise.
6451         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6452         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6453         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6454         mask macros with new ones.
6455         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6456         macros with new ones representing new masks.
6457
6458 2004-08-31  Craig Black  <craig.black@aonix.com>
6459
6460         * gnu/java/awt/peer/gtk/GdkGraphics.java
6461         (drawRoundRect): Implemented.
6462         (fillRoundRect): Implemented.
6463         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6464         (drawRoundRect): Reimplemented to match GdkGraphics.
6465         (fillRoundRect): Reimplemented to match GdkGraphics.
6466
6467 2004-08-31  Mark Wielaard  <mark@klomp.org>
6468
6469         * Makefile.in: Regenerated.
6470
6471 2004-08-31  Michael Koch  <konqueror@gmx.de>
6472
6473         * gnu/java/awt/EmbeddedWindow.java
6474         (addNotify): Use AccessController to allow execution of privileged
6475         code.
6476
6477 2004-08-31  Michael Koch  <konqueror@gmx.de>
6478
6479         * gnu/java/awt/EmbeddedWindow.java
6480         (static): Removed.
6481         (addNotify): Set peer via reflection.
6482         (setWindowPeer): Removed.
6483         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6484         * Makefile.am (nat_source_files):
6485         Removed gnu/java/awt/natEmbeddedWindow.cc.
6486
6487 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6488
6489         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
6490         and gnu/java/security/action/SetAccessibleAction.java.
6491
6492 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6493
6494         * gnu/java/security/action/GetPropertyAction.java (setParameters):
6495         Renamed from 'setName'. New 2-argument form with default value.
6496         (run): Pass default 'value' parameter to System.getProperty().
6497         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6498         typos.
6499
6500 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6501
6502         * gnu/java/security/action/GetPropertyAction.java: New class.
6503         * gnu/java/security/action/SetAccessibleAction.java: New class.
6504
6505 2004-08-31  David Jee  <djee@redhat.com>
6506
6507         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6508         (setIconImage): Check if image is null.
6509
6510 2004-08-31  David Jee  <djee@redhat.com>
6511
6512         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6513         (create): Set the icon image.
6514         (nativeSetIconImage): New native method declaration.
6515         (setIconImage): Implement.
6516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6517         (nativeSetIconImage): New function.
6518
6519 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6520
6521         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6522         (filenameFilterCallback): Declare local variable accepted before use.
6523
6524 2004-08-31  Dalibor Topic <robilad@kaffe.org>
6525
6526         * gnu/java/awt/ComponentDataBlitOp.java:
6527         Cleaned up imports.
6528
6529 2004-08-31  Tom Tromey  <tromey@redhat.com>
6530
6531         * gnu/java/awt/peer/GLightweightPeer.java,
6532         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6533         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6534         javax/swing/JScrollPane.java: Removed
6535         redundant imports.
6536
6537 2004-08-31  David Jee  <djee@redhat.com>
6538
6539         * java/awt/DefaultKeyboardFocusManager.java
6540         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6541         event.  Fix shift modifier checking.
6542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6543         (accel_attach): Remove.
6544         (setupAccelGroup): Remove calls to accel_attach.
6545
6546 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6547
6548         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6549         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6550
6551         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6552         GtkArgList.java.
6553         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6554         * Makefile.in: Regenerate.
6555         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6556         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6557         (create(String)): New method.
6558         (create): Call new create method.
6559         (getArgs): Remove method.
6560         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6561         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
6562         (nativeCreate): Rename to create.
6563         (gtkSetLabel): Rename to gtkButtonSetLabel.
6564         (gtkToggleButtonSetActive): New method.
6565         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6566         (setState): Replace set call with gtkToggleButtonSetActive.
6567         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6568         (getArgs): Remove method.
6569         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6570         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6571         (gtkWidgetSetSensitive): New method.
6572         (gtkWidgetSetParent): Likewise.
6573         (GtkComponentPeer): Call setParent, setComponentBounds and
6574         setVisibleAndEnabled.
6575         (setParent): New method.
6576         (setComponentBounds): New method.
6577         (setVisibleAndEnabled): New method.
6578         (setEnabled): Call gtkWidgetSetSensitive.
6579         (getArgs): Remove method.
6580         Remove all set methods.
6581         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6582         gtkWindowSetModal, setTitle and setResizable.
6583         (getArgs): Remove method.
6584         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6585         (setComponentBounds): New method.
6586         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6587         Replace set call with gtkWindowSetResizable.
6588         (getArgs): Remove method.
6589         (create): Call setTitle and setResizable.
6590         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6591         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6592         (gtkWindowSetTitle): New method.
6593         (gtkWindowSetResizable): New method.
6594         (gtkWindowSetModal): New method.
6595         (setParent): New method.
6596         (setVisibleAndEnabled): New method.
6597         (getArgs): Remove method.
6598         (setTitle): Call gtkWindowSetTitle.
6599         (setResizable): Call gtkWindowSetResizable.
6600         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6601         and off locking instrumentation.
6602
6603 2004-08-31  Kim Ho  <kho@redhat.com>
6604
6605         * Makefile.am: Add new file.
6606         * Makefile.in: Regenerate.
6607         * gcj/Makefile.in: Regenerate
6608         * include/Makefile.in:
6609         * java/awt/Container.java:
6610         (acquireComponentForMouseEvent): Respect 
6611         the event mask when looking for candidate.
6612         * javax/swing/JComponent.java:
6613         Remove toolTip field.
6614         (createToolTip): Create a tooltip on demand.
6615         (setToolTipText): Register with the ToolTipManager.
6616         (getToolTipText(MouseEvent)): Return getToolTipText().
6617         * javax/swing/JToolTip.java: Implement.
6618         * javax/swing/Timer.java: Jalopy.
6619         (restart): Call stop, then start.
6620         (stop): Interrupt the timer rather than wait for
6621         the timer to come to a stop naturally.
6622         * javax/swing/ToolTipManager.java: Implement.
6623         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6624         Change ToolTip.background color.
6625         * javax/swing/plaf/basic/BasicToolTipUI.java:
6626         Implement.
6627         * testsuite/Makefile.in: Regenerate
6628
6629 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
6630
6631         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6632         constructor param comments.
6633
6634 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6635
6636         * java/awt/Component.java: Document AWT 1.0 event handler
6637         methods.
6638
6639 2004-08-31  Roman Kennke  <roman@ontographics.com>
6640
6641         * javax/swing/Box.java:
6642         (createGlue): Implemented
6643         (createHorizontalGlue): Implemented
6644         (createHorizontalStrut): Implemented
6645         (createVerticalGlue): Implemented
6646         (createVerticalStrut): Implemented
6647
6648 2004-08-31  David Jee  <djee@redhat.com>
6649
6650         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6651         (GtkChoicePeer): Do not automatically select first item.
6652         (getHistory): Remove.
6653         (nativeGetSelected): New method.
6654         (nativeRemoveAll): New method.
6655         (add): Use nativeGetSelected() instead of getHistory().
6656         (remove): Likewise.
6657         (removeAll): Call nativeRemoveAll().
6658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6659         (create): Migrate to GtkComboBox.
6660         (append): Likewise.
6661         (nativeAdd): Likewise.
6662         (nativeRemove): Likewise.
6663         (select): Likewise.
6664         (nativeRemoveAll): New method.
6665         (nativeGetSelected): New method.
6666         (selection_changed): New method.
6667         (getHistory): Remove.
6668         (item_activate): Remove.
6669         (item_removed): Remove.
6670         (connect_choice_item_selectable_hook): Remove.
6671
6672 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6673
6674         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6675         variable in setEditable call.
6676
6677         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6678         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6679         (gtkWidgetSetBackground): New method.
6680         (gtkWidgetSetForeground): Likewise.
6681         (create): Set peer's editable state based on awtComponent's.
6682
6683         * java/awt/Button.java (Button()): Use empty string rather than
6684         null in no-label constructor.
6685
6686 2004-08-31  Roman Kennke  <roman@ontographics.com>
6687
6688         * javax/swing/BoxLayout.java: Reimplement.
6689
6690 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
6691
6692         * gnu/java/awt/peer/gtk/GdkGraphics.java,
6693         gnu_java_awt_peer_gtk_GdkGraphics.c
6694         (initState(GtkComponentPeer)): Don't return array of colour
6695         values.
6696         (GdkGraphics(int,int)): Set default font to size 12.
6697         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6698         component's foreground colour.
6699         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6700         gnu_java_awt_peer_gtk_GdkGraphics2D.c
6701         (initState(GtkComponentPeer)): Don't return array of colour
6702         values.
6703         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6704         colours to component's colours.
6705         (current_colors_of_widget): Remove function.
6706         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6707         Return a new graphics object.
6708         * java/awt/Font.java (toString): Fix format.
6709         * java/awt/Graphics.java (toString): Likewise.
6710
6711 2004-08-31  Craig Black  <craig.black@aonix.com>
6712
6713         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6714         (addTearOff): New function.
6715         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6716         New native method.
6717         (init): Call addTearOff() when menu.isTearOff().
6718
6719 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
6720
6721         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6722         Default implementation.
6723         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6724         Implement using GdkPixbufDecoder.
6725
6726 2004-08-31  David Jee  <djee@redhat.com>
6727
6728         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6729         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6730         setting the size of GtkFileDialogPeers.
6731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6732         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6733         use their default sizes rather than their natural requisitions.
6734
6735 2004-08-31  Michael Koch  <konqueror@gmx.de>
6736
6737         * javax/swing/JFormattedTextField.java
6738         (JFormattedTextField): Implemented.
6739         * javax/swing/text/DefaultEditorKit.java
6740         (BeepAction): New inner class.
6741         * javax/swing/text/Segment.java
6742         (partialReturn): New field.
6743         (setPartialReturn): New method.
6744         (isPartialReturn): Likewise.
6745         * javax/swing/text/View.java
6746         (createFragment): Fixed typo.
6747         (getStartOffset): New method.
6748         (getEndOffset): Likewise.
6749
6750 2004-08-31  Michael Koch  <konqueror@gmx.de>
6751
6752         * javax/swing/table/DefaultTableColumnModel.java
6753         (serialVersionUID): Made private.
6754         (listenerList): Initialize.
6755         (changeEvent): Initialize.
6756         * javax/swing/table/JTableHeader.java
6757         (JTableHeader): New constructors.
6758         (createDefaultColumnModel): New method.
6759         * javax/swing/table/TableColumn.java
6760         (setHeaderRenderer): Simplified code.
6761         (setCellRenderer): Likewise.
6762         (setWidth): Likewise.
6763
6764 2004-08-31  Tom Tromey  <tromey@redhat.com>
6765
6766         * java/text/AttributedString.java (AttributedString): Use
6767         ArrayList to build array of attribute ranges.  Don't use
6768         `attribs' before it is set.
6769
6770 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6771
6772         * HACKING: Remove reference to special automake. No longer needed.
6773
6774 2004-08-30  Tom Tromey  <tromey@redhat.com>
6775
6776         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
6777         return result from `add'.
6778
6779 2004-08-30  Tom Tromey  <tromey@redhat.com>
6780
6781         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
6782
6783 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
6784
6785         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
6786
6787 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
6788
6789         * java/io/File.java File(String,String): Fixed handling of empty
6790         path.
6791
6792 2004-08-30  Casey Marshall  <csm@gnu.org>
6793
6794         Author e-mail updated for all files.
6795         * gnu/java/security/OID.java (equals): Test if the aurgment is an
6796         instance of OID.
6797         (compareTo): Use `equals'.
6798         * gnu/java/security/der/BitString.java (equals): Test if the
6799         argument is an instance of BitString.
6800         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
6801         class final. Made fields private.
6802         (<init>): New constructor.
6803         (skip): New method.
6804         (makeString): Made static; don't use NIO.
6805         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
6806         * gnu/java/security/der/DERWriter.java: Fixed imports.
6807         (writeString): Don't use NIO.
6808         (toIso88591, toUtf16Be, toUtf8): New methods.
6809         * gnu/java/security/der/DERValue.java: Formatting changes only.
6810         * gnu/java/security/der/DER.java: Likewise.
6811
6812 2004-08-30  Tom Tromey  <tromey@redhat.com>
6813
6814         * java/nio/CharBuffer.java (put): Fix typo.
6815         * java/nio/DoubleBuffer.java (put): Fix typo.
6816         * java/nio/FloatBuffer.java (put): Fix typo.
6817         * java/nio/IntBuffer.java (put): Fix typo.
6818         * java/nio/LongBuffer.java (put): Fix typo.
6819         * java/nio/ShortBuffer.java (put): Fix typo.
6820
6821 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
6822
6823         * java/nio/ByteBuffer.java (put): Fix typo.
6824
6825 2004-08-30  Casey Marshall  <csm@gnu.org>
6826
6827         * java/security/DummyKeyPairGenerator.java (clone): Removed
6828         useless instanceof check.
6829         * java/security/DummyMessageDigest.java (clone): Likewise.
6830         * java/security/DummySignature.java (clone): Likewise.
6831         * java/security/MessageDigest.java (clone): Remove useless
6832         instanceof check.
6833         * java/security/MessageDigestSpi.java (clone): Likewise.
6834         * java/security/Signature.java (clone): Provide meaningful
6835         implementation.
6836         * java/security/SignatureSpi.java (clone): Likewise.
6837
6838 2004-08-29  Mark Wielaard  <mark@klomp.org>
6839
6840         * java/util/Arrays.java
6841         (sort(byte[], int, int)): Check fromIndex < 0.
6842         (sort(char[], int, int)): Likewise.
6843         (sort(short[], int, int)): Likewise.
6844         (sort(int[], int, int)): Likewise.
6845         (sort(long[], int, int)): Likewise.
6846         (sort(float[], int, int)): Likewise.
6847         (sort(double[], int, int)): Likewise.
6848         (sort(Object[], int, int, Comparator)): Likewise.
6849         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
6850         (qsort(char[], int, int)): Likewise.
6851         (qsort(short[], int, int)): Likewise.
6852         (qsort(int[], int, int)): Likewise.
6853         (qsort(long[], int, int)): Likewise.
6854         (qsort(float[], int, int)): Likewise.
6855         (qsort(double[], int, int)): Likewise.
6856
6857 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6858
6859         * java/util/AbstractCollection.java, java/util/AbstractList.java,
6860         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
6861         java/util/ArrayList.java, java/util/Arrays.java,
6862         java/util/BitSet.java, java/util/Calendar.java,
6863         java/util/Collection.java, java/util/ListIterator.java,
6864         java/util/Map.java, java/util/SortedSet.java:
6865         Added additional exceptions to documentation, along
6866         with some additions and corrections.
6867
6868 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
6869
6870         * configure.ac: Handle --enable-gc-debug.
6871         * configure: Regenerate.
6872         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
6873         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
6874         Rearrange include file order.
6875         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
6876         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
6877         (disable_gc_mutex): Delete along with all references.
6878         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
6879         adjust for debug header size.
6880         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
6881         debug case.
6882         (_Jv_AllocArray): Declare min_heap_addr only if needed.
6883         (gcj_describe_type_fn): New.
6884         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
6885         Register gcj_describe_type_fn.
6886         * include/boehm-gc.h:
6887         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
6888         Don't define, but declare, for debug case.
6889         * java/lang/natObject.cc:
6890         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
6891
6892 2004-08-26  Mark Wielaard  <mark@klomp.org>
6893
6894         Fixes PR libgcj/17002:
6895         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
6896         a TimeZoneId string and then try to convert that to a TimeZone with
6897         getDefaultSystemTimeZone(String).
6898         (timezones0): Changed type from Hashtable to HashMap.
6899         (timezones): Create HashMap, not Hashtable.
6900         (getDefaultTimeZone): New method, rewritten from CNI version.
6901         (readTimeZoneFile): New method.
6902         (readtzFile): Likewise.
6903         (skipFully): Likewise.
6904         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
6905         getDefaultTimeZoneId and rewritten.
6906         (getDefaultTimeZoneId): Rewritten in java.
6907         
6908 2004-08-25  David Daney  <daney@avtrex.com>
6909
6910         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
6911         * Makefile.in: Regenerated.
6912
6913 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
6914
6915         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
6916         only if jvmpi is enabled.
6917         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
6918         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
6919         (_Jv_AllocString): Likewise.
6920         (_Jv_AllocPtrFreeObject): Likewise.     
6921
6922 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
6923
6924         * defineclass.cc: Include <stdio.h>.
6925         * java/lang/natClassLoader.cc: Include <stdio.h>.
6926
6927 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
6928             Michael Koch  <konqueror@gmx.de>
6929
6930         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
6931         * Makefile.in: Regenerated.
6932
6933 2004-08-20  Michael Koch  <konqueror@gmx.de>
6934
6935         * configure.ac: Replaced all AC_TRY_COMPILE macros with
6936         AC_COMPILE_IFELSE macros.
6937
6938 2004-08-20  Michael Koch  <konqueror@gmx.de>
6939
6940         * configure.in: Renamed to configure.ac.
6941         * configure.ac: New file.
6942         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
6943         include/config.h.in, testsuite/Makefile.in: Regenerated.
6944
6945 2004-08-20  Michael Koch  <konqueror@gmx.de>
6946
6947         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
6948         * aclocal.m4, configure: Regenerated.
6949
6950 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
6951             Michael Koch  <konqueror@gmx.de>
6952
6953         * configure.in, Makefile.am: Ported to automake 1.9.
6954         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
6955         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
6956         Regenerated.
6957
6958 2004-08-19  Tom Tromey  <tromey@redhat.com>
6959
6960         * java/net/DatagramSocket.java: Fixed typo.
6961
6962 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
6963
6964         PR libgcj/17081
6965         * java/net/URI.java (string): New field. Make all other fields
6966         transient.
6967         (readObject): Implemented.
6968         (writeObject): Implemented.
6969         (URI): Set 'string'.
6970
6971 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
6972
6973         PR libgcj/17079
6974         * java/util/logging/Handler.java (isLoggable): Accept record if its
6975         log level equals the threshold level. From Robin Green.
6976
6977 2004-08-18  David Daney  <ddaney@avtrex.com>
6978
6979         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
6980         instead of sigwait.
6981
6982 2004-08-17  Michael Koch  <konqueror@gmx.de>
6983
6984         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
6985         * Makefile.in: Regenerated.
6986
6987 2004-08-16  Tom Tromey  <tromey@redhat.com>
6988
6989         PR java/8473:
6990         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
6991
6992 2004-08-16  Michael Koch  <konqueror@gmx.de>
6993
6994         * Makefile.am
6995         (math_c_files): Renamed from c_files.
6996         (math_c_source_files): Renamed from c_source_files.
6997         * Makefile.in,
6998         gcj/Makefile.in,
6999         include/Makefile.in,
7000         testsuite/Makefile.in: Regenerated.
7001
7002 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
7003
7004         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7005         to avoid autoconf warning.
7006         * configure: Rebuilt.
7007
7008 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
7009
7010         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
7011         localhostAddress to loopbackAddress.
7012         * java/net/natInetAddressWin32.cc (lookup): Likewise.
7013
7014 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7015
7016         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
7017         boehm-gc's include dirs.
7018         * configure: Rebuilt.
7019         * include/boehm-gc.h: Include gc_config.h.
7020
7021 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7022
7023         * java/net/InetAddress.java (loopbackAddress): Renamed from 
7024         localhostAddress.
7025         (getByName): Return loopback address for null hostname, without
7026         security check. Use lookup(), not getAllByName.
7027         (getAllByName): Return loopback address for null hostname, without
7028         security check.
7029         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7030         check here.
7031
7032 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7033
7034         PR libgcj/17020
7035         Reported by Robin Green.
7036         * defineclass.cc (handleField): Don't throw exception on unrecognised
7037         modifier. Add FIXME comments for spec compliance.
7038         (handleMethod): Likewise.
7039
7040 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
7041
7042         PR libgcj/16662
7043         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7044         (Almost everywhere): add LOG calls, fix, add comments.
7045         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7046         Add explicit check for LOCKED bit in slow case (PR 16662).
7047         (_Jv_MonitorExit): Add casts in debug-only code.
7048         Always release LOCKED bit before throwing exception.
7049         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7050         isn't.  Handle easy cases without lock acquisition.
7051         (Object::wait): Use NotifyAll for lock inflation.
7052
7053 2004-08-12  David Daney  <ddaney@avtrex.com>
7054
7055         * testsuite/libjava.lang/Process_1.java: New test.
7056         * testsuite/libjava.lang/Process_2.java: New test.
7057         * testsuite/libjava.lang/Process_3.java: New test.
7058         * testsuite/libjava.lang/Process_4.java: New test.
7059         * testsuite/libjava.lang/Process_5.java: New test.
7060         * testsuite/libjava.lang/Process_6.java: New test.
7061         * testsuite/libjava.lang/Process_1.out: Expected result.
7062         * testsuite/libjava.lang/Process_2.out: Expected result.
7063         * testsuite/libjava.lang/Process_3.out: Expected result.
7064         * testsuite/libjava.lang/Process_4.out: Expected result.
7065         * testsuite/libjava.lang/Process_5.out: Expected result.
7066         * testsuite/libjava.lang/Process_6.out: Expected result.
7067
7068 2004-08-12  David Daney  <ddaney@avtrex.com>
7069
7070         PR libgcj/11801
7071         * java/lang/PosixProcess.java: Rewrote.
7072         * java/lang/natPosixProcess.cc: Rewrote.
7073         * java/lang/Runtime.java (execInternal): Declare throws IOException.
7074         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7075         * posix-threads.cc (block_sigchld) New function.
7076         (_Jv_ThreadRegister) Use it.
7077         (_Jv_ThreadStart) Use it.
7078         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7079         * Makefile.am: ... to specify extra native headers.
7080         * configure: Regenerated.
7081         * include/config.h: Regenerated.
7082         * Makefile.in: Regenerated.
7083         * gcj/Makefile.in: Regenerated.
7084         * include/Makefile.in: Regenerated.
7085         * testsuite/Makefile.in: Regenerated.
7086
7087 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
7088
7089         PR tree-optimization/16867
7090         * testsuite/libjava.lang/PR16867.java: New test.
7091
7092 2004-08-09  Per Bothner  <per@bothner.com>
7093
7094         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7095         with private fields and access methods.
7096         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7097         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7098         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7099         ( _Jv_makeUtf8Const): Rewrite using new constructors.
7100         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7101         * defineclass.cc: Use new _Utf8Const access/convenience methods.
7102         * jni.cc: Likewise.
7103         * resolve.cc: Likewise.
7104         * gcj/field.h: Likewise.
7105         * include/jvm.h: Likewise.
7106         * java/lang/Class.h: Likewise.
7107         * java/lang/natClass.cc: Likwise.
7108         * java/lang/natClassLoader.cc: Likewise
7109         * java/lang/reflect/natMethod.cc: Likewise
7110         * verify.cc: Likewise.
7111         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
7112         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
7113
7114 2004-08-10  Andrew Haley  <aph@redhat.com>
7115
7116         * testsuite/libjava.lang/err14.java: New file.
7117         * testsuite/libjava.lang/err14.out: New file.
7118
7119 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
7120
7121         * Makefile.am: Fix missing rename from x_nat_headers to 
7122         xlib_nat_headers.
7123         * Makefile.in: Regenerated.
7124
7125 2004-08-04  Andrew Haley  <aph@redhat.com>
7126
7127         * java/security/BasicPermission.java: Don't check wildcards.
7128
7129 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
7130             Michael Koch  <konqueror@gmx.de>
7131
7132         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7133         * configure.in: Replaced all usages of AC_LINK_FILES by
7134         AC_CONFIG_LINKS.
7135         * aclocal.m4,
7136         configure: Regenerated.
7137
7138 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
7139             Michael Koch  <konqueror@gmx.de>
7140
7141         * acconfig.h: Removed.
7142         * Makefile.am: Rename variables for xlib peer to include xlib and
7143         gtk_c_headers to gtk_jni_headers.
7144         * Makefile.in: Regenerated.
7145
7146 2004-08-04  Andrew Haley  <aph@redhat.com>
7147
7148         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7149         debugging.
7150
7151 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
7152
7153         * configure.in: Eliminate uses of changequote (mostly by quoting []).
7154         Replace most top level 'dnl' comments with '#' comments, conforming
7155         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
7156         help strings.
7157         * configure: Rebuilt.
7158
7159 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
7160
7161         * acinclude.m4: Include no-executables.m4.
7162         * aclocal.m4: Rebuild.
7163         * configure.in: Convert to the autoconf 2.59 version of
7164         of the no-executables hack, and also of the nonstandard CXX
7165         hack and the multilibbed CC and CXX hack.  Change prerequisite
7166         to autoconf 2.59.
7167         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
7168         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7169         testsuite/Makefile.in: Regenerate.
7170
7171 2004-08-03  Tom Tromey  <tromey@redhat.com>
7172
7173         * jni.cc: Reindented.
7174
7175 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7176
7177         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7178
7179 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
7180
7181         * testsuite/libjava.compile/PR16701.java: New test.
7182
7183 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7184
7185         * java/util/Collection.java, java/util/List.java,
7186         java/util/Map.java, java/util/Set.java,
7187         java/util/SortedMap.java, java/util/SortedSet.java:
7188         Added additional exceptions to documentation.
7189
7190 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
7191
7192         PR libgcj/16814
7193         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7194         * configure. Regenerate.
7195         * include/win32.h: Explicitly include winsock2.h
7196         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7197         Winsock api.
7198
7199 2004-07-30  Michael Koch  <konqueror@gmx.de>
7200
7201         * java/util/zip/GZIPInputStream.java
7202         (GZIPInputStream): Increase buffer size to 4k.
7203         * java/util/zip/GZIPOutputStream.java
7204         (GZIPOutputStream): Likewise.
7205         * java/util/zip/Inflater.java
7206         (setInput): Merged formating with GNU classpath.
7207         * java/util/zip/InflaterInputStream.java
7208         (InflaterInputStream): Increase buffer size to 4k.
7209         (fill): Throw exception if stream ends early.
7210         (read): Merged endless-loop with GNU classpath.
7211         (skip): Increase buffer size to 2k.
7212
7213 2004-07-30  Michael Koch  <konqueror@gmx.de>
7214
7215         * gnu/java/awt/EmbeddedWindow.java
7216         (addNotify): Use AccessController to allow execution of privileged
7217         code.
7218
7219 2004-07-29  Michael Koch  <konqueror@gmx.de>
7220
7221         * gnu/java/lang/MainThread.java:
7222         Explicitely import used classes.
7223         (args): Make it type String[].
7224
7225 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7226
7227         * gnu/java/awt/ComponentDataBlitOp.java,
7228         gnu/java/beans/ExplicitBeanInfo.java,
7229         gnu/java/beans/IntrospectionIncubator.java,
7230         gnu/java/beans/editors/ColorEditor.java,
7231         gnu/java/beans/editors/FontEditor.java,
7232         gnu/java/beans/editors/NativeBooleanEditor.java,
7233         gnu/java/beans/editors/NativeByteEditor.java,
7234         gnu/java/beans/editors/NativeDoubleEditor.java,
7235         gnu/java/beans/editors/NativeFloatEditor.java,
7236         gnu/java/beans/editors/NativeIntEditor.java,
7237         gnu/java/beans/editors/NativeLongEditor.java,
7238         gnu/java/beans/editors/NativeShortEditor.java,
7239         gnu/java/beans/editors/StringEditor.java,
7240         gnu/java/io/ClassLoaderObjectInputStream.java,
7241         gnu/java/io/decode/Decoder.java,
7242         gnu/java/io/encode/Encoder.java,
7243         gnu/java/lang/ClassHelper.java,
7244         gnu/java/locale/Calendar.java,
7245         gnu/java/locale/Calendar_de.java,
7246         gnu/java/locale/Calendar_en.java,
7247         gnu/java/locale/Calendar_nl.java,
7248         gnu/java/locale/LocaleInformation_de.java,
7249         gnu/java/locale/LocaleInformation_en.java,
7250         gnu/java/locale/LocaleInformation_nl.java:
7251         Cleaned up imports.
7252
7253 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7254
7255         * README: Remove obsolete info. Update bug URL.
7256         * THANKS: Updated.
7257         * NEWS: Updated with news up to GCC 3.4 release.
7258
7259 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7260
7261         * gnu/java/security/action/GetPropertyAction.java (setParameters):
7262         Renamed from 'setName'. New 2-argument form with default value.
7263         (run): Pass default 'value' parameter to System.getProperty().
7264         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7265         typos.
7266         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7267         not 'setName'.
7268
7269 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
7270
7271         * configure.in: Check for minimum GTK version 2.4 requirement.
7272         * configure: Rebuilt.
7273
7274 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7275
7276         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7277         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7278         Reduce sleep time.
7279         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7280         compiler bug.
7281         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
7282         address. Reduce sleep times. Synchronize with target threads before
7283         attempting to interrupt them. Don't try to calibrate yeild count,
7284         instead, always loop for a fixed time.
7285         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7286         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7287         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7288         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7289         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7290         * testsuite/libjava.lang/pr179.java: Likewise.
7291         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7292         time. Remove upper bounds check on sleep time. 
7293
7294 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7295
7296         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7297         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
7298
7299 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
7300
7301         * java/io/File.java (toURI): Throw RuntimeException, not 
7302         InternalError.
7303         * java/lang/Runtime.java (exit): Qualify static sleep() call with
7304         class name, not instance.
7305
7306 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
7307
7308         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7309         and gnu/java/security/action/SetAccessibleAction.java.
7310         * Makefile.in: Rebuilt.
7311
7312 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7313
7314         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7315         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7316         _Jv_InitPrimClass.
7317         (DECLARE_PRIM_TYPE): Don't declare array vtables.
7318         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7319         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7320
7321 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7322
7323         * Makefile.am: Replace jar, rmic and rmiregistry references with
7324         gjar, grmic and grmiregistry.
7325         * configure.in: Likewise.
7326         * Makefile.in: Regenerate.
7327         * configure: Likewise.
7328         * gcj/Makefile.in: Likewise.
7329         * include/Makefile.in: Likewise.
7330         * testsuite/Makefile.in: Likewise.
7331
7332 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7333
7334         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7335         for privileged getProperty calls.
7336         * java/io/ObjectOutputStream.java (getField): No longer static. Use
7337         SetAccessibleAction instead of anonymous class for doPrivileged call.
7338         (getMethod): Likewise.
7339         (setAccessible): New field. PrivilegedAction object to use when
7340         calling setAccessible.
7341         * java/io/ObjectStreamClass.java (calculateOffsets): Use
7342         SetAccessibleAction instead of anonymous class for diPrivileged call.
7343         (setFields): Likewise.
7344         (getClassUID): Likewise.
7345         (findMethod): Likewise.
7346         * gnu/java/security/action/GetPropertyAction.java: New class.
7347         * gnu/java/security/action/SetAccessibleAction.java: New class. 
7348
7349 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7350
7351         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7352         for final fields.
7353         * testsuite/libjava.lang/Serialization.java: New test.
7354         * testsuite/libjava.lang/Serialization.out: New.
7355
7356 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
7357
7358         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7359         missed in last commit.
7360
7361 2004-07-23  Mark Wielaard  <mark@klomp.org>
7362
7363         * java/lang/System.java (static): Set http.agent system property when
7364         not yet set.
7365         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7366         from system property inside AccessController.doPrivileged() call.
7367         (proxyPort): Made package private.
7368         (proxyInUse): Likewise.
7369         (proxyHost): Likewise.
7370         (userAgent): Likewise.
7371
7372 2004-07-23  Mark Wielaard  <mark@klomp.org>
7373
7374         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7375         implementation.
7376
7377 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
7378
7379         * Makefile.am (ordinary_java_source_files): Add
7380         DefaultContentHandlerFactory.java.
7381         * Makefile.in: Rebuilt.
7382         * java/net/URLConnection.java (defaultFactory): New field.
7383         (getContent): 
7384         (getContentHandler): Renamed from 'setContentHandler'. Try 
7385         defaultFactory after user-set factory, if any. Search for content 
7386         handler implementations in gnu.java.net.content, not gnu.gcj.content.
7387         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7388         Implemented.
7389         (getLastModified): Implemented.
7390         (getPermission): Create file permission here, instead of in
7391         constructor.
7392         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7393         Implemented.
7394         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7395         Implemented.
7396         (getLastModified): Implemented.
7397         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7398         Default implementation.
7399         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7400         Implement using GdkPixbufDecoder.
7401         
7402 2004-07-21  Michael Koch  <konqueror@gmx.de>
7403
7404         * javax/swing/JTextArea.java
7405         (setLineWrap): Fire property change event after new value is set.
7406         (setTabSize): Likewise.
7407
7408 2004-07-21  Michael Koch  <konqueror@gmx.de>
7409
7410         * javax/swing/JTable.java
7411         (autoCreateColumnsFromModel): New field.
7412         (autoResizeMode): Likewise.
7413         (cellEditor): Likewise.
7414         (cellSelectionEnabled): Likewise.
7415         (columnModel): Likewise.
7416         (dataModel): Likewise.
7417         (defaultEditorsByColumnClass): Likewise.
7418         (defaultRenderersByColumnClass): Likewise.
7419         (editingColumn): Likewise.
7420         (editingRow): Likewise.
7421         (gridColor): Likewise.
7422         (preferredViewportSize): Likewise.
7423         (rowHeight): Likewise.
7424         (rowMargin): Likewise.
7425         (rowSelectionAllowed): Likewise.
7426         (selectionBackground): Likewise.
7427         (selectionForeground): Likewise.
7428         (selectionModel): Likewise.
7429         (showHorizontalLines): Likewise.
7430         (showVerticalLines): Likewise.
7431         (tableHeader): Likewise.
7432         (JTable): Implemented.
7433         (getColumnModel): Likewise.
7434         (getSelectedRow): Likewise.
7435         (getSelectionModel): Likewise.
7436         (setModel): Likewise.
7437         (setSelectionModel): Likewise.
7438         (createScrollPaneForTable): New method.
7439         (createDefaultDataModel): Likewise.
7440         (createDefaultListSelectionModel): Likewise.
7441         (getModel): Likewise.
7442         (getTableHeader): Likewise.
7443         (setTableHeader): Likewise.
7444         (getColumnSelectionAllowed): Likewise.
7445         (setColumnSelectionAllowed): Likewise.
7446         (getRowSelectionAllowed): Likewise.
7447         (setRowSelectionAllowed): Likewise.
7448         (getAutoResizeMode): Likewise.
7449         (setAutoResizeMode): Likewise.
7450         (getColumnCount): Likewise.
7451         (getRowCount): Likewise.
7452         (getCellRenderer): Likewise.
7453         * javax/swing/JTree.java
7454         (cellRenderer): New field.
7455         (editable): Likewise.
7456         (rootVisible): Likewise.
7457         (showsRootHandles): Likewise.
7458         (getModel): New method.
7459         (setModel): Likewise.
7460         (isEditable): Likewise.
7461         (setEditable): Likewise.
7462         (isRootVisbile): Likewise.
7463         (setRootVisible): Likewise.
7464         (getShowsRootHandles): Likewise.
7465         (setShowRootHandles): Likewise.
7466         (getCellRenderer): Likewise.
7467         (setCellRenderer): Likewise.
7468
7469 2004-07-21  Michael Koch  <konqueror@gmx.de>
7470
7471         * javax/swing/JFormattedTextField.java
7472         (setDocument): Implemented.
7473         * javax/swing/JRootPane.java:
7474         Fixed javadocs.
7475         * javax/swing/JTable.java
7476         (getDefaultRenderer): New method.
7477         * javax/swing/JTextField.java
7478         (setFont): Likewise.
7479         (getPreferredSize): Likewise.
7480         * javax/swing/JToggleButton.java
7481         (getAccessibleContext): Fix javadoc.
7482         * javax/swing/JTree.java:
7483         Add some javadocs.
7484         * javax/swing/JViewport.java:
7485         Likewise.
7486
7487 2004-07-21  David Jee  <djee@redhat.com>
7488
7489         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7490         Collect all native method declaration at the top.
7491         (create): Set the filename filter if necessary.
7492         (setDirectory): Call nativeSetDirectory().
7493         (setFilenameFilter): Implement.
7494         (filenameFilterCallback): New method.
7495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7496         (create): Configure dialog to show hidden files.
7497         (filenameFilterCallback): New function. 
7498         (nativeSetFilenameFilter): New function.
7499         (nativeSetDirectory): New function.
7500
7501 2004-07-21  Kim Ho  <kho@redhat.com>
7502
7503         * javax/swing/plaf/basic/BasicSliderUI.java:
7504         Ran Jalopy.
7505         (paintTrack): Fill the track before painting
7506         the borders.
7507
7508 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7509
7510         patch from Roman Kennke <roman@ontographics.com>
7511         * javax/swing/Spring.java: New file.
7512         * javax/swing/SpringLayout.java: New file.
7513         * Makefile.am: Add new files.
7514         * Makefile.in: Regenerate.
7515
7516 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7517
7518         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7519         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7520         * javax/swing/ScrollPaneLayout.java: Likewise.
7521
7522 2004-07-21  Kim Ho  <kho@redhat.com>
7523
7524         * javax/swing/DefaultDesktopManager.java:
7525         (findMinimum): Removed.
7526         (resizeFrame): Trust the UI to pass valid 
7527         bounds.
7528         * javax/swing/JOptionPane.java:
7529         Implemented showInternalXXXDialog methods.
7530         (startModal): New method.
7531         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7532         (BorderListener::mouseDragged): Verify that the new 
7533         bounds are valid before passing them to the DesktopManager.
7534         (preferredLayoutSize): Delegate
7535         to getSize.
7536         (minimumLayoutSize): Ditto.
7537         (getSize): New method.
7538         (GlassPaneDispatcher): Reimplemented by copying 
7539         a stripped down LightweightDispatcher from Container.
7540         (getMinimumSize): Call minimumLayoutSize.
7541         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7542         Ran Jalopy.
7543         (mousePressed): Add ability to properly close 
7544         JInternalFrames.
7545         * javax/swing/plaf/basic/BasicToolBarUI.java:
7546         (DragWindow): Set owner for DragWindow.
7547
7548 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7549
7550         * java/awt/image/ShortLookupTable.java: New file.
7551         * java/awt/image/ByteLookupTable.java: New file.
7552         * Makefile.am: Added new files.
7553         * Makefile.in: Regenerated.
7554
7555 2004-07-21  David Jee  <djee@redhat.com>
7556
7557         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7558         (create(GtkContainerPeer)): New native method.
7559         (create()): Call native create(), passing in the parent frame
7560         as the paramter. Natively set the current file and directory.
7561         (setFile): Construct an absolute filename before passing it to
7562         the native peer.
7563         (nativeGetDirectory): New method.
7564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7565         (window_closed): Removed.
7566         (ok_clicked): Likewise.
7567         (cancel_clicked): Likewise.
7568         (handle_response): New method.
7569         (create): Use GtkFileChooserDialog.
7570         (connectSignals): Connect to handle_response.
7571         (nativeGetDirectory): New method.
7572         (nativeSetFile): Use GtkFileChooserDialog.
7573
7574 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7575
7576         * java/awt/image/LookupTable.java: New file.
7577         * Makefile.am: Added new file.
7578         * Makefile.in: Regenerated.
7579
7580 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
7581
7582         * java/awt/image/Kernel.java: New file.
7583         * Makefile.am: Added new file.
7584         * Makefile.in: Regenerated.
7585
7586 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7587
7588         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7589         * javax/swing/JMenu.java: Likewise.
7590         * javax/swing/JMenuBar.java: Likewise.
7591         (MARGIN_CHANGED_PROPERTY): New property.
7592         (setMargin): Implemented.
7593         * javax/swing/JMenuItem.java: Fixed javadocs.
7594         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7595         (LABEL_CHANGED_PROPERTY): New property.
7596         (add): changed to use createActionComponent.
7597         (createActionComponent): Implemented.   
7598         (setLabel): Fire PropertyChangeEvent if label property
7599         changes.
7600         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7601         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7602         (ContainerHandler): Repaint if margin property has changed.
7603         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7604         (installUI): Call installComponents().
7605         (uninstallUI): Call uinstallComponents().
7606         * javax/swing/plaf/basic/BasicMenuUI.java:
7607         Fixed javadocs.
7608         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7609         Likewise.
7610
7611 2004-07-21  Kim Ho  <kho@redhat.com>
7612
7613         * javax/swing/plaf/basic/BasicToolBarUI.java:
7614         (DragWindow): Use the right constructor.
7615
7616 2004-07-21  Kim Ho  <kho@redhat.com>
7617
7618         * javax/swing/JToolBar.java:
7619         (layoutContainer): Use getComponents.
7620         * javax/swing/plaf/basic/BasicToolBarUI.java:
7621         (DragWindow): Don't use SwingUtilities' 
7622         getOwnerFrame
7623         (ToolBarDialog): ditto.
7624
7625 2004-07-21  Kim Ho  <kho@redhat.com>
7626
7627         * javax/swing/JRootPane.java:
7628         Ran jalopy.
7629         (layoutContainer): Set the glasspane's size to 
7630         be the same as the content pane.
7631         (createGlassPane): Set opaque property to false.
7632
7633 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7634
7635         * java/awt/Component.java (requestFocus()): Don't handle Panels
7636         specially.
7637         (requestFocus(boolean)): Likewise.
7638         (requestFocusInWindow(boolean)): Likewise.
7639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7640         Set GTK_CAN_FOCUS flag.
7641
7642 2004-07-21  Kim Ho  <kho@redhat.com>
7643
7644         * Makefile.am: Added new file.
7645         * Makefile.in: Regenerated.
7646         * gcj/Makefile.in: Regenerated.
7647         * include/Makefile.in: Regenerated.
7648         * javax/swing/AbstractButton.java:
7649         Add rollOverEnabled property.
7650         (setRolloverEnabled): Use new property.
7651         (isRolloverEnabled): Use new property.
7652         * javax/swing/JTabbedPane.java:
7653         (setComponent): Remove useless JTabbedPane.this.
7654         * javax/swing/JToolBar.java: Finish implementation.
7655         * javax/swing/plaf/basic/BasicArrowButton.java:
7656         (paint): Moved border painting to a border.
7657         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7658         Change JToolBar look and feel defaults.
7659         * javax/swing/plaf/basic/BasicOptionPaneUI.java
7660         (actionPerformed): Return Integer index instead of name.
7661         (addButtonComponents): Check to see if component is
7662         JButton last.
7663         (createMessageArea): Don't use components that are not
7664         completed yet.
7665         (getIconForType): Use temporary icons.
7666         * javax/swing/plaf/basic/BasicSliderUI.java:
7667         (mousePressed): Do not return if it's on thumb.
7668         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7669         (paintMinorTickForVertSlider): ditto.
7670         (paintMajorTickForHorizSlider): ditto.
7671         (paintMajorTickForVertSlider): ditto.
7672         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7673         Add a border around the SplitPaneDivider.
7674         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7675         Remove comments.
7676         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7677         New file. Implemented.
7678         * javax/swing/plaf/basic/BasicToolBarUI.java:
7679         Implemented.
7680         * testsuite/Makefile.in: Regenerated.
7681
7682 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7683
7684         * javax/swing/Timer.java (run): Queue events each time cycle.
7685
7686 2004-07-21  David Jee  <djee@redhat.com>
7687
7688         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7689         (imageComplete): Call image.imageComplete().
7690         * java/awt/image/MemoryImageSource.java:
7691         Reimplement consumers as a Vector instead of a Hashtable.  This is
7692         because enumeration on a Hashtable is not thread-safe.
7693         (addConsumer): Adapt to Vector consumers.
7694         (isConsumer): Adapt to Vector consumers.
7695         (removeConsumer): Adapt to Vector consumers.
7696         (startProduction): Adapt to Vector consumers. Call imageComplete()
7697         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7698         (newPixels): Adapt to Vector consumers.
7699         (sendPicture): Set the color model of the image consumer.
7700         (newPixels(IIII)): Adapt to Vector consumers.
7701         (newPixels(IIIIB)): Adapt to Vector consumers.
7702
7703 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7704
7705         * java/awt/Component.java (deliverEvent): Implement.
7706         (postEvent): Implement.
7707         (handleEvent): Implement.
7708         (translateEvent): New method.
7709         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
7710         * java/awt/Container.java (deliverEvent): Implement.
7711         * java/awt/Event.java (paramString): Fix formatting.
7712         * java/awt/Font.java (toString): Likewise.
7713         * java/awt/Window.java (postEvent): Implement.
7714
7715 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7716
7717         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7718         Set window's focus owner upon receiving a FOCUS_LOST event.
7719         * java/awt/Window.java (Window()): Refocus the previously
7720         focused component within the window when the window regains the
7721         top-level focus.
7722         (setFocusOwner): New method.
7723         * java/awt/Component.java (requestFocus): Add FIXME.
7724
7725         * libgcj.pc.in: Remove library flags.
7726
7727 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7728
7729         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7730         MOUSE_PRESSED event.
7731         * java/awt/Component.java (requestFocus()): Handle Panel
7732         specially.  Post FOCUS_LOST event on opposite component.
7733         (requestFocus(boolean)): Likewise.
7734         (requestFocusInWindow(boolean)): Likewise.
7735         (paramString): Reorder dimension fields.
7736         * java/awt/Container.java (paramString): Fix string format.
7737         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7738         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
7739         process key events if the focus owner is non-null.
7740         (dispatchKeyEvent): Likewise.
7741         * java/awt/Frame.java (paramString): Fix formatting.
7742         (generateName): New method.
7743         (getUniqueLong): Likewise.
7744         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7745         the temporary focus owner is null.  If so, return the permanent
7746         focus owner.
7747         * java/awt/Panel.java (generateName): New method.
7748         (getUniqueLong): Likewise.
7749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
7750         signal handling to make callbacks more specific.
7751
7752 2004-07-21  Michael Koch  <konqueror@gmx.de>
7753
7754         * javax/swing/text/Position.java
7755         (Bias): Implemented.
7756
7757 2004-07-21  Michael Koch  <konqueror@gmx.de>
7758
7759         * javax/swing/LookAndFeel.java
7760         (provideErrorFeedback): New method.
7761
7762 2004-07-21  Michael Koch  <konqueror@gmx.de>
7763
7764         * javax/swing/JTextArea.java
7765         (tabSize): New field.
7766         (getTabSize): New method.
7767         (setTabSize): Likewise.
7768
7769 2004-07-21  Michael Koch  <konqueror@gmx.de>
7770
7771         * javax/swing/ActionMap.java:
7772         Fixed javadocs all over.
7773         (serialVersionUID): Made private.
7774         (parent): Don't explicitely initialize with default value.
7775         (get): SImplified.
7776         (keys): Reimplemented.
7777         (allKeys): Likewise.
7778         (convertSet): Removed.
7779         * javax/swing/ComponentInputMap.java:
7780         Fixed javadocs all over.
7781         (ComponentInputMap): Implemented.
7782         (put): Likewise.
7783         (clear): Likewise.
7784         (remove): Likewise.
7785         (SetParent): Likewise.
7786         (getComponent): Likewise.
7787         * javax/swing/InputMap.java:
7788         Fixed javadocs all over.
7789         (serialVersionUID): Made private.
7790         (parent): Don't explicitely initialize with default value.
7791         (get): SImplified.
7792         (keys): Reimplemented.
7793         (allKeys): Likewise.
7794         (convertSet): Removed.
7795
7796 2004-07-21  Michael Koch  <konqueror@gmx.de>
7797
7798         * javax/swing/ActionMap.java,
7799         javax/swing/ComponentInputMap.java,
7800         javax/swing/InputMap.java,
7801         javax/swing/table/DefaultTableColumnModel.java,
7802         javax/swing/table/TableColumn.java,
7803         javax/swing/table/TableColumnModel.java,
7804         javax/swing/table/TableModel.java,
7805         javax/swing/text/AbstractDocument.java,
7806         javax/swing/text/TextAction.java:
7807         Reformated.
7808
7809 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7810
7811         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
7812         Make method non-static.
7813         * javax/swing/AbstractButton.java:
7814         Rename fields to match property names where possible.
7815         (iconTextGap): New property.
7816         * javax/swing/JCheckBox.java: Match AbstractButton changes.
7817         (init) New method, call from after various constructors.
7818         * javax/swing/JComponent.java (revalidate): 
7819         Invalidate before queueing repair.
7820         * javax/swing/JList.java (getPreferredScrollableViewportSize):
7821         Reimplement in terms of visibleRowCount property.
7822         * javax/swing/JMenuButton.java: Match AbstractButton changes.
7823         * javax/swing/JScrollPane.java (createScrollListener): 
7824         Remove tracing chatter.
7825         * javax/swing/JToggleButton.java: Match AbstractButton changes.
7826         * javax/swing/RepaintManager.java (addInvalidComponent): 
7827         Don't invalidate.
7828         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
7829         calculations.
7830         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
7831         Mimic sun behavior on top left/right positioning.
7832         * javax/swing/ViewportLayout.java (preferredLayoutSize):
7833         Remove mistaken use of preferredScrollableViewportSize here.
7834         (layoutContainer): Use view's preferred size as basis.
7835         * javax/swing/plaf/basic/BasicButtonUI.java:
7836         Set, get, and use textIconGap property.
7837         (paint) Paint text returned from layout (with ellipsis).
7838         * javax/swing/plaf/basic/BasicListUI.java:
7839         Remove tracing chatter, correct various minor calculations.
7840         (getCellBounds): Update layout state before calculating.
7841         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
7842         Use margin default similar to sun's.    
7843         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
7844         (createIncreaseIcon): Center icon, minimize margins.
7845         (createDecreaseIcon): Likewise.
7846         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
7847         Implement.
7848         (installUI): Call it.
7849         (uninstallDefaults): Implement.
7850         (uninstallUI): Call it.
7851         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
7852         Call existing Window constructor.
7853         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
7854         Set clip before painting.
7855
7856 2004-07-21  Olga Rodimina <rodimina@redhat.com>
7857         
7858         * javax/swing/JMenuItem.java:
7859         (processMouseEvent): Reimplemented to deal with
7860         mouse drag events.
7861         (createMenuDragMouseEvent): New private helper method.
7862         Creates MenuDragMouseEvent.
7863         * javax/swing/MenuSelectionManager.java
7864         (componentForPoint): Implemented.
7865         (isComponentPartOfCurrentMenu): Made public.
7866         (processMouseEvent): Reimplemented to deal with 
7867         mouse drag events.
7868         (setSelectedPath): Corrected small mistake that caused
7869         path to be set incorrectly.
7870         (getPath): If given component is JMenu then also add this
7871         menu's popup menu to the selected path.
7872         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7873         (getPath): Ditto.
7874         (getPreferredSize): Call getPreferredMenuItemSize().
7875         (getPreferredItemSize): Moved code from getPreferredSize to here.
7876         (installListeners): Install MouseMotionListeners.
7877         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
7878         if mouse wasn't released in the bounds of this menu item.
7879         (MenuDragMouseHandler): Implemented.
7880         * javax/swing/plaf/basic/BasicMenuUI.java:
7881         (installListeners): Install MouseMotionListener and 
7882         MenuDrageMouseListener.
7883         (MenuDragMouseHandler): Implemented.
7884         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7885         (uninstallListeners): Implemented.
7886         
7887 2004-07-21  Michael Koch  <konqueror@gmx.de>
7888
7889         * javax/swing/JCheckBox.java: Reformated.
7890         (JCheckBox): Fixed all constructors.
7891         (isBorderPaintedFlat): New method.
7892         (setBorderPaintedFlat): New method.
7893         * javax/swing/JEditorPane.java
7894         (createEditorKitForContentType): Made public.
7895         (scrollToReference): Likewise.
7896         * javax/swing/JTextArea.java
7897         (setLineWrap): Fire property change.
7898         * javax/swing/JToggleButton.java
7899         (JToggleButton): New constructor.
7900         (JToggleButton): Simplified.
7901         * javax/swing/text/AttributeSet.java
7902         (FontAttribute): Renamed from FontCharacterAttribute.
7903         * javax/swing/text/JTextComponent.java
7904         (KeyBinBinding): Added javadoc.
7905         (JTextComponent): Likewise.
7906         (getAccessibleContext): Fixed javadoc.
7907         * javax/swing/text/View.java
7908         (View): Added javadoc.
7909         * javax/swing/text/TabableView.java: New file.
7910         * Makefile.am: Added javax/swing/text/TabableView.java.
7911         * Makefile.in: Regenerated.
7912
7913 2004-07-21  Graydon Hoare  <graydon@redhat.com>
7914
7915         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
7916         * gnu/java/awt/peer/gtk/GtkToolkit.java 
7917         (GtkErrorImage): New helper class.
7918         (bufferedImageOrError): New helper method.
7919         (createImage): Use it.
7920
7921 2004-07-21  David Jee  <djee@redhat.com>
7922
7923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7924         (setCaretPosition): Scroll the text view so the new caret position
7925         is visible on screen.
7926
7927 2004-07-21  David Jee  <djee@redhat.com>
7928
7929         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7930         (setBounds): Do not validate awtComponent here.
7931         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
7932         (getPreferredSize): New method.
7933         * java/awt/ScrollPane.java
7934         (ScrollPane): Set default size to 100x100.
7935         (addNotify): If child is not a Panel, wrap it with a new Panel.
7936         (paramString): Implement.
7937
7938 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7939
7940         * javax/swing/JMenu.java:
7941         (setSelected): Display popup menu only if this menu 
7942         is showing on the screen.
7943         * javax/swing/JPopupMenu.java:
7944         (processMouseEvent): Added comment.
7945         (processKeyEvent): Likewise.
7946         * javax/swing/MenuSelectionManager.java:
7947         (clearSelectedPath): Only fireStateChanged() after
7948         selected path was changed, not before.
7949         (setSelectedPath): Likewise.
7950         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7951         (paintMenuItem): Corrected position of menu item's
7952         icon.
7953         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7954         (installUI): Correct setDefaultLightWeightPopupEnabled call.
7955         (popupMenuCanceled): Reimplemented.
7956         (popupMenuWillBecomeVisible): Select first menu item by default 
7957         when displaying free floating popup menus.
7958         (TopWindowListener): Reimplemented.
7959
7960 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7961
7962         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
7963         Panel from being painted twice when it is first shown.
7964
7965 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7966
7967         * java/awt/Window.java: Reverted changes from my 
7968         previous patch for creating window without an owner.
7969         * javax/swing/SwingUtilities.java: 
7970         (SwingUtilities.OwnerFrame): made static.
7971         (OwnerFrame.setVisible): New method. Overridden with
7972         empty implementation.
7973         (OwnerFrame.isShowing): New method. Ovverridden
7974         to return always true.
7975
7976 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7977
7978         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7979         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7980         (GtkComponentPeer): Remove temporary try/catch block.
7981         (setVisible): Call show and hide.
7982         (show): Make native.
7983         (hide): Likewise.
7984         (getArgs): Don't add "visible" argument.
7985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7986         (property_notify_predicate): Return Bool instead of int.
7987         (find_layout): New function.
7988         (connectJObject): Call find_layout.
7989         (connectSignals): Likewise.
7990         (moveLayout): Likewise.
7991         (gtkLayoutSetVisible): Likewise.
7992
7993 2004-07-21  Mark Wielaard  <mark@klomp.org>
7994
7995         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
7996         on notifier object before calling notifyAll().
7997
7998 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
7999
8000         * java/awt/Window.java: Changed constructors to use new
8001         method that is described below. Constructors call this
8002         methods only if newly created window should have an owner.
8003         (setWindowOwner): New method. Implementation for
8004         this method is moved from this(owner,configuration).
8005         * javax/swing/JWindow.java:
8006         (JWindow): Reimplement to use SwingUtilities.ownerFrame
8007         instead of owner.
8008         * javax/swing/SwingUtilities.java:
8009         (ownerFrame): Change type of this field to OwnerFrame.
8010         (getOwnerFrame): Changed to return object of type OwnerFrame.
8011         (SwingUtilities.OwnerFrame): New class. Represents owner
8012         of a Window that is not provided with one.
8013
8014 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8015
8016         *  javax/swing/AbstractButton.java: 
8017         (configurePropertiesFromAction): Set action command
8018         to button's text by default if action command is not 
8019         explicitely specified.
8020         * javax/swing/JMenu.java: Remove unnecessary listener
8021         and methods relevant to it.
8022         (setSelected): Reimplemented.
8023         (menuSelectionChanged): Moved most part of implementation to
8024         setSelected() and call it instead.
8025         * javax/swing/JMenuItem.java: 
8026         (init): Comment out statement that sets paint_border to false.
8027         (configurePropertiesFromAction): Do not set accelerator
8028         for JMenu.
8029         (menuSelectionChanged): Change selected index in the selection
8030         model of menu item's parent.
8031         * javax/swing/JPopupMenu.java:
8032         (remove): Set constraints.fill field to GridBagConstraints.BOTH
8033         instead of GridBagConstraints.HORIZONTAL.
8034         (insert): Likewise.
8035         (createActionChangeListener): Implemented.
8036         (setVisible): Correct location of HeavyWeightMenu and 
8037         don't firePopupMenuCanceled().
8038         (menuSelectionChanged): Implemented.
8039         (ActionChangeListener): New Listener. Implemented.
8040         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8041         (BasicMenuBarUI.ContainerHandler): Implemented.
8042         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8043         (paintMenuItem): Uncommented out code that paints 
8044         icon, now that icons are working properly.
8045         (PropertyChangeListener): Implemented.
8046         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8047         Added javadocs.
8048         (topWindowListener): New field.
8049         (Constructor): initialize topWindowListener.
8050         (BasicPopupMenuUI.TopWindowListener): Implemented.      
8051         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8052         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8053         Implemented.
8054
8055 2004-07-21  Michael Koch  <konqueror@gmx.de>
8056
8057         * javax/swing/plaf/basic/BasicButtonUI.java
8058         (paintFocus): Fixed method signature.
8059         (paintButtonPressed): Likewise.
8060         (paintButtonNormal): Likewise.
8061         (paintText): New method.
8062         * javax/swing/plaf/basic/BasicLabelUI.java
8063         (paint): Re-indented.
8064         * javax/swing/plaf/basic/BasicTextUI.java
8065         (installUI): Set parent textComponent to opaque.
8066         * javax/swing/text/DefaultHighlighter.java
8067         (checkPositions): New helper method.
8068         (addHighlight): Throws BadLocationException, check positions.
8069         (changeHighlight): Likewise.
8070         * javax/swing/text/EditorKit.java
8071         (EditorKit): Implements Serializable.
8072         * javax/swing/text/JTextComponent.java
8073         (getUI): Added javadoc.
8074         (setUI): Likewise.
8075         (upadteUI): Added javadoc, don't revalidate and repaint.
8076
8077 2004-07-21  David Jee  <djee@redhat.com>
8078
8079         * java/awt/GridBagLayout.java
8080         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8081         * javax/swing/AbstractButton.java
8082         (setText): Reindent.
8083         * javax/swing/RepaintManager.java
8084         (addInvalidComponent): Find the first ancestor that isValidateRoot().
8085
8086 2004-07-21  Michael Koch  <konqueror@gmx.de>
8087
8088         * javax/swing/JFormattedTextField.java
8089         (value): New field.
8090         (JFormattedTextField): Implemented.
8091         (getValue): Likewise.
8092         (setValue): Likewise.
8093         * javax/swing/LookAndFeel.java
8094         (getSupportsWindowDecorations): New method.
8095         * javax/swing/UIDefaults.java:
8096         Use java.beans.PropertyChangeSupport instead of doing all ourself.
8097         (addPropertyChangeListener): Made public.
8098         (addResourceBundle): Likewise.
8099         (removeResourceBundle): Likewise.
8100         (setDefaultLocale): Likewise.
8101         * javax/swing/plaf/basic/BasicRootPaneUI.java
8102         (BasicRootPaneUI): Implements PropertyChangeListener.
8103         (propertyChange): New method.
8104         * javax/swing/plaf/basic/BasicTextUI.java
8105         (BasicHighlighter): New inner class.
8106         (createHighlighter): New method.
8107         * javax/swing/plaf/basic/BasicToolBarUI.java
8108         (DragWindow): Extends java.awt.Window.
8109         * javax/swing/text/JTextComponent.java
8110         (getDocument): Removed debug output.
8111         * javax/swing/plaf/basic/BasicTextFieldUI.java,
8112         javax/swing/text/DefaultHighlighter.java,
8113         javax/swing/text/FieldView.java,
8114         javax/swing/text/PlainView.java: New files.
8115         * Makefile.am: Added new files.
8116         * Makefile.in: Regenerated.
8117
8118 2004-07-21  Michael Koch  <konqueror@gmx.de>
8119
8120         * javax/swing/JEditorPane.java
8121         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8122         (createEditorKitForContentType): Likewise.
8123         * javax/swing/text/DefaultEditorKit.java
8124         (serialVersionUID): Added constant field.
8125         (EndOfLineStringPropery): Fixed typo.
8126         (DefaultEditorKit): New constructor.
8127         * javax/swing/text/Segment.java:
8128         Import java.text.CharacterIterator.
8129         * javax/swing/text/CharacterIterator.java,
8130         javax/swing/text/PlainEditorKit.java: Removed.
8131         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8132         javax/swing/text/PlainEditorKit.java.
8133         * Makefile.in: Regenerated.
8134
8135 2004-07-21  Michael Koch  <konqueror@gmx.de>
8136
8137         * javax/swing/JButton.java,
8138         javax/swing/text/DefaultEditorKit.java,
8139         javax/swing/text/EditorKit.java,
8140         javax/swing/text/Segment.java,
8141         javax/swing/text/StyledEditorKit.java:
8142         Reformatted.
8143
8144 2004-07-21  Michael Koch  <konqueror@gmx.de>
8145
8146         * javax/swing/ImageIcon.java
8147         (file): Removed.
8148         (description): Renamed from descr.
8149         (ImageIcon): Added missing constructors.
8150         (setParent): Removed.
8151         (setImageObserver): New method.
8152         (getImageObserver): New method.
8153         (paintIcon): Handle observer = null.
8154         * javax/swing/JButton.java
8155         (removeNotify): Fixed javadoc.
8156         (updateUI): Simplified.
8157         * javax/swing/JRootPane.java
8158         (serialVersionUID): New constant field.
8159         * javax/swing/UIManager.java:
8160         Fixed javadocs all over.
8161         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8162         * javax/swing/text/AbstractDocument.java
8163         (createPosition): Throws BadLocationException.
8164         (getText): Likewise.
8165         (remove): Likewise.
8166         * javax/swing/text/ComponentView.java
8167         (modelToView): Likewise.
8168         * javax/swing/text/DefaultEditorKit.java:
8169         Made all public methods public.
8170         (read): Throws BadLocationException and IOException.
8171         (write): Likewise.
8172         * javax/swing/text/EditorKit.java:
8173         Made all public methods public.
8174         (serialVersionUID): New constant field.
8175         (clone): New method.
8176         (read): Throws BadLocationException and IOException.
8177         (write): Likewise.
8178         * javax/swing/text/Segment.java
8179         (array): Made public.
8180         (count): Likewise.
8181         (offset): Likewise.
8182         (Segment): New constructors.
8183         (clone): Reimplemented.
8184         * javax/swing/text/StyledEditorKit.java
8185         (serialVersionUID): New constant field.
8186
8187 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8188
8189         * java/awt/image/BufferedImage.java 
8190         (getSource): Implement.
8191         * javax/swing/ImageIcon.java 
8192         (ImageIcon): Implement ctor.
8193         * javax/swing/ScrollPaneLayout.java 
8194         (preferredLayoutSize): Be more careful about nulls.
8195
8196 2004-07-21  Michael Koch  <konqueror@gmx.de>
8197
8198         * javax/swing/text/AttributeSet.java
8199         (CharacterAttribute): New interface
8200         (ColorAttribute): Likewise.
8201         (FontCharacterAttribute): Likewise.
8202         (ParagraphAttribute): Likewise.
8203         * javax/swing/text/DefaultCaret.java
8204         (moveCaret): New method.
8205         (positionCaret): Likewise.
8206         (repaint): Made protected.
8207         * javax/swing/text/JTextComponent.java
8208         (KeyBinding): Made it static.
8209         * javax/swing/text/View.java
8210         (getContainer): Honor parent == null.
8211
8212 2004-07-21  Michael Koch  <konqueror@gmx.de>
8213
8214         * javax/swing/text/AbstractDocument.java:
8215         Reformatted.
8216
8217 2004-07-21  Michael Koch  <konqueror@gmx.de>
8218
8219         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8220         Import javax.swing.UIManager explicitely.
8221         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8222         (ScrollingButton): Made it static.
8223
8224 2004-07-21  Michael Koch  <konqueror@gmx.de>
8225
8226         * javax/swing/UIDefaults.java
8227         (ActiveValue): Made public.
8228         (LazyValue): Likewise.
8229         * javax/swing/plaf/basic/BasicTextUI.java
8230         (RootView): Reintroduced.
8231         (view): Removed.
8232         (rootView): New field.
8233         (installUI): Create document if needed, initialize rootView.
8234         (uninstallUI): Hanle rootView.
8235         (paint): Likewise.
8236         (getRootView): Likewise.
8237         (setView): Likewise.
8238         * javax/swing/text/DefaultCaret.java:
8239         Renamed all "evt" variables to "event".
8240
8241 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8242
8243         * libgcj.spec.in: Add -l-java-util-logging.
8244
8245 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
8246
8247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8248         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8249         gtk-xft-dpi can no calculate the right value.
8250         (dpi_changed_cb): Mark *pspec as unsused.
8251
8252 2004-07-21  David Jee  <djee@redhat.com>
8253
8254         * java/awt/Component.java
8255         (move): Delegate to setBounds().
8256         (resize): Likewise.
8257         (reshape): Fix so it repaints parent and self only when necessary.
8258
8259 2004-07-21  David Jee  <djee@redhat.com>
8260
8261         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8262         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8263         (GtkComponentPeer): Revert previous patch from 2004-06-22.
8264         (setVisible): Likewise.
8265         (show): Likewise.
8266         (hide): Likewise.
8267         (getArgs): Likewise.
8268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8269         (property_notify_predicate): Likewise.
8270         (find_layout): Likewise.
8271         (connectJObject): Likewise.
8272         (connectSignals): Likewise.
8273         (moveLayout): Likewise.
8274         (gtkLayoutSetVisible): Likewise.
8275
8276 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8277
8278         * Makefile.am
8279         (jv_convert_LDADD):
8280         (gij_LDADD):
8281         (rmic_LDADD):
8282         (rmiregistry_LDADD): Add lib-java-util-logging.la
8283         * Makefile.in: Regenerate.
8284
8285 2004-07-21  Michael Koch  <konqueror@gmx.de>
8286
8287         * javax/swing/text/AbstractDocument.java
8288         (replace): Dont use protected method of java.util.Vector directly.
8289
8290 2004-07-21  Michael Koch  <konqueror@gmx.de>
8291
8292         * javax/swing/plaf/basic/BasicTextUI.java
8293         (installUI): Call specialized install methods.
8294         (installDefaults): New method.
8295         (installListeners): Likewise.
8296         (installKeyboardActions): Likewise.
8297         (uninstallUI): Likewise.
8298         (uninstallDefaults): New method.
8299         (uninstallListeners): Likewise.
8300         (uninstallKeyboardActions): Likewise.
8301         (getPropertyPrefix): New abstract method.
8302         (paint): Made final, just call paintSafely().
8303         (paintSavely): New method.
8304         (paintBackground): Likewise.
8305         (getVisibleEditorRect): Likewise.
8306         * javax/swing/text/LayeredHighlighter.java,
8307         javax/swing/text/TabExpander.java: New files.
8308         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8309         and javax/swing/text/TabExpander.java.
8310         * Makefile.in: Regenerated.
8311
8312 2004-07-21  Michael Koch  <konqueror@gmx.de>
8313
8314         * javax/swing/plaf/basic/BasicTextUI.java
8315         (BasicTextUI): Made abstract.
8316         (BasicCaret): New inner class.
8317         (view): Don't explicitely initialize with "null".
8318         (textComponent): New field.
8319         (textColor): Removed.
8320         (disabledTextColor): Removed.
8321         (normalBackgroundColor): Removed.
8322         (RootView): Removed commented out inner class.
8323         (createUI): Removed.
8324         (createCaret): New method.
8325         (getComponent): Likewise.
8326         (installUI): Initialize textComponent only.
8327         (getPreferredSize): Use installed JTextComponent.
8328         (setView): New method.
8329         (create): Likewise.
8330         * javax/swing/text/JTextComponent.java
8331         (highlighter): New field.
8332         (caretColor): Likewise.
8333         (disabledTextColor): Likewise.
8334         (seletedTextColor): Likewise.
8335         (selectionColor): Likewise.
8336         (setUI): New method.
8337         (getCaretColor): Likewise.
8338         (setCaretColor): Likewise.
8339         (getDisabledColor): Likewise.
8340         (setDisabledColor): Likewise.
8341         (getSelectedTextColor): Likewise.
8342         (setSelectedTextColor): Likewise.
8343         (getSelectionColor): Likewise.
8344         (setSelectionColor): Likewise.
8345         (getHighlighter): Likewise.
8346         (setHighlighter): Likewise.
8347         (replaceSelection): Likewise.
8348
8349 2004-07-21  Michael Koch  <konqueror@gmx.de>
8350
8351         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8352         (BasicScrollPaneUI): Implements ScrollPaneConstants.
8353         * javax/swing/plaf/basic/BasicToolBarUI.java
8354         (BasicToolBarUI): Implements SwingConstants.
8355
8356 2004-07-21  Michael Koch  <konqueror@gmx.de>
8357
8358         * javax/swing/JPopupMenu.java: Removed CVS tags.
8359         * javax/swing/UIDefaults.java: Reformatted.
8360         * javax/swing/plaf/basic/BasicRootPaneUI.java:
8361         Explicitely import used classes.
8362
8363 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8364
8365         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8366         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8367         (GtkComponentPeer): Remove temporary try/catch block.
8368         (setVisible): Call show and hide.
8369         (show): Make native.
8370         (hide): Likewise.
8371         (getArgs): Don't add "visible" argument.
8372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8373         (property_notify_predicate): Return Bool instead of int.
8374         (find_layout): New function.
8375         (connectJObject): Call find_layout.
8376         (connectSignals): Likewise.
8377         (moveLayout): Likewise.
8378         (gtkLayoutSetVisible): Likewise.
8379
8380 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8381
8382         * javax/swing/AbstractButton.java:
8383         (setDisplayedMnemonicIndex): Check if button
8384         text is not null before checking its length.
8385         * javax/swing/JMenuItem.java:
8386         (processMouseEvent): Disarm menu item if mouse has
8387         exited it.
8388         * javax/swing/plaf/basic/BasicMenuUI.java:
8389         (MouseInputHandler.mouseEntered): Do not raise
8390         popup menu if this menu is already selected.
8391         (MouseInputHandler.mousePressed): Do not fire 
8392         MenuEvents.
8393         (MenuHandler): Implemented.     
8394
8395 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8396
8397         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8398         (getSelectedObjects): Implemented.
8399         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8400         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
8401         Added javadoc for few methods.
8402         (processMouseEvent): Made public.
8403         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8404         (processMouseEvent): Likewise.
8405
8406 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8407
8408         * javax/swing/AbstractButton.java:
8409         (init): Set display mnemonic index to -1.
8410         (setMnemonic(char)): Use setMnemonic(int).
8411         (setMnemonic(int)): Set display mnemonic index.
8412         (getDisplayedMnemonicIndex): Change method signature
8413         by removing 'index' parameter.
8414         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8415         Added default for Menu.selectionBackground.     
8416         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8417         (paintMenuItem): Change background color of the selected
8418         menu item.
8419         (paintText): Paint differently when menu item is disabled.
8420         Also paint mnemonic if it appears in the menu item's label.
8421         (paintAccelerator): Paint accelerator differently
8422         if menu item is disabled.
8423         * javax/swing/plaf/basic/BasicMenuUI.java:
8424         (installDefaults): Install defaults for 
8425         selectionForeground and selectionBackground.
8426         (uninstallDefaults): Uninstall defauls for 
8427         selectionForeground and selectionBackground.
8428
8429 2004-07-21  Michael Koch  <konqueror@gmx.de>
8430
8431         * javax/swing/text/AbstractDocument.java
8432         (BranchElement): Implemented.
8433         (LeafElement): Implemented.
8434         * javax/swing/text/DefaultCaret.java:
8435         Import used classes.
8436         (serialVersionUID): New constant.
8437         * javax/swing/text/JTextComponent.java
8438         (AccessibleJTextComponent): Removed dead declaration.
8439         (caretPos): Removed.
8440         (setCaret): New method.
8441         * javax/swing/text/PlainDocument.java
8442         (rootElement): New field.
8443         (PlainDocument): Initialize rootElement.
8444         (createDefaultRoot): New method.
8445         (getDefaultRootElement): Implemented.
8446         * javax/swing/text/View.java: Reformatted.
8447         * javax/swing/text/ViewFactory.java
8448         (create): Added javadoc.
8449
8450 2004-07-21  Michael Koch  <konqueror@gmx.de>
8451
8452         * javax/swing/ToolTipManager.java: Reformatted.
8453
8454 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
8455
8456         * javax/swing/AbstractButton.java
8457         (changeEvent): New field.
8458         (fireItemStateChanged): Change source of the event
8459         to 'this' before firing it to button listeners.
8460         (fireActionPerformed): Likewise.
8461         (fireStateChanged): Likewise.
8462         (createActionListener): Do not set source 
8463         of the event to AbstractButton.                                  
8464         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8465         (ContainerHandler.componentAdded): Removed 
8466         print out statement.
8467         (ContainerHandler.componentRemoved): Likewise.
8468
8469 2004-07-21  Michael Koch  <konqueror@gmx.de>
8470
8471         * javax/swing/text/Highlighter.java: New file.
8472         * Makefile.am: Added javax/swing/text/Highlighter.java.
8473         * Makefile.in: Regenerated.
8474
8475 2004-07-21  Michael Koch  <konqueror@gmx.de>
8476
8477         * javax/swing/ToolTipManager.java
8478         (stillInsideTimerAction): Fixed constructor arguments.
8479         (outsideTimerAction): Likewise.
8480         (insideTimerAction): Likewise.
8481
8482 2004-07-21  Michael Koch  <konqueror@gmx.de>
8483
8484         * javax/swing/JButton.java: Reformatted.
8485         * javax/swing/JFormattedTextField.java
8486         (getUIClassID): Implemented.
8487         * javax/swing/JRootPane.java
8488         (serialVersionUID): New constant.
8489         * javax/swing/JTextField.java
8490         (align): New field.
8491         (JTextField): Simplified.
8492         (getUIClassID): New method.
8493         (getActionListeners): Added @since tag.
8494         (setColumns): Invalidate layout and repaint.
8495         (getHorizontalAlignment): New method.
8496         (setHorizontalAlignment): New method.
8497         (selectAll): Removed.
8498         * javax/swing/SwingUtilities.java
8499         (getAncestorOfClass): Removed redundant @see tag.
8500         (isLeftMouseButton): Fixed implementation.
8501         (isMiddleMouseButton): Likewise.
8502         (isRightMouseButton): Likewise.
8503         * javax/swing/text/AbstractDocument.java
8504         (AttributeContext.addAttribute): New method.
8505         (AttributeContext.addAttributes): New method.
8506         (AttributeContext.getEmptySet): New method.
8507         (AttributeContext.reclaim): New method.
8508         (AttributeContext.removeAttribute): New method.
8509         (AttributeContext.removeAttributes): New method.
8510         * javax/swing/text/Document.java
8511         (createPosition): Throws BadLocationException.
8512         (getText): Likewise.
8513         (remove): Likewise.
8514         * javax/swing/text/JTextComponent.java
8515         (getText): Return null if no document is set. Catch
8516         BadLocationException.
8517         (getUI): Return ui.
8518         (updateUI): Simplified.
8519
8520 2004-07-21  Michael Koch  <konqueror@gmx.de>
8521
8522         * javax/swing/JButton.java
8523         (removeNotify): Fixed javadoc.
8524         (updateUI): Simplified.
8525
8526 2004-07-21  David Jee  <djee@redhat.com>
8527
8528         * gnu/java/awt/image/ImageDecoder.java
8529         (startProduction): Only add consumer if it's not added yet.
8530         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8531         (GdkPixbufDecoder): Don't call initState() here.
8532         (produce): Call initState() here, to ensure area_prepared and
8533         area_updated signals are properly connected.
8534         * gnu/java/awt/peer/gtk/GtkImage.java
8535         (setColorModel): Use equals() to compare ColorModel objects.
8536         (setPixels): Likewise.
8537         * java/awt/image/ColorModel.java
8538         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8539         * java/awt/image/RGBImageFilter.java
8540         (setColorModel): Set consumer's color model.
8541         (setPixels): Use equals() to compare ColorModel objects.
8542
8543 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
8544
8545         * java/net/URLConnection.java (position): New field.
8546         (dateFormat1, dateFormat2, dateFormat3): Removed.
8547         (dateFormats): New field.
8548         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8549         each time instead of re-allocating.
8550         (initializeDateFormats): Initialize 'dateFormats'.
8551
8552 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8553
8554         PR libgcj/16591
8555         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8556         is defined.
8557
8558 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8559
8560         * java/net/Socket.java (getImpl): Now private. Remove comment.
8561
8562 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
8563
8564         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8565         of chained Writer when calling super-constructor.
8566         * java/io/FilterWriter.java (FilterWriter): Likewise.
8567         * java/io/PrintWriter.java (PrintWriter): Likewise.
8568
8569 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
8570
8571         * prims.cc (process_gcj_properties): Don't increment i within LHS
8572         of assignment.
8573
8574 2004-07-19  Per Bothner  <per@bothner.com>
8575
8576         Print -verbose:message on "loading", not initialization.
8577         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
8578         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
8579         gcj::verbose_class_flag.
8580         * java/lang/natClass.cc (initializeClass):  Don't print message here.
8581         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
8582         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8583         (_Jv_PrepareCompiledClass):  Likewise.
8584
8585 2004-07-18  Matthias Klose  <doko@debian.org>
8586
8587         * configure.in: Substitute target_noncanonical.
8588         * configure: Regenerate
8589
8590 2004-07-17  Michael Koch  <konqueror@gmx.de>
8591
8592         * java/lang/String.java: Fixed javadocs all over.
8593
8594 2004-07-17  Mark Wielaard  <mark@klomp.org>
8595
8596         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8597         when size is smaller.
8598         * java/io/RandomAccessFile.java (setLength): Use truncate for
8599         shrinking the file and seek plus write for expanding the file.
8600
8601 2004-07-17  Michael Koch  <konqueror@gmx.de>
8602
8603         * gnu/java/nio/channels/natFileChannelPosix.cc
8604         (implTruncate): Always save current position. Only reposition file
8605         pointer to where we started if not beyond new lenght. Reposition file
8606         pointer to file length if it points beyond the end of file.
8607
8608 2004-07-17  Mark Wielaard  <mark@klomp.org>
8609
8610         * javax/swing/Box.java: Put FIXME comment above class declaration.
8611         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8612         * javax/swing/JCheckBox.java: Likewise.
8613         * javax/swing/JDialog.java: Likewise.
8614         * javax/swing/JRadioButton.java: Likewise.
8615         * javax/swing/JToggleButton.java: Likewise.
8616         * javax/swing/UIManager.java: Likewise.
8617         * javax/swing/border/TitledBorder.java: Likewise.
8618         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8619         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8620         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8621         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8622         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8623         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8624         * javax/swing/text/JTextComponent.java: Likewise.
8625
8626 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
8627
8628         * java/net/DatagramPacket.java (setAddress): Removed check for
8629         null address.
8630
8631 2004-07-17  Michael Koch  <konqueror@gmx.de>
8632
8633         * java/net/DatagramSocket.java
8634         (getLocalAddress): Check if socket is bound or not.
8635         * java/net/Socket.java
8636         (getLocalAddrss): Check if socket is bound or not.
8637         (getPort): Return -1 when not connected. Dont check getImpl() for
8638         null.
8639         (setReuseAddress): Check if socket is closed.
8640         (isConnected): Check if getImpl() returns null.
8641
8642 2004-07-17  Mark Wielaard  <mark@klomp.org>
8643
8644         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8645         on notifier object before calling notifyAll().
8646
8647 2004-07-17  Michael Koch  <konqueror@gmx.de>
8648
8649         * gnu/java/nio/channels/FileChannelImpl.java
8650         (finalize): Added javadoc.
8651
8652 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
8653
8654         * java/text/CollationElementIterator.java
8655         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8656         (setText): Use ArrayList instead of Vector.
8657
8658 2004-07-17  Michael Koch  <konqueror@gmx.de>
8659
8660         * java/nio/ByteOrder.java
8661         (static): Removed. Not needed.
8662         Thanks to Patrick Reali for noticing.
8663         * java/nio/charset/CharsetDecoder.java
8664         (decode): Fix for classpath bug #9177: Reset state before flipping.
8665
8666 2004-07-17  Michael Koch  <konqueror@gmx.de>
8667
8668         * java/security/Security.java: Fixed javadocs all over.
8669
8670 2004-07-17  Michael Koch  <konqueror@gmx.de>
8671
8672         * gnu/java/awt/EmbeddedWindow.java
8673         (static): Removed.
8674         (addNotify): Set peer via reflection.
8675         (setWindowPeer): Removed.
8676         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8677         * Makefile.am (nat_source_files):
8678         Removed gnu/java/awt/natEmbeddedWindow.cc.
8679         * Makefile.in: Regenerated.
8680
8681 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
8682
8683         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8684         assignment.
8685         * configure: Regenerated.
8686
8687 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
8688
8689         * configure.in: Use build_noncanonical rather than build_alias.
8690         * configure: Rebuild.
8691
8692         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8693         by logic refactoring.  Move default definition of NATIVE closer
8694         to first alternate definition.
8695         * configure: Regenerate.
8696
8697         * Makefile.am: Set ZIP and GCJH directly using autoconf.
8698         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8699         gcj/Makefile.in: Regenerate.
8700         * configure.in: Set ZIP and GCJH.  Remove redundant condition
8701         in AM_CONDITIONAL(NATIVE,...)
8702         * configure: Regenerate.
8703
8704 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
8705
8706         * configure.in: Use target_noncanonical rather than
8707         target_alias for forward-compatibility with autoconf 2.59.
8708         * configure: Regenerate.
8709         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8710         testsuite/Makefile.am: Substitute target_noncanonical.
8711         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8712         testsuite/Makefile.in: Regenerate.
8713
8714         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8715         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8716         * acinclude.m4: Include acx.m4.
8717         * aclocal.m4: Regenerate.
8718         * configure: Regenerate.
8719
8720 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
8721
8722         PR libgcj/16574
8723         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8724         (decimalFormat): New static variable.
8725         (sbuf): Likewise.
8726         (getTime): New. Override Date.getTime().
8727         (toString): Synchronize. Use decimalFormat to format nanos value
8728         correctly. Truncate extra zeros.
8729         (before): Compare getNanos() only if getTime() is equal.
8730         (after): Likewise.
8731         
8732 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
8733
8734         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8735         * configure.in: ...here.
8736         * aclocal.m4: Regenerate.
8737         * configure: Regenerate.
8738
8739         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8740         * configure: Rebuilt with autoconf 2.13.
8741         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8742         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8743
8744 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
8745
8746         PR libgcj/16204
8747         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
8748         large file support.
8749         * Makefile.in: Rebuilt.
8750         * testsuite/libjava.lang/LargeFile.java: New test case.
8751         * testsuite/libjava.lang/LargeFile.out: New file.
8752
8753 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8754
8755         * java/beans/EventHandler.java: Remove debugging statements.
8756
8757 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
8758
8759         * java/beans/EventHandler.java: New file.
8760         * Makefile.am (awt_java_source_files): Add EventHandler.java.
8761         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8762         testsuite/Makefile.in: Regenerate.
8763
8764 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
8765
8766         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
8767         flag to the gcj_setup.
8768         (gcj_jacks_run): Check tclsh version and launch jacks directly with
8769         the tclsh.
8770         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
8771         deprecation flag change. 58 XFAILS removed.
8772
8773 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
8774
8775         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
8776         -fno-use-divide-subroutine.
8777         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
8778         (HANDLE_FPE): Define.
8779         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
8780         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8781         (HANDLE_DIVIDE_OVERFLOW): Define.
8782
8783 2004-07-14  Michael Koch  <konqueror@gmx.de> 
8784             Matthias Klose  <doko@debian.org> 
8785
8786         * java/awt/im/InputContext.java: Initialize in, line.
8787
8788 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
8789
8790         * interpret.cc (run): Correctly access libffi return values of
8791         integral smaller-than-int type; these are implicitly promoted.
8792
8793 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
8794
8795         PR libgcj/7587
8796         * interpret.cc (compile_mutex): New.
8797         (_Jv_InitInterpreter): New. Initialize compile_mutex.
8798         (run): Lock compile_mutex before calling compile() if compilation is
8799         required.
8800         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
8801         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
8802
8803 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
8804
8805         PR libgcj/15713
8806         * include/jvm.h (_Jv_value): New union type.
8807         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
8808         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
8809         union members.
8810
8811 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
8812
8813         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
8814         * gnu/awt/xlib/XOffScreenImage.java
8815           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
8816           constructor argument. Add constructor using ImageProducer.
8817           (getSource): Implement.
8818           (imageComplete): New method.
8819           (setColorModel): New method.
8820           (setDimensions): New method.
8821           (setHints): New method.
8822           (setPixels): New method.
8823           (setProperties): New method.
8824         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
8825         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
8826
8827 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
8828
8829         PR libgcj/16478 
8830         * prims.cc (_Jv_CreateJavaVM): Fix comment.
8831         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
8832         (finalizerReady): Now native.
8833         (run): Likewise.
8834         (runFinalizers): Removed.
8835         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
8836         a primitive lock, and don't hold it while running the finalizers.
8837         (runFinalizers): Implement. Don't aquire any Java lock.
8838         (finalizerReady): Use lock primitives to signal finalizer thread.
8839
8840 2004-07-11  Mark Wielaard  <mark@klomp.org>
8841
8842         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
8843         * java/net/URLStreamHandler.java (parseURL): When url file part
8844         doesn't contain a '/' just ignore context.
8845
8846 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
8847
8848         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
8849         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8850         (MAKE_THROW_FRAME): Do not modify PSW address.
8851         (INIT_SEGV): Install SIGINFO-style signal handler.
8852         (INIT_FPE): Likewise.
8853
8854 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8855
8856         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
8857         status. 21 xfail's removed, 1 added.
8858
8859 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
8860
8861         * gcj/javaprims.h: Regenerate CNI namespace definitions.
8862
8863 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8864
8865         * java/text/MessageFormat.java
8866         (formatInternal): Append "{n}" if argument n is unavailable.
8867         (format(Object, StringBuffer, FieldPosition)): This
8868         should be equivalent to format(Object[],
8869         StringBuffer, FieldPosition).
8870
8871 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8872
8873         * java.util.Calendar.java (cache): New private static field. Cached
8874         mappings of locales->calendar classes.
8875         (ctorArgTypes): New private static field. Singleton argument for
8876         calendar class constructor lookup.
8877         (getInstance): Cache Locale->Calendar class mappings using HashMap.
8878         Optimize by bypassing reflection instantiation for the 
8879         GregorianCalendar case.
8880
8881 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8882
8883         * java/util/Calendar.java: Use getSystemClassLoader as argument for
8884         ResourceBundle.getBundle() calls.
8885         * java/util/GregorianCalendar.java: Likewise.
8886         * java/util/Currency.java: Likewise.
8887         * java/text/BreakIterator.java: Likewise.
8888         * java/text/Collator.java: Likewise.
8889         * java/text/DateFormat.java: Likewise.
8890         * java/text/DateFormatSymbols.java: Likewise.
8891         * java/text/DecimalFormatSymbols.java: Likewise.
8892         * java/text/NumberFormat.java: Likewise.
8893         * java/awt/Window.java: Likewise.       
8894
8895 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8896
8897         * java/util/ResourceBundle.java (bundleCache): Renamed from
8898         resourceBundleCache. Update comments.
8899         (getObject): Don't catch MissingResourceException.
8900         (getBundle(String)): Remove 'final'. Use system classloader if
8901         getCallingClassLoader returned null.
8902         (getBundle(String, Locale)): Likewise.
8903         (BundleKey): New private class. HashMap key for bundle cache lookup.
8904         (lookupKey): New. Singleton instance of BundleKey.
8905         (nullEntry): New. Cache entry to represent failed lookups.
8906         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
8907         caching strategy, no-allocation lookup, and new tryBundle methods.
8908         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
8909         name using given classloader.
8910         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
8911         baseName for given Locale and attempt to load bundle.
8912
8913 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8914
8915         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
8916         illegal protected method calls.
8917
8918 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
8919
8920         Fix or remove some bogus test cases.
8921         * testsuite/libjava.compile/pr10459_2.java: Removed.
8922         * testsuite/libjava.compile/pr10459.java: Test using its own method,
8923         not Object.clone().
8924         * testsuite/libjava.compile/inner_data.java: Test against its own
8925         protected field.
8926
8927 2004-07-09  Michael Koch  <konqueror@gmx.de>
8928
8929         * scripts/unicode-muncher.pl: Updated to version 2.1
8930         from GNU classpath. Added some clarifications on where to find the
8931         needed files from www.unicode.org.
8932         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
8933         gnu/gcj/convert/UnicodeData-3.0.0.txt:
8934         Removed, these can directly be downloaded from www.unicode.org if
8935         needed. 
8936         * gnu/java/lang/CharData.java: Regenerated.
8937         * include/java-chartables.h: Regenerated.
8938         * Makefile.am (ordinary_java_source_files):
8939         Removed gnu/java/lang/CharData.java.
8940         * Makefile.in: Regenerated.
8941
8942 2004-07-09  Michael Koch  <konqueror@gmx.de>
8943
8944         * java/security/AccessControlContext.java,
8945         java/security/SecureClassLoader.java:
8946         Fixed javadocs.
8947
8948 2004-07-09  Michael Koch  <konqueror@gmx.de>
8949
8950         * java/io/ObjectInputStream.java (readFields): Use long datatype
8951         when shifting byte values more then 24 bits left.
8952
8953 2004-07-09  Michael Koch  <konqueror@gmx.de>
8954
8955         * java/util/zip/DeflaterOutputStream.java,
8956         java/util/zip/GZIPInputStream.java,
8957         java/util/zip/GZIPOutputStream.java,
8958         java/util/zip/InflaterInputStream.java:
8959         Reformatted. Added javadocs. Reordered all stuff.
8960         Renamed variables to be more clear.
8961
8962 2004-07-09  Michael Koch  <konqueror@gmx.de>
8963
8964         * javax/imageio/IIOException.java,
8965         javax/imageio/event/IIOReadProgressListener.java,
8966         javax/imageio/event/IIOReadUpdateListener.java,
8967         javax/imageio/event/IIOReadWarningListener.java,
8968         javax/imageio/event/IIOWriteProgressListener.java,
8969         javax/imageio/event/IIOWriteWarningListener.java:
8970         New files.
8971         * Makefile.am: Added new files.
8972         * Makefile.in: Regenerated.
8973
8974 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
8975
8976         * java/text/RuleBasedCollator.java
8977         (mergeRules): Use ArrayList instead of Vector.
8978         (subParseString): likewise.
8979         (parseString): likewise.
8980         (buildCollationVector): likewise.
8981         (getCollationKey): likewise.
8982
8983 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
8984
8985         * java/text/DateFormat.java (parse):
8986         Improved javadoc. Improved exception message.
8987
8988 2004-07-09  Mark Wielaard  <mark@klomp.org>
8989
8990         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
8991         interrupted() method to clear interupt flag of our Thread.
8992
8993 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
8994
8995         * java/nio/Buffer.java,
8996         java/nio/ByteBuffer.java,
8997         java/nio/ByteBufferHelper.java,
8998         java/nio/ByteBufferImpl.java,
8999         java/nio/CharBuffer.java,
9000         java/nio/CharBufferImpl.java,
9001         java/nio/CharViewBufferImpl.java,
9002         java/nio/DirectByteBufferImpl.java,
9003         java/nio/DoubleBuffer.java,
9004         java/nio/DoubleBufferImpl.java,
9005         java/nio/DoubleViewBufferImpl.java,
9006         java/nio/FloatBuffer.java,
9007         java/nio/FloatBufferImpl.java,
9008         java/nio/FloatViewBufferImpl.java,
9009         java/nio/IntBuffer.java,
9010         java/nio/IntBufferImpl.java,
9011         java/nio/IntViewBufferImpl.java,
9012         java/nio/LongBuffer.java,
9013         java/nio/LongBufferImpl.java,
9014         java/nio/LongViewBufferImpl.java,
9015         java/nio/MappedByteBufferImpl.java,
9016         java/nio/ShortBuffer.java,
9017         java/nio/ShortBufferImpl.java,
9018         java/nio/ShortViewBufferImpl.java:
9019         Fixed javadocs all over. Improved input error
9020         checking.
9021
9022         * java/nio/Buffer.java
9023         (checkForUnderflow, checkForOverflow, checkIndex,
9024         checkIfReadOnly, checkArraySize): New helper methods
9025         for error checking.
9026
9027         * java/nio/ByteBufferHelper.java
9028         (checkRemainingForRead, checkRemainingForWrite,
9029         checkAvailableForRead, checkAvailableForWrite): Removed
9030         no longer needed methods.
9031
9032 2004-07-09  Michael Koch  <konqueror@gmx.de>
9033
9034         * gnu/regexp/CharIndexedInputStream.java:
9035         Reordered imports to match classpath.
9036
9037 2004-07-09  Michael Koch  <konqueror@gmx.de>
9038
9039         * gnu/java/awt/EmbeddedWindow.java:
9040         Load native library for setWindowPeer method.
9041
9042 2004-07-08  Randolph Chung  <tausq@debian.org>
9043
9044         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9045         * configure: Regenerate.
9046         * configure.host: Set can_unwind_signal for hppa*-linux.
9047         * include/pa-signal.h: New file.
9048
9049 2004-07-07  Per Bothner  <per@bothner.com>
9050
9051         * Makefile.am:  Add rules to build libgij from just gij.cc.
9052
9053         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
9054         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
9055         (initializeClass):  If verbose_class_flag, print message.
9056         * gij.cc (main):  Handle -verbose:class flag.
9057
9058 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
9059
9060         * configure.host: Enable hash synchronization on Darwin.
9061         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9062         ';', since this is a comment on Darwin.
9063         (compare_and_swap_release): Likewise.
9064
9065 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
9066
9067         * java/net/URLStreamHandler.java (parseURL): Canonicalize
9068         file portion of URL in addition to spec for file: protocol.
9069
9070 2004-07-05  Anthony Green  <green@redhat.com>
9071
9072         * java/io/File.java (toURI): Merge from Classpath.
9073
9074 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9075
9076         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9077         before passing to URL constructor. Rethrow any MalformedURLException
9078         as a RuntimeException. Catch MalformedURLException specifically, not
9079         all exceptions.
9080
9081 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9082
9083         * java/util/Locale.java (readObject): Intern strings read from object
9084         stream.
9085
9086 2004-07-04  Michael Koch  <konqueror@gmx.de>
9087
9088         * gnu/gcj/runtime/FirstThread.java,
9089         gnu/gcj/runtime/natFirstThread.cc: Removed.
9090         * gnu/java/lang/MainThread.java,
9091         gnu/java/lang/natMainThread.cc: New files.
9092         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9093         * Makefile.am: Added new files and removed deleted ones.
9094         * Makefile.in: Regenerated.
9095
9096 2004-07-03  Mark Wielaard  <mark@klomp.org>
9097             Anthony Green  <green@redhat.com>
9098
9099         * java/net/URL.java (getFile): Clarify return value doc.
9100         (getPath): Return null if file is empty - not empty String.
9101         (set): Convert protocol to lower case before doing anything.
9102         Only change the protocol handler if it's different.
9103
9104 2004-07-03  Anthony Green  <green@redhat.com>
9105
9106         * java/net/URL.java (URL): Convert protocol to lower case before
9107         doing anything, so we getURLStreamHandler() with the proper value.
9108
9109 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
9110
9111         * java/util/Locale.java (hashcode): Made transient.
9112         (hashCode): No longer synchronized.
9113         (equals): Remove comment.
9114         (writeObject): No longer synchronized. Implement using writeObject 
9115         calls instead of tweaking hashCode field. Update doc.
9116         (readObject): Implement using readObject calls.
9117
9118 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
9119             Andreas Tobler  <a.tobler@schweiz.ch>
9120
9121         * configure.host (powerpc-*-darwin*): New case, define
9122         can_unwind_signal.
9123         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9124         * configure: Regenerate.
9125         * include/darwin-signal.h: New.
9126
9127 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
9128
9129         * java/beans/Statement.java (doExecute): Fix formatting.
9130
9131 2004-06-29  Per Bothner  <per@bothner.com>
9132
9133         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9134         etc etc):  Remove needless parenthesis, which causes __stdcall__
9135         attribute on MinGW to get ignored.
9136
9137 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
9138
9139         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9140
9141 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
9142
9143         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9144
9145 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
9146
9147         * java/beans/Expression.java: New file.
9148         * java/beans/Statement.java: New file.
9149         * Makefile.am: Added new files.
9150         * Makefile.in: Re-generate.
9151
9152 2004-06-27 Mark Wielaard  <mark@klomp.org>
9153
9154         * java/io/FilePermission.java (usingPerms): Removed.
9155         (actionsString): Made final.
9156         (cachePerms): Renamed to checkPerms.
9157         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9158         on action String.
9159         (FilePermission): Check arguments, call checkPerms().
9160         (equals): Remove cachePerms() call.
9161         (implies): Likewise.
9162
9163 2004-06-27  Mark Wielaard  <mark@klomp.org>
9164
9165         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9166         final field.
9167         (sendRequest): Use new field in user-agent http agent.
9168
9169 2004-06-27  Mark Wielaard  <mark@klomp.org>
9170
9171         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9172         when argument is null.
9173
9174 2004-06-26  Mark Wielaard  <mark@klomp.org>
9175
9176         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9177         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9178         GetMethodID call.
9179         (cancel_clicked): Likewise.
9180
9181 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
9182
9183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9184         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9185         can not calculate the right value.
9186         (dpi_changed_cb): Likewise. Mark *pspec as unused.
9187
9188 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
9189
9190         * testsuite/libjava.jacks/jacks.xfail: Remove
9191         15.9.1-qualified-concrete-20.
9192
9193 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9194
9195         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9196         encoding name to iconv.
9197         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9198
9199 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
9200
9201         PR libgcj/16134:
9202         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
9203         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9204         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9205
9206 2004-06-21  Andrew Haley  <aph@redhat.com>
9207
9208         * java/io/ObjectOutputStream.java: Add DEBUG statements
9209         everywhere.
9210         (dumpElementln): New method.
9211         (depth): New field.
9212         * java/io/ObjectInputStream.java
9213         (currentClassLoader): Make native.
9214         (callersClassLoader): New field.
9215         (depth): New field.
9216         (readObject): ENDBLOCKDATA is generated if the class has a write
9217         method, not if it has a read method.
9218         (readObject): Save and restore this.currentObject and
9219         this.currentObjectStreamClass around calls to callReadMethod().
9220         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9221         method.
9222
9223 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
9224
9225         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9226         darwin.
9227
9228 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9229
9230         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9231         if desired, before the default class loader is initialised.
9232         Call INIT_SEGV only if HANDLE_SEGV is defined.
9233
9234 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9235
9236         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9237         directory only if it actually exists.
9238
9239 2004-06-18  Graydon Hoare  <graydon@redhat.com>
9240
9241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9242         Fix up non-ansi comments.
9243
9244 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
9245
9246         * javax/swing/text/AbstractDocument.java: Adding missing import
9247         for javax.swing.event.EventListenerList.
9248         * javax/swing/text/DefaultCaret.java: Likewise.
9249
9250 2004-06-17  Michael Koch  <konqueror@gmx.de>
9251
9252         * javax/swing/JToolBar.java
9253         (name): Removed.
9254         (JToolBar): Use Component.setName(String) instead of doing it all
9255         alone.
9256         * javax/swing/Timer.java
9257         (queueEvent): Added missing modifier.
9258
9259 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
9260
9261         * Makefile.am: Added new file.
9262         * Makefile.in: Re-generate.
9263         * javax/swing/JMenu.java:
9264         (insertSeparator): Implemented.
9265         * javax/swing/JPopupMenu.java:
9266         (JPopupMenu.Separator): Implemented.
9267         * javax/swing/MenuSelectionManager.java:
9268         (processMouseEvent): Use java.awt.Component 
9269         for event source instead of javax.swing.JComponent. 
9270         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9271         New File. Implemented.
9272         
9273 2004-06-16  David Jee  <djee@redhat.com>
9274
9275         * java/awt/GridBagLayout.java
9276         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9277         Make sure pos_x and pos_y are never negative.
9278
9279 2004-04-16  Andrew Overholt  <overholt@redhat.com>
9280
9281         * Makefile.am: Add new file.
9282         * Makefile.in: Re-generate.     
9283         * javax/swing/JToolBar.java
9284         Partially implemented.
9285         * javax/swing/plaf/basic/BasicToolBarUI.java
9286         New file. Partially implemented.
9287
9288 2004-06-16  Graydon Hoare  <graydon@redhat.com>
9289
9290         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
9291         (setComposite): Accept AlphaComposite arguments.
9292         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9293         (createBufferedImage): Add new overloads.
9294         * gnu/java/awt/peer/gtk/GtkToolkit.java
9295         (createImage): Use GdkPixbufDecoder.createBufferedImage
9296         when useGraphics2D() is true.
9297         (getImage): Delegate to createImage.
9298         * javax/swing/JList.java
9299         (isSelectionEmpty):
9300         (getFirstVisibleIndex):
9301         (getLastVisibleIndex):
9302         (setSelectedValue):
9303         (ensureIndexIsVisible): New methods.
9304         * javax/swing/Timer.java: Reimplement.
9305
9306 2004-06-16  Michael Koch  <konqueror@gmx.de>
9307
9308         * javax/swing/text/AbstractDocument.java
9309         (AbstracElement): Made public, implements java.io.Serializable.
9310         (AttributeContext): Made public.
9311         (BranchElement): Likewise.
9312         (Content): Likewise.
9313         (DefaultDocumentEvent): Made public, extends
9314         javax.swing.undo.CompoundEdit.
9315         (ElementEdit): Made public, extends
9316         javax.swing.undo.AbstractUndoableEdit.
9317         (LeafElement): Made public.
9318         (LeafElement.LeafElement): Made public.
9319
9320 2004-06-16  Michael Koch  <konqueror@gmx.de>
9321
9322         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9323         methods (that were obviously never be intended to get included hi this
9324         class. Added some methods too.
9325
9326 2004-06-16  Michael Koch  <konqueror@gmx.de>
9327
9328         * javax/swing/text/PlainDocument.java
9329         (serialVersionUID): New constant.
9330         (lineLimitAttribute): Likewise.
9331         (tabSizeAttribute): Likewise.
9332         (tabSize): New field.
9333         (PlainDocument): Made public.
9334         (PlainDocument): New constructor.
9335
9336 2004-06-16  Michael Koch  <konqueror@gmx.de>
9337
9338         * javax/swing/text/AbstractDocument.java
9339         (insertString): Throws BadLocationException.
9340         * javax/swing/text/Document.java
9341         (insertString): Likewise.
9342         * javax/swing/text/JTextComponent.java:
9343         Javadocs and comments cleaned up.
9344
9345 2004-06-16  Michael Koch  <konqueror@gmx.de>
9346
9347         * javax/swing/event/UndoableEditListener.java: Reformatted.
9348         * javax/swing/text/AbstractDocument.java
9349         (AbstractDocument): Implements java.io.Serializable.
9350         (doc_list): Removed.
9351         (undo_list): Removed.
9352         (AbstractElement.serialVerionUID): New field.
9353         (BranchElement.serialVerionUID): Likewise.
9354         (DefaultDocumentEvent.serialVerionUID): Likewise.
9355         (ElementEdit.serialVerionUID): Likewise.
9356         (LeafElement.serialVerionUID): Likewise.
9357         (serialVerionUID): Likewise.
9358         (BAD_LOCATION): New constant.
9359         (BidiElementName): Likewise.
9360         (ContentElementName): Likewise.
9361         (ParagraphElementName): Likewise.
9362         (SectionElementName): Likewise.
9363         (ElementNameAttribute): Likewise.
9364         (AbstractDocument): Made protected.
9365         (AbstractDocument): New construtor.
9366         (listenerList): New field.
9367         (fireChangedUpdate): Implemented.
9368         (fireInsertUpdate): Likewise.
9369         (fireRemoveUpdate): Likewise.
9370         (fireUndoableEditUpdate): Likewise.
9371         (getListeners): Likewise.
9372         (addDocumentListener): Likewise.
9373         (removeDocumentListener): Likewise.
9374         (addUndoableEditListener): Likewise.
9375         (removeUndoableEditListener): Likewise.
9376         (getDocumentListeners): New method.
9377         (getUndoableEditListeners): Likewise.
9378         (getAsynchronousLoadPriority): Made public.
9379         (getBidiRootElement): Likewise.
9380         (setAsynchronousLoadPriority): Likewise.
9381         (setDocumentProperties): Likewise.
9382         * javax/swing/text/BadLocationException.java
9383         (serialVerionUID): New field.
9384         * javax/swing/text/DefaultCaret.java
9385         (changeEvent): New field.
9386         (listenerList): Likewise.
9387         (changes): Removed.
9388         (addChangeListener): Reimplemented.
9389         (removeChangeListener): Likewise.
9390         (getListeners): New method.
9391         (getChangeListeners): Likwise.
9392         (getComponent): Likewise.
9393         * javax/swing/text/GapContent.java
9394         (GapContent): Implements java.io.Serializable.
9395         (serialVerionUID): New field.
9396
9397 2004-06-16  Michael Koch  <konqueror@gmx.de>
9398
9399         * javax/swing/JTree.java
9400         (treeModel): New field.
9401         (JTree): New constructors, one existing one made public.
9402         (createTreeModel): New method.
9403         (addTreeExpansionListener): Likewise.
9404         (removeTreeExpansionListener): Likewise.
9405         (getTreeExpansionListeners): Likewise.
9406         (fireTreeCollapsed): Likewise.
9407         (fireTreeExpanded): Likewise.
9408         (addTreeSelectionListener): Likewise.
9409         (removeTreeSelectionListener): Likewise.
9410         (getTreeSelectionListeners): Likewise.
9411         (fireValueChanged): Likewise.
9412         (addTreeWillExpandListener): Likewise.
9413         (removeTreeWillExpandListener): Likewise.
9414         (getTreeWillExpandListeners): Likewise.
9415         (fireTreeWillCollapse): Likewise.
9416         (fireTreeWillExpand): Likewise.
9417
9418 2004-06-16  Michael Koch  <konqueror@gmx.de>
9419
9420         * javax/swing/JTree.java: Reformatted.
9421
9422 2004-06-16  Michael Koch  <konqueror@gmx.de>
9423
9424         * javax/swing/JTextArea.java: New file.
9425         * javax/swing/JTextField.java
9426         (actions): Removed.
9427         (notifyAction): New constant.
9428         (columns): New field.
9429         (JTextField): New constructors.
9430         (createDefaultModel): New method.
9431         (addActionListener): Reimplmemented.
9432         (removeActionListener): Reimplemented.
9433         (getActionListeners): New method.
9434         (fireActionPerformed): New method.
9435         (getColumns): New method.
9436         (setColumne): New method.
9437         * javax/swing/text/JTextComponent.java
9438         (AccessibleJTextComponent.serialVersionUID): New field.
9439         (serialVersionUID): Likewise.
9440         (DEFAULT_KEYMAP): Likewise.
9441         (FOCUS_ACCELERATOR_KEY): Likewise.
9442         (doc): Made private.
9443         (icon_gap): Likewise.
9444         (icon): Likewise.
9445         (align): Likewise.
9446         (JTextComponent): Some constructors removed.
9447         (getScrollableTracksViewportHeight): New method.
9448         (getScrollableTracksViewportWidth): Likewise.
9449         * Makefile.am: Added javax/swing/JTextArea.java.
9450         * Makefile.in: Regenerated.
9451
9452 2004-06-15  Graydon Hoare  <graydon@redhat.com>
9453
9454         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9455         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9456         * javax/swing/JViewport.java 
9457         (getExtentSize): Return size rather than preferred size.
9458         (toViewCoordinates): New methods.
9459         (getViewSize): Return size rather than preferred size.
9460         (setViewSize): Note view size as set.
9461         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9462         * javax/swing/plaf/basic/BasicScrollBarUI.java 
9463         (getPreferredSize): Don't redo layout.
9464         * javax/swing/plaf/basic/BasicViewportUI.java 
9465         (paint): Translate image properly and eat exceptions.
9466
9467 2004-06-15  Kim Ho  <kho@redhat.com>
9468
9469         * javax/swing/JTabbedPane.java
9470         (setComponent): Remove old component and
9471         add new component.
9472         (setSelectedIndex): Don't operate on the 
9473         components if they're null. Don't set index
9474         on the model if the index is the same.
9475         (insertTab): Don't add or hide the component
9476         if it's null. Repaint the container.
9477         * javax/swing/plaf/basic/BasicLookAndFeel.java
9478         Change colors for TabbedPane.
9479         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9480         (mousePressed): Re-layout and paint the component.
9481         (layoutContainer): Don't set location on the view.
9482         (ScrollingViewport::paint): Remove.
9483
9484 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9485
9486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9487         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9488
9489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9490         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9491         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
9492         critical region.
9493         (drawLine): Call gdk_flush before leaving GDK critical region.
9494         (fillRect): Likewise.
9495         (drawRect): Likewise.
9496         (copyArea): Likewise.
9497         (copyPixmap): Likewise.
9498         (clearRect): Likewise.
9499         (drawArc): Likewise.
9500         (drawPolyline): Likewise.
9501         (drawPolygon): Likewise.
9502         (fillPolygon): Likewise.
9503         (fillArc): Likewise.
9504         (drawOval): Likewise.
9505         (fillOval): Likewise.
9506
9507         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9508         style parameter.
9509         (GdkFontMetrics): Add style argument to initState call.
9510         (stringWidth(String,int,int,String)): Add style parameter.
9511         (stringWidth(String)): Add style argument to stringWidth call.
9512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9513         (initState): Set pango font style and weight based on AWT style
9514         parameter.  Pass default GTK language to
9515         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
9516         simply dividing by PANGO_SCALE.
9517         (stringWidth): Set pango font style and weight based on AWT style
9518         parameter.
9519
9520         * java/awt/Button.java (next_button_number): New field.
9521         (paramString): Change output.
9522         (generateName): New method.
9523         (getUniqueLong): New method.
9524
9525 2004-06-14  Kim Ho  <kho@redhat.com>
9526
9527         * javax/swing/JTabbedPane.java:
9528         (setComponentAt): Set the component, not
9529         the enabled status.
9530         * javax/swing/plaf/basic/BasicDesktopIconUI.java
9531         (actionPerformed): Let deiconize catch exception.
9532
9533 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9534
9535         * javax/swing/JPopupMenu.java:
9536         (setVisible): Corrected location of a 
9537         heavyweight popup menu.
9538
9539 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9540
9541         * javax/swing/MenuSelectionManager.java: 
9542         Ran through jalopy to fix formatting style.
9543
9544 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
9545         
9546         * javax/swing/JLayeredPane.java: 
9547         (remove): Revalidate and repaint layered pane after
9548         the component was removed.
9549         javax/swing/JMenu.java:
9550         (setVisible): Display popup menu at the user location,
9551         if one was set by the user.
9552         (setMenuLocation): Reimplemented. Fixed javadoc.
9553         * javax/swing/JMenuBar.java: Added javadoc.
9554         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9555         (MODEL_CHANGED_PROPERTY): New Property.
9556         (isSelected): Implemented.
9557         (setBorderPainted): Fire PropertyChangeEvent
9558         if paintBorder property changes.
9559         (setSelected): Implemented.
9560         (setSelectionModel): Implemented.
9561         * javax/swing/JPopupMenu.java: Added Javadoc
9562         (pack): Implemented.
9563         (setVisible): Reimplemented.
9564         (show): Fixed location.
9565         (JPopupMenu.LigthWeightPopup): Reimplemented to use
9566         Container instead of JPanel.
9567         * javax/swing/MenuSelectionManager.java: Added Javadocs.
9568         (clearSelectedPath): Reimplemented to clear selectedPath
9569         in reverse order.
9570         (processMouseEvent): Reimplemented.
9571         (setSelectedPath): Fire stateChange event indicating that
9572         selected menu path has changed.
9573         (getPath): Change to use ArrayList instead of Vector.
9574         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9575         (installUI): call installKeyboardActions().
9576         (uninstallUI): call uninstallKeyboardActions().
9577
9578 2004-06-13  Michael Koch  <konqueror@gmx.de>
9579
9580         * javax/swing/text/DefaultCaret.java,
9581         javax/swing/text/BadLocationException.java:
9582         Reformatted.
9583
9584 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
9585
9586         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9587         DEFAULT_COLS): New variables.
9588         (create): Don't allow 0 rows or 0 columns.  Instead, set the
9589         values to DEFAULT_ROWS or DEFAULT_COLS.
9590         (getMinimumSize): Likewise.
9591         (getPreferredSize): Likewise.
9592         (minimumSize): Likewise.
9593         (preferredSize): Likewise.
9594         (create): Set peer's editable state.
9595         * java/awt/TextArea.java (TextArea()): Set rows and columns to
9596         zero.  Update javadocs.
9597         (TextArea(String)): Likewise.
9598         (TextArea(int,int)): Fix javadocs.
9599         (TextArea(String,int,int,int)): Only throw exception if one of
9600         rows or columns is zero.  Fix javadocs.
9601
9602 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9603
9604         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9605         addition to Components.
9606
9607         * java/awt/MenuItem.java (dispatchEventImpl): If the event
9608         wasn't consumed by normal processing, send it to the parent
9609         menu.
9610
9611         * gnu/java/awt/peer/gtk/GtkImagePainter.java
9612         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9613         translation.
9614
9615 2004-06-11  David Jee  <djee@redhat.com>
9616
9617         * java/awt/MediaTracker.java
9618         (addImage(Image,int)): Call imageUpdate() to udpate image status.
9619         (addImage(Image,int,int,int)): Likewise.
9620
9621 2004-06-11  Michael Koch  <konqueror@gmx.de>
9622
9623         * javax/swing/text/AbstractDocument.java,
9624         javax/swing/text/Document.java,
9625         javax/swing/text/GapContent.java,
9626         javax/swing/text/JTextComponent.java,
9627         javax/swing/text/PlainDocument.java:
9628         Reformatted.
9629
9630 2004-06-11  Michael Koch  <konqueror@gmx.de>
9631
9632         * javax/swing/JRootPane.java
9633         (AccessibleJRootPane.serialVersionUID): New field.
9634         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9635         (AccessibleJRootPane.getAccessibleRole): New method.
9636         (RootLayout): Implements Serializable.
9637         (RootLayout.serialVersionUID): New field.
9638         (RootLayout.RootLayout): New constructor.
9639         (setJMenuBar): Made public.
9640         (getJMenuBar): Likewise.
9641         (JRootPane): Likewise.
9642         (createContentPane): Likewise.
9643         (createGlassPane): Likewise.
9644         (createLayeredPane): Likewise.
9645
9646 2004-06-11  Michael Koch  <konqueror@gmx.de>
9647
9648         * javax/swing/SwingUtilities.java
9649         (isLeftMouseButton): Fixed javadoc.
9650         (isMiddleMouseButton): Likewise.
9651         (isRightMouseButton): Likewise.
9652
9653 2004-06-11  Michael Koch  <konqueror@gmx.de>
9654
9655         * javax/swing/JScrollPane.java
9656         (serialVersionUID): New field.
9657         (columnHeader): Made protected.
9658         (rowHeader): Likewise.
9659         (lowerLeft): Likewise.
9660         (lowerRight): Likewise.
9661         (upperLeft): Likewise.
9662         (upperRight): Likewise.
9663         (horizontalScrollBar): Likewise.
9664         (horizontalScrollBarPolicy): Likewise.
9665         (verticalScrollBar): Likewise.
9666         (verticalScrollBarPolicy): Likewise.
9667         (viewport): Likewise.
9668
9669 2004-06-11  Michael Koch  <konqueror@gmx.de>
9670
9671         * javax/swing/LookAndFeel.java: Fixed javadocs.
9672
9673 2004-06-11  Michael Koch  <konqueror@gmx.de>
9674
9675         * javax/swing/JEditorPane.java: Fixed javadocs.
9676         (JEditorPane): Removed redundant call to to this().
9677         (fireHyperlinkUpdate): Implemented.
9678
9679 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9680
9681         * javax/swing/JMenu.java: Fixed file name 
9682         in the file comment.
9683
9684 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9685
9686         * javax/swing/JMenu.java: Added javadoc.
9687         (JMenu): Added MenuChangeListener to listen to 
9688         ChangeEvents occuring in menu's model. 
9689         (insert): Throw IllegalArgumentException if 
9690         index is less than 0
9691         (setSelected): Reimplement.
9692         (setPopupMenuVisible): Call menu's model isEnabled()
9693         (setDelay): Throw IllegalArgumentException if 
9694         given amount of delay is less than 0.
9695         (createActionComponent): Implemented.
9696         (createActionChangeListener): Implemented.
9697         (addSeparator): Implemented.
9698         (getItem): Throw IllegalArgumentException if index is 
9699         less than 0.
9700         (getItemCount): Implemented.
9701         (fireMenuSelected): Changed to use menuEvent.
9702         (fireMenuDeselected): Likewise.
9703         (fireMenuCanceled): Likewise.
9704         (setAccelerator): Changed to throw an error if this 
9705         method is used. 
9706         (doClick): Implemented.
9707         (JMenu.ActionChangedListener): New inner class to handle
9708         PropertyChangeEvents occuring in the actions associated with menu.
9709         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9710         (BasicMenuUI): Added PropertyChangeListener to the menu.
9711         (createChangeListener): Implemented.
9712         (createMenuDragMouseListener): Likewise.
9713         (createMenuKeyListener): Likewise.
9714         (createPropertyChangeListener): Likewise.
9715         (uninstallListeners): Likewise.
9716         (BasicMenuUI.MouseInputHandler): Reimplemented.
9717         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9718         (BasicMenuUI.ChangeHandler): Likewise.
9719         (BasicMenuUI.MenuDragMouseHandler): Likewise.
9720         (BasicMenuUI.MenuKeyHandler): Likewise.
9721
9722 2004-06-10  David Jee  <djee@redhat.com>
9723
9724         * java/awt/MediaTracker.java
9725         (imageUpdate): Only do notifyAll() if the image is complete.
9726
9727 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
9728
9729         * javax/swing/JApplet.java:
9730         (getJMenuBar): Made public.
9731         (setJMenuBar): Likewise.
9732         * javax/swing/JFrame.java:
9733         (getJMenuBar): Made public.
9734         (setJMenuBar): Likewise.
9735         * javax/swing/JWindow.java:
9736         (getJMenuBar): Removed.
9737         (setJMenuBar): Removed.
9738
9739 2004-06-10  Michael Koch  <konqueror@gmx.de>
9740
9741         * javax/swing/JEditorPane.java
9742         (createEditorKitForContentType): Fixed visibility.
9743         (fireHyperlinkUpdate): Likewise.
9744         (getContentType): Likewise.
9745         (getEditorKit): Likewise.
9746         (getEditorKitForContentType): Likewise.
9747         (getPage): Likewise.
9748         (read): Likewise.
9749         (registerEditorKitForContentTyoe): Likewise.
9750         (replaceSelection): Likewise.
9751         (setContentType): Likewise.
9752         (setEditorKit): Likewise.
9753         (setPage): Likewise.
9754
9755 2004-06-10  Michael Koch  <konqueror@gmx.de>
9756
9757         * javax/swing/Timer.java
9758         (Timer): New constructor.
9759         * javax/swing/plaf/basic/BasicProgressBarUI.java
9760         (animationTimer): Don't initialize at construction.
9761         (startAnimationTimer): Added since tag.
9762         (stopAnimationTimer): Likewise.
9763         (installUI): Use new Timer constructor.
9764         * javax/swing/plaf/basic/BasicScrollBarUI.java
9765         (installUI): Likewise.
9766         * javax/swing/plaf/basic/BasicSliderUI.java
9767         (installUI): Likewise.
9768
9769 2004-06-10  Michael Koch  <konqueror@gmx.de>
9770
9771         * javax/swing/ButtonGroup.java
9772         (serialVersionUID): Made private.
9773         (buttons): Renamed from v, added javadoc.
9774         (sel): Added javadoc.
9775         (ButtonGroup): Likewise.
9776         (add): Likewise.
9777         (remove): Likewise.
9778         (getElements): Likewise.
9779         (getSelection): Likewise.
9780         (setSelected): Likewise.
9781         (isSelected): Likewise.
9782         (getButtonCount): Likewise.
9783
9784 2004-06-10  Michael Koch  <konqueror@gmx.de>
9785
9786         * javax/swing/ButtonGroup.java,
9787         javax/swing/ImageIcon.java,
9788         javax/swing/JEditorPane.java,
9789         javax/swing/JRootPane.java,
9790         javax/swing/JTextField.java,
9791         javax/swing/LookAndFeel.java,
9792         javax/swing/plaf/basic/BasicTextUI.java:
9793         Reindented.
9794
9795 2004-06-10  Michael Koch  <konqueror@gmx.de>
9796
9797         * javax/swing/text/Style.java: Added javadocs.
9798
9799 2004-06-10  Michael Koch  <konqueror@gmx.de>
9800
9801         * javax/swing/JComponent.java
9802         (fireVetoableChange): Removed redundant cast.
9803         * javax/swing/JLabel.java
9804         (getDisabledIcon): Save icon for next call.
9805
9806 2004-06-10  Michael Koch  <konqueror@gmx.de>
9807
9808         * javax/swing/KeyStroke.java
9809         (getKeyStroke(char,boolean)): Marked deprecated.
9810
9811 2004-06-10  Michael Koch  <konqueror@gmx.de>
9812
9813         * javax/swing/DefaultCellEditor.java,
9814         javax/swing/GrayFilter.java,
9815         javax/swing/event/DocumentEvent.java,
9816         javax/swing/text/JTextComponent.java,
9817         javax/swing/text/MutableAttributeSet.java:
9818         Reindented.
9819
9820 2004-06-10  Michael Koch  <konqueror@gmx.de>
9821
9822         * javax/swing/plaf/BorderUIResource.java:
9823         Added serialVersionUID all over.
9824
9825 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
9826
9827         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9828
9829 2004-06-10  Michael Koch  <konqueror@gmx.de>
9830
9831         * javax/swing/table/DefaultTableCellRenderer.java
9832         (noFocusBorder): Initialize directly.
9833
9834 2004-06-10  Michael Koch  <konqueror@gmx.de>
9835
9836         * javax/swing/plaf/basic/BasicArrowButton.java
9837         (setDirection): Use method argument.
9838
9839 2004-06-10  Michael Koch  <konqueror@gmx.de>
9840
9841         * javax/swing/plaf/BorderUIResource.java,
9842         javax/swing/plaf/ComponentUI.java,
9843         javax/swing/undo/CompoundEdit.java,
9844         javax/swing/undo/StateEdit.java:
9845         Fixed javadocs all over.
9846
9847 2004-06-10  Michael Koch  <konqueror@gmx.de>
9848
9849         * javax/swing/DefaultButtonModel.java
9850         (ARMED): Made public final, fixed value.
9851         (ENABLED): Likewise.
9852         (PRESSED): Likewise.
9853         (ROLLOVER): Likewise.
9854         (SELECTED): Likewise.
9855         (stateMask): Initialize directly.
9856         (listenerList): Likewise.
9857         (mnemonic): Likewise.
9858         (fireStateChanged): Removed argument, use changeEvent as event.
9859         All places where this method is called are fixed too.
9860         (getActionCommant): Fixed javadoc.
9861         (setGroup): Fixed javadoc.
9862         (getGroup): New method.
9863
9864 2004-06-09  Olga Rodimina <rodimina@redhat.com>
9865
9866         * javax/swing/AbstractButton.java
9867         (AbstractButton): Use init() to initialize the button.
9868         (init): New Method. Initializes AbstractButton.
9869         * javax/swing/JMenuItem.java: Documented.
9870         (JMenuItem): Reimplemented.
9871         (init): Implemented.
9872         (setEnabled): Changed to call super.setEnabled()
9873         (processMouseEvent): Reimplemented.
9874         (fireMenuKeyPressed): Implemented.
9875         (fireMenuKeyReleased): Implemented.
9876         (fireMenuKeyTyped): Implemented.
9877         (menuSelectionChanged): disarm the model if the menu item was
9878         deselected.
9879         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
9880         (getPath): Change to use ArrayList instead of Vector.
9881         (getPreferredSize): Renamed variable.
9882         (paintMenuItem): Paint margin area of menu item.
9883         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
9884         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
9885         menu item's bounds before clearing the selection.       
9886
9887 2004-06-09  David Jee  <djee@redhat.com>
9888
9889         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
9890         (GtkTextComponentPeer): Set caret position to 0.
9891         * java/awt/TextComponent.java
9892         (setText): Set caret position to 0.
9893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9894         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9895         Handle GtkScrolledWindow separately. Fix signal handler blocking.
9896         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9897         Likewise.
9898         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9899         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
9900         visible.
9901
9902 2004-06-09  Kim Ho  <kho@redhat.com>
9903
9904         * Makefile.am: New files
9905         * Makefile.in: Regenerated
9906         * java/awt/Container.java
9907         (getComponentAt): Removed.
9908         * javax/swing/AbstractAction.java
9909         (ENABLED_PROPERTY): New property.
9910         (putValue): Fire PropertyChangeEvents.
9911         (setEnabled): ditto.
9912         (firePropertyChange): Javadoc and implement
9913         convenience method.
9914         * javax/swing/AbstractButton.java
9915         (setAction): Don't create PropertyChangeListener
9916         if new Action is null.
9917         (setIcon): Don't set icon till after comparing
9918         it.
9919         (configurePropertiesFromAction): Check mnemonic
9920         key before calling intValue().
9921         (createActionPropertyChangeListener): Check
9922         properties rather than bulk change.
9923         * javax/swing/DefaultDesktopManager.java:
9924         Implement.
9925         * javax/swing/DesktopManager.java:
9926         Jalopy and javadoc.
9927         * javax/swing/JComponent.java
9928         (fireVetoableChange): Implement.
9929         (paintImmediately): Use root component.
9930         * javax/swing/JDesktopPane.java: Implement
9931         * javax/swing/JInternalFrame.java: Implement
9932         * javax/swing/JLabel.java
9933         (getDisabledIcon): Return grayscaled icon if
9934         no disabled icon specified.
9935         * javax/swing/JMenuBar.java
9936         (getComponentAtIndex): Use getComponent
9937         * javax/swing/JOptionPane.java
9938         (getDesktopPaneForComponent): Use SwingUtilities'
9939         getAncestorOfClass
9940         (getFrameForComponent): ditto.
9941         * javax/swing/JSplitPane.java
9942         (remove): Use getComponent.
9943         * javax/swing/SwingUtilities.java
9944         (convertPoint): Implement.
9945         * javax/swing/plaf/basic/BasicButtonUI.java
9946         (paintButtonNormal): Check opaqueness before
9947         filling background.
9948         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
9949         Implement
9950         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
9951         Implement.
9952         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
9953         Implement.
9954         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
9955         Implement.
9956         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9957         Change InternalFrame and Desktop colors.
9958
9959 2004-06-09  David Jee  <djee@redhat.com>
9960
9961         * java/awt/Container.java
9962         (remove): Do not set component to invisible.
9963
9964 2004-06-09  Michael Koch  <konqueror@gmx.de>
9965
9966         * javax/swing/tree/DefaultMutableTreeNode.java
9967         (getLeafCount): Renamed enum to e.
9968
9969 2004-06-09  Michael Koch  <konqueror@gmx.de>
9970
9971         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9972         (positionForMouseEvent): Removed redundant semicolon.
9973         (continueDrag): Use method arguments.
9974
9975 2004-06-09  Michael Koch  <konqueror@gmx.de>
9976
9977         * javax/swing/border/TitledBorder.java,
9978         javax/swing/filechooser/FileSystemView.java,
9979         javax/swing/plaf/basic/BasicButtonListener.java,
9980         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9981         javax/swing/plaf/basic/BasicLabelUI.java,
9982         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
9983         javax/swing/plaf/basic/BasicScrollBarUI.java,
9984         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9985         javax/swing/plaf/basic/BasicSliderUI.java,
9986         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9987         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9988         javax/swing/table/JTableHeader.java,
9989         javax/swing/text/AbstractDocument.java,
9990         javax/swing/text/DefaultCaret.java,
9991         javax/swing/text/StyledEditorKit.java,
9992         javax/swing/tree/DefaultTreeCellEditor.java:
9993         Reworked import statements.
9994
9995 2004-06-08  Graydon Hoare  <graydon@redhat.com>
9996
9997         * javax/swing/Box.java: Temporarily comment out code
9998         broken due to visibility bug.
9999
10000 2004-06-09  Michael Koch  <konqueror@gmx.de>
10001
10002         * javax/swing/ImageIcon.java
10003         (ImageIcon): Added missing constructor.
10004
10005 2004-06-08  Michael Koch  <konqueror@gmx.de>
10006
10007         * javax/swing/JToggleButton.java
10008         (JToggleButton): New constructor.
10009         (getAccessibleContext): Moved documentation into javadoc.
10010         (getUIClassID): Likewise.
10011
10012 2004-06-08  Michael Koch  <konqueror@gmx.de>
10013
10014         * javax/swing/AbstractButton.java
10015         (getDisabledIcon): Create disabled icon if none exists yet.
10016
10017 2004-06-08  Michael Koch  <konqueror@gmx.de>
10018
10019         * javax/swing/plaf/basic/BasicLookAndFeel.java
10020         (initClassDefaults): Added FormattedTextFieldUI.
10021         (loadResourceBundle): Renamed enum to e.
10022
10023 2004-06-08  Michael Koch  <konqueror@gmx.de>
10024
10025         * javax/swing/plaf/basic/BasicButtonUI.java
10026         (paintIcon): Simplified.
10027         (paintText): Paint disabled button correctly.
10028
10029 2004-06-08  Michael Koch  <konqueror@gmx.de>
10030
10031         * javax/swing/JComponent.java
10032         (createToolTip): Use official JToolTip API.
10033
10034 2004-06-08  Michael Koch  <konqueror@gmx.de>
10035
10036         * javax/swing/JToolTip.java
10037         (JToolTip): No arguments in API.
10038         (setTipText): New method.
10039
10040 2004-06-08  Michael Koch  <konqueror@gmx.de>
10041
10042         * javax/swing/SwingUtilities.java
10043         (isLeftMouseButton): New method.
10044         (isMiddleMouseButton): New method.
10045         (isRightMouseButton): New method.
10046
10047 2004-06-08  Michael Koch  <konqueror@gmx.de>
10048
10049         * javax/swing/AbstractButton.java,
10050         javax/swing/CellRendererPane.java,
10051         javax/swing/JCheckBoxMenuItem.java,
10052         javax/swing/JColorChooser.java,
10053         javax/swing/JComboBox.java,
10054         javax/swing/JComponent.java,
10055         javax/swing/JDesktopPane.java,
10056         javax/swing/JFileChooser.java,
10057         javax/swing/JMenu.java,
10058         javax/swing/JMenuItem.java,
10059         javax/swing/JOptionPane.java,
10060         javax/swing/JPasswordField.java,
10061         javax/swing/JPopupMenu.java,
10062         javax/swing/JProgressBar.java,
10063         javax/swing/JRadioButtonMenuItem.java,
10064         javax/swing/JScrollBar.java,
10065         javax/swing/JSeparator.java,
10066         javax/swing/JSlider.java,
10067         javax/swing/JSplitPane.java,
10068         javax/swing/JTabbedPane.java,
10069         javax/swing/JTextField.java,
10070         javax/swing/JToolBar.java,
10071         javax/swing/text/JTextComponent.java:
10072         Fixed all constructors of accessibility classes.
10073
10074 2004-06-08  Michael Koch  <konqueror@gmx.de>
10075
10076         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10077         over.
10078
10079 2004-06-08  Michael Koch  <konqueror@gmx.de>
10080
10081         * javax/swing/Box.java
10082         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10083         (AccessibleBoxFiller.serialVersionUID): New member variable.
10084         * javax/swing/DefaultButtonModel.java
10085         (stateMask): Made protected.
10086         (listenerList): Likewise.
10087         (changeEvent): Likewise.
10088         (group): Likewise.
10089         (mnemonic): Likewise.
10090         (actionCommand): Likewise.
10091         (getListeners): New method.
10092         (getActionListeners): New method.
10093         (getItemListeners): New method.
10094         (getChangeListeners): New method.
10095         (fireItemStateChanged): Simplified.
10096         (fireActionPerformed): Simplified.
10097         (fireStateChanged): Simplified.
10098         * javax/swing/JFrame.java
10099         (JFrame): Implements WindowContants.
10100         (HIDE_ON_CLOSE): Removed.
10101         (EXIT_ON_CLOSE): Removed.
10102         (DISPOSE_ON_CLOSE): Removed.
10103         (DO_NOTHING_ON_CLOSE): Removed.
10104         (processWindowEvent): Exit with code 0.
10105         (setDefaultCloseOperation): Do security check before setting value.
10106         * javax/swing/JOptionPane.java
10107         (message): Initialize only in constructor.
10108         * javax/swing/JToolTip.java: Removed unused imports.
10109         * javax/swing/JViewport.java
10110         (serialVersionUID): New member variable.
10111         (SIMPLE_SCROLL_MODE): Made final, fixed value.
10112         (BLIT_SCROLL_MODE): Likewise.
10113         (BACKINGSTORE_SCROLL_MODE): Likewise.
10114         (scrollUnderway): Made protected.
10115         (isViewSizeSet): Likewise.
10116         * javax/swing/ListModel.java: Fixed javadoc.
10117         * javax/swing/Popup.java: Likewise.
10118         * javax/swing/RepaintManager.java
10119         (paintDirtyRegions): Don't use internal classes of
10120         java.util.AbstractMap.
10121         * javax/swing/ScrollPaneConstants.java: Reindented.
10122         * javax/swing/ScrollPaneLayout.java
10123         (viewport): Made protected.
10124         (verticalScrollBar): Made protected, renamed to vsb.
10125         (horizontalScrollBar): Made protected, renamed to hsb.
10126         (rowHeader): Made protected, renamed to rowHead.
10127         (columnHeader): Made protected, renamed to colHead.
10128         (lowerLeft): Made protected.
10129         (lowerRight): Made protected.
10130         (upperLeft): Made protected.
10131         (upperRight): Made protected.
10132         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10133         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10134
10135 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
10136
10137         * java/awt/MediaTracker.java (imageUpdate): Only set status to
10138         LOADING if flags has SOMEBITS set.
10139
10140 2004-06-07  Michael Koch  <konqueror@gmx.de>
10141
10142         * javax/swing/AbstractButton.java: Reorganized imports.
10143         * javax/swing/ActionMap.java: Likewise.
10144         * javax/swing/DefaultButtonModel.java: Likewise.
10145         * javax/swing/DefaultListModel.java: Likewise.
10146         * javax/swing/ImageIcon.java: Likewise.
10147         (serialVersionUID): New member variable.
10148         * javax/swing/JComboBox.java: Reorganized imports.
10149         * javax/swing/JComponent.java: Likewise.
10150         (ui): Made protected.
10151         (listenerList): Made protected.
10152         (TOOL_TIP_TEXT_KEY): New constant.
10153         (scrollRectToVisible): Removed redundant null check.
10154         * javax/swing/JFrame.java: Reorganized imports.
10155         * javax/swing/JInternalFrame.java: Reorganized imports.
10156         * javax/swing/JProgressBar.java: Likewise.
10157         * javax/swing/JRootPane.java: Likewise.
10158         * javax/swing/JScrollBar.java: Likewise.
10159         * javax/swing/JSeparator.java: Likewise.
10160         * javax/swing/JSlider.java: Likewise.
10161         * javax/swing/JTabbedPane.java: Likewise.
10162         * javax/swing/JTextField.java: Likewise.
10163         * javax/swing/JToolBar.java: Likewise.
10164         * javax/swing/JTree.java: Likewise.
10165         * javax/swing/JViewport.java: Likewise.
10166         * javax/swing/JWindow.java: Likewise.
10167         * javax/swing/KeyStroke.java: Likewise.
10168         * javax/swing/LookAndFeel.java: Likewise.
10169         * javax/swing/MenuSelectionManager.java: Likewise.
10170         * javax/swing/SwingUtilities.java: Likewise.
10171         * javax/swing/Timer.java: Likewise.
10172         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10173         * javax/swing/JList.java
10174         (HORIZONTAL_WRAP): Made final, fixed value.
10175         (VERTICAL): Likewise.
10176         (VERTICAL_WRAP): Likewise.
10177
10178 2004-06-07  Michael Koch  <konqueror@gmx.de>
10179
10180         * javax/swing/AbstractButton.java
10181         (serialVersionUID): New member variable.
10182         (AccessibleAbstractButton.serialVersionUID): Likewise.
10183         (AbstractButton): Made public.
10184         * javax/swing/Box.java
10185         (AccessibleBox.serialVersionUID): New member variable.
10186         (Filler.serialVersionUID): Likewise.
10187         * javax/swing/DefaultListSelectionModel.java
10188         (serialVersionUID): Likewise.
10189         * javax/swing/JApplet.java
10190         (serialVersionUID): Likewise.
10191         * javax/swing/JCheckBox.java
10192         (serialVersionUID): Likewise.
10193         * javax/swing/JCheckBoxMenuItem.java
10194         (serialVersionUID): Likewise.
10195         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10196         * javax/swing/JColorChooser.java
10197         (serialVersionUID): Likewise.
10198         (AccessibleJColorChooser.serialVersionUID): Likewise.
10199         * javax/swing/JComponent.java
10200         (serialVersionUID): Made private.
10201         (AccessibleJComponent.serialVersionUID): New member variable.
10202         * javax/swing/JDesktopPane.java
10203         (serialVersionUID): Likewise.
10204         * javax/swing/JDialog.java
10205         (serialVersionUID): Likewise.
10206         * javax/swing/JFormattedTextField.java
10207         (serialVersionUID): Fixed value.
10208         * javax/swing/JFrame.java
10209         (serialVersionUID): New member variable.
10210         (getDefaultCloseOpertation): Made public.
10211         * javax/swing/JLayeredPane.java
10212         (serialVersionUID): Likewise.
10213         (LAYER_PROPERTY): Made final, fixed value.
10214         (JLayeredPane): Made public.
10215         * javax/swing/JMenu.java
10216         (AccessibleJMenu.serialVersionUID): New member variable.
10217         (WinListener.serialVersionUID): Likewise.
10218         * javax/swing/JMenuBar.java
10219         (serialVersionUID): Likewise.
10220         (getComponentAtIndex): Added @deprecated tag.
10221         * javax/swing/JMenuItem.java
10222         (serialVersionUID): New member variable.
10223         (AccessibleJMenuItem.serialVersionUID): Likewise.
10224         * javax/swing/JOptionPane.java
10225         (serialVersionUID): Likewise.
10226         (AccessibleJOptionPane.serialVersionUID): Likewise.
10227         * javax/swing/JPopupMenu.java
10228         (serialVersionUID): Likewise.
10229         (AccessibleJPopupMenu.serialVersionUID): Likewise.
10230         (getPopupMenuListeners): New method.
10231         (getComponentAtIndex): Added @deprecated tag.
10232         * javax/swing/JProgressBar.java
10233         (serialVersionUID): New member variable.
10234         (AccessibleJProgressBar.serialVersionUID): Likewise.
10235         * javax/swing/JRadioButton.java
10236         (serialVersionUID): Likewise.
10237         * javax/swing/JRadioButtonMenuItem.java
10238         (serialVersionUID): Likewise.
10239         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10240         * javax/swing/JScrollBar.java
10241         (serialVersionUID): Likewise.
10242         (AccessibleJScrollBar.serialVersionUID): Likewise.
10243         * javax/swing/JSeparator.java
10244         (serialVersionUID): Likewise.
10245         (AccessibleJSeparator.serialVersionUID): Likewise.
10246         * javax/swing/JSlider.java: Fixed javadocs.
10247         (AccessibleJSlider.serialVersionUID): New member variable.
10248         * javax/swing/JSplitPane.java: Added copyright statement.
10249         (serialVersionUID): New member variable.
10250         (AccessibleJSplitPane.serialVersionUID): Likewise.
10251         * javax/swing/JTabbedPane.java
10252         (serialVersionUID): Likewise.
10253         (AccessibleJTabbedPane.serialVersionUID): Likewise.
10254         (ModelListener.serialVersionUID): Likewise.
10255         (ModelListener.ModelListener): New constructor.
10256         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10257         (WRAP_TAB_LAYOUT): Likewise.
10258         * javax/swing/JTable.java
10259         (serialVersionUID): New member variable.
10260         * javax/swing/JToggleButton.java
10261         (serialVersionUID): Likewise.
10262         (ToggleButtonModel): Made static.
10263         (ToggleButtonModel.serialVersionUID): New member variable.
10264         * javax/swing/JToolTip.java
10265         (serialVersionUID): Likewise.
10266         * javax/swing/JTree.java
10267         (serialVersionUID): Likewise.
10268         * javax/swing/JWindow.java
10269         (serialVersionUID): Likewise.
10270         * javax/swing/Timer.java
10271         (serialVersionUID): Likewise.
10272
10273 2004-06-06  Michael Koch  <konqueror@gmx.de>
10274
10275         * javax/swing/SwingConstants.java
10276         (NEXT): New constant.
10277         (PREVIOUS): Likewise.
10278         * javax/swing/UIManager.java
10279         (LookAndFeel): Made public.
10280         (LookAndFeel.getClassName): Likewise.
10281         (LookAndFeel.getName): Likewise.
10282
10283 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10284
10285         * javax/swing/JCheckBoxMenuItem.java:
10286         Removed CVS tags.
10287         * javax/swing/JMenu.java: Likewise.
10288         * javax/swing/JMenuBar.java: Likewise.
10289         * javax/swing/JMenuItem.java: Likewise.
10290         * javax/swing/JPopupMenu.java: Likewise.
10291         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10292         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10293         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10294         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10295         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10296         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10297         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10298
10299 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10300         
10301         * javax/swing/plaf/basic/BasicMenuUI.java:
10302         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10303         Call getPath() from super class instead.
10304
10305 2004-05-31  David Jee  <djee@redhat.com>
10306
10307         * java/awt/Container.java
10308         (remove): Set component visibility to false after removing it.
10309
10310 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
10311
10312         * java/awt/Component.java (getForeground): Return SystemColor if
10313         parent is null.
10314         (getBackground): Likewise.
10315
10316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10317         (item_highlighted): New function.
10318         (connectSignals): Set item_highlighted as list's select
10319         function.
10320
10321         * java/applet/Applet.java: Revert changes from 2004-04-29,
10322         2004-03-15 and 2004-03-14.
10323
10324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10325         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10326         factor.
10327
10328         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10329         "Dialog" as the default font.
10330         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10331         Likewise.
10332         * java/awt/Component.java (getFont): Return "Dialog" font by
10333         default.
10334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10335         Multiply size argument to pango_font_description_set_size by the
10336         DPI conversion factor rather than by PANGO_SCALE.
10337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10346         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10347         Divide baseline y coordinate by DPI conversion factor rather
10348         than by PANGO_SCALE.
10349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10350         (area_prepared): Fix typo.
10351         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10352         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10354         (dpi_conversion_factor): New global variable.
10355         (init_dpi_conversion_factor): New function to calculate and
10356         track DPI conversion factor.
10357         (dpi_changed_cb): New callback.
10358         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10359
10360 2004-05-27  David Jee  <djee@redhat.com>
10361
10362         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10363         (getGraphics): Return a new GdkGraphics instance.
10364         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10365         (getGraphics): Call super.getGraphics().
10366
10367 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10368
10369         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10370         (setNativeBounds): Clamp width and height values to >= 0.
10371
10372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10373         (find_fg_color_widget): Handle GtkOptionMenu specially.
10374
10375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10376         (pre_event_handler): Only post configure events to visible
10377         top-level windows.
10378
10379 2004-05-26  David Jee  <djee@redhat.com>
10380
10381         * java/awt/BorderLayout.java
10382         (layoutContainer): Fix size calculations.
10383
10384 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
10385
10386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10387         (window_wm_protocols_filter): Remove function.
10388         (create): Remove filter that removes WM_TAKE_FOCUS client
10389         messages.
10390
10391 2004-06-17  Anthony Green  <green@redhat.com>
10392
10393         * java/util/zip/ZipFile.java (getInputStream): Return null if
10394         entry not found.
10395
10396         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10397         directory contents to the class path.
10398
10399 2004-06-15  Andrew Haley  <aph@redhat.com>
10400
10401         * java/lang/natSystem.cc (getenv0): Don't assume environment
10402         variable is Latin 1 coded.
10403
10404 2004-06-14  Andreas Jaeger  <aj@suse.de>
10405
10406         * configure.in: Support --enable-version-specific-runtime-libs.
10407         * configure: Regenerated.
10408
10409 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
10410
10411         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10412         to pass ClassLoader argument.
10413         * java/util/GregorianCalendar.java: Likewise.
10414         * java/util/Currency.java: Likewise.
10415         * java/text/BreakIterator.java: Likewise.
10416         * java/text/Collator.java: Likewise.
10417         * java/text/DateFormat.java: Likewise.
10418         * java/text/DateFormatSymbols.java: Likewise.
10419         * java/text/DecimalFormatSymbols.java: Likewise.
10420         * java/text/NumberFormat.java: Likewise.
10421         * java/awt/Window.java: Likewise.
10422
10423 2004-06-14  Andrew Haley  <aph@redhat.com>
10424
10425         * java/lang/System.java: (getenv0): New method.
10426         (getenv): Add security check.  Do the right thing.
10427         * java/lang/natSystem.cc (getenv0): New method.
10428
10429 2004-06-12  Mark Wielaard  <mark@klomp.org>
10430
10431         * javax/swing/RepaintManager.java
10432         (paintDirtyRegions): Use entrySet(), not values().
10433
10434 2004-06-10  Mark Wielaard  <mark@klomp.org>
10435
10436         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10437         NoSuchMethodError.
10438
10439 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
10440
10441         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
10442         when we already know the answer.
10443         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10444         (setStartRule,setEndRule): Don't take abs of day number.
10445         (getOffset): Clarify docs.  Add argument checks.
10446         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10447         (equals,hasSameRules,toString,readObject): Use startTimeMode and
10448         endTimeMode.
10449
10450 2004-06-10  Tom Tromey  <tromey@redhat.com>
10451
10452         * interpret.cc (run): Handle wide fload.
10453
10454 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
10455
10456         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10457
10458 2004-06-05  Michael Koch  <konqueror@gmx.de>
10459
10460         * javax/swing/SwingConstants.java
10461         (NEXT): New constant.
10462         (PREVIOUS): Likewise.
10463
10464 2004-06-05  Michael Koch  <konqueror@gmx.de>
10465
10466         * javax/swing/UIManager.java
10467         (LookAndFeel): Made public.
10468         (LookAndFeel.getName): Likewise.
10469         (LookAndFeel.getClassName): Likewise.
10470
10471 2004-06-03  Michael Koch  <konqueror@gmx.de>
10472
10473         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10474         (requestFocus): Revert last changes.
10475         (gtkRequestFocus): Removed.
10476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10477         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10478         Renamed to ...
10479         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10480         Reverted last patch.
10481         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10482         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10483         Reverted comment change.
10484
10485 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
10486
10487         * javax/swing/JCheckBoxMenuItem.java:
10488         Removed CVS tags.
10489         * javax/swing/JMenu.java: Likewise.
10490         * javax/swing/JMenuBar.java: Likewise.
10491         * javax/swing/JMenuItem.java: Likewise.
10492         * javax/swing/JPopupMenu.java: Likewise.
10493         * javax/swing/JRadioButtonMenuItem.java: Likewise.
10494         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10495         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10496         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10497         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10498         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10499         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10500
10501 2004-06-01  Tom Tromey  <tromey@redhat.com>
10502
10503         * java/io/ObjectStreamField.java: Cleaned up imports.
10504
10505 2004-06-01  Michael Koch  <konqueror@gmx.de>
10506
10507         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10508       
10509 2004-06-01  Mark Wielaard  <mark@klomp.org>
10510
10511         * java/io/Writer.java (Writer(Object)): Fixed API doc.
10512
10513 2004-06-01  Michael Koch  <konqueror@gmx.de>
10514
10515         * java/security/Security.java
10516         (insertProviderAt): Use equals() instead of ==.
10517         (removeProvicer): Likewise.
10518         (getProvider): Likewise.
10519         * java/security/Signature.java
10520         (sign): Don't set state to UNINITIALIZED.
10521         (verify): Likewise.
10522
10523 2004-06-01  Mark Wielaard  <mark@klomp.org>
10524
10525         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10526         Implement by calling gtkRequestFocus.
10527         (gtkRequestFocus): New native method.
10528         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10529         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10530         Renamed to ...
10531         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10532         New function name.
10533         (filter_expose_event_handler):
10534         Mark static.
10535         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10536         (menu_pos): Mark static.
10537
10538 2004-06-01  Michael Koch  <konqueror@gmx.de>
10539
10540         * java/text/CollationElementIterator.java,
10541         java/text/CollationKey.java,
10542         java/text/RuleBasedCollator.java: New versions from GNU classpath.
10543         * testsuite/libjava.mauve/xfails: Removed all
10544         java.text.CollationElementIterator tests.
10545
10546 2004-06-01  Michael Koch  <konqueror@gmx.de>
10547
10548         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10549         version.
10550         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10551         Java 1.5 keyword usage.
10552
10553 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
10554
10555         * javax/swing/plaf/basic/BasicMenuUI.java:
10556         (MouseEntered): Do not call getPath() from MenuSelectionManager.
10557         Call getPath() from super class instead.
10558
10559 2004-05-31  Michael Koch  <konqueror@gmx.de>
10560
10561         * java/io/SequenceInputStream.java:
10562         Rename enum to e because enum is a keyword in Java 1.5.
10563
10564 2004-05-31  Michael Koch  <konqueror@gmx.de>
10565
10566         * gnu/java/rmi/rmic/CompilerProcess.java:
10567         Fixed javadoc to by XHTML compliant.
10568
10569 2004-05-30  Mark Wielaard  <mark@klomp.org>
10570
10571         * java/awt/Toolkit.java (loadSystemColors): Implement.
10572
10573 2004-05-30  Michael Koch  <konqueror@gmx.de>
10574
10575         * java/lang/System.java: Reordered imports.
10576
10577 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
10578
10579         * java/text/DecimalFormat.java
10580         (parse): Fixed parsing of decimal strings. Number of maximum
10581         digits to be read should now work.
10582         * java/text/SimpleDateFormat.java
10583         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10584         formatter. This fixes DateFormatTest.
10585
10586 2004-05-30  Michael Koch  <konqueror@gmx.de>
10587
10588         * java/nio/Buffer.java
10589         (limit): Fixed off by one error.
10590         * java/nio/CharBuffer.java
10591         (wrap): Fixed arguments, added javadocs.
10592
10593 2004-05-30  Michael Koch  <konqueror@gmx.de>
10594
10595         * gnu/java/beans/BeanInfoEmbryo.java,
10596         java/awt/im/InputContext.java,
10597         javax/swing/tree/DefaultMutableTreeNode.java:
10598         Rename enum to e because enum is a keyword in Java 1.5.
10599
10600 2004-05-30  Michael Koch  <konqueror@gmx.de>
10601
10602         * gnu/java/math/MPN.java,
10603         java/awt/geom/Arc2D.java:
10604         Fixed javadocs all over.
10605
10606 2004-05-30  Michael Koch  <konqueror@gmx.de>
10607
10608         * java/awt/DefaultKeyboardFocusManager.java
10609         (dispatchEvent): Call method to get key event dispatchers.
10610         (dispatchKeyEvent): Call method to get key event post processors.
10611         * javax/swing/JComponent.java
10612         (listenerList): Made protected.
10613         * javax/swing/JOptionPane.java
10614         (message): Don't initialize.
10615         (JOptionPane): Set message text.
10616         * javax/swing/JPopupMenu.java
10617         (show): Fixed typo in argument name.
10618         * javax/swing/RepaintManager.java
10619         (paintDirtyRegions): Use public API of java.util.Map.
10620         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10621         (positionForMouseEvent): Removed redundant ';'.
10622         (continueDrag): Use method arguments.
10623
10624 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
10625
10626         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10627         results.
10628
10629 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
10630
10631         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10632         _Jv_AllocBytes.
10633         * gnu/gcj/RawDataManaged.java: New file.
10634         * java/lang/Thread.java (data): Declare as RawDataManaged.
10635         * java/lang/natThread.cc (init_native): Cast natThread data to
10636         RawDataManaged, not jobject.
10637         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10638         * Makefile.in: Rebuilt.
10639
10640 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
10641
10642         * java/util/SimpleTimeZone.java: Reverting my last change until I
10643         can fix it properly.
10644
10645 2004-05-27  Michael Koch  <konqueror@gmx.de>
10646
10647         * javax/swing/JPopupMenu.java
10648         (isVisible): Do not use visible directly.
10649         (setVisible): Likewise.
10650         * javax/swing/JWindow.java
10651         (JWindow): call accessible constructor.
10652         * javax/swing/RepaintManager.java
10653         (paintDirtyRegions): Use public methods to obtain iterator.
10654
10655 2004-05-25  David Jee  <djee@redhat.com>
10656
10657         * java/awt/Container.java
10658         (remove): Set component's parent to null only after we removed the
10659         component from its parent's layout manager.
10660
10661 2004-05-25  David Jee  <djee@redhat.com>
10662
10663         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10664         (GtkComponentPeer): Set bounds regardless of whether awtComponent
10665         is valid.
10666         * gnu/java/awt/peer/gtk/GtkListPeer.java
10667         (getSize): Change native method declaration.
10668         (minimumSize): Pass visible row count into getSize().
10669         (preferredSize): Likewise.
10670         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10671         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10672         natural size. Use visible row count to determine the final height
10673         value to return.
10674
10675 2004-05-21  Graydon Hoare  <graydon@redhat.com>
10676
10677         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
10678         (setClip): Minor correction to order of operations.
10679
10680         * javax/swing/JScrollPane.java: Extend sketchy implementation.
10681         * javax/swing/ScrollPaneLayout.java: Likewise.
10682         * javax/swing/JViewPort.java: Likewise.
10683         * javax/swing/ViewportLayout.java: Likewise.
10684
10685         * javax/swing/JComponent.java: Rewrite.
10686         * javax/swing/RepaintManager.java: Likewise.
10687
10688         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10689         * javax/swing/JList.java 
10690         (setSelectedIndices):
10691         (getSelectedIndices):
10692         (getSelectedValues): New functions.
10693         (getPreferredScrollableViewportSize): Return preferred size.
10694         (getScrollableUnitIncrement):
10695         (getScrollableBlockIncrement): Initial implementations.
10696         * javax/swing/JRootPane.java: Clean up slightly.
10697         (getUI):
10698         (setUI):
10699         (updateUI):
10700         (getUIClassID):
10701         (isValidateRoot): Add overrides from JComponent.
10702         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10703         * javax/swing/UIManager.java (getDimension): Return the dimension.
10704
10705         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10706         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10707         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10708         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10709         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10710         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10711         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10712         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
10713         Likewise, and set background.
10714         * javax/swing/plaf/basic/BasicListUI.java: 
10715         Likewise, and improve a bit.
10716         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
10717         Likewise, and adjust calculations.
10718         * javax/swing/plaf/basic/BasicViewportUI.java:
10719         Likewise, and improve a bit.
10720         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10721         (Button.margin): Shrink.
10722
10723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10724         Hack to set horizontal always, workaround pango.
10725
10726         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10728         Synchronize more often, check cairo status after ops,
10729         handle changes to cairo pattern API, check for disposal.
10730
10731 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
10732
10733         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10734         (BasicMenuItemUI): Create propertyChangeListener.
10735         (getPath):Implemented.
10736         (installListeners): Add propertyChangeListener to menuItem.
10737         (uninstallListeners): Remove propertyChangeListener from menuItem.
10738         (update): Implemented.
10739         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10740         (mouseEntered): Take insets of popup menu into account when
10741         calculating position of popup menu.     
10742         
10743 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10744
10745         * Makefile.am: Added new file. 
10746         * Makefile.in: Regenerate.
10747         * javax/swing/JMenuBar.java:
10748         Started implementation.
10749         * javax/swing/JPopupMenu.java:
10750         (setVisible): Fixed location of lightweight/mediumweight
10751         popup menu.
10752         (show): Fixed location of PopupMenu.
10753         * javax/swing/plaf/basic/BasicMenuBarUI.java:
10754         New file. UI Delegate for JMenuBar.
10755         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10756         (mouseEntered): Corrected position of the submenu.
10757
10758 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
10759
10760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
10761         to _gtk_accel_group_attach.
10762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
10763         Likewise.
10764
10765         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
10766         package access.  Don't override setFont.
10767         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
10768         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
10769         gtkWidgetRequestFocus package access.
10770         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
10771         setFont.
10772         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
10773         Give gtkWidgetRequestFocus package access.
10774         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
10775         gtkWidgetRequestFocus package access.  Don't override setFont.
10776         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
10777         setFont.
10778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10779         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
10780         region.
10781         (gtkSetFont): Likewise.
10782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
10783         Implement.
10784         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10785         (gtkSetFont): Whitespace fix.
10786
10787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10788         (gtkWidgetSetUsize): Remove method.
10789
10790 2004-05-18  David Jee  <djee@redhat.com>
10791
10792         * java/awt/image/MemoryImageSource.java
10793         (newPixels(int,int,int,int,boolean)): Set only the specified
10794         rectangle of pixels.
10795         (newPixels(byte[],ColorModel,int,int)): Implement.
10796         (newPixels(int[],ColorModel,int,int)): Implement.
10797
10798 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
10799
10800         * Makefile.am: Added new file.
10801         * Makefile.in: Regenerate.
10802         * javax/swing/JMenu.java: Started 
10803         implementation.
10804         * javax/swing/JPopupMenu.java:
10805         (insert): If specified index is -1, then
10806         add component at the end.
10807         (isPopupTrigger): Reimplemented.
10808         (JPopupMenu.LightWeightPopup): setBounds
10809         of the lightWeightPopup before adding it 
10810         to the layeredPane.
10811         (javax/swing/plaf/basic/BasicIconFactory.java):
10812         (getMenuArrowIcon): Implemented.
10813         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10814         (getPreferredSize): Add size of the arrow icon 
10815         if this menu item is instance of JMenu.
10816         (paintMenuItem): Paint arrow icon if this 
10817         menu item is a submenu.
10818         * javax/swing/plaf/basic/BasicMenuUI.java:
10819         New File. UI Delegate for JMenu.
10820
10821 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
10822
10823         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
10824         Post KEY_TYPED events.
10825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10826         (generates_key_typed_event): Remove function.
10827
10828 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
10829
10830         * javax/swing/JRootPane.java
10831         (JRootPane.RootLayout): Reimplemented to 
10832         set bounds of contentPane and menuBar.
10833         (setJMenuBar): Add menu bar to the layered pane.
10834         (createLayeredPane): Set layout of layeredPane
10835         to null.
10836         * javax/swing/JLayeredPane.java:
10837         (addImpl): Calculate index of the component in the
10838         layeredPane according to the specified position within 
10839         the layer.      
10840
10841 2004-05-17  David Jee  <djee@redhat.com>
10842
10843         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10844         (setPixels): Change color model to the default model after
10845         converting pixels.
10846         * java/awt/image/MemoryImageSource.java
10847         (newPixels): Set only the specified rectangle of pixels.
10848
10849 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10850
10851         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
10852         -l-java-beans -l-javax-accessibility -l-javax-swing.
10853
10854         * java/awt/AWTEvent.java (toString): Print source's name rather
10855         than the source itself.
10856
10857 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
10858
10859         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
10860         native.
10861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
10862         (gdk_color_to_java_color): New function.
10863         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
10864
10865 2004-05-12  David Jee  <djee@redhat.com>
10866
10867         * java/awt/image/RGBImageFilter.java:
10868         Initialize origmodel as null.
10869         (makeColor): Fix pixel component order.
10870         (filterRGBPixels): Fix pixel iteration.
10871         (setPixels): Add extra checks for index color model. Convert pixels
10872         to default color model if necessary.
10873         (convertColorModelToDefault): New override method for byte pixels.
10874         (convertColorModelToDefault): For int pixels, fix pixel iteration.
10875         (makeColorbyDefaultCM): New override method for byte pixels.
10876         (makeColorbyDefaultCM): For int pixel, add color model as argument.
10877         (makeColor): Fix pixel component order.
10878
10879 2004-05-11  Kim Ho  <kho@redhat.com>
10880
10881         * javax/swing/Box.java:
10882         Comment out more parts of Box.Filler.
10883
10884 2004-05-11  Kim Ho  <kho@redhat.com>
10885
10886         * javax/swing/Box.java:
10887         Remove reference to AccessibleAWTComponent so
10888         it compiles again.
10889
10890 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
10891
10892         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10893         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
10894         implementation of list peer to use GtkTreeView instead of
10895         deprecated GtkCList.
10896
10897 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
10898
10899         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10900         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
10901         (handleEvent): Remove keyChar argument to
10902         gtkWidgetDispatchKeyEvent calls.
10903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
10904         compiler warnings.
10905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
10906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
10907         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
10908         Likewise.
10909
10910 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
10911
10912         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10913         (gtkWidgetRequestFocus): Mark protected.
10914         (GtkComponentPeer): Only set the peer's bounds if its component
10915         is valid.
10916         * java/awt/Component.java (static): Set the default keyboard
10917         focus manager.
10918         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
10919         requestFocusInWindow(temporary)): Don't request focus if the
10920         component is not showing.  Get tree lock before traversing
10921         component hierarchy.
10922         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
10923         Only set the global focus owner if it is not a Window.
10924         (processKeyEvent): Consume keystrokes associated with the focus
10925         traversal keystroke.
10926         (focusPreviousComponent, focusNextComponent, upFocusCycle,
10927         downFocusCycle): Call requestFocusInWindow instead of
10928         requestFocus.
10929         * java/awt/EventDispatchThread.java (run): Move setting of
10930         default keyboard focus manager to Component.java.
10931         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10932         (awt_keycode_to_keysym): New function.
10933         (gtkWidgetDispatchKeyEvent): Finish implementation.
10934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10935         (pre_event_handler): Add FIXME comment.
10936
10937         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10938         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10939         (gtkWidgetRequestFocus): New method.
10940         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
10941         disable Tab and Shift-Tab keystrokes.
10942         (addNotify, appendText, insertText, replaceText): Simplify peer
10943         retrieval code.
10944         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
10945         (connectSignals): Remove connections to "commit" signals.
10946         Remove C++-style comments.
10947
10948         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10949         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10950         (handleEvent): Activate GTK button when the space bar key is
10951         pressed.
10952         (gtkActivate): New method.
10953
10954 2004-05-06  David Jee  <djee@redhat.com>
10955
10956         * java/awt/image/CropImageFilter.java
10957         (setPixels): Implement for byte array pixels.
10958         * java/awt/image/ReplicateScaleFilter.java
10959         (setPixels): Implement for byte array pixels.
10960         (replicatePixels): Overload for byte array pixels.
10961
10962 2004-05-06  Kim Ho  <kho@redhat.com>
10963
10964         * javax/swing/Box.java:
10965         (getAccessibleContext): Return an instance of the 
10966         correct class.
10967
10968 2004-05-05  David Jee  <djee@redhat.com>
10969
10970         * gnu/java/awt/peer/gtk/GdkGraphics.java
10971         (drawImage): When component is null, use SystemColor.window as
10972         the default bgcolor.
10973         * gnu/java/awt/peer/gtk/GtkImage.java
10974         (setPixels): We can avoid iterating through the pixel rows only
10975         when height is 1.
10976         * java/awt/Image.java
10977         (getScaledInstance): Partially implement.
10978         * java/awt/image/CropImageFilter.java
10979         (setProperties): Fix "filter" property.
10980         (setPixels): Implement.
10981         * java/awt/image/ReplicateScaleFilter.java
10982         (setDimensions): Use scaled dimensions.
10983         (setPixels): Implement.
10984         (replicatePixels): New method.
10985
10986 2004-05-05  David Jee  <djee@redhat.com>
10987
10988         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10989         (convertPixels): If either pixels or model is null, return null.
10990         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
10991         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
10992         is null, do nothing and return.
10993
10994 2004-05-03  Kim Ho  <kho@redhat.com>
10995
10996         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
10997         (getGraphics): Like GtkFramePeer, the Graphics
10998         object needs to be translate to account for
10999         window decorations.
11000         (postMouseEvent): New method. Account for
11001         translation.
11002         (postExposeEvent): ditto.
11003         * javax/swing/Box.java: Stubbed.
11004         * javax/swing/JDialog.java: Ran through jalopy
11005         to fix indentation.
11006         (JDialog): Call SwingUtilities' getOwnerFrame
11007         for null owners.
11008         (setLayout): Check isRootPaneCheckingEnabled
11009         * javax/swing/JOptionPane.java: Re-implemented.
11010         * javax/swing/SwingUtilities.java:
11011         (getOwnerFrame): Static method to grab a default
11012         owner frame for Dialogs that don't specify owners.
11013         * javax/swing/event/SwingPropertyChangeSupport.java:
11014         (firePropertyChange): Fix early exit condition.
11015         * javax/swing/plaf/basic/BasicLabelUI.java:
11016         (paint): Avoid painting text if it is null 
11017         or empty.
11018         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11019         Implement.
11020
11021 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
11022
11023         * Makefile.am: Added new file.
11024         * Makefile.in: Regenerate.
11025         * javax/swing/JPopupMenu.java:
11026         Started implementation.
11027         * javax/swing/JWindow.java
11028         (JWindow): call super() if parent for window
11029         is not specified.
11030         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11031         New File. UI Delegate for JPopupMenu.
11032
11033 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
11034
11035         * javax/swing/JApplet.java: Indicated that JApplet
11036         implements RootPaneContainer and made method of this
11037         interface public. 
11038         * javax/swing/JFrame.java: Ditto.
11039         * javax/swing/JWindow.java: Ditto.
11040         
11041 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
11042
11043         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11044         (nativeSetBounds): Call gdk_window_move in addition to
11045         gtk_window_move.
11046
11047         * java/applet/Applet.java (preferredSize): Call parent's
11048         preferredSize if the applet stub is null.
11049         (minimumSize): Likewise for parent's minimumSize.
11050
11051 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
11052
11053         * javax/swing/JMenuItem.java
11054         (createActionPropertyChangeListener): Implemented.
11055         (processMouseEvent): Ditto.
11056         (fireMenuDragMouseEntered): Ditto.
11057         (fireMenuDragMouseExited): Ditto.
11058         (fireMenuDragMouseDragged): Ditto.
11059         (fireMenuDragMouseReleased): Ditto.
11060         (menuSelectionChanged): Ditto.
11061         (getSubElements): Ditto.
11062         (getComponent): Ditto.
11063         (addMenuDragMouseListener): Ditto.
11064         (removeMenuDragMouseListener):Ditto.
11065         (addMenuKeyListener): Ditto.
11066         (removeMenuKeyListener): Ditto.
11067         * javax/swing/plaf/basic/BasicMenuItemUI.java
11068         (doClick): Imlemented.
11069         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11070         Don't handle mouse events here. Pass them to 
11071         MenuSelectionManager.
11072         
11073 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11074         Used correct version of jalopy configuration
11075         file to fix style in the files below.
11076
11077 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11078
11079         * javax/swing/JCheckBoxMenuItem.java: 
11080         Fixed style and removed unnecessary comments.
11081         * javax/swing/JMenuItem.java: Ditto.
11082         * javax/swing/JRadioButtonMenuItem.java: Ditto.
11083         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11084         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11085         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11086
11087 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
11088
11089         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11090         C-style.
11091
11092         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11093
11094         * java/awt/ContainerOrderFocusTraversalPolicy.java
11095         (getComponentAfter): Start from current component and work up
11096         the component hierarchy until an acceptable component is found.
11097         Synchronize on tree lock.
11098         (getComponentBefore): Likewise.
11099
11100 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11101
11102         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11103         focus-related debugging messages.
11104         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11105         * java/awt/EventDispatchThread.java: Likewise.
11106         * java/awt/KeyboardFocusManager.java: Likewise.
11107         * java/awt/Window.java: Likewise.
11108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11110
11111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11112         new C++-style comments to C-style comments.
11113         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11114
11115         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11116         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11117         (handleEvent): Dispatch key press and key release events to
11118         backing widget.
11119         (requestFocus): Post a FOCUS_GAINED event to the event queue.
11120         (gtkWidgetRequestFocus): New method.
11121         (gtkWidgetDispatchKeyEvent): Likewise.
11122         * java/awt/Component.java (requestFocus, requestFocus(boolean),
11123         requestFocusInWindow, requestFocusInWindow(boolean),
11124         getFocusCycleRootAncestor, nextFocus, transferFocus,
11125         transferFocusBackward, transferFocusUpCycle, hasFocus,
11126         isFocusOwner): Implement and document focus-handling methods.
11127         (setFocusTraversalKeys): Inherit focus traversal keys when
11128         keystrokes argument is null.  Fix focus-handling documentation
11129         throughout class.
11130         * java/awt/Container.java (setFocusTraversalKeys,
11131         getFocusTraversalKeys, areFocusTraversalKeysSet,
11132         isFocusCycleRoot, setFocusTraversalPolicy,
11133         getFocusTraversalPolicy, isFocusTraversalPolicySet,
11134         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11135         Implement and document focus-handling methods.
11136         (transferFocusBackward): Remove method.
11137         (readObject, writeObject): Implement and document serialization
11138         methods.
11139         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11140         and document.
11141         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11142         document.
11143         * java/awt/DefaultKeyboardFocusManager.java: Implement and
11144         partially document.
11145         * java/awt/EventDispatchThread.java (run): Set default keyboard
11146         focus manager.  Attempt to dispatch each event to the keyboard
11147         focus manager before normal dispatch.
11148         * java/awt/KeyboardFocusManager.java: Implement and partially
11149         document.
11150         * java/awt/Window.java (Window): Set focusCycleRoot to true.
11151         (show): Focus initial component when window is shown for the
11152         first time.
11153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11154         (pre_event_handler): Replace complex key press and key release
11155         logic with simple callbacks into GtkComponentPeer.
11156         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11157
11158 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
11159
11160         * javax/swing/MenuSelectionManager.java
11161         (componentForPoint): Added new method. 
11162         (defaultManager): New Method. Implemented.
11163         (getSelectedPath): Ditto.
11164         (isComponentPartOfCurrentMenu): Ditto.
11165         (processKeyEvent): Added new method.
11166         (processMouseEvent): New Method. Implemented.
11167         (setSelectedPath): Ditto.
11168         (getPath): Ditto.
11169
11170 2004-04-19  Kim Ho  <kho@redhat.com>
11171
11172         * java/awt/Container.java: 
11173         (remove): Set the component's parent to null.
11174         (getComponentAt): Implement.
11175         * javax/swing/JComponent.java:
11176         (JComponent): Initialize defaultLocale
11177         (getDefaultLocale): Implement.
11178         (setDefaultLocale): ditto.
11179         * javax/swing/JSlider.java:
11180         (JSlider): Fix calculation of value.
11181         * javax/swing/JSplitPane.java: Implement.
11182         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11183         Change SplitPane's default divider size.
11184         * javax/swing/plaf/basic/BasicScrollBarUI.java:
11185         (paint): Remove unused code.
11186         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11187         Added comments and ran through jalopy.
11188         (setBasicSplitPaneUI): Get reference to hidden divider
11189         and set up one touch buttons if necessary.
11190         (setBorder): Fire propertyChangeEvent only if 
11191         borders are different.
11192         (getPreferredSize): Defer to layout manager.
11193         (propertyChange): Implement.
11194         (oneTouchExpandableChanged): ditto.
11195         (createLeftOneTouchButton): Use BasicArrowButton.
11196         (createRightOneTouchButton): ditto.
11197         (moveDividerTo): New method. Moves the divider
11198         to a set location based on the last divider location.
11199         (BasicSplitPaneDivider::MouseHandler): Implement.
11200         (BasicSplitPaneDivider::OneTouchButton): Removed.
11201         (BasicSplitPaneDivider::DragController): Implement.
11202         (BasicSplitPaneDivider::VerticalDragController):
11203         ditto.
11204         (BasicSplitPaneDivider::DividerLayout): ditto.
11205         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11206         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11207         (calculateLayoutInfo): Don't show component if it's
11208         null.
11209         (paintTab): Fix title paint logic.
11210
11211 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
11212
11213         PR libgcj/8321
11214         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11215         (setStartRule,setEndRule): Don't take abs of day number.
11216         (getOffset): Clarify docs.  Add argument checks.
11217         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11218         (equals,hasSameRules,toString,readObject): Use startTimeMode and
11219         endTimeMode.
11220         * testsuite/libjava.mauve/xfails
11221         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11222
11223 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
11224
11225         Layout interfaces during preparation, not initialization. 
11226         * java/lang/natClass.cc (initializeClass): Move 
11227         _Jv_LayoutInterfaceMethods call...
11228         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11229
11230 2004-05-19  Anthony Green  <green@localhost.localdomain>
11231
11232         * Makefile.am (awt_java_source_files): Remove javax.rmi and
11233         gnu.javax.rmi code.
11234         * Makefile.in: Rebuilt.
11235         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11236         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11237         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11238         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11239         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11240         gnu/javax/rmi/CORBA/DelegateFactory.java,
11241         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11242         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11243         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11244         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11245         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11246         gnu/javax/rmi/PortableServer.java: Remove files.
11247
11248 2004-05-19  Anthony Green  <green@redhat.com>
11249
11250         * Makefile.am: Define JAVA_EXT_DIRS.
11251         * Makefile.in: Rebuilt.
11252         * java/lang/natRuntime.cc (insertSystemProperties): Set
11253         java.ext.dirs property.
11254
11255 2004-05-16  Mark Wielaard  <mark@klomp.org>
11256
11257         * java/io/Writer.java (Writer(Object)): Check for null lock object.
11258
11259 2004-05-15  Mark Wielaard  <mark@klomp.org>
11260
11261         * doc/cni.sgml: Removed, merged into gcj.texi.
11262
11263 2004-05-15  Mark Wielaard  <mark@klomp.org>
11264
11265         * Makefile.am (ordinary_java_source_files): Add new javax.print
11266         classes.
11267         * Makefile.in: Regenerated.
11268
11269 2004-05-15  Michael Koch  <konqueror@gmx.de>
11270
11271         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11272         javax/print/attribute/standard/DateTimeAtCreation.java,
11273         javax/print/attribute/standard/DateTimeAtProcessing.java,
11274         javax/print/attribute/standard/DocumentName.java,
11275         javax/print/attribute/standard/JobHoldUntil.java,
11276         javax/print/attribute/standard/JobImpressionsCompleted.java,
11277         javax/print/attribute/standard/JobMessageFromOperator.java,
11278         javax/print/attribute/standard/JobName.java,
11279         javax/print/attribute/standard/JobOriginatingUserName.java,
11280         javax/print/attribute/standard/JobPriority.java,
11281         javax/print/attribute/standard/JobPrioritySupported.java,
11282         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11283         javax/print/attribute/standard/OutputDeviceAssigned.java,
11284         javax/print/attribute/standard/PrinterInfo.java,
11285         javax/print/attribute/standard/PrinterLocation.java,
11286         javax/print/attribute/standard/PrinterMakeAndModel.java,
11287         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11288         javax/print/attribute/standard/PrinterName.java,
11289         javax/print/attribute/standard/QueuedJobCount.java,
11290         javax/print/attribute/standard/RequestingUserName.java:
11291         Fixed javadocs all over.
11292
11293 2004-05-15  Michael Koch  <konqueror@gmx.de>
11294
11295         * javax/print/DocFlavor.java,
11296         javax/print/attribute/standard/ColorSupported.java,
11297         javax/print/attribute/standard/Compression.java,
11298         javax/print/attribute/standard/CopiesSupported.java,
11299         javax/print/attribute/standard/Fidelity.java,
11300         javax/print/attribute/standard/Finishings.java,
11301         javax/print/attribute/standard/JobImpressionsSupported.java,
11302         javax/print/attribute/standard/JobKOctetsSupported.java,
11303         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11304         javax/print/attribute/standard/JobSheets.java,
11305         javax/print/attribute/standard/JobState.java,
11306         javax/print/attribute/standard/JobStateReason.java,
11307         javax/print/attribute/standard/JobStateReasons.java,
11308         javax/print/attribute/standard/Media.java,
11309         javax/print/attribute/standard/MediaSizeName.java,
11310         javax/print/attribute/standard/MultipleDocumentHandling.java,
11311         javax/print/attribute/standard/NumberUpSupported.java,
11312         javax/print/attribute/standard/OrientationRequested.java,
11313         javax/print/attribute/standard/PDLOverrideSupported.java,
11314         javax/print/attribute/standard/PageRanges.java,
11315         javax/print/attribute/standard/PresentationDirection.java,
11316         javax/print/attribute/standard/PrintQuality.java,
11317         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11318         javax/print/attribute/standard/PrinterMoreInfo.java,
11319         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11320         javax/print/attribute/standard/PrinterResolution.java,
11321         javax/print/attribute/standard/PrinterState.java,
11322         javax/print/attribute/standard/PrinterStateReason.java,
11323         javax/print/attribute/standard/PrinterStateReasons.java,
11324         javax/print/attribute/standard/PrinterURI.java,
11325         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11326         javax/print/attribute/standard/Severity.java,
11327         javax/print/attribute/standard/SheetCollate.java,
11328         javax/print/attribute/standard/Sides.java:
11329         Added serialVersionUID and removed final keyword where it doenst
11330         belong.
11331
11332 2004-05-15  Michael Koch  <konqueror@gmx.de>
11333
11334         * javax/print/PrintServiceLookup.java: New file.
11335
11336 2004-05-15  Michael Koch  <konqueror@gmx.de>
11337
11338         * javax/print/DocFlavor.java:
11339         Implemented all flavor classes.
11340
11341 2004-05-15  Michael Koch  <konqueror@gmx.de>
11342
11343         * javax/print/attribute/standard/ColorSupported.java,
11344         javax/print/attribute/standard/Compression.java,
11345         javax/print/attribute/standard/CopiesSupported.java,
11346         javax/print/attribute/standard/Fidelity.java,
11347         javax/print/attribute/standard/Finishings.java,
11348         javax/print/attribute/standard/JobImpressionsSupported.java,
11349         javax/print/attribute/standard/JobKOctetsSupported.java,
11350         javax/print/attribute/standard/JobMediaSheetsSupported.java,
11351         javax/print/attribute/standard/JobSheets.java,
11352         javax/print/attribute/standard/JobState.java,
11353         javax/print/attribute/standard/JobStateReason.java,
11354         javax/print/attribute/standard/JobStateReasons.java,
11355         javax/print/attribute/standard/Media.java,
11356         javax/print/attribute/standard/MediaSizeName.java,
11357         javax/print/attribute/standard/MultipleDocumentHandling.java,
11358         javax/print/attribute/standard/NumberUpSupported.java,
11359         javax/print/attribute/standard/OrientationRequested.java,
11360         javax/print/attribute/standard/PDLOverrideSupported.java,
11361         javax/print/attribute/standard/PageRanges.java,
11362         javax/print/attribute/standard/PresentationDirection.java,
11363         javax/print/attribute/standard/PrintQuality.java,
11364         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11365         javax/print/attribute/standard/PrinterMoreInfo.java,
11366         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11367         javax/print/attribute/standard/PrinterResolution.java,
11368         javax/print/attribute/standard/PrinterState.java,
11369         javax/print/attribute/standard/PrinterStateReason.java,
11370         javax/print/attribute/standard/PrinterStateReasons.java,
11371         javax/print/attribute/standard/PrinterURI.java,
11372         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11373         javax/print/attribute/standard/Severity.java,
11374         javax/print/attribute/standard/SheetCollate.java,
11375         javax/print/attribute/standard/Sides.java: New files.
11376
11377 2004-05-15  Michael Koch  <konqueror@gmx.de>
11378
11379         * javax/print/Doc.java
11380         (getPrintData): Throws IOException.
11381         (getReaderForText): Likewise.
11382         (getStreamForBytes): Likewise.
11383         * javax/print/DocFlavor.java:
11384         Fixed filename in copyright.
11385         (serialVersionUID): New field.
11386         * javax/print/ServiceUIFactory.java:
11387         Made all constants final.
11388         * javax/print/AttributeException.java
11389         javax/print/MultiDoc.java
11390         javax/print/MultiDocPrintJob.java
11391         javax/print/MultiDocPrintService.java
11392         javax/print/StreamPrintService.java
11393         javax/print/URIException.java: New files.
11394         * javax/print/Makefile.am
11395         (EXTRA_DIST): Added all new files.
11396
11397 2004-05-15  Michael Koch  <konqueror@gmx.de>
11398
11399         * javax/print/attribute/standard/Copies.java,
11400         javax/print/attribute/standard/DateTimeAtCompleted.java,
11401         javax/print/attribute/standard/DateTimeAtCreation.java,
11402         javax/print/attribute/standard/DateTimeAtProcessing.java,
11403         javax/print/attribute/standard/DocumentName.java,
11404         javax/print/attribute/standard/JobHoldUntil.java,
11405         javax/print/attribute/standard/JobImpressions.java,
11406         javax/print/attribute/standard/JobImpressionsCompleted.java,
11407         javax/print/attribute/standard/JobKOctets.java,
11408         javax/print/attribute/standard/JobKOctetsProcessed.java,
11409         javax/print/attribute/standard/JobMediaSheets.java,
11410         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11411         javax/print/attribute/standard/JobMessageFromOperator.java,
11412         javax/print/attribute/standard/JobName.java,
11413         javax/print/attribute/standard/JobOriginatingUserName.java,
11414         javax/print/attribute/standard/JobPriority.java,
11415         javax/print/attribute/standard/JobPrioritySupported.java,
11416         javax/print/attribute/standard/NumberOfDocuments.java,
11417         javax/print/attribute/standard/NumberOfInterveningJobs.java,
11418         javax/print/attribute/standard/NumberUp.java,
11419         javax/print/attribute/standard/OutputDeviceAssigned.java,
11420         javax/print/attribute/standard/PagesPerMinute.java,
11421         javax/print/attribute/standard/PagesPerMinuteColor.java:
11422         Fixed @return tag all over.
11423
11424 2004-05-15  Michael Koch  <konqueror@gmx.de>
11425
11426         * javax/print/attribute/AttributeSetUtilities.java
11427         (verifyCategoryForValue): Fixed typo in javadoc.
11428         * javax/print/attribute/HashAttributeSet.java
11429         (containsKey): Fixed @return tag.
11430         (comtainsValue): Likewise.
11431         (equals): Likewise.
11432         * javax/print/attribute/IntegerSyntax.java
11433         (equals): Likewise.
11434         * javax/print/attribute/ResolutionSyntax.java
11435         (equals): Likewise.
11436         (getCrossFeedResolution): Removed unused code.
11437         (getFeedResolution): Likewise.
11438         * javax/print/attribute/SetOfIntegerSyntax.java
11439         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11440         (equals): Fixed @return tag.
11441         * javax/print/attribute/TextSyntax.java
11442         (TextSyntax): Take locale into account.
11443         (hashCode): Better implementation.
11444
11445 2004-05-15  Michael Koch  <konqueror@gmx.de>
11446
11447         * javax/print/CancelablePrintJob.java,
11448         javax/print/Doc.java,
11449         javax/print/DocFlavor.java,
11450         javax/print/DocPrintJob.java,
11451         javax/print/FlavorException.java,
11452         javax/print/PrintException.java,
11453         javax/print/PrintService.java,
11454         javax/print/ServiceUIFactory.java: New files.
11455
11456 2004-05-15  Mark Wielaard  <mark@klomp.org>
11457
11458         * gnu/regexp/CharIndexedReader.java: Removed.
11459         * gnu/regexp/REFilterReader.java: Likewise.
11460         * gnu/regexp/RETokenLookAhead.java: Likewise.
11461         * Makefile.am (ordinary_java_source_files): Remove above classes.
11462         * Makefile.in: Regenerated.
11463
11464 2004-05-14  Tom Tromey  <tromey@redhat.com>
11465
11466         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11467         not `XGraphicsConfiguration.XOffScreenImage'.
11468
11469 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
11470
11471         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11472
11473 2004-05-14  Steven Augart  <augart@watson.ibm.com>
11474
11475         * include/jni.h (_Jv_func): Removed.
11476         (struct JNINativeInterface): Use `void *' for reserved slots.
11477         (struct JNIInvokeInterface): Likewise.
11478
11479 2004-05-11  Michael Koch  <konqueror@gmx.de>
11480
11481         * gnu/java/net/natPlainSocketImplPosix.cc
11482         (read): Fixed typo in expression.
11483
11484 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
11485
11486         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11487         ld_library_additions. Adjust all calls to libjava_invoke to match
11488         the new argument.
11489
11490         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11491         path to cxxflagslist.
11492         Pass path of libstdc++ to libjava_invoke.
11493
11494         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11495         libjava_invoke arguments.
11496
11497 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
11498
11499         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11500         reality.
11501
11502 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
11503
11504         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11505         main binary against the JNI shared library.
11506
11507 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11508
11509         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11510         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11511         (SimpleTimeZone): Tweak docs.  Add new variation.
11512         (setStartRule,setEndRule): Add new variations.  Use
11513         startTimeMode and endTimeMode.
11514
11515 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
11516
11517         * java/util/Calendar.java (getActualMinimum,
11518         getActualMaximum):  Remove abstract.  Implement.
11519
11520 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11521
11522         Run the jni tests using the interpreter.
11523         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11524         options_cxx to shared lib compile command.
11525         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11526         they are used to link the shared lib, not the main binary.
11527         Use libjava_invoke to run gij.
11528
11529 2004-05-06  Michael Koch  <konqueror@gmx.de>
11530
11531         * java/util/logging/Level.java
11532         (parse): Use == instead of String.equals().
11533
11534 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
11535
11536         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
11537         verify_field_signature and verify_method_signature, not 
11538         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11539         (_Jv_ClassReader::handleField): Likewise.
11540         (_Jv_ClassReader::handleMethod): Likewise.
11541
11542 2004-05-06  Michael Koch  <konqueror@gmx.de>
11543
11544         * javax/swing/table/TableColumn.java:
11545         Reformated.
11546
11547 2004-05-06  Michael Koch  <konqueror@gmx.de>
11548
11549         * javax/imageio/spi/ImageReaderWriterSpi.java
11550         (ImageReaderWriterSpi): Made it public.
11551         * javax/imageio/stream/ImageInputStream.java:
11552         Clean up imports.
11553
11554 2004-05-06  Michael Koch  <konqueror@gmx.de>
11555
11556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11557         Removed empty line.
11558
11559 2004-05-06  Michael Koch  <konqueror@gmx.de>
11560
11561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11562         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11563         New files.
11564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11565         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11567         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11568         their own source file.
11569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11570         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11571         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11573         (create): Define variable on top of function.
11574         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11575         (menu_pos): Prototyped.
11576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11577         (setTitle): Removed.
11578         * jni/gtk-peer/gthread-jni.c
11579         (gdk_threads_wake): Removed.
11580         * Makefile.am (gtk_c_source_files): Added new files
11581         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11582         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11583         * Makefile.in: Regenerated.
11584
11585 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
11586
11587         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11588         call.
11589
11590 2004-05-05  Mark Wielaard  <mark@klomp.org>
11591
11592         * javax/swing/AbstractButton.java: Replace special HTML entities with
11593         ASCII equivalent.
11594         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11595         * javax/swing/DefaultButtonModel.java: Likewise.
11596         * javax/swing/DefaultListModel.java: Likewise.
11597         * javax/swing/JList.java: Likewise.
11598         * javax/swing/JSlider.java: Likewise.
11599         * javax/swing/ListModel.java: Likewise.
11600         * javax/swing/Popup.java: Likewise.
11601         * javax/swing/SwingUtilities.java: Likewise.
11602
11603 2004-05-05  Michael Koch  <konqueror@gmx.de>
11604
11605         * javax/swing/AbstractButton.java,
11606         javax/swing/ActionMap.java,
11607         javax/swing/DefaultButtonModel.java,
11608         javax/swing/DefaultListModel.java,
11609         javax/swing/ImageIcon.java,
11610         javax/swing/JComboBox.java,
11611         javax/swing/JComponent.java,
11612         javax/swing/JFrame.java,
11613         javax/swing/JInternalFrame.java,
11614         javax/swing/JMenuBar.java,
11615         javax/swing/JMenuItem.java,
11616         javax/swing/JOptionPane.java,
11617         javax/swing/JProgressBar.java,
11618         javax/swing/JRootPane.java,
11619         javax/swing/JScrollBar.java,
11620         javax/swing/JScrollPane.java,
11621         javax/swing/JSeparator.java,
11622         javax/swing/JSlider.java,
11623         javax/swing/JTabbedPane.java,
11624         javax/swing/JTable.java,
11625         javax/swing/JTextField.java,
11626         javax/swing/JToolBar.java,
11627         javax/swing/JToolTip.java,
11628         javax/swing/JTree.java,
11629         javax/swing/JViewport.java,
11630         javax/swing/JWindow.java,
11631         javax/swing/KeyStroke.java,
11632         javax/swing/LookAndFeel.java,
11633         javax/swing/SwingUtilities.java,
11634         javax/swing/Timer.java,
11635         javax/swing/ToolTipManager.java,
11636         javax/swing/UIDefaults.java,
11637         javax/swing/border/TitledBorder.java,
11638         javax/swing/filechooser/FileSystemView.java,
11639         javax/swing/plaf/basic/BasicButtonListener.java,
11640         javax/swing/plaf/basic/BasicButtonUI.java,
11641         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11642         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11643         javax/swing/plaf/basic/BasicLabelUI.java,
11644         javax/swing/plaf/basic/BasicMenuItemUI.java,
11645         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11646         javax/swing/plaf/basic/BasicRootPaneUI.java,
11647         javax/swing/plaf/basic/BasicScrollBarUI.java,
11648         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11649         javax/swing/plaf/basic/BasicSliderUI.java,
11650         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11651         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11652         javax/swing/table/JTableHeader.java,
11653         javax/swing/text/AbstractDocument.java,
11654         javax/swing/text/DefaultCaret.java,
11655         javax/swing/text/StyledEditorKit.java,
11656         javax/swing/tree/DefaultTreeCellEditor.java:
11657         Cleaned up imports.
11658
11659 2004-05-05  Michael Koch  <konqueror@gmx.de>
11660
11661         * java/util/prefs/AbstractPreferences.java
11662         (AbstractPreferences): Added parenthesis for clarity.
11663         Closes classpath bug #7940.
11664
11665 2004-05-05  Tom Tromey  <tromey@redhat.com>
11666
11667         * javax/naming/CompoundName.java (endsWith): Look at correct
11668         element of source name.
11669
11670 2004-05-05  Mark Wielaard  <mark@klomp.org>
11671
11672         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11673         * java/util/HashMap.java (rehash): Add entry at start of bucket.
11674
11675 2004-05-05  Tom Tromey  <tromey@redhat.com>
11676
11677         * java/io/BufferedReader.java (skip): Removed unused
11678         variable.
11679
11680 2004-05-05  Michael Koch  <konqueror@gmx.de>
11681
11682         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11683
11684 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
11685
11686         * java/text/AttributedString.java,
11687         java/text/AttributedStringIterator.java,
11688         java/text/Collator.java,
11689         java/text/DecimalFormatSymbols.java,
11690         java/text/NumberFormat.java,
11691         java/text/RuleBasedCollator.java:
11692         Cleaned up imports.
11693
11694 2004-05-05  Tom Tromey  <tromey@redhat.com>
11695
11696         * java/text/Format.java: Cleaned up imports.
11697         * java/text/DecimalFormat.java: Cleaned up imports.
11698         * java/security/SecureRandom.java: Cleaned up imports.
11699         (SecureRandom): Removed unused variable.
11700         * java/security/UnresolvedPermission.java: Cleaned up imports.
11701         * java/util/Date.java (parse): Removed unused variable.
11702         * java/util/ResourceBundle.java: Cleaned up imports.
11703         (getBundle): Removed unused variable.
11704         (tryBundle): Likewise.
11705         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11706
11707 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11708
11709         * java/text/SimpleDateFormat.java:
11710         (formatWithAttribute): New method. It implements
11711         the formatting process with attributes.
11712         (format): Use formatWithAttribute.
11713         (formatToCharacterIterator): New method. Use
11714         formatWithAttribute.
11715
11716 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11717
11718         * java/text/MessageFormat.java:
11719         (class Field): New class.
11720         (formatToCharacterIterator): New method.
11721         (format): Use formatInternal now.
11722         (formatInternal): New method. String formatter should
11723         be done here (with attributes). Attributes merging supported.
11724         (parse): More documentation.
11725         (getFormatsByArgumentIndex): New method.
11726         (setFormatByArgumentIndex): New method.
11727         (setFormatsByArgumentIndex): New method.
11728
11729 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11730
11731         * java/text/DecimalFormat.java
11732         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11733         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11734         (parse): Fixed handling of exponentiation notation and grouping.
11735
11736 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
11737
11738         * java/text/DecimalFormat.java
11739         (scanFix): Build attribute array. Fixed error reporting.
11740         (applyPatternWithSymbols): Store attributes for the prefix and
11741         suffix.
11742         (formatInternal): New method. Changed the way the string is
11743         computed. Implemented attributes. Cleant up rounding in
11744         exponential notation.
11745         (format): Use formatInternal.
11746         (formatToCharacterIterator): New method.
11747         (exponentRound, negativePrefixRanges, positivePrefixRanges,
11748         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
11749         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
11750         New fields.
11751
11752 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
11753
11754         * java/security/interfaces/DSAKeyPairGenerator.java,
11755         java/security/interfaces/DSAPrivateKey.java,
11756         java/security/interfaces/DSAPublicKey.java,
11757         java/security/interfaces/RSAPrivateKey.java,
11758         java/security/interfaces/RSAPublicKey.java:
11759         Cleaned up imports.
11760
11761 2004-05-04  Michael Koch  <konqueror@gmx.de>
11762
11763         * java/nio/ByteBuffer.java,
11764         java/nio/CharBuffer.java,
11765         java/nio/DoubleBuffer.java,
11766         java/nio/FloatBuffer.java,
11767         java/nio/IntBuffer.java,
11768         java/nio/LongBuffer.java,
11769         java/nio/ShortBuffer.java:
11770         (compareTo): Fixed bogus implementation in all buffer classes.
11771
11772 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11773
11774         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
11775         32 bit pixels not 8 bit pixels.
11776         (isCompatibleRaster): Added javadoc comment.
11777
11778 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11779
11780         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
11781         scanline stride.
11782
11783 2004-05-04  Ingo Proetel  <proetel@aicas.com>
11784
11785         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
11786         (getColorModel): Return the actual color model.
11787         (getRaster): Implemented.
11788         (ColorRaster): New inner class.
11789         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
11790         a PaintContext.
11791         * java/awt/Color.java (<init>): Make exception more verbose.
11792         (createContext): Use ColorModel when creating a PaintContext.
11793
11794 2004-05-04  Michael Koch  <konqueror@gmx.de>
11795
11796         * gnu/java/text/CharacterBreakIterator.java
11797         (previous): Removed unused variable.
11798
11799 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
11800
11801         * gnu/java/text/FormatBuffer.java,
11802         gnu/java/text/AttributedFormatBuffer.java,
11803         gnu/java/text/StringFormatBuffer.java: New classes to implement
11804         attributed iterators in java.text.
11805         * gnu/java/text/FormatCharacterIterator.java: Moved 
11806         from java/text as it is an internal class.
11807         * java/text/FormatCharacterIterator.java: Removed.
11808         * java/text/Format.java:
11809         Import gnu.java.text.FormatCharacterIterator.
11810         * Makefile.am (java_source_files): Added new files.
11811         * Makefile.in: Regenerated.
11812         
11813
11814 2004-05-04  Mark Wielaard  <mark@klomp.org>
11815
11816         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
11817
11818 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
11819
11820         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
11821         * Makefile.in: Rebuilt.
11822
11823 2004-05-03  Mark Wielaard  <mark@klomp.org>
11824
11825         * gnu/java/security/der/DERReader.java: Call static methods staticly.
11826         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
11827         * java/net/URL.java
11828         (set(String, String, int, String, String, String, String, String)):
11829         Assign this.file to path or path + "?" + query.
11830         * java/util/Arrays.java: Call static methods staticly.
11831         * java/util/zip/ZipEntry.java: Likewise.
11832         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
11833         dir to this.direction.
11834         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
11835         Assign static field only once.
11836         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
11837
11838 2004-05-03  Mark Wielaard  <mark@klomp.org>
11839
11840         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
11841         unused variables hScrollbarHeight and vScrollbarWidth.
11842         (preferredSize): Likewise.
11843         * gnu/java/security/provider/DSAParameters.java (engineToString):
11844         Removed unused call to System.getProperty("line.seperator");
11845         * java/security/Security.java (loadProviders): Return result.
11846
11847 2004-05-03  Tom Tromey  <tromey@redhat.com>
11848
11849         * java/net/URLStreamHandler.java (toExternalForm): Removed
11850         unused variables.
11851         unused constructor.
11852         * java/math/BigDecimal.java (divide): Removed unused variable.
11853         * java/lang/Throwable.java: Cleaned up imports.
11854         * java/lang/ClassLoader.java: Cleaned up imports.
11855         * java/io/FilePermission.java (implies): Removed unused
11856         variable.
11857         * java/awt/TextComponent.java: Removed unused import.
11858         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
11859         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
11860         * gnu/java/text/WordBreakIterator.java: Removed unused import.
11861         * gnu/java/text/SentenceBreakIterator.java: Removed unused
11862         import.
11863         * gnu/java/text/LineBreakIterator.java: Removed unused import.
11864         * gnu/java/text/CharacterBreakIterator.java: Removed
11865         unused import.
11866         * gnu/java/security/provider/DSAKeyPairGenerator.java:
11867         Cleaned up imports.
11868         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
11869         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
11870         unused method.
11871         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
11872         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
11873         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
11874         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
11875         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
11876         (lookupProviders): Removed unused variable.
11877         (loadNextServiceProvider): Likewise.
11878         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
11879
11880 2004-05-03  Michael Koch  <konqueror@gmx.de>
11881
11882         Fixes PR libgcj/14695:
11883         * java/net/NetworkInterface.java
11884         (getByName): Return null when no interface was found.
11885
11886 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
11887             Tom Tromey  <tromey@redhat.com>
11888
11889         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
11890         additional option "-Wmissing-prototypes" for compiling C sources.
11891         Print actual filename for pass/fail rather than $name.c.
11892         * testsuite/libjava.jni/PR15133.java: New testcase file.
11893         * testsuite/libjava.jni/PR15133.c: Likewise.
11894         * testsuite/libjava.jni/PR15133.out: Likewise.
11895
11896 2004-04-30  Roger Sayle  <roger@eyesopen.com>
11897
11898         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
11899         ceil and floor.
11900
11901 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
11902         
11903         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
11904         limit the maximum heap size to avoid unnecessary thrashing.
11905
11906 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
11907
11908         * java/text/CollationElementIterator.java (reset): Reset
11909         lookahead variables.
11910
11911 2004-04-23  Mark Wielaard  <mark@klomp.org>
11912
11913         * jni/classpath/jcl.c: Changed C++ comments into C comments.
11914
11915 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11916
11917         * java/sql/DriverManager.java:
11918         Cleaned up imports.
11919
11920 2004-04-23  Michael Koch  <konqueror@gmx.de>
11921
11922         * java/net/URL.java
11923         (hashcode): Don't initialize with default value explicitely.
11924         (getContent): Removed redundant "final" keyword.
11925         (openStream): Likewise.
11926         (getURLStreamHandler): Fixed coding style.
11927         * java/net/URLConnection.java
11928         (defaultAllowUserInteraction): Don't initialize with default value
11929         explicitely.
11930         (connected): Likewise.
11931         (doOutput): Likewise.
11932         (ifModifiedSince): Likewise.
11933         (dateformats_initialized): Likewise.
11934         (setURLStreamHander): Use StreamTokenizer where it belongs to.
11935
11936 2004-04-23  Michael Koch  <konqueror@gmx.de>
11937
11938         * gnu/java/nio/channels/FileChannelImpl.java
11939         (SET, CUR): Unused, removed.
11940         (read): Implement here directly.
11941         (implRead): Removed.
11942         (write): Implement here directly.
11943         (implWrite): Removed.
11944
11945 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
11946
11947         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
11948         javax/rmi/CORBA/Stub.java,
11949         javax/rmi/CORBA/Util.java,
11950         javax/rmi/CORBA/ValueHandler.java,
11951         javax/rmi/CORBA/ValueHandler.java,
11952         javax/rmi/PortableRemoteObject.java:
11953         Cleaned up imports.
11954
11955 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11956
11957         * java/util/jar/JarFile.java,
11958         java/util/jar/JarInputStream.java,
11959         java/util/jar/JarOutputStream.java,
11960         java/util/jar/Manifest.java:
11961         Cleaned up imports.
11962
11963 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11964
11965         * java/util/ArrayList.java,
11966         java/util/Calendar.java,
11967         java/util/Currency.java,
11968         java/util/HashMap.java,
11969         java/util/HashSet.java,
11970         java/util/Hashtable.java,
11971         java/util/LinkedList.java,
11972         java/util/Properties.java,
11973         java/util/PropertyPermission.java,
11974         java/util/TimeZone.java,
11975         java/util/TreeMap.java,
11976         java/util/TreeSet.java,
11977         java/util/Vector.java,
11978         java/util/WeakHashMap.java:
11979         Cleaned up imports.
11980
11981 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
11982
11983         * java/util/logging/FileHandler.java,
11984         java/util/logging/Formatter.java,
11985         java/util/logging/Handler.java,
11986         java/util/logging/Logger.java,
11987         java/util/logging/SimpleFormatter.java,
11988         java/util/logging/XMLFormatter.java:
11989         Cleaned up imports.
11990
11991 2004-04-22  Mark Wielaard  <mark@klomp.org>
11992
11993         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
11994         -Wno-long-long flags variable.
11995         (gtk_c_files): Use PEDANTIC_CFLAGS.
11996         * Makefile.in: Regenerated.
11997
11998 2004-04-22  Mark Wielaard  <mark@klomp.org>
11999
12000         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12001         Changed C++ comments into C comments.
12002         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12003         Likewise.
12004
12005 2004-04-22  Michael Koch  <konqueror@gmx.de>
12006
12007         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12008         Merged copyright year with GNU classpath.
12009
12010 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12011
12012         * javax/security/auth/x500/X500Principal.java:
12013         Cleaned up imports.
12014
12015 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12016
12017         * javax/swing/JSlider.java:
12018         Fixed HTML tags in comments.
12019
12020 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12021
12022         * javax/accessibility/AccessibleText.java:
12023         Cleaned up imports.
12024
12025 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
12026
12027         * java/net/URLStreamHandler.java
12028         (parseURL): Convert the file path to using '/' instead of native
12029         file separator.
12030
12031 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
12032
12033         * java/net/URL.java
12034         (userInfo): New field.
12035         (URL): Set authority to the right value.
12036         (setURL): Fixed authority and file initialization.
12037         * java/net/URLStreamHandler.java
12038         (parseURL): Take care of the query tag. Build authority.
12039         (toExternalForm): Fixed URL building using authority.
12040
12041 2004-04-22  Michael Koch  <konqueror@gmx.de>
12042
12043         * java/net/Socket.java
12044         (impl): Made package-private.
12045         * java/net/ServerSocket.java
12046         (implAccept): Access Socket.impl field directly.
12047
12048 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12049
12050         * java/util/prefs/Preferences.java,
12051         java/util/prefs/InvalidPreferencesFormatException.java,
12052         java/util/prefs/BackingStoreException.java,
12053         java/util/prefs/AbstractPreferences.java:
12054         Cleaned up imports.
12055
12056 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12057
12058         * java/util/regex/Matcher.java,
12059         java/util/regex/Pattern.java:
12060         Cleaned up imports.
12061
12062 2004-04-22  Michael Koch  <konqueror@gmx.de>
12063
12064         * java/nio/charset/IllegalCharsetNameException.java
12065         (charsetName): Made private.
12066         (IllegalCharsetNameException): Added @param tag to javadoc.
12067         (getCharsetName): Added @return tag to javadoc.
12068         * java/nio/charset/MalformedInputException.java
12069         (MalformedInputException): Added @param tag to javadoc.
12070         (getInputLength): Revised method description, added @return tag.
12071         (getMessage): Added @return tag.
12072
12073 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
12074
12075         * java/awt/Font.java (deriveFont): Implement missing variants.
12076         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12077         missing variants.
12078
12079 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
12080
12081         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12082         Set method->index values for interface methods to their itable index.
12083         (initializeClass): Call _Jv_LayoutInterfaceMethods.
12084
12085 2004-04-21  Michael Koch  <konqueror@gmx.de>
12086
12087         * java/nio/DirectByteBufferImpl.java
12088         (shiftDown): Made static, give address as argument and
12089         provide a convenience method that overwrites shiftDown in
12090         ByteBufferImpl and calls the native shiftDown.
12091         * java/nio/MappedByteBufferImpl.java
12092         (): Use optimized method in DirectByteBufferImpl.
12093         * java/nio/natDirectByteBufferImpl.cc
12094         (shiftDown): Changed method signature. Removed usage of array_offset.
12095
12096 2004-04-21  Michael Koch  <konqueror@gmx.de>
12097
12098         * gnu/java/net/natPlainSocketImplPosix.cc
12099         (SocketInputStream::read): Make sure returned data is a byte value.
12100
12101 2004-04-21  Michael Koch  <konqueror@gmx.de>
12102
12103         * gnu/classpath/ServiceFactory.java,
12104         gnu/classpath/ServiceProviderLoadingAction.java,
12105         javax/imageio/ImageReader.java,
12106         javax/imageio/ImageTranscoder.java,
12107         javax/imageio/ImageWriter.java,
12108         javax/imageio/package.html,
12109         javax/imageio/spi/IIOServiceProvider.java,
12110         javax/imageio/spi/ImageInputStreamSpi.java,
12111         javax/imageio/spi/ImageOutputStreamSpi.java,
12112         javax/imageio/spi/ImageReaderWriterSpi.java,
12113         javax/imageio/spi/ImageTranscoderSpi.java,
12114         javax/imageio/spi/RegisterableService.java,
12115         javax/imageio/spi/ServiceRegistry.java,
12116         javax/imageio/spi/package.html,
12117         javax/imageio/stream/IIOByteBuffer.java,
12118         javax/imageio/stream/ImageInputStream.java,
12119         javax/imageio/stream/ImageOutputStream.java,
12120         javax/imageio/stream/package.html:
12121         New files.
12122         * Makefile.am
12123         (ordinary_java_source_files): Added
12124         gnu/classpath/ServiceFactory.java and
12125         gnu/classpath/ServiceProviderLoadingAction.java.
12126         (javax_source_files): Added
12127         javax/imageio/ImageReader.java,
12128         javax/imageio/ImageTranscoder.java,
12129         javax/imageio/ImageWriter.java,
12130         javax/imageio/spi/IIOServiceProvider.java,
12131         javax/imageio/spi/ImageInputStreamSpi.java,
12132         javax/imageio/spi/ImageOutputStreamSpi.java,
12133         javax/imageio/spi/ImageReaderWriterSpi.java,
12134         javax/imageio/spi/ImageTranscoderSpi.java,
12135         javax/imageio/spi/RegisterableService.java,
12136         javax/imageio/spi/ServiceRegistry.java,
12137         javax/imageio/stream/IIOByteBuffer.java,
12138         javax/imageio/stream/ImageInputStream.java and
12139         javax/imageio/stream/ImageOutputStream.java.
12140         * Makefile.in: Regenerated.
12141
12142 2004-04-21  Michael Koch  <konqueror@gmx.de>
12143
12144         * java/util/Properties.java
12145         (load): Fix wrongly merged fix.
12146
12147 2004-04-21  Mark Wielaard  <mark@klomp.org>
12148
12149         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12150         malloc and free buf.
12151
12152 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
12153
12154         * javax/naming/AuthenticationException.java,
12155         javax/naming/AuthenticationNotSupportedException.java,
12156         javax/naming/CannotProceedException.java,
12157         javax/naming/CommunicationException.java,
12158         javax/naming/CompoundName.java,
12159         javax/naming/ConfigurationException.java,
12160         javax/naming/ContextNotEmptyException.java,
12161         javax/naming/InitialContext.java,
12162         javax/naming/InsufficientResourcesException.java,
12163         javax/naming/InterruptedNamingException.java,
12164         javax/naming/LimitExceededException.java,
12165         javax/naming/LinkException.java,
12166         javax/naming/LinkLoopException.java,
12167         javax/naming/LinkRef.java,
12168         javax/naming/MalformedLinkException.java,
12169         javax/naming/Name.java,
12170         javax/naming/NameAlreadyBoundException.java,
12171         javax/naming/NameNotFoundException.java,
12172         javax/naming/NamingSecurityException.java,
12173         javax/naming/NoInitialContextException.java,
12174         javax/naming/NoPermissionException.java,
12175         javax/naming/NotContextException.java,
12176         javax/naming/PartialResultException.java,
12177         javax/naming/ReferralException.java,
12178         javax/naming/ServiceUnavailableException.java,
12179         javax/naming/SizeLimitExceededException.java,
12180         javax/naming/TimeLimitExceededException.java,
12181         javax/naming/directory/Attribute.java,
12182         javax/naming/directory/Attributes.java,
12183         javax/naming/directory/SearchResult.java,
12184         javax/naming/event/NamingExceptionEvent.java,
12185         javax/naming/spi/ResolveResult.java:
12186         Cleaned up imports.
12187
12188 2004-04-21  Mark Wielaard  <mark@klomp.org>
12189
12190         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12191         Changed C++ comments into C comments. Removed commented out code.
12192         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12193         Likewise.
12194         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12195         Likewise.
12196         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12197         Likewise.
12198         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12199         Likewise.
12200         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12201         Likewise.
12202         * native/jni/gtk-peer/gthread-jni.c:
12203         Likewise.
12204
12205 2004-04-21  Mark Wielaard  <mark@klomp.org>
12206
12207         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12208         static fields defined in interface.
12209         * javax/awt/JDialog.java: Likewise.
12210         (JDialog): Make constructors public.
12211         (getDefaultCloseOperation): Make public.
12212         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12213         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12214         * javax/swing/JViewport.java (JViewport): Make constructor public.
12215
12216 2004-04-21  Michael Koch  <konqueror@gmx.de>
12217
12218         * java/util/Map.java
12219         (Entry): Removed redundant "static" modifier.
12220         * java/text/AttributedCharacterIterator.java:
12221         Updated copyright year.
12222
12223 2004-04-20  Michael Koch  <konqueror@gmx.de>
12224
12225         * javax/naming/directory/SearchControls.java:
12226         Don't explicitely extend java.lang.Object.
12227         * javax/naming/spi/DirStateFactory.java:
12228         Merged copyright year with GNU classpath.
12229
12230 2004-04-20  Michael Koch  <konqueror@gmx.de>
12231
12232         * java/nio/channels/Channels.java:
12233         Merged coding style with GNU classpath.
12234
12235 2004-04-20  Michael Koch  <konqueror@gmx.de>
12236
12237         * java/net/ServerSocket.java
12238         Merged coding style from GNU classpath.
12239
12240 2004-04-20  Michael Koch  <konqueror@gmx.de>
12241
12242         * java/io/BufferedWriter.java:
12243         Reordered variables to be at top of the class.
12244         (localFlush): Removed redundant final keyword.
12245
12246 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12247
12248         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
12249
12250 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12251
12252         * java/text/DecimalFormat.java (scanFix): Removed suffix check
12253         for percent and permill check.
12254
12255 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12256
12257         * java/text/FieldPosition.java
12258         (FieldPosition) Constructor now behaves as it should according
12259         to the java documentation.
12260
12261 2004-04-20  Mark Wielaard  <mark@klomp.org>
12262
12263         * java/util/Properties.java: Use the word umlaut, not &auml; in api
12264         documentation.
12265
12266 2004-04-20  Michael Koch  <konqueror@gmx.de>
12267
12268         * java/nio/Buffer.java,
12269         java/nio/channels/AlreadyConnectedException.java,
12270         java/nio/channels/AsynchronousCloseException.java,
12271         java/nio/channels/ByteChannel.java,
12272         java/nio/channels/CancelledKeyException.java,
12273         java/nio/channels/Channel.java,
12274         java/nio/channels/Channels.java,
12275         java/nio/channels/ClosedByInterruptException.java,
12276         java/nio/channels/ClosedChannelException.java,
12277         java/nio/channels/ClosedSelectorException.java,
12278         java/nio/channels/ConnectionPendingException.java,
12279         java/nio/channels/DatagramChannel.java,
12280         java/nio/channels/FileChannel.java,
12281         java/nio/channels/FileLock.java,
12282         java/nio/channels/FileLockInterruptionException.java,
12283         java/nio/channels/GatheringByteChannel.java,
12284         java/nio/channels/IllegalBlockingModeException.java,
12285         java/nio/channels/IllegalSelectorException.java,
12286         java/nio/channels/InterruptibleChannel.java,
12287         java/nio/channels/NoConnectionPendingException.java,
12288         java/nio/channels/NonReadableChannelException.java,
12289         java/nio/channels/NonWritableChannelException.java,
12290         java/nio/channels/NotYetBoundException.java,
12291         java/nio/channels/NotYetConnectedException.java,
12292         java/nio/channels/OverlappingFileLockException.java,
12293         java/nio/channels/Pipe.java,
12294         java/nio/channels/ReadableByteChannel.java,
12295         java/nio/channels/ScatteringByteChannel.java,
12296         java/nio/channels/SelectableChannel.java,
12297         java/nio/channels/SelectionKey.java,
12298         java/nio/channels/Selector.java,
12299         java/nio/channels/ServerSocketChannel.java,
12300         java/nio/channels/SocketChannel.java,
12301         java/nio/channels/UnresolvedAddressException.java,
12302         java/nio/channels/UnsupportedAddressTypeException.java,
12303         java/nio/channels/WritableByteChannel.java,
12304         java/nio/channels/spi/AbstractInterruptibleChannel.java,
12305         java/nio/channels/spi/AbstractSelectableChannel.java,
12306         java/nio/channels/spi/AbstractSelectionKey.java,
12307         java/nio/channels/spi/AbstractSelector.java,
12308         java/nio/channels/spi/SelectorProvider.java,
12309         java/nio/charset/spi/CharsetProvider.java:
12310         Fixed javadocs and jalopied all over java.nio.
12311
12312 2004-04-20  Michael Koch  <konqueror@gmx.de>
12313
12314         * java/nio/ByteBufferImpl.java,
12315         java/nio/CharBufferImpl.java,
12316         java/nio/DirectByteBufferImpl.java,
12317         java/nio/DoubleBufferImpl.java,
12318         java/nio/DoubleViewBufferImpl.java,
12319         java/nio/FloatBufferImpl.java,
12320         java/nio/FloatViewBufferImpl.java,
12321         java/nio/IntBufferImpl.java,
12322         java/nio/IntViewBufferImpl.java,
12323         java/nio/LongBufferImpl.java,
12324         java/nio/LongViewBufferImpl.java,
12325         java/nio/MappedByteBufferImpl.java,
12326         java/nio/ShortBufferImpl.java,
12327         java/nio/ShortViewBufferImpl.java:
12328         Made sure all classes are final and removed final keyword from all
12329         methods.
12330
12331 2004-04-20  Michael Koch  <konqueror@gmx.de>
12332
12333         * java/rmi/MarshalledObject.java,
12334         java/rmi/Naming.java,
12335         java/rmi/RemoteException.java,
12336         java/rmi/activation/ActivationException.java,
12337         java/rmi/server/ServerCloneException.java,
12338         java/security/AccessController.java,
12339         java/security/AlgorithmParameterGenerator.java,
12340         java/security/AlgorithmParameters.java,
12341         java/security/CodeSource.java,
12342         java/security/Identity.java,
12343         java/security/IdentityScope.java,
12344         java/security/KeyPairGenerator.java,
12345         java/security/KeyStore.java,
12346         java/security/Security.java,
12347         java/security/Signature.java,
12348         java/security/SignatureSpi.java,
12349         java/security/SignedObject.java,
12350         java/security/spec/DSAParameterSpec.java,
12351         java/security/spec/DSAPrivateKeySpec.java,
12352         java/security/spec/DSAPublicKeySpec.java,
12353         java/sql/Array.java,
12354         java/sql/DatabaseMetaData.java,
12355         java/sql/ResultSet.java,
12356         java/text/ChoiceFormat.java,
12357         java/text/CollationElementIterator.java,
12358         java/text/CollationKey.java,
12359         java/text/Collator.java,
12360         java/text/DateFormat.java,
12361         java/text/DateFormatSymbols.java,
12362         java/text/DecimalFormatSymbols.java,
12363         java/text/Format.java,
12364         java/text/ParsePosition.java,
12365         java/text/RuleBasedCollator.java,
12366         java/text/SimpleDateFormat.java,
12367         java/text/StringCharacterIterator.java,
12368         java/util/Collections.java,
12369         java/util/PropertyResourceBundle.java,
12370         java/util/ResourceBundle.java,
12371         java/util/StringTokenizer.java,
12372         java/util/jar/Attributes.java,
12373         java/util/logging/ConsoleHandler.java,
12374         java/util/logging/LogManager.java,
12375         java/util/logging/MemoryHandler.java,
12376         java/util/logging/SocketHandler.java,
12377         javax/naming/NamingException.java:
12378         Fixed javadoc, coding style and argument names all over.
12379
12380 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
12381
12382         * java/io/FileDescriptor.java: (FileDescriptor) Added public
12383         constructor. (valid) Added null check.
12384
12385 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
12386
12387         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12388         * java/io/FileOutputStream.java
12389         (FileOutputStream) Reorganized constructors. Constructors now
12390         check whether the given path is directory.
12391
12392 2004-04-20  Michael Koch  <konqueror@gmx.de>
12393
12394         * java/net/Authenticator.java,
12395         java/net/BindException.java,
12396         java/net/ConnectException.java,
12397         java/net/ContentHandler.java,
12398         java/net/ContentHandlerFactory.java,
12399         java/net/DatagramPacket.java,
12400         java/net/DatagramSocket.java,
12401         java/net/DatagramSocketImpl.java,
12402         java/net/DatagramSocketImplFactory.java,
12403         java/net/FileNameMap.java,
12404         java/net/HttpURLConnection.java,
12405         java/net/Inet4Address.java,
12406         java/net/Inet6Address.java,
12407         java/net/InetAddress.java,
12408         java/net/InetSocketAddress.java,
12409         java/net/JarURLConnection.java,
12410         java/net/MalformedURLException.java,
12411         java/net/MulticastSocket.java,
12412         java/net/NetPermission.java,
12413         java/net/NetworkInterface.java,
12414         java/net/NoRouteToHostException.java,
12415         java/net/PasswordAuthentication.java,
12416         java/net/PortUnreachableException.java,
12417         java/net/ProtocolException.java,
12418         java/net/ServerSocket.java,
12419         java/net/Socket.java,
12420         java/net/SocketAddress.java,
12421         java/net/SocketException.java,
12422         java/net/SocketImpl.java,
12423         java/net/SocketImplFactory.java,
12424         java/net/SocketOptions.java,
12425         java/net/SocketPermission.java,
12426         java/net/SocketTimeoutException.java,
12427         java/net/URI.java,
12428         java/net/URISyntaxException.java,
12429         java/net/URL.java,
12430         java/net/URLClassLoader.java,
12431         java/net/URLConnection.java,
12432         java/net/URLDecoder.java,
12433         java/net/URLEncoder.java,
12434         java/net/URLStreamHandler.java,
12435         java/net/URLStreamHandlerFactory.java,
12436         java/net/UnknownHostException.java,
12437         java/net/UnknownServiceException.java:
12438         Fixed javadocs, coding style and argument names all over.
12439
12440 2004-04-20  Michael Koch  <konqueror@gmx.de>
12441
12442         * java/lang/Byte.java,
12443         java/lang/CharSequence.java,
12444         java/lang/ClassLoader.java,
12445         java/lang/Compiler.java,
12446         java/lang/Double.java,
12447         java/lang/Float.java,
12448         java/lang/Integer.java,
12449         java/lang/Long.java,
12450         java/lang/Math.java,
12451         java/lang/Number.java,
12452         java/lang/Package.java,
12453         java/lang/Runtime.java,
12454         java/lang/RuntimePermission.java,
12455         java/lang/SecurityManager.java,
12456         java/lang/Short.java,
12457         java/lang/StringBuffer.java,
12458         java/lang/System.java,
12459         java/lang/ThreadGroup.java,
12460         java/lang/Throwable.java,
12461         java/lang/reflect/InvocationHandler.java,
12462         java/lang/reflect/Proxy.java:
12463         Fixed javadocs, coding style and argument names all over.
12464
12465 2004-04-20  Michael Koch  <konqueror@gmx.de>
12466
12467         * java/io/BufferedWriter.java,
12468         java/io/ByteArrayInputStream.java,
12469         java/io/CharArrayWriter.java,
12470         java/io/DataInput.java,
12471         java/io/DataInputStream.java,
12472         java/io/File.java,
12473         java/io/FilterInputStream.java,
12474         java/io/InputStream.java,
12475         java/io/InputStreamReader.java,
12476         java/io/ObjectInputStream.java,
12477         java/io/ObjectStreamClass.java,
12478         java/io/PipedInputStream.java,
12479         java/io/PipedReader.java,
12480         java/io/PushbackInputStream.java,
12481         java/io/PushbackReader.java,
12482         java/io/RandomAccessFile.java,
12483         java/io/SerializablePermission.java,
12484         java/io/StreamTokenizer.java,
12485         java/io/StringWriter.java,
12486         java/io/WriteAbortedException.java,
12487         java/io/Writer.java:
12488         Fixed javadocs all over, rename arguments to match javadocs,
12489         fixed coding style.
12490
12491 2004-04-20  Ingo Proetel  <proetel@aicas.com>
12492
12493         * java/awt/FontMetrics.java:
12494         (charsWidth): fixed accumulation of total_width
12495         (getWidth): simple default implementation
12496         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12497         in Rectangle constructor.
12498         * java/awt/image/Raster.java (toString): Added method. 
12499         * java/awt/image/SampleModel.java (<init>): Added error cause
12500         information to thrown exception.
12501         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12502         New method.
12503         (setDataElements): New method.
12504         (setPixels): New method.
12505         (toString): New method.
12506
12507 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12508
12509         * java/awt/image/ComponentColorModel.java
12510         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12511         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12512         Mauve tests on this method. Improved documentation.
12513
12514 2004-04-20  Michael Koch  <konqueror@gmx.de>
12515
12516         * javax/swing/JLayeredPane.java,
12517         javax/swing/plaf/BorderUIResource.java,
12518         javax/swing/plaf/ComponentUI.java,
12519         javax/swing/undo/CompoundEdit.java,
12520         javax/swing/undo/StateEdit.java:
12521         Fixed HTML tags in javadocs all over.
12522
12523 2004-04-20  Michael Koch  <konqueror@gmx.de>
12524
12525         * javax/print/attribute/EnumSyntax.java
12526         (getOffset): Made protected.
12527         * javax/print/attribute/HashAttributeSet.java
12528         (HashAttributeSet): Likewise.
12529         * javax/print/attribute/ResolutionSyntax.java
12530         (getFeedResolution): Fixed typo in exception name.
12531         (getCrossFeedResolution): Likewise.
12532         * javax/print/attribute/SetOfIntegerSyntax.java
12533         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12534         * javax/print/attribute/TextSyntax.java
12535         (TextSyntax): Handle locale correctly.
12536         (hashCode): Calc better hashcode value.
12537         (equals): Fixed @return tag.
12538         (toString): New method.
12539
12540 2004-04-20  Michael Koch  <konqueror@gmx.de>
12541
12542         * gnu/java/nio/FileLockImpl.java
12543         (static): Removed, not needed anymore.
12544         * gnu/java/nio/channels/FileChannelImpl.java
12545         (FileChannelImpl): Made final.
12546         (mode): Made private.
12547         (READ, WRITE, APPEND): Made public.
12548         (EXCL, SYNC, DSYNC): Likewise.
12549         (static): Load native JNI library, when needed.
12550         (length): Unused, removed.
12551         (available): Made public.
12552         (implPosition): Throws IOException.
12553         (seek): Likewise.
12554         (implTruncate): Likewise.
12555         (unlock): Likewise.
12556         (lock): Likewise.
12557
12558 2004-04-20  Michael Koch  <konqueror@gmx.de>
12559
12560         * java/awt/AWTPermission.java,
12561         java/awt/Component.java,
12562         java/awt/ComponentOrientation.java,,
12563         java/awt/Dialog.java,
12564         java/awt/FontMetrics.java,
12565         java/awt/Graphics.java,
12566         java/awt/datatransfer/DataFlavor.java,
12567         java/beans/Introspector.java,
12568         java/beans/PropertyEditor.java,
12569         java/beans/PropertyEditorManager.java,
12570         java/beans/beancontext/BeanContextServiceProvider.java:
12571         Fixed HTML tags in javadocs all over.
12572
12573 2004-04-20  Mark Wielaard  <mark@klomp.org>
12574
12575         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12576         MissingResourceException is thrown.
12577         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12578         null when a MissingResourceException is thrown. Should never happen.
12579
12580 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
12581
12582         * java/awt/image/DataBufferShort.java,
12583         java/awt/image/DataBufferFloat.java,
12584         java/awt/image/DataBufferDouble.java,
12585         java/awt/image/PixelInterleavedSampleModel.java: New files.
12586         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12587         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12588
12589 2004-04-20  Michael Koch  <konqueror@gmx.de>
12590
12591         * Makefile.am (java_source_files): Added
12592         java/awt/image/DataBufferDouble.java,
12593         java/awt/image/DataBufferFloat.java,
12594         java/awt/image/DataBufferShort.java and
12595         java/awt/image/PixelInterleavedSampleModel.java.
12596         * Makefile.in: Regenerated.
12597
12598 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
12599  
12600         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
12601         undocumented CNI calls.
12602         * include/java-interp.h (_Jv_InterpClass): No longer
12603         extends java.lang.Class.
12604         * java/lang/Class.h (Class): Add new field `aux_info'.
12605         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12606         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12607         Use Class->aux_info instead.
12608         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12609         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12610         Use Class->aux_info instead.
12611         * java/io/natObjectInputStream.cc (allocateObject): Use
12612         _Jv_AllocObject.
12613         * java/lang/natClass.cc (newInstance): Likewise.
12614         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12615         * java/lang/natObject.cc (clone): Likewise.
12616         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12617         * java/lang/natVMClassLoader.cc (defineClass): Don't use
12618         JvAllocObject. Allocate klass->aux_info here for interpreted
12619         class.
12620         
12621 2004-04-17  Mark Wielaard  <mark@klomp.org>
12622
12623         * javax/swing/JToggleButton.java (ToggleButtonModel):
12624         Make public static inner class.
12625         * javax/swing/JTabbedPane.java (setComponentAt):
12626         Call Page.setComponent().
12627         (SCROLL_TAB_LAYOUT): Make public, value is 1.
12628         (WRAP_TAB_LAYOUT): Make public, value is 0.
12629         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12630         Make private static inner class.
12631
12632 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
12633
12634         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12635         arguments to match new signature. Remove FIXME comments.
12636
12637 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
12638
12639         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12640         Remove method.
12641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12642         unused code.
12643
12644 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
12645
12646         * Makefile.am: Added new file.
12647         * Makefile.in: Regenerate.
12648         * javax/swing/ImageIcon.java: 
12649         (ImageIcon(file)): set description of the icon 
12650         to the file name
12651         * javax/swing/JCheckBoxMenuItem.java:
12652         Mostly Implemented. Work in progress.
12653         * javax/swing/JRadioButtonMenuItem.java:
12654         Reimplement constructors to use JToggleButtonModel.
12655         * javax/swing/plaf/basic/BasicIconFactory.java:
12656         (getCheckBoxMenuItemIcon): return check box
12657         icon.
12658         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12659         paint menu item selected only when it is armed and 
12660         pressed. 
12661  
12662 2004-04-02  David Jee  <djee@redhat.com>
12663
12664         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12665         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12666         * java/awt/Component.java
12667         (add): Set the parent of the popup as this component.
12668         * java/awt/PopupMenu.java
12669         (addNotify): Create popup menu when peer is null.
12670         (show): Call addNotify() if peer is null.
12671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12672         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12673         argument for gtk_menu_popup() as zero. This causes the popup menu to
12674         respond to any mouse button.
12675
12676 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
12677
12678         * Makefile.am: Added new file.
12679         * Makefile.in: Regenerate.
12680         * javax/swing/JRadioButtonMenuItem.java:
12681         Implemented.
12682         * javax/swing/plaf/basic/BasicIconFactory.java:
12683         (getRadioButtonMenuItemIcon): Return
12684         radio button icon.
12685         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12686         (getPreferredSize): Add size of checkIcon if it
12687         exists.
12688         (installDefaults): Don't initialize checkIcon.
12689         It's value will be set in subclasses. 
12690         (uninstallDefaults): remove uninstallation of 
12691         checkIcon.
12692         (paint): Moved code to paintMenuItem().
12693         (paintMenuItem): Implemented.
12694         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12695         UI delegate for JRadioButtonMenuItem.
12696         
12697 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12698
12699         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12700         Corrected position of the accelerator.
12701
12702 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
12703
12704         * Makefile.am: Added new file. 
12705         * Makefile.in: Regenerate.
12706         * javax/swing/JMenuItem.java: Partly 
12707         implemented. Work in progress
12708         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12709         Changed default value of acceleratorDelimiter.
12710         * javax/swing/plaf/basic/BasicMenuItemUI.java:
12711         New class. Partly implemented.
12712                 
12713 2004-03-26  Mark Wielaard  <mark@klomp.org>
12714
12715         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12716         (item_activate): Declare label before use.
12717         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12718         (gtkSetFont): Removed unused variable label.
12719         (addExposeFilter): Declare variables before use.
12720         (removeExposeFilter): Likewise.
12721         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12722         (ok_clicked): Declare str_fileName before use.
12723
12724 2004-03-26  David Jee  <djee@redhat.com>
12725
12726         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12727         (addSeparator): Remove.
12728         * java/awt/Menu.java
12729         (separator): Remove static final MenuItem field.
12730         (separatorLabel): New static final String field.
12731         (addSeparator): Do not use peer method; use add(MenuItem) instead.
12732         Use separatorLabel to denote that it is a separator.
12733         (insertSeparator): Create a new MenuItem with separatorLabel, instead
12734         of reusing the static separator instance, because a MenuItem instance
12735         can't be added more than once without being cloned.
12736         * java/awt/peer/MenuPeer.java
12737         (addSeparator): Remove from interface.
12738
12739 2004-03-26  David Jee  <djee@redhat.com>
12740
12741         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12742         (connectSignals): New native method declaration.
12743         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12744         * java/awt/MenuItem.java
12745         (getActionCommand): Return the label if the action command is not set.
12746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12747         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
12748         gtk_menu_shell_append().
12749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
12750         (item_activate): Fix argument type.
12751         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
12752         signal here.
12753         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
12754         method.
12755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12756         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
12757         given. Add the menu widget's top-level GtkWindow to the global window
12758         group, so it can grab the pointer.
12759         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
12760         gtk_menu_shell_append().
12761
12762 2004-03-23  Graydon Hoare  <graydon@redhat.com>
12763
12764         * java/text/AttributedString.java 
12765         (addAttribute): Fix off-by-one.
12766         (getIterator): Likewise.        
12767         * java/text/AttributedStringIterator.java 
12768         (getRunLimit): Correct logic.
12769         (getRunStart): Likewise.
12770         (getAttribute): Fix inequality.
12771         (getAttributes): Likewise.
12772         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
12773
12774 2004-03-23  Kim Ho  <kho@redhat.com>
12775
12776         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12777         (calculateSizes): Return real width and height.
12778
12779 2004-03-23  Kim Ho  <kho@redhat.com>
12780
12781         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12782         (calculateTabRects): Set the selectedRun before
12783         trying to rotate tabs.
12784
12785 2004-03-23  Kim Ho  <kho@redhat.com>
12786
12787         * Makefile.am: New file
12788         * Makefile.in: Regenerate
12789         * java/awt/Graphics.java: (drawRect):
12790         Draw to the correct point.
12791         * javax/swing/DefaultSingleSelectionModel.java
12792         (isSelected): Return true if the selected index
12793         is not -1.
12794         * javax/swing/JLabel.java: Do not change mnemonic
12795         index if text is null.
12796         * javax/swing/JProgressBar.java: Use JComponent's
12797         EventListenerList.
12798         * javax/swing/JScrollBar.java: Ditto.
12799         * javax/swing/JSlider.java: Ditto.
12800         * javax/swing/JTabbedPane.java: Reimplement.
12801         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12802         Add defaults for TabbedPane.
12803         * javax/swing/plaf/basic/BasicArrowButton.java:
12804         Implement
12805         * javax/swing/plaf/basic/BasicProgressBarUI.java:
12806         (paintDeterminate): Don't paint String if it's
12807         empty.
12808         (paintIndeterminate): ditto.
12809         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12810         Reimplement.
12811
12812 2004-03-19  Michael Koch  <konqueror@gmx.de>
12813
12814         * java/awt/image/AffineTransformOp.java
12815         (AffineTransformOp): Made public.
12816         * javax/swing/JComponent.java
12817         (listenerList): Made protected.
12818         (accessibleContext): Likewise.
12819         * javax/swing/JList.java
12820         (valueChanged): Dont use internal fields of ListSelectionEvent.
12821         * javax/swing/JViewport.java
12822         (getView): Dont use internal fields of Component.
12823         (addImpl): Likewise.
12824         * javax/swing/Timer.java
12825         (isRunning): Made public.
12826         (start): Likewise.
12827         (stop): Likewise.
12828         * javax/swing/UIDefaults.java
12829         (getInt): Made public.
12830         * javax/swing/plaf/basic/BasicListUI.java
12831         (mousePressed): Dont use internal fields of MouseEvent.
12832         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
12833         * javax/swing/plaf/basic/BasicScrollBarUI.java
12834         (arrowIcon): Made static.
12835         * javax/swing/plaf/basic/BasicViewportUI.java
12836         (stateChanged): Dont use internal field on ChangeEvent.
12837         * javax/swing/text/JTextComponent.java
12838         (getUI): Call UIManager.getUI().
12839         (updateUI): Use getUI().
12840
12841 2004-03-19  Graydon Hoare  <graydon@redhat.com>
12842
12843         * javax/swing/JComponent.java: Turn off double buffer by default.
12844         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
12845         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
12846         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
12847         Use cairo to copy areas.
12848         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
12849         Initialize and set clip region.
12850
12851 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
12852
12853         * java/applet/Applet.java (preferredSize): Override deprecated
12854         variant of getPreferredSize.
12855         (minimumSize): Override deprecated variant of getMinimumSize.
12856
12857 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
12858
12859         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12860         (drawImage(img,xform,bgcolor,obs)): New Method.
12861         Helper function that every drawImage method will
12862         use.
12863         (drawRaster): Added new parameter, bgcolor. All
12864         transparent pixels are changed to bgcolor before 
12865         image is drawn.
12866         (drawRenderedImage): Fixed to use changed drawRaster().
12867         (drawImage(image,xform,obs): Fixed to use new helper function 
12868         (drawImage(image,op,x,y)): Ditto.
12869         (drawImage (img,x,y,observer)): Ditto.
12870         ((PainterThread) bgcolor): New Field.
12871         ((PainterThread) (setPixels)): Changed all transparent pixels 
12872         to bgcolor.     
12873         (drawImage(img,x,y,width,height,bgcolor,observer)): 
12874         Fixed FIXME - all the transparent pixels are 
12875         changed to the specified bgcolor. 
12876         (drawImage(img, x, y, width, height, observer): Changed to 
12877         use function above.
12878         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
12879         Fixed FIXME- changed all transparent pixels to bgcolor.
12880         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
12881         Changed to use function above. 
12882
12883 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
12884
12885         * java/applet/Applet.java (dimensions): New field.
12886         (getDimensions): New method.
12887         (getPreferredSize): Call getDimensions.
12888         (getMinimumSize): Likewise.
12889
12890 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12891
12892         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
12893         * jni/classpath/jnilink.c: Likewise.
12894
12895         * java/applet/Applet.java (getPreferredSize): New method.
12896         (getMinimumSize): New method.
12897
12898 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
12899
12900         * prims.cc (_Jv_AllocObject): Remove `size' argument.
12901         (_Jv_AllocObjectNoFinalizer): Likewise.
12902         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
12903         (_Jv_AllocPtrFreeObject): Likewise.
12904         (_Jv_AllocString): Moved from natString.cc. Call collector interface
12905         directly even in the JVMPI case.        
12906         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
12907         _Jv_AllocObject calls.
12908         * gcj/javaprims.h: Update prototypes.
12909         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
12910         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
12911         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
12912
12913 2004-04-14  Andrew Haley  <aph@redhat.com>
12914             Bryce McKinlay  <mckinlay@redhat.com>
12915
12916         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
12917         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
12918         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
12919
12920         * testsuite/libjava.lang/InvokeInterface.java: New file.
12921         * testsuite/libjava.lang/InvokeInterface.out: New file.
12922
12923 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
12924         
12925         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
12926         modified lookup().
12927         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
12928         StackTraceElement directly.
12929         (newElement): New native helper method to create StackTraceElement
12930         bypassing Java access control.
12931         (createStackTraceElement): Use newElement() instead of directly
12932         calling StackTraceElement's constructor.
12933         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
12934
12935 2004-04-01  Michael Koch  <konqueror@gmx.de>
12936
12937         * java/lang/SecurityManager.java
12938         (checkAwtEventQueueAccess): Implemented.
12939
12940 2004-04-01  Gary Benson  <gbenson@redhat.com>
12941
12942         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
12943         (_Jv_SearchMethodInClass): Likewise.
12944
12945 2004-03-26  Peter Moon  <peterm@miraculum.com>
12946
12947         * java/text/NumberFormat.java: Fix spelling of setCurrency
12948         method.
12949
12950 2004-03-21  Anthony Green  <green@redhat.com>
12951
12952         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
12953         recursion when searching for the system ClassLoader.
12954
12955 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
12956
12957         * java/net/ServerSocket.java
12958         (accept): Close the socket when error occured.
12959
12960 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
12961
12962         * java/net/URI.java (parseURI): Added unquoting.
12963         (unquote): New method.
12964         (quoteAuthority): Implemented.
12965         (quote(String,String)): New method.
12966         (quotePath): Implemented.
12967         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
12968         (getSchemeSpecificPart): Removed FIXME comment.
12969         (getRawAuthority): Return new rawAuthority field.
12970         (getAuthority): Removed FIXME comment.
12971         (getRawUserInfo): Return new rawUserInfo field.
12972         (getUserInfo): Removed FIXME comment.
12973         (getRawPath): Return new rawPath field.
12974         (getPath): Removed FIXME comment.
12975         (getRawQuery): Return new rawQuery field.
12976         (getQuery): Removed FIXME comment.
12977         (getRawFragment): Return new rawFragment field.
12978         (getFragment): Removed FIXME comment.
12979
12980 2004-03-20  Michael Koch  <konqueror@gmx.de>
12981
12982         * java/net/URLConnection.java: Merged copyright year with classpath.
12983
12984 2004-03-20  Norbert Frese  <postfach@nfrese.net>
12985
12986         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
12987         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
12988         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
12989         rmi-message.
12990         (getObjectInputStream): Return object reference, throw IOException if null.
12991         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
12992         (getObjectOutputStream): Return object reference, throw IOException if null.
12993         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
12994         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
12995         (UnicastConnectionManager): Throw RemoteException if port is not available.
12996         (getInstance): Throw RemoteException.
12997         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
12998         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
12999         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13000         Collect Exceptions which are returned by a rmi-call and fix void returns.
13001         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13002         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13003         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13004         (dispatch): Answer ping messages which are sent by other java implementions.
13005         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13006         for every rmi-message and fix void return problems.
13007         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13008         (UnicastServerRef): Throw RemoteException.
13009         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13010         In some situations it is necessary to export a subclass of the class which has the _Stub.
13011         For instance when the class with has the _Stub is abstract.
13012         (findStubSkelClass): New method which looks for the class which has the _Stub.
13013         (getClientHost): Implementated.
13014         * gcc/libjava/java/rmi/server/RemoteServer.java
13015         (getClientHost): Implementated.
13016         * gcc/libjava/Makefile.am (rmi_java_source_files):
13017         Added gnu/java/rmi/server/RMIIncomingThread.java.
13018         * Makefile.in: Regenerated.
13019
13020 2004-03-20  Michael Koch  <konqueror@gmx.de>
13021
13022         * java/net/InetAddress.java
13023         (getLocalHostname): Added javadoc.
13024
13025 2004-03-19  Per Bothner  <per@bothner.com>
13026
13027         * configure.in: FILE variable  overrides FLATFORM when linking
13028         natFileChannelXXX.cc.
13029
13030         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
13031         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
13032
13033 2004-03-19  Per Bothner  <per@bothner.com>
13034
13035         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
13036         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
13037         * Makefile.am:  Update accordingly.
13038         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
13039         as aliases for UnicodeLittle and UnicodeBig.
13040
13041 2004-03-20  Mark Wielaard  <mark@klomp.org>
13042
13043         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13044         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13045         Don't access ws when it is null.
13046         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13047         Likewise.
13048
13049 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
13050
13051         * java/lang/ThreadGroup.java (list): Changed print to println.
13052
13053 2004-03-19  Mark Wielaard  <mark@klomp.org>
13054
13055         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
13056         happy.
13057
13058 2004-02-10  Randolph Chung  <tausq@debian.org>
13059  
13060         * configure.in: Build java for hppa target.
13061         * configure: Regenerate.
13062         * libjava/configure.host (hppa-*): Add target.
13063         * libjava/sysdeps/pa/lock.h: New file.
13064
13065 2004-03-19  Mark Wielaard  <mark@klomp.org>
13066
13067         Reported by Stephen Crawley
13068         * java/io/FilePermission.java (implies): Use String.length() -1 to
13069         access last char of String.
13070
13071 2004-03-19  Michael Koch  <konqueror@gmx.de>
13072
13073         * java/awt/image/AffineTransformOp.java
13074         (AffineTransformOp): Made public.
13075         * javax/swing/JComponent.java
13076         (listenerList): Made protected.
13077         (accessibleContext): Likewise.
13078         * javax/swing/JList.java
13079         (valueChanged): Dont use internal fields of ListSelectionEvent.
13080         * javax/swing/JViewport.java
13081         (getView): Dont use internal fields of Component.
13082         (addImpl): Likewise.
13083         * javax/swing/Timer.java
13084         (isRunning): Made public.
13085         (start): Likewise.
13086         (stop): Likewise.
13087         * javax/swing/UIDefaults.java
13088         (getInt): Made public.
13089         * javax/swing/plaf/basic/BasicListUI.java
13090         (mousePressed): Dont use internal fields of MouseEvent.
13091         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13092         * javax/swing/plaf/basic/BasicScrollBarUI.java
13093         (arrowIcon): Made static.
13094         * javax/swing/plaf/basic/BasicViewportUI.java
13095         (stateChanged): Dont use internal field on ChangeEvent.
13096         * javax/swing/text/JTextComponent.java
13097         (getUI): Call UIManager.getUI().
13098         (updateUI): Use getUI().
13099
13100 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13101
13102         * verify.cc: Undef PC.
13103
13104 2004-03-18  Michael Koch  <konqueror@gmx.de>
13105
13106         * java/nio/channels/spi/AbstractSelectableChannel.java
13107         (keys): Initialize at declaration.
13108         (locate): keys cant be null.
13109         (add): Removed.
13110         (addSelectionKey): New method.
13111         (removeSelectionKey): New method.
13112         * java/nio/channels/spi/AbstractSelectionKey.java
13113         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13114         * java/nio/channels/spi/AbstractSelector.java
13115         (provider): Javadoc added.
13116         (cancelledKeys): Javadoc added.
13117         (cancelKey): Javadoc added, add key to cancelledKeys.
13118         (deregister): Implemented.
13119
13120 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13121
13122         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13123         MAP_FAILED to void *.
13124
13125 2004-03-12  Graydon Hoare  <graydon@redhat.com>
13126
13127         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13128         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
13129         * javax/swing/JList.java (ListListener): Revalidate on changes.
13130         * javax/swing/JScrollPane.java: Reimplement.
13131         * javax/swing/JViewport.java: Reimplement.
13132         * javax/swing/ScrollPaneLayout.java: Reimplement.
13133         * javax/swing/ViewportLayout.java: Tidy up.
13134         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13135         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13136         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13137         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13138         backing store only.
13139
13140 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
13141
13142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13143         (window_wm_protocols_filter): New function.
13144         (window_focus_in_cb): Remove function.
13145         (window_focus_out_cb): Likewise.
13146         (window_focus_or_active_state_change_cb): New function.
13147         (create): Add filter that removes WM_TAKE_FOCUS client messages.
13148         (connectSignals): Don't attach handlers to focus-in-event or
13149         focus-out-event signals.  Handle notify signal.
13150
13151 2004-03-11  David Jee  <djee@redhat.com>
13152
13153         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13154         (gtkSetLabel): New native method declaration.
13155         (setLabel): Use gtkSetLabel.
13156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13157         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13158
13159 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
13160
13161         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13162         black when color argument is null.
13163
13164 2004-03-10  Kim Ho  <kho@redhat.com>
13165
13166         * java/awt/Container.java: Remove check
13167         for drag events.
13168
13169 2004-03-10  Kim Ho  <kho@redhat.com>
13170
13171         * java/awt/Container.java: (visitChild):
13172         Remove candidate clip. Use the component
13173         clip to intersect.
13174         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13175         (handleEvent): Use the PaintEvent's clip.
13176
13177 2004-03-10  Kim Ho  <kho@redhat.com>
13178
13179         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13180         (handleEvent): Don't set the clip for the
13181         Graphics object.
13182
13183 2004-03-09  Graydon Hoare  <graydon@redhat.com>
13184
13185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
13186         Fix double <-> fixed macros, reset font transform.
13187         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13188         Likewise.
13189
13190 2004-03-09  Kim Ho  <kho@redhat.com>
13191
13192         * java/awt/Container.java: (visitChild): Move
13193         the x and y coordinate of the component rectangle
13194         to correct position.
13195         (handleEvent): Forward drag events to the pressed
13196         component.
13197         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13198         Fix comments.
13199         (ArrowButtonListener::mousePressed): Stop the
13200         existing timer.
13201         (mouseDragged): Implement.
13202         (TrackListener::mousePressed): Only react if
13203         the press doesn't occur on the thumb, otherwise
13204         just set the offset.
13205         (TrackListener::mouseReleased): Unset the isAdjusting
13206         value.
13207         (createIncreaseIcon): Switch icon.
13208         (createDecreaseIcon): Switch icon.
13209         (calculatePreferredSize): Use width.
13210         (getThumbBounds): Use the top as the lower value.
13211         (layoutVScrollBar): Switch the button locations.
13212         (paintIncreaseHighlight): Paint correct side of thumb.
13213         (paintDecreaseHighlight): ditto.
13214         (valueForYPosition): Use top as the lower value.
13215         * javax/swing/plaf/basic/BasicSliderUI.java:
13216         Fix comments.
13217         (mouseDragged): Implement.
13218         (mousePressed): Only react when the thumb isn't
13219         pressed, otherwise just set offset.
13220         (mouseReleased): Handle a release of the thumb.
13221         (scrollDueToClickInTrack): Stop the timer first.
13222         * javax/swing/JProgressBar.java:
13223         (setString): Fix change condition.
13224         * javax/swing/JSeparator.java:
13225         Remove println's.
13226
13227 2004-03-08  David Jee  <djee@redhat.com>
13228
13229         * java/awt/image/AffineTransformOp.java:
13230         (filter): Use Graphics2D interface instead of directly using the
13231         GdkGraphics2D peer.
13232
13233 2004-03-05  David Jee  <djee@redhat.com>
13234
13235         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13236         (handleEvent): Action events are generated upon MOUSE_RELEASED.
13237         * java/awt/Container.java
13238         (acquireComponentForMouseEvent): Fixed.
13239         (handleEvent): Fixed.
13240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13241         (state_to_awt_mods_with_button_states): New method.
13242         (pre_event_handler): Fixed mouse event generation.
13243
13244 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
13245
13246         gnu/java/awt/peer/gtk/GdkGraphics2D.java
13247         (GdkGraphics2D (BufferedImage)): Initialize
13248         pixmap associated with specified BufferedImage.
13249         (setPaint): Changed implementation of Texture
13250         Paint to use AffineTransformOp.
13251         * java/awt/image/AffineTransformOp.java
13252         (createCompatibleDestRaster): Throw RasterFormatException 
13253         if resulting width or height of raster is 0.
13254
13255 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
13256
13257         * java/awt/image/AffineTransformOp.java:
13258         Removed unnecessary field interpolationType.
13259         Formatted some of the lines to be consistent with 
13260         the GNU style.
13261         (AffineTransformOp): Create new RenderingHints 
13262         containing specified interpolation type.
13263         (createCompatibleDestImage): Implemented.
13264         (createCompatibleDestRaster): Implemented.
13265         (filter): Implemented.
13266         (getBounds2D(BufferedImage)): Implemented.
13267         (getBounds2D(Raster)): Implemented.
13268         (getInterpolationType): Get interpolation value from 
13269         rendering hints.
13270
13271 2004-03-04  David Jee  <djee@redhat.com>
13272
13273         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13274         (setFont): Check if child peers are null.
13275
13276 2004-03-04  Graydon Hoare  <graydon@redhat.com>
13277
13278         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13279         .libs in -L option.
13280         (libjava_arguments): Add new libraries to argument list.
13281
13282 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
13283
13284         * Makefile.am: Added java/awt/image/AffineTransformOp.java
13285         * Makefile.in: Re-generated.
13286         * java/awt/image/AffineTransformOp.java: New Class.
13287
13288 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
13289
13290         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13291         (setPaint): Interpret correctly TexturePaint's
13292         anchor rectangle.
13293         (drawImage): Fixed scale factors of the affine
13294         transform.
13295
13296 2004-02-27  David Jee  <djee@redhat.com>
13297
13298         * gnu/java/awt/peer/gtk/GdkGraphics.java
13299         (GdkGraphics(Component)): Inherit font from component.
13300         (drawString): Use font style.
13301         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13302         (gtkSetFont): New native method declaration.
13303         (setFont): New method.
13304         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13305         (gtkSetFont): New native method declaration.
13306         (setFont): Call new native method gtkSetFont.
13307         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13308         (setFont): For all child components who do not their fonts set,
13309         set their peers' fonts with this container's font.
13310         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13311         Move all native method declarations to the top for readability.
13312         (gtkSetFont): New native method declaration.
13313         (setFont): New method.
13314         * java/awt/Component.java
13315         (setFont): Invalidate after setting the font.
13316         * java/awt/Container.java
13317         (invalidateTree): New method.
13318         (setFont): Invalidate the container tree after setting the font.
13319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13320         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13322         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13324         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13326         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13327
13328 2004-02-27  Olga Rodimina <rodimina@redhat.com>
13329
13330         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13331         (updateBufferedImage): New helper function.
13332         Updates BufferedImage in memory if it was changed.
13333         (draw): changed to update BufferedImage in memory after
13334         this drawing operation
13335         (fill): Ditto.
13336         (draw3DRect): Ditto.
13337         (fill3DRect): Ditto.
13338         (clearRect): Ditto.
13339         (drawRaster): Ditto.
13340         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
13341         no affine transformation.
13342         (drawGlyphVector): Ditto.
13343
13344 2004-02-26  Olga Rodimina <rodimina@redhat.com>
13345
13346         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13347         (isBufferedImageGraphics): New Helper function. 
13348         Returns true if this graphics2d can be used to draw 
13349         into buffered image and false otherwise.
13350         (updateImagePixels): New Helper function. 
13351         Updates pixels in the BufferedImage.
13352         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13353         (getImagePixels): New function. Returns pixels
13354         of the buffered image associated with 
13355         this Graphics2D.
13356
13357 2004-02-26  David Jee  <djee@redhat.com>
13358
13359         * java/awt/BorderLayout.java
13360         (layoutContainer): Fix width and height calculations to ensure
13361         that they're non-negative.
13362         * java/awt/Component.java
13363         (setBackground): If c is null, inherit from closest ancestor whose
13364         background color is set.
13365
13366 2004-02-26  Kim Ho  <kho@redhat.com>
13367
13368         * Makefile.am: Add new files.
13369         * Makefile.in: Re-generate.
13370         * javax/swing/JProgressBar.java: 
13371         (JProgressBar(int, int int)): Throw
13372         IllegalArgumentException if orientation is
13373         invalid.
13374         (JProgressBar(BoundedRangeModel)): Create
13375         ChangeListener and register it. UpdateUI.
13376         (getChangeListeners): Implement.
13377         (setModel): Reset ChangeListener.
13378         * javax/swing/JScrollBar.java: Implement.
13379         * javax/swing/JSeparator.java: Implement.
13380         * javax/swing/JSlider.java:
13381         (JSlider(int, int, int, int)): Throw 
13382         IllegalArgumentException if orientation
13383         is invalid.
13384         (getChangeListeners): Fix method name.
13385         * javax/swing/SwingUtilities.java:
13386         (layoutCompoundLabel): If there is no text,
13387         set the text rectangle dimensions to 0.
13388         * javax/swing/plaf/basic/BasicButtonUI.java:
13389         (paint): If there is no text, don't paint it.
13390         * javax/swing/plaf/basic/BasicScrollBarUI.java:
13391         Implement.
13392         * javax/swing/plaf/basic/BasicSeparatorUI.java:
13393         Implement.
13394         * javax/swing/plaf/basic/BasicSliderUI.java: 
13395         (propertyChange): If the model changes, change
13396         the listeners accordingly.
13397
13398 2004-02-25  Graydon Hoare  <graydon@redhat.com>
13399
13400         * javax/swing/AbstractButton.java: Add "final" qualifiers.
13401         * javax/swing/JList.java: Reimplement.
13402         * javax/swing/DefaultListSelectionModel.java: Reimplement.
13403         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13404         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13405         * javax/swing/ListModel.java: Javadoc.
13406         * javax/swing/ListSelectionModel.java: Add missing methods.
13407         * javax/swing/AbstractListModel.java: Javadoc and corrections.
13408         * javax/swing/DefaultListModel.java: Javadoc and corrections.
13409         * javax/swing/ListModel.java: Javadoc and corrections.
13410         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13411
13412 2004-02-25  David Jee  <djee@redhat.com>
13413
13414         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13415         (GtkFontPeer): Change default size to 12.
13416         * gnu/java/awt/peer/gtk/GtkToolkit.java
13417         (getFontPeer): Change default size to 12.
13418         (getClasspathFontPeer): Likewise. Set default name to "Default".
13419         * java/awt/Font.java
13420         (Font(Map)): Call Font(String,Map).
13421         (Font(String,Map)): If attrs is null, initialize it as an empty
13422         HashMap, which will ensure that the Font will get default attributes.
13423
13424 2004-02-25  David Jee  <djee@redhat.com>
13425
13426         * gnu/java/awt/peer/gtk/GtkFontPeer.java
13427         (GtkFontPeer(String,int)): Call the new constructor with size 1.
13428         (GtkFontPeer(String,int,int)): New constructor with size attribute.
13429         * gnu/java/awt/peer/gtk/GtkToolkit.java
13430         (getFontPeer(String,int)): Call the new overload method with size 1.
13431         (getFontPeer(String,int,int)): New method. Overloaded with size
13432         attribute.
13433         (getClasspathFontPeer): Set the size of the font.
13434
13435 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
13436
13437         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13438         (bimage): New field.
13439         (GdkGraphics2D): New Constructor. Constructs Graphics
13440         object that can be used to draw into the Buffered Image.
13441         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13442         (GdkGraphicsEnvironment): Fixed to include public 
13443         keyword.
13444         (createGraphics): Implemented.
13445         * gnu/java/awt/peer/gtk/GtkToolkit.java
13446         (getLocalGraphicsEnvironment): Implemented.
13447         * java/awt/GraphicsEnvironment.java:
13448         (getLocalGraphicsEnvironment): Implemented.
13449         * java/awt/image/BufferedImage.java:
13450         (createGraphics): Implemented.
13451                 
13452 2004-02-24  David Jee  <djee@redhat.com>
13453
13454         * java/awt/Component.java
13455         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13456         * java/awt/Container.java
13457         (addNotifyContainerChildren): Fix event enabling.
13458
13459 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
13460
13461         * Makefile.am: Added 
13462         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13463         * Makefile.in: Re-generated.
13464         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13465         New Class. 
13466         
13467 2004-02-19  Kim Ho  <kho@redhat.com>
13468
13469         * Makefile.am: Add BasicProgressBarUI
13470         * Makefile.in: Regenerate.
13471         * javax/swing/JProgressBar.java: 
13472         Re-implement.
13473         * javax/swing/plaf/basic/BasicLookAndFeel.java
13474         Add constants for JProgressBar.
13475         * javax/swing/plaf/basic/BasicProgressBarUI.java
13476         Implement.
13477         * javax/swing/plaf/basic/BasicSliderUI.java
13478         Change comments.
13479         (calculateGeometry): New method
13480         (paint): Remove unnecessary size calculations.
13481
13482 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
13483
13484         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13485         (drawRaster): Fixed small error that caused
13486         imageToUser transformation to be set incorrectly.
13487         (toString): Implemented.
13488
13489 2004-02-18  David Jee  <djee@redhat.com>
13490
13491         * java/awt/CardLayout.java
13492         (addLayoutComponent): Show the first component added as the default.
13493         (removeLayoutComponent): After removing, show the next component.
13494         (gotoComponent): If there is only one component, show it and return.
13495
13496 2004-02-18  Kim Ho  <kho@redhat.com>
13497
13498         * javax/swing/JSlider.java: Re-order
13499         modifiers.
13500         * javax/swing/JLabel.java: Re-order
13501         modifiers.
13502         * javax/swing/JComponent.java: 
13503         (addPropertyChangeListener):
13504         Implement.
13505         (removePropertyChangeListener):
13506         ditto.
13507         (firePropertyChangeEvent):
13508         ditto.
13509
13510 2004-02-17  David Jee  <djee@redhat.com>
13511
13512         * java/awt/Component.java
13513         (show): Dispatch ComponentEvent via system event queue.
13514         (hide): Likewise.
13515         (move): Likewise.
13516         (resize): Likewise.
13517         (reshape): Likewise.
13518         * java/awt/Window.java
13519         (setBoundsCallback): Likewise.
13520
13521 2004-02-17  David Jee  <djee@redhat.com>
13522
13523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13524         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13525         Use gtk_widget_set_size_request() instead of the deprecated
13526         gtk_widget_set_usize().
13527
13528 2004-02-17  Kim Ho  <kho@redhat.com>
13529
13530         * javax/swing/JSlider.java: Fix comments and
13531         make property strings constants.
13532         (createStandardLabels): Use the labels
13533         preferred size as bounds.
13534         * javax/swing/plaf/basic/BasicSliderUI.java
13535         Fix comments.
13536         (ScrollHandler::actionPerformed): Don't
13537         calculate the timer stop value. Let the
13538         MouseListeners find the stop location.
13539         (getPreferredHorizontalSize): Re-implement.
13540         (getPreferredVerticalSize): ditto.
13541         (getMinimumHorizontalSize): ditto.
13542         (getMinimumVerticalSize): ditto.
13543         (getPreferredSize): ditto.
13544         (getMinimumSize): ditto.
13545         (getMaximumSize): ditto.
13546         (paintTicks): Use doubles to find the
13547         tick location.
13548         (paintHorizontalLabel):  Use preferredSize
13549         as initial width and height.
13550         (paintVerticalLabel): ditto.
13551
13552 2004-02-17  Kim Ho  <kho@redhat.com>
13553
13554         * javax/swing/JLabel.java: Changed 
13555         property strings to constants.
13556         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13557         New property.
13558         (setText): Change mnemonic index if
13559         text is too short.
13560         (setDisplayedMnemonicIndex): Fire property
13561         change event.
13562         (getDisplayedMnemonicIndex): Remove check
13563         against short text.
13564
13565 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13566
13567         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13568         (drawImage(img,xform,obs)): Invert xform before
13569         passing the xform to cairo.
13570         (drawImage(img,x,y,bgcolor,obs)): Implemented.
13571         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13572         implemented.
13573         (drawImage (img,x,y,w,h,obs)): Implemented.
13574         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13575         bgcolor,obs)): Partly implemented.
13576         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13577         Implemented.
13578         * java/awt/image/BufferedImage.java:
13579         (copyData): if dest is null, create raster with same
13580         dimensions as the current image.
13581
13582 2004-02-16  Graydon Hoare  <graydon@redhat.com>
13583
13584         * javax/swing/plaf/basic/BasicLabelUI.java 
13585         (getPreferredSize): Use layoutCL.
13586         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
13587         (getPreferredButtonSize): Start with empty view rect, layout using
13588         component's preferred alignment.
13589         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13590         List defaults.
13591
13592 2004-02-16  David Jee  <djee@redhat.com>
13593
13594         * java/awt/Component.java
13595         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13596         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13597         (move): Erase old bounds and repaint new bounds. Dispatch
13598         COMPONENT_MOVED ComponentEvent.
13599         (resize): Erase old bounds and repaint new bounds. Dispatch
13600         COMPONENT_RESIZED ComponentEvent.
13601         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13602         ComponentEvents.
13603         * java/awt/Window.java
13604         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13605         ComponentEvents.
13606
13607 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
13608
13609         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13610         (setRenderingHint): Added implementation of 
13611         Interpolation rendering hints.
13612         (setRenderingHints): Ditto.
13613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13614         (drawPixels): fixed to allow user to choose type 
13615         of filtering that should be used when displaying images.
13616         (cairoSurfaceSetFilter): New method. Sets filter type for 
13617         interpolation of pixel values.
13618
13619 2004-02-16  David Jee  <djee@redhat.com>
13620
13621         * java/awt/GridBagLayout.java
13622         (calcCellSizes): Rows or columns with zero sizes should still be
13623         considered for extra space distribution.
13624
13625 2004-02-16  Kim Ho  <kho@redhat.com>
13626
13627         * javax/swing/JLabel.java: Re-implement.
13628         * javax/swing/plaf/basic/BasicLabelUI.java
13629         Re-implement.
13630         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13631         Added constant.
13632
13633 2004-02-16  Kim Ho  <kho@redhat.com>
13634
13635         * javax/swing/JSlider.java: Fix indentation and comments.
13636         (setModel): Remove null check to conform with Sun's.
13637         (setOrientation): Throw exception if not
13638         HORIZONTAL or VERTICAL.
13639         (getInverted): Use private variable instead of 
13640         ComponentOrientation.
13641         (setInverted): ditto.
13642         * javax/swing/plaf/basic/BasicSliderUI.java:
13643         Fix indentation and comments.
13644         (propertyChange): Remove check for inverted slider, handle
13645         in main paint.
13646         (getMinimumSize): Return preferred size.
13647         (getMaximumSize): ditto.
13648         (calculateFocusRect): Don't relocate rectangle.
13649         (drawInverted): Return XOR of the slider's inversion and 
13650         the component's orientation.
13651         (paint): Update leftToRightCache
13652
13653 2004-02-13  David Jee  <djee@redhat.com>
13654
13655         * java/awt/GridBagLayout.java
13656         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13657         code to helper methods.
13658         (sortBySpan): New helper method.
13659         (distributeSizeAndWeight): Likewise.
13660         (calcCellWeights): Likewise.
13661         (calcCellSizes): Add comments.
13662
13663 2004-02-13  David Jee  <djee@redhat.com>
13664
13665         * java/awt/Component.java
13666         (show): Only do something if component is invisible at the moment.
13667         (hide): Only do something if component is visible at the moment.
13668         (reshape): If lightweight, erase old bounds and repaint new bounds.
13669
13670 2004-02-13  Kim Ho  <kho@redhat.com>
13671
13672         * Makefile.am: Updated for new file.
13673         * Makefile.in: Regenerated.
13674         * javax/swing/JSlider.java: Reimplement.
13675         * javax/swing/SwingUtilities.java
13676         (layoutCompoundLabel): Use icon height
13677         instead of width.
13678         (paintComponent): Implement.
13679         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13680         Add JSlider defaults.
13681         * javax/swing/plaf/basic/BasicSliderUI.java:
13682         Implement. New file.
13683
13684 2004-03-17  Michael Koch  <konqueror@gmx.de>
13685
13686         * gnu/java/net/PlainDatagramSocketImpl.java
13687         (RECEIVE_LOCK): New member field.
13688         (SEND_LOCK): New member field.
13689         (send0): New method.
13690         (send): Synchronize on SEND_LOCK.
13691         (receive0): New method.
13692         (receive): Synchronize on RECEIVE_LOCK.
13693         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13694         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13695         gnu/java/net/natPlainDatagramSocketImplWin32.cc
13696         (send0): Renamed from send.
13697         (receive0): Renamed from receive.
13698 2004-03-17  Michael Koch  <konqueror@gmx.de>
13699
13700         * gnu/java/net/natPlainSocketImplPosix.cc
13701         (write): Just call write(jbyteArray, offset, len).
13702         (read): Just call read(jbyteArray, offset, len).
13703
13704 2004-03-16  Michael Koch  <konqueror@gmx.de>
13705
13706         * javax/swing/JTabbedPane.java
13707         (serialVersionUID): New field.
13708
13709 2004-03-16  Norbert Frese  <postfach@nfrese.net>
13710
13711         * java/net/InetAddress.java
13712         (getByName): Handle hostname == "" case.
13713
13714 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
13715
13716         Reported by: Adam Heath <doogie@debian.org>
13717         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13718         class loader.
13719
13720 2004-03-15  Michael Koch  <konqueror@gmx.de>
13721
13722         * java/util/Locale.java: Reverting my last patch
13723         and add a comment why the original version was okay.
13724
13725 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
13726
13727         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13728         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13729         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13730         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13731
13732 2004-03-12  Michael Koch  <konqueror@gmx.de>
13733
13734         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13735
13736 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13737
13738         * java/net/URI.java (toURL): Implemented.
13739
13740 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
13741
13742         * java/net/URI.java
13743         (URI_REGEXP) updated to contain scheme specific part.
13744         (SCHEME_SPEC_PART_GROUP) new constant.
13745         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13746         updated to make room for SCHEME_SPEC_PART_GROUP.
13747         (parseURI) parse scheme specific part.
13748         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
13749         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
13750         getQuery, getFragment) implemented.
13751
13752 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
13753
13754         * libraries/javalib/java/net/URI.java
13755         partially implemented using java.util.regex.
13756         (URI_REGEXP) new constant. Used to parse URIs.
13757         (SCHEME_GROUP) new constant representing index of scheme group
13758         in parsed URI.
13759         (AUTHORITY_GROUP) new constant representing index of authority
13760         group in parsed URI.
13761         (PATH_GROUP) new constant representing index of path group in
13762         parsed URI.
13763         (QUERY_GROUP) new constant representing index of query group in
13764         parsed URI.
13765         (FRAGMENT_GROUP) new constant representing index of fragment
13766         group in parsed URI.
13767         (getURIGroup) new static utility method.
13768         (parseURI) implemented.
13769         (quote) stub for new static utility method.
13770         (quoteAuthority) stub for new static utility method.
13771         (quoteHost) stub for new static utility method.
13772         (quotePath) stub for new static utility method.
13773         (quoteUserInfo) stub for new static utility method.
13774         (URI) implemented.
13775         (create) don't throw URISyntaxException. Implemented.
13776         (toString) implemented.
13777
13778 2004-03-12  Michael Koch  <konqueror@gmx.de>
13779
13780         * java/net/HttpURLConnection.java
13781         (getResponseCode): Fix another typo in javadoc.
13782
13783 2004-03-11  Michael Koch  <konqueror@gmx.de>
13784
13785         * java/util/logging/Level.java
13786         (parse): Use String.equals() instead of ==.
13787
13788 2004-03-11  Michael Koch  <konqueror@gmx.de>
13789
13790         * gnu/java/net/protocol/jar/Connection.java
13791         (getContentLength): New method.
13792
13793 2004-03-11  Michael Koch  <konqueror@gmx.de>
13794
13795         * gnu/java/net/PlainSocketImpl.java:
13796         Reformated to merge better with classpath's version.
13797
13798 2004-03-11  Michael Koch  <konqueror@gmx.de>
13799
13800         * java/util/Locale.java
13801         (getISO3Language): Use String.equals() instead of ==.
13802         (getISO3Country): Likewise.
13803
13804 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
13805
13806         * java/text/AttributedString.java
13807         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
13808         Use HashMap instead of Hashtable since value can be null, and
13809         you can not store a null value in a Hashtable.
13810
13811 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
13812
13813         * java/text/AttributedStringIterator.java
13814         (getAllAttributesKey): Return only keys concerned
13815         by the current iterator.
13816         (getAttributes): Use strict inequality for
13817         end_index. 
13818
13819 2004-03-11  Michael Koch  <konqueror@gmx.de>
13820
13821         * java/net/HttpURLConnection.java:
13822         Fixed typo in javadoc.
13823
13824 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
13825
13826         * java/io/BufferedInputStream.java (marktarget): New field for max
13827         mark limit.
13828         (CHUNKSIZE): New constant for incremental mark buffer allocation.
13829         (mark): Use new fields.
13830         (read): Likewise.
13831         (read(byte[],int,int)): Likewise.
13832         (skip): Likewise.
13833         (refill): Likewise.
13834
13835 2004-03-11  Mark Wielaard  <mark@klomp.org>
13836
13837         * java/beans/BeanDescriptor.java (BeanDescriptor):
13838         Set the FeatureDescriptor programmatic name.
13839
13840 2004-03-11  Michael Koch  <konqueror@gmx.de>
13841
13842         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
13843         This file was was just copied form java/io/natFileDescriptorEcos.cc
13844         and never changed to compile correctly.
13845
13846 2004-03-11  Michael Koch  <konqueror@gmx.de>
13847
13848         * gnu/java/nio/PipeImpl.java
13849         (SourceChannelImpl): Made final.
13850         (read): Implemented.
13851         (SinkChannelImpl): Made final.
13852         (write): Implemented.
13853
13854 2004-03-11  Michael Koch  <konqueror@gmx.de>
13855
13856         * gnu/java/net/PlainDatagramSocketImpl.java:
13857         Reformated to match classpath's version more.
13858
13859 2004-03-11  Michael Koch  <konqueror@gmx.de>
13860
13861         * gnu/java/awt/peer/ClasspathFontPeer.java:
13862         Fixed javadoc to be correct xhtml.
13863         * gnu/java/awt/peer/gtk/GtkArgList.java
13864         (add): Use Boolean.valueOf() instead of new Boolean().
13865
13866 2004-03-09  Michael Koch  <konqueror@gmx.de>
13867
13868         * java/lang/Thread.java
13869         (runnable): Moved around.
13870         (daemon): Renamed from daemon_flag.
13871         (contextClassLoader): Renamed from context_class_loader.
13872         (Thread): Reordered constructors.
13873         (activeCount): Use group directly.
13874         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
13875         (holdsLock): Reworked javadoc.
13876         (setDaemon): Reworked.
13877         * java/lang/natThread.cc
13878         (destroy): Removed.
13879
13880 2004-03-08  Anthony Green  <green@redhat.com>
13881
13882         * Makefile.am: Build property resource files into libgcj.
13883         * Makefile.in: Rebuilt.
13884         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13885         java/util/regex/PatternSyntaxException.java,
13886         gnu/regexp/CharIndexed.java,
13887         gnu/regexp/CharIndexedCharArray.java,
13888         gnu/regexp/CharIndexedInputStream.java,
13889         gnu/regexp/CharIndexedReader.java,
13890         gnu/regexp/CharIndexedString.java,
13891         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
13892         gnu/regexp/REException.java,
13893         gnu/regexp/REFilterInputStream.java,
13894         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
13895         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
13896         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
13897         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
13898         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
13899         gnu/regexp/RETokenLookAhead.java,
13900         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
13901         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
13902         gnu/regexp/RETokenStart.java,
13903         gnu/regexp/RETokenWordBoundary.java,
13904         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
13905
13906 2004-03-03  Per Bothner  <per@bothner.com>
13907
13908         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
13909         Optimize when argument is a FileChannelImpl.
13910         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
13911         New native methods.
13912         * java/nio/channels/natChannels.cc:  New file for new native methods.
13913         * Makefile.am:  Update accordingly.
13914
13915 2004-03-02  Jan Hubicka  <jh@suse.cz>
13916
13917         * configure.host: Pass -fno-omit-frame-pointer for i386.
13918         * configure.in: Likewise.
13919         * configure: Regenerate.
13920
13921 2004-03-01  Per Bothner  <per@bothner.com>
13922
13923         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
13924
13925 2004-02-29  Per Bothner  <per@bothner.com>
13926
13927         * java/nio/channels/FileChannelImpl.java:  Moved to package
13928         gnu/java/nio/channels, since we need to refer to it from java.io.
13929         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
13930         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
13931         from java/nio/channels.  Don't depend on FileDescriptor.
13932         (in, out, err):  New static fields.
13933         (mode):  New field.
13934         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
13935         from FileDescriptor.
13936         (by):  Removed MappedByteBuffer field.
13937         (map):  New working implementation.
13938         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
13939         some code "ported" from natFileDescriptoPosix.cc.
13940         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
13941         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
13942         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
13943         Remove native methods.
13944         * Makefile.am, configure.in:  Updated accordingly.
13945
13946         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
13947         (ch):  New FileChannelImpl field.  Update constructor to match.
13948         (releaseImpl):  Remove native method.  Instead ...
13949         (release):  Call unlock on channel.
13950         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
13951
13952         * java/io/natFileDescriptorEcos.cc:  Remove file.
13953         * java/io/natFileDescriptorPosix.cc:  Remove file.
13954         * java/io/natFileDescriptorWin32.cc:  Remove file.
13955         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
13956         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
13957         (<init>(FileChannelImpl)):  New package-private constructor.
13958         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
13959         (available, close, read, skip):  Implement using FileChannelImpl.
13960         (getFD):  Allocate FileDescriptor if needed.
13961         (getChannel):  Is now trivial.
13962         * java/io/FileOutputStream.java:  Corresponding changes.
13963         * java/io/RandomAccessFile.java:  Corresponding changes.
13964
13965         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
13966         unmapImpl):  New dummy methods, to be overridden by subclass.
13967         (finalize, isLoaded, load, force):  New methods.
13968         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
13969         Now works, at least for read mapping.
13970
13971         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
13972         streams using FileChannelImpl, not FileDescriptor.
13973         * java/lang/natWin32Process.cc (startProcess):  Likewise.
13974
13975 2004-02-28  Michael Koch  <konqueror@gmx.de>
13976
13977         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
13978         wrong code.
13979
13980 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
13981
13982         * java/io/ObjectInputStream.java
13983         (readClassDescriptor): Keep elements of the mapping non null.
13984         (checkTypeConsistency): New method.
13985         (readFields): Fixed main loop and base logic. Small reindentation.
13986         * java/io/ObjectStreamField.java
13987         (lookupField): New method to update the field reference.
13988         (checkFieldType): New method.
13989         * java/io/ObjectStreamClass.java
13990         (setClass, setFields): Call lookupField when building the field
13991         database. Check the real field type.
13992
13993 2004-02-28  Michael Koch  <konqueror@gmx.de>
13994
13995         * java/nio/ByteOrder.java
13996         (nativeOrder): Use equals() to compare strings.
13997
13998 2004-02-26  Michael Koch  <konqueror@gmx.de>
13999
14000         * gnu/java/nio/FileLockImpl.java
14001         (finalize): Made protected.
14002         * java/nio/channels/FileChannel.java
14003         (MapMode.READ_ONLY): Made final.
14004         (MapMode.READ_WRITE): Made final.
14005         (MapMode.PRIVATE): Made final.
14006         * java/nio/channels/SocketChannel.java
14007         (open): Simplified code.
14008         * java/nio/channels/spi/AbstractSelectableChannel.java
14009         (registered): Unused, removed.
14010         (keyFor): Check channel is open, only locate key
14011         and not add a new one.
14012         (register): Don't delete attachments.
14013
14014 2004-02-26  Michael Koch  <konqueror@gmx.de>
14015
14016         * gnu/java/awt/ComponentDataBlitOp.java
14017         (INSTANCE): Made final.
14018         * gnu/java/awt/image/ImageDecoder.java:
14019         Reworked imports.
14020         (cm): Unused, removed.
14021
14022 2004-02-26  Michael Koch  <konqueror@gmx.de>
14023
14024         * gnu/java/nio/DatagramChannelImpl.java
14025         (send): Check if target address is resolved.
14026
14027 2004-02-26  Michael Koch  <konqueror@gmx.de>
14028
14029         * Makefile.am: Generate and install headers for inner classes in
14030         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14031         * Makefile.in: Regenerated.
14032
14033 2004-02-24  Anthony Green  <green@redhat.com>
14034
14035         * java/lang/StringBuffer.java: No need to NULL out remainder of
14036         buffer since ensureCapacity_unsynchronized will have done this for
14037         us.
14038
14039 2004-02-20  Michael Koch  <konqueror@gmx.de>
14040
14041         * gnu/java/net/protocol/jar/Handler.java
14042         (): Removed unneeded check for file != null. java.net.URL.getFile()
14043         returns an empty string but never null.
14044
14045 2004-02-20  Michael Koch  <konqueror@gmx.de>
14046
14047         * gnu/gcj/convert/Convert.java
14048         (main): Use equals() to compare strings.
14049
14050 2004-02-20  Michael Koch  <konqueror@gmx.de>
14051
14052         * javax/swing/AbstractButton.java: Made several constants final.
14053         (getRolloverSelectedIcon): Made public.
14054         (getSelectedIcon): Made public.
14055
14056 2004-02-16  Per Bothner  <per@bothner.com>
14057
14058         * java/nio/CharBufferImpl.java:  Inline super constructor.
14059         * java/nio/DoubleBufferImpl.java:  Likewise.
14060         * java/nio/FloatBufferImpl.java:  Likewise.
14061         * java/nio/IntBufferImpl.java:  Likewise.
14062         * java/nio/LongBufferImpl.java:  Likewise.
14063         * java/nio/ShortBufferImpl.java:  Likewise.
14064         * java/nio/CharBuffer.java:  Remove unused constructor.
14065         * java/nio/DoubleBuffer.java:  Likewise.
14066         * java/nio/FloatBuffer.java:  Likewise.
14067         * java/nio/IntBuffer.java:  Likewise.
14068         * java/nio/LongBuffer.java:  Likewise.
14069         * java/nio/ShortBuffer.java:  Likewise.
14070         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
14071         Fix buggy call to super constructor.
14072         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14073         * java/nio/FloatViewBufferImpl.java:  Likewise.
14074         * java/nio/IntViewBufferImpl.java:  Likewise.
14075         * java/nio/LongViewBufferImpl.java:  Likewise.
14076         * java/nio/ShortViewBufferImpl.java:  Likewise.
14077         
14078         * java/nio/ByteBuffer.java (endian):  Make non-private so other
14079         java.nio classes can inherit it.
14080         (<init>):  Don't bother clearing array_offset.
14081         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
14082         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
14083         Remove redundant test.
14084
14085         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14086         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14087         Use new XxxViewBufferImpl constructors.
14088         * java/nio/MappedByteBufferImpl.java:  Likewise.
14089         * java/nio/DirectByteBufferImpl.java:  Likewise.
14090
14091         * java/nio/ByteBufferImpl.java:  Remove one constructor.
14092         Inline super in remaining constructor.
14093         * java/nio/ByteBuffer.java:  Remove unused constructor.
14094
14095         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
14096
14097         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
14098         * java/nio/DirectByteBufferImpl.java (owner):  New field.
14099         (offset):  Remove unused field.
14100         (<init>):  Modify one and add another constructor.  Change callers.
14101         (allocateDirect):  Removed - not used.
14102         (getImpl, putImpl):  Make static and pass address explicitly,
14103         to make them useful for MappedByteBufferImpl.
14104         (get, put):  Check for underflow.  Modify for new getImpl.
14105         (getImpl):  New native method where target is array.
14106         (get(byte[],int,int)):  Use the above.
14107         (adjustAddress):  New static native method.
14108         (slice, duplicate, asReadOnly):  New implementations.
14109         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14110         adjustAddress):  New or updated native methods.
14111
14112 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
14113
14114         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14115         overflow of fieldmapping.
14116
14117 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
14118
14119         * javax/swing/undo/UndoManager.java: Re-written from scratch.
14120
14121 2004-02-14  Per Bothner  <per@bothner.com>
14122
14123         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14124         Set closed before calling implCloseChannel, as in the spec.
14125
14126 2004-02-09  Graydon Hoare  <graydon@redhat.com>
14127
14128         * javax/swing/ToggleButtonModel.java: Remove dead class.
14129         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14130         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14131         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14132         * Makefile.am: Update for new and removed files.
14133         * Makefile.in: Regenerate.
14134
14135         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14136         * javax/swing/AbstractButton.java 
14137         (AbstractButton): Initialize fields correctly in ctor.
14138         * javax/swing/JCheckbox.java 
14139         (JCheckBox): Override painting flags.
14140         * javax/swing/DefaultButtonModel.java: Conform to sun.
14141         * javax/swing/JComponent.java (paint): Fill with background color
14142         if available.
14143         (processComponentKeyEvent)
14144         (processFocusEvent)
14145         (processKeyEvent)
14146         (processMouseMotionEvent): Remove event-consuming empty methods.
14147         (getUIClassID): Return "ComponentUI" not "JComponent"
14148         * javax/swing/JFrame.java: Remove some debugging chatter.
14149         (JFrame): Subscribe to window events.
14150         * javax/swing/JRadioButton.java 
14151         (JRadioButton): Override painting flags.
14152         * javax/swing/JRootPane.java 
14153         (JRootPane): Set background from UIDefaults.
14154         * javax/swing/JToggleButton.java 
14155         (ToggleButtonModel): New inner class.
14156         (JToggleButton): Override layout alighment.
14157         * javax/swing/SwingUtilities.java:
14158         (getLocalBounds): Return width and height, not x and y.
14159         (calculateInnerArea): Use local bounds, not bounds.
14160         (layoutCompoundLabel): Provide overridden form.
14161         (layoutCompoundLabel): Correct bugs.
14162         * javax/swing/UIDefaults.java: Correct comment.
14163         * javax/swing/plaf/basic/BasicButtonUI.java: 
14164         Move most logic into defaults, external listener.
14165         (paintIcon): Implement icon painting.
14166         (paint): Fix state painting to conform to changes in model.
14167         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14168         Remove most dead/wrong methods.
14169         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14170         * javax/swing/plaf/basic/BasicIconFactory.java:
14171         (DummyIcon): New class.
14172         (getMenuItemCheckIcon)
14173         (getMenuItemArrowIcon) 
14174         (getMenuArrowIcon)
14175         (getCheckBoxMenuItemIcon)
14176         (getRadioButtonMenuItemIcon)
14177         (createEmptyFrameIcon): Return DummyIcons, not null.
14178         (getCheckBoxIcon): Implement an icon that looks like sun's.
14179         (getRadioButtonIcon): Implement an icon that looks like sun's.
14180         * javax/swing/plaf/basic/BasicLookAndFeel.java 
14181         (initComponentDefaults): Fix impossible values, add some missing.
14182         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14183         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14184         Remove most dead/wrong methods.
14185         (icon): New field.
14186         (getDefaultIcon): New method.
14187         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14188         Remove most dead/wrong methods.
14189         * javax/swing/plaf/metal/MetalLookAndFeel.java
14190         (getDefaults): Return super.getDefaults(), not BasicDefaults.
14191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14192         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14193         Implement "clearing" as drawing, when on pixmap drawables.
14194
14195         * javax/swing/JButton.java (getUIClassID): 
14196         * javax/swing/JCheckBox.java (getUIClassID):
14197         * javax/swing/JEditorPane.java (getUIClassID):
14198         * javax/swing/JLabel.java (getUIClassID): 
14199         * javax/swing/JList.java (getUIClassID): 
14200         * javax/swing/JOptionPane.java (getUIClassID): 
14201         * javax/swing/JPanel.java (getUIClassID): 
14202         * javax/swing/JPasswordField.java (uiClassID): 
14203         * javax/swing/JRadioButton.java (getUIClassID): 
14204         * javax/swing/JRootPane.java (getUIClassID): 
14205         * javax/swing/JScrollPane.java (getUIClassID): 
14206         * javax/swing/JTabbedPane.java (getUIClassID): 
14207         * javax/swing/JToggleButton.java (getUIClassID): 
14208         * javax/swing/JTree.java (getUIClassID): 
14209         * javax/swing/JViewport.java (getUIClassID): 
14210         * javax/swing/text/JTextComponent.java (getUIClassID):
14211         Return "fooUI" not "Jfoo"
14212
14213 2004-02-11  Michael Koch  <konqueror@gmx.de>
14214
14215         * java/net/DatagramSocket.java
14216         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14217         Boolean object.
14218         (setBroadcast): Likewise.
14219         * java/net/MulticastSocket.java
14220         (setLoopbackMode): Likewise.
14221         * java/net/ServerSocket.java
14222         (setReuseAddress): Likewise.
14223         * java/net/Socket.java
14224         (setTcpNoDelay): Likewise.
14225         (setSoLinger): Likewise.
14226         (setOOBInline): Likewise.
14227         (setKeepAlive): Likewise.
14228         (setReuseAddress): Likewise.
14229         * java/net/URLConnection.java
14230         (setContentHandler): Replace == with equals().
14231         * java/net/URLStreamHandler.java
14232         (hostSEquals): Fix checking host addresses.
14233         (toExternalForm): Dont check protocol for null. We know already its
14234         not null.
14235
14236 2004-02-10  David Jee  <djee@redhat.com>
14237
14238         * java/awt/BorderLayout.java
14239         (calcCompSize): Invisible components get zero dimensions.
14240         * java/awt/Button.java
14241         (setLabel): Set actionCommand.
14242         * java/awt/Component.java
14243         (show): Invalidate component and parent container.
14244         (hide): Likewise.
14245
14246 2004-02-10  David Jee  <djee@redhat.com>
14247
14248         * java/awt/GridBagLayout.java
14249         (GridBagLayout): New private field, internalcomptable.
14250         (lookupInternalConstraints): New method.
14251         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14252         (GetLayoutInfo): Reimplement.
14253         (calcCellSizes): Ignore rows/columns with size 0.
14254
14255 2004-02-10  Michael Koch  <konqueror@gmx.de>
14256
14257         * gnu/java/awt/EmbeddedWindow.java
14258         (setHandle): Use java.awt.Component.getPeer() instead of
14259         java.awt.Component.peer directly.
14260
14261 2004-02-10  David Jee  <djee@redhat.com>
14262
14263         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14264         (gtkSetLabel): New native method definition.
14265         (setLabel): Use gtkSetLabel.
14266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14267         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14268
14269 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
14270
14271         * include/powerpc-signal.h: Revert 2004-01-21 change.
14272         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
14273         from syscall for ppc32 versions.
14274
14275 2004-02-08  Per Bothner  <per@bothner.com>
14276
14277         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
14278         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
14279         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
14280         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
14281         Pass ByteOrder parameter to most methods, since the underlying
14282         ByteBuffer's order isn't always what we should use.
14283         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
14284         * java/nio/DirectByteBufferImpl.java:  Likewise.
14285         Use ByteBufferHelper methods.
14286         * java/nio/MappedByteBufferImpl.java:  Likewise.
14287         (compact):  Use shiftDown.
14288         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
14289         (get, put):  Use ByteBufferHelper.
14290         (compact):  Use new shiftDown method.
14291         (duplicate(boolean)):  New helper method.
14292         (duplicate, asReadOnlyBuffer):  Use it.
14293         (order):  Return endian field.
14294         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14295         * java/nio/FloatViewBufferImpl.java:  Likewise.
14296         * java/nio/IntViewBufferImpl.java:  Likewise.
14297         * java/nio/LongViewBufferImpl.java:  Likewise.
14298         * java/nio/ShortViewBufferImpl.java:  Likewise.
14299         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
14300         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
14301         (compact):  Re-implement using shiftDown.
14302
14303 2004-02-08  Andreas Jaeger  <aj@suse.de>
14304
14305         * include/x86_64-signal.h: Fix typo.
14306
14307 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
14308
14309         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14310         qualifier to _regs.
14311         (HANDLE_DIVIDE_OVERFLOW): Likewise.
14312
14313 2004-02-06  Michael Koch  <konqueror@gmx.de>
14314
14315         * java/io/ObjectInputStream.java
14316         (currentClassLoader): Reverted to old version of this method.
14317
14318 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
14319
14320         * java/io/ObjectInputStream.java: Made all calls
14321         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14322         use cached info from ObjectStreamClass. (readClassDescriptor):
14323         Cache more information in ObjectStreamClass. (processResolution,
14324         readFields): Use cached info from ObjectStreamClass.
14325         (newObject): Throw exception instead of returning null for failure.
14326         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14327         setCharField, setDoubleField, setFloatField, setIntField,
14328         setLongField, setShortField, setObjectField, readObjectParams):
14329         Removed. (dumpElement, dumpElementln): Removed dump flag condition
14330         check.
14331         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14332         (setClass): Added call to cacheMethods() (findMethod): New method.
14333         (cacheMethods): New method. (ObjectStreamClass): Added call to
14334         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14335         AccessController.doPrivileged to invoke setAccessible.
14336         (readObjectMethod, readResolveMethod, realClassIsSerializable,
14337         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14338         New fields.
14339         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14340         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14341         isPrimitive): Made safe for cases where type == null.
14342         (setBooleanField, setByteField, setCharField, setShortField,
14343         setIntField, setLongField, setFloatField, setDoubleField,
14344         setObjectField): New methods.
14345
14346 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
14347
14348         * java/awt/Component.java (getFont): Return a default font
14349         instead of null.
14350
14351         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14352         (Scrollbar (int, int, int, int, int)): Make default page
14353         increment 10.
14354         (setValues): Only call peer.setValues if one of the values has
14355         changed.
14356         (generateName): New method.
14357         (getUniqueLong): New method.
14358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14359         (range_scrollbar): Remove structure.
14360         (post_adjustment_event): Remove function.
14361         (post_change_event): Accept jobject argument.
14362         (create): Cast jints to gdoubles.  Round scrollbar values to the
14363         nearest integer.  Clamp min, max and value settings.
14364         (connectJObject): Connect hook to widget->window.
14365         (connectSignals): Remove range_scrollbar structure variables.
14366         Remove "move-slider" connection.  Pass global peer reference to
14367         "value-changed" callback.
14368         (setLineIncrement): Cast jint value to gdouble.
14369         (setPageIncrement): Likewise.
14370         (setValues): Likewise.  Clamp min, max and value settings.
14371
14372 2004-02-05  Michael Koch  <konqueror@gmx.de>
14373
14374         * javax/swing/AbstractCellEditor.java
14375         (getCellEditorValue): Removed.
14376         * javax/swing/Box.java: Reformated.
14377         (serialVersionUID): New field.
14378         * javax/swing/ButtonGroup.java:
14379         Removed some weird whitespace.
14380         * javax/swing/CellEditor.java: Reformated.
14381         * javax/swing/CellRendererPane.java
14382         (serialVersionUID): New field.
14383         (AccessibleCellRendererPaneserialVersionUID): New field.
14384         * javax/swing/DefaultListModel.java
14385         (serialVersionUID): New field.
14386         * javax/swing/JEditorPane.java
14387         (serialVersionUID): New field.
14388         (setPage): Throws IOException.
14389         (addHyperlinkListener): Implemented.
14390         (removeHyperlinkListener): Implemented.
14391         (getHyperlinkListener): New method.
14392         * javax/swing/JFileChooser.java
14393         (serialVersionUID): New field.
14394         (AccessibleJFileChooser.serialVersionUID): New field.
14395         (addActionListener): Implemented.
14396         (removeActionListener): Implemented.
14397         (getActionListeners): New method.
14398         * javax/swing/JFormattedTextField.java
14399         (serialVersionUID): New field.
14400         (AbstractFormatter.serialVersionUID): New field.
14401         (clone): Throws CloneNotSupportedException
14402         (setEditValid): Add missing argument.
14403         (stringToValue): Throws ParseExcpetion.
14404         (valueToString): Throws ParseException.
14405         (commitEdit): Throws ParseException.
14406         * javax/swing/JLabel.java
14407         (serialVersionUID): New field.
14408         * javax/swing/JList.java
14409         (serialVersionUID): New field.
14410         (addListSelectionListener): Reformated.
14411         (removeListSelectionListener): Reformated.
14412         (getListSelectionListeners): New method.
14413         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14414         Reformated.
14415         (serialVersionUID): New field.
14416         * javax/swing/table/AbstractTableModel.java
14417         (getValueAt): Removed.
14418         (getColumnCount): Removed.
14419         (getRowCount): Removed.
14420
14421 2004-02-05  Michael Koch  <konqueror@gmx.de>
14422
14423         * java/awt/datatransfer/DataFlavor.java
14424         (imageFlavor): Javadoc added.
14425         (javaJVMLocalObjectType): Fixed.
14426
14427 2004-02-05  Michael Koch  <konqueror@gmx.de>
14428
14429         * java/lang/Thread.java
14430         (Thread): Reordered.
14431         (setContextClassLoader): Fixed javadoc comment.
14432         (setPriority): Reordered.
14433         (yield): Reordered.
14434         (initialize_native): Reordered.
14435         (gen_name): Reordered.
14436
14437 2004-02-05  Michael Koch  <konqueror@gmx.de>
14438
14439         * java/lang/Thread.java: Reordered fields, reformated much code,
14440         no functional changes, some variables renamed, javadoc comments
14441         merged.
14442
14443 2004-02-05  Michael Koch  <konqueror@gmx.de>
14444
14445         * java/util/zip/Deflater.java,
14446         java/util/zip/DeflaterOutputStream.java,
14447         java/util/zip/GZIPInputStream.java:
14448         Reformated and javadoc comments merged from classpath.
14449
14450 2004-02-05  Michael Koch  <konqueror@gmx.de>
14451
14452         * gnu/java/nio/NIOServerSocket.java
14453         (impl): Unused, removed.
14454         * gnu/java/nio/SocketChannelImpl.java
14455         (finnishConnect): Don't throw NoConnectionPendingException if not
14456         connected or no connection pending.
14457
14458 2004-02-02  Graydon Hoare  <graydon@redhat.com>
14459
14460         * javax/swing/SwingUtilities.java: Many new functions.
14461         * java/awt/Container.java (LightweightDispatcher): Reimplement.
14462         * javax/swing/basic/BasicGraphicsUtils.java 
14463         (getPreferredButtonSize): Start layout from top-left corner.
14464
14465 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
14466
14467         * java/awt/geom/AffineTransform.java: 
14468         Corrected comments on the field definitions for
14469         m11 and m10.
14470         (shear): Fixed few errors that caused shear
14471         transformation to be performed incorrectly.
14472         (createInverse): Fixed to return correct
14473         inverse of the given matrix.
14474
14475 2004-02-03  Tom Tromey  <tromey@redhat.com>
14476
14477         * java/lang/natPosixProcess.cc (startProcess): Handle case where
14478         PATH or LD_LIBRARY_PATH is not set in parent environment.
14479
14480 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
14481
14482         * gnu/java/awt/peer/gtk/GtkListPeer.java,
14483         java/awt/BorderLayout.java, java/awt/CardLayout.java,
14484         java/awt/CheckboxGroup.java, java/awt/Choice.java,
14485         java/awt/Component.java, java/awt/Container.java,
14486         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14487         java/awt/LayoutManager2.java, java/awt/List.java,
14488         java/awt/Menu.java, java/awt/MenuBar.java,
14489         java/awt/MenuItem.java, java/awt/Polygon.java,
14490         java/awt/Rectangle.java, java/awt/ScrollPane.java,
14491         java/awt/Scrollbar.java, java/awt/TextArea.java,
14492         java/awt/TextField.java,
14493         java/awt/image/renderable/RenderContext.java,
14494         javax/swing/JApplet.java: Fix handling of alias methods, where a
14495         method has been deprecated in favour of a new one with the same
14496         funtion but a different name.  Put the method implementation in
14497         the deprecated method and have the new method call the
14498         deprecated one.  Make all other code call the new method.
14499
14500 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
14501
14502         * gnu/java/nio/DatagramChannelImpl.java
14503         (inChannelOperation): New field.
14504         (isInChannelOperation): New accessor.
14505         (setInChannelOperation): New modifier.
14506         (receive): Use capacity() - position() of destination
14507         buffer instead of remaining(). Set and reset our "in
14508         channel operation indicator" before and after delegating
14509         the receive to our datagram socket. Removed testing code.
14510         Update destination buffer's current position if it is
14511         backed by a byte array (hasArray() is true).
14512         (send): Set and reset our "in channel operation indicator"
14513         before and after delegating the send to our datagram socket.
14514         Removed testing code. Update source buffer's current position
14515         if it is backed by a byte array (hasArray() is true).
14516         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14517         Use capacity() - position() of destination buffer instead
14518         of remaining().
14519         * java/net/DatagramSocket.java (receive): Don't throw an
14520         IllegalBlockingModeException if we have a non-blocking
14521         channel which initiated this operation.
14522         (send): Likewise.
14523
14524 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
14525
14526         * configure.in: Add pkgconfig check for glib and gthread.
14527         * configure: Regenerate.
14528
14529 2004-02-01  Michael Koch  <konqueror@gmx.de>
14530
14531         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14532         arguments.
14533         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14534         * verify.cc (debug_print): Mark 'fmt' unused.
14535
14536 2004-01-30  Michael Koch  <konqueror@gmx.de>
14537
14538         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14539         * configure: Regenerated.
14540         * glib-2.0.m4: Removed.
14541         * gtk-2.0.m4: Removed.
14542         * libart.m4: Removed.
14543         * pkg.m4: New file.
14544
14545 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
14546
14547         * gnu/java/net/PlainSocketImpl.java 
14548         (inChannelOperation): New field.
14549         (isInChannelOperation): New accessor.
14550         (setInChannelOperation): New modifier.
14551         * gnu/java/nio/ServerSocketChannelImpl.java
14552         (accept): Set and reset our server socket's PlainSocketImpl's
14553         "in channel operation" indicator before and after delegating
14554         the accept to our server socket.
14555         * gnu/java/nio/SocketChannelImpl.java
14556         (connect): Set and reset our socket's PlainSocketImpl's "in channel
14557         operation" indicator before and after delegating the operation to
14558         our socket.
14559         (read): Likewise.
14560         (write): Likewise.
14561         * java/net/ServerSocket.java (implAccept): Don't throw an
14562         IllegalBlockingModeException if we have a non-blocking
14563         channel which initiated this accept operation.
14564         * java/net/Socket.java (connect): Don't throw an
14565         IllegalBlockingModeException if we have a non-blocking
14566         channel which initiated this connect operation.
14567         * java/nio/channels/spi/AbstractSelectableChannel.java
14568         (configureBlocking): Only call implConfigureBlocking() if
14569         the desired blocking mode is different from our current one.
14570
14571 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
14572
14573         * java/io/BufferedReader.java (sbuf): New field.
14574         (readLine): Use String.valueOf instead of new String() as per
14575         Per Bothner's suggestion. Use instance sbuf field instead of a
14576         local StringBuffer instance.
14577         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14578         caller's buffer to refill().
14579         (read(void)): Pass our internal work buffer to refill if our
14580         input queue is empty.
14581         (refill): Changed return type to int. Use the specified buffer
14582         instead of our work buffer as per Bryce McKinlay's suggestion.
14583         Return the number of characters read or -1 for EOF.
14584
14585 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14586
14587         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14588
14589 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14590
14591         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14592         * Makefile.in: Re-generated.
14593         * gnu/awt/xlib/XFontPeer.java: New file.
14594         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14595         (setClip): Commented out debug printout.
14596         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14597         (getFontPeer): Return XFontPeer.
14598         (getLocalGraphicsEnvironment): New method.
14599         (getClasspathFontPeer): New method.
14600         (createFont): New method.
14601
14602 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
14603
14604         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14605         return null. 
14606
14607 2004-01-29  Kim Ho  <kho@redhat.com>
14608
14609         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14610         (gtkLayoutSetVisible): New method
14611         (setMenuBar): Hide layout before setting MenuBar
14612         and reshow it after.
14613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14614         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14615
14616 2004-01-28  Michael Koch  <konqueror@gmx.de>
14617
14618         * gnu/java/lang/ClassHelper.java
14619         (getPackagePortion): Removed.
14620
14621 2004-01-28  Michael Koch  <konqueror@gmx.de>
14622
14623         * javax/swing/JComponent.java
14624         (listenerList): Initalize globally.
14625         (ancestor_list): Removed.
14626         (veto_list): Removed.
14627         (change_list): Removed.
14628         (get_veto_list): Removed.
14629         (get_change_list): Removed.
14630         (get_ancestor_list): Removed.
14631         (removeAncestorListener): Reimplemented.
14632         (removePropertyChangeListener): Likewise.
14633         (removeVetoableChangeListener): Likewise.
14634         (addAncestorListener): Likewise.
14635         (addPropertyChangeListener): Likewise.
14636         (addVetoableChangeListener): Likewise.
14637         (getListeners): New method.
14638         (getAncestorListeners): Likewise.
14639         (getVetoableChangeListeners): Likewise.
14640         (fireVetoableChange): Throws PropertyVetoException.
14641         * javax/swing/JEditorPane.java
14642         (JEditorPane): Throws IOException.
14643
14644 2004-01-28  David Jee  <djee@redhat.com>
14645
14646         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14647         (create): Set the default foreground color to
14648         java.awt.SystemColor.windowText.
14649
14650 2004-01-27  Michael Koch  <konqueror@gmx.de>
14651
14652         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14653         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14654         Reindented to merge with classpath.
14655
14656 2004-01-27  David Jee  <djee@redhat.com>
14657
14658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14659         (addExposeFilter): Handle GtkFramePeer separately.
14660         (removeExposeFilter): Likewise.
14661
14662 2004-01-27  Michael Koch  <konqueror@gmx.de>
14663
14664         * gnu/java/net/protocol/http/Connection.java
14665         (getOutputStream): Fixed typo.
14666
14667 2004-01-27  Michael Koch  <konqueror@gmx.de>
14668
14669         * java/lang/Class.java
14670         (getConstructor): Removed SecurityException from throws clause.
14671         (_getConstructors): Likewise.
14672         (getConstructors): Likewise.
14673         (getDeclaredConstructor): Likewise.
14674         (getDeclaredClasses): Likewise.
14675         (getDeclaredConstructors): Likewise.
14676         (getDeclaredField): Likewise.
14677         (getDeclaredMethod): Likewise.
14678         (getDeclaredMethods): Likewise.
14679         (getField): Likewise.
14680         (getMethod): Likewise.
14681         (getMethods): Likewise.
14682
14683 2004-01-27  Kim Ho  <kho@redhat.com>
14684
14685         * gnu/java/awt/peer/gtk/GtkFramePeer.java
14686         (removeMenuBarPeer): Remove MenuBarPeer argument.
14687         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14688         (dispose): Call native method.
14689         * java/awt/Frame.java (setMenuBar): Create and remove
14690         MenuBar peers only if the Frame has a peer.
14691         (addNotify): Create the MenuBar peer if one exists.
14692         (removeNotify): Remove MenuBar peer if one exists.
14693         * java/awt/Menu.java: Fix imports.
14694         (addNotify): Don't use full class name.
14695         (removeNotify): Call removeNotify on all children.
14696         * java/awt/MenuBar.java (removeNotify): Call
14697         removeNotify on all children.
14698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14699         (removeMenuBarPeer): Remove MenuBarPeer argument.
14700         Iterate through children to find the Frame's MenuBar.
14701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14702         New file.
14703         (dispose): Remove references to the MenuComponent.
14704
14705 2004-01-27  Michael Koch  <konqueror@gmx.de>
14706
14707         * javax/swing/AbstractCellEditor.java: Reformated.
14708         * javax/swing/DefaultListSelectionModel.java
14709         (listenerList): Made protected.
14710         (addListSelectionListener): Javadoc added.
14711         (removeListSelectionListener): Likewise.
14712         (getListeners): Likewise.
14713         (getListSelectionListeners): Likewise.
14714         * javax/swing/JComboBox.java: Merged copyright year.
14715         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14716
14717 2004-01-26  Andrew Haley  <aph@redhat.com>
14718
14719         * javax/swing/table/JTableHeader.java: Extend JComponent
14720
14721 2004-01-26  Kim Ho  <kho@redhat.com>
14722
14723         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14724         Fix spacing.
14725
14726 2004-01-26  Kim Ho  <kho@redhat.com>
14727
14728         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14729         method.
14730         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14731         height and let the Layout Managers readjust anything that
14732         needs to move.
14733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14734         (moveLayout): New method. Shift everything in the Gtk
14735         layout in the Y direction by an offset.
14736
14737 2004-01-26  David Jee  <djee@redhat.com>
14738
14739         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14740         (handleEvent): Implemented. Handles PaintEvents.
14741         (paint): Implemented. Use GTK native methods to queue updates
14742         for this heavyweight peer.
14743         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14744         (handleEvent): Removed.
14745         * java/awt/Component.java
14746         (paint): Implemented. Explictly paint the heavyweight peer.
14747         (update): Clear the background for heavyweight components.
14748         (paintAll): No need to call peer.paint() anymore.
14749         (processEvent): Don't process PaintEvents here. It's now done in
14750         the peer's handleEvent().
14751         (processPaintEvent): Removed.
14752         * java/awt/Container.java
14753         (paint): No need to call super.paint(). Visit heavyweight
14754         children as well.
14755         (update): Don't clear the background here.  It's done in
14756         Component.update().
14757         (visitChildren): Added check to not recurse into Containers.
14758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14759         (filter_expose_event_handler): New method.  Filter unwanted
14760         expose events while painting heavyweight peers.
14761         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14762         New method. Connect filter and block pre_event_handler.
14763         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14764         New method. Disconnect filter and unblock pre_event_handler.
14765         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
14766         New method. Invalidate and update given area.
14767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14768         (pre_event_handler): Add checks for unwanted expose events.
14769
14770 2004-01-26  David Jee  <djee@redhat.com>
14771
14772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14773         (find_bg_color_widget): For GtkButton, return its child.
14774
14775 2004-01-26  Kim Ho  <kho@redhat.com>
14776
14777         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
14778         private.
14779         (setMenuBar): Grab MenuBar height and change insets.
14780         (setBounds): Account for MenuBar height.
14781         (postInsetsChangedEvent): Ditto.
14782         (postSizeAllocateEvent): Remove.
14783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14784         (menubar_resize_cb): Remove
14785         (setMenuBarPeer): Remove callback.
14786         (getMenuBarHeight): Use size requisition instead of
14787         allocation.
14788
14789 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14790
14791         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
14792         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
14793         when peer is null.
14794         (setColumns): Remove FIXME -- peer will retrieve number of
14795         columns by calling getColumns.
14796         (setRows): Likewise for number of rows.
14797         (next_text_number): New field.
14798         (paramString): Fix param string.
14799         (generateName): New method.
14800         (getUniqueLong): New method.
14801
14802 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
14803
14804         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
14805         image observer of image loading status.
14806         (getImage (String)): Start image production.
14807         (getImage (URL)): Likewise.
14808
14809 2004-01-25  Michael Koch  <konqueror@gmx.de>
14810
14811         * java/lang/Class.java: Imports reworked, reformated.
14812         (Class): Javadoc added.
14813         (forName): Likewise.
14814         (getClasses): Likewise.
14815         (getClassLoader): Likewise.
14816         (getComponentType): Likewise.
14817         (getConstructor): Likewise.
14818         (getConstructors): Likewise.
14819         (getDeclaredConstructor): Likewise.
14820         (getDeclaredClasses): Likewise.
14821         (getDeclaredConstructors): Likewise.
14822         (getDeclaredField): Likewise.
14823         (getDeclaredMethod): Likewise.
14824         (getDeclaredMethods): Likewise.
14825         (getDeclaringClass): Likewise.
14826         (getField): Likewise.
14827         (getInterfaces): Likewise.
14828         (getMethod): Likewise.
14829         (getMethods): Likewise.
14830         (getModifiers): Likewise.
14831         (getName): Likewise.
14832         (getResource): Likewise.
14833         (getResourceAsStream): Likewise.
14834         (getSigners): Likewise.
14835         (setSigners): Likewise.
14836         (getSuperclass): Likewise.
14837         (isArray): Likewise.
14838         (isAssignableFrom): Likewise.
14839         (isInstance): Likewise.
14840         (isInterface): Likewise.
14841         (isPrimitive): Likewise.
14842         (newInstance): Likewise.
14843         (getProtectionDomain): Likewise.
14844         (toString): Likewise.
14845         (Class): Moved.
14846         (initializeClass): Likewise.
14847         (finalize): Likewise.
14848
14849 2004-01-24  Michael Koch  <konqueror@gmx.de>
14850
14851         * gnu/java/net/protocol/jar/Connection.java
14852         (hdrHash): Removed.
14853         (hdrVec): Removed.
14854         (gotHeaders): Removed.
14855         (getHeaderField): Removed.
14856         (getHeaderFields): Removed.
14857         (getHeaderFieldKey): Removed.
14858         (getKey): Removed.
14859         (getField): Removed.
14860         (getHeaders): Removed.
14861
14862 2004-01-24  Michael Koch  <konqueror@gmx.de>
14863
14864         * Makefile.am: Added library version to gtk peer lib.
14865         * Makefile.in: Regenerated.
14866
14867 2004-01-24  Michael Koch  <konqueror@gmx.de>
14868
14869         * java/util/zip/InflaterInputStream.java: Merged class documentation
14870         with classpath.
14871
14872 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
14873
14874         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
14875         header.  For __powerpc64__ provide the default-signal.h definitions
14876         for now.
14877         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
14878         instead of the dummy definitions.
14879         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
14880         (powerpc64*-*): Remove with_libffi_default.
14881         Only add -mminimal-toc for 64-bit compilations.
14882         * configure.in: Use powerpc-signal.h on powerpc64 as well.
14883         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
14884         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
14885         * configure: Rebuilt.
14886
14887 2004-01-23  Michael Koch  <konqueror@gmx.de>
14888
14889         * gnu/java/nio/FileLockImpl.java: Compile fixes.
14890
14891 2004-01-23  Michael Koch  <konqueror@gmx.de>
14892
14893         * java/lang/VMClassLoader.java: Reworked imports.
14894         
14895 2004-01-23  Michael Koch  <konqueror@gmx.de>
14896
14897         * javax/swing/AbstractAction.java: Reformated.
14898
14899 2004-01-23  Michael Koch  <konqueror@gmx.de>
14900
14901         * java/text/CollationElementIterator.java:
14902         (setText): New method.
14903
14904 2004-01-23  Michael Koch  <konqueror@gmx.de>
14905
14906         * gnu/java/nio/FileLockImpl.java:
14907         Fixed filename in copyright.
14908         (released): Removed.
14909         (finalize): New method.
14910         * gnu/java/nio/natFileLockImpl.cc
14911         (releaseImpl): Implemented.
14912         * java/nio/channels/FileChannelImpl.java:
14913         Reworked imports.
14914         (lock): Implemented.
14915         (lockImpl): New method.
14916         (tryLock): Implemented.
14917         (tryLockImpl): New method.
14918         * java/nio/channels/natFileChannelImpl.cc
14919         (lockImpl): New method.
14920         (tryLockImpl): New method.
14921
14922 2004-01-23  Michael Koch  <konqueror@gmx.de>
14923
14924         * java/io/FileDescriptor.java
14925         (lock): New method.
14926         (tryLock): New method.
14927         (unlock): New method.
14928         * java/io/natFileDescriptorEcos.cc
14929         (lock): New method.
14930         (tryLock): New method.
14931         (unlock): New method.
14932         * java/io/natFileDescriptorPosix.cc
14933         (lock): New method.
14934         (tryLock): New method.
14935         (unlock): New method.
14936         * java/io/natFileDescriptorWin32.cc
14937         (lock): New method.
14938         (tryLock): New method.
14939         (unlock): New method.
14940
14941 2004-01-23  Michael Koch  <konqueror@gmx.de>
14942
14943         * java/io/FileDescriptor.java
14944         (sync): Moved around, added javadoc.
14945         (valid): Likewise.
14946         (open): Likewise.
14947         (write): Likewise.
14948         (close): Likewise.
14949         (setLength): Likewise.
14950         (seek): Likewise.
14951         (getLength): Likewise.
14952         (getFilePointer): Likewise.
14953         (read): Likewise.
14954         (available): Likewise.
14955         (finalize): Likewise.
14956
14957 2004-01-23  Michael Koch  <konqueror@gmx.de>
14958
14959         * javax/swing/AbstractAction.java: Reformated.
14960         (getPropertyChangeListeners): New method.
14961         * javax/swing/AbstractCellEditor.java: Reformated.
14962         (getCellEditorListeners): New method.
14963         * javax/swing/DefaultListSelectionModel.java
14964         (listenerList): New field.
14965         (listeners): Removed.
14966         (get_listeners): Removed.
14967         (addListSelectionListener): Rewritten.
14968         (removeListSelectionListener): Rewritten.
14969         (getListSelectionListeners): New method.
14970         (getListeners): New method.
14971         * javax/swing/JComboBox.java: Imports reworked.
14972         (addActionListener): Implemented.
14973         (removeActionListener): Implemented.
14974         (addItemListener): Implemented.
14975         (removeItemListener): Implemented.
14976         (addPopupMenuListener): Implemented.
14977         (removePopupMenuListener): Implemented.
14978         (getActionListeners): New method.
14979         (getItemListeners): New method.
14980         (getPopupMenuListeners): New method.
14981
14982 2004-01-23  Michael Koch  <konqueror@gmx.de>
14983
14984         * gnu/java/net/protocol/http/Connection.java
14985         (connect): Don't initialize bufferedOutputStream if not needed.
14986         (sendRequest): Set property for content length if content is present.
14987         Write content only if present.
14988         (getOutputStream): Check if already connected, dont connect,
14989         initalize bufferedOutputStream if needed.
14990
14991 2004-01-23  Michael Koch  <konqueror@gmx.de>
14992
14993         * java/io/FileDescriptor.java
14994         (in, out, err): Added javadoc.
14995         (static): Merged loading code.
14996         (fd, position): Moved around.
14997
14998 2004-01-23  Michael Koch  <konqueror@gmx.de>
14999
15000         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15001         New file.
15002
15003 2004-01-23  Michael Koch  <konqueror@gmx.de>
15004
15005         * java/lang/Class.java,
15006         java/lang/Object.java,
15007         java/lang/Thread.java: Merged copyright with classpath.
15008
15009 2004-01-23  Michael Koch  <konqueror@gmx.de>
15010
15011         * java/io/FileDescriptor.java: Merged copyright with classpath to
15012         start merging this class.
15013
15014 2004-01-22  Tom Tromey  <tromey@redhat.com>
15015
15016         PR libgcj/13107:
15017         * testsuite/libjava.lang/pr13107_2.xfail: New file.
15018         * testsuite/libjava.lang/pr13107_3.xfail: New file.
15019         * testsuite/libjava.lang/pr13107_3.java: New file.
15020         * testsuite/libjava.lang/pr13107_3.out: New file.
15021         * testsuite/libjava.lang/pr13107_2.java: New file.
15022         * testsuite/libjava.lang/pr13107_2.out: New file.
15023         * testsuite/libjava.lang/pr13107.java: New file.
15024         * testsuite/libjava.lang/pr13107.out: New file.
15025         * verify.cc (jsr_ptrs): Removed.
15026         (entry_points): Likewise.
15027         (struct subr_info): Likewise.
15028         (struct subr_entry_info): Likewise.
15029         (type_val::unused_by_subroutine_type): Likewise.
15030         (type::merge): Don't handle unused_by_subroutine_type.
15031         (type::print): Likewise.
15032         (state::flags): Removed.
15033         (state::subroutine): Likewise.
15034         (state::seen_subrs): Likewise.
15035         (state::NO_STACK): Likewise.
15036         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15037         (state): Updated all methods.
15038         (state::clean_subrs): Removed.
15039         (state::state): Removed `ret_semantics' flag.
15040         (state::copy): Likewise.
15041         (state::add_subr): Removed.
15042         (state::enter_subroutine): Likewise.
15043         (type::set_return_address): New method.
15044         (handle_jsr_insn): Set return address on the type.  Always
15045         invalidate PC after call.
15046         (check_nonrecursive_call): Removed.
15047         (~_Jv_BytecodeVerifier): Updated.
15048         (branch_prepass): Removed special handling of jsr.
15049         (note_branch_target): Likewise.
15050         (get_subroutine): Removed.
15051         (state::merge): Don't merge subroutines and don't handle
15052         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
15053         (state::note_variable): Removed.
15054         (state::is_unmerged_ret_state): Likewise.
15055         (state::print): Updated.
15056         (set_variable): Likewise.
15057         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
15058         and jsr_semantics arguments.  Updated for new reverification
15059         list.
15060         (pop_jump): Rewrote.
15061         (construct_primitive_array_type): Updated.
15062         (state::next): Removed.
15063         (INVALID_STATE): New define.
15064         (state::INVALID): Removed.
15065         (state::NO_NEXT): New value.
15066         (state::pc, state::next): New fields.
15067         (state::get_pc): New method.
15068         (next_verify_pc): Removed.
15069         (next_verify_state): New field.
15070         (verify_instructions_0): Always check for falling off end.
15071         (linked): New type.
15072         (linked_utf8): Removed.
15073         (states): Changed type.
15074         (type::state_mergeable_p): New method.
15075         (state::state_mergeable_p): Likewise.
15076         (handle_ret_insn): Removed most code.
15077         (state::reverify): New method.
15078         (add_new_state): Likewise.
15079         (state::set_pc): Likewise.
15080
15081 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
15082
15083         PR java/13733
15084         * testsuite/libjava.compile/PR13733.java: New file.
15085         * testsuite/libjava.compile/PR13733.xfail: New file.
15086
15087 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
15088             Michael Koch  <konqueror@gmx.de>
15089
15090         * javax/swing/table/DefaultTableCellRenderer.java
15091         (DefaultTableCellRenderer): Added javadoc for the class and for
15092         the constructor, Border instance, create an EmptyBorder.
15093         (UIResource): Removed the comment at the end of the class
15094         (setForeground): New method.
15095         (setBackground): New method.
15096         (updateUI): New method.
15097         (getTableCellRendererComponent): Rewritten with the help of
15098         dvholten and Stephane Meslin-Weber.
15099         (validate): New method.
15100         (repaint): New method.
15101         (firePropertyChange): New method.
15102         (setValue): New method.
15103
15104 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
15105
15106         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15107         (connectJObject): Replace printf calls with g_assert statements.
15108         Move property-notify-event signal connection to ...
15109         (connectSignals): Connect property-notify-event signal.  Iterate
15110         through the vbox's children to find layout.
15111
15112 2004-01-22  Graydon Hoare  <graydon@redhat.com>
15113         
15114         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
15115         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15116         Predicate static initialization on GtkToolkit.useGraphics2D().
15117         * java/awt/Component.java (processPaintEvent): Consume event.
15118         * javax/swing/AbstractButton.java: Reimplement, document.
15119         * javax/swing/DefaultButtonModel.java: Reimplement, document.
15120         * javax/swing/JComponent.java (paint): Use double buffer.
15121         (listenerList): Enable member.
15122         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15123         * javax/swing/JToggleButton.java 
15124         (JToggleButton): Modify model constructor.
15125         * javax/swing/SwingUtilities.java 
15126         (layoutCompoundLabel): Adjust arithmetic.
15127         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15128         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
15129         (getPreferredButtonSize): Include margins in calculation.
15130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15131         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15132         Receive up events from subordinate layout component.
15133
15134 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
15135
15136         * java/awt/Component.java (show): Set visible to true before
15137         showing the peer.
15138
15139 2004-01-21  Kim Ho  <kho@redhat.com>
15140
15141         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15142         Fix comments.
15143         (removeMenuBarPeer): Make package private.
15144         (setMenuBarPeer): Make package private.
15145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15146         (menubar_resize_cb): Mark attributes unused.
15147         (getMenuBarHeight): ditto.
15148
15149 2004-01-21  David Jee  <djee@redhat.com>
15150
15151         * java/awt/Container.java
15152         (LightweightDispatcher.handleEvent): Add an extra check to avoid
15153         dispatching MOUSE_ENTERED event twice. Translate the point for
15154         the mouse event target before dispatching the event.
15155
15156 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
15157
15158         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15159         lib_org_w3c_dom_la_LDFLAGS): New.
15160         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15161         * Makefile.in: Rebuilt.
15162
15163 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15164
15165         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15166         Calculate proper offsets for heavyweight components packed in
15167         lightweight containers.
15168
15169         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15170         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15171         (native create): Add width parameter.
15172         (create): Calculate text entry width based on current font's
15173         metrics and number of columns.  Set TextField's font if not
15174         already set.  Call native create.
15175         (gtkEntryGetBorderWidth): New native method.
15176         (gtkEntryGetSize): Remove method.
15177         (getMinimumSize): Call minimumSize.
15178         (getPreferredSize): Call preferredSize.
15179         (minimumSize): Calculate minimum size based on backing
15180         GtkEntry's borders, font metrics and number of columns.
15181         (preferredSize): Likewise for preferred size.
15182         (get_border_width): New static function.
15183
15184         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15185         Override GtkWindowPeer's setResizable method to account for menu
15186         bar height when setting the frame's size.
15187
15188 2004-01-19  Matthias Klose  <doko@debian.org>
15189
15190         * libtool-version: Increased `current' to 6.
15191
15192 2004-01-19  Kim Ho  <kho@redhat.com>
15193
15194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15195         (connectJObject): Iterate through the vbox's children to find layout.
15196
15197 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15198
15199         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15200         isDispatchThread method to replace wrong test condition.
15201
15202 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15203
15204         * java/awt/EventQueue.java (pop): Prevent racing condition to add
15205         events to the queue out of order by acquiring locks in the proper
15206         order and not by releasing one before acquiring the other.
15207
15208 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15209
15210         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15211         visible so that dialog can be reused.
15212
15213 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
15214
15215         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15216         events may be handled by any queue in the stack.
15217
15218 2004-01-19  Kim Ho  <kho@redhat.com>
15219
15220         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15221         MenuBarPeer parameter.
15222         (removeMenuBarPeer): New native method.
15223         (setMenuBar): Call remove if menu bar is null. Adjust insets
15224         appropriately.
15225         (postSizeAllocateEvent): New method. Called when menu bar size is
15226         allocated. Adjust insets and redo layout.
15227         (GtkFramePeer): Set menu bar during frame creation.
15228         (postConfigureEvent): Adjust position and size to accomodate
15229         menu bar.
15230         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15231         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15232         (addNotify): Create the peer if it doesn't exist and call addNotify
15233         for the menu's items.
15234         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15235         * java/awt/MenuItem.java (addNotify): Create the peer if it
15236         doesn't exist.
15237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15238         (removeMenuBarPeer): New method. Remove menu bar on the current
15239         frame.
15240         (setMenuBarPeer): Add the menu bar to the current frame and the
15241         callback for size-allocate events on the menu bar.
15242         (getMenuBarHeight): Add menu bar parameter.
15243         (menubar_resize_cb): New callback method for postSizeAllocate events.
15244
15245         Also: Fix indentation on last ChangeLog entry.
15246
15247 2004-01-16  Kim Ho  <kho@redhat.com>
15248
15249         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15250         (gtkWidgetGetDimensions): Remove.
15251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15252         (gtkWidgetGetDimensions): Remove.
15253
15254 2004-01-16  Tom Tromey  <tromey@redhat.com>
15255
15256         * java/awt/Container.java: Typo and indentation fixes.
15257
15258         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15259         * java/lang/natVMClassLoader.cc: ...here.  New file.
15260         * Makefile.in: Rebuilt.
15261         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15262
15263 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15264
15265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15266         Discard GDK_ENTER_NOTIFY related to ungrabs.
15267
15268 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15269
15270         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15271         is called for an intermediate queue.
15272
15273 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
15274
15275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15276         (window_property_changed_cb): Set id_set.
15277
15278 2004-01-16  Kim Ho  <kho@redhat.com>
15279
15280         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15281         it is a FileDialog and has dimensions of 0 by 0, then the initial
15282         size is set to size request plus insets.
15283         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15284         (gtkWidgetGetDimensions): Override method.
15285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15286         (gtkWidgetGetDimensions): Override method. Returns size request plus
15287         insets.
15288
15289 2004-01-16  Andrew Haley  <aph@redhat.com>
15290
15291         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15292         * sysdep/i386/locks.h: Likewise.
15293
15294 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
15295
15296         * java/awt/EventDispatchThread.java (run): Stop running when
15297         interrupted.
15298         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15299         Reset the queue after transferring its contents.
15300         (push): Start a new dispatch thread if none is running.
15301
15302 2004-01-16  Olga Rodimina <rodimina@redhat.com>
15303
15304         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15305         (doPolygon): set fill rule of polygon to 
15306         WIND_EVEN_ODD by default.
15307
15308 2004-01-15  Olga Rodimina <rodimina@redhat.com>
15309
15310         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15311         Implemented rendering hints related methods.
15312         (getDefaultHints): New helper method. Returns
15313         default rendering hints.
15314         (walkPath): changed to normalize path if
15315         the KEY_STROKE_CONTROL key is in "normalize" mode.
15316         (draw3DRect): changed coordinates of rectangle by +0.5
15317         if in "normalize" mode.
15318
15319 2004-01-15  Tom Tromey  <tromey@redhat.com>
15320
15321         * Makefile.in: Rebuilt.
15322         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15323         (%.lo: %.java) Filter out StackTrace.lo.
15324
15325 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
15326
15327         * configure.in: Add in AC_PREREQ(2.13)
15328         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
15329         FIXME comment.
15330
15331 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
15332             Tom Tromey  <tromey@redhat.com>
15333
15334         PR libgcj/12001:
15335         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15336         array to superclass.
15337         (init): Changed interface; add URLs here.
15338         (initialize): New static method.
15339         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15340         (_Jv_RunMain): ... not here.
15341
15342 2004-01-14  Michael Koch  <konqueror@gmx.de>
15343
15344         * java/text/MessageFormat.java:
15345         Added descriptions to exceptions.
15346         This fixes PR libgcj/2429.
15347
15348 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15349
15350         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15351         (push): Make sure push is performed at the top of the thread stack.
15352
15353 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15354
15355         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15356         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15357         (native create): Add width and height parameters.  Set text
15358         view's size request according to new parameters.
15359         (create): Calculate text view size based on current font's
15360         metrics and number of rows and columns.  Set TextArea's font if
15361         not already set.  Call native create.
15362         (getMinimumSize): Call minimumSize.
15363         (getPreferredSize): Call preferredSize.
15364         (getHScrollbarHeight): New method.
15365         (getVScrollbarWidth): New method.
15366         (minimumSize): Calculate minimum size based on scrollbar
15367         visibility, scrollbar sizes, font metrics and number of rows and
15368         columns.
15369         (preferredSize): Likewise for preferred size.
15370         (gtkTextGetSize): Remove method.
15371
15372 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
15373
15374         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15375         (initializeInsets): Remove method.
15376         (GtkComponentPeer): Initialize insets field.  Remove call to
15377         initializeInsets.
15378         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15379         Remove method.
15380         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15381         Remove method.
15382         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15383         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15384         (latestInsets): Remove field.
15385         (native create): Add insets parameter.  Call
15386         window_get_frame_extents.  Set the window's default size and
15387         size request based on its frame extents.
15388         (create): Initialize insets.
15389         (postInsetsChangedEvent): New method.
15390         (postConfigureEvent): Remove parameters top, left, bottom,
15391         right.  Remove insets-related logic.
15392         (connectJObject): Handle property-notify-event.
15393         (window_get_frame_extents, request_frame_extents,
15394         property_notify_predicate, window_property_changed_cb): New
15395         static functions.
15396         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15397         (pre_event_handler): Remove insets-related logic for configure
15398         events.
15399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15400         Update postConfigureEvent signature.
15401
15402 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
15403  
15404         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15405         to handle Window "Closing" events.
15406  
15407 2004-01-13  David Jee  <djee@redhat.com>
15408
15409         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15410         (setBackground): New method. Children with no explicitly-set
15411         background will be repainted with the parent container's new
15412         background color.
15413
15414 2004-01-13  David Jee  <djee@redhat.com>
15415
15416         * Makefile.am: Add BitwiseXORComposite.java.
15417         * Makefile.in: Regenerated.
15418         * gcj/Makefile.in: Regenerated.
15419         * include/Makefile.in: Regenerated.
15420         * testsuite/Makefile.in: Regenerated.
15421
15422 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15423
15424         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15425         not show modal dialogs twice and so that it allows showing a modal
15426         dialog from another modal dialog.
15427
15428 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
15429
15430         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15431         and run secondary dispatch thread to process event queue while this
15432         thread is blocked.
15433
15434 2004-01-12  Graydon Hoare  <graydon@redhat.com>
15435
15436         * gnu/java/awt/gtk/GdkGraphics2D.java
15437         (static): Check GtkToolkit before initializing static state.
15438         (Graphics2D): Don't construct transform with 0.5 unit offset.
15439
15440 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
15441
15442         * gnu/java/awt/BitwiseXORComposite.java: Add.
15443         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15444         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15445         (BitwiseXORComposite): Remove inner class.
15446
15447 2004-01-11  Michael Koch  <konqueror@gmx.de>
15448
15449         * gnu/java/lang/reflect/TypeSignature.java
15450         (getEncodingOfClass): Documentation fixed.
15451         (getClassForEncoding): Give class loader to Class.forName().
15452         Documentation fixed.
15453
15454 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
15455
15456         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15457
15458 2004-01-11  Michael Koch  <konqueror@gmx.de>
15459
15460         * javax/swing/undo/StateEditable.java
15461         (RCSID): Removed redundant modifiers.
15462
15463 2004-01-10  Michael Koch  <konqueror@gmx.de>
15464
15465         * javax/print/attribute/EnumSyntax.java
15466         (getStringTable): Made protected.
15467         (getEnumValueTable): Likewise.
15468         * javax/print/attribute/standard/JobKOctetsProcessed.java
15469         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15470         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15471         (JobMediaSheetsCompleted): Made class final.
15472         * javax/print/attribute/standard/OutputDeviceAssigned.java
15473         (getName): Fixed typo.
15474         * javax/print/attribute/standard/RequestingUserName.java
15475         (serialVersionUID): Fixed value.
15476
15477 2004-01-10  Michael Koch  <konqueror@gmx.de>
15478
15479         * javax/swing/plaf/basic/BasicButtonUI.java,
15480         javax/swing/plaf/basic/BasicCheckBoxUI.java,
15481         javax/swing/plaf/basic/BasicListUI.java,
15482         javax/swing/plaf/basic/BasicOptionPaneUI.java,
15483         javax/swing/plaf/basic/BasicPanelUI.java,
15484         javax/swing/plaf/basic/BasicRadioButtonUI.java,
15485         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15486         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15487         javax/swing/plaf/basic/BasicViewportUI.java:
15488         Fixed import statements.
15489
15490 2004-01-10  Michael Koch  <konqueror@gmx.de>
15491
15492         * gnu/java/awt/image/ImageDecoder.java
15493         (produce): Made public.
15494         * gnu/java/awt/peer/GLightweightPeer.java,
15495         gnu/java/awt/peer/gtk/GtkToolkit.java:
15496         Reformated.
15497
15498 2004-01-10  Michael Koch  <konqueror@gmx.de>
15499
15500         * javax/swing/JRadioButtonMenuItem.java,
15501         javax/swing/JSeparator.java,
15502         javax/swing/JSplitPane.java,
15503         javax/swing/JTextPane.java,
15504         javax/swing/JToolBar.java,
15505         javax/swing/ListCellRenderer.java,
15506         javax/swing/ListModel.java,
15507         javax/swing/MenuElement.java,
15508         javax/swing/OverlayLayout.java,
15509         javax/swing/ProgressMonitor.java,
15510         javax/swing/ProgressMonitorInputStream.java,
15511         javax/swing/Renderer.java,
15512         javax/swing/RootPaneContainer.java,
15513         javax/swing/Scrollable.java,
15514         javax/swing/SingleSelectionModel.java,
15515         javax/swing/ToolTipManager.java,
15516         javax/swing/ViewportLayout.java,
15517         javax/swing/event/DocumentEvent.java,
15518         javax/swing/event/SwingPropertyChangeSupport.java,
15519         javax/swing/event/TreeSelectionEvent.java,
15520         javax/swing/event/UndoableEditEvent.java,
15521         javax/swing/text/AbstractDocument.java,
15522         javax/swing/text/AttributeSet.java,
15523         javax/swing/text/Caret.java,
15524         javax/swing/text/ComponentView.java,
15525         javax/swing/text/DefaultCaret.java,
15526         javax/swing/text/DefaultEditorKit.java,
15527         javax/swing/text/Document.java,
15528         javax/swing/text/EditorKit.java,
15529         javax/swing/text/GapContent.java,
15530         javax/swing/text/Keymap.java,
15531         javax/swing/text/MutableAttributeSet.java,
15532         javax/swing/text/PlainEditorKit.java,
15533         javax/swing/text/Segment.java,
15534         javax/swing/text/Style.java,
15535         javax/swing/text/StyledDocument.java,
15536         javax/swing/text/StyledEditorKit.java,
15537         javax/swing/text/TextAction.java,
15538         javax/swing/text/View.java: Fixed import statements.
15539
15540 2004-01-08  Graydon Hoare  <graydon@redhat.com>
15541
15542         * javax/swing/JLayeredPane.java: Rewrite to accomodate
15543         djee@redhat.com's recent inverse ordering of Container elements.
15544
15545 2004-01-09  Michael Koch  <konqueror@gmx.de>
15546
15547         * gnu/java/lang/ArrayHelper.java
15548         (equalsArray): Removed.
15549
15550 2004-01-09  Andrew Haley  <aph@redhat.com>
15551
15552         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15553         a Utf8Const field before looking at its class.
15554
15555 2004-01-09  Michael Koch  <konqueror@gmx.de>
15556
15557         * javax/print/attribute/standard/DocumentName.java,
15558         javax/print/attribute/standard/JobHoldUntil.java,
15559         javax/print/attribute/standard/JobMessageFromOperator.java,
15560         javax/print/attribute/standard/JobName.java,
15561         javax/print/attribute/standard/JobOriginatingUserName.java,
15562         javax/print/attribute/standard/OutputDeviceAssigned.java,
15563         javax/print/attribute/standard/PrinterInfo.java,
15564         javax/print/attribute/standard/PrinterLocation.java,
15565         javax/print/attribute/standard/PrinterMakeAndModel.java,
15566         javax/print/attribute/standard/PrinterMessageFromOperator.java,
15567         javax/print/attribute/standard/PrinterName.java,
15568         javax/print/attribute/standard/RequestingUserName.java: New files.
15569         * Makefile.am (javax_source_files): Added new files.
15570         * Makefile.in: Regenerated.
15571
15572 2004-01-09  Michael Koch  <konqueror@gmx.de>
15573
15574         * javax/swing/AbstractAction.java,
15575         javax/swing/AbstractSet.java,
15576         javax/swing/Action.java,
15577         javax/swing/ActionMap.java,
15578         javax/swing/BoundedRangeModel.java,
15579         javax/swing/ButtonModel.java,
15580         javax/swing/CellEditor.java,
15581         javax/swing/CellRendererPane.java,
15582         javax/swing/ComboBoxEditor.java,
15583         javax/swing/DebugGraphics.java,
15584         javax/swing/DefaultCellEditor.java,
15585         javax/swing/DefaultCellRenderer.java,
15586         javax/swing/DefaultComboBoxModel.java,
15587         javax/swing/DefaultDesktopManager.java,
15588         javax/swing/DefaultFocusManager.java,
15589         javax/swing/DefaultListCellRenderer.java,
15590         javax/swing/Icon.java,
15591         javax/swing/JButton.java,
15592         javax/swing/JCheckBoxMenuItem.java,
15593         javax/swing/JDesktopPane.java,
15594         javax/swing/JEditorPane.java,
15595         javax/swing/JMenu.java,
15596         javax/swing/JPanel.java,
15597         javax/swing/JPasswordField.java,
15598         javax/swing/JPopupMenu.java,
15599         javax/swing/JProgressBar.java: Reworked imports.
15600
15601 2004-01-09  Michael Koch  <konqueror@gmx.de>
15602
15603         * java/awt/geom/PathIterator.java
15604         (WIND_EVEN_ODD): Removed redundant modifiers.
15605         (WIND_NON_ZERO): Likewise.
15606         (SEG_MOVETO): Likewise.
15607         (SEG_LINETO): Likewise.
15608         (SEG_QUADTO): Likewise.
15609         (SEG_CUBICTO): Likewise.
15610         (SEG_CLOSE): Likewise.
15611         * java/awt/image/SinglePixelPackedSampleModel.java:
15612         Removed redundant semicolon.
15613         * java/io/ObjectInputStream.java
15614         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15615         * java/util/logging/Filter.java
15616         (isLoggable): Removed redundant modifier.
15617         * java/util/logging/LogManager.java:
15618         Removed redundant semicolon.
15619         * java/util/logging/XMLFormatter.java
15620         (format): Removed unused variable "key".
15621
15622 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
15623
15624         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15625         New name for the former setFile native method.
15626         (setFile): New method.
15627         (setDirectory): Implemented.
15628         (connectSignals): New native method.
15629         (setFilenameFilter): Improve comment.
15630         (getGraphics): Comment.
15631         (gtkHideFileDialog): New method.
15632         (gtkDisposeFileDialog): New method.
15633         (gtkSetFilename): New method.
15634         * java/awt/Dialog.java (show): Block on modal dialogs, but only
15635         for FileDialog for now.
15636         (hide): New method.
15637         (dispose): New method.
15638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15639         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15640         deprecated creation functions.  Make dialog modal.  Add it to the
15641         window group.
15642         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15643         function.
15644         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15645         Rename to...
15646         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15647         name.
15648         (window_closed): New function.
15649         (ok_clicked): New function.
15650         (cancel_clicked): New function.
15651
15652 2004-01-08  Michael Koch  <konqueror@gmx.de>
15653
15654         * javax/swing/JLayeredPane.java: Revert changes to standard
15655         boilerplate, reworked imports.
15656
15657 2004-01-07  Tom Tromey  <tromey@redhat.com>
15658
15659         PR libgcj/13439:
15660         * verify.cc (state::merge): Copy changed locals out of subroutine
15661         in NO_STACK case.
15662         (state::FLAG_CHANGED): New const.
15663         (state::FLAG_UNUSED): Likewise.
15664         (state::local_changed): Removed.  Updated all users.
15665         (state::flags): New field.
15666         (state::merge): Added jsr_semantics argument, more logic.
15667         (push_jump_merge): Added jsr_semantics argument.
15668         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15669         merging through the jsr instruction.
15670
15671 2004-01-07  Tom Tromey  <tromey@redhat.com>
15672
15673         * scripts/MakeDefaultMimeTypes.java: Use \n, not
15674         backslash-newline.
15675
15676 2004-01-07  Graydon Hoare  <graydon@redhat.com>
15677
15678         * java/awt/Container.java (LightweightDispatcher): Implement.
15679         (visitChild): Reuse graphics object.
15680         (dispatchEventImpl): Optionally dispatch to lightweight.
15681         (addNotifyContainerChildren): Build LightweightDispatcher.
15682
15683 2004-01-07  David Jee  <djee@redhat.com>
15684
15685         * java/awt/Container.java
15686         (update): Clear only the clipped region, instead of clearing the
15687         entire Container.
15688         (visitChildren): Visit children in descending order.
15689
15690 2004-01-07  Michael Koch  <konqueror@gmx.de>
15691
15692         * java/lang/reflect/Array.java: Merged documentation with classpath.
15693
15694 2004-01-07  Michael Koch  <konqueror@gmx.de>
15695
15696         * java/text/CollationElementIterator.java
15697         (textIndex): Renamed from index.
15698         * java/text/CollationKey.java
15699         (collator): New member.
15700         (CollationKey): New argument for parent collator.
15701         (equals): Check for same collator, source string and key array.
15702         * java/text/RuleBasedCollator.java:
15703         Reformated.
15704         (RuleBasedCollator): Don't re-initialize frenchAccents with default
15705         value.
15706         (getCollationElementIterator): Rewritten.
15707         (getCollationKey): Added new argument to CollationKey constructor.
15708
15709 2004-01-07  Michael Koch  <konqueror@gmx.de>
15710
15711         * gnu/java/nio/DatagramChannelImpl.java
15712         (blocking): Removed.
15713         (DatagramChannelImpl): Call configureBlocking().
15714         (implConfigureBlocking): Dont initialize blocking.
15715         * gnu/java/nio/ServerSocketChannelImpl.java
15716         (blocking): Removed.
15717         (ServerSocketChannelImpl): Call configureBlocking().
15718         (implConfigureBlocking): Dont initialize blocking.
15719         * gnu/java/nio/SocketChannelImpl.java
15720         (blocking): Removed.
15721         (SocketChannelImpl): Call configureBlocking().
15722         (implConfigureBlocking): Dont initialize blocking.
15723         (connect): Use isBlocking().
15724         * java/nio/channels/spi/AbstractSelectableChannel.java
15725         (configureBlocking): Use blockingLock() instead of LOCK.
15726         Set blocking after successfully called implConfigureBlocking().
15727         (register): Use blockingLock() instead of LOCK.
15728
15729 2004-01-07  Michael Koch  <konqueror@gmx.de>
15730
15731         * java/net/ServerSocket.java (isBound): Fixed documentation.
15732
15733 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
15734
15735         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15736         (changeEvent): Create event object on demand.
15737         (DefaultBoundedRangeModel, toString, setValue, setExtent,
15738         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15739         fireStateChanged): Re-written.
15740         * javax/swing/event/EventListenerList.java: Reformatted, document
15741         typical usage.
15742         (toString): Implemented.
15743         (getListeners): Re-written.
15744         (remove): Re-written.
15745         (add): Re-written.
15746         (NO_LISTENERS): New singleton field.
15747         (listenerList): Declare as transient; document.
15748         (serialVersionUID): Document.
15749         (getListenerCount(Class)): More efficient implementation,
15750         also accepts null argument.  Improve Javadoc.
15751         (getListenerCount()): Remove unnecessary cast; docfix.
15752         * javax/swing/undo/UndoableEditSupport.java:
15753         Re-format, document.
15754         (UndoableEditSupport): Set realSource field. Improve documentation.
15755         (_postEdit): Iterate over cloned listener vector.
15756         (toString): Don't emit realSource.
15757         (beginUpdate, endUpdate): Support nested updates.
15758         (postEdit): Use compound edit if present.
15759
15760 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15761
15762         * java/awt/Container.java (swapComponents): Add forgotten
15763         function, required for JLayeredPane change.
15764
15765 2004-01-06  Michael Koch  <konqueror@gmx.de>
15766
15767         * java/text/CollationElementIterator.java: Reformated.
15768         (CollationElementIterator): Changed order of arguments.
15769         * java/text/RuleBasedCollator.java
15770         (RuleBasedCollator): Merged class documentation.
15771         (CollationElement): Added documentation.
15772         (compare): Reformated, renamed arguments.
15773         (equals): Likewise.
15774         (getCollationElementIterator): Likewise.
15775         (getCollationKey): Likewise.
15776
15777 2004-01-06  Graydon Hoare  <graydon@redhat.com>
15778
15779         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
15780
15781 2004-01-06  Michael Koch  <konqueror@gmx.de>
15782
15783         * gnu/java/net/protocol/file/Connection.java:
15784         Reformated copyright.
15785         (hdrHash): Removed.
15786         (hdrVec): Removed.
15787         (gotHeaders): Removed.
15788         (getHeaderField): Removed.
15789         (getHeaderField): Removed.
15790         (getHeaderFieldKey): Removed.
15791         (getKey): Removed.
15792         (getField): Removed.
15793         (getHeaders): Removed.
15794
15795 2004-01-06  Michael Koch  <konqueror@gmx.de>
15796
15797         * javax/print/attribute/standard/DateTimeAtCompleted.java,
15798         javax/print/attribute/standard/DateTimeAtCreation.java,
15799         javax/print/attribute/standard/DateTimeAtProcessing.java,
15800         javax/print/attribute/standard/JobImpressionsCompleted.java,
15801         javax/print/attribute/standard/JobKOctets.java,
15802         javax/print/attribute/standard/JobKOctetsProcessed.java,
15803         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
15804         javax/print/attribute/standard/JobPrioritySupported.java: New files.
15805         * Makefile.am (javax_source_files): Added new files.
15806         * Makefile.in: Regenerated.
15807
15808 2004-01-06  Michael Koch  <konqueror@gmx.de>
15809
15810         * java/net/URLConnection.java
15811         (contentHandler): Removed.
15812         (locale): Removed.
15813         (getHeaderFields): Return an empty map instead of null.
15814         (getContent): Connect if needed, renamed "cType" to "type" and
15815         "contentHandler" to "ch" and made it a local variable.
15816         (getPermission): Don't use package in class name.
15817         (setDefaultRequestProperty): Fixed typo in documentation.
15818         (initializeDateFormats): Made locale a local variable.
15819
15820 2004-01-06  Michael Koch  <konqueror@gmx.de>
15821
15822         * java/lang/Package.java
15823         (getPackage): Get the current class loader directly.
15824         * java/lang/SecurityManager.java
15825         (currentLoadedClass): Dont iterate over class contexts.
15826         (classLoaderDepth): Don't check class loaders if everything is allowed.
15827
15828 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15829
15830         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15831         (pre_event_handler): Set all insets to 0 when a Configure event
15832         is received for a GtkPlug.
15833         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
15834         Make handle long, not int.
15835         (EmbeddedWindow()): New constructor.
15836         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
15837         long, not int.
15838         (setHandle): New method.
15839         (getHandle): Return long, not int.
15840         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
15841         declaration.
15842         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
15843         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
15844         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
15845         argument to GdkNativeWindow.
15846         (construct): New method.
15847         (embed): New method.
15848
15849         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
15850         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
15851         (create(int, int)): New method.
15852         (create): Call new create method.
15853         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
15854         methods.
15855         (childResized): Remove native implementation.  Implement in
15856         Java.
15857         (getHScrollbarHeight, getVScrollbarWidth): Call
15858         gtk_widget_size_request to get scrollbar dimensions.
15859         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
15860         call getVScrollbarWidth and getHScrollbarHeight when vertical
15861         and horizontal scrollbars respectively are needed.
15862         (doLayout): Enlarge child if it is smaller than the viewport.
15863
15864 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15865
15866         * java/awt/Dialog.java (constructor): Accept null title as per spec.
15867         * java/awt/FileDialog.java (constructor): Throw exception on invalid
15868         argument as per spec.
15869
15870 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
15871
15872         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
15873         (insert): Ditto.
15874         (remove): Ditto.  Also, Check for valid argument.
15875         (removeAll): Use peer interface method.
15876         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
15877         native add function.
15878         (nativeRemove): New name for native remove function.
15879         (getHistory): New native function.
15880         (constructor): Generate ItemEvent.
15881         (add): Ditto, if selection is changed.
15882         (remove): Ditto, ditto.
15883         (removeAll): Add implementation.
15884         (handleEvent): Remove.  Dead code.
15885         (choicePostItemEvent): Add comment.
15886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
15887         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
15888         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
15889         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
15890         comments and fix condition to change selection.
15891         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
15892         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
15893         remove all capability.
15894         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
15895         (item_activate): Add cast to remove compiler warning.
15896
15897 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15898
15899         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15901         (getPreferredSize): Call preferredSize.
15902         (preferredSize): Call gtkWidgetGetPreferredDimensions.
15903         (getMinimumSize): Call minimumSize.
15904         (minimumSize): Call gtkWidgetGetPreferredDimensions.
15905         (gtkWidgetGetDimensions): Return the peer widget's current size
15906         request.
15907         (gtkWidgetGetPreferredDimensions): Return the peer widget's
15908         natural size request.
15909
15910 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
15911
15912         Thanks to Brian Gough <bjg@network-theory.com>
15913         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
15914         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
15915
15916 2004-01-04  Matthias Klose  <doko@debian.org>
15917
15918         * aclocal.m4: Rebuilt using "aclocal -I .".
15919         * configure: Rebuilt.
15920
15921 2004-01-03  Per Bothner  <per@bothner.com>
15922
15923         * java/util/Date.java (parse):  Fix a number of problems.
15924         (skipParens):  Remove no-longer-needed method.
15925