1 2004-12-20 Tom Tromey <tromey@redhat.com>
3 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
4 Re-enable duplicate class registration error.
6 * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
7 * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
8 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
9 * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
11 (libjava_find_gij): Likewise. Changed return result if gij not
13 (test_libjava_from_javac): Updated.
16 * testsuite/libjava.jni/iface.c: New file.
17 * testsuite/libjava.jni/iface.out: New file.
18 * testsuite/libjava.jni/iface.java: New file.
20 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
22 * include/config.h.in: Regenerate.
24 2004-12-10 Andrew Haley <aph@redhat.com>
27 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
28 abstract methods by name.
30 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
32 * java/util/IdentityHashMap.java (put): Replace mistaken use
35 2004-12-06 Tom Tromey <tromey@redhat.com>
38 * testsuite/libjava.compile/PR14853.java: New file.
39 * testsuite/libjava.compile/PR14853.xfail: New file.
41 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
44 * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
45 * Makefile.am (install-data-local): Install headers into
46 $(gxx_include_dir) rather than $(includedir).
47 (AM_MAKEFLAGS): Pass down gxx_include_dir.
48 * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
49 * include/Makefile.am (tool_include__HEADERS): Define this...
50 (include_HEADERS): ...instead of this.
51 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
52 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
54 2004-12-02 Tom Tromey <tromey@redhat.com>
57 * testsuite/libjava.compile/PR16675.java: New file.
59 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
61 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
62 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
63 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
65 2004-12-01 Tom Tromey <tromey@redhat.com>
67 * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
69 (_Jv_ThreadRegister): Likewise.
70 (_Jv_MutexCheckMonitor): Likewise.
72 * link.cc: Include limits.h.
74 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
77 * testsuite/libjava.lang/PR18699.java,
78 testsuite/libjava.lang/PR18699.out: New test.
80 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
82 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
83 Update image observer.
84 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
85 Start image production.
86 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
87 against negative menu bar widths.
88 (setBounds): Likewise.
89 (postConfigureEvent): Likewise.
90 * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
91 remove consumer unless only a single frame has completed.
92 * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
93 Add observer parameter.
94 (setPixels): Update image observer.
95 (imageComplete): Likewise.
96 * java/applet/Applet.java (width): New field.
98 (setStub): Set size if width or height field has been set.
99 (resize): If stub is null save width and height values.
100 * java/awt/Component.java (reshape): Protect against null
102 * java/awt/image/MemoryImageSource.java
103 (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
105 (MemoryImageSource(int,int,ColorModel,int[],int,int)):
107 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
108 Reference pixel array directly, rather than creating a local
110 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
112 (newPixels(int,int,int,int)): Fix for loop and array copy
114 (newPixels(int,int,int,int,boolean)): Likewise.
115 (startProduction): If animated call imageComplete with
117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
120 (drawPixels): Return if g is null or g->drawable is not a gdk
123 2004-11-30 Michael Koch <konqueror@gmx.de>
125 * javax/swing/DefaultSingleSelectionModel.java,
126 javax/swing/JPasswordField.java,
127 javax/swing/tree/AbstractLayoutCache.java:
128 Reformatted and javadocs cleaned up.
130 2004-11-30 Michael Koch <konqueror@gmx.de>
132 * java/awt/Component.java:
133 Fixed argument names to match javadocs.
134 (setFont): Rewritten set property first and then fire event.
135 (setLocale): Likewise.
136 * javax/swing/text/JTextComponent.java
137 (setEditable): Likewise.
139 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
141 * java/awt/Button.java
142 (AccessibleAWTButton.getAccessibleActionDescription): Explain the
145 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
147 * java/awt/Checkbox.java: Remove stub comments.
149 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
151 * java/awt/Button.java
152 (AccessibleAWTButton.getAccessibleActionDescription): Return
155 2004-11-30 Michael Koch <konqueror@gmx.de>
157 * java/awt/CardLayout.java:
158 Made some constants static.
159 (serialVersionUID): Made private.
160 (addLayoutComponent): Simplified code.
161 * java/awt/event/InputEvent.java
162 (getModifiersEx): Added missing @param tag.
163 * java/awt/image/RGBImageFilter.java
164 (filterRGBPixels): Reformatted, removed wrong @param tag.
166 2004-11-30 Michael Koch <konqueror@gmx.de>
168 * javax/swing/text/FieldView.java,
169 javax/swing/text/JTextComponent.java:
172 2004-11-30 Michael Koch <konqueror@gmx.de>
174 * javax/swing/BorderFactory.java
175 (BorderFactory): Added private constructor.
176 * javax/swing/SwingUtilities.java
177 (SwingUtilities): Likewise.
178 (computeStringWidth): New method.
180 2004-11-30 Michael Koch <konqueror@gmx.de>
182 * java/awt/color/ICC_Profile.java
183 (icSigNamedColorTag): Removed.
184 * java/awt/datatransfer/DataFlavor.java
185 (isMimeTypeEqual): Made final.
186 * java/awt/image/AffineTransformOp.java:
188 (TYPE_BICUBIC): Added @since tag.
190 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
192 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
195 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
197 * java/awt/Checkbox.java (itemStateChanged): Implement function.
198 (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
200 2004-11-30 Sven de Marothy <sven@physto.se>
202 * java/awt/Polygon.java (contains): Reimplemented.
204 2004-11-30 Michael Koch <konqueror@gmx.de>
206 * java/awt/print/PrinterJob.java: Reformatted.
208 2004-11-30 Michael Koch <konqueror@gmx.de>
210 * java/awt/image/AffineTransformOp.java,
211 java/awt/image/ColorConvertOp.java,
212 java/awt/image/LookupOp.java,
213 java/awt/image/RescaleOp.java:
214 Added final keywords where they belong.
216 2004-11-30 Michael Koch <konqueror@gmx.de>
218 * java/awt/CardLayout.java,
219 java/awt/Component.java,
221 java/awt/image/SinglePixelPackedSampleModel.java:
222 Fixed javadocs and argument names all over.
224 2004-11-30 Michael Koch <konqueror@gmx.de>
226 * java/awt/image/DataBufferShort.java: Fixed file header.
227 * java/awt/image/DataBufferUShort.java: Likewise.
228 (DataBufferUShort): Throw NullPointerException if dataArray is null.
230 2004-11-30 Sven de Marothy <sven@physto.se>
232 * java/awt/geom/Arc2D.java
233 (setAngleStart): Corrected (wrong sign on atan2 y parameter).
234 (setAngles): Likewise.
235 (containsAngle): Return false on zero extent, don't include
237 (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
240 2004-11-30 Sven de Marothy <sven@physto.se>
242 * java/awt/geom/AffineTransform.java,
243 (inverseTransform): Fixed bug and simplified code.
244 (createTransformedShape): Return null on null parameter.
246 2004-11-30 Michael Koch <konqueror@gmx.de>
248 * java/awt/color/ICC_ColorSpace.java,
249 java/awt/color/ICC_Profile.java,
250 java/awt/color/ICC_ProfileGray.java,
251 java/awt/color/ICC_ProfileRGB.java:
252 Re-indent copyright header to be standardish.
253 * java/awt/datatransfer/StringSelection.java:
255 * java/awt/geom/Area.java
256 (EPSILON): Made static.
257 (RS_EPSILON): Likewise.
258 (PE_EPSILON): Likewide.
260 2004-11-30 Sven de Marothy <sven@physto.se>
262 * javax/swing/SwingUtilities.java:
263 (computeDifference): Implemented
264 (computeIntersection): Likewise
265 (computeUnion): Likewise
266 (isRectangleContainingRectangle): Likewise
268 2004-11-30 Michael Koch <konqueror@gmx.de>
270 * java/awt/BasicStroke.java,
271 java/awt/Button.java,
272 java/awt/Canvas.java,
273 java/awt/CheckboxMenuItem.java,
274 java/awt/Container.java,
275 java/awt/EventQueue.java,
276 java/awt/FileDialog.java,
277 java/awt/FlowLayout.java,
278 java/awt/FontMetrics.java,
279 java/awt/Graphics.java,
280 java/awt/GridLayout.java,
281 java/awt/KeyboardFocusManager.java,
283 java/awt/LayoutManager2.java,
285 java/awt/MenuBar.java,
286 java/awt/Scrollbar.java,
287 java/awt/Toolkit.java,
288 java/awt/Window.java,
289 java/awt/datatransfer/DataFlavor.java,
290 java/awt/datatransfer/FlavorTable.java,
291 java/awt/event/ActionListener.java,
292 java/awt/event/HierarchyBoundsAdapter.java,
293 java/awt/geom/Arc2D.java,
294 java/awt/geom/Rectangle2D.java,
295 java/awt/geom/RectangularShape.java,
296 java/awt/im/spi/InputMethod.java,
297 java/awt/image/ByteLookupTable.java,
298 java/awt/image/ColorModel.java,
299 java/awt/image/DirectColorModel.java,
300 java/awt/image/ShortLookupTable.java,
301 java/awt/print/Book.java:
302 Fixed javadocs and method argument names all over.
304 2004-11-30 Michael Koch <konqueror@gmx.de>
306 * gnu/java/awt/peer/gtk/GdkFontPeer.java
307 (buildString): Optimise String building.
309 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
311 * java/awt/TextArea.java (AccessibleAWTTextArea,
312 getAccessibleContext): Implement.
313 * java/awt/TextField.java (AccessibleAWTTextField,
314 getAccessibleContext): Implement.
316 2004-11-30 Tom Tromey <tromey@redhat.com>
318 * Makefile.in: Rebuilt.
319 * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
322 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
324 * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
326 * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
329 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
331 * java/awt/print/PrinterJob.java (lookupPrintServices,
332 getPrintService, setPrintService): Implement.
333 (lookupStreamPrintServices): Add commented out implementation.
334 (printer): New field.
336 2004-11-30 Mark Wielaard <mark@klomp.org>
338 * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
341 2004-11-30 Sven de Marothy <sven@physto.se>
343 * java/awt/geom/GeneralPath.java (evaluateCrossings):
344 Fixed epsilon value, should always be nonzero.
346 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
348 * java/awt/image/Raster.java
349 (createPackedRaster): Implemented.
351 2004-11-30 Graydon Hoare <graydon@redhat.com>
353 * javax/swing/plaf/basic/BasicTextUI.java:
354 Listen to focus events, indicate focus via caret.
355 * javax/swing/text/GapContent.java (getString): Return substring.
356 * javax/swing/text/PlainDocument.java (reindex): New method.
357 (createDefaultRoot): Call it.
358 (insertUpdate): Likewise.
359 (removeUpdate): Likewise.
360 * javax/swing/text/Utilities.java (drawTabbedText): Always advance
361 on tab and newline, even if no painting happens.
363 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
365 * Makefile.am: List peer JNI header: Java source file
366 dependencies explicitly. Likewise for JNI .lo: JNI header
368 * Makefile.in: Regenerate.
370 2004-11-30 Graydon Hoare <graydon@redhat.com>
372 * Makefile.am: Add entry for BasicTextPaneUI.java
373 * Makefile.in: Regenerate.
374 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
375 (GdkGraphics2D): Set clip after transform.
376 (drawImage): Protect against null image.
377 * gnu/java/awt/peer/gtk/GtkFramePeer.java
378 (setIconImage): Protect against non-GtkImage args.
379 * gnu/java/awt/peer/gtk/GtkToolkit.java
380 (checkImage): Protect against non-GtkImage args.
381 * java/awt/print/PrinterJob.java:
382 (print): Add variant taking PrintRequestAttributeSet.
383 (printDialog): Likewise.
384 * javax/swing/JComponent.java:
385 (transferHandler): New field.
386 (getComponentGraphics): Build new Graphics for each sub-paint.
387 (getTransferHandler): New method.
388 (setTransferHandler): New method.
389 * javax/swing/JDesktopPane.java
390 (setDragMode): Force LIVE_DRAG_MODE.
391 * javax/swing/JMenuItem.java
392 (menuSelectionChanged): Protect against null parent.
393 * javax/swing/JTable.java (setDefaultRenderer): New method.
394 * javax/swing/JTree.java: Get basic ctors and UI working.
395 * javax/swing/JViewport.java (JViewport): Set scroll mode.
396 * javax/swing/RepaintManager.java
397 (addDirtyRegion): Skip empty regions.
398 * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
399 bound scrollpane minimum by central view minimum.
400 * javax/swing/ToolTipManager.java
401 (showTip): Guard against null component.
402 * javax/swing/TransferHandler.java: Stub out.
403 * javax/swing/plaf/basic/BasicLookAndFeel.java:
404 Add entry for TextPaneUI, change Tree icons to pngs.
405 * javax/swing/plaf/basic/BasicMenuItemUI.java:
406 (installDefaults): Set text position and alignment.
407 (paintMenuItem): Layout icon with normal compound function.
408 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
409 (getMaximumSize): Delete.
410 (getMinimumSize): Delete.
411 (getPreferredSize): Use column model's total width.
412 * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
413 * javax/swing/plaf/basic/BasicTextUI.java
414 (modelChanged): Make resilient against nulls.
415 * javax/swing/plaf/basic/BasicTreeUI.java:
416 Add some simplistic config / painting functions.
417 * javax/swing/plaf/basic/BasicViewportUI.java
418 (paintSimple): Add new non-backingstore paint mode.
419 (paintBackingStore): Split out backing store code.
420 (paint): Switch on painting mode.
421 * javax/swing/text/SimpleAttributeSet.java
422 (SimpleAttributeSet): Resist nulls.
423 * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
424 * javax/swing/tree/DefaultTreeModel.java: Partially implement.
426 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
429 Set pango context's description and language.
431 2004-11-30 Mark Wielaard <mark@klomp.org>
433 * java/awt/image/LookupOp.java: Comments and indentation fixes.
435 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
437 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
438 (getAccessibleContext): Implement.
440 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
442 * java/awt/TextComponent.java (AccessibleAWTTextComponent):
444 (getIndexAtPoint, getCharacterBounds): New methods.
446 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
448 * java/awt/Button.java (AccessibleAWTButton): Implement.
450 2004-11-30 Mark Wielaard <mark@klomp.org>
452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
453 (filenameFilterCallback): Made static.
455 2004-11-30 Michael Koch <konqueror@gmx.de>
457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
458 (cairoShowGlyphs) Removed.
460 2004-11-30 Sven de Marothy <sven@physto.se>
462 * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
463 Don't invert matrix when reverse CLUT is available.
464 * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
465 * java/awt/color/ICC_ColorSpace.java: Likewise.
466 * java/awt/color/ICC_Profile.java: Likewise.
467 * java/awt/color/ICC_ProfileGray.java: Likewise.
468 * java/awt/color/ICC_ProfileRGB.java: Likewise.
470 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
472 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
474 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
476 * java/awt/Choice.java (AccessibleAWTChoice): Implement.
478 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
480 * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
481 field hiding ComponentSampleModel.scanlineStride.
483 2004-11-30 Noa Resare <noa@resare.com>
485 * java/awt/geom/GeneralPath.java (currentSegment):
486 Fix typo in transform.transform() invocation.
488 2004-11-30 Sven de Marothy <sven@physto.se>
490 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
491 (createImage): Created bitmap should be filled with bg color
493 2004-11-30 Noa Resare <noa@resare.com>
495 * java/awt/Choice.java (add):
496 Implement correct selection behavior when peer == null.
500 2004-11-30 Mark Wielaard <mark@klomp.org>
502 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
503 Call select() when Choice has a selected item.
505 2004-11-30 Michael Koch <address@bogus.example.com>
507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
508 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
509 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
510 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
511 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
512 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
513 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
514 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
515 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
516 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
517 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
518 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
519 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
520 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
521 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
522 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
523 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
524 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
525 Fixed method names to start at begin of line. This is desired by GNU
528 2004-11-30 Michael Koch <konqueror@gmx.de>
530 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
531 (gtkWidgetSetVisible): Unused. Removed.
532 (connectJObject): Likewise.
533 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
534 (gtkScrolledWindowSetScrollPosition): Commented out.
536 2004-11-30 Mark Wielaard <mark@klomp.org>
538 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
539 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
540 renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
542 2004-11-30 Mark Wielaard <mark@klomp.org>
544 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
545 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
546 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
547 (init_dpi_conversion_factor): Correct prototype.
549 2004-11-30 Sven de Marothy <sven@physto.se>
551 * java/awt/image/ConvolveOp.java: Added missing
554 2004-11-30 Robert Schuster <theBohemian@gmx.net>
557 * gnu/java/beans/IntrospectionIncubator.java:
558 (addMethod): static methods are discarded now, too.
560 2004-11-30 Mark Wielaard <mark@klomp.org>
562 * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
564 * Makefile.in: Regenerated.
566 2004-11-30 Sven de Marothy <sven@physto.se>
568 * gnu/java/awt/color/CieXyzConverter.java,
569 gnu/java/awt/color/GrayScaleConverter.java,
570 gnu/java/awt/color/SrgbConverter.java,
571 gnu/java/awt/color/ClutProfileConverter.java,
572 gnu/java/awt/color/LinearRGBConverter.java,
573 gnu/java/awt/color/TagEntry.java,
574 gnu/java/awt/color/ColorLookUpTable.java,
575 gnu/java/awt/color/ProfileHeader.java,
576 gnu/java/awt/color/ToneReproductionCurve.java,
577 gnu/java/awt/color/ColorSpaceConverter.java,
578 gnu/java/awt/color/PyccConverter.java,
579 gnu/java/awt/color/GrayProfileConverter.java,
580 gnu/java/awt/color/RgbProfileConverter.java:
582 * java/awt/color/ICC_ColorSpace.java,
583 java/awt/color/ICC_Profile.java,
584 java/awt/color/ICC_ProfileGray.java,
585 java/awt/color/ICC_ProfileRGB.java:
586 Implemented (sans PhotoYCC color space).
588 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
590 * java/awt/image/AffineTransformOp.java (filter): Implement
591 bilinear interpolation for Rasters.
593 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
595 * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
596 use the provided colormap. Throw documented exceptions. Document
599 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
601 * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
604 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
606 * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
608 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
610 * java/awt/image/AffineTransformOp.java (filter): Implement Raster
613 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
615 * java/awt/image/ComponentSampleModel.java (getDataElements,
616 setDataElements): Implement SHORT, FLOAT, and INT transfer types.
618 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
620 * java/awt/Font.java (name): New field.
624 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
626 * java/awt/image/Raster.java (createBandedRaster): Implement.
628 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
630 * java/awt/image/ConvolveOp.java: New class.
631 * Makefile.am: Add ConvolveOp.
632 * Makefile.in: Regenerate.
634 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
636 * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
637 LookupOp, RescaleOp): Fix loop bounds.
639 2004-11-30 jlquinn <jlquinn@optonline.net>
641 * Makefile.am: Fix typo in BandCombineOp.
642 * Makefile.in: Regenerate.
644 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
646 * java/awt/image/BandCombineOp.java: New class.
647 * Makefile.am: Add BandCombineOp.
648 * Makefile.in: Regenerate.
650 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
652 * java/awt/image/LookupOp.java: New class.
653 * Makefile.am: Add LookupOp.
654 * Makefile.in: Regenerate.
656 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
658 * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
661 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
663 * java/awt/image/ColorModel.java (cloneColorModel): Fix line
664 wrap. Use Boolean.valueOf.
666 2004-11-30 Michael Koch <konqueror@gmx.de>
668 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
669 (releasePeerGraphicsResource): Fixed typo in method name.
670 * gnu/java/awt/peer/gtk/GdkFontPeer.java
671 (finalize): Fixed typo in releasePeerGraphicsResource.
673 2004-11-30 Michael Koch <konqueror@gmx.de>
675 * java/awt/font/TextAttribute.java
676 (RUN_DIRECTION_LTR): Initialie with static value instead of
678 (RUN_DIRECTION_RTL): Likewise.
679 (STRIKETHROUGH_ON): Likewise.
680 (SWAP_COLORS_ON): Likewise.
682 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
684 * java/awt/image/ColorConvertOp.java: New class.
685 * java/awt/image/ColorModel.java (cloneColorModel): New method.
686 * Makefile.am: Add ColorConvertOp.
687 * Makefile.in: Regenerate.
689 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
691 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
692 Track Window focus owner on FOCUS_GAINED events.
694 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
697 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
699 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
702 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
705 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
708 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
711 * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
714 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
715 to fix type punned pointer warning.
716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
720 (window_get_new_state): Introduce unions to fix warnings as above.
721 (window_property_changed_cb): Likewise.
722 (window_active_state_change_cb): Mark unused variables unused.
723 (window_focus_state_change_cb): Likewise.
724 (window_focus_in_cb): Likewise.
725 (window_focus_out_cb): Likewise.
727 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
728 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
729 PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
731 2004-11-30 Michael Koch <konqueror@gmx.de>
733 * javax/swing/JMenuBar.java
734 (updateUI): Simplified.
735 * javax/swing/tree/DefaultTreeSelectionModel.java:
736 Reorganized import statements.
738 2004-11-30 Michael Koch <konqueror@gmx.de>
740 * java/awt/font/TextAttribute.java,
741 javax/swing/JComponent.java,
742 javax/swing/JInternalFrame.java,
743 javax/swing/table/TableColumn.java,
744 javax/swing/text/StyleConstants.java:
745 Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
747 2004-11-30 Michael Koch <konqueror@gmx.de>
749 * javax/swing/tree/DefaultTreeCellEditor.java,
750 javax/swing/tree/DefaultTreeModel.java,
751 javax/swing/tree/DefaultTreeSelectionModel.java:
754 2004-11-30 Michael Koch <konqueror@gmx.de>
756 * javax/swing/tree/DefaultTreeCellEditor.java
757 (EditorContainer.EditorContainer): Fixed arguments.
758 (EditorContainer.EditorContainer): New method.
759 (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
760 (DefaultTextField.getBorder): Implemented.
761 (listenerList): New field.
762 (addCellEditorListener): Implemented.
763 (removeCellEditorListener): Implemented.
764 (getCellEditorListeners): New method.
765 * javax/swing/tree/DefaultTreeModel.java
766 (addTreeModelListener): Fixed javadoc.
767 (removeTreeModelListener): Likewise.
768 (getTreeModelListeners): New method.
769 (fireTreeNodesChanged): Implemented.
770 (fireTreeNodesInserted): Likewise.
771 (fireTreeNodesRemoved): Likewise.
772 (fireTreeStructureChanged): Likewise.
773 (getListeners): Fixed javadoc.
774 * javax/swing/tree/DefaultTreeSelectionModel.java
775 (addTreeSelectionListener): Implemented.
776 (removeTreeSelectionListener): Likewise.
777 (fireValueChanged): Likewise.
778 (getListeners): Likewise.
779 (addPropertyChangeListener): Likewise.
780 (removePropertyChangeListener): Likewise.
781 (getTreeSelectionListeners): New method.
782 (getPropertyChangeListeners): Likewise.
784 2004-11-30 Michael Koch <konqueror@gmx.de>
786 * javax/swing/plaf/basic/BasicScrollBarUI.java
787 (maximumThumbSize): Removed static keyword.
788 (minimumThumbSize): Likewise.
789 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
790 (CloseAction): Made public.
791 (IconifyAction): Likewise.
792 (MaximizeAction): Likewise.
793 (MoveAction): Likewise.
794 (RestoreAction): Likewise.
795 (SizeAction): Likewise.
796 (SystemMenuBar): Likewise.
797 * javax/swing/plaf/basic/BasicSliderUI.java
798 (TrackListener): Likewise.
799 * javax/swing/plaf/basic/BasicSplitPaneUI.java
800 (KeyboardDownRightHandler): Likewise.
801 (KeyboardEndHandler): Likewise.
802 (KeyboardHomeHandler): Likewise.
803 (KeyboardResizeToggleHandler): Likewise.
804 (KeyboardUpLeftHandler): Likewise.
805 (PropertyHandler): Likewise.
806 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
807 (PropertyChangeHandler): Likewise.
808 (TabSelectionHandler): Likewise.
810 2004-11-30 Michael Koch <konqueror@gmx.de>
812 * javax/swing/text/JTextComponent.java
813 (getKeymap): Made public.
815 2004-11-30 Michael Koch <konqueror@gmx.de>
817 * javax/swing/JEditorPane.java
818 (getStream): Throws IOException.
820 * javax/swing/JRootPane.java
821 (createContentPane): Fixed return type.
822 * javax/swing/JSpinner.java
823 (commitEdit): Throws ParseException.
824 * javax/swing/plaf/metal/MetalLookAndFeel.java
825 (serialVersionUID): New field.
826 * javax/swing/table/TableColumn.java
827 (resizedPostingDisableCount): Added @deprecated tag.
828 (disableResizedPosting): Likewise.
829 (enableResizedPosting): Likewise.
830 * javax/swing/text/Document.java
831 (TitleProperty): Fixed value.
832 * javax/swing/tree/TreeCellEditor.java
833 (TreeCellEditor): Extends CellEditor.
835 2004-11-30 Michael Koch <konqueror@gmx.de>
837 * javax/swing/JWindow.java
838 javax/swing/SpinnerModel.java
839 javax/swing/Timer.java
840 javax/swing/event/MenuKeyEvent.java
841 javax/swing/plaf/basic/BasicButtonUI.java
842 javax/swing/plaf/basic/BasicIconFactory.java
843 javax/swing/plaf/basic/BasicTabbedPaneUI.java
844 javax/swing/text/AttributeSet.java
845 javax/swing/text/Highlighter.java
846 javax/swing/text/StyleConstants.java
847 javax/swing/tree/TreeCellEditor.java:
848 Removed redundant and reordered modifiers.
850 2004-11-30 Michael Koch <konqueror@gmx.de>
852 * javax/swing/plaf/basic/BasicToolTipUI.java:
853 Reformatted copyright header.
855 2004-11-30 Michael Koch <konqueror@gmx.de>
857 * javax/swing/AbstractAction.java,
858 javax/swing/AbstractButton.java,
859 javax/swing/AbstractCellEditor.java,
860 javax/swing/AbstractListModel.java,
861 javax/swing/AbstractSpinnerModel.java,
862 javax/swing/ActionMap.java,
863 javax/swing/BorderFactory.java,
864 javax/swing/Box.java,
865 javax/swing/ButtonModel.java,
866 javax/swing/CellEditor.java,
867 javax/swing/CellRendererPane.java,
868 javax/swing/DefaultBoundedRangeModel.java,
869 javax/swing/DefaultButtonModel.java,
870 javax/swing/DefaultCellEditor.java,
871 javax/swing/DefaultDesktopManager.java,
872 javax/swing/DefaultListCellRenderer.java,
873 javax/swing/DefaultListSelectionModel.java,
874 javax/swing/DefaultSingleSelectionModel.java,
875 javax/swing/GrayFilter.java,
876 javax/swing/InputMap.java,
877 javax/swing/JApplet.java,
878 javax/swing/JCheckBoxMenuItem.java,
879 javax/swing/JColorChooser.java,
880 javax/swing/JComboBox.java,
881 javax/swing/JComponent.java,
882 javax/swing/JDesktopPane.java,
883 javax/swing/JDialog.java,
884 javax/swing/JEditorPane.java,
885 javax/swing/JFileChooser.java,
886 javax/swing/JFormattedTextField.java,
887 javax/swing/JFrame.java,
888 javax/swing/JInternalFrame.java,
889 javax/swing/JLabel.java,
890 javax/swing/JLayeredPane.java,
891 javax/swing/JList.java,
892 javax/swing/JMenu.java,
893 javax/swing/JMenuBar.java,
894 javax/swing/JMenuItem.java,
895 javax/swing/JOptionPane.java,
896 javax/swing/JPanel.java,
897 javax/swing/JPasswordField.java,
898 javax/swing/JPopupMenu.java,
899 javax/swing/JRadioButtonMenuItem.java,
900 javax/swing/JRootPane.java,
901 javax/swing/JSpinner.java,
902 javax/swing/JSplitPane.java,
903 javax/swing/JTabbedPane.java,
904 javax/swing/JTable.java,
905 javax/swing/JTextArea.java,
906 javax/swing/JTextPane.java,
907 javax/swing/JToggleButton.java,
908 javax/swing/JToolBar.java,
909 javax/swing/JToolTip.java,
910 javax/swing/JTree.java,
911 javax/swing/JViewport.java,
912 javax/swing/ListModel.java,
913 javax/swing/LookAndFeel.java,
914 javax/swing/MenuSelectionManager.java,
915 javax/swing/ProgressMonitorInputStream.java,
916 javax/swing/RepaintManager.java,
917 javax/swing/RootPaneContainer.java,
918 javax/swing/ScrollPaneLayout.java,
919 javax/swing/SpringLayout.java,
920 javax/swing/SwingUtilities.java,
921 javax/swing/Timer.java,
922 javax/swing/ToolTipManager.java,
923 javax/swing/UIDefaults.java,
924 javax/swing/UIManager.java,
925 javax/swing/border/MatteBorder.java,
926 javax/swing/colorchooser/AbstractColorChooserPanel.java,
927 javax/swing/colorchooser/ColorSelectionModel.java,
928 javax/swing/colorchooser/DefaultColorSelectionModel.java,
929 javax/swing/colorchooser/DefaultHSBChooserPanel.java,
930 javax/swing/colorchooser/DefaultPreviewPanel.java,
931 javax/swing/colorchooser/DefaultRGBChooserPanel.java,
932 javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
933 javax/swing/event/AncestorEvent.java,
934 javax/swing/event/HyperlinkEvent.java,
935 javax/swing/event/InternalFrameEvent.java,
936 javax/swing/event/MenuDragMouseEvent.java,
937 javax/swing/event/TableColumnModelEvent.java,
938 javax/swing/event/TableModelEvent.java,
939 javax/swing/event/TreeExpansionEvent.java,
940 javax/swing/event/TreeModelEvent.java,
941 javax/swing/event/TreeSelectionEvent.java,
942 javax/swing/event/TreeWillExpandListener.java,
943 javax/swing/event/UndoableEditEvent.java,
944 javax/swing/filechooser/FileView.java,
945 javax/swing/plaf/BorderUIResource.java,
946 javax/swing/plaf/ComponentUI.java,
947 javax/swing/plaf/FileChooserUI.java,
948 javax/swing/plaf/IconUIResource.java,
949 javax/swing/plaf/ListUI.java,
950 javax/swing/plaf/PopupMenuUI.java,
951 javax/swing/plaf/SplitPaneUI.java,
952 javax/swing/plaf/TabbedPaneUI.java,
953 javax/swing/plaf/TextUI.java,
954 javax/swing/plaf/TreeUI.java,
955 javax/swing/plaf/basic/BasicArrowButton.java,
956 javax/swing/plaf/basic/BasicBorders.java,
957 javax/swing/plaf/basic/BasicButtonUI.java,
958 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
959 javax/swing/plaf/basic/BasicColorChooserUI.java,
960 javax/swing/plaf/basic/BasicComboBoxEditor.java,
961 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
962 javax/swing/plaf/basic/BasicComboBoxUI.java,
963 javax/swing/plaf/basic/BasicComboPopup.java,
964 javax/swing/plaf/basic/BasicDesktopIconUI.java,
965 javax/swing/plaf/basic/BasicDesktopPaneUI.java,
966 javax/swing/plaf/basic/BasicIconFactory.java,
967 javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
968 javax/swing/plaf/basic/BasicInternalFrameUI.java,
969 javax/swing/plaf/basic/BasicListUI.java,
970 javax/swing/plaf/basic/BasicLookAndFeel.java,
971 javax/swing/plaf/basic/BasicMenuBarUI.java,
972 javax/swing/plaf/basic/BasicMenuItemUI.java,
973 javax/swing/plaf/basic/BasicMenuUI.java,
974 javax/swing/plaf/basic/BasicOptionPaneUI.java,
975 javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
976 javax/swing/plaf/basic/BasicPopupMenuUI.java,
977 javax/swing/plaf/basic/BasicProgressBarUI.java,
978 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
979 javax/swing/plaf/basic/BasicRootPaneUI.java,
980 javax/swing/plaf/basic/BasicScrollBarUI.java,
981 javax/swing/plaf/basic/BasicSeparatorUI.java,
982 javax/swing/plaf/basic/BasicSliderUI.java,
983 javax/swing/plaf/basic/BasicSpinnerUI.java,
984 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
985 javax/swing/plaf/basic/BasicSplitPaneUI.java,
986 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
987 javax/swing/plaf/basic/BasicTableHeaderUI.java,
988 javax/swing/plaf/basic/BasicTableUI.java,
989 javax/swing/plaf/basic/BasicTextAreaUI.java,
990 javax/swing/plaf/basic/BasicTextFieldUI.java,
991 javax/swing/plaf/basic/BasicTextUI.java,
992 javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
993 javax/swing/plaf/basic/BasicToolBarUI.java,
994 javax/swing/plaf/basic/BasicToolTipUI.java,
995 javax/swing/plaf/basic/BasicTreeUI.java,
996 javax/swing/plaf/basic/BasicViewportUI.java,
997 javax/swing/plaf/basic/ComboPopup.java,
998 javax/swing/table/AbstractTableModel.java,
999 javax/swing/table/DefaultTableCellRenderer.java,
1000 javax/swing/table/DefaultTableColumnModel.java,
1001 javax/swing/table/DefaultTableModel.java,
1002 javax/swing/table/JTableHeader.java,
1003 javax/swing/table/TableCellEditor.java,
1004 javax/swing/table/TableCellRenderer.java,
1005 javax/swing/table/TableColumn.java,
1006 javax/swing/table/TableColumnModel.java,
1007 javax/swing/text/AbstractDocument.java,
1008 javax/swing/text/Caret.java,
1009 javax/swing/text/DefaultCaret.java,
1010 javax/swing/text/DefaultEditorKit.java,
1011 javax/swing/text/DefaultHighlighter.java,
1012 javax/swing/text/EditorKit.java,
1013 javax/swing/text/JTextComponent.java,
1014 javax/swing/text/LayeredHighlighter.java,
1015 javax/swing/text/PasswordView.java,
1016 javax/swing/text/SimpleAttributeSet.java,
1017 javax/swing/text/StyleConstants.java,
1018 javax/swing/text/StyleContext.java,
1019 javax/swing/text/StyledEditorKit.java,
1020 javax/swing/text/TextAction.java,
1021 javax/swing/text/View.java,
1022 javax/swing/tree/AbstractLayoutCache.java,
1023 javax/swing/tree/DefaultTreeCellRenderer.java,
1024 javax/swing/tree/DefaultTreeModel.java,
1025 javax/swing/tree/DefaultTreeSelectionModel.java,
1026 javax/swing/tree/FixedHeightLayoutCache.java,
1027 javax/swing/tree/TreeCellRenderer.java,
1028 javax/swing/tree/TreeSelectionModel.java,
1029 javax/swing/tree/VariableHeightLayoutCache.java,
1030 javax/swing/undo/AbstractUndoableEdit.java,
1031 javax/swing/undo/UndoableEditSupport.java:
1034 2004-11-30 Michael Koch <konqueror@gmx.de>
1036 * java/awt/Container.java,
1038 java/awt/font/TextLayout.java:
1041 2004-11-30 Michael Koch <konqueror@gmx.de>
1043 * javax/swing/AbstractButton.java
1044 (getLabel): Added @deprecated tag.
1045 (setLabel): Likewise.
1046 * javax/swing/FocusManager.java
1047 (disableSwingFocusManager): Likewise.
1048 (isFocusManagerEnabled): Likewise.
1049 * javax/swing/JComponent.java
1050 (isManagingFocus): Added version to @deprecated tag.
1051 (getNextFocusableComponent): Moved @deprecated tag to bottom of
1053 (getConditionForKeyStroke): Likewise.
1054 (getActionForKeyStroke): Likewise.
1055 * javax/swing/JDesktopPane.java
1056 (LIVE_DRAG_MODE): Added @specnote tag.
1057 (OUTLINE_DRAG_MODE): Likewise.
1058 * javax/swing/JInternalFrame.java
1059 (MENU_BAR_PROPERTY): Fixed value.
1060 (getMenuBar): Added @deprecated tag.
1061 (setMenuBar): Likewise.
1062 * javax/swing/JViewport.java
1063 (isBackingStoreEnabled): Likewise.
1064 (setBackingStoreEnabled): Likewise.
1065 * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1066 (closeKey): Likewise.
1067 (maximizeKey): Likewise.
1068 (minimizeKey): Likewise.
1069 (navigateKey): Likewise.
1070 (navigateKey2): Likewise.
1071 * javax/swing/plaf/basic/BasicInternalFrameUI.java
1072 (openMenuKey): Likewise.
1073 * javax/swing/plaf/basic/BasicSplitPaneUI.java
1074 (keyboardDownRightListener): Likewise.
1075 (keyboardEndListener): Likewise.
1076 (keyboardHomeListener): Likewise.
1077 (keyboardResizeToggleListener): Likewise.
1078 (keyboardUpLeftListener): Likewise.
1079 (dividerResizeToggleKey): Likewise.
1080 (downKey): Likewise.
1082 (homeKey): Likewise.
1083 (leftKey): Likewise.
1084 (rightKey): Likewise.
1086 (createKeyboardUpLeftListener): Likewise.
1087 (createKeyboardDownRightListener): Likewise.
1088 (createKeyboardHomeListener): Likewise.
1089 (createKeyboardEndListener): Likewise.
1090 (createKeyboardResizeToggleListener): Likewise.
1091 (getDividerBorderSize): Likewise.
1092 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1093 (downKey): Likewise.
1094 (leftKey): Likewise.
1095 (rightKey): Likewise.
1098 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1101 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1102 GTK_TEXT_VIEW macro.
1104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1105 (connect_awt_hook_cb): Mark unused variable unused.
1107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1111 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1112 the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1113 Remove unused var menu.
1114 (selection_changed): Remove unused value.
1116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1117 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1118 warning with using an intermediate variable.
1120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1121 (area_updated): Fix unused var warning for BE archs.
1123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1124 (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1126 (realize_cb): Mark unused variable unused.
1128 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1129 (seek_glyphstring_idx): Fix a C90 warning.
1131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1132 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1133 Mark unused arguments unused.
1135 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1136 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1137 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1138 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1139 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1143 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1144 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1148 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1150 (filenameFilterCallback): Remove unused var.
1151 (handle_response): Declare str_fileName and remove last else statement.
1153 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1155 (nativeGetNumFontsFamilies) New function.
1156 (nativeGetFontFamilies) Likewise.
1157 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1158 (getAvailableFontFamilyNames): Implement.
1159 * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1160 * Makefile.in: Regenerate.
1162 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1164 * gnu/java/awt/peer/ClasspathFontPeer.java
1165 (setStandardAttributes(String,Map)): If size attribute doesn't
1166 exist, default to size 12. Clamp size value to a minimum of 1.
1168 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1170 * javax/swing/JDialog.java
1171 (decorated): Likewise.
1172 * javax/swing/JFrame.java
1173 (defaultLookAndFeelDecorated): Likewise.
1175 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1177 * javax/swing/plaf/basic/BasicToolBarUI.java
1178 (offset, regular): Made final.
1179 * javax/swing/plaf/basic/BasicScrollBarUI.java
1180 (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1181 POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1183 2004-11-30 Michael Koch <konqueror@gmx.de>
1185 * gnu/java/awt/BitwiseXORComposite.java,
1186 gnu/java/awt/ClasspathToolkit.java,
1187 gnu/java/awt/image/XBMDecoder.java,
1188 gnu/java/awt/peer/GLightweightPeer.java,
1189 gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1190 Reorganized import statements.
1192 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1194 * java/awt/Button.java
1195 (next_button_number): Removed useless initializer.
1196 * java/awt/Frame.java
1197 (next_frame_number): Likewise.
1198 * java/awt/Panel.java
1199 (next_panel_number): Likewise,
1200 * java/awt/Scrollbar.java
1201 (next_scrollbar_number): Likewise.
1202 * java/awt/TextArea.java
1203 (next_text_number): Likewise.
1205 2004-11-30 Michael Koch <konqueror@gmx.de>
1207 * java/awt/image/ByteLookupTable.java
1208 (ByteLookupTable) :Fixed HTML entities in javadocs.
1209 (lookupPixel): Fix case when dst is null.
1210 * java/awt/image/ShortLookupTable.java
1211 (ShortLookupTable) :Fixed HTML entities in javadocs.
1212 (lookupPixel): Fix case when dst is null.
1213 * java/awt/image/DataBufferByte.java,
1214 java/awt/image/DataBufferDouble.java,
1215 java/awt/image/DataBufferFloat.java,
1216 java/awt/image/DataBufferInt.java,
1217 java/awt/image/DataBufferShort.java,
1218 java/awt/image/DataBufferUShort.java:
1219 Fix initialization of bankData in constructors.
1221 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1223 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1224 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1225 (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1227 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1228 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1229 (setNativeBounds): Make package private. Set size request even
1230 if GTK parent is NULL.
1231 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1232 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1233 (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1235 2004-11-30 Mark Wielaard <mark@klomp.org>
1237 Workaround for bug #17952.
1238 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1239 (request_frame_extents): Check window->window != NULL.
1241 2004-11-30 Mark Wielaard <mark@klomp.org>
1243 * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1245 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1247 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1248 native_text_layout_state_table here.
1250 * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1252 2004-11-30 Mark Wielaard <mark@klomp.org>
1254 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1255 (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1256 Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1258 2004-11-30 Michael Koch <konqueror@gmx.de>
1260 * gnu/java/awt/peer/gtk/GtkToolkit.java:
1261 Merged import statements.
1263 2004-11-30 Michael Koch <konqueror@gmx.de>
1265 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1266 (isBufferedImageGraphics): Simplified.
1268 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
1270 * javax/swing/JTree.java
1271 (isRootVisible): Fixed typo in method name.
1272 * javax/swing/JScrollBar.java
1273 (setValues): Likewise.
1274 * javax/swing/JScrollPane.java
1275 (createScrollListener): Call JScrollBar.setValues.
1277 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1279 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1280 Don't call setParentAndBounds on GtkWindowPeers.
1282 * java/awt/Component.java (static): Don't set default keyboard
1284 * java/awt/KeyboardFocusManager.java
1285 (getCurrentKeyboardFocusManager): If current keyboard focus
1286 manager is null set a default.
1288 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1289 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1290 (gtkWidgetSetBackground): New method.
1291 (block_expose_events_cb): New function.
1292 (connectSignals): Block the AWT's expose event processing on
1293 button press and release.
1294 (gtkSetLabel): Set text on proper widget.
1295 (gtkWidgetModifyFont): Modify font on proper widget.
1296 (gtkWidgetSetBackground): Set normal, active and prelight
1298 (gtkWidgetSetForeground): Set forground colour of proper widget.
1299 (gtkActivate): Activate the correct widget.
1300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1301 Only clear rectangle if the backing component is not an event
1303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1304 (beginNativeRepaintID): New variable.
1305 (endNativeRepaintID): Likewise.
1306 (gtkInit): Initialize new fields with method IDs.
1307 * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1308 (endNativeRepaintID): Likewise.
1310 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1312 * javax/swing/JList.java (init): Revert accidental commit.
1314 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1315 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1316 Call initComponentGraphics or connectSignals depending on
1317 component's realization status.
1318 (realize_cb): New function.
1319 (initComponentGraphics): New method.
1320 (connectSignals): New method.
1321 (clipRect): Return immediately if component is not realized.
1322 (setClip): Likewise.
1323 (translate): Likewise.
1324 (drawImage variants): Return false immediately if component is
1326 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1327 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1328 (connectSignals): New method.
1329 (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1330 depending on component's realization status. Move other
1331 initialization calls to ...
1332 (initComponentGraphics2D): New method.
1333 (realize_cb): New function.
1334 (cairoSetMatrix): Return immediately if gr is NULL.
1335 (cairoNewPath): Likewise.
1336 (cairoRectangle): Likewise.
1337 (cairoClip): Likewise.
1338 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1339 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1340 (gtkWidgetRepaintArea): Remove method.
1341 (isRealized): New method.
1342 (GtkComponentPeer): Move setParent, connectJObject and setCursor
1343 calls to setParentAndBounds. Call setParentAndBounds.
1344 (setParentAndBounds): New method.
1345 (setComponentBounds): Return immediately if bounds are all zero.
1346 (repaint): Remove call to gtkWidgetRepaintArea. Return
1347 immediately if requested paint region is 0x0.
1348 (setCursor): New method.
1349 (gtkWidgetSetParent): Only set widget's parent if its parent is
1351 (setNativeBounds): Only set widget's bounds if it has a parent.
1352 (connectSignals): Don't call gtk_widget_realize. Connect
1353 "realize" signal to connect_awt_hook_cb handler.
1354 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1356 (beginValidate): Set isValidating true.
1357 (endValidate): Set parents and bounds for children first, then
1358 for this. Set isValidating false.
1359 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1360 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1361 (connectJObject): Remove method.
1362 (connectSignals): Don't call gtk_widget_realize.
1363 * gnu/java/awt/peer/gtk/GtkListPeer.java,
1364 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1365 (connectJObject): Remove method.
1366 (connectSignals): Don't call gtk_widget_realize.
1367 * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1368 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1369 (connectJObject): Remove method.
1370 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1371 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1372 (connectJObject): Remove method.
1373 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1374 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1375 (create): Don't call gtk_widget_realize.
1376 (connectJObject): Remove method.
1377 (connectSignals): Don't call gtk_widget_realize. Connect
1378 "realize" signal to connect_awt_hook_cb handler.
1379 (nativeSetBounds): Don't attempt to move GDK window if it is
1381 * java/awt/Container.java (addImpl): Don't call comp.addNotify
1382 if peer is not null.
1383 (validateTree): Create peers for all children before calling
1385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1386 (connectSignals): Don't call gtk_widget_realize.
1387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1388 (connect_awt_hook_cb): New function.
1389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1390 (initComponentGraphicsID): New variable.
1391 (initComponentGraphics2DID): Likewise.
1392 (setCursorID): Likewise.
1393 (gtkInit): Initialize new fields with method IDs.
1394 * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1396 (initComponentGraphics2DID): Declare extern.
1397 (setCursorID): Likewise.
1398 (connect_awt_hook_cb): Declare function.
1400 2004-11-30 Michael Koch <konqueror@gmx.de>
1402 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1403 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1404 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1405 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1406 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1407 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1408 gnu/java/awt/peer/gtk/GtkClipboard.java,
1409 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1410 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1411 gnu/java/awt/peer/gtk/GtkFontPeer.java,
1412 gnu/java/awt/peer/gtk/GtkListPeer.java,
1413 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1414 gnu/java/awt/peer/gtk/GtkToolkit.java,
1415 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1416 Import statements reworked. Some little reformattings.
1418 2004-11-30 Michael Koch <konqueror@gmx.de>
1420 * java/awt/image/AffineTransformOp.java
1421 (TYPE_BILINEAR): Initialize with 2.
1422 * java/awt/print/Printable.java: Jalopied.
1423 (PAGE_EXISTS): Initialize with 0;
1424 (NO_SUCH_PAGE): Initialized with 1.
1426 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1428 * Makefile.am: Add BufferedImageFilter.java.
1429 * Makefile.in: Regenerate.
1431 2004-11-30 Graydon Hoare <graydon@redhat.com>
1433 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1434 (install_font_peer): Minor bug fixes to track cairo font semantics.
1436 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1438 * java/awt/image/BufferedImageFilter.java: Implement.
1440 2004-11-30 Graydon Hoare <graydon@redhat.com>
1443 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1444 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1445 (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1446 (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1447 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1448 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1449 (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1450 (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1451 (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1452 * Makefile.in: Regenerate.
1453 * gnu/awt/xlib/XToolkit.java
1454 (getClasspathTextLayoutPeer): Add stub.
1455 * gnu/java/awt/ClasspathToolkit.java
1456 (getClasspathTextLayoutPeer) Add.
1457 * gnu/java/awt/peer/ClasspathFontPeer.java
1459 (copySizeToAttrs): Make public.
1460 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1461 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1462 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1463 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1464 * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1465 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1466 * gnu/java/awt/peer/gtk/GdkGraphics.java
1467 (getFontPeer): New function.
1468 (drawString): Pass font peer to native side.
1469 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1472 (PainterThread): Remove.
1473 (GdkGraphics2D): Set hints during construction.
1478 (setRenderingHints): Reimplement normalization logic.
1480 (updateBufferedImage)
1481 (isBufferedImageGraphics)
1483 (drawImage): Make final.
1484 (drawImage): Always paint synchronously.
1486 (drawGlyphVector): Rewrite.
1487 (releasePeerGraphicResource)
1488 (getPeerTextMetrics)
1489 (getPeerFontMetrics)
1490 (drawGdkGlyphVector)
1492 (cairoDrawGdkGlyphVector)
1493 (cairoDrawGdkTextLayout)
1495 (getFontPeer): New functions.
1496 * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1497 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1498 (getFontMetrics): Get metrics via toolkit, to hit cache.
1499 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1500 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1501 * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1504 (imageCache): New members.
1507 (getClasspathFontPeer): Use caches.
1508 (getFontPeer): Route through getClasspathFontPeer.
1509 * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1510 * java/awt/font/TextLayout.java: Implement in terms of peer.
1511 * javax/swing/plaf/basic/BasicSliderUI.java
1512 (paintThumb): Use polyline rather than polygon.
1513 * javax/swing/plaf/basic/BasicGraphicsUtils.java:
1514 Update comment but, alas, still do not switch to using TextLayouts.
1515 * javax/swing/text/Utilities.java (drawTabbedText):
1516 Draw text run-at-a-time, not char-at-a-time.
1517 * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1523 incorporate brains of old GdkClasspathFontPeerMetrics.
1524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1525 incorporate brains of old GdkClasspathFontPeer.
1526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1528 (drawString): Rewrite to use persistent layout in peer font.
1529 Comment out extraneous gdk_flush calls.
1530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1532 (metrics_surface): New static variables.
1534 (install_font_peer): New helper functions.
1535 (releasePeerGraphicResource)
1536 (getPeerTextMetrics)
1537 (getPeerFontMetrics)
1538 (cairoDrawGdkTextLayout)
1539 (cairoDrawGdkGlyphVector): New native methods.
1540 (cairoDrawString): Rewrite, leaving layout-based version
1541 commented out for the time being.
1542 * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1544 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
1546 * java/awt/geom/AffineTransform.java:
1547 Fixed javadocs overall.
1549 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1551 * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1554 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1556 * java/awt/image/IndexColorModel.java: Fix use of immutable
1559 2004-11-30 Tom Tromey <tromey@redhat.com>
1561 * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1562 Renamed from 'messageIcon'.
1563 (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1565 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1567 * java/awt/image/RescaleOp.java: Fix formatting.
1569 2004-11-30 Olga Rodimina <rodimina@redhat.com>
1571 * javax/swing/plaf/basic/BasicComboPopup.java
1572 (SCROLL_DOWN): made final.
1573 (SCROLL_UP): made final.
1575 2004-11-30 Olga Rodimina <rodimina@redhat.com>
1577 * javax/swing/plaf/basic/BasicComboPopup.java:
1578 Added javadocs for undocumented fields.
1579 (show): scroll down to the selected item and
1580 highlight selected item.
1581 (startAutoScrolling): Implemented.
1582 (stopAutoScrolling): Implemented.
1583 (autoScrollUp): Implemented.
1584 (autoScrollDown): Implemented.
1585 (InvocationMouseHandler.mouseReleased): Implemented.
1586 (InvocationMouseMotionHandler.mouseDragged): Implemented.
1588 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1590 * java/awt/image/RescaleOp.java: Implement.
1592 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1594 * java/awt/image/IndexColorModel.java (getRGBs,
1595 convertToIntDiscrete): Implement.
1597 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1599 * java/awt/image/IndexColorModel.java: Add class docs.
1601 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1603 * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1606 2004-11-30 Michael Koch <konqueror@gmx.de>
1608 * java/awt/MenuBar.java,
1609 java/awt/peer/MenuBarPeer.java:
1610 Revert accidentally commited changes.
1612 2004-11-30 Michael Koch <konqueror@gmx.de>
1614 * java/awt/AWTKeyStroke.java,
1615 java/awt/Canvas.java,
1616 java/awt/CardLayout.java,
1617 java/awt/CheckboxMenuItem.java,
1618 java/awt/Component.java,
1619 java/awt/Container.java,
1620 java/awt/DefaultKeyboardFocusManager.java,
1621 java/awt/EventDispatchThread.java,
1622 java/awt/FileDialog.java,
1623 java/awt/FlowLayout.java,
1625 java/awt/Frame.java,
1626 java/awt/Graphics2D.java,
1627 java/awt/GraphicsEnvironment.java,
1628 java/awt/GridBagConstraints.java,
1629 java/awt/GridBagLayout.java,
1630 java/awt/GridLayout.java,
1631 java/awt/Image.java,
1632 java/awt/KeyboardFocusManager.java,
1633 java/awt/Label.java,
1635 java/awt/MediaTracker.java,
1637 java/awt/MenuBar.java,
1638 java/awt/MenuComponent.java,
1639 java/awt/Panel.java,
1640 java/awt/PopupMenu.java,
1641 java/awt/ScrollPane.java,
1642 java/awt/Scrollbar.java,
1643 java/awt/SystemColor.java,
1644 java/awt/TextArea.java,
1645 java/awt/TextField.java,
1646 java/awt/Toolkit.java,
1647 java/awt/Window.java,
1648 java/awt/color/ICC_Profile.java,
1649 java/awt/datatransfer/DataFlavor.java,
1650 java/awt/datatransfer/StringSelection.java,
1651 java/awt/datatransfer/SystemFlavorMap.java,
1652 java/awt/dnd/Autoscroll.java,
1653 java/awt/dnd/DropTarget.java,
1654 java/awt/dnd/DropTargetContext.java,
1655 java/awt/dnd/DropTargetDragEvent.java,
1656 java/awt/dnd/peer/DropTargetContextPeer.java,
1657 java/awt/event/AdjustmentEvent.java,
1658 java/awt/event/InputEvent.java,
1659 java/awt/event/InvocationEvent.java,
1660 java/awt/event/KeyEvent.java,
1661 java/awt/event/MouseEvent.java,
1662 java/awt/font/TextLayout.java,
1663 java/awt/geom/GeneralPath.java,
1664 java/awt/geom/Point2D.java,
1665 java/awt/im/InputContext.java,
1666 java/awt/im/spi/InputMethodContext.java,
1667 java/awt/image/AffineTransformOp.java,
1668 java/awt/image/BufferedImage.java,
1669 java/awt/image/ColorModel.java,
1670 java/awt/image/ComponentColorModel.java,
1671 java/awt/image/CropImageFilter.java,
1672 java/awt/image/DirectColorModel.java,
1673 java/awt/image/MemoryImageSource.java,
1674 java/awt/image/PackedColorModel.java,
1675 java/awt/image/PixelGrabber.java,
1676 java/awt/image/RasterOp.java,
1677 java/awt/peer/MenuBarPeer.java:
1678 Some fixes for checkstyle. Import statement and modifier order
1681 2004-11-30 Michael Koch <konqueror@gmx.de>
1683 * javax/swing/JTable.java
1684 (setModel): Reimplemented.
1686 2004-11-30 Michael Koch <konqueror@gmx.de>
1688 * javax/swing/JTextArea.java
1689 (append): Re-implemented.
1692 2004-11-30 Michael Koch <konqueror@gmx.de>
1694 * javax/swing/JSpinner.java
1695 (serialVersionUID): New static field.
1696 * javax/swing/JToggleButton.java
1697 (JToggleButton): Fixed email addresses.
1698 * javax/swing/SpinnerNumberModel.java
1699 (serialVersionUID): Added javadoc.
1701 2004-11-30 Michael Koch <konqueror@gmx.de>
1703 * javax/swing/JTextArea.java:
1704 Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1705 bug here which is fixed in HEAD ...
1707 2004-11-30 Andrew John Hughes <address@hidden>
1709 * javax/swing/JTextArea.java: Added additional
1712 2004-11-30 Andrew John Hughes <address@hidden>
1714 * javax/swing/JRadioButton.java:
1715 Implemented additional constructors and accessibility
1716 classes. Added documentation and fixed a typo in
1719 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1721 * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1722 missing constructor.
1724 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1726 * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1727 Implement missing 1.4 constructor.
1729 2004-11-30 Andrew John Hughes <address@hidden>
1731 * javax/swing/JToggleButton.java:
1732 Implemented additional constructors and accessibility
1733 classes. Added documentation and fixed a typo in
1736 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1738 * java/awt/image/ColorModel.java (getDataElement,
1739 getDataElements): Document since 1.4.
1741 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1743 * java/awt/image/BandedSampleModel.java: Implement.
1744 * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1745 * Makefile.in: Regenerated.
1747 2004-11-30 Michael Koch <konqueror@gmx.de>
1749 * java/awt/Window.java: Fixed whitespace difference with GNU
1752 2004-11-30 Mark Wielaard <mark@klomp.org>
1754 * Makefile.am: Add javax/swing/SpinnerListModel.java.
1755 * Makefile.in: Regenerated.
1757 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1759 * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1760 Implemented SpinnerListModel. Added documentation to
1763 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1766 (init_dpi_conversion_factor): Apply the patch from main correctly.
1767 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
1769 2004-11-30 Tom Tromey <tromey@redhat.com>
1772 * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1773 (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1774 * javax/swing/plaf/basic/BasicSplitPaneUI.java
1775 (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
1777 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1779 * java/awt/Canvas.java
1780 (AccessibleAWTCanvas): added serialization UID
1781 * java/awt/Label.java
1782 (AccessibleAWTLabel): added serialization UID
1783 * javax/swing/JRootPane.java
1784 (AccessibleJRootPane): added comment to existing UID
1785 * javax/swing/JSpinner.java
1786 (DefaultEditor): added serialization UID
1787 (NumberEditor): added serialization UID
1788 * javax/swing/text/html/HTML.java
1789 (UnknownTag): added serialization UID
1791 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1793 * javax/swing/JInternalFrame.java
1794 (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
1795 IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
1796 IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
1797 ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
1798 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1799 (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
1800 Made final as per API spec.
1802 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1804 * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
1806 2004-11-30 Sven de Marothy <sven@physto.se>
1808 * java/awt/geom/Arc2D.java: Reformatted.
1809 (setArc): Correct documentation to say 'upper left corner'.
1810 (setArcByTangent,contains,intersects): Implemented.
1811 (containsAngle): Corrected to handle negative extents.
1812 (ArcIterator): Set to private.
1813 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
1814 (intersects): Fix: Now checks the arc segment.
1815 (contains): Cleaned up.
1816 * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
1817 (contains): Implemented.
1818 (intersects): Implemented.
1819 * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
1820 * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
1821 document. Fully (re)implemented using separate xpoints and ypoints
1824 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1826 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1827 * configure: Regenerate.
1828 * include/config.h.in: Likewise.
1829 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1830 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1833 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1834 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1839 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
1841 * java/awt/SystemColor.java: Fix @link doc entries.
1843 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
1845 * java/awt/RenderingHints.java: Documented.
1846 (RenderingHints): Accept null init Map.
1847 (putAll): Preprocess map to generate appropriate exceptions.
1848 (remove): Cast object to Key and remove from hintMap.
1850 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1852 * java/awt/MenuComponent.java, java/awt/MenuBar.java:
1853 Implementation of accessibility classes and methods
1854 for these two components.
1856 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1858 * java/awt/KeyboardFocusManager.java:
1859 Added missing documentation.
1861 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1863 * java/awt/Label.java, java/awt/Canvas.java:
1864 Added accessibility classes to AWT Label and Canvas,
1865 as well as additional documentation for Canvas.
1867 2004-11-30 David Gilbert <address@bogus.example.com>
1869 * java/awt/image/DataBuffer.java: Update API documentation.
1870 * java/awt/image/DataBufferByte.java: Likewise.
1871 * java/awt/image/DataBufferDouble.java: Likewise.
1872 * java/awt/image/DataBufferFloat.java: Likewise.
1873 * java/awt/image/DataBufferInt.java: Likewise.
1874 * java/awt/image/DataBufferShort.java: Likewise.
1875 * java/awt/image/DataBufferUShort.java: Likewise.
1877 2004-11-30 Dalibor Topic <robilad@kaffe.org>
1879 * java/awt/Component.java (postEvent):
1880 Only delegate to parent if a parent exists.
1881 Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
1883 2004-11-30 Sven de Marothy <sven@physto.se>
1885 *java/awt/AWTEventMulticaster.java,
1886 java/awt/Adjustable.java,
1887 java/awt/Point.java,
1888 java/awt/Polygon.java,
1889 java/awt/Rectangle.java,
1890 java/awt/Shape.java,
1891 java/awt/geom/Area.java,
1892 java/awt/geom/Ellipse2D.java,
1893 java/awt/geom/PathIterator.java,
1894 java/awt/geom/Point2D.java,
1895 java/awt/geom/Rectangle2D.java,
1896 java/lang/Comparable.java,
1897 java/util/Arrays.java:
1898 Fixed documentation errors
1900 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1902 * java/awt/image/ComponentSampleModel.java: Add documentation.
1905 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1907 * java/awt/image/ComponentSampleModel.java (constructor):
1908 Initialize numBanks when figuring out the max bank index.
1910 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1912 * java/awt/image/Raster.java (createPackedRaster): Implement
1913 MultiPixelPackedSampleModel codepath.
1915 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1917 * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
1918 * Makefile.am: Add MultiPixelPackedSampleModel.java.
1919 * Makefile.in: Regenerate.
1921 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1923 * java/awt/image/Raster.java (getNumBands): Implement.
1925 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1927 * java/awt/image/Raster.java
1928 (createPackedRaster(int,int,int,int,int,Point)): Implement for
1931 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1933 * java/awt/image/SinglePixelPackedSampleModel.java
1934 (SinglePixelPackedSampleModel): Throw exception for unsupported
1937 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1939 * java/awt/image/ColorModel.java (getDataElement): Implemented.
1941 (getDataElements): Add missing version. Remove bogus version.
1944 2004-11-30 Olga Rodimina <rodimina@redhat.com>
1946 * javax/swing/plaf/basic/BasicComboBoxUI.java:
1947 (paintCurrentValue): Pass correct parameters to
1948 getListCellRendererComponent().
1949 (ListDataHandler.intervalRemoved): Implemented.
1950 (PropertyChangeHandler.propertyChange): Handle changes in
1951 MODEL_CHANGED_PROPERTY of the JComboBox
1952 * javax/swing/plaf/basic/BasicComboPopup.java:
1953 (BasicComboPopup): Moved code that configures popup to
1954 configurePopup() and call it instead.
1955 (firePopupMenuWillBecomeVisible): Implemented.
1956 (firePopupMenuWillBecomeInvisible): Likewise.
1957 (firePopupMenuCanceled): Likewise.
1958 (configureList): Set list's visibleRowCount same as
1959 comboBox's visibleRowCount.
1960 (configurePopup): Implemented.
1961 (getPopupHeightForRowCount): Get item's from JComboBox's model and
1962 not from model of the JList.
1963 (ListMouseMotionHandler.mouseMoved): Implemented.
1964 (PropertyChangeHandler.propertyChange): Handles change in the
1967 2004-11-30 Michael Koch <konqueror@gmx.de>
1969 * javax/swing/JComponent.java
1970 (isMaximumSizeSet): New method.
1971 (isMinimumSizeSet): Likewise.
1972 (isPreferredSizeSet): Likewise.
1974 2004-11-30 Michael Koch <konqueror@gmx.de>
1976 * javax/swing/JSpinner.java:
1978 (spinner): New field.
1979 (DefaultEditor): New method.
1980 (getSpinner): Likewise.
1981 (NumberEdito): Likewise.
1982 (getModel): Likewise
1984 2004-11-30 Michael Koch <konqueror@gmx.de>
1986 * javax/swing/InputVerifier.java:
1988 * javax/swing/JComponent.java
1989 (inputVerifier): New property field.
1990 (getInputVerifier): New method.
1991 (setInputVerifier): Likewise.
1993 2004-11-30 Michael Koch <konqueror@gmx.de>
1995 * javax/swing/JComponent.java
1996 (JComponent): Added javadoc comment.
1997 (setBorder): Fire property change eventr.
1998 (setEnabled): Likewise.
1999 (setMaximumSize): Likewise.
2000 (setMinimumSize): Likewise.
2001 (setPreferredSize): Likewise.
2002 (setOpaque): Likewise.
2004 2004-11-30 Michael Koch <konqueror@gmx.de>
2006 * javax/swing/JTextField.java
2007 (action): New field.
2008 (actionCommand): Likewise.
2009 (actionPropertyChangeListener): Likewise.
2010 (setHorizontalAlignment): Abort soon if new value == old value. Fire
2011 event before repainting.
2012 (postActionEvent): New method.
2013 (getAction): Likewise.
2014 (setAction): Likewise.
2015 (getActionCommand): Likewise.
2016 (setActionCommand): Likewise.
2017 (createActionPropertyChangeListener): Likewise.
2018 (configurePropertiesFromAction): Likewise.
2020 2004-11-30 Michael Koch <konqueror@gmx.de>
2022 * javax/swing/DebugGraphics.java:
2023 Re-formatted. Fixed some javadocs.
2024 * javax/swing/JApplet.java
2025 (rootPaneCheckingEnabled): Renamed from checking.
2026 * javax/swing/JCheckBox.java
2027 (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2028 * javax/swing/JFrame.java:
2029 Re-formatted a bit and reordered some methods.
2030 (rootPaneCheckingEnabled): Renamed from checking.
2031 (getPreferredSize): Simplified.
2032 * javax/swing/JTextArea.java
2033 (getColumnWidth): New method.
2034 (getLineCount): Likewise.
2035 (getLineStartOffset): Likewise.
2036 (getLineEndOffset): Likewise.
2037 (getLineOfOffset): Likewise.
2038 (getRowHeight): Likewise.
2040 (replaceRange): Likewise.
2041 * javax/swing/JTextField.java
2042 (scrollOffset): new field.
2043 (getScrollOffset): New method.
2044 (setScrollOffset): Likewise.
2045 (getColumnWidth): Likewise.
2046 * javax/swing/JTree.java
2047 (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2048 (CELL_EDITOR_PROPERTY): Likewise.
2049 (CELL_RENDERER_PROPERTY): Likewise.
2050 (EDITABLE_PROPERTY): Likewise.
2051 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2052 (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2053 (LARGE_MODEL_PROPERTY): Likewise.
2054 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2055 (ROOT_VISIBLE_PROPERTY): Likewise.
2056 (ROW_HEIGHT_PROPERTY): Likewise.
2057 (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2058 (SELECTION_MODEL_PROPERTY): Likewise.
2059 (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2060 (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2061 (TREE_MODEL_PROPERTY): Likewise.
2062 (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2063 (cellEditor): New field.
2064 (invokesStopCellEditing): Likewise.
2065 (largeModel): Likewise.
2066 (rowHeight): Likewise.
2067 (scrollsOnExpand): Likewise.
2068 (selectionModel): Likewise.
2069 (toggleClickCount): Likewise.
2070 (visibleRowCount): Likewise.
2071 (setShowsRootHandles): Fixed typo in method name.
2072 (getCellEditor): New method.
2073 (setCellEditor): Likewise.
2074 (getSelectionModel): Likewise.
2075 (setSelectionModel): Likewise.
2076 (getVisibleRowCount): Likewise.
2077 (setVisibleRowCount): Likewise.
2078 (isLargeModel): Likewise.
2079 (setLargeModel): Likewise.
2080 (getRowHeight): Likewise.
2081 (setRowHeight): Likewise.
2082 (getInvokesStopCellEditing): Likewise.
2083 (setInvokesStopCellEditing): Likewise.
2084 (getToggleClickCount): Likewise.
2085 (setToggleClickCount): Likewise.
2086 (getScrollsOnExpand): Likewise.
2087 (setScrollsOnExpand): Likewise.
2088 * javax/swing/table/DefaultTableColumnModel.java
2089 (addColumnModelListener): Fixed javadoc.
2090 (removeColumnModelListener): Implemented. Fixed javadoc.
2091 (getColumnModelListeners): New method.
2092 * javax/swing/table/JTableHeader.java
2093 (columnModel): Made protected.
2094 (draggedColumn): Likewise.
2095 (draggedDistance): Likewise.
2096 (reorderingAllowed): Likewise.
2097 (resizingAllowed): Likewise.
2098 (resizingColumn): Likewise.
2100 (updateTableInRealTime): Likewise.
2101 (createDefaultColumnModel): Renamed from
2102 createDefaultTableColumnModel.
2103 (setDefaultRenderer): New method.
2104 * javax/swing/table/TableColumn.java
2105 (getPropertyChangeListeners): New method.
2106 * javax/swing/text/DefaultHighlighter.java
2107 (drawsLayeredHighlights): New field.
2108 (getDrawsLayeredHighlights): New method.
2109 (setDrawsLayeredHighlights): Likewise.
2110 * javax/swing/text/DocumentFilter.java
2111 (FilterBypass): New inner class.
2112 (insertString): New method.
2114 (replace): Likewise.
2115 * javax/swing/text/JTextComponent.java
2116 (dragEnabled): New field.
2117 (getSelectedText): New method.
2118 (getDragEnabled): Likewise.
2119 (setDragEnabled): Likewise.
2120 (replaceSelection): Reimplemented.
2121 * javax/swing/text/NavigationFilter.java
2122 (FilterBypass): New inner class.
2123 (NavigationFilter): New method.
2124 (moveDot): Likewise.
2126 * javax/swing/text/SimpleAttributeSet.java
2127 (EMPTY): Made public final.
2129 2004-11-30 Michael Koch <konqueror@gmx.de>
2131 * javax/swing/SpinnerNumberModel.java
2132 (getMinimum): New method.
2133 (setMinimum): Likewise.
2134 (getMaximum): Likewise.
2135 (setMaximum): Likewise.
2136 (getStepSize): Likewise.
2137 (setStepSize): Likewise.
2139 2004-11-30 Michael Koch <konqueror@gmx.de>
2141 * javax/swing/JMenu.java
2142 (getMenuListeners): New method.
2143 (fireMenuSelected): Simplified.
2144 * javax/swing/JRootPane.java
2145 (NONE): New static field.
2147 (PLAIN_DIALOG): Likewise.
2148 (INFORMATION_DIALOG): Likewise.
2149 (ERROR_DIALOG): Likewise.
2150 (COLOR_CHOOSER_DIALOG): Likewise.
2151 (FILE_CHOOSER_DIALOG): Likewise.
2152 (QUESTION_DIALOG): Likewise.
2153 (WARNING_DIALOG): Likewise.
2154 (defaultButton): New field.
2155 (getDefaultButton): New method.
2156 (setDefaultButton): Likewise.
2157 * javax/swing/JScrollPane.java
2158 (getUI): New method.
2160 * javax/swing/JTable.java
2161 (getUI): Javadoc added.
2162 (setUI): New method.
2163 * javax/swing/JViewport.java
2164 (getUI): New method.
2166 * javax/swing/UIDefaults.java
2167 (removePropertyChangeListener): Made public.
2169 2004-11-30 Michael Koch <konqueror@gmx.de>
2171 * javax/swing/JApplet.java, javax/swing/JFrame.java:
2174 2004-11-30 Michael Koch <konqueror@gmx.de>
2176 * javax/swing/AbstractButton.java:
2177 Little re-formatting.
2178 (changeEvent): Made protected.
2179 (fireStateChanged): Removed argument.
2180 (setHorizontalAlignment): Abort method when old value is equal too new
2182 (setHorizontalTextPosition): Likewise.
2183 (setVerticalAlignment): Likewise.
2184 (setVerticalTextPosition): Likewise.
2185 (setBorderPainted): Likewise.
2186 (setIcon): Likewise.
2187 (setText): Likewise.
2188 (setIconTextGap): Likewise.
2189 (setMargin): Likewise.
2190 (setPressedIcon): Likewise.
2191 (setFocusPainted): Likewise.
2192 (setDisabledSelectedIcon): Likewise.
2193 (setRolloverIcon): Likewise.
2194 (setRolloverSelectedIcon): Likewise.
2195 (setSelectedIcon): Likewise.
2196 (setContentAreaFilled): Likewise.
2198 2004-11-30 Kim Ho <kho@redhat.com>
2200 * javax/swing/plaf/basic/BasicArrowButton.java:
2201 Jalopy. Reimplement.
2202 * javax/swing/plaf/basic/BasicScrollBarUI.java:
2204 (arrowIcon, upIcon, downIcon, leftIcon,
2205 rightIcon): Removed.
2206 (createIncreaseButton): Use BasicArrowButton.
2207 (createDecreaseButton): Ditto.
2208 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2209 (createRightOneTouchButton): Remove button border.
2210 (createLeftOneTouchButton): Ditto.
2212 2004-11-30 Michael Koch <konqueror@gmx.de>
2214 * javax/swing/JSpinner.java
2215 (setModel): New method.
2216 * javax/swing/SpringLayout.java
2217 (Constraints): May not be final.
2219 2004-11-30 Michael Koch <konqueror@gmx.de>
2221 * gnu/java/awt/peer/gtk/GtkClipboard.java,
2222 java/awt/datatransfer/Clipboard.java,
2223 java/awt/datatransfer/ClipboardOwner.java:
2224 Reformated to make it use our coding standard.
2226 2004-11-30 Michael Koch <konqueror@gmx.de>
2228 * javax/swing/SpinnerNumberModel.java
2229 (SpinnerNumberModel): Implements java.io.Serializable.
2230 (serialVersionUID): New field.
2231 (SpinnerNumberModel): Added missing @throws tags to javadocs.
2232 * javax/swing/UIManager.java
2234 (getBoolean): Likewise.
2235 (getBorder): Likewise.
2236 (getColor): Likewise.
2237 (getDimension): Likewise.
2238 (getFont): Likewise.
2239 (getIcon): Likewise.
2240 (getInsets): Likewise.
2242 (getString): Likewise.
2244 2004-11-30 Michael Koch <konqueror@gmx.de>
2246 * javax/swing/JPasswordField.java:
2247 Reformated. Implemented construtors.
2248 * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2249 (create): New method.
2250 * javax/swing/text/PlainView.java
2251 (selectedColor): Made package-private to allow access from sub-classes
2252 in same package too.
2253 (unselectedColor): Likewise.
2255 (drawSelectedText): Make protected.
2256 (drawUnselectedText): Likewise.
2257 * javax/swing/text/PasswordView.java: New file.
2258 * Makefile.am: Added javax/swing/text/PasswordView.java.
2259 * Makefile.in: Regenerated.
2261 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2263 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2265 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2267 (addHelpMenu): Elide call to nativeSetHelpMenu.
2268 * java/awt/Menu.java (isTearOff): Rename to tearOff.
2269 (menuSerializedDataVersion): Initialize to 1.
2270 (separatorLabel): Mark transient.
2271 (insert(MenuItem,int)): Implement.
2272 * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2274 (countMenus): Count help menu.
2275 * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2276 accessibleContext): Add fields.
2277 * java/awt/MenuItem.java: Remove event mask FIXME.
2278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2279 (gtkWidgetModifyFont): Only set font if label is non-NULL.
2280 (setLabel): Don't treat "-" specially.
2282 2004-11-30 Kim Ho <kho@redhat.com>
2284 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2285 (stateChanged): Only update the image and the track if
2286 the values are not being adjusted.
2287 (updateChooser): Grab the new mouse point from the
2288 spinner values. Update the image and track only if
2289 the values are not being adjusted.
2290 (getHSBValues): New method.
2291 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2292 (SliderHandler::stateChanged): Changed internalChange
2293 to updateChange. Set sliderChange.
2294 (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2295 (spinnerChange): New variable.
2296 (sliderChange): Ditto.
2297 (updateChange): Renamed from internalChange.
2298 (updateChooser): Do not update sliders if the sliders
2299 were the original source of the change. Ditto for spinners.
2300 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2301 (mousePress): Don't scroll the JViewport if there will
2302 be extra space at the end of the run. Change layout() to
2304 (calculateSize): Use the component's width/height unless
2305 it is smaller than the max tab width/height.
2306 (calculateTabRects): Subtract the tab run overlay.
2307 (rotateTabRuns): Don't rotate if there's only one run.
2308 (layoutContainer): Reuse the viewport point.
2309 (createLayoutManager): Set the viewport to use no layout.
2310 (paintTabArea): Don't paint the tabs that are not visible
2312 (paintContentBorderTopEdge): Check for scroll tab layout before
2314 (paintContentBorderLeftEdge): Ditto.
2315 (paintContentBorderBottomEdge): Ditto.
2316 (paintContentBorderRightEdge): Ditto.
2318 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2320 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2322 (gtkWidgetModifyFont): New method.
2323 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2324 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2325 (setMenuBarWidth): New method.
2326 (setBounds): Set the menu bar width.
2327 (postConfigureEvent): Set the menu bar width if the window's
2329 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2331 (setFont): New method.
2332 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2334 (setFont): Likewise.
2335 (GtkMenuComponentPeer): Call create and setFont.
2336 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2337 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2338 (connectSignals): Make package private.
2339 (gtkWidgetModifyFont): New method.
2341 (GtkMenuItemPeer): Don't call create.
2342 (setFont): New method.
2343 * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2345 * java/awt/Container.java (validateTree): Fix comment typos.
2346 * java/awt/MenuComponent.java (getFont): Return parent's font if
2348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2349 (create): Remove call to deprecated
2350 gtk_check_menu_item_set_show_toggle function.
2352 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
2354 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2355 (Almost everywhere): add LOG calls, fix, add comments.
2356 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2357 Add explicit check for LOCKED bit in slow case (PR 16662).
2358 (_Jv_MonitorExit): Add casts in debug-only code.
2359 Always release LOCKED bit before throwing exception.
2360 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2361 isn't. Handle easy cases without lock acquisition.
2362 (Object::wait): Use NotifyAll for lock inflation.
2364 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2366 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2367 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2368 (gtkFixedMove): Remove method.
2370 2004-11-30 Sven de Marothy <sven@physto.se>
2372 * java/awt/geom/Area.java: Implemented.
2374 2004-11-30 Mark Wielaard <mark@klomp.org>
2376 * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2378 2004-11-30 Sven de Marothy <sven@physto.se>
2380 * java/awt/geom/Arc2D.java
2382 (setArc): Correct documentation to say 'upper left corner'.
2383 (setArcByTangent,contains,intersects): Implemented.
2384 (containsAngle): Corrected to handle negative extents.
2385 (ArcIterator): Set to private.
2386 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2387 * java/awt/geom/Ellipse2D.java
2389 (contains,intersects): Implemented.
2390 * java/awt/geom/Line2D.java
2391 (linesIntersect): Correct handling of special cases.
2393 2004-11-30 Mark Wielaard <mark@klomp.org>
2395 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2396 Color.BLACK if c == null, don't create new Color object each time.
2397 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2399 (setColor): Use Color.BLACK when argument null.
2400 (setComposite): Set this.comp field.
2401 (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2402 (DrawState.comp): New private field.
2403 (DrawState.save): Save Composite.
2404 (DrawState.restore): Restore comp field.
2405 * java/awt/FontMetrics.java (gRC): New static final private field.
2406 (getLineMetrics(String, Graphics)): New method.
2407 (getLineMetrics(String, int, int, Graphics)): Likewise.
2408 (getLineMetrics(char[], int, int, Graphics)): Likewise.
2409 (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2410 * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2411 argument. PR SWING/17294.
2412 * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2413 the fall-back code since none of the TextArea methods are really
2414 implemented now. PR SWING/17296.
2415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2416 (GdkGlyphVector_setChars): Replace assert() with if block when
2417 pango_itemize() returns null. PR AWT/17295.
2418 (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2420 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2422 * Makefile.am (gtk_c_source_files): Add
2423 gnu_java_awt_peer_gtk_GtkFramePeer.c.
2424 * Makefile.in: Regenerate.
2425 * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2427 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2428 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2429 (create): Pack GtkButton in GtkEventBox.
2430 (connectJObject): Remove.
2431 (focus_in_cb): New function.
2432 (focus_out_cb): Likewise.
2433 (connectSignals): Connect focus-in-event and focus-out-event
2435 (gtkSetFont): Rename to ...
2436 (gtkWidgetModifyFont): New method.
2437 (gtkWidgetRequestFocus): New method.
2438 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2439 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2440 (gtkSetFont): Rename to ...
2441 (gtkWidgetModifyFont): New method.
2442 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2443 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2444 (isInRepaint): New field.
2445 (gtkSetFont): Remove method.
2446 (addExposeFilter): Likewise.
2447 (removeExposeFilter): Likewise.
2448 (gtkWidgetQueueDrawArea): Rename to ...
2449 (gtkWidgetRepaintArea): New method.
2450 (beginNativeRepaint): New method.
2451 (endNativeRepaint): New method.
2452 (setComponentBounds): Move implementation here from
2454 (paint): Remove implementation.
2455 (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2456 beginNativeRepaint and endNativeRepaint.
2457 (setBounds): Use menu bar height in bounds calculation.
2458 (postExposeEvent): Only post paint event if we're not doing a
2460 (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2461 (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2462 (find_gtk_layout): Remove function.
2463 (filter_expose_event_handler): Likewise.
2464 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2466 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2467 (setComponentBounds): Call GtkComponentPeer's
2469 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2471 (moveLayout): Rename to ...
2472 (gtkFixedMove): New method.
2473 (gtkLayoutSetVisible): Rename to ...
2474 (gtkFixedSetVisible): New method.
2475 (setMenuBar): Rearrange, to make the three separate cases
2477 (postExposeEvent): Only post paint event if we're not doing a
2479 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2480 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2481 (gtkWidgetModifyFont): New method.
2482 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2483 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2484 Call run directly, rather than spawning a new thread.
2485 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2487 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2488 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2490 (gtkWidgetModifyFont): New method.
2491 (create): Rename ebox to eventbox.
2492 * gnu/java/awt/peer/gtk/GtkListPeer.java,
2493 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2495 (gtkWidgetModifyFont): New method.
2496 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2497 (GtkMenuComponentPeer): Set the default font.
2498 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2499 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2500 (gtkSetFont): Rename to ...
2501 (gtkWidgetModifyFont): New method.
2502 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2503 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2504 * java/awt/Component.java (locale): Initialize to default
2506 * java/awt/Container.java (invalidateTree): Make
2508 (paint): Paint self first.
2509 (setMenuBar): Call invalidateTree.
2510 * java/awt/Panel.java (dispatchEventImpl): Remove method.
2511 * java/awt/Window.java (show): Call no-parameter variant of
2512 requestFocusInWindow.
2513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2514 Remove special case for window widget.
2515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2516 (grab_current_drawable): Likewise.
2517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2518 (create): Replace GtkLayout with GtkFixed.
2519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2520 (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2522 Move all GtkFramePeer native method implementations here from
2523 gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2525 Replace GtkLayout with GtkFixed.
2526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2527 (find_layout): Remove function.
2528 (create): Replace GtkLayout with GtkFixed.
2529 (connectSignals): Remove find_layout call.
2530 (toBack): Replace XFlush with gdk_flush.
2531 (toFront): Replace XFlush with gdk_flush.
2532 Move GtkFramePeer native method implementations to
2533 gnu_java_awt_peer_gtk_GtkFramePeer.c.
2534 * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2536 2004-11-30 Michael Koch <konqueror@gmx.de>
2538 * javax/swing/JTextArea.java
2539 (lineWrap): Renamed from "wrapping".
2540 (wrapStyleWord): NEw field.
2541 (getLineWrap): Re-edited javadoc comment.
2542 (setLineWrap): Likewise.
2543 (getWrapStyleWord): New method.
2544 (setWrapStyleWord): Likewise.
2546 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
2548 * configure: Regenerate for libtool change.
2550 2004-11-29 Tom Tromey <tromey@redhat.com>
2552 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2553 Recognize --help and --version.
2554 (usage): Mention gcj-dbtool. Added "out" argument.
2557 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
2559 * link.cc (link_symbol_table): Do not use intptr_t.
2561 2004-11-28 Mark Wielaard <mark@klomp.org>
2563 * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2564 XMLDecoder tests which currently don't compile.
2566 2004-11-27 Andrew Haley <aph@redhat.com>
2568 * link.cc (ensure_class_linked): Conditionally compile
2569 _Jv_IsInterpretedClass on INTERPRETER.
2570 (print_class_loaded): Likewise.
2571 (wait_for_state): Likewise.
2572 * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2573 * include/java-interp.h (ROUND): Remove.
2575 2004-11-25 Tom Tromey <tromey@redhat.com>
2577 * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2578 * java/lang/Class.h (_Jv_Linker): Declare.
2579 (Class): Fix names of friends.
2580 (_Jv_getInterfaceMethod): Declare.
2582 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2584 * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2585 variable libjava_ld_library_path.
2586 (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2588 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
2590 * java/util/ResourceBundle.java (BundleKey): Don't implement
2592 (BundleKey.clone): Removed.
2593 (getBundle): Copy BundleKey using constructor, not clone().
2595 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
2597 * configure: Regenerate for libtool reversion.
2599 2004-11-25 Michael Koch <konqueror@gmx.de>
2601 * Makefile.am: Added most of javax.print again.
2602 * Makefile.in: Regenerated.
2604 2004-11-25 Michael Koch <konqueror@gmx.de>
2606 * Makefile.am: Added most of javax.print again.
2607 * Makefile.in: Regenerated.
2609 2004-11-24 Tom Tromey <tromey@redhat.com>
2611 * Merged gcj-abi-2-dev-branch to trunk.
2613 2004-11-16 Tom Tromey <tromey@redhat.com>
2615 * include/java-interp.h (_Jv_DefineClass): Updated.
2616 * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2617 domain to class reader.
2618 * defineclass.cc (parse): Use print_class_loaded.
2619 Include ProtectionDomain.h.
2620 (_Jv_DefineClass): Added ProtectionDomain argument.
2621 (_Jv_ClassReader): Likewise.
2622 * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2623 * link.cc: Include CodeSource.h.
2624 (print_class_loaded): New function.
2625 (wait_for_state): Use it.
2627 2004-11-16 Andrew Haley <aph@redhat.com>
2629 * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2631 2004-11-16 Andrew Haley <aph@redhat.com>
2633 * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2634 * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2635 * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2636 * configure: Regenerate.
2637 * Makefile.in: Regenerate.
2639 2004-11-15 Andrew Haley <aph@redhat.com>
2641 * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2642 gc-allocated object.
2644 2004-11-15 Andrew Haley <aph@redhat.com>
2646 * java/net/URLClassLoader.java
2647 (URLLoader.getClassPath): New method.
2648 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2649 attribute and add URLs for each entry.
2650 (JarURLLoader.classPath): New field.
2651 (JarURLLoader.getClassPath): New method.
2652 (addURLImpl): Scan through the list of extraUrls in the new
2653 loader, adding them to our urlinfos.
2654 (definePackage, findURLResource, findResources): Use
2655 urlinfos.size(), not urls.size().
2657 2004-11-11 Tom Tromey <tromey@redhat.com>
2659 * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2661 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2663 (ensureSupersLinked): Declare.
2664 * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2667 2004-11-10 Tom Tromey <tromey@redhat.com>
2669 * gij.cc (main): Treat -verbose the same as -verbose:class.
2670 (help): Document -verbose and -verbose:class.
2672 * link.cc (verbose_class_flag): Declare.
2673 (wait_for_state): Print message when handling precompiled class.
2674 * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2676 2004-11-09 Tom Tromey <tromey@redhat.com>
2678 * testsuite/libjava.lang/assign2.out: New file.
2679 * testsuite/libjava.lang/assign2.java: New file.
2681 * java/lang/natRuntime.cc (insertSystemProperties): Set
2682 java.version to 1.4.2 and java.specification.version to 1.4. Set
2683 java.runtime.version.
2685 2004-11-08 Tom Tromey <tromey@redhat.com>
2687 * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2689 * link.cc (verify_type_assertions): Don't link supers.
2691 * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2692 * include/java-interp.h (class _Jv_InterpClass)
2693 <_Jv_PrepareMissingMethods>: No longer `friend'.
2694 * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2696 (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2697 _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2698 _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2699 _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2700 _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2701 * link.cc (search_method_in_class): Renamed from
2702 _Jv_SearchMethodInClass.
2703 (resolve_pool_entry): Updated.
2705 * include/jvm.h (_Jv_CheckAssignment): Removed.
2706 * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2708 2004-11-05 Tom Tromey <tromey@redhat.com>
2710 * link.cc (verify_type_assertions): Ensure classes have supers
2711 linked. Strip off array types first.
2713 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
2715 * link.cc: Include VerifyError.h.
2716 (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2717 in the type assertion table.
2718 * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2719 verify_type_assertions.
2720 * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2721 * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
2722 JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2723 assertion code values.
2724 (struct _Jv_TypeAssertion): Declare.
2725 (assertion_table): New class field.
2726 (verify): Remove class field.
2728 2004-11-05 Andrew Haley <aph@redhat.com>
2730 * Makefile.am: Move jv_dbtool.java to
2731 gnu/gcj/tools/gcj_dbtool/Main.java.
2732 * Makefile.in: Rebuild.
2733 * java/lang/VMCompiler.java: Rename property
2734 "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2735 * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2738 2004-11-05 Andrew Haley <aph@redhat.com>
2740 * jv_dbtool.java (main): Allow the user to specify the size of the
2741 database. Display the capacity and the size.
2742 (usage): Show the new option.
2744 2004-11-04 Tom Tromey <tromey@redhat.com>
2746 * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2747 * link.cc (make_vtable): Use correct index when searching for
2748 missing method's name. Don't use `flags'.
2749 (set_vtable_entries): Removed `flags' argument. Don't recurse
2751 (link_symbol_table): Ensure target class method table is
2752 complete. Ensure target fields are laid out before entering
2755 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2758 * interpret.cc (do_verify): Don't verify abstract methods.
2760 2004-11-01 Tom Tromey <tromey@redhat.com>
2762 * link.cc (wait_for_state): Call verify_class.
2764 * verify.cc (state::check_no_uninitialized_objects): Removed.
2765 (push_jump): Updated.
2766 (push_exception_jump): Likewise.
2767 (handle_ret_insn): Likewise.
2768 (handle_jsr_insn): Likewise.
2770 2004-10-28 Andrew Haley <aph@redhat.com>
2772 * gnu/gcj/runtime/PersistentByteMap.java: New file.
2773 * jv_dbtool.java: New file.
2774 * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2775 (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2776 (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
2777 * Makefile.in: Regenerate,
2778 * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
2779 Enumeration, StringTokenizer, Vector, PersistentByteMap.
2780 (precompiledMapFiles): New variable.
2781 (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
2782 initialize precompiledMapFiles.
2783 (compileClass): Look at the database of precompiled class files
2784 before firing up gcj.
2786 * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
2788 2004-10-27 Andrew Haley <aph@redhat.com>
2790 * java/lang/VMCompiler.java (compileClass): try looking for
2791 precompiledMapFiles.
2792 * gnu/gcj/runtime/PersistentByteMap.java: New file.
2794 2004-10-27 Tom Tromey <tromey@redhat.com>
2796 * link.cc (ensure_class_linked): Only resolve classes for
2798 (add_miranda_methods): Ensure interface supers are installed.
2799 (resolve_pool_entry): Better error message.
2801 2004-10-25 Tom Tromey <tromey@redhat.com>
2803 * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
2805 * java/util/ResourceBundle.java (tryBundle): Use
2806 Class.isAssignableFrom rather than catching ClassCastException.
2808 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
2809 exception if we hit EOF of `in'.
2810 (read): Handle case where inflating returns -1.
2812 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
2814 * gnu/java/text/SentenceBreakIterator.java
2815 (SentenceBreakIterator): Don't initialize `iter'.
2816 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
2818 * gnu/java/text/CharacterBreakIterator.java
2819 (CharacterBreakIterator): Don't initialize `iter'.
2820 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
2822 * java/text/BreakIterator.java: Updated documentation.
2824 2004-10-20 Tom Tromey <tromey@redhat.com>
2826 * java/util/ResourceBundle.java (tryBundle): Also ignore
2829 2004-10-18 Tom Tromey <tromey@redhat.com>
2831 * interpret.cc (do_post_miranda_hook): New method.
2832 * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
2834 (_Jv_CompiledEngine::do_post_miranda_hook): New method.
2835 (_Jv_CompiledEngine): Initialize new field.
2836 (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
2837 (_Jv_InterpreterEngine): Initialize new field.
2838 * link.cc (resolve_pool_entry): Put Miranda methods in target
2840 (ensure_method_table_complete): Call post_miranda_hook.
2841 * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
2843 * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
2844 (parse): Set class' aux_info here.
2846 * boehm.cc (_Jv_MarkObj): Mark `throws'.
2848 * boehm.cc: Re-merged with trunk.
2850 2004-10-18 Andrew Haley <aph@redhat.com>
2853 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2854 and correct logic used to find interpreter.
2856 2004-10-13 Andrew Haley <aph@redhat.com>
2858 * interpret.cc (_Jv_InterpMethod::run): Initialize
2859 _Jv_StartOfInterpreter.
2860 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2861 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2862 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2863 _Unwind_FindEnclosingFunction to discover whether PC is within the
2866 2004-10-13 Tom Tromey <tromey@redhat.com>
2868 * link.cc (find_iindex): Copy correct number of slots to new
2871 2004-10-12 Tom Tromey <tromey@redhat.com>
2873 * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
2875 (gcj_loader_test_one): Use it.
2876 (gcj_loader_run): Likewise.
2878 * prims.cc: Don't include FirstThread.h.
2880 2004-10-06 Tom Tromey <tromey@redhat.com>
2882 * link.cc (ensure_method_table_complete): Ensure superclass
2883 Miranda methods installed.
2885 * include/java-interp.h (class _Jv_JNIMethod): Added
2886 JV_MARKOBJ_DECL as a friend.
2887 * interpret.cc (ncode): Allocate jni_arg_types field with GC.
2888 * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
2889 interpreter method structures. Mark jni_arg_types of JNI
2892 * defineclass.cc (parse): Use JV_STATE_READ.
2893 * java/lang/Class.h (JV_STATE_READ): New enum value.
2895 2004-10-05 Tom Tromey <tromey@redhat.com>
2897 * link.cc (resolve_pool_entry): Add signature info to missing
2898 method's information.
2900 * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
2901 * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
2903 2004-10-04 Tom Tromey <tromey@redhat.com>
2905 * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
2908 2004-09-29 Tom Tromey <tromey@redhat.com>
2910 * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
2912 * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
2913 * jni.cc: Use _Jv_Linker.
2914 * interpret.cc: Use _Jv_Linker.
2915 * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
2916 * java/lang/natClassLoader.cc: Use _Jv_Linker.
2917 * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
2918 * java/lang/Class.h: Use _Jv_Linker.
2919 * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
2920 * resolve.cc: Renamed ...
2921 * link.cc: ... here. Use _Jv_Linker.
2922 * defineclass.cc (checkExtends): Use _Jv_Linker.
2924 2004-09-17 Tom Tromey <tromey@redhat.com>
2926 * defineclass.cc (handleCodeAttribute): Don't reference
2928 (handleMethodsEnd): Likewise.
2929 * include/java-interp.h (_Jv_MethodBase::deferred): Removed
2931 (_Jv_Defer_Resolution): Don't declare or define.
2932 * interpret.cc (do_create_ncode): Don't resolve deferred method
2934 * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
2935 * resolve.cc (link_symbol_table): No need to defer resolution.
2937 2004-09-14 Tom Tromey <tromey@redhat.com>
2939 * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
2940 (_Jv_MarkObj): Updated.
2941 (_Jv_MarkArray): Likewise.
2943 * include/jvm.h (StringClass): Removed.
2944 * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
2945 * interpret.cc (_Jv_InitField): Don't use StringClass.
2946 * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
2950 (_Jv_FinalizeString): Likewise.
2951 (_Jv_NewStringUtf8Const): Likewise.
2953 * prims.cc (JvConvertArgv): Don't use StringClass.
2955 * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
2956 * resolve.cc (ensure_fields_laid_out): Don't mention
2958 * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
2959 * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
2961 * java/lang/reflect/natField.cc (getType): Use resolve_field.
2962 * java/lang/natVMClassLoader.cc (resolveClass): New native
2964 (linkClass0): Removed.
2965 (markClassErrorState0): Likewise.
2966 * java/lang/natClassLoader.cc: Include execution.h. Moved class
2967 preparation code to resolve.cc.
2968 (_Jv_RegisterClassHookDefault): Set class's execution engine if
2970 (_Jv_FindClass): Use wait_for_state.
2971 (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
2972 * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
2973 Moved interface table and class preparation code to resolve.cc.
2974 (finalize): Rewrote.
2975 (initializeClass): Simplified locking and class preparation.
2976 * java/lang/VMClassLoader.java (linkClass0): Removed.
2977 (markClassErrorState0): Likewise.
2978 (resolveClass): Now native.
2979 (transformException): New method.
2980 * java/lang/Class.h (getSuperclass): Don't try to resolve super
2982 (getInterface): Likewise.
2984 (set_state): New method.
2985 (Class): Updated friend declarations.
2986 (verify): Field now private.
2987 (engine): New field.
2988 * include/jvm.h (class _Jv_Resolver): New class declaration.
2989 (_Jv_ResolveField): Removed declaration.
2990 (_Jv_CheckAccessNoInit): Likewise.
2991 (_Jv_isBinaryCompatible): Removed.
2992 * include/java-interp.h (class _Jv_MethodBase): Updated friend
2994 (class _Jv_InterpMethod): Likewise.
2995 (class _Jv_InterpClass): Likewise.
2996 (class _Jv_JNIMethod): Likewise.
2997 * include/execution.h: New file.
2998 * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
2999 (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
3000 Register class after setting fields.
3001 * resolve.cc: Include execution.h, VerifyError.h. Moved
3002 interpreter-specific code to interpret.cc.
3003 (uaddr): New location.
3004 (struct aligner): Likewise.
3005 (ALIGNOF): Likewise.
3006 (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
3007 (INITIAL_IFACES_LEN): Likewise.
3008 (null_idt): Likewise.
3009 (_Jv_GetMethodString): Likewise.
3010 (_Jv_ThrowNoSuchMethodError): Likewise.
3011 (_Jv_abstractMethodError): Likewise.
3012 (_Jv_Resolver::get_alignment_from_class): Renamed.
3013 (_Jv_Resolver::resolve_field): Likewise.
3014 (_Jv_Resolver::resolve_pool_entry): Likewise.
3015 (_Jv_Resolver::resolve_class_ref): Likewise.
3016 (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3017 (_Jv_Resolver::indexof): Likewise.
3018 (_Jv_Resolver::get_interfaces): Likewise.
3019 (_Jv_Resolver::generate_itable): Likewise.
3020 (_Jv_Resolver::append_partial_itable): Likewise.
3021 (_Jv_Resolver::find_iindex): Likewise.
3022 (_Jv_Resolver::link_symbol_table): Likewise.
3023 (_Jv_Resolver::link_exception_table): Likewise.
3024 (_Jv_Resolver::layout_interface_methods): Likewise.
3025 (_Jv_Resolver::layout_vtable_methods): Likewise.
3026 (_Jv_Resolver::set_vtable_entries): Likewise.
3027 (_Jv_Resolver::make_vtable): Likewise.
3028 (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3029 (_Jv_Resolver::ensure_class_linked): Likewise.
3030 (_Jv_Resolver::ensure_supers_installed): Likewise.
3031 (_Jv_Resolver::add_miranda_methods): Likewise.
3032 (_Jv_Resolver::ensure_method_table_complete): Likewise.
3033 (_Jv_Resolver::verify_class): Likewise.
3034 (_Jv_Resolver::wait_for_state): Likewise.
3035 * prims.cc (_Jv_soleCompiledEngine): New global.
3036 (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3037 (_Jv_CheckAccessNoInit): Removed.
3038 * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3039 * interpret.cc: Include platform.h, ClassFormatError.h,
3040 Modifier.h, execution.h.
3041 (_Jv_soleInterpreterEngine): New global.
3042 (compile): Use resolve_pool_entry.
3044 (_Jv_InitField): New location.
3045 (skip_one_type): Likewise.
3046 (get_ffi_type_from_signature): Likewise.
3047 (_Jv_count_arguments): Likewise.
3048 (init_cif): Likewise.
3049 (ncode_closure): Likewise.
3050 (ffi_closure_fun): Likewise.
3052 (throw_class_format_error): Likewise.
3053 (throw_class_format_error): Likewise.
3054 (_Jv_InterpreterEngine::do_verify): New method.
3055 (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3056 (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3057 (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3058 * defineclass.cc: Include execution.h.
3059 (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3061 (checkExtends): Ensure superclass has supers installed.
3062 (_Jv_ClassNameSamePackage): Clarify usage constraints.
3063 * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3064 (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
3067 2004-09-13 Tom Tromey <tromey@redhat.com>
3069 * mauve-libgcj: List some classes we don't have.
3071 2004-09-10 Andrew Haley <aph@redhat.com>
3073 * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3074 * java/lang/natClass.cc (initializeClass): Check itable.
3075 (_Jv_getInterfaceMethod): New.
3076 (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3077 Check that an interface method isn't called with invokevirtual.
3079 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3080 super_meth is virtual.
3082 2004-09-01 Tom Tromey <tromey@redhat.com>
3084 * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3085 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3086 _Jv_CheckAccessNoInit.
3087 * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3088 * prims.cc (_Jv_CheckAccessNoInit): New method.
3090 * java/lang/reflect/natMethod.cc (invoke): Check access against
3091 declaring class, not object's class.
3092 * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3094 (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3096 * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3099 2004-08-30 Andrew Haley <aph@redhat.com>
3101 * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3102 ClassNotFoundException.
3103 Throw NoClassDefFoundError.
3105 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3106 to klass->verify() from here ...
3107 (_Jv_PrepareCompiledClass): ...and put it here.
3109 2004-08-27 Andrew Haley <aph@redhat.com>
3111 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3113 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3114 (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3116 2004-08-27 Tom Tromey <tromey@redhat.com>
3118 * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3120 * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3121 (_Jv_IsAssignableFromSlow): New function.
3122 Include VerifyError.h.
3123 * include/jvm.h (_Jv_CheckAssignment): Declare.
3125 2004-08-18 Andrew Haley <aph@redhat.com>
3127 * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3128 argument. Pass it to findClass instead of fileName.
3129 (compileClass): Pass class name to loadSharedLibrary.
3131 2004-06-22 Andrew Haley <aph@redhat.com>
3133 * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3135 2004-06-15 Andrew Haley <aph@redhat.com>
3137 * java/lang/natSystem.cc (getenv0): Don't assume environment
3138 variable is Latin 1 coded.
3140 2004-06-07 Andrew Haley <aph@redhat.com>
3142 * java/lang/System.java: (getenv0): New method.
3143 (getenv): Add security check. Do the right thing.
3144 * java/lang/natSystem.cc (getenv0): New method.
3146 2004-04-19 Andrew Haley <aph@redhat.com>
3148 * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3151 * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3152 is returned as an int in the range 0 to 255.
3154 2004-08-13 Tom Tromey <tromey@redhat.com>
3156 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3157 class if it is interpreted.
3159 2004-08-12 Tom Tromey <tromey@redhat.com>
3161 * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3162 * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3163 (Class::getSuperclass): Updated.
3164 (Class::getInterfaces): Likewise.
3165 (Class::size): Updated.
3166 (_Jv_LayoutClass): Updated declaration.
3167 * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3168 Synchronize on class.
3169 (_Jv_LayoutClass): Changed interface.
3170 (initializeClass): Updated.
3171 (_Jv_LinkSymbolTable): Likewise.
3173 * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3175 * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3176 _Jv_isBinaryCompatible.
3177 * java/lang/natClass.cc (initializeClass): Use
3178 _Jv_isBinaryCompatible.
3179 (_Jv_LinkSymbolTable): Likewise.
3180 * include/jvm.h (_Jv_isBinaryCompatible): New function.
3182 2004-08-11 Tom Tromey <tromey@redhat.com>
3184 * gcj/javaprims.h: Regenerated.
3185 * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3186 (_registerClass): Likewise.
3187 * Makefile.in: Rebuilt.
3188 * Makefile.am (core_java_source_files): Added VMCompiler.
3189 * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3190 * java/lang/VMCompiler.java: New file.
3191 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3193 (copyFile): Don't use fully-qualified name.
3195 * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3196 (defineClass): Use VMCompiler.
3197 * java/lang/ClassLoader.java (defineClass): Removed jit
3198 compilation code and `verbose' code.
3199 (getClassLoader0): Removed.
3200 (_registerClass): Likewise.
3201 (SharedLibHelpers): Removed.
3203 2004-08-10 Tom Tromey <tromey@redhat.com>
3205 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3206 URL)): New constructor.
3207 (SoURLLoader): Likewise.
3208 (JarURLLoader): Create SoURLLoader with override URL.
3210 2004-08-10 Mark Wielaard <mark@klomp.org>
3212 * Makefile.in: Rebuilt.
3213 * Makefile.am (interpret.lo): New rule.
3215 2004-08-05 Andrew Haley <aph@redhat.com>
3217 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3218 aside for "GCJLIBS" in directory where jarfiles are loaded.
3219 (JarURLLoader.getClass): New method.
3220 (JarURLLoader.toString): New method.
3221 (FileResource.toString): New method.
3222 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3223 Remove "Duplicate class registration: " bug.
3224 (_registerClass): New method.
3225 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3226 (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3228 (_Jv_LayoutClass): Use getSuperclass() rather than directly
3229 accessing the field.
3230 * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3231 (defineClass): Call gcj to JIT-compile a class.
3232 (_registerClass): New method.
3233 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3234 library name can refer to more than one loaded library, so use a
3235 Set of SharedLibHelpers.
3236 If a shared library is already loaded, take a copy.
3237 (copyFile): New function.
3239 * testsuite/libjava.compile/compile.exp: Force
3240 -findirect-dispatch.
3242 * java/security/BasicPermission.java: Remove bogus checks.
3244 * java/lang/System.java (getenv0): New method.
3245 * java/lang/natSystem.cc (getenv0): New method.
3247 2004-05-24 Andrew Haley <aph@redhat.com>
3249 * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3251 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
3253 * Merged with HEAD as of 20040514. Diff against
3254 gcj-abi-2-merge-20040514.
3256 2004-04-16 Andrew Haley <aph@redhat.com>
3258 * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3260 (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3261 (_Jv_PrepareCompiledClass): If we throw an exception during
3262 preparation, restore state.
3263 (ClassLoader::getClassLoader0): New method.
3265 * java/lang/natClass.cc (get_alignment_from_class): Moved here
3267 (ALIGNOF): Use offsetof, not __alignof__.
3268 (_Jv_ResolveClassRef): Resolve a reference to a class in a
3270 (getInterfaces): Emit debug output if interface hasn't been
3272 (initializeClass): Call _Jv_LayoutClass.
3273 (_Jv_LinkSymbolTable): Add debugging output.
3274 (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3276 (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3277 (_Jv_LinkSymbolTable): Pass the real class loader to
3279 (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3281 (_Jv_LinkSymbolTable): Assert if we find a static field reference
3282 to an interpreted class.
3283 (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3285 (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3288 * java/lang/VMSecurityManager.java: Check for the system class
3289 loader as well as loader != null.
3291 * java/lang/SecurityManager.java (checkPermission): Remove
3293 (checkRead): Likewise.
3294 (checkConnect): Likewise.
3296 * java/lang/ClassLoader.java (loadClass): Include all class
3297 loaders in stack trace string.
3298 Look for class in "gcjlib.so" in the same directory.
3299 (getSystemClassLoader) Use getClassLoader0.
3300 (getClassLoader0): New native method.
3302 * java/lang/Class.h (getSuperclass): New method.
3303 (getInterface): New method.
3304 (size): Lay out class if needed.
3305 (firstMethodIndex): New method.
3306 (Jv_ResolveClassRef): New declaration.
3307 (_Jv_LinkSymbolTable): New declaration.
3309 * java/io/ObjectOutputStream.java: Add DEBUG statements
3311 (dumpElementln): New method.
3313 * java/io/ObjectInputStream.java (MyIOException): new, for
3315 Everywhere: use MyIOException rather than IOException.
3316 Indent debugging output to make nesting visible.
3317 (currentClassLoader): Make native
3318 (callersClassLoader): New field.
3320 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3323 (readObject): ENDBLOCKDATA is generated if the class has a write
3324 method, not if it has a read method.
3326 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3328 * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3329 getContextClassLoader form the current thread after our own class
3332 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3334 (toString): New method.
3336 * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3339 * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3340 a constant pool entry, resolve it now.
3341 (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3343 Move get_alignment_from_class to natClass.cc.
3345 * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3346 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3348 * defineclass.cc (checkExtends): Don't access superclass field
3351 * Makefile.in: regenerate.
3353 * gnu/gcj/util/natDebug.cc: New
3354 * gnu/gcj/util/Debug.java: New.
3356 * Makefile.am (java/io/ObjectInputStream.lo): Use
3357 -fno-optimize-sibling-calls.
3359 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3360 _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3362 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3364 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
3366 * configure: Regenerate for libtool change.
3368 2004-11-24 Michael Koch <konqueror@gmx.de>
3370 * gnu/java/security/PolicyFile.java: New file.
3371 * Makefile.am: Added gnu/java/security/PolicyFile.java.
3372 * Makefile.in: Regenerated.
3374 2004-11-24 Michael Koch <konqueror@gmx.de>
3376 * java/lang/Character.java, scripts/unicode-blocks.pl:
3377 Reorder "final static" to "static final".
3379 2004-11-24 Michael Koch <konqueror@gmx.de>
3381 * java/util/ResourceBundle.java: Reformatted.
3382 (tryBundle): Fixed javadoc.
3384 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
3386 * java/text/MessageFormat.java
3387 (formatInternal): Made private.
3389 2004-11-24 Michael Koch <konqueror@gmx.de>
3391 * java/nio/DirectByteBufferImpl.java
3392 (ReadWrite.ReadWrite): New constructor.
3393 (DirectByteBufferImpl): Likewise.
3394 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3395 Use DirectByteBufferImpl.ReadWrite.
3397 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3398 * Makefile.in: Rgenerated.
3400 2004-11-24 Jeroen Frijters <address@bogus.example.com>
3402 * java/nio/DirectByteBufferImpl.java
3403 (ReadOnly): New inner subclass.
3404 (ReadWrite): New inner subclass.
3405 (owner): Made final and private.
3406 (address): Made final.
3407 (DirectByteBufferImpl(int)): New constructor.
3408 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3409 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3410 (allocate): Modified to instantiate ReadWrite subclass.
3411 (finalize): Fixed to only free the buffer, if we own it.
3412 (put): Removed read-only check.
3413 (slice, duplicate): Modified to instantiate appropriate subclass.
3414 (isReadOnly): Removed.
3415 * java/nio/MappedByteBufferImpl.java
3416 (slice, duplicate): Modified to instantiate appropriate
3417 DirectByteBufferImpl subclass.
3419 2004-11-24 Michael Koch <konqueror@gmx.de>
3421 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3422 * java/nio/DirectByteBufferImpl.java:
3423 Moved native methods to java.nio.VMDirectByteBuffer class.
3424 * java/nio/MappedByteBufferImpl.java:
3425 Use native methods from java.nio.VMDirectByteBuffer class.
3426 * java/nio/VMDirectByteBuffer.java: New file,
3427 * java/nio/natDirectByteBufferImpl.cc:
3428 Moved all methods into java.nio.VMDirectByteBuffer class.
3429 * java/nio/channels/spi/AbstractSelectableChannel.java
3430 (register): Only re-use valid keys.
3431 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3432 * Makefile.in: Regenerated.
3434 2004-11-24 Michael Koch <konqueror@gmx.de>
3436 * java/nio/DirectByteBufferImpl.java,
3437 java/nio/MappedByteBufferImpl.java:
3440 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3442 * testsuite/lib/libjava.exp,
3443 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3445 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
3447 * configure.host: Enable the interpreter for mips*-*-linux*.
3449 2004-11-23 Michael Koch <konqueror@gmx.de>
3451 * java/lang/String.java (rehash): Removed.
3452 * java/lang/natString.cc (rehash): Made static.
3453 (_Jv_NewStringUtf8Const): Use static rehash method.
3455 2004-11-23 Michael Koch <konqueror@gmx.de>
3457 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3458 include/Makefile.in, testsuite/Makefile.in: Regenerated.
3460 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
3463 * configure.ac (threading): Accept 'posix95'.
3464 * configure: Regenerate.
3466 2004-11-22 Michael Koch <konqueror@gmx.de>
3468 * gnu/java/nio/SocketChannelImpl.java
3469 (read): Made check for blocking un-ambiguous.
3470 Removed wrong check for data array length.
3472 2004-11-21 Michael Koch <konqueror@gmx.de>
3474 * gnu/java/nio/SocketChannelImpl.java
3475 (read): Only return 0 when no bytes for reading available in
3477 * java/nio/channels/SocketChannel.java:
3478 Added some missing @return tags.
3480 2004-11-21 Michael Koch <konqueror@gmx.de>
3482 * java/beans/PropertyChangeSupport.java
3483 (propertyChangeSupportSerializedDataVersion): Made static.
3484 * java/beans/VetoableChangeSupport.java
3485 (propertyChangeSupportSerializedDataVersion): Likewise.
3487 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
3489 * java/net/URLStreamHandler.java
3490 (parseURL): Fixed file path canonicalisation.
3492 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
3494 * java/net/URLStreamHandler.java
3495 (parseURL): Fixed file path canonicalisation.
3497 2004-11-18 Michael Koch <konqueror@gmx.de>
3499 * java/net/URLClassLoader.java: Whitespace cleanup.
3501 2004-11-18 Robert Schuster <address@bogus.example.com>
3503 Complete 1.4 support
3504 * java/beans/PropertyDescriptor.java:
3505 (setReadMethod): New method
3506 (setWriteMethod): New method
3507 (equals): Implemented (1.4)
3508 (checkMethods): operates on arguments now (private)
3511 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
3513 * java/net/Inet6Address.java (getHostAddress): Fix textual
3514 representation of IPv6 address with embedded zeroes
3515 to conform to RFC 2373.
3517 2004-11-18 Jeroen Frijters <address@bogus.example.com>
3519 * java/lang/StackTraceElement.java: Made final.
3520 * java/nio/channels/Channels.java: Added private constructor.
3521 * java/rmi/Naming.java: Added private constructor.
3522 * java/rmi/registry/LocateRegistry.java: Added private constructor.
3523 * java/rmi/server/RMIClassLoader.java: Added private constructor.
3524 * java/security/KeyPairGeneratorSpi.java
3525 (clone): Made protected and simplified implementation.
3526 * java/text/DateFormat.java
3527 (allFields): Made package accessible.
3528 * java/text/DecimalFormat.java
3529 (formatInternal): Made private.
3530 * java/text/Format.java
3531 (formatInternal): Made private.
3532 * java/util/logging/Handler.java: Made constructor protected.
3533 * java/util/regex/Matcher.java: Made final.
3534 * java/util/regex/Pattern.java: Made final.
3535 * javax/crypto/CipherInputStream.java
3536 (mark): Corrected mark parameter type (from long to int).
3537 * javax/crypto/ExemptionMechanism.java
3539 * javax/crypto/Mac.java
3540 (getMacLength): Made final.
3541 (clone): Made final.
3542 * javax/imageio/ImageIO.java: Added private constructor.
3543 * javax/imageio/stream/ImageInputStreamImpl.java
3544 (checkClosed): Made final.
3545 * javax/net/ssl/SSLPermission.java: Made final.
3546 * javax/print/DocFlavor.java
3547 (hostEncoding): Added work-around to prevent the field from being
3548 a compile time constant.
3549 * javax/print/attribute/AttributeSetUtilities.java: Added private
3551 (UnmodifiableDocAttributeSet): Made private.
3552 (UnmodifiablePrintJobAttributeSet): Made private.
3553 (UnmodifiablePrintRequestAttributeSet): Made private.
3554 (UnmodifiablePrintServiceAttributeSet): Made private.
3555 (SynchronizedAttributeSet): Made private.
3556 (SynchronizedDocAttributeSet): Made private.
3557 (SynchronizedPrintJobAttributeSet): Made private.
3558 (SynchronizedPrintRequestAttributeSet): Made private.
3559 (SynchronizedPrintServiceAttributeSet): Made private.
3560 * javax/security/auth/PrivateCredentialPermission.java: Made final.
3562 2004-11-18 Craig Black <craig.black@aonix.com>
3564 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3566 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3568 * Makefile.am: Correct friend function declaration.
3569 * Makefile.in: Regenerated.
3570 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3571 scope to function names. Declare functions directly.
3572 * libjava/java/lang/Class.h
3573 (java::lang::Class): Correct friend class declaration.
3574 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3576 * libjava/java/lang/Class.h
3577 (java::lang::Object): Correct friend class declaration.
3579 2004-11-17 David Daney <ddaney@avtrex.com>
3581 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3583 2004-11-17 Michael Koch <konqueror@gmx.de>
3585 * java/net/Socket.java (getPort): Return 0 in error case.
3587 2004-11-17 Michael Koch <konqueror@gmx.de>
3589 * java/nio/DirectByteBufferImpl.java
3590 (owner): Updated comment.
3591 (allocate): New method.
3593 2004-11-17 Michael Koch <konqueror@gmx.de>
3595 * java/net/URL.java (URL): Handle case when argument is null.
3597 2004-11-17 Michael Koch <konqueror@gmx.de>
3599 * java/beans/Beans.java,
3600 java/beans/PropertyChangeEvent.java,
3601 java/beans/PropertyEditorSupport.java:
3604 2004-11-17 Michael Koch <konqueror@gmx.de>
3606 * java/util/Timer.java (DEFAULT_SIZE): Made static.
3608 2004-11-17 Michael Koch <konqueror@gmx.de>
3610 * java/net/InetAddress.java (getCanonicalHostName):
3611 Support IPv6 addresses.
3613 2004-11-16 Michael Koch <konqueror@gmx.de>
3615 * java/lang/Object.java: Added javadocs all over (merged from GNU
3618 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
3620 * java/security/Security.java (Security): Silence the warning about no
3621 providers found in the no debug case.
3623 2004-11-16 Michael Koch <konqueror@gmx.de>
3625 * java/net/InetAddress.java
3626 (toString): Merged from GNU classpath.
3628 2004-11-16 Michael Koch <konqueror@gmx.de>
3630 * java/awt/geom/doc-files/Area-1.png,
3631 java/awt/geom/doc-files/Ellipse-1.png,
3632 java/awt/geom/doc-files/GeneralPath-1.png:
3635 2004-11-16 Michael Koch <konqueror@gmx.de>
3637 * java/util/Currency.java (cache): Fix modifier order.
3639 2004-11-16 Michael Koch <konqueror@gmx.de>
3641 * java/io/BufferedReader.java,
3642 java/io/FileInputStream.java,
3643 java/io/FileOutputStream.java,
3644 java/io/FileWriter.java,
3645 java/io/OutputStreamWriter.java,
3646 java/io/PipedInputStream.java,
3647 java/io/PipedOutputStream.java,
3648 java/io/PipedReader.java,
3649 java/io/PipedWriter.java,
3650 java/io/PrintStream.java,
3651 java/io/PushbackInputStream.java,
3652 java/io/RandomAccessFile.java,
3653 java/io/Reader.java,
3654 java/io/StreamTokenizer.java,
3655 java/io/StringReader.java,
3656 java/net/NetworkInterface.java,
3657 java/net/URLClassLoader.java,
3658 java/nio/ByteOrder.java,
3659 java/nio/channels/Channel.java:
3660 Fixed javadocs all over.
3662 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
3664 * Makefile.am: Add imported files.
3665 * Makefile.in: Regenerate.
3667 2004-10-24 Casey Marshall <csm@gnu.org>
3669 * javax/security/auth/login/LoginContext.java: Implemented.
3670 * javax/security/auth/login/Configuration.java (getConfig): New method.
3671 * javax/security/auth/spi/LoginModule.java,
3672 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3674 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
3676 Import/Merge the X.509 certificate code from Classpath.
3678 * Makefile.am: Add imported files.
3679 * Makefile.in: Regenerate.
3681 2004-11-07 Casey Marshall <csm@gnu.org>
3683 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3684 priviliged action. Add new algorithms.
3685 * gnu/java/security/provider/X509CertificateFactory.java
3686 (engineGenerateCertificate): Chain exceptions.
3687 (engineGenerateCertificates): Likewise.
3688 (engineGenerateCRL): Likewise.
3689 (engineGenerateCRLs): Likewise.
3690 (engineGenerateCertPath): New methods.
3691 (generateCert): Throw exception if 'inStream' is null.
3692 (generateCRL): Likewise.
3693 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3694 version from GNU Crypto CVS.
3695 * gnu/java/security/x509/X509CRL.java: Likewise.
3696 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3697 * gnu/java/security/x509/X509Certificate.java: Likewise.
3698 * java/security/cert/TrustAnchor.java: Call 'toString' and not
3700 * gnu/java/security/provider/CollectionCertStoreImpl.java,
3701 * gnu/java/security/provider/EncodedKeyFactory.java,
3702 * gnu/java/security/provider/GnuDHPublicKey.java,
3703 * gnu/java/security/provider/GnuRSAPrivateKey.java,
3704 * gnu/java/security/provider/GnuRSAPublicKey.java,
3705 * gnu/java/security/provider/MD2withRSA.java,
3706 * gnu/java/security/provider/MD4withRSA.java,
3707 * gnu/java/security/provider/MD5withRSA.java,
3708 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3709 * gnu/java/security/provider/RSA.java,
3710 * gnu/java/security/provider/RSAKeyFactory.java,
3711 * gnu/java/security/provider/SHA1withRSA.java,
3712 * gnu/java/security/x509/GnuPKIExtension.java,
3713 * gnu/java/security/x509/PolicyNodeImpl.java,
3714 * gnu/java/security/x509/Util.java,
3715 * gnu/java/security/x509/X509CRLSelectorImpl.java,
3716 * gnu/java/security/x509/X509CertPath.java,
3717 * gnu/java/security/x509/X509CertSelectorImpl.java,
3718 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3719 * gnu/java/security/x509/ext/BasicConstraints.java,
3720 * gnu/java/security/x509/ext/CRLNumber.java,
3721 * gnu/java/security/x509/ext/CertificatePolicies.java,
3722 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3723 * gnu/java/security/x509/ext/Extension.java,
3724 * gnu/java/security/x509/ext/GeneralNames.java,
3725 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3726 * gnu/java/security/x509/ext/KeyUsage.java,
3727 * gnu/java/security/x509/ext/PolicyConstraint.java,
3728 * gnu/java/security/x509/ext/PolicyMappings.java,
3729 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3730 * gnu/java/security/x509/ext/ReasonCode.java,
3731 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3732 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3734 2004-11-07 Casey Marshall <csm@gnu.org>
3736 * gnu/java/security/x509/X509CRL.java:
3737 Missed import statements in previous checkin.
3739 2004-11-07 Casey Marshall <csm@gnu.org>
3741 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3742 to 'X509CertificateImpl' from previous checkin.
3744 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
3747 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3749 2004-11-11 Casey Marshall <csm@gnu.org>
3751 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3753 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3754 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3756 2004-11-11 Robert Schuster <thebohemian@gmx.net>
3759 * gnu/java/beans/IntrospectionIncubator.java:
3760 (addMethod): Corrected classification of normal and property methods.
3761 (capitalize): Added documentation.
3762 (DoubleKey): [class] Added documentation.
3764 2004-11-09 Tom Tromey <tromey@redhat.com>
3766 * include/jni.h: Added FIXME.
3768 2004-11-08 Tom Tromey <tromey@redhat.com>
3770 * java/util/GregorianCalendar.java: Removed unused imports.
3771 * java/util/Vector.java: Removed unused import.
3773 2004-11-07 Michael Koch <konqueror@gmx.de>
3775 * java/lang/Process.java:
3778 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
3780 * java/util/zip/ZipEntry.java
3781 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
3783 2004-11-07 Robert Schuster <theBohemian@gmx.net>
3786 * gnu/java/beans/IntrospectionIncubator.java:
3787 (addMethod): static methods are discarded now, too.
3789 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
3791 * java/util/GregorianCalendar.java
3792 Added/amended documentation.
3794 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
3796 * java/util/Collections.java
3797 Added documentation.
3798 * java/util/SortedMap.java
3799 Clarified some method examples.
3800 * java/util/SortedSet.java
3801 Clarified some method examples.
3803 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
3805 * java/util/Currency.java
3806 Documented variables and methods more fully.
3807 Caches the currency instances, so that a request
3808 for a locale, l, only ever returns the same
3809 instance (i.e. successive calls to getInstance(l)
3810 are reference equivalent (==)).
3812 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
3814 * java/util/Date.java
3815 Added missing documentation.
3817 2004-11-06 Michael Koch <konqueror@gmx.de>
3819 * java/util/zip/CheckedInputStream.java,
3820 java/util/zip/InflaterInputStream.java,
3821 java/util/zip/ZipFile.java,
3822 java/util/zip/ZipInputStream.java:
3825 2004-11-06 Tom Tromey <tromey@redhat.com>
3827 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
3829 (connections): Likewise.
3830 (scavenger): Likewise.
3831 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
3833 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
3836 * gnu/classpath/ServiceFactory.java (log): Now package-private.
3838 2004-11-06 Tom Tromey <tromey@redhat.com>
3840 * javax/naming/directory/BasicAttributes.java (attributes): Now
3842 * javax/imageio/spi/ServiceRegistry.java (categories): Now
3845 2004-11-06 Tom Tromey <tromey@redhat.com>
3847 * java/net/URLClassLoader.java (URLClassLoader): Now
3849 * java/nio/charset/CoderResult.java (CoderResult): Now
3852 (Cache): Likewise. Don't synchronize on `this'.
3853 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
3855 * java/util/TimeZone.java (timezones): Now package-private.
3857 2004-11-06 Tom Tromey <tromey@redhat.com>
3859 * java/security/Permissions.java (perms): Now package-private.
3860 * java/security/UnresolvedPermission.java (permissions): Now
3863 2004-11-06 Tom Tromey <tromey@redhat.com>
3865 * java/io/FilePermission.java: Reindented.
3867 2004-11-06 Tom Tromey <tromey@redhat.com>
3869 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
3871 (setBlockDataMode): Likewise.
3873 2004-11-06 Tom Tromey <tromey@redhat.com>
3875 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
3877 (Encoder): Likewise.
3878 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
3879 (Encoder): Likewise.
3880 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
3882 (Encoder): Likewise.
3884 2004-11-06 Mark Wielaard <mark@klomp.org>
3886 * Makefile.am: Add new javax.imageio files.
3887 * Makefile.in: Regenerated.
3889 2004-11-06 Michael Koch <konqueror@gmx.de>
3891 * javax/imageio/event/IIOReadProgressListener.java,
3892 javax/imageio/event/IIOReadUpdateListener.java,
3893 javax/imageio/event/IIOReadWarningListener.java,
3894 javax/imageio/event/IIOWriteProgressListener.java,
3895 javax/imageio/event/IIOWriteWarningListener.java,
3896 javax/imageio/metadata/IIOMetadataFormat.java,
3897 javax/imageio/stream/FileCacheImageInputStream.java,
3898 javax/imageio/stream/FileCacheImageOutputStream.java,
3899 javax/imageio/stream/ImageInputStreamImpl.java:
3901 * javax/imageio/metadata/package.html: New file.
3903 2004-11-06 Michael Koch <konqueror@gmx.de>
3905 * javax/imageio/spi/ImageReaderSpi.java
3906 (isOwnReader): New method.
3907 * javax/imageio/spi/ImageWriterSpi.java
3908 (isOwnWriter): Likewise.
3910 2004-11-06 Michael Koch <konqueror@gmx.de>
3912 * javax/imageio/ImageWriter.java
3913 (convertImageMetadata): New abstract method.
3914 (convertStreamMetadata): Likewise.
3916 * javax/imageio/stream/FileCacheImageInputStream.java
3917 (close): Fixed setting of stream to null.
3918 (checkStreamClosed): Throws IOException.
3920 2004-11-06 Michael Koch <konqueror@gmx.de>
3922 * javax/imageio/stream/FileCacheImageInputStream.java,
3923 javax/imageio/stream/FileCacheImageOutputStream.java,
3924 javax/imageio/stream/FileImageInputStream.java,
3925 javax/imageio/stream/FileImageOutputStream.java,
3926 javax/imageio/stream/MemoryCacheImageInputStream.java,
3927 javax/imageio/stream/MemoryCacheImageOutputStream.java:
3930 2004-11-06 Michael Koch <konqueror@gmx.de>
3932 * javax/imageio/metadata/IIOInvalidTreeException.java,
3933 javax/imageio/metadata/IIOMetadataFormatImpl.java,
3934 javax/imageio/metadata/IIOMetadataNode.java:
3937 2004-11-06 Michael Koch <konqueror@gmx.de>
3939 * javax/imageio/stream/ImageInputStreamImpl.java,
3940 javax/imageio/stream/ImageOutputStreamImpl.java:
3943 2004-11-06 Michael Koch <konqueror@gmx.de>
3945 * javax/imageio/ImageIO.java:
3946 Added much new methods.
3948 2004-11-06 Michael Koch <konqueror@gmx.de>
3950 * javax/imageio/ImageReader.java,
3951 javax/imageio/ImageWriter.java,
3952 javax/imageio/spi/ImageWriterSpi.java:
3953 Add SOME new methods.
3955 2004-11-06 Michael Koch <konqueror@gmx.de>
3957 * javax/imageio/IIOParam.java,
3958 javax/imageio/ImageReadParam.java,
3959 javax/imageio/ImageReader.java,
3960 javax/imageio/ImageWriter.java:
3962 * javax/imageio/spi/ImageReaderSpi.java,
3963 javax/imageio/spi/ImageWriterSpi.java:
3966 2004-11-06 Michael Koch <konqueror@gmx.de>
3968 * javax/imageio/ImageWriteParam.java,
3969 javax/imageio/metadata/IIOMetadataFormat.java:
3972 2004-11-06 Michael Koch <konqueror@gmx.de>
3974 * javax/imageio/ImageTypeSpecifier.java:
3977 2004-11-06 Michael Koch <konqueror@gmx.de>
3979 * javax/imageio/metadata/IIOMetadata.java:
3982 2004-11-06 Michael Koch <konqueror@gmx.de>
3984 * javax/imageio/IIOImage.java,
3985 javax/imageio/ImageReadParam.java,
3986 javax/imageio/metadata/IIOMetadataController.java,
3987 javax/imageio/metadata/IIOMetadataFormat.java:
3989 * javax/imageio/stream/ImageOutputStream.java:
3992 2004-11-06 Michael Koch <konqueror@gmx.de>
3994 * javax/imageio/IIOParam.java,
3995 javax/imageio/IIOParamController.java,
3996 javax/imageio/ImageTypeSpecifier.java,
3997 javax/imageio/ImageWriteParam.java,
3998 javax/imageio/metadata/IIOMetadata.java:
4000 * javax/imageio/ImageTranscoder.java:
4003 2004-11-06 Michael Koch <konqueror@gmx.de>
4005 * javax/imageio/spi/ImageInputStreamSpi.java,
4006 javax/imageio/spi/ImageOutputStreamSpi.java:
4007 Reworked import startments.
4008 * javax/imageio/spi/ServiceRegistry.java:
4009 Reworked import startments. Fixed XHTML in javadocs.
4010 (ServiceRegistry): Added @param tag to javadoc.
4011 * javax/imageio/stream/ImageInputStream.java
4012 (mark): Doesn't throws IOException;
4014 2004-11-06 Michael Koch <konqueror@gmx.de>
4016 * javax/imageio/ImageIO.java:
4019 2004-11-06 Michael Koch <konqueror@gmx.de>
4021 * javax/imageio/spi/IIORegistry.java
4022 (static): Don't register ImageReaderSpi.class and
4023 ImageWriterSpi.class yet.
4025 2004-11-06 Michael Koch <konqueror@gmx.de>
4027 * javax/imageio/spi/IIORegistry.java:
4030 2004-11-06 Noa Resare <noa@resare.com>
4032 * java/net/Socket.java (getPort): Return 0 instead of -1 on
4033 unconnected sockets.
4035 2004-11-06 Michael Koch <konqueror@gmx.de>
4037 * java/lang/StringBuffer.java,
4038 java/lang/Throwable.java,
4039 java/security/spec/DSAParameterSpec.java,
4040 java/util/zip/ZipEntry.java,
4041 java/util/zip/ZipFile.java,
4042 java/util/zip/ZipInputStream.java,
4043 java/util/zip/ZipOutputStream.java:
4044 Removed redundant and reordered modifiers.
4046 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
4048 * java/io/Vector.java
4049 (writeObject): New function to serialized output thread safe.
4051 * java/io/ObjectOutputStream.java
4052 (writeObject): Move the assignment of the class handle to after
4053 the assignment of class descriptor handle.
4055 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4057 Fixes documentation and indentation
4058 * java/beans/PropertyEditorSupport.java:
4059 reworked initial API doc
4060 (value): changed name from val
4062 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4065 * java/beans/PropertyEditorSupport.java
4066 (PropertyEditorSupport()): Changed modifier to public
4067 (PropertyEditorSupport(Object): Changed modifier to public
4068 (setSource): New method
4069 (getSource): New method
4071 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4074 * java/beans/PropertyEditorSupport.java
4075 (setValue): Fire property change event
4077 2004-11-03 Tom Tromey <tromey@redhat.com>
4079 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4080 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4081 returns jobjectArray.
4082 (_Jv_JNIEnv::NewObjectArray): Likewise.
4084 2004-11-01 Tom Tromey <tromey@redhat.com>
4086 * verify.cc (state::check_no_uninitialized_objects): Removed.
4087 (push_jump): Updated.
4088 (push_exception_jump): Likewise.
4089 (handle_ret_insn): Likewise.
4090 (handle_jsr_insn): Likewise.
4092 2004-10-30 Mark Wielaard <mark@klomp.org>
4095 * java/lang/Runtime.java (static): Call init().
4096 (Runtime): Remove call to init().
4097 (init): Make static.
4099 2004-10-28 David Daney <ddaney@avtrex.com>
4101 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4102 * Makefile.am: Build it.
4103 * Makefile.in: Regenerate.
4105 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
4108 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
4110 * Makefile.in: Regenerate.
4111 * configure: Regenerate.
4112 * configure.ac (CLASSPATH_SEPARATOR): Define.
4113 * gcj/Makefile.in: Regenerate.
4114 * include/Makefile.in: Regenerate.
4115 * testsuite/Makefile.in: Regenerate.
4116 * testsuite/lib/libjava.exp (libjava_arguments): Fix
4117 CLASSPATH separator handling for Windows.
4119 2004-10-26 Michael Koch <konqueror@gmx.de>
4121 * gnu/java/net/protocol/http/Connection.java
4122 (getOutputStream): Implicitely switch to POST method.
4124 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
4126 * libjava/java/lang/Class.h
4127 (java::lang::Class): Correct friend class declaration.
4129 2004-10-25 Geoffrey Keating <geoffk@apple.com>
4131 * Makefile.am (DARWIN_CRT_SRC): New.
4132 (libgcj_la_SOURCES): Use it.
4133 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4134 * darwin.cc: New file.
4135 * include/jvm.h (_Jv_RegisterClasses): Constify.
4136 (_Jv_RegisterClasses_Counted): New prototype.
4137 * java/lang/Class.h: Include stddef.h.
4138 (_Jv_RegisterClasses): Constify.
4139 (_Jv_RegisterClasses_Counted): New prototype.
4140 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4141 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4142 (_Jv_RegisterClasses_Counted): New function.
4143 * configure: Regenerate.
4144 * Makefile.in: Regenerate.
4145 * gcj/Makefile.in: Regenerate.
4146 * include/Makefile.in: Regenerate.
4147 * testsuite/Makefile.in: Regenerate.
4149 2004-10-25 Tom Tromey <tromey@redhat.com>
4151 * java/util/ResourceBundle.java (tryBundle): Use
4152 Class.isAssignableFrom rather than catching ClassCastException.
4154 2004-10-25 Tom Tromey <tromey@redhat.com>
4156 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4158 * gnu/java/text/SentenceBreakIterator.java
4159 (SentenceBreakIterator): Don't initialize `iter'.
4160 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4162 * gnu/java/text/CharacterBreakIterator.java
4163 (CharacterBreakIterator): Don't initialize `iter'.
4164 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4166 * java/text/BreakIterator.java: Updated documentation.
4168 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
4171 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4173 2004-10-23 Michael Koch <konqueror@gmx.de>
4175 * javax/print/DocFlavor.java,
4176 javax/print/attribute/standard/JobStateReason.java,
4177 javax/print/attribute/standard/MultipleDocumentHandling.java:
4178 Added missing constants.
4180 2004-10-22 Tom Tromey <tromey@redhat.com>
4182 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4185 2004-10-22 Michael Koch <konqueror@gmx.de>
4188 * gnu/java/net/protocol/http/Connection.java
4189 (sendRequest): Handle case when url.getFile() returns an empty string.
4191 2004-10-22 Michael Koch <konqueror@gmx.de>
4193 * java/lang/Math.java,
4194 java/lang/StackTraceElement.java,
4195 java/nio/Buffer.java,
4196 java/nio/ByteBuffer.java,
4197 java/nio/CharBuffer.java,
4198 java/nio/DoubleBuffer.java,
4199 java/nio/FloatBuffer.java,
4200 java/nio/IntBuffer.java,
4201 java/nio/LongBuffer.java,
4202 java/nio/ShortBuffer.java,
4203 java/nio/charset/Charset.java,
4204 java/rmi/server/RMIClassLoader.java,
4205 java/rmi/server/RMISocketFactory.java,
4206 java/security/Policy.java,
4207 java/text/ChoiceFormat.java,
4208 java/text/CollationElementIterator.java,
4209 java/text/DateFormat.java,
4210 java/text/DecimalFormat.java,
4211 java/text/DecimalFormatSymbols.java,
4212 java/text/MessageFormat.java,
4213 java/text/NumberFormat.java,
4214 java/text/RuleBasedCollator.java,
4215 java/text/SimpleDateFormat.java,
4216 java/util/BitSet.java,
4217 java/util/Calendar.java,
4218 java/util/Collections.java,
4219 java/util/IdentityHashMap.java,
4220 java/util/Locale.java,
4221 java/util/TreeMap.java,
4222 java/util/logging/LogRecord.java,
4223 java/util/logging/XMLFormatter.java,
4224 java/util/prefs/AbstractPreferences.java,
4225 java/util/prefs/Preferences.java,
4226 javax/crypto/interfaces/DHPrivateKey.java,
4227 javax/crypto/interfaces/DHPublicKey.java,
4228 javax/crypto/interfaces/PBEKey.java,
4229 javax/net/ssl/HandshakeCompletedEvent.java,
4230 javax/security/auth/Subject.java:
4231 Removed redundant and reordered modifiers.
4233 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
4235 * gnu/java/net/natPlainSocketImplPosix.cc
4236 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4237 with 'int *' argument instead of 'long *'.
4239 2004-10-21 Michael Koch <konqueror@gmx.de>
4241 * java/net/NetworkInterface.java,
4242 java/text/Format.java,
4243 javax/security/auth/x500/X500Principal.java,
4244 javax/security/auth/x500/X500PrivateCredential.java,
4245 javax/security/cert/X509CertBridge.java,
4246 javax/security/sasl/Sasl.java,
4247 javax/sql/XAConnection.java:
4250 2004-10-21 Michael Koch <konqueror@gmx.de>
4252 * javax/net/ssl/HandshakeCompletedEvent.java,
4253 javax/net/ssl/KeyManagerFactory.java,
4254 javax/net/ssl/SSLContext.java,
4255 javax/net/ssl/SSLServerSocketFactory.java,
4256 javax/net/ssl/SSLSession.java,
4257 javax/net/ssl/SSLSocketFactory.java,
4258 javax/net/ssl/TrustManagerFactory.java:
4261 2004-10-21 Michael Koch <konqueror@gmx.de>
4263 * javax/naming/directory/BasicAttribute.java,
4264 javax/naming/directory/BasicAttributes.java,
4265 javax/naming/directory/InitialDirContext.java,
4266 javax/naming/event/NamingEvent.java,
4267 javax/naming/ldap/ControlFactory.java,
4268 javax/naming/ldap/ExtendedRequest.java,
4269 javax/naming/ldap/InitialLdapContext.java,
4270 javax/naming/ldap/LdapReferralException.java,
4271 javax/naming/spi/DirObjectFactory.java,
4272 javax/naming/spi/DirStateFactory.java,
4273 javax/naming/spi/DirectoryManager.java,
4274 javax/naming/spi/InitialContextFactory.java,
4275 javax/naming/spi/InitialContextFactoryBuilder.java,
4276 javax/naming/spi/NamingManager.java,
4277 javax/naming/spi/ObjectFactory.java,
4278 javax/naming/spi/ObjectFactoryBuilder.java,
4279 javax/naming/spi/StateFactory.java:
4282 2004-10-21 Michael Koch <konqueror@gmx.de>
4284 * javax/crypto/Cipher.java,
4285 javax/crypto/EncryptedPrivateKeyInfo.java,
4286 javax/crypto/ExemptionMechanism.java,
4287 javax/crypto/KeyAgreement.java,
4288 javax/crypto/KeyGenerator.java,
4289 javax/crypto/Mac.java,
4290 javax/crypto/SecretKeyFactory.java,
4291 javax/crypto/SecretKeyFactorySpi.java,
4292 javax/crypto/spec/SecretKeySpec.java:
4295 2004-10-21 Michael Koch <konqueror@gmx.de>
4297 * java/security/AlgorithmParameterGenerator.java,
4298 java/security/AlgorithmParameters.java,
4299 java/security/AlgorithmParametersSpi.java,
4300 java/security/AllPermission.java,
4301 java/security/BasicPermission.java,
4302 java/security/Certificate.java,
4303 java/security/CodeSource.java,
4304 java/security/DigestInputStream.java,
4305 java/security/DigestOutputStream.java,
4306 java/security/GuardedObject.java,
4307 java/security/KeyFactory.java,
4308 java/security/KeyFactorySpi.java,
4309 java/security/KeyPairGenerator.java,
4310 java/security/KeyStore.java,
4311 java/security/KeyStoreSpi.java,
4312 java/security/Permissions.java,
4313 java/security/Security.java,
4314 java/security/Signature.java,
4315 java/security/UnresolvedPermission.java,
4316 java/security/cert/CertPathBuilder.java,
4317 java/security/cert/CertPathValidator.java,
4318 java/security/cert/CertStore.java,
4319 java/security/cert/Certificate.java,
4320 java/security/cert/CertificateFactory.java,
4321 java/security/cert/PolicyQualifierInfo.java,
4322 java/security/cert/TrustAnchor.java,
4323 java/security/cert/X509CRL.java,
4324 java/security/cert/X509CRLSelector.java,
4325 java/security/cert/X509CertSelector.java:
4328 2004-10-21 Michael Koch <konqueror@gmx.de>
4330 * java/rmi/MarshalledObject.java,
4331 java/rmi/Naming.java,
4332 java/rmi/activation/Activatable.java,
4333 java/rmi/activation/ActivationGroup.java,
4334 java/rmi/activation/ActivationGroupDesc.java,
4335 java/rmi/activation/ActivationInstantiator.java,
4336 java/rmi/activation/ActivationMonitor.java,
4337 java/rmi/activation/ActivationSystem.java,
4338 java/rmi/activation/Activator.java,
4339 java/rmi/registry/LocateRegistry.java,
4340 java/rmi/registry/Registry.java,
4341 java/rmi/server/LogStream.java,
4342 java/rmi/server/ObjID.java,
4343 java/rmi/server/RMIClientSocketFactory.java,
4344 java/rmi/server/RMIServerSocketFactory.java,
4345 java/rmi/server/RMISocketFactory.java,
4346 java/rmi/server/RemoteCall.java,
4347 java/rmi/server/RemoteServer.java,
4348 java/rmi/server/ServerRef.java,
4349 java/rmi/server/UID.java,
4350 java/rmi/server/UnicastRemoteObject.java:
4353 2004-10-21 Tom Tromey <tromey@redhat.com>
4355 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4356 exception if we hit EOF of `in'.
4357 (read): Handle case where inflating returns -1.
4359 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
4361 * gnu/java/nio/channels/natFileChannelPosix.cc
4362 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4363 argument instead of 'long *'.
4365 2004-10-21 Tom Tromey <tromey@redhat.com>
4367 * java/util/ResourceBundle.java (tryBundle): Also ignore
4370 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
4372 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4373 for all sh*-*-linux* targets.
4374 * configure: Regenerate.
4375 * include/sh-signal.h: New file.
4377 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4379 * java/lang/ieeefp.h: Add m32r support.
4381 2004-10-20 Andreas Schwab <schwab@suse.de>
4383 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4385 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4388 2004-10-20 Michael Koch <konqueror@gmx.de>
4390 * javax/print/attribute/standard/ColorSupported.java,
4391 javax/print/attribute/standard/Compression.java,
4392 javax/print/attribute/standard/Copies.java,
4393 javax/print/attribute/standard/CopiesSupported.java,
4394 javax/print/attribute/standard/DateTimeAtCompleted.java,
4395 javax/print/attribute/standard/DateTimeAtCreation.java,
4396 javax/print/attribute/standard/DateTimeAtProcessing.java,
4397 javax/print/attribute/standard/DocumentName.java,
4398 javax/print/attribute/standard/Fidelity.java,
4399 javax/print/attribute/standard/Finishings.java,
4400 javax/print/attribute/standard/JobHoldUntil.java,
4401 javax/print/attribute/standard/JobImpressions.java,
4402 javax/print/attribute/standard/JobImpressionsCompleted.java,
4403 javax/print/attribute/standard/JobImpressionsSupported.java,
4404 javax/print/attribute/standard/JobKOctets.java,
4405 javax/print/attribute/standard/JobKOctetsProcessed.java,
4406 javax/print/attribute/standard/JobKOctetsSupported.java,
4407 javax/print/attribute/standard/JobMediaSheets.java,
4408 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4409 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4410 javax/print/attribute/standard/JobMessageFromOperator.java,
4411 javax/print/attribute/standard/JobName.java,
4412 javax/print/attribute/standard/JobOriginatingUserName.java,
4413 javax/print/attribute/standard/JobPriority.java,
4414 javax/print/attribute/standard/JobPrioritySupported.java,
4415 javax/print/attribute/standard/JobSheets.java,
4416 javax/print/attribute/standard/JobState.java,
4417 javax/print/attribute/standard/JobStateReason.java,
4418 javax/print/attribute/standard/JobStateReasons.java,
4419 javax/print/attribute/standard/Media.java,
4420 javax/print/attribute/standard/MultipleDocumentHandling.java,
4421 javax/print/attribute/standard/NumberOfDocuments.java,
4422 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4423 javax/print/attribute/standard/NumberUp.java,
4424 javax/print/attribute/standard/NumberUpSupported.java,
4425 javax/print/attribute/standard/OrientationRequested.java,
4426 javax/print/attribute/standard/OutputDeviceAssigned.java,
4427 javax/print/attribute/standard/PDLOverrideSupported.java,
4428 javax/print/attribute/standard/PageRanges.java,
4429 javax/print/attribute/standard/PagesPerMinute.java,
4430 javax/print/attribute/standard/PagesPerMinuteColor.java,
4431 javax/print/attribute/standard/PrintQuality.java,
4432 javax/print/attribute/standard/PrinterInfo.java,
4433 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4434 javax/print/attribute/standard/PrinterLocation.java,
4435 javax/print/attribute/standard/PrinterMakeAndModel.java,
4436 javax/print/attribute/standard/PrinterMessageFromOperator.java,
4437 javax/print/attribute/standard/PrinterMoreInfo.java,
4438 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4439 javax/print/attribute/standard/PrinterName.java,
4440 javax/print/attribute/standard/PrinterStateReason.java,
4441 javax/print/attribute/standard/PrinterStateReasons.java,
4442 javax/print/attribute/standard/PrinterURI.java,
4443 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4444 javax/print/attribute/standard/RequestingUserName.java:
4445 Reorganized imports and removed redundant final modifiers.
4447 2004-10-20 Michael Koch <konqueror@gmx.de>
4449 * javax/security/sasl/SaslClient.java,
4450 javax/security/sasl/SaslClientFactory.java,
4451 javax/security/sasl/SaslException.java,
4452 javax/security/sasl/SaslServer.java,
4453 javax/security/sasl/SaslServerFactory.java:
4456 2004-10-20 Michael Koch <konqueror@gmx.de>
4458 * javax/security/auth/login/NullConfiguration.java,
4459 javax/security/auth/x500/X500Principal.java,
4460 javax/security/cert/X509Certificate.java,
4461 javax/security/sasl/AuthenticationException.java,
4462 javax/security/sasl/AuthorizeCallback.java,
4463 javax/security/sasl/RealmCallback.java,
4464 javax/security/sasl/RealmChoiceCallback.java,
4465 javax/security/sasl/Sasl.java,
4466 javax/security/sasl/SaslClient.java,
4467 javax/security/sasl/SaslClientFactory.java,
4468 javax/security/sasl/SaslException.java,
4469 javax/security/sasl/SaslServer.java,
4470 javax/security/sasl/SaslServerFactory.java:
4471 Cleaned up import statements and copyright notices.
4473 2004-10-20 Michael Koch <konqueror@gmx.de>
4475 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4477 2004-10-20 Michael Koch <konqueror@gmx.de>
4479 * java/sql/Timestamp.java,
4480 java/text/AttributedCharacterIterator.java,
4481 java/text/AttributedString.java,
4482 java/util/zip/CheckedOutputStream.java,
4483 java/util/zip/DeflaterOutputStream.java,
4484 java/util/zip/ZipFile.java,
4485 javax/crypto/Cipher.java,
4486 javax/crypto/ExemptionMechanismException.java,
4487 javax/crypto/SecretKey.java,
4488 javax/crypto/SecretKeyFactory.java,
4489 javax/naming/directory/ModificationItem.java,
4490 javax/naming/directory/SearchControls.java,
4491 javax/naming/event/NamingListener.java,
4492 javax/naming/ldap/Control.java,
4493 javax/naming/ldap/ExtendedResponse.java,
4494 javax/net/ssl/SSLSocketFactory.java:
4495 Reorganized imports and fixed copyright headers.
4497 2004-10-20 Michael Koch <konqueror@gmx.de>
4499 * java/util/logging/ConsoleHandler.java,
4500 java/util/logging/ErrorManager.java,
4501 java/util/logging/FileHandler.java,
4502 java/util/logging/Filter.java,
4503 java/util/logging/Formatter.java,
4504 java/util/logging/Handler.java,
4505 java/util/logging/Level.java,
4506 java/util/logging/LogManager.java,
4507 java/util/logging/LogRecord.java,
4508 java/util/logging/Logger.java,
4509 java/util/logging/LoggingPermission.java,
4510 java/util/logging/MemoryHandler.java,
4511 java/util/logging/SimpleFormatter.java,
4512 java/util/logging/SocketHandler.java,
4513 java/util/logging/StreamHandler.java,
4514 java/util/logging/XMLFormatter.java:
4515 Standardized copyrigth header.
4517 2004-10-20 Michael Koch <konqueror@gmx.de>
4519 * java/security/AlgorithmParameterGenerator.java,
4520 java/security/AlgorithmParameters.java,
4521 java/security/DigestInputStream.java,
4522 java/security/Identity.java,
4523 java/security/KeyFactory.java,
4524 java/security/KeyPairGenerator.java,
4525 java/security/KeyStore.java,
4526 java/security/MessageDigest.java,
4527 java/security/MessageDigestSpi.java,
4528 java/security/Policy.java,
4529 java/security/SecureRandom.java,
4530 java/security/Security.java,
4531 java/security/Signature.java,
4532 java/security/SignatureSpi.java,
4533 java/security/cert/CertPathBuilder.java,
4534 java/security/cert/CertPathValidator.java,
4535 java/security/cert/CertStore.java,
4536 java/security/cert/Certificate.java,
4537 java/security/cert/CertificateFactory.java,
4538 java/security/cert/PolicyQualifierInfo.java,
4539 java/security/cert/TrustAnchor.java,
4540 java/security/cert/X509CRL.java,
4541 java/security/cert/X509CRLEntry.java,
4542 java/security/cert/X509Certificate.java,
4543 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4544 Import statements reorganized, some little formatting issues,
4545 used java-style array declarations, added comments in empty catch
4548 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4550 * java/security/Security.java
4551 (static): Use AccessController.doPrivileged to get system property.
4553 2004-10-18 Sven de Marothy <sven@physto.se>
4555 * java/nio/ByteBufferHelper.java
4556 (putDouble): Use Double.toRawLongBits instead.
4558 2004-10-18 Mark Wielaard <mark@klomp.org>
4559 Andrew Haley <aph@redhat.com>
4561 * testsuite/libjava.lang/ExtraClassLoader.java: New.
4563 2004-10-18 Andrew Haley <aph@redhat.com>
4566 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4567 and correct logic used to find interpreter.
4569 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4571 * java/util/logging/LogManager.java
4572 (findAncestor): Fixed IndexOutOfBoundsException.
4574 2004-10-18 Michael Koch <konqueror@gmx.de>
4576 * java/io/BufferedInputStream.java: Fixed @author tag.
4577 (read): Simplified expression.
4578 (read): Merged javadoc a bit more.
4579 (read): Renamed 'remain' to 'totalBytesRead'.
4580 * java/io/DataInputStream.java,
4581 java/io/DataOutputStream.java,
4582 java/io/ObjectInputStream.java,
4583 java/io/ObjectOutputStream.java:
4584 Reworked modifier order.
4586 2004-10-18 Michael Koch <konqueror@gmx.de>
4588 * java/net/Inet4Address.java: Merged file header and javadocs.
4589 * java/net/Inet6Address.java: Likewise.
4590 * java/net/InetAddress.java
4591 (getCanonicalHostName): Create Inet4Address object instead of
4592 InetAddress and add comment regarding IPv6.
4593 (toString): Simplified.
4595 2004-10-18 Michael Koch <konqueror@gmx.de>
4597 * gnu/java/net/protocol/http/Connection.java,
4598 java/nio/MappedByteBufferImpl.java,
4599 java/text/RuleBasedCollator.java,
4600 java/util/ResourceBundle.java:
4601 Reworked import statements.
4603 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4605 * java/security/IdentityScope.java
4606 (systemScope): Removed useless initializer.
4607 * java/security/Policy.java
4608 (currentPolicy): Likewise.
4610 2004-10-18 Michael Koch <konqueror@gmx.de>
4612 * java/lang/System.java: Revert accidential change.
4614 2004-10-18 Michael Koch <konqueror@gmx.de>
4616 * java/lang/Math.java,
4617 java/lang/Package.java,
4618 java/lang/Runtime.java,
4619 java/lang/StrictMath.java,
4620 java/lang/System.java,
4621 java/lang/Thread.java,
4622 java/lang/ThreadLocal.java,
4623 java/lang/Void.java:
4624 Reworked import statements, HTML in javadocs and modifier orders.
4626 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4628 * java/util/Timer.java
4629 (nr): Removed useless initializer.
4630 * java/util/logging/LogRecord.java
4631 (lastSeqNum): Likewise.
4632 * javax/naming/spi/NamingManager.java
4633 (icfb, ofb): Likewise.
4635 2004-10-18 Michael Koch <konqueror@gmx.de>
4637 * gnu/java/net/PlainDatagramSocketImpl.java:
4638 Reworked import statements.
4639 * gnu/java/security/provider/DSAParameters.java:
4640 Fixed copyrigth years.
4641 * java/net/JarURLConnection.java:
4642 Fixed HTML in @author tags.
4645 2004-10-18 Michael Koch <konqueror@gmx.de>
4647 * java/rmi/activation/ActivationSystem.java
4648 (SYSTEM_PORT): Initialize with correct port number.
4650 2004-10-18 Michael Koch <konqueror@gmx.de>
4652 * java/lang/reflect/Proxy.java: Improved javadocs.
4654 2004-10-18 Michael Koch <konqueror@gmx.de>
4656 * java/lang/reflect/AccessibleObject.java
4657 (checkPermission): Removed redundant final modifier.
4658 (secureSetAccessible): Likewise.
4659 * java/lang/reflect/Proxy.java:
4660 Reworked import statements.
4661 (generate): Removed redundant final modifier.
4662 * java/lang/reflect/ReflectPermission.java:
4663 Reorder package declaration and import statement.
4665 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4667 * java/lang/reflect/Proxy.java
4668 (count): Removed useless initializer.
4670 2004-10-17 Michael Koch <konqueror@gmx.de>
4672 * java/net/BindException.java,
4673 java/net/ConnectException.java,
4674 java/net/ContentHandler.java,
4675 java/net/ContentHandlerFactory.java,
4676 java/net/DatagramPacket.java,
4677 java/net/DatagramSocket.java,
4678 java/net/DatagramSocketImpl.java,
4679 java/net/DatagramSocketImplFactory.java,
4680 java/net/FileNameMap.java,
4681 java/net/HttpURLConnection.java,
4682 java/net/MalformedURLException.java,
4683 java/net/MulticastSocket.java,
4684 java/net/NetworkInterface.java,
4685 java/net/NoRouteToHostException.java,
4686 java/net/PasswordAuthentication.java,
4687 java/net/PortUnreachableException.java,
4688 java/net/ProtocolException.java,
4689 java/net/ServerSocket.java,
4690 java/net/Socket.java,
4691 java/net/SocketException.java,
4692 java/net/SocketImpl.java,
4693 java/net/SocketImplFactory.java,
4694 java/net/SocketOptions.java,
4695 java/net/SocketPermission.java,
4696 java/net/SocketTimeoutException.java,
4698 java/net/URISyntaxException.java,
4700 java/net/URLDecoder.java,
4701 java/net/URLEncoder.java,
4702 java/net/URLStreamHandler.java,
4703 java/net/URLStreamHandlerFactory.java,
4704 java/net/UnknownHostException.java,
4705 java/net/UnknownServiceException.java:
4706 Big import statement and @author tag cleanup.
4708 2004-10-17 Michael Koch <konqueror@gmx.de>
4710 * gnu/java/security/OID.java,
4711 gnu/java/security/provider/DSAParameters.java,
4712 gnu/java/security/provider/DSASignature.java,
4713 gnu/java/security/x509/X500DistinguishedName.java,
4714 gnu/java/security/x509/X509CRL.java:
4715 Import statements cleaned up.
4717 2004-10-16 Michael Koch <konqueror@gmx.de>
4719 * gnu/java/nio/NIODatagramSocket.java,
4720 gnu/java/nio/ServerSocketChannelImpl.java:
4721 Reorganized import statements.
4723 2004-10-16 Michael Koch <konqueror@gmx.de>
4725 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4726 gnu/java/rmi/rmic/RMIC.java,
4727 gnu/java/rmi/server/RMIHashes.java,
4728 gnu/java/rmi/server/RMIObjectInputStream.java,
4729 gnu/java/rmi/server/RMIObjectOutputStream.java,
4730 gnu/java/rmi/server/UnicastConnection.java,
4731 gnu/java/rmi/server/UnicastConnectionManager.java,
4732 gnu/java/rmi/server/UnicastRemoteCall.java,
4733 gnu/java/rmi/server/UnicastServer.java,
4734 gnu/java/rmi/server/UnicastServerRef.java,
4735 java/rmi/MarshalledObject.java,
4736 java/rmi/Naming.java,
4737 java/rmi/RMISecurityManager.java,
4738 java/rmi/Remote.java,
4739 java/rmi/activation/Activatable.java,
4740 java/rmi/activation/ActivationDesc.java,
4741 java/rmi/activation/ActivationGroup.java,
4742 java/rmi/activation/ActivationGroupDesc.java,
4743 java/rmi/activation/ActivationGroupID.java,
4744 java/rmi/activation/ActivationID.java,
4745 java/rmi/activation/ActivationInstantiator.java,
4746 java/rmi/activation/ActivationMonitor.java,
4747 java/rmi/activation/ActivationSystem.java,
4748 java/rmi/activation/Activator.java,
4749 java/rmi/dgc/DGC.java,
4750 java/rmi/dgc/Lease.java,
4751 java/rmi/dgc/VMID.java,
4752 java/rmi/registry/LocateRegistry.java,
4753 java/rmi/registry/Registry.java,
4754 java/rmi/registry/RegistryHandler.java,
4755 java/rmi/server/LoaderHandler.java,
4756 java/rmi/server/LogStream.java,
4757 java/rmi/server/ObjID.java,
4758 java/rmi/server/Operation.java,
4759 java/rmi/server/RMIClassLoader.java,
4760 java/rmi/server/RMIClassLoaderSpi.java,
4761 java/rmi/server/RMIClientSocketFactory.java,
4762 java/rmi/server/RMIFailureHandler.java,
4763 java/rmi/server/RMIServerSocketFactory.java,
4764 java/rmi/server/RMISocketFactory.java,
4765 java/rmi/server/RemoteCall.java,
4766 java/rmi/server/RemoteObject.java,
4767 java/rmi/server/RemoteRef.java,
4768 java/rmi/server/RemoteServer.java,
4769 java/rmi/server/RemoteStub.java,
4770 java/rmi/server/ServerRef.java,
4771 java/rmi/server/Skeleton.java,
4772 java/rmi/server/SkeletonMismatchException.java,
4773 java/rmi/server/UID.java,
4774 java/rmi/server/UnicastRemoteObject.java,
4775 java/rmi/server/Unreferenced.java:
4776 File headers and import statements cleaned up.
4778 2004-10-16 Michael Koch <konqueror@gmx.de>
4780 * libjava/gnu/java/nio/charset/UTF_16.java,
4781 libjava/gnu/java/nio/charset/UTF_16BE.java,
4782 libjava/gnu/java/nio/charset/UTF_16LE.java,
4783 libjava/java/nio/ByteOrder.java,
4784 libjava/java/nio/MappedByteBuffer.java,
4785 libjava/java/nio/channels/Channels.java,
4786 libjava/java/nio/channels/spi/SelectorProvider.java,
4787 libjava/java/nio/charset/Charset.java:
4790 2004-10-16 Michael Koch <konqueror@gmx.de>
4792 * gnu/java/nio/charset/UTF_16Encoder.java
4793 (UTF_16Encoder): Fixed maxBytesPerChar handling.
4795 2004-10-16 Michael Koch <konqueror@gmx.de>
4797 * java/math/BigDecimal.java, java/math/BigInteger.java:
4798 Reorganized import statements, removed redundant and
4799 reorganized modifiers.
4801 2004-10-16 Michael Koch <konqueror@gmx.de>
4803 * gnu/java/beans/ExplicitBeanInfo.java:
4804 Explicitely import java.awt.Image.
4805 (getIcon): Fixed off-by-one error.
4807 2004-10-15 Andrew Haley <aph@redhat.com>
4809 * Makefile.am (nat_files, xlib_nat_files): New.
4810 * Makefile.in: Regenerate.
4812 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
4814 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
4815 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
4817 2004-10-13 Andrew Haley <aph@redhat.com>
4819 * interpret.cc (_Jv_InterpMethod::run): Initialize
4820 _Jv_StartOfInterpreter.
4821 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
4822 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
4823 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
4824 _Unwind_FindEnclosingFunction to discover whether PC is within the
4827 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
4830 * testsuite/libjava.lang/md5test.java: New file.
4831 * testsuite/libjava.lang/md5test.out: Likewise.
4832 * testsuite/libjava.lang/shatest.java: Likewise.
4833 * testsuite/libjava.lang/shatest.out: Likewise.
4835 2004-10-11 Richard Henderson <rth@redhat.com>
4837 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
4838 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
4840 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
4842 * java/util/Calendar.java (set): Invalidate DST_OFFSET
4843 field as a DST boundary may have been crossed.
4844 * java/util/GregorianCalendar.java (add): Throw
4845 IllegalArgumentException on attempt to add to DST_OFFSET or
4846 ZONE_OFFSET fields. Update javadoc.
4848 2004-10-09 Michael Koch <konqueror@gmx.de>
4850 * java/io/CharArrayWriter.java
4851 (resize): Removed redundant 'final' modifier.
4852 * java/io/DataInputStream.java
4853 (readFully): Throw IndexOutOfBoundsException of len < 0.
4854 * java/io/FileDescriptor.java,
4855 java/io/FileInputStream.java,
4856 java/io/FileOutputStream.java,
4857 java/io/ObjectOutputStream.java,
4858 java/io/ObjectStreamClass.java,
4859 java/io/PipedInputStream.java,
4860 java/io/RandomAccessFile.java:
4861 Reorganized import statements.
4863 2004-10-09 Michael Koch <konqueror@gmx.de>
4865 * gnu/java/rmi/rmic/RMIC.java,
4866 gnu/java/rmi/server/RMIHashes.java,
4867 gnu/java/rmi/server/RMIObjectInputStream.java,
4868 gnu/java/rmi/server/UnicastConnection.java,
4869 gnu/java/rmi/server/UnicastConnectionManager.java,
4870 gnu/java/rmi/server/UnicastRemoteCall.java,
4871 gnu/java/rmi/server/UnicastServerRef.java:
4872 Reworked import statements and fixed file headers.
4874 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
4876 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
4878 * configure: Rebuilt.
4880 2004-09-30 Tom Tromey <tromey@redhat.com>
4882 * java/text/MessageFormat.java (Field): Constructor now
4885 2004-09-30 Tom Tromey <tromey@redhat.com>
4887 * javax/crypto/MacSpi.java: Fixed typo.
4889 2004-09-30 Michael Koch <konqueror@gmx.de>
4891 * java/net/InetAddress.java: Reformatted.
4892 (loopback): Initialize with Inet4Address object.
4893 (static): Initialize ANY_IF with Inet4Address object.
4894 (InetAddress): Removed unused package-private constructor.
4896 2004-09-30 Michael Koch <konqueror@gmx.de>
4898 * java/beans/Beans.java,
4899 java/beans/EventHandler.java,
4900 java/beans/EventSetDescriptor.java,
4901 java/beans/Introspector.java,
4902 java/beans/PropertyEditorManager.java,
4903 java/beans/beancontext/BeanContext.java,
4904 java/beans/beancontext/BeanContextChild.java,
4905 java/beans/beancontext/BeanContextChildSupport.java,
4906 java/beans/beancontext/BeanContextMembershipEvent.java:
4907 Reordered import statements and removed redundant modifiers.
4909 2004-09-29 Tom Tromey <tromey@redhat.com>
4912 * Makefile.in: Rebuilt.
4913 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
4915 (all_property_files): New macro.
4917 * Makefile.in: Rebuilt.
4918 * Makefile.am (ordinary_java_source_files): Re-sorted.
4919 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
4921 2004-09-28 Tom Tromey <tromey@redhat.com>
4923 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
4926 * Makefile.am (libgcj.la): Restored.
4927 * Makefile.in: Rebuilt.
4929 2004-09-28 Michael Koch <konqueror@gmx.de>
4931 * java/net/URLConnection.java: Reformatted.
4932 * java/net/URLClassLoader.java: Reformatted.
4933 (getContent): Reordered return of content.
4934 (getContentHandler): Don't check for null explicitely.
4936 2004-09-27 Michael Koch <konqueror@gmx.de>
4938 * java/io/BufferedInputStream.java
4939 (BufferedInputStream): Added Jeroen Frijters to authors.
4940 (count): Don't explicitely initialize with default value.
4942 (marklimit): Likewise.
4943 (read): Changed boolean expression to match GNU classpath' version.
4944 (reset): Add proper message to exception.
4945 (skip): Check for closed stream.
4948 2004-09-26 Per Bothner <per@bothner.com>
4950 * prims.cc (unblock_signal): Annotate signum with __unused__ to
4951 avoid warnings in the non-POSIX_VERSION case.
4952 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
4953 so place it inside an #if block.
4954 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
4955 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
4956 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
4957 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
4959 2004-09-26 Per Bothner <per@bothner.com>
4961 * prims.cc (process_gcj_properties): Optimization.
4963 2004-09-26 Per Bothner <per@bothner.com>
4965 * java/util/Collections.java (sort): Copy from array in forwards
4966 order, rather than reverse order which may be much less efficient.
4968 2004-09-26 Mark Wielaard <mark@klomp.org>
4970 * java/lang/System.java (properties): Make package private.
4971 * java/lang/Throwable.java (StaticData.nl): Initialize through
4972 directly accessing System.properties.getProperty().
4974 * java/lang/Throwable.java (nl): Remove static field.
4975 (StaticData): New private static inner class.
4976 (stackTraceStringBuffer): Use StaticData.nl.
4978 2004-09-26 Casey Marshall <csm@gnu.org>
4980 * java/security/ProtectionDomain.java
4981 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
4984 * java/security/SecureClassLoader.java
4985 (defineClass): make protection domain dynamically bound.
4986 (getPermissions): call `getCurrentPolicy' to avoid permission
4989 2004-09-25 Mark Wielaard <mark@klomp.org>
4991 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
4992 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
4993 * Makefile.in: Regenerated.
4995 * gcj/javaprims.h: Regenerated.
4997 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
4998 (getDefaultTimeZone): Make package private. Check that GMToffset
4999 contains at least one digit.
5000 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
5002 * util/VMTimeZone.java: New file with above methods.
5004 * java/util/natTimeZone.cc: Removed (renamed).
5005 * java/util/natVMTimeZone.cc: Added (renamed).
5007 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
5009 * java/util/TimeZone.java
5010 (getDefaultTimeZone): Fixed test to distinguish between hours and
5011 minutes in specified timezone.
5013 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
5015 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
5016 handling of default package. (generate): Removed confused comments
5017 and code about making Method and Field accessible.
5019 2004-09-25 Tom Tromey <tromey@redhat.com>
5022 * testsuite/libjava.compile/pr17500.java: New file.
5024 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
5025 Mark Wielaard <mark@klomp.org>
5027 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5028 * gnu/regexp/RETokenLookAhead.java: New file.
5030 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5031 * Makefile.in: Regenerated.
5033 2004-09-25 Michael Koch <konqueror@gmx.de>
5035 * java/io/ObjectStreamField.java:
5036 Removed unused import statement.
5038 2004-09-24 Tom Tromey <tromey@redhat.com>
5041 * testsuite/libjava.compile/pr15656.xfail: New file.
5042 * testsuite/libjava.compile/pr15656.java: new file.
5045 * testsuite/libjava.lang/pr16789.out: New file.
5046 * testsuite/libjava.lang/pr16789.java: New file.
5048 2004-09-24 Andrew Haley <aph@redhat.com>
5051 * testsuite/libjava.compile/AssertBug.java: New file.
5053 2004-09-24 Casey Marshall <csm@gnu.org>
5055 * java/util/PropertyPermissionCollection.java
5056 (implies): avoid infinite loop.
5058 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
5060 * javax/security/auth/PrivateCredentialPermission.java
5061 (PrivateCredentialPermission): added serialization UID
5064 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
5066 * gnu/java/rmi/server/UnicastServer.java
5067 (incomingMessageCall): Added code to handle Errors.
5068 * gnu/java/rmi/server/UnicastServerRef.java
5069 (incomingMessageCall): Added code to handle Errors.
5072 2004-09-24 Tom Tromey <tromey@redhat.com>
5074 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5075 (definedPackages): Likewise.
5077 2004-09-24 Michael Koch <konqueror@gmx.de>
5079 * java/io/ObjectInputStream.java:
5082 2004-09-24 Casey Marshall <csm@gnu.org>
5084 * java/io/ObjectInputStream.java (callReadMethod): re-throw
5085 `ClassNotFoundException'.
5087 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5089 * java/io/ObjectInputStream.java (readObject): Delegate instantation
5090 of Externalizable classes to ObjectStreamClass.
5091 * java/io/ObjectStreamClass.java (newInstance): New method to
5092 instantiate Externalizable (while ignoring the accessibility of
5093 the constructor). (constructor): New field to cache the constructor.
5095 2004-09-24 Mark Wielaard <mark@klomp.org>
5097 * java/net/URL.java (systemClassLoader): New static field.
5098 (getURLStreamHandler): Always use system/application classloader
5099 for finding URLStreamhandler. Remove unecessary instanceof checks.
5101 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
5104 (set): This method now matches the behaviour of the JDK.
5105 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5107 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
5109 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5111 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5113 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5114 Don't set authority if host isn't specified.
5116 2004-09-24 Michael Koch <konqueror@gmx.de>
5118 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5119 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5120 * gnu/java/nio/VMPipe.java,
5121 gnu/java/nio/VMSelector.java:
5123 * gnu/java/nio/natPipeImplEcos.cc,
5124 gnu/java/nio/natPipeImplPosix.cc,
5125 gnu/java/nio/natPipeImplWin32.cc:
5127 * gnu/java/nio/natSelectorImplEcos.cc,
5128 gnu/java/nio/natSelectorImplPosix.cc,
5129 gnu/java/nio/natSelectorImplWin32.cc:
5130 Ported to VMSelector.
5131 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5132 gnu/java/nio/VMSelector.java.
5133 * Makefile.in: Regenerated.
5135 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5137 * java/lang/StackTraceElement.java
5138 (className): Renamed field to declaringClass to be compatible
5139 with Sun serialization format.
5141 2004-09-23 Michael Koch <konqueror@gmx.de>
5143 * java/applet/AppletContext.java,
5144 java/applet/Applet.java,
5145 java/applet/AppletStub.java,
5146 java/applet/AudioClip.java:
5147 Jalopied and checkstyle clean.
5149 * javax/swing/JCheckBox.java: Reformated.
5150 (JCheckBox): Fixed all constructors.
5151 (isBorderPaintedFlat): New method.
5152 (setBorderPaintedFlat): New method.
5153 * javax/swing/JEditorPane.java
5154 (createEditorKitForContentType): Made public.
5155 (scrollToReference): Likewise.
5156 * javax/swing/JTextArea.java
5157 (setLineWrap): Fire property change.
5158 * javax/swing/JToggleButton.java
5159 (JToggleButton): New constructor.
5160 (JToggleButton): Simplified.
5161 * javax/swing/text/AttributeSet.java
5162 (FontAttribute): Renamed from FontCharacterAttribute.
5163 * javax/swing/text/JTextComponent.java
5164 (KeyBinBinding): Added javadoc.
5165 (JTextComponent): Likewise.
5166 (getAccessibleContext): Fixed javadoc.
5167 * javax/swing/text/View.java
5168 (View): Added javadoc.
5169 * javax/swing/text/TabableView.java: New file.
5170 * Makefile.am: Added javax/swing/text/TabableView.java.
5171 * Makefile.in: Regenerated.
5172 2004-09-23 Mark Wielaard <mark@klomp.org>
5174 * java/util/Collections.java
5175 (binarySearch(List, Object, Comparator)): Explicitly
5176 reverse direction in list iterator.
5177 (rotate): Just return when list is empty.
5179 2004-09-23 Tom Tromey <tromey@redhat.com>
5182 * testsuite/libjava.compile/pr17329.java: New file.
5185 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5188 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
5190 * Makefile.am: Run aclocal with -I ../config
5191 * acinclude.m4: Delete macros picked up from ../config and tidy.
5192 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5193 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5194 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5196 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
5198 * aclocal.m4: Regenerate with aclocal 1.9.2.
5199 * configure: Regenerate.
5200 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5201 * include/Makefile.in, testsuite/Makefile.in: Likewise.
5203 2004-09-22 David Daney <ddaney@avtrex.com>
5206 * java/net/URL.java (URL): Copy userInfo from context.
5207 (getUserInfo): Return cached userInfo if present.
5209 2004-09-22 Tom Tromey <tromey@redhat.com>
5212 * mauve-libgcj: Enable java.lang.Character tests.
5214 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
5216 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5218 (lib_org_ietf_jgss_la_LIBADD): Likewise.
5219 * Makefile.in: Regenerated.
5221 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
5223 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5224 * configure: Regenerate.
5225 * include/config.h.in: Likewise.
5226 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5230 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5231 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5236 2004-09-22 Tom Tromey <tromey@redhat.com>
5239 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5240 when comparing CRCs.
5241 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5243 (read()): New overload.
5245 2004-09-21 Tom Tromey <tromey@redhat.com>
5247 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5250 2004-09-21 Michael Koch <konqueror@gmx.de>
5252 * java/net/Socket.java
5253 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5255 2004-09-21 Casey Marshall <csm@gnu.org>
5257 * javax/crypto/MacSpi.java (clone): Provide meaningful
5260 2004-09-21 Tom Tromey <tromey@redhat.com>
5263 * Makefile.in: Rebuilt.
5264 * Makefile.am (MOSTLYCLEANFILES): Removed.
5265 (mostlyclean-local): Remove header files.
5267 2004-09-21 Casey Marshall <csm@gnu.org>
5269 * java/security/cert/X509CRLSelector.java:
5270 (match): remove unreachable try-catch clauses.
5271 Reported by: Dalibor Topic <robilad@kaffe.org>
5273 2004-09-21 Mark Wielaard <mark@klomp.org>
5275 * java/util/TreeMap.java (root): Don't initialize.
5276 (TreeMap(Comparator)): Call fabricateTree(0).
5277 (fabricateTree): Initialize root and size when count is 0.
5279 2004-09-21 Sven de Marothy <sven@physto.se>
5281 * java/nio/ByteBuffer.java (hashCode): Implemented.
5282 * java/nio/CharBuffer.java: Likewise.
5283 * java/nio/DoubleBuffer.java: Likewise.
5284 * java/nio/FloatBuffer.java: Likewise.
5285 * java/nio/LongBuffer.java: Likewise.
5286 * java/nio/IntBuffer.java: Likewise.
5287 * java/nio/ShortBuffer.java: Likewise.
5289 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
5291 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5293 2004-09-21 Michael Koch <konqueror@gmx.de>
5295 * javax/net/ssl/SSLServerSocket.java:
5296 Removed comment about "Do not edit this file, it's generated.".
5298 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
5300 Import the big Crypto/Jessie/Security merge from Classpath.
5302 * Makefile.am: Add imported files.
5303 * Makefile.in: Regenerate.
5305 2004-08-14 Casey Marshall <csm@gnu.org>
5307 The Big Crypto Merge of 2004.
5309 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5312 Files imported from GNU Crypto.
5313 * javax/crypto/BadPaddingException.java
5314 * javax/crypto/Cipher.java
5315 * javax/crypto/CipherInputStream.java
5316 * javax/crypto/CipherOutputStream.java
5317 * javax/crypto/CipherSpi.java
5318 * javax/crypto/EncryptedPrivateKeyInfo.java
5319 * javax/crypto/ExemptionMechanism.java
5320 * javax/crypto/ExemptionMechanismException.java
5321 * javax/crypto/ExemptionMechanismSpi.java
5322 * javax/crypto/IllegalBlockSizeException.java
5323 * javax/crypto/KeyAgreement.java
5324 * javax/crypto/KeyAgreementSpi.java
5325 * javax/crypto/KeyGenerator.java
5326 * javax/crypto/KeyGeneratorSpi.java
5327 * javax/crypto/Mac.java
5328 * javax/crypto/MacSpi.java
5329 * javax/crypto/Makefile.am
5330 * javax/crypto/NoSuchPaddingException.java
5331 * javax/crypto/NullCipher.java
5332 * javax/crypto/NullCipherImpl.java
5333 * javax/crypto/SealedObject.java
5334 * javax/crypto/SecretKey.java
5335 * javax/crypto/SecretKeyFactory.java
5336 * javax/crypto/SecretKeyFactorySpi.java
5337 * javax/crypto/ShortBufferException.java
5338 * javax/crypto/interfaces/DHKey.java
5339 * javax/crypto/interfaces/DHPrivateKey.java
5340 * javax/crypto/interfaces/DHPublicKey.java
5341 * javax/crypto/interfaces/PBEKey.java
5342 * javax/crypto/spec/DESKeySpec.java
5343 * javax/crypto/spec/DESedeKeySpec.java
5344 * javax/crypto/spec/DHGenParameterSpec.java
5345 * javax/crypto/spec/DHParameterSpec.java
5346 * javax/crypto/spec/DHPrivateKeySpec.java
5347 * javax/crypto/spec/DHPublicKeySpec.java
5348 * javax/crypto/spec/IvParameterSpec.java
5349 * javax/crypto/spec/PBEKeySpec.java
5350 * javax/crypto/spec/PBEParameterSpec.java
5351 * javax/crypto/spec/RC2ParameterSpec.java
5352 * javax/crypto/spec/RC5ParameterSpec.java
5353 * javax/crypto/spec/SecretKeySpec.java
5354 * javax/security/auth/AuthPermission.java
5355 * javax/security/auth/DestroyFailedException.java
5356 * javax/security/auth/Destroyable.java
5357 * javax/security/auth/Policy.java
5358 * javax/security/auth/PrivateCredentialPermission.java
5359 * javax/security/auth/RefreshFailedException.java
5360 * javax/security/auth/Refreshable.java
5361 * javax/security/auth/Subject.java
5362 * javax/security/auth/SubjectDomainCombiner.java
5363 * javax/security/auth/callback/Callback.java
5364 * javax/security/auth/callback/CallbackHandler.java
5365 * javax/security/auth/callback/ChoiceCallback.java
5366 * javax/security/auth/callback/ConfirmationCallback.java
5367 * javax/security/auth/callback/LanguageCallback.java
5368 * javax/security/auth/callback/NameCallback.java
5369 * javax/security/auth/callback/PasswordCallback.java
5370 * javax/security/auth/callback/TextInputCallback.java
5371 * javax/security/auth/callback/TextOutputCallback.java
5372 * javax/security/auth/callback/UnsupportedCallbackException.java
5373 * javax/security/auth/login/AccountExpiredException.java
5374 * javax/security/auth/login/AppConfigurationEntry.java
5375 * javax/security/auth/login/Configuration.java
5376 * javax/security/auth/login/CredentialExpiredException.java
5377 * javax/security/auth/login/FailedLoginException.java
5378 * javax/security/auth/login/LoginContext.java
5379 * javax/security/auth/login/LoginException.java
5380 * javax/security/auth/login/NullConfiguration.java
5381 * javax/security/auth/x500/X500PrivateCredential.java
5382 * javax/security/sasl/AuthenticationException.java
5383 * javax/security/sasl/AuthorizeCallback.java
5384 * javax/security/sasl/RealmCallback.java
5385 * javax/security/sasl/RealmChoiceCallback.java
5386 * javax/security/sasl/Sasl.java
5387 * javax/security/sasl/SaslClient.java
5388 * javax/security/sasl/SaslClientFactory.java
5389 * javax/security/sasl/SaslException.java
5390 * javax/security/sasl/SaslServer.java
5391 * javax/security/sasl/SaslServerFactory.java
5392 * org/ietf/jgss/ChannelBinding.java
5393 * org/ietf/jgss/GSSContext.java
5394 * org/ietf/jgss/GSSCredential.java
5395 * org/ietf/jgss/GSSException.java
5396 * org/ietf/jgss/GSSManager.java
5397 * org/ietf/jgss/GSSName.java
5398 * org/ietf/jgss/MessageProp.java
5399 * org/ietf/jgss/Oid.java
5400 * org/ietf/jgss/MessagesBundle.properties
5402 Files imported from Jessie <http://www.nongnu.org/jessie/>
5403 * javax/net/ServerSocketFactory.java
5404 * javax/net/SocketFactory.java
5405 * javax/net/VanillaServerSocketFactory.java
5406 * javax/net/VanillaSocketFactory.java
5407 * javax/net/ssl/HandshakeCompletedEvent.java
5408 * javax/net/ssl/HandshakeCompletedListener.java
5409 * javax/net/ssl/HostnameVerifier.java
5410 * javax/net/ssl/HttpsURLConnection.java
5411 * javax/net/ssl/KeyManager.java
5412 * javax/net/ssl/KeyManagerFactory.java
5413 * javax/net/ssl/KeyManagerFactorySpi.java
5414 * javax/net/ssl/ManagerFactoryParameters.java
5415 * javax/net/ssl/SSLContext.java
5416 * javax/net/ssl/SSLContextSpi.java
5417 * javax/net/ssl/SSLException.java
5418 * javax/net/ssl/SSLHandshakeException.java
5419 * javax/net/ssl/SSLKeyException.java
5420 * javax/net/ssl/SSLPeerUnverifiedException.java
5421 * javax/net/ssl/SSLPermission.java
5422 * javax/net/ssl/SSLProtocolException.java
5423 * javax/net/ssl/SSLServerSocket.java
5424 * javax/net/ssl/SSLServerSocketFactory.java
5425 * javax/net/ssl/SSLSession.java
5426 * javax/net/ssl/SSLSessionBindingEvent.java
5427 * javax/net/ssl/SSLSessionBindingListener.java
5428 * javax/net/ssl/SSLSessionContext.java
5429 * javax/net/ssl/SSLSocket.java
5430 * javax/net/ssl/SSLSocketFactory.java
5431 * javax/net/ssl/TrivialHostnameVerifier.java
5432 * javax/net/ssl/TrustManager.java
5433 * javax/net/ssl/TrustManagerFactory.java
5434 * javax/net/ssl/TrustManagerFactorySpi.java
5435 * javax/net/ssl/X509KeyManager.java
5436 * javax/net/ssl/X509TrustManager.java
5437 * javax/security/cert/Certificate.java
5438 * javax/security/cert/CertificateEncodingException.java
5439 * javax/security/cert/CertificateException.java
5440 * javax/security/cert/CertificateExpiredException.java
5441 * javax/security/cert/CertificateNotYetValidException.java
5442 * javax/security/cert/CertificateParsingException.java
5443 * javax/security/cert/X509CertBridge.java
5444 * javax/security/cert/X509Certificate.java
5446 2004-08-20 Casey Marshall <csm@gnu.org>
5448 * java/security/cert/X509CRLSelector.java: New file.
5449 * java/security/cert/X509CertSelector.java: New file.
5451 2004-09-15 Michael Koch <konqueror@gmx.de>
5453 * gnu/java/net/protocol/file/Handler.java
5454 (openConnection): Don't throw exception if host part for file: URI is
5455 present. setURL() keeps file: protocol if ftp: protocol is not
5458 2004-09-14 Richard Henderson <rth@redhat.com>
5460 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5461 value of sigsuspend.
5463 2004-09-12 Tom Tromey <tromey@redhat.com>
5465 * javax/naming/CompoundName.java (CompoundName): Don't check for
5466 separator in "flat" case.
5468 2004-09-12 Michael Koch <konqueror@gmx.de>
5470 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5471 AM_CONFIG_HEADER by AC_CONFIG_FILES.
5472 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5475 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
5478 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5479 handle in newly-allocated _Jv_Thread_t.
5480 (_Jv_ThreadDestroyData): Close thread handle.
5481 (_Jv_ThreadStart): Remove obsolete comment.
5482 Store handle of newly-created thread in _Jv_Thread_t.
5483 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5484 before including <windows.h>
5485 #define _Jv_HaveCondDestroy
5487 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
5489 * java/lang/natThread.cc (finalize_native): Destroy
5490 join conditional variable and mutex if these destroy
5491 operations are supported.
5493 2004-09-10 Dalibor Topic <robilad@kaffe.org>
5495 * gnu/java/net/protocol/file/Connection.java (permission): New field.
5496 (DEFAULT_PERMISSION): New constant.
5497 (Connection): Create a FilePermission with permission to read file.
5499 2004-09-10 Michael Koch <konqueror@gmx.de>
5501 * gnu/java/net/protocol/file/Connection.java
5502 (getLastModified): Moved around.
5503 (getPermission): Return stored permission.
5505 2004-09-10 Michael Koch <konqueror@gmx.de>
5507 * Makefile.in: Regenerate.
5509 2004-09-10 Michael Koch <konqueror@gmx.de>
5511 * Makefile.am: Reverted accidently commited stuff.
5512 * configure: Regenerated.
5514 2004-09-10 Michael Koch <konqueror@gmx.de>
5516 * gnu/java/net/protocol/file/Connection.java
5517 (lineSeparator): Made non-final.
5519 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5520 instead of StringBufferInputStream.
5522 2004-09-10 Michael Koch <konqueror@gmx.de>
5524 * gnu/java/net/protocol/file/Connection.java
5525 (connect): Handle file is a directory case.
5527 2004-09-10 Michael Koch <konqueror@gmx.de>
5530 (xlib_includes): Removed.
5531 (AM_CPPFLAGS): Renamed from INCLUDES.
5532 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5533 * Makefile.in: Regenerate.
5535 2004-09-09 Michael Koch <konqueror@gmx.de>
5537 * java/security/ProtectionDomain.java,
5538 * java/util/PropertyPermissionCollection.java:
5539 Fixed javadocs all over.
5541 2004-09-09 Sven de Marothy <sven@physto.se>
5543 Patch from David Gilbert <david.gilbert@object-refinery.com>
5544 * java/lang/Comparable.java: Fixed documentation errors.
5545 * java/util/Arrays.java: Likewise.
5547 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
5549 * java/net/Inet4Address.java
5550 (Inet4Address): Added comment to serialization UID.
5551 * java/text/Format.java
5552 (Format): Added comment to serialization UID.
5554 2004-09-09 Michael Koch <konqueror@gmx.de>
5556 * java/lang/System.java
5557 (err): Fixed javadoci to point to setErr() and not setOut().
5559 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
5561 (normalizePath): Added special case for windows systems.
5563 2004-09-09 Michael Koch <konqueror@gmx.de>
5566 (dupSeparator): Made private.
5567 (File(URI)): New constructor.
5568 (getParentFile): Fixed javadoc.
5569 (createTempFile): Reformated.
5570 (setReadOnly): Added comment.
5571 (deleteOnExit): Merged javadoc with classpath version.
5573 2004-09-09 Michael Koch <konqueror@gmx.de>
5575 * Makefile.am: Don't try to include deps.mk.
5576 * Makefile.in: Regenerated.
5578 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
5580 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5582 * configure: Rebuilt.
5584 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
5586 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5587 Changed pfn from static local to local.
5589 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
5590 H.J. Lu <hongjiu.lu@intel.com>
5593 * Makefile.am (GCJCOMPILE): Remove definition.
5594 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5595 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5596 * Makefile.in: Rebuilt.
5598 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
5600 * configure.ac (enable-gc-debug): Update help for new syntax.
5601 * configure: Regenerate.
5603 2004-09-03 David Daney <ddaney@avtrex.com>
5605 * include/mips-signal.h: Update copyright.
5607 2004-09-03 David Daney <ddaney@avtrex.com>
5609 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5610 * include/mips-signal.h: Added HANDLE_FPE support.
5612 2004-08-31 Michael Koch <konqueror@gmx.de>
5614 * javax/swing/plaf/basic/BasicTextAreaUI.java
5615 (create): New method.
5616 * javax/swing/text/DefaultHighlighter.java
5617 (DefaultHighlightPainter.debugRect): Removed.
5618 * javax/swing/text/StyleContext.java
5619 (DEFAULT_STYLE): New field.
5621 2004-08-31 Michael Koch <konqueror@gmx.de>
5623 * javax/swing/plaf/basic/BasicLookAndFeel.java
5624 (initComponentDefaults): Add keybindings for selection.backward and
5625 selection-forward for text components.
5626 * javax/swing/plaf/basic/BasicTextUI.java
5627 (paintSafely): Paint highlight only when something is actually
5629 * javax/swing/text/DefaultCaret.java
5630 (handleHighlight): New method.
5631 (setSelectionVisible): Don't do anything when nothing changes.
5633 (moveDot): Reimplemented. Handle highlight.
5634 (setDot): Set mark too. Handle highlight.
5635 (getSelectionPainter): New method.
5636 * javax/swing/text/DefaultEditorKit.java
5637 (defaultActions): Added new actions for text selection.
5638 * javax/swing/text/DefaultHighlighter.java
5639 (DefaultHighlightPainter): New inner class.
5640 (DefaultPainter): New field.
5641 (paint): Implemented.
5642 * javax/swing/text/PlainView.java
5643 (paint): Don't draw background here again.
5644 * javax/swing/text/Utilities.java
5645 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5646 (drawTabbedText): Likewise.
5648 2004-08-31 Graydon Hoare <graydon@redhat.com>
5650 * javax/swing/JComponent.java
5651 (resetKeyboardActions): Add null checks.
5653 2004-08-31 Graydon Hoare <graydon@redhat.com>
5655 * javax/swing/DefaultButtonModel.java:
5656 Skip group notification when no group is set.
5658 2004-08-31 Graydon Hoare <graydon@redhat.com>
5660 * javax/swing/JColorChooser.java:
5661 Make a couple inner classes static, for jikes.
5663 2004-08-31 Michael Koch <konqueror@gmx.de>
5665 * javax/swing/plaf/basic/BasicTextUI.java
5666 (RottView.modelToView): New method.
5667 (UpdateHandler): Renamed from EventHandler.
5668 (updateHandler): Renamed from eventHandler.
5669 (modelToView): Implemented.
5670 * javax/swing/text/AbstractDocument.java
5671 (BranchElement.getElement): Return null for non-existing indeces.
5672 (BranchElement.getElementIndex): Return 0 in some corner cases.
5673 * javax/swing/text/FieldView.java
5674 (modelToView): New method.
5675 * javax/swing/text/PlainView.java
5676 (modelToView): Made public.
5678 2004-08-31 Kim Ho <kho@redhat.com>
5680 * Makefile.am: New files.
5681 * Makefile.in: Regenerate.
5682 * gcj/Makefile.in: Regenerate.
5683 * include/Makefile.in: Regenerate.
5684 * java/awt/Color.java: Fix documentation.
5685 (RGBtoHSB): Use floats for conversions.
5686 * javax/swing/ButtonGroup.java: Run Jalopy.
5687 (setSelected): Reimplement.
5688 * javax/swing/DefaultButtonModel.java: Run Jalopy.
5689 (changeState): Let ButtonGroup know that the button
5691 * javax/swing/JColorChooser.java: Implement.
5692 * javax/swing/JLabel.java: Run Jalopy.
5693 * javax/swing/JSpinner.java: Run Jalopy.
5694 (setValue): New method.
5695 * javax/swing/JTabbedPane.java: Run Jalopy.
5696 (removeTabAt): Call correct remove method.
5697 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5698 (getPreviousValue): Compare minimum value.
5699 * javax/swing/Timer.java: Run Jalopy.
5700 (run): Comment out println.
5701 * javax/swing/ToolTipManager.java:
5702 (mouseMoved): Get new tooltip text for location.
5703 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5705 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5707 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5709 (setSelectedColor): Fire ChangeEvent.
5710 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5711 New file. Implement.
5712 * javax/swing/colorchooser/DefaultPreviewPanel.java:
5714 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5716 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5718 * javax/swing/plaf/basic/BasicArrowButton.java:
5719 (getArrow): Fix size of upward pointing button.
5720 * javax/swing/plaf/basic/BasicColorChooserUI.java:
5722 * javax/swing/plaf/basic/BasicSliderUI.java:
5723 (getWidthOfWidestLabel): Use preferred dimensions.
5724 (getHeightOfTallestLabel): Ditto.
5725 * javax/swing/plaf/basic/BasicSpinnerUI.java:
5727 (mousePressed): Disable changes to spinner if it is not enabled.
5728 * testsuite/Makefile.in: Regenerate.
5731 2004-08-31 Michael Koch <konqueror@gmx.de>
5733 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5734 javax/swing/plaf/basic/BasicTableUI.java:
5735 Added copyright notice.
5737 2004-08-31 Olga Rodimina <rodimina@redhat.com>
5739 * Makefile.am: Added new files.
5740 * Makefile.in: Regenerate.
5741 * javax/swing/ComboBoxEditor.java: Added javadocs.
5742 * javax/swing/ComboBoxModel.java: Likewise.
5743 * javax/swing/DefaultComboBoxModel.java: Implemented.
5744 * javax/swing/DefaultListCellRenderer.java: Added javadocs
5745 and ran through jalopy to fix formatting style.
5746 (getListCellRendererComponent): Use appropriate border
5747 if renderer has focus and use noFocusBorder when it doesn't.
5748 * javax/swing/JComboBox.java: Implemented.
5749 * javax/swing/JList.java:
5750 (locationToIndex): New Method. Implemented.
5751 (indexToLocation): New Method.
5752 * javax/swing/JPopupMenu.java:
5753 (visible): New field.
5754 (isVisible): Changed to use new field above.
5755 (setVisible): Likewise.
5756 * javax/swing/MutableComboBoxModel.java: Added javadocs.
5757 * javax/swing/plaf/basic/BasicArrowButton.java:
5758 (shadow): Changed default color to Color.gray.
5759 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5760 UI delegate for JComboBox.
5761 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5762 Popup menu containing list of JComboBox's items.
5763 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5764 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5765 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5766 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5767 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5768 (popupMenuWillBecomeVisible): Set selected path to the first
5769 element only if it is of type MenuElement. Also fix formatting
5771 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
5774 2004-08-31 Michael Koch <konqueror@gmx.de>
5776 * javax/swing/text/AbstractDocument.java
5777 (createBranchElement): Use new constructor of BranchElement.
5778 (createLeafElement): Renamed arguments.
5779 (getRootElements): Implemented.
5780 (BranchElement.start): Removed.
5781 (BranchElement.end): Likewise.
5782 (BranchElement.BranchElement): Fixed arguments.
5783 (BranchElement.getEndOffset): Reimplemented.
5784 (BranchElement.getStartOffset): Likewis.
5785 * javax/swing/text/DefaultCaret.java
5786 (paint): Draw simple vertical line as caret instead of a rectangle.
5787 * javax/swing/text/JTextComponent.java
5788 (setText): Use doc directly.
5789 * javax/swing/text/PlainView.java
5790 (nextTabStop): Implemented.
5791 * javax/swing/text/Utilities.java
5792 (drawTabbedText): nextTabStop() returns an absolute x position.
5793 (getTabbedTextWidth): Likewise.
5795 2004-08-31 Graydon Hoare <graydon@redhat.com>
5797 * java/awt/Component.java
5798 (isFocusTraversable): Predicate on isLightweight()
5799 (setFocusable): Set isFocusTraversableOverridden.
5800 (requestFocus): Predicate peer dispatch on !isLightweight()
5801 (requestFocusInWindow): Likewise.
5802 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
5803 * java/awt/Container.java
5804 (dispatchEventImpl): Predicate on event mask.
5805 (LightweightDispatcher): Remove focus machinery.
5806 * java/awt/DefaultFocusTraversalPolicy.java
5807 (accept): Expand predicate to include isFocusable().
5808 * java/awt/DefaultKeyboardFocusManager.java:
5809 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
5810 * java/awt/KeyboardFocusManager.java
5811 (redispatchEvent): Synchronize on event to prevent feedback.
5812 * javax/swing/AbstractButton.java
5813 (ButtonFocusListener): Remove class.
5814 (init): Set focusPainted, focusable.
5815 * javax/swing/ActionMap.java (get): Check parent for null.
5816 * javax/swing/InputMap.java (get): Likewise.
5817 * javax/swing/JComponent.java
5818 (inputMap_whenFocused): New InputMap.
5819 (inputMap_whenAncestorOfFocused): Likewise.
5820 (inputMap_whenInFocusedWindow): Likewise.
5821 (getActionForKeyStroke): Rewrite.
5822 (getConditionForKeystroke): Likewise.
5823 (ActionListenerProxy): New private class.
5824 (setInputMap): Implement.
5825 (getInputMap): Likewise.
5826 (setActionMap): Likewise.
5827 (getActionMap): Likewise.
5828 (processComponentKeyEvent): New empty method.
5829 (processKeyEvent): Implement.
5830 (processKeyBinding): Likewise.
5831 (resetKeyboardActions): Rewrite.
5832 * javax/swing/KeyStroke.java: Rewrite.
5833 * javax/swing/SwingUtilities.java
5834 (notifyAction): Implement.
5835 (replaceUIActionMap): Likewise.
5836 (replaceUIInputMap): Likewise.
5837 * javax/swing/plaf/basic/BasicButtonListener.java
5838 (focusGained): Implement.
5839 (focusLost): Repaint if focusPainted().
5840 (installKeyboardActions): Install pressed / released actions.
5841 (uninstallKeyboardActions): Implement.
5842 * javax/swing/plaf/basic/BasicButtonUI.java
5843 (focusColor): New field.
5844 (installDefaults): Load focus color, install input map.
5845 (installKeyboardActions): Implement.
5846 (uninstallKeyboardActions): Likewise.
5847 (paintFocus): Rewrite.
5848 * javax/swing/plaf/basic/BasicLookAndFeel.java
5849 (Button.focus): New default, midPurple.
5850 * javax/swing/plaf/basic/BasicTextUI.java
5852 (installUI): Get doc from kit, load defaults.
5853 (getKeymapName): Implement.
5854 (createKeymap): Likewise.
5855 (installKeyboardActions): Likewise.
5856 (getInputMap): Likewise.
5857 (getActionMap): Likewise.
5858 (createActionMap): Likewise.
5859 * javax/swing/text/AbstractDocument.java
5860 (getStartPosition): Implement.
5861 (getEndPosition): Likewise.
5862 * javax/swing/text/DefaultEditorKit.java
5863 (CopyAction): New class.
5864 (CutAction): Likewise.
5865 (DefaultKeyTypedAction): Likewise.
5866 (InsertBreakAction): Likewise.
5867 (InsertContentAction): Likewise.
5868 (InsertTabAction): Likewise.
5869 (PasteAction): Likewise.
5870 (defaultActions): New static table.
5871 (createCaret): Implement.
5872 (getActions): Likewise.
5873 * javax/swing/text/JTextComponent.java
5874 (KeymapWrapper): New private class.
5875 (KeymapActionMap): Likewise.
5876 (DefaultKeymap): New class.
5877 (keymaps): New static table.
5878 (keymap): New field.
5879 (getKeymap): Implement.
5880 (removeKeymap): Likewise.
5881 (addKeymap): Likewise.
5882 (setKeymap): Likewise.
5883 (loadKeymap): Likewise.
5884 (getActions): Likewise.
5885 (margin): New field.
5886 (JTextComponent): Build and install default keymap.
5887 * javax/swing/text/TextAction.java
5888 (textAction): Call super properly.
5889 (getTextComponent): Implement.
5890 * javax/swing/text/Utilities.java
5891 (drawTabbedText): Adjust position by ascent.
5893 2004-08-31 David Jee <djee@redhat.com>
5897 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5898 (setEnabled): Make it a native method.
5899 * java/awt/DefaultKeyboardFocusManager.java
5900 (postProcessKeyEvent): Only post event if the menu item
5902 * java/awt/MenuItem.java:
5903 Private field 'enabled' should be true by default.
5904 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5905 (setEnabled): New function.
5907 2004-08-31 David Jee <djee@redhat.com>
5911 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5912 (nativeSetHelpMenu): New native method declaration.
5913 (addHelpMenu): Call nativeSetHelpMenu().
5915 * java/awt/MenuBar.java
5916 (setHelpMenu): Call addNotify() on the new help menu.
5917 (add): Call addNotify() on the new menu.
5918 (addNotify): Set the help menu if one exists.
5919 * java/awt/peer/MenuBarPeer.java
5921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5922 (nativeSetHelpMenu): New method.
5924 2004-08-31 Graydon Hoare <graydon@redhat.com>
5926 * Makefile.am: Add new files.
5927 * Makefile.in: Regenerate.
5928 * javax/swing/Box.java: Fix setting of layout in ctor.
5929 * javax/swing/JScrollPane.java: Scroll headers as well.
5930 * javax/swing/JTable.java: Reimplement.
5931 * javax/swing/JViewPort.java: Only add non-null children.
5932 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
5933 * javax/swing/Timer.java: Fix stopping null waker.
5934 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
5935 * javax/swing/plaf/basic/BasicTableUI.java: New file.
5936 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
5937 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
5938 * javax/swing/table/DefaultTableModel.java: Clean up.
5939 * javax/swing/table/JTableHeader.java: Implement.
5941 2004-08-31 Mark Wielaard <mark@klomp.org>
5943 * javax/swing/JSpinner.java (getChangeListeners): Remove double
5946 2004-08-31 Mark Wielaard <mark@klomp.org>
5948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
5949 Declare variables at top of functions/block.
5950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
5952 2004-08-31 Mark Wielaard <mark@klomp.org>
5954 * java/lang/Rectangle.java (intersects): Check r.width and r.height
5957 2004-08-31 Michael Koch <konqueror@gmx.de>
5959 * javax/swing/text/PlainView.java
5960 (selectedColor): New field.
5961 (unselectedColor): Likewise.
5963 (updateMetrics): New method.
5964 (lineToRect): Likewise.
5965 (modelToView): Likewise.
5966 (drawSelectedText): Use color from JTextComponent ad draw with
5968 (drawUnselectedText): Likewise.
5969 (paint): Initialize helper fields.
5970 * javax/swing/text/View.java
5971 (getChildAllocation): New method.
5972 (getViewIndex): Likewise.
5973 (getToolTipText): Likewise.
5975 2004-08-31 Michael Koch <konqueror@gmx.de>
5977 * javax/swing/text/Utilities.java
5978 (drawTabbedText): Reimplemented.
5979 (getTabbedTextWidth): Likewise.
5981 2004-08-31 Michael Koch <konqueror@gmx.de>
5983 * javax/swing/plaf/basic/BasicTextUI.java
5984 (installDefaults): Install caret and highlighter.
5985 (modelToView): Use Bias.Forward when calling sibling.
5986 * javax/swing/text/AbstractDocument.java
5987 (ElementEdit): Implements DocumentEvent.ElementChange.
5988 (ElementEdit.ElementEdit): New method.
5989 (ElementEdit.getChildrenAdded): Likewise.
5990 (ElementEdit.getChildrenRemoved): Likewise.
5991 (ElementEdit.getElement): Likewise.
5992 (ElementEdit.getIndex): Likewise.
5993 * javax/swing/text/DefaultCaret.java
5995 (textComponent): Renamed from parent, made private.
5996 (selectionVisible): Renamed from vis_sel, made private.
5997 (blinkRate): Renamed from blink, made private.
5998 (magicCaretPosition): Renamed from magic, made private.
5999 (visible): Renamed from vis, made private.
6000 (dot): Made private.
6002 (deinstall): Remove as MouseMotionListener.
6003 (install): Initialize textComponent first. Add as MouseMotionListener.
6004 (paint): Reimplemented.
6005 * javax/swing/text/JTextComponent.java
6006 (setCaret): Deinstall old caret, install new one and fire property
6007 change after setting property.
6008 (setHighlighter): Deinstall old highlighter, install new one and fire
6009 property change after setting property.
6010 (setCaretColor): Fire property change after setting property.
6011 (setDisabledTextColor): Likewise.
6012 (setSelectedTextColor): Likewise.
6013 (setSelectionColor): Likewise.
6014 (modelToView): New method.
6016 2004-08-31 Michael Koch <konqueror@gmx.de>
6018 * javax/swing/text/AbstractDocument.java
6019 (getText): Simplified.
6020 * javax/swing/text/Segment.java
6021 (current): New field.
6022 (current): Reimplemented.
6024 (getIndex): Likewise.
6027 (previous): Likewise.
6028 (setIndex): Likewise.
6030 2004-08-31 Michael Koch <konqueror@gmx.de>
6032 * javax/swing/plaf/basic/BasicButtonUI.java
6033 (defaultTextIconGap): Made protected.
6034 (defaultTextShiftOffset): Likewise.
6035 (textShiftOffset): New field.
6036 (clearTextShiftOffset): New method.
6037 (getTextShiftOffset): Likewise.
6038 (setTextShiftOffset): Likewise.
6040 2004-08-31 Michael Koch <konqueror@gmx.de>
6042 * javax/swing/plaf/basic/BasicTextUI.java
6043 (installUI): Add eventHandler as property listener.
6044 (uninstallUI): remove eventHandler as propert listener.
6045 (installDefaults): Added comment.
6046 (installListeners): Likewise.
6047 (installKeyboardActions): Likewise.
6048 (uninstallDefaults): Likewise.
6049 (uninstallListeners): Likewise.
6050 (uninstallKeyboardActions): Likewise.
6052 2004-08-31 Michael Koch <konqueror@gmx.de>
6054 * javax/swing/text/AbstractDocument.java:
6055 Fixed some typos in comments.
6056 (insertString): Reimplemented.
6058 (replace): New method.
6059 (children): Dont use fully qualified class name.
6060 (DefaultDocumentEvent.offset): Renamed from off.
6061 (DefaultDocumentEvent.length): Renamed from len.
6062 (DefaultDocumentEvent.type): New field.
6063 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6064 (DefaultDocumentEvent.getType): Implemented.
6066 2004-08-31 Michael Koch <konqueror@gmx.de>
6068 * javax/swing/plaf/basic/BasicTextUI.java
6069 (RootView.textComponent): Removed.
6070 (RootView.RootView): Don't initialize textComponent.
6071 (RootView.getViewFactory): New method.
6072 (EventHandler): New inner class.
6073 (rootView): Initialize at instance creation.
6074 (eventHandler): New field.
6075 (installUI): Don't create view hierarchy directly,
6076 call modelChanged() instead.
6077 (modelChanged): New method.
6078 * javax/swing/text/JTextComponent.java
6079 (setDocument): Fire property change event.
6081 2004-08-31 Michael Koch <konqueror@gmx.de>
6083 * javax/swing/plaf/basic/BasicTextUI.java
6084 (RootView.paint): Removed debug output.
6085 (paintSafely): Draw highlighter before text.
6086 (paintBackground): Use background color of text component.
6087 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6090 2004-08-31 Michael Koch <konqueror@gmx.de>
6092 * javax/swing/plaf/basic/BasicToolBarUI.java
6093 (BasicToolBarUI): Fixed arguments for constructor.
6094 (createUI): Fixed creation of object.
6096 2004-08-31 Michael Koch <konqueror@gmx.de>
6098 * javax/swing/DefaultListSelectionModel.java
6099 (fireValueChanged): Renamed from fireSelectionValueChanged,
6102 2004-08-31 Michael Koch <konqueror@gmx.de>
6104 * javax/swing/text/TabSet.java
6105 (TabSet): Implements java.io.Serializable.
6106 * javax/swing/text/TabStop.java
6107 (TabStop): Implements java.io.Serializable.
6108 (TabStop): Made public.
6110 2004-08-31 Michael Koch <konqueror@gmx.de>
6112 * javax/swing/JComponent.java
6113 (setUI): Fire PropertyChange.
6114 * javax/swing/JLabel.java
6115 (text): Renamed from labelText.
6116 (horizontalAlignment): New default vlaue.
6117 (icon): Renamed from activeIcon.
6118 (displayedMnemonic): Renamed from mnemonicKey, added default value.
6119 (displayedMnemonicIndex): Renamed from underlineChar.
6120 (setDisplayedMnemonic): Reimplemented.
6121 * javax/swing/JRadioButton.java
6122 (JRadioButton): New constructors.
6123 * javax/swing/JTextField.java
6124 (JTextField): Throw exception if colums < 0, initialitialz
6125 this.columns directly and initialize document with text conditionally.
6127 2004-08-31 Michael Koch <konqueror@gmx.de>
6129 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6130 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6131 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6132 * javax/swing/text/FieldView.java
6133 (paint): Just call super method for now.
6134 * Makefile.am: Added new files.
6135 * Makefile.in: Regenerated.
6137 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
6139 * javax/swing/AbstractSpinnerModel.java,
6140 javax/swing/JSpinner.java,
6141 javax/swing/SpinnerNumberModel.java,
6142 javax/swing/plaf/basic/BasicSpinnerUI.java:
6144 * javax/swing/plaf/basic/BasicLookAndFeel.java
6145 (initClassDefaults): Added defaults for BasicSpinnerUI.
6147 2004-08-31 Michael Koch <konqueror@gmx.de>
6149 * Makefile.am: Added new files.
6150 * Makefile.in: Regenerated.
6152 2004-08-31 Michael Koch <konqueror@gmx.de>
6154 * javax/swing/TransferHandler.java,
6155 javax/swing/plaf/basic/ComboPopup.java: New files
6156 * Makefile.am: Added javax/swing/TransferHandler.java and
6157 javax/swing/plaf/basic/ComboPopup.java
6158 * Makefile.in: Regenerated.
6160 2004-08-31 Roman Kennke <roman@ontographics.com>
6162 * javax/swing/text/Utilities.java: New file.
6164 2004-08-31 Michael Koch <konqueror@gmx.de>
6166 * Makefile.am: Added javax/swing/text/Utilities.java.
6167 * Makefile.in: Regenerated.
6169 2004-08-31 Graydon Hoare <graydon@redhat.com>
6171 * javax/swing/text/SimpleAttributeSet.java: New file.
6172 * javax/swing/text/StyleConstants.java: New file.
6173 * javax/swing/text/StyleContext.java: New file.
6174 * javax/swing/text/TabSet.java: New file.
6175 * javax/swing/text/TabStop.java: New file.
6176 * javax/swing/text/AbstactDocument.java:
6177 (AbstractElement): Implement attribute support.
6178 * javax/swing/text/AttributeSet.java
6179 (NameAttribute): New static field.
6180 (ResolveAttribute): New static field.
6181 * Makefile.am: Update for new files.
6182 * Makefile.in: Regenerate.
6184 2004-08-31 Craig Black <craig.black@aonix.com>
6186 * gnu/java/awt/peer/gtk/GdkGraphics.java
6187 (drawImage): Add support for scaling pixmaps.
6188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6189 (copyAndScalePixmap): New native method.
6191 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6194 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
6195 type-punning compiler warnings using unions.
6196 (throw): Replace bzero with memset.
6198 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6199 Thomas Fitzsimmons <fitzsim@redhat.com>
6201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6202 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
6203 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6205 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6207 2004-08-31 Mark Wielaard <mark@klomp.org>
6209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6210 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6211 and stdlib.h, not gtkpeer.h.
6212 (*vm): New static variable.
6213 (areaPreparedID): Make static.
6214 (areaUpdatedID): Likewise.
6215 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6216 (area_prepared): Likewise.
6217 (area_updated): Likewise.
6219 (initStaticState): Initialize *vm javaVM.
6220 (pumpBytes): Use given env, not global gdk_env.
6222 2004-08-31 Mark Wielaard <mark@klomp.org>
6224 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6227 2004-08-31 Sven de Marothy <sven@physto.se>
6229 * java/awt/geom/CubicCurve2D.java: Reindent.
6230 (contains): Implemented.
6231 (intersects): Implemented.
6232 * java/awt/geom/QuadCurve2D.java: Likewise.
6233 * java/awt/geom/GeneralPath.java: Reindent and document.
6234 Fully (re)implemented using separate xpoints and ypoints
6236 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6238 2004-08-31 Michael Koch <konqueror@gmx.de>
6240 * javax/swing/JMenuItem.java
6241 (getMenuDragMouseListeners): New method.
6242 (getMenuKeyListeners): Likewise.
6244 2004-08-31 Michael Koch <konqueror@gmx.de>
6246 * javax/swing/AbstractButton.java
6247 (model): Made protected.
6248 (actionListener): Likewise.
6249 (changeListener): Likewise.
6250 (itemListener): Likewise.
6251 (multiClickThreshhold): New field.
6252 (getActionListeners): New method.
6253 (getChangeListeners): Likewise.
6254 (getItemListeners): Likewise.
6255 (fireItemStateChanged): Simplified implementation.
6256 (fireActionPerformed): Likewise.
6257 (fireStateChanged): Likewise.
6258 (getMultiClickThreshhold): New method.
6259 (setMultiClickThreshhold): Likewise.
6261 2004-08-31 Tom Tromey <tromey@redhat.com>
6263 * java/awt/image/Kernel.java (clone): Use super.clone().
6265 2004-08-31 David Jee <djee@redhat.com>
6268 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6269 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6270 (nativeSetIconImageFromData): New native method declaration.
6271 (setIconImage): Handle images not produced from GdkPixbufDecoder.
6272 * gnu/java/awt/peer/gtk/GtkImage.java
6273 (getPixelCache): New method.
6274 (getColorModel): New method.
6275 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6276 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6277 (free_pixbuf_data): New helper function.
6278 (nativeSetIconImageFromData): New function.
6280 2004-08-31 Graydon Hoare <graydon@redhat.com>
6283 * javax/swing/JLayeredPane.java
6284 (setLayer): Permit changing layer after addition.
6285 (setPosition): Permit over-length positions.
6286 (layerToRange): Compare intValue()s.
6287 * javax/swing/Box.java (createHorizontalBox): Implement.
6288 (createRigidArea): Likewise.
6289 (createVerticalBox): Likewise.
6291 2004-08-31 Kim Ho <kho@redhat.com>
6293 * java/awt/Component.java:
6294 (processMouseEvent): Consume event after
6295 listeners process it.
6296 (processMouseMotionEvent): ditto.
6297 (processMouseWheelEvent): ditto.
6298 * java/awt/Container.java:
6299 (acquireComponentForMouseEvent):
6300 Do not dispatch to events that have been
6301 removed from the Container.
6302 (handleEvent): Consume the MouseEvents.
6303 * javax/swing/RepaintManager.java:
6304 (paintDirtyRegions): Do not add to list of
6305 damaged areas if the component has no root.
6307 2004-08-31 Michael Koch <konqueror@gmx.de>
6309 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6311 2004-08-31 Mark Wielaard <mark@klomp.org>
6313 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6314 null when a MissingResourceException is thrown. Should never happen.
6316 2004-08-31 Mark Wielaard <mark@klomp.org>
6318 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6319 when argument is null.
6321 2004-08-31 Mark Wielaard <mark@klomp.org>
6323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6324 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6325 Define hid at start of function.
6326 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6329 2004-08-31 Mark Wielaard <mark@klomp.org>
6331 * gnu/java/awt/EmbeddedWindow.java: Reindent.
6332 * javax/swing/JButton.java: Reindent.
6333 * javax/swing/JCheckBox.java: Reindent.
6335 2004-08-31 Mark Wielaard <mark@klomp.org>
6337 * Makefile.am (gtk_c_source_files): Added
6338 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6339 (gtk_awt_peer_sources): Added
6340 gnu/java/awt/peer/gtk/GThreadMutex.java and
6341 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6342 * Makefile.in: Regenerated.
6344 2004-08-31 Archie Cobbs <archie@dellroad.org>
6346 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6348 2004-08-31 Steven Augart <augart@watson.ibm.com>
6350 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
6351 Added jfieldID, jmethodID.
6353 2004-08-31 Mark Wielaard <mark@klomp.org>
6355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6356 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6357 gdk_env before calling any gdk or gtk function.
6359 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6360 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6361 (run): Set gtkInitCalled.
6363 2004-08-31 Steven Augart <augart@watson.ibm.com>
6365 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
6366 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6369 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6370 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
6372 (init_glib_threads): New function.
6374 2004-08-31 Mark Wielaard <mark@klomp.org>
6376 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6377 PRIORITY when not already defined in header file.
6379 2004-08-31 Mark Wielaard <mark@klomp.org>
6381 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6382 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6384 2004-08-31 Steven Augart <augart@watson.ibm.com>
6386 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6387 Implemented missing functions for GTK2.
6388 Added error handling.
6389 Renamed static functions out of the g_ namespace.
6390 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
6391 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6392 Rewrote global-reference code.
6393 Eliminated cascading errors.
6394 (mutex_trylock_jni_impl) Fully implemented.
6395 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6397 (setup_cache) New function.
6398 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6399 bug where they were not unlocking the GMutex associated with the
6400 condition variable during the wait on that condition variable.
6402 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6403 native/jni/gtk-peer/gthread-jni.c,
6404 native/jni/gtk-peer/gthread-jni.h
6405 (g_thread_jni_functions): Renamed to ...
6406 (portable_native_sync_jni_functions): this name.
6407 (gdk_vm): Renamed to...
6408 (the_vm): this name.
6410 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6411 (gdk_vm): Removed duplicate definition.
6412 (gtkInit): Removed stray message to stdout.
6413 (gtkInit): Use g_malloc and g_free instead of malloc and free.
6414 (gtkInit): Fix a const assignment bug.
6415 (gtkInit): Simplified code.
6417 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6418 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6419 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6420 gnu/java/awt/peer/gtk/GThreadMutex.java:
6423 2004-08-31 Mark Wielaard <mark@klomp.org>
6425 * javax/swing/Box.java: Put FIXME comment above class declaration.
6426 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6427 * javax/swing/JCheckBox.java: Likewise.
6428 * javax/swing/JDialog.java: Likewise.
6429 * javax/swing/JRadioButton.java: Likewise.
6430 * javax/swing/JToggleButton.java: Likewise.
6431 * javax/swing/UIManager.java: Likewise.
6432 * javax/swing/border/TitledBorder.java: Likewise.
6433 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6434 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6435 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6436 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6437 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6438 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6439 * javax/swing/text/JTextComponent.java: Likewise.
6441 2004-08-31 David Jee <djee@redhat.com>
6444 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6445 (setIconImage): Add a FIXME for unhandled cases.
6447 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6450 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6451 getModifiers. Replace old button masks with new ones.
6452 * gnu/awt/xlib/XEventLoop.java: Likewise.
6453 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6454 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6455 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6456 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6457 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6458 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6459 * java/awt/Component.java: Replace old modifier masks with new
6461 * java/awt/Container.java: Call getModifiersEx, not
6463 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
6465 * javax/swing/JMenuItem.java: Replace old button masks with new
6467 * javax/swing/KeyStroke.java: Call getModifiersEx, not
6469 * javax/swing/SwingUtilities.java: Likewise.
6470 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6471 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6473 mask macros with new ones.
6474 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6475 macros with new ones representing new masks.
6477 2004-08-31 Craig Black <craig.black@aonix.com>
6479 * gnu/java/awt/peer/gtk/GdkGraphics.java
6480 (drawRoundRect): Implemented.
6481 (fillRoundRect): Implemented.
6482 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6483 (drawRoundRect): Reimplemented to match GdkGraphics.
6484 (fillRoundRect): Reimplemented to match GdkGraphics.
6486 2004-08-31 Mark Wielaard <mark@klomp.org>
6488 * Makefile.in: Regenerated.
6490 2004-08-31 Michael Koch <konqueror@gmx.de>
6492 * gnu/java/awt/EmbeddedWindow.java
6493 (addNotify): Use AccessController to allow execution of privileged
6496 2004-08-31 Michael Koch <konqueror@gmx.de>
6498 * gnu/java/awt/EmbeddedWindow.java
6500 (addNotify): Set peer via reflection.
6501 (setWindowPeer): Removed.
6502 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6503 * Makefile.am (nat_source_files):
6504 Removed gnu/java/awt/natEmbeddedWindow.cc.
6506 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6508 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
6509 and gnu/java/security/action/SetAccessibleAction.java.
6511 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6513 * gnu/java/security/action/GetPropertyAction.java (setParameters):
6514 Renamed from 'setName'. New 2-argument form with default value.
6515 (run): Pass default 'value' parameter to System.getProperty().
6516 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6519 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6521 * gnu/java/security/action/GetPropertyAction.java: New class.
6522 * gnu/java/security/action/SetAccessibleAction.java: New class.
6524 2004-08-31 David Jee <djee@redhat.com>
6526 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6527 (setIconImage): Check if image is null.
6529 2004-08-31 David Jee <djee@redhat.com>
6531 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6532 (create): Set the icon image.
6533 (nativeSetIconImage): New native method declaration.
6534 (setIconImage): Implement.
6535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6536 (nativeSetIconImage): New function.
6538 2004-08-31 Dalibor Topic <robilad@kaffe.org>
6540 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6541 (filenameFilterCallback): Declare local variable accepted before use.
6543 2004-08-31 Dalibor Topic <robilad@kaffe.org>
6545 * gnu/java/awt/ComponentDataBlitOp.java:
6548 2004-08-31 Tom Tromey <tromey@redhat.com>
6550 * gnu/java/awt/peer/GLightweightPeer.java,
6551 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6552 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6553 javax/swing/JScrollPane.java: Removed
6556 2004-08-31 David Jee <djee@redhat.com>
6558 * java/awt/DefaultKeyboardFocusManager.java
6559 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6560 event. Fix shift modifier checking.
6561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6562 (accel_attach): Remove.
6563 (setupAccelGroup): Remove calls to accel_attach.
6565 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6567 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6568 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6570 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6572 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6573 * Makefile.in: Regenerate.
6574 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6575 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6576 (create(String)): New method.
6577 (create): Call new create method.
6578 (getArgs): Remove method.
6579 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6580 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6581 (nativeCreate): Rename to create.
6582 (gtkSetLabel): Rename to gtkButtonSetLabel.
6583 (gtkToggleButtonSetActive): New method.
6584 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6585 (setState): Replace set call with gtkToggleButtonSetActive.
6586 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6587 (getArgs): Remove method.
6588 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6589 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6590 (gtkWidgetSetSensitive): New method.
6591 (gtkWidgetSetParent): Likewise.
6592 (GtkComponentPeer): Call setParent, setComponentBounds and
6593 setVisibleAndEnabled.
6594 (setParent): New method.
6595 (setComponentBounds): New method.
6596 (setVisibleAndEnabled): New method.
6597 (setEnabled): Call gtkWidgetSetSensitive.
6598 (getArgs): Remove method.
6599 Remove all set methods.
6600 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6601 gtkWindowSetModal, setTitle and setResizable.
6602 (getArgs): Remove method.
6603 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6604 (setComponentBounds): New method.
6605 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6606 Replace set call with gtkWindowSetResizable.
6607 (getArgs): Remove method.
6608 (create): Call setTitle and setResizable.
6609 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6610 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6611 (gtkWindowSetTitle): New method.
6612 (gtkWindowSetResizable): New method.
6613 (gtkWindowSetModal): New method.
6614 (setParent): New method.
6615 (setVisibleAndEnabled): New method.
6616 (getArgs): Remove method.
6617 (setTitle): Call gtkWindowSetTitle.
6618 (setResizable): Call gtkWindowSetResizable.
6619 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6620 and off locking instrumentation.
6622 2004-08-31 Kim Ho <kho@redhat.com>
6624 * Makefile.am: Add new file.
6625 * Makefile.in: Regenerate.
6626 * gcj/Makefile.in: Regenerate
6627 * include/Makefile.in:
6628 * java/awt/Container.java:
6629 (acquireComponentForMouseEvent): Respect
6630 the event mask when looking for candidate.
6631 * javax/swing/JComponent.java:
6632 Remove toolTip field.
6633 (createToolTip): Create a tooltip on demand.
6634 (setToolTipText): Register with the ToolTipManager.
6635 (getToolTipText(MouseEvent)): Return getToolTipText().
6636 * javax/swing/JToolTip.java: Implement.
6637 * javax/swing/Timer.java: Jalopy.
6638 (restart): Call stop, then start.
6639 (stop): Interrupt the timer rather than wait for
6640 the timer to come to a stop naturally.
6641 * javax/swing/ToolTipManager.java: Implement.
6642 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6643 Change ToolTip.background color.
6644 * javax/swing/plaf/basic/BasicToolTipUI.java:
6646 * testsuite/Makefile.in: Regenerate
6648 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
6650 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6651 constructor param comments.
6653 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6655 * java/awt/Component.java: Document AWT 1.0 event handler
6658 2004-08-31 Roman Kennke <roman@ontographics.com>
6660 * javax/swing/Box.java:
6661 (createGlue): Implemented
6662 (createHorizontalGlue): Implemented
6663 (createHorizontalStrut): Implemented
6664 (createVerticalGlue): Implemented
6665 (createVerticalStrut): Implemented
6667 2004-08-31 David Jee <djee@redhat.com>
6669 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6670 (GtkChoicePeer): Do not automatically select first item.
6671 (getHistory): Remove.
6672 (nativeGetSelected): New method.
6673 (nativeRemoveAll): New method.
6674 (add): Use nativeGetSelected() instead of getHistory().
6676 (removeAll): Call nativeRemoveAll().
6677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6678 (create): Migrate to GtkComboBox.
6680 (nativeAdd): Likewise.
6681 (nativeRemove): Likewise.
6683 (nativeRemoveAll): New method.
6684 (nativeGetSelected): New method.
6685 (selection_changed): New method.
6686 (getHistory): Remove.
6687 (item_activate): Remove.
6688 (item_removed): Remove.
6689 (connect_choice_item_selectable_hook): Remove.
6691 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6693 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6694 variable in setEditable call.
6696 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6697 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6698 (gtkWidgetSetBackground): New method.
6699 (gtkWidgetSetForeground): Likewise.
6700 (create): Set peer's editable state based on awtComponent's.
6702 * java/awt/Button.java (Button()): Use empty string rather than
6703 null in no-label constructor.
6705 2004-08-31 Roman Kennke <roman@ontographics.com>
6707 * javax/swing/BoxLayout.java: Reimplement.
6709 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6711 * gnu/java/awt/peer/gtk/GdkGraphics.java,
6712 gnu_java_awt_peer_gtk_GdkGraphics.c
6713 (initState(GtkComponentPeer)): Don't return array of colour
6715 (GdkGraphics(int,int)): Set default font to size 12.
6716 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6717 component's foreground colour.
6718 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6719 gnu_java_awt_peer_gtk_GdkGraphics2D.c
6720 (initState(GtkComponentPeer)): Don't return array of colour
6722 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6723 colours to component's colours.
6724 (current_colors_of_widget): Remove function.
6725 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6726 Return a new graphics object.
6727 * java/awt/Font.java (toString): Fix format.
6728 * java/awt/Graphics.java (toString): Likewise.
6730 2004-08-31 Craig Black <craig.black@aonix.com>
6732 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6733 (addTearOff): New function.
6734 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6736 (init): Call addTearOff() when menu.isTearOff().
6738 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6740 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6741 Default implementation.
6742 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6743 Implement using GdkPixbufDecoder.
6745 2004-08-31 David Jee <djee@redhat.com>
6747 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6748 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6749 setting the size of GtkFileDialogPeers.
6750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6751 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6752 use their default sizes rather than their natural requisitions.
6754 2004-08-31 Michael Koch <konqueror@gmx.de>
6756 * javax/swing/JFormattedTextField.java
6757 (JFormattedTextField): Implemented.
6758 * javax/swing/text/DefaultEditorKit.java
6759 (BeepAction): New inner class.
6760 * javax/swing/text/Segment.java
6761 (partialReturn): New field.
6762 (setPartialReturn): New method.
6763 (isPartialReturn): Likewise.
6764 * javax/swing/text/View.java
6765 (createFragment): Fixed typo.
6766 (getStartOffset): New method.
6767 (getEndOffset): Likewise.
6769 2004-08-31 Michael Koch <konqueror@gmx.de>
6771 * javax/swing/table/DefaultTableColumnModel.java
6772 (serialVersionUID): Made private.
6773 (listenerList): Initialize.
6774 (changeEvent): Initialize.
6775 * javax/swing/table/JTableHeader.java
6776 (JTableHeader): New constructors.
6777 (createDefaultColumnModel): New method.
6778 * javax/swing/table/TableColumn.java
6779 (setHeaderRenderer): Simplified code.
6780 (setCellRenderer): Likewise.
6781 (setWidth): Likewise.
6783 2004-08-31 Tom Tromey <tromey@redhat.com>
6785 * java/text/AttributedString.java (AttributedString): Use
6786 ArrayList to build array of attribute ranges. Don't use
6787 `attribs' before it is set.
6789 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
6791 * HACKING: Remove reference to special automake. No longer needed.
6793 2004-08-30 Tom Tromey <tromey@redhat.com>
6795 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
6796 return result from `add'.
6798 2004-08-30 Tom Tromey <tromey@redhat.com>
6800 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
6802 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
6804 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
6806 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
6808 * java/io/File.java File(String,String): Fixed handling of empty
6811 2004-08-30 Casey Marshall <csm@gnu.org>
6813 Author e-mail updated for all files.
6814 * gnu/java/security/OID.java (equals): Test if the aurgment is an
6816 (compareTo): Use `equals'.
6817 * gnu/java/security/der/BitString.java (equals): Test if the
6818 argument is an instance of BitString.
6819 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
6820 class final. Made fields private.
6821 (<init>): New constructor.
6823 (makeString): Made static; don't use NIO.
6824 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
6825 * gnu/java/security/der/DERWriter.java: Fixed imports.
6826 (writeString): Don't use NIO.
6827 (toIso88591, toUtf16Be, toUtf8): New methods.
6828 * gnu/java/security/der/DERValue.java: Formatting changes only.
6829 * gnu/java/security/der/DER.java: Likewise.
6831 2004-08-30 Tom Tromey <tromey@redhat.com>
6833 * java/nio/CharBuffer.java (put): Fix typo.
6834 * java/nio/DoubleBuffer.java (put): Fix typo.
6835 * java/nio/FloatBuffer.java (put): Fix typo.
6836 * java/nio/IntBuffer.java (put): Fix typo.
6837 * java/nio/LongBuffer.java (put): Fix typo.
6838 * java/nio/ShortBuffer.java (put): Fix typo.
6840 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
6842 * java/nio/ByteBuffer.java (put): Fix typo.
6844 2004-08-30 Casey Marshall <csm@gnu.org>
6846 * java/security/DummyKeyPairGenerator.java (clone): Removed
6847 useless instanceof check.
6848 * java/security/DummyMessageDigest.java (clone): Likewise.
6849 * java/security/DummySignature.java (clone): Likewise.
6850 * java/security/MessageDigest.java (clone): Remove useless
6852 * java/security/MessageDigestSpi.java (clone): Likewise.
6853 * java/security/Signature.java (clone): Provide meaningful
6855 * java/security/SignatureSpi.java (clone): Likewise.
6857 2004-08-29 Mark Wielaard <mark@klomp.org>
6859 * java/util/Arrays.java
6860 (sort(byte[], int, int)): Check fromIndex < 0.
6861 (sort(char[], int, int)): Likewise.
6862 (sort(short[], int, int)): Likewise.
6863 (sort(int[], int, int)): Likewise.
6864 (sort(long[], int, int)): Likewise.
6865 (sort(float[], int, int)): Likewise.
6866 (sort(double[], int, int)): Likewise.
6867 (sort(Object[], int, int, Comparator)): Likewise.
6868 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
6869 (qsort(char[], int, int)): Likewise.
6870 (qsort(short[], int, int)): Likewise.
6871 (qsort(int[], int, int)): Likewise.
6872 (qsort(long[], int, int)): Likewise.
6873 (qsort(float[], int, int)): Likewise.
6874 (qsort(double[], int, int)): Likewise.
6876 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
6878 * java/util/AbstractCollection.java, java/util/AbstractList.java,
6879 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
6880 java/util/ArrayList.java, java/util/Arrays.java,
6881 java/util/BitSet.java, java/util/Calendar.java,
6882 java/util/Collection.java, java/util/ListIterator.java,
6883 java/util/Map.java, java/util/SortedSet.java:
6884 Added additional exceptions to documentation, along
6885 with some additions and corrections.
6887 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
6889 * configure.ac: Handle --enable-gc-debug.
6890 * configure: Regenerate.
6891 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
6892 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
6893 Rearrange include file order.
6894 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
6895 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
6896 (disable_gc_mutex): Delete along with all references.
6897 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
6898 adjust for debug header size.
6899 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
6901 (_Jv_AllocArray): Declare min_heap_addr only if needed.
6902 (gcj_describe_type_fn): New.
6903 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
6904 Register gcj_describe_type_fn.
6905 * include/boehm-gc.h:
6906 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
6907 Don't define, but declare, for debug case.
6908 * java/lang/natObject.cc:
6909 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
6911 2004-08-26 Mark Wielaard <mark@klomp.org>
6913 Fixes PR libgcj/17002:
6914 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
6915 a TimeZoneId string and then try to convert that to a TimeZone with
6916 getDefaultSystemTimeZone(String).
6917 (timezones0): Changed type from Hashtable to HashMap.
6918 (timezones): Create HashMap, not Hashtable.
6919 (getDefaultTimeZone): New method, rewritten from CNI version.
6920 (readTimeZoneFile): New method.
6921 (readtzFile): Likewise.
6922 (skipFully): Likewise.
6923 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
6924 getDefaultTimeZoneId and rewritten.
6925 (getDefaultTimeZoneId): Rewritten in java.
6927 2004-08-25 David Daney <daney@avtrex.com>
6929 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
6930 * Makefile.in: Regenerated.
6932 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
6934 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
6935 only if jvmpi is enabled.
6936 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
6937 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
6938 (_Jv_AllocString): Likewise.
6939 (_Jv_AllocPtrFreeObject): Likewise.
6941 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
6943 * defineclass.cc: Include <stdio.h>.
6944 * java/lang/natClassLoader.cc: Include <stdio.h>.
6946 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
6947 Michael Koch <konqueror@gmx.de>
6949 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
6950 * Makefile.in: Regenerated.
6952 2004-08-20 Michael Koch <konqueror@gmx.de>
6954 * configure.ac: Replaced all AC_TRY_COMPILE macros with
6955 AC_COMPILE_IFELSE macros.
6957 2004-08-20 Michael Koch <konqueror@gmx.de>
6959 * configure.in: Renamed to configure.ac.
6960 * configure.ac: New file.
6961 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
6962 include/config.h.in, testsuite/Makefile.in: Regenerated.
6964 2004-08-20 Michael Koch <konqueror@gmx.de>
6966 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
6967 * aclocal.m4, configure: Regenerated.
6969 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6970 Michael Koch <konqueror@gmx.de>
6972 * configure.in, Makefile.am: Ported to automake 1.9.
6973 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
6974 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
6977 2004-08-19 Tom Tromey <tromey@redhat.com>
6979 * java/net/DatagramSocket.java: Fixed typo.
6981 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
6984 * java/net/URI.java (string): New field. Make all other fields
6986 (readObject): Implemented.
6987 (writeObject): Implemented.
6988 (URI): Set 'string'.
6990 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
6993 * java/util/logging/Handler.java (isLoggable): Accept record if its
6994 log level equals the threshold level. From Robin Green.
6996 2004-08-18 David Daney <ddaney@avtrex.com>
6998 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
7001 2004-08-17 Michael Koch <konqueror@gmx.de>
7003 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
7004 * Makefile.in: Regenerated.
7006 2004-08-16 Tom Tromey <tromey@redhat.com>
7009 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
7011 2004-08-16 Michael Koch <konqueror@gmx.de>
7014 (math_c_files): Renamed from c_files.
7015 (math_c_source_files): Renamed from c_source_files.
7018 include/Makefile.in,
7019 testsuite/Makefile.in: Regenerated.
7021 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
7023 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7024 to avoid autoconf warning.
7025 * configure: Rebuilt.
7027 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
7029 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
7030 localhostAddress to loopbackAddress.
7031 * java/net/natInetAddressWin32.cc (lookup): Likewise.
7033 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7035 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
7036 boehm-gc's include dirs.
7037 * configure: Rebuilt.
7038 * include/boehm-gc.h: Include gc_config.h.
7040 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7042 * java/net/InetAddress.java (loopbackAddress): Renamed from
7044 (getByName): Return loopback address for null hostname, without
7045 security check. Use lookup(), not getAllByName.
7046 (getAllByName): Return loopback address for null hostname, without
7048 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7051 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7054 Reported by Robin Green.
7055 * defineclass.cc (handleField): Don't throw exception on unrecognised
7056 modifier. Add FIXME comments for spec compliance.
7057 (handleMethod): Likewise.
7059 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
7062 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7063 (Almost everywhere): add LOG calls, fix, add comments.
7064 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7065 Add explicit check for LOCKED bit in slow case (PR 16662).
7066 (_Jv_MonitorExit): Add casts in debug-only code.
7067 Always release LOCKED bit before throwing exception.
7068 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7069 isn't. Handle easy cases without lock acquisition.
7070 (Object::wait): Use NotifyAll for lock inflation.
7072 2004-08-12 David Daney <ddaney@avtrex.com>
7074 * testsuite/libjava.lang/Process_1.java: New test.
7075 * testsuite/libjava.lang/Process_2.java: New test.
7076 * testsuite/libjava.lang/Process_3.java: New test.
7077 * testsuite/libjava.lang/Process_4.java: New test.
7078 * testsuite/libjava.lang/Process_5.java: New test.
7079 * testsuite/libjava.lang/Process_6.java: New test.
7080 * testsuite/libjava.lang/Process_1.out: Expected result.
7081 * testsuite/libjava.lang/Process_2.out: Expected result.
7082 * testsuite/libjava.lang/Process_3.out: Expected result.
7083 * testsuite/libjava.lang/Process_4.out: Expected result.
7084 * testsuite/libjava.lang/Process_5.out: Expected result.
7085 * testsuite/libjava.lang/Process_6.out: Expected result.
7087 2004-08-12 David Daney <ddaney@avtrex.com>
7090 * java/lang/PosixProcess.java: Rewrote.
7091 * java/lang/natPosixProcess.cc: Rewrote.
7092 * java/lang/Runtime.java (execInternal): Declare throws IOException.
7093 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7094 * posix-threads.cc (block_sigchld) New function.
7095 (_Jv_ThreadRegister) Use it.
7096 (_Jv_ThreadStart) Use it.
7097 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7098 * Makefile.am: ... to specify extra native headers.
7099 * configure: Regenerated.
7100 * include/config.h: Regenerated.
7101 * Makefile.in: Regenerated.
7102 * gcj/Makefile.in: Regenerated.
7103 * include/Makefile.in: Regenerated.
7104 * testsuite/Makefile.in: Regenerated.
7106 2004-08-12 Diego Novillo <dnovillo@redhat.com>
7108 PR tree-optimization/16867
7109 * testsuite/libjava.lang/PR16867.java: New test.
7111 2004-08-09 Per Bothner <per@bothner.com>
7113 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7114 with private fields and access methods.
7115 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7116 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7117 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7118 ( _Jv_makeUtf8Const): Rewrite using new constructors.
7119 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7120 * defineclass.cc: Use new _Utf8Const access/convenience methods.
7122 * resolve.cc: Likewise.
7123 * gcj/field.h: Likewise.
7124 * include/jvm.h: Likewise.
7125 * java/lang/Class.h: Likewise.
7126 * java/lang/natClass.cc: Likwise.
7127 * java/lang/natClassLoader.cc: Likewise
7128 * java/lang/reflect/natMethod.cc: Likewise
7129 * verify.cc: Likewise.
7130 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
7131 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
7133 2004-08-10 Andrew Haley <aph@redhat.com>
7135 * testsuite/libjava.lang/err14.java: New file.
7136 * testsuite/libjava.lang/err14.out: New file.
7138 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
7140 * Makefile.am: Fix missing rename from x_nat_headers to
7142 * Makefile.in: Regenerated.
7144 2004-08-04 Andrew Haley <aph@redhat.com>
7146 * java/security/BasicPermission.java: Don't check wildcards.
7148 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7149 Michael Koch <konqueror@gmx.de>
7151 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7152 * configure.in: Replaced all usages of AC_LINK_FILES by
7155 configure: Regenerated.
7157 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7158 Michael Koch <konqueror@gmx.de>
7160 * acconfig.h: Removed.
7161 * Makefile.am: Rename variables for xlib peer to include xlib and
7162 gtk_c_headers to gtk_jni_headers.
7163 * Makefile.in: Regenerated.
7165 2004-08-04 Andrew Haley <aph@redhat.com>
7167 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7170 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
7172 * configure.in: Eliminate uses of changequote (mostly by quoting []).
7173 Replace most top level 'dnl' comments with '#' comments, conforming
7174 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
7176 * configure: Rebuilt.
7178 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
7180 * acinclude.m4: Include no-executables.m4.
7181 * aclocal.m4: Rebuild.
7182 * configure.in: Convert to the autoconf 2.59 version of
7183 of the no-executables hack, and also of the nonstandard CXX
7184 hack and the multilibbed CC and CXX hack. Change prerequisite
7186 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
7187 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7188 testsuite/Makefile.in: Regenerate.
7190 2004-08-03 Tom Tromey <tromey@redhat.com>
7192 * jni.cc: Reindented.
7194 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
7196 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7198 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
7200 * testsuite/libjava.compile/PR16701.java: New test.
7202 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
7204 * java/util/Collection.java, java/util/List.java,
7205 java/util/Map.java, java/util/Set.java,
7206 java/util/SortedMap.java, java/util/SortedSet.java:
7207 Added additional exceptions to documentation.
7209 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
7212 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7213 * configure. Regenerate.
7214 * include/win32.h: Explicitly include winsock2.h
7215 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7218 2004-07-30 Michael Koch <konqueror@gmx.de>
7220 * java/util/zip/GZIPInputStream.java
7221 (GZIPInputStream): Increase buffer size to 4k.
7222 * java/util/zip/GZIPOutputStream.java
7223 (GZIPOutputStream): Likewise.
7224 * java/util/zip/Inflater.java
7225 (setInput): Merged formating with GNU classpath.
7226 * java/util/zip/InflaterInputStream.java
7227 (InflaterInputStream): Increase buffer size to 4k.
7228 (fill): Throw exception if stream ends early.
7229 (read): Merged endless-loop with GNU classpath.
7230 (skip): Increase buffer size to 2k.
7232 2004-07-30 Michael Koch <konqueror@gmx.de>
7234 * gnu/java/awt/EmbeddedWindow.java
7235 (addNotify): Use AccessController to allow execution of privileged
7238 2004-07-29 Michael Koch <konqueror@gmx.de>
7240 * gnu/java/lang/MainThread.java:
7241 Explicitely import used classes.
7242 (args): Make it type String[].
7244 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7246 * gnu/java/awt/ComponentDataBlitOp.java,
7247 gnu/java/beans/ExplicitBeanInfo.java,
7248 gnu/java/beans/IntrospectionIncubator.java,
7249 gnu/java/beans/editors/ColorEditor.java,
7250 gnu/java/beans/editors/FontEditor.java,
7251 gnu/java/beans/editors/NativeBooleanEditor.java,
7252 gnu/java/beans/editors/NativeByteEditor.java,
7253 gnu/java/beans/editors/NativeDoubleEditor.java,
7254 gnu/java/beans/editors/NativeFloatEditor.java,
7255 gnu/java/beans/editors/NativeIntEditor.java,
7256 gnu/java/beans/editors/NativeLongEditor.java,
7257 gnu/java/beans/editors/NativeShortEditor.java,
7258 gnu/java/beans/editors/StringEditor.java,
7259 gnu/java/io/ClassLoaderObjectInputStream.java,
7260 gnu/java/io/decode/Decoder.java,
7261 gnu/java/io/encode/Encoder.java,
7262 gnu/java/lang/ClassHelper.java,
7263 gnu/java/locale/Calendar.java,
7264 gnu/java/locale/Calendar_de.java,
7265 gnu/java/locale/Calendar_en.java,
7266 gnu/java/locale/Calendar_nl.java,
7267 gnu/java/locale/LocaleInformation_de.java,
7268 gnu/java/locale/LocaleInformation_en.java,
7269 gnu/java/locale/LocaleInformation_nl.java:
7272 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7274 * README: Remove obsolete info. Update bug URL.
7276 * NEWS: Updated with news up to GCC 3.4 release.
7278 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7280 * gnu/java/security/action/GetPropertyAction.java (setParameters):
7281 Renamed from 'setName'. New 2-argument form with default value.
7282 (run): Pass default 'value' parameter to System.getProperty().
7283 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7285 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7288 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7290 * configure.in: Check for minimum GTK version 2.4 requirement.
7291 * configure: Rebuilt.
7293 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7295 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7296 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7298 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7300 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
7301 address. Reduce sleep times. Synchronize with target threads before
7302 attempting to interrupt them. Don't try to calibrate yeild count,
7303 instead, always loop for a fixed time.
7304 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7305 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7306 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7307 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7308 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7309 * testsuite/libjava.lang/pr179.java: Likewise.
7310 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7311 time. Remove upper bounds check on sleep time.
7313 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7315 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7316 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
7318 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7320 * java/io/File.java (toURI): Throw RuntimeException, not
7322 * java/lang/Runtime.java (exit): Qualify static sleep() call with
7323 class name, not instance.
7325 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
7327 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7328 and gnu/java/security/action/SetAccessibleAction.java.
7329 * Makefile.in: Rebuilt.
7331 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7333 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7334 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7336 (DECLARE_PRIM_TYPE): Don't declare array vtables.
7337 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7338 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7340 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7342 * Makefile.am: Replace jar, rmic and rmiregistry references with
7343 gjar, grmic and grmiregistry.
7344 * configure.in: Likewise.
7345 * Makefile.in: Regenerate.
7346 * configure: Likewise.
7347 * gcj/Makefile.in: Likewise.
7348 * include/Makefile.in: Likewise.
7349 * testsuite/Makefile.in: Likewise.
7351 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7353 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7354 for privileged getProperty calls.
7355 * java/io/ObjectOutputStream.java (getField): No longer static. Use
7356 SetAccessibleAction instead of anonymous class for doPrivileged call.
7357 (getMethod): Likewise.
7358 (setAccessible): New field. PrivilegedAction object to use when
7359 calling setAccessible.
7360 * java/io/ObjectStreamClass.java (calculateOffsets): Use
7361 SetAccessibleAction instead of anonymous class for diPrivileged call.
7362 (setFields): Likewise.
7363 (getClassUID): Likewise.
7364 (findMethod): Likewise.
7365 * gnu/java/security/action/GetPropertyAction.java: New class.
7366 * gnu/java/security/action/SetAccessibleAction.java: New class.
7368 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7370 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7372 * testsuite/libjava.lang/Serialization.java: New test.
7373 * testsuite/libjava.lang/Serialization.out: New.
7375 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7377 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7378 missed in last commit.
7380 2004-07-23 Mark Wielaard <mark@klomp.org>
7382 * java/lang/System.java (static): Set http.agent system property when
7384 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7385 from system property inside AccessController.doPrivileged() call.
7386 (proxyPort): Made package private.
7387 (proxyInUse): Likewise.
7388 (proxyHost): Likewise.
7389 (userAgent): Likewise.
7391 2004-07-23 Mark Wielaard <mark@klomp.org>
7393 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7396 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
7398 * Makefile.am (ordinary_java_source_files): Add
7399 DefaultContentHandlerFactory.java.
7400 * Makefile.in: Rebuilt.
7401 * java/net/URLConnection.java (defaultFactory): New field.
7403 (getContentHandler): Renamed from 'setContentHandler'. Try
7404 defaultFactory after user-set factory, if any. Search for content
7405 handler implementations in gnu.java.net.content, not gnu.gcj.content.
7406 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7408 (getLastModified): Implemented.
7409 (getPermission): Create file permission here, instead of in
7411 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7413 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7415 (getLastModified): Implemented.
7416 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7417 Default implementation.
7418 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7419 Implement using GdkPixbufDecoder.
7421 2004-07-21 Michael Koch <konqueror@gmx.de>
7423 * javax/swing/JTextArea.java
7424 (setLineWrap): Fire property change event after new value is set.
7425 (setTabSize): Likewise.
7427 2004-07-21 Michael Koch <konqueror@gmx.de>
7429 * javax/swing/JTable.java
7430 (autoCreateColumnsFromModel): New field.
7431 (autoResizeMode): Likewise.
7432 (cellEditor): Likewise.
7433 (cellSelectionEnabled): Likewise.
7434 (columnModel): Likewise.
7435 (dataModel): Likewise.
7436 (defaultEditorsByColumnClass): Likewise.
7437 (defaultRenderersByColumnClass): Likewise.
7438 (editingColumn): Likewise.
7439 (editingRow): Likewise.
7440 (gridColor): Likewise.
7441 (preferredViewportSize): Likewise.
7442 (rowHeight): Likewise.
7443 (rowMargin): Likewise.
7444 (rowSelectionAllowed): Likewise.
7445 (selectionBackground): Likewise.
7446 (selectionForeground): Likewise.
7447 (selectionModel): Likewise.
7448 (showHorizontalLines): Likewise.
7449 (showVerticalLines): Likewise.
7450 (tableHeader): Likewise.
7451 (JTable): Implemented.
7452 (getColumnModel): Likewise.
7453 (getSelectedRow): Likewise.
7454 (getSelectionModel): Likewise.
7455 (setModel): Likewise.
7456 (setSelectionModel): Likewise.
7457 (createScrollPaneForTable): New method.
7458 (createDefaultDataModel): Likewise.
7459 (createDefaultListSelectionModel): Likewise.
7460 (getModel): Likewise.
7461 (getTableHeader): Likewise.
7462 (setTableHeader): Likewise.
7463 (getColumnSelectionAllowed): Likewise.
7464 (setColumnSelectionAllowed): Likewise.
7465 (getRowSelectionAllowed): Likewise.
7466 (setRowSelectionAllowed): Likewise.
7467 (getAutoResizeMode): Likewise.
7468 (setAutoResizeMode): Likewise.
7469 (getColumnCount): Likewise.
7470 (getRowCount): Likewise.
7471 (getCellRenderer): Likewise.
7472 * javax/swing/JTree.java
7473 (cellRenderer): New field.
7474 (editable): Likewise.
7475 (rootVisible): Likewise.
7476 (showsRootHandles): Likewise.
7477 (getModel): New method.
7478 (setModel): Likewise.
7479 (isEditable): Likewise.
7480 (setEditable): Likewise.
7481 (isRootVisbile): Likewise.
7482 (setRootVisible): Likewise.
7483 (getShowsRootHandles): Likewise.
7484 (setShowRootHandles): Likewise.
7485 (getCellRenderer): Likewise.
7486 (setCellRenderer): Likewise.
7488 2004-07-21 Michael Koch <konqueror@gmx.de>
7490 * javax/swing/JFormattedTextField.java
7491 (setDocument): Implemented.
7492 * javax/swing/JRootPane.java:
7494 * javax/swing/JTable.java
7495 (getDefaultRenderer): New method.
7496 * javax/swing/JTextField.java
7497 (setFont): Likewise.
7498 (getPreferredSize): Likewise.
7499 * javax/swing/JToggleButton.java
7500 (getAccessibleContext): Fix javadoc.
7501 * javax/swing/JTree.java:
7503 * javax/swing/JViewport.java:
7506 2004-07-21 David Jee <djee@redhat.com>
7508 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7509 Collect all native method declaration at the top.
7510 (create): Set the filename filter if necessary.
7511 (setDirectory): Call nativeSetDirectory().
7512 (setFilenameFilter): Implement.
7513 (filenameFilterCallback): New method.
7514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7515 (create): Configure dialog to show hidden files.
7516 (filenameFilterCallback): New function.
7517 (nativeSetFilenameFilter): New function.
7518 (nativeSetDirectory): New function.
7520 2004-07-21 Kim Ho <kho@redhat.com>
7522 * javax/swing/plaf/basic/BasicSliderUI.java:
7524 (paintTrack): Fill the track before painting
7527 2004-07-21 Graydon Hoare <graydon@redhat.com>
7529 patch from Roman Kennke <roman@ontographics.com>
7530 * javax/swing/Spring.java: New file.
7531 * javax/swing/SpringLayout.java: New file.
7532 * Makefile.am: Add new files.
7533 * Makefile.in: Regenerate.
7535 2004-07-21 Graydon Hoare <graydon@redhat.com>
7537 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7538 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7539 * javax/swing/ScrollPaneLayout.java: Likewise.
7541 2004-07-21 Kim Ho <kho@redhat.com>
7543 * javax/swing/DefaultDesktopManager.java:
7544 (findMinimum): Removed.
7545 (resizeFrame): Trust the UI to pass valid
7547 * javax/swing/JOptionPane.java:
7548 Implemented showInternalXXXDialog methods.
7549 (startModal): New method.
7550 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7551 (BorderListener::mouseDragged): Verify that the new
7552 bounds are valid before passing them to the DesktopManager.
7553 (preferredLayoutSize): Delegate
7555 (minimumLayoutSize): Ditto.
7556 (getSize): New method.
7557 (GlassPaneDispatcher): Reimplemented by copying
7558 a stripped down LightweightDispatcher from Container.
7559 (getMinimumSize): Call minimumLayoutSize.
7560 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7562 (mousePressed): Add ability to properly close
7564 * javax/swing/plaf/basic/BasicToolBarUI.java:
7565 (DragWindow): Set owner for DragWindow.
7567 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7569 * java/awt/image/ShortLookupTable.java: New file.
7570 * java/awt/image/ByteLookupTable.java: New file.
7571 * Makefile.am: Added new files.
7572 * Makefile.in: Regenerated.
7574 2004-07-21 David Jee <djee@redhat.com>
7576 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7577 (create(GtkContainerPeer)): New native method.
7578 (create()): Call native create(), passing in the parent frame
7579 as the paramter. Natively set the current file and directory.
7580 (setFile): Construct an absolute filename before passing it to
7582 (nativeGetDirectory): New method.
7583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7584 (window_closed): Removed.
7585 (ok_clicked): Likewise.
7586 (cancel_clicked): Likewise.
7587 (handle_response): New method.
7588 (create): Use GtkFileChooserDialog.
7589 (connectSignals): Connect to handle_response.
7590 (nativeGetDirectory): New method.
7591 (nativeSetFile): Use GtkFileChooserDialog.
7593 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7595 * java/awt/image/LookupTable.java: New file.
7596 * Makefile.am: Added new file.
7597 * Makefile.in: Regenerated.
7599 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7601 * java/awt/image/Kernel.java: New file.
7602 * Makefile.am: Added new file.
7603 * Makefile.in: Regenerated.
7605 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7607 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7608 * javax/swing/JMenu.java: Likewise.
7609 * javax/swing/JMenuBar.java: Likewise.
7610 (MARGIN_CHANGED_PROPERTY): New property.
7611 (setMargin): Implemented.
7612 * javax/swing/JMenuItem.java: Fixed javadocs.
7613 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7614 (LABEL_CHANGED_PROPERTY): New property.
7615 (add): changed to use createActionComponent.
7616 (createActionComponent): Implemented.
7617 (setLabel): Fire PropertyChangeEvent if label property
7619 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7620 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7621 (ContainerHandler): Repaint if margin property has changed.
7622 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7623 (installUI): Call installComponents().
7624 (uninstallUI): Call uinstallComponents().
7625 * javax/swing/plaf/basic/BasicMenuUI.java:
7627 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7630 2004-07-21 Kim Ho <kho@redhat.com>
7632 * javax/swing/plaf/basic/BasicToolBarUI.java:
7633 (DragWindow): Use the right constructor.
7635 2004-07-21 Kim Ho <kho@redhat.com>
7637 * javax/swing/JToolBar.java:
7638 (layoutContainer): Use getComponents.
7639 * javax/swing/plaf/basic/BasicToolBarUI.java:
7640 (DragWindow): Don't use SwingUtilities'
7642 (ToolBarDialog): ditto.
7644 2004-07-21 Kim Ho <kho@redhat.com>
7646 * javax/swing/JRootPane.java:
7648 (layoutContainer): Set the glasspane's size to
7649 be the same as the content pane.
7650 (createGlassPane): Set opaque property to false.
7652 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7654 * java/awt/Component.java (requestFocus()): Don't handle Panels
7656 (requestFocus(boolean)): Likewise.
7657 (requestFocusInWindow(boolean)): Likewise.
7658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7659 Set GTK_CAN_FOCUS flag.
7661 2004-07-21 Kim Ho <kho@redhat.com>
7663 * Makefile.am: Added new file.
7664 * Makefile.in: Regenerated.
7665 * gcj/Makefile.in: Regenerated.
7666 * include/Makefile.in: Regenerated.
7667 * javax/swing/AbstractButton.java:
7668 Add rollOverEnabled property.
7669 (setRolloverEnabled): Use new property.
7670 (isRolloverEnabled): Use new property.
7671 * javax/swing/JTabbedPane.java:
7672 (setComponent): Remove useless JTabbedPane.this.
7673 * javax/swing/JToolBar.java: Finish implementation.
7674 * javax/swing/plaf/basic/BasicArrowButton.java:
7675 (paint): Moved border painting to a border.
7676 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7677 Change JToolBar look and feel defaults.
7678 * javax/swing/plaf/basic/BasicOptionPaneUI.java
7679 (actionPerformed): Return Integer index instead of name.
7680 (addButtonComponents): Check to see if component is
7682 (createMessageArea): Don't use components that are not
7684 (getIconForType): Use temporary icons.
7685 * javax/swing/plaf/basic/BasicSliderUI.java:
7686 (mousePressed): Do not return if it's on thumb.
7687 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7688 (paintMinorTickForVertSlider): ditto.
7689 (paintMajorTickForHorizSlider): ditto.
7690 (paintMajorTickForVertSlider): ditto.
7691 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7692 Add a border around the SplitPaneDivider.
7693 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7695 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7696 New file. Implemented.
7697 * javax/swing/plaf/basic/BasicToolBarUI.java:
7699 * testsuite/Makefile.in: Regenerated.
7701 2004-07-21 Graydon Hoare <graydon@redhat.com>
7703 * javax/swing/Timer.java (run): Queue events each time cycle.
7705 2004-07-21 David Jee <djee@redhat.com>
7707 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7708 (imageComplete): Call image.imageComplete().
7709 * java/awt/image/MemoryImageSource.java:
7710 Reimplement consumers as a Vector instead of a Hashtable. This is
7711 because enumeration on a Hashtable is not thread-safe.
7712 (addConsumer): Adapt to Vector consumers.
7713 (isConsumer): Adapt to Vector consumers.
7714 (removeConsumer): Adapt to Vector consumers.
7715 (startProduction): Adapt to Vector consumers. Call imageComplete()
7716 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7717 (newPixels): Adapt to Vector consumers.
7718 (sendPicture): Set the color model of the image consumer.
7719 (newPixels(IIII)): Adapt to Vector consumers.
7720 (newPixels(IIIIB)): Adapt to Vector consumers.
7722 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7724 * java/awt/Component.java (deliverEvent): Implement.
7725 (postEvent): Implement.
7726 (handleEvent): Implement.
7727 (translateEvent): New method.
7728 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
7729 * java/awt/Container.java (deliverEvent): Implement.
7730 * java/awt/Event.java (paramString): Fix formatting.
7731 * java/awt/Font.java (toString): Likewise.
7732 * java/awt/Window.java (postEvent): Implement.
7734 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7736 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7737 Set window's focus owner upon receiving a FOCUS_LOST event.
7738 * java/awt/Window.java (Window()): Refocus the previously
7739 focused component within the window when the window regains the
7741 (setFocusOwner): New method.
7742 * java/awt/Component.java (requestFocus): Add FIXME.
7744 * libgcj.pc.in: Remove library flags.
7746 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7748 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7749 MOUSE_PRESSED event.
7750 * java/awt/Component.java (requestFocus()): Handle Panel
7751 specially. Post FOCUS_LOST event on opposite component.
7752 (requestFocus(boolean)): Likewise.
7753 (requestFocusInWindow(boolean)): Likewise.
7754 (paramString): Reorder dimension fields.
7755 * java/awt/Container.java (paramString): Fix string format.
7756 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7757 Handle FOCUS_LOST events. Don't handle Windows specially. Only
7758 process key events if the focus owner is non-null.
7759 (dispatchKeyEvent): Likewise.
7760 * java/awt/Frame.java (paramString): Fix formatting.
7761 (generateName): New method.
7762 (getUniqueLong): Likewise.
7763 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7764 the temporary focus owner is null. If so, return the permanent
7766 * java/awt/Panel.java (generateName): New method.
7767 (getUniqueLong): Likewise.
7768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
7769 signal handling to make callbacks more specific.
7771 2004-07-21 Michael Koch <konqueror@gmx.de>
7773 * javax/swing/text/Position.java
7774 (Bias): Implemented.
7776 2004-07-21 Michael Koch <konqueror@gmx.de>
7778 * javax/swing/LookAndFeel.java
7779 (provideErrorFeedback): New method.
7781 2004-07-21 Michael Koch <konqueror@gmx.de>
7783 * javax/swing/JTextArea.java
7784 (tabSize): New field.
7785 (getTabSize): New method.
7786 (setTabSize): Likewise.
7788 2004-07-21 Michael Koch <konqueror@gmx.de>
7790 * javax/swing/ActionMap.java:
7791 Fixed javadocs all over.
7792 (serialVersionUID): Made private.
7793 (parent): Don't explicitely initialize with default value.
7795 (keys): Reimplemented.
7796 (allKeys): Likewise.
7797 (convertSet): Removed.
7798 * javax/swing/ComponentInputMap.java:
7799 Fixed javadocs all over.
7800 (ComponentInputMap): Implemented.
7804 (SetParent): Likewise.
7805 (getComponent): Likewise.
7806 * javax/swing/InputMap.java:
7807 Fixed javadocs all over.
7808 (serialVersionUID): Made private.
7809 (parent): Don't explicitely initialize with default value.
7811 (keys): Reimplemented.
7812 (allKeys): Likewise.
7813 (convertSet): Removed.
7815 2004-07-21 Michael Koch <konqueror@gmx.de>
7817 * javax/swing/ActionMap.java,
7818 javax/swing/ComponentInputMap.java,
7819 javax/swing/InputMap.java,
7820 javax/swing/table/DefaultTableColumnModel.java,
7821 javax/swing/table/TableColumn.java,
7822 javax/swing/table/TableColumnModel.java,
7823 javax/swing/table/TableModel.java,
7824 javax/swing/text/AbstractDocument.java,
7825 javax/swing/text/TextAction.java:
7828 2004-07-21 Graydon Hoare <graydon@redhat.com>
7830 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
7831 Make method non-static.
7832 * javax/swing/AbstractButton.java:
7833 Rename fields to match property names where possible.
7834 (iconTextGap): New property.
7835 * javax/swing/JCheckBox.java: Match AbstractButton changes.
7836 (init) New method, call from after various constructors.
7837 * javax/swing/JComponent.java (revalidate):
7838 Invalidate before queueing repair.
7839 * javax/swing/JList.java (getPreferredScrollableViewportSize):
7840 Reimplement in terms of visibleRowCount property.
7841 * javax/swing/JMenuButton.java: Match AbstractButton changes.
7842 * javax/swing/JScrollPane.java (createScrollListener):
7843 Remove tracing chatter.
7844 * javax/swing/JToggleButton.java: Match AbstractButton changes.
7845 * javax/swing/RepaintManager.java (addInvalidComponent):
7847 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
7849 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
7850 Mimic sun behavior on top left/right positioning.
7851 * javax/swing/ViewportLayout.java (preferredLayoutSize):
7852 Remove mistaken use of preferredScrollableViewportSize here.
7853 (layoutContainer): Use view's preferred size as basis.
7854 * javax/swing/plaf/basic/BasicButtonUI.java:
7855 Set, get, and use textIconGap property.
7856 (paint) Paint text returned from layout (with ellipsis).
7857 * javax/swing/plaf/basic/BasicListUI.java:
7858 Remove tracing chatter, correct various minor calculations.
7859 (getCellBounds): Update layout state before calculating.
7860 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
7861 Use margin default similar to sun's.
7862 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
7863 (createIncreaseIcon): Center icon, minimize margins.
7864 (createDecreaseIcon): Likewise.
7865 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
7867 (installUI): Call it.
7868 (uninstallDefaults): Implement.
7869 (uninstallUI): Call it.
7870 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
7871 Call existing Window constructor.
7872 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
7873 Set clip before painting.
7875 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7877 * javax/swing/JMenuItem.java:
7878 (processMouseEvent): Reimplemented to deal with
7880 (createMenuDragMouseEvent): New private helper method.
7881 Creates MenuDragMouseEvent.
7882 * javax/swing/MenuSelectionManager.java
7883 (componentForPoint): Implemented.
7884 (isComponentPartOfCurrentMenu): Made public.
7885 (processMouseEvent): Reimplemented to deal with
7887 (setSelectedPath): Corrected small mistake that caused
7888 path to be set incorrectly.
7889 (getPath): If given component is JMenu then also add this
7890 menu's popup menu to the selected path.
7891 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7893 (getPreferredSize): Call getPreferredMenuItemSize().
7894 (getPreferredItemSize): Moved code from getPreferredSize to here.
7895 (installListeners): Install MouseMotionListeners.
7896 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
7897 if mouse wasn't released in the bounds of this menu item.
7898 (MenuDragMouseHandler): Implemented.
7899 * javax/swing/plaf/basic/BasicMenuUI.java:
7900 (installListeners): Install MouseMotionListener and
7901 MenuDrageMouseListener.
7902 (MenuDragMouseHandler): Implemented.
7903 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7904 (uninstallListeners): Implemented.
7906 2004-07-21 Michael Koch <konqueror@gmx.de>
7908 * javax/swing/JCheckBox.java: Reformated.
7909 (JCheckBox): Fixed all constructors.
7910 (isBorderPaintedFlat): New method.
7911 (setBorderPaintedFlat): New method.
7912 * javax/swing/JEditorPane.java
7913 (createEditorKitForContentType): Made public.
7914 (scrollToReference): Likewise.
7915 * javax/swing/JTextArea.java
7916 (setLineWrap): Fire property change.
7917 * javax/swing/JToggleButton.java
7918 (JToggleButton): New constructor.
7919 (JToggleButton): Simplified.
7920 * javax/swing/text/AttributeSet.java
7921 (FontAttribute): Renamed from FontCharacterAttribute.
7922 * javax/swing/text/JTextComponent.java
7923 (KeyBinBinding): Added javadoc.
7924 (JTextComponent): Likewise.
7925 (getAccessibleContext): Fixed javadoc.
7926 * javax/swing/text/View.java
7927 (View): Added javadoc.
7928 * javax/swing/text/TabableView.java: New file.
7929 * Makefile.am: Added javax/swing/text/TabableView.java.
7930 * Makefile.in: Regenerated.
7932 2004-07-21 Graydon Hoare <graydon@redhat.com>
7934 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
7935 * gnu/java/awt/peer/gtk/GtkToolkit.java
7936 (GtkErrorImage): New helper class.
7937 (bufferedImageOrError): New helper method.
7938 (createImage): Use it.
7940 2004-07-21 David Jee <djee@redhat.com>
7942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7943 (setCaretPosition): Scroll the text view so the new caret position
7944 is visible on screen.
7946 2004-07-21 David Jee <djee@redhat.com>
7948 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7949 (setBounds): Do not validate awtComponent here.
7950 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
7951 (getPreferredSize): New method.
7952 * java/awt/ScrollPane.java
7953 (ScrollPane): Set default size to 100x100.
7954 (addNotify): If child is not a Panel, wrap it with a new Panel.
7955 (paramString): Implement.
7957 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7959 * javax/swing/JMenu.java:
7960 (setSelected): Display popup menu only if this menu
7961 is showing on the screen.
7962 * javax/swing/JPopupMenu.java:
7963 (processMouseEvent): Added comment.
7964 (processKeyEvent): Likewise.
7965 * javax/swing/MenuSelectionManager.java:
7966 (clearSelectedPath): Only fireStateChanged() after
7967 selected path was changed, not before.
7968 (setSelectedPath): Likewise.
7969 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7970 (paintMenuItem): Corrected position of menu item's
7972 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7973 (installUI): Correct setDefaultLightWeightPopupEnabled call.
7974 (popupMenuCanceled): Reimplemented.
7975 (popupMenuWillBecomeVisible): Select first menu item by default
7976 when displaying free floating popup menus.
7977 (TopWindowListener): Reimplemented.
7979 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7981 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
7982 Panel from being painted twice when it is first shown.
7984 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7986 * java/awt/Window.java: Reverted changes from my
7987 previous patch for creating window without an owner.
7988 * javax/swing/SwingUtilities.java:
7989 (SwingUtilities.OwnerFrame): made static.
7990 (OwnerFrame.setVisible): New method. Overridden with
7991 empty implementation.
7992 (OwnerFrame.isShowing): New method. Ovverridden
7993 to return always true.
7995 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7997 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7998 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7999 (GtkComponentPeer): Remove temporary try/catch block.
8000 (setVisible): Call show and hide.
8001 (show): Make native.
8003 (getArgs): Don't add "visible" argument.
8004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8005 (property_notify_predicate): Return Bool instead of int.
8006 (find_layout): New function.
8007 (connectJObject): Call find_layout.
8008 (connectSignals): Likewise.
8009 (moveLayout): Likewise.
8010 (gtkLayoutSetVisible): Likewise.
8012 2004-07-21 Mark Wielaard <mark@klomp.org>
8014 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8015 on notifier object before calling notifyAll().
8017 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8019 * java/awt/Window.java: Changed constructors to use new
8020 method that is described below. Constructors call this
8021 methods only if newly created window should have an owner.
8022 (setWindowOwner): New method. Implementation for
8023 this method is moved from this(owner,configuration).
8024 * javax/swing/JWindow.java:
8025 (JWindow): Reimplement to use SwingUtilities.ownerFrame
8027 * javax/swing/SwingUtilities.java:
8028 (ownerFrame): Change type of this field to OwnerFrame.
8029 (getOwnerFrame): Changed to return object of type OwnerFrame.
8030 (SwingUtilities.OwnerFrame): New class. Represents owner
8031 of a Window that is not provided with one.
8033 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8035 * javax/swing/AbstractButton.java:
8036 (configurePropertiesFromAction): Set action command
8037 to button's text by default if action command is not
8038 explicitely specified.
8039 * javax/swing/JMenu.java: Remove unnecessary listener
8040 and methods relevant to it.
8041 (setSelected): Reimplemented.
8042 (menuSelectionChanged): Moved most part of implementation to
8043 setSelected() and call it instead.
8044 * javax/swing/JMenuItem.java:
8045 (init): Comment out statement that sets paint_border to false.
8046 (configurePropertiesFromAction): Do not set accelerator
8048 (menuSelectionChanged): Change selected index in the selection
8049 model of menu item's parent.
8050 * javax/swing/JPopupMenu.java:
8051 (remove): Set constraints.fill field to GridBagConstraints.BOTH
8052 instead of GridBagConstraints.HORIZONTAL.
8054 (createActionChangeListener): Implemented.
8055 (setVisible): Correct location of HeavyWeightMenu and
8056 don't firePopupMenuCanceled().
8057 (menuSelectionChanged): Implemented.
8058 (ActionChangeListener): New Listener. Implemented.
8059 * javax/swing/plaf/basic/BasicMenuBarUI.java:
8060 (BasicMenuBarUI.ContainerHandler): Implemented.
8061 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8062 (paintMenuItem): Uncommented out code that paints
8063 icon, now that icons are working properly.
8064 (PropertyChangeListener): Implemented.
8065 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8067 (topWindowListener): New field.
8068 (Constructor): initialize topWindowListener.
8069 (BasicPopupMenuUI.TopWindowListener): Implemented.
8070 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8071 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8074 2004-07-21 Michael Koch <konqueror@gmx.de>
8076 * javax/swing/plaf/basic/BasicButtonUI.java
8077 (paintFocus): Fixed method signature.
8078 (paintButtonPressed): Likewise.
8079 (paintButtonNormal): Likewise.
8080 (paintText): New method.
8081 * javax/swing/plaf/basic/BasicLabelUI.java
8082 (paint): Re-indented.
8083 * javax/swing/plaf/basic/BasicTextUI.java
8084 (installUI): Set parent textComponent to opaque.
8085 * javax/swing/text/DefaultHighlighter.java
8086 (checkPositions): New helper method.
8087 (addHighlight): Throws BadLocationException, check positions.
8088 (changeHighlight): Likewise.
8089 * javax/swing/text/EditorKit.java
8090 (EditorKit): Implements Serializable.
8091 * javax/swing/text/JTextComponent.java
8092 (getUI): Added javadoc.
8094 (upadteUI): Added javadoc, don't revalidate and repaint.
8096 2004-07-21 David Jee <djee@redhat.com>
8098 * java/awt/GridBagLayout.java
8099 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8100 * javax/swing/AbstractButton.java
8101 (setText): Reindent.
8102 * javax/swing/RepaintManager.java
8103 (addInvalidComponent): Find the first ancestor that isValidateRoot().
8105 2004-07-21 Michael Koch <konqueror@gmx.de>
8107 * javax/swing/JFormattedTextField.java
8109 (JFormattedTextField): Implemented.
8110 (getValue): Likewise.
8111 (setValue): Likewise.
8112 * javax/swing/LookAndFeel.java
8113 (getSupportsWindowDecorations): New method.
8114 * javax/swing/UIDefaults.java:
8115 Use java.beans.PropertyChangeSupport instead of doing all ourself.
8116 (addPropertyChangeListener): Made public.
8117 (addResourceBundle): Likewise.
8118 (removeResourceBundle): Likewise.
8119 (setDefaultLocale): Likewise.
8120 * javax/swing/plaf/basic/BasicRootPaneUI.java
8121 (BasicRootPaneUI): Implements PropertyChangeListener.
8122 (propertyChange): New method.
8123 * javax/swing/plaf/basic/BasicTextUI.java
8124 (BasicHighlighter): New inner class.
8125 (createHighlighter): New method.
8126 * javax/swing/plaf/basic/BasicToolBarUI.java
8127 (DragWindow): Extends java.awt.Window.
8128 * javax/swing/text/JTextComponent.java
8129 (getDocument): Removed debug output.
8130 * javax/swing/plaf/basic/BasicTextFieldUI.java,
8131 javax/swing/text/DefaultHighlighter.java,
8132 javax/swing/text/FieldView.java,
8133 javax/swing/text/PlainView.java: New files.
8134 * Makefile.am: Added new files.
8135 * Makefile.in: Regenerated.
8137 2004-07-21 Michael Koch <konqueror@gmx.de>
8139 * javax/swing/JEditorPane.java
8140 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8141 (createEditorKitForContentType): Likewise.
8142 * javax/swing/text/DefaultEditorKit.java
8143 (serialVersionUID): Added constant field.
8144 (EndOfLineStringPropery): Fixed typo.
8145 (DefaultEditorKit): New constructor.
8146 * javax/swing/text/Segment.java:
8147 Import java.text.CharacterIterator.
8148 * javax/swing/text/CharacterIterator.java,
8149 javax/swing/text/PlainEditorKit.java: Removed.
8150 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8151 javax/swing/text/PlainEditorKit.java.
8152 * Makefile.in: Regenerated.
8154 2004-07-21 Michael Koch <konqueror@gmx.de>
8156 * javax/swing/JButton.java,
8157 javax/swing/text/DefaultEditorKit.java,
8158 javax/swing/text/EditorKit.java,
8159 javax/swing/text/Segment.java,
8160 javax/swing/text/StyledEditorKit.java:
8163 2004-07-21 Michael Koch <konqueror@gmx.de>
8165 * javax/swing/ImageIcon.java
8167 (description): Renamed from descr.
8168 (ImageIcon): Added missing constructors.
8169 (setParent): Removed.
8170 (setImageObserver): New method.
8171 (getImageObserver): New method.
8172 (paintIcon): Handle observer = null.
8173 * javax/swing/JButton.java
8174 (removeNotify): Fixed javadoc.
8175 (updateUI): Simplified.
8176 * javax/swing/JRootPane.java
8177 (serialVersionUID): New constant field.
8178 * javax/swing/UIManager.java:
8179 Fixed javadocs all over.
8180 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8181 * javax/swing/text/AbstractDocument.java
8182 (createPosition): Throws BadLocationException.
8183 (getText): Likewise.
8185 * javax/swing/text/ComponentView.java
8186 (modelToView): Likewise.
8187 * javax/swing/text/DefaultEditorKit.java:
8188 Made all public methods public.
8189 (read): Throws BadLocationException and IOException.
8191 * javax/swing/text/EditorKit.java:
8192 Made all public methods public.
8193 (serialVersionUID): New constant field.
8194 (clone): New method.
8195 (read): Throws BadLocationException and IOException.
8197 * javax/swing/text/Segment.java
8198 (array): Made public.
8201 (Segment): New constructors.
8202 (clone): Reimplemented.
8203 * javax/swing/text/StyledEditorKit.java
8204 (serialVersionUID): New constant field.
8206 2004-07-21 Graydon Hoare <graydon@redhat.com>
8208 * java/awt/image/BufferedImage.java
8209 (getSource): Implement.
8210 * javax/swing/ImageIcon.java
8211 (ImageIcon): Implement ctor.
8212 * javax/swing/ScrollPaneLayout.java
8213 (preferredLayoutSize): Be more careful about nulls.
8215 2004-07-21 Michael Koch <konqueror@gmx.de>
8217 * javax/swing/text/AttributeSet.java
8218 (CharacterAttribute): New interface
8219 (ColorAttribute): Likewise.
8220 (FontCharacterAttribute): Likewise.
8221 (ParagraphAttribute): Likewise.
8222 * javax/swing/text/DefaultCaret.java
8223 (moveCaret): New method.
8224 (positionCaret): Likewise.
8225 (repaint): Made protected.
8226 * javax/swing/text/JTextComponent.java
8227 (KeyBinding): Made it static.
8228 * javax/swing/text/View.java
8229 (getContainer): Honor parent == null.
8231 2004-07-21 Michael Koch <konqueror@gmx.de>
8233 * javax/swing/text/AbstractDocument.java:
8236 2004-07-21 Michael Koch <konqueror@gmx.de>
8238 * javax/swing/plaf/basic/BasicRootPaneUI.java:
8239 Import javax.swing.UIManager explicitely.
8240 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8241 (ScrollingButton): Made it static.
8243 2004-07-21 Michael Koch <konqueror@gmx.de>
8245 * javax/swing/UIDefaults.java
8246 (ActiveValue): Made public.
8247 (LazyValue): Likewise.
8248 * javax/swing/plaf/basic/BasicTextUI.java
8249 (RootView): Reintroduced.
8251 (rootView): New field.
8252 (installUI): Create document if needed, initialize rootView.
8253 (uninstallUI): Hanle rootView.
8255 (getRootView): Likewise.
8256 (setView): Likewise.
8257 * javax/swing/text/DefaultCaret.java:
8258 Renamed all "evt" variables to "event".
8260 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8262 * libgcj.spec.in: Add -l-java-util-logging.
8264 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
8266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8267 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8268 gtk-xft-dpi can no calculate the right value.
8269 (dpi_changed_cb): Mark *pspec as unsused.
8271 2004-07-21 David Jee <djee@redhat.com>
8273 * java/awt/Component.java
8274 (move): Delegate to setBounds().
8276 (reshape): Fix so it repaints parent and self only when necessary.
8278 2004-07-21 David Jee <djee@redhat.com>
8280 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8281 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8282 (GtkComponentPeer): Revert previous patch from 2004-06-22.
8283 (setVisible): Likewise.
8286 (getArgs): Likewise.
8287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8288 (property_notify_predicate): Likewise.
8289 (find_layout): Likewise.
8290 (connectJObject): Likewise.
8291 (connectSignals): Likewise.
8292 (moveLayout): Likewise.
8293 (gtkLayoutSetVisible): Likewise.
8295 2004-07-21 Graydon Hoare <graydon@redhat.com>
8301 (rmiregistry_LDADD): Add lib-java-util-logging.la
8302 * Makefile.in: Regenerate.
8304 2004-07-21 Michael Koch <konqueror@gmx.de>
8306 * javax/swing/text/AbstractDocument.java
8307 (replace): Dont use protected method of java.util.Vector directly.
8309 2004-07-21 Michael Koch <konqueror@gmx.de>
8311 * javax/swing/plaf/basic/BasicTextUI.java
8312 (installUI): Call specialized install methods.
8313 (installDefaults): New method.
8314 (installListeners): Likewise.
8315 (installKeyboardActions): Likewise.
8316 (uninstallUI): Likewise.
8317 (uninstallDefaults): New method.
8318 (uninstallListeners): Likewise.
8319 (uninstallKeyboardActions): Likewise.
8320 (getPropertyPrefix): New abstract method.
8321 (paint): Made final, just call paintSafely().
8322 (paintSavely): New method.
8323 (paintBackground): Likewise.
8324 (getVisibleEditorRect): Likewise.
8325 * javax/swing/text/LayeredHighlighter.java,
8326 javax/swing/text/TabExpander.java: New files.
8327 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8328 and javax/swing/text/TabExpander.java.
8329 * Makefile.in: Regenerated.
8331 2004-07-21 Michael Koch <konqueror@gmx.de>
8333 * javax/swing/plaf/basic/BasicTextUI.java
8334 (BasicTextUI): Made abstract.
8335 (BasicCaret): New inner class.
8336 (view): Don't explicitely initialize with "null".
8337 (textComponent): New field.
8338 (textColor): Removed.
8339 (disabledTextColor): Removed.
8340 (normalBackgroundColor): Removed.
8341 (RootView): Removed commented out inner class.
8342 (createUI): Removed.
8343 (createCaret): New method.
8344 (getComponent): Likewise.
8345 (installUI): Initialize textComponent only.
8346 (getPreferredSize): Use installed JTextComponent.
8347 (setView): New method.
8349 * javax/swing/text/JTextComponent.java
8350 (highlighter): New field.
8351 (caretColor): Likewise.
8352 (disabledTextColor): Likewise.
8353 (seletedTextColor): Likewise.
8354 (selectionColor): Likewise.
8355 (setUI): New method.
8356 (getCaretColor): Likewise.
8357 (setCaretColor): Likewise.
8358 (getDisabledColor): Likewise.
8359 (setDisabledColor): Likewise.
8360 (getSelectedTextColor): Likewise.
8361 (setSelectedTextColor): Likewise.
8362 (getSelectionColor): Likewise.
8363 (setSelectionColor): Likewise.
8364 (getHighlighter): Likewise.
8365 (setHighlighter): Likewise.
8366 (replaceSelection): Likewise.
8368 2004-07-21 Michael Koch <konqueror@gmx.de>
8370 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8371 (BasicScrollPaneUI): Implements ScrollPaneConstants.
8372 * javax/swing/plaf/basic/BasicToolBarUI.java
8373 (BasicToolBarUI): Implements SwingConstants.
8375 2004-07-21 Michael Koch <konqueror@gmx.de>
8377 * javax/swing/JPopupMenu.java: Removed CVS tags.
8378 * javax/swing/UIDefaults.java: Reformatted.
8379 * javax/swing/plaf/basic/BasicRootPaneUI.java:
8380 Explicitely import used classes.
8382 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8384 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8386 (GtkComponentPeer): Remove temporary try/catch block.
8387 (setVisible): Call show and hide.
8388 (show): Make native.
8390 (getArgs): Don't add "visible" argument.
8391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8392 (property_notify_predicate): Return Bool instead of int.
8393 (find_layout): New function.
8394 (connectJObject): Call find_layout.
8395 (connectSignals): Likewise.
8396 (moveLayout): Likewise.
8397 (gtkLayoutSetVisible): Likewise.
8399 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8401 * javax/swing/AbstractButton.java:
8402 (setDisplayedMnemonicIndex): Check if button
8403 text is not null before checking its length.
8404 * javax/swing/JMenuItem.java:
8405 (processMouseEvent): Disarm menu item if mouse has
8407 * javax/swing/plaf/basic/BasicMenuUI.java:
8408 (MouseInputHandler.mouseEntered): Do not raise
8409 popup menu if this menu is already selected.
8410 (MouseInputHandler.mousePressed): Do not fire
8412 (MenuHandler): Implemented.
8414 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8416 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8417 (getSelectedObjects): Implemented.
8418 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8419 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
8420 Added javadoc for few methods.
8421 (processMouseEvent): Made public.
8422 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8423 (processMouseEvent): Likewise.
8425 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8427 * javax/swing/AbstractButton.java:
8428 (init): Set display mnemonic index to -1.
8429 (setMnemonic(char)): Use setMnemonic(int).
8430 (setMnemonic(int)): Set display mnemonic index.
8431 (getDisplayedMnemonicIndex): Change method signature
8432 by removing 'index' parameter.
8433 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8434 Added default for Menu.selectionBackground.
8435 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8436 (paintMenuItem): Change background color of the selected
8438 (paintText): Paint differently when menu item is disabled.
8439 Also paint mnemonic if it appears in the menu item's label.
8440 (paintAccelerator): Paint accelerator differently
8441 if menu item is disabled.
8442 * javax/swing/plaf/basic/BasicMenuUI.java:
8443 (installDefaults): Install defaults for
8444 selectionForeground and selectionBackground.
8445 (uninstallDefaults): Uninstall defauls for
8446 selectionForeground and selectionBackground.
8448 2004-07-21 Michael Koch <konqueror@gmx.de>
8450 * javax/swing/text/AbstractDocument.java
8451 (BranchElement): Implemented.
8452 (LeafElement): Implemented.
8453 * javax/swing/text/DefaultCaret.java:
8454 Import used classes.
8455 (serialVersionUID): New constant.
8456 * javax/swing/text/JTextComponent.java
8457 (AccessibleJTextComponent): Removed dead declaration.
8458 (caretPos): Removed.
8459 (setCaret): New method.
8460 * javax/swing/text/PlainDocument.java
8461 (rootElement): New field.
8462 (PlainDocument): Initialize rootElement.
8463 (createDefaultRoot): New method.
8464 (getDefaultRootElement): Implemented.
8465 * javax/swing/text/View.java: Reformatted.
8466 * javax/swing/text/ViewFactory.java
8467 (create): Added javadoc.
8469 2004-07-21 Michael Koch <konqueror@gmx.de>
8471 * javax/swing/ToolTipManager.java: Reformatted.
8473 2004-07-21 Rodimina Olga <rodimina@redhat.com>
8475 * javax/swing/AbstractButton.java
8476 (changeEvent): New field.
8477 (fireItemStateChanged): Change source of the event
8478 to 'this' before firing it to button listeners.
8479 (fireActionPerformed): Likewise.
8480 (fireStateChanged): Likewise.
8481 (createActionListener): Do not set source
8482 of the event to AbstractButton.
8483 * javax/swing/plaf/basic/BasicMenuBarUI.java:
8484 (ContainerHandler.componentAdded): Removed
8485 print out statement.
8486 (ContainerHandler.componentRemoved): Likewise.
8488 2004-07-21 Michael Koch <konqueror@gmx.de>
8490 * javax/swing/text/Highlighter.java: New file.
8491 * Makefile.am: Added javax/swing/text/Highlighter.java.
8492 * Makefile.in: Regenerated.
8494 2004-07-21 Michael Koch <konqueror@gmx.de>
8496 * javax/swing/ToolTipManager.java
8497 (stillInsideTimerAction): Fixed constructor arguments.
8498 (outsideTimerAction): Likewise.
8499 (insideTimerAction): Likewise.
8501 2004-07-21 Michael Koch <konqueror@gmx.de>
8503 * javax/swing/JButton.java: Reformatted.
8504 * javax/swing/JFormattedTextField.java
8505 (getUIClassID): Implemented.
8506 * javax/swing/JRootPane.java
8507 (serialVersionUID): New constant.
8508 * javax/swing/JTextField.java
8510 (JTextField): Simplified.
8511 (getUIClassID): New method.
8512 (getActionListeners): Added @since tag.
8513 (setColumns): Invalidate layout and repaint.
8514 (getHorizontalAlignment): New method.
8515 (setHorizontalAlignment): New method.
8516 (selectAll): Removed.
8517 * javax/swing/SwingUtilities.java
8518 (getAncestorOfClass): Removed redundant @see tag.
8519 (isLeftMouseButton): Fixed implementation.
8520 (isMiddleMouseButton): Likewise.
8521 (isRightMouseButton): Likewise.
8522 * javax/swing/text/AbstractDocument.java
8523 (AttributeContext.addAttribute): New method.
8524 (AttributeContext.addAttributes): New method.
8525 (AttributeContext.getEmptySet): New method.
8526 (AttributeContext.reclaim): New method.
8527 (AttributeContext.removeAttribute): New method.
8528 (AttributeContext.removeAttributes): New method.
8529 * javax/swing/text/Document.java
8530 (createPosition): Throws BadLocationException.
8531 (getText): Likewise.
8533 * javax/swing/text/JTextComponent.java
8534 (getText): Return null if no document is set. Catch
8535 BadLocationException.
8537 (updateUI): Simplified.
8539 2004-07-21 Michael Koch <konqueror@gmx.de>
8541 * javax/swing/JButton.java
8542 (removeNotify): Fixed javadoc.
8543 (updateUI): Simplified.
8545 2004-07-21 David Jee <djee@redhat.com>
8547 * gnu/java/awt/image/ImageDecoder.java
8548 (startProduction): Only add consumer if it's not added yet.
8549 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8550 (GdkPixbufDecoder): Don't call initState() here.
8551 (produce): Call initState() here, to ensure area_prepared and
8552 area_updated signals are properly connected.
8553 * gnu/java/awt/peer/gtk/GtkImage.java
8554 (setColorModel): Use equals() to compare ColorModel objects.
8555 (setPixels): Likewise.
8556 * java/awt/image/ColorModel.java
8557 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8558 * java/awt/image/RGBImageFilter.java
8559 (setColorModel): Set consumer's color model.
8560 (setPixels): Use equals() to compare ColorModel objects.
8562 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
8564 * java/net/URLConnection.java (position): New field.
8565 (dateFormat1, dateFormat2, dateFormat3): Removed.
8566 (dateFormats): New field.
8567 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8568 each time instead of re-allocating.
8569 (initializeDateFormats): Initialize 'dateFormats'.
8571 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8574 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8577 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8579 * java/net/Socket.java (getImpl): Now private. Remove comment.
8581 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8583 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8584 of chained Writer when calling super-constructor.
8585 * java/io/FilterWriter.java (FilterWriter): Likewise.
8586 * java/io/PrintWriter.java (PrintWriter): Likewise.
8588 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
8590 * prims.cc (process_gcj_properties): Don't increment i within LHS
8593 2004-07-19 Per Bothner <per@bothner.com>
8595 Print -verbose:message on "loading", not initialization.
8596 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
8597 * defineclass.cc (_Jv_ClassReader::parse): Print message if
8598 gcj::verbose_class_flag.
8599 * java/lang/natClass.cc (initializeClass): Don't print message here.
8600 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
8601 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8602 (_Jv_PrepareCompiledClass): Likewise.
8604 2004-07-18 Matthias Klose <doko@debian.org>
8606 * configure.in: Substitute target_noncanonical.
8607 * configure: Regenerate
8609 2004-07-17 Michael Koch <konqueror@gmx.de>
8611 * java/lang/String.java: Fixed javadocs all over.
8613 2004-07-17 Mark Wielaard <mark@klomp.org>
8615 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8616 when size is smaller.
8617 * java/io/RandomAccessFile.java (setLength): Use truncate for
8618 shrinking the file and seek plus write for expanding the file.
8620 2004-07-17 Michael Koch <konqueror@gmx.de>
8622 * gnu/java/nio/channels/natFileChannelPosix.cc
8623 (implTruncate): Always save current position. Only reposition file
8624 pointer to where we started if not beyond new lenght. Reposition file
8625 pointer to file length if it points beyond the end of file.
8627 2004-07-17 Mark Wielaard <mark@klomp.org>
8629 * javax/swing/Box.java: Put FIXME comment above class declaration.
8630 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8631 * javax/swing/JCheckBox.java: Likewise.
8632 * javax/swing/JDialog.java: Likewise.
8633 * javax/swing/JRadioButton.java: Likewise.
8634 * javax/swing/JToggleButton.java: Likewise.
8635 * javax/swing/UIManager.java: Likewise.
8636 * javax/swing/border/TitledBorder.java: Likewise.
8637 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8638 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8639 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8640 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8641 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8642 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8643 * javax/swing/text/JTextComponent.java: Likewise.
8645 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
8647 * java/net/DatagramPacket.java (setAddress): Removed check for
8650 2004-07-17 Michael Koch <konqueror@gmx.de>
8652 * java/net/DatagramSocket.java
8653 (getLocalAddress): Check if socket is bound or not.
8654 * java/net/Socket.java
8655 (getLocalAddrss): Check if socket is bound or not.
8656 (getPort): Return -1 when not connected. Dont check getImpl() for
8658 (setReuseAddress): Check if socket is closed.
8659 (isConnected): Check if getImpl() returns null.
8661 2004-07-17 Mark Wielaard <mark@klomp.org>
8663 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8664 on notifier object before calling notifyAll().
8666 2004-07-17 Michael Koch <konqueror@gmx.de>
8668 * gnu/java/nio/channels/FileChannelImpl.java
8669 (finalize): Added javadoc.
8671 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
8673 * java/text/CollationElementIterator.java
8674 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8675 (setText): Use ArrayList instead of Vector.
8677 2004-07-17 Michael Koch <konqueror@gmx.de>
8679 * java/nio/ByteOrder.java
8680 (static): Removed. Not needed.
8681 Thanks to Patrick Reali for noticing.
8682 * java/nio/charset/CharsetDecoder.java
8683 (decode): Fix for classpath bug #9177: Reset state before flipping.
8685 2004-07-17 Michael Koch <konqueror@gmx.de>
8687 * java/security/Security.java: Fixed javadocs all over.
8689 2004-07-17 Michael Koch <konqueror@gmx.de>
8691 * gnu/java/awt/EmbeddedWindow.java
8693 (addNotify): Set peer via reflection.
8694 (setWindowPeer): Removed.
8695 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8696 * Makefile.am (nat_source_files):
8697 Removed gnu/java/awt/natEmbeddedWindow.cc.
8698 * Makefile.in: Regenerated.
8700 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
8702 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8704 * configure: Regenerated.
8706 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
8708 * configure.in: Use build_noncanonical rather than build_alias.
8709 * configure: Rebuild.
8711 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8712 by logic refactoring. Move default definition of NATIVE closer
8713 to first alternate definition.
8714 * configure: Regenerate.
8716 * Makefile.am: Set ZIP and GCJH directly using autoconf.
8717 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8718 gcj/Makefile.in: Regenerate.
8719 * configure.in: Set ZIP and GCJH. Remove redundant condition
8720 in AM_CONDITIONAL(NATIVE,...)
8721 * configure: Regenerate.
8723 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
8725 * configure.in: Use target_noncanonical rather than
8726 target_alias for forward-compatibility with autoconf 2.59.
8727 * configure: Regenerate.
8728 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8729 testsuite/Makefile.am: Substitute target_noncanonical.
8730 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8731 testsuite/Makefile.in: Regenerate.
8733 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8734 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8735 * acinclude.m4: Include acx.m4.
8736 * aclocal.m4: Regenerate.
8737 * configure: Regenerate.
8739 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
8742 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8743 (decimalFormat): New static variable.
8745 (getTime): New. Override Date.getTime().
8746 (toString): Synchronize. Use decimalFormat to format nanos value
8747 correctly. Truncate extra zeros.
8748 (before): Compare getNanos() only if getTime() is equal.
8751 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
8753 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8754 * configure.in: ...here.
8755 * aclocal.m4: Regenerate.
8756 * configure: Regenerate.
8758 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8759 * configure: Rebuilt with autoconf 2.13.
8760 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8761 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8763 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
8766 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
8768 * Makefile.in: Rebuilt.
8769 * testsuite/libjava.lang/LargeFile.java: New test case.
8770 * testsuite/libjava.lang/LargeFile.out: New file.
8772 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
8774 * java/beans/EventHandler.java: Remove debugging statements.
8776 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
8778 * java/beans/EventHandler.java: New file.
8779 * Makefile.am (awt_java_source_files): Add EventHandler.java.
8780 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8781 testsuite/Makefile.in: Regenerate.
8783 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
8785 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
8786 flag to the gcj_setup.
8787 (gcj_jacks_run): Check tclsh version and launch jacks directly with
8789 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
8790 deprecation flag change. 58 XFAILS removed.
8792 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
8794 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
8795 -fno-use-divide-subroutine.
8796 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
8797 (HANDLE_FPE): Define.
8798 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
8799 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8800 (HANDLE_DIVIDE_OVERFLOW): Define.
8802 2004-07-14 Michael Koch <konqueror@gmx.de>
8803 Matthias Klose <doko@debian.org>
8805 * java/awt/im/InputContext.java: Initialize in, line.
8807 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
8809 * interpret.cc (run): Correctly access libffi return values of
8810 integral smaller-than-int type; these are implicitly promoted.
8812 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
8815 * interpret.cc (compile_mutex): New.
8816 (_Jv_InitInterpreter): New. Initialize compile_mutex.
8817 (run): Lock compile_mutex before calling compile() if compilation is
8819 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
8820 * include/java-interp.h (_Jv_InitInterpreter): Declare.
8822 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
8825 * include/jvm.h (_Jv_value): New union type.
8826 * gcj/field.h (_Jv_Field): Add new _addr union field variants
8827 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
8830 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
8832 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
8833 * gnu/awt/xlib/XOffScreenImage.java
8834 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
8835 constructor argument. Add constructor using ImageProducer.
8836 (getSource): Implement.
8837 (imageComplete): New method.
8838 (setColorModel): New method.
8839 (setDimensions): New method.
8840 (setHints): New method.
8841 (setPixels): New method.
8842 (setProperties): New method.
8843 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
8844 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
8846 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
8849 * prims.cc (_Jv_CreateJavaVM): Fix comment.
8850 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
8851 (finalizerReady): Now native.
8853 (runFinalizers): Removed.
8854 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
8855 a primitive lock, and don't hold it while running the finalizers.
8856 (runFinalizers): Implement. Don't aquire any Java lock.
8857 (finalizerReady): Use lock primitives to signal finalizer thread.
8859 2004-07-11 Mark Wielaard <mark@klomp.org>
8861 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
8862 * java/net/URLStreamHandler.java (parseURL): When url file part
8863 doesn't contain a '/' just ignore context.
8865 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
8867 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
8868 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8869 (MAKE_THROW_FRAME): Do not modify PSW address.
8870 (INIT_SEGV): Install SIGINFO-style signal handler.
8871 (INIT_FPE): Likewise.
8873 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
8875 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
8876 status. 21 xfail's removed, 1 added.
8878 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
8880 * gcj/javaprims.h: Regenerate CNI namespace definitions.
8882 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
8884 * java/text/MessageFormat.java
8885 (formatInternal): Append "{n}" if argument n is unavailable.
8886 (format(Object, StringBuffer, FieldPosition)): This
8887 should be equivalent to format(Object[],
8888 StringBuffer, FieldPosition).
8890 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8892 * java.util.Calendar.java (cache): New private static field. Cached
8893 mappings of locales->calendar classes.
8894 (ctorArgTypes): New private static field. Singleton argument for
8895 calendar class constructor lookup.
8896 (getInstance): Cache Locale->Calendar class mappings using HashMap.
8897 Optimize by bypassing reflection instantiation for the
8898 GregorianCalendar case.
8900 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8902 * java/util/Calendar.java: Use getSystemClassLoader as argument for
8903 ResourceBundle.getBundle() calls.
8904 * java/util/GregorianCalendar.java: Likewise.
8905 * java/util/Currency.java: Likewise.
8906 * java/text/BreakIterator.java: Likewise.
8907 * java/text/Collator.java: Likewise.
8908 * java/text/DateFormat.java: Likewise.
8909 * java/text/DateFormatSymbols.java: Likewise.
8910 * java/text/DecimalFormatSymbols.java: Likewise.
8911 * java/text/NumberFormat.java: Likewise.
8912 * java/awt/Window.java: Likewise.
8914 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8916 * java/util/ResourceBundle.java (bundleCache): Renamed from
8917 resourceBundleCache. Update comments.
8918 (getObject): Don't catch MissingResourceException.
8919 (getBundle(String)): Remove 'final'. Use system classloader if
8920 getCallingClassLoader returned null.
8921 (getBundle(String, Locale)): Likewise.
8922 (BundleKey): New private class. HashMap key for bundle cache lookup.
8923 (lookupKey): New. Singleton instance of BundleKey.
8924 (nullEntry): New. Cache entry to represent failed lookups.
8925 (getBundle(String, Locale, ClassLoader)): Re-written to use new
8926 caching strategy, no-allocation lookup, and new tryBundle methods.
8927 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
8928 name using given classloader.
8929 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
8930 baseName for given Locale and attempt to load bundle.
8932 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8934 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
8935 illegal protected method calls.
8937 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8939 Fix or remove some bogus test cases.
8940 * testsuite/libjava.compile/pr10459_2.java: Removed.
8941 * testsuite/libjava.compile/pr10459.java: Test using its own method,
8943 * testsuite/libjava.compile/inner_data.java: Test against its own
8946 2004-07-09 Michael Koch <konqueror@gmx.de>
8948 * scripts/unicode-muncher.pl: Updated to version 2.1
8949 from GNU classpath. Added some clarifications on where to find the
8950 needed files from www.unicode.org.
8951 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
8952 gnu/gcj/convert/UnicodeData-3.0.0.txt:
8953 Removed, these can directly be downloaded from www.unicode.org if
8955 * gnu/java/lang/CharData.java: Regenerated.
8956 * include/java-chartables.h: Regenerated.
8957 * Makefile.am (ordinary_java_source_files):
8958 Removed gnu/java/lang/CharData.java.
8959 * Makefile.in: Regenerated.
8961 2004-07-09 Michael Koch <konqueror@gmx.de>
8963 * java/security/AccessControlContext.java,
8964 java/security/SecureClassLoader.java:
8967 2004-07-09 Michael Koch <konqueror@gmx.de>
8969 * java/io/ObjectInputStream.java (readFields): Use long datatype
8970 when shifting byte values more then 24 bits left.
8972 2004-07-09 Michael Koch <konqueror@gmx.de>
8974 * java/util/zip/DeflaterOutputStream.java,
8975 java/util/zip/GZIPInputStream.java,
8976 java/util/zip/GZIPOutputStream.java,
8977 java/util/zip/InflaterInputStream.java:
8978 Reformatted. Added javadocs. Reordered all stuff.
8979 Renamed variables to be more clear.
8981 2004-07-09 Michael Koch <konqueror@gmx.de>
8983 * javax/imageio/IIOException.java,
8984 javax/imageio/event/IIOReadProgressListener.java,
8985 javax/imageio/event/IIOReadUpdateListener.java,
8986 javax/imageio/event/IIOReadWarningListener.java,
8987 javax/imageio/event/IIOWriteProgressListener.java,
8988 javax/imageio/event/IIOWriteWarningListener.java:
8990 * Makefile.am: Added new files.
8991 * Makefile.in: Regenerated.
8993 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
8995 * java/text/RuleBasedCollator.java
8996 (mergeRules): Use ArrayList instead of Vector.
8997 (subParseString): likewise.
8998 (parseString): likewise.
8999 (buildCollationVector): likewise.
9000 (getCollationKey): likewise.
9002 2004-07-09 Dalibor Topic <robilad@kaffe.org>
9004 * java/text/DateFormat.java (parse):
9005 Improved javadoc. Improved exception message.
9007 2004-07-09 Mark Wielaard <mark@klomp.org>
9009 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
9010 interrupted() method to clear interupt flag of our Thread.
9012 2004-07-09 Dalibor Topic <robilad@kaffe.org>
9014 * java/nio/Buffer.java,
9015 java/nio/ByteBuffer.java,
9016 java/nio/ByteBufferHelper.java,
9017 java/nio/ByteBufferImpl.java,
9018 java/nio/CharBuffer.java,
9019 java/nio/CharBufferImpl.java,
9020 java/nio/CharViewBufferImpl.java,
9021 java/nio/DirectByteBufferImpl.java,
9022 java/nio/DoubleBuffer.java,
9023 java/nio/DoubleBufferImpl.java,
9024 java/nio/DoubleViewBufferImpl.java,
9025 java/nio/FloatBuffer.java,
9026 java/nio/FloatBufferImpl.java,
9027 java/nio/FloatViewBufferImpl.java,
9028 java/nio/IntBuffer.java,
9029 java/nio/IntBufferImpl.java,
9030 java/nio/IntViewBufferImpl.java,
9031 java/nio/LongBuffer.java,
9032 java/nio/LongBufferImpl.java,
9033 java/nio/LongViewBufferImpl.java,
9034 java/nio/MappedByteBufferImpl.java,
9035 java/nio/ShortBuffer.java,
9036 java/nio/ShortBufferImpl.java,
9037 java/nio/ShortViewBufferImpl.java:
9038 Fixed javadocs all over. Improved input error
9041 * java/nio/Buffer.java
9042 (checkForUnderflow, checkForOverflow, checkIndex,
9043 checkIfReadOnly, checkArraySize): New helper methods
9046 * java/nio/ByteBufferHelper.java
9047 (checkRemainingForRead, checkRemainingForWrite,
9048 checkAvailableForRead, checkAvailableForWrite): Removed
9049 no longer needed methods.
9051 2004-07-09 Michael Koch <konqueror@gmx.de>
9053 * gnu/regexp/CharIndexedInputStream.java:
9054 Reordered imports to match classpath.
9056 2004-07-09 Michael Koch <konqueror@gmx.de>
9058 * gnu/java/awt/EmbeddedWindow.java:
9059 Load native library for setWindowPeer method.
9061 2004-07-08 Randolph Chung <tausq@debian.org>
9063 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9064 * configure: Regenerate.
9065 * configure.host: Set can_unwind_signal for hppa*-linux.
9066 * include/pa-signal.h: New file.
9068 2004-07-07 Per Bothner <per@bothner.com>
9070 * Makefile.am: Add rules to build libgij from just gij.cc.
9072 * include/jvm.h (namespace jcj): Declare verbose_class_flag
9073 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
9074 (initializeClass): If verbose_class_flag, print message.
9075 * gij.cc (main): Handle -verbose:class flag.
9077 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
9079 * configure.host: Enable hash synchronization on Darwin.
9080 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9081 ';', since this is a comment on Darwin.
9082 (compare_and_swap_release): Likewise.
9084 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
9086 * java/net/URLStreamHandler.java (parseURL): Canonicalize
9087 file portion of URL in addition to spec for file: protocol.
9089 2004-07-05 Anthony Green <green@redhat.com>
9091 * java/io/File.java (toURI): Merge from Classpath.
9093 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
9095 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9096 before passing to URL constructor. Rethrow any MalformedURLException
9097 as a RuntimeException. Catch MalformedURLException specifically, not
9100 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
9102 * java/util/Locale.java (readObject): Intern strings read from object
9105 2004-07-04 Michael Koch <konqueror@gmx.de>
9107 * gnu/gcj/runtime/FirstThread.java,
9108 gnu/gcj/runtime/natFirstThread.cc: Removed.
9109 * gnu/java/lang/MainThread.java,
9110 gnu/java/lang/natMainThread.cc: New files.
9111 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9112 * Makefile.am: Added new files and removed deleted ones.
9113 * Makefile.in: Regenerated.
9115 2004-07-03 Mark Wielaard <mark@klomp.org>
9116 Anthony Green <green@redhat.com>
9118 * java/net/URL.java (getFile): Clarify return value doc.
9119 (getPath): Return null if file is empty - not empty String.
9120 (set): Convert protocol to lower case before doing anything.
9121 Only change the protocol handler if it's different.
9123 2004-07-03 Anthony Green <green@redhat.com>
9125 * java/net/URL.java (URL): Convert protocol to lower case before
9126 doing anything, so we getURLStreamHandler() with the proper value.
9128 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
9130 * java/util/Locale.java (hashcode): Made transient.
9131 (hashCode): No longer synchronized.
9132 (equals): Remove comment.
9133 (writeObject): No longer synchronized. Implement using writeObject
9134 calls instead of tweaking hashCode field. Update doc.
9135 (readObject): Implement using readObject calls.
9137 2004-06-26 Geoffrey Keating <geoffk@apple.com>
9138 Andreas Tobler <a.tobler@schweiz.ch>
9140 * configure.host (powerpc-*-darwin*): New case, define
9142 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9143 * configure: Regenerate.
9144 * include/darwin-signal.h: New.
9146 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
9148 * java/beans/Statement.java (doExecute): Fix formatting.
9150 2004-06-29 Per Bothner <per@bothner.com>
9152 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9153 etc etc): Remove needless parenthesis, which causes __stdcall__
9154 attribute on MinGW to get ignored.
9156 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
9158 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9160 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
9162 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9164 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
9166 * java/beans/Expression.java: New file.
9167 * java/beans/Statement.java: New file.
9168 * Makefile.am: Added new files.
9169 * Makefile.in: Re-generate.
9171 2004-06-27 Mark Wielaard <mark@klomp.org>
9173 * java/io/FilePermission.java (usingPerms): Removed.
9174 (actionsString): Made final.
9175 (cachePerms): Renamed to checkPerms.
9176 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9178 (FilePermission): Check arguments, call checkPerms().
9179 (equals): Remove cachePerms() call.
9180 (implies): Likewise.
9182 2004-06-27 Mark Wielaard <mark@klomp.org>
9184 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9186 (sendRequest): Use new field in user-agent http agent.
9188 2004-06-27 Mark Wielaard <mark@klomp.org>
9190 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9191 when argument is null.
9193 2004-06-26 Mark Wielaard <mark@klomp.org>
9195 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9196 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9198 (cancel_clicked): Likewise.
9200 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
9202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9203 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9204 can not calculate the right value.
9205 (dpi_changed_cb): Likewise. Mark *pspec as unused.
9207 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
9209 * testsuite/libjava.jacks/jacks.xfail: Remove
9210 15.9.1-qualified-concrete-20.
9212 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
9214 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9215 encoding name to iconv.
9216 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9218 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
9221 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
9222 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9223 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9225 2004-06-21 Andrew Haley <aph@redhat.com>
9227 * java/io/ObjectOutputStream.java: Add DEBUG statements
9229 (dumpElementln): New method.
9231 * java/io/ObjectInputStream.java
9232 (currentClassLoader): Make native.
9233 (callersClassLoader): New field.
9235 (readObject): ENDBLOCKDATA is generated if the class has a write
9236 method, not if it has a read method.
9237 (readObject): Save and restore this.currentObject and
9238 this.currentObjectStreamClass around calls to callReadMethod().
9239 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9242 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
9244 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9247 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9249 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9250 if desired, before the default class loader is initialised.
9251 Call INIT_SEGV only if HANDLE_SEGV is defined.
9253 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9255 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9256 directory only if it actually exists.
9258 2004-06-18 Graydon Hoare <graydon@redhat.com>
9260 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9261 Fix up non-ansi comments.
9263 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9265 * javax/swing/text/AbstractDocument.java: Adding missing import
9266 for javax.swing.event.EventListenerList.
9267 * javax/swing/text/DefaultCaret.java: Likewise.
9269 2004-06-17 Michael Koch <konqueror@gmx.de>
9271 * javax/swing/JToolBar.java
9273 (JToolBar): Use Component.setName(String) instead of doing it all
9275 * javax/swing/Timer.java
9276 (queueEvent): Added missing modifier.
9278 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
9280 * Makefile.am: Added new file.
9281 * Makefile.in: Re-generate.
9282 * javax/swing/JMenu.java:
9283 (insertSeparator): Implemented.
9284 * javax/swing/JPopupMenu.java:
9285 (JPopupMenu.Separator): Implemented.
9286 * javax/swing/MenuSelectionManager.java:
9287 (processMouseEvent): Use java.awt.Component
9288 for event source instead of javax.swing.JComponent.
9289 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9290 New File. Implemented.
9292 2004-06-16 David Jee <djee@redhat.com>
9294 * java/awt/GridBagLayout.java
9295 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9296 Make sure pos_x and pos_y are never negative.
9298 2004-04-16 Andrew Overholt <overholt@redhat.com>
9300 * Makefile.am: Add new file.
9301 * Makefile.in: Re-generate.
9302 * javax/swing/JToolBar.java
9303 Partially implemented.
9304 * javax/swing/plaf/basic/BasicToolBarUI.java
9305 New file. Partially implemented.
9307 2004-06-16 Graydon Hoare <graydon@redhat.com>
9309 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9310 (setComposite): Accept AlphaComposite arguments.
9311 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9312 (createBufferedImage): Add new overloads.
9313 * gnu/java/awt/peer/gtk/GtkToolkit.java
9314 (createImage): Use GdkPixbufDecoder.createBufferedImage
9315 when useGraphics2D() is true.
9316 (getImage): Delegate to createImage.
9317 * javax/swing/JList.java
9319 (getFirstVisibleIndex):
9320 (getLastVisibleIndex):
9322 (ensureIndexIsVisible): New methods.
9323 * javax/swing/Timer.java: Reimplement.
9325 2004-06-16 Michael Koch <konqueror@gmx.de>
9327 * javax/swing/text/AbstractDocument.java
9328 (AbstracElement): Made public, implements java.io.Serializable.
9329 (AttributeContext): Made public.
9330 (BranchElement): Likewise.
9331 (Content): Likewise.
9332 (DefaultDocumentEvent): Made public, extends
9333 javax.swing.undo.CompoundEdit.
9334 (ElementEdit): Made public, extends
9335 javax.swing.undo.AbstractUndoableEdit.
9336 (LeafElement): Made public.
9337 (LeafElement.LeafElement): Made public.
9339 2004-06-16 Michael Koch <konqueror@gmx.de>
9341 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9342 methods (that were obviously never be intended to get included hi this
9343 class. Added some methods too.
9345 2004-06-16 Michael Koch <konqueror@gmx.de>
9347 * javax/swing/text/PlainDocument.java
9348 (serialVersionUID): New constant.
9349 (lineLimitAttribute): Likewise.
9350 (tabSizeAttribute): Likewise.
9351 (tabSize): New field.
9352 (PlainDocument): Made public.
9353 (PlainDocument): New constructor.
9355 2004-06-16 Michael Koch <konqueror@gmx.de>
9357 * javax/swing/text/AbstractDocument.java
9358 (insertString): Throws BadLocationException.
9359 * javax/swing/text/Document.java
9360 (insertString): Likewise.
9361 * javax/swing/text/JTextComponent.java:
9362 Javadocs and comments cleaned up.
9364 2004-06-16 Michael Koch <konqueror@gmx.de>
9366 * javax/swing/event/UndoableEditListener.java: Reformatted.
9367 * javax/swing/text/AbstractDocument.java
9368 (AbstractDocument): Implements java.io.Serializable.
9369 (doc_list): Removed.
9370 (undo_list): Removed.
9371 (AbstractElement.serialVerionUID): New field.
9372 (BranchElement.serialVerionUID): Likewise.
9373 (DefaultDocumentEvent.serialVerionUID): Likewise.
9374 (ElementEdit.serialVerionUID): Likewise.
9375 (LeafElement.serialVerionUID): Likewise.
9376 (serialVerionUID): Likewise.
9377 (BAD_LOCATION): New constant.
9378 (BidiElementName): Likewise.
9379 (ContentElementName): Likewise.
9380 (ParagraphElementName): Likewise.
9381 (SectionElementName): Likewise.
9382 (ElementNameAttribute): Likewise.
9383 (AbstractDocument): Made protected.
9384 (AbstractDocument): New construtor.
9385 (listenerList): New field.
9386 (fireChangedUpdate): Implemented.
9387 (fireInsertUpdate): Likewise.
9388 (fireRemoveUpdate): Likewise.
9389 (fireUndoableEditUpdate): Likewise.
9390 (getListeners): Likewise.
9391 (addDocumentListener): Likewise.
9392 (removeDocumentListener): Likewise.
9393 (addUndoableEditListener): Likewise.
9394 (removeUndoableEditListener): Likewise.
9395 (getDocumentListeners): New method.
9396 (getUndoableEditListeners): Likewise.
9397 (getAsynchronousLoadPriority): Made public.
9398 (getBidiRootElement): Likewise.
9399 (setAsynchronousLoadPriority): Likewise.
9400 (setDocumentProperties): Likewise.
9401 * javax/swing/text/BadLocationException.java
9402 (serialVerionUID): New field.
9403 * javax/swing/text/DefaultCaret.java
9404 (changeEvent): New field.
9405 (listenerList): Likewise.
9407 (addChangeListener): Reimplemented.
9408 (removeChangeListener): Likewise.
9409 (getListeners): New method.
9410 (getChangeListeners): Likwise.
9411 (getComponent): Likewise.
9412 * javax/swing/text/GapContent.java
9413 (GapContent): Implements java.io.Serializable.
9414 (serialVerionUID): New field.
9416 2004-06-16 Michael Koch <konqueror@gmx.de>
9418 * javax/swing/JTree.java
9419 (treeModel): New field.
9420 (JTree): New constructors, one existing one made public.
9421 (createTreeModel): New method.
9422 (addTreeExpansionListener): Likewise.
9423 (removeTreeExpansionListener): Likewise.
9424 (getTreeExpansionListeners): Likewise.
9425 (fireTreeCollapsed): Likewise.
9426 (fireTreeExpanded): Likewise.
9427 (addTreeSelectionListener): Likewise.
9428 (removeTreeSelectionListener): Likewise.
9429 (getTreeSelectionListeners): Likewise.
9430 (fireValueChanged): Likewise.
9431 (addTreeWillExpandListener): Likewise.
9432 (removeTreeWillExpandListener): Likewise.
9433 (getTreeWillExpandListeners): Likewise.
9434 (fireTreeWillCollapse): Likewise.
9435 (fireTreeWillExpand): Likewise.
9437 2004-06-16 Michael Koch <konqueror@gmx.de>
9439 * javax/swing/JTree.java: Reformatted.
9441 2004-06-16 Michael Koch <konqueror@gmx.de>
9443 * javax/swing/JTextArea.java: New file.
9444 * javax/swing/JTextField.java
9446 (notifyAction): New constant.
9447 (columns): New field.
9448 (JTextField): New constructors.
9449 (createDefaultModel): New method.
9450 (addActionListener): Reimplmemented.
9451 (removeActionListener): Reimplemented.
9452 (getActionListeners): New method.
9453 (fireActionPerformed): New method.
9454 (getColumns): New method.
9455 (setColumne): New method.
9456 * javax/swing/text/JTextComponent.java
9457 (AccessibleJTextComponent.serialVersionUID): New field.
9458 (serialVersionUID): Likewise.
9459 (DEFAULT_KEYMAP): Likewise.
9460 (FOCUS_ACCELERATOR_KEY): Likewise.
9461 (doc): Made private.
9462 (icon_gap): Likewise.
9465 (JTextComponent): Some constructors removed.
9466 (getScrollableTracksViewportHeight): New method.
9467 (getScrollableTracksViewportWidth): Likewise.
9468 * Makefile.am: Added javax/swing/JTextArea.java.
9469 * Makefile.in: Regenerated.
9471 2004-06-15 Graydon Hoare <graydon@redhat.com>
9473 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9474 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9475 * javax/swing/JViewport.java
9476 (getExtentSize): Return size rather than preferred size.
9477 (toViewCoordinates): New methods.
9478 (getViewSize): Return size rather than preferred size.
9479 (setViewSize): Note view size as set.
9480 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9481 * javax/swing/plaf/basic/BasicScrollBarUI.java
9482 (getPreferredSize): Don't redo layout.
9483 * javax/swing/plaf/basic/BasicViewportUI.java
9484 (paint): Translate image properly and eat exceptions.
9486 2004-06-15 Kim Ho <kho@redhat.com>
9488 * javax/swing/JTabbedPane.java
9489 (setComponent): Remove old component and
9491 (setSelectedIndex): Don't operate on the
9492 components if they're null. Don't set index
9493 on the model if the index is the same.
9494 (insertTab): Don't add or hide the component
9495 if it's null. Repaint the container.
9496 * javax/swing/plaf/basic/BasicLookAndFeel.java
9497 Change colors for TabbedPane.
9498 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9499 (mousePressed): Re-layout and paint the component.
9500 (layoutContainer): Don't set location on the view.
9501 (ScrollingViewport::paint): Remove.
9503 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9506 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9509 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9510 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
9512 (drawLine): Call gdk_flush before leaving GDK critical region.
9513 (fillRect): Likewise.
9514 (drawRect): Likewise.
9515 (copyArea): Likewise.
9516 (copyPixmap): Likewise.
9517 (clearRect): Likewise.
9518 (drawArc): Likewise.
9519 (drawPolyline): Likewise.
9520 (drawPolygon): Likewise.
9521 (fillPolygon): Likewise.
9522 (fillArc): Likewise.
9523 (drawOval): Likewise.
9524 (fillOval): Likewise.
9526 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9528 (GdkFontMetrics): Add style argument to initState call.
9529 (stringWidth(String,int,int,String)): Add style parameter.
9530 (stringWidth(String)): Add style argument to stringWidth call.
9531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9532 (initState): Set pango font style and weight based on AWT style
9533 parameter. Pass default GTK language to
9534 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
9535 simply dividing by PANGO_SCALE.
9536 (stringWidth): Set pango font style and weight based on AWT style
9539 * java/awt/Button.java (next_button_number): New field.
9540 (paramString): Change output.
9541 (generateName): New method.
9542 (getUniqueLong): New method.
9544 2004-06-14 Kim Ho <kho@redhat.com>
9546 * javax/swing/JTabbedPane.java:
9547 (setComponentAt): Set the component, not
9549 * javax/swing/plaf/basic/BasicDesktopIconUI.java
9550 (actionPerformed): Let deiconize catch exception.
9552 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9554 * javax/swing/JPopupMenu.java:
9555 (setVisible): Corrected location of a
9556 heavyweight popup menu.
9558 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9560 * javax/swing/MenuSelectionManager.java:
9561 Ran through jalopy to fix formatting style.
9563 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9565 * javax/swing/JLayeredPane.java:
9566 (remove): Revalidate and repaint layered pane after
9567 the component was removed.
9568 javax/swing/JMenu.java:
9569 (setVisible): Display popup menu at the user location,
9570 if one was set by the user.
9571 (setMenuLocation): Reimplemented. Fixed javadoc.
9572 * javax/swing/JMenuBar.java: Added javadoc.
9573 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9574 (MODEL_CHANGED_PROPERTY): New Property.
9575 (isSelected): Implemented.
9576 (setBorderPainted): Fire PropertyChangeEvent
9577 if paintBorder property changes.
9578 (setSelected): Implemented.
9579 (setSelectionModel): Implemented.
9580 * javax/swing/JPopupMenu.java: Added Javadoc
9581 (pack): Implemented.
9582 (setVisible): Reimplemented.
9583 (show): Fixed location.
9584 (JPopupMenu.LigthWeightPopup): Reimplemented to use
9585 Container instead of JPanel.
9586 * javax/swing/MenuSelectionManager.java: Added Javadocs.
9587 (clearSelectedPath): Reimplemented to clear selectedPath
9589 (processMouseEvent): Reimplemented.
9590 (setSelectedPath): Fire stateChange event indicating that
9591 selected menu path has changed.
9592 (getPath): Change to use ArrayList instead of Vector.
9593 * javax/swing/plaf/basic/BasicMenuBarUI.java:
9594 (installUI): call installKeyboardActions().
9595 (uninstallUI): call uninstallKeyboardActions().
9597 2004-06-13 Michael Koch <konqueror@gmx.de>
9599 * javax/swing/text/DefaultCaret.java,
9600 javax/swing/text/BadLocationException.java:
9603 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
9605 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9606 DEFAULT_COLS): New variables.
9607 (create): Don't allow 0 rows or 0 columns. Instead, set the
9608 values to DEFAULT_ROWS or DEFAULT_COLS.
9609 (getMinimumSize): Likewise.
9610 (getPreferredSize): Likewise.
9611 (minimumSize): Likewise.
9612 (preferredSize): Likewise.
9613 (create): Set peer's editable state.
9614 * java/awt/TextArea.java (TextArea()): Set rows and columns to
9615 zero. Update javadocs.
9616 (TextArea(String)): Likewise.
9617 (TextArea(int,int)): Fix javadocs.
9618 (TextArea(String,int,int,int)): Only throw exception if one of
9619 rows or columns is zero. Fix javadocs.
9621 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9623 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9624 addition to Components.
9626 * java/awt/MenuItem.java (dispatchEventImpl): If the event
9627 wasn't consumed by normal processing, send it to the parent
9630 * gnu/java/awt/peer/gtk/GtkImagePainter.java
9631 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9634 2004-06-11 David Jee <djee@redhat.com>
9636 * java/awt/MediaTracker.java
9637 (addImage(Image,int)): Call imageUpdate() to udpate image status.
9638 (addImage(Image,int,int,int)): Likewise.
9640 2004-06-11 Michael Koch <konqueror@gmx.de>
9642 * javax/swing/text/AbstractDocument.java,
9643 javax/swing/text/Document.java,
9644 javax/swing/text/GapContent.java,
9645 javax/swing/text/JTextComponent.java,
9646 javax/swing/text/PlainDocument.java:
9649 2004-06-11 Michael Koch <konqueror@gmx.de>
9651 * javax/swing/JRootPane.java
9652 (AccessibleJRootPane.serialVersionUID): New field.
9653 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9654 (AccessibleJRootPane.getAccessibleRole): New method.
9655 (RootLayout): Implements Serializable.
9656 (RootLayout.serialVersionUID): New field.
9657 (RootLayout.RootLayout): New constructor.
9658 (setJMenuBar): Made public.
9659 (getJMenuBar): Likewise.
9660 (JRootPane): Likewise.
9661 (createContentPane): Likewise.
9662 (createGlassPane): Likewise.
9663 (createLayeredPane): Likewise.
9665 2004-06-11 Michael Koch <konqueror@gmx.de>
9667 * javax/swing/SwingUtilities.java
9668 (isLeftMouseButton): Fixed javadoc.
9669 (isMiddleMouseButton): Likewise.
9670 (isRightMouseButton): Likewise.
9672 2004-06-11 Michael Koch <konqueror@gmx.de>
9674 * javax/swing/JScrollPane.java
9675 (serialVersionUID): New field.
9676 (columnHeader): Made protected.
9677 (rowHeader): Likewise.
9678 (lowerLeft): Likewise.
9679 (lowerRight): Likewise.
9680 (upperLeft): Likewise.
9681 (upperRight): Likewise.
9682 (horizontalScrollBar): Likewise.
9683 (horizontalScrollBarPolicy): Likewise.
9684 (verticalScrollBar): Likewise.
9685 (verticalScrollBarPolicy): Likewise.
9686 (viewport): Likewise.
9688 2004-06-11 Michael Koch <konqueror@gmx.de>
9690 * javax/swing/LookAndFeel.java: Fixed javadocs.
9692 2004-06-11 Michael Koch <konqueror@gmx.de>
9694 * javax/swing/JEditorPane.java: Fixed javadocs.
9695 (JEditorPane): Removed redundant call to to this().
9696 (fireHyperlinkUpdate): Implemented.
9698 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9700 * javax/swing/JMenu.java: Fixed file name
9701 in the file comment.
9703 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9705 * javax/swing/JMenu.java: Added javadoc.
9706 (JMenu): Added MenuChangeListener to listen to
9707 ChangeEvents occuring in menu's model.
9708 (insert): Throw IllegalArgumentException if
9709 index is less than 0
9710 (setSelected): Reimplement.
9711 (setPopupMenuVisible): Call menu's model isEnabled()
9712 (setDelay): Throw IllegalArgumentException if
9713 given amount of delay is less than 0.
9714 (createActionComponent): Implemented.
9715 (createActionChangeListener): Implemented.
9716 (addSeparator): Implemented.
9717 (getItem): Throw IllegalArgumentException if index is
9719 (getItemCount): Implemented.
9720 (fireMenuSelected): Changed to use menuEvent.
9721 (fireMenuDeselected): Likewise.
9722 (fireMenuCanceled): Likewise.
9723 (setAccelerator): Changed to throw an error if this
9725 (doClick): Implemented.
9726 (JMenu.ActionChangedListener): New inner class to handle
9727 PropertyChangeEvents occuring in the actions associated with menu.
9728 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9729 (BasicMenuUI): Added PropertyChangeListener to the menu.
9730 (createChangeListener): Implemented.
9731 (createMenuDragMouseListener): Likewise.
9732 (createMenuKeyListener): Likewise.
9733 (createPropertyChangeListener): Likewise.
9734 (uninstallListeners): Likewise.
9735 (BasicMenuUI.MouseInputHandler): Reimplemented.
9736 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9737 (BasicMenuUI.ChangeHandler): Likewise.
9738 (BasicMenuUI.MenuDragMouseHandler): Likewise.
9739 (BasicMenuUI.MenuKeyHandler): Likewise.
9741 2004-06-10 David Jee <djee@redhat.com>
9743 * java/awt/MediaTracker.java
9744 (imageUpdate): Only do notifyAll() if the image is complete.
9746 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9748 * javax/swing/JApplet.java:
9749 (getJMenuBar): Made public.
9750 (setJMenuBar): Likewise.
9751 * javax/swing/JFrame.java:
9752 (getJMenuBar): Made public.
9753 (setJMenuBar): Likewise.
9754 * javax/swing/JWindow.java:
9755 (getJMenuBar): Removed.
9756 (setJMenuBar): Removed.
9758 2004-06-10 Michael Koch <konqueror@gmx.de>
9760 * javax/swing/JEditorPane.java
9761 (createEditorKitForContentType): Fixed visibility.
9762 (fireHyperlinkUpdate): Likewise.
9763 (getContentType): Likewise.
9764 (getEditorKit): Likewise.
9765 (getEditorKitForContentType): Likewise.
9766 (getPage): Likewise.
9768 (registerEditorKitForContentTyoe): Likewise.
9769 (replaceSelection): Likewise.
9770 (setContentType): Likewise.
9771 (setEditorKit): Likewise.
9772 (setPage): Likewise.
9774 2004-06-10 Michael Koch <konqueror@gmx.de>
9776 * javax/swing/Timer.java
9777 (Timer): New constructor.
9778 * javax/swing/plaf/basic/BasicProgressBarUI.java
9779 (animationTimer): Don't initialize at construction.
9780 (startAnimationTimer): Added since tag.
9781 (stopAnimationTimer): Likewise.
9782 (installUI): Use new Timer constructor.
9783 * javax/swing/plaf/basic/BasicScrollBarUI.java
9784 (installUI): Likewise.
9785 * javax/swing/plaf/basic/BasicSliderUI.java
9786 (installUI): Likewise.
9788 2004-06-10 Michael Koch <konqueror@gmx.de>
9790 * javax/swing/ButtonGroup.java
9791 (serialVersionUID): Made private.
9792 (buttons): Renamed from v, added javadoc.
9793 (sel): Added javadoc.
9794 (ButtonGroup): Likewise.
9797 (getElements): Likewise.
9798 (getSelection): Likewise.
9799 (setSelected): Likewise.
9800 (isSelected): Likewise.
9801 (getButtonCount): Likewise.
9803 2004-06-10 Michael Koch <konqueror@gmx.de>
9805 * javax/swing/ButtonGroup.java,
9806 javax/swing/ImageIcon.java,
9807 javax/swing/JEditorPane.java,
9808 javax/swing/JRootPane.java,
9809 javax/swing/JTextField.java,
9810 javax/swing/LookAndFeel.java,
9811 javax/swing/plaf/basic/BasicTextUI.java:
9814 2004-06-10 Michael Koch <konqueror@gmx.de>
9816 * javax/swing/text/Style.java: Added javadocs.
9818 2004-06-10 Michael Koch <konqueror@gmx.de>
9820 * javax/swing/JComponent.java
9821 (fireVetoableChange): Removed redundant cast.
9822 * javax/swing/JLabel.java
9823 (getDisabledIcon): Save icon for next call.
9825 2004-06-10 Michael Koch <konqueror@gmx.de>
9827 * javax/swing/KeyStroke.java
9828 (getKeyStroke(char,boolean)): Marked deprecated.
9830 2004-06-10 Michael Koch <konqueror@gmx.de>
9832 * javax/swing/DefaultCellEditor.java,
9833 javax/swing/GrayFilter.java,
9834 javax/swing/event/DocumentEvent.java,
9835 javax/swing/text/JTextComponent.java,
9836 javax/swing/text/MutableAttributeSet.java:
9839 2004-06-10 Michael Koch <konqueror@gmx.de>
9841 * javax/swing/plaf/BorderUIResource.java:
9842 Added serialVersionUID all over.
9844 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
9846 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9848 2004-06-10 Michael Koch <konqueror@gmx.de>
9850 * javax/swing/table/DefaultTableCellRenderer.java
9851 (noFocusBorder): Initialize directly.
9853 2004-06-10 Michael Koch <konqueror@gmx.de>
9855 * javax/swing/plaf/basic/BasicArrowButton.java
9856 (setDirection): Use method argument.
9858 2004-06-10 Michael Koch <konqueror@gmx.de>
9860 * javax/swing/plaf/BorderUIResource.java,
9861 javax/swing/plaf/ComponentUI.java,
9862 javax/swing/undo/CompoundEdit.java,
9863 javax/swing/undo/StateEdit.java:
9864 Fixed javadocs all over.
9866 2004-06-10 Michael Koch <konqueror@gmx.de>
9868 * javax/swing/DefaultButtonModel.java
9869 (ARMED): Made public final, fixed value.
9870 (ENABLED): Likewise.
9871 (PRESSED): Likewise.
9872 (ROLLOVER): Likewise.
9873 (SELECTED): Likewise.
9874 (stateMask): Initialize directly.
9875 (listenerList): Likewise.
9876 (mnemonic): Likewise.
9877 (fireStateChanged): Removed argument, use changeEvent as event.
9878 All places where this method is called are fixed too.
9879 (getActionCommant): Fixed javadoc.
9880 (setGroup): Fixed javadoc.
9881 (getGroup): New method.
9883 2004-06-09 Olga Rodimina <rodimina@redhat.com>
9885 * javax/swing/AbstractButton.java
9886 (AbstractButton): Use init() to initialize the button.
9887 (init): New Method. Initializes AbstractButton.
9888 * javax/swing/JMenuItem.java: Documented.
9889 (JMenuItem): Reimplemented.
9890 (init): Implemented.
9891 (setEnabled): Changed to call super.setEnabled()
9892 (processMouseEvent): Reimplemented.
9893 (fireMenuKeyPressed): Implemented.
9894 (fireMenuKeyReleased): Implemented.
9895 (fireMenuKeyTyped): Implemented.
9896 (menuSelectionChanged): disarm the model if the menu item was
9898 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
9899 (getPath): Change to use ArrayList instead of Vector.
9900 (getPreferredSize): Renamed variable.
9901 (paintMenuItem): Paint margin area of menu item.
9902 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
9903 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
9904 menu item's bounds before clearing the selection.
9906 2004-06-09 David Jee <djee@redhat.com>
9908 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
9909 (GtkTextComponentPeer): Set caret position to 0.
9910 * java/awt/TextComponent.java
9911 (setText): Set caret position to 0.
9912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9913 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9914 Handle GtkScrolledWindow separately. Fix signal handler blocking.
9915 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9918 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
9921 2004-06-09 Kim Ho <kho@redhat.com>
9923 * Makefile.am: New files
9924 * Makefile.in: Regenerated
9925 * java/awt/Container.java
9926 (getComponentAt): Removed.
9927 * javax/swing/AbstractAction.java
9928 (ENABLED_PROPERTY): New property.
9929 (putValue): Fire PropertyChangeEvents.
9930 (setEnabled): ditto.
9931 (firePropertyChange): Javadoc and implement
9933 * javax/swing/AbstractButton.java
9934 (setAction): Don't create PropertyChangeListener
9935 if new Action is null.
9936 (setIcon): Don't set icon till after comparing
9938 (configurePropertiesFromAction): Check mnemonic
9939 key before calling intValue().
9940 (createActionPropertyChangeListener): Check
9941 properties rather than bulk change.
9942 * javax/swing/DefaultDesktopManager.java:
9944 * javax/swing/DesktopManager.java:
9946 * javax/swing/JComponent.java
9947 (fireVetoableChange): Implement.
9948 (paintImmediately): Use root component.
9949 * javax/swing/JDesktopPane.java: Implement
9950 * javax/swing/JInternalFrame.java: Implement
9951 * javax/swing/JLabel.java
9952 (getDisabledIcon): Return grayscaled icon if
9953 no disabled icon specified.
9954 * javax/swing/JMenuBar.java
9955 (getComponentAtIndex): Use getComponent
9956 * javax/swing/JOptionPane.java
9957 (getDesktopPaneForComponent): Use SwingUtilities'
9959 (getFrameForComponent): ditto.
9960 * javax/swing/JSplitPane.java
9961 (remove): Use getComponent.
9962 * javax/swing/SwingUtilities.java
9963 (convertPoint): Implement.
9964 * javax/swing/plaf/basic/BasicButtonUI.java
9965 (paintButtonNormal): Check opaqueness before
9967 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
9969 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
9971 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
9973 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
9975 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9976 Change InternalFrame and Desktop colors.
9978 2004-06-09 David Jee <djee@redhat.com>
9980 * java/awt/Container.java
9981 (remove): Do not set component to invisible.
9983 2004-06-09 Michael Koch <konqueror@gmx.de>
9985 * javax/swing/tree/DefaultMutableTreeNode.java
9986 (getLeafCount): Renamed enum to e.
9988 2004-06-09 Michael Koch <konqueror@gmx.de>
9990 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9991 (positionForMouseEvent): Removed redundant semicolon.
9992 (continueDrag): Use method arguments.
9994 2004-06-09 Michael Koch <konqueror@gmx.de>
9996 * javax/swing/border/TitledBorder.java,
9997 javax/swing/filechooser/FileSystemView.java,
9998 javax/swing/plaf/basic/BasicButtonListener.java,
9999 javax/swing/plaf/basic/BasicGraphicsUtils.java,
10000 javax/swing/plaf/basic/BasicLabelUI.java,
10001 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
10002 javax/swing/plaf/basic/BasicScrollBarUI.java,
10003 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10004 javax/swing/plaf/basic/BasicSliderUI.java,
10005 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10006 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10007 javax/swing/table/JTableHeader.java,
10008 javax/swing/text/AbstractDocument.java,
10009 javax/swing/text/DefaultCaret.java,
10010 javax/swing/text/StyledEditorKit.java,
10011 javax/swing/tree/DefaultTreeCellEditor.java:
10012 Reworked import statements.
10014 2004-06-08 Graydon Hoare <graydon@redhat.com>
10016 * javax/swing/Box.java: Temporarily comment out code
10017 broken due to visibility bug.
10019 2004-06-09 Michael Koch <konqueror@gmx.de>
10021 * javax/swing/ImageIcon.java
10022 (ImageIcon): Added missing constructor.
10024 2004-06-08 Michael Koch <konqueror@gmx.de>
10026 * javax/swing/JToggleButton.java
10027 (JToggleButton): New constructor.
10028 (getAccessibleContext): Moved documentation into javadoc.
10029 (getUIClassID): Likewise.
10031 2004-06-08 Michael Koch <konqueror@gmx.de>
10033 * javax/swing/AbstractButton.java
10034 (getDisabledIcon): Create disabled icon if none exists yet.
10036 2004-06-08 Michael Koch <konqueror@gmx.de>
10038 * javax/swing/plaf/basic/BasicLookAndFeel.java
10039 (initClassDefaults): Added FormattedTextFieldUI.
10040 (loadResourceBundle): Renamed enum to e.
10042 2004-06-08 Michael Koch <konqueror@gmx.de>
10044 * javax/swing/plaf/basic/BasicButtonUI.java
10045 (paintIcon): Simplified.
10046 (paintText): Paint disabled button correctly.
10048 2004-06-08 Michael Koch <konqueror@gmx.de>
10050 * javax/swing/JComponent.java
10051 (createToolTip): Use official JToolTip API.
10053 2004-06-08 Michael Koch <konqueror@gmx.de>
10055 * javax/swing/JToolTip.java
10056 (JToolTip): No arguments in API.
10057 (setTipText): New method.
10059 2004-06-08 Michael Koch <konqueror@gmx.de>
10061 * javax/swing/SwingUtilities.java
10062 (isLeftMouseButton): New method.
10063 (isMiddleMouseButton): New method.
10064 (isRightMouseButton): New method.
10066 2004-06-08 Michael Koch <konqueror@gmx.de>
10068 * javax/swing/AbstractButton.java,
10069 javax/swing/CellRendererPane.java,
10070 javax/swing/JCheckBoxMenuItem.java,
10071 javax/swing/JColorChooser.java,
10072 javax/swing/JComboBox.java,
10073 javax/swing/JComponent.java,
10074 javax/swing/JDesktopPane.java,
10075 javax/swing/JFileChooser.java,
10076 javax/swing/JMenu.java,
10077 javax/swing/JMenuItem.java,
10078 javax/swing/JOptionPane.java,
10079 javax/swing/JPasswordField.java,
10080 javax/swing/JPopupMenu.java,
10081 javax/swing/JProgressBar.java,
10082 javax/swing/JRadioButtonMenuItem.java,
10083 javax/swing/JScrollBar.java,
10084 javax/swing/JSeparator.java,
10085 javax/swing/JSlider.java,
10086 javax/swing/JSplitPane.java,
10087 javax/swing/JTabbedPane.java,
10088 javax/swing/JTextField.java,
10089 javax/swing/JToolBar.java,
10090 javax/swing/text/JTextComponent.java:
10091 Fixed all constructors of accessibility classes.
10093 2004-06-08 Michael Koch <konqueror@gmx.de>
10095 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10098 2004-06-08 Michael Koch <konqueror@gmx.de>
10100 * javax/swing/Box.java
10101 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10102 (AccessibleBoxFiller.serialVersionUID): New member variable.
10103 * javax/swing/DefaultButtonModel.java
10104 (stateMask): Made protected.
10105 (listenerList): Likewise.
10106 (changeEvent): Likewise.
10108 (mnemonic): Likewise.
10109 (actionCommand): Likewise.
10110 (getListeners): New method.
10111 (getActionListeners): New method.
10112 (getItemListeners): New method.
10113 (getChangeListeners): New method.
10114 (fireItemStateChanged): Simplified.
10115 (fireActionPerformed): Simplified.
10116 (fireStateChanged): Simplified.
10117 * javax/swing/JFrame.java
10118 (JFrame): Implements WindowContants.
10119 (HIDE_ON_CLOSE): Removed.
10120 (EXIT_ON_CLOSE): Removed.
10121 (DISPOSE_ON_CLOSE): Removed.
10122 (DO_NOTHING_ON_CLOSE): Removed.
10123 (processWindowEvent): Exit with code 0.
10124 (setDefaultCloseOperation): Do security check before setting value.
10125 * javax/swing/JOptionPane.java
10126 (message): Initialize only in constructor.
10127 * javax/swing/JToolTip.java: Removed unused imports.
10128 * javax/swing/JViewport.java
10129 (serialVersionUID): New member variable.
10130 (SIMPLE_SCROLL_MODE): Made final, fixed value.
10131 (BLIT_SCROLL_MODE): Likewise.
10132 (BACKINGSTORE_SCROLL_MODE): Likewise.
10133 (scrollUnderway): Made protected.
10134 (isViewSizeSet): Likewise.
10135 * javax/swing/ListModel.java: Fixed javadoc.
10136 * javax/swing/Popup.java: Likewise.
10137 * javax/swing/RepaintManager.java
10138 (paintDirtyRegions): Don't use internal classes of
10139 java.util.AbstractMap.
10140 * javax/swing/ScrollPaneConstants.java: Reindented.
10141 * javax/swing/ScrollPaneLayout.java
10142 (viewport): Made protected.
10143 (verticalScrollBar): Made protected, renamed to vsb.
10144 (horizontalScrollBar): Made protected, renamed to hsb.
10145 (rowHeader): Made protected, renamed to rowHead.
10146 (columnHeader): Made protected, renamed to colHead.
10147 (lowerLeft): Made protected.
10148 (lowerRight): Made protected.
10149 (upperLeft): Made protected.
10150 (upperRight): Made protected.
10151 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10152 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10154 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
10156 * java/awt/MediaTracker.java (imageUpdate): Only set status to
10157 LOADING if flags has SOMEBITS set.
10159 2004-06-07 Michael Koch <konqueror@gmx.de>
10161 * javax/swing/AbstractButton.java: Reorganized imports.
10162 * javax/swing/ActionMap.java: Likewise.
10163 * javax/swing/DefaultButtonModel.java: Likewise.
10164 * javax/swing/DefaultListModel.java: Likewise.
10165 * javax/swing/ImageIcon.java: Likewise.
10166 (serialVersionUID): New member variable.
10167 * javax/swing/JComboBox.java: Reorganized imports.
10168 * javax/swing/JComponent.java: Likewise.
10169 (ui): Made protected.
10170 (listenerList): Made protected.
10171 (TOOL_TIP_TEXT_KEY): New constant.
10172 (scrollRectToVisible): Removed redundant null check.
10173 * javax/swing/JFrame.java: Reorganized imports.
10174 * javax/swing/JInternalFrame.java: Reorganized imports.
10175 * javax/swing/JProgressBar.java: Likewise.
10176 * javax/swing/JRootPane.java: Likewise.
10177 * javax/swing/JScrollBar.java: Likewise.
10178 * javax/swing/JSeparator.java: Likewise.
10179 * javax/swing/JSlider.java: Likewise.
10180 * javax/swing/JTabbedPane.java: Likewise.
10181 * javax/swing/JTextField.java: Likewise.
10182 * javax/swing/JToolBar.java: Likewise.
10183 * javax/swing/JTree.java: Likewise.
10184 * javax/swing/JViewport.java: Likewise.
10185 * javax/swing/JWindow.java: Likewise.
10186 * javax/swing/KeyStroke.java: Likewise.
10187 * javax/swing/LookAndFeel.java: Likewise.
10188 * javax/swing/MenuSelectionManager.java: Likewise.
10189 * javax/swing/SwingUtilities.java: Likewise.
10190 * javax/swing/Timer.java: Likewise.
10191 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10192 * javax/swing/JList.java
10193 (HORIZONTAL_WRAP): Made final, fixed value.
10194 (VERTICAL): Likewise.
10195 (VERTICAL_WRAP): Likewise.
10197 2004-06-07 Michael Koch <konqueror@gmx.de>
10199 * javax/swing/AbstractButton.java
10200 (serialVersionUID): New member variable.
10201 (AccessibleAbstractButton.serialVersionUID): Likewise.
10202 (AbstractButton): Made public.
10203 * javax/swing/Box.java
10204 (AccessibleBox.serialVersionUID): New member variable.
10205 (Filler.serialVersionUID): Likewise.
10206 * javax/swing/DefaultListSelectionModel.java
10207 (serialVersionUID): Likewise.
10208 * javax/swing/JApplet.java
10209 (serialVersionUID): Likewise.
10210 * javax/swing/JCheckBox.java
10211 (serialVersionUID): Likewise.
10212 * javax/swing/JCheckBoxMenuItem.java
10213 (serialVersionUID): Likewise.
10214 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10215 * javax/swing/JColorChooser.java
10216 (serialVersionUID): Likewise.
10217 (AccessibleJColorChooser.serialVersionUID): Likewise.
10218 * javax/swing/JComponent.java
10219 (serialVersionUID): Made private.
10220 (AccessibleJComponent.serialVersionUID): New member variable.
10221 * javax/swing/JDesktopPane.java
10222 (serialVersionUID): Likewise.
10223 * javax/swing/JDialog.java
10224 (serialVersionUID): Likewise.
10225 * javax/swing/JFormattedTextField.java
10226 (serialVersionUID): Fixed value.
10227 * javax/swing/JFrame.java
10228 (serialVersionUID): New member variable.
10229 (getDefaultCloseOpertation): Made public.
10230 * javax/swing/JLayeredPane.java
10231 (serialVersionUID): Likewise.
10232 (LAYER_PROPERTY): Made final, fixed value.
10233 (JLayeredPane): Made public.
10234 * javax/swing/JMenu.java
10235 (AccessibleJMenu.serialVersionUID): New member variable.
10236 (WinListener.serialVersionUID): Likewise.
10237 * javax/swing/JMenuBar.java
10238 (serialVersionUID): Likewise.
10239 (getComponentAtIndex): Added @deprecated tag.
10240 * javax/swing/JMenuItem.java
10241 (serialVersionUID): New member variable.
10242 (AccessibleJMenuItem.serialVersionUID): Likewise.
10243 * javax/swing/JOptionPane.java
10244 (serialVersionUID): Likewise.
10245 (AccessibleJOptionPane.serialVersionUID): Likewise.
10246 * javax/swing/JPopupMenu.java
10247 (serialVersionUID): Likewise.
10248 (AccessibleJPopupMenu.serialVersionUID): Likewise.
10249 (getPopupMenuListeners): New method.
10250 (getComponentAtIndex): Added @deprecated tag.
10251 * javax/swing/JProgressBar.java
10252 (serialVersionUID): New member variable.
10253 (AccessibleJProgressBar.serialVersionUID): Likewise.
10254 * javax/swing/JRadioButton.java
10255 (serialVersionUID): Likewise.
10256 * javax/swing/JRadioButtonMenuItem.java
10257 (serialVersionUID): Likewise.
10258 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10259 * javax/swing/JScrollBar.java
10260 (serialVersionUID): Likewise.
10261 (AccessibleJScrollBar.serialVersionUID): Likewise.
10262 * javax/swing/JSeparator.java
10263 (serialVersionUID): Likewise.
10264 (AccessibleJSeparator.serialVersionUID): Likewise.
10265 * javax/swing/JSlider.java: Fixed javadocs.
10266 (AccessibleJSlider.serialVersionUID): New member variable.
10267 * javax/swing/JSplitPane.java: Added copyright statement.
10268 (serialVersionUID): New member variable.
10269 (AccessibleJSplitPane.serialVersionUID): Likewise.
10270 * javax/swing/JTabbedPane.java
10271 (serialVersionUID): Likewise.
10272 (AccessibleJTabbedPane.serialVersionUID): Likewise.
10273 (ModelListener.serialVersionUID): Likewise.
10274 (ModelListener.ModelListener): New constructor.
10275 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10276 (WRAP_TAB_LAYOUT): Likewise.
10277 * javax/swing/JTable.java
10278 (serialVersionUID): New member variable.
10279 * javax/swing/JToggleButton.java
10280 (serialVersionUID): Likewise.
10281 (ToggleButtonModel): Made static.
10282 (ToggleButtonModel.serialVersionUID): New member variable.
10283 * javax/swing/JToolTip.java
10284 (serialVersionUID): Likewise.
10285 * javax/swing/JTree.java
10286 (serialVersionUID): Likewise.
10287 * javax/swing/JWindow.java
10288 (serialVersionUID): Likewise.
10289 * javax/swing/Timer.java
10290 (serialVersionUID): Likewise.
10292 2004-06-06 Michael Koch <konqueror@gmx.de>
10294 * javax/swing/SwingConstants.java
10295 (NEXT): New constant.
10296 (PREVIOUS): Likewise.
10297 * javax/swing/UIManager.java
10298 (LookAndFeel): Made public.
10299 (LookAndFeel.getClassName): Likewise.
10300 (LookAndFeel.getName): Likewise.
10302 2004-06-02 Olga Rodimina <rodimina@redhat.com>
10304 * javax/swing/JCheckBoxMenuItem.java:
10306 * javax/swing/JMenu.java: Likewise.
10307 * javax/swing/JMenuBar.java: Likewise.
10308 * javax/swing/JMenuItem.java: Likewise.
10309 * javax/swing/JPopupMenu.java: Likewise.
10310 * javax/swing/JRadioButtonMenuItem.java: Likewise.
10311 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10312 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10313 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10314 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10315 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10316 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10318 2004-05-31 Olga Rodimina <rodimina@redhat.com>
10320 * javax/swing/plaf/basic/BasicMenuUI.java:
10321 (MouseEntered): Do not call getPath() from MenuSelectionManager.
10322 Call getPath() from super class instead.
10324 2004-05-31 David Jee <djee@redhat.com>
10326 * java/awt/Container.java
10327 (remove): Set component visibility to false after removing it.
10329 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
10331 * java/awt/Component.java (getForeground): Return SystemColor if
10333 (getBackground): Likewise.
10335 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10336 (item_highlighted): New function.
10337 (connectSignals): Set item_highlighted as list's select
10340 * java/applet/Applet.java: Revert changes from 2004-04-29,
10341 2004-03-15 and 2004-03-14.
10343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10344 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10347 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10348 "Dialog" as the default font.
10349 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10351 * java/awt/Component.java (getFont): Return "Dialog" font by
10353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10354 Multiply size argument to pango_font_description_set_size by the
10355 DPI conversion factor rather than by PANGO_SCALE.
10356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10366 Divide baseline y coordinate by DPI conversion factor rather
10367 than by PANGO_SCALE.
10368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10369 (area_prepared): Fix typo.
10370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10371 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10373 (dpi_conversion_factor): New global variable.
10374 (init_dpi_conversion_factor): New function to calculate and
10375 track DPI conversion factor.
10376 (dpi_changed_cb): New callback.
10377 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10379 2004-05-27 David Jee <djee@redhat.com>
10381 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10382 (getGraphics): Return a new GdkGraphics instance.
10383 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10384 (getGraphics): Call super.getGraphics().
10386 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
10388 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10389 (setNativeBounds): Clamp width and height values to >= 0.
10391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10392 (find_fg_color_widget): Handle GtkOptionMenu specially.
10394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10395 (pre_event_handler): Only post configure events to visible
10398 2004-05-26 David Jee <djee@redhat.com>
10400 * java/awt/BorderLayout.java
10401 (layoutContainer): Fix size calculations.
10403 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
10405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10406 (window_wm_protocols_filter): Remove function.
10407 (create): Remove filter that removes WM_TAKE_FOCUS client
10410 2004-06-17 Anthony Green <green@redhat.com>
10412 * java/util/zip/ZipFile.java (getInputStream): Return null if
10415 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10416 directory contents to the class path.
10418 2004-06-15 Andrew Haley <aph@redhat.com>
10420 * java/lang/natSystem.cc (getenv0): Don't assume environment
10421 variable is Latin 1 coded.
10423 2004-06-14 Andreas Jaeger <aj@suse.de>
10425 * configure.in: Support --enable-version-specific-runtime-libs.
10426 * configure: Regenerated.
10428 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
10430 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10431 to pass ClassLoader argument.
10432 * java/util/GregorianCalendar.java: Likewise.
10433 * java/util/Currency.java: Likewise.
10434 * java/text/BreakIterator.java: Likewise.
10435 * java/text/Collator.java: Likewise.
10436 * java/text/DateFormat.java: Likewise.
10437 * java/text/DateFormatSymbols.java: Likewise.
10438 * java/text/DecimalFormatSymbols.java: Likewise.
10439 * java/text/NumberFormat.java: Likewise.
10440 * java/awt/Window.java: Likewise.
10442 2004-06-14 Andrew Haley <aph@redhat.com>
10444 * java/lang/System.java: (getenv0): New method.
10445 (getenv): Add security check. Do the right thing.
10446 * java/lang/natSystem.cc (getenv0): New method.
10448 2004-06-12 Mark Wielaard <mark@klomp.org>
10450 * javax/swing/RepaintManager.java
10451 (paintDirtyRegions): Use entrySet(), not values().
10453 2004-06-10 Mark Wielaard <mark@klomp.org>
10455 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10458 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
10460 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
10461 when we already know the answer.
10462 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10463 (setStartRule,setEndRule): Don't take abs of day number.
10464 (getOffset): Clarify docs. Add argument checks.
10465 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10466 (equals,hasSameRules,toString,readObject): Use startTimeMode and
10469 2004-06-10 Tom Tromey <tromey@redhat.com>
10471 * interpret.cc (run): Handle wide fload.
10473 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
10475 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10477 2004-06-05 Michael Koch <konqueror@gmx.de>
10479 * javax/swing/SwingConstants.java
10480 (NEXT): New constant.
10481 (PREVIOUS): Likewise.
10483 2004-06-05 Michael Koch <konqueror@gmx.de>
10485 * javax/swing/UIManager.java
10486 (LookAndFeel): Made public.
10487 (LookAndFeel.getName): Likewise.
10488 (LookAndFeel.getClassName): Likewise.
10490 2004-06-03 Michael Koch <konqueror@gmx.de>
10492 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10493 (requestFocus): Revert last changes.
10494 (gtkRequestFocus): Removed.
10495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10496 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10498 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10499 Reverted last patch.
10500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10501 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10502 Reverted comment change.
10504 2004-06-02 Olga Rodimina <rodimina@redhat.com>
10506 * javax/swing/JCheckBoxMenuItem.java:
10508 * javax/swing/JMenu.java: Likewise.
10509 * javax/swing/JMenuBar.java: Likewise.
10510 * javax/swing/JMenuItem.java: Likewise.
10511 * javax/swing/JPopupMenu.java: Likewise.
10512 * javax/swing/JRadioButtonMenuItem.java: Likewise.
10513 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10514 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10515 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10516 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10517 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10518 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10520 2004-06-01 Tom Tromey <tromey@redhat.com>
10522 * java/io/ObjectStreamField.java: Cleaned up imports.
10524 2004-06-01 Michael Koch <konqueror@gmx.de>
10526 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10528 2004-06-01 Mark Wielaard <mark@klomp.org>
10530 * java/io/Writer.java (Writer(Object)): Fixed API doc.
10532 2004-06-01 Michael Koch <konqueror@gmx.de>
10534 * java/security/Security.java
10535 (insertProviderAt): Use equals() instead of ==.
10536 (removeProvicer): Likewise.
10537 (getProvider): Likewise.
10538 * java/security/Signature.java
10539 (sign): Don't set state to UNINITIALIZED.
10540 (verify): Likewise.
10542 2004-06-01 Mark Wielaard <mark@klomp.org>
10544 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10545 Implement by calling gtkRequestFocus.
10546 (gtkRequestFocus): New native method.
10547 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10548 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10550 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10552 (filter_expose_event_handler):
10554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10555 (menu_pos): Mark static.
10557 2004-06-01 Michael Koch <konqueror@gmx.de>
10559 * java/text/CollationElementIterator.java,
10560 java/text/CollationKey.java,
10561 java/text/RuleBasedCollator.java: New versions from GNU classpath.
10562 * testsuite/libjava.mauve/xfails: Removed all
10563 java.text.CollationElementIterator tests.
10565 2004-06-01 Michael Koch <konqueror@gmx.de>
10567 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10569 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10570 Java 1.5 keyword usage.
10572 2004-05-31 Olga Rodimina <rodimina@redhat.com>
10574 * javax/swing/plaf/basic/BasicMenuUI.java:
10575 (MouseEntered): Do not call getPath() from MenuSelectionManager.
10576 Call getPath() from super class instead.
10578 2004-05-31 Michael Koch <konqueror@gmx.de>
10580 * java/io/SequenceInputStream.java:
10581 Rename enum to e because enum is a keyword in Java 1.5.
10583 2004-05-31 Michael Koch <konqueror@gmx.de>
10585 * gnu/java/rmi/rmic/CompilerProcess.java:
10586 Fixed javadoc to by XHTML compliant.
10588 2004-05-30 Mark Wielaard <mark@klomp.org>
10590 * java/awt/Toolkit.java (loadSystemColors): Implement.
10592 2004-05-30 Michael Koch <konqueror@gmx.de>
10594 * java/lang/System.java: Reordered imports.
10596 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
10598 * java/text/DecimalFormat.java
10599 (parse): Fixed parsing of decimal strings. Number of maximum
10600 digits to be read should now work.
10601 * java/text/SimpleDateFormat.java
10602 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10603 formatter. This fixes DateFormatTest.
10605 2004-05-30 Michael Koch <konqueror@gmx.de>
10607 * java/nio/Buffer.java
10608 (limit): Fixed off by one error.
10609 * java/nio/CharBuffer.java
10610 (wrap): Fixed arguments, added javadocs.
10612 2004-05-30 Michael Koch <konqueror@gmx.de>
10614 * gnu/java/beans/BeanInfoEmbryo.java,
10615 java/awt/im/InputContext.java,
10616 javax/swing/tree/DefaultMutableTreeNode.java:
10617 Rename enum to e because enum is a keyword in Java 1.5.
10619 2004-05-30 Michael Koch <konqueror@gmx.de>
10621 * gnu/java/math/MPN.java,
10622 java/awt/geom/Arc2D.java:
10623 Fixed javadocs all over.
10625 2004-05-30 Michael Koch <konqueror@gmx.de>
10627 * java/awt/DefaultKeyboardFocusManager.java
10628 (dispatchEvent): Call method to get key event dispatchers.
10629 (dispatchKeyEvent): Call method to get key event post processors.
10630 * javax/swing/JComponent.java
10631 (listenerList): Made protected.
10632 * javax/swing/JOptionPane.java
10633 (message): Don't initialize.
10634 (JOptionPane): Set message text.
10635 * javax/swing/JPopupMenu.java
10636 (show): Fixed typo in argument name.
10637 * javax/swing/RepaintManager.java
10638 (paintDirtyRegions): Use public API of java.util.Map.
10639 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10640 (positionForMouseEvent): Removed redundant ';'.
10641 (continueDrag): Use method arguments.
10643 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
10645 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10648 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
10650 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10652 * gnu/gcj/RawDataManaged.java: New file.
10653 * java/lang/Thread.java (data): Declare as RawDataManaged.
10654 * java/lang/natThread.cc (init_native): Cast natThread data to
10655 RawDataManaged, not jobject.
10656 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10657 * Makefile.in: Rebuilt.
10659 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
10661 * java/util/SimpleTimeZone.java: Reverting my last change until I
10662 can fix it properly.
10664 2004-05-27 Michael Koch <konqueror@gmx.de>
10666 * javax/swing/JPopupMenu.java
10667 (isVisible): Do not use visible directly.
10668 (setVisible): Likewise.
10669 * javax/swing/JWindow.java
10670 (JWindow): call accessible constructor.
10671 * javax/swing/RepaintManager.java
10672 (paintDirtyRegions): Use public methods to obtain iterator.
10674 2004-05-25 David Jee <djee@redhat.com>
10676 * java/awt/Container.java
10677 (remove): Set component's parent to null only after we removed the
10678 component from its parent's layout manager.
10680 2004-05-25 David Jee <djee@redhat.com>
10682 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10683 (GtkComponentPeer): Set bounds regardless of whether awtComponent
10685 * gnu/java/awt/peer/gtk/GtkListPeer.java
10686 (getSize): Change native method declaration.
10687 (minimumSize): Pass visible row count into getSize().
10688 (preferredSize): Likewise.
10689 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10690 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10691 natural size. Use visible row count to determine the final height
10694 2004-05-21 Graydon Hoare <graydon@redhat.com>
10696 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10697 (setClip): Minor correction to order of operations.
10699 * javax/swing/JScrollPane.java: Extend sketchy implementation.
10700 * javax/swing/ScrollPaneLayout.java: Likewise.
10701 * javax/swing/JViewPort.java: Likewise.
10702 * javax/swing/ViewportLayout.java: Likewise.
10704 * javax/swing/JComponent.java: Rewrite.
10705 * javax/swing/RepaintManager.java: Likewise.
10707 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10708 * javax/swing/JList.java
10709 (setSelectedIndices):
10710 (getSelectedIndices):
10711 (getSelectedValues): New functions.
10712 (getPreferredScrollableViewportSize): Return preferred size.
10713 (getScrollableUnitIncrement):
10714 (getScrollableBlockIncrement): Initial implementations.
10715 * javax/swing/JRootPane.java: Clean up slightly.
10720 (isValidateRoot): Add overrides from JComponent.
10721 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10722 * javax/swing/UIManager.java (getDimension): Return the dimension.
10724 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10725 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10726 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10727 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10728 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10729 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10730 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10731 * javax/swing/plaf/basic/BasicRootPaneUI.java:
10732 Likewise, and set background.
10733 * javax/swing/plaf/basic/BasicListUI.java:
10734 Likewise, and improve a bit.
10735 * javax/swing/plaf/basic/BasicScrollBarUI.java:
10736 Likewise, and adjust calculations.
10737 * javax/swing/plaf/basic/BasicViewportUI.java:
10738 Likewise, and improve a bit.
10739 * javax/swing/plaf/basic/BasicLookAndFeel.java
10740 (Button.margin): Shrink.
10742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10743 Hack to set horizontal always, workaround pango.
10745 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10747 Synchronize more often, check cairo status after ops,
10748 handle changes to cairo pattern API, check for disposal.
10750 2004-05-21 Olga Rodimina <rodimina@redhat.com>
10752 * javax/swing/plaf/basic/BasicMenuItemUI.java:
10753 (BasicMenuItemUI): Create propertyChangeListener.
10754 (getPath):Implemented.
10755 (installListeners): Add propertyChangeListener to menuItem.
10756 (uninstallListeners): Remove propertyChangeListener from menuItem.
10757 (update): Implemented.
10758 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10759 (mouseEntered): Take insets of popup menu into account when
10760 calculating position of popup menu.
10762 2004-05-18 Olga Rodimina <rodimina@redhat.com>
10764 * Makefile.am: Added new file.
10765 * Makefile.in: Regenerate.
10766 * javax/swing/JMenuBar.java:
10767 Started implementation.
10768 * javax/swing/JPopupMenu.java:
10769 (setVisible): Fixed location of lightweight/mediumweight
10771 (show): Fixed location of PopupMenu.
10772 * javax/swing/plaf/basic/BasicMenuBarUI.java:
10773 New file. UI Delegate for JMenuBar.
10774 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10775 (mouseEntered): Corrected position of the submenu.
10777 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
10780 to _gtk_accel_group_attach.
10781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
10784 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
10785 package access. Don't override setFont.
10786 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
10787 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
10788 gtkWidgetRequestFocus package access.
10789 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
10791 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
10792 Give gtkWidgetRequestFocus package access.
10793 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
10794 gtkWidgetRequestFocus package access. Don't override setFont.
10795 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
10797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10798 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
10800 (gtkSetFont): Likewise.
10801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
10803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10804 (gtkSetFont): Whitespace fix.
10806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10807 (gtkWidgetSetUsize): Remove method.
10809 2004-05-18 David Jee <djee@redhat.com>
10811 * java/awt/image/MemoryImageSource.java
10812 (newPixels(int,int,int,int,boolean)): Set only the specified
10813 rectangle of pixels.
10814 (newPixels(byte[],ColorModel,int,int)): Implement.
10815 (newPixels(int[],ColorModel,int,int)): Implement.
10817 2004-05-18 Olga Rodimina <rodimina@redhat.com>
10819 * Makefile.am: Added new file.
10820 * Makefile.in: Regenerate.
10821 * javax/swing/JMenu.java: Started
10823 * javax/swing/JPopupMenu.java:
10824 (insert): If specified index is -1, then
10825 add component at the end.
10826 (isPopupTrigger): Reimplemented.
10827 (JPopupMenu.LightWeightPopup): setBounds
10828 of the lightWeightPopup before adding it
10829 to the layeredPane.
10830 (javax/swing/plaf/basic/BasicIconFactory.java):
10831 (getMenuArrowIcon): Implemented.
10832 * javax/swing/plaf/basic/BasicMenuItemUI.java:
10833 (getPreferredSize): Add size of the arrow icon
10834 if this menu item is instance of JMenu.
10835 (paintMenuItem): Paint arrow icon if this
10836 menu item is a submenu.
10837 * javax/swing/plaf/basic/BasicMenuUI.java:
10838 New File. UI Delegate for JMenu.
10840 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10842 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
10843 Post KEY_TYPED events.
10844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10845 (generates_key_typed_event): Remove function.
10847 2004-05-17 Olga Rodimina <rodimina@redhat.com>
10849 * javax/swing/JRootPane.java
10850 (JRootPane.RootLayout): Reimplemented to
10851 set bounds of contentPane and menuBar.
10852 (setJMenuBar): Add menu bar to the layered pane.
10853 (createLayeredPane): Set layout of layeredPane
10855 * javax/swing/JLayeredPane.java:
10856 (addImpl): Calculate index of the component in the
10857 layeredPane according to the specified position within
10860 2004-05-17 David Jee <djee@redhat.com>
10862 * gnu/java/awt/peer/gtk/GtkImagePainter.java
10863 (setPixels): Change color model to the default model after
10865 * java/awt/image/MemoryImageSource.java
10866 (newPixels): Set only the specified rectangle of pixels.
10868 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10870 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
10871 -l-java-beans -l-javax-accessibility -l-javax-swing.
10873 * java/awt/AWTEvent.java (toString): Print source's name rather
10874 than the source itself.
10876 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
10878 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
10880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
10881 (gdk_color_to_java_color): New function.
10882 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
10884 2004-05-12 David Jee <djee@redhat.com>
10886 * java/awt/image/RGBImageFilter.java:
10887 Initialize origmodel as null.
10888 (makeColor): Fix pixel component order.
10889 (filterRGBPixels): Fix pixel iteration.
10890 (setPixels): Add extra checks for index color model. Convert pixels
10891 to default color model if necessary.
10892 (convertColorModelToDefault): New override method for byte pixels.
10893 (convertColorModelToDefault): For int pixels, fix pixel iteration.
10894 (makeColorbyDefaultCM): New override method for byte pixels.
10895 (makeColorbyDefaultCM): For int pixel, add color model as argument.
10896 (makeColor): Fix pixel component order.
10898 2004-05-11 Kim Ho <kho@redhat.com>
10900 * javax/swing/Box.java:
10901 Comment out more parts of Box.Filler.
10903 2004-05-11 Kim Ho <kho@redhat.com>
10905 * javax/swing/Box.java:
10906 Remove reference to AccessibleAWTComponent so
10909 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
10911 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10912 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
10913 implementation of list peer to use GtkTreeView instead of
10914 deprecated GtkCList.
10916 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
10918 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10919 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
10920 (handleEvent): Remove keyChar argument to
10921 gtkWidgetDispatchKeyEvent calls.
10922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
10924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
10925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
10926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
10929 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
10931 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10932 (gtkWidgetRequestFocus): Mark protected.
10933 (GtkComponentPeer): Only set the peer's bounds if its component
10935 * java/awt/Component.java (static): Set the default keyboard
10937 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
10938 requestFocusInWindow(temporary)): Don't request focus if the
10939 component is not showing. Get tree lock before traversing
10940 component hierarchy.
10941 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
10942 Only set the global focus owner if it is not a Window.
10943 (processKeyEvent): Consume keystrokes associated with the focus
10944 traversal keystroke.
10945 (focusPreviousComponent, focusNextComponent, upFocusCycle,
10946 downFocusCycle): Call requestFocusInWindow instead of
10948 * java/awt/EventDispatchThread.java (run): Move setting of
10949 default keyboard focus manager to Component.java.
10950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10951 (awt_keycode_to_keysym): New function.
10952 (gtkWidgetDispatchKeyEvent): Finish implementation.
10953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10954 (pre_event_handler): Add FIXME comment.
10956 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10957 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10958 (gtkWidgetRequestFocus): New method.
10959 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
10960 disable Tab and Shift-Tab keystrokes.
10961 (addNotify, appendText, insertText, replaceText): Simplify peer
10963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
10964 (connectSignals): Remove connections to "commit" signals.
10965 Remove C++-style comments.
10967 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10968 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10969 (handleEvent): Activate GTK button when the space bar key is
10971 (gtkActivate): New method.
10973 2004-05-06 David Jee <djee@redhat.com>
10975 * java/awt/image/CropImageFilter.java
10976 (setPixels): Implement for byte array pixels.
10977 * java/awt/image/ReplicateScaleFilter.java
10978 (setPixels): Implement for byte array pixels.
10979 (replicatePixels): Overload for byte array pixels.
10981 2004-05-06 Kim Ho <kho@redhat.com>
10983 * javax/swing/Box.java:
10984 (getAccessibleContext): Return an instance of the
10987 2004-05-05 David Jee <djee@redhat.com>
10989 * gnu/java/awt/peer/gtk/GdkGraphics.java
10990 (drawImage): When component is null, use SystemColor.window as
10991 the default bgcolor.
10992 * gnu/java/awt/peer/gtk/GtkImage.java
10993 (setPixels): We can avoid iterating through the pixel rows only
10995 * java/awt/Image.java
10996 (getScaledInstance): Partially implement.
10997 * java/awt/image/CropImageFilter.java
10998 (setProperties): Fix "filter" property.
10999 (setPixels): Implement.
11000 * java/awt/image/ReplicateScaleFilter.java
11001 (setDimensions): Use scaled dimensions.
11002 (setPixels): Implement.
11003 (replicatePixels): New method.
11005 2004-05-05 David Jee <djee@redhat.com>
11007 * gnu/java/awt/peer/gtk/GtkImagePainter.java
11008 (convertPixels): If either pixels or model is null, return null.
11009 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
11010 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
11011 is null, do nothing and return.
11013 2004-05-03 Kim Ho <kho@redhat.com>
11015 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
11016 (getGraphics): Like GtkFramePeer, the Graphics
11017 object needs to be translate to account for
11018 window decorations.
11019 (postMouseEvent): New method. Account for
11021 (postExposeEvent): ditto.
11022 * javax/swing/Box.java: Stubbed.
11023 * javax/swing/JDialog.java: Ran through jalopy
11024 to fix indentation.
11025 (JDialog): Call SwingUtilities' getOwnerFrame
11027 (setLayout): Check isRootPaneCheckingEnabled
11028 * javax/swing/JOptionPane.java: Re-implemented.
11029 * javax/swing/SwingUtilities.java:
11030 (getOwnerFrame): Static method to grab a default
11031 owner frame for Dialogs that don't specify owners.
11032 * javax/swing/event/SwingPropertyChangeSupport.java:
11033 (firePropertyChange): Fix early exit condition.
11034 * javax/swing/plaf/basic/BasicLabelUI.java:
11035 (paint): Avoid painting text if it is null
11037 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11040 2004-05-03 Olga Rodimina <rodimina@redhat.com>
11042 * Makefile.am: Added new file.
11043 * Makefile.in: Regenerate.
11044 * javax/swing/JPopupMenu.java:
11045 Started implementation.
11046 * javax/swing/JWindow.java
11047 (JWindow): call super() if parent for window
11049 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11050 New File. UI Delegate for JPopupMenu.
11052 2004-04-30 Olga Rodimina <rodimina@redhat.com>
11054 * javax/swing/JApplet.java: Indicated that JApplet
11055 implements RootPaneContainer and made method of this
11057 * javax/swing/JFrame.java: Ditto.
11058 * javax/swing/JWindow.java: Ditto.
11060 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
11062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11063 (nativeSetBounds): Call gdk_window_move in addition to
11066 * java/applet/Applet.java (preferredSize): Call parent's
11067 preferredSize if the applet stub is null.
11068 (minimumSize): Likewise for parent's minimumSize.
11070 2004-04-27 Olga Rodimina <rodimina@redhat.com>
11072 * javax/swing/JMenuItem.java
11073 (createActionPropertyChangeListener): Implemented.
11074 (processMouseEvent): Ditto.
11075 (fireMenuDragMouseEntered): Ditto.
11076 (fireMenuDragMouseExited): Ditto.
11077 (fireMenuDragMouseDragged): Ditto.
11078 (fireMenuDragMouseReleased): Ditto.
11079 (menuSelectionChanged): Ditto.
11080 (getSubElements): Ditto.
11081 (getComponent): Ditto.
11082 (addMenuDragMouseListener): Ditto.
11083 (removeMenuDragMouseListener):Ditto.
11084 (addMenuKeyListener): Ditto.
11085 (removeMenuKeyListener): Ditto.
11086 * javax/swing/plaf/basic/BasicMenuItemUI.java
11087 (doClick): Imlemented.
11088 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11089 Don't handle mouse events here. Pass them to
11090 MenuSelectionManager.
11092 2004-04-26 Olga Rodimina <rodimina@redhat.com>
11093 Used correct version of jalopy configuration
11094 file to fix style in the files below.
11096 2004-04-26 Olga Rodimina <rodimina@redhat.com>
11098 * javax/swing/JCheckBoxMenuItem.java:
11099 Fixed style and removed unnecessary comments.
11100 * javax/swing/JMenuItem.java: Ditto.
11101 * javax/swing/JRadioButtonMenuItem.java: Ditto.
11102 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11103 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11104 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11106 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
11108 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11111 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11113 * java/awt/ContainerOrderFocusTraversalPolicy.java
11114 (getComponentAfter): Start from current component and work up
11115 the component hierarchy until an acceptable component is found.
11116 Synchronize on tree lock.
11117 (getComponentBefore): Likewise.
11119 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11121 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11122 focus-related debugging messages.
11123 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11124 * java/awt/EventDispatchThread.java: Likewise.
11125 * java/awt/KeyboardFocusManager.java: Likewise.
11126 * java/awt/Window.java: Likewise.
11127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11128 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11131 new C++-style comments to C-style comments.
11132 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11134 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11135 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11136 (handleEvent): Dispatch key press and key release events to
11138 (requestFocus): Post a FOCUS_GAINED event to the event queue.
11139 (gtkWidgetRequestFocus): New method.
11140 (gtkWidgetDispatchKeyEvent): Likewise.
11141 * java/awt/Component.java (requestFocus, requestFocus(boolean),
11142 requestFocusInWindow, requestFocusInWindow(boolean),
11143 getFocusCycleRootAncestor, nextFocus, transferFocus,
11144 transferFocusBackward, transferFocusUpCycle, hasFocus,
11145 isFocusOwner): Implement and document focus-handling methods.
11146 (setFocusTraversalKeys): Inherit focus traversal keys when
11147 keystrokes argument is null. Fix focus-handling documentation
11149 * java/awt/Container.java (setFocusTraversalKeys,
11150 getFocusTraversalKeys, areFocusTraversalKeysSet,
11151 isFocusCycleRoot, setFocusTraversalPolicy,
11152 getFocusTraversalPolicy, isFocusTraversalPolicySet,
11153 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11154 Implement and document focus-handling methods.
11155 (transferFocusBackward): Remove method.
11156 (readObject, writeObject): Implement and document serialization
11158 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11160 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11162 * java/awt/DefaultKeyboardFocusManager.java: Implement and
11163 partially document.
11164 * java/awt/EventDispatchThread.java (run): Set default keyboard
11165 focus manager. Attempt to dispatch each event to the keyboard
11166 focus manager before normal dispatch.
11167 * java/awt/KeyboardFocusManager.java: Implement and partially
11169 * java/awt/Window.java (Window): Set focusCycleRoot to true.
11170 (show): Focus initial component when window is shown for the
11172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11173 (pre_event_handler): Replace complex key press and key release
11174 logic with simple callbacks into GtkComponentPeer.
11175 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11177 2004-04-21 Olga Rodimina <rodimina@redhat.com>
11179 * javax/swing/MenuSelectionManager.java
11180 (componentForPoint): Added new method.
11181 (defaultManager): New Method. Implemented.
11182 (getSelectedPath): Ditto.
11183 (isComponentPartOfCurrentMenu): Ditto.
11184 (processKeyEvent): Added new method.
11185 (processMouseEvent): New Method. Implemented.
11186 (setSelectedPath): Ditto.
11189 2004-04-19 Kim Ho <kho@redhat.com>
11191 * java/awt/Container.java:
11192 (remove): Set the component's parent to null.
11193 (getComponentAt): Implement.
11194 * javax/swing/JComponent.java:
11195 (JComponent): Initialize defaultLocale
11196 (getDefaultLocale): Implement.
11197 (setDefaultLocale): ditto.
11198 * javax/swing/JSlider.java:
11199 (JSlider): Fix calculation of value.
11200 * javax/swing/JSplitPane.java: Implement.
11201 * javax/swing/plaf/basic/BasicLookAndFeel.java:
11202 Change SplitPane's default divider size.
11203 * javax/swing/plaf/basic/BasicScrollBarUI.java:
11204 (paint): Remove unused code.
11205 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11206 Added comments and ran through jalopy.
11207 (setBasicSplitPaneUI): Get reference to hidden divider
11208 and set up one touch buttons if necessary.
11209 (setBorder): Fire propertyChangeEvent only if
11210 borders are different.
11211 (getPreferredSize): Defer to layout manager.
11212 (propertyChange): Implement.
11213 (oneTouchExpandableChanged): ditto.
11214 (createLeftOneTouchButton): Use BasicArrowButton.
11215 (createRightOneTouchButton): ditto.
11216 (moveDividerTo): New method. Moves the divider
11217 to a set location based on the last divider location.
11218 (BasicSplitPaneDivider::MouseHandler): Implement.
11219 (BasicSplitPaneDivider::OneTouchButton): Removed.
11220 (BasicSplitPaneDivider::DragController): Implement.
11221 (BasicSplitPaneDivider::VerticalDragController):
11223 (BasicSplitPaneDivider::DividerLayout): ditto.
11224 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11225 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11226 (calculateLayoutInfo): Don't show component if it's
11228 (paintTab): Fix title paint logic.
11230 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
11233 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11234 (setStartRule,setEndRule): Don't take abs of day number.
11235 (getOffset): Clarify docs. Add argument checks.
11236 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11237 (equals,hasSameRules,toString,readObject): Use startTimeMode and
11239 * testsuite/libjava.mauve/xfails
11240 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11242 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
11244 Layout interfaces during preparation, not initialization.
11245 * java/lang/natClass.cc (initializeClass): Move
11246 _Jv_LayoutInterfaceMethods call...
11247 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11249 2004-05-19 Anthony Green <green@localhost.localdomain>
11251 * Makefile.am (awt_java_source_files): Remove javax.rmi and
11252 gnu.javax.rmi code.
11253 * Makefile.in: Rebuilt.
11254 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11255 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11256 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11257 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11258 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11259 gnu/javax/rmi/CORBA/DelegateFactory.java,
11260 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11261 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11262 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11263 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11264 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11265 gnu/javax/rmi/PortableServer.java: Remove files.
11267 2004-05-19 Anthony Green <green@redhat.com>
11269 * Makefile.am: Define JAVA_EXT_DIRS.
11270 * Makefile.in: Rebuilt.
11271 * java/lang/natRuntime.cc (insertSystemProperties): Set
11272 java.ext.dirs property.
11274 2004-05-16 Mark Wielaard <mark@klomp.org>
11276 * java/io/Writer.java (Writer(Object)): Check for null lock object.
11278 2004-05-15 Mark Wielaard <mark@klomp.org>
11280 * doc/cni.sgml: Removed, merged into gcj.texi.
11282 2004-05-15 Mark Wielaard <mark@klomp.org>
11284 * Makefile.am (ordinary_java_source_files): Add new javax.print
11286 * Makefile.in: Regenerated.
11288 2004-05-15 Michael Koch <konqueror@gmx.de>
11290 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11291 javax/print/attribute/standard/DateTimeAtCreation.java,
11292 javax/print/attribute/standard/DateTimeAtProcessing.java,
11293 javax/print/attribute/standard/DocumentName.java,
11294 javax/print/attribute/standard/JobHoldUntil.java,
11295 javax/print/attribute/standard/JobImpressionsCompleted.java,
11296 javax/print/attribute/standard/JobMessageFromOperator.java,
11297 javax/print/attribute/standard/JobName.java,
11298 javax/print/attribute/standard/JobOriginatingUserName.java,
11299 javax/print/attribute/standard/JobPriority.java,
11300 javax/print/attribute/standard/JobPrioritySupported.java,
11301 javax/print/attribute/standard/NumberOfInterveningJobs.java,
11302 javax/print/attribute/standard/OutputDeviceAssigned.java,
11303 javax/print/attribute/standard/PrinterInfo.java,
11304 javax/print/attribute/standard/PrinterLocation.java,
11305 javax/print/attribute/standard/PrinterMakeAndModel.java,
11306 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11307 javax/print/attribute/standard/PrinterName.java,
11308 javax/print/attribute/standard/QueuedJobCount.java,
11309 javax/print/attribute/standard/RequestingUserName.java:
11310 Fixed javadocs all over.
11312 2004-05-15 Michael Koch <konqueror@gmx.de>
11314 * javax/print/DocFlavor.java,
11315 javax/print/attribute/standard/ColorSupported.java,
11316 javax/print/attribute/standard/Compression.java,
11317 javax/print/attribute/standard/CopiesSupported.java,
11318 javax/print/attribute/standard/Fidelity.java,
11319 javax/print/attribute/standard/Finishings.java,
11320 javax/print/attribute/standard/JobImpressionsSupported.java,
11321 javax/print/attribute/standard/JobKOctetsSupported.java,
11322 javax/print/attribute/standard/JobMediaSheetsSupported.java,
11323 javax/print/attribute/standard/JobSheets.java,
11324 javax/print/attribute/standard/JobState.java,
11325 javax/print/attribute/standard/JobStateReason.java,
11326 javax/print/attribute/standard/JobStateReasons.java,
11327 javax/print/attribute/standard/Media.java,
11328 javax/print/attribute/standard/MediaSizeName.java,
11329 javax/print/attribute/standard/MultipleDocumentHandling.java,
11330 javax/print/attribute/standard/NumberUpSupported.java,
11331 javax/print/attribute/standard/OrientationRequested.java,
11332 javax/print/attribute/standard/PDLOverrideSupported.java,
11333 javax/print/attribute/standard/PageRanges.java,
11334 javax/print/attribute/standard/PresentationDirection.java,
11335 javax/print/attribute/standard/PrintQuality.java,
11336 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11337 javax/print/attribute/standard/PrinterMoreInfo.java,
11338 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11339 javax/print/attribute/standard/PrinterResolution.java,
11340 javax/print/attribute/standard/PrinterState.java,
11341 javax/print/attribute/standard/PrinterStateReason.java,
11342 javax/print/attribute/standard/PrinterStateReasons.java,
11343 javax/print/attribute/standard/PrinterURI.java,
11344 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11345 javax/print/attribute/standard/Severity.java,
11346 javax/print/attribute/standard/SheetCollate.java,
11347 javax/print/attribute/standard/Sides.java:
11348 Added serialVersionUID and removed final keyword where it doenst
11351 2004-05-15 Michael Koch <konqueror@gmx.de>
11353 * javax/print/PrintServiceLookup.java: New file.
11355 2004-05-15 Michael Koch <konqueror@gmx.de>
11357 * javax/print/DocFlavor.java:
11358 Implemented all flavor classes.
11360 2004-05-15 Michael Koch <konqueror@gmx.de>
11362 * javax/print/attribute/standard/ColorSupported.java,
11363 javax/print/attribute/standard/Compression.java,
11364 javax/print/attribute/standard/CopiesSupported.java,
11365 javax/print/attribute/standard/Fidelity.java,
11366 javax/print/attribute/standard/Finishings.java,
11367 javax/print/attribute/standard/JobImpressionsSupported.java,
11368 javax/print/attribute/standard/JobKOctetsSupported.java,
11369 javax/print/attribute/standard/JobMediaSheetsSupported.java,
11370 javax/print/attribute/standard/JobSheets.java,
11371 javax/print/attribute/standard/JobState.java,
11372 javax/print/attribute/standard/JobStateReason.java,
11373 javax/print/attribute/standard/JobStateReasons.java,
11374 javax/print/attribute/standard/Media.java,
11375 javax/print/attribute/standard/MediaSizeName.java,
11376 javax/print/attribute/standard/MultipleDocumentHandling.java,
11377 javax/print/attribute/standard/NumberUpSupported.java,
11378 javax/print/attribute/standard/OrientationRequested.java,
11379 javax/print/attribute/standard/PDLOverrideSupported.java,
11380 javax/print/attribute/standard/PageRanges.java,
11381 javax/print/attribute/standard/PresentationDirection.java,
11382 javax/print/attribute/standard/PrintQuality.java,
11383 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11384 javax/print/attribute/standard/PrinterMoreInfo.java,
11385 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11386 javax/print/attribute/standard/PrinterResolution.java,
11387 javax/print/attribute/standard/PrinterState.java,
11388 javax/print/attribute/standard/PrinterStateReason.java,
11389 javax/print/attribute/standard/PrinterStateReasons.java,
11390 javax/print/attribute/standard/PrinterURI.java,
11391 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11392 javax/print/attribute/standard/Severity.java,
11393 javax/print/attribute/standard/SheetCollate.java,
11394 javax/print/attribute/standard/Sides.java: New files.
11396 2004-05-15 Michael Koch <konqueror@gmx.de>
11398 * javax/print/Doc.java
11399 (getPrintData): Throws IOException.
11400 (getReaderForText): Likewise.
11401 (getStreamForBytes): Likewise.
11402 * javax/print/DocFlavor.java:
11403 Fixed filename in copyright.
11404 (serialVersionUID): New field.
11405 * javax/print/ServiceUIFactory.java:
11406 Made all constants final.
11407 * javax/print/AttributeException.java
11408 javax/print/MultiDoc.java
11409 javax/print/MultiDocPrintJob.java
11410 javax/print/MultiDocPrintService.java
11411 javax/print/StreamPrintService.java
11412 javax/print/URIException.java: New files.
11413 * javax/print/Makefile.am
11414 (EXTRA_DIST): Added all new files.
11416 2004-05-15 Michael Koch <konqueror@gmx.de>
11418 * javax/print/attribute/standard/Copies.java,
11419 javax/print/attribute/standard/DateTimeAtCompleted.java,
11420 javax/print/attribute/standard/DateTimeAtCreation.java,
11421 javax/print/attribute/standard/DateTimeAtProcessing.java,
11422 javax/print/attribute/standard/DocumentName.java,
11423 javax/print/attribute/standard/JobHoldUntil.java,
11424 javax/print/attribute/standard/JobImpressions.java,
11425 javax/print/attribute/standard/JobImpressionsCompleted.java,
11426 javax/print/attribute/standard/JobKOctets.java,
11427 javax/print/attribute/standard/JobKOctetsProcessed.java,
11428 javax/print/attribute/standard/JobMediaSheets.java,
11429 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11430 javax/print/attribute/standard/JobMessageFromOperator.java,
11431 javax/print/attribute/standard/JobName.java,
11432 javax/print/attribute/standard/JobOriginatingUserName.java,
11433 javax/print/attribute/standard/JobPriority.java,
11434 javax/print/attribute/standard/JobPrioritySupported.java,
11435 javax/print/attribute/standard/NumberOfDocuments.java,
11436 javax/print/attribute/standard/NumberOfInterveningJobs.java,
11437 javax/print/attribute/standard/NumberUp.java,
11438 javax/print/attribute/standard/OutputDeviceAssigned.java,
11439 javax/print/attribute/standard/PagesPerMinute.java,
11440 javax/print/attribute/standard/PagesPerMinuteColor.java:
11441 Fixed @return tag all over.
11443 2004-05-15 Michael Koch <konqueror@gmx.de>
11445 * javax/print/attribute/AttributeSetUtilities.java
11446 (verifyCategoryForValue): Fixed typo in javadoc.
11447 * javax/print/attribute/HashAttributeSet.java
11448 (containsKey): Fixed @return tag.
11449 (comtainsValue): Likewise.
11450 (equals): Likewise.
11451 * javax/print/attribute/IntegerSyntax.java
11452 (equals): Likewise.
11453 * javax/print/attribute/ResolutionSyntax.java
11454 (equals): Likewise.
11455 (getCrossFeedResolution): Removed unused code.
11456 (getFeedResolution): Likewise.
11457 * javax/print/attribute/SetOfIntegerSyntax.java
11458 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11459 (equals): Fixed @return tag.
11460 * javax/print/attribute/TextSyntax.java
11461 (TextSyntax): Take locale into account.
11462 (hashCode): Better implementation.
11464 2004-05-15 Michael Koch <konqueror@gmx.de>
11466 * javax/print/CancelablePrintJob.java,
11467 javax/print/Doc.java,
11468 javax/print/DocFlavor.java,
11469 javax/print/DocPrintJob.java,
11470 javax/print/FlavorException.java,
11471 javax/print/PrintException.java,
11472 javax/print/PrintService.java,
11473 javax/print/ServiceUIFactory.java: New files.
11475 2004-05-15 Mark Wielaard <mark@klomp.org>
11477 * gnu/regexp/CharIndexedReader.java: Removed.
11478 * gnu/regexp/REFilterReader.java: Likewise.
11479 * gnu/regexp/RETokenLookAhead.java: Likewise.
11480 * Makefile.am (ordinary_java_source_files): Remove above classes.
11481 * Makefile.in: Regenerated.
11483 2004-05-14 Tom Tromey <tromey@redhat.com>
11485 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11486 not `XGraphicsConfiguration.XOffScreenImage'.
11488 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
11490 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11492 2004-05-14 Steven Augart <augart@watson.ibm.com>
11494 * include/jni.h (_Jv_func): Removed.
11495 (struct JNINativeInterface): Use `void *' for reserved slots.
11496 (struct JNIInvokeInterface): Likewise.
11498 2004-05-11 Michael Koch <konqueror@gmx.de>
11500 * gnu/java/net/natPlainSocketImplPosix.cc
11501 (read): Fixed typo in expression.
11503 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
11505 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11506 ld_library_additions. Adjust all calls to libjava_invoke to match
11509 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11510 path to cxxflagslist.
11511 Pass path of libstdc++ to libjava_invoke.
11513 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11514 libjava_invoke arguments.
11516 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
11518 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11521 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
11523 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11524 main binary against the JNI shared library.
11526 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
11528 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11529 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11530 (SimpleTimeZone): Tweak docs. Add new variation.
11531 (setStartRule,setEndRule): Add new variations. Use
11532 startTimeMode and endTimeMode.
11534 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
11536 * java/util/Calendar.java (getActualMinimum,
11537 getActualMaximum): Remove abstract. Implement.
11539 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
11541 Run the jni tests using the interpreter.
11542 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11543 options_cxx to shared lib compile command.
11544 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11545 they are used to link the shared lib, not the main binary.
11546 Use libjava_invoke to run gij.
11548 2004-05-06 Michael Koch <konqueror@gmx.de>
11550 * java/util/logging/Level.java
11551 (parse): Use == instead of String.equals().
11553 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
11555 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
11556 verify_field_signature and verify_method_signature, not
11557 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11558 (_Jv_ClassReader::handleField): Likewise.
11559 (_Jv_ClassReader::handleMethod): Likewise.
11561 2004-05-06 Michael Koch <konqueror@gmx.de>
11563 * javax/swing/table/TableColumn.java:
11566 2004-05-06 Michael Koch <konqueror@gmx.de>
11568 * javax/imageio/spi/ImageReaderWriterSpi.java
11569 (ImageReaderWriterSpi): Made it public.
11570 * javax/imageio/stream/ImageInputStream.java:
11573 2004-05-06 Michael Koch <konqueror@gmx.de>
11575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11576 Removed empty line.
11578 2004-05-06 Michael Koch <konqueror@gmx.de>
11580 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11581 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11584 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11586 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11587 their own source file.
11588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11589 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11590 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11592 (create): Define variable on top of function.
11593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11594 (menu_pos): Prototyped.
11595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11596 (setTitle): Removed.
11597 * jni/gtk-peer/gthread-jni.c
11598 (gdk_threads_wake): Removed.
11599 * Makefile.am (gtk_c_source_files): Added new files
11600 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11601 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11602 * Makefile.in: Regenerated.
11604 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
11606 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11609 2004-05-05 Mark Wielaard <mark@klomp.org>
11611 * javax/swing/AbstractButton.java: Replace special HTML entities with
11613 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11614 * javax/swing/DefaultButtonModel.java: Likewise.
11615 * javax/swing/DefaultListModel.java: Likewise.
11616 * javax/swing/JList.java: Likewise.
11617 * javax/swing/JSlider.java: Likewise.
11618 * javax/swing/ListModel.java: Likewise.
11619 * javax/swing/Popup.java: Likewise.
11620 * javax/swing/SwingUtilities.java: Likewise.
11622 2004-05-05 Michael Koch <konqueror@gmx.de>
11624 * javax/swing/AbstractButton.java,
11625 javax/swing/ActionMap.java,
11626 javax/swing/DefaultButtonModel.java,
11627 javax/swing/DefaultListModel.java,
11628 javax/swing/ImageIcon.java,
11629 javax/swing/JComboBox.java,
11630 javax/swing/JComponent.java,
11631 javax/swing/JFrame.java,
11632 javax/swing/JInternalFrame.java,
11633 javax/swing/JMenuBar.java,
11634 javax/swing/JMenuItem.java,
11635 javax/swing/JOptionPane.java,
11636 javax/swing/JProgressBar.java,
11637 javax/swing/JRootPane.java,
11638 javax/swing/JScrollBar.java,
11639 javax/swing/JScrollPane.java,
11640 javax/swing/JSeparator.java,
11641 javax/swing/JSlider.java,
11642 javax/swing/JTabbedPane.java,
11643 javax/swing/JTable.java,
11644 javax/swing/JTextField.java,
11645 javax/swing/JToolBar.java,
11646 javax/swing/JToolTip.java,
11647 javax/swing/JTree.java,
11648 javax/swing/JViewport.java,
11649 javax/swing/JWindow.java,
11650 javax/swing/KeyStroke.java,
11651 javax/swing/LookAndFeel.java,
11652 javax/swing/SwingUtilities.java,
11653 javax/swing/Timer.java,
11654 javax/swing/ToolTipManager.java,
11655 javax/swing/UIDefaults.java,
11656 javax/swing/border/TitledBorder.java,
11657 javax/swing/filechooser/FileSystemView.java,
11658 javax/swing/plaf/basic/BasicButtonListener.java,
11659 javax/swing/plaf/basic/BasicButtonUI.java,
11660 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11661 javax/swing/plaf/basic/BasicGraphicsUtils.java,
11662 javax/swing/plaf/basic/BasicLabelUI.java,
11663 javax/swing/plaf/basic/BasicMenuItemUI.java,
11664 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11665 javax/swing/plaf/basic/BasicRootPaneUI.java,
11666 javax/swing/plaf/basic/BasicScrollBarUI.java,
11667 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11668 javax/swing/plaf/basic/BasicSliderUI.java,
11669 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11670 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11671 javax/swing/table/JTableHeader.java,
11672 javax/swing/text/AbstractDocument.java,
11673 javax/swing/text/DefaultCaret.java,
11674 javax/swing/text/StyledEditorKit.java,
11675 javax/swing/tree/DefaultTreeCellEditor.java:
11676 Cleaned up imports.
11678 2004-05-05 Michael Koch <konqueror@gmx.de>
11680 * java/util/prefs/AbstractPreferences.java
11681 (AbstractPreferences): Added parenthesis for clarity.
11682 Closes classpath bug #7940.
11684 2004-05-05 Tom Tromey <tromey@redhat.com>
11686 * javax/naming/CompoundName.java (endsWith): Look at correct
11687 element of source name.
11689 2004-05-05 Mark Wielaard <mark@klomp.org>
11691 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11692 * java/util/HashMap.java (rehash): Add entry at start of bucket.
11694 2004-05-05 Tom Tromey <tromey@redhat.com>
11696 * java/io/BufferedReader.java (skip): Removed unused
11699 2004-05-05 Michael Koch <konqueror@gmx.de>
11701 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11703 2004-05-05 Dalibor Topic <robilad@kaffe.org>
11705 * java/text/AttributedString.java,
11706 java/text/AttributedStringIterator.java,
11707 java/text/Collator.java,
11708 java/text/DecimalFormatSymbols.java,
11709 java/text/NumberFormat.java,
11710 java/text/RuleBasedCollator.java:
11711 Cleaned up imports.
11713 2004-05-05 Tom Tromey <tromey@redhat.com>
11715 * java/text/Format.java: Cleaned up imports.
11716 * java/text/DecimalFormat.java: Cleaned up imports.
11717 * java/security/SecureRandom.java: Cleaned up imports.
11718 (SecureRandom): Removed unused variable.
11719 * java/security/UnresolvedPermission.java: Cleaned up imports.
11720 * java/util/Date.java (parse): Removed unused variable.
11721 * java/util/ResourceBundle.java: Cleaned up imports.
11722 (getBundle): Removed unused variable.
11723 (tryBundle): Likewise.
11724 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11726 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11728 * java/text/SimpleDateFormat.java:
11729 (formatWithAttribute): New method. It implements
11730 the formatting process with attributes.
11731 (format): Use formatWithAttribute.
11732 (formatToCharacterIterator): New method. Use
11733 formatWithAttribute.
11735 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11737 * java/text/MessageFormat.java:
11738 (class Field): New class.
11739 (formatToCharacterIterator): New method.
11740 (format): Use formatInternal now.
11741 (formatInternal): New method. String formatter should
11742 be done here (with attributes). Attributes merging supported.
11743 (parse): More documentation.
11744 (getFormatsByArgumentIndex): New method.
11745 (setFormatByArgumentIndex): New method.
11746 (setFormatsByArgumentIndex): New method.
11748 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11750 * java/text/DecimalFormat.java
11751 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11752 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11753 (parse): Fixed handling of exponentiation notation and grouping.
11755 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11757 * java/text/DecimalFormat.java
11758 (scanFix): Build attribute array. Fixed error reporting.
11759 (applyPatternWithSymbols): Store attributes for the prefix and
11761 (formatInternal): New method. Changed the way the string is
11762 computed. Implemented attributes. Cleant up rounding in
11763 exponential notation.
11764 (format): Use formatInternal.
11765 (formatToCharacterIterator): New method.
11766 (exponentRound, negativePrefixRanges, positivePrefixRanges,
11767 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
11768 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
11771 2004-05-04 Dalibor Topic <robilad@kaffe.org>
11773 * java/security/interfaces/DSAKeyPairGenerator.java,
11774 java/security/interfaces/DSAPrivateKey.java,
11775 java/security/interfaces/DSAPublicKey.java,
11776 java/security/interfaces/RSAPrivateKey.java,
11777 java/security/interfaces/RSAPublicKey.java:
11778 Cleaned up imports.
11780 2004-05-04 Michael Koch <konqueror@gmx.de>
11782 * java/nio/ByteBuffer.java,
11783 java/nio/CharBuffer.java,
11784 java/nio/DoubleBuffer.java,
11785 java/nio/FloatBuffer.java,
11786 java/nio/IntBuffer.java,
11787 java/nio/LongBuffer.java,
11788 java/nio/ShortBuffer.java:
11789 (compareTo): Fixed bogus implementation in all buffer classes.
11791 2004-05-04 Ingo Proetel <proetel@aicas.com>
11793 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
11794 32 bit pixels not 8 bit pixels.
11795 (isCompatibleRaster): Added javadoc comment.
11797 2004-05-04 Ingo Proetel <proetel@aicas.com>
11799 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
11802 2004-05-04 Ingo Proetel <proetel@aicas.com>
11804 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
11805 (getColorModel): Return the actual color model.
11806 (getRaster): Implemented.
11807 (ColorRaster): New inner class.
11808 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
11810 * java/awt/Color.java (<init>): Make exception more verbose.
11811 (createContext): Use ColorModel when creating a PaintContext.
11813 2004-05-04 Michael Koch <konqueror@gmx.de>
11815 * gnu/java/text/CharacterBreakIterator.java
11816 (previous): Removed unused variable.
11818 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
11820 * gnu/java/text/FormatBuffer.java,
11821 gnu/java/text/AttributedFormatBuffer.java,
11822 gnu/java/text/StringFormatBuffer.java: New classes to implement
11823 attributed iterators in java.text.
11824 * gnu/java/text/FormatCharacterIterator.java: Moved
11825 from java/text as it is an internal class.
11826 * java/text/FormatCharacterIterator.java: Removed.
11827 * java/text/Format.java:
11828 Import gnu.java.text.FormatCharacterIterator.
11829 * Makefile.am (java_source_files): Added new files.
11830 * Makefile.in: Regenerated.
11833 2004-05-04 Mark Wielaard <mark@klomp.org>
11835 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
11837 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
11839 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
11840 * Makefile.in: Rebuilt.
11842 2004-05-03 Mark Wielaard <mark@klomp.org>
11844 * gnu/java/security/der/DERReader.java: Call static methods staticly.
11845 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
11846 * java/net/URL.java
11847 (set(String, String, int, String, String, String, String, String)):
11848 Assign this.file to path or path + "?" + query.
11849 * java/util/Arrays.java: Call static methods staticly.
11850 * java/util/zip/ZipEntry.java: Likewise.
11851 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
11852 dir to this.direction.
11853 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
11854 Assign static field only once.
11855 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
11857 2004-05-03 Mark Wielaard <mark@klomp.org>
11859 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
11860 unused variables hScrollbarHeight and vScrollbarWidth.
11861 (preferredSize): Likewise.
11862 * gnu/java/security/provider/DSAParameters.java (engineToString):
11863 Removed unused call to System.getProperty("line.seperator");
11864 * java/security/Security.java (loadProviders): Return result.
11866 2004-05-03 Tom Tromey <tromey@redhat.com>
11868 * java/net/URLStreamHandler.java (toExternalForm): Removed
11870 unused constructor.
11871 * java/math/BigDecimal.java (divide): Removed unused variable.
11872 * java/lang/Throwable.java: Cleaned up imports.
11873 * java/lang/ClassLoader.java: Cleaned up imports.
11874 * java/io/FilePermission.java (implies): Removed unused
11876 * java/awt/TextComponent.java: Removed unused import.
11877 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
11878 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
11879 * gnu/java/text/WordBreakIterator.java: Removed unused import.
11880 * gnu/java/text/SentenceBreakIterator.java: Removed unused
11882 * gnu/java/text/LineBreakIterator.java: Removed unused import.
11883 * gnu/java/text/CharacterBreakIterator.java: Removed
11885 * gnu/java/security/provider/DSAKeyPairGenerator.java:
11886 Cleaned up imports.
11887 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
11888 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
11890 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
11891 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
11892 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
11893 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
11894 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
11895 (lookupProviders): Removed unused variable.
11896 (loadNextServiceProvider): Likewise.
11897 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
11899 2004-05-03 Michael Koch <konqueror@gmx.de>
11901 Fixes PR libgcj/14695:
11902 * java/net/NetworkInterface.java
11903 (getByName): Return null when no interface was found.
11905 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
11906 Tom Tromey <tromey@redhat.com>
11908 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
11909 additional option "-Wmissing-prototypes" for compiling C sources.
11910 Print actual filename for pass/fail rather than $name.c.
11911 * testsuite/libjava.jni/PR15133.java: New testcase file.
11912 * testsuite/libjava.jni/PR15133.c: Likewise.
11913 * testsuite/libjava.jni/PR15133.out: Likewise.
11915 2004-04-30 Roger Sayle <roger@eyesopen.com>
11917 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
11920 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
11922 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
11923 limit the maximum heap size to avoid unnecessary thrashing.
11925 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
11927 * java/text/CollationElementIterator.java (reset): Reset
11928 lookahead variables.
11930 2004-04-23 Mark Wielaard <mark@klomp.org>
11932 * jni/classpath/jcl.c: Changed C++ comments into C comments.
11934 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11936 * java/sql/DriverManager.java:
11937 Cleaned up imports.
11939 2004-04-23 Michael Koch <konqueror@gmx.de>
11941 * java/net/URL.java
11942 (hashcode): Don't initialize with default value explicitely.
11943 (getContent): Removed redundant "final" keyword.
11944 (openStream): Likewise.
11945 (getURLStreamHandler): Fixed coding style.
11946 * java/net/URLConnection.java
11947 (defaultAllowUserInteraction): Don't initialize with default value
11949 (connected): Likewise.
11950 (doOutput): Likewise.
11951 (ifModifiedSince): Likewise.
11952 (dateformats_initialized): Likewise.
11953 (setURLStreamHander): Use StreamTokenizer where it belongs to.
11955 2004-04-23 Michael Koch <konqueror@gmx.de>
11957 * gnu/java/nio/channels/FileChannelImpl.java
11958 (SET, CUR): Unused, removed.
11959 (read): Implement here directly.
11960 (implRead): Removed.
11961 (write): Implement here directly.
11962 (implWrite): Removed.
11964 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11966 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
11967 javax/rmi/CORBA/Stub.java,
11968 javax/rmi/CORBA/Util.java,
11969 javax/rmi/CORBA/ValueHandler.java,
11970 javax/rmi/CORBA/ValueHandler.java,
11971 javax/rmi/PortableRemoteObject.java:
11972 Cleaned up imports.
11974 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11976 * java/util/jar/JarFile.java,
11977 java/util/jar/JarInputStream.java,
11978 java/util/jar/JarOutputStream.java,
11979 java/util/jar/Manifest.java:
11980 Cleaned up imports.
11982 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11984 * java/util/ArrayList.java,
11985 java/util/Calendar.java,
11986 java/util/Currency.java,
11987 java/util/HashMap.java,
11988 java/util/HashSet.java,
11989 java/util/Hashtable.java,
11990 java/util/LinkedList.java,
11991 java/util/Properties.java,
11992 java/util/PropertyPermission.java,
11993 java/util/TimeZone.java,
11994 java/util/TreeMap.java,
11995 java/util/TreeSet.java,
11996 java/util/Vector.java,
11997 java/util/WeakHashMap.java:
11998 Cleaned up imports.
12000 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12002 * java/util/logging/FileHandler.java,
12003 java/util/logging/Formatter.java,
12004 java/util/logging/Handler.java,
12005 java/util/logging/Logger.java,
12006 java/util/logging/SimpleFormatter.java,
12007 java/util/logging/XMLFormatter.java:
12008 Cleaned up imports.
12010 2004-04-22 Mark Wielaard <mark@klomp.org>
12012 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
12013 -Wno-long-long flags variable.
12014 (gtk_c_files): Use PEDANTIC_CFLAGS.
12015 * Makefile.in: Regenerated.
12017 2004-04-22 Mark Wielaard <mark@klomp.org>
12019 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12020 Changed C++ comments into C comments.
12021 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12024 2004-04-22 Michael Koch <konqueror@gmx.de>
12026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12027 Merged copyright year with GNU classpath.
12029 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12031 * javax/security/auth/x500/X500Principal.java:
12032 Cleaned up imports.
12034 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12036 * javax/swing/JSlider.java:
12037 Fixed HTML tags in comments.
12039 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12041 * javax/accessibility/AccessibleText.java:
12042 Cleaned up imports.
12044 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
12046 * java/net/URLStreamHandler.java
12047 (parseURL): Convert the file path to using '/' instead of native
12050 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
12052 * java/net/URL.java
12053 (userInfo): New field.
12054 (URL): Set authority to the right value.
12055 (setURL): Fixed authority and file initialization.
12056 * java/net/URLStreamHandler.java
12057 (parseURL): Take care of the query tag. Build authority.
12058 (toExternalForm): Fixed URL building using authority.
12060 2004-04-22 Michael Koch <konqueror@gmx.de>
12062 * java/net/Socket.java
12063 (impl): Made package-private.
12064 * java/net/ServerSocket.java
12065 (implAccept): Access Socket.impl field directly.
12067 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12069 * java/util/prefs/Preferences.java,
12070 java/util/prefs/InvalidPreferencesFormatException.java,
12071 java/util/prefs/BackingStoreException.java,
12072 java/util/prefs/AbstractPreferences.java:
12073 Cleaned up imports.
12075 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12077 * java/util/regex/Matcher.java,
12078 java/util/regex/Pattern.java:
12079 Cleaned up imports.
12081 2004-04-22 Michael Koch <konqueror@gmx.de>
12083 * java/nio/charset/IllegalCharsetNameException.java
12084 (charsetName): Made private.
12085 (IllegalCharsetNameException): Added @param tag to javadoc.
12086 (getCharsetName): Added @return tag to javadoc.
12087 * java/nio/charset/MalformedInputException.java
12088 (MalformedInputException): Added @param tag to javadoc.
12089 (getInputLength): Revised method description, added @return tag.
12090 (getMessage): Added @return tag.
12092 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
12094 * java/awt/Font.java (deriveFont): Implement missing variants.
12095 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12098 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
12100 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12101 Set method->index values for interface methods to their itable index.
12102 (initializeClass): Call _Jv_LayoutInterfaceMethods.
12104 2004-04-21 Michael Koch <konqueror@gmx.de>
12106 * java/nio/DirectByteBufferImpl.java
12107 (shiftDown): Made static, give address as argument and
12108 provide a convenience method that overwrites shiftDown in
12109 ByteBufferImpl and calls the native shiftDown.
12110 * java/nio/MappedByteBufferImpl.java
12111 (): Use optimized method in DirectByteBufferImpl.
12112 * java/nio/natDirectByteBufferImpl.cc
12113 (shiftDown): Changed method signature. Removed usage of array_offset.
12115 2004-04-21 Michael Koch <konqueror@gmx.de>
12117 * gnu/java/net/natPlainSocketImplPosix.cc
12118 (SocketInputStream::read): Make sure returned data is a byte value.
12120 2004-04-21 Michael Koch <konqueror@gmx.de>
12122 * gnu/classpath/ServiceFactory.java,
12123 gnu/classpath/ServiceProviderLoadingAction.java,
12124 javax/imageio/ImageReader.java,
12125 javax/imageio/ImageTranscoder.java,
12126 javax/imageio/ImageWriter.java,
12127 javax/imageio/package.html,
12128 javax/imageio/spi/IIOServiceProvider.java,
12129 javax/imageio/spi/ImageInputStreamSpi.java,
12130 javax/imageio/spi/ImageOutputStreamSpi.java,
12131 javax/imageio/spi/ImageReaderWriterSpi.java,
12132 javax/imageio/spi/ImageTranscoderSpi.java,
12133 javax/imageio/spi/RegisterableService.java,
12134 javax/imageio/spi/ServiceRegistry.java,
12135 javax/imageio/spi/package.html,
12136 javax/imageio/stream/IIOByteBuffer.java,
12137 javax/imageio/stream/ImageInputStream.java,
12138 javax/imageio/stream/ImageOutputStream.java,
12139 javax/imageio/stream/package.html:
12142 (ordinary_java_source_files): Added
12143 gnu/classpath/ServiceFactory.java and
12144 gnu/classpath/ServiceProviderLoadingAction.java.
12145 (javax_source_files): Added
12146 javax/imageio/ImageReader.java,
12147 javax/imageio/ImageTranscoder.java,
12148 javax/imageio/ImageWriter.java,
12149 javax/imageio/spi/IIOServiceProvider.java,
12150 javax/imageio/spi/ImageInputStreamSpi.java,
12151 javax/imageio/spi/ImageOutputStreamSpi.java,
12152 javax/imageio/spi/ImageReaderWriterSpi.java,
12153 javax/imageio/spi/ImageTranscoderSpi.java,
12154 javax/imageio/spi/RegisterableService.java,
12155 javax/imageio/spi/ServiceRegistry.java,
12156 javax/imageio/stream/IIOByteBuffer.java,
12157 javax/imageio/stream/ImageInputStream.java and
12158 javax/imageio/stream/ImageOutputStream.java.
12159 * Makefile.in: Regenerated.
12161 2004-04-21 Michael Koch <konqueror@gmx.de>
12163 * java/util/Properties.java
12164 (load): Fix wrongly merged fix.
12166 2004-04-21 Mark Wielaard <mark@klomp.org>
12168 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12169 malloc and free buf.
12171 2004-04-21 Dalibor Topic <robilad@kaffe.org>
12173 * javax/naming/AuthenticationException.java,
12174 javax/naming/AuthenticationNotSupportedException.java,
12175 javax/naming/CannotProceedException.java,
12176 javax/naming/CommunicationException.java,
12177 javax/naming/CompoundName.java,
12178 javax/naming/ConfigurationException.java,
12179 javax/naming/ContextNotEmptyException.java,
12180 javax/naming/InitialContext.java,
12181 javax/naming/InsufficientResourcesException.java,
12182 javax/naming/InterruptedNamingException.java,
12183 javax/naming/LimitExceededException.java,
12184 javax/naming/LinkException.java,
12185 javax/naming/LinkLoopException.java,
12186 javax/naming/LinkRef.java,
12187 javax/naming/MalformedLinkException.java,
12188 javax/naming/Name.java,
12189 javax/naming/NameAlreadyBoundException.java,
12190 javax/naming/NameNotFoundException.java,
12191 javax/naming/NamingSecurityException.java,
12192 javax/naming/NoInitialContextException.java,
12193 javax/naming/NoPermissionException.java,
12194 javax/naming/NotContextException.java,
12195 javax/naming/PartialResultException.java,
12196 javax/naming/ReferralException.java,
12197 javax/naming/ServiceUnavailableException.java,
12198 javax/naming/SizeLimitExceededException.java,
12199 javax/naming/TimeLimitExceededException.java,
12200 javax/naming/directory/Attribute.java,
12201 javax/naming/directory/Attributes.java,
12202 javax/naming/directory/SearchResult.java,
12203 javax/naming/event/NamingExceptionEvent.java,
12204 javax/naming/spi/ResolveResult.java:
12205 Cleaned up imports.
12207 2004-04-21 Mark Wielaard <mark@klomp.org>
12209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12210 Changed C++ comments into C comments. Removed commented out code.
12211 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12213 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12215 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12217 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12219 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12221 * native/jni/gtk-peer/gthread-jni.c:
12224 2004-04-21 Mark Wielaard <mark@klomp.org>
12226 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12227 static fields defined in interface.
12228 * javax/awt/JDialog.java: Likewise.
12229 (JDialog): Make constructors public.
12230 (getDefaultCloseOperation): Make public.
12231 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12232 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12233 * javax/swing/JViewport.java (JViewport): Make constructor public.
12235 2004-04-21 Michael Koch <konqueror@gmx.de>
12237 * java/util/Map.java
12238 (Entry): Removed redundant "static" modifier.
12239 * java/text/AttributedCharacterIterator.java:
12240 Updated copyright year.
12242 2004-04-20 Michael Koch <konqueror@gmx.de>
12244 * javax/naming/directory/SearchControls.java:
12245 Don't explicitely extend java.lang.Object.
12246 * javax/naming/spi/DirStateFactory.java:
12247 Merged copyright year with GNU classpath.
12249 2004-04-20 Michael Koch <konqueror@gmx.de>
12251 * java/nio/channels/Channels.java:
12252 Merged coding style with GNU classpath.
12254 2004-04-20 Michael Koch <konqueror@gmx.de>
12256 * java/net/ServerSocket.java
12257 Merged coding style from GNU classpath.
12259 2004-04-20 Michael Koch <konqueror@gmx.de>
12261 * java/io/BufferedWriter.java:
12262 Reordered variables to be at top of the class.
12263 (localFlush): Removed redundant final keyword.
12265 2004-04-20 Ingo Proetel <proetel@aicas.com>
12267 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
12269 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
12271 * java/text/DecimalFormat.java (scanFix): Removed suffix check
12272 for percent and permill check.
12274 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
12276 * java/text/FieldPosition.java
12277 (FieldPosition) Constructor now behaves as it should according
12278 to the java documentation.
12280 2004-04-20 Mark Wielaard <mark@klomp.org>
12282 * java/util/Properties.java: Use the word umlaut, not ä in api
12285 2004-04-20 Michael Koch <konqueror@gmx.de>
12287 * java/nio/Buffer.java,
12288 java/nio/channels/AlreadyConnectedException.java,
12289 java/nio/channels/AsynchronousCloseException.java,
12290 java/nio/channels/ByteChannel.java,
12291 java/nio/channels/CancelledKeyException.java,
12292 java/nio/channels/Channel.java,
12293 java/nio/channels/Channels.java,
12294 java/nio/channels/ClosedByInterruptException.java,
12295 java/nio/channels/ClosedChannelException.java,
12296 java/nio/channels/ClosedSelectorException.java,
12297 java/nio/channels/ConnectionPendingException.java,
12298 java/nio/channels/DatagramChannel.java,
12299 java/nio/channels/FileChannel.java,
12300 java/nio/channels/FileLock.java,
12301 java/nio/channels/FileLockInterruptionException.java,
12302 java/nio/channels/GatheringByteChannel.java,
12303 java/nio/channels/IllegalBlockingModeException.java,
12304 java/nio/channels/IllegalSelectorException.java,
12305 java/nio/channels/InterruptibleChannel.java,
12306 java/nio/channels/NoConnectionPendingException.java,
12307 java/nio/channels/NonReadableChannelException.java,
12308 java/nio/channels/NonWritableChannelException.java,
12309 java/nio/channels/NotYetBoundException.java,
12310 java/nio/channels/NotYetConnectedException.java,
12311 java/nio/channels/OverlappingFileLockException.java,
12312 java/nio/channels/Pipe.java,
12313 java/nio/channels/ReadableByteChannel.java,
12314 java/nio/channels/ScatteringByteChannel.java,
12315 java/nio/channels/SelectableChannel.java,
12316 java/nio/channels/SelectionKey.java,
12317 java/nio/channels/Selector.java,
12318 java/nio/channels/ServerSocketChannel.java,
12319 java/nio/channels/SocketChannel.java,
12320 java/nio/channels/UnresolvedAddressException.java,
12321 java/nio/channels/UnsupportedAddressTypeException.java,
12322 java/nio/channels/WritableByteChannel.java,
12323 java/nio/channels/spi/AbstractInterruptibleChannel.java,
12324 java/nio/channels/spi/AbstractSelectableChannel.java,
12325 java/nio/channels/spi/AbstractSelectionKey.java,
12326 java/nio/channels/spi/AbstractSelector.java,
12327 java/nio/channels/spi/SelectorProvider.java,
12328 java/nio/charset/spi/CharsetProvider.java:
12329 Fixed javadocs and jalopied all over java.nio.
12331 2004-04-20 Michael Koch <konqueror@gmx.de>
12333 * java/nio/ByteBufferImpl.java,
12334 java/nio/CharBufferImpl.java,
12335 java/nio/DirectByteBufferImpl.java,
12336 java/nio/DoubleBufferImpl.java,
12337 java/nio/DoubleViewBufferImpl.java,
12338 java/nio/FloatBufferImpl.java,
12339 java/nio/FloatViewBufferImpl.java,
12340 java/nio/IntBufferImpl.java,
12341 java/nio/IntViewBufferImpl.java,
12342 java/nio/LongBufferImpl.java,
12343 java/nio/LongViewBufferImpl.java,
12344 java/nio/MappedByteBufferImpl.java,
12345 java/nio/ShortBufferImpl.java,
12346 java/nio/ShortViewBufferImpl.java:
12347 Made sure all classes are final and removed final keyword from all
12350 2004-04-20 Michael Koch <konqueror@gmx.de>
12352 * java/rmi/MarshalledObject.java,
12353 java/rmi/Naming.java,
12354 java/rmi/RemoteException.java,
12355 java/rmi/activation/ActivationException.java,
12356 java/rmi/server/ServerCloneException.java,
12357 java/security/AccessController.java,
12358 java/security/AlgorithmParameterGenerator.java,
12359 java/security/AlgorithmParameters.java,
12360 java/security/CodeSource.java,
12361 java/security/Identity.java,
12362 java/security/IdentityScope.java,
12363 java/security/KeyPairGenerator.java,
12364 java/security/KeyStore.java,
12365 java/security/Security.java,
12366 java/security/Signature.java,
12367 java/security/SignatureSpi.java,
12368 java/security/SignedObject.java,
12369 java/security/spec/DSAParameterSpec.java,
12370 java/security/spec/DSAPrivateKeySpec.java,
12371 java/security/spec/DSAPublicKeySpec.java,
12372 java/sql/Array.java,
12373 java/sql/DatabaseMetaData.java,
12374 java/sql/ResultSet.java,
12375 java/text/ChoiceFormat.java,
12376 java/text/CollationElementIterator.java,
12377 java/text/CollationKey.java,
12378 java/text/Collator.java,
12379 java/text/DateFormat.java,
12380 java/text/DateFormatSymbols.java,
12381 java/text/DecimalFormatSymbols.java,
12382 java/text/Format.java,
12383 java/text/ParsePosition.java,
12384 java/text/RuleBasedCollator.java,
12385 java/text/SimpleDateFormat.java,
12386 java/text/StringCharacterIterator.java,
12387 java/util/Collections.java,
12388 java/util/PropertyResourceBundle.java,
12389 java/util/ResourceBundle.java,
12390 java/util/StringTokenizer.java,
12391 java/util/jar/Attributes.java,
12392 java/util/logging/ConsoleHandler.java,
12393 java/util/logging/LogManager.java,
12394 java/util/logging/MemoryHandler.java,
12395 java/util/logging/SocketHandler.java,
12396 javax/naming/NamingException.java:
12397 Fixed javadoc, coding style and argument names all over.
12399 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
12401 * java/io/FileDescriptor.java: (FileDescriptor) Added public
12402 constructor. (valid) Added null check.
12404 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
12406 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12407 * java/io/FileOutputStream.java
12408 (FileOutputStream) Reorganized constructors. Constructors now
12409 check whether the given path is directory.
12411 2004-04-20 Michael Koch <konqueror@gmx.de>
12413 * java/net/Authenticator.java,
12414 java/net/BindException.java,
12415 java/net/ConnectException.java,
12416 java/net/ContentHandler.java,
12417 java/net/ContentHandlerFactory.java,
12418 java/net/DatagramPacket.java,
12419 java/net/DatagramSocket.java,
12420 java/net/DatagramSocketImpl.java,
12421 java/net/DatagramSocketImplFactory.java,
12422 java/net/FileNameMap.java,
12423 java/net/HttpURLConnection.java,
12424 java/net/Inet4Address.java,
12425 java/net/Inet6Address.java,
12426 java/net/InetAddress.java,
12427 java/net/InetSocketAddress.java,
12428 java/net/JarURLConnection.java,
12429 java/net/MalformedURLException.java,
12430 java/net/MulticastSocket.java,
12431 java/net/NetPermission.java,
12432 java/net/NetworkInterface.java,
12433 java/net/NoRouteToHostException.java,
12434 java/net/PasswordAuthentication.java,
12435 java/net/PortUnreachableException.java,
12436 java/net/ProtocolException.java,
12437 java/net/ServerSocket.java,
12438 java/net/Socket.java,
12439 java/net/SocketAddress.java,
12440 java/net/SocketException.java,
12441 java/net/SocketImpl.java,
12442 java/net/SocketImplFactory.java,
12443 java/net/SocketOptions.java,
12444 java/net/SocketPermission.java,
12445 java/net/SocketTimeoutException.java,
12447 java/net/URISyntaxException.java,
12449 java/net/URLClassLoader.java,
12450 java/net/URLConnection.java,
12451 java/net/URLDecoder.java,
12452 java/net/URLEncoder.java,
12453 java/net/URLStreamHandler.java,
12454 java/net/URLStreamHandlerFactory.java,
12455 java/net/UnknownHostException.java,
12456 java/net/UnknownServiceException.java:
12457 Fixed javadocs, coding style and argument names all over.
12459 2004-04-20 Michael Koch <konqueror@gmx.de>
12461 * java/lang/Byte.java,
12462 java/lang/CharSequence.java,
12463 java/lang/ClassLoader.java,
12464 java/lang/Compiler.java,
12465 java/lang/Double.java,
12466 java/lang/Float.java,
12467 java/lang/Integer.java,
12468 java/lang/Long.java,
12469 java/lang/Math.java,
12470 java/lang/Number.java,
12471 java/lang/Package.java,
12472 java/lang/Runtime.java,
12473 java/lang/RuntimePermission.java,
12474 java/lang/SecurityManager.java,
12475 java/lang/Short.java,
12476 java/lang/StringBuffer.java,
12477 java/lang/System.java,
12478 java/lang/ThreadGroup.java,
12479 java/lang/Throwable.java,
12480 java/lang/reflect/InvocationHandler.java,
12481 java/lang/reflect/Proxy.java:
12482 Fixed javadocs, coding style and argument names all over.
12484 2004-04-20 Michael Koch <konqueror@gmx.de>
12486 * java/io/BufferedWriter.java,
12487 java/io/ByteArrayInputStream.java,
12488 java/io/CharArrayWriter.java,
12489 java/io/DataInput.java,
12490 java/io/DataInputStream.java,
12492 java/io/FilterInputStream.java,
12493 java/io/InputStream.java,
12494 java/io/InputStreamReader.java,
12495 java/io/ObjectInputStream.java,
12496 java/io/ObjectStreamClass.java,
12497 java/io/PipedInputStream.java,
12498 java/io/PipedReader.java,
12499 java/io/PushbackInputStream.java,
12500 java/io/PushbackReader.java,
12501 java/io/RandomAccessFile.java,
12502 java/io/SerializablePermission.java,
12503 java/io/StreamTokenizer.java,
12504 java/io/StringWriter.java,
12505 java/io/WriteAbortedException.java,
12506 java/io/Writer.java:
12507 Fixed javadocs all over, rename arguments to match javadocs,
12508 fixed coding style.
12510 2004-04-20 Ingo Proetel <proetel@aicas.com>
12512 * java/awt/FontMetrics.java:
12513 (charsWidth): fixed accumulation of total_width
12514 (getWidth): simple default implementation
12515 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12516 in Rectangle constructor.
12517 * java/awt/image/Raster.java (toString): Added method.
12518 * java/awt/image/SampleModel.java (<init>): Added error cause
12519 information to thrown exception.
12520 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12522 (setDataElements): New method.
12523 (setPixels): New method.
12524 (toString): New method.
12526 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
12528 * java/awt/image/ComponentColorModel.java
12529 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12530 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12531 Mauve tests on this method. Improved documentation.
12533 2004-04-20 Michael Koch <konqueror@gmx.de>
12535 * javax/swing/JLayeredPane.java,
12536 javax/swing/plaf/BorderUIResource.java,
12537 javax/swing/plaf/ComponentUI.java,
12538 javax/swing/undo/CompoundEdit.java,
12539 javax/swing/undo/StateEdit.java:
12540 Fixed HTML tags in javadocs all over.
12542 2004-04-20 Michael Koch <konqueror@gmx.de>
12544 * javax/print/attribute/EnumSyntax.java
12545 (getOffset): Made protected.
12546 * javax/print/attribute/HashAttributeSet.java
12547 (HashAttributeSet): Likewise.
12548 * javax/print/attribute/ResolutionSyntax.java
12549 (getFeedResolution): Fixed typo in exception name.
12550 (getCrossFeedResolution): Likewise.
12551 * javax/print/attribute/SetOfIntegerSyntax.java
12552 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12553 * javax/print/attribute/TextSyntax.java
12554 (TextSyntax): Handle locale correctly.
12555 (hashCode): Calc better hashcode value.
12556 (equals): Fixed @return tag.
12557 (toString): New method.
12559 2004-04-20 Michael Koch <konqueror@gmx.de>
12561 * gnu/java/nio/FileLockImpl.java
12562 (static): Removed, not needed anymore.
12563 * gnu/java/nio/channels/FileChannelImpl.java
12564 (FileChannelImpl): Made final.
12565 (mode): Made private.
12566 (READ, WRITE, APPEND): Made public.
12567 (EXCL, SYNC, DSYNC): Likewise.
12568 (static): Load native JNI library, when needed.
12569 (length): Unused, removed.
12570 (available): Made public.
12571 (implPosition): Throws IOException.
12573 (implTruncate): Likewise.
12574 (unlock): Likewise.
12577 2004-04-20 Michael Koch <konqueror@gmx.de>
12579 * java/awt/AWTPermission.java,
12580 java/awt/Component.java,
12581 java/awt/ComponentOrientation.java,,
12582 java/awt/Dialog.java,
12583 java/awt/FontMetrics.java,
12584 java/awt/Graphics.java,
12585 java/awt/datatransfer/DataFlavor.java,
12586 java/beans/Introspector.java,
12587 java/beans/PropertyEditor.java,
12588 java/beans/PropertyEditorManager.java,
12589 java/beans/beancontext/BeanContextServiceProvider.java:
12590 Fixed HTML tags in javadocs all over.
12592 2004-04-20 Mark Wielaard <mark@klomp.org>
12594 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12595 MissingResourceException is thrown.
12596 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12597 null when a MissingResourceException is thrown. Should never happen.
12599 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
12601 * java/awt/image/DataBufferShort.java,
12602 java/awt/image/DataBufferFloat.java,
12603 java/awt/image/DataBufferDouble.java,
12604 java/awt/image/PixelInterleavedSampleModel.java: New files.
12605 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12606 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12608 2004-04-20 Michael Koch <konqueror@gmx.de>
12610 * Makefile.am (java_source_files): Added
12611 java/awt/image/DataBufferDouble.java,
12612 java/awt/image/DataBufferFloat.java,
12613 java/awt/image/DataBufferShort.java and
12614 java/awt/image/PixelInterleavedSampleModel.java.
12615 * Makefile.in: Regenerated.
12617 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
12619 * gcj/cni.h (JvAllocObject): Remove these obsolete,
12620 undocumented CNI calls.
12621 * include/java-interp.h (_Jv_InterpClass): No longer
12622 extends java.lang.Class.
12623 * java/lang/Class.h (Class): Add new field `aux_info'.
12624 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12625 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12626 Use Class->aux_info instead.
12627 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12628 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12629 Use Class->aux_info instead.
12630 * java/io/natObjectInputStream.cc (allocateObject): Use
12632 * java/lang/natClass.cc (newInstance): Likewise.
12633 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12634 * java/lang/natObject.cc (clone): Likewise.
12635 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12636 * java/lang/natVMClassLoader.cc (defineClass): Don't use
12637 JvAllocObject. Allocate klass->aux_info here for interpreted
12640 2004-04-17 Mark Wielaard <mark@klomp.org>
12642 * javax/swing/JToggleButton.java (ToggleButtonModel):
12643 Make public static inner class.
12644 * javax/swing/JTabbedPane.java (setComponentAt):
12645 Call Page.setComponent().
12646 (SCROLL_TAB_LAYOUT): Make public, value is 1.
12647 (WRAP_TAB_LAYOUT): Make public, value is 0.
12648 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12649 Make private static inner class.
12651 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
12653 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12654 arguments to match new signature. Remove FIXME comments.
12656 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
12658 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12663 2004-04-02 Olga Rodimina <rodimina@redhat.com>
12665 * Makefile.am: Added new file.
12666 * Makefile.in: Regenerate.
12667 * javax/swing/ImageIcon.java:
12668 (ImageIcon(file)): set description of the icon
12670 * javax/swing/JCheckBoxMenuItem.java:
12671 Mostly Implemented. Work in progress.
12672 * javax/swing/JRadioButtonMenuItem.java:
12673 Reimplement constructors to use JToggleButtonModel.
12674 * javax/swing/plaf/basic/BasicIconFactory.java:
12675 (getCheckBoxMenuItemIcon): return check box
12677 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12678 paint menu item selected only when it is armed and
12681 2004-04-02 David Jee <djee@redhat.com>
12683 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12684 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12685 * java/awt/Component.java
12686 (add): Set the parent of the popup as this component.
12687 * java/awt/PopupMenu.java
12688 (addNotify): Create popup menu when peer is null.
12689 (show): Call addNotify() if peer is null.
12690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12691 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12692 argument for gtk_menu_popup() as zero. This causes the popup menu to
12693 respond to any mouse button.
12695 2004-03-31 Olga Rodimina <rodimina@redhat.com>
12697 * Makefile.am: Added new file.
12698 * Makefile.in: Regenerate.
12699 * javax/swing/JRadioButtonMenuItem.java:
12701 * javax/swing/plaf/basic/BasicIconFactory.java:
12702 (getRadioButtonMenuItemIcon): Return
12704 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12705 (getPreferredSize): Add size of checkIcon if it
12707 (installDefaults): Don't initialize checkIcon.
12708 It's value will be set in subclasses.
12709 (uninstallDefaults): remove uninstallation of
12711 (paint): Moved code to paintMenuItem().
12712 (paintMenuItem): Implemented.
12713 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12714 UI delegate for JRadioButtonMenuItem.
12716 2004-03-29 Olga Rodimina <rodimina@redhat.com>
12718 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12719 Corrected position of the accelerator.
12721 2004-03-29 Olga Rodimina <rodimina@redhat.com>
12723 * Makefile.am: Added new file.
12724 * Makefile.in: Regenerate.
12725 * javax/swing/JMenuItem.java: Partly
12726 implemented. Work in progress
12727 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12728 Changed default value of acceleratorDelimiter.
12729 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12730 New class. Partly implemented.
12732 2004-03-26 Mark Wielaard <mark@klomp.org>
12734 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12735 (item_activate): Declare label before use.
12736 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12737 (gtkSetFont): Removed unused variable label.
12738 (addExposeFilter): Declare variables before use.
12739 (removeExposeFilter): Likewise.
12740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12741 (ok_clicked): Declare str_fileName before use.
12743 2004-03-26 David Jee <djee@redhat.com>
12745 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12746 (addSeparator): Remove.
12747 * java/awt/Menu.java
12748 (separator): Remove static final MenuItem field.
12749 (separatorLabel): New static final String field.
12750 (addSeparator): Do not use peer method; use add(MenuItem) instead.
12751 Use separatorLabel to denote that it is a separator.
12752 (insertSeparator): Create a new MenuItem with separatorLabel, instead
12753 of reusing the static separator instance, because a MenuItem instance
12754 can't be added more than once without being cloned.
12755 * java/awt/peer/MenuPeer.java
12756 (addSeparator): Remove from interface.
12758 2004-03-26 David Jee <djee@redhat.com>
12760 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12761 (connectSignals): New native method declaration.
12762 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12763 * java/awt/MenuItem.java
12764 (getActionCommand): Return the label if the action command is not set.
12765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12766 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
12767 gtk_menu_shell_append().
12768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
12769 (item_activate): Fix argument type.
12770 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
12772 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
12774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12775 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
12776 given. Add the menu widget's top-level GtkWindow to the global window
12777 group, so it can grab the pointer.
12778 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
12779 gtk_menu_shell_append().
12781 2004-03-23 Graydon Hoare <graydon@redhat.com>
12783 * java/text/AttributedString.java
12784 (addAttribute): Fix off-by-one.
12785 (getIterator): Likewise.
12786 * java/text/AttributedStringIterator.java
12787 (getRunLimit): Correct logic.
12788 (getRunStart): Likewise.
12789 (getAttribute): Fix inequality.
12790 (getAttributes): Likewise.
12791 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
12793 2004-03-23 Kim Ho <kho@redhat.com>
12795 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12796 (calculateSizes): Return real width and height.
12798 2004-03-23 Kim Ho <kho@redhat.com>
12800 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12801 (calculateTabRects): Set the selectedRun before
12802 trying to rotate tabs.
12804 2004-03-23 Kim Ho <kho@redhat.com>
12806 * Makefile.am: New file
12807 * Makefile.in: Regenerate
12808 * java/awt/Graphics.java: (drawRect):
12809 Draw to the correct point.
12810 * javax/swing/DefaultSingleSelectionModel.java
12811 (isSelected): Return true if the selected index
12813 * javax/swing/JLabel.java: Do not change mnemonic
12814 index if text is null.
12815 * javax/swing/JProgressBar.java: Use JComponent's
12817 * javax/swing/JScrollBar.java: Ditto.
12818 * javax/swing/JSlider.java: Ditto.
12819 * javax/swing/JTabbedPane.java: Reimplement.
12820 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12821 Add defaults for TabbedPane.
12822 * javax/swing/plaf/basic/BasicArrowButton.java:
12824 * javax/swing/plaf/basic/BasicProgressBarUI.java:
12825 (paintDeterminate): Don't paint String if it's
12827 (paintIndeterminate): ditto.
12828 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12831 2004-03-19 Michael Koch <konqueror@gmx.de>
12833 * java/awt/image/AffineTransformOp.java
12834 (AffineTransformOp): Made public.
12835 * javax/swing/JComponent.java
12836 (listenerList): Made protected.
12837 (accessibleContext): Likewise.
12838 * javax/swing/JList.java
12839 (valueChanged): Dont use internal fields of ListSelectionEvent.
12840 * javax/swing/JViewport.java
12841 (getView): Dont use internal fields of Component.
12842 (addImpl): Likewise.
12843 * javax/swing/Timer.java
12844 (isRunning): Made public.
12847 * javax/swing/UIDefaults.java
12848 (getInt): Made public.
12849 * javax/swing/plaf/basic/BasicListUI.java
12850 (mousePressed): Dont use internal fields of MouseEvent.
12851 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
12852 * javax/swing/plaf/basic/BasicScrollBarUI.java
12853 (arrowIcon): Made static.
12854 * javax/swing/plaf/basic/BasicViewportUI.java
12855 (stateChanged): Dont use internal field on ChangeEvent.
12856 * javax/swing/text/JTextComponent.java
12857 (getUI): Call UIManager.getUI().
12858 (updateUI): Use getUI().
12860 2004-03-19 Graydon Hoare <graydon@redhat.com>
12862 * javax/swing/JComponent.java: Turn off double buffer by default.
12863 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
12864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
12865 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
12866 Use cairo to copy areas.
12867 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
12868 Initialize and set clip region.
12870 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
12872 * java/applet/Applet.java (preferredSize): Override deprecated
12873 variant of getPreferredSize.
12874 (minimumSize): Override deprecated variant of getMinimumSize.
12876 2004-03-15 Olga Rodimina <rodimina@redhat.com>
12878 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12879 (drawImage(img,xform,bgcolor,obs)): New Method.
12880 Helper function that every drawImage method will
12882 (drawRaster): Added new parameter, bgcolor. All
12883 transparent pixels are changed to bgcolor before
12885 (drawRenderedImage): Fixed to use changed drawRaster().
12886 (drawImage(image,xform,obs): Fixed to use new helper function
12887 (drawImage(image,op,x,y)): Ditto.
12888 (drawImage (img,x,y,observer)): Ditto.
12889 ((PainterThread) bgcolor): New Field.
12890 ((PainterThread) (setPixels)): Changed all transparent pixels
12892 (drawImage(img,x,y,width,height,bgcolor,observer)):
12893 Fixed FIXME - all the transparent pixels are
12894 changed to the specified bgcolor.
12895 (drawImage(img, x, y, width, height, observer): Changed to
12896 use function above.
12897 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
12898 Fixed FIXME- changed all transparent pixels to bgcolor.
12899 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
12900 Changed to use function above.
12902 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
12904 * java/applet/Applet.java (dimensions): New field.
12905 (getDimensions): New method.
12906 (getPreferredSize): Call getDimensions.
12907 (getMinimumSize): Likewise.
12909 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
12911 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
12912 * jni/classpath/jnilink.c: Likewise.
12914 * java/applet/Applet.java (getPreferredSize): New method.
12915 (getMinimumSize): New method.
12917 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
12919 * prims.cc (_Jv_AllocObject): Remove `size' argument.
12920 (_Jv_AllocObjectNoFinalizer): Likewise.
12921 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
12922 (_Jv_AllocPtrFreeObject): Likewise.
12923 (_Jv_AllocString): Moved from natString.cc. Call collector interface
12924 directly even in the JVMPI case.
12925 * gcj/cni.h (JvAllocObject): Remove `size' argument from
12926 _Jv_AllocObject calls.
12927 * gcj/javaprims.h: Update prototypes.
12928 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
12929 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
12930 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
12932 2004-04-14 Andrew Haley <aph@redhat.com>
12933 Bryce McKinlay <mckinlay@redhat.com>
12935 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
12936 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
12937 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
12939 * testsuite/libjava.lang/InvokeInterface.java: New file.
12940 * testsuite/libjava.lang/InvokeInterface.out: New file.
12942 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
12944 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
12946 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
12947 StackTraceElement directly.
12948 (newElement): New native helper method to create StackTraceElement
12949 bypassing Java access control.
12950 (createStackTraceElement): Use newElement() instead of directly
12951 calling StackTraceElement's constructor.
12952 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
12954 2004-04-01 Michael Koch <konqueror@gmx.de>
12956 * java/lang/SecurityManager.java
12957 (checkAwtEventQueueAccess): Implemented.
12959 2004-04-01 Gary Benson <gbenson@redhat.com>
12961 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
12962 (_Jv_SearchMethodInClass): Likewise.
12964 2004-03-26 Peter Moon <peterm@miraculum.com>
12966 * java/text/NumberFormat.java: Fix spelling of setCurrency
12969 2004-03-21 Anthony Green <green@redhat.com>
12971 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
12972 recursion when searching for the system ClassLoader.
12974 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
12976 * java/net/ServerSocket.java
12977 (accept): Close the socket when error occured.
12979 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
12981 * java/net/URI.java (parseURI): Added unquoting.
12982 (unquote): New method.
12983 (quoteAuthority): Implemented.
12984 (quote(String,String)): New method.
12985 (quotePath): Implemented.
12986 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
12987 (getSchemeSpecificPart): Removed FIXME comment.
12988 (getRawAuthority): Return new rawAuthority field.
12989 (getAuthority): Removed FIXME comment.
12990 (getRawUserInfo): Return new rawUserInfo field.
12991 (getUserInfo): Removed FIXME comment.
12992 (getRawPath): Return new rawPath field.
12993 (getPath): Removed FIXME comment.
12994 (getRawQuery): Return new rawQuery field.
12995 (getQuery): Removed FIXME comment.
12996 (getRawFragment): Return new rawFragment field.
12997 (getFragment): Removed FIXME comment.
12999 2004-03-20 Michael Koch <konqueror@gmx.de>
13001 * java/net/URLConnection.java: Merged copyright year with classpath.
13003 2004-03-20 Norbert Frese <postfach@nfrese.net>
13005 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
13006 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
13007 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
13009 (getObjectInputStream): Return object reference, throw IOException if null.
13010 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
13011 (getObjectOutputStream): Return object reference, throw IOException if null.
13012 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
13013 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
13014 (UnicastConnectionManager): Throw RemoteException if port is not available.
13015 (getInstance): Throw RemoteException.
13016 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
13017 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
13018 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13019 Collect Exceptions which are returned by a rmi-call and fix void returns.
13020 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13021 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13022 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13023 (dispatch): Answer ping messages which are sent by other java implementions.
13024 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13025 for every rmi-message and fix void return problems.
13026 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13027 (UnicastServerRef): Throw RemoteException.
13028 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13029 In some situations it is necessary to export a subclass of the class which has the _Stub.
13030 For instance when the class with has the _Stub is abstract.
13031 (findStubSkelClass): New method which looks for the class which has the _Stub.
13032 (getClientHost): Implementated.
13033 * gcc/libjava/java/rmi/server/RemoteServer.java
13034 (getClientHost): Implementated.
13035 * gcc/libjava/Makefile.am (rmi_java_source_files):
13036 Added gnu/java/rmi/server/RMIIncomingThread.java.
13037 * Makefile.in: Regenerated.
13039 2004-03-20 Michael Koch <konqueror@gmx.de>
13041 * java/net/InetAddress.java
13042 (getLocalHostname): Added javadoc.
13044 2004-03-19 Per Bothner <per@bothner.com>
13046 * configure.in: FILE variable overrides FLATFORM when linking
13047 natFileChannelXXX.cc.
13049 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
13050 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
13052 2004-03-19 Per Bothner <per@bothner.com>
13054 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
13055 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
13056 * Makefile.am: Update accordingly.
13057 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
13058 as aliases for UnicodeLittle and UnicodeBig.
13060 2004-03-20 Mark Wielaard <mark@klomp.org>
13062 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13063 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13064 Don't access ws when it is null.
13065 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13068 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
13070 * java/lang/ThreadGroup.java (list): Changed print to println.
13072 2004-03-19 Mark Wielaard <mark@klomp.org>
13074 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
13077 2004-02-10 Randolph Chung <tausq@debian.org>
13079 * configure.in: Build java for hppa target.
13080 * configure: Regenerate.
13081 * libjava/configure.host (hppa-*): Add target.
13082 * libjava/sysdeps/pa/lock.h: New file.
13084 2004-03-19 Mark Wielaard <mark@klomp.org>
13086 Reported by Stephen Crawley
13087 * java/io/FilePermission.java (implies): Use String.length() -1 to
13088 access last char of String.
13090 2004-03-19 Michael Koch <konqueror@gmx.de>
13092 * java/awt/image/AffineTransformOp.java
13093 (AffineTransformOp): Made public.
13094 * javax/swing/JComponent.java
13095 (listenerList): Made protected.
13096 (accessibleContext): Likewise.
13097 * javax/swing/JList.java
13098 (valueChanged): Dont use internal fields of ListSelectionEvent.
13099 * javax/swing/JViewport.java
13100 (getView): Dont use internal fields of Component.
13101 (addImpl): Likewise.
13102 * javax/swing/Timer.java
13103 (isRunning): Made public.
13106 * javax/swing/UIDefaults.java
13107 (getInt): Made public.
13108 * javax/swing/plaf/basic/BasicListUI.java
13109 (mousePressed): Dont use internal fields of MouseEvent.
13110 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13111 * javax/swing/plaf/basic/BasicScrollBarUI.java
13112 (arrowIcon): Made static.
13113 * javax/swing/plaf/basic/BasicViewportUI.java
13114 (stateChanged): Dont use internal field on ChangeEvent.
13115 * javax/swing/text/JTextComponent.java
13116 (getUI): Call UIManager.getUI().
13117 (updateUI): Use getUI().
13119 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13121 * verify.cc: Undef PC.
13123 2004-03-18 Michael Koch <konqueror@gmx.de>
13125 * java/nio/channels/spi/AbstractSelectableChannel.java
13126 (keys): Initialize at declaration.
13127 (locate): keys cant be null.
13129 (addSelectionKey): New method.
13130 (removeSelectionKey): New method.
13131 * java/nio/channels/spi/AbstractSelectionKey.java
13132 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13133 * java/nio/channels/spi/AbstractSelector.java
13134 (provider): Javadoc added.
13135 (cancelledKeys): Javadoc added.
13136 (cancelKey): Javadoc added, add key to cancelledKeys.
13137 (deregister): Implemented.
13139 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13141 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13142 MAP_FAILED to void *.
13144 2004-03-12 Graydon Hoare <graydon@redhat.com>
13146 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13147 * javax/swing/JComponent.java (paint): Use persistent double buffer.
13148 * javax/swing/JList.java (ListListener): Revalidate on changes.
13149 * javax/swing/JScrollPane.java: Reimplement.
13150 * javax/swing/JViewport.java: Reimplement.
13151 * javax/swing/ScrollPaneLayout.java: Reimplement.
13152 * javax/swing/ViewportLayout.java: Tidy up.
13153 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13154 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13155 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13156 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13157 backing store only.
13159 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
13161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13162 (window_wm_protocols_filter): New function.
13163 (window_focus_in_cb): Remove function.
13164 (window_focus_out_cb): Likewise.
13165 (window_focus_or_active_state_change_cb): New function.
13166 (create): Add filter that removes WM_TAKE_FOCUS client messages.
13167 (connectSignals): Don't attach handlers to focus-in-event or
13168 focus-out-event signals. Handle notify signal.
13170 2004-03-11 David Jee <djee@redhat.com>
13172 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13173 (gtkSetLabel): New native method declaration.
13174 (setLabel): Use gtkSetLabel.
13175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13176 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13178 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
13180 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13181 black when color argument is null.
13183 2004-03-10 Kim Ho <kho@redhat.com>
13185 * java/awt/Container.java: Remove check
13188 2004-03-10 Kim Ho <kho@redhat.com>
13190 * java/awt/Container.java: (visitChild):
13191 Remove candidate clip. Use the component
13193 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13194 (handleEvent): Use the PaintEvent's clip.
13196 2004-03-10 Kim Ho <kho@redhat.com>
13198 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13199 (handleEvent): Don't set the clip for the
13202 2004-03-09 Graydon Hoare <graydon@redhat.com>
13204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
13205 Fix double <-> fixed macros, reset font transform.
13206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13209 2004-03-09Â Kim Ho <kho@redhat.com>
13211 * java/awt/Container.java: (visitChild): Move
13212 the x and y coordinate of the component rectangle
13213 to correct position.
13214 (handleEvent): Forward drag events to the pressed
13216 * javax/swing/plaf/basic/BasicScrollBarUI.java:
13218 (ArrowButtonListener::mousePressed): Stop the
13220 (mouseDragged): Implement.
13221 (TrackListener::mousePressed): Only react if
13222 the press doesn't occur on the thumb, otherwise
13223 just set the offset.
13224 (TrackListener::mouseReleased): Unset the isAdjusting
13226 (createIncreaseIcon): Switch icon.
13227 (createDecreaseIcon): Switch icon.
13228 (calculatePreferredSize): Use width.
13229 (getThumbBounds): Use the top as the lower value.
13230 (layoutVScrollBar): Switch the button locations.
13231 (paintIncreaseHighlight): Paint correct side of thumb.
13232 (paintDecreaseHighlight): ditto.
13233 (valueForYPosition): Use top as the lower value.
13234 * javax/swing/plaf/basic/BasicSliderUI.java:
13236 (mouseDragged): Implement.
13237 (mousePressed): Only react when the thumb isn't
13238 pressed, otherwise just set offset.
13239 (mouseReleased): Handle a release of the thumb.
13240 (scrollDueToClickInTrack): Stop the timer first.
13241 * javax/swing/JProgressBar.java:
13242 (setString): Fix change condition.
13243 * javax/swing/JSeparator.java:
13246 2004-03-08 David Jee <djee@redhat.com>
13248 * java/awt/image/AffineTransformOp.java:
13249 (filter): Use Graphics2D interface instead of directly using the
13250 GdkGraphics2D peer.
13252 2004-03-05 David Jee <djee@redhat.com>
13254 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13255 (handleEvent): Action events are generated upon MOUSE_RELEASED.
13256 * java/awt/Container.java
13257 (acquireComponentForMouseEvent): Fixed.
13258 (handleEvent): Fixed.
13259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13260 (state_to_awt_mods_with_button_states): New method.
13261 (pre_event_handler): Fixed mouse event generation.
13263 2004-03-05 Olga Rodimina <rodimina@redhat.com>
13265 gnu/java/awt/peer/gtk/GdkGraphics2D.java
13266 (GdkGraphics2D (BufferedImage)): Initialize
13267 pixmap associated with specified BufferedImage.
13268 (setPaint): Changed implementation of Texture
13269 Paint to use AffineTransformOp.
13270 * java/awt/image/AffineTransformOp.java
13271 (createCompatibleDestRaster): Throw RasterFormatException
13272 if resulting width or height of raster is 0.
13274 2004-03-04 Olga Rodimina <rodimina@redhat.com>
13276 * java/awt/image/AffineTransformOp.java:
13277 Removed unnecessary field interpolationType.
13278 Formatted some of the lines to be consistent with
13280 (AffineTransformOp): Create new RenderingHints
13281 containing specified interpolation type.
13282 (createCompatibleDestImage): Implemented.
13283 (createCompatibleDestRaster): Implemented.
13284 (filter): Implemented.
13285 (getBounds2D(BufferedImage)): Implemented.
13286 (getBounds2D(Raster)): Implemented.
13287 (getInterpolationType): Get interpolation value from
13290 2004-03-04 David Jee <djee@redhat.com>
13292 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13293 (setFont): Check if child peers are null.
13295 2004-03-04 Graydon Hoare <graydon@redhat.com>
13297 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13298 .libs in -L option.
13299 (libjava_arguments): Add new libraries to argument list.
13301 2004-03-02 Olga Rodimina <rodimina@redhat.com>
13303 * Makefile.am: Added java/awt/image/AffineTransformOp.java
13304 * Makefile.in: Re-generated.
13305 * java/awt/image/AffineTransformOp.java: New Class.
13307 2004-03-01 Olga Rodimina <rodimina@redhat.com>
13309 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13310 (setPaint): Interpret correctly TexturePaint's
13312 (drawImage): Fixed scale factors of the affine
13315 2004-02-27 David Jee <djee@redhat.com>
13317 * gnu/java/awt/peer/gtk/GdkGraphics.java
13318 (GdkGraphics(Component)): Inherit font from component.
13319 (drawString): Use font style.
13320 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13321 (gtkSetFont): New native method declaration.
13322 (setFont): New method.
13323 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13324 (gtkSetFont): New native method declaration.
13325 (setFont): Call new native method gtkSetFont.
13326 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13327 (setFont): For all child components who do not their fonts set,
13328 set their peers' fonts with this container's font.
13329 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13330 Move all native method declarations to the top for readability.
13331 (gtkSetFont): New native method declaration.
13332 (setFont): New method.
13333 * java/awt/Component.java
13334 (setFont): Invalidate after setting the font.
13335 * java/awt/Container.java
13336 (invalidateTree): New method.
13337 (setFont): Invalidate the container tree after setting the font.
13338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13339 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13341 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13343 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13345 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13347 2004-02-27 Olga Rodimina <rodimina@redhat.com>
13349 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13350 (updateBufferedImage): New helper function.
13351 Updates BufferedImage in memory if it was changed.
13352 (draw): changed to update BufferedImage in memory after
13353 this drawing operation
13355 (draw3DRect): Ditto.
13356 (fill3DRect): Ditto.
13357 (clearRect): Ditto.
13358 (drawRaster): Ditto.
13359 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
13360 no affine transformation.
13361 (drawGlyphVector): Ditto.
13363 2004-02-26 Olga Rodimina <rodimina@redhat.com>
13365 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13366 (isBufferedImageGraphics): New Helper function.
13367 Returns true if this graphics2d can be used to draw
13368 into buffered image and false otherwise.
13369 (updateImagePixels): New Helper function.
13370 Updates pixels in the BufferedImage.
13371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13372 (getImagePixels): New function. Returns pixels
13373 of the buffered image associated with
13376 2004-02-26 David Jee <djee@redhat.com>
13378 * java/awt/BorderLayout.java
13379 (layoutContainer): Fix width and height calculations to ensure
13380 that they're non-negative.
13381 * java/awt/Component.java
13382 (setBackground): If c is null, inherit from closest ancestor whose
13383 background color is set.
13385 2004-02-26 Kim Ho <kho@redhat.com>
13387 * Makefile.am: Add new files.
13388 * Makefile.in: Re-generate.
13389 * javax/swing/JProgressBar.java:
13390 (JProgressBar(int, int int)): Throw
13391 IllegalArgumentException if orientation is
13393 (JProgressBar(BoundedRangeModel)): Create
13394 ChangeListener and register it. UpdateUI.
13395 (getChangeListeners): Implement.
13396 (setModel): Reset ChangeListener.
13397 * javax/swing/JScrollBar.java: Implement.
13398 * javax/swing/JSeparator.java: Implement.
13399 * javax/swing/JSlider.java:
13400 (JSlider(int, int, int, int)): Throw
13401 IllegalArgumentException if orientation
13403 (getChangeListeners): Fix method name.
13404 * javax/swing/SwingUtilities.java:
13405 (layoutCompoundLabel): If there is no text,
13406 set the text rectangle dimensions to 0.
13407 * javax/swing/plaf/basic/BasicButtonUI.java:
13408 (paint): If there is no text, don't paint it.
13409 * javax/swing/plaf/basic/BasicScrollBarUI.java:
13411 * javax/swing/plaf/basic/BasicSeparatorUI.java:
13413 * javax/swing/plaf/basic/BasicSliderUI.java:
13414 (propertyChange): If the model changes, change
13415 the listeners accordingly.
13417 2004-02-25 Graydon Hoare <graydon@redhat.com>
13419 * javax/swing/AbstractButton.java: Add "final" qualifiers.
13420 * javax/swing/JList.java: Reimplement.
13421 * javax/swing/DefaultListSelectionModel.java: Reimplement.
13422 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13423 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13424 * javax/swing/ListModel.java: Javadoc.
13425 * javax/swing/ListSelectionModel.java: Add missing methods.
13426 * javax/swing/AbstractListModel.java: Javadoc and corrections.
13427 * javax/swing/DefaultListModel.java: Javadoc and corrections.
13428 * javax/swing/ListModel.java: Javadoc and corrections.
13429 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13431 2004-02-25 David Jee <djee@redhat.com>
13433 * gnu/java/awt/peer/gtk/GtkFontPeer.java
13434 (GtkFontPeer): Change default size to 12.
13435 * gnu/java/awt/peer/gtk/GtkToolkit.java
13436 (getFontPeer): Change default size to 12.
13437 (getClasspathFontPeer): Likewise. Set default name to "Default".
13438 * java/awt/Font.java
13439 (Font(Map)): Call Font(String,Map).
13440 (Font(String,Map)): If attrs is null, initialize it as an empty
13441 HashMap, which will ensure that the Font will get default attributes.
13443 2004-02-25 David Jee <djee@redhat.com>
13445 * gnu/java/awt/peer/gtk/GtkFontPeer.java
13446 (GtkFontPeer(String,int)): Call the new constructor with size 1.
13447 (GtkFontPeer(String,int,int)): New constructor with size attribute.
13448 * gnu/java/awt/peer/gtk/GtkToolkit.java
13449 (getFontPeer(String,int)): Call the new overload method with size 1.
13450 (getFontPeer(String,int,int)): New method. Overloaded with size
13452 (getClasspathFontPeer): Set the size of the font.
13454 2004-02-24 Olga Rodimina <rodimina@redhat.com>
13456 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13457 (bimage): New field.
13458 (GdkGraphics2D): New Constructor. Constructs Graphics
13459 object that can be used to draw into the Buffered Image.
13460 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13461 (GdkGraphicsEnvironment): Fixed to include public
13463 (createGraphics): Implemented.
13464 * gnu/java/awt/peer/gtk/GtkToolkit.java
13465 (getLocalGraphicsEnvironment): Implemented.
13466 * java/awt/GraphicsEnvironment.java:
13467 (getLocalGraphicsEnvironment): Implemented.
13468 * java/awt/image/BufferedImage.java:
13469 (createGraphics): Implemented.
13471 2004-02-24 David Jee <djee@redhat.com>
13473 * java/awt/Component.java
13474 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13475 * java/awt/Container.java
13476 (addNotifyContainerChildren): Fix event enabling.
13478 2004-02-23 Olga Rodimina <rodimina@redhat.com>
13480 * Makefile.am: Added
13481 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13482 * Makefile.in: Re-generated.
13483 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13486 2004-02-19 Kim Ho <kho@redhat.com>
13488 * Makefile.am: Add BasicProgressBarUI
13489 * Makefile.in: Regenerate.
13490 * javax/swing/JProgressBar.java:
13492 * javax/swing/plaf/basic/BasicLookAndFeel.java
13493 Add constants for JProgressBar.
13494 * javax/swing/plaf/basic/BasicProgressBarUI.java
13496 * javax/swing/plaf/basic/BasicSliderUI.java
13498 (calculateGeometry): New method
13499 (paint): Remove unnecessary size calculations.
13501 2004-02-18 Olga Rodimina <rodimina@redhat.com>
13503 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13504 (drawRaster): Fixed small error that caused
13505 imageToUser transformation to be set incorrectly.
13506 (toString): Implemented.
13508 2004-02-18 David Jee <djee@redhat.com>
13510 * java/awt/CardLayout.java
13511 (addLayoutComponent): Show the first component added as the default.
13512 (removeLayoutComponent): After removing, show the next component.
13513 (gotoComponent): If there is only one component, show it and return.
13515 2004-02-18 Kim Ho <kho@redhat.com>
13517 * javax/swing/JSlider.java: Re-order
13519 * javax/swing/JLabel.java: Re-order
13521 * javax/swing/JComponent.java:
13522 (addPropertyChangeListener):
13524 (removePropertyChangeListener):
13526 (firePropertyChangeEvent):
13529 2004-02-17 David Jee <djee@redhat.com>
13531 * java/awt/Component.java
13532 (show): Dispatch ComponentEvent via system event queue.
13535 (resize): Likewise.
13536 (reshape): Likewise.
13537 * java/awt/Window.java
13538 (setBoundsCallback): Likewise.
13540 2004-02-17 David Jee <djee@redhat.com>
13542 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13543 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13544 Use gtk_widget_set_size_request() instead of the deprecated
13545 gtk_widget_set_usize().
13547 2004-02-17 Kim Ho <kho@redhat.com>
13549 * javax/swing/JSlider.java: Fix comments and
13550 make property strings constants.
13551 (createStandardLabels): Use the labels
13552 preferred size as bounds.
13553 * javax/swing/plaf/basic/BasicSliderUI.java
13555 (ScrollHandler::actionPerformed): Don't
13556 calculate the timer stop value. Let the
13557 MouseListeners find the stop location.
13558 (getPreferredHorizontalSize): Re-implement.
13559 (getPreferredVerticalSize): ditto.
13560 (getMinimumHorizontalSize): ditto.
13561 (getMinimumVerticalSize): ditto.
13562 (getPreferredSize): ditto.
13563 (getMinimumSize): ditto.
13564 (getMaximumSize): ditto.
13565 (paintTicks): Use doubles to find the
13567 (paintHorizontalLabel):Â Use preferredSize
13568 as initial width and height.
13569 (paintVerticalLabel): ditto.
13571 2004-02-17 Kim Ho <kho@redhat.com>
13573 * javax/swing/JLabel.java: Changed
13574 property strings to constants.
13575 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13577 (setText): Change mnemonic index if
13579 (setDisplayedMnemonicIndex): Fire property
13581 (getDisplayedMnemonicIndex): Remove check
13582 against short text.
13584 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13586 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13587 (drawImage(img,xform,obs)): Invert xform before
13588 passing the xform to cairo.
13589 (drawImage(img,x,y,bgcolor,obs)): Implemented.
13590 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13592 (drawImage (img,x,y,w,h,obs)): Implemented.
13593 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13594 bgcolor,obs)): Partly implemented.
13595 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13597 * java/awt/image/BufferedImage.java:
13598 (copyData): if dest is null, create raster with same
13599 dimensions as the current image.
13601 2004-02-16 Graydon Hoare <graydon@redhat.com>
13603 * javax/swing/plaf/basic/BasicLabelUI.java
13604 (getPreferredSize): Use layoutCL.
13605 * javax/swing/plaf/basic/BasicGraphicsUtils.java
13606 (getPreferredButtonSize): Start with empty view rect, layout using
13607 component's preferred alignment.
13608 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13611 2004-02-16 David Jee <djee@redhat.com>
13613 * java/awt/Component.java
13614 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13615 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13616 (move): Erase old bounds and repaint new bounds. Dispatch
13617 COMPONENT_MOVED ComponentEvent.
13618 (resize): Erase old bounds and repaint new bounds. Dispatch
13619 COMPONENT_RESIZED ComponentEvent.
13620 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13622 * java/awt/Window.java
13623 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13626 2004-02-16 Olga Rodimina <rodimina@redhat.com>
13628 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13629 (setRenderingHint): Added implementation of
13630 Interpolation rendering hints.
13631 (setRenderingHints): Ditto.
13632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13633 (drawPixels): fixed to allow user to choose type
13634 of filtering that should be used when displaying images.
13635 (cairoSurfaceSetFilter): New method. Sets filter type for
13636 interpolation of pixel values.
13638 2004-02-16 David Jee <djee@redhat.com>
13640 * java/awt/GridBagLayout.java
13641 (calcCellSizes): Rows or columns with zero sizes should still be
13642 considered for extra space distribution.
13644 2004-02-16 Kim Ho <kho@redhat.com>
13646 * javax/swing/JLabel.java: Re-implement.
13647 * javax/swing/plaf/basic/BasicLabelUI.java
13649 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13652 2004-02-16 Kim Ho <kho@redhat.com>
13654 * javax/swing/JSlider.java: Fix indentation and comments.
13655 (setModel): Remove null check to conform with Sun's.
13656 (setOrientation): Throw exception if not
13657 HORIZONTAL or VERTICAL.
13658 (getInverted): Use private variable instead of
13659 ComponentOrientation.
13660 (setInverted): ditto.
13661 * javax/swing/plaf/basic/BasicSliderUI.java:
13662 Fix indentation and comments.
13663 (propertyChange): Remove check for inverted slider, handle
13665 (getMinimumSize): Return preferred size.
13666 (getMaximumSize): ditto.
13667 (calculateFocusRect): Don't relocate rectangle.
13668 (drawInverted): Return XOR of the slider's inversion and
13669 the component's orientation.
13670 (paint): Update leftToRightCache
13672 2004-02-13 David Jee <djee@redhat.com>
13674 * java/awt/GridBagLayout.java
13675 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13676 code to helper methods.
13677 (sortBySpan): New helper method.
13678 (distributeSizeAndWeight): Likewise.
13679 (calcCellWeights): Likewise.
13680 (calcCellSizes): Add comments.
13682 2004-02-13 David Jee <djee@redhat.com>
13684 * java/awt/Component.java
13685 (show): Only do something if component is invisible at the moment.
13686 (hide): Only do something if component is visible at the moment.
13687 (reshape): If lightweight, erase old bounds and repaint new bounds.
13689 2004-02-13 Kim Ho <kho@redhat.com>
13691 * Makefile.am: Updated for new file.
13692 * Makefile.in: Regenerated.
13693 * javax/swing/JSlider.java: Reimplement.
13694 * javax/swing/SwingUtilities.java
13695 (layoutCompoundLabel): Use icon height
13697 (paintComponent): Implement.
13698 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13699 Add JSlider defaults.
13700 * javax/swing/plaf/basic/BasicSliderUI.java:
13701 Implement. New file.
13703 2004-03-17 Michael Koch <konqueror@gmx.de>
13705 * gnu/java/net/PlainDatagramSocketImpl.java
13706 (RECEIVE_LOCK): New member field.
13707 (SEND_LOCK): New member field.
13708 (send0): New method.
13709 (send): Synchronize on SEND_LOCK.
13710 (receive0): New method.
13711 (receive): Synchronize on RECEIVE_LOCK.
13712 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13713 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13714 gnu/java/net/natPlainDatagramSocketImplWin32.cc
13715 (send0): Renamed from send.
13716 (receive0): Renamed from receive.
13717 2004-03-17 Michael Koch <konqueror@gmx.de>
13719 * gnu/java/net/natPlainSocketImplPosix.cc
13720 (write): Just call write(jbyteArray, offset, len).
13721 (read): Just call read(jbyteArray, offset, len).
13723 2004-03-16 Michael Koch <konqueror@gmx.de>
13725 * javax/swing/JTabbedPane.java
13726 (serialVersionUID): New field.
13728 2004-03-16 Norbert Frese <postfach@nfrese.net>
13730 * java/net/InetAddress.java
13731 (getByName): Handle hostname == "" case.
13733 2004-03-16 Dalibor Topic <robilad@kaffe.org>
13735 Reported by: Adam Heath <doogie@debian.org>
13736 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13739 2004-03-15 Michael Koch <konqueror@gmx.de>
13741 * java/util/Locale.java: Reverting my last patch
13742 and add a comment why the original version was okay.
13744 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
13746 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13747 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13748 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13749 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13751 2004-03-12 Michael Koch <konqueror@gmx.de>
13753 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13755 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
13757 * java/net/URI.java (toURL): Implemented.
13759 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
13761 * java/net/URI.java
13762 (URI_REGEXP) updated to contain scheme specific part.
13763 (SCHEME_SPEC_PART_GROUP) new constant.
13764 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13765 updated to make room for SCHEME_SPEC_PART_GROUP.
13766 (parseURI) parse scheme specific part.
13767 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
13768 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
13769 getQuery, getFragment) implemented.
13771 2004-03-12 Dalibor Topic <robilad@kaffe.org>
13773 * libraries/javalib/java/net/URI.java
13774 partially implemented using java.util.regex.
13775 (URI_REGEXP) new constant. Used to parse URIs.
13776 (SCHEME_GROUP) new constant representing index of scheme group
13778 (AUTHORITY_GROUP) new constant representing index of authority
13779 group in parsed URI.
13780 (PATH_GROUP) new constant representing index of path group in
13782 (QUERY_GROUP) new constant representing index of query group in
13784 (FRAGMENT_GROUP) new constant representing index of fragment
13785 group in parsed URI.
13786 (getURIGroup) new static utility method.
13787 (parseURI) implemented.
13788 (quote) stub for new static utility method.
13789 (quoteAuthority) stub for new static utility method.
13790 (quoteHost) stub for new static utility method.
13791 (quotePath) stub for new static utility method.
13792 (quoteUserInfo) stub for new static utility method.
13794 (create) don't throw URISyntaxException. Implemented.
13795 (toString) implemented.
13797 2004-03-12 Michael Koch <konqueror@gmx.de>
13799 * java/net/HttpURLConnection.java
13800 (getResponseCode): Fix another typo in javadoc.
13802 2004-03-11 Michael Koch <konqueror@gmx.de>
13804 * java/util/logging/Level.java
13805 (parse): Use String.equals() instead of ==.
13807 2004-03-11 Michael Koch <konqueror@gmx.de>
13809 * gnu/java/net/protocol/jar/Connection.java
13810 (getContentLength): New method.
13812 2004-03-11 Michael Koch <konqueror@gmx.de>
13814 * gnu/java/net/PlainSocketImpl.java:
13815 Reformated to merge better with classpath's version.
13817 2004-03-11 Michael Koch <konqueror@gmx.de>
13819 * java/util/Locale.java
13820 (getISO3Language): Use String.equals() instead of ==.
13821 (getISO3Country): Likewise.
13823 2004-03-11 Dalibor Topic <robilad@kaffe.org>
13825 * java/text/AttributedString.java
13826 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
13827 Use HashMap instead of Hashtable since value can be null, and
13828 you can not store a null value in a Hashtable.
13830 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
13832 * java/text/AttributedStringIterator.java
13833 (getAllAttributesKey): Return only keys concerned
13834 by the current iterator.
13835 (getAttributes): Use strict inequality for
13838 2004-03-11 Michael Koch <konqueror@gmx.de>
13840 * java/net/HttpURLConnection.java:
13841 Fixed typo in javadoc.
13843 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
13845 * java/io/BufferedInputStream.java (marktarget): New field for max
13847 (CHUNKSIZE): New constant for incremental mark buffer allocation.
13848 (mark): Use new fields.
13850 (read(byte[],int,int)): Likewise.
13852 (refill): Likewise.
13854 2004-03-11 Mark Wielaard <mark@klomp.org>
13856 * java/beans/BeanDescriptor.java (BeanDescriptor):
13857 Set the FeatureDescriptor programmatic name.
13859 2004-03-11 Michael Koch <konqueror@gmx.de>
13861 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
13862 This file was was just copied form java/io/natFileDescriptorEcos.cc
13863 and never changed to compile correctly.
13865 2004-03-11 Michael Koch <konqueror@gmx.de>
13867 * gnu/java/nio/PipeImpl.java
13868 (SourceChannelImpl): Made final.
13869 (read): Implemented.
13870 (SinkChannelImpl): Made final.
13871 (write): Implemented.
13873 2004-03-11 Michael Koch <konqueror@gmx.de>
13875 * gnu/java/net/PlainDatagramSocketImpl.java:
13876 Reformated to match classpath's version more.
13878 2004-03-11 Michael Koch <konqueror@gmx.de>
13880 * gnu/java/awt/peer/ClasspathFontPeer.java:
13881 Fixed javadoc to be correct xhtml.
13882 * gnu/java/awt/peer/gtk/GtkArgList.java
13883 (add): Use Boolean.valueOf() instead of new Boolean().
13885 2004-03-09 Michael Koch <konqueror@gmx.de>
13887 * java/lang/Thread.java
13888 (runnable): Moved around.
13889 (daemon): Renamed from daemon_flag.
13890 (contextClassLoader): Renamed from context_class_loader.
13891 (Thread): Reordered constructors.
13892 (activeCount): Use group directly.
13893 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
13894 (holdsLock): Reworked javadoc.
13895 (setDaemon): Reworked.
13896 * java/lang/natThread.cc
13897 (destroy): Removed.
13899 2004-03-08 Anthony Green <green@redhat.com>
13901 * Makefile.am: Build property resource files into libgcj.
13902 * Makefile.in: Rebuilt.
13903 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13904 java/util/regex/PatternSyntaxException.java,
13905 gnu/regexp/CharIndexed.java,
13906 gnu/regexp/CharIndexedCharArray.java,
13907 gnu/regexp/CharIndexedInputStream.java,
13908 gnu/regexp/CharIndexedReader.java,
13909 gnu/regexp/CharIndexedString.java,
13910 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
13911 gnu/regexp/REException.java,
13912 gnu/regexp/REFilterInputStream.java,
13913 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
13914 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
13915 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
13916 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
13917 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
13918 gnu/regexp/RETokenLookAhead.java,
13919 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
13920 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
13921 gnu/regexp/RETokenStart.java,
13922 gnu/regexp/RETokenWordBoundary.java,
13923 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
13925 2004-03-03 Per Bothner <per@bothner.com>
13927 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
13928 Optimize when argument is a FileChannelImpl.
13929 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
13930 New native methods.
13931 * java/nio/channels/natChannels.cc: New file for new native methods.
13932 * Makefile.am: Update accordingly.
13934 2004-03-02 Jan Hubicka <jh@suse.cz>
13936 * configure.host: Pass -fno-omit-frame-pointer for i386.
13937 * configure.in: Likewise.
13938 * configure: Regenerate.
13940 2004-03-01 Per Bothner <per@bothner.com>
13942 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
13944 2004-02-29 Per Bothner <per@bothner.com>
13946 * java/nio/channels/FileChannelImpl.java: Moved to package
13947 gnu/java/nio/channels, since we need to refer to it from java.io.
13948 * java/nio/channels/natFileChannelImpl.cc: Removed file.
13949 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
13950 from java/nio/channels. Don't depend on FileDescriptor.
13951 (in, out, err): New static fields.
13953 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
13954 from FileDescriptor.
13955 (by): Removed MappedByteBuffer field.
13956 (map): New working implementation.
13957 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
13958 some code "ported" from natFileDescriptoPosix.cc.
13959 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
13960 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
13961 * java/io/FileDescriptor.java: Implement on top of FileChannel.
13962 Remove native methods.
13963 * Makefile.am, configure.in: Updated accordingly.
13965 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
13966 (ch): New FileChannelImpl field. Update constructor to match.
13967 (releaseImpl): Remove native method. Instead ...
13968 (release): Call unlock on channel.
13969 * gnu/java/nio/natFileLockImpl.cc: Removed file.
13971 * java/io/natFileDescriptorEcos.cc: Remove file.
13972 * java/io/natFileDescriptorPosix.cc: Remove file.
13973 * java/io/natFileDescriptorWin32.cc: Remove file.
13974 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
13975 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
13976 (<init>(FileChannelImpl)): New package-private constructor.
13977 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
13978 (available, close, read, skip): Implement using FileChannelImpl.
13979 (getFD): Allocate FileDescriptor if needed.
13980 (getChannel): Is now trivial.
13981 * java/io/FileOutputStream.java: Corresponding changes.
13982 * java/io/RandomAccessFile.java: Corresponding changes.
13984 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
13985 unmapImpl): New dummy methods, to be overridden by subclass.
13986 (finalize, isLoaded, load, force): New methods.
13987 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
13988 Now works, at least for read mapping.
13990 * java/lang/natPosixProcess.cc (startProcess): Implement standard
13991 streams using FileChannelImpl, not FileDescriptor.
13992 * java/lang/natWin32Process.cc (startProcess): Likewise.
13994 2004-02-28 Michael Koch <konqueror@gmx.de>
13996 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
13999 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
14001 * java/io/ObjectInputStream.java
14002 (readClassDescriptor): Keep elements of the mapping non null.
14003 (checkTypeConsistency): New method.
14004 (readFields): Fixed main loop and base logic. Small reindentation.
14005 * java/io/ObjectStreamField.java
14006 (lookupField): New method to update the field reference.
14007 (checkFieldType): New method.
14008 * java/io/ObjectStreamClass.java
14009 (setClass, setFields): Call lookupField when building the field
14010 database. Check the real field type.
14012 2004-02-28 Michael Koch <konqueror@gmx.de>
14014 * java/nio/ByteOrder.java
14015 (nativeOrder): Use equals() to compare strings.
14017 2004-02-26 Michael Koch <konqueror@gmx.de>
14019 * gnu/java/nio/FileLockImpl.java
14020 (finalize): Made protected.
14021 * java/nio/channels/FileChannel.java
14022 (MapMode.READ_ONLY): Made final.
14023 (MapMode.READ_WRITE): Made final.
14024 (MapMode.PRIVATE): Made final.
14025 * java/nio/channels/SocketChannel.java
14026 (open): Simplified code.
14027 * java/nio/channels/spi/AbstractSelectableChannel.java
14028 (registered): Unused, removed.
14029 (keyFor): Check channel is open, only locate key
14030 and not add a new one.
14031 (register): Don't delete attachments.
14033 2004-02-26 Michael Koch <konqueror@gmx.de>
14035 * gnu/java/awt/ComponentDataBlitOp.java
14036 (INSTANCE): Made final.
14037 * gnu/java/awt/image/ImageDecoder.java:
14039 (cm): Unused, removed.
14041 2004-02-26 Michael Koch <konqueror@gmx.de>
14043 * gnu/java/nio/DatagramChannelImpl.java
14044 (send): Check if target address is resolved.
14046 2004-02-26 Michael Koch <konqueror@gmx.de>
14048 * Makefile.am: Generate and install headers for inner classes in
14049 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14050 * Makefile.in: Regenerated.
14052 2004-02-24 Anthony Green <green@redhat.com>
14054 * java/lang/StringBuffer.java: No need to NULL out remainder of
14055 buffer since ensureCapacity_unsynchronized will have done this for
14058 2004-02-20 Michael Koch <konqueror@gmx.de>
14060 * gnu/java/net/protocol/jar/Handler.java
14061 (): Removed unneeded check for file != null. java.net.URL.getFile()
14062 returns an empty string but never null.
14064 2004-02-20 Michael Koch <konqueror@gmx.de>
14066 * gnu/gcj/convert/Convert.java
14067 (main): Use equals() to compare strings.
14069 2004-02-20 Michael Koch <konqueror@gmx.de>
14071 * javax/swing/AbstractButton.java: Made several constants final.
14072 (getRolloverSelectedIcon): Made public.
14073 (getSelectedIcon): Made public.
14075 2004-02-16 Per Bothner <per@bothner.com>
14077 * java/nio/CharBufferImpl.java: Inline super constructor.
14078 * java/nio/DoubleBufferImpl.java: Likewise.
14079 * java/nio/FloatBufferImpl.java: Likewise.
14080 * java/nio/IntBufferImpl.java: Likewise.
14081 * java/nio/LongBufferImpl.java: Likewise.
14082 * java/nio/ShortBufferImpl.java: Likewise.
14083 * java/nio/CharBuffer.java: Remove unused constructor.
14084 * java/nio/DoubleBuffer.java: Likewise.
14085 * java/nio/FloatBuffer.java: Likewise.
14086 * java/nio/IntBuffer.java: Likewise.
14087 * java/nio/LongBuffer.java: Likewise.
14088 * java/nio/ShortBuffer.java: Likewise.
14089 * java/nio/CharViewBufferImpl.java: New convenience constructor.
14090 Fix buggy call to super constructor.
14091 * java/nio/DoubleViewBufferImpl.java: Likewise.
14092 * java/nio/FloatViewBufferImpl.java: Likewise.
14093 * java/nio/IntViewBufferImpl.java: Likewise.
14094 * java/nio/LongViewBufferImpl.java: Likewise.
14095 * java/nio/ShortViewBufferImpl.java: Likewise.
14097 * java/nio/ByteBuffer.java (endian): Make non-private so other
14098 java.nio classes can inherit it.
14099 (<init>): Don't bother clearing array_offset.
14100 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
14101 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
14102 Remove redundant test.
14104 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14105 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14106 Use new XxxViewBufferImpl constructors.
14107 * java/nio/MappedByteBufferImpl.java: Likewise.
14108 * java/nio/DirectByteBufferImpl.java: Likewise.
14110 * java/nio/ByteBufferImpl.java: Remove one constructor.
14111 Inline super in remaining constructor.
14112 * java/nio/ByteBuffer.java: Remove unused constructor.
14114 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
14116 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
14117 * java/nio/DirectByteBufferImpl.java (owner): New field.
14118 (offset): Remove unused field.
14119 (<init>): Modify one and add another constructor. Change callers.
14120 (allocateDirect): Removed - not used.
14121 (getImpl, putImpl): Make static and pass address explicitly,
14122 to make them useful for MappedByteBufferImpl.
14123 (get, put): Check for underflow. Modify for new getImpl.
14124 (getImpl): New native method where target is array.
14125 (get(byte[],int,int)): Use the above.
14126 (adjustAddress): New static native method.
14127 (slice, duplicate, asReadOnly): New implementations.
14128 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14129 adjustAddress): New or updated native methods.
14131 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
14133 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14134 overflow of fieldmapping.
14136 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
14138 * javax/swing/undo/UndoManager.java: Re-written from scratch.
14140 2004-02-14 Per Bothner <per@bothner.com>
14142 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14143 Set closed before calling implCloseChannel, as in the spec.
14145 2004-02-09 Graydon Hoare <graydon@redhat.com>
14147 * javax/swing/ToggleButtonModel.java: Remove dead class.
14148 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14149 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14150 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14151 * Makefile.am: Update for new and removed files.
14152 * Makefile.in: Regenerate.
14154 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14155 * javax/swing/AbstractButton.java
14156 (AbstractButton): Initialize fields correctly in ctor.
14157 * javax/swing/JCheckbox.java
14158 (JCheckBox): Override painting flags.
14159 * javax/swing/DefaultButtonModel.java: Conform to sun.
14160 * javax/swing/JComponent.java (paint): Fill with background color
14162 (processComponentKeyEvent)
14163 (processFocusEvent)
14165 (processMouseMotionEvent): Remove event-consuming empty methods.
14166 (getUIClassID): Return "ComponentUI" not "JComponent"
14167 * javax/swing/JFrame.java: Remove some debugging chatter.
14168 (JFrame): Subscribe to window events.
14169 * javax/swing/JRadioButton.java
14170 (JRadioButton): Override painting flags.
14171 * javax/swing/JRootPane.java
14172 (JRootPane): Set background from UIDefaults.
14173 * javax/swing/JToggleButton.java
14174 (ToggleButtonModel): New inner class.
14175 (JToggleButton): Override layout alighment.
14176 * javax/swing/SwingUtilities.java:
14177 (getLocalBounds): Return width and height, not x and y.
14178 (calculateInnerArea): Use local bounds, not bounds.
14179 (layoutCompoundLabel): Provide overridden form.
14180 (layoutCompoundLabel): Correct bugs.
14181 * javax/swing/UIDefaults.java: Correct comment.
14182 * javax/swing/plaf/basic/BasicButtonUI.java:
14183 Move most logic into defaults, external listener.
14184 (paintIcon): Implement icon painting.
14185 (paint): Fix state painting to conform to changes in model.
14186 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14187 Remove most dead/wrong methods.
14188 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14189 * javax/swing/plaf/basic/BasicIconFactory.java:
14190 (DummyIcon): New class.
14191 (getMenuItemCheckIcon)
14192 (getMenuItemArrowIcon)
14194 (getCheckBoxMenuItemIcon)
14195 (getRadioButtonMenuItemIcon)
14196 (createEmptyFrameIcon): Return DummyIcons, not null.
14197 (getCheckBoxIcon): Implement an icon that looks like sun's.
14198 (getRadioButtonIcon): Implement an icon that looks like sun's.
14199 * javax/swing/plaf/basic/BasicLookAndFeel.java
14200 (initComponentDefaults): Fix impossible values, add some missing.
14201 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14202 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14203 Remove most dead/wrong methods.
14205 (getDefaultIcon): New method.
14206 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14207 Remove most dead/wrong methods.
14208 * javax/swing/plaf/metal/MetalLookAndFeel.java
14209 (getDefaults): Return super.getDefaults(), not BasicDefaults.
14210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14211 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14212 Implement "clearing" as drawing, when on pixmap drawables.
14214 * javax/swing/JButton.java (getUIClassID):
14215 * javax/swing/JCheckBox.java (getUIClassID):
14216 * javax/swing/JEditorPane.java (getUIClassID):
14217 * javax/swing/JLabel.java (getUIClassID):
14218 * javax/swing/JList.java (getUIClassID):
14219 * javax/swing/JOptionPane.java (getUIClassID):
14220 * javax/swing/JPanel.java (getUIClassID):
14221 * javax/swing/JPasswordField.java (uiClassID):
14222 * javax/swing/JRadioButton.java (getUIClassID):
14223 * javax/swing/JRootPane.java (getUIClassID):
14224 * javax/swing/JScrollPane.java (getUIClassID):
14225 * javax/swing/JTabbedPane.java (getUIClassID):
14226 * javax/swing/JToggleButton.java (getUIClassID):
14227 * javax/swing/JTree.java (getUIClassID):
14228 * javax/swing/JViewport.java (getUIClassID):
14229 * javax/swing/text/JTextComponent.java (getUIClassID):
14230 Return "fooUI" not "Jfoo"
14232 2004-02-11 Michael Koch <konqueror@gmx.de>
14234 * java/net/DatagramSocket.java
14235 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14237 (setBroadcast): Likewise.
14238 * java/net/MulticastSocket.java
14239 (setLoopbackMode): Likewise.
14240 * java/net/ServerSocket.java
14241 (setReuseAddress): Likewise.
14242 * java/net/Socket.java
14243 (setTcpNoDelay): Likewise.
14244 (setSoLinger): Likewise.
14245 (setOOBInline): Likewise.
14246 (setKeepAlive): Likewise.
14247 (setReuseAddress): Likewise.
14248 * java/net/URLConnection.java
14249 (setContentHandler): Replace == with equals().
14250 * java/net/URLStreamHandler.java
14251 (hostSEquals): Fix checking host addresses.
14252 (toExternalForm): Dont check protocol for null. We know already its
14255 2004-02-10 David Jee <djee@redhat.com>
14257 * java/awt/BorderLayout.java
14258 (calcCompSize): Invisible components get zero dimensions.
14259 * java/awt/Button.java
14260 (setLabel): Set actionCommand.
14261 * java/awt/Component.java
14262 (show): Invalidate component and parent container.
14265 2004-02-10 David Jee <djee@redhat.com>
14267 * java/awt/GridBagLayout.java
14268 (GridBagLayout): New private field, internalcomptable.
14269 (lookupInternalConstraints): New method.
14270 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14271 (GetLayoutInfo): Reimplement.
14272 (calcCellSizes): Ignore rows/columns with size 0.
14274 2004-02-10 Michael Koch <konqueror@gmx.de>
14276 * gnu/java/awt/EmbeddedWindow.java
14277 (setHandle): Use java.awt.Component.getPeer() instead of
14278 java.awt.Component.peer directly.
14280 2004-02-10 David Jee <djee@redhat.com>
14282 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14283 (gtkSetLabel): New native method definition.
14284 (setLabel): Use gtkSetLabel.
14285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14286 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14288 2004-02-10 Alan Modra <amodra@bigpond.net.au>
14290 * include/powerpc-signal.h: Revert 2004-01-21 change.
14291 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
14292 from syscall for ppc32 versions.
14294 2004-02-08 Per Bothner <per@bothner.com>
14296 * java/nio/ByteBuffer.java (shiftDown): New helper method.
14297 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
14298 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
14299 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
14300 Pass ByteOrder parameter to most methods, since the underlying
14301 ByteBuffer's order isn't always what we should use.
14302 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
14303 * java/nio/DirectByteBufferImpl.java: Likewise.
14304 Use ByteBufferHelper methods.
14305 * java/nio/MappedByteBufferImpl.java: Likewise.
14306 (compact): Use shiftDown.
14307 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
14308 (get, put): Use ByteBufferHelper.
14309 (compact): Use new shiftDown method.
14310 (duplicate(boolean)): New helper method.
14311 (duplicate, asReadOnlyBuffer): Use it.
14312 (order): Return endian field.
14313 * java/nio/DoubleViewBufferImpl.java: Likewise.
14314 * java/nio/FloatViewBufferImpl.java: Likewise.
14315 * java/nio/IntViewBufferImpl.java: Likewise.
14316 * java/nio/LongViewBufferImpl.java: Likewise.
14317 * java/nio/ShortViewBufferImpl.java: Likewise.
14318 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
14319 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
14320 (compact): Re-implement using shiftDown.
14322 2004-02-08 Andreas Jaeger <aj@suse.de>
14324 * include/x86_64-signal.h: Fix typo.
14326 2004-02-08 Diego Novillo <dnovillo@redhat.com>
14328 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14329 qualifier to _regs.
14330 (HANDLE_DIVIDE_OVERFLOW): Likewise.
14332 2004-02-06 Michael Koch <konqueror@gmx.de>
14334 * java/io/ObjectInputStream.java
14335 (currentClassLoader): Reverted to old version of this method.
14337 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
14339 * java/io/ObjectInputStream.java: Made all calls
14340 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14341 use cached info from ObjectStreamClass. (readClassDescriptor):
14342 Cache more information in ObjectStreamClass. (processResolution,
14343 readFields): Use cached info from ObjectStreamClass.
14344 (newObject): Throw exception instead of returning null for failure.
14345 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14346 setCharField, setDoubleField, setFloatField, setIntField,
14347 setLongField, setShortField, setObjectField, readObjectParams):
14348 Removed. (dumpElement, dumpElementln): Removed dump flag condition
14350 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14351 (setClass): Added call to cacheMethods() (findMethod): New method.
14352 (cacheMethods): New method. (ObjectStreamClass): Added call to
14353 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14354 AccessController.doPrivileged to invoke setAccessible.
14355 (readObjectMethod, readResolveMethod, realClassIsSerializable,
14356 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14358 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14359 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14360 isPrimitive): Made safe for cases where type == null.
14361 (setBooleanField, setByteField, setCharField, setShortField,
14362 setIntField, setLongField, setFloatField, setDoubleField,
14363 setObjectField): New methods.
14365 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
14367 * java/awt/Component.java (getFont): Return a default font
14370 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14371 (Scrollbar (int, int, int, int, int)): Make default page
14373 (setValues): Only call peer.setValues if one of the values has
14375 (generateName): New method.
14376 (getUniqueLong): New method.
14377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14378 (range_scrollbar): Remove structure.
14379 (post_adjustment_event): Remove function.
14380 (post_change_event): Accept jobject argument.
14381 (create): Cast jints to gdoubles. Round scrollbar values to the
14382 nearest integer. Clamp min, max and value settings.
14383 (connectJObject): Connect hook to widget->window.
14384 (connectSignals): Remove range_scrollbar structure variables.
14385 Remove "move-slider" connection. Pass global peer reference to
14386 "value-changed" callback.
14387 (setLineIncrement): Cast jint value to gdouble.
14388 (setPageIncrement): Likewise.
14389 (setValues): Likewise. Clamp min, max and value settings.
14391 2004-02-05 Michael Koch <konqueror@gmx.de>
14393 * javax/swing/AbstractCellEditor.java
14394 (getCellEditorValue): Removed.
14395 * javax/swing/Box.java: Reformated.
14396 (serialVersionUID): New field.
14397 * javax/swing/ButtonGroup.java:
14398 Removed some weird whitespace.
14399 * javax/swing/CellEditor.java: Reformated.
14400 * javax/swing/CellRendererPane.java
14401 (serialVersionUID): New field.
14402 (AccessibleCellRendererPaneserialVersionUID): New field.
14403 * javax/swing/DefaultListModel.java
14404 (serialVersionUID): New field.
14405 * javax/swing/JEditorPane.java
14406 (serialVersionUID): New field.
14407 (setPage): Throws IOException.
14408 (addHyperlinkListener): Implemented.
14409 (removeHyperlinkListener): Implemented.
14410 (getHyperlinkListener): New method.
14411 * javax/swing/JFileChooser.java
14412 (serialVersionUID): New field.
14413 (AccessibleJFileChooser.serialVersionUID): New field.
14414 (addActionListener): Implemented.
14415 (removeActionListener): Implemented.
14416 (getActionListeners): New method.
14417 * javax/swing/JFormattedTextField.java
14418 (serialVersionUID): New field.
14419 (AbstractFormatter.serialVersionUID): New field.
14420 (clone): Throws CloneNotSupportedException
14421 (setEditValid): Add missing argument.
14422 (stringToValue): Throws ParseExcpetion.
14423 (valueToString): Throws ParseException.
14424 (commitEdit): Throws ParseException.
14425 * javax/swing/JLabel.java
14426 (serialVersionUID): New field.
14427 * javax/swing/JList.java
14428 (serialVersionUID): New field.
14429 (addListSelectionListener): Reformated.
14430 (removeListSelectionListener): Reformated.
14431 (getListSelectionListeners): New method.
14432 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14434 (serialVersionUID): New field.
14435 * javax/swing/table/AbstractTableModel.java
14436 (getValueAt): Removed.
14437 (getColumnCount): Removed.
14438 (getRowCount): Removed.
14440 2004-02-05 Michael Koch <konqueror@gmx.de>
14442 * java/awt/datatransfer/DataFlavor.java
14443 (imageFlavor): Javadoc added.
14444 (javaJVMLocalObjectType): Fixed.
14446 2004-02-05 Michael Koch <konqueror@gmx.de>
14448 * java/lang/Thread.java
14449 (Thread): Reordered.
14450 (setContextClassLoader): Fixed javadoc comment.
14451 (setPriority): Reordered.
14452 (yield): Reordered.
14453 (initialize_native): Reordered.
14454 (gen_name): Reordered.
14456 2004-02-05 Michael Koch <konqueror@gmx.de>
14458 * java/lang/Thread.java: Reordered fields, reformated much code,
14459 no functional changes, some variables renamed, javadoc comments
14462 2004-02-05 Michael Koch <konqueror@gmx.de>
14464 * java/util/zip/Deflater.java,
14465 java/util/zip/DeflaterOutputStream.java,
14466 java/util/zip/GZIPInputStream.java:
14467 Reformated and javadoc comments merged from classpath.
14469 2004-02-05 Michael Koch <konqueror@gmx.de>
14471 * gnu/java/nio/NIOServerSocket.java
14472 (impl): Unused, removed.
14473 * gnu/java/nio/SocketChannelImpl.java
14474 (finnishConnect): Don't throw NoConnectionPendingException if not
14475 connected or no connection pending.
14477 2004-02-02 Graydon Hoare <graydon@redhat.com>
14479 * javax/swing/SwingUtilities.java: Many new functions.
14480 * java/awt/Container.java (LightweightDispatcher): Reimplement.
14481 * javax/swing/basic/BasicGraphicsUtils.java
14482 (getPreferredButtonSize): Start layout from top-left corner.
14484 2004-02-04 Olga Rodimina <rodimina@redhat.com>
14486 * java/awt/geom/AffineTransform.java:
14487 Corrected comments on the field definitions for
14489 (shear): Fixed few errors that caused shear
14490 transformation to be performed incorrectly.
14491 (createInverse): Fixed to return correct
14492 inverse of the given matrix.
14494 2004-02-03 Tom Tromey <tromey@redhat.com>
14496 * java/lang/natPosixProcess.cc (startProcess): Handle case where
14497 PATH or LD_LIBRARY_PATH is not set in parent environment.
14499 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
14501 * gnu/java/awt/peer/gtk/GtkListPeer.java,
14502 java/awt/BorderLayout.java, java/awt/CardLayout.java,
14503 java/awt/CheckboxGroup.java, java/awt/Choice.java,
14504 java/awt/Component.java, java/awt/Container.java,
14505 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14506 java/awt/LayoutManager2.java, java/awt/List.java,
14507 java/awt/Menu.java, java/awt/MenuBar.java,
14508 java/awt/MenuItem.java, java/awt/Polygon.java,
14509 java/awt/Rectangle.java, java/awt/ScrollPane.java,
14510 java/awt/Scrollbar.java, java/awt/TextArea.java,
14511 java/awt/TextField.java,
14512 java/awt/image/renderable/RenderContext.java,
14513 javax/swing/JApplet.java: Fix handling of alias methods, where a
14514 method has been deprecated in favour of a new one with the same
14515 funtion but a different name. Put the method implementation in
14516 the deprecated method and have the new method call the
14517 deprecated one. Make all other code call the new method.
14519 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
14521 * gnu/java/nio/DatagramChannelImpl.java
14522 (inChannelOperation): New field.
14523 (isInChannelOperation): New accessor.
14524 (setInChannelOperation): New modifier.
14525 (receive): Use capacity() - position() of destination
14526 buffer instead of remaining(). Set and reset our "in
14527 channel operation indicator" before and after delegating
14528 the receive to our datagram socket. Removed testing code.
14529 Update destination buffer's current position if it is
14530 backed by a byte array (hasArray() is true).
14531 (send): Set and reset our "in channel operation indicator"
14532 before and after delegating the send to our datagram socket.
14533 Removed testing code. Update source buffer's current position
14534 if it is backed by a byte array (hasArray() is true).
14535 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14536 Use capacity() - position() of destination buffer instead
14538 * java/net/DatagramSocket.java (receive): Don't throw an
14539 IllegalBlockingModeException if we have a non-blocking
14540 channel which initiated this operation.
14543 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
14545 * configure.in: Add pkgconfig check for glib and gthread.
14546 * configure: Regenerate.
14548 2004-02-01 Michael Koch <konqueror@gmx.de>
14550 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14552 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14553 * verify.cc (debug_print): Mark 'fmt' unused.
14555 2004-01-30 Michael Koch <konqueror@gmx.de>
14557 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14558 * configure: Regenerated.
14559 * glib-2.0.m4: Removed.
14560 * gtk-2.0.m4: Removed.
14561 * libart.m4: Removed.
14562 * pkg.m4: New file.
14564 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
14566 * gnu/java/net/PlainSocketImpl.java
14567 (inChannelOperation): New field.
14568 (isInChannelOperation): New accessor.
14569 (setInChannelOperation): New modifier.
14570 * gnu/java/nio/ServerSocketChannelImpl.java
14571 (accept): Set and reset our server socket's PlainSocketImpl's
14572 "in channel operation" indicator before and after delegating
14573 the accept to our server socket.
14574 * gnu/java/nio/SocketChannelImpl.java
14575 (connect): Set and reset our socket's PlainSocketImpl's "in channel
14576 operation" indicator before and after delegating the operation to
14580 * java/net/ServerSocket.java (implAccept): Don't throw an
14581 IllegalBlockingModeException if we have a non-blocking
14582 channel which initiated this accept operation.
14583 * java/net/Socket.java (connect): Don't throw an
14584 IllegalBlockingModeException if we have a non-blocking
14585 channel which initiated this connect operation.
14586 * java/nio/channels/spi/AbstractSelectableChannel.java
14587 (configureBlocking): Only call implConfigureBlocking() if
14588 the desired blocking mode is different from our current one.
14590 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
14592 * java/io/BufferedReader.java (sbuf): New field.
14593 (readLine): Use String.valueOf instead of new String() as per
14594 Per Bothner's suggestion. Use instance sbuf field instead of a
14595 local StringBuffer instance.
14596 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14597 caller's buffer to refill().
14598 (read(void)): Pass our internal work buffer to refill if our
14599 input queue is empty.
14600 (refill): Changed return type to int. Use the specified buffer
14601 instead of our work buffer as per Bryce McKinlay's suggestion.
14602 Return the number of characters read or -1 for EOF.
14604 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14606 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14608 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14610 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14611 * Makefile.in: Re-generated.
14612 * gnu/awt/xlib/XFontPeer.java: New file.
14613 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14614 (setClip): Commented out debug printout.
14615 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14616 (getFontPeer): Return XFontPeer.
14617 (getLocalGraphicsEnvironment): New method.
14618 (getClasspathFontPeer): New method.
14619 (createFont): New method.
14621 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14623 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14626 2004-01-29 Kim Ho <kho@redhat.com>
14628 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14629 (gtkLayoutSetVisible): New method
14630 (setMenuBar): Hide layout before setting MenuBar
14631 and reshow it after.
14632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14633 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14635 2004-01-28 Michael Koch <konqueror@gmx.de>
14637 * gnu/java/lang/ClassHelper.java
14638 (getPackagePortion): Removed.
14640 2004-01-28 Michael Koch <konqueror@gmx.de>
14642 * javax/swing/JComponent.java
14643 (listenerList): Initalize globally.
14644 (ancestor_list): Removed.
14645 (veto_list): Removed.
14646 (change_list): Removed.
14647 (get_veto_list): Removed.
14648 (get_change_list): Removed.
14649 (get_ancestor_list): Removed.
14650 (removeAncestorListener): Reimplemented.
14651 (removePropertyChangeListener): Likewise.
14652 (removeVetoableChangeListener): Likewise.
14653 (addAncestorListener): Likewise.
14654 (addPropertyChangeListener): Likewise.
14655 (addVetoableChangeListener): Likewise.
14656 (getListeners): New method.
14657 (getAncestorListeners): Likewise.
14658 (getVetoableChangeListeners): Likewise.
14659 (fireVetoableChange): Throws PropertyVetoException.
14660 * javax/swing/JEditorPane.java
14661 (JEditorPane): Throws IOException.
14663 2004-01-28 David Jee <djee@redhat.com>
14665 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14666 (create): Set the default foreground color to
14667 java.awt.SystemColor.windowText.
14669 2004-01-27 Michael Koch <konqueror@gmx.de>
14671 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14672 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14673 Reindented to merge with classpath.
14675 2004-01-27 David Jee <djee@redhat.com>
14677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14678 (addExposeFilter): Handle GtkFramePeer separately.
14679 (removeExposeFilter): Likewise.
14681 2004-01-27 Michael Koch <konqueror@gmx.de>
14683 * gnu/java/net/protocol/http/Connection.java
14684 (getOutputStream): Fixed typo.
14686 2004-01-27 Michael Koch <konqueror@gmx.de>
14688 * java/lang/Class.java
14689 (getConstructor): Removed SecurityException from throws clause.
14690 (_getConstructors): Likewise.
14691 (getConstructors): Likewise.
14692 (getDeclaredConstructor): Likewise.
14693 (getDeclaredClasses): Likewise.
14694 (getDeclaredConstructors): Likewise.
14695 (getDeclaredField): Likewise.
14696 (getDeclaredMethod): Likewise.
14697 (getDeclaredMethods): Likewise.
14698 (getField): Likewise.
14699 (getMethod): Likewise.
14700 (getMethods): Likewise.
14702 2004-01-27 Kim Ho <kho@redhat.com>
14704 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14705 (removeMenuBarPeer): Remove MenuBarPeer argument.
14706 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14707 (dispose): Call native method.
14708 * java/awt/Frame.java (setMenuBar): Create and remove
14709 MenuBar peers only if the Frame has a peer.
14710 (addNotify): Create the MenuBar peer if one exists.
14711 (removeNotify): Remove MenuBar peer if one exists.
14712 * java/awt/Menu.java: Fix imports.
14713 (addNotify): Don't use full class name.
14714 (removeNotify): Call removeNotify on all children.
14715 * java/awt/MenuBar.java (removeNotify): Call
14716 removeNotify on all children.
14717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14718 (removeMenuBarPeer): Remove MenuBarPeer argument.
14719 Iterate through children to find the Frame's MenuBar.
14720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14722 (dispose): Remove references to the MenuComponent.
14724 2004-01-27 Michael Koch <konqueror@gmx.de>
14726 * javax/swing/AbstractCellEditor.java: Reformated.
14727 * javax/swing/DefaultListSelectionModel.java
14728 (listenerList): Made protected.
14729 (addListSelectionListener): Javadoc added.
14730 (removeListSelectionListener): Likewise.
14731 (getListeners): Likewise.
14732 (getListSelectionListeners): Likewise.
14733 * javax/swing/JComboBox.java: Merged copyright year.
14734 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14736 2004-01-26 Andrew Haley <aph@redhat.com>
14738 * javax/swing/table/JTableHeader.java: Extend JComponent
14740 2004-01-26 Kim Ho <kho@redhat.com>
14742 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14745 2004-01-26 Kim Ho <kho@redhat.com>
14747 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14749 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14750 height and let the Layout Managers readjust anything that
14752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14753 (moveLayout): New method. Shift everything in the Gtk
14754 layout in the Y direction by an offset.
14756 2004-01-26 David Jee <djee@redhat.com>
14758 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14759 (handleEvent): Implemented. Handles PaintEvents.
14760 (paint): Implemented. Use GTK native methods to queue updates
14761 for this heavyweight peer.
14762 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14763 (handleEvent): Removed.
14764 * java/awt/Component.java
14765 (paint): Implemented. Explictly paint the heavyweight peer.
14766 (update): Clear the background for heavyweight components.
14767 (paintAll): No need to call peer.paint() anymore.
14768 (processEvent): Don't process PaintEvents here. It's now done in
14769 the peer's handleEvent().
14770 (processPaintEvent): Removed.
14771 * java/awt/Container.java
14772 (paint): No need to call super.paint(). Visit heavyweight
14774 (update): Don't clear the background here. It's done in
14775 Component.update().
14776 (visitChildren): Added check to not recurse into Containers.
14777 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14778 (filter_expose_event_handler): New method. Filter unwanted
14779 expose events while painting heavyweight peers.
14780 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14781 New method. Connect filter and block pre_event_handler.
14782 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14783 New method. Disconnect filter and unblock pre_event_handler.
14784 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
14785 New method. Invalidate and update given area.
14786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14787 (pre_event_handler): Add checks for unwanted expose events.
14789 2004-01-26 David Jee <djee@redhat.com>
14791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14792 (find_bg_color_widget): For GtkButton, return its child.
14794 2004-01-26 Kim Ho <kho@redhat.com>
14796 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
14798 (setMenuBar): Grab MenuBar height and change insets.
14799 (setBounds): Account for MenuBar height.
14800 (postInsetsChangedEvent): Ditto.
14801 (postSizeAllocateEvent): Remove.
14802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14803 (menubar_resize_cb): Remove
14804 (setMenuBarPeer): Remove callback.
14805 (getMenuBarHeight): Use size requisition instead of
14808 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
14810 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
14811 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
14813 (setColumns): Remove FIXME -- peer will retrieve number of
14814 columns by calling getColumns.
14815 (setRows): Likewise for number of rows.
14816 (next_text_number): New field.
14817 (paramString): Fix param string.
14818 (generateName): New method.
14819 (getUniqueLong): New method.
14821 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
14823 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
14824 image observer of image loading status.
14825 (getImage (String)): Start image production.
14826 (getImage (URL)): Likewise.
14828 2004-01-25 Michael Koch <konqueror@gmx.de>
14830 * java/lang/Class.java: Imports reworked, reformated.
14831 (Class): Javadoc added.
14832 (forName): Likewise.
14833 (getClasses): Likewise.
14834 (getClassLoader): Likewise.
14835 (getComponentType): Likewise.
14836 (getConstructor): Likewise.
14837 (getConstructors): Likewise.
14838 (getDeclaredConstructor): Likewise.
14839 (getDeclaredClasses): Likewise.
14840 (getDeclaredConstructors): Likewise.
14841 (getDeclaredField): Likewise.
14842 (getDeclaredMethod): Likewise.
14843 (getDeclaredMethods): Likewise.
14844 (getDeclaringClass): Likewise.
14845 (getField): Likewise.
14846 (getInterfaces): Likewise.
14847 (getMethod): Likewise.
14848 (getMethods): Likewise.
14849 (getModifiers): Likewise.
14850 (getName): Likewise.
14851 (getResource): Likewise.
14852 (getResourceAsStream): Likewise.
14853 (getSigners): Likewise.
14854 (setSigners): Likewise.
14855 (getSuperclass): Likewise.
14856 (isArray): Likewise.
14857 (isAssignableFrom): Likewise.
14858 (isInstance): Likewise.
14859 (isInterface): Likewise.
14860 (isPrimitive): Likewise.
14861 (newInstance): Likewise.
14862 (getProtectionDomain): Likewise.
14863 (toString): Likewise.
14865 (initializeClass): Likewise.
14866 (finalize): Likewise.
14868 2004-01-24 Michael Koch <konqueror@gmx.de>
14870 * gnu/java/net/protocol/jar/Connection.java
14871 (hdrHash): Removed.
14873 (gotHeaders): Removed.
14874 (getHeaderField): Removed.
14875 (getHeaderFields): Removed.
14876 (getHeaderFieldKey): Removed.
14878 (getField): Removed.
14879 (getHeaders): Removed.
14881 2004-01-24 Michael Koch <konqueror@gmx.de>
14883 * Makefile.am: Added library version to gtk peer lib.
14884 * Makefile.in: Regenerated.
14886 2004-01-24 Michael Koch <konqueror@gmx.de>
14888 * java/util/zip/InflaterInputStream.java: Merged class documentation
14891 2004-01-21 Jakub Jelinek <jakub@redhat.com>
14893 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
14894 header. For __powerpc64__ provide the default-signal.h definitions
14896 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
14897 instead of the dummy definitions.
14898 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
14899 (powerpc64*-*): Remove with_libffi_default.
14900 Only add -mminimal-toc for 64-bit compilations.
14901 * configure.in: Use powerpc-signal.h on powerpc64 as well.
14902 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
14903 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
14904 * configure: Rebuilt.
14906 2004-01-23 Michael Koch <konqueror@gmx.de>
14908 * gnu/java/nio/FileLockImpl.java: Compile fixes.
14910 2004-01-23 Michael Koch <konqueror@gmx.de>
14912 * java/lang/VMClassLoader.java: Reworked imports.
14914 2004-01-23 Michael Koch <konqueror@gmx.de>
14916 * javax/swing/AbstractAction.java: Reformated.
14918 2004-01-23 Michael Koch <konqueror@gmx.de>
14920 * java/text/CollationElementIterator.java:
14921 (setText): New method.
14923 2004-01-23 Michael Koch <konqueror@gmx.de>
14925 * gnu/java/nio/FileLockImpl.java:
14926 Fixed filename in copyright.
14927 (released): Removed.
14928 (finalize): New method.
14929 * gnu/java/nio/natFileLockImpl.cc
14930 (releaseImpl): Implemented.
14931 * java/nio/channels/FileChannelImpl.java:
14933 (lock): Implemented.
14934 (lockImpl): New method.
14935 (tryLock): Implemented.
14936 (tryLockImpl): New method.
14937 * java/nio/channels/natFileChannelImpl.cc
14938 (lockImpl): New method.
14939 (tryLockImpl): New method.
14941 2004-01-23 Michael Koch <konqueror@gmx.de>
14943 * java/io/FileDescriptor.java
14944 (lock): New method.
14945 (tryLock): New method.
14946 (unlock): New method.
14947 * java/io/natFileDescriptorEcos.cc
14948 (lock): New method.
14949 (tryLock): New method.
14950 (unlock): New method.
14951 * java/io/natFileDescriptorPosix.cc
14952 (lock): New method.
14953 (tryLock): New method.
14954 (unlock): New method.
14955 * java/io/natFileDescriptorWin32.cc
14956 (lock): New method.
14957 (tryLock): New method.
14958 (unlock): New method.
14960 2004-01-23 Michael Koch <konqueror@gmx.de>
14962 * java/io/FileDescriptor.java
14963 (sync): Moved around, added javadoc.
14968 (setLength): Likewise.
14970 (getLength): Likewise.
14971 (getFilePointer): Likewise.
14973 (available): Likewise.
14974 (finalize): Likewise.
14976 2004-01-23 Michael Koch <konqueror@gmx.de>
14978 * javax/swing/AbstractAction.java: Reformated.
14979 (getPropertyChangeListeners): New method.
14980 * javax/swing/AbstractCellEditor.java: Reformated.
14981 (getCellEditorListeners): New method.
14982 * javax/swing/DefaultListSelectionModel.java
14983 (listenerList): New field.
14984 (listeners): Removed.
14985 (get_listeners): Removed.
14986 (addListSelectionListener): Rewritten.
14987 (removeListSelectionListener): Rewritten.
14988 (getListSelectionListeners): New method.
14989 (getListeners): New method.
14990 * javax/swing/JComboBox.java: Imports reworked.
14991 (addActionListener): Implemented.
14992 (removeActionListener): Implemented.
14993 (addItemListener): Implemented.
14994 (removeItemListener): Implemented.
14995 (addPopupMenuListener): Implemented.
14996 (removePopupMenuListener): Implemented.
14997 (getActionListeners): New method.
14998 (getItemListeners): New method.
14999 (getPopupMenuListeners): New method.
15001 2004-01-23 Michael Koch <konqueror@gmx.de>
15003 * gnu/java/net/protocol/http/Connection.java
15004 (connect): Don't initialize bufferedOutputStream if not needed.
15005 (sendRequest): Set property for content length if content is present.
15006 Write content only if present.
15007 (getOutputStream): Check if already connected, dont connect,
15008 initalize bufferedOutputStream if needed.
15010 2004-01-23 Michael Koch <konqueror@gmx.de>
15012 * java/io/FileDescriptor.java
15013 (in, out, err): Added javadoc.
15014 (static): Merged loading code.
15015 (fd, position): Moved around.
15017 2004-01-23 Michael Koch <konqueror@gmx.de>
15019 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15022 2004-01-23 Michael Koch <konqueror@gmx.de>
15024 * java/lang/Class.java,
15025 java/lang/Object.java,
15026 java/lang/Thread.java: Merged copyright with classpath.
15028 2004-01-23 Michael Koch <konqueror@gmx.de>
15030 * java/io/FileDescriptor.java: Merged copyright with classpath to
15031 start merging this class.
15033 2004-01-22 Tom Tromey <tromey@redhat.com>
15036 * testsuite/libjava.lang/pr13107_2.xfail: New file.
15037 * testsuite/libjava.lang/pr13107_3.xfail: New file.
15038 * testsuite/libjava.lang/pr13107_3.java: New file.
15039 * testsuite/libjava.lang/pr13107_3.out: New file.
15040 * testsuite/libjava.lang/pr13107_2.java: New file.
15041 * testsuite/libjava.lang/pr13107_2.out: New file.
15042 * testsuite/libjava.lang/pr13107.java: New file.
15043 * testsuite/libjava.lang/pr13107.out: New file.
15044 * verify.cc (jsr_ptrs): Removed.
15045 (entry_points): Likewise.
15046 (struct subr_info): Likewise.
15047 (struct subr_entry_info): Likewise.
15048 (type_val::unused_by_subroutine_type): Likewise.
15049 (type::merge): Don't handle unused_by_subroutine_type.
15050 (type::print): Likewise.
15051 (state::flags): Removed.
15052 (state::subroutine): Likewise.
15053 (state::seen_subrs): Likewise.
15054 (state::NO_STACK): Likewise.
15055 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15056 (state): Updated all methods.
15057 (state::clean_subrs): Removed.
15058 (state::state): Removed `ret_semantics' flag.
15059 (state::copy): Likewise.
15060 (state::add_subr): Removed.
15061 (state::enter_subroutine): Likewise.
15062 (type::set_return_address): New method.
15063 (handle_jsr_insn): Set return address on the type. Always
15064 invalidate PC after call.
15065 (check_nonrecursive_call): Removed.
15066 (~_Jv_BytecodeVerifier): Updated.
15067 (branch_prepass): Removed special handling of jsr.
15068 (note_branch_target): Likewise.
15069 (get_subroutine): Removed.
15070 (state::merge): Don't merge subroutines and don't handle
15071 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
15072 (state::note_variable): Removed.
15073 (state::is_unmerged_ret_state): Likewise.
15074 (state::print): Updated.
15075 (set_variable): Likewise.
15076 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
15077 and jsr_semantics arguments. Updated for new reverification
15079 (pop_jump): Rewrote.
15080 (construct_primitive_array_type): Updated.
15081 (state::next): Removed.
15082 (INVALID_STATE): New define.
15083 (state::INVALID): Removed.
15084 (state::NO_NEXT): New value.
15085 (state::pc, state::next): New fields.
15086 (state::get_pc): New method.
15087 (next_verify_pc): Removed.
15088 (next_verify_state): New field.
15089 (verify_instructions_0): Always check for falling off end.
15090 (linked): New type.
15091 (linked_utf8): Removed.
15092 (states): Changed type.
15093 (type::state_mergeable_p): New method.
15094 (state::state_mergeable_p): Likewise.
15095 (handle_ret_insn): Removed most code.
15096 (state::reverify): New method.
15097 (add_new_state): Likewise.
15098 (state::set_pc): Likewise.
15100 2004-01-22 Jeff Sturm <jsturm@one-point.com>
15103 * testsuite/libjava.compile/PR13733.java: New file.
15104 * testsuite/libjava.compile/PR13733.xfail: New file.
15106 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
15107 Michael Koch <konqueror@gmx.de>
15109 * javax/swing/table/DefaultTableCellRenderer.java
15110 (DefaultTableCellRenderer): Added javadoc for the class and for
15111 the constructor, Border instance, create an EmptyBorder.
15112 (UIResource): Removed the comment at the end of the class
15113 (setForeground): New method.
15114 (setBackground): New method.
15115 (updateUI): New method.
15116 (getTableCellRendererComponent): Rewritten with the help of
15117 dvholten and Stephane Meslin-Weber.
15118 (validate): New method.
15119 (repaint): New method.
15120 (firePropertyChange): New method.
15121 (setValue): New method.
15123 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
15125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15126 (connectJObject): Replace printf calls with g_assert statements.
15127 Move property-notify-event signal connection to ...
15128 (connectSignals): Connect property-notify-event signal. Iterate
15129 through the vbox's children to find layout.
15131 2004-01-22 Graydon Hoare <graydon@redhat.com>
15133 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
15134 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15135 Predicate static initialization on GtkToolkit.useGraphics2D().
15136 * java/awt/Component.java (processPaintEvent): Consume event.
15137 * javax/swing/AbstractButton.java: Reimplement, document.
15138 * javax/swing/DefaultButtonModel.java: Reimplement, document.
15139 * javax/swing/JComponent.java (paint): Use double buffer.
15140 (listenerList): Enable member.
15141 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15142 * javax/swing/JToggleButton.java
15143 (JToggleButton): Modify model constructor.
15144 * javax/swing/SwingUtilities.java
15145 (layoutCompoundLabel): Adjust arithmetic.
15146 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15147 * javax/swing/plaf/basic/BasicGraphicsUtils.java
15148 (getPreferredButtonSize): Include margins in calculation.
15149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15150 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15151 Receive up events from subordinate layout component.
15153 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
15155 * java/awt/Component.java (show): Set visible to true before
15158 2004-01-21 Kim Ho <kho@redhat.com>
15160 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15162 (removeMenuBarPeer): Make package private.
15163 (setMenuBarPeer): Make package private.
15164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15165 (menubar_resize_cb): Mark attributes unused.
15166 (getMenuBarHeight): ditto.
15168 2004-01-21 David Jee <djee@redhat.com>
15170 * java/awt/Container.java
15171 (LightweightDispatcher.handleEvent): Add an extra check to avoid
15172 dispatching MOUSE_ENTERED event twice. Translate the point for
15173 the mouse event target before dispatching the event.
15175 2004-01-20 Jakub Jelinek <jakub@redhat.com>
15177 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15178 lib_org_w3c_dom_la_LDFLAGS): New.
15179 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15180 * Makefile.in: Rebuilt.
15182 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
15184 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15185 Calculate proper offsets for heavyweight components packed in
15186 lightweight containers.
15188 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15189 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15190 (native create): Add width parameter.
15191 (create): Calculate text entry width based on current font's
15192 metrics and number of columns. Set TextField's font if not
15193 already set. Call native create.
15194 (gtkEntryGetBorderWidth): New native method.
15195 (gtkEntryGetSize): Remove method.
15196 (getMinimumSize): Call minimumSize.
15197 (getPreferredSize): Call preferredSize.
15198 (minimumSize): Calculate minimum size based on backing
15199 GtkEntry's borders, font metrics and number of columns.
15200 (preferredSize): Likewise for preferred size.
15201 (get_border_width): New static function.
15203 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15204 Override GtkWindowPeer's setResizable method to account for menu
15205 bar height when setting the frame's size.
15207 2004-01-19 Matthias Klose <doko@debian.org>
15209 * libtool-version: Increased `current' to 6.
15211 2004-01-19 Kim Ho <kho@redhat.com>
15213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15214 (connectJObject): Iterate through the vbox's children to find layout.
15216 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15218 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15219 isDispatchThread method to replace wrong test condition.
15221 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15223 * java/awt/EventQueue.java (pop): Prevent racing condition to add
15224 events to the queue out of order by acquiring locks in the proper
15225 order and not by releasing one before acquiring the other.
15227 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15229 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15230 visible so that dialog can be reused.
15232 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15234 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15235 events may be handled by any queue in the stack.
15237 2004-01-19 Kim Ho <kho@redhat.com>
15239 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15240 MenuBarPeer parameter.
15241 (removeMenuBarPeer): New native method.
15242 (setMenuBar): Call remove if menu bar is null. Adjust insets
15244 (postSizeAllocateEvent): New method. Called when menu bar size is
15245 allocated. Adjust insets and redo layout.
15246 (GtkFramePeer): Set menu bar during frame creation.
15247 (postConfigureEvent): Adjust position and size to accomodate
15249 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15250 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15251 (addNotify): Create the peer if it doesn't exist and call addNotify
15252 for the menu's items.
15253 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15254 * java/awt/MenuItem.java (addNotify): Create the peer if it
15256 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15257 (removeMenuBarPeer): New method. Remove menu bar on the current
15259 (setMenuBarPeer): Add the menu bar to the current frame and the
15260 callback for size-allocate events on the menu bar.
15261 (getMenuBarHeight): Add menu bar parameter.
15262 (menubar_resize_cb): New callback method for postSizeAllocate events.
15264 Also: Fix indentation on last ChangeLog entry.
15266 2004-01-16 Kim Ho <kho@redhat.com>
15268 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15269 (gtkWidgetGetDimensions): Remove.
15270 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15271 (gtkWidgetGetDimensions): Remove.
15273 2004-01-16 Tom Tromey <tromey@redhat.com>
15275 * java/awt/Container.java: Typo and indentation fixes.
15277 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15278 * java/lang/natVMClassLoader.cc: ...here. New file.
15279 * Makefile.in: Rebuilt.
15280 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15282 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15284 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15285 Discard GDK_ENTER_NOTIFY related to ungrabs.
15287 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15289 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15290 is called for an intermediate queue.
15292 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
15294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15295 (window_property_changed_cb): Set id_set.
15297 2004-01-16 Kim Ho <kho@redhat.com>
15299 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15300 it is a FileDialog and has dimensions of 0 by 0, then the initial
15301 size is set to size request plus insets.
15302 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15303 (gtkWidgetGetDimensions): Override method.
15304 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15305 (gtkWidgetGetDimensions): Override method. Returns size request plus
15308 2004-01-16 Andrew Haley <aph@redhat.com>
15310 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15311 * sysdep/i386/locks.h: Likewise.
15313 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15315 * java/awt/EventDispatchThread.java (run): Stop running when
15317 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15318 Reset the queue after transferring its contents.
15319 (push): Start a new dispatch thread if none is running.
15321 2004-01-16 Olga Rodimina <rodimina@redhat.com>
15323 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15324 (doPolygon): set fill rule of polygon to
15325 WIND_EVEN_ODD by default.
15327 2004-01-15 Olga Rodimina <rodimina@redhat.com>
15329 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15330 Implemented rendering hints related methods.
15331 (getDefaultHints): New helper method. Returns
15332 default rendering hints.
15333 (walkPath): changed to normalize path if
15334 the KEY_STROKE_CONTROL key is in "normalize" mode.
15335 (draw3DRect): changed coordinates of rectangle by +0.5
15336 if in "normalize" mode.
15338 2004-01-15 Tom Tromey <tromey@redhat.com>
15340 * Makefile.in: Rebuilt.
15341 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15342 (%.lo: %.java) Filter out StackTrace.lo.
15344 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
15346 * configure.in: Add in AC_PREREQ(2.13)
15347 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
15350 2004-01-14 Nathan Bryant <nbryant@optonline.net>
15351 Tom Tromey <tromey@redhat.com>
15354 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15355 array to superclass.
15356 (init): Changed interface; add URLs here.
15357 (initialize): New static method.
15358 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15359 (_Jv_RunMain): ... not here.
15361 2004-01-14 Michael Koch <konqueror@gmx.de>
15363 * java/text/MessageFormat.java:
15364 Added descriptions to exceptions.
15365 This fixes PR libgcj/2429.
15367 2004-01-13 Fernando Nasser <fnasser@redhat.com>
15369 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15370 (push): Make sure push is performed at the top of the thread stack.
15372 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
15374 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15375 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15376 (native create): Add width and height parameters. Set text
15377 view's size request according to new parameters.
15378 (create): Calculate text view size based on current font's
15379 metrics and number of rows and columns. Set TextArea's font if
15380 not already set. Call native create.
15381 (getMinimumSize): Call minimumSize.
15382 (getPreferredSize): Call preferredSize.
15383 (getHScrollbarHeight): New method.
15384 (getVScrollbarWidth): New method.
15385 (minimumSize): Calculate minimum size based on scrollbar
15386 visibility, scrollbar sizes, font metrics and number of rows and
15388 (preferredSize): Likewise for preferred size.
15389 (gtkTextGetSize): Remove method.
15391 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
15393 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15394 (initializeInsets): Remove method.
15395 (GtkComponentPeer): Initialize insets field. Remove call to
15397 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15399 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15401 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15402 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15403 (latestInsets): Remove field.
15404 (native create): Add insets parameter. Call
15405 window_get_frame_extents. Set the window's default size and
15406 size request based on its frame extents.
15407 (create): Initialize insets.
15408 (postInsetsChangedEvent): New method.
15409 (postConfigureEvent): Remove parameters top, left, bottom,
15410 right. Remove insets-related logic.
15411 (connectJObject): Handle property-notify-event.
15412 (window_get_frame_extents, request_frame_extents,
15413 property_notify_predicate, window_property_changed_cb): New
15415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15416 (pre_event_handler): Remove insets-related logic for configure
15418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15419 Update postConfigureEvent signature.
15421 2004-01-13 Fernando Nasser <fnasser@redhat.com>
15423 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15424 to handle Window "Closing" events.
15426 2004-01-13 David Jee <djee@redhat.com>
15428 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15429 (setBackground): New method. Children with no explicitly-set
15430 background will be repainted with the parent container's new
15433 2004-01-13 David Jee <djee@redhat.com>
15435 * Makefile.am: Add BitwiseXORComposite.java.
15436 * Makefile.in: Regenerated.
15437 * gcj/Makefile.in: Regenerated.
15438 * include/Makefile.in: Regenerated.
15439 * testsuite/Makefile.in: Regenerated.
15441 2004-01-12 Fernando Nasser <fnasser@redhat.com>
15443 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15444 not show modal dialogs twice and so that it allows showing a modal
15445 dialog from another modal dialog.
15447 2004-01-12 Fernando Nasser <fnasser@redhat.com>
15449 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15450 and run secondary dispatch thread to process event queue while this
15453 2004-01-12 Graydon Hoare <graydon@redhat.com>
15455 * gnu/java/awt/gtk/GdkGraphics2D.java
15456 (static): Check GtkToolkit before initializing static state.
15457 (Graphics2D): Don't construct transform with 0.5 unit offset.
15459 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
15461 * gnu/java/awt/BitwiseXORComposite.java: Add.
15462 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15463 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15464 (BitwiseXORComposite): Remove inner class.
15466 2004-01-11 Michael Koch <konqueror@gmx.de>
15468 * gnu/java/lang/reflect/TypeSignature.java
15469 (getEncodingOfClass): Documentation fixed.
15470 (getClassForEncoding): Give class loader to Class.forName().
15471 Documentation fixed.
15473 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
15475 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15477 2004-01-11 Michael Koch <konqueror@gmx.de>
15479 * javax/swing/undo/StateEditable.java
15480 (RCSID): Removed redundant modifiers.
15482 2004-01-10 Michael Koch <konqueror@gmx.de>
15484 * javax/print/attribute/EnumSyntax.java
15485 (getStringTable): Made protected.
15486 (getEnumValueTable): Likewise.
15487 * javax/print/attribute/standard/JobKOctetsProcessed.java
15488 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15489 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15490 (JobMediaSheetsCompleted): Made class final.
15491 * javax/print/attribute/standard/OutputDeviceAssigned.java
15492 (getName): Fixed typo.
15493 * javax/print/attribute/standard/RequestingUserName.java
15494 (serialVersionUID): Fixed value.
15496 2004-01-10 Michael Koch <konqueror@gmx.de>
15498 * javax/swing/plaf/basic/BasicButtonUI.java,
15499 javax/swing/plaf/basic/BasicCheckBoxUI.java,
15500 javax/swing/plaf/basic/BasicListUI.java,
15501 javax/swing/plaf/basic/BasicOptionPaneUI.java,
15502 javax/swing/plaf/basic/BasicPanelUI.java,
15503 javax/swing/plaf/basic/BasicRadioButtonUI.java,
15504 javax/swing/plaf/basic/BasicScrollPaneUI.java,
15505 javax/swing/plaf/basic/BasicToggleButtonUI.java,
15506 javax/swing/plaf/basic/BasicViewportUI.java:
15507 Fixed import statements.
15509 2004-01-10 Michael Koch <konqueror@gmx.de>
15511 * gnu/java/awt/image/ImageDecoder.java
15512 (produce): Made public.
15513 * gnu/java/awt/peer/GLightweightPeer.java,
15514 gnu/java/awt/peer/gtk/GtkToolkit.java:
15517 2004-01-10 Michael Koch <konqueror@gmx.de>
15519 * javax/swing/JRadioButtonMenuItem.java,
15520 javax/swing/JSeparator.java,
15521 javax/swing/JSplitPane.java,
15522 javax/swing/JTextPane.java,
15523 javax/swing/JToolBar.java,
15524 javax/swing/ListCellRenderer.java,
15525 javax/swing/ListModel.java,
15526 javax/swing/MenuElement.java,
15527 javax/swing/OverlayLayout.java,
15528 javax/swing/ProgressMonitor.java,
15529 javax/swing/ProgressMonitorInputStream.java,
15530 javax/swing/Renderer.java,
15531 javax/swing/RootPaneContainer.java,
15532 javax/swing/Scrollable.java,
15533 javax/swing/SingleSelectionModel.java,
15534 javax/swing/ToolTipManager.java,
15535 javax/swing/ViewportLayout.java,
15536 javax/swing/event/DocumentEvent.java,
15537 javax/swing/event/SwingPropertyChangeSupport.java,
15538 javax/swing/event/TreeSelectionEvent.java,
15539 javax/swing/event/UndoableEditEvent.java,
15540 javax/swing/text/AbstractDocument.java,
15541 javax/swing/text/AttributeSet.java,
15542 javax/swing/text/Caret.java,
15543 javax/swing/text/ComponentView.java,
15544 javax/swing/text/DefaultCaret.java,
15545 javax/swing/text/DefaultEditorKit.java,
15546 javax/swing/text/Document.java,
15547 javax/swing/text/EditorKit.java,
15548 javax/swing/text/GapContent.java,
15549 javax/swing/text/Keymap.java,
15550 javax/swing/text/MutableAttributeSet.java,
15551 javax/swing/text/PlainEditorKit.java,
15552 javax/swing/text/Segment.java,
15553 javax/swing/text/Style.java,
15554 javax/swing/text/StyledDocument.java,
15555 javax/swing/text/StyledEditorKit.java,
15556 javax/swing/text/TextAction.java,
15557 javax/swing/text/View.java: Fixed import statements.
15559 2004-01-08 Graydon Hoare <graydon@redhat.com>
15561 * javax/swing/JLayeredPane.java: Rewrite to accomodate
15562 djee@redhat.com's recent inverse ordering of Container elements.
15564 2004-01-09 Michael Koch <konqueror@gmx.de>
15566 * gnu/java/lang/ArrayHelper.java
15567 (equalsArray): Removed.
15569 2004-01-09 Andrew Haley <aph@redhat.com>
15571 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15572 a Utf8Const field before looking at its class.
15574 2004-01-09 Michael Koch <konqueror@gmx.de>
15576 * javax/print/attribute/standard/DocumentName.java,
15577 javax/print/attribute/standard/JobHoldUntil.java,
15578 javax/print/attribute/standard/JobMessageFromOperator.java,
15579 javax/print/attribute/standard/JobName.java,
15580 javax/print/attribute/standard/JobOriginatingUserName.java,
15581 javax/print/attribute/standard/OutputDeviceAssigned.java,
15582 javax/print/attribute/standard/PrinterInfo.java,
15583 javax/print/attribute/standard/PrinterLocation.java,
15584 javax/print/attribute/standard/PrinterMakeAndModel.java,
15585 javax/print/attribute/standard/PrinterMessageFromOperator.java,
15586 javax/print/attribute/standard/PrinterName.java,
15587 javax/print/attribute/standard/RequestingUserName.java: New files.
15588 * Makefile.am (javax_source_files): Added new files.
15589 * Makefile.in: Regenerated.
15591 2004-01-09 Michael Koch <konqueror@gmx.de>
15593 * javax/swing/AbstractAction.java,
15594 javax/swing/AbstractSet.java,
15595 javax/swing/Action.java,
15596 javax/swing/ActionMap.java,
15597 javax/swing/BoundedRangeModel.java,
15598 javax/swing/ButtonModel.java,
15599 javax/swing/CellEditor.java,
15600 javax/swing/CellRendererPane.java,
15601 javax/swing/ComboBoxEditor.java,
15602 javax/swing/DebugGraphics.java,
15603 javax/swing/DefaultCellEditor.java,
15604 javax/swing/DefaultCellRenderer.java,
15605 javax/swing/DefaultComboBoxModel.java,
15606 javax/swing/DefaultDesktopManager.java,
15607 javax/swing/DefaultFocusManager.java,
15608 javax/swing/DefaultListCellRenderer.java,
15609 javax/swing/Icon.java,
15610 javax/swing/JButton.java,
15611 javax/swing/JCheckBoxMenuItem.java,
15612 javax/swing/JDesktopPane.java,
15613 javax/swing/JEditorPane.java,
15614 javax/swing/JMenu.java,
15615 javax/swing/JPanel.java,
15616 javax/swing/JPasswordField.java,
15617 javax/swing/JPopupMenu.java,
15618 javax/swing/JProgressBar.java: Reworked imports.
15620 2004-01-09 Michael Koch <konqueror@gmx.de>
15622 * java/awt/geom/PathIterator.java
15623 (WIND_EVEN_ODD): Removed redundant modifiers.
15624 (WIND_NON_ZERO): Likewise.
15625 (SEG_MOVETO): Likewise.
15626 (SEG_LINETO): Likewise.
15627 (SEG_QUADTO): Likewise.
15628 (SEG_CUBICTO): Likewise.
15629 (SEG_CLOSE): Likewise.
15630 * java/awt/image/SinglePixelPackedSampleModel.java:
15631 Removed redundant semicolon.
15632 * java/io/ObjectInputStream.java
15633 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15634 * java/util/logging/Filter.java
15635 (isLoggable): Removed redundant modifier.
15636 * java/util/logging/LogManager.java:
15637 Removed redundant semicolon.
15638 * java/util/logging/XMLFormatter.java
15639 (format): Removed unused variable "key".
15641 2004-01-08 Fernando Nasser <fnasser@redhat.com>
15643 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15644 New name for the former setFile native method.
15645 (setFile): New method.
15646 (setDirectory): Implemented.
15647 (connectSignals): New native method.
15648 (setFilenameFilter): Improve comment.
15649 (getGraphics): Comment.
15650 (gtkHideFileDialog): New method.
15651 (gtkDisposeFileDialog): New method.
15652 (gtkSetFilename): New method.
15653 * java/awt/Dialog.java (show): Block on modal dialogs, but only
15654 for FileDialog for now.
15655 (hide): New method.
15656 (dispose): New method.
15657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15658 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15659 deprecated creation functions. Make dialog modal. Add it to the
15661 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15663 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15665 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15667 (window_closed): New function.
15668 (ok_clicked): New function.
15669 (cancel_clicked): New function.
15671 2004-01-08 Michael Koch <konqueror@gmx.de>
15673 * javax/swing/JLayeredPane.java: Revert changes to standard
15674 boilerplate, reworked imports.
15676 2004-01-07 Tom Tromey <tromey@redhat.com>
15679 * verify.cc (state::merge): Copy changed locals out of subroutine
15681 (state::FLAG_CHANGED): New const.
15682 (state::FLAG_UNUSED): Likewise.
15683 (state::local_changed): Removed. Updated all users.
15684 (state::flags): New field.
15685 (state::merge): Added jsr_semantics argument, more logic.
15686 (push_jump_merge): Added jsr_semantics argument.
15687 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15688 merging through the jsr instruction.
15690 2004-01-07 Tom Tromey <tromey@redhat.com>
15692 * scripts/MakeDefaultMimeTypes.java: Use \n, not
15695 2004-01-07 Graydon Hoare <graydon@redhat.com>
15697 * java/awt/Container.java (LightweightDispatcher): Implement.
15698 (visitChild): Reuse graphics object.
15699 (dispatchEventImpl): Optionally dispatch to lightweight.
15700 (addNotifyContainerChildren): Build LightweightDispatcher.
15702 2004-01-07 David Jee <djee@redhat.com>
15704 * java/awt/Container.java
15705 (update): Clear only the clipped region, instead of clearing the
15707 (visitChildren): Visit children in descending order.
15709 2004-01-07 Michael Koch <konqueror@gmx.de>
15711 * java/lang/reflect/Array.java: Merged documentation with classpath.
15713 2004-01-07 Michael Koch <konqueror@gmx.de>
15715 * java/text/CollationElementIterator.java
15716 (textIndex): Renamed from index.
15717 * java/text/CollationKey.java
15718 (collator): New member.
15719 (CollationKey): New argument for parent collator.
15720 (equals): Check for same collator, source string and key array.
15721 * java/text/RuleBasedCollator.java:
15723 (RuleBasedCollator): Don't re-initialize frenchAccents with default
15725 (getCollationElementIterator): Rewritten.
15726 (getCollationKey): Added new argument to CollationKey constructor.
15728 2004-01-07 Michael Koch <konqueror@gmx.de>
15730 * gnu/java/nio/DatagramChannelImpl.java
15731 (blocking): Removed.
15732 (DatagramChannelImpl): Call configureBlocking().
15733 (implConfigureBlocking): Dont initialize blocking.
15734 * gnu/java/nio/ServerSocketChannelImpl.java
15735 (blocking): Removed.
15736 (ServerSocketChannelImpl): Call configureBlocking().
15737 (implConfigureBlocking): Dont initialize blocking.
15738 * gnu/java/nio/SocketChannelImpl.java
15739 (blocking): Removed.
15740 (SocketChannelImpl): Call configureBlocking().
15741 (implConfigureBlocking): Dont initialize blocking.
15742 (connect): Use isBlocking().
15743 * java/nio/channels/spi/AbstractSelectableChannel.java
15744 (configureBlocking): Use blockingLock() instead of LOCK.
15745 Set blocking after successfully called implConfigureBlocking().
15746 (register): Use blockingLock() instead of LOCK.
15748 2004-01-07 Michael Koch <konqueror@gmx.de>
15750 * java/net/ServerSocket.java (isBound): Fixed documentation.
15752 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
15754 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15755 (changeEvent): Create event object on demand.
15756 (DefaultBoundedRangeModel, toString, setValue, setExtent,
15757 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15758 fireStateChanged): Re-written.
15759 * javax/swing/event/EventListenerList.java: Reformatted, document
15761 (toString): Implemented.
15762 (getListeners): Re-written.
15763 (remove): Re-written.
15765 (NO_LISTENERS): New singleton field.
15766 (listenerList): Declare as transient; document.
15767 (serialVersionUID): Document.
15768 (getListenerCount(Class)): More efficient implementation,
15769 also accepts null argument. Improve Javadoc.
15770 (getListenerCount()): Remove unnecessary cast; docfix.
15771 * javax/swing/undo/UndoableEditSupport.java:
15772 Re-format, document.
15773 (UndoableEditSupport): Set realSource field. Improve documentation.
15774 (_postEdit): Iterate over cloned listener vector.
15775 (toString): Don't emit realSource.
15776 (beginUpdate, endUpdate): Support nested updates.
15777 (postEdit): Use compound edit if present.
15779 2004-01-06 Graydon Hoare <graydon@redhat.com>
15781 * java/awt/Container.java (swapComponents): Add forgotten
15782 function, required for JLayeredPane change.
15784 2004-01-06 Michael Koch <konqueror@gmx.de>
15786 * java/text/CollationElementIterator.java: Reformated.
15787 (CollationElementIterator): Changed order of arguments.
15788 * java/text/RuleBasedCollator.java
15789 (RuleBasedCollator): Merged class documentation.
15790 (CollationElement): Added documentation.
15791 (compare): Reformated, renamed arguments.
15792 (equals): Likewise.
15793 (getCollationElementIterator): Likewise.
15794 (getCollationKey): Likewise.
15796 2004-01-06 Graydon Hoare <graydon@redhat.com>
15798 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
15800 2004-01-06 Michael Koch <konqueror@gmx.de>
15802 * gnu/java/net/protocol/file/Connection.java:
15803 Reformated copyright.
15804 (hdrHash): Removed.
15806 (gotHeaders): Removed.
15807 (getHeaderField): Removed.
15808 (getHeaderField): Removed.
15809 (getHeaderFieldKey): Removed.
15811 (getField): Removed.
15812 (getHeaders): Removed.
15814 2004-01-06 Michael Koch <konqueror@gmx.de>
15816 * javax/print/attribute/standard/DateTimeAtCompleted.java,
15817 javax/print/attribute/standard/DateTimeAtCreation.java,
15818 javax/print/attribute/standard/DateTimeAtProcessing.java,
15819 javax/print/attribute/standard/JobImpressionsCompleted.java,
15820 javax/print/attribute/standard/JobKOctets.java,
15821 javax/print/attribute/standard/JobKOctetsProcessed.java,
15822 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
15823 javax/print/attribute/standard/JobPrioritySupported.java: New files.
15824 * Makefile.am (javax_source_files): Added new files.
15825 * Makefile.in: Regenerated.
15827 2004-01-06 Michael Koch <konqueror@gmx.de>
15829 * java/net/URLConnection.java
15830 (contentHandler): Removed.
15832 (getHeaderFields): Return an empty map instead of null.
15833 (getContent): Connect if needed, renamed "cType" to "type" and
15834 "contentHandler" to "ch" and made it a local variable.
15835 (getPermission): Don't use package in class name.
15836 (setDefaultRequestProperty): Fixed typo in documentation.
15837 (initializeDateFormats): Made locale a local variable.
15839 2004-01-06 Michael Koch <konqueror@gmx.de>
15841 * java/lang/Package.java
15842 (getPackage): Get the current class loader directly.
15843 * java/lang/SecurityManager.java
15844 (currentLoadedClass): Dont iterate over class contexts.
15845 (classLoaderDepth): Don't check class loaders if everything is allowed.
15847 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
15849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15850 (pre_event_handler): Set all insets to 0 when a Configure event
15851 is received for a GtkPlug.
15852 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
15853 Make handle long, not int.
15854 (EmbeddedWindow()): New constructor.
15855 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
15857 (setHandle): New method.
15858 (getHandle): Return long, not int.
15859 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
15861 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
15862 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
15863 (create(long)): Take long parameter, not int. Cast gtk_plug_new
15864 argument to GdkNativeWindow.
15865 (construct): New method.
15866 (embed): New method.
15868 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
15869 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
15870 (create(int, int)): New method.
15871 (create): Call new create method.
15872 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
15874 (childResized): Remove native implementation. Implement in
15876 (getHScrollbarHeight, getVScrollbarWidth): Call
15877 gtk_widget_size_request to get scrollbar dimensions.
15878 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
15879 call getVScrollbarWidth and getHScrollbarHeight when vertical
15880 and horizontal scrollbars respectively are needed.
15881 (doLayout): Enlarge child if it is smaller than the viewport.
15883 2004-01-05 Fernando Nasser <fnasser@redhat.com>
15885 * java/awt/Dialog.java (constructor): Accept null title as per spec.
15886 * java/awt/FileDialog.java (constructor): Throw exception on invalid
15887 argument as per spec.
15889 2004-01-05 Fernando Nasser <fnasser@redhat.com>
15891 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
15893 (remove): Ditto. Also, Check for valid argument.
15894 (removeAll): Use peer interface method.
15895 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
15896 native add function.
15897 (nativeRemove): New name for native remove function.
15898 (getHistory): New native function.
15899 (constructor): Generate ItemEvent.
15900 (add): Ditto, if selection is changed.
15901 (remove): Ditto, ditto.
15902 (removeAll): Add implementation.
15903 (handleEvent): Remove. Dead code.
15904 (choicePostItemEvent): Add comment.
15905 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
15906 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
15907 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
15908 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
15909 comments and fix condition to change selection.
15910 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
15911 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
15912 remove all capability.
15913 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
15914 (item_activate): Add cast to remove compiler warning.
15916 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
15918 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15919 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15920 (getPreferredSize): Call preferredSize.
15921 (preferredSize): Call gtkWidgetGetPreferredDimensions.
15922 (getMinimumSize): Call minimumSize.
15923 (minimumSize): Call gtkWidgetGetPreferredDimensions.
15924 (gtkWidgetGetDimensions): Return the peer widget's current size
15926 (gtkWidgetGetPreferredDimensions): Return the peer widget's
15927 natural size request.
15929 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
15931 Thanks to Brian Gough <bjg@network-theory.com>
15932 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
15933 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
15935 2004-01-04 Matthias Klose <doko@debian.org>
15937 * aclocal.m4: Rebuilt using "aclocal -I .".
15938 * configure: Rebuilt.
15940 2004-01-03 Per Bothner <per@bothner.com>
15942 * java/util/Date.java (parse): Fix a number of problems.
15943 (skipParens): Remove no-longer-needed method.