OSDN Git Service

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