OSDN Git Service

e307a8370fee97203efdb4b1f383810b52a351fe
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-12-20  Tom Tromey  <tromey@redhat.com>
2
3         PR java/15001
4         * testsuite/libjava.jni/iface.c: New file.
5         * testsuite/libjava.jni/iface.out: New file.
6         * testsuite/libjava.jni/iface.java: New file.
7
8 2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>
9
10         * include/config.h.in: Regenerate.
11
12 2004-12-10  Andrew Haley  <aph@redhat.com>
13
14         PR java/15001
15         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
16         abstract methods by name.
17
18 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
19
20         * java/util/IdentityHashMap.java (put): Replace mistaken use
21         of "<<" by "*".
22
23 2004-12-06  Tom Tromey  <tromey@redhat.com>
24
25         For PR java/14853:
26         * testsuite/libjava.compile/PR14853.java: New file.
27         * testsuite/libjava.compile/PR14853.xfail: New file.
28
29 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
30
31         PR libgcj/7305
32         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
33         * Makefile.am (install-data-local): Install headers into 
34         $(gxx_include_dir) rather than $(includedir).
35         (AM_MAKEFLAGS): Pass down gxx_include_dir.
36         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
37         * include/Makefile.am (tool_include__HEADERS): Define this...
38         (include_HEADERS): ...instead of this.
39         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
40         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
41
42 2004-12-02  Tom Tromey  <tromey@redhat.com>
43
44         For PR java/16675:
45         * testsuite/libjava.compile/PR16675.java: New file.
46
47 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
48
49         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
50         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
51         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
52
53 2004-12-01  Tom Tromey  <tromey@redhat.com>
54
55         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
56         name.
57         (_Jv_ThreadRegister): Likewise.
58         (_Jv_MutexCheckMonitor): Likewise.
59
60         * link.cc: Include limits.h.
61
62 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
63
64         PR libgcj/18699
65         * testsuite/libjava.lang/PR18699.java, 
66         testsuite/libjava.lang/PR18699.out: New test.
67
68 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
69
70         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
71         Update image observer.
72         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
73         Start image production.
74         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
75         against negative menu bar widths.
76         (setBounds): Likewise.
77         (postConfigureEvent): Likewise.
78         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
79         remove consumer unless only a single frame has completed.
80         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
81         Add observer parameter.
82         (setPixels): Update image observer.
83         (imageComplete): Likewise.
84         * java/applet/Applet.java (width): New field.
85         (height): Likewise.
86         (setStub): Set size if width or height field has been set.
87         (resize): If stub is null save width and height values.
88         * java/awt/Component.java (reshape): Protect against null
89         parent.
90         * java/awt/image/MemoryImageSource.java
91         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
92         Document.
93         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
94         Likewise.
95         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
96         Reference pixel array directly, rather than creating a local
97         copy.
98         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
99         Likewise.
100         (newPixels(int,int,int,int)): Fix for loop and array copy
101         bounds.
102         (newPixels(int,int,int,int,boolean)): Likewise.
103         (startProduction): If animated call imageComplete with
104         SINGLEFRAME.
105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
106         gdk_flush lines.
107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
108         (drawPixels): Return if g is null or g->drawable is not a gdk
109         drawable.
110
111 2004-11-30  Michael Koch  <konqueror@gmx.de>
112
113         * javax/swing/DefaultSingleSelectionModel.java,
114         javax/swing/JPasswordField.java,
115         javax/swing/tree/AbstractLayoutCache.java:
116         Reformatted and javadocs cleaned up.
117
118 2004-11-30  Michael Koch  <konqueror@gmx.de>
119
120         * java/awt/Component.java:
121         Fixed argument names to match javadocs.
122         (setFont): Rewritten set property first and then fire event.
123         (setLocale): Likewise.
124         * javax/swing/text/JTextComponent.java
125         (setEditable): Likewise.
126
127 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
128
129         * java/awt/Button.java
130         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
131         source of 'click'.
132
133 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
134
135         * java/awt/Checkbox.java: Remove stub comments.
136
137 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
138
139         * java/awt/Button.java
140         (AccessibleAWTButton.getAccessibleActionDescription): Return
141         'click'.
142
143 2004-11-30  Michael Koch  <konqueror@gmx.de>
144
145         * java/awt/CardLayout.java:
146         Made some constants static.
147         (serialVersionUID): Made private.
148         (addLayoutComponent): Simplified code.
149         * java/awt/event/InputEvent.java
150         (getModifiersEx): Added missing @param tag.
151         * java/awt/image/RGBImageFilter.java
152         (filterRGBPixels): Reformatted, removed wrong @param tag.
153
154 2004-11-30  Michael Koch  <konqueror@gmx.de>
155
156         * javax/swing/text/FieldView.java,
157         javax/swing/text/JTextComponent.java:
158         Removed debug code.
159
160 2004-11-30  Michael Koch  <konqueror@gmx.de>
161
162         * javax/swing/BorderFactory.java
163         (BorderFactory): Added private constructor.
164         * javax/swing/SwingUtilities.java
165         (SwingUtilities): Likewise.
166         (computeStringWidth): New method.
167
168 2004-11-30  Michael Koch  <konqueror@gmx.de>
169
170         * java/awt/color/ICC_Profile.java
171         (icSigNamedColorTag): Removed.
172         * java/awt/datatransfer/DataFlavor.java
173         (isMimeTypeEqual): Made final.
174         * java/awt/image/AffineTransformOp.java:
175         Reworked javadocs.
176         (TYPE_BICUBIC): Added @since tag.
177
178 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
179
180         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
181         comments.
182
183 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
184
185         * java/awt/Checkbox.java (itemStateChanged): Implement function.
186         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
187
188 2004-11-30  Sven de Marothy  <sven@physto.se>
189
190         * java/awt/Polygon.java (contains): Reimplemented.
191
192 2004-11-30  Michael Koch  <konqueror@gmx.de>
193
194         * java/awt/print/PrinterJob.java: Reformatted.
195
196 2004-11-30  Michael Koch  <konqueror@gmx.de>
197
198         * java/awt/image/AffineTransformOp.java,
199         java/awt/image/ColorConvertOp.java,
200         java/awt/image/LookupOp.java,
201         java/awt/image/RescaleOp.java:
202         Added final keywords where they belong.
203
204 2004-11-30  Michael Koch  <konqueror@gmx.de>
205
206         * java/awt/CardLayout.java,
207         java/awt/Component.java,
208         java/awt/Font.java,
209         java/awt/image/SinglePixelPackedSampleModel.java:
210         Fixed javadocs and argument names all over.
211
212 2004-11-30  Michael Koch  <konqueror@gmx.de>
213
214         * java/awt/image/DataBufferShort.java: Fixed file header.
215         * java/awt/image/DataBufferUShort.java: Likewise.
216         (DataBufferUShort): Throw NullPointerException if dataArray is null.
217
218 2004-11-30  Sven de Marothy  <sven@physto.se>
219
220         * java/awt/geom/Arc2D.java
221         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
222         (setAngles): Likewise.
223         (containsAngle): Return false on zero extent, don't include
224         final angle.
225         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
226         ones.
227
228 2004-11-30  Sven de Marothy  <sven@physto.se>
229
230         * java/awt/geom/AffineTransform.java,
231         (inverseTransform): Fixed bug and simplified code.
232         (createTransformedShape): Return null on null parameter.
233
234 2004-11-30  Michael Koch  <konqueror@gmx.de>
235
236         * java/awt/color/ICC_ColorSpace.java,
237         java/awt/color/ICC_Profile.java,
238         java/awt/color/ICC_ProfileGray.java,
239         java/awt/color/ICC_ProfileRGB.java:
240         Re-indent copyright header to be standardish.
241         * java/awt/datatransfer/StringSelection.java:
242         Reformatted.
243         * java/awt/geom/Area.java
244         (EPSILON): Made static.
245         (RS_EPSILON): Likewise.
246         (PE_EPSILON): Likewide.
247
248 2004-11-30  Sven de Marothy  <sven@physto.se>
249
250         * javax/swing/SwingUtilities.java:
251         (computeDifference): Implemented
252         (computeIntersection): Likewise
253         (computeUnion): Likewise
254         (isRectangleContainingRectangle): Likewise
255
256 2004-11-30  Michael Koch  <konqueror@gmx.de>
257
258         * java/awt/BasicStroke.java,
259         java/awt/Button.java,
260         java/awt/Canvas.java,
261         java/awt/CheckboxMenuItem.java,
262         java/awt/Container.java,
263         java/awt/EventQueue.java,
264         java/awt/FileDialog.java,
265         java/awt/FlowLayout.java,
266         java/awt/FontMetrics.java,
267         java/awt/Graphics.java,
268         java/awt/GridLayout.java,
269         java/awt/KeyboardFocusManager.java,
270         java/awt/Label.java,
271         java/awt/LayoutManager2.java,
272         java/awt/List.java,
273         java/awt/MenuBar.java,
274         java/awt/Scrollbar.java,
275         java/awt/Toolkit.java,
276         java/awt/Window.java,
277         java/awt/datatransfer/DataFlavor.java,
278         java/awt/datatransfer/FlavorTable.java,
279         java/awt/event/ActionListener.java,
280         java/awt/event/HierarchyBoundsAdapter.java,
281         java/awt/geom/Arc2D.java,
282         java/awt/geom/Rectangle2D.java,
283         java/awt/geom/RectangularShape.java,
284         java/awt/im/spi/InputMethod.java,
285         java/awt/image/ByteLookupTable.java,
286         java/awt/image/ColorModel.java,
287         java/awt/image/DirectColorModel.java,
288         java/awt/image/ShortLookupTable.java,
289         java/awt/print/Book.java:
290         Fixed javadocs and method argument names all over.
291
292 2004-11-30  Michael Koch  <konqueror@gmx.de>
293
294         * gnu/java/awt/peer/gtk/GdkFontPeer.java
295         (buildString): Optimise String building.
296
297 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
298
299         * java/awt/TextArea.java (AccessibleAWTTextArea,
300         getAccessibleContext): Implement.
301         * java/awt/TextField.java (AccessibleAWTTextField,
302         getAccessibleContext): Implement.
303
304 2004-11-30  Tom Tromey  <tromey@redhat.com>
305
306         * Makefile.in: Rebuilt.
307         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
308         Fixed typo.
309
310 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
311
312         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
313         Implement.
314         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
315         Implement.
316
317 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
318
319         * java/awt/print/PrinterJob.java (lookupPrintServices,
320         getPrintService, setPrintService): Implement.
321         (lookupStreamPrintServices): Add commented out implementation.
322         (printer): New field.
323
324 2004-11-30  Mark Wielaard  <mark@klomp.org>
325
326         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
327         when not yet set.
328
329 2004-11-30  Sven de Marothy  <sven@physto.se>
330
331         * java/awt/geom/GeneralPath.java (evaluateCrossings):
332         Fixed epsilon value, should always be nonzero.
333
334 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
335
336         * java/awt/image/Raster.java
337         (createPackedRaster): Implemented.
338
339 2004-11-30  Graydon Hoare  <graydon@redhat.com>
340
341         * javax/swing/plaf/basic/BasicTextUI.java: 
342         Listen to focus events, indicate focus via caret.
343         * javax/swing/text/GapContent.java (getString): Return substring.
344         * javax/swing/text/PlainDocument.java (reindex): New method.
345         (createDefaultRoot): Call it.
346         (insertUpdate): Likewise.
347         (removeUpdate): Likewise.
348         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
349         on tab and newline, even if no painting happens.
350
351 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
352
353         * Makefile.am: List peer JNI header: Java source file
354         dependencies explicitly.  Likewise for JNI .lo: JNI header
355         dependencies.
356         * Makefile.in: Regenerate.
357
358 2004-11-30  Graydon Hoare  <graydon@redhat.com>
359
360         * Makefile.am: Add entry for BasicTextPaneUI.java
361         * Makefile.in: Regenerate.
362         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
363         (GdkGraphics2D): Set clip after transform.
364         (drawImage): Protect against null image.
365         * gnu/java/awt/peer/gtk/GtkFramePeer.java
366         (setIconImage): Protect against non-GtkImage args.
367         * gnu/java/awt/peer/gtk/GtkToolkit.java
368         (checkImage): Protect against non-GtkImage args.
369         * java/awt/print/PrinterJob.java:
370         (print): Add variant taking PrintRequestAttributeSet.
371         (printDialog): Likewise.
372         * javax/swing/JComponent.java:
373         (transferHandler): New field.
374         (getComponentGraphics): Build new Graphics for each sub-paint.
375         (getTransferHandler): New method.
376         (setTransferHandler): New method.
377         * javax/swing/JDesktopPane.java 
378         (setDragMode): Force LIVE_DRAG_MODE.
379         * javax/swing/JMenuItem.java
380         (menuSelectionChanged): Protect against null parent.
381         * javax/swing/JTable.java (setDefaultRenderer): New method.
382         * javax/swing/JTree.java: Get basic ctors and UI working.
383         * javax/swing/JViewport.java (JViewport): Set scroll mode.
384         * javax/swing/RepaintManager.java 
385         (addDirtyRegion): Skip empty regions.
386         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
387         bound scrollpane minimum by central view minimum.
388         * javax/swing/ToolTipManager.java 
389         (showTip): Guard against null component.
390         * javax/swing/TransferHandler.java: Stub out.
391         * javax/swing/plaf/basic/BasicLookAndFeel.java:
392         Add entry for TextPaneUI, change Tree icons to pngs.
393         * javax/swing/plaf/basic/BasicMenuItemUI.java:
394         (installDefaults): Set text position and alignment.
395         (paintMenuItem): Layout icon with normal compound function.
396         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
397         (getMaximumSize): Delete.
398         (getMinimumSize): Delete.
399         (getPreferredSize): Use column model's total width.
400         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
401         * javax/swing/plaf/basic/BasicTextUI.java
402         (modelChanged): Make resilient against nulls.
403         * javax/swing/plaf/basic/BasicTreeUI.java: 
404         Add some simplistic config / painting functions.
405         * javax/swing/plaf/basic/BasicViewportUI.java
406         (paintSimple): Add new non-backingstore paint mode.
407         (paintBackingStore): Split out backing store code.
408         (paint): Switch on painting mode.
409         * javax/swing/text/SimpleAttributeSet.java
410         (SimpleAttributeSet): Resist nulls.
411         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
412         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
413
414 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
415
416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
417         Set pango context's description and language.
418
419 2004-11-30  Mark Wielaard  <mark@klomp.org>
420
421         * java/awt/image/LookupOp.java: Comments and indentation fixes.
422
423 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
424
425         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
426         (getAccessibleContext): Implement.
427
428 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
429
430         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
431         Implement.
432         (getIndexAtPoint, getCharacterBounds): New methods.
433
434 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
435
436         * java/awt/Button.java (AccessibleAWTButton): Implement.
437
438 2004-11-30  Mark Wielaard  <mark@klomp.org>
439
440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
441         (filenameFilterCallback): Made static.
442
443 2004-11-30  Michael Koch  <konqueror@gmx.de>
444
445         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
446         (cairoShowGlyphs) Removed.
447
448 2004-11-30  Sven de Marothy <sven@physto.se>
449
450         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
451         Don't invert matrix when reverse CLUT is available.
452         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
453         * java/awt/color/ICC_ColorSpace.java: Likewise.
454         * java/awt/color/ICC_Profile.java: Likewise.
455         * java/awt/color/ICC_ProfileGray.java: Likewise.
456         * java/awt/color/ICC_ProfileRGB.java: Likewise.
457
458 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
459
460         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
461
462 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
463
464         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
465
466 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
467
468         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
469         field hiding ComponentSampleModel.scanlineStride.
470
471 2004-11-30  Noa Resare  <noa@resare.com>
472
473         * java/awt/geom/GeneralPath.java (currentSegment):
474         Fix typo in transform.transform() invocation.
475
476 2004-11-30  Sven de Marothy <sven@physto.se>
477
478         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
479         (createImage): Created bitmap should be filled with bg color
480
481 2004-11-30  Noa Resare  <noa@resare.com>
482
483         * java/awt/Choice.java (add):
484         Implement correct selection behavior when peer == null.
485         (insert): Likewise.
486         (remove): Likewise.
487
488 2004-11-30  Mark Wielaard  <mark@klomp.org>
489
490         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
491         Call select() when Choice has a selected item.
492
493 2004-11-30  Michael Koch  <address@bogus.example.com>
494
495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
496         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
497         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
498         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
499         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
500         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
501         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
502         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
503         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
504         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
506         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
508         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
509         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
510         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
511         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
512         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
513         Fixed method names to start at begin of line. This is desired by GNU
514         coding style guide.
515
516 2004-11-30  Michael Koch  <konqueror@gmx.de>
517
518         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
519         (gtkWidgetSetVisible): Unused. Removed.
520         (connectJObject): Likewise.
521         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
522         (gtkScrolledWindowSetScrollPosition): Commented out.
523
524 2004-11-30  Mark Wielaard  <mark@klomp.org>
525
526         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
527         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
528         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
529
530 2004-11-30  Mark Wielaard  <mark@klomp.org>
531
532         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
533         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
534         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
535         (init_dpi_conversion_factor): Correct prototype.
536
537 2004-11-30  Sven de Marothy  <sven@physto.se>
538         
539         * java/awt/image/ConvolveOp.java: Added missing
540         copyright notice.
541
542 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
543
544         Fixes bug #10908
545         * gnu/java/beans/IntrospectionIncubator.java:
546         (addMethod): static methods are discarded now, too.
547
548 2004-11-30  Mark Wielaard  <mark@klomp.org>
549
550         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
551         java source files.
552         * Makefile.in: Regenerated.
553
554 2004-11-30  Sven de Marothy  <sven@physto.se>
555
556         * gnu/java/awt/color/CieXyzConverter.java,
557         gnu/java/awt/color/GrayScaleConverter.java,
558         gnu/java/awt/color/SrgbConverter.java,
559         gnu/java/awt/color/ClutProfileConverter.java,
560         gnu/java/awt/color/LinearRGBConverter.java,
561         gnu/java/awt/color/TagEntry.java,
562         gnu/java/awt/color/ColorLookUpTable.java,
563         gnu/java/awt/color/ProfileHeader.java,
564         gnu/java/awt/color/ToneReproductionCurve.java,
565         gnu/java/awt/color/ColorSpaceConverter.java,
566         gnu/java/awt/color/PyccConverter.java,
567         gnu/java/awt/color/GrayProfileConverter.java,
568         gnu/java/awt/color/RgbProfileConverter.java:
569         New files.
570         * java/awt/color/ICC_ColorSpace.java,
571         java/awt/color/ICC_Profile.java,
572         java/awt/color/ICC_ProfileGray.java,
573         java/awt/color/ICC_ProfileRGB.java:
574         Implemented (sans PhotoYCC color space).
575
576 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
577
578         * java/awt/image/AffineTransformOp.java (filter):  Implement
579         bilinear interpolation for Rasters.
580
581 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
582
583         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
584         use the provided colormap.  Throw documented exceptions.  Document
585         exceptions.
586
587 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
588
589         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
590         constructor.
591
592 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
593
594         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
595
596 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
597
598         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
599         filtering.
600
601 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
602
603         * java/awt/image/ComponentSampleModel.java (getDataElements,
604         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
605
606 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
607
608         * java/awt/Font.java (name): New field.
609         (size): Likewise.
610         (style): Likewise.
611
612 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
613
614         * java/awt/image/Raster.java (createBandedRaster): Implement.
615
616 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
617
618         * java/awt/image/ConvolveOp.java: New class.
619         * Makefile.am: Add ConvolveOp.
620         * Makefile.in: Regenerate.
621
622 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
623
624         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
625         LookupOp, RescaleOp): Fix loop bounds.
626
627 2004-11-30  jlquinn  <jlquinn@optonline.net>
628
629         * Makefile.am: Fix typo in BandCombineOp.
630         * Makefile.in: Regenerate.
631
632 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
633
634         * java/awt/image/BandCombineOp.java: New class.
635         * Makefile.am: Add BandCombineOp.
636         * Makefile.in: Regenerate.
637
638 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
639
640         * java/awt/image/LookupOp.java: New class.
641         * Makefile.am: Add LookupOp.
642         * Makefile.in: Regenerate.
643
644 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
645
646         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
647         javadocs.
648
649 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
650
651         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
652         wrap.  Use Boolean.valueOf.
653         
654 2004-11-30  Michael Koch  <konqueror@gmx.de>
655
656         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
657         (releasePeerGraphicsResource): Fixed typo in method name.
658         * gnu/java/awt/peer/gtk/GdkFontPeer.java
659         (finalize): Fixed typo in releasePeerGraphicsResource.
660
661 2004-11-30  Michael Koch  <konqueror@gmx.de>
662
663         * java/awt/font/TextAttribute.java
664         (RUN_DIRECTION_LTR): Initialie with static value instead of
665         calculating it.
666         (RUN_DIRECTION_RTL): Likewise.
667         (STRIKETHROUGH_ON): Likewise.
668         (SWAP_COLORS_ON): Likewise.
669
670 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
671
672         * java/awt/image/ColorConvertOp.java: New class.
673         * java/awt/image/ColorModel.java (cloneColorModel): New method.
674         * Makefile.am: Add ColorConvertOp.
675         * Makefile.in: Regenerate.
676
677 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
678
679         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
680         Track Window focus owner on FOCUS_GAINED events.
681
682 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
683
684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
685         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
686
687 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
688
689         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
690         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
691         Fix pointer warning.
692
693 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
694
695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
696         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
697         Fix pointer warning.
698
699         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
700         warnings.
701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
702         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
703         to fix type punned pointer warning.
704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
705         Likewise.
706
707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
708         (window_get_new_state): Introduce unions to fix warnings as above.
709         (window_property_changed_cb): Likewise.
710         (window_active_state_change_cb): Mark unused variables unused.
711         (window_focus_state_change_cb): Likewise.
712         (window_focus_in_cb): Likewise.
713         (window_focus_out_cb): Likewise.
714
715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
716         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
717         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
718
719 2004-11-30  Michael Koch  <konqueror@gmx.de>
720
721         * javax/swing/JMenuBar.java
722         (updateUI): Simplified.
723         * javax/swing/tree/DefaultTreeSelectionModel.java:
724         Reorganized import statements.
725
726 2004-11-30  Michael Koch  <konqueror@gmx.de>
727
728         * java/awt/font/TextAttribute.java,
729         javax/swing/JComponent.java,
730         javax/swing/JInternalFrame.java,
731         javax/swing/table/TableColumn.java,
732         javax/swing/text/StyleConstants.java:
733         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
734
735 2004-11-30  Michael Koch  <konqueror@gmx.de>
736
737         * javax/swing/tree/DefaultTreeCellEditor.java,
738         javax/swing/tree/DefaultTreeModel.java,
739         javax/swing/tree/DefaultTreeSelectionModel.java:
740         Jalopied.
741
742 2004-11-30  Michael Koch  <konqueror@gmx.de>
743
744         * javax/swing/tree/DefaultTreeCellEditor.java
745         (EditorContainer.EditorContainer): Fixed arguments.
746         (EditorContainer.EditorContainer): New method.
747         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
748         (DefaultTextField.getBorder): Implemented.
749         (listenerList): New field.
750         (addCellEditorListener): Implemented.
751         (removeCellEditorListener): Implemented.
752         (getCellEditorListeners): New method.
753         * javax/swing/tree/DefaultTreeModel.java
754         (addTreeModelListener): Fixed javadoc.
755         (removeTreeModelListener): Likewise.
756         (getTreeModelListeners): New method.
757         (fireTreeNodesChanged): Implemented.
758         (fireTreeNodesInserted): Likewise.
759         (fireTreeNodesRemoved): Likewise.
760         (fireTreeStructureChanged): Likewise.
761         (getListeners): Fixed javadoc.
762         * javax/swing/tree/DefaultTreeSelectionModel.java
763         (addTreeSelectionListener): Implemented.
764         (removeTreeSelectionListener): Likewise.
765         (fireValueChanged): Likewise.
766         (getListeners): Likewise.
767         (addPropertyChangeListener): Likewise.
768         (removePropertyChangeListener): Likewise.
769         (getTreeSelectionListeners): New method.
770         (getPropertyChangeListeners): Likewise.
771
772 2004-11-30  Michael Koch  <konqueror@gmx.de>
773
774         * javax/swing/plaf/basic/BasicScrollBarUI.java
775         (maximumThumbSize): Removed static keyword.
776         (minimumThumbSize): Likewise.
777         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
778         (CloseAction): Made public.
779         (IconifyAction): Likewise.
780         (MaximizeAction): Likewise.
781         (MoveAction): Likewise.
782         (RestoreAction): Likewise.
783         (SizeAction): Likewise.
784         (SystemMenuBar): Likewise.
785         * javax/swing/plaf/basic/BasicSliderUI.java
786         (TrackListener): Likewise.
787         * javax/swing/plaf/basic/BasicSplitPaneUI.java
788         (KeyboardDownRightHandler): Likewise.
789         (KeyboardEndHandler): Likewise.
790         (KeyboardHomeHandler): Likewise.
791         (KeyboardResizeToggleHandler): Likewise.
792         (KeyboardUpLeftHandler): Likewise.
793         (PropertyHandler): Likewise.
794         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
795         (PropertyChangeHandler): Likewise.
796         (TabSelectionHandler): Likewise.
797
798 2004-11-30  Michael Koch  <konqueror@gmx.de>
799
800         * javax/swing/text/JTextComponent.java
801         (getKeymap): Made public.
802
803 2004-11-30  Michael Koch  <konqueror@gmx.de>
804
805         * javax/swing/JEditorPane.java
806         (getStream): Throws IOException.
807         (read): Likewise.
808         * javax/swing/JRootPane.java
809         (createContentPane): Fixed return type.
810         * javax/swing/JSpinner.java
811         (commitEdit): Throws ParseException.
812         * javax/swing/plaf/metal/MetalLookAndFeel.java
813         (serialVersionUID): New field.
814         * javax/swing/table/TableColumn.java
815         (resizedPostingDisableCount): Added @deprecated tag.
816         (disableResizedPosting): Likewise.
817         (enableResizedPosting): Likewise.
818         * javax/swing/text/Document.java
819         (TitleProperty): Fixed value.
820         * javax/swing/tree/TreeCellEditor.java
821         (TreeCellEditor): Extends CellEditor.
822
823 2004-11-30  Michael Koch  <konqueror@gmx.de>
824
825         * javax/swing/JWindow.java
826         javax/swing/SpinnerModel.java
827         javax/swing/Timer.java
828         javax/swing/event/MenuKeyEvent.java
829         javax/swing/plaf/basic/BasicButtonUI.java
830         javax/swing/plaf/basic/BasicIconFactory.java
831         javax/swing/plaf/basic/BasicTabbedPaneUI.java
832         javax/swing/text/AttributeSet.java
833         javax/swing/text/Highlighter.java
834         javax/swing/text/StyleConstants.java
835         javax/swing/tree/TreeCellEditor.java:
836         Removed redundant and reordered modifiers.
837
838 2004-11-30  Michael Koch  <konqueror@gmx.de>
839
840         * javax/swing/plaf/basic/BasicToolTipUI.java:
841         Reformatted copyright header.
842
843 2004-11-30  Michael Koch  <konqueror@gmx.de>
844
845         * javax/swing/AbstractAction.java,
846         javax/swing/AbstractButton.java,
847         javax/swing/AbstractCellEditor.java,
848         javax/swing/AbstractListModel.java,
849         javax/swing/AbstractSpinnerModel.java,
850         javax/swing/ActionMap.java,
851         javax/swing/BorderFactory.java,
852         javax/swing/Box.java,
853         javax/swing/ButtonModel.java,
854         javax/swing/CellEditor.java,
855         javax/swing/CellRendererPane.java,
856         javax/swing/DefaultBoundedRangeModel.java,
857         javax/swing/DefaultButtonModel.java,
858         javax/swing/DefaultCellEditor.java,
859         javax/swing/DefaultDesktopManager.java,
860         javax/swing/DefaultListCellRenderer.java,
861         javax/swing/DefaultListSelectionModel.java,
862         javax/swing/DefaultSingleSelectionModel.java,
863         javax/swing/GrayFilter.java,
864         javax/swing/InputMap.java,
865         javax/swing/JApplet.java,
866         javax/swing/JCheckBoxMenuItem.java,
867         javax/swing/JColorChooser.java,
868         javax/swing/JComboBox.java,
869         javax/swing/JComponent.java,
870         javax/swing/JDesktopPane.java,
871         javax/swing/JDialog.java,
872         javax/swing/JEditorPane.java,
873         javax/swing/JFileChooser.java,
874         javax/swing/JFormattedTextField.java,
875         javax/swing/JFrame.java,
876         javax/swing/JInternalFrame.java,
877         javax/swing/JLabel.java,
878         javax/swing/JLayeredPane.java,
879         javax/swing/JList.java,
880         javax/swing/JMenu.java,
881         javax/swing/JMenuBar.java,
882         javax/swing/JMenuItem.java,
883         javax/swing/JOptionPane.java,
884         javax/swing/JPanel.java,
885         javax/swing/JPasswordField.java,
886         javax/swing/JPopupMenu.java,
887         javax/swing/JRadioButtonMenuItem.java,
888         javax/swing/JRootPane.java,
889         javax/swing/JSpinner.java,
890         javax/swing/JSplitPane.java,
891         javax/swing/JTabbedPane.java,
892         javax/swing/JTable.java,
893         javax/swing/JTextArea.java,
894         javax/swing/JTextPane.java,
895         javax/swing/JToggleButton.java,
896         javax/swing/JToolBar.java,
897         javax/swing/JToolTip.java,
898         javax/swing/JTree.java,
899         javax/swing/JViewport.java,
900         javax/swing/ListModel.java,
901         javax/swing/LookAndFeel.java,
902         javax/swing/MenuSelectionManager.java,
903         javax/swing/ProgressMonitorInputStream.java,
904         javax/swing/RepaintManager.java,
905         javax/swing/RootPaneContainer.java,
906         javax/swing/ScrollPaneLayout.java,
907         javax/swing/SpringLayout.java,
908         javax/swing/SwingUtilities.java,
909         javax/swing/Timer.java,
910         javax/swing/ToolTipManager.java,
911         javax/swing/UIDefaults.java,
912         javax/swing/UIManager.java,
913         javax/swing/border/MatteBorder.java,
914         javax/swing/colorchooser/AbstractColorChooserPanel.java,
915         javax/swing/colorchooser/ColorSelectionModel.java,
916         javax/swing/colorchooser/DefaultColorSelectionModel.java,
917         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
918         javax/swing/colorchooser/DefaultPreviewPanel.java,
919         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
920         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
921         javax/swing/event/AncestorEvent.java,
922         javax/swing/event/HyperlinkEvent.java,
923         javax/swing/event/InternalFrameEvent.java,
924         javax/swing/event/MenuDragMouseEvent.java,
925         javax/swing/event/TableColumnModelEvent.java,
926         javax/swing/event/TableModelEvent.java,
927         javax/swing/event/TreeExpansionEvent.java,
928         javax/swing/event/TreeModelEvent.java,
929         javax/swing/event/TreeSelectionEvent.java,
930         javax/swing/event/TreeWillExpandListener.java,
931         javax/swing/event/UndoableEditEvent.java,
932         javax/swing/filechooser/FileView.java,
933         javax/swing/plaf/BorderUIResource.java,
934         javax/swing/plaf/ComponentUI.java,
935         javax/swing/plaf/FileChooserUI.java,
936         javax/swing/plaf/IconUIResource.java,
937         javax/swing/plaf/ListUI.java,
938         javax/swing/plaf/PopupMenuUI.java,
939         javax/swing/plaf/SplitPaneUI.java,
940         javax/swing/plaf/TabbedPaneUI.java,
941         javax/swing/plaf/TextUI.java,
942         javax/swing/plaf/TreeUI.java,
943         javax/swing/plaf/basic/BasicArrowButton.java,
944         javax/swing/plaf/basic/BasicBorders.java,
945         javax/swing/plaf/basic/BasicButtonUI.java,
946         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
947         javax/swing/plaf/basic/BasicColorChooserUI.java,
948         javax/swing/plaf/basic/BasicComboBoxEditor.java,
949         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
950         javax/swing/plaf/basic/BasicComboBoxUI.java,
951         javax/swing/plaf/basic/BasicComboPopup.java,
952         javax/swing/plaf/basic/BasicDesktopIconUI.java,
953         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
954         javax/swing/plaf/basic/BasicIconFactory.java,
955         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
956         javax/swing/plaf/basic/BasicInternalFrameUI.java,
957         javax/swing/plaf/basic/BasicListUI.java,
958         javax/swing/plaf/basic/BasicLookAndFeel.java,
959         javax/swing/plaf/basic/BasicMenuBarUI.java,
960         javax/swing/plaf/basic/BasicMenuItemUI.java,
961         javax/swing/plaf/basic/BasicMenuUI.java,
962         javax/swing/plaf/basic/BasicOptionPaneUI.java,
963         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
964         javax/swing/plaf/basic/BasicPopupMenuUI.java,
965         javax/swing/plaf/basic/BasicProgressBarUI.java,
966         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
967         javax/swing/plaf/basic/BasicRootPaneUI.java,
968         javax/swing/plaf/basic/BasicScrollBarUI.java,
969         javax/swing/plaf/basic/BasicSeparatorUI.java,
970         javax/swing/plaf/basic/BasicSliderUI.java,
971         javax/swing/plaf/basic/BasicSpinnerUI.java,
972         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
973         javax/swing/plaf/basic/BasicSplitPaneUI.java,
974         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
975         javax/swing/plaf/basic/BasicTableHeaderUI.java,
976         javax/swing/plaf/basic/BasicTableUI.java,
977         javax/swing/plaf/basic/BasicTextAreaUI.java,
978         javax/swing/plaf/basic/BasicTextFieldUI.java,
979         javax/swing/plaf/basic/BasicTextUI.java,
980         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
981         javax/swing/plaf/basic/BasicToolBarUI.java,
982         javax/swing/plaf/basic/BasicToolTipUI.java,
983         javax/swing/plaf/basic/BasicTreeUI.java,
984         javax/swing/plaf/basic/BasicViewportUI.java,
985         javax/swing/plaf/basic/ComboPopup.java,
986         javax/swing/table/AbstractTableModel.java,
987         javax/swing/table/DefaultTableCellRenderer.java,
988         javax/swing/table/DefaultTableColumnModel.java,
989         javax/swing/table/DefaultTableModel.java,
990         javax/swing/table/JTableHeader.java,
991         javax/swing/table/TableCellEditor.java,
992         javax/swing/table/TableCellRenderer.java,
993         javax/swing/table/TableColumn.java,
994         javax/swing/table/TableColumnModel.java,
995         javax/swing/text/AbstractDocument.java,
996         javax/swing/text/Caret.java,
997         javax/swing/text/DefaultCaret.java,
998         javax/swing/text/DefaultEditorKit.java,
999         javax/swing/text/DefaultHighlighter.java,
1000         javax/swing/text/EditorKit.java,
1001         javax/swing/text/JTextComponent.java,
1002         javax/swing/text/LayeredHighlighter.java,
1003         javax/swing/text/PasswordView.java,
1004         javax/swing/text/SimpleAttributeSet.java,
1005         javax/swing/text/StyleConstants.java,
1006         javax/swing/text/StyleContext.java,
1007         javax/swing/text/StyledEditorKit.java,
1008         javax/swing/text/TextAction.java,
1009         javax/swing/text/View.java,
1010         javax/swing/tree/AbstractLayoutCache.java,
1011         javax/swing/tree/DefaultTreeCellRenderer.java,
1012         javax/swing/tree/DefaultTreeModel.java,
1013         javax/swing/tree/DefaultTreeSelectionModel.java,
1014         javax/swing/tree/FixedHeightLayoutCache.java,
1015         javax/swing/tree/TreeCellRenderer.java,
1016         javax/swing/tree/TreeSelectionModel.java,
1017         javax/swing/tree/VariableHeightLayoutCache.java,
1018         javax/swing/undo/AbstractUndoableEdit.java,
1019         javax/swing/undo/UndoableEditSupport.java:
1020         Imports cleaned up.
1021
1022 2004-11-30  Michael Koch  <konqueror@gmx.de>
1023
1024         * java/awt/Container.java,
1025         java/awt/Font.java,
1026         java/awt/font/TextLayout.java:
1027         Imports cleaned up.
1028
1029 2004-11-30  Michael Koch  <konqueror@gmx.de>
1030
1031         * javax/swing/AbstractButton.java
1032         (getLabel): Added @deprecated tag.
1033         (setLabel): Likewise.
1034         * javax/swing/FocusManager.java
1035         (disableSwingFocusManager): Likewise.
1036         (isFocusManagerEnabled): Likewise.
1037         * javax/swing/JComponent.java
1038         (isManagingFocus): Added version to @deprecated tag.
1039         (getNextFocusableComponent): Moved @deprecated tag to bottom of
1040         javadoc.
1041         (getConditionForKeyStroke): Likewise.
1042         (getActionForKeyStroke): Likewise.
1043         * javax/swing/JDesktopPane.java
1044         (LIVE_DRAG_MODE): Added @specnote tag.
1045         (OUTLINE_DRAG_MODE): Likewise.
1046         * javax/swing/JInternalFrame.java
1047         (MENU_BAR_PROPERTY): Fixed value.
1048         (getMenuBar): Added @deprecated tag.
1049         (setMenuBar): Likewise.
1050         * javax/swing/JViewport.java
1051         (isBackingStoreEnabled): Likewise.
1052         (setBackingStoreEnabled): Likewise.
1053         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1054         (closeKey): Likewise.
1055         (maximizeKey): Likewise.
1056         (minimizeKey): Likewise.
1057         (navigateKey): Likewise.
1058         (navigateKey2): Likewise.
1059         * javax/swing/plaf/basic/BasicInternalFrameUI.java
1060         (openMenuKey): Likewise.
1061         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1062         (keyboardDownRightListener): Likewise.
1063         (keyboardEndListener): Likewise.
1064         (keyboardHomeListener): Likewise.
1065         (keyboardResizeToggleListener): Likewise.
1066         (keyboardUpLeftListener): Likewise.
1067         (dividerResizeToggleKey): Likewise.
1068         (downKey): Likewise.
1069         (endKey): Likewise.
1070         (homeKey): Likewise.
1071         (leftKey): Likewise.
1072         (rightKey): Likewise.
1073         (upKey): Likewise.
1074         (createKeyboardUpLeftListener): Likewise.
1075         (createKeyboardDownRightListener): Likewise.
1076         (createKeyboardHomeListener): Likewise.
1077         (createKeyboardEndListener): Likewise.
1078         (createKeyboardResizeToggleListener): Likewise.
1079         (getDividerBorderSize): Likewise.
1080         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1081         (downKey): Likewise.
1082         (leftKey): Likewise.
1083         (rightKey): Likewise.
1084         (upKey): Likewise.
1085
1086 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1087
1088         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1089         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1090         GTK_TEXT_VIEW macro.
1091
1092         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1093         (connect_awt_hook_cb): Mark unused variable unused.
1094
1095         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1096         Do the cast right.
1097
1098         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1099         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1100         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1101         Remove unused var menu.
1102         (selection_changed): Remove unused value.
1103
1104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1105         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1106         warning with using an intermediate variable.
1107
1108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1109         (area_updated): Fix unused var warning for BE archs.
1110
1111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1112         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1113         var.
1114         (realize_cb): Mark unused variable unused.
1115
1116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1117         (seek_glyphstring_idx): Fix a C90 warning.
1118
1119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1120         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1121         Mark unused arguments unused.
1122
1123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1124         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1125         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1126         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1127         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1128         Likewise.
1129
1130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1131         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1132         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1133         Likewise.
1134
1135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1136         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1137         Likewise.
1138         (filenameFilterCallback): Remove unused var.
1139         (handle_response): Declare str_fileName and remove last else statement.
1140
1141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1142         New File.
1143         (nativeGetNumFontsFamilies) New function.
1144         (nativeGetFontFamilies) Likewise.
1145         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1146         (getAvailableFontFamilyNames): Implement.
1147         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1148         * Makefile.in: Regenerate.
1149
1150 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1151
1152         * gnu/java/awt/peer/ClasspathFontPeer.java
1153         (setStandardAttributes(String,Map)): If size attribute doesn't
1154         exist, default to size 12.  Clamp size value to a minimum of 1.
1155
1156 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1157
1158         * javax/swing/JDialog.java
1159         (decorated): Likewise.
1160         * javax/swing/JFrame.java
1161         (defaultLookAndFeelDecorated): Likewise.
1162
1163 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1164
1165         * javax/swing/plaf/basic/BasicToolBarUI.java
1166         (offset, regular): Made final.
1167         * javax/swing/plaf/basic/BasicScrollBarUI.java
1168         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1169         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1170
1171 2004-11-30  Michael Koch  <konqueror@gmx.de>
1172
1173         * gnu/java/awt/BitwiseXORComposite.java,
1174         gnu/java/awt/ClasspathToolkit.java,
1175         gnu/java/awt/image/XBMDecoder.java,
1176         gnu/java/awt/peer/GLightweightPeer.java,
1177         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1178         Reorganized import statements.
1179
1180 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1181
1182         * java/awt/Button.java
1183         (next_button_number): Removed useless initializer.
1184         * java/awt/Frame.java
1185         (next_frame_number): Likewise.
1186         * java/awt/Panel.java
1187         (next_panel_number): Likewise,
1188         * java/awt/Scrollbar.java
1189         (next_scrollbar_number): Likewise.
1190         * java/awt/TextArea.java
1191         (next_text_number): Likewise.
1192
1193 2004-11-30  Michael Koch  <konqueror@gmx.de>
1194
1195         * java/awt/image/ByteLookupTable.java
1196         (ByteLookupTable) :Fixed HTML entities in javadocs.
1197         (lookupPixel): Fix case when dst is null.
1198         * java/awt/image/ShortLookupTable.java
1199         (ShortLookupTable) :Fixed HTML entities in javadocs.
1200         (lookupPixel): Fix case when dst is null.
1201         * java/awt/image/DataBufferByte.java,
1202         java/awt/image/DataBufferDouble.java,
1203         java/awt/image/DataBufferFloat.java,
1204         java/awt/image/DataBufferInt.java,
1205         java/awt/image/DataBufferShort.java,
1206         java/awt/image/DataBufferUShort.java:
1207         Fix initialization of bankData in constructors.
1208
1209 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1210
1211         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1212         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1213         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1214         requests.
1215         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1216         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1217         (setNativeBounds): Make package private.  Set size request even
1218         if GTK parent is NULL.
1219         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1220         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1221         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1222
1223 2004-11-30  Mark Wielaard  <mark@klomp.org>
1224
1225         Workaround for bug #17952.
1226         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1227         (request_frame_extents): Check window->window != NULL.
1228
1229 2004-11-30  Mark Wielaard  <mark@klomp.org>
1230
1231         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1232
1233 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1234
1235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1236         native_text_layout_state_table here.
1237
1238         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1239
1240 2004-11-30  Mark Wielaard  <mark@klomp.org>
1241
1242         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1243         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1244         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1245
1246 2004-11-30  Michael Koch  <konqueror@gmx.de>
1247
1248         * gnu/java/awt/peer/gtk/GtkToolkit.java:
1249         Merged import statements.
1250
1251 2004-11-30  Michael Koch  <konqueror@gmx.de>
1252
1253         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1254         (isBufferedImageGraphics): Simplified.
1255
1256 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1257
1258         * javax/swing/JTree.java
1259         (isRootVisible): Fixed typo in method name.
1260         * javax/swing/JScrollBar.java
1261         (setValues): Likewise.
1262         * javax/swing/JScrollPane.java
1263         (createScrollListener): Call JScrollBar.setValues.
1264
1265 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1266
1267         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1268         Don't call setParentAndBounds on GtkWindowPeers.
1269
1270         * java/awt/Component.java (static): Don't set default keyboard
1271         focus manager.
1272         * java/awt/KeyboardFocusManager.java
1273         (getCurrentKeyboardFocusManager): If current keyboard focus
1274         manager is null set a default.
1275
1276         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1277         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1278         (gtkWidgetSetBackground): New method.
1279         (block_expose_events_cb): New function.
1280         (connectSignals): Block the AWT's expose event processing on
1281         button press and release.
1282         (gtkSetLabel): Set text on proper widget.
1283         (gtkWidgetModifyFont): Modify font on proper widget.
1284         (gtkWidgetSetBackground): Set normal, active and prelight
1285         colours.
1286         (gtkWidgetSetForeground): Set forground colour of proper widget.
1287         (gtkActivate): Activate the correct widget.
1288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1289         Only clear rectangle if the backing component is not an event
1290         box.
1291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1292         (beginNativeRepaintID): New variable.
1293         (endNativeRepaintID): Likewise.
1294         (gtkInit): Initialize new fields with method IDs.
1295         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1296         (endNativeRepaintID): Likewise.
1297
1298 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1299
1300         * javax/swing/JList.java (init): Revert accidental commit.
1301
1302         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1303         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1304         Call initComponentGraphics or connectSignals depending on
1305         component's realization status.
1306         (realize_cb): New function.
1307         (initComponentGraphics): New method.
1308         (connectSignals): New method.
1309         (clipRect): Return immediately if component is not realized.
1310         (setClip): Likewise.
1311         (translate): Likewise.
1312         (drawImage variants): Return false immediately if component is
1313         not realized.
1314         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1315         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1316         (connectSignals): New method.
1317         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1318         depending on component's realization status.  Move other
1319         initialization calls to ...
1320         (initComponentGraphics2D): New method.
1321         (realize_cb): New function.
1322         (cairoSetMatrix): Return immediately if gr is NULL.
1323         (cairoNewPath): Likewise.
1324         (cairoRectangle): Likewise.
1325         (cairoClip): Likewise.
1326         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1327         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1328         (gtkWidgetRepaintArea): Remove method.
1329         (isRealized): New method.
1330         (GtkComponentPeer): Move setParent, connectJObject and setCursor
1331         calls to setParentAndBounds.  Call setParentAndBounds.
1332         (setParentAndBounds): New method.
1333         (setComponentBounds): Return immediately if bounds are all zero.
1334         (repaint): Remove call to gtkWidgetRepaintArea.  Return
1335         immediately if requested paint region is 0x0.
1336         (setCursor): New method.
1337         (gtkWidgetSetParent): Only set widget's parent if its parent is
1338         currently NULL.
1339         (setNativeBounds): Only set widget's bounds if it has a parent.
1340         (connectSignals): Don't call gtk_widget_realize.  Connect
1341         "realize" signal to connect_awt_hook_cb handler.
1342         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1343         New field.
1344         (beginValidate): Set isValidating true.
1345         (endValidate): Set parents and bounds for children first, then
1346         for this.  Set isValidating false.
1347         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1348         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1349         (connectJObject): Remove method.
1350         (connectSignals): Don't call gtk_widget_realize.
1351         * gnu/java/awt/peer/gtk/GtkListPeer.java,
1352         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1353         (connectJObject): Remove method.
1354         (connectSignals): Don't call gtk_widget_realize.
1355         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1356         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1357         (connectJObject): Remove method.
1358         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1359         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1360         (connectJObject): Remove method.
1361         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1362         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1363         (create): Don't call gtk_widget_realize.
1364         (connectJObject): Remove method.
1365         (connectSignals): Don't call gtk_widget_realize.  Connect
1366         "realize" signal to connect_awt_hook_cb handler.
1367         (nativeSetBounds): Don't attempt to move GDK window if it is
1368         NULL.
1369         * java/awt/Container.java (addImpl): Don't call comp.addNotify
1370         if peer is not null.
1371         (validateTree): Create peers for all children before calling
1372         doLayout.
1373         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1374         (connectSignals): Don't call gtk_widget_realize.
1375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1376         (connect_awt_hook_cb): New function.
1377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1378         (initComponentGraphicsID): New variable.
1379         (initComponentGraphics2DID): Likewise.
1380         (setCursorID): Likewise.
1381         (gtkInit): Initialize new fields with method IDs.
1382         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1383         extern.
1384         (initComponentGraphics2DID): Declare extern.
1385         (setCursorID): Likewise.
1386         (connect_awt_hook_cb): Declare function.
1387
1388 2004-11-30  Michael Koch  <konqueror@gmx.de>
1389
1390         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1391         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1392         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1393         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1394         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1395         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1396         gnu/java/awt/peer/gtk/GtkClipboard.java,
1397         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1398         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1399         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1400         gnu/java/awt/peer/gtk/GtkListPeer.java,
1401         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1402         gnu/java/awt/peer/gtk/GtkToolkit.java,
1403         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1404         Import statements reworked.  Some little reformattings.
1405
1406 2004-11-30  Michael Koch  <konqueror@gmx.de>
1407
1408         * java/awt/image/AffineTransformOp.java
1409         (TYPE_BILINEAR): Initialize with 2.
1410         * java/awt/print/Printable.java: Jalopied.
1411         (PAGE_EXISTS): Initialize with 0;
1412         (NO_SUCH_PAGE): Initialized with 1.
1413
1414 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1415
1416         * Makefile.am: Add BufferedImageFilter.java.
1417         * Makefile.in: Regenerate.
1418
1419 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1420
1421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 
1422         (install_font_peer): Minor bug fixes to track cairo font semantics.
1423
1424 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1425
1426         * java/awt/image/BufferedImageFilter.java: Implement.
1427
1428 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1429
1430         * Makefile.am
1431         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1432         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1433         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1434         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1435         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1436         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1437         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1438         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1439         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1440         * Makefile.in: Regenerate.
1441         * gnu/awt/xlib/XToolkit.java 
1442         (getClasspathTextLayoutPeer): Add stub.
1443         * gnu/java/awt/ClasspathToolkit.java 
1444         (getClasspathTextLayoutPeer) Add.
1445         * gnu/java/awt/peer/ClasspathFontPeer.java 
1446         (copyStyleToAttrs)
1447         (copySizeToAttrs): Make public.
1448         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1449         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1450         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1451         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1452         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1453         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1454         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1455         (getFontPeer): New function.
1456         (drawString): Pass font peer to native side.
1457         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1458         (cairoSetFont)
1459         (cairoShowGlyphs)
1460         (PainterThread): Remove.
1461         (GdkGraphics2D): Set hints during construction.
1462         (shifted)
1463         (walkPath)
1464         (draw)
1465         (setRenderingHint)
1466         (setRenderingHints): Reimplement normalization logic.
1467         (getDefaultHints)
1468         (updateBufferedImage)
1469         (isBufferedImageGraphics)
1470         (updateImagePixels)
1471         (drawImage): Make final.
1472         (drawImage): Always paint synchronously.
1473         (drawString)
1474         (drawGlyphVector): Rewrite.
1475         (releasePeerGraphicResource)
1476         (getPeerTextMetrics)
1477         (getPeerFontMetrics)
1478         (drawGdkGlyphVector)
1479         (drawGdkTextLayout)
1480         (cairoDrawGdkGlyphVector)
1481         (cairoDrawGdkTextLayout)
1482         (cairoDrawString)
1483         (getFontPeer): New functions.
1484         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1485         * gnu/java/awt/peer/gtk/GtkComponentPeer.java 
1486         (getFontMetrics): Get metrics via toolkit, to hit cache.
1487         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1488         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1489         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1490         (fontCache)
1491         (metricsCache)
1492         (imageCache): New members.
1493         (getFontMetrics)
1494         (getImage)
1495         (getClasspathFontPeer): Use caches.
1496         (getFontPeer): Route through getClasspathFontPeer.
1497         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1498         * java/awt/font/TextLayout.java: Implement in terms of peer.
1499         * javax/swing/plaf/basic/BasicSliderUI.java 
1500         (paintThumb): Use polyline rather than polygon.
1501         * javax/swing/plaf/basic/BasicGraphicsUtils.java: 
1502         Update comment but, alas, still do not switch to using TextLayouts.
1503         * javax/swing/text/Utilities.java (drawTabbedText):
1504         Draw text run-at-a-time, not char-at-a-time.
1505         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1506         layout table.
1507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1509         Remove files.
1510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1511         incorporate brains of old GdkClasspathFontPeerMetrics.
1512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1513         incorporate brains of old GdkClasspathFontPeer.
1514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1516         (drawString): Rewrite to use persistent layout in peer font.
1517         Comment out extraneous gdk_flush calls.
1518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1519         (metrics_cairo)
1520         (metrics_surface): New static variables.
1521         (paint_glyph_run)
1522         (install_font_peer): New helper functions.
1523         (releasePeerGraphicResource)
1524         (getPeerTextMetrics)
1525         (getPeerFontMetrics)
1526         (cairoDrawGdkTextLayout)
1527         (cairoDrawGdkGlyphVector): New native methods.
1528         (cairoDrawString): Rewrite, leaving layout-based version 
1529         commented out for the time being.
1530         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1531
1532 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1533
1534         * java/awt/geom/AffineTransform.java:
1535         Fixed javadocs overall.
1536
1537 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1538
1539         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1540         it's correct.
1541
1542 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1543
1544         * java/awt/image/IndexColorModel.java: Fix use of immutable
1545         BigIntegers.
1546
1547 2004-11-30  Tom Tromey  <tromey@redhat.com>
1548
1549         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1550         Renamed from 'messageIcon'.
1551         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1552
1553 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1554
1555         * java/awt/image/RescaleOp.java: Fix formatting.
1556
1557 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1558
1559         * javax/swing/plaf/basic/BasicComboPopup.java
1560         (SCROLL_DOWN): made final.
1561         (SCROLL_UP): made final.
1562
1563 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
1564
1565         * javax/swing/plaf/basic/BasicComboPopup.java:
1566         Added javadocs for undocumented fields.
1567         (show): scroll down to the selected item and 
1568         highlight selected item.
1569         (startAutoScrolling): Implemented.
1570         (stopAutoScrolling): Implemented.
1571         (autoScrollUp): Implemented.
1572         (autoScrollDown): Implemented.
1573         (InvocationMouseHandler.mouseReleased): Implemented.
1574         (InvocationMouseMotionHandler.mouseDragged): Implemented.
1575
1576 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1577
1578         * java/awt/image/RescaleOp.java: Implement.
1579
1580 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1581
1582         * java/awt/image/IndexColorModel.java (getRGBs,
1583         convertToIntDiscrete): Implement.
1584
1585 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1586
1587         * java/awt/image/IndexColorModel.java: Add class docs.
1588
1589 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1590
1591         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1592         Implement.
1593
1594 2004-11-30  Michael Koch  <konqueror@gmx.de>
1595
1596         * java/awt/MenuBar.java,
1597         java/awt/peer/MenuBarPeer.java:
1598         Revert accidentally commited changes.
1599
1600 2004-11-30  Michael Koch  <konqueror@gmx.de>
1601
1602         * java/awt/AWTKeyStroke.java,
1603         java/awt/Canvas.java,
1604         java/awt/CardLayout.java,
1605         java/awt/CheckboxMenuItem.java,
1606         java/awt/Component.java,
1607         java/awt/Container.java,
1608         java/awt/DefaultKeyboardFocusManager.java,
1609         java/awt/EventDispatchThread.java,
1610         java/awt/FileDialog.java,
1611         java/awt/FlowLayout.java,
1612         java/awt/Font.java,
1613         java/awt/Frame.java,
1614         java/awt/Graphics2D.java,
1615         java/awt/GraphicsEnvironment.java,
1616         java/awt/GridBagConstraints.java,
1617         java/awt/GridBagLayout.java,
1618         java/awt/GridLayout.java,
1619         java/awt/Image.java,
1620         java/awt/KeyboardFocusManager.java,
1621         java/awt/Label.java,
1622         java/awt/List.java,
1623         java/awt/MediaTracker.java,
1624         java/awt/Menu.java,
1625         java/awt/MenuBar.java,
1626         java/awt/MenuComponent.java,
1627         java/awt/Panel.java,
1628         java/awt/PopupMenu.java,
1629         java/awt/ScrollPane.java,
1630         java/awt/Scrollbar.java,
1631         java/awt/SystemColor.java,
1632         java/awt/TextArea.java,
1633         java/awt/TextField.java,
1634         java/awt/Toolkit.java,
1635         java/awt/Window.java,
1636         java/awt/color/ICC_Profile.java,
1637         java/awt/datatransfer/DataFlavor.java,
1638         java/awt/datatransfer/StringSelection.java,
1639         java/awt/datatransfer/SystemFlavorMap.java,
1640         java/awt/dnd/Autoscroll.java,
1641         java/awt/dnd/DropTarget.java,
1642         java/awt/dnd/DropTargetContext.java,
1643         java/awt/dnd/DropTargetDragEvent.java,
1644         java/awt/dnd/peer/DropTargetContextPeer.java,
1645         java/awt/event/AdjustmentEvent.java,
1646         java/awt/event/InputEvent.java,
1647         java/awt/event/InvocationEvent.java,
1648         java/awt/event/KeyEvent.java,
1649         java/awt/event/MouseEvent.java,
1650         java/awt/font/TextLayout.java,
1651         java/awt/geom/GeneralPath.java,
1652         java/awt/geom/Point2D.java,
1653         java/awt/im/InputContext.java,
1654         java/awt/im/spi/InputMethodContext.java,
1655         java/awt/image/AffineTransformOp.java,
1656         java/awt/image/BufferedImage.java,
1657         java/awt/image/ColorModel.java,
1658         java/awt/image/ComponentColorModel.java,
1659         java/awt/image/CropImageFilter.java,
1660         java/awt/image/DirectColorModel.java,
1661         java/awt/image/MemoryImageSource.java,
1662         java/awt/image/PackedColorModel.java,
1663         java/awt/image/PixelGrabber.java,
1664         java/awt/image/RasterOp.java,
1665         java/awt/peer/MenuBarPeer.java:
1666         Some fixes for checkstyle. Import statement and modifier order
1667         redordering.
1668
1669 2004-11-30  Michael Koch  <konqueror@gmx.de>
1670
1671         * javax/swing/JTable.java
1672         (setModel): Reimplemented.
1673
1674 2004-11-30  Michael Koch  <konqueror@gmx.de>
1675
1676         * javax/swing/JTextArea.java
1677         (append): Re-implemented.
1678         (insert): Likewise.
1679
1680 2004-11-30  Michael Koch  <konqueror@gmx.de>
1681
1682         * javax/swing/JSpinner.java
1683         (serialVersionUID): New static field.
1684         * javax/swing/JToggleButton.java
1685         (JToggleButton): Fixed email addresses.
1686         * javax/swing/SpinnerNumberModel.java
1687         (serialVersionUID): Added javadoc.
1688
1689 2004-11-30  Michael Koch  <konqueror@gmx.de>
1690
1691         * javax/swing/JTextArea.java:
1692         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1693         bug here which is fixed in HEAD ...
1694
1695 2004-11-30  Andrew John Hughes  <address@hidden>
1696
1697         * javax/swing/JTextArea.java: Added additional
1698         documentation.
1699
1700 2004-11-30  Andrew John Hughes  <address@hidden>
1701
1702         * javax/swing/JRadioButton.java:
1703         Implemented additional constructors and accessibility
1704         classes.  Added documentation and fixed a typo in
1705         AbstractButton.
1706
1707 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1708
1709         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1710         missing constructor.
1711
1712 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1713
1714         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1715         Implement missing 1.4 constructor.
1716
1717 2004-11-30  Andrew John Hughes  <address@hidden>
1718
1719         * javax/swing/JToggleButton.java:
1720         Implemented additional constructors and accessibility
1721         classes.  Added documentation and fixed a typo in
1722         AbstractButton.
1723
1724 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1725
1726         * java/awt/image/ColorModel.java (getDataElement,
1727         getDataElements): Document since 1.4.
1728
1729 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1730
1731         * java/awt/image/BandedSampleModel.java: Implement.
1732         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1733         * Makefile.in: Regenerated.
1734         
1735 2004-11-30  Michael Koch  <konqueror@gmx.de>
1736
1737         * java/awt/Window.java: Fixed whitespace difference with GNU
1738         classpath.
1739
1740 2004-11-30  Mark Wielaard  <mark@klomp.org>
1741
1742         * Makefile.am: Add javax/swing/SpinnerListModel.java.
1743         * Makefile.in: Regenerated.
1744
1745 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1746
1747         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1748         Implemented SpinnerListModel.  Added documentation to
1749         SpinnerModel.
1750
1751 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1752
1753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c 
1754         (init_dpi_conversion_factor): Apply the patch from main correctly.
1755         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1756
1757 2004-11-30  Tom Tromey  <tromey@redhat.com>
1758
1759         Bug 9948.
1760         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1761         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1762         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1763         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
1764
1765 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1766
1767         * java/awt/Canvas.java
1768         (AccessibleAWTCanvas): added serialization UID
1769         * java/awt/Label.java
1770         (AccessibleAWTLabel): added serialization UID
1771         * javax/swing/JRootPane.java
1772         (AccessibleJRootPane): added comment to existing UID
1773         * javax/swing/JSpinner.java
1774         (DefaultEditor): added serialization UID
1775         (NumberEditor): added serialization UID
1776         * javax/swing/text/html/HTML.java
1777         (UnknownTag): added serialization UID
1778         
1779 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
1780
1781         * javax/swing/JInternalFrame.java
1782         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
1783         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
1784         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
1785         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
1786         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1787         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
1788         Made final as per API spec.
1789
1790 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1791
1792         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
1793
1794 2004-11-30  Sven de Marothy  <sven@physto.se>
1795
1796         * java/awt/geom/Arc2D.java: Reformatted.
1797         (setArc): Correct documentation to say 'upper left corner'.
1798         (setArcByTangent,contains,intersects): Implemented.
1799         (containsAngle): Corrected to handle negative extents.
1800         (ArcIterator): Set to private.
1801         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
1802         (intersects): Fix: Now checks the arc segment.
1803         (contains): Cleaned up.
1804         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
1805         (contains): Implemented.
1806         (intersects): Implemented.
1807         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
1808         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
1809         document.  Fully (re)implemented using separate xpoints and ypoints
1810         float[] coords.
1811
1812 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1813
1814         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1815         * configure: Regenerate.
1816         * include/config.h.in: Likewise.
1817         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1819         macro to gtkpeer.h.
1820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1821         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1822         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1823         architectures.
1824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1825         Likewise.
1826
1827 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1828
1829         * java/awt/SystemColor.java: Fix @link doc entries.
1830
1831 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
1832
1833         * java/awt/RenderingHints.java: Documented.
1834         (RenderingHints): Accept null init Map.
1835         (putAll): Preprocess map to generate appropriate exceptions.
1836         (remove): Cast object to Key and remove from hintMap.
1837
1838 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1839
1840         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
1841         Implementation of accessibility classes and methods
1842         for these two components.
1843
1844 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1845
1846         * java/awt/KeyboardFocusManager.java:
1847         Added missing documentation.
1848
1849 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
1850
1851         * java/awt/Label.java, java/awt/Canvas.java:
1852         Added accessibility classes to AWT Label and Canvas,
1853         as well as additional documentation for Canvas.
1854
1855 2004-11-30  David Gilbert  <address@bogus.example.com>
1856
1857         * java/awt/image/DataBuffer.java: Update API documentation.
1858         * java/awt/image/DataBufferByte.java: Likewise.
1859         * java/awt/image/DataBufferDouble.java: Likewise.
1860         * java/awt/image/DataBufferFloat.java: Likewise.
1861         * java/awt/image/DataBufferInt.java: Likewise.
1862         * java/awt/image/DataBufferShort.java: Likewise.
1863         * java/awt/image/DataBufferUShort.java: Likewise.
1864
1865 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
1866
1867         * java/awt/Component.java (postEvent):
1868         Only delegate to parent if a parent exists.
1869         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
1870
1871 2004-11-30  Sven de Marothy  <sven@physto.se>
1872
1873         *java/awt/AWTEventMulticaster.java,
1874         java/awt/Adjustable.java,
1875         java/awt/Point.java,
1876         java/awt/Polygon.java,
1877         java/awt/Rectangle.java,
1878         java/awt/Shape.java,
1879         java/awt/geom/Area.java,
1880         java/awt/geom/Ellipse2D.java,
1881         java/awt/geom/PathIterator.java,
1882         java/awt/geom/Point2D.java,
1883         java/awt/geom/Rectangle2D.java,
1884         java/lang/Comparable.java,
1885         java/util/Arrays.java:
1886         Fixed documentation errors
1887
1888 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1889
1890         * java/awt/image/ComponentSampleModel.java: Add documentation.
1891
1892
1893 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1894
1895         * java/awt/image/ComponentSampleModel.java (constructor):
1896         Initialize numBanks when figuring out the max bank index.
1897
1898 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1899
1900         * java/awt/image/Raster.java (createPackedRaster): Implement
1901         MultiPixelPackedSampleModel codepath.
1902
1903 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1904
1905         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
1906         * Makefile.am: Add MultiPixelPackedSampleModel.java.
1907         * Makefile.in: Regenerate.
1908
1909 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1910
1911         * java/awt/image/Raster.java (getNumBands): Implement.
1912
1913 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1914
1915         * java/awt/image/Raster.java
1916         (createPackedRaster(int,int,int,int,int,Point)): Implement for
1917         bands>1.
1918
1919 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1920
1921         * java/awt/image/SinglePixelPackedSampleModel.java
1922         (SinglePixelPackedSampleModel): Throw exception for unsupported
1923         datatype.
1924
1925 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1926
1927         * java/awt/image/ColorModel.java (getDataElement): Implemented.
1928         Update javadoc.
1929         (getDataElements): Add missing version.  Remove bogus version.
1930         Update javadoc.
1931
1932 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
1933
1934         * javax/swing/plaf/basic/BasicComboBoxUI.java:
1935         (paintCurrentValue): Pass correct parameters to 
1936         getListCellRendererComponent().
1937         (ListDataHandler.intervalRemoved): Implemented. 
1938         (PropertyChangeHandler.propertyChange): Handle changes in
1939         MODEL_CHANGED_PROPERTY of the JComboBox
1940         * javax/swing/plaf/basic/BasicComboPopup.java:
1941         (BasicComboPopup): Moved code that configures popup to 
1942         configurePopup() and call it instead. 
1943         (firePopupMenuWillBecomeVisible): Implemented.
1944         (firePopupMenuWillBecomeInvisible): Likewise.
1945         (firePopupMenuCanceled): Likewise.
1946         (configureList): Set list's visibleRowCount same as 
1947         comboBox's visibleRowCount.
1948         (configurePopup): Implemented.
1949         (getPopupHeightForRowCount): Get item's from JComboBox's model and 
1950         not from model of the JList.
1951         (ListMouseMotionHandler.mouseMoved): Implemented.
1952         (PropertyChangeHandler.propertyChange): Handles change in the
1953         JComboBox's model.
1954
1955 2004-11-30  Michael Koch  <konqueror@gmx.de>
1956
1957         * javax/swing/JComponent.java
1958         (isMaximumSizeSet): New method.
1959         (isMinimumSizeSet): Likewise.
1960         (isPreferredSizeSet): Likewise.
1961
1962 2004-11-30  Michael Koch  <konqueror@gmx.de>
1963
1964         * javax/swing/JSpinner.java:
1965         Some Re-formatting.
1966         (spinner): New field.
1967         (DefaultEditor): New method.
1968         (getSpinner): Likewise.
1969         (NumberEdito): Likewise.
1970         (getModel): Likewise
1971
1972 2004-11-30  Michael Koch  <konqueror@gmx.de>
1973
1974         * javax/swing/InputVerifier.java:
1975         Re-formatted.
1976         * javax/swing/JComponent.java
1977         (inputVerifier): New property field.
1978         (getInputVerifier): New method.
1979         (setInputVerifier): Likewise.
1980
1981 2004-11-30  Michael Koch  <konqueror@gmx.de>
1982
1983         * javax/swing/JComponent.java
1984         (JComponent): Added javadoc comment.
1985         (setBorder): Fire property change eventr.
1986         (setEnabled): Likewise.
1987         (setMaximumSize): Likewise.
1988         (setMinimumSize): Likewise.
1989         (setPreferredSize): Likewise.
1990         (setOpaque): Likewise.
1991
1992 2004-11-30  Michael Koch  <konqueror@gmx.de>
1993
1994         * javax/swing/JTextField.java
1995         (action): New field.
1996         (actionCommand): Likewise.
1997         (actionPropertyChangeListener): Likewise.
1998         (setHorizontalAlignment): Abort soon if new value == old value. Fire
1999         event before repainting.
2000         (postActionEvent): New method.
2001         (getAction): Likewise.
2002         (setAction): Likewise.
2003         (getActionCommand): Likewise.
2004         (setActionCommand): Likewise.
2005         (createActionPropertyChangeListener): Likewise.
2006         (configurePropertiesFromAction): Likewise.
2007
2008 2004-11-30  Michael Koch  <konqueror@gmx.de>
2009
2010         * javax/swing/DebugGraphics.java:
2011         Re-formatted. Fixed some javadocs.
2012         * javax/swing/JApplet.java
2013         (rootPaneCheckingEnabled): Renamed from checking.
2014         * javax/swing/JCheckBox.java
2015         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2016         * javax/swing/JFrame.java:
2017         Re-formatted a bit and reordered some methods.
2018         (rootPaneCheckingEnabled): Renamed from checking.
2019         (getPreferredSize): Simplified.
2020         * javax/swing/JTextArea.java
2021         (getColumnWidth): New method.
2022         (getLineCount): Likewise.
2023         (getLineStartOffset): Likewise.
2024         (getLineEndOffset): Likewise.
2025         (getLineOfOffset): Likewise.
2026         (getRowHeight): Likewise.
2027         (insert): Likewise.
2028         (replaceRange): Likewise.
2029         * javax/swing/JTextField.java
2030         (scrollOffset): new field.
2031         (getScrollOffset): New method.
2032         (setScrollOffset): Likewise.
2033         (getColumnWidth): Likewise.
2034         * javax/swing/JTree.java
2035         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2036         (CELL_EDITOR_PROPERTY): Likewise.
2037         (CELL_RENDERER_PROPERTY): Likewise.
2038         (EDITABLE_PROPERTY): Likewise.
2039         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2040         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2041         (LARGE_MODEL_PROPERTY): Likewise.
2042         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2043         (ROOT_VISIBLE_PROPERTY): Likewise.
2044         (ROW_HEIGHT_PROPERTY): Likewise.
2045         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2046         (SELECTION_MODEL_PROPERTY): Likewise.
2047         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2048         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2049         (TREE_MODEL_PROPERTY): Likewise.
2050         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2051         (cellEditor): New field.
2052         (invokesStopCellEditing): Likewise.
2053         (largeModel): Likewise.
2054         (rowHeight): Likewise.
2055         (scrollsOnExpand): Likewise.
2056         (selectionModel): Likewise.
2057         (toggleClickCount): Likewise.
2058         (visibleRowCount): Likewise.
2059         (setShowsRootHandles): Fixed typo in method name.
2060         (getCellEditor): New method.
2061         (setCellEditor): Likewise.
2062         (getSelectionModel): Likewise.
2063         (setSelectionModel): Likewise.
2064         (getVisibleRowCount): Likewise.
2065         (setVisibleRowCount): Likewise.
2066         (isLargeModel): Likewise.
2067         (setLargeModel): Likewise.
2068         (getRowHeight): Likewise.
2069         (setRowHeight): Likewise.
2070         (getInvokesStopCellEditing): Likewise.
2071         (setInvokesStopCellEditing): Likewise.
2072         (getToggleClickCount): Likewise.
2073         (setToggleClickCount): Likewise.
2074         (getScrollsOnExpand): Likewise.
2075         (setScrollsOnExpand): Likewise.
2076         * javax/swing/table/DefaultTableColumnModel.java
2077         (addColumnModelListener): Fixed javadoc.
2078         (removeColumnModelListener): Implemented. Fixed javadoc.
2079         (getColumnModelListeners): New method.
2080         * javax/swing/table/JTableHeader.java
2081         (columnModel): Made protected.
2082         (draggedColumn): Likewise.
2083         (draggedDistance): Likewise.
2084         (reorderingAllowed): Likewise.
2085         (resizingAllowed): Likewise.
2086         (resizingColumn): Likewise.
2087         (table): Likewise.
2088         (updateTableInRealTime): Likewise.
2089         (createDefaultColumnModel): Renamed from
2090         createDefaultTableColumnModel.
2091         (setDefaultRenderer): New method.
2092         * javax/swing/table/TableColumn.java
2093         (getPropertyChangeListeners): New method.
2094         * javax/swing/text/DefaultHighlighter.java
2095         (drawsLayeredHighlights): New field.
2096         (getDrawsLayeredHighlights): New method.
2097         (setDrawsLayeredHighlights): Likewise.
2098         * javax/swing/text/DocumentFilter.java
2099         (FilterBypass): New inner class.
2100         (insertString): New method.
2101         (remove): Likewise.
2102         (replace): Likewise.
2103         * javax/swing/text/JTextComponent.java
2104         (dragEnabled): New field.
2105         (getSelectedText): New method.
2106         (getDragEnabled): Likewise.
2107         (setDragEnabled): Likewise.
2108         (replaceSelection): Reimplemented.
2109         * javax/swing/text/NavigationFilter.java
2110         (FilterBypass): New inner class.
2111         (NavigationFilter): New method.
2112         (moveDot): Likewise.
2113         (setDot): Likewise.
2114         * javax/swing/text/SimpleAttributeSet.java
2115         (EMPTY): Made public final.
2116
2117 2004-11-30  Michael Koch  <konqueror@gmx.de>
2118
2119         * javax/swing/SpinnerNumberModel.java
2120         (getMinimum): New method.
2121         (setMinimum): Likewise.
2122         (getMaximum): Likewise.
2123         (setMaximum): Likewise.
2124         (getStepSize): Likewise.
2125         (setStepSize): Likewise.
2126
2127 2004-11-30  Michael Koch  <konqueror@gmx.de>
2128
2129         * javax/swing/JMenu.java
2130         (getMenuListeners): New method.
2131         (fireMenuSelected): Simplified.
2132         * javax/swing/JRootPane.java
2133         (NONE): New static field.
2134         (FRAME): Likewise.
2135         (PLAIN_DIALOG): Likewise.
2136         (INFORMATION_DIALOG): Likewise.
2137         (ERROR_DIALOG): Likewise.
2138         (COLOR_CHOOSER_DIALOG): Likewise.
2139         (FILE_CHOOSER_DIALOG): Likewise.
2140         (QUESTION_DIALOG): Likewise.
2141         (WARNING_DIALOG): Likewise.
2142         (defaultButton): New field.
2143         (getDefaultButton): New method.
2144         (setDefaultButton): Likewise.
2145         * javax/swing/JScrollPane.java
2146         (getUI): New method.
2147         (setUI): Likewise.
2148         * javax/swing/JTable.java
2149         (getUI): Javadoc added.
2150         (setUI): New method.
2151         * javax/swing/JViewport.java
2152         (getUI): New method.
2153         (setUI): Likewise.
2154         * javax/swing/UIDefaults.java
2155         (removePropertyChangeListener): Made public.
2156
2157 2004-11-30  Michael Koch  <konqueror@gmx.de>
2158
2159         * javax/swing/JApplet.java, javax/swing/JFrame.java:
2160         Re-indented.
2161
2162 2004-11-30  Michael Koch  <konqueror@gmx.de>
2163
2164         * javax/swing/AbstractButton.java:
2165         Little re-formatting.
2166         (changeEvent): Made protected.
2167         (fireStateChanged): Removed argument.
2168         (setHorizontalAlignment): Abort method when old value is equal too new
2169         value.
2170         (setHorizontalTextPosition): Likewise.
2171         (setVerticalAlignment): Likewise.
2172         (setVerticalTextPosition): Likewise.
2173         (setBorderPainted): Likewise.
2174         (setIcon): Likewise.
2175         (setText): Likewise.
2176         (setIconTextGap): Likewise.
2177         (setMargin): Likewise.
2178         (setPressedIcon): Likewise.
2179         (setFocusPainted): Likewise.
2180         (setDisabledSelectedIcon): Likewise.
2181         (setRolloverIcon): Likewise.
2182         (setRolloverSelectedIcon): Likewise.
2183         (setSelectedIcon): Likewise.
2184         (setContentAreaFilled): Likewise.
2185
2186 2004-11-30  Kim Ho  <kho@redhat.com>
2187
2188         * javax/swing/plaf/basic/BasicArrowButton.java:
2189         Jalopy. Reimplement.
2190         * javax/swing/plaf/basic/BasicScrollBarUI.java:
2191         Jalopy.
2192         (arrowIcon, upIcon, downIcon, leftIcon,
2193         rightIcon): Removed.
2194         (createIncreaseButton): Use BasicArrowButton.
2195         (createDecreaseButton): Ditto.
2196         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2197         (createRightOneTouchButton): Remove button border.
2198         (createLeftOneTouchButton): Ditto.
2199
2200 2004-11-30  Michael Koch  <konqueror@gmx.de>
2201
2202         * javax/swing/JSpinner.java
2203         (setModel): New method.
2204         * javax/swing/SpringLayout.java
2205         (Constraints): May not be final.
2206
2207 2004-11-30  Michael Koch  <konqueror@gmx.de>
2208
2209         * gnu/java/awt/peer/gtk/GtkClipboard.java,
2210         java/awt/datatransfer/Clipboard.java,
2211         java/awt/datatransfer/ClipboardOwner.java:
2212         Reformated to make it use our coding standard.
2213
2214 2004-11-30  Michael Koch  <konqueror@gmx.de>
2215
2216         * javax/swing/SpinnerNumberModel.java
2217         (SpinnerNumberModel): Implements java.io.Serializable.
2218         (serialVersionUID): New field.
2219         (SpinnerNumberModel): Added missing @throws tags to javadocs.
2220         * javax/swing/UIManager.java
2221         (get): New method.
2222         (getBoolean): Likewise.
2223         (getBorder): Likewise.
2224         (getColor): Likewise.
2225         (getDimension): Likewise.
2226         (getFont): Likewise.
2227         (getIcon): Likewise.
2228         (getInsets): Likewise.
2229         (getInt): Likewise.
2230         (getString): Likewise.
2231
2232 2004-11-30  Michael Koch  <konqueror@gmx.de>
2233
2234         * javax/swing/JPasswordField.java:
2235         Reformated. Implemented construtors.
2236         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2237         (create): New method.
2238         * javax/swing/text/PlainView.java
2239         (selectedColor): Made package-private to allow access from sub-classes
2240         in same package too.
2241         (unselectedColor): Likewise.
2242         (font): Likewise.
2243         (drawSelectedText): Make protected.
2244         (drawUnselectedText): Likewise.
2245         * javax/swing/text/PasswordView.java: New file.
2246         * Makefile.am: Added javax/swing/text/PasswordView.java.
2247         * Makefile.in: Regenerated.
2248
2249 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2250
2251         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2252         bar's width.
2253         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2254         Add FIXME comment.
2255         (addHelpMenu): Elide call to nativeSetHelpMenu.
2256         * java/awt/Menu.java (isTearOff): Rename to tearOff.
2257         (menuSerializedDataVersion): Initialize to 1.
2258         (separatorLabel): Mark transient.
2259         (insert(MenuItem,int)): Implement.
2260         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2261         peer.
2262         (countMenus): Count help menu.
2263         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2264         accessibleContext): Add fields.
2265         * java/awt/MenuItem.java: Remove event mask FIXME.
2266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2267         (gtkWidgetModifyFont): Only set font if label is non-NULL.
2268         (setLabel): Don't treat "-" specially.
2269
2270 2004-11-30  Kim Ho  <kho@redhat.com>
2271
2272         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2273         (stateChanged): Only update the image and the track if
2274         the values are not being adjusted.
2275         (updateChooser): Grab the new mouse point from the
2276         spinner values. Update the image and track only if 
2277         the values are not being adjusted. 
2278         (getHSBValues): New method.
2279         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2280         (SliderHandler::stateChanged): Changed internalChange 
2281         to updateChange. Set sliderChange.
2282         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2283         (spinnerChange): New variable.
2284         (sliderChange): Ditto.
2285         (updateChange): Renamed from internalChange.
2286         (updateChooser): Do not update sliders if the sliders
2287         were the original source of the change. Ditto for spinners.
2288         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2289         (mousePress): Don't scroll the JViewport if there will
2290         be extra space at the end of the run. Change layout() to
2291         revalidate().
2292         (calculateSize): Use the component's width/height unless
2293         it is smaller than the max tab width/height.
2294         (calculateTabRects): Subtract the tab run overlay.
2295         (rotateTabRuns): Don't rotate if there's only one run.
2296         (layoutContainer): Reuse the viewport point.
2297         (createLayoutManager): Set the viewport to use no layout.
2298         (paintTabArea): Don't paint the tabs that are not visible
2299         to the JViewport.
2300         (paintContentBorderTopEdge): Check for scroll tab layout before
2301         looking for gap.
2302         (paintContentBorderLeftEdge): Ditto.
2303         (paintContentBorderBottomEdge): Ditto.
2304         (paintContentBorderRightEdge): Ditto.
2305
2306 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2307
2308         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2309         Rename ...
2310         (gtkWidgetModifyFont): New method.
2311         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2312         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2313         (setMenuBarWidth): New method.
2314         (setBounds): Set the menu bar width.
2315         (postConfigureEvent): Set the menu bar width if the window's
2316         width has changed.
2317         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2318         Don't call create.
2319         (setFont): New method.
2320         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2321         method.
2322         (setFont): Likewise.
2323         (GtkMenuComponentPeer): Call create and setFont.
2324         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2325         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2326         (connectSignals): Make package private.
2327         (gtkWidgetModifyFont): New method.
2328         (create): Likewise.
2329         (GtkMenuItemPeer): Don't call create.
2330         (setFont): New method.
2331         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2332         condition.
2333         * java/awt/Container.java (validateTree): Fix comment typos.
2334         * java/awt/MenuComponent.java (getFont): Return parent's font if
2335         our font is null.
2336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2337         (create): Remove call to deprecated
2338         gtk_check_menu_item_set_show_toggle function.
2339
2340 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
2341
2342         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2343         (Almost everywhere): add LOG calls, fix, add comments.
2344         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2345         Add explicit check for LOCKED bit in slow case (PR 16662).
2346         (_Jv_MonitorExit): Add casts in debug-only code.
2347         Always release LOCKED bit before throwing exception.
2348         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2349         isn't.  Handle easy cases without lock acquisition.
2350         (Object::wait): Use NotifyAll for lock inflation.
2351
2352 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2353
2354         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2355         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2356         (gtkFixedMove): Remove method.
2357
2358 2004-11-30  Sven de Marothy  <sven@physto.se>
2359
2360         * java/awt/geom/Area.java: Implemented.
2361
2362 2004-11-30  Mark Wielaard  <mark@klomp.org>
2363
2364         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2365
2366 2004-11-30 Sven de Marothy <sven@physto.se>
2367
2368         * java/awt/geom/Arc2D.java
2369         Reformatted.
2370         (setArc): Correct documentation to say 'upper left corner'.
2371         (setArcByTangent,contains,intersects): Implemented.
2372         (containsAngle): Corrected to handle negative extents.
2373         (ArcIterator): Set to private.
2374         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2375         * java/awt/geom/Ellipse2D.java
2376         Documented.
2377         (contains,intersects): Implemented.
2378         * java/awt/geom/Line2D.java
2379         (linesIntersect): Correct handling of special cases.
2380
2381 2004-11-30  Mark Wielaard  <mark@klomp.org>
2382
2383         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2384         Color.BLACK if c == null, don't create new Color object each time.
2385         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2386         field.
2387         (setColor): Use Color.BLACK when argument null.
2388         (setComposite): Set this.comp field.
2389         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2390         (DrawState.comp): New private field.
2391         (DrawState.save): Save Composite.
2392         (DrawState.restore): Restore comp field.
2393         * java/awt/FontMetrics.java (gRC): New static final private field.
2394         (getLineMetrics(String, Graphics)): New method.
2395         (getLineMetrics(String, int, int, Graphics)): Likewise.
2396         (getLineMetrics(char[], int, int, Graphics)): Likewise.
2397         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2398         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2399         argument. PR SWING/17294.
2400         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2401         the fall-back code since none of the TextArea methods are really
2402         implemented now. PR SWING/17296.
2403         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2404         (GdkGlyphVector_setChars): Replace assert() with if block when
2405         pango_itemize() returns null. PR AWT/17295.
2406         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2407         
2408 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2409
2410         * Makefile.am (gtk_c_source_files): Add
2411         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2412         * Makefile.in: Regenerate.
2413         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2414         comment.
2415         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2417         (create): Pack GtkButton in GtkEventBox.
2418         (connectJObject): Remove.
2419         (focus_in_cb): New function.
2420         (focus_out_cb): Likewise.
2421         (connectSignals): Connect focus-in-event and focus-out-event
2422         signals.
2423         (gtkSetFont): Rename to ...
2424         (gtkWidgetModifyFont): New method.
2425         (gtkWidgetRequestFocus): New method.
2426         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2427         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2428         (gtkSetFont): Rename to ...
2429         (gtkWidgetModifyFont): New method.
2430         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2431         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2432         (isInRepaint): New field.
2433         (gtkSetFont): Remove method.
2434         (addExposeFilter): Likewise.
2435         (removeExposeFilter): Likewise.
2436         (gtkWidgetQueueDrawArea): Rename to ...
2437         (gtkWidgetRepaintArea): New method.
2438         (beginNativeRepaint): New method.
2439         (endNativeRepaint): New method.
2440         (setComponentBounds): Move implementation here from
2441         GtkComponentPeer.
2442         (paint): Remove implementation.
2443         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2444         beginNativeRepaint and endNativeRepaint.
2445         (setBounds): Use menu bar height in bounds calculation.
2446         (postExposeEvent): Only post paint event if we're not doing a
2447         native repaint.
2448         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2449         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2450         (find_gtk_layout): Remove function.
2451         (filter_expose_event_handler): Likewise.
2452         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2453         Likewise.
2454         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2455         (setComponentBounds): Call GtkComponentPeer's
2456         setComponentBounds.
2457         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2458         New method.
2459         (moveLayout): Rename to ...
2460         (gtkFixedMove): New method.
2461         (gtkLayoutSetVisible): Rename to ...
2462         (gtkFixedSetVisible): New method.
2463         (setMenuBar): Rearrange, to make the three separate cases
2464         clearer.
2465         (postExposeEvent): Only post paint event if we're not doing a
2466         native repaint.
2467         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2468         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2469         (gtkWidgetModifyFont): New method.
2470         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2471         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2472         Call run directly, rather than spawning a new thread.
2473         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2474         Likewise.
2475         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2476         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2477         Rename to ...
2478         (gtkWidgetModifyFont): New method.
2479         (create): Rename ebox to eventbox.
2480         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2481         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2482         Rename to ...
2483         (gtkWidgetModifyFont): New method.
2484         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2485         (GtkMenuComponentPeer): Set the default font.
2486         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2487         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2488         (gtkSetFont): Rename to ...
2489         (gtkWidgetModifyFont): New method.
2490         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2491         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2492         * java/awt/Component.java (locale): Initialize to default
2493         locale.
2494         * java/awt/Container.java (invalidateTree): Make
2495         package-private.
2496         (paint): Paint self first.
2497         (setMenuBar): Call invalidateTree.
2498         * java/awt/Panel.java (dispatchEventImpl): Remove method.
2499         * java/awt/Window.java (show): Call no-parameter variant of
2500         requestFocusInWindow.
2501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2502         Remove special case for window widget.
2503         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2504         (grab_current_drawable): Likewise.
2505         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2506         (create): Replace GtkLayout with GtkFixed.
2507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2508         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2510         Move all GtkFramePeer native method implementations here from
2511         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2513         Replace GtkLayout with GtkFixed.
2514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2515         (find_layout): Remove function.
2516         (create): Replace GtkLayout with GtkFixed.
2517         (connectSignals): Remove find_layout call.
2518         (toBack): Replace XFlush with gdk_flush.
2519         (toFront): Replace XFlush with gdk_flush.
2520         Move GtkFramePeer native method implementations to
2521         gnu_java_awt_peer_gtk_GtkFramePeer.c.
2522         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2523
2524 2004-11-30  Michael Koch  <konqueror@gmx.de>
2525
2526         * javax/swing/JTextArea.java
2527         (lineWrap): Renamed from "wrapping".
2528         (wrapStyleWord): NEw field.
2529         (getLineWrap): Re-edited javadoc comment.
2530         (setLineWrap): Likewise.
2531         (getWrapStyleWord): New method.
2532         (setWrapStyleWord): Likewise.
2533
2534 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2535
2536         * configure: Regenerate for libtool change.
2537
2538 2004-11-29  Tom Tromey  <tromey@redhat.com>
2539
2540         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2541         Recognize --help and --version.
2542         (usage): Mention gcj-dbtool.  Added "out" argument.
2543         (insist): Updated.
2544
2545 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
2546
2547         * link.cc (link_symbol_table): Do not use intptr_t.
2548
2549 2004-11-28  Mark Wielaard  <mark@klomp.org>
2550
2551         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2552         XMLDecoder tests which currently don't compile.
2553
2554 2004-11-27  Andrew Haley  <aph@redhat.com>
2555
2556         * link.cc (ensure_class_linked): Conditionally compile
2557         _Jv_IsInterpretedClass on INTERPRETER.
2558         (print_class_loaded): Likewise.
2559         (wait_for_state): Likewise.
2560         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2561         * include/java-interp.h (ROUND): Remove.
2562
2563 2004-11-25  Tom Tromey  <tromey@redhat.com>
2564
2565         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2566         * java/lang/Class.h (_Jv_Linker): Declare.
2567         (Class): Fix names of friends.
2568         (_Jv_getInterfaceMethod): Declare.
2569
2570 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2571
2572         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2573         variable libjava_ld_library_path.
2574         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2575
2576 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
2577
2578         * java/util/ResourceBundle.java (BundleKey): Don't implement
2579         Cloneable.
2580         (BundleKey.clone): Removed.
2581         (getBundle): Copy BundleKey using constructor, not clone().
2582
2583 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2584
2585         * configure: Regenerate for libtool reversion.
2586
2587 2004-11-25  Michael Koch  <konqueror@gmx.de>
2588
2589         * Makefile.am: Added most of javax.print again.
2590         * Makefile.in: Regenerated.
2591
2592 2004-11-25  Michael Koch  <konqueror@gmx.de>
2593
2594         * Makefile.am: Added most of javax.print again.
2595         * Makefile.in: Regenerated.
2596
2597 2004-11-24  Tom Tromey  <tromey@redhat.com>
2598
2599         * Merged gcj-abi-2-dev-branch to trunk.
2600
2601 2004-11-16  Tom Tromey  <tromey@redhat.com>
2602
2603         * include/java-interp.h (_Jv_DefineClass): Updated.
2604         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2605         domain to class reader.
2606         * defineclass.cc (parse): Use print_class_loaded.
2607         Include ProtectionDomain.h.
2608         (_Jv_DefineClass): Added ProtectionDomain argument.
2609         (_Jv_ClassReader): Likewise.
2610         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2611         * link.cc: Include CodeSource.h.
2612         (print_class_loaded): New function.
2613         (wait_for_state): Use it.
2614
2615 2004-11-16  Andrew Haley  <aph@redhat.com>
2616
2617         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2618
2619 2004-11-16  Andrew Haley  <aph@redhat.com>
2620
2621         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2622         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2623         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2624         * configure: Regenerate.
2625         * Makefile.in: Regenerate.      
2626
2627 2004-11-15  Andrew Haley  <aph@redhat.com>
2628
2629         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2630         gc-allocated object.
2631
2632 2004-11-15  Andrew Haley  <aph@redhat.com>
2633
2634         * java/net/URLClassLoader.java
2635         (URLLoader.getClassPath): New method.
2636         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2637         attribute and add URLs for each entry.
2638         (JarURLLoader.classPath): New field.
2639         (JarURLLoader.getClassPath): New method.
2640         (addURLImpl): Scan through the list of extraUrls in the new
2641         loader, adding them to our urlinfos.
2642         (definePackage, findURLResource, findResources): Use
2643         urlinfos.size(), not urls.size().
2644
2645 2004-11-11  Tom Tromey  <tromey@redhat.com>
2646
2647         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2648         method.
2649         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2650         linked.
2651         (ensureSupersLinked): Declare.
2652         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2653         linked.
2654
2655 2004-11-10  Tom Tromey  <tromey@redhat.com>
2656
2657         * gij.cc (main): Treat -verbose the same as -verbose:class.
2658         (help): Document -verbose and -verbose:class.
2659
2660         * link.cc (verbose_class_flag): Declare.
2661         (wait_for_state): Print message when handling precompiled class.
2662         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2663
2664 2004-11-09  Tom Tromey  <tromey@redhat.com>
2665
2666         * testsuite/libjava.lang/assign2.out: New file.
2667         * testsuite/libjava.lang/assign2.java: New file.
2668
2669         * java/lang/natRuntime.cc (insertSystemProperties): Set
2670         java.version to 1.4.2 and java.specification.version to 1.4.  Set
2671         java.runtime.version.
2672
2673 2004-11-08  Tom Tromey  <tromey@redhat.com>
2674
2675         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2676         supers installed.
2677         * link.cc (verify_type_assertions): Don't link supers.
2678
2679         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2680         * include/java-interp.h (class _Jv_InterpClass)
2681         <_Jv_PrepareMissingMethods>: No longer `friend'.
2682         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2683         `friend'.
2684         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2685         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2686         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2687         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2688         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2689         * link.cc (search_method_in_class): Renamed from
2690         _Jv_SearchMethodInClass.
2691         (resolve_pool_entry): Updated.
2692
2693         * include/jvm.h (_Jv_CheckAssignment): Removed.
2694         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2695
2696 2004-11-05  Tom Tromey  <tromey@redhat.com>
2697
2698         * link.cc (verify_type_assertions): Ensure classes have supers
2699         linked.  Strip off array types first.
2700
2701 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
2702
2703         * link.cc: Include VerifyError.h. 
2704         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2705         in the type assertion table.
2706         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2707         verify_type_assertions.
2708         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2709         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE, 
2710         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2711         assertion code values.
2712         (struct _Jv_TypeAssertion): Declare.
2713         (assertion_table): New class field.
2714         (verify): Remove class field.
2715
2716 2004-11-05  Andrew Haley  <aph@redhat.com>
2717
2718         * Makefile.am: Move jv_dbtool.java to
2719         gnu/gcj/tools/gcj_dbtool/Main.java.
2720         * Makefile.in: Rebuild.
2721         * java/lang/VMCompiler.java: Rename property
2722         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2723         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2724         jv_dbtool.java.
2725         
2726 2004-11-05  Andrew Haley  <aph@redhat.com>
2727
2728         * jv_dbtool.java (main): Allow the user to specify the size of the
2729         database.  Display the capacity and the size.
2730         (usage): Show the new option.
2731                 
2732 2004-11-04  Tom Tromey  <tromey@redhat.com>
2733
2734         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2735         * link.cc (make_vtable): Use correct index when searching for
2736         missing method's name.  Don't use `flags'.
2737         (set_vtable_entries): Removed `flags' argument.  Don't recurse
2738         into superclasses.
2739         (link_symbol_table): Ensure target class method table is
2740         complete.  Ensure target fields are laid out before entering
2741         loop.
2742
2743         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2744         fix.
2745
2746         * interpret.cc (do_verify): Don't verify abstract methods.
2747
2748 2004-11-01  Tom Tromey  <tromey@redhat.com>
2749
2750         * link.cc (wait_for_state): Call verify_class.
2751
2752         * verify.cc (state::check_no_uninitialized_objects): Removed.
2753         (push_jump): Updated.
2754         (push_exception_jump): Likewise.
2755         (handle_ret_insn): Likewise.
2756         (handle_jsr_insn): Likewise.
2757
2758 2004-10-28  Andrew Haley  <aph@redhat.com>
2759
2760         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2761         * jv_dbtool.java: New file.
2762         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2763         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2764         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
2765         * Makefile.in: Regenerate,
2766         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
2767         Enumeration, StringTokenizer, Vector, PersistentByteMap.
2768         (precompiledMapFiles): New variable.
2769         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
2770         initialize precompiledMapFiles.
2771         (compileClass): Look at the database of precompiled class files
2772         before firing up gcj.
2773
2774         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
2775
2776 2004-10-27  Andrew Haley  <aph@redhat.com>
2777
2778         * java/lang/VMCompiler.java (compileClass): try looking for
2779         precompiledMapFiles.
2780         * gnu/gcj/runtime/PersistentByteMap.java: New file.
2781
2782 2004-10-27  Tom Tromey  <tromey@redhat.com>
2783
2784         * link.cc (ensure_class_linked): Only resolve classes for
2785         compiled classes.
2786         (add_miranda_methods): Ensure interface supers are installed.
2787         (resolve_pool_entry): Better error message.
2788
2789 2004-10-25  Tom Tromey  <tromey@redhat.com>
2790
2791         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
2792
2793         * java/util/ResourceBundle.java (tryBundle): Use
2794         Class.isAssignableFrom rather than catching ClassCastException.
2795
2796         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
2797         exception if we hit EOF of `in'.
2798         (read): Handle case where inflating returns -1.
2799
2800         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
2801         initialize `iter'.
2802         * gnu/java/text/SentenceBreakIterator.java
2803         (SentenceBreakIterator): Don't initialize `iter'.
2804         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
2805         initialize `iter'.
2806         * gnu/java/text/CharacterBreakIterator.java
2807         (CharacterBreakIterator): Don't initialize `iter'.
2808         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
2809         constructor.
2810         * java/text/BreakIterator.java: Updated documentation.
2811
2812 2004-10-20  Tom Tromey  <tromey@redhat.com>
2813
2814         * java/util/ResourceBundle.java (tryBundle): Also ignore
2815         ClassCastException.
2816
2817 2004-10-18  Tom Tromey  <tromey@redhat.com>
2818
2819         * interpret.cc (do_post_miranda_hook): New method.
2820         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
2821         New field.
2822         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
2823         (_Jv_CompiledEngine): Initialize new field.
2824         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
2825         (_Jv_InterpreterEngine): Initialize new field.
2826         * link.cc (resolve_pool_entry): Put Miranda methods in target
2827         class.
2828         (ensure_method_table_complete): Call post_miranda_hook.
2829         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
2830         aux_info.
2831         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
2832         (parse): Set class' aux_info here.
2833
2834         * boehm.cc (_Jv_MarkObj): Mark `throws'.
2835
2836         * boehm.cc: Re-merged with trunk.
2837
2838 2004-10-18  Andrew Haley  <aph@redhat.com>
2839
2840         PR java/18036:
2841         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2842         and correct logic used to find interpreter.
2843
2844 2004-10-13  Andrew Haley  <aph@redhat.com>
2845
2846         * interpret.cc (_Jv_InterpMethod::run): Initialize
2847         _Jv_StartOfInterpreter.
2848         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2849         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2850         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2851         _Unwind_FindEnclosingFunction to discover whether PC is within the
2852         interpreter.
2853
2854 2004-10-13  Tom Tromey  <tromey@redhat.com>
2855
2856         * link.cc (find_iindex): Copy correct number of slots to new
2857         ioffsets.
2858
2859 2004-10-12  Tom Tromey  <tromey@redhat.com>
2860
2861         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
2862         proc.
2863         (gcj_loader_test_one): Use it.
2864         (gcj_loader_run): Likewise.
2865
2866         * prims.cc: Don't include FirstThread.h.
2867
2868 2004-10-06  Tom Tromey  <tromey@redhat.com>
2869
2870         * link.cc (ensure_method_table_complete): Ensure superclass
2871         Miranda methods installed.
2872
2873         * include/java-interp.h (class _Jv_JNIMethod): Added
2874         JV_MARKOBJ_DECL as a friend.
2875         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
2876         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
2877         interpreter method structures.  Mark jni_arg_types of JNI
2878         methods.
2879
2880         * defineclass.cc (parse): Use JV_STATE_READ.
2881         * java/lang/Class.h (JV_STATE_READ): New enum value.
2882
2883 2004-10-05  Tom Tromey  <tromey@redhat.com>
2884
2885         * link.cc (resolve_pool_entry): Add signature info to missing
2886         method's information.
2887
2888         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
2889         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
2890
2891 2004-10-04  Tom Tromey  <tromey@redhat.com>
2892
2893         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
2894         marking IDT.
2895
2896 2004-09-29  Tom Tromey  <tromey@redhat.com>
2897
2898         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
2899         resolve.cc.
2900         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
2901         * jni.cc: Use _Jv_Linker.
2902         * interpret.cc: Use _Jv_Linker.
2903         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
2904         * java/lang/natClassLoader.cc: Use _Jv_Linker.
2905         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
2906         * java/lang/Class.h: Use _Jv_Linker.
2907         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
2908         * resolve.cc: Renamed ...
2909         * link.cc: ... here.  Use _Jv_Linker.
2910         * defineclass.cc (checkExtends): Use _Jv_Linker.
2911
2912 2004-09-17  Tom Tromey  <tromey@redhat.com>
2913
2914         * defineclass.cc (handleCodeAttribute): Don't reference
2915         `deferred'.
2916         (handleMethodsEnd): Likewise.
2917         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
2918         field.
2919         (_Jv_Defer_Resolution): Don't declare or define.
2920         * interpret.cc (do_create_ncode): Don't resolve deferred method
2921         pointers.
2922         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
2923         * resolve.cc (link_symbol_table): No need to defer resolution.
2924
2925 2004-09-14  Tom Tromey  <tromey@redhat.com>
2926
2927         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
2928         (_Jv_MarkObj): Updated.
2929         (_Jv_MarkArray): Likewise.
2930
2931         * include/jvm.h (StringClass): Removed.
2932         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
2933         * interpret.cc (_Jv_InitField): Don't use StringClass.
2934         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
2935         StringClass.
2936         (rehash): Likewise
2937         (intern): Likewise.
2938         (_Jv_FinalizeString): Likewise.
2939         (_Jv_NewStringUtf8Const): Likewise.
2940         (equals): Likewise.
2941         * prims.cc (JvConvertArgv): Don't use StringClass.
2942
2943         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
2944         * resolve.cc (ensure_fields_laid_out): Don't mention
2945         COMPACT_FIELDS.
2946         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
2947         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
2948
2949         * java/lang/reflect/natField.cc (getType): Use resolve_field.
2950         * java/lang/natVMClassLoader.cc (resolveClass): New native
2951         implementation.
2952         (linkClass0): Removed.
2953         (markClassErrorState0): Likewise.
2954         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
2955         preparation code to resolve.cc.
2956         (_Jv_RegisterClassHookDefault): Set class's execution engine if
2957         not already set.
2958         (_Jv_FindClass): Use wait_for_state.
2959         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
2960         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
2961         Moved interface table and class preparation code to resolve.cc.
2962         (finalize): Rewrote.
2963         (initializeClass): Simplified locking and class preparation.
2964         * java/lang/VMClassLoader.java (linkClass0): Removed.
2965         (markClassErrorState0): Likewise.
2966         (resolveClass): Now native.
2967         (transformException): New method.
2968         * java/lang/Class.h (getSuperclass): Don't try to resolve super
2969         reference.
2970         (getInterface): Likewise.
2971         (size): Likewise.
2972         (set_state): New method.
2973         (Class): Updated friend declarations.
2974         (verify): Field now private.
2975         (engine): New field.
2976         * include/jvm.h (class _Jv_Resolver): New class declaration.
2977         (_Jv_ResolveField): Removed declaration.
2978         (_Jv_CheckAccessNoInit): Likewise.
2979         (_Jv_isBinaryCompatible): Removed.
2980         * include/java-interp.h (class _Jv_MethodBase): Updated friend
2981         declarations.
2982         (class _Jv_InterpMethod): Likewise.
2983         (class _Jv_InterpClass): Likewise.
2984         (class _Jv_JNIMethod): Likewise.
2985         * include/execution.h: New file.
2986         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
2987         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
2988         Register class after setting fields.
2989         * resolve.cc: Include execution.h, VerifyError.h.  Moved
2990         interpreter-specific code to interpret.cc.
2991         (uaddr): New location.
2992         (struct aligner): Likewise.
2993         (ALIGNOF): Likewise.
2994         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
2995         (INITIAL_IFACES_LEN): Likewise.
2996         (null_idt): Likewise.
2997         (_Jv_GetMethodString): Likewise.
2998         (_Jv_ThrowNoSuchMethodError): Likewise.
2999         (_Jv_abstractMethodError): Likewise.
3000         (_Jv_Resolver::get_alignment_from_class): Renamed.
3001         (_Jv_Resolver::resolve_field): Likewise.
3002         (_Jv_Resolver::resolve_pool_entry): Likewise.
3003         (_Jv_Resolver::resolve_class_ref): Likewise.
3004         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3005         (_Jv_Resolver::indexof): Likewise.
3006         (_Jv_Resolver::get_interfaces): Likewise.
3007         (_Jv_Resolver::generate_itable): Likewise.
3008         (_Jv_Resolver::append_partial_itable): Likewise.
3009         (_Jv_Resolver::find_iindex): Likewise.
3010         (_Jv_Resolver::link_symbol_table): Likewise.
3011         (_Jv_Resolver::link_exception_table): Likewise.
3012         (_Jv_Resolver::layout_interface_methods): Likewise.
3013         (_Jv_Resolver::layout_vtable_methods): Likewise.
3014         (_Jv_Resolver::set_vtable_entries): Likewise.
3015         (_Jv_Resolver::make_vtable): Likewise.
3016         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3017         (_Jv_Resolver::ensure_class_linked): Likewise.
3018         (_Jv_Resolver::ensure_supers_installed): Likewise.
3019         (_Jv_Resolver::add_miranda_methods): Likewise.
3020         (_Jv_Resolver::ensure_method_table_complete): Likewise.
3021         (_Jv_Resolver::verify_class): Likewise.
3022         (_Jv_Resolver::wait_for_state): Likewise.
3023         * prims.cc (_Jv_soleCompiledEngine): New global.
3024         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3025         (_Jv_CheckAccessNoInit): Removed.
3026         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3027         * interpret.cc: Include platform.h, ClassFormatError.h,
3028         Modifier.h, execution.h.
3029         (_Jv_soleInterpreterEngine): New global.
3030         (compile): Use resolve_pool_entry.
3031         (run): Likewise.
3032         (_Jv_InitField): New location.
3033         (skip_one_type): Likewise.
3034         (get_ffi_type_from_signature): Likewise.
3035         (_Jv_count_arguments): Likewise.
3036         (init_cif): Likewise.
3037         (ncode_closure): Likewise.
3038         (ffi_closure_fun): Likewise.
3039         (ncode): Likewise.
3040         (throw_class_format_error): Likewise.
3041         (throw_class_format_error): Likewise.
3042         (_Jv_InterpreterEngine::do_verify): New method.
3043         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3044         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3045         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3046         * defineclass.cc: Include execution.h.
3047         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3048         engine.
3049         (checkExtends): Ensure superclass has supers installed.
3050         (_Jv_ClassNameSamePackage): Clarify usage constraints.
3051         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3052         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
3053         dispatch tables.
3054
3055 2004-09-13  Tom Tromey  <tromey@redhat.com>
3056
3057         * mauve-libgcj: List some classes we don't have.
3058
3059 2004-09-10  Andrew Haley  <aph@redhat.com>
3060
3061         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3062         * java/lang/natClass.cc (initializeClass): Check itable.
3063         (_Jv_getInterfaceMethod): New.
3064         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3065         Check that an interface method isn't called with invokevirtual.
3066
3067         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3068         super_meth is virtual.
3069
3070 2004-09-01  Tom Tromey  <tromey@redhat.com>
3071
3072         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3073         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3074         _Jv_CheckAccessNoInit.
3075         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3076         * prims.cc (_Jv_CheckAccessNoInit): New method.
3077
3078         * java/lang/reflect/natMethod.cc (invoke): Check access against
3079         declaring class, not object's class.
3080         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3081         argument.
3082         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3083         overridden method.
3084         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3085         argument.
3086
3087 2004-08-30  Andrew Haley  <aph@redhat.com>
3088
3089         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3090         ClassNotFoundException.
3091         Throw NoClassDefFoundError.
3092
3093         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3094         to klass->verify() from here ...
3095         (_Jv_PrepareCompiledClass): ...and put it here.
3096
3097 2004-08-27  Andrew Haley  <aph@redhat.com>
3098
3099         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3100         klass->verify().
3101         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3102         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3103
3104 2004-08-27  Tom Tromey  <tromey@redhat.com>
3105
3106         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3107         friend.
3108         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3109         (_Jv_IsAssignableFromSlow): New function.
3110         Include VerifyError.h.
3111         * include/jvm.h (_Jv_CheckAssignment): Declare.
3112
3113 2004-08-18  Andrew Haley  <aph@redhat.com>
3114
3115         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3116         argument.  Pass it to findClass instead of fileName.
3117         (compileClass): Pass class name to loadSharedLibrary.
3118
3119 2004-06-22  Andrew Haley  <aph@redhat.com>
3120
3121         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3122
3123 2004-06-15  Andrew Haley  <aph@redhat.com>
3124
3125         * java/lang/natSystem.cc (getenv0): Don't assume environment
3126         variable is Latin 1 coded.
3127
3128 2004-06-07  Andrew Haley  <aph@redhat.com>
3129
3130         * java/lang/System.java: (getenv0): New method.
3131         (getenv): Add security check.  Do the right thing.
3132         * java/lang/natSystem.cc (getenv0): New method.
3133
3134 2004-04-19    Andrew Haley  <aph@redhat.com>
3135
3136         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3137         we destroy.
3138
3139         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3140         is returned as an int in the range 0 to 255.
3141
3142 2004-08-13  Tom Tromey  <tromey@redhat.com>
3143
3144         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3145         class if it is interpreted.
3146
3147 2004-08-12  Tom Tromey  <tromey@redhat.com>
3148
3149         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3150         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3151         (Class::getSuperclass): Updated.
3152         (Class::getInterfaces): Likewise.
3153         (Class::size): Updated.
3154         (_Jv_LayoutClass): Updated declaration.
3155         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3156         Synchronize on class.
3157         (_Jv_LayoutClass): Changed interface.
3158         (initializeClass): Updated.
3159         (_Jv_LinkSymbolTable): Likewise.
3160
3161         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3162         friend.
3163         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3164         _Jv_isBinaryCompatible.
3165         * java/lang/natClass.cc (initializeClass): Use
3166         _Jv_isBinaryCompatible.
3167         (_Jv_LinkSymbolTable): Likewise.
3168         * include/jvm.h (_Jv_isBinaryCompatible): New function.
3169
3170 2004-08-11  Tom Tromey  <tromey@redhat.com>
3171
3172         * gcj/javaprims.h: Regenerated.
3173         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3174         (_registerClass): Likewise.
3175         * Makefile.in: Rebuilt.
3176         * Makefile.am (core_java_source_files): Added VMCompiler.
3177         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3178         * java/lang/VMCompiler.java: New file.
3179         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3180         `verbose' code.
3181         (copyFile): Don't use fully-qualified name.
3182         (h): Removed.
3183         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3184         (defineClass): Use VMCompiler.
3185         * java/lang/ClassLoader.java (defineClass): Removed jit
3186         compilation code and `verbose' code.
3187         (getClassLoader0): Removed.
3188         (_registerClass): Likewise.
3189         (SharedLibHelpers): Removed.
3190
3191 2004-08-10  Tom Tromey  <tromey@redhat.com>
3192
3193         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3194         URL)): New constructor.
3195         (SoURLLoader): Likewise.
3196         (JarURLLoader): Create SoURLLoader with override URL.
3197
3198 2004-08-10  Mark Wielaard  <mark@klomp.org>
3199
3200         * Makefile.in: Rebuilt.
3201         * Makefile.am (interpret.lo): New rule.
3202
3203 2004-08-05  Andrew Haley  <aph@redhat.com>
3204
3205         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3206         aside for "GCJLIBS" in directory where jarfiles are loaded.     
3207         (JarURLLoader.getClass): New method.
3208         (JarURLLoader.toString):  New method.
3209         (FileResource.toString):  New method.
3210         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3211         Remove "Duplicate class registration: " bug.
3212         (_registerClass): New method.
3213         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3214         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3215         Add debugging.
3216         (_Jv_LayoutClass): Use getSuperclass() rather than directly
3217         accessing the field.
3218         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3219         (defineClass): Call gcj to JIT-compile a class.
3220         (_registerClass): New method.
3221         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3222         library name can refer to more than one loaded library, so use a
3223         Set of SharedLibHelpers.
3224         If a shared library is already loaded, take a copy.
3225         (copyFile): New function.
3226
3227         * testsuite/libjava.compile/compile.exp: Force
3228         -findirect-dispatch.
3229
3230         * java/security/BasicPermission.java: Remove bogus checks.
3231
3232         * java/lang/System.java (getenv0): New method.
3233         * java/lang/natSystem.cc (getenv0): New method.
3234
3235 2004-05-24  Andrew Haley  <aph@redhat.com>
3236
3237         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3238
3239 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
3240
3241         * Merged with HEAD as of 20040514. Diff against
3242         gcj-abi-2-merge-20040514.
3243
3244 2004-04-16  Andrew Haley  <aph@redhat.com>
3245
3246         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3247         _Jv_LayoutClass.
3248         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3249         (_Jv_PrepareCompiledClass): If we throw an exception during
3250         preparation, restore state.
3251         (ClassLoader::getClassLoader0): New method.
3252
3253         * java/lang/natClass.cc (get_alignment_from_class): Moved here
3254         from resolve.cc.
3255         (ALIGNOF): Use offsetof, not __alignof__.
3256         (_Jv_ResolveClassRef): Resolve a reference to a class in a
3257         constant pool.
3258         (getInterfaces): Emit debug output if interface hasn't been
3259         resolved.
3260         (initializeClass): Call _Jv_LayoutClass.
3261         (_Jv_LinkSymbolTable): Add debugging output.
3262         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3263         found.
3264         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3265         (_Jv_LinkSymbolTable): Pass the real class loader to
3266         _Jv_FindClass.
3267         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3268         exception class.
3269         (_Jv_LinkSymbolTable): Assert if we find a static field reference
3270         to an interpreted class.
3271         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3272         superclass.
3273         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3274         resolve.cc.
3275         
3276         * java/lang/VMSecurityManager.java: Check for the system class
3277         loader as well as loader != null.
3278         
3279         * java/lang/SecurityManager.java (checkPermission): Remove
3280         security check.
3281         (checkRead): Likewise.
3282         (checkConnect): Likewise.
3283
3284         * java/lang/ClassLoader.java (loadClass): Include all class
3285         loaders in stack trace string.
3286         Look for class in "gcjlib.so" in the same directory.
3287         (getSystemClassLoader) Use getClassLoader0.
3288         (getClassLoader0): New native method.
3289
3290         * java/lang/Class.h (getSuperclass): New method.
3291         (getInterface): New method.
3292         (size): Lay out class if needed.
3293         (firstMethodIndex): New method.
3294         (Jv_ResolveClassRef): New declaration.
3295         (_Jv_LinkSymbolTable): New declaration.
3296
3297         * java/io/ObjectOutputStream.java: Add DEBUG statements
3298         everywhere.
3299         (dumpElementln): New method.
3300         (depth): New field.
3301         * java/io/ObjectInputStream.java (MyIOException): new, for
3302         debugging.
3303         Everywhere: use MyIOException rather than IOException.
3304         Indent debugging output to make nesting visible.
3305         (currentClassLoader): Make native
3306         (callersClassLoader): New field.
3307         (depth): New field.
3308         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3309         method.
3310         
3311         (readObject): ENDBLOCKDATA is generated if the class has a write
3312         method, not if it has a read method.
3313
3314         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3315
3316         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3317         getContextClassLoader form the current thread after our own class
3318         loader.
3319
3320         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3321         debugging.
3322         (toString): New method.
3323
3324         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3325         interfaces array.
3326
3327         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3328         a constant pool entry, resolve it now.
3329         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3330         in natClass.cc.
3331         Move get_alignment_from_class to natClass.cc.
3332
3333         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3334         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3335
3336         * defineclass.cc (checkExtends): Don't access superclass field
3337         directly.
3338
3339         * Makefile.in: regenerate.
3340
3341         * gnu/gcj/util/natDebug.cc: New
3342         * gnu/gcj/util/Debug.java: New.
3343
3344         * Makefile.am (java/io/ObjectInputStream.lo): Use
3345         -fno-optimize-sibling-calls.
3346
3347         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3348         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3349         in an interface.
3350         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3351
3352 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
3353
3354         * configure: Regenerate for libtool change.
3355
3356 2004-11-24  Michael Koch  <konqueror@gmx.de>
3357
3358         * gnu/java/security/PolicyFile.java: New file.
3359         * Makefile.am: Added gnu/java/security/PolicyFile.java.
3360         * Makefile.in: Regenerated.
3361
3362 2004-11-24  Michael Koch  <konqueror@gmx.de>
3363
3364         * java/lang/Character.java, scripts/unicode-blocks.pl:
3365         Reorder "final static" to "static final".
3366
3367 2004-11-24  Michael Koch  <konqueror@gmx.de>
3368
3369         * java/util/ResourceBundle.java: Reformatted.
3370         (tryBundle): Fixed javadoc.
3371
3372 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
3373
3374         * java/text/MessageFormat.java
3375         (formatInternal): Made private.
3376
3377 2004-11-24  Michael Koch  <konqueror@gmx.de>
3378
3379         * java/nio/DirectByteBufferImpl.java
3380         (ReadWrite.ReadWrite): New constructor.
3381         (DirectByteBufferImpl): Likewise.
3382         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3383         Use DirectByteBufferImpl.ReadWrite.
3384         * Makefile.am:
3385         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3386         * Makefile.in: Rgenerated.
3387
3388 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
3389
3390         * java/nio/DirectByteBufferImpl.java
3391         (ReadOnly): New inner subclass.
3392         (ReadWrite): New inner subclass.
3393         (owner): Made final and private.
3394         (address): Made final.
3395         (DirectByteBufferImpl(int)): New constructor.
3396         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3397         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3398         (allocate): Modified to instantiate ReadWrite subclass.
3399         (finalize): Fixed to only free the buffer, if we own it.
3400         (put): Removed read-only check.
3401         (slice, duplicate): Modified to instantiate appropriate subclass.
3402         (isReadOnly): Removed.
3403         * java/nio/MappedByteBufferImpl.java
3404         (slice, duplicate): Modified to instantiate appropriate
3405         DirectByteBufferImpl subclass.
3406
3407 2004-11-24  Michael Koch  <konqueror@gmx.de>
3408
3409         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3410         * java/nio/DirectByteBufferImpl.java:
3411         Moved native methods to java.nio.VMDirectByteBuffer class.
3412         * java/nio/MappedByteBufferImpl.java:
3413         Use native methods from java.nio.VMDirectByteBuffer class.
3414         * java/nio/VMDirectByteBuffer.java: New file,
3415         * java/nio/natDirectByteBufferImpl.cc:
3416         Moved all methods into java.nio.VMDirectByteBuffer class.
3417         * java/nio/channels/spi/AbstractSelectableChannel.java
3418         (register): Only re-use valid keys.
3419         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3420         * Makefile.in: Regenerated.
3421
3422 2004-11-24  Michael Koch  <konqueror@gmx.de>
3423
3424         * java/nio/DirectByteBufferImpl.java,
3425         java/nio/MappedByteBufferImpl.java:
3426         Reformatted.
3427
3428 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3429
3430         * testsuite/lib/libjava.exp,
3431         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3432
3433 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
3434
3435         * configure.host: Enable the interpreter for mips*-*-linux*.
3436
3437 2004-11-23  Michael Koch  <konqueror@gmx.de>
3438
3439         * java/lang/String.java (rehash): Removed.
3440         * java/lang/natString.cc (rehash): Made static.
3441         (_Jv_NewStringUtf8Const): Use static rehash method.
3442
3443 2004-11-23  Michael Koch  <konqueror@gmx.de>
3444
3445         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3446         include/Makefile.in, testsuite/Makefile.in: Regenerated.
3447
3448 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
3449
3450         PR target/18444
3451         * configure.ac (threading): Accept 'posix95'.
3452         * configure: Regenerate.
3453
3454 2004-11-22  Michael Koch  <konqueror@gmx.de>
3455
3456         * gnu/java/nio/SocketChannelImpl.java
3457         (read): Made check for blocking un-ambiguous.
3458         Removed wrong check for data array length.
3459
3460 2004-11-21  Michael Koch  <konqueror@gmx.de>
3461
3462         * gnu/java/nio/SocketChannelImpl.java
3463         (read): Only return 0 when no bytes for reading available in
3464         non-blocking mode.
3465         * java/nio/channels/SocketChannel.java:
3466         Added some missing @return tags.
3467
3468 2004-11-21  Michael Koch  <konqueror@gmx.de>
3469
3470         * java/beans/PropertyChangeSupport.java
3471         (propertyChangeSupportSerializedDataVersion): Made static.
3472         * java/beans/VetoableChangeSupport.java
3473         (propertyChangeSupportSerializedDataVersion): Likewise.
3474
3475 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3476
3477         * java/net/URLStreamHandler.java
3478         (parseURL): Fixed file path canonicalisation.
3479
3480 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
3481
3482         * java/net/URLStreamHandler.java
3483         (parseURL): Fixed file path canonicalisation.
3484
3485 2004-11-18  Michael Koch  <konqueror@gmx.de>
3486
3487         * java/net/URLClassLoader.java: Whitespace cleanup.
3488
3489 2004-11-18  Robert Schuster <address@bogus.example.com>
3490
3491         Complete 1.4 support
3492         * java/beans/PropertyDescriptor.java:
3493         (setReadMethod): New method
3494         (setWriteMethod): New method
3495         (equals): Implemented (1.4)
3496         (checkMethods): operates on arguments now (private)
3497
3498
3499 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3500
3501         * java/net/Inet6Address.java (getHostAddress): Fix textual
3502         representation of IPv6 address with embedded zeroes
3503         to conform to RFC 2373.
3504
3505 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
3506
3507         * java/lang/StackTraceElement.java: Made final.
3508         * java/nio/channels/Channels.java: Added private constructor.
3509         * java/rmi/Naming.java: Added private constructor.
3510         * java/rmi/registry/LocateRegistry.java: Added private constructor.
3511         * java/rmi/server/RMIClassLoader.java: Added private constructor.
3512         * java/security/KeyPairGeneratorSpi.java
3513         (clone): Made protected and simplified implementation.
3514         * java/text/DateFormat.java
3515         (allFields): Made package accessible.
3516         * java/text/DecimalFormat.java
3517         (formatInternal): Made private.
3518         * java/text/Format.java
3519         (formatInternal): Made private.
3520         * java/util/logging/Handler.java: Made constructor protected.
3521         * java/util/regex/Matcher.java: Made final.
3522         * java/util/regex/Pattern.java: Made final.
3523         * javax/crypto/CipherInputStream.java
3524         (mark): Corrected mark parameter type (from long to int).
3525         * javax/crypto/ExemptionMechanism.java
3526         (finalize): Added.
3527         * javax/crypto/Mac.java
3528         (getMacLength): Made final.
3529         (clone): Made final.
3530         * javax/imageio/ImageIO.java: Added private constructor.
3531         * javax/imageio/stream/ImageInputStreamImpl.java
3532         (checkClosed): Made final.
3533         * javax/net/ssl/SSLPermission.java: Made final.
3534         * javax/print/DocFlavor.java
3535         (hostEncoding): Added work-around to prevent the field from being
3536         a compile time constant.
3537         * javax/print/attribute/AttributeSetUtilities.java: Added private
3538         constructor.
3539         (UnmodifiableDocAttributeSet): Made private.
3540         (UnmodifiablePrintJobAttributeSet): Made private.
3541         (UnmodifiablePrintRequestAttributeSet): Made private.
3542         (UnmodifiablePrintServiceAttributeSet): Made private.
3543         (SynchronizedAttributeSet): Made private.
3544         (SynchronizedDocAttributeSet): Made private.
3545         (SynchronizedPrintJobAttributeSet): Made private.
3546         (SynchronizedPrintRequestAttributeSet): Made private.
3547         (SynchronizedPrintServiceAttributeSet): Made private.
3548         * javax/security/auth/PrivateCredentialPermission.java: Made final.
3549
3550 2004-11-18  Craig Black  <craig.black@aonix.com>
3551
3552         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3553
3554 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3555
3556         * Makefile.am: Correct friend function declaration.
3557         * Makefile.in: Regenerated.
3558         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3559         scope to function names.  Declare functions directly.
3560         * libjava/java/lang/Class.h
3561         (java::lang::Class): Correct friend class declaration.
3562         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3563         scope.
3564         * libjava/java/lang/Class.h
3565         (java::lang::Object): Correct friend class declaration.
3566
3567 2004-11-17  David Daney  <ddaney@avtrex.com>
3568
3569         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3570
3571 2004-11-17  Michael Koch  <konqueror@gmx.de>
3572
3573         * java/net/Socket.java (getPort): Return 0 in error case.
3574
3575 2004-11-17  Michael Koch  <konqueror@gmx.de>
3576
3577         *  java/nio/DirectByteBufferImpl.java
3578         (owner): Updated comment.
3579         (allocate): New method.
3580
3581 2004-11-17  Michael Koch  <konqueror@gmx.de>
3582
3583         * java/net/URL.java (URL): Handle case when argument is null.
3584
3585 2004-11-17  Michael Koch  <konqueror@gmx.de>
3586
3587         * java/beans/Beans.java,
3588         java/beans/PropertyChangeEvent.java,
3589         java/beans/PropertyEditorSupport.java:
3590         Fixed javadocs.
3591
3592 2004-11-17  Michael Koch  <konqueror@gmx.de>
3593
3594         * java/util/Timer.java (DEFAULT_SIZE): Made static.
3595
3596 2004-11-17  Michael Koch  <konqueror@gmx.de>
3597
3598         * java/net/InetAddress.java (getCanonicalHostName):
3599         Support IPv6 addresses.
3600
3601 2004-11-16  Michael Koch  <konqueror@gmx.de>
3602
3603         * java/lang/Object.java: Added javadocs all over (merged from GNU
3604         classpath).
3605
3606 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3607
3608         * java/security/Security.java (Security): Silence the warning about no
3609         providers found in the no debug case.
3610
3611 2004-11-16  Michael Koch  <konqueror@gmx.de>
3612
3613         * java/net/InetAddress.java
3614         (toString): Merged from GNU classpath.
3615
3616 2004-11-16  Michael Koch  <konqueror@gmx.de>
3617
3618         * java/awt/geom/doc-files/Area-1.png,
3619         java/awt/geom/doc-files/Ellipse-1.png,
3620         java/awt/geom/doc-files/GeneralPath-1.png:
3621         New files.
3622
3623 2004-11-16  Michael Koch  <konqueror@gmx.de>
3624
3625         * java/util/Currency.java (cache): Fix modifier order.
3626
3627 2004-11-16  Michael Koch  <konqueror@gmx.de>
3628
3629         * java/io/BufferedReader.java,
3630         java/io/FileInputStream.java,
3631         java/io/FileOutputStream.java,
3632         java/io/FileWriter.java,
3633         java/io/OutputStreamWriter.java,
3634         java/io/PipedInputStream.java,
3635         java/io/PipedOutputStream.java,
3636         java/io/PipedReader.java,
3637         java/io/PipedWriter.java,
3638         java/io/PrintStream.java,
3639         java/io/PushbackInputStream.java,
3640         java/io/RandomAccessFile.java,
3641         java/io/Reader.java,
3642         java/io/StreamTokenizer.java,
3643         java/io/StringReader.java,
3644         java/net/NetworkInterface.java,
3645         java/net/URLClassLoader.java,
3646         java/nio/ByteOrder.java,
3647         java/nio/channels/Channel.java:
3648         Fixed javadocs all over.
3649
3650 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
3651
3652         * Makefile.am: Add imported files.
3653         * Makefile.in: Regenerate.
3654
3655         2004-10-24  Casey Marshall  <csm@gnu.org>
3656
3657         * javax/security/auth/login/LoginContext.java: Implemented.
3658         * javax/security/auth/login/Configuration.java (getConfig): New method.
3659         * javax/security/auth/spi/LoginModule.java,
3660         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3661
3662 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
3663
3664         Import/Merge the X.509 certificate code from Classpath.
3665
3666         * Makefile.am: Add imported files.
3667         * Makefile.in: Regenerate.
3668
3669         2004-11-07  Casey Marshall  <csm@gnu.org>
3670
3671         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3672         priviliged action. Add new algorithms.
3673         * gnu/java/security/provider/X509CertificateFactory.java
3674         (engineGenerateCertificate): Chain exceptions.
3675         (engineGenerateCertificates): Likewise.
3676         (engineGenerateCRL): Likewise.
3677         (engineGenerateCRLs): Likewise.
3678         (engineGenerateCertPath): New methods.
3679         (generateCert): Throw exception if 'inStream' is null.
3680         (generateCRL): Likewise.
3681         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3682         version from GNU Crypto CVS.
3683         * gnu/java/security/x509/X509CRL.java: Likewise.
3684         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3685         * gnu/java/security/x509/X509Certificate.java: Likewise.
3686         * java/security/cert/TrustAnchor.java: Call 'toString' and not
3687         toRFC2253.
3688         * gnu/java/security/provider/CollectionCertStoreImpl.java,
3689         * gnu/java/security/provider/EncodedKeyFactory.java,
3690         * gnu/java/security/provider/GnuDHPublicKey.java,
3691         * gnu/java/security/provider/GnuRSAPrivateKey.java,
3692         * gnu/java/security/provider/GnuRSAPublicKey.java,
3693         * gnu/java/security/provider/MD2withRSA.java,
3694         * gnu/java/security/provider/MD4withRSA.java,
3695         * gnu/java/security/provider/MD5withRSA.java,
3696         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3697         * gnu/java/security/provider/RSA.java,
3698         * gnu/java/security/provider/RSAKeyFactory.java,
3699         * gnu/java/security/provider/SHA1withRSA.java,
3700         * gnu/java/security/x509/GnuPKIExtension.java,
3701         * gnu/java/security/x509/PolicyNodeImpl.java,
3702         * gnu/java/security/x509/Util.java,
3703         * gnu/java/security/x509/X509CRLSelectorImpl.java,
3704         * gnu/java/security/x509/X509CertPath.java,
3705         * gnu/java/security/x509/X509CertSelectorImpl.java,
3706         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3707         * gnu/java/security/x509/ext/BasicConstraints.java,
3708         * gnu/java/security/x509/ext/CRLNumber.java,
3709         * gnu/java/security/x509/ext/CertificatePolicies.java,
3710         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3711         * gnu/java/security/x509/ext/Extension.java,
3712         * gnu/java/security/x509/ext/GeneralNames.java,
3713         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3714         * gnu/java/security/x509/ext/KeyUsage.java,
3715         * gnu/java/security/x509/ext/PolicyConstraint.java,
3716         * gnu/java/security/x509/ext/PolicyMappings.java,
3717         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3718         * gnu/java/security/x509/ext/ReasonCode.java,
3719         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3720         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3721
3722         2004-11-07  Casey Marshall  <csm@gnu.org>
3723
3724         * gnu/java/security/x509/X509CRL.java:
3725         Missed import statements in previous checkin.
3726
3727         2004-11-07  Casey Marshall  <csm@gnu.org>
3728
3729         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3730         to 'X509CertificateImpl' from previous checkin.
3731
3732 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
3733
3734         PR other/14264
3735         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3736
3737 2004-11-11  Casey Marshall  <csm@gnu.org>
3738
3739         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3740         channel is open.
3741         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3742         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3743
3744 2004-11-11  Robert Schuster <thebohemian@gmx.net>
3745
3746         Fixed regression:
3747         * gnu/java/beans/IntrospectionIncubator.java:
3748         (addMethod): Corrected classification of normal and property methods.
3749         (capitalize): Added documentation.
3750         (DoubleKey): [class] Added documentation.
3751
3752 2004-11-09  Tom Tromey  <tromey@redhat.com>
3753
3754         * include/jni.h: Added FIXME.
3755
3756 2004-11-08  Tom Tromey  <tromey@redhat.com>
3757
3758         * java/util/GregorianCalendar.java: Removed unused imports.
3759         * java/util/Vector.java: Removed unused import.
3760
3761 2004-11-07  Michael Koch  <konqueror@gmx.de>
3762
3763         * java/lang/Process.java:
3764         Import cleanups.
3765
3766 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
3767
3768         * java/util/zip/ZipEntry.java
3769         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
3770
3771 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
3772
3773         Fixes bug #10908
3774         * gnu/java/beans/IntrospectionIncubator.java:
3775         (addMethod): static methods are discarded now, too.
3776
3777 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3778
3779         * java/util/GregorianCalendar.java
3780         Added/amended documentation.
3781
3782 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3783
3784         * java/util/Collections.java
3785         Added documentation.
3786         * java/util/SortedMap.java
3787         Clarified some method examples.
3788         * java/util/SortedSet.java
3789         Clarified some method examples.
3790
3791 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
3792
3793         * java/util/Currency.java
3794         Documented variables and methods more fully.
3795         Caches the currency instances, so that a request
3796         for a locale, l, only ever returns the same
3797         instance (i.e. successive calls to getInstance(l)
3798         are reference equivalent (==)).
3799
3800 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3801
3802         * java/util/Date.java
3803         Added missing documentation.
3804
3805 2004-11-06  Michael Koch  <konqueror@gmx.de>
3806
3807         * java/util/zip/CheckedInputStream.java,
3808         java/util/zip/InflaterInputStream.java,
3809         java/util/zip/ZipFile.java,
3810         java/util/zip/ZipInputStream.java:
3811         Import cleanups.
3812
3813 2004-11-06  Tom Tromey  <tromey@redhat.com>
3814
3815         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
3816         package-private.
3817         (connections): Likewise.
3818         (scavenger): Likewise.
3819         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
3820         package-private.
3821         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
3822         package-private.
3823         (ptr): Likewise.
3824         * gnu/classpath/ServiceFactory.java (log): Now package-private.
3825
3826 2004-11-06  Tom Tromey  <tromey@redhat.com>
3827
3828         * javax/naming/directory/BasicAttributes.java (attributes): Now
3829         package-private.
3830         * javax/imageio/spi/ServiceRegistry.java (categories): Now
3831         package-private.
3832
3833 2004-11-06  Tom Tromey  <tromey@redhat.com>
3834
3835         * java/net/URLClassLoader.java (URLClassLoader): Now
3836         package-private.
3837         * java/nio/charset/CoderResult.java (CoderResult): Now
3838         package-private.
3839         (get): Likewise.
3840         (Cache): Likewise.  Don't synchronize on `this'.
3841         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
3842         package-private.
3843         * java/util/TimeZone.java (timezones): Now package-private.
3844
3845 2004-11-06  Tom Tromey  <tromey@redhat.com>
3846
3847         * java/security/Permissions.java (perms): Now package-private.
3848         * java/security/UnresolvedPermission.java (permissions): Now
3849         package-private.
3850
3851 2004-11-06  Tom Tromey  <tromey@redhat.com>
3852
3853         * java/io/FilePermission.java: Reindented.
3854
3855 2004-11-06  Tom Tromey  <tromey@redhat.com>
3856
3857         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
3858         package-private.
3859         (setBlockDataMode): Likewise.
3860
3861 2004-11-06  Tom Tromey  <tromey@redhat.com>
3862
3863         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
3864         package-private.
3865         (Encoder): Likewise.
3866         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
3867         (Encoder): Likewise.
3868         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
3869         package-private.
3870         (Encoder): Likewise.
3871
3872 2004-11-06  Mark Wielaard  <mark@klomp.org>
3873
3874         * Makefile.am: Add new javax.imageio files.
3875         * Makefile.in: Regenerated.
3876
3877 2004-11-06  Michael Koch  <konqueror@gmx.de>
3878
3879         * javax/imageio/event/IIOReadProgressListener.java,
3880         javax/imageio/event/IIOReadUpdateListener.java,
3881         javax/imageio/event/IIOReadWarningListener.java,
3882         javax/imageio/event/IIOWriteProgressListener.java,
3883         javax/imageio/event/IIOWriteWarningListener.java,
3884         javax/imageio/metadata/IIOMetadataFormat.java,
3885         javax/imageio/stream/FileCacheImageInputStream.java,
3886         javax/imageio/stream/FileCacheImageOutputStream.java,
3887         javax/imageio/stream/ImageInputStreamImpl.java:
3888         Import cleanup.
3889         * javax/imageio/metadata/package.html: New file.
3890
3891 2004-11-06  Michael Koch  <konqueror@gmx.de>
3892
3893         * javax/imageio/spi/ImageReaderSpi.java
3894         (isOwnReader): New method.
3895         * javax/imageio/spi/ImageWriterSpi.java
3896         (isOwnWriter): Likewise.
3897
3898 2004-11-06  Michael Koch  <konqueror@gmx.de>
3899
3900         * javax/imageio/ImageWriter.java
3901         (convertImageMetadata): New abstract method.
3902         (convertStreamMetadata): Likewise.
3903         (write): Likewise.
3904         * javax/imageio/stream/FileCacheImageInputStream.java
3905         (close): Fixed setting of stream to null.
3906         (checkStreamClosed): Throws IOException.
3907
3908 2004-11-06  Michael Koch  <konqueror@gmx.de>
3909
3910         * javax/imageio/stream/FileCacheImageInputStream.java,
3911         javax/imageio/stream/FileCacheImageOutputStream.java,
3912         javax/imageio/stream/FileImageInputStream.java,
3913         javax/imageio/stream/FileImageOutputStream.java,
3914         javax/imageio/stream/MemoryCacheImageInputStream.java,
3915         javax/imageio/stream/MemoryCacheImageOutputStream.java:
3916         New files.
3917
3918 2004-11-06  Michael Koch  <konqueror@gmx.de>
3919
3920         * javax/imageio/metadata/IIOInvalidTreeException.java,
3921         javax/imageio/metadata/IIOMetadataFormatImpl.java,
3922         javax/imageio/metadata/IIOMetadataNode.java:
3923         New stub files.
3924
3925 2004-11-06  Michael Koch  <konqueror@gmx.de>
3926
3927         * javax/imageio/stream/ImageInputStreamImpl.java,
3928         javax/imageio/stream/ImageOutputStreamImpl.java:
3929         New files.
3930
3931 2004-11-06  Michael Koch  <konqueror@gmx.de>
3932
3933         * javax/imageio/ImageIO.java:
3934         Added much new methods.
3935
3936 2004-11-06  Michael Koch  <konqueror@gmx.de>
3937
3938         * javax/imageio/ImageReader.java,
3939         javax/imageio/ImageWriter.java,
3940         javax/imageio/spi/ImageWriterSpi.java:
3941         Add SOME new methods.
3942
3943 2004-11-06  Michael Koch  <konqueror@gmx.de>
3944
3945         * javax/imageio/IIOParam.java,
3946         javax/imageio/ImageReadParam.java,
3947         javax/imageio/ImageReader.java,
3948         javax/imageio/ImageWriter.java:
3949         Mostly implemented.
3950         * javax/imageio/spi/ImageReaderSpi.java,
3951         javax/imageio/spi/ImageWriterSpi.java:
3952         New files.
3953
3954 2004-11-06  Michael Koch  <konqueror@gmx.de>
3955
3956         * javax/imageio/ImageWriteParam.java,
3957         javax/imageio/metadata/IIOMetadataFormat.java:
3958         Implemented.
3959
3960 2004-11-06  Michael Koch  <konqueror@gmx.de>
3961
3962         * javax/imageio/ImageTypeSpecifier.java:
3963         Mostly implemented.
3964
3965 2004-11-06  Michael Koch  <konqueror@gmx.de>
3966
3967         * javax/imageio/metadata/IIOMetadata.java:
3968         Mostly implemented.
3969
3970 2004-11-06  Michael Koch  <konqueror@gmx.de>
3971
3972         * javax/imageio/IIOImage.java,
3973         javax/imageio/ImageReadParam.java,
3974         javax/imageio/metadata/IIOMetadataController.java,
3975         javax/imageio/metadata/IIOMetadataFormat.java:
3976         New files.
3977         * javax/imageio/stream/ImageOutputStream.java:
3978         Implemented.
3979
3980 2004-11-06  Michael Koch  <konqueror@gmx.de>
3981
3982         * javax/imageio/IIOParam.java,
3983         javax/imageio/IIOParamController.java,
3984         javax/imageio/ImageTypeSpecifier.java,
3985         javax/imageio/ImageWriteParam.java,
3986         javax/imageio/metadata/IIOMetadata.java:
3987         New files.
3988         * javax/imageio/ImageTranscoder.java:
3989         Implemented.
3990
3991 2004-11-06  Michael Koch  <konqueror@gmx.de>
3992
3993         * javax/imageio/spi/ImageInputStreamSpi.java,
3994         javax/imageio/spi/ImageOutputStreamSpi.java:
3995         Reworked import startments.
3996         * javax/imageio/spi/ServiceRegistry.java:
3997         Reworked import startments. Fixed XHTML in javadocs.
3998         (ServiceRegistry): Added @param tag to javadoc.
3999         * javax/imageio/stream/ImageInputStream.java
4000         (mark): Doesn't throws IOException;
4001
4002 2004-11-06  Michael Koch  <konqueror@gmx.de>
4003
4004         * javax/imageio/ImageIO.java:
4005         New file.
4006
4007 2004-11-06  Michael Koch  <konqueror@gmx.de>
4008
4009         * javax/imageio/spi/IIORegistry.java
4010         (static): Don't register ImageReaderSpi.class and
4011         ImageWriterSpi.class yet.
4012
4013 2004-11-06  Michael Koch  <konqueror@gmx.de>
4014
4015         * javax/imageio/spi/IIORegistry.java:
4016         New file.
4017
4018 2004-11-06  Noa Resare  <noa@resare.com>
4019
4020         * java/net/Socket.java (getPort): Return 0 instead of -1 on
4021         unconnected sockets.
4022
4023 2004-11-06  Michael Koch  <konqueror@gmx.de>
4024
4025         * java/lang/StringBuffer.java,
4026         java/lang/Throwable.java,
4027         java/security/spec/DSAParameterSpec.java,
4028         java/util/zip/ZipEntry.java,
4029         java/util/zip/ZipFile.java,
4030         java/util/zip/ZipInputStream.java,
4031         java/util/zip/ZipOutputStream.java:
4032         Removed redundant and reordered modifiers.
4033
4034 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4035
4036         * java/io/Vector.java
4037         (writeObject): New function to serialized output thread safe.
4038
4039         * java/io/ObjectOutputStream.java
4040         (writeObject): Move the assignment of the class handle to after
4041         the assignment of class descriptor handle.
4042
4043 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4044
4045         Fixes documentation and indentation
4046         * java/beans/PropertyEditorSupport.java:
4047         reworked initial API doc
4048         (value): changed name from val
4049
4050 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4051
4052         Updates to 1.5
4053         * java/beans/PropertyEditorSupport.java
4054         (PropertyEditorSupport()): Changed modifier to public
4055         (PropertyEditorSupport(Object): Changed modifier to public
4056         (setSource): New method
4057         (getSource): New method
4058
4059 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4060
4061         Fixes bug #10799
4062         * java/beans/PropertyEditorSupport.java
4063         (setValue): Fire property change event
4064
4065 2004-11-03  Tom Tromey  <tromey@redhat.com>
4066
4067         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4068         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4069         returns jobjectArray.
4070         (_Jv_JNIEnv::NewObjectArray): Likewise.
4071
4072 2004-11-01  Tom Tromey  <tromey@redhat.com>
4073
4074         * verify.cc (state::check_no_uninitialized_objects): Removed.