1 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
3 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
4 a non-zero exit status from 'false'.
6 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
8 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
10 2004-12-31 Andreas Jaeger <aj@suse.de>
12 * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
14 2004-12-20 Tom Tromey <tromey@redhat.com>
16 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
17 Re-enable duplicate class registration error.
19 * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
20 * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
21 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
22 * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
24 (libjava_find_gij): Likewise. Changed return result if gij not
26 (test_libjava_from_javac): Updated.
29 * testsuite/libjava.jni/iface.c: New file.
30 * testsuite/libjava.jni/iface.out: New file.
31 * testsuite/libjava.jni/iface.java: New file.
33 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
35 * include/config.h.in: Regenerate.
37 2004-12-10 Andrew Haley <aph@redhat.com>
40 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
41 abstract methods by name.
43 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
45 * java/util/IdentityHashMap.java (put): Replace mistaken use
48 2004-12-06 Tom Tromey <tromey@redhat.com>
51 * testsuite/libjava.compile/PR14853.java: New file.
52 * testsuite/libjava.compile/PR14853.xfail: New file.
54 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
57 * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
58 * Makefile.am (install-data-local): Install headers into
59 $(gxx_include_dir) rather than $(includedir).
60 (AM_MAKEFLAGS): Pass down gxx_include_dir.
61 * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
62 * include/Makefile.am (tool_include__HEADERS): Define this...
63 (include_HEADERS): ...instead of this.
64 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
65 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
67 2004-12-02 Tom Tromey <tromey@redhat.com>
70 * testsuite/libjava.compile/PR16675.java: New file.
72 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
74 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
75 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
76 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
78 2004-12-01 Tom Tromey <tromey@redhat.com>
80 * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
82 (_Jv_ThreadRegister): Likewise.
83 (_Jv_MutexCheckMonitor): Likewise.
85 * link.cc: Include limits.h.
87 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
90 * testsuite/libjava.lang/PR18699.java,
91 testsuite/libjava.lang/PR18699.out: New test.
93 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
95 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
96 Update image observer.
97 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
98 Start image production.
99 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
100 against negative menu bar widths.
101 (setBounds): Likewise.
102 (postConfigureEvent): Likewise.
103 * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
104 remove consumer unless only a single frame has completed.
105 * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
106 Add observer parameter.
107 (setPixels): Update image observer.
108 (imageComplete): Likewise.
109 * java/applet/Applet.java (width): New field.
111 (setStub): Set size if width or height field has been set.
112 (resize): If stub is null save width and height values.
113 * java/awt/Component.java (reshape): Protect against null
115 * java/awt/image/MemoryImageSource.java
116 (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
118 (MemoryImageSource(int,int,ColorModel,int[],int,int)):
120 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
121 Reference pixel array directly, rather than creating a local
123 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
125 (newPixels(int,int,int,int)): Fix for loop and array copy
127 (newPixels(int,int,int,int,boolean)): Likewise.
128 (startProduction): If animated call imageComplete with
130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
132 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
133 (drawPixels): Return if g is null or g->drawable is not a gdk
136 2004-11-30 Michael Koch <konqueror@gmx.de>
138 * javax/swing/DefaultSingleSelectionModel.java,
139 javax/swing/JPasswordField.java,
140 javax/swing/tree/AbstractLayoutCache.java:
141 Reformatted and javadocs cleaned up.
143 2004-11-30 Michael Koch <konqueror@gmx.de>
145 * java/awt/Component.java:
146 Fixed argument names to match javadocs.
147 (setFont): Rewritten set property first and then fire event.
148 (setLocale): Likewise.
149 * javax/swing/text/JTextComponent.java
150 (setEditable): Likewise.
152 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
154 * java/awt/Button.java
155 (AccessibleAWTButton.getAccessibleActionDescription): Explain the
158 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
160 * java/awt/Checkbox.java: Remove stub comments.
162 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
164 * java/awt/Button.java
165 (AccessibleAWTButton.getAccessibleActionDescription): Return
168 2004-11-30 Michael Koch <konqueror@gmx.de>
170 * java/awt/CardLayout.java:
171 Made some constants static.
172 (serialVersionUID): Made private.
173 (addLayoutComponent): Simplified code.
174 * java/awt/event/InputEvent.java
175 (getModifiersEx): Added missing @param tag.
176 * java/awt/image/RGBImageFilter.java
177 (filterRGBPixels): Reformatted, removed wrong @param tag.
179 2004-11-30 Michael Koch <konqueror@gmx.de>
181 * javax/swing/text/FieldView.java,
182 javax/swing/text/JTextComponent.java:
185 2004-11-30 Michael Koch <konqueror@gmx.de>
187 * javax/swing/BorderFactory.java
188 (BorderFactory): Added private constructor.
189 * javax/swing/SwingUtilities.java
190 (SwingUtilities): Likewise.
191 (computeStringWidth): New method.
193 2004-11-30 Michael Koch <konqueror@gmx.de>
195 * java/awt/color/ICC_Profile.java
196 (icSigNamedColorTag): Removed.
197 * java/awt/datatransfer/DataFlavor.java
198 (isMimeTypeEqual): Made final.
199 * java/awt/image/AffineTransformOp.java:
201 (TYPE_BICUBIC): Added @since tag.
203 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
205 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
208 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
210 * java/awt/Checkbox.java (itemStateChanged): Implement function.
211 (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
213 2004-11-30 Sven de Marothy <sven@physto.se>
215 * java/awt/Polygon.java (contains): Reimplemented.
217 2004-11-30 Michael Koch <konqueror@gmx.de>
219 * java/awt/print/PrinterJob.java: Reformatted.
221 2004-11-30 Michael Koch <konqueror@gmx.de>
223 * java/awt/image/AffineTransformOp.java,
224 java/awt/image/ColorConvertOp.java,
225 java/awt/image/LookupOp.java,
226 java/awt/image/RescaleOp.java:
227 Added final keywords where they belong.
229 2004-11-30 Michael Koch <konqueror@gmx.de>
231 * java/awt/CardLayout.java,
232 java/awt/Component.java,
234 java/awt/image/SinglePixelPackedSampleModel.java:
235 Fixed javadocs and argument names all over.
237 2004-11-30 Michael Koch <konqueror@gmx.de>
239 * java/awt/image/DataBufferShort.java: Fixed file header.
240 * java/awt/image/DataBufferUShort.java: Likewise.
241 (DataBufferUShort): Throw NullPointerException if dataArray is null.
243 2004-11-30 Sven de Marothy <sven@physto.se>
245 * java/awt/geom/Arc2D.java
246 (setAngleStart): Corrected (wrong sign on atan2 y parameter).
247 (setAngles): Likewise.
248 (containsAngle): Return false on zero extent, don't include
250 (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
253 2004-11-30 Sven de Marothy <sven@physto.se>
255 * java/awt/geom/AffineTransform.java,
256 (inverseTransform): Fixed bug and simplified code.
257 (createTransformedShape): Return null on null parameter.
259 2004-11-30 Michael Koch <konqueror@gmx.de>
261 * java/awt/color/ICC_ColorSpace.java,
262 java/awt/color/ICC_Profile.java,
263 java/awt/color/ICC_ProfileGray.java,
264 java/awt/color/ICC_ProfileRGB.java:
265 Re-indent copyright header to be standardish.
266 * java/awt/datatransfer/StringSelection.java:
268 * java/awt/geom/Area.java
269 (EPSILON): Made static.
270 (RS_EPSILON): Likewise.
271 (PE_EPSILON): Likewide.
273 2004-11-30 Sven de Marothy <sven@physto.se>
275 * javax/swing/SwingUtilities.java:
276 (computeDifference): Implemented
277 (computeIntersection): Likewise
278 (computeUnion): Likewise
279 (isRectangleContainingRectangle): Likewise
281 2004-11-30 Michael Koch <konqueror@gmx.de>
283 * java/awt/BasicStroke.java,
284 java/awt/Button.java,
285 java/awt/Canvas.java,
286 java/awt/CheckboxMenuItem.java,
287 java/awt/Container.java,
288 java/awt/EventQueue.java,
289 java/awt/FileDialog.java,
290 java/awt/FlowLayout.java,
291 java/awt/FontMetrics.java,
292 java/awt/Graphics.java,
293 java/awt/GridLayout.java,
294 java/awt/KeyboardFocusManager.java,
296 java/awt/LayoutManager2.java,
298 java/awt/MenuBar.java,
299 java/awt/Scrollbar.java,
300 java/awt/Toolkit.java,
301 java/awt/Window.java,
302 java/awt/datatransfer/DataFlavor.java,
303 java/awt/datatransfer/FlavorTable.java,
304 java/awt/event/ActionListener.java,
305 java/awt/event/HierarchyBoundsAdapter.java,
306 java/awt/geom/Arc2D.java,
307 java/awt/geom/Rectangle2D.java,
308 java/awt/geom/RectangularShape.java,
309 java/awt/im/spi/InputMethod.java,
310 java/awt/image/ByteLookupTable.java,
311 java/awt/image/ColorModel.java,
312 java/awt/image/DirectColorModel.java,
313 java/awt/image/ShortLookupTable.java,
314 java/awt/print/Book.java:
315 Fixed javadocs and method argument names all over.
317 2004-11-30 Michael Koch <konqueror@gmx.de>
319 * gnu/java/awt/peer/gtk/GdkFontPeer.java
320 (buildString): Optimise String building.
322 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
324 * java/awt/TextArea.java (AccessibleAWTTextArea,
325 getAccessibleContext): Implement.
326 * java/awt/TextField.java (AccessibleAWTTextField,
327 getAccessibleContext): Implement.
329 2004-11-30 Tom Tromey <tromey@redhat.com>
331 * Makefile.in: Rebuilt.
332 * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
335 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
337 * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
339 * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
342 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
344 * java/awt/print/PrinterJob.java (lookupPrintServices,
345 getPrintService, setPrintService): Implement.
346 (lookupStreamPrintServices): Add commented out implementation.
347 (printer): New field.
349 2004-11-30 Mark Wielaard <mark@klomp.org>
351 * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
354 2004-11-30 Sven de Marothy <sven@physto.se>
356 * java/awt/geom/GeneralPath.java (evaluateCrossings):
357 Fixed epsilon value, should always be nonzero.
359 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
361 * java/awt/image/Raster.java
362 (createPackedRaster): Implemented.
364 2004-11-30 Graydon Hoare <graydon@redhat.com>
366 * javax/swing/plaf/basic/BasicTextUI.java:
367 Listen to focus events, indicate focus via caret.
368 * javax/swing/text/GapContent.java (getString): Return substring.
369 * javax/swing/text/PlainDocument.java (reindex): New method.
370 (createDefaultRoot): Call it.
371 (insertUpdate): Likewise.
372 (removeUpdate): Likewise.
373 * javax/swing/text/Utilities.java (drawTabbedText): Always advance
374 on tab and newline, even if no painting happens.
376 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
378 * Makefile.am: List peer JNI header: Java source file
379 dependencies explicitly. Likewise for JNI .lo: JNI header
381 * Makefile.in: Regenerate.
383 2004-11-30 Graydon Hoare <graydon@redhat.com>
385 * Makefile.am: Add entry for BasicTextPaneUI.java
386 * Makefile.in: Regenerate.
387 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
388 (GdkGraphics2D): Set clip after transform.
389 (drawImage): Protect against null image.
390 * gnu/java/awt/peer/gtk/GtkFramePeer.java
391 (setIconImage): Protect against non-GtkImage args.
392 * gnu/java/awt/peer/gtk/GtkToolkit.java
393 (checkImage): Protect against non-GtkImage args.
394 * java/awt/print/PrinterJob.java:
395 (print): Add variant taking PrintRequestAttributeSet.
396 (printDialog): Likewise.
397 * javax/swing/JComponent.java:
398 (transferHandler): New field.
399 (getComponentGraphics): Build new Graphics for each sub-paint.
400 (getTransferHandler): New method.
401 (setTransferHandler): New method.
402 * javax/swing/JDesktopPane.java
403 (setDragMode): Force LIVE_DRAG_MODE.
404 * javax/swing/JMenuItem.java
405 (menuSelectionChanged): Protect against null parent.
406 * javax/swing/JTable.java (setDefaultRenderer): New method.
407 * javax/swing/JTree.java: Get basic ctors and UI working.
408 * javax/swing/JViewport.java (JViewport): Set scroll mode.
409 * javax/swing/RepaintManager.java
410 (addDirtyRegion): Skip empty regions.
411 * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
412 bound scrollpane minimum by central view minimum.
413 * javax/swing/ToolTipManager.java
414 (showTip): Guard against null component.
415 * javax/swing/TransferHandler.java: Stub out.
416 * javax/swing/plaf/basic/BasicLookAndFeel.java:
417 Add entry for TextPaneUI, change Tree icons to pngs.
418 * javax/swing/plaf/basic/BasicMenuItemUI.java:
419 (installDefaults): Set text position and alignment.
420 (paintMenuItem): Layout icon with normal compound function.
421 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
422 (getMaximumSize): Delete.
423 (getMinimumSize): Delete.
424 (getPreferredSize): Use column model's total width.
425 * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
426 * javax/swing/plaf/basic/BasicTextUI.java
427 (modelChanged): Make resilient against nulls.
428 * javax/swing/plaf/basic/BasicTreeUI.java:
429 Add some simplistic config / painting functions.
430 * javax/swing/plaf/basic/BasicViewportUI.java
431 (paintSimple): Add new non-backingstore paint mode.
432 (paintBackingStore): Split out backing store code.
433 (paint): Switch on painting mode.
434 * javax/swing/text/SimpleAttributeSet.java
435 (SimpleAttributeSet): Resist nulls.
436 * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
437 * javax/swing/tree/DefaultTreeModel.java: Partially implement.
439 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
441 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
442 Set pango context's description and language.
444 2004-11-30 Mark Wielaard <mark@klomp.org>
446 * java/awt/image/LookupOp.java: Comments and indentation fixes.
448 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
450 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
451 (getAccessibleContext): Implement.
453 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
455 * java/awt/TextComponent.java (AccessibleAWTTextComponent):
457 (getIndexAtPoint, getCharacterBounds): New methods.
459 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
461 * java/awt/Button.java (AccessibleAWTButton): Implement.
463 2004-11-30 Mark Wielaard <mark@klomp.org>
465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
466 (filenameFilterCallback): Made static.
468 2004-11-30 Michael Koch <konqueror@gmx.de>
470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
471 (cairoShowGlyphs) Removed.
473 2004-11-30 Sven de Marothy <sven@physto.se>
475 * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
476 Don't invert matrix when reverse CLUT is available.
477 * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
478 * java/awt/color/ICC_ColorSpace.java: Likewise.
479 * java/awt/color/ICC_Profile.java: Likewise.
480 * java/awt/color/ICC_ProfileGray.java: Likewise.
481 * java/awt/color/ICC_ProfileRGB.java: Likewise.
483 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
485 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
487 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
489 * java/awt/Choice.java (AccessibleAWTChoice): Implement.
491 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
493 * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
494 field hiding ComponentSampleModel.scanlineStride.
496 2004-11-30 Noa Resare <noa@resare.com>
498 * java/awt/geom/GeneralPath.java (currentSegment):
499 Fix typo in transform.transform() invocation.
501 2004-11-30 Sven de Marothy <sven@physto.se>
503 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
504 (createImage): Created bitmap should be filled with bg color
506 2004-11-30 Noa Resare <noa@resare.com>
508 * java/awt/Choice.java (add):
509 Implement correct selection behavior when peer == null.
513 2004-11-30 Mark Wielaard <mark@klomp.org>
515 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
516 Call select() when Choice has a selected item.
518 2004-11-30 Michael Koch <address@bogus.example.com>
520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
521 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
522 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
523 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
524 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
525 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
526 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
527 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
528 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
529 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
530 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
531 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
532 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
533 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
534 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
535 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
536 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
537 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
538 Fixed method names to start at begin of line. This is desired by GNU
541 2004-11-30 Michael Koch <konqueror@gmx.de>
543 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
544 (gtkWidgetSetVisible): Unused. Removed.
545 (connectJObject): Likewise.
546 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
547 (gtkScrolledWindowSetScrollPosition): Commented out.
549 2004-11-30 Mark Wielaard <mark@klomp.org>
551 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
552 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
553 renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
555 2004-11-30 Mark Wielaard <mark@klomp.org>
557 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
558 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
559 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
560 (init_dpi_conversion_factor): Correct prototype.
562 2004-11-30 Sven de Marothy <sven@physto.se>
564 * java/awt/image/ConvolveOp.java: Added missing
567 2004-11-30 Robert Schuster <theBohemian@gmx.net>
570 * gnu/java/beans/IntrospectionIncubator.java:
571 (addMethod): static methods are discarded now, too.
573 2004-11-30 Mark Wielaard <mark@klomp.org>
575 * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
577 * Makefile.in: Regenerated.
579 2004-11-30 Sven de Marothy <sven@physto.se>
581 * gnu/java/awt/color/CieXyzConverter.java,
582 gnu/java/awt/color/GrayScaleConverter.java,
583 gnu/java/awt/color/SrgbConverter.java,
584 gnu/java/awt/color/ClutProfileConverter.java,
585 gnu/java/awt/color/LinearRGBConverter.java,
586 gnu/java/awt/color/TagEntry.java,
587 gnu/java/awt/color/ColorLookUpTable.java,
588 gnu/java/awt/color/ProfileHeader.java,
589 gnu/java/awt/color/ToneReproductionCurve.java,
590 gnu/java/awt/color/ColorSpaceConverter.java,
591 gnu/java/awt/color/PyccConverter.java,
592 gnu/java/awt/color/GrayProfileConverter.java,
593 gnu/java/awt/color/RgbProfileConverter.java:
595 * java/awt/color/ICC_ColorSpace.java,
596 java/awt/color/ICC_Profile.java,
597 java/awt/color/ICC_ProfileGray.java,
598 java/awt/color/ICC_ProfileRGB.java:
599 Implemented (sans PhotoYCC color space).
601 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
603 * java/awt/image/AffineTransformOp.java (filter): Implement
604 bilinear interpolation for Rasters.
606 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
608 * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
609 use the provided colormap. Throw documented exceptions. Document
612 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
614 * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
617 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
619 * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
621 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
623 * java/awt/image/AffineTransformOp.java (filter): Implement Raster
626 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
628 * java/awt/image/ComponentSampleModel.java (getDataElements,
629 setDataElements): Implement SHORT, FLOAT, and INT transfer types.
631 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
633 * java/awt/Font.java (name): New field.
637 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
639 * java/awt/image/Raster.java (createBandedRaster): Implement.
641 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
643 * java/awt/image/ConvolveOp.java: New class.
644 * Makefile.am: Add ConvolveOp.
645 * Makefile.in: Regenerate.
647 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
649 * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
650 LookupOp, RescaleOp): Fix loop bounds.
652 2004-11-30 jlquinn <jlquinn@optonline.net>
654 * Makefile.am: Fix typo in BandCombineOp.
655 * Makefile.in: Regenerate.
657 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
659 * java/awt/image/BandCombineOp.java: New class.
660 * Makefile.am: Add BandCombineOp.
661 * Makefile.in: Regenerate.
663 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
665 * java/awt/image/LookupOp.java: New class.
666 * Makefile.am: Add LookupOp.
667 * Makefile.in: Regenerate.
669 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
671 * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
674 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
676 * java/awt/image/ColorModel.java (cloneColorModel): Fix line
677 wrap. Use Boolean.valueOf.
679 2004-11-30 Michael Koch <konqueror@gmx.de>
681 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
682 (releasePeerGraphicsResource): Fixed typo in method name.
683 * gnu/java/awt/peer/gtk/GdkFontPeer.java
684 (finalize): Fixed typo in releasePeerGraphicsResource.
686 2004-11-30 Michael Koch <konqueror@gmx.de>
688 * java/awt/font/TextAttribute.java
689 (RUN_DIRECTION_LTR): Initialie with static value instead of
691 (RUN_DIRECTION_RTL): Likewise.
692 (STRIKETHROUGH_ON): Likewise.
693 (SWAP_COLORS_ON): Likewise.
695 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
697 * java/awt/image/ColorConvertOp.java: New class.
698 * java/awt/image/ColorModel.java (cloneColorModel): New method.
699 * Makefile.am: Add ColorConvertOp.
700 * Makefile.in: Regenerate.
702 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
704 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
705 Track Window focus owner on FOCUS_GAINED events.
707 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
710 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
712 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
715 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
718 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
721 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
724 * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
727 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
728 to fix type punned pointer warning.
729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
733 (window_get_new_state): Introduce unions to fix warnings as above.
734 (window_property_changed_cb): Likewise.
735 (window_active_state_change_cb): Mark unused variables unused.
736 (window_focus_state_change_cb): Likewise.
737 (window_focus_in_cb): Likewise.
738 (window_focus_out_cb): Likewise.
740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
741 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
742 PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
744 2004-11-30 Michael Koch <konqueror@gmx.de>
746 * javax/swing/JMenuBar.java
747 (updateUI): Simplified.
748 * javax/swing/tree/DefaultTreeSelectionModel.java:
749 Reorganized import statements.
751 2004-11-30 Michael Koch <konqueror@gmx.de>
753 * java/awt/font/TextAttribute.java,
754 javax/swing/JComponent.java,
755 javax/swing/JInternalFrame.java,
756 javax/swing/table/TableColumn.java,
757 javax/swing/text/StyleConstants.java:
758 Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
760 2004-11-30 Michael Koch <konqueror@gmx.de>
762 * javax/swing/tree/DefaultTreeCellEditor.java,
763 javax/swing/tree/DefaultTreeModel.java,
764 javax/swing/tree/DefaultTreeSelectionModel.java:
767 2004-11-30 Michael Koch <konqueror@gmx.de>
769 * javax/swing/tree/DefaultTreeCellEditor.java
770 (EditorContainer.EditorContainer): Fixed arguments.
771 (EditorContainer.EditorContainer): New method.
772 (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
773 (DefaultTextField.getBorder): Implemented.
774 (listenerList): New field.
775 (addCellEditorListener): Implemented.
776 (removeCellEditorListener): Implemented.
777 (getCellEditorListeners): New method.
778 * javax/swing/tree/DefaultTreeModel.java
779 (addTreeModelListener): Fixed javadoc.
780 (removeTreeModelListener): Likewise.
781 (getTreeModelListeners): New method.
782 (fireTreeNodesChanged): Implemented.
783 (fireTreeNodesInserted): Likewise.
784 (fireTreeNodesRemoved): Likewise.
785 (fireTreeStructureChanged): Likewise.
786 (getListeners): Fixed javadoc.
787 * javax/swing/tree/DefaultTreeSelectionModel.java
788 (addTreeSelectionListener): Implemented.
789 (removeTreeSelectionListener): Likewise.
790 (fireValueChanged): Likewise.
791 (getListeners): Likewise.
792 (addPropertyChangeListener): Likewise.
793 (removePropertyChangeListener): Likewise.
794 (getTreeSelectionListeners): New method.
795 (getPropertyChangeListeners): Likewise.
797 2004-11-30 Michael Koch <konqueror@gmx.de>
799 * javax/swing/plaf/basic/BasicScrollBarUI.java
800 (maximumThumbSize): Removed static keyword.
801 (minimumThumbSize): Likewise.
802 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
803 (CloseAction): Made public.
804 (IconifyAction): Likewise.
805 (MaximizeAction): Likewise.
806 (MoveAction): Likewise.
807 (RestoreAction): Likewise.
808 (SizeAction): Likewise.
809 (SystemMenuBar): Likewise.
810 * javax/swing/plaf/basic/BasicSliderUI.java
811 (TrackListener): Likewise.
812 * javax/swing/plaf/basic/BasicSplitPaneUI.java
813 (KeyboardDownRightHandler): Likewise.
814 (KeyboardEndHandler): Likewise.
815 (KeyboardHomeHandler): Likewise.
816 (KeyboardResizeToggleHandler): Likewise.
817 (KeyboardUpLeftHandler): Likewise.
818 (PropertyHandler): Likewise.
819 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
820 (PropertyChangeHandler): Likewise.
821 (TabSelectionHandler): Likewise.
823 2004-11-30 Michael Koch <konqueror@gmx.de>
825 * javax/swing/text/JTextComponent.java
826 (getKeymap): Made public.
828 2004-11-30 Michael Koch <konqueror@gmx.de>
830 * javax/swing/JEditorPane.java
831 (getStream): Throws IOException.
833 * javax/swing/JRootPane.java
834 (createContentPane): Fixed return type.
835 * javax/swing/JSpinner.java
836 (commitEdit): Throws ParseException.
837 * javax/swing/plaf/metal/MetalLookAndFeel.java
838 (serialVersionUID): New field.
839 * javax/swing/table/TableColumn.java
840 (resizedPostingDisableCount): Added @deprecated tag.
841 (disableResizedPosting): Likewise.
842 (enableResizedPosting): Likewise.
843 * javax/swing/text/Document.java
844 (TitleProperty): Fixed value.
845 * javax/swing/tree/TreeCellEditor.java
846 (TreeCellEditor): Extends CellEditor.
848 2004-11-30 Michael Koch <konqueror@gmx.de>
850 * javax/swing/JWindow.java
851 javax/swing/SpinnerModel.java
852 javax/swing/Timer.java
853 javax/swing/event/MenuKeyEvent.java
854 javax/swing/plaf/basic/BasicButtonUI.java
855 javax/swing/plaf/basic/BasicIconFactory.java
856 javax/swing/plaf/basic/BasicTabbedPaneUI.java
857 javax/swing/text/AttributeSet.java
858 javax/swing/text/Highlighter.java
859 javax/swing/text/StyleConstants.java
860 javax/swing/tree/TreeCellEditor.java:
861 Removed redundant and reordered modifiers.
863 2004-11-30 Michael Koch <konqueror@gmx.de>
865 * javax/swing/plaf/basic/BasicToolTipUI.java:
866 Reformatted copyright header.
868 2004-11-30 Michael Koch <konqueror@gmx.de>
870 * javax/swing/AbstractAction.java,
871 javax/swing/AbstractButton.java,
872 javax/swing/AbstractCellEditor.java,
873 javax/swing/AbstractListModel.java,
874 javax/swing/AbstractSpinnerModel.java,
875 javax/swing/ActionMap.java,
876 javax/swing/BorderFactory.java,
877 javax/swing/Box.java,
878 javax/swing/ButtonModel.java,
879 javax/swing/CellEditor.java,
880 javax/swing/CellRendererPane.java,
881 javax/swing/DefaultBoundedRangeModel.java,
882 javax/swing/DefaultButtonModel.java,
883 javax/swing/DefaultCellEditor.java,
884 javax/swing/DefaultDesktopManager.java,
885 javax/swing/DefaultListCellRenderer.java,
886 javax/swing/DefaultListSelectionModel.java,
887 javax/swing/DefaultSingleSelectionModel.java,
888 javax/swing/GrayFilter.java,
889 javax/swing/InputMap.java,
890 javax/swing/JApplet.java,
891 javax/swing/JCheckBoxMenuItem.java,
892 javax/swing/JColorChooser.java,
893 javax/swing/JComboBox.java,
894 javax/swing/JComponent.java,
895 javax/swing/JDesktopPane.java,
896 javax/swing/JDialog.java,
897 javax/swing/JEditorPane.java,
898 javax/swing/JFileChooser.java,
899 javax/swing/JFormattedTextField.java,
900 javax/swing/JFrame.java,
901 javax/swing/JInternalFrame.java,
902 javax/swing/JLabel.java,
903 javax/swing/JLayeredPane.java,
904 javax/swing/JList.java,
905 javax/swing/JMenu.java,
906 javax/swing/JMenuBar.java,
907 javax/swing/JMenuItem.java,
908 javax/swing/JOptionPane.java,
909 javax/swing/JPanel.java,
910 javax/swing/JPasswordField.java,
911 javax/swing/JPopupMenu.java,
912 javax/swing/JRadioButtonMenuItem.java,
913 javax/swing/JRootPane.java,
914 javax/swing/JSpinner.java,
915 javax/swing/JSplitPane.java,
916 javax/swing/JTabbedPane.java,
917 javax/swing/JTable.java,
918 javax/swing/JTextArea.java,
919 javax/swing/JTextPane.java,
920 javax/swing/JToggleButton.java,
921 javax/swing/JToolBar.java,
922 javax/swing/JToolTip.java,
923 javax/swing/JTree.java,
924 javax/swing/JViewport.java,
925 javax/swing/ListModel.java,
926 javax/swing/LookAndFeel.java,
927 javax/swing/MenuSelectionManager.java,
928 javax/swing/ProgressMonitorInputStream.java,
929 javax/swing/RepaintManager.java,
930 javax/swing/RootPaneContainer.java,
931 javax/swing/ScrollPaneLayout.java,
932 javax/swing/SpringLayout.java,
933 javax/swing/SwingUtilities.java,
934 javax/swing/Timer.java,
935 javax/swing/ToolTipManager.java,
936 javax/swing/UIDefaults.java,
937 javax/swing/UIManager.java,
938 javax/swing/border/MatteBorder.java,
939 javax/swing/colorchooser/AbstractColorChooserPanel.java,
940 javax/swing/colorchooser/ColorSelectionModel.java,
941 javax/swing/colorchooser/DefaultColorSelectionModel.java,
942 javax/swing/colorchooser/DefaultHSBChooserPanel.java,
943 javax/swing/colorchooser/DefaultPreviewPanel.java,
944 javax/swing/colorchooser/DefaultRGBChooserPanel.java,
945 javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
946 javax/swing/event/AncestorEvent.java,
947 javax/swing/event/HyperlinkEvent.java,
948 javax/swing/event/InternalFrameEvent.java,
949 javax/swing/event/MenuDragMouseEvent.java,
950 javax/swing/event/TableColumnModelEvent.java,
951 javax/swing/event/TableModelEvent.java,
952 javax/swing/event/TreeExpansionEvent.java,
953 javax/swing/event/TreeModelEvent.java,
954 javax/swing/event/TreeSelectionEvent.java,
955 javax/swing/event/TreeWillExpandListener.java,
956 javax/swing/event/UndoableEditEvent.java,
957 javax/swing/filechooser/FileView.java,
958 javax/swing/plaf/BorderUIResource.java,
959 javax/swing/plaf/ComponentUI.java,
960 javax/swing/plaf/FileChooserUI.java,
961 javax/swing/plaf/IconUIResource.java,
962 javax/swing/plaf/ListUI.java,
963 javax/swing/plaf/PopupMenuUI.java,
964 javax/swing/plaf/SplitPaneUI.java,
965 javax/swing/plaf/TabbedPaneUI.java,
966 javax/swing/plaf/TextUI.java,
967 javax/swing/plaf/TreeUI.java,
968 javax/swing/plaf/basic/BasicArrowButton.java,
969 javax/swing/plaf/basic/BasicBorders.java,
970 javax/swing/plaf/basic/BasicButtonUI.java,
971 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
972 javax/swing/plaf/basic/BasicColorChooserUI.java,
973 javax/swing/plaf/basic/BasicComboBoxEditor.java,
974 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
975 javax/swing/plaf/basic/BasicComboBoxUI.java,
976 javax/swing/plaf/basic/BasicComboPopup.java,
977 javax/swing/plaf/basic/BasicDesktopIconUI.java,
978 javax/swing/plaf/basic/BasicDesktopPaneUI.java,
979 javax/swing/plaf/basic/BasicIconFactory.java,
980 javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
981 javax/swing/plaf/basic/BasicInternalFrameUI.java,
982 javax/swing/plaf/basic/BasicListUI.java,
983 javax/swing/plaf/basic/BasicLookAndFeel.java,
984 javax/swing/plaf/basic/BasicMenuBarUI.java,
985 javax/swing/plaf/basic/BasicMenuItemUI.java,
986 javax/swing/plaf/basic/BasicMenuUI.java,
987 javax/swing/plaf/basic/BasicOptionPaneUI.java,
988 javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
989 javax/swing/plaf/basic/BasicPopupMenuUI.java,
990 javax/swing/plaf/basic/BasicProgressBarUI.java,
991 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
992 javax/swing/plaf/basic/BasicRootPaneUI.java,
993 javax/swing/plaf/basic/BasicScrollBarUI.java,
994 javax/swing/plaf/basic/BasicSeparatorUI.java,
995 javax/swing/plaf/basic/BasicSliderUI.java,
996 javax/swing/plaf/basic/BasicSpinnerUI.java,
997 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
998 javax/swing/plaf/basic/BasicSplitPaneUI.java,
999 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1000 javax/swing/plaf/basic/BasicTableHeaderUI.java,
1001 javax/swing/plaf/basic/BasicTableUI.java,
1002 javax/swing/plaf/basic/BasicTextAreaUI.java,
1003 javax/swing/plaf/basic/BasicTextFieldUI.java,
1004 javax/swing/plaf/basic/BasicTextUI.java,
1005 javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
1006 javax/swing/plaf/basic/BasicToolBarUI.java,
1007 javax/swing/plaf/basic/BasicToolTipUI.java,
1008 javax/swing/plaf/basic/BasicTreeUI.java,
1009 javax/swing/plaf/basic/BasicViewportUI.java,
1010 javax/swing/plaf/basic/ComboPopup.java,
1011 javax/swing/table/AbstractTableModel.java,
1012 javax/swing/table/DefaultTableCellRenderer.java,
1013 javax/swing/table/DefaultTableColumnModel.java,
1014 javax/swing/table/DefaultTableModel.java,
1015 javax/swing/table/JTableHeader.java,
1016 javax/swing/table/TableCellEditor.java,
1017 javax/swing/table/TableCellRenderer.java,
1018 javax/swing/table/TableColumn.java,
1019 javax/swing/table/TableColumnModel.java,
1020 javax/swing/text/AbstractDocument.java,
1021 javax/swing/text/Caret.java,
1022 javax/swing/text/DefaultCaret.java,
1023 javax/swing/text/DefaultEditorKit.java,
1024 javax/swing/text/DefaultHighlighter.java,
1025 javax/swing/text/EditorKit.java,
1026 javax/swing/text/JTextComponent.java,
1027 javax/swing/text/LayeredHighlighter.java,
1028 javax/swing/text/PasswordView.java,
1029 javax/swing/text/SimpleAttributeSet.java,
1030 javax/swing/text/StyleConstants.java,
1031 javax/swing/text/StyleContext.java,
1032 javax/swing/text/StyledEditorKit.java,
1033 javax/swing/text/TextAction.java,
1034 javax/swing/text/View.java,
1035 javax/swing/tree/AbstractLayoutCache.java,
1036 javax/swing/tree/DefaultTreeCellRenderer.java,
1037 javax/swing/tree/DefaultTreeModel.java,
1038 javax/swing/tree/DefaultTreeSelectionModel.java,
1039 javax/swing/tree/FixedHeightLayoutCache.java,
1040 javax/swing/tree/TreeCellRenderer.java,
1041 javax/swing/tree/TreeSelectionModel.java,
1042 javax/swing/tree/VariableHeightLayoutCache.java,
1043 javax/swing/undo/AbstractUndoableEdit.java,
1044 javax/swing/undo/UndoableEditSupport.java:
1047 2004-11-30 Michael Koch <konqueror@gmx.de>
1049 * java/awt/Container.java,
1051 java/awt/font/TextLayout.java:
1054 2004-11-30 Michael Koch <konqueror@gmx.de>
1056 * javax/swing/AbstractButton.java
1057 (getLabel): Added @deprecated tag.
1058 (setLabel): Likewise.
1059 * javax/swing/FocusManager.java
1060 (disableSwingFocusManager): Likewise.
1061 (isFocusManagerEnabled): Likewise.
1062 * javax/swing/JComponent.java
1063 (isManagingFocus): Added version to @deprecated tag.
1064 (getNextFocusableComponent): Moved @deprecated tag to bottom of
1066 (getConditionForKeyStroke): Likewise.
1067 (getActionForKeyStroke): Likewise.
1068 * javax/swing/JDesktopPane.java
1069 (LIVE_DRAG_MODE): Added @specnote tag.
1070 (OUTLINE_DRAG_MODE): Likewise.
1071 * javax/swing/JInternalFrame.java
1072 (MENU_BAR_PROPERTY): Fixed value.
1073 (getMenuBar): Added @deprecated tag.
1074 (setMenuBar): Likewise.
1075 * javax/swing/JViewport.java
1076 (isBackingStoreEnabled): Likewise.
1077 (setBackingStoreEnabled): Likewise.
1078 * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1079 (closeKey): Likewise.
1080 (maximizeKey): Likewise.
1081 (minimizeKey): Likewise.
1082 (navigateKey): Likewise.
1083 (navigateKey2): Likewise.
1084 * javax/swing/plaf/basic/BasicInternalFrameUI.java
1085 (openMenuKey): Likewise.
1086 * javax/swing/plaf/basic/BasicSplitPaneUI.java
1087 (keyboardDownRightListener): Likewise.
1088 (keyboardEndListener): Likewise.
1089 (keyboardHomeListener): Likewise.
1090 (keyboardResizeToggleListener): Likewise.
1091 (keyboardUpLeftListener): Likewise.
1092 (dividerResizeToggleKey): Likewise.
1093 (downKey): Likewise.
1095 (homeKey): Likewise.
1096 (leftKey): Likewise.
1097 (rightKey): Likewise.
1099 (createKeyboardUpLeftListener): Likewise.
1100 (createKeyboardDownRightListener): Likewise.
1101 (createKeyboardHomeListener): Likewise.
1102 (createKeyboardEndListener): Likewise.
1103 (createKeyboardResizeToggleListener): Likewise.
1104 (getDividerBorderSize): Likewise.
1105 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1106 (downKey): Likewise.
1107 (leftKey): Likewise.
1108 (rightKey): Likewise.
1111 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1114 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1115 GTK_TEXT_VIEW macro.
1117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1118 (connect_awt_hook_cb): Mark unused variable unused.
1120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1124 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1125 the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1126 Remove unused var menu.
1127 (selection_changed): Remove unused value.
1129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1130 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1131 warning with using an intermediate variable.
1133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1134 (area_updated): Fix unused var warning for BE archs.
1136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1137 (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1139 (realize_cb): Mark unused variable unused.
1141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1142 (seek_glyphstring_idx): Fix a C90 warning.
1144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1145 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1146 Mark unused arguments unused.
1148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1149 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1150 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1151 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1152 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1155 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1156 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1157 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1161 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1163 (filenameFilterCallback): Remove unused var.
1164 (handle_response): Declare str_fileName and remove last else statement.
1166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1168 (nativeGetNumFontsFamilies) New function.
1169 (nativeGetFontFamilies) Likewise.
1170 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1171 (getAvailableFontFamilyNames): Implement.
1172 * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1173 * Makefile.in: Regenerate.
1175 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1177 * gnu/java/awt/peer/ClasspathFontPeer.java
1178 (setStandardAttributes(String,Map)): If size attribute doesn't
1179 exist, default to size 12. Clamp size value to a minimum of 1.
1181 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1183 * javax/swing/JDialog.java
1184 (decorated): Likewise.
1185 * javax/swing/JFrame.java
1186 (defaultLookAndFeelDecorated): Likewise.
1188 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1190 * javax/swing/plaf/basic/BasicToolBarUI.java
1191 (offset, regular): Made final.
1192 * javax/swing/plaf/basic/BasicScrollBarUI.java
1193 (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1194 POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1196 2004-11-30 Michael Koch <konqueror@gmx.de>
1198 * gnu/java/awt/BitwiseXORComposite.java,
1199 gnu/java/awt/ClasspathToolkit.java,
1200 gnu/java/awt/image/XBMDecoder.java,
1201 gnu/java/awt/peer/GLightweightPeer.java,
1202 gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1203 Reorganized import statements.
1205 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1207 * java/awt/Button.java
1208 (next_button_number): Removed useless initializer.
1209 * java/awt/Frame.java
1210 (next_frame_number): Likewise.
1211 * java/awt/Panel.java
1212 (next_panel_number): Likewise,
1213 * java/awt/Scrollbar.java
1214 (next_scrollbar_number): Likewise.
1215 * java/awt/TextArea.java
1216 (next_text_number): Likewise.
1218 2004-11-30 Michael Koch <konqueror@gmx.de>
1220 * java/awt/image/ByteLookupTable.java
1221 (ByteLookupTable) :Fixed HTML entities in javadocs.
1222 (lookupPixel): Fix case when dst is null.
1223 * java/awt/image/ShortLookupTable.java
1224 (ShortLookupTable) :Fixed HTML entities in javadocs.
1225 (lookupPixel): Fix case when dst is null.
1226 * java/awt/image/DataBufferByte.java,
1227 java/awt/image/DataBufferDouble.java,
1228 java/awt/image/DataBufferFloat.java,
1229 java/awt/image/DataBufferInt.java,
1230 java/awt/image/DataBufferShort.java,
1231 java/awt/image/DataBufferUShort.java:
1232 Fix initialization of bankData in constructors.
1234 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1236 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1237 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1238 (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1240 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1241 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1242 (setNativeBounds): Make package private. Set size request even
1243 if GTK parent is NULL.
1244 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1245 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1246 (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1248 2004-11-30 Mark Wielaard <mark@klomp.org>
1250 Workaround for bug #17952.
1251 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1252 (request_frame_extents): Check window->window != NULL.
1254 2004-11-30 Mark Wielaard <mark@klomp.org>
1256 * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1258 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1260 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1261 native_text_layout_state_table here.
1263 * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1265 2004-11-30 Mark Wielaard <mark@klomp.org>
1267 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1268 (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1269 Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1271 2004-11-30 Michael Koch <konqueror@gmx.de>
1273 * gnu/java/awt/peer/gtk/GtkToolkit.java:
1274 Merged import statements.
1276 2004-11-30 Michael Koch <konqueror@gmx.de>
1278 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1279 (isBufferedImageGraphics): Simplified.
1281 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
1283 * javax/swing/JTree.java
1284 (isRootVisible): Fixed typo in method name.
1285 * javax/swing/JScrollBar.java
1286 (setValues): Likewise.
1287 * javax/swing/JScrollPane.java
1288 (createScrollListener): Call JScrollBar.setValues.
1290 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1292 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1293 Don't call setParentAndBounds on GtkWindowPeers.
1295 * java/awt/Component.java (static): Don't set default keyboard
1297 * java/awt/KeyboardFocusManager.java
1298 (getCurrentKeyboardFocusManager): If current keyboard focus
1299 manager is null set a default.
1301 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1302 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1303 (gtkWidgetSetBackground): New method.
1304 (block_expose_events_cb): New function.
1305 (connectSignals): Block the AWT's expose event processing on
1306 button press and release.
1307 (gtkSetLabel): Set text on proper widget.
1308 (gtkWidgetModifyFont): Modify font on proper widget.
1309 (gtkWidgetSetBackground): Set normal, active and prelight
1311 (gtkWidgetSetForeground): Set forground colour of proper widget.
1312 (gtkActivate): Activate the correct widget.
1313 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1314 Only clear rectangle if the backing component is not an event
1316 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1317 (beginNativeRepaintID): New variable.
1318 (endNativeRepaintID): Likewise.
1319 (gtkInit): Initialize new fields with method IDs.
1320 * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1321 (endNativeRepaintID): Likewise.
1323 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1325 * javax/swing/JList.java (init): Revert accidental commit.
1327 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1328 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1329 Call initComponentGraphics or connectSignals depending on
1330 component's realization status.
1331 (realize_cb): New function.
1332 (initComponentGraphics): New method.
1333 (connectSignals): New method.
1334 (clipRect): Return immediately if component is not realized.
1335 (setClip): Likewise.
1336 (translate): Likewise.
1337 (drawImage variants): Return false immediately if component is
1339 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1340 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1341 (connectSignals): New method.
1342 (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1343 depending on component's realization status. Move other
1344 initialization calls to ...
1345 (initComponentGraphics2D): New method.
1346 (realize_cb): New function.
1347 (cairoSetMatrix): Return immediately if gr is NULL.
1348 (cairoNewPath): Likewise.
1349 (cairoRectangle): Likewise.
1350 (cairoClip): Likewise.
1351 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1352 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1353 (gtkWidgetRepaintArea): Remove method.
1354 (isRealized): New method.
1355 (GtkComponentPeer): Move setParent, connectJObject and setCursor
1356 calls to setParentAndBounds. Call setParentAndBounds.
1357 (setParentAndBounds): New method.
1358 (setComponentBounds): Return immediately if bounds are all zero.
1359 (repaint): Remove call to gtkWidgetRepaintArea. Return
1360 immediately if requested paint region is 0x0.
1361 (setCursor): New method.
1362 (gtkWidgetSetParent): Only set widget's parent if its parent is
1364 (setNativeBounds): Only set widget's bounds if it has a parent.
1365 (connectSignals): Don't call gtk_widget_realize. Connect
1366 "realize" signal to connect_awt_hook_cb handler.
1367 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1369 (beginValidate): Set isValidating true.
1370 (endValidate): Set parents and bounds for children first, then
1371 for this. Set isValidating false.
1372 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1373 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1374 (connectJObject): Remove method.
1375 (connectSignals): Don't call gtk_widget_realize.
1376 * gnu/java/awt/peer/gtk/GtkListPeer.java,
1377 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1378 (connectJObject): Remove method.
1379 (connectSignals): Don't call gtk_widget_realize.
1380 * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1381 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1382 (connectJObject): Remove method.
1383 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1384 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1385 (connectJObject): Remove method.
1386 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1387 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1388 (create): Don't call gtk_widget_realize.
1389 (connectJObject): Remove method.
1390 (connectSignals): Don't call gtk_widget_realize. Connect
1391 "realize" signal to connect_awt_hook_cb handler.
1392 (nativeSetBounds): Don't attempt to move GDK window if it is
1394 * java/awt/Container.java (addImpl): Don't call comp.addNotify
1395 if peer is not null.
1396 (validateTree): Create peers for all children before calling
1398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1399 (connectSignals): Don't call gtk_widget_realize.
1400 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1401 (connect_awt_hook_cb): New function.
1402 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1403 (initComponentGraphicsID): New variable.
1404 (initComponentGraphics2DID): Likewise.
1405 (setCursorID): Likewise.
1406 (gtkInit): Initialize new fields with method IDs.
1407 * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1409 (initComponentGraphics2DID): Declare extern.
1410 (setCursorID): Likewise.
1411 (connect_awt_hook_cb): Declare function.
1413 2004-11-30 Michael Koch <konqueror@gmx.de>
1415 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1416 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1417 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1418 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1419 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1420 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1421 gnu/java/awt/peer/gtk/GtkClipboard.java,
1422 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1423 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1424 gnu/java/awt/peer/gtk/GtkFontPeer.java,
1425 gnu/java/awt/peer/gtk/GtkListPeer.java,
1426 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1427 gnu/java/awt/peer/gtk/GtkToolkit.java,
1428 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1429 Import statements reworked. Some little reformattings.
1431 2004-11-30 Michael Koch <konqueror@gmx.de>
1433 * java/awt/image/AffineTransformOp.java
1434 (TYPE_BILINEAR): Initialize with 2.
1435 * java/awt/print/Printable.java: Jalopied.
1436 (PAGE_EXISTS): Initialize with 0;
1437 (NO_SUCH_PAGE): Initialized with 1.
1439 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1441 * Makefile.am: Add BufferedImageFilter.java.
1442 * Makefile.in: Regenerate.
1444 2004-11-30 Graydon Hoare <graydon@redhat.com>
1446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1447 (install_font_peer): Minor bug fixes to track cairo font semantics.
1449 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1451 * java/awt/image/BufferedImageFilter.java: Implement.
1453 2004-11-30 Graydon Hoare <graydon@redhat.com>
1456 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1457 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1458 (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1459 (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1460 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1461 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1462 (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1463 (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1464 (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1465 * Makefile.in: Regenerate.
1466 * gnu/awt/xlib/XToolkit.java
1467 (getClasspathTextLayoutPeer): Add stub.
1468 * gnu/java/awt/ClasspathToolkit.java
1469 (getClasspathTextLayoutPeer) Add.
1470 * gnu/java/awt/peer/ClasspathFontPeer.java
1472 (copySizeToAttrs): Make public.
1473 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1474 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1475 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1476 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1477 * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1478 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1479 * gnu/java/awt/peer/gtk/GdkGraphics.java
1480 (getFontPeer): New function.
1481 (drawString): Pass font peer to native side.
1482 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1485 (PainterThread): Remove.
1486 (GdkGraphics2D): Set hints during construction.
1491 (setRenderingHints): Reimplement normalization logic.
1493 (updateBufferedImage)
1494 (isBufferedImageGraphics)
1496 (drawImage): Make final.
1497 (drawImage): Always paint synchronously.
1499 (drawGlyphVector): Rewrite.
1500 (releasePeerGraphicResource)
1501 (getPeerTextMetrics)
1502 (getPeerFontMetrics)
1503 (drawGdkGlyphVector)
1505 (cairoDrawGdkGlyphVector)
1506 (cairoDrawGdkTextLayout)
1508 (getFontPeer): New functions.
1509 * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1510 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1511 (getFontMetrics): Get metrics via toolkit, to hit cache.
1512 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1513 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1514 * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1517 (imageCache): New members.
1520 (getClasspathFontPeer): Use caches.
1521 (getFontPeer): Route through getClasspathFontPeer.
1522 * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1523 * java/awt/font/TextLayout.java: Implement in terms of peer.
1524 * javax/swing/plaf/basic/BasicSliderUI.java
1525 (paintThumb): Use polyline rather than polygon.
1526 * javax/swing/plaf/basic/BasicGraphicsUtils.java:
1527 Update comment but, alas, still do not switch to using TextLayouts.
1528 * javax/swing/text/Utilities.java (drawTabbedText):
1529 Draw text run-at-a-time, not char-at-a-time.
1530 * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1536 incorporate brains of old GdkClasspathFontPeerMetrics.
1537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1538 incorporate brains of old GdkClasspathFontPeer.
1539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1541 (drawString): Rewrite to use persistent layout in peer font.
1542 Comment out extraneous gdk_flush calls.
1543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1545 (metrics_surface): New static variables.
1547 (install_font_peer): New helper functions.
1548 (releasePeerGraphicResource)
1549 (getPeerTextMetrics)
1550 (getPeerFontMetrics)
1551 (cairoDrawGdkTextLayout)
1552 (cairoDrawGdkGlyphVector): New native methods.
1553 (cairoDrawString): Rewrite, leaving layout-based version
1554 commented out for the time being.
1555 * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1557 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
1559 * java/awt/geom/AffineTransform.java:
1560 Fixed javadocs overall.
1562 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1564 * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1567 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1569 * java/awt/image/IndexColorModel.java: Fix use of immutable
1572 2004-11-30 Tom Tromey <tromey@redhat.com>
1574 * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1575 Renamed from 'messageIcon'.
1576 (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1578 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1580 * java/awt/image/RescaleOp.java: Fix formatting.
1582 2004-11-30 Olga Rodimina <rodimina@redhat.com>
1584 * javax/swing/plaf/basic/BasicComboPopup.java
1585 (SCROLL_DOWN): made final.
1586 (SCROLL_UP): made final.
1588 2004-11-30 Olga Rodimina <rodimina@redhat.com>
1590 * javax/swing/plaf/basic/BasicComboPopup.java:
1591 Added javadocs for undocumented fields.
1592 (show): scroll down to the selected item and
1593 highlight selected item.
1594 (startAutoScrolling): Implemented.
1595 (stopAutoScrolling): Implemented.
1596 (autoScrollUp): Implemented.
1597 (autoScrollDown): Implemented.
1598 (InvocationMouseHandler.mouseReleased): Implemented.
1599 (InvocationMouseMotionHandler.mouseDragged): Implemented.
1601 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1603 * java/awt/image/RescaleOp.java: Implement.
1605 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1607 * java/awt/image/IndexColorModel.java (getRGBs,
1608 convertToIntDiscrete): Implement.
1610 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1612 * java/awt/image/IndexColorModel.java: Add class docs.
1614 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1616 * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1619 2004-11-30 Michael Koch <konqueror@gmx.de>
1621 * java/awt/MenuBar.java,
1622 java/awt/peer/MenuBarPeer.java:
1623 Revert accidentally commited changes.
1625 2004-11-30 Michael Koch <konqueror@gmx.de>
1627 * java/awt/AWTKeyStroke.java,
1628 java/awt/Canvas.java,
1629 java/awt/CardLayout.java,
1630 java/awt/CheckboxMenuItem.java,
1631 java/awt/Component.java,
1632 java/awt/Container.java,
1633 java/awt/DefaultKeyboardFocusManager.java,
1634 java/awt/EventDispatchThread.java,
1635 java/awt/FileDialog.java,
1636 java/awt/FlowLayout.java,
1638 java/awt/Frame.java,
1639 java/awt/Graphics2D.java,
1640 java/awt/GraphicsEnvironment.java,
1641 java/awt/GridBagConstraints.java,
1642 java/awt/GridBagLayout.java,
1643 java/awt/GridLayout.java,
1644 java/awt/Image.java,
1645 java/awt/KeyboardFocusManager.java,
1646 java/awt/Label.java,
1648 java/awt/MediaTracker.java,
1650 java/awt/MenuBar.java,
1651 java/awt/MenuComponent.java,
1652 java/awt/Panel.java,
1653 java/awt/PopupMenu.java,
1654 java/awt/ScrollPane.java,
1655 java/awt/Scrollbar.java,
1656 java/awt/SystemColor.java,
1657 java/awt/TextArea.java,
1658 java/awt/TextField.java,
1659 java/awt/Toolkit.java,
1660 java/awt/Window.java,
1661 java/awt/color/ICC_Profile.java,
1662 java/awt/datatransfer/DataFlavor.java,
1663 java/awt/datatransfer/StringSelection.java,
1664 java/awt/datatransfer/SystemFlavorMap.java,
1665 java/awt/dnd/Autoscroll.java,
1666 java/awt/dnd/DropTarget.java,
1667 java/awt/dnd/DropTargetContext.java,
1668 java/awt/dnd/DropTargetDragEvent.java,
1669 java/awt/dnd/peer/DropTargetContextPeer.java,
1670 java/awt/event/AdjustmentEvent.java,
1671 java/awt/event/InputEvent.java,
1672 java/awt/event/InvocationEvent.java,
1673 java/awt/event/KeyEvent.java,
1674 java/awt/event/MouseEvent.java,
1675 java/awt/font/TextLayout.java,
1676 java/awt/geom/GeneralPath.java,
1677 java/awt/geom/Point2D.java,
1678 java/awt/im/InputContext.java,
1679 java/awt/im/spi/InputMethodContext.java,
1680 java/awt/image/AffineTransformOp.java,
1681 java/awt/image/BufferedImage.java,
1682 java/awt/image/ColorModel.java,
1683 java/awt/image/ComponentColorModel.java,
1684 java/awt/image/CropImageFilter.java,
1685 java/awt/image/DirectColorModel.java,
1686 java/awt/image/MemoryImageSource.java,
1687 java/awt/image/PackedColorModel.java,
1688 java/awt/image/PixelGrabber.java,
1689 java/awt/image/RasterOp.java,
1690 java/awt/peer/MenuBarPeer.java:
1691 Some fixes for checkstyle. Import statement and modifier order
1694 2004-11-30 Michael Koch <konqueror@gmx.de>
1696 * javax/swing/JTable.java
1697 (setModel): Reimplemented.
1699 2004-11-30 Michael Koch <konqueror@gmx.de>
1701 * javax/swing/JTextArea.java
1702 (append): Re-implemented.
1705 2004-11-30 Michael Koch <konqueror@gmx.de>
1707 * javax/swing/JSpinner.java
1708 (serialVersionUID): New static field.
1709 * javax/swing/JToggleButton.java
1710 (JToggleButton): Fixed email addresses.
1711 * javax/swing/SpinnerNumberModel.java
1712 (serialVersionUID): Added javadoc.
1714 2004-11-30 Michael Koch <konqueror@gmx.de>
1716 * javax/swing/JTextArea.java:
1717 Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1718 bug here which is fixed in HEAD ...
1720 2004-11-30 Andrew John Hughes <address@hidden>
1722 * javax/swing/JTextArea.java: Added additional
1725 2004-11-30 Andrew John Hughes <address@hidden>
1727 * javax/swing/JRadioButton.java:
1728 Implemented additional constructors and accessibility
1729 classes. Added documentation and fixed a typo in
1732 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1734 * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1735 missing constructor.
1737 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1739 * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1740 Implement missing 1.4 constructor.
1742 2004-11-30 Andrew John Hughes <address@hidden>
1744 * javax/swing/JToggleButton.java:
1745 Implemented additional constructors and accessibility
1746 classes. Added documentation and fixed a typo in
1749 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1751 * java/awt/image/ColorModel.java (getDataElement,
1752 getDataElements): Document since 1.4.
1754 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1756 * java/awt/image/BandedSampleModel.java: Implement.
1757 * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1758 * Makefile.in: Regenerated.
1760 2004-11-30 Michael Koch <konqueror@gmx.de>
1762 * java/awt/Window.java: Fixed whitespace difference with GNU
1765 2004-11-30 Mark Wielaard <mark@klomp.org>
1767 * Makefile.am: Add javax/swing/SpinnerListModel.java.
1768 * Makefile.in: Regenerated.
1770 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1772 * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1773 Implemented SpinnerListModel. Added documentation to
1776 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1779 (init_dpi_conversion_factor): Apply the patch from main correctly.
1780 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
1782 2004-11-30 Tom Tromey <tromey@redhat.com>
1785 * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
1786 (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
1787 * javax/swing/plaf/basic/BasicSplitPaneUI.java
1788 (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
1790 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1792 * java/awt/Canvas.java
1793 (AccessibleAWTCanvas): added serialization UID
1794 * java/awt/Label.java
1795 (AccessibleAWTLabel): added serialization UID
1796 * javax/swing/JRootPane.java
1797 (AccessibleJRootPane): added comment to existing UID
1798 * javax/swing/JSpinner.java
1799 (DefaultEditor): added serialization UID
1800 (NumberEditor): added serialization UID
1801 * javax/swing/text/html/HTML.java
1802 (UnknownTag): added serialization UID
1804 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1806 * javax/swing/JInternalFrame.java
1807 (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
1808 IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
1809 IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
1810 ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
1811 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1812 (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
1813 Made final as per API spec.
1815 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1817 * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
1819 2004-11-30 Sven de Marothy <sven@physto.se>
1821 * java/awt/geom/Arc2D.java: Reformatted.
1822 (setArc): Correct documentation to say 'upper left corner'.
1823 (setArcByTangent,contains,intersects): Implemented.
1824 (containsAngle): Corrected to handle negative extents.
1825 (ArcIterator): Set to private.
1826 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
1827 (intersects): Fix: Now checks the arc segment.
1828 (contains): Cleaned up.
1829 * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
1830 (contains): Implemented.
1831 (intersects): Implemented.
1832 * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
1833 * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
1834 document. Fully (re)implemented using separate xpoints and ypoints
1837 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1839 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1840 * configure: Regenerate.
1841 * include/config.h.in: Likewise.
1842 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1846 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1847 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1852 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
1854 * java/awt/SystemColor.java: Fix @link doc entries.
1856 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
1858 * java/awt/RenderingHints.java: Documented.
1859 (RenderingHints): Accept null init Map.
1860 (putAll): Preprocess map to generate appropriate exceptions.
1861 (remove): Cast object to Key and remove from hintMap.
1863 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1865 * java/awt/MenuComponent.java, java/awt/MenuBar.java:
1866 Implementation of accessibility classes and methods
1867 for these two components.
1869 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1871 * java/awt/KeyboardFocusManager.java:
1872 Added missing documentation.
1874 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1876 * java/awt/Label.java, java/awt/Canvas.java:
1877 Added accessibility classes to AWT Label and Canvas,
1878 as well as additional documentation for Canvas.
1880 2004-11-30 David Gilbert <address@bogus.example.com>
1882 * java/awt/image/DataBuffer.java: Update API documentation.
1883 * java/awt/image/DataBufferByte.java: Likewise.
1884 * java/awt/image/DataBufferDouble.java: Likewise.
1885 * java/awt/image/DataBufferFloat.java: Likewise.
1886 * java/awt/image/DataBufferInt.java: Likewise.
1887 * java/awt/image/DataBufferShort.java: Likewise.
1888 * java/awt/image/DataBufferUShort.java: Likewise.
1890 2004-11-30 Dalibor Topic <robilad@kaffe.org>
1892 * java/awt/Component.java (postEvent):
1893 Only delegate to parent if a parent exists.
1894 Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
1896 2004-11-30 Sven de Marothy <sven@physto.se>
1898 *java/awt/AWTEventMulticaster.java,
1899 java/awt/Adjustable.java,
1900 java/awt/Point.java,
1901 java/awt/Polygon.java,
1902 java/awt/Rectangle.java,
1903 java/awt/Shape.java,
1904 java/awt/geom/Area.java,
1905 java/awt/geom/Ellipse2D.java,
1906 java/awt/geom/PathIterator.java,
1907 java/awt/geom/Point2D.java,
1908 java/awt/geom/Rectangle2D.java,
1909 java/lang/Comparable.java,
1910 java/util/Arrays.java:
1911 Fixed documentation errors
1913 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1915 * java/awt/image/ComponentSampleModel.java: Add documentation.
1918 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1920 * java/awt/image/ComponentSampleModel.java (constructor):
1921 Initialize numBanks when figuring out the max bank index.
1923 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1925 * java/awt/image/Raster.java (createPackedRaster): Implement
1926 MultiPixelPackedSampleModel codepath.
1928 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1930 * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
1931 * Makefile.am: Add MultiPixelPackedSampleModel.java.
1932 * Makefile.in: Regenerate.
1934 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1936 * java/awt/image/Raster.java (getNumBands): Implement.
1938 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1940 * java/awt/image/Raster.java
1941 (createPackedRaster(int,int,int,int,int,Point)): Implement for
1944 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1946 * java/awt/image/SinglePixelPackedSampleModel.java
1947 (SinglePixelPackedSampleModel): Throw exception for unsupported
1950 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1952 * java/awt/image/ColorModel.java (getDataElement): Implemented.
1954 (getDataElements): Add missing version. Remove bogus version.
1957 2004-11-30 Olga Rodimina <rodimina@redhat.com>
1959 * javax/swing/plaf/basic/BasicComboBoxUI.java:
1960 (paintCurrentValue): Pass correct parameters to
1961 getListCellRendererComponent().
1962 (ListDataHandler.intervalRemoved): Implemented.
1963 (PropertyChangeHandler.propertyChange): Handle changes in
1964 MODEL_CHANGED_PROPERTY of the JComboBox
1965 * javax/swing/plaf/basic/BasicComboPopup.java:
1966 (BasicComboPopup): Moved code that configures popup to
1967 configurePopup() and call it instead.
1968 (firePopupMenuWillBecomeVisible): Implemented.
1969 (firePopupMenuWillBecomeInvisible): Likewise.
1970 (firePopupMenuCanceled): Likewise.
1971 (configureList): Set list's visibleRowCount same as
1972 comboBox's visibleRowCount.
1973 (configurePopup): Implemented.
1974 (getPopupHeightForRowCount): Get item's from JComboBox's model and
1975 not from model of the JList.
1976 (ListMouseMotionHandler.mouseMoved): Implemented.
1977 (PropertyChangeHandler.propertyChange): Handles change in the
1980 2004-11-30 Michael Koch <konqueror@gmx.de>
1982 * javax/swing/JComponent.java
1983 (isMaximumSizeSet): New method.
1984 (isMinimumSizeSet): Likewise.
1985 (isPreferredSizeSet): Likewise.
1987 2004-11-30 Michael Koch <konqueror@gmx.de>
1989 * javax/swing/JSpinner.java:
1991 (spinner): New field.
1992 (DefaultEditor): New method.
1993 (getSpinner): Likewise.
1994 (NumberEdito): Likewise.
1995 (getModel): Likewise
1997 2004-11-30 Michael Koch <konqueror@gmx.de>
1999 * javax/swing/InputVerifier.java:
2001 * javax/swing/JComponent.java
2002 (inputVerifier): New property field.
2003 (getInputVerifier): New method.
2004 (setInputVerifier): Likewise.
2006 2004-11-30 Michael Koch <konqueror@gmx.de>
2008 * javax/swing/JComponent.java
2009 (JComponent): Added javadoc comment.
2010 (setBorder): Fire property change eventr.
2011 (setEnabled): Likewise.
2012 (setMaximumSize): Likewise.
2013 (setMinimumSize): Likewise.
2014 (setPreferredSize): Likewise.
2015 (setOpaque): Likewise.
2017 2004-11-30 Michael Koch <konqueror@gmx.de>
2019 * javax/swing/JTextField.java
2020 (action): New field.
2021 (actionCommand): Likewise.
2022 (actionPropertyChangeListener): Likewise.
2023 (setHorizontalAlignment): Abort soon if new value == old value. Fire
2024 event before repainting.
2025 (postActionEvent): New method.
2026 (getAction): Likewise.
2027 (setAction): Likewise.
2028 (getActionCommand): Likewise.
2029 (setActionCommand): Likewise.
2030 (createActionPropertyChangeListener): Likewise.
2031 (configurePropertiesFromAction): Likewise.
2033 2004-11-30 Michael Koch <konqueror@gmx.de>
2035 * javax/swing/DebugGraphics.java:
2036 Re-formatted. Fixed some javadocs.
2037 * javax/swing/JApplet.java
2038 (rootPaneCheckingEnabled): Renamed from checking.
2039 * javax/swing/JCheckBox.java
2040 (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2041 * javax/swing/JFrame.java:
2042 Re-formatted a bit and reordered some methods.
2043 (rootPaneCheckingEnabled): Renamed from checking.
2044 (getPreferredSize): Simplified.
2045 * javax/swing/JTextArea.java
2046 (getColumnWidth): New method.
2047 (getLineCount): Likewise.
2048 (getLineStartOffset): Likewise.
2049 (getLineEndOffset): Likewise.
2050 (getLineOfOffset): Likewise.
2051 (getRowHeight): Likewise.
2053 (replaceRange): Likewise.
2054 * javax/swing/JTextField.java
2055 (scrollOffset): new field.
2056 (getScrollOffset): New method.
2057 (setScrollOffset): Likewise.
2058 (getColumnWidth): Likewise.
2059 * javax/swing/JTree.java
2060 (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2061 (CELL_EDITOR_PROPERTY): Likewise.
2062 (CELL_RENDERER_PROPERTY): Likewise.
2063 (EDITABLE_PROPERTY): Likewise.
2064 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2065 (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2066 (LARGE_MODEL_PROPERTY): Likewise.
2067 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2068 (ROOT_VISIBLE_PROPERTY): Likewise.
2069 (ROW_HEIGHT_PROPERTY): Likewise.
2070 (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2071 (SELECTION_MODEL_PROPERTY): Likewise.
2072 (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2073 (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2074 (TREE_MODEL_PROPERTY): Likewise.
2075 (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2076 (cellEditor): New field.
2077 (invokesStopCellEditing): Likewise.
2078 (largeModel): Likewise.
2079 (rowHeight): Likewise.
2080 (scrollsOnExpand): Likewise.
2081 (selectionModel): Likewise.
2082 (toggleClickCount): Likewise.
2083 (visibleRowCount): Likewise.
2084 (setShowsRootHandles): Fixed typo in method name.
2085 (getCellEditor): New method.
2086 (setCellEditor): Likewise.
2087 (getSelectionModel): Likewise.
2088 (setSelectionModel): Likewise.
2089 (getVisibleRowCount): Likewise.
2090 (setVisibleRowCount): Likewise.
2091 (isLargeModel): Likewise.
2092 (setLargeModel): Likewise.
2093 (getRowHeight): Likewise.
2094 (setRowHeight): Likewise.
2095 (getInvokesStopCellEditing): Likewise.
2096 (setInvokesStopCellEditing): Likewise.
2097 (getToggleClickCount): Likewise.
2098 (setToggleClickCount): Likewise.
2099 (getScrollsOnExpand): Likewise.
2100 (setScrollsOnExpand): Likewise.
2101 * javax/swing/table/DefaultTableColumnModel.java
2102 (addColumnModelListener): Fixed javadoc.
2103 (removeColumnModelListener): Implemented. Fixed javadoc.
2104 (getColumnModelListeners): New method.
2105 * javax/swing/table/JTableHeader.java
2106 (columnModel): Made protected.
2107 (draggedColumn): Likewise.
2108 (draggedDistance): Likewise.
2109 (reorderingAllowed): Likewise.
2110 (resizingAllowed): Likewise.
2111 (resizingColumn): Likewise.
2113 (updateTableInRealTime): Likewise.
2114 (createDefaultColumnModel): Renamed from
2115 createDefaultTableColumnModel.
2116 (setDefaultRenderer): New method.
2117 * javax/swing/table/TableColumn.java
2118 (getPropertyChangeListeners): New method.
2119 * javax/swing/text/DefaultHighlighter.java
2120 (drawsLayeredHighlights): New field.
2121 (getDrawsLayeredHighlights): New method.
2122 (setDrawsLayeredHighlights): Likewise.
2123 * javax/swing/text/DocumentFilter.java
2124 (FilterBypass): New inner class.
2125 (insertString): New method.
2127 (replace): Likewise.
2128 * javax/swing/text/JTextComponent.java
2129 (dragEnabled): New field.
2130 (getSelectedText): New method.
2131 (getDragEnabled): Likewise.
2132 (setDragEnabled): Likewise.
2133 (replaceSelection): Reimplemented.
2134 * javax/swing/text/NavigationFilter.java
2135 (FilterBypass): New inner class.
2136 (NavigationFilter): New method.
2137 (moveDot): Likewise.
2139 * javax/swing/text/SimpleAttributeSet.java
2140 (EMPTY): Made public final.
2142 2004-11-30 Michael Koch <konqueror@gmx.de>
2144 * javax/swing/SpinnerNumberModel.java
2145 (getMinimum): New method.
2146 (setMinimum): Likewise.
2147 (getMaximum): Likewise.
2148 (setMaximum): Likewise.
2149 (getStepSize): Likewise.
2150 (setStepSize): Likewise.
2152 2004-11-30 Michael Koch <konqueror@gmx.de>
2154 * javax/swing/JMenu.java
2155 (getMenuListeners): New method.
2156 (fireMenuSelected): Simplified.
2157 * javax/swing/JRootPane.java
2158 (NONE): New static field.
2160 (PLAIN_DIALOG): Likewise.
2161 (INFORMATION_DIALOG): Likewise.
2162 (ERROR_DIALOG): Likewise.
2163 (COLOR_CHOOSER_DIALOG): Likewise.
2164 (FILE_CHOOSER_DIALOG): Likewise.
2165 (QUESTION_DIALOG): Likewise.
2166 (WARNING_DIALOG): Likewise.
2167 (defaultButton): New field.
2168 (getDefaultButton): New method.
2169 (setDefaultButton): Likewise.
2170 * javax/swing/JScrollPane.java
2171 (getUI): New method.
2173 * javax/swing/JTable.java
2174 (getUI): Javadoc added.
2175 (setUI): New method.
2176 * javax/swing/JViewport.java
2177 (getUI): New method.
2179 * javax/swing/UIDefaults.java
2180 (removePropertyChangeListener): Made public.
2182 2004-11-30 Michael Koch <konqueror@gmx.de>
2184 * javax/swing/JApplet.java, javax/swing/JFrame.java:
2187 2004-11-30 Michael Koch <konqueror@gmx.de>
2189 * javax/swing/AbstractButton.java:
2190 Little re-formatting.
2191 (changeEvent): Made protected.
2192 (fireStateChanged): Removed argument.
2193 (setHorizontalAlignment): Abort method when old value is equal too new
2195 (setHorizontalTextPosition): Likewise.
2196 (setVerticalAlignment): Likewise.
2197 (setVerticalTextPosition): Likewise.
2198 (setBorderPainted): Likewise.
2199 (setIcon): Likewise.
2200 (setText): Likewise.
2201 (setIconTextGap): Likewise.
2202 (setMargin): Likewise.
2203 (setPressedIcon): Likewise.
2204 (setFocusPainted): Likewise.
2205 (setDisabledSelectedIcon): Likewise.
2206 (setRolloverIcon): Likewise.
2207 (setRolloverSelectedIcon): Likewise.
2208 (setSelectedIcon): Likewise.
2209 (setContentAreaFilled): Likewise.
2211 2004-11-30 Kim Ho <kho@redhat.com>
2213 * javax/swing/plaf/basic/BasicArrowButton.java:
2214 Jalopy. Reimplement.
2215 * javax/swing/plaf/basic/BasicScrollBarUI.java:
2217 (arrowIcon, upIcon, downIcon, leftIcon,
2218 rightIcon): Removed.
2219 (createIncreaseButton): Use BasicArrowButton.
2220 (createDecreaseButton): Ditto.
2221 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2222 (createRightOneTouchButton): Remove button border.
2223 (createLeftOneTouchButton): Ditto.
2225 2004-11-30 Michael Koch <konqueror@gmx.de>
2227 * javax/swing/JSpinner.java
2228 (setModel): New method.
2229 * javax/swing/SpringLayout.java
2230 (Constraints): May not be final.
2232 2004-11-30 Michael Koch <konqueror@gmx.de>
2234 * gnu/java/awt/peer/gtk/GtkClipboard.java,
2235 java/awt/datatransfer/Clipboard.java,
2236 java/awt/datatransfer/ClipboardOwner.java:
2237 Reformated to make it use our coding standard.
2239 2004-11-30 Michael Koch <konqueror@gmx.de>
2241 * javax/swing/SpinnerNumberModel.java
2242 (SpinnerNumberModel): Implements java.io.Serializable.
2243 (serialVersionUID): New field.
2244 (SpinnerNumberModel): Added missing @throws tags to javadocs.
2245 * javax/swing/UIManager.java
2247 (getBoolean): Likewise.
2248 (getBorder): Likewise.
2249 (getColor): Likewise.
2250 (getDimension): Likewise.
2251 (getFont): Likewise.
2252 (getIcon): Likewise.
2253 (getInsets): Likewise.
2255 (getString): Likewise.
2257 2004-11-30 Michael Koch <konqueror@gmx.de>
2259 * javax/swing/JPasswordField.java:
2260 Reformated. Implemented construtors.
2261 * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2262 (create): New method.
2263 * javax/swing/text/PlainView.java
2264 (selectedColor): Made package-private to allow access from sub-classes
2265 in same package too.
2266 (unselectedColor): Likewise.
2268 (drawSelectedText): Make protected.
2269 (drawUnselectedText): Likewise.
2270 * javax/swing/text/PasswordView.java: New file.
2271 * Makefile.am: Added javax/swing/text/PasswordView.java.
2272 * Makefile.in: Regenerated.
2274 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2276 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2278 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2280 (addHelpMenu): Elide call to nativeSetHelpMenu.
2281 * java/awt/Menu.java (isTearOff): Rename to tearOff.
2282 (menuSerializedDataVersion): Initialize to 1.
2283 (separatorLabel): Mark transient.
2284 (insert(MenuItem,int)): Implement.
2285 * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2287 (countMenus): Count help menu.
2288 * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2289 accessibleContext): Add fields.
2290 * java/awt/MenuItem.java: Remove event mask FIXME.
2291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2292 (gtkWidgetModifyFont): Only set font if label is non-NULL.
2293 (setLabel): Don't treat "-" specially.
2295 2004-11-30 Kim Ho <kho@redhat.com>
2297 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2298 (stateChanged): Only update the image and the track if
2299 the values are not being adjusted.
2300 (updateChooser): Grab the new mouse point from the
2301 spinner values. Update the image and track only if
2302 the values are not being adjusted.
2303 (getHSBValues): New method.
2304 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2305 (SliderHandler::stateChanged): Changed internalChange
2306 to updateChange. Set sliderChange.
2307 (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2308 (spinnerChange): New variable.
2309 (sliderChange): Ditto.
2310 (updateChange): Renamed from internalChange.
2311 (updateChooser): Do not update sliders if the sliders
2312 were the original source of the change. Ditto for spinners.
2313 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2314 (mousePress): Don't scroll the JViewport if there will
2315 be extra space at the end of the run. Change layout() to
2317 (calculateSize): Use the component's width/height unless
2318 it is smaller than the max tab width/height.
2319 (calculateTabRects): Subtract the tab run overlay.
2320 (rotateTabRuns): Don't rotate if there's only one run.
2321 (layoutContainer): Reuse the viewport point.
2322 (createLayoutManager): Set the viewport to use no layout.
2323 (paintTabArea): Don't paint the tabs that are not visible
2325 (paintContentBorderTopEdge): Check for scroll tab layout before
2327 (paintContentBorderLeftEdge): Ditto.
2328 (paintContentBorderBottomEdge): Ditto.
2329 (paintContentBorderRightEdge): Ditto.
2331 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2333 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2335 (gtkWidgetModifyFont): New method.
2336 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2337 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2338 (setMenuBarWidth): New method.
2339 (setBounds): Set the menu bar width.
2340 (postConfigureEvent): Set the menu bar width if the window's
2342 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2344 (setFont): New method.
2345 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2347 (setFont): Likewise.
2348 (GtkMenuComponentPeer): Call create and setFont.
2349 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2350 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2351 (connectSignals): Make package private.
2352 (gtkWidgetModifyFont): New method.
2354 (GtkMenuItemPeer): Don't call create.
2355 (setFont): New method.
2356 * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2358 * java/awt/Container.java (validateTree): Fix comment typos.
2359 * java/awt/MenuComponent.java (getFont): Return parent's font if
2361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2362 (create): Remove call to deprecated
2363 gtk_check_menu_item_set_show_toggle function.
2365 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
2367 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2368 (Almost everywhere): add LOG calls, fix, add comments.
2369 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2370 Add explicit check for LOCKED bit in slow case (PR 16662).
2371 (_Jv_MonitorExit): Add casts in debug-only code.
2372 Always release LOCKED bit before throwing exception.
2373 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2374 isn't. Handle easy cases without lock acquisition.
2375 (Object::wait): Use NotifyAll for lock inflation.
2377 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2379 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2380 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2381 (gtkFixedMove): Remove method.
2383 2004-11-30 Sven de Marothy <sven@physto.se>
2385 * java/awt/geom/Area.java: Implemented.
2387 2004-11-30 Mark Wielaard <mark@klomp.org>
2389 * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2391 2004-11-30 Sven de Marothy <sven@physto.se>
2393 * java/awt/geom/Arc2D.java
2395 (setArc): Correct documentation to say 'upper left corner'.
2396 (setArcByTangent,contains,intersects): Implemented.
2397 (containsAngle): Corrected to handle negative extents.
2398 (ArcIterator): Set to private.
2399 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2400 * java/awt/geom/Ellipse2D.java
2402 (contains,intersects): Implemented.
2403 * java/awt/geom/Line2D.java
2404 (linesIntersect): Correct handling of special cases.
2406 2004-11-30 Mark Wielaard <mark@klomp.org>
2408 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2409 Color.BLACK if c == null, don't create new Color object each time.
2410 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2412 (setColor): Use Color.BLACK when argument null.
2413 (setComposite): Set this.comp field.
2414 (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2415 (DrawState.comp): New private field.
2416 (DrawState.save): Save Composite.
2417 (DrawState.restore): Restore comp field.
2418 * java/awt/FontMetrics.java (gRC): New static final private field.
2419 (getLineMetrics(String, Graphics)): New method.
2420 (getLineMetrics(String, int, int, Graphics)): Likewise.
2421 (getLineMetrics(char[], int, int, Graphics)): Likewise.
2422 (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2423 * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2424 argument. PR SWING/17294.
2425 * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2426 the fall-back code since none of the TextArea methods are really
2427 implemented now. PR SWING/17296.
2428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2429 (GdkGlyphVector_setChars): Replace assert() with if block when
2430 pango_itemize() returns null. PR AWT/17295.
2431 (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2433 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2435 * Makefile.am (gtk_c_source_files): Add
2436 gnu_java_awt_peer_gtk_GtkFramePeer.c.
2437 * Makefile.in: Regenerate.
2438 * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2440 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2441 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2442 (create): Pack GtkButton in GtkEventBox.
2443 (connectJObject): Remove.
2444 (focus_in_cb): New function.
2445 (focus_out_cb): Likewise.
2446 (connectSignals): Connect focus-in-event and focus-out-event
2448 (gtkSetFont): Rename to ...
2449 (gtkWidgetModifyFont): New method.
2450 (gtkWidgetRequestFocus): New method.
2451 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2452 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2453 (gtkSetFont): Rename to ...
2454 (gtkWidgetModifyFont): New method.
2455 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2456 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2457 (isInRepaint): New field.
2458 (gtkSetFont): Remove method.
2459 (addExposeFilter): Likewise.
2460 (removeExposeFilter): Likewise.
2461 (gtkWidgetQueueDrawArea): Rename to ...
2462 (gtkWidgetRepaintArea): New method.
2463 (beginNativeRepaint): New method.
2464 (endNativeRepaint): New method.
2465 (setComponentBounds): Move implementation here from
2467 (paint): Remove implementation.
2468 (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2469 beginNativeRepaint and endNativeRepaint.
2470 (setBounds): Use menu bar height in bounds calculation.
2471 (postExposeEvent): Only post paint event if we're not doing a
2473 (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2474 (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2475 (find_gtk_layout): Remove function.
2476 (filter_expose_event_handler): Likewise.
2477 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2479 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2480 (setComponentBounds): Call GtkComponentPeer's
2482 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2484 (moveLayout): Rename to ...
2485 (gtkFixedMove): New method.
2486 (gtkLayoutSetVisible): Rename to ...
2487 (gtkFixedSetVisible): New method.
2488 (setMenuBar): Rearrange, to make the three separate cases
2490 (postExposeEvent): Only post paint event if we're not doing a
2492 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2493 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2494 (gtkWidgetModifyFont): New method.
2495 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2496 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2497 Call run directly, rather than spawning a new thread.
2498 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2500 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2501 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2503 (gtkWidgetModifyFont): New method.
2504 (create): Rename ebox to eventbox.
2505 * gnu/java/awt/peer/gtk/GtkListPeer.java,
2506 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2508 (gtkWidgetModifyFont): New method.
2509 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2510 (GtkMenuComponentPeer): Set the default font.
2511 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2512 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2513 (gtkSetFont): Rename to ...
2514 (gtkWidgetModifyFont): New method.
2515 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2516 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2517 * java/awt/Component.java (locale): Initialize to default
2519 * java/awt/Container.java (invalidateTree): Make
2521 (paint): Paint self first.
2522 (setMenuBar): Call invalidateTree.
2523 * java/awt/Panel.java (dispatchEventImpl): Remove method.
2524 * java/awt/Window.java (show): Call no-parameter variant of
2525 requestFocusInWindow.
2526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2527 Remove special case for window widget.
2528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2529 (grab_current_drawable): Likewise.
2530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2531 (create): Replace GtkLayout with GtkFixed.
2532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2533 (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2535 Move all GtkFramePeer native method implementations here from
2536 gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2538 Replace GtkLayout with GtkFixed.
2539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2540 (find_layout): Remove function.
2541 (create): Replace GtkLayout with GtkFixed.
2542 (connectSignals): Remove find_layout call.
2543 (toBack): Replace XFlush with gdk_flush.
2544 (toFront): Replace XFlush with gdk_flush.
2545 Move GtkFramePeer native method implementations to
2546 gnu_java_awt_peer_gtk_GtkFramePeer.c.
2547 * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2549 2004-11-30 Michael Koch <konqueror@gmx.de>
2551 * javax/swing/JTextArea.java
2552 (lineWrap): Renamed from "wrapping".
2553 (wrapStyleWord): NEw field.
2554 (getLineWrap): Re-edited javadoc comment.
2555 (setLineWrap): Likewise.
2556 (getWrapStyleWord): New method.
2557 (setWrapStyleWord): Likewise.
2559 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
2561 * configure: Regenerate for libtool change.
2563 2004-11-29 Tom Tromey <tromey@redhat.com>
2565 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2566 Recognize --help and --version.
2567 (usage): Mention gcj-dbtool. Added "out" argument.
2570 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
2572 * link.cc (link_symbol_table): Do not use intptr_t.
2574 2004-11-28 Mark Wielaard <mark@klomp.org>
2576 * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2577 XMLDecoder tests which currently don't compile.
2579 2004-11-27 Andrew Haley <aph@redhat.com>
2581 * link.cc (ensure_class_linked): Conditionally compile
2582 _Jv_IsInterpretedClass on INTERPRETER.
2583 (print_class_loaded): Likewise.
2584 (wait_for_state): Likewise.
2585 * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2586 * include/java-interp.h (ROUND): Remove.
2588 2004-11-25 Tom Tromey <tromey@redhat.com>
2590 * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2591 * java/lang/Class.h (_Jv_Linker): Declare.
2592 (Class): Fix names of friends.
2593 (_Jv_getInterfaceMethod): Declare.
2595 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2597 * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2598 variable libjava_ld_library_path.
2599 (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2601 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
2603 * java/util/ResourceBundle.java (BundleKey): Don't implement
2605 (BundleKey.clone): Removed.
2606 (getBundle): Copy BundleKey using constructor, not clone().
2608 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
2610 * configure: Regenerate for libtool reversion.
2612 2004-11-25 Michael Koch <konqueror@gmx.de>
2614 * Makefile.am: Added most of javax.print again.
2615 * Makefile.in: Regenerated.
2617 2004-11-25 Michael Koch <konqueror@gmx.de>
2619 * Makefile.am: Added most of javax.print again.
2620 * Makefile.in: Regenerated.
2622 2004-11-24 Tom Tromey <tromey@redhat.com>
2624 * Merged gcj-abi-2-dev-branch to trunk.
2626 2004-11-16 Tom Tromey <tromey@redhat.com>
2628 * include/java-interp.h (_Jv_DefineClass): Updated.
2629 * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2630 domain to class reader.
2631 * defineclass.cc (parse): Use print_class_loaded.
2632 Include ProtectionDomain.h.
2633 (_Jv_DefineClass): Added ProtectionDomain argument.
2634 (_Jv_ClassReader): Likewise.
2635 * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2636 * link.cc: Include CodeSource.h.
2637 (print_class_loaded): New function.
2638 (wait_for_state): Use it.
2640 2004-11-16 Andrew Haley <aph@redhat.com>
2642 * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2644 2004-11-16 Andrew Haley <aph@redhat.com>
2646 * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2647 * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2648 * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2649 * configure: Regenerate.
2650 * Makefile.in: Regenerate.
2652 2004-11-15 Andrew Haley <aph@redhat.com>
2654 * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2655 gc-allocated object.
2657 2004-11-15 Andrew Haley <aph@redhat.com>
2659 * java/net/URLClassLoader.java
2660 (URLLoader.getClassPath): New method.
2661 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2662 attribute and add URLs for each entry.
2663 (JarURLLoader.classPath): New field.
2664 (JarURLLoader.getClassPath): New method.
2665 (addURLImpl): Scan through the list of extraUrls in the new
2666 loader, adding them to our urlinfos.
2667 (definePackage, findURLResource, findResources): Use
2668 urlinfos.size(), not urls.size().
2670 2004-11-11 Tom Tromey <tromey@redhat.com>
2672 * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2674 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2676 (ensureSupersLinked): Declare.
2677 * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2680 2004-11-10 Tom Tromey <tromey@redhat.com>
2682 * gij.cc (main): Treat -verbose the same as -verbose:class.
2683 (help): Document -verbose and -verbose:class.
2685 * link.cc (verbose_class_flag): Declare.
2686 (wait_for_state): Print message when handling precompiled class.
2687 * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2689 2004-11-09 Tom Tromey <tromey@redhat.com>
2691 * testsuite/libjava.lang/assign2.out: New file.
2692 * testsuite/libjava.lang/assign2.java: New file.
2694 * java/lang/natRuntime.cc (insertSystemProperties): Set
2695 java.version to 1.4.2 and java.specification.version to 1.4. Set
2696 java.runtime.version.
2698 2004-11-08 Tom Tromey <tromey@redhat.com>
2700 * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2702 * link.cc (verify_type_assertions): Don't link supers.
2704 * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2705 * include/java-interp.h (class _Jv_InterpClass)
2706 <_Jv_PrepareMissingMethods>: No longer `friend'.
2707 * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2709 (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2710 _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2711 _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2712 _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2713 _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2714 * link.cc (search_method_in_class): Renamed from
2715 _Jv_SearchMethodInClass.
2716 (resolve_pool_entry): Updated.
2718 * include/jvm.h (_Jv_CheckAssignment): Removed.
2719 * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2721 2004-11-05 Tom Tromey <tromey@redhat.com>
2723 * link.cc (verify_type_assertions): Ensure classes have supers
2724 linked. Strip off array types first.
2726 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
2728 * link.cc: Include VerifyError.h.
2729 (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2730 in the type assertion table.
2731 * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2732 verify_type_assertions.
2733 * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2734 * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
2735 JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2736 assertion code values.
2737 (struct _Jv_TypeAssertion): Declare.
2738 (assertion_table): New class field.
2739 (verify): Remove class field.
2741 2004-11-05 Andrew Haley <aph@redhat.com>
2743 * Makefile.am: Move jv_dbtool.java to
2744 gnu/gcj/tools/gcj_dbtool/Main.java.
2745 * Makefile.in: Rebuild.
2746 * java/lang/VMCompiler.java: Rename property
2747 "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2748 * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2751 2004-11-05 Andrew Haley <aph@redhat.com>
2753 * jv_dbtool.java (main): Allow the user to specify the size of the
2754 database. Display the capacity and the size.
2755 (usage): Show the new option.
2757 2004-11-04 Tom Tromey <tromey@redhat.com>
2759 * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2760 * link.cc (make_vtable): Use correct index when searching for
2761 missing method's name. Don't use `flags'.
2762 (set_vtable_entries): Removed `flags' argument. Don't recurse
2764 (link_symbol_table): Ensure target class method table is
2765 complete. Ensure target fields are laid out before entering
2768 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2771 * interpret.cc (do_verify): Don't verify abstract methods.
2773 2004-11-01 Tom Tromey <tromey@redhat.com>
2775 * link.cc (wait_for_state): Call verify_class.
2777 * verify.cc (state::check_no_uninitialized_objects): Removed.
2778 (push_jump): Updated.
2779 (push_exception_jump): Likewise.
2780 (handle_ret_insn): Likewise.
2781 (handle_jsr_insn): Likewise.
2783 2004-10-28 Andrew Haley <aph@redhat.com>
2785 * gnu/gcj/runtime/PersistentByteMap.java: New file.
2786 * jv_dbtool.java: New file.
2787 * Makefile.am (bin_PROGRAMS): Add jv-dbtool
2788 (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
2789 (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
2790 * Makefile.in: Regenerate,
2791 * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
2792 Enumeration, StringTokenizer, Vector, PersistentByteMap.
2793 (precompiledMapFiles): New variable.
2794 (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
2795 initialize precompiledMapFiles.
2796 (compileClass): Look at the database of precompiled class files
2797 before firing up gcj.
2799 * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
2801 2004-10-27 Andrew Haley <aph@redhat.com>
2803 * java/lang/VMCompiler.java (compileClass): try looking for
2804 precompiledMapFiles.
2805 * gnu/gcj/runtime/PersistentByteMap.java: New file.
2807 2004-10-27 Tom Tromey <tromey@redhat.com>
2809 * link.cc (ensure_class_linked): Only resolve classes for
2811 (add_miranda_methods): Ensure interface supers are installed.
2812 (resolve_pool_entry): Better error message.
2814 2004-10-25 Tom Tromey <tromey@redhat.com>
2816 * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
2818 * java/util/ResourceBundle.java (tryBundle): Use
2819 Class.isAssignableFrom rather than catching ClassCastException.
2821 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
2822 exception if we hit EOF of `in'.
2823 (read): Handle case where inflating returns -1.
2825 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
2827 * gnu/java/text/SentenceBreakIterator.java
2828 (SentenceBreakIterator): Don't initialize `iter'.
2829 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
2831 * gnu/java/text/CharacterBreakIterator.java
2832 (CharacterBreakIterator): Don't initialize `iter'.
2833 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
2835 * java/text/BreakIterator.java: Updated documentation.
2837 2004-10-20 Tom Tromey <tromey@redhat.com>
2839 * java/util/ResourceBundle.java (tryBundle): Also ignore
2842 2004-10-18 Tom Tromey <tromey@redhat.com>
2844 * interpret.cc (do_post_miranda_hook): New method.
2845 * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
2847 (_Jv_CompiledEngine::do_post_miranda_hook): New method.
2848 (_Jv_CompiledEngine): Initialize new field.
2849 (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
2850 (_Jv_InterpreterEngine): Initialize new field.
2851 * link.cc (resolve_pool_entry): Put Miranda methods in target
2853 (ensure_method_table_complete): Call post_miranda_hook.
2854 * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
2856 * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
2857 (parse): Set class' aux_info here.
2859 * boehm.cc (_Jv_MarkObj): Mark `throws'.
2861 * boehm.cc: Re-merged with trunk.
2863 2004-10-18 Andrew Haley <aph@redhat.com>
2866 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2867 and correct logic used to find interpreter.
2869 2004-10-13 Andrew Haley <aph@redhat.com>
2871 * interpret.cc (_Jv_InterpMethod::run): Initialize
2872 _Jv_StartOfInterpreter.
2873 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2874 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2875 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2876 _Unwind_FindEnclosingFunction to discover whether PC is within the
2879 2004-10-13 Tom Tromey <tromey@redhat.com>
2881 * link.cc (find_iindex): Copy correct number of slots to new
2884 2004-10-12 Tom Tromey <tromey@redhat.com>
2886 * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
2888 (gcj_loader_test_one): Use it.
2889 (gcj_loader_run): Likewise.
2891 * prims.cc: Don't include FirstThread.h.
2893 2004-10-06 Tom Tromey <tromey@redhat.com>
2895 * link.cc (ensure_method_table_complete): Ensure superclass
2896 Miranda methods installed.
2898 * include/java-interp.h (class _Jv_JNIMethod): Added
2899 JV_MARKOBJ_DECL as a friend.
2900 * interpret.cc (ncode): Allocate jni_arg_types field with GC.
2901 * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
2902 interpreter method structures. Mark jni_arg_types of JNI
2905 * defineclass.cc (parse): Use JV_STATE_READ.
2906 * java/lang/Class.h (JV_STATE_READ): New enum value.
2908 2004-10-05 Tom Tromey <tromey@redhat.com>
2910 * link.cc (resolve_pool_entry): Add signature info to missing
2911 method's information.
2913 * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
2914 * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
2916 2004-10-04 Tom Tromey <tromey@redhat.com>
2918 * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
2921 2004-09-29 Tom Tromey <tromey@redhat.com>
2923 * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
2925 * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
2926 * jni.cc: Use _Jv_Linker.
2927 * interpret.cc: Use _Jv_Linker.
2928 * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
2929 * java/lang/natClassLoader.cc: Use _Jv_Linker.
2930 * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
2931 * java/lang/Class.h: Use _Jv_Linker.
2932 * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
2933 * resolve.cc: Renamed ...
2934 * link.cc: ... here. Use _Jv_Linker.
2935 * defineclass.cc (checkExtends): Use _Jv_Linker.
2937 2004-09-17 Tom Tromey <tromey@redhat.com>
2939 * defineclass.cc (handleCodeAttribute): Don't reference
2941 (handleMethodsEnd): Likewise.
2942 * include/java-interp.h (_Jv_MethodBase::deferred): Removed
2944 (_Jv_Defer_Resolution): Don't declare or define.
2945 * interpret.cc (do_create_ncode): Don't resolve deferred method
2947 * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
2948 * resolve.cc (link_symbol_table): No need to defer resolution.
2950 2004-09-14 Tom Tromey <tromey@redhat.com>
2952 * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
2953 (_Jv_MarkObj): Updated.
2954 (_Jv_MarkArray): Likewise.
2956 * include/jvm.h (StringClass): Removed.
2957 * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
2958 * interpret.cc (_Jv_InitField): Don't use StringClass.
2959 * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
2963 (_Jv_FinalizeString): Likewise.
2964 (_Jv_NewStringUtf8Const): Likewise.
2966 * prims.cc (JvConvertArgv): Don't use StringClass.
2968 * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
2969 * resolve.cc (ensure_fields_laid_out): Don't mention
2971 * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
2972 * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
2974 * java/lang/reflect/natField.cc (getType): Use resolve_field.
2975 * java/lang/natVMClassLoader.cc (resolveClass): New native
2977 (linkClass0): Removed.
2978 (markClassErrorState0): Likewise.
2979 * java/lang/natClassLoader.cc: Include execution.h. Moved class
2980 preparation code to resolve.cc.
2981 (_Jv_RegisterClassHookDefault): Set class's execution engine if
2983 (_Jv_FindClass): Use wait_for_state.
2984 (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
2985 * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
2986 Moved interface table and class preparation code to resolve.cc.
2987 (finalize): Rewrote.
2988 (initializeClass): Simplified locking and class preparation.
2989 * java/lang/VMClassLoader.java (linkClass0): Removed.
2990 (markClassErrorState0): Likewise.
2991 (resolveClass): Now native.
2992 (transformException): New method.
2993 * java/lang/Class.h (getSuperclass): Don't try to resolve super
2995 (getInterface): Likewise.
2997 (set_state): New method.
2998 (Class): Updated friend declarations.
2999 (verify): Field now private.
3000 (engine): New field.
3001 * include/jvm.h (class _Jv_Resolver): New class declaration.
3002 (_Jv_ResolveField): Removed declaration.
3003 (_Jv_CheckAccessNoInit): Likewise.
3004 (_Jv_isBinaryCompatible): Removed.
3005 * include/java-interp.h (class _Jv_MethodBase): Updated friend
3007 (class _Jv_InterpMethod): Likewise.
3008 (class _Jv_InterpClass): Likewise.
3009 (class _Jv_JNIMethod): Likewise.
3010 * include/execution.h: New file.
3011 * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
3012 (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
3013 Register class after setting fields.
3014 * resolve.cc: Include execution.h, VerifyError.h. Moved
3015 interpreter-specific code to interpret.cc.
3016 (uaddr): New location.
3017 (struct aligner): Likewise.
3018 (ALIGNOF): Likewise.
3019 (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
3020 (INITIAL_IFACES_LEN): Likewise.
3021 (null_idt): Likewise.
3022 (_Jv_GetMethodString): Likewise.
3023 (_Jv_ThrowNoSuchMethodError): Likewise.
3024 (_Jv_abstractMethodError): Likewise.
3025 (_Jv_Resolver::get_alignment_from_class): Renamed.
3026 (_Jv_Resolver::resolve_field): Likewise.
3027 (_Jv_Resolver::resolve_pool_entry): Likewise.
3028 (_Jv_Resolver::resolve_class_ref): Likewise.
3029 (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3030 (_Jv_Resolver::indexof): Likewise.
3031 (_Jv_Resolver::get_interfaces): Likewise.
3032 (_Jv_Resolver::generate_itable): Likewise.
3033 (_Jv_Resolver::append_partial_itable): Likewise.
3034 (_Jv_Resolver::find_iindex): Likewise.
3035 (_Jv_Resolver::link_symbol_table): Likewise.
3036 (_Jv_Resolver::link_exception_table): Likewise.
3037 (_Jv_Resolver::layout_interface_methods): Likewise.
3038 (_Jv_Resolver::layout_vtable_methods): Likewise.
3039 (_Jv_Resolver::set_vtable_entries): Likewise.
3040 (_Jv_Resolver::make_vtable): Likewise.
3041 (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3042 (_Jv_Resolver::ensure_class_linked): Likewise.
3043 (_Jv_Resolver::ensure_supers_installed): Likewise.
3044 (_Jv_Resolver::add_miranda_methods): Likewise.
3045 (_Jv_Resolver::ensure_method_table_complete): Likewise.
3046 (_Jv_Resolver::verify_class): Likewise.
3047 (_Jv_Resolver::wait_for_state): Likewise.
3048 * prims.cc (_Jv_soleCompiledEngine): New global.
3049 (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3050 (_Jv_CheckAccessNoInit): Removed.
3051 * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3052 * interpret.cc: Include platform.h, ClassFormatError.h,
3053 Modifier.h, execution.h.
3054 (_Jv_soleInterpreterEngine): New global.
3055 (compile): Use resolve_pool_entry.
3057 (_Jv_InitField): New location.
3058 (skip_one_type): Likewise.
3059 (get_ffi_type_from_signature): Likewise.
3060 (_Jv_count_arguments): Likewise.
3061 (init_cif): Likewise.
3062 (ncode_closure): Likewise.
3063 (ffi_closure_fun): Likewise.
3065 (throw_class_format_error): Likewise.
3066 (throw_class_format_error): Likewise.
3067 (_Jv_InterpreterEngine::do_verify): New method.
3068 (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3069 (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3070 (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3071 * defineclass.cc: Include execution.h.
3072 (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3074 (checkExtends): Ensure superclass has supers installed.
3075 (_Jv_ClassNameSamePackage): Clarify usage constraints.
3076 * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3077 (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
3080 2004-09-13 Tom Tromey <tromey@redhat.com>
3082 * mauve-libgcj: List some classes we don't have.
3084 2004-09-10 Andrew Haley <aph@redhat.com>
3086 * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3087 * java/lang/natClass.cc (initializeClass): Check itable.
3088 (_Jv_getInterfaceMethod): New.
3089 (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3090 Check that an interface method isn't called with invokevirtual.
3092 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3093 super_meth is virtual.
3095 2004-09-01 Tom Tromey <tromey@redhat.com>
3097 * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3098 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3099 _Jv_CheckAccessNoInit.
3100 * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3101 * prims.cc (_Jv_CheckAccessNoInit): New method.
3103 * java/lang/reflect/natMethod.cc (invoke): Check access against
3104 declaring class, not object's class.
3105 * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3107 (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3109 * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3112 2004-08-30 Andrew Haley <aph@redhat.com>
3114 * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3115 ClassNotFoundException.
3116 Throw NoClassDefFoundError.
3118 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3119 to klass->verify() from here ...
3120 (_Jv_PrepareCompiledClass): ...and put it here.
3122 2004-08-27 Andrew Haley <aph@redhat.com>
3124 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3126 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3127 (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3129 2004-08-27 Tom Tromey <tromey@redhat.com>
3131 * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3133 * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3134 (_Jv_IsAssignableFromSlow): New function.
3135 Include VerifyError.h.
3136 * include/jvm.h (_Jv_CheckAssignment): Declare.
3138 2004-08-18 Andrew Haley <aph@redhat.com>
3140 * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3141 argument. Pass it to findClass instead of fileName.
3142 (compileClass): Pass class name to loadSharedLibrary.
3144 2004-06-22 Andrew Haley <aph@redhat.com>
3146 * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3148 2004-06-15 Andrew Haley <aph@redhat.com>
3150 * java/lang/natSystem.cc (getenv0): Don't assume environment
3151 variable is Latin 1 coded.
3153 2004-06-07 Andrew Haley <aph@redhat.com>
3155 * java/lang/System.java: (getenv0): New method.
3156 (getenv): Add security check. Do the right thing.
3157 * java/lang/natSystem.cc (getenv0): New method.
3159 2004-04-19 Andrew Haley <aph@redhat.com>
3161 * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3164 * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3165 is returned as an int in the range 0 to 255.
3167 2004-08-13 Tom Tromey <tromey@redhat.com>
3169 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3170 class if it is interpreted.
3172 2004-08-12 Tom Tromey <tromey@redhat.com>
3174 * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3175 * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3176 (Class::getSuperclass): Updated.
3177 (Class::getInterfaces): Likewise.
3178 (Class::size): Updated.
3179 (_Jv_LayoutClass): Updated declaration.
3180 * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3181 Synchronize on class.
3182 (_Jv_LayoutClass): Changed interface.
3183 (initializeClass): Updated.
3184 (_Jv_LinkSymbolTable): Likewise.
3186 * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3188 * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3189 _Jv_isBinaryCompatible.
3190 * java/lang/natClass.cc (initializeClass): Use
3191 _Jv_isBinaryCompatible.
3192 (_Jv_LinkSymbolTable): Likewise.
3193 * include/jvm.h (_Jv_isBinaryCompatible): New function.
3195 2004-08-11 Tom Tromey <tromey@redhat.com>
3197 * gcj/javaprims.h: Regenerated.
3198 * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3199 (_registerClass): Likewise.
3200 * Makefile.in: Rebuilt.
3201 * Makefile.am (core_java_source_files): Added VMCompiler.
3202 * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3203 * java/lang/VMCompiler.java: New file.
3204 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3206 (copyFile): Don't use fully-qualified name.
3208 * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3209 (defineClass): Use VMCompiler.
3210 * java/lang/ClassLoader.java (defineClass): Removed jit
3211 compilation code and `verbose' code.
3212 (getClassLoader0): Removed.
3213 (_registerClass): Likewise.
3214 (SharedLibHelpers): Removed.
3216 2004-08-10 Tom Tromey <tromey@redhat.com>
3218 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3219 URL)): New constructor.
3220 (SoURLLoader): Likewise.
3221 (JarURLLoader): Create SoURLLoader with override URL.
3223 2004-08-10 Mark Wielaard <mark@klomp.org>
3225 * Makefile.in: Rebuilt.
3226 * Makefile.am (interpret.lo): New rule.
3228 2004-08-05 Andrew Haley <aph@redhat.com>
3230 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3231 aside for "GCJLIBS" in directory where jarfiles are loaded.
3232 (JarURLLoader.getClass): New method.
3233 (JarURLLoader.toString): New method.
3234 (FileResource.toString): New method.
3235 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3236 Remove "Duplicate class registration: " bug.
3237 (_registerClass): New method.
3238 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3239 (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3241 (_Jv_LayoutClass): Use getSuperclass() rather than directly
3242 accessing the field.
3243 * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3244 (defineClass): Call gcj to JIT-compile a class.
3245 (_registerClass): New method.
3246 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3247 library name can refer to more than one loaded library, so use a
3248 Set of SharedLibHelpers.
3249 If a shared library is already loaded, take a copy.
3250 (copyFile): New function.
3252 * testsuite/libjava.compile/compile.exp: Force
3253 -findirect-dispatch.
3255 * java/security/BasicPermission.java: Remove bogus checks.
3257 * java/lang/System.java (getenv0): New method.
3258 * java/lang/natSystem.cc (getenv0): New method.
3260 2004-05-24 Andrew Haley <aph@redhat.com>
3262 * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3264 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
3266 * Merged with HEAD as of 20040514. Diff against
3267 gcj-abi-2-merge-20040514.
3269 2004-04-16 Andrew Haley <aph@redhat.com>
3271 * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3273 (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3274 (_Jv_PrepareCompiledClass): If we throw an exception during
3275 preparation, restore state.
3276 (ClassLoader::getClassLoader0): New method.
3278 * java/lang/natClass.cc (get_alignment_from_class): Moved here
3280 (ALIGNOF): Use offsetof, not __alignof__.
3281 (_Jv_ResolveClassRef): Resolve a reference to a class in a
3283 (getInterfaces): Emit debug output if interface hasn't been
3285 (initializeClass): Call _Jv_LayoutClass.
3286 (_Jv_LinkSymbolTable): Add debugging output.
3287 (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3289 (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3290 (_Jv_LinkSymbolTable): Pass the real class loader to
3292 (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3294 (_Jv_LinkSymbolTable): Assert if we find a static field reference
3295 to an interpreted class.
3296 (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3298 (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3301 * java/lang/VMSecurityManager.java: Check for the system class
3302 loader as well as loader != null.
3304 * java/lang/SecurityManager.java (checkPermission): Remove
3306 (checkRead): Likewise.
3307 (checkConnect): Likewise.
3309 * java/lang/ClassLoader.java (loadClass): Include all class
3310 loaders in stack trace string.
3311 Look for class in "gcjlib.so" in the same directory.
3312 (getSystemClassLoader) Use getClassLoader0.
3313 (getClassLoader0): New native method.
3315 * java/lang/Class.h (getSuperclass): New method.
3316 (getInterface): New method.
3317 (size): Lay out class if needed.
3318 (firstMethodIndex): New method.
3319 (Jv_ResolveClassRef): New declaration.
3320 (_Jv_LinkSymbolTable): New declaration.
3322 * java/io/ObjectOutputStream.java: Add DEBUG statements
3324 (dumpElementln): New method.
3326 * java/io/ObjectInputStream.java (MyIOException): new, for
3328 Everywhere: use MyIOException rather than IOException.
3329 Indent debugging output to make nesting visible.
3330 (currentClassLoader): Make native
3331 (callersClassLoader): New field.
3333 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3336 (readObject): ENDBLOCKDATA is generated if the class has a write
3337 method, not if it has a read method.
3339 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3341 * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3342 getContextClassLoader form the current thread after our own class
3345 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3347 (toString): New method.
3349 * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3352 * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3353 a constant pool entry, resolve it now.
3354 (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3356 Move get_alignment_from_class to natClass.cc.
3358 * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3359 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3361 * defineclass.cc (checkExtends): Don't access superclass field
3364 * Makefile.in: regenerate.
3366 * gnu/gcj/util/natDebug.cc: New
3367 * gnu/gcj/util/Debug.java: New.
3369 * Makefile.am (java/io/ObjectInputStream.lo): Use
3370 -fno-optimize-sibling-calls.
3372 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3373 _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3375 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3377 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
3379 * configure: Regenerate for libtool change.
3381 2004-11-24 Michael Koch <konqueror@gmx.de>
3383 * gnu/java/security/PolicyFile.java: New file.
3384 * Makefile.am: Added gnu/java/security/PolicyFile.java.
3385 * Makefile.in: Regenerated.
3387 2004-11-24 Michael Koch <konqueror@gmx.de>
3389 * java/lang/Character.java, scripts/unicode-blocks.pl:
3390 Reorder "final static" to "static final".
3392 2004-11-24 Michael Koch <konqueror@gmx.de>
3394 * java/util/ResourceBundle.java: Reformatted.
3395 (tryBundle): Fixed javadoc.
3397 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
3399 * java/text/MessageFormat.java
3400 (formatInternal): Made private.
3402 2004-11-24 Michael Koch <konqueror@gmx.de>
3404 * java/nio/DirectByteBufferImpl.java
3405 (ReadWrite.ReadWrite): New constructor.
3406 (DirectByteBufferImpl): Likewise.
3407 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3408 Use DirectByteBufferImpl.ReadWrite.
3410 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3411 * Makefile.in: Rgenerated.
3413 2004-11-24 Jeroen Frijters <address@bogus.example.com>
3415 * java/nio/DirectByteBufferImpl.java
3416 (ReadOnly): New inner subclass.
3417 (ReadWrite): New inner subclass.
3418 (owner): Made final and private.
3419 (address): Made final.
3420 (DirectByteBufferImpl(int)): New constructor.
3421 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3422 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3423 (allocate): Modified to instantiate ReadWrite subclass.
3424 (finalize): Fixed to only free the buffer, if we own it.
3425 (put): Removed read-only check.
3426 (slice, duplicate): Modified to instantiate appropriate subclass.
3427 (isReadOnly): Removed.
3428 * java/nio/MappedByteBufferImpl.java
3429 (slice, duplicate): Modified to instantiate appropriate
3430 DirectByteBufferImpl subclass.
3432 2004-11-24 Michael Koch <konqueror@gmx.de>
3434 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3435 * java/nio/DirectByteBufferImpl.java:
3436 Moved native methods to java.nio.VMDirectByteBuffer class.
3437 * java/nio/MappedByteBufferImpl.java:
3438 Use native methods from java.nio.VMDirectByteBuffer class.
3439 * java/nio/VMDirectByteBuffer.java: New file,
3440 * java/nio/natDirectByteBufferImpl.cc:
3441 Moved all methods into java.nio.VMDirectByteBuffer class.
3442 * java/nio/channels/spi/AbstractSelectableChannel.java
3443 (register): Only re-use valid keys.
3444 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3445 * Makefile.in: Regenerated.
3447 2004-11-24 Michael Koch <konqueror@gmx.de>
3449 * java/nio/DirectByteBufferImpl.java,
3450 java/nio/MappedByteBufferImpl.java:
3453 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3455 * testsuite/lib/libjava.exp,
3456 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3458 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
3460 * configure.host: Enable the interpreter for mips*-*-linux*.
3462 2004-11-23 Michael Koch <konqueror@gmx.de>
3464 * java/lang/String.java (rehash): Removed.
3465 * java/lang/natString.cc (rehash): Made static.
3466 (_Jv_NewStringUtf8Const): Use static rehash method.
3468 2004-11-23 Michael Koch <konqueror@gmx.de>
3470 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3471 include/Makefile.in, testsuite/Makefile.in: Regenerated.
3473 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
3476 * configure.ac (threading): Accept 'posix95'.
3477 * configure: Regenerate.
3479 2004-11-22 Michael Koch <konqueror@gmx.de>
3481 * gnu/java/nio/SocketChannelImpl.java
3482 (read): Made check for blocking un-ambiguous.
3483 Removed wrong check for data array length.
3485 2004-11-21 Michael Koch <konqueror@gmx.de>
3487 * gnu/java/nio/SocketChannelImpl.java
3488 (read): Only return 0 when no bytes for reading available in
3490 * java/nio/channels/SocketChannel.java:
3491 Added some missing @return tags.
3493 2004-11-21 Michael Koch <konqueror@gmx.de>
3495 * java/beans/PropertyChangeSupport.java
3496 (propertyChangeSupportSerializedDataVersion): Made static.
3497 * java/beans/VetoableChangeSupport.java
3498 (propertyChangeSupportSerializedDataVersion): Likewise.
3500 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
3502 * java/net/URLStreamHandler.java
3503 (parseURL): Fixed file path canonicalisation.
3505 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
3507 * java/net/URLStreamHandler.java
3508 (parseURL): Fixed file path canonicalisation.
3510 2004-11-18 Michael Koch <konqueror@gmx.de>
3512 * java/net/URLClassLoader.java: Whitespace cleanup.
3514 2004-11-18 Robert Schuster <address@bogus.example.com>
3516 Complete 1.4 support
3517 * java/beans/PropertyDescriptor.java:
3518 (setReadMethod): New method
3519 (setWriteMethod): New method
3520 (equals): Implemented (1.4)
3521 (checkMethods): operates on arguments now (private)
3524 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
3526 * java/net/Inet6Address.java (getHostAddress): Fix textual
3527 representation of IPv6 address with embedded zeroes
3528 to conform to RFC 2373.
3530 2004-11-18 Jeroen Frijters <address@bogus.example.com>
3532 * java/lang/StackTraceElement.java: Made final.
3533 * java/nio/channels/Channels.java: Added private constructor.
3534 * java/rmi/Naming.java: Added private constructor.
3535 * java/rmi/registry/LocateRegistry.java: Added private constructor.
3536 * java/rmi/server/RMIClassLoader.java: Added private constructor.
3537 * java/security/KeyPairGeneratorSpi.java
3538 (clone): Made protected and simplified implementation.
3539 * java/text/DateFormat.java
3540 (allFields): Made package accessible.
3541 * java/text/DecimalFormat.java
3542 (formatInternal): Made private.
3543 * java/text/Format.java
3544 (formatInternal): Made private.
3545 * java/util/logging/Handler.java: Made constructor protected.
3546 * java/util/regex/Matcher.java: Made final.
3547 * java/util/regex/Pattern.java: Made final.
3548 * javax/crypto/CipherInputStream.java
3549 (mark): Corrected mark parameter type (from long to int).
3550 * javax/crypto/ExemptionMechanism.java
3552 * javax/crypto/Mac.java
3553 (getMacLength): Made final.
3554 (clone): Made final.
3555 * javax/imageio/ImageIO.java: Added private constructor.
3556 * javax/imageio/stream/ImageInputStreamImpl.java
3557 (checkClosed): Made final.
3558 * javax/net/ssl/SSLPermission.java: Made final.
3559 * javax/print/DocFlavor.java
3560 (hostEncoding): Added work-around to prevent the field from being
3561 a compile time constant.
3562 * javax/print/attribute/AttributeSetUtilities.java: Added private
3564 (UnmodifiableDocAttributeSet): Made private.
3565 (UnmodifiablePrintJobAttributeSet): Made private.
3566 (UnmodifiablePrintRequestAttributeSet): Made private.
3567 (UnmodifiablePrintServiceAttributeSet): Made private.
3568 (SynchronizedAttributeSet): Made private.
3569 (SynchronizedDocAttributeSet): Made private.
3570 (SynchronizedPrintJobAttributeSet): Made private.
3571 (SynchronizedPrintRequestAttributeSet): Made private.
3572 (SynchronizedPrintServiceAttributeSet): Made private.
3573 * javax/security/auth/PrivateCredentialPermission.java: Made final.
3575 2004-11-18 Craig Black <craig.black@aonix.com>
3577 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3579 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3581 * Makefile.am: Correct friend function declaration.
3582 * Makefile.in: Regenerated.
3583 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3584 scope to function names. Declare functions directly.
3585 * libjava/java/lang/Class.h
3586 (java::lang::Class): Correct friend class declaration.
3587 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3589 * libjava/java/lang/Class.h
3590 (java::lang::Object): Correct friend class declaration.
3592 2004-11-17 David Daney <ddaney@avtrex.com>
3594 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3596 2004-11-17 Michael Koch <konqueror@gmx.de>
3598 * java/net/Socket.java (getPort): Return 0 in error case.
3600 2004-11-17 Michael Koch <konqueror@gmx.de>
3602 * java/nio/DirectByteBufferImpl.java
3603 (owner): Updated comment.
3604 (allocate): New method.
3606 2004-11-17 Michael Koch <konqueror@gmx.de>
3608 * java/net/URL.java (URL): Handle case when argument is null.
3610 2004-11-17 Michael Koch <konqueror@gmx.de>
3612 * java/beans/Beans.java,
3613 java/beans/PropertyChangeEvent.java,
3614 java/beans/PropertyEditorSupport.java:
3617 2004-11-17 Michael Koch <konqueror@gmx.de>
3619 * java/util/Timer.java (DEFAULT_SIZE): Made static.
3621 2004-11-17 Michael Koch <konqueror@gmx.de>
3623 * java/net/InetAddress.java (getCanonicalHostName):
3624 Support IPv6 addresses.
3626 2004-11-16 Michael Koch <konqueror@gmx.de>
3628 * java/lang/Object.java: Added javadocs all over (merged from GNU
3631 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
3633 * java/security/Security.java (Security): Silence the warning about no
3634 providers found in the no debug case.
3636 2004-11-16 Michael Koch <konqueror@gmx.de>
3638 * java/net/InetAddress.java
3639 (toString): Merged from GNU classpath.
3641 2004-11-16 Michael Koch <konqueror@gmx.de>
3643 * java/awt/geom/doc-files/Area-1.png,
3644 java/awt/geom/doc-files/Ellipse-1.png,
3645 java/awt/geom/doc-files/GeneralPath-1.png:
3648 2004-11-16 Michael Koch <konqueror@gmx.de>
3650 * java/util/Currency.java (cache): Fix modifier order.
3652 2004-11-16 Michael Koch <konqueror@gmx.de>
3654 * java/io/BufferedReader.java,
3655 java/io/FileInputStream.java,
3656 java/io/FileOutputStream.java,
3657 java/io/FileWriter.java,
3658 java/io/OutputStreamWriter.java,
3659 java/io/PipedInputStream.java,
3660 java/io/PipedOutputStream.java,
3661 java/io/PipedReader.java,
3662 java/io/PipedWriter.java,
3663 java/io/PrintStream.java,
3664 java/io/PushbackInputStream.java,
3665 java/io/RandomAccessFile.java,
3666 java/io/Reader.java,
3667 java/io/StreamTokenizer.java,
3668 java/io/StringReader.java,
3669 java/net/NetworkInterface.java,
3670 java/net/URLClassLoader.java,
3671 java/nio/ByteOrder.java,
3672 java/nio/channels/Channel.java:
3673 Fixed javadocs all over.
3675 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
3677 * Makefile.am: Add imported files.
3678 * Makefile.in: Regenerate.
3680 2004-10-24 Casey Marshall <csm@gnu.org>
3682 * javax/security/auth/login/LoginContext.java: Implemented.
3683 * javax/security/auth/login/Configuration.java (getConfig): New method.
3684 * javax/security/auth/spi/LoginModule.java,
3685 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3687 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
3689 Import/Merge the X.509 certificate code from Classpath.
3691 * Makefile.am: Add imported files.
3692 * Makefile.in: Regenerate.
3694 2004-11-07 Casey Marshall <csm@gnu.org>
3696 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3697 priviliged action. Add new algorithms.
3698 * gnu/java/security/provider/X509CertificateFactory.java
3699 (engineGenerateCertificate): Chain exceptions.
3700 (engineGenerateCertificates): Likewise.
3701 (engineGenerateCRL): Likewise.
3702 (engineGenerateCRLs): Likewise.
3703 (engineGenerateCertPath): New methods.
3704 (generateCert): Throw exception if 'inStream' is null.
3705 (generateCRL): Likewise.
3706 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3707 version from GNU Crypto CVS.
3708 * gnu/java/security/x509/X509CRL.java: Likewise.
3709 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3710 * gnu/java/security/x509/X509Certificate.java: Likewise.
3711 * java/security/cert/TrustAnchor.java: Call 'toString' and not
3713 * gnu/java/security/provider/CollectionCertStoreImpl.java,
3714 * gnu/java/security/provider/EncodedKeyFactory.java,
3715 * gnu/java/security/provider/GnuDHPublicKey.java,
3716 * gnu/java/security/provider/GnuRSAPrivateKey.java,
3717 * gnu/java/security/provider/GnuRSAPublicKey.java,
3718 * gnu/java/security/provider/MD2withRSA.java,
3719 * gnu/java/security/provider/MD4withRSA.java,
3720 * gnu/java/security/provider/MD5withRSA.java,
3721 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3722 * gnu/java/security/provider/RSA.java,
3723 * gnu/java/security/provider/RSAKeyFactory.java,
3724 * gnu/java/security/provider/SHA1withRSA.java,
3725 * gnu/java/security/x509/GnuPKIExtension.java,
3726 * gnu/java/security/x509/PolicyNodeImpl.java,
3727 * gnu/java/security/x509/Util.java,
3728 * gnu/java/security/x509/X509CRLSelectorImpl.java,
3729 * gnu/java/security/x509/X509CertPath.java,
3730 * gnu/java/security/x509/X509CertSelectorImpl.java,
3731 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3732 * gnu/java/security/x509/ext/BasicConstraints.java,
3733 * gnu/java/security/x509/ext/CRLNumber.java,
3734 * gnu/java/security/x509/ext/CertificatePolicies.java,
3735 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3736 * gnu/java/security/x509/ext/Extension.java,
3737 * gnu/java/security/x509/ext/GeneralNames.java,
3738 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3739 * gnu/java/security/x509/ext/KeyUsage.java,
3740 * gnu/java/security/x509/ext/PolicyConstraint.java,
3741 * gnu/java/security/x509/ext/PolicyMappings.java,
3742 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3743 * gnu/java/security/x509/ext/ReasonCode.java,
3744 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3745 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3747 2004-11-07 Casey Marshall <csm@gnu.org>
3749 * gnu/java/security/x509/X509CRL.java:
3750 Missed import statements in previous checkin.
3752 2004-11-07 Casey Marshall <csm@gnu.org>
3754 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3755 to 'X509CertificateImpl' from previous checkin.
3757 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
3760 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3762 2004-11-11 Casey Marshall <csm@gnu.org>
3764 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3766 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3767 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3769 2004-11-11 Robert Schuster <thebohemian@gmx.net>
3772 * gnu/java/beans/IntrospectionIncubator.java:
3773 (addMethod): Corrected classification of normal and property methods.
3774 (capitalize): Added documentation.
3775 (DoubleKey): [class] Added documentation.
3777 2004-11-09 Tom Tromey <tromey@redhat.com>
3779 * include/jni.h: Added FIXME.
3781 2004-11-08 Tom Tromey <tromey@redhat.com>
3783 * java/util/GregorianCalendar.java: Removed unused imports.
3784 * java/util/Vector.java: Removed unused import.
3786 2004-11-07 Michael Koch <konqueror@gmx.de>
3788 * java/lang/Process.java:
3791 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
3793 * java/util/zip/ZipEntry.java
3794 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
3796 2004-11-07 Robert Schuster <theBohemian@gmx.net>
3799 * gnu/java/beans/IntrospectionIncubator.java:
3800 (addMethod): static methods are discarded now, too.
3802 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
3804 * java/util/GregorianCalendar.java
3805 Added/amended documentation.
3807 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
3809 * java/util/Collections.java
3810 Added documentation.
3811 * java/util/SortedMap.java
3812 Clarified some method examples.
3813 * java/util/SortedSet.java
3814 Clarified some method examples.
3816 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
3818 * java/util/Currency.java
3819 Documented variables and methods more fully.
3820 Caches the currency instances, so that a request
3821 for a locale, l, only ever returns the same
3822 instance (i.e. successive calls to getInstance(l)
3823 are reference equivalent (==)).
3825 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
3827 * java/util/Date.java
3828 Added missing documentation.
3830 2004-11-06 Michael Koch <konqueror@gmx.de>
3832 * java/util/zip/CheckedInputStream.java,
3833 java/util/zip/InflaterInputStream.java,
3834 java/util/zip/ZipFile.java,
3835 java/util/zip/ZipInputStream.java:
3838 2004-11-06 Tom Tromey <tromey@redhat.com>
3840 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
3842 (connections): Likewise.
3843 (scavenger): Likewise.
3844 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
3846 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
3849 * gnu/classpath/ServiceFactory.java (log): Now package-private.
3851 2004-11-06 Tom Tromey <tromey@redhat.com>
3853 * javax/naming/directory/BasicAttributes.java (attributes): Now
3855 * javax/imageio/spi/ServiceRegistry.java (categories): Now
3858 2004-11-06 Tom Tromey <tromey@redhat.com>
3860 * java/net/URLClassLoader.java (URLClassLoader): Now
3862 * java/nio/charset/CoderResult.java (CoderResult): Now
3865 (Cache): Likewise. Don't synchronize on `this'.
3866 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
3868 * java/util/TimeZone.java (timezones): Now package-private.
3870 2004-11-06 Tom Tromey <tromey@redhat.com>
3872 * java/security/Permissions.java (perms): Now package-private.
3873 * java/security/UnresolvedPermission.java (permissions): Now
3876 2004-11-06 Tom Tromey <tromey@redhat.com>
3878 * java/io/FilePermission.java: Reindented.
3880 2004-11-06 Tom Tromey <tromey@redhat.com>
3882 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
3884 (setBlockDataMode): Likewise.
3886 2004-11-06 Tom Tromey <tromey@redhat.com>
3888 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
3890 (Encoder): Likewise.
3891 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
3892 (Encoder): Likewise.
3893 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
3895 (Encoder): Likewise.
3897 2004-11-06 Mark Wielaard <mark@klomp.org>
3899 * Makefile.am: Add new javax.imageio files.
3900 * Makefile.in: Regenerated.
3902 2004-11-06 Michael Koch <konqueror@gmx.de>
3904 * javax/imageio/event/IIOReadProgressListener.java,
3905 javax/imageio/event/IIOReadUpdateListener.java,
3906 javax/imageio/event/IIOReadWarningListener.java,
3907 javax/imageio/event/IIOWriteProgressListener.java,
3908 javax/imageio/event/IIOWriteWarningListener.java,
3909 javax/imageio/metadata/IIOMetadataFormat.java,
3910 javax/imageio/stream/FileCacheImageInputStream.java,
3911 javax/imageio/stream/FileCacheImageOutputStream.java,
3912 javax/imageio/stream/ImageInputStreamImpl.java:
3914 * javax/imageio/metadata/package.html: New file.
3916 2004-11-06 Michael Koch <konqueror@gmx.de>
3918 * javax/imageio/spi/ImageReaderSpi.java
3919 (isOwnReader): New method.
3920 * javax/imageio/spi/ImageWriterSpi.java
3921 (isOwnWriter): Likewise.
3923 2004-11-06 Michael Koch <konqueror@gmx.de>
3925 * javax/imageio/ImageWriter.java
3926 (convertImageMetadata): New abstract method.
3927 (convertStreamMetadata): Likewise.
3929 * javax/imageio/stream/FileCacheImageInputStream.java
3930 (close): Fixed setting of stream to null.
3931 (checkStreamClosed): Throws IOException.
3933 2004-11-06 Michael Koch <konqueror@gmx.de>
3935 * javax/imageio/stream/FileCacheImageInputStream.java,
3936 javax/imageio/stream/FileCacheImageOutputStream.java,
3937 javax/imageio/stream/FileImageInputStream.java,
3938 javax/imageio/stream/FileImageOutputStream.java,
3939 javax/imageio/stream/MemoryCacheImageInputStream.java,
3940 javax/imageio/stream/MemoryCacheImageOutputStream.java:
3943 2004-11-06 Michael Koch <konqueror@gmx.de>
3945 * javax/imageio/metadata/IIOInvalidTreeException.java,
3946 javax/imageio/metadata/IIOMetadataFormatImpl.java,
3947 javax/imageio/metadata/IIOMetadataNode.java:
3950 2004-11-06 Michael Koch <konqueror@gmx.de>
3952 * javax/imageio/stream/ImageInputStreamImpl.java,
3953 javax/imageio/stream/ImageOutputStreamImpl.java:
3956 2004-11-06 Michael Koch <konqueror@gmx.de>
3958 * javax/imageio/ImageIO.java:
3959 Added much new methods.
3961 2004-11-06 Michael Koch <konqueror@gmx.de>
3963 * javax/imageio/ImageReader.java,
3964 javax/imageio/ImageWriter.java,
3965 javax/imageio/spi/ImageWriterSpi.java:
3966 Add SOME new methods.
3968 2004-11-06 Michael Koch <konqueror@gmx.de>
3970 * javax/imageio/IIOParam.java,
3971 javax/imageio/ImageReadParam.java,
3972 javax/imageio/ImageReader.java,
3973 javax/imageio/ImageWriter.java:
3975 * javax/imageio/spi/ImageReaderSpi.java,
3976 javax/imageio/spi/ImageWriterSpi.java:
3979 2004-11-06 Michael Koch <konqueror@gmx.de>
3981 * javax/imageio/ImageWriteParam.java,
3982 javax/imageio/metadata/IIOMetadataFormat.java:
3985 2004-11-06 Michael Koch <konqueror@gmx.de>
3987 * javax/imageio/ImageTypeSpecifier.java:
3990 2004-11-06 Michael Koch <konqueror@gmx.de>
3992 * javax/imageio/metadata/IIOMetadata.java:
3995 2004-11-06 Michael Koch <konqueror@gmx.de>
3997 * javax/imageio/IIOImage.java,
3998 javax/imageio/ImageReadParam.java,
3999 javax/imageio/metadata/IIOMetadataController.java,
4000 javax/imageio/metadata/IIOMetadataFormat.java:
4002 * javax/imageio/stream/ImageOutputStream.java:
4005 2004-11-06 Michael Koch <konqueror@gmx.de>
4007 * javax/imageio/IIOParam.java,
4008 javax/imageio/IIOParamController.java,
4009 javax/imageio/ImageTypeSpecifier.java,
4010 javax/imageio/ImageWriteParam.java,
4011 javax/imageio/metadata/IIOMetadata.java:
4013 * javax/imageio/ImageTranscoder.java:
4016 2004-11-06 Michael Koch <konqueror@gmx.de>
4018 * javax/imageio/spi/ImageInputStreamSpi.java,
4019 javax/imageio/spi/ImageOutputStreamSpi.java:
4020 Reworked import startments.
4021 * javax/imageio/spi/ServiceRegistry.java:
4022 Reworked import startments. Fixed XHTML in javadocs.
4023 (ServiceRegistry): Added @param tag to javadoc.
4024 * javax/imageio/stream/ImageInputStream.java
4025 (mark): Doesn't throws IOException;
4027 2004-11-06 Michael Koch <konqueror@gmx.de>
4029 * javax/imageio/ImageIO.java:
4032 2004-11-06 Michael Koch <konqueror@gmx.de>
4034 * javax/imageio/spi/IIORegistry.java
4035 (static): Don't register ImageReaderSpi.class and
4036 ImageWriterSpi.class yet.
4038 2004-11-06 Michael Koch <konqueror@gmx.de>
4040 * javax/imageio/spi/IIORegistry.java:
4043 2004-11-06 Noa Resare <noa@resare.com>
4045 * java/net/Socket.java (getPort): Return 0 instead of -1 on
4046 unconnected sockets.
4048 2004-11-06 Michael Koch <konqueror@gmx.de>
4050 * java/lang/StringBuffer.java,
4051 java/lang/Throwable.java,
4052 java/security/spec/DSAParameterSpec.java,
4053 java/util/zip/ZipEntry.java,
4054 java/util/zip/ZipFile.java,
4055 java/util/zip/ZipInputStream.java,
4056 java/util/zip/ZipOutputStream.java:
4057 Removed redundant and reordered modifiers.
4059 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
4061 * java/io/Vector.java
4062 (writeObject): New function to serialized output thread safe.
4064 * java/io/ObjectOutputStream.java
4065 (writeObject): Move the assignment of the class handle to after
4066 the assignment of class descriptor handle.
4068 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4070 Fixes documentation and indentation
4071 * java/beans/PropertyEditorSupport.java:
4072 reworked initial API doc
4073 (value): changed name from val
4075 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4078 * java/beans/PropertyEditorSupport.java
4079 (PropertyEditorSupport()): Changed modifier to public
4080 (PropertyEditorSupport(Object): Changed modifier to public
4081 (setSource): New method
4082 (getSource): New method
4084 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4087 * java/beans/PropertyEditorSupport.java
4088 (setValue): Fire property change event
4090 2004-11-03 Tom Tromey <tromey@redhat.com>
4092 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4093 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4094 returns jobjectArray.
4095 (_Jv_JNIEnv::NewObjectArray): Likewise.
4097 2004-11-01 Tom Tromey <tromey@redhat.com>
4099 * verify.cc (state::check_no_uninitialized_objects): Removed.
4100 (push_jump): Updated.
4101 (push_exception_jump): Likewise.
4102 (handle_ret_insn): Likewise.
4103 (handle_jsr_insn): Likewise.
4105 2004-10-30 Mark Wielaard <mark@klomp.org>
4108 * java/lang/Runtime.java (static): Call init().
4109 (Runtime): Remove call to init().
4110 (init): Make static.
4112 2004-10-28 David Daney <ddaney@avtrex.com>
4114 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4115 * Makefile.am: Build it.
4116 * Makefile.in: Regenerate.
4118 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
4121 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
4123 * Makefile.in: Regenerate.
4124 * configure: Regenerate.
4125 * configure.ac (CLASSPATH_SEPARATOR): Define.
4126 * gcj/Makefile.in: Regenerate.
4127 * include/Makefile.in: Regenerate.
4128 * testsuite/Makefile.in: Regenerate.
4129 * testsuite/lib/libjava.exp (libjava_arguments): Fix
4130 CLASSPATH separator handling for Windows.
4132 2004-10-26 Michael Koch <konqueror@gmx.de>
4134 * gnu/java/net/protocol/http/Connection.java
4135 (getOutputStream): Implicitely switch to POST method.
4137 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
4139 * libjava/java/lang/Class.h
4140 (java::lang::Class): Correct friend class declaration.
4142 2004-10-25 Geoffrey Keating <geoffk@apple.com>
4144 * Makefile.am (DARWIN_CRT_SRC): New.
4145 (libgcj_la_SOURCES): Use it.
4146 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4147 * darwin.cc: New file.
4148 * include/jvm.h (_Jv_RegisterClasses): Constify.
4149 (_Jv_RegisterClasses_Counted): New prototype.
4150 * java/lang/Class.h: Include stddef.h.
4151 (_Jv_RegisterClasses): Constify.
4152 (_Jv_RegisterClasses_Counted): New prototype.
4153 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4154 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4155 (_Jv_RegisterClasses_Counted): New function.
4156 * configure: Regenerate.
4157 * Makefile.in: Regenerate.
4158 * gcj/Makefile.in: Regenerate.
4159 * include/Makefile.in: Regenerate.
4160 * testsuite/Makefile.in: Regenerate.
4162 2004-10-25 Tom Tromey <tromey@redhat.com>
4164 * java/util/ResourceBundle.java (tryBundle): Use
4165 Class.isAssignableFrom rather than catching ClassCastException.
4167 2004-10-25 Tom Tromey <tromey@redhat.com>
4169 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4171 * gnu/java/text/SentenceBreakIterator.java
4172 (SentenceBreakIterator): Don't initialize `iter'.
4173 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4175 * gnu/java/text/CharacterBreakIterator.java
4176 (CharacterBreakIterator): Don't initialize `iter'.
4177 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4179 * java/text/BreakIterator.java: Updated documentation.
4181 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
4184 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4186 2004-10-23 Michael Koch <konqueror@gmx.de>
4188 * javax/print/DocFlavor.java,
4189 javax/print/attribute/standard/JobStateReason.java,
4190 javax/print/attribute/standard/MultipleDocumentHandling.java:
4191 Added missing constants.
4193 2004-10-22 Tom Tromey <tromey@redhat.com>
4195 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4198 2004-10-22 Michael Koch <konqueror@gmx.de>
4201 * gnu/java/net/protocol/http/Connection.java
4202 (sendRequest): Handle case when url.getFile() returns an empty string.
4204 2004-10-22 Michael Koch <konqueror@gmx.de>
4206 * java/lang/Math.java,
4207 java/lang/StackTraceElement.java,
4208 java/nio/Buffer.java,
4209 java/nio/ByteBuffer.java,
4210 java/nio/CharBuffer.java,
4211 java/nio/DoubleBuffer.java,
4212 java/nio/FloatBuffer.java,
4213 java/nio/IntBuffer.java,
4214 java/nio/LongBuffer.java,
4215 java/nio/ShortBuffer.java,
4216 java/nio/charset/Charset.java,
4217 java/rmi/server/RMIClassLoader.java,
4218 java/rmi/server/RMISocketFactory.java,
4219 java/security/Policy.java,
4220 java/text/ChoiceFormat.java,
4221 java/text/CollationElementIterator.java,
4222 java/text/DateFormat.java,
4223 java/text/DecimalFormat.java,
4224 java/text/DecimalFormatSymbols.java,
4225 java/text/MessageFormat.java,
4226 java/text/NumberFormat.java,
4227 java/text/RuleBasedCollator.java,
4228 java/text/SimpleDateFormat.java,
4229 java/util/BitSet.java,
4230 java/util/Calendar.java,
4231 java/util/Collections.java,
4232 java/util/IdentityHashMap.java,
4233 java/util/Locale.java,
4234 java/util/TreeMap.java,
4235 java/util/logging/LogRecord.java,
4236 java/util/logging/XMLFormatter.java,
4237 java/util/prefs/AbstractPreferences.java,
4238 java/util/prefs/Preferences.java,
4239 javax/crypto/interfaces/DHPrivateKey.java,
4240 javax/crypto/interfaces/DHPublicKey.java,
4241 javax/crypto/interfaces/PBEKey.java,
4242 javax/net/ssl/HandshakeCompletedEvent.java,
4243 javax/security/auth/Subject.java:
4244 Removed redundant and reordered modifiers.
4246 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
4248 * gnu/java/net/natPlainSocketImplPosix.cc
4249 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4250 with 'int *' argument instead of 'long *'.
4252 2004-10-21 Michael Koch <konqueror@gmx.de>
4254 * java/net/NetworkInterface.java,
4255 java/text/Format.java,
4256 javax/security/auth/x500/X500Principal.java,
4257 javax/security/auth/x500/X500PrivateCredential.java,
4258 javax/security/cert/X509CertBridge.java,
4259 javax/security/sasl/Sasl.java,
4260 javax/sql/XAConnection.java:
4263 2004-10-21 Michael Koch <konqueror@gmx.de>
4265 * javax/net/ssl/HandshakeCompletedEvent.java,
4266 javax/net/ssl/KeyManagerFactory.java,
4267 javax/net/ssl/SSLContext.java,
4268 javax/net/ssl/SSLServerSocketFactory.java,
4269 javax/net/ssl/SSLSession.java,
4270 javax/net/ssl/SSLSocketFactory.java,
4271 javax/net/ssl/TrustManagerFactory.java:
4274 2004-10-21 Michael Koch <konqueror@gmx.de>
4276 * javax/naming/directory/BasicAttribute.java,
4277 javax/naming/directory/BasicAttributes.java,
4278 javax/naming/directory/InitialDirContext.java,
4279 javax/naming/event/NamingEvent.java,
4280 javax/naming/ldap/ControlFactory.java,
4281 javax/naming/ldap/ExtendedRequest.java,
4282 javax/naming/ldap/InitialLdapContext.java,
4283 javax/naming/ldap/LdapReferralException.java,
4284 javax/naming/spi/DirObjectFactory.java,
4285 javax/naming/spi/DirStateFactory.java,
4286 javax/naming/spi/DirectoryManager.java,
4287 javax/naming/spi/InitialContextFactory.java,
4288 javax/naming/spi/InitialContextFactoryBuilder.java,
4289 javax/naming/spi/NamingManager.java,
4290 javax/naming/spi/ObjectFactory.java,
4291 javax/naming/spi/ObjectFactoryBuilder.java,
4292 javax/naming/spi/StateFactory.java:
4295 2004-10-21 Michael Koch <konqueror@gmx.de>
4297 * javax/crypto/Cipher.java,
4298 javax/crypto/EncryptedPrivateKeyInfo.java,
4299 javax/crypto/ExemptionMechanism.java,
4300 javax/crypto/KeyAgreement.java,
4301 javax/crypto/KeyGenerator.java,
4302 javax/crypto/Mac.java,
4303 javax/crypto/SecretKeyFactory.java,
4304 javax/crypto/SecretKeyFactorySpi.java,
4305 javax/crypto/spec/SecretKeySpec.java:
4308 2004-10-21 Michael Koch <konqueror@gmx.de>
4310 * java/security/AlgorithmParameterGenerator.java,
4311 java/security/AlgorithmParameters.java,
4312 java/security/AlgorithmParametersSpi.java,
4313 java/security/AllPermission.java,
4314 java/security/BasicPermission.java,
4315 java/security/Certificate.java,
4316 java/security/CodeSource.java,
4317 java/security/DigestInputStream.java,
4318 java/security/DigestOutputStream.java,
4319 java/security/GuardedObject.java,
4320 java/security/KeyFactory.java,
4321 java/security/KeyFactorySpi.java,
4322 java/security/KeyPairGenerator.java,
4323 java/security/KeyStore.java,
4324 java/security/KeyStoreSpi.java,
4325 java/security/Permissions.java,
4326 java/security/Security.java,
4327 java/security/Signature.java,
4328 java/security/UnresolvedPermission.java,
4329 java/security/cert/CertPathBuilder.java,
4330 java/security/cert/CertPathValidator.java,
4331 java/security/cert/CertStore.java,
4332 java/security/cert/Certificate.java,
4333 java/security/cert/CertificateFactory.java,
4334 java/security/cert/PolicyQualifierInfo.java,
4335 java/security/cert/TrustAnchor.java,
4336 java/security/cert/X509CRL.java,
4337 java/security/cert/X509CRLSelector.java,
4338 java/security/cert/X509CertSelector.java:
4341 2004-10-21 Michael Koch <konqueror@gmx.de>
4343 * java/rmi/MarshalledObject.java,
4344 java/rmi/Naming.java,
4345 java/rmi/activation/Activatable.java,
4346 java/rmi/activation/ActivationGroup.java,
4347 java/rmi/activation/ActivationGroupDesc.java,
4348 java/rmi/activation/ActivationInstantiator.java,
4349 java/rmi/activation/ActivationMonitor.java,
4350 java/rmi/activation/ActivationSystem.java,
4351 java/rmi/activation/Activator.java,
4352 java/rmi/registry/LocateRegistry.java,
4353 java/rmi/registry/Registry.java,
4354 java/rmi/server/LogStream.java,
4355 java/rmi/server/ObjID.java,
4356 java/rmi/server/RMIClientSocketFactory.java,
4357 java/rmi/server/RMIServerSocketFactory.java,
4358 java/rmi/server/RMISocketFactory.java,
4359 java/rmi/server/RemoteCall.java,
4360 java/rmi/server/RemoteServer.java,
4361 java/rmi/server/ServerRef.java,
4362 java/rmi/server/UID.java,
4363 java/rmi/server/UnicastRemoteObject.java:
4366 2004-10-21 Tom Tromey <tromey@redhat.com>
4368 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4369 exception if we hit EOF of `in'.
4370 (read): Handle case where inflating returns -1.
4372 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
4374 * gnu/java/nio/channels/natFileChannelPosix.cc
4375 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4376 argument instead of 'long *'.
4378 2004-10-21 Tom Tromey <tromey@redhat.com>
4380 * java/util/ResourceBundle.java (tryBundle): Also ignore
4383 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
4385 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4386 for all sh*-*-linux* targets.
4387 * configure: Regenerate.
4388 * include/sh-signal.h: New file.
4390 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4392 * java/lang/ieeefp.h: Add m32r support.
4394 2004-10-20 Andreas Schwab <schwab@suse.de>
4396 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4398 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4401 2004-10-20 Michael Koch <konqueror@gmx.de>
4403 * javax/print/attribute/standard/ColorSupported.java,
4404 javax/print/attribute/standard/Compression.java,
4405 javax/print/attribute/standard/Copies.java,
4406 javax/print/attribute/standard/CopiesSupported.java,
4407 javax/print/attribute/standard/DateTimeAtCompleted.java,
4408 javax/print/attribute/standard/DateTimeAtCreation.java,
4409 javax/print/attribute/standard/DateTimeAtProcessing.java,
4410 javax/print/attribute/standard/DocumentName.java,
4411 javax/print/attribute/standard/Fidelity.java,
4412 javax/print/attribute/standard/Finishings.java,
4413 javax/print/attribute/standard/JobHoldUntil.java,
4414 javax/print/attribute/standard/JobImpressions.java,
4415 javax/print/attribute/standard/JobImpressionsCompleted.java,
4416 javax/print/attribute/standard/JobImpressionsSupported.java,
4417 javax/print/attribute/standard/JobKOctets.java,
4418 javax/print/attribute/standard/JobKOctetsProcessed.java,
4419 javax/print/attribute/standard/JobKOctetsSupported.java,
4420 javax/print/attribute/standard/JobMediaSheets.java,
4421 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4422 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4423 javax/print/attribute/standard/JobMessageFromOperator.java,
4424 javax/print/attribute/standard/JobName.java,
4425 javax/print/attribute/standard/JobOriginatingUserName.java,
4426 javax/print/attribute/standard/JobPriority.java,
4427 javax/print/attribute/standard/JobPrioritySupported.java,
4428 javax/print/attribute/standard/JobSheets.java,
4429 javax/print/attribute/standard/JobState.java,
4430 javax/print/attribute/standard/JobStateReason.java,
4431 javax/print/attribute/standard/JobStateReasons.java,
4432 javax/print/attribute/standard/Media.java,
4433 javax/print/attribute/standard/MultipleDocumentHandling.java,
4434 javax/print/attribute/standard/NumberOfDocuments.java,
4435 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4436 javax/print/attribute/standard/NumberUp.java,
4437 javax/print/attribute/standard/NumberUpSupported.java,
4438 javax/print/attribute/standard/OrientationRequested.java,
4439 javax/print/attribute/standard/OutputDeviceAssigned.java,
4440 javax/print/attribute/standard/PDLOverrideSupported.java,
4441 javax/print/attribute/standard/PageRanges.java,
4442 javax/print/attribute/standard/PagesPerMinute.java,
4443 javax/print/attribute/standard/PagesPerMinuteColor.java,
4444 javax/print/attribute/standard/PrintQuality.java,
4445 javax/print/attribute/standard/PrinterInfo.java,
4446 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4447 javax/print/attribute/standard/PrinterLocation.java,
4448 javax/print/attribute/standard/PrinterMakeAndModel.java,
4449 javax/print/attribute/standard/PrinterMessageFromOperator.java,
4450 javax/print/attribute/standard/PrinterMoreInfo.java,
4451 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4452 javax/print/attribute/standard/PrinterName.java,
4453 javax/print/attribute/standard/PrinterStateReason.java,
4454 javax/print/attribute/standard/PrinterStateReasons.java,
4455 javax/print/attribute/standard/PrinterURI.java,
4456 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4457 javax/print/attribute/standard/RequestingUserName.java:
4458 Reorganized imports and removed redundant final modifiers.
4460 2004-10-20 Michael Koch <konqueror@gmx.de>
4462 * javax/security/sasl/SaslClient.java,
4463 javax/security/sasl/SaslClientFactory.java,
4464 javax/security/sasl/SaslException.java,
4465 javax/security/sasl/SaslServer.java,
4466 javax/security/sasl/SaslServerFactory.java:
4469 2004-10-20 Michael Koch <konqueror@gmx.de>
4471 * javax/security/auth/login/NullConfiguration.java,
4472 javax/security/auth/x500/X500Principal.java,
4473 javax/security/cert/X509Certificate.java,
4474 javax/security/sasl/AuthenticationException.java,
4475 javax/security/sasl/AuthorizeCallback.java,
4476 javax/security/sasl/RealmCallback.java,
4477 javax/security/sasl/RealmChoiceCallback.java,
4478 javax/security/sasl/Sasl.java,
4479 javax/security/sasl/SaslClient.java,
4480 javax/security/sasl/SaslClientFactory.java,
4481 javax/security/sasl/SaslException.java,
4482 javax/security/sasl/SaslServer.java,
4483 javax/security/sasl/SaslServerFactory.java:
4484 Cleaned up import statements and copyright notices.
4486 2004-10-20 Michael Koch <konqueror@gmx.de>
4488 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4490 2004-10-20 Michael Koch <konqueror@gmx.de>
4492 * java/sql/Timestamp.java,
4493 java/text/AttributedCharacterIterator.java,
4494 java/text/AttributedString.java,
4495 java/util/zip/CheckedOutputStream.java,
4496 java/util/zip/DeflaterOutputStream.java,
4497 java/util/zip/ZipFile.java,
4498 javax/crypto/Cipher.java,
4499 javax/crypto/ExemptionMechanismException.java,
4500 javax/crypto/SecretKey.java,
4501 javax/crypto/SecretKeyFactory.java,
4502 javax/naming/directory/ModificationItem.java,
4503 javax/naming/directory/SearchControls.java,
4504 javax/naming/event/NamingListener.java,
4505 javax/naming/ldap/Control.java,
4506 javax/naming/ldap/ExtendedResponse.java,
4507 javax/net/ssl/SSLSocketFactory.java:
4508 Reorganized imports and fixed copyright headers.
4510 2004-10-20 Michael Koch <konqueror@gmx.de>
4512 * java/util/logging/ConsoleHandler.java,
4513 java/util/logging/ErrorManager.java,
4514 java/util/logging/FileHandler.java,
4515 java/util/logging/Filter.java,
4516 java/util/logging/Formatter.java,
4517 java/util/logging/Handler.java,
4518 java/util/logging/Level.java,
4519 java/util/logging/LogManager.java,
4520 java/util/logging/LogRecord.java,
4521 java/util/logging/Logger.java,
4522 java/util/logging/LoggingPermission.java,
4523 java/util/logging/MemoryHandler.java,
4524 java/util/logging/SimpleFormatter.java,
4525 java/util/logging/SocketHandler.java,
4526 java/util/logging/StreamHandler.java,
4527 java/util/logging/XMLFormatter.java:
4528 Standardized copyrigth header.
4530 2004-10-20 Michael Koch <konqueror@gmx.de>
4532 * java/security/AlgorithmParameterGenerator.java,
4533 java/security/AlgorithmParameters.java,
4534 java/security/DigestInputStream.java,
4535 java/security/Identity.java,
4536 java/security/KeyFactory.java,
4537 java/security/KeyPairGenerator.java,
4538 java/security/KeyStore.java,
4539 java/security/MessageDigest.java,
4540 java/security/MessageDigestSpi.java,
4541 java/security/Policy.java,
4542 java/security/SecureRandom.java,
4543 java/security/Security.java,
4544 java/security/Signature.java,
4545 java/security/SignatureSpi.java,
4546 java/security/cert/CertPathBuilder.java,
4547 java/security/cert/CertPathValidator.java,
4548 java/security/cert/CertStore.java,
4549 java/security/cert/Certificate.java,
4550 java/security/cert/CertificateFactory.java,
4551 java/security/cert/PolicyQualifierInfo.java,
4552 java/security/cert/TrustAnchor.java,
4553 java/security/cert/X509CRL.java,
4554 java/security/cert/X509CRLEntry.java,
4555 java/security/cert/X509Certificate.java,
4556 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4557 Import statements reorganized, some little formatting issues,
4558 used java-style array declarations, added comments in empty catch
4561 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4563 * java/security/Security.java
4564 (static): Use AccessController.doPrivileged to get system property.
4566 2004-10-18 Sven de Marothy <sven@physto.se>
4568 * java/nio/ByteBufferHelper.java
4569 (putDouble): Use Double.toRawLongBits instead.
4571 2004-10-18 Mark Wielaard <mark@klomp.org>
4572 Andrew Haley <aph@redhat.com>
4574 * testsuite/libjava.lang/ExtraClassLoader.java: New.
4576 2004-10-18 Andrew Haley <aph@redhat.com>
4579 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4580 and correct logic used to find interpreter.
4582 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4584 * java/util/logging/LogManager.java
4585 (findAncestor): Fixed IndexOutOfBoundsException.
4587 2004-10-18 Michael Koch <konqueror@gmx.de>
4589 * java/io/BufferedInputStream.java: Fixed @author tag.
4590 (read): Simplified expression.
4591 (read): Merged javadoc a bit more.
4592 (read): Renamed 'remain' to 'totalBytesRead'.
4593 * java/io/DataInputStream.java,
4594 java/io/DataOutputStream.java,
4595 java/io/ObjectInputStream.java,
4596 java/io/ObjectOutputStream.java:
4597 Reworked modifier order.
4599 2004-10-18 Michael Koch <konqueror@gmx.de>
4601 * java/net/Inet4Address.java: Merged file header and javadocs.
4602 * java/net/Inet6Address.java: Likewise.
4603 * java/net/InetAddress.java
4604 (getCanonicalHostName): Create Inet4Address object instead of
4605 InetAddress and add comment regarding IPv6.
4606 (toString): Simplified.
4608 2004-10-18 Michael Koch <konqueror@gmx.de>
4610 * gnu/java/net/protocol/http/Connection.java,
4611 java/nio/MappedByteBufferImpl.java,
4612 java/text/RuleBasedCollator.java,
4613 java/util/ResourceBundle.java:
4614 Reworked import statements.
4616 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4618 * java/security/IdentityScope.java
4619 (systemScope): Removed useless initializer.
4620 * java/security/Policy.java
4621 (currentPolicy): Likewise.
4623 2004-10-18 Michael Koch <konqueror@gmx.de>
4625 * java/lang/System.java: Revert accidential change.
4627 2004-10-18 Michael Koch <konqueror@gmx.de>
4629 * java/lang/Math.java,
4630 java/lang/Package.java,
4631 java/lang/Runtime.java,
4632 java/lang/StrictMath.java,
4633 java/lang/System.java,
4634 java/lang/Thread.java,
4635 java/lang/ThreadLocal.java,
4636 java/lang/Void.java:
4637 Reworked import statements, HTML in javadocs and modifier orders.
4639 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4641 * java/util/Timer.java
4642 (nr): Removed useless initializer.
4643 * java/util/logging/LogRecord.java
4644 (lastSeqNum): Likewise.
4645 * javax/naming/spi/NamingManager.java
4646 (icfb, ofb): Likewise.
4648 2004-10-18 Michael Koch <konqueror@gmx.de>
4650 * gnu/java/net/PlainDatagramSocketImpl.java:
4651 Reworked import statements.
4652 * gnu/java/security/provider/DSAParameters.java:
4653 Fixed copyrigth years.
4654 * java/net/JarURLConnection.java:
4655 Fixed HTML in @author tags.
4658 2004-10-18 Michael Koch <konqueror@gmx.de>
4660 * java/rmi/activation/ActivationSystem.java
4661 (SYSTEM_PORT): Initialize with correct port number.
4663 2004-10-18 Michael Koch <konqueror@gmx.de>
4665 * java/lang/reflect/Proxy.java: Improved javadocs.
4667 2004-10-18 Michael Koch <konqueror@gmx.de>
4669 * java/lang/reflect/AccessibleObject.java
4670 (checkPermission): Removed redundant final modifier.
4671 (secureSetAccessible): Likewise.
4672 * java/lang/reflect/Proxy.java:
4673 Reworked import statements.
4674 (generate): Removed redundant final modifier.
4675 * java/lang/reflect/ReflectPermission.java:
4676 Reorder package declaration and import statement.
4678 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4680 * java/lang/reflect/Proxy.java
4681 (count): Removed useless initializer.
4683 2004-10-17 Michael Koch <konqueror@gmx.de>
4685 * java/net/BindException.java,
4686 java/net/ConnectException.java,
4687 java/net/ContentHandler.java,
4688 java/net/ContentHandlerFactory.java,
4689 java/net/DatagramPacket.java,
4690 java/net/DatagramSocket.java,
4691 java/net/DatagramSocketImpl.java,
4692 java/net/DatagramSocketImplFactory.java,
4693 java/net/FileNameMap.java,
4694 java/net/HttpURLConnection.java,
4695 java/net/MalformedURLException.java,
4696 java/net/MulticastSocket.java,
4697 java/net/NetworkInterface.java,
4698 java/net/NoRouteToHostException.java,
4699 java/net/PasswordAuthentication.java,
4700 java/net/PortUnreachableException.java,
4701 java/net/ProtocolException.java,
4702 java/net/ServerSocket.java,
4703 java/net/Socket.java,
4704 java/net/SocketException.java,
4705 java/net/SocketImpl.java,
4706 java/net/SocketImplFactory.java,
4707 java/net/SocketOptions.java,
4708 java/net/SocketPermission.java,
4709 java/net/SocketTimeoutException.java,
4711 java/net/URISyntaxException.java,
4713 java/net/URLDecoder.java,
4714 java/net/URLEncoder.java,
4715 java/net/URLStreamHandler.java,
4716 java/net/URLStreamHandlerFactory.java,
4717 java/net/UnknownHostException.java,
4718 java/net/UnknownServiceException.java:
4719 Big import statement and @author tag cleanup.
4721 2004-10-17 Michael Koch <konqueror@gmx.de>
4723 * gnu/java/security/OID.java,
4724 gnu/java/security/provider/DSAParameters.java,
4725 gnu/java/security/provider/DSASignature.java,
4726 gnu/java/security/x509/X500DistinguishedName.java,
4727 gnu/java/security/x509/X509CRL.java:
4728 Import statements cleaned up.
4730 2004-10-16 Michael Koch <konqueror@gmx.de>
4732 * gnu/java/nio/NIODatagramSocket.java,
4733 gnu/java/nio/ServerSocketChannelImpl.java:
4734 Reorganized import statements.
4736 2004-10-16 Michael Koch <konqueror@gmx.de>
4738 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4739 gnu/java/rmi/rmic/RMIC.java,
4740 gnu/java/rmi/server/RMIHashes.java,
4741 gnu/java/rmi/server/RMIObjectInputStream.java,
4742 gnu/java/rmi/server/RMIObjectOutputStream.java,
4743 gnu/java/rmi/server/UnicastConnection.java,
4744 gnu/java/rmi/server/UnicastConnectionManager.java,
4745 gnu/java/rmi/server/UnicastRemoteCall.java,
4746 gnu/java/rmi/server/UnicastServer.java,
4747 gnu/java/rmi/server/UnicastServerRef.java,
4748 java/rmi/MarshalledObject.java,
4749 java/rmi/Naming.java,
4750 java/rmi/RMISecurityManager.java,
4751 java/rmi/Remote.java,
4752 java/rmi/activation/Activatable.java,
4753 java/rmi/activation/ActivationDesc.java,
4754 java/rmi/activation/ActivationGroup.java,
4755 java/rmi/activation/ActivationGroupDesc.java,
4756 java/rmi/activation/ActivationGroupID.java,
4757 java/rmi/activation/ActivationID.java,
4758 java/rmi/activation/ActivationInstantiator.java,
4759 java/rmi/activation/ActivationMonitor.java,
4760 java/rmi/activation/ActivationSystem.java,
4761 java/rmi/activation/Activator.java,
4762 java/rmi/dgc/DGC.java,
4763 java/rmi/dgc/Lease.java,
4764 java/rmi/dgc/VMID.java,
4765 java/rmi/registry/LocateRegistry.java,
4766 java/rmi/registry/Registry.java,
4767 java/rmi/registry/RegistryHandler.java,
4768 java/rmi/server/LoaderHandler.java,
4769 java/rmi/server/LogStream.java,
4770 java/rmi/server/ObjID.java,
4771 java/rmi/server/Operation.java,
4772 java/rmi/server/RMIClassLoader.java,
4773 java/rmi/server/RMIClassLoaderSpi.java,
4774 java/rmi/server/RMIClientSocketFactory.java,
4775 java/rmi/server/RMIFailureHandler.java,
4776 java/rmi/server/RMIServerSocketFactory.java,
4777 java/rmi/server/RMISocketFactory.java,
4778 java/rmi/server/RemoteCall.java,
4779 java/rmi/server/RemoteObject.java,
4780 java/rmi/server/RemoteRef.java,
4781 java/rmi/server/RemoteServer.java,
4782 java/rmi/server/RemoteStub.java,
4783 java/rmi/server/ServerRef.java,
4784 java/rmi/server/Skeleton.java,
4785 java/rmi/server/SkeletonMismatchException.java,
4786 java/rmi/server/UID.java,
4787 java/rmi/server/UnicastRemoteObject.java,
4788 java/rmi/server/Unreferenced.java:
4789 File headers and import statements cleaned up.
4791 2004-10-16 Michael Koch <konqueror@gmx.de>
4793 * libjava/gnu/java/nio/charset/UTF_16.java,
4794 libjava/gnu/java/nio/charset/UTF_16BE.java,
4795 libjava/gnu/java/nio/charset/UTF_16LE.java,
4796 libjava/java/nio/ByteOrder.java,
4797 libjava/java/nio/MappedByteBuffer.java,
4798 libjava/java/nio/channels/Channels.java,
4799 libjava/java/nio/channels/spi/SelectorProvider.java,
4800 libjava/java/nio/charset/Charset.java:
4803 2004-10-16 Michael Koch <konqueror@gmx.de>
4805 * gnu/java/nio/charset/UTF_16Encoder.java
4806 (UTF_16Encoder): Fixed maxBytesPerChar handling.
4808 2004-10-16 Michael Koch <konqueror@gmx.de>
4810 * java/math/BigDecimal.java, java/math/BigInteger.java:
4811 Reorganized import statements, removed redundant and
4812 reorganized modifiers.
4814 2004-10-16 Michael Koch <konqueror@gmx.de>
4816 * gnu/java/beans/ExplicitBeanInfo.java:
4817 Explicitely import java.awt.Image.
4818 (getIcon): Fixed off-by-one error.
4820 2004-10-15 Andrew Haley <aph@redhat.com>
4822 * Makefile.am (nat_files, xlib_nat_files): New.
4823 * Makefile.in: Regenerate.
4825 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
4827 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
4828 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
4830 2004-10-13 Andrew Haley <aph@redhat.com>
4832 * interpret.cc (_Jv_InterpMethod::run): Initialize
4833 _Jv_StartOfInterpreter.
4834 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
4835 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
4836 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
4837 _Unwind_FindEnclosingFunction to discover whether PC is within the
4840 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
4843 * testsuite/libjava.lang/md5test.java: New file.
4844 * testsuite/libjava.lang/md5test.out: Likewise.
4845 * testsuite/libjava.lang/shatest.java: Likewise.
4846 * testsuite/libjava.lang/shatest.out: Likewise.
4848 2004-10-11 Richard Henderson <rth@redhat.com>
4850 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
4851 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
4853 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
4855 * java/util/Calendar.java (set): Invalidate DST_OFFSET
4856 field as a DST boundary may have been crossed.
4857 * java/util/GregorianCalendar.java (add): Throw
4858 IllegalArgumentException on attempt to add to DST_OFFSET or
4859 ZONE_OFFSET fields. Update javadoc.
4861 2004-10-09 Michael Koch <konqueror@gmx.de>
4863 * java/io/CharArrayWriter.java
4864 (resize): Removed redundant 'final' modifier.
4865 * java/io/DataInputStream.java
4866 (readFully): Throw IndexOutOfBoundsException of len < 0.
4867 * java/io/FileDescriptor.java,
4868 java/io/FileInputStream.java,
4869 java/io/FileOutputStream.java,
4870 java/io/ObjectOutputStream.java,
4871 java/io/ObjectStreamClass.java,
4872 java/io/PipedInputStream.java,
4873 java/io/RandomAccessFile.java:
4874 Reorganized import statements.
4876 2004-10-09 Michael Koch <konqueror@gmx.de>
4878 * gnu/java/rmi/rmic/RMIC.java,
4879 gnu/java/rmi/server/RMIHashes.java,
4880 gnu/java/rmi/server/RMIObjectInputStream.java,
4881 gnu/java/rmi/server/UnicastConnection.java,
4882 gnu/java/rmi/server/UnicastConnectionManager.java,
4883 gnu/java/rmi/server/UnicastRemoteCall.java,
4884 gnu/java/rmi/server/UnicastServerRef.java:
4885 Reworked import statements and fixed file headers.
4887 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
4889 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
4891 * configure: Rebuilt.
4893 2004-09-30 Tom Tromey <tromey@redhat.com>
4895 * java/text/MessageFormat.java (Field): Constructor now
4898 2004-09-30 Tom Tromey <tromey@redhat.com>
4900 * javax/crypto/MacSpi.java: Fixed typo.
4902 2004-09-30 Michael Koch <konqueror@gmx.de>
4904 * java/net/InetAddress.java: Reformatted.
4905 (loopback): Initialize with Inet4Address object.
4906 (static): Initialize ANY_IF with Inet4Address object.
4907 (InetAddress): Removed unused package-private constructor.
4909 2004-09-30 Michael Koch <konqueror@gmx.de>
4911 * java/beans/Beans.java,
4912 java/beans/EventHandler.java,
4913 java/beans/EventSetDescriptor.java,
4914 java/beans/Introspector.java,
4915 java/beans/PropertyEditorManager.java,
4916 java/beans/beancontext/BeanContext.java,
4917 java/beans/beancontext/BeanContextChild.java,
4918 java/beans/beancontext/BeanContextChildSupport.java,
4919 java/beans/beancontext/BeanContextMembershipEvent.java:
4920 Reordered import statements and removed redundant modifiers.
4922 2004-09-29 Tom Tromey <tromey@redhat.com>
4925 * Makefile.in: Rebuilt.
4926 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
4928 (all_property_files): New macro.
4930 * Makefile.in: Rebuilt.
4931 * Makefile.am (ordinary_java_source_files): Re-sorted.
4932 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
4934 2004-09-28 Tom Tromey <tromey@redhat.com>
4936 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
4939 * Makefile.am (libgcj.la): Restored.
4940 * Makefile.in: Rebuilt.
4942 2004-09-28 Michael Koch <konqueror@gmx.de>
4944 * java/net/URLConnection.java: Reformatted.
4945 * java/net/URLClassLoader.java: Reformatted.
4946 (getContent): Reordered return of content.
4947 (getContentHandler): Don't check for null explicitely.
4949 2004-09-27 Michael Koch <konqueror@gmx.de>
4951 * java/io/BufferedInputStream.java
4952 (BufferedInputStream): Added Jeroen Frijters to authors.
4953 (count): Don't explicitely initialize with default value.
4955 (marklimit): Likewise.
4956 (read): Changed boolean expression to match GNU classpath' version.
4957 (reset): Add proper message to exception.
4958 (skip): Check for closed stream.
4961 2004-09-26 Per Bothner <per@bothner.com>
4963 * prims.cc (unblock_signal): Annotate signum with __unused__ to
4964 avoid warnings in the non-POSIX_VERSION case.
4965 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
4966 so place it inside an #if block.
4967 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
4968 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
4969 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
4970 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
4972 2004-09-26 Per Bothner <per@bothner.com>
4974 * prims.cc (process_gcj_properties): Optimization.
4976 2004-09-26 Per Bothner <per@bothner.com>
4978 * java/util/Collections.java (sort): Copy from array in forwards
4979 order, rather than reverse order which may be much less efficient.
4981 2004-09-26 Mark Wielaard <mark@klomp.org>
4983 * java/lang/System.java (properties): Make package private.
4984 * java/lang/Throwable.java (StaticData.nl): Initialize through
4985 directly accessing System.properties.getProperty().
4987 * java/lang/Throwable.java (nl): Remove static field.
4988 (StaticData): New private static inner class.
4989 (stackTraceStringBuffer): Use StaticData.nl.
4991 2004-09-26 Casey Marshall <csm@gnu.org>
4993 * java/security/ProtectionDomain.java
4994 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
4997 * java/security/SecureClassLoader.java
4998 (defineClass): make protection domain dynamically bound.
4999 (getPermissions): call `getCurrentPolicy' to avoid permission
5002 2004-09-25 Mark Wielaard <mark@klomp.org>
5004 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
5005 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
5006 * Makefile.in: Regenerated.
5008 * gcj/javaprims.h: Regenerated.
5010 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
5011 (getDefaultTimeZone): Make package private. Check that GMToffset
5012 contains at least one digit.
5013 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
5015 * util/VMTimeZone.java: New file with above methods.
5017 * java/util/natTimeZone.cc: Removed (renamed).
5018 * java/util/natVMTimeZone.cc: Added (renamed).
5020 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
5022 * java/util/TimeZone.java
5023 (getDefaultTimeZone): Fixed test to distinguish between hours and
5024 minutes in specified timezone.
5026 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
5028 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
5029 handling of default package. (generate): Removed confused comments
5030 and code about making Method and Field accessible.
5032 2004-09-25 Tom Tromey <tromey@redhat.com>
5035 * testsuite/libjava.compile/pr17500.java: New file.
5037 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
5038 Mark Wielaard <mark@klomp.org>
5040 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5041 * gnu/regexp/RETokenLookAhead.java: New file.
5043 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5044 * Makefile.in: Regenerated.
5046 2004-09-25 Michael Koch <konqueror@gmx.de>
5048 * java/io/ObjectStreamField.java:
5049 Removed unused import statement.
5051 2004-09-24 Tom Tromey <tromey@redhat.com>
5054 * testsuite/libjava.compile/pr15656.xfail: New file.
5055 * testsuite/libjava.compile/pr15656.java: new file.
5058 * testsuite/libjava.lang/pr16789.out: New file.
5059 * testsuite/libjava.lang/pr16789.java: New file.
5061 2004-09-24 Andrew Haley <aph@redhat.com>
5064 * testsuite/libjava.compile/AssertBug.java: New file.
5066 2004-09-24 Casey Marshall <csm@gnu.org>
5068 * java/util/PropertyPermissionCollection.java
5069 (implies): avoid infinite loop.
5071 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
5073 * javax/security/auth/PrivateCredentialPermission.java
5074 (PrivateCredentialPermission): added serialization UID
5077 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
5079 * gnu/java/rmi/server/UnicastServer.java
5080 (incomingMessageCall): Added code to handle Errors.
5081 * gnu/java/rmi/server/UnicastServerRef.java
5082 (incomingMessageCall): Added code to handle Errors.
5085 2004-09-24 Tom Tromey <tromey@redhat.com>
5087 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5088 (definedPackages): Likewise.
5090 2004-09-24 Michael Koch <konqueror@gmx.de>
5092 * java/io/ObjectInputStream.java:
5095 2004-09-24 Casey Marshall <csm@gnu.org>
5097 * java/io/ObjectInputStream.java (callReadMethod): re-throw
5098 `ClassNotFoundException'.
5100 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5102 * java/io/ObjectInputStream.java (readObject): Delegate instantation
5103 of Externalizable classes to ObjectStreamClass.
5104 * java/io/ObjectStreamClass.java (newInstance): New method to
5105 instantiate Externalizable (while ignoring the accessibility of
5106 the constructor). (constructor): New field to cache the constructor.
5108 2004-09-24 Mark Wielaard <mark@klomp.org>
5110 * java/net/URL.java (systemClassLoader): New static field.
5111 (getURLStreamHandler): Always use system/application classloader
5112 for finding URLStreamhandler. Remove unecessary instanceof checks.
5114 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
5117 (set): This method now matches the behaviour of the JDK.
5118 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5120 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
5122 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5124 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5126 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5127 Don't set authority if host isn't specified.
5129 2004-09-24 Michael Koch <konqueror@gmx.de>
5131 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5132 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5133 * gnu/java/nio/VMPipe.java,
5134 gnu/java/nio/VMSelector.java:
5136 * gnu/java/nio/natPipeImplEcos.cc,
5137 gnu/java/nio/natPipeImplPosix.cc,
5138 gnu/java/nio/natPipeImplWin32.cc:
5140 * gnu/java/nio/natSelectorImplEcos.cc,
5141 gnu/java/nio/natSelectorImplPosix.cc,
5142 gnu/java/nio/natSelectorImplWin32.cc:
5143 Ported to VMSelector.
5144 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5145 gnu/java/nio/VMSelector.java.
5146 * Makefile.in: Regenerated.
5148 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5150 * java/lang/StackTraceElement.java
5151 (className): Renamed field to declaringClass to be compatible
5152 with Sun serialization format.
5154 2004-09-23 Michael Koch <konqueror@gmx.de>
5156 * java/applet/AppletContext.java,
5157 java/applet/Applet.java,
5158 java/applet/AppletStub.java,
5159 java/applet/AudioClip.java:
5160 Jalopied and checkstyle clean.
5162 * javax/swing/JCheckBox.java: Reformated.
5163 (JCheckBox): Fixed all constructors.
5164 (isBorderPaintedFlat): New method.
5165 (setBorderPaintedFlat): New method.
5166 * javax/swing/JEditorPane.java
5167 (createEditorKitForContentType): Made public.
5168 (scrollToReference): Likewise.
5169 * javax/swing/JTextArea.java
5170 (setLineWrap): Fire property change.
5171 * javax/swing/JToggleButton.java
5172 (JToggleButton): New constructor.
5173 (JToggleButton): Simplified.
5174 * javax/swing/text/AttributeSet.java
5175 (FontAttribute): Renamed from FontCharacterAttribute.
5176 * javax/swing/text/JTextComponent.java
5177 (KeyBinBinding): Added javadoc.
5178 (JTextComponent): Likewise.
5179 (getAccessibleContext): Fixed javadoc.
5180 * javax/swing/text/View.java
5181 (View): Added javadoc.
5182 * javax/swing/text/TabableView.java: New file.
5183 * Makefile.am: Added javax/swing/text/TabableView.java.
5184 * Makefile.in: Regenerated.
5185 2004-09-23 Mark Wielaard <mark@klomp.org>
5187 * java/util/Collections.java
5188 (binarySearch(List, Object, Comparator)): Explicitly
5189 reverse direction in list iterator.
5190 (rotate): Just return when list is empty.
5192 2004-09-23 Tom Tromey <tromey@redhat.com>
5195 * testsuite/libjava.compile/pr17329.java: New file.
5198 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5201 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
5203 * Makefile.am: Run aclocal with -I ../config
5204 * acinclude.m4: Delete macros picked up from ../config and tidy.
5205 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5206 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5207 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5209 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
5211 * aclocal.m4: Regenerate with aclocal 1.9.2.
5212 * configure: Regenerate.
5213 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5214 * include/Makefile.in, testsuite/Makefile.in: Likewise.
5216 2004-09-22 David Daney <ddaney@avtrex.com>
5219 * java/net/URL.java (URL): Copy userInfo from context.
5220 (getUserInfo): Return cached userInfo if present.
5222 2004-09-22 Tom Tromey <tromey@redhat.com>
5225 * mauve-libgcj: Enable java.lang.Character tests.
5227 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
5229 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5231 (lib_org_ietf_jgss_la_LIBADD): Likewise.
5232 * Makefile.in: Regenerated.
5234 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
5236 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5237 * configure: Regenerate.
5238 * include/config.h.in: Likewise.
5239 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5240 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5243 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5244 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5249 2004-09-22 Tom Tromey <tromey@redhat.com>
5252 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5253 when comparing CRCs.
5254 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5256 (read()): New overload.
5258 2004-09-21 Tom Tromey <tromey@redhat.com>
5260 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5263 2004-09-21 Michael Koch <konqueror@gmx.de>
5265 * java/net/Socket.java
5266 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5268 2004-09-21 Casey Marshall <csm@gnu.org>
5270 * javax/crypto/MacSpi.java (clone): Provide meaningful
5273 2004-09-21 Tom Tromey <tromey@redhat.com>
5276 * Makefile.in: Rebuilt.
5277 * Makefile.am (MOSTLYCLEANFILES): Removed.
5278 (mostlyclean-local): Remove header files.
5280 2004-09-21 Casey Marshall <csm@gnu.org>
5282 * java/security/cert/X509CRLSelector.java:
5283 (match): remove unreachable try-catch clauses.
5284 Reported by: Dalibor Topic <robilad@kaffe.org>
5286 2004-09-21 Mark Wielaard <mark@klomp.org>
5288 * java/util/TreeMap.java (root): Don't initialize.
5289 (TreeMap(Comparator)): Call fabricateTree(0).
5290 (fabricateTree): Initialize root and size when count is 0.
5292 2004-09-21 Sven de Marothy <sven@physto.se>
5294 * java/nio/ByteBuffer.java (hashCode): Implemented.
5295 * java/nio/CharBuffer.java: Likewise.
5296 * java/nio/DoubleBuffer.java: Likewise.
5297 * java/nio/FloatBuffer.java: Likewise.
5298 * java/nio/LongBuffer.java: Likewise.
5299 * java/nio/IntBuffer.java: Likewise.
5300 * java/nio/ShortBuffer.java: Likewise.
5302 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
5304 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5306 2004-09-21 Michael Koch <konqueror@gmx.de>
5308 * javax/net/ssl/SSLServerSocket.java:
5309 Removed comment about "Do not edit this file, it's generated.".
5311 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
5313 Import the big Crypto/Jessie/Security merge from Classpath.
5315 * Makefile.am: Add imported files.
5316 * Makefile.in: Regenerate.
5318 2004-08-14 Casey Marshall <csm@gnu.org>
5320 The Big Crypto Merge of 2004.
5322 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5325 Files imported from GNU Crypto.
5326 * javax/crypto/BadPaddingException.java
5327 * javax/crypto/Cipher.java
5328 * javax/crypto/CipherInputStream.java
5329 * javax/crypto/CipherOutputStream.java
5330 * javax/crypto/CipherSpi.java
5331 * javax/crypto/EncryptedPrivateKeyInfo.java
5332 * javax/crypto/ExemptionMechanism.java
5333 * javax/crypto/ExemptionMechanismException.java
5334 * javax/crypto/ExemptionMechanismSpi.java
5335 * javax/crypto/IllegalBlockSizeException.java
5336 * javax/crypto/KeyAgreement.java
5337 * javax/crypto/KeyAgreementSpi.java
5338 * javax/crypto/KeyGenerator.java
5339 * javax/crypto/KeyGeneratorSpi.java
5340 * javax/crypto/Mac.java
5341 * javax/crypto/MacSpi.java
5342 * javax/crypto/Makefile.am
5343 * javax/crypto/NoSuchPaddingException.java
5344 * javax/crypto/NullCipher.java
5345 * javax/crypto/NullCipherImpl.java
5346 * javax/crypto/SealedObject.java
5347 * javax/crypto/SecretKey.java
5348 * javax/crypto/SecretKeyFactory.java
5349 * javax/crypto/SecretKeyFactorySpi.java
5350 * javax/crypto/ShortBufferException.java
5351 * javax/crypto/interfaces/DHKey.java
5352 * javax/crypto/interfaces/DHPrivateKey.java
5353 * javax/crypto/interfaces/DHPublicKey.java
5354 * javax/crypto/interfaces/PBEKey.java
5355 * javax/crypto/spec/DESKeySpec.java
5356 * javax/crypto/spec/DESedeKeySpec.java
5357 * javax/crypto/spec/DHGenParameterSpec.java
5358 * javax/crypto/spec/DHParameterSpec.java
5359 * javax/crypto/spec/DHPrivateKeySpec.java
5360 * javax/crypto/spec/DHPublicKeySpec.java
5361 * javax/crypto/spec/IvParameterSpec.java
5362 * javax/crypto/spec/PBEKeySpec.java
5363 * javax/crypto/spec/PBEParameterSpec.java
5364 * javax/crypto/spec/RC2ParameterSpec.java
5365 * javax/crypto/spec/RC5ParameterSpec.java
5366 * javax/crypto/spec/SecretKeySpec.java
5367 * javax/security/auth/AuthPermission.java
5368 * javax/security/auth/DestroyFailedException.java
5369 * javax/security/auth/Destroyable.java
5370 * javax/security/auth/Policy.java
5371 * javax/security/auth/PrivateCredentialPermission.java
5372 * javax/security/auth/RefreshFailedException.java
5373 * javax/security/auth/Refreshable.java
5374 * javax/security/auth/Subject.java
5375 * javax/security/auth/SubjectDomainCombiner.java
5376 * javax/security/auth/callback/Callback.java
5377 * javax/security/auth/callback/CallbackHandler.java
5378 * javax/security/auth/callback/ChoiceCallback.java
5379 * javax/security/auth/callback/ConfirmationCallback.java
5380 * javax/security/auth/callback/LanguageCallback.java
5381 * javax/security/auth/callback/NameCallback.java
5382 * javax/security/auth/callback/PasswordCallback.java
5383 * javax/security/auth/callback/TextInputCallback.java
5384 * javax/security/auth/callback/TextOutputCallback.java
5385 * javax/security/auth/callback/UnsupportedCallbackException.java
5386 * javax/security/auth/login/AccountExpiredException.java
5387 * javax/security/auth/login/AppConfigurationEntry.java
5388 * javax/security/auth/login/Configuration.java
5389 * javax/security/auth/login/CredentialExpiredException.java
5390 * javax/security/auth/login/FailedLoginException.java
5391 * javax/security/auth/login/LoginContext.java
5392 * javax/security/auth/login/LoginException.java
5393 * javax/security/auth/login/NullConfiguration.java
5394 * javax/security/auth/x500/X500PrivateCredential.java
5395 * javax/security/sasl/AuthenticationException.java
5396 * javax/security/sasl/AuthorizeCallback.java
5397 * javax/security/sasl/RealmCallback.java
5398 * javax/security/sasl/RealmChoiceCallback.java
5399 * javax/security/sasl/Sasl.java
5400 * javax/security/sasl/SaslClient.java
5401 * javax/security/sasl/SaslClientFactory.java
5402 * javax/security/sasl/SaslException.java
5403 * javax/security/sasl/SaslServer.java
5404 * javax/security/sasl/SaslServerFactory.java
5405 * org/ietf/jgss/ChannelBinding.java
5406 * org/ietf/jgss/GSSContext.java
5407 * org/ietf/jgss/GSSCredential.java
5408 * org/ietf/jgss/GSSException.java
5409 * org/ietf/jgss/GSSManager.java
5410 * org/ietf/jgss/GSSName.java
5411 * org/ietf/jgss/MessageProp.java
5412 * org/ietf/jgss/Oid.java
5413 * org/ietf/jgss/MessagesBundle.properties
5415 Files imported from Jessie <http://www.nongnu.org/jessie/>
5416 * javax/net/ServerSocketFactory.java
5417 * javax/net/SocketFactory.java
5418 * javax/net/VanillaServerSocketFactory.java
5419 * javax/net/VanillaSocketFactory.java
5420 * javax/net/ssl/HandshakeCompletedEvent.java
5421 * javax/net/ssl/HandshakeCompletedListener.java
5422 * javax/net/ssl/HostnameVerifier.java
5423 * javax/net/ssl/HttpsURLConnection.java
5424 * javax/net/ssl/KeyManager.java
5425 * javax/net/ssl/KeyManagerFactory.java
5426 * javax/net/ssl/KeyManagerFactorySpi.java
5427 * javax/net/ssl/ManagerFactoryParameters.java
5428 * javax/net/ssl/SSLContext.java
5429 * javax/net/ssl/SSLContextSpi.java
5430 * javax/net/ssl/SSLException.java
5431 * javax/net/ssl/SSLHandshakeException.java
5432 * javax/net/ssl/SSLKeyException.java
5433 * javax/net/ssl/SSLPeerUnverifiedException.java
5434 * javax/net/ssl/SSLPermission.java
5435 * javax/net/ssl/SSLProtocolException.java
5436 * javax/net/ssl/SSLServerSocket.java
5437 * javax/net/ssl/SSLServerSocketFactory.java
5438 * javax/net/ssl/SSLSession.java
5439 * javax/net/ssl/SSLSessionBindingEvent.java
5440 * javax/net/ssl/SSLSessionBindingListener.java
5441 * javax/net/ssl/SSLSessionContext.java
5442 * javax/net/ssl/SSLSocket.java
5443 * javax/net/ssl/SSLSocketFactory.java
5444 * javax/net/ssl/TrivialHostnameVerifier.java
5445 * javax/net/ssl/TrustManager.java
5446 * javax/net/ssl/TrustManagerFactory.java
5447 * javax/net/ssl/TrustManagerFactorySpi.java
5448 * javax/net/ssl/X509KeyManager.java
5449 * javax/net/ssl/X509TrustManager.java
5450 * javax/security/cert/Certificate.java
5451 * javax/security/cert/CertificateEncodingException.java
5452 * javax/security/cert/CertificateException.java
5453 * javax/security/cert/CertificateExpiredException.java
5454 * javax/security/cert/CertificateNotYetValidException.java
5455 * javax/security/cert/CertificateParsingException.java
5456 * javax/security/cert/X509CertBridge.java
5457 * javax/security/cert/X509Certificate.java
5459 2004-08-20 Casey Marshall <csm@gnu.org>
5461 * java/security/cert/X509CRLSelector.java: New file.
5462 * java/security/cert/X509CertSelector.java: New file.
5464 2004-09-15 Michael Koch <konqueror@gmx.de>
5466 * gnu/java/net/protocol/file/Handler.java
5467 (openConnection): Don't throw exception if host part for file: URI is
5468 present. setURL() keeps file: protocol if ftp: protocol is not
5471 2004-09-14 Richard Henderson <rth@redhat.com>
5473 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5474 value of sigsuspend.
5476 2004-09-12 Tom Tromey <tromey@redhat.com>
5478 * javax/naming/CompoundName.java (CompoundName): Don't check for
5479 separator in "flat" case.
5481 2004-09-12 Michael Koch <konqueror@gmx.de>
5483 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5484 AM_CONFIG_HEADER by AC_CONFIG_FILES.
5485 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5488 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
5491 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5492 handle in newly-allocated _Jv_Thread_t.
5493 (_Jv_ThreadDestroyData): Close thread handle.
5494 (_Jv_ThreadStart): Remove obsolete comment.
5495 Store handle of newly-created thread in _Jv_Thread_t.
5496 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5497 before including <windows.h>
5498 #define _Jv_HaveCondDestroy
5500 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
5502 * java/lang/natThread.cc (finalize_native): Destroy
5503 join conditional variable and mutex if these destroy
5504 operations are supported.
5506 2004-09-10 Dalibor Topic <robilad@kaffe.org>
5508 * gnu/java/net/protocol/file/Connection.java (permission): New field.
5509 (DEFAULT_PERMISSION): New constant.
5510 (Connection): Create a FilePermission with permission to read file.
5512 2004-09-10 Michael Koch <konqueror@gmx.de>
5514 * gnu/java/net/protocol/file/Connection.java
5515 (getLastModified): Moved around.
5516 (getPermission): Return stored permission.
5518 2004-09-10 Michael Koch <konqueror@gmx.de>
5520 * Makefile.in: Regenerate.
5522 2004-09-10 Michael Koch <konqueror@gmx.de>
5524 * Makefile.am: Reverted accidently commited stuff.
5525 * configure: Regenerated.
5527 2004-09-10 Michael Koch <konqueror@gmx.de>
5529 * gnu/java/net/protocol/file/Connection.java
5530 (lineSeparator): Made non-final.
5532 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5533 instead of StringBufferInputStream.
5535 2004-09-10 Michael Koch <konqueror@gmx.de>
5537 * gnu/java/net/protocol/file/Connection.java
5538 (connect): Handle file is a directory case.
5540 2004-09-10 Michael Koch <konqueror@gmx.de>
5543 (xlib_includes): Removed.
5544 (AM_CPPFLAGS): Renamed from INCLUDES.
5545 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5546 * Makefile.in: Regenerate.
5548 2004-09-09 Michael Koch <konqueror@gmx.de>
5550 * java/security/ProtectionDomain.java,
5551 * java/util/PropertyPermissionCollection.java:
5552 Fixed javadocs all over.
5554 2004-09-09 Sven de Marothy <sven@physto.se>
5556 Patch from David Gilbert <david.gilbert@object-refinery.com>
5557 * java/lang/Comparable.java: Fixed documentation errors.
5558 * java/util/Arrays.java: Likewise.
5560 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
5562 * java/net/Inet4Address.java
5563 (Inet4Address): Added comment to serialization UID.
5564 * java/text/Format.java
5565 (Format): Added comment to serialization UID.
5567 2004-09-09 Michael Koch <konqueror@gmx.de>
5569 * java/lang/System.java
5570 (err): Fixed javadoci to point to setErr() and not setOut().
5572 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
5574 (normalizePath): Added special case for windows systems.
5576 2004-09-09 Michael Koch <konqueror@gmx.de>
5579 (dupSeparator): Made private.
5580 (File(URI)): New constructor.
5581 (getParentFile): Fixed javadoc.
5582 (createTempFile): Reformated.
5583 (setReadOnly): Added comment.
5584 (deleteOnExit): Merged javadoc with classpath version.
5586 2004-09-09 Michael Koch <konqueror@gmx.de>
5588 * Makefile.am: Don't try to include deps.mk.
5589 * Makefile.in: Regenerated.
5591 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
5593 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5595 * configure: Rebuilt.
5597 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
5599 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5600 Changed pfn from static local to local.
5602 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
5603 H.J. Lu <hongjiu.lu@intel.com>
5606 * Makefile.am (GCJCOMPILE): Remove definition.
5607 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5608 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5609 * Makefile.in: Rebuilt.
5611 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
5613 * configure.ac (enable-gc-debug): Update help for new syntax.
5614 * configure: Regenerate.
5616 2004-09-03 David Daney <ddaney@avtrex.com>
5618 * include/mips-signal.h: Update copyright.
5620 2004-09-03 David Daney <ddaney@avtrex.com>
5622 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5623 * include/mips-signal.h: Added HANDLE_FPE support.
5625 2004-08-31 Michael Koch <konqueror@gmx.de>
5627 * javax/swing/plaf/basic/BasicTextAreaUI.java
5628 (create): New method.
5629 * javax/swing/text/DefaultHighlighter.java
5630 (DefaultHighlightPainter.debugRect): Removed.
5631 * javax/swing/text/StyleContext.java
5632 (DEFAULT_STYLE): New field.
5634 2004-08-31 Michael Koch <konqueror@gmx.de>
5636 * javax/swing/plaf/basic/BasicLookAndFeel.java
5637 (initComponentDefaults): Add keybindings for selection.backward and
5638 selection-forward for text components.
5639 * javax/swing/plaf/basic/BasicTextUI.java
5640 (paintSafely): Paint highlight only when something is actually
5642 * javax/swing/text/DefaultCaret.java
5643 (handleHighlight): New method.
5644 (setSelectionVisible): Don't do anything when nothing changes.
5646 (moveDot): Reimplemented. Handle highlight.
5647 (setDot): Set mark too. Handle highlight.
5648 (getSelectionPainter): New method.
5649 * javax/swing/text/DefaultEditorKit.java
5650 (defaultActions): Added new actions for text selection.
5651 * javax/swing/text/DefaultHighlighter.java
5652 (DefaultHighlightPainter): New inner class.
5653 (DefaultPainter): New field.
5654 (paint): Implemented.
5655 * javax/swing/text/PlainView.java
5656 (paint): Don't draw background here again.
5657 * javax/swing/text/Utilities.java
5658 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5659 (drawTabbedText): Likewise.
5661 2004-08-31 Graydon Hoare <graydon@redhat.com>
5663 * javax/swing/JComponent.java
5664 (resetKeyboardActions): Add null checks.
5666 2004-08-31 Graydon Hoare <graydon@redhat.com>
5668 * javax/swing/DefaultButtonModel.java:
5669 Skip group notification when no group is set.
5671 2004-08-31 Graydon Hoare <graydon@redhat.com>
5673 * javax/swing/JColorChooser.java:
5674 Make a couple inner classes static, for jikes.
5676 2004-08-31 Michael Koch <konqueror@gmx.de>
5678 * javax/swing/plaf/basic/BasicTextUI.java
5679 (RottView.modelToView): New method.
5680 (UpdateHandler): Renamed from EventHandler.
5681 (updateHandler): Renamed from eventHandler.
5682 (modelToView): Implemented.
5683 * javax/swing/text/AbstractDocument.java
5684 (BranchElement.getElement): Return null for non-existing indeces.
5685 (BranchElement.getElementIndex): Return 0 in some corner cases.
5686 * javax/swing/text/FieldView.java
5687 (modelToView): New method.
5688 * javax/swing/text/PlainView.java
5689 (modelToView): Made public.
5691 2004-08-31 Kim Ho <kho@redhat.com>
5693 * Makefile.am: New files.
5694 * Makefile.in: Regenerate.
5695 * gcj/Makefile.in: Regenerate.
5696 * include/Makefile.in: Regenerate.
5697 * java/awt/Color.java: Fix documentation.
5698 (RGBtoHSB): Use floats for conversions.
5699 * javax/swing/ButtonGroup.java: Run Jalopy.
5700 (setSelected): Reimplement.
5701 * javax/swing/DefaultButtonModel.java: Run Jalopy.
5702 (changeState): Let ButtonGroup know that the button
5704 * javax/swing/JColorChooser.java: Implement.
5705 * javax/swing/JLabel.java: Run Jalopy.
5706 * javax/swing/JSpinner.java: Run Jalopy.
5707 (setValue): New method.
5708 * javax/swing/JTabbedPane.java: Run Jalopy.
5709 (removeTabAt): Call correct remove method.
5710 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5711 (getPreviousValue): Compare minimum value.
5712 * javax/swing/Timer.java: Run Jalopy.
5713 (run): Comment out println.
5714 * javax/swing/ToolTipManager.java:
5715 (mouseMoved): Get new tooltip text for location.
5716 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5718 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5720 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5722 (setSelectedColor): Fire ChangeEvent.
5723 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5724 New file. Implement.
5725 * javax/swing/colorchooser/DefaultPreviewPanel.java:
5727 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5729 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5731 * javax/swing/plaf/basic/BasicArrowButton.java:
5732 (getArrow): Fix size of upward pointing button.
5733 * javax/swing/plaf/basic/BasicColorChooserUI.java:
5735 * javax/swing/plaf/basic/BasicSliderUI.java:
5736 (getWidthOfWidestLabel): Use preferred dimensions.
5737 (getHeightOfTallestLabel): Ditto.
5738 * javax/swing/plaf/basic/BasicSpinnerUI.java:
5740 (mousePressed): Disable changes to spinner if it is not enabled.
5741 * testsuite/Makefile.in: Regenerate.
5744 2004-08-31 Michael Koch <konqueror@gmx.de>
5746 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5747 javax/swing/plaf/basic/BasicTableUI.java:
5748 Added copyright notice.
5750 2004-08-31 Olga Rodimina <rodimina@redhat.com>
5752 * Makefile.am: Added new files.
5753 * Makefile.in: Regenerate.
5754 * javax/swing/ComboBoxEditor.java: Added javadocs.
5755 * javax/swing/ComboBoxModel.java: Likewise.
5756 * javax/swing/DefaultComboBoxModel.java: Implemented.
5757 * javax/swing/DefaultListCellRenderer.java: Added javadocs
5758 and ran through jalopy to fix formatting style.
5759 (getListCellRendererComponent): Use appropriate border
5760 if renderer has focus and use noFocusBorder when it doesn't.
5761 * javax/swing/JComboBox.java: Implemented.
5762 * javax/swing/JList.java:
5763 (locationToIndex): New Method. Implemented.
5764 (indexToLocation): New Method.
5765 * javax/swing/JPopupMenu.java:
5766 (visible): New field.
5767 (isVisible): Changed to use new field above.
5768 (setVisible): Likewise.
5769 * javax/swing/MutableComboBoxModel.java: Added javadocs.
5770 * javax/swing/plaf/basic/BasicArrowButton.java:
5771 (shadow): Changed default color to Color.gray.
5772 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5773 UI delegate for JComboBox.
5774 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5775 Popup menu containing list of JComboBox's items.
5776 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5777 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5778 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5779 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5780 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5781 (popupMenuWillBecomeVisible): Set selected path to the first
5782 element only if it is of type MenuElement. Also fix formatting
5784 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
5787 2004-08-31 Michael Koch <konqueror@gmx.de>
5789 * javax/swing/text/AbstractDocument.java
5790 (createBranchElement): Use new constructor of BranchElement.
5791 (createLeafElement): Renamed arguments.
5792 (getRootElements): Implemented.
5793 (BranchElement.start): Removed.
5794 (BranchElement.end): Likewise.
5795 (BranchElement.BranchElement): Fixed arguments.
5796 (BranchElement.getEndOffset): Reimplemented.
5797 (BranchElement.getStartOffset): Likewis.
5798 * javax/swing/text/DefaultCaret.java
5799 (paint): Draw simple vertical line as caret instead of a rectangle.
5800 * javax/swing/text/JTextComponent.java
5801 (setText): Use doc directly.
5802 * javax/swing/text/PlainView.java
5803 (nextTabStop): Implemented.
5804 * javax/swing/text/Utilities.java
5805 (drawTabbedText): nextTabStop() returns an absolute x position.
5806 (getTabbedTextWidth): Likewise.
5808 2004-08-31 Graydon Hoare <graydon@redhat.com>
5810 * java/awt/Component.java
5811 (isFocusTraversable): Predicate on isLightweight()
5812 (setFocusable): Set isFocusTraversableOverridden.
5813 (requestFocus): Predicate peer dispatch on !isLightweight()
5814 (requestFocusInWindow): Likewise.
5815 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
5816 * java/awt/Container.java
5817 (dispatchEventImpl): Predicate on event mask.
5818 (LightweightDispatcher): Remove focus machinery.
5819 * java/awt/DefaultFocusTraversalPolicy.java
5820 (accept): Expand predicate to include isFocusable().
5821 * java/awt/DefaultKeyboardFocusManager.java:
5822 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
5823 * java/awt/KeyboardFocusManager.java
5824 (redispatchEvent): Synchronize on event to prevent feedback.
5825 * javax/swing/AbstractButton.java
5826 (ButtonFocusListener): Remove class.
5827 (init): Set focusPainted, focusable.
5828 * javax/swing/ActionMap.java (get): Check parent for null.
5829 * javax/swing/InputMap.java (get): Likewise.
5830 * javax/swing/JComponent.java
5831 (inputMap_whenFocused): New InputMap.
5832 (inputMap_whenAncestorOfFocused): Likewise.
5833 (inputMap_whenInFocusedWindow): Likewise.
5834 (getActionForKeyStroke): Rewrite.
5835 (getConditionForKeystroke): Likewise.
5836 (ActionListenerProxy): New private class.
5837 (setInputMap): Implement.
5838 (getInputMap): Likewise.
5839 (setActionMap): Likewise.
5840 (getActionMap): Likewise.
5841 (processComponentKeyEvent): New empty method.
5842 (processKeyEvent): Implement.
5843 (processKeyBinding): Likewise.
5844 (resetKeyboardActions): Rewrite.
5845 * javax/swing/KeyStroke.java: Rewrite.
5846 * javax/swing/SwingUtilities.java
5847 (notifyAction): Implement.
5848 (replaceUIActionMap): Likewise.
5849 (replaceUIInputMap): Likewise.
5850 * javax/swing/plaf/basic/BasicButtonListener.java
5851 (focusGained): Implement.
5852 (focusLost): Repaint if focusPainted().
5853 (installKeyboardActions): Install pressed / released actions.
5854 (uninstallKeyboardActions): Implement.
5855 * javax/swing/plaf/basic/BasicButtonUI.java
5856 (focusColor): New field.
5857 (installDefaults): Load focus color, install input map.
5858 (installKeyboardActions): Implement.
5859 (uninstallKeyboardActions): Likewise.
5860 (paintFocus): Rewrite.
5861 * javax/swing/plaf/basic/BasicLookAndFeel.java
5862 (Button.focus): New default, midPurple.
5863 * javax/swing/plaf/basic/BasicTextUI.java
5865 (installUI): Get doc from kit, load defaults.
5866 (getKeymapName): Implement.
5867 (createKeymap): Likewise.
5868 (installKeyboardActions): Likewise.
5869 (getInputMap): Likewise.
5870 (getActionMap): Likewise.
5871 (createActionMap): Likewise.
5872 * javax/swing/text/AbstractDocument.java
5873 (getStartPosition): Implement.
5874 (getEndPosition): Likewise.
5875 * javax/swing/text/DefaultEditorKit.java
5876 (CopyAction): New class.
5877 (CutAction): Likewise.
5878 (DefaultKeyTypedAction): Likewise.
5879 (InsertBreakAction): Likewise.
5880 (InsertContentAction): Likewise.
5881 (InsertTabAction): Likewise.
5882 (PasteAction): Likewise.
5883 (defaultActions): New static table.
5884 (createCaret): Implement.
5885 (getActions): Likewise.
5886 * javax/swing/text/JTextComponent.java
5887 (KeymapWrapper): New private class.
5888 (KeymapActionMap): Likewise.
5889 (DefaultKeymap): New class.
5890 (keymaps): New static table.
5891 (keymap): New field.
5892 (getKeymap): Implement.
5893 (removeKeymap): Likewise.
5894 (addKeymap): Likewise.
5895 (setKeymap): Likewise.
5896 (loadKeymap): Likewise.
5897 (getActions): Likewise.
5898 (margin): New field.
5899 (JTextComponent): Build and install default keymap.
5900 * javax/swing/text/TextAction.java
5901 (textAction): Call super properly.
5902 (getTextComponent): Implement.
5903 * javax/swing/text/Utilities.java
5904 (drawTabbedText): Adjust position by ascent.
5906 2004-08-31 David Jee <djee@redhat.com>
5910 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5911 (setEnabled): Make it a native method.
5912 * java/awt/DefaultKeyboardFocusManager.java
5913 (postProcessKeyEvent): Only post event if the menu item
5915 * java/awt/MenuItem.java:
5916 Private field 'enabled' should be true by default.
5917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5918 (setEnabled): New function.
5920 2004-08-31 David Jee <djee@redhat.com>
5924 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5925 (nativeSetHelpMenu): New native method declaration.
5926 (addHelpMenu): Call nativeSetHelpMenu().
5928 * java/awt/MenuBar.java
5929 (setHelpMenu): Call addNotify() on the new help menu.
5930 (add): Call addNotify() on the new menu.
5931 (addNotify): Set the help menu if one exists.
5932 * java/awt/peer/MenuBarPeer.java
5934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5935 (nativeSetHelpMenu): New method.
5937 2004-08-31 Graydon Hoare <graydon@redhat.com>
5939 * Makefile.am: Add new files.
5940 * Makefile.in: Regenerate.
5941 * javax/swing/Box.java: Fix setting of layout in ctor.
5942 * javax/swing/JScrollPane.java: Scroll headers as well.
5943 * javax/swing/JTable.java: Reimplement.
5944 * javax/swing/JViewPort.java: Only add non-null children.
5945 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
5946 * javax/swing/Timer.java: Fix stopping null waker.
5947 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
5948 * javax/swing/plaf/basic/BasicTableUI.java: New file.
5949 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
5950 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
5951 * javax/swing/table/DefaultTableModel.java: Clean up.
5952 * javax/swing/table/JTableHeader.java: Implement.
5954 2004-08-31 Mark Wielaard <mark@klomp.org>
5956 * javax/swing/JSpinner.java (getChangeListeners): Remove double
5959 2004-08-31 Mark Wielaard <mark@klomp.org>
5961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
5962 Declare variables at top of functions/block.
5963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
5965 2004-08-31 Mark Wielaard <mark@klomp.org>
5967 * java/lang/Rectangle.java (intersects): Check r.width and r.height
5970 2004-08-31 Michael Koch <konqueror@gmx.de>
5972 * javax/swing/text/PlainView.java
5973 (selectedColor): New field.
5974 (unselectedColor): Likewise.
5976 (updateMetrics): New method.
5977 (lineToRect): Likewise.
5978 (modelToView): Likewise.
5979 (drawSelectedText): Use color from JTextComponent ad draw with
5981 (drawUnselectedText): Likewise.
5982 (paint): Initialize helper fields.
5983 * javax/swing/text/View.java
5984 (getChildAllocation): New method.
5985 (getViewIndex): Likewise.
5986 (getToolTipText): Likewise.
5988 2004-08-31 Michael Koch <konqueror@gmx.de>
5990 * javax/swing/text/Utilities.java
5991 (drawTabbedText): Reimplemented.
5992 (getTabbedTextWidth): Likewise.
5994 2004-08-31 Michael Koch <konqueror@gmx.de>
5996 * javax/swing/plaf/basic/BasicTextUI.java
5997 (installDefaults): Install caret and highlighter.
5998 (modelToView): Use Bias.Forward when calling sibling.
5999 * javax/swing/text/AbstractDocument.java
6000 (ElementEdit): Implements DocumentEvent.ElementChange.
6001 (ElementEdit.ElementEdit): New method.
6002 (ElementEdit.getChildrenAdded): Likewise.
6003 (ElementEdit.getChildrenRemoved): Likewise.
6004 (ElementEdit.getElement): Likewise.
6005 (ElementEdit.getIndex): Likewise.
6006 * javax/swing/text/DefaultCaret.java
6008 (textComponent): Renamed from parent, made private.
6009 (selectionVisible): Renamed from vis_sel, made private.
6010 (blinkRate): Renamed from blink, made private.
6011 (magicCaretPosition): Renamed from magic, made private.
6012 (visible): Renamed from vis, made private.
6013 (dot): Made private.
6015 (deinstall): Remove as MouseMotionListener.
6016 (install): Initialize textComponent first. Add as MouseMotionListener.
6017 (paint): Reimplemented.
6018 * javax/swing/text/JTextComponent.java
6019 (setCaret): Deinstall old caret, install new one and fire property
6020 change after setting property.
6021 (setHighlighter): Deinstall old highlighter, install new one and fire
6022 property change after setting property.
6023 (setCaretColor): Fire property change after setting property.
6024 (setDisabledTextColor): Likewise.
6025 (setSelectedTextColor): Likewise.
6026 (setSelectionColor): Likewise.
6027 (modelToView): New method.
6029 2004-08-31 Michael Koch <konqueror@gmx.de>
6031 * javax/swing/text/AbstractDocument.java
6032 (getText): Simplified.
6033 * javax/swing/text/Segment.java
6034 (current): New field.
6035 (current): Reimplemented.
6037 (getIndex): Likewise.
6040 (previous): Likewise.
6041 (setIndex): Likewise.
6043 2004-08-31 Michael Koch <konqueror@gmx.de>
6045 * javax/swing/plaf/basic/BasicButtonUI.java
6046 (defaultTextIconGap): Made protected.
6047 (defaultTextShiftOffset): Likewise.
6048 (textShiftOffset): New field.
6049 (clearTextShiftOffset): New method.
6050 (getTextShiftOffset): Likewise.
6051 (setTextShiftOffset): Likewise.
6053 2004-08-31 Michael Koch <konqueror@gmx.de>
6055 * javax/swing/plaf/basic/BasicTextUI.java
6056 (installUI): Add eventHandler as property listener.
6057 (uninstallUI): remove eventHandler as propert listener.
6058 (installDefaults): Added comment.
6059 (installListeners): Likewise.
6060 (installKeyboardActions): Likewise.
6061 (uninstallDefaults): Likewise.
6062 (uninstallListeners): Likewise.
6063 (uninstallKeyboardActions): Likewise.
6065 2004-08-31 Michael Koch <konqueror@gmx.de>
6067 * javax/swing/text/AbstractDocument.java:
6068 Fixed some typos in comments.
6069 (insertString): Reimplemented.
6071 (replace): New method.
6072 (children): Dont use fully qualified class name.
6073 (DefaultDocumentEvent.offset): Renamed from off.
6074 (DefaultDocumentEvent.length): Renamed from len.
6075 (DefaultDocumentEvent.type): New field.
6076 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6077 (DefaultDocumentEvent.getType): Implemented.
6079 2004-08-31 Michael Koch <konqueror@gmx.de>
6081 * javax/swing/plaf/basic/BasicTextUI.java
6082 (RootView.textComponent): Removed.
6083 (RootView.RootView): Don't initialize textComponent.
6084 (RootView.getViewFactory): New method.
6085 (EventHandler): New inner class.
6086 (rootView): Initialize at instance creation.
6087 (eventHandler): New field.
6088 (installUI): Don't create view hierarchy directly,
6089 call modelChanged() instead.
6090 (modelChanged): New method.
6091 * javax/swing/text/JTextComponent.java
6092 (setDocument): Fire property change event.
6094 2004-08-31 Michael Koch <konqueror@gmx.de>
6096 * javax/swing/plaf/basic/BasicTextUI.java
6097 (RootView.paint): Removed debug output.
6098 (paintSafely): Draw highlighter before text.
6099 (paintBackground): Use background color of text component.
6100 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6103 2004-08-31 Michael Koch <konqueror@gmx.de>
6105 * javax/swing/plaf/basic/BasicToolBarUI.java
6106 (BasicToolBarUI): Fixed arguments for constructor.
6107 (createUI): Fixed creation of object.
6109 2004-08-31 Michael Koch <konqueror@gmx.de>
6111 * javax/swing/DefaultListSelectionModel.java
6112 (fireValueChanged): Renamed from fireSelectionValueChanged,
6115 2004-08-31 Michael Koch <konqueror@gmx.de>
6117 * javax/swing/text/TabSet.java
6118 (TabSet): Implements java.io.Serializable.
6119 * javax/swing/text/TabStop.java
6120 (TabStop): Implements java.io.Serializable.
6121 (TabStop): Made public.
6123 2004-08-31 Michael Koch <konqueror@gmx.de>
6125 * javax/swing/JComponent.java
6126 (setUI): Fire PropertyChange.
6127 * javax/swing/JLabel.java
6128 (text): Renamed from labelText.
6129 (horizontalAlignment): New default vlaue.
6130 (icon): Renamed from activeIcon.
6131 (displayedMnemonic): Renamed from mnemonicKey, added default value.
6132 (displayedMnemonicIndex): Renamed from underlineChar.
6133 (setDisplayedMnemonic): Reimplemented.
6134 * javax/swing/JRadioButton.java
6135 (JRadioButton): New constructors.
6136 * javax/swing/JTextField.java
6137 (JTextField): Throw exception if colums < 0, initialitialz
6138 this.columns directly and initialize document with text conditionally.
6140 2004-08-31 Michael Koch <konqueror@gmx.de>
6142 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6143 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6144 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6145 * javax/swing/text/FieldView.java
6146 (paint): Just call super method for now.
6147 * Makefile.am: Added new files.
6148 * Makefile.in: Regenerated.
6150 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
6152 * javax/swing/AbstractSpinnerModel.java,
6153 javax/swing/JSpinner.java,
6154 javax/swing/SpinnerNumberModel.java,
6155 javax/swing/plaf/basic/BasicSpinnerUI.java:
6157 * javax/swing/plaf/basic/BasicLookAndFeel.java
6158 (initClassDefaults): Added defaults for BasicSpinnerUI.
6160 2004-08-31 Michael Koch <konqueror@gmx.de>
6162 * Makefile.am: Added new files.
6163 * Makefile.in: Regenerated.
6165 2004-08-31 Michael Koch <konqueror@gmx.de>
6167 * javax/swing/TransferHandler.java,
6168 javax/swing/plaf/basic/ComboPopup.java: New files
6169 * Makefile.am: Added javax/swing/TransferHandler.java and
6170 javax/swing/plaf/basic/ComboPopup.java
6171 * Makefile.in: Regenerated.
6173 2004-08-31 Roman Kennke <roman@ontographics.com>
6175 * javax/swing/text/Utilities.java: New file.
6177 2004-08-31 Michael Koch <konqueror@gmx.de>
6179 * Makefile.am: Added javax/swing/text/Utilities.java.
6180 * Makefile.in: Regenerated.
6182 2004-08-31 Graydon Hoare <graydon@redhat.com>
6184 * javax/swing/text/SimpleAttributeSet.java: New file.
6185 * javax/swing/text/StyleConstants.java: New file.
6186 * javax/swing/text/StyleContext.java: New file.
6187 * javax/swing/text/TabSet.java: New file.
6188 * javax/swing/text/TabStop.java: New file.
6189 * javax/swing/text/AbstactDocument.java:
6190 (AbstractElement): Implement attribute support.
6191 * javax/swing/text/AttributeSet.java
6192 (NameAttribute): New static field.
6193 (ResolveAttribute): New static field.
6194 * Makefile.am: Update for new files.
6195 * Makefile.in: Regenerate.
6197 2004-08-31 Craig Black <craig.black@aonix.com>
6199 * gnu/java/awt/peer/gtk/GdkGraphics.java
6200 (drawImage): Add support for scaling pixmaps.
6201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6202 (copyAndScalePixmap): New native method.
6204 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6207 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
6208 type-punning compiler warnings using unions.
6209 (throw): Replace bzero with memset.
6211 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6212 Thomas Fitzsimmons <fitzsim@redhat.com>
6214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6215 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
6216 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6218 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6220 2004-08-31 Mark Wielaard <mark@klomp.org>
6222 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6223 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6224 and stdlib.h, not gtkpeer.h.
6225 (*vm): New static variable.
6226 (areaPreparedID): Make static.
6227 (areaUpdatedID): Likewise.
6228 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6229 (area_prepared): Likewise.
6230 (area_updated): Likewise.
6232 (initStaticState): Initialize *vm javaVM.
6233 (pumpBytes): Use given env, not global gdk_env.
6235 2004-08-31 Mark Wielaard <mark@klomp.org>
6237 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6240 2004-08-31 Sven de Marothy <sven@physto.se>
6242 * java/awt/geom/CubicCurve2D.java: Reindent.
6243 (contains): Implemented.
6244 (intersects): Implemented.
6245 * java/awt/geom/QuadCurve2D.java: Likewise.
6246 * java/awt/geom/GeneralPath.java: Reindent and document.
6247 Fully (re)implemented using separate xpoints and ypoints
6249 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6251 2004-08-31 Michael Koch <konqueror@gmx.de>
6253 * javax/swing/JMenuItem.java
6254 (getMenuDragMouseListeners): New method.
6255 (getMenuKeyListeners): Likewise.
6257 2004-08-31 Michael Koch <konqueror@gmx.de>
6259 * javax/swing/AbstractButton.java
6260 (model): Made protected.
6261 (actionListener): Likewise.
6262 (changeListener): Likewise.
6263 (itemListener): Likewise.
6264 (multiClickThreshhold): New field.
6265 (getActionListeners): New method.
6266 (getChangeListeners): Likewise.
6267 (getItemListeners): Likewise.
6268 (fireItemStateChanged): Simplified implementation.
6269 (fireActionPerformed): Likewise.
6270 (fireStateChanged): Likewise.
6271 (getMultiClickThreshhold): New method.
6272 (setMultiClickThreshhold): Likewise.
6274 2004-08-31 Tom Tromey <tromey@redhat.com>
6276 * java/awt/image/Kernel.java (clone): Use super.clone().
6278 2004-08-31 David Jee <djee@redhat.com>
6281 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6282 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6283 (nativeSetIconImageFromData): New native method declaration.
6284 (setIconImage): Handle images not produced from GdkPixbufDecoder.
6285 * gnu/java/awt/peer/gtk/GtkImage.java
6286 (getPixelCache): New method.
6287 (getColorModel): New method.
6288 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6289 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6290 (free_pixbuf_data): New helper function.
6291 (nativeSetIconImageFromData): New function.
6293 2004-08-31 Graydon Hoare <graydon@redhat.com>
6296 * javax/swing/JLayeredPane.java
6297 (setLayer): Permit changing layer after addition.
6298 (setPosition): Permit over-length positions.
6299 (layerToRange): Compare intValue()s.
6300 * javax/swing/Box.java (createHorizontalBox): Implement.
6301 (createRigidArea): Likewise.
6302 (createVerticalBox): Likewise.
6304 2004-08-31 Kim Ho <kho@redhat.com>
6306 * java/awt/Component.java:
6307 (processMouseEvent): Consume event after
6308 listeners process it.
6309 (processMouseMotionEvent): ditto.
6310 (processMouseWheelEvent): ditto.
6311 * java/awt/Container.java:
6312 (acquireComponentForMouseEvent):
6313 Do not dispatch to events that have been
6314 removed from the Container.
6315 (handleEvent): Consume the MouseEvents.
6316 * javax/swing/RepaintManager.java:
6317 (paintDirtyRegions): Do not add to list of
6318 damaged areas if the component has no root.
6320 2004-08-31 Michael Koch <konqueror@gmx.de>
6322 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6324 2004-08-31 Mark Wielaard <mark@klomp.org>
6326 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6327 null when a MissingResourceException is thrown. Should never happen.
6329 2004-08-31 Mark Wielaard <mark@klomp.org>
6331 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6332 when argument is null.
6334 2004-08-31 Mark Wielaard <mark@klomp.org>
6336 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6337 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6338 Define hid at start of function.
6339 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6342 2004-08-31 Mark Wielaard <mark@klomp.org>
6344 * gnu/java/awt/EmbeddedWindow.java: Reindent.
6345 * javax/swing/JButton.java: Reindent.
6346 * javax/swing/JCheckBox.java: Reindent.
6348 2004-08-31 Mark Wielaard <mark@klomp.org>
6350 * Makefile.am (gtk_c_source_files): Added
6351 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6352 (gtk_awt_peer_sources): Added
6353 gnu/java/awt/peer/gtk/GThreadMutex.java and
6354 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6355 * Makefile.in: Regenerated.
6357 2004-08-31 Archie Cobbs <archie@dellroad.org>
6359 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6361 2004-08-31 Steven Augart <augart@watson.ibm.com>
6363 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
6364 Added jfieldID, jmethodID.
6366 2004-08-31 Mark Wielaard <mark@klomp.org>
6368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6369 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6370 gdk_env before calling any gdk or gtk function.
6372 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6373 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6374 (run): Set gtkInitCalled.
6376 2004-08-31 Steven Augart <augart@watson.ibm.com>
6378 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
6379 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6382 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6383 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
6385 (init_glib_threads): New function.
6387 2004-08-31 Mark Wielaard <mark@klomp.org>
6389 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6390 PRIORITY when not already defined in header file.
6392 2004-08-31 Mark Wielaard <mark@klomp.org>
6394 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6395 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6397 2004-08-31 Steven Augart <augart@watson.ibm.com>
6399 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6400 Implemented missing functions for GTK2.
6401 Added error handling.
6402 Renamed static functions out of the g_ namespace.
6403 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
6404 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6405 Rewrote global-reference code.
6406 Eliminated cascading errors.
6407 (mutex_trylock_jni_impl) Fully implemented.
6408 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6410 (setup_cache) New function.
6411 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6412 bug where they were not unlocking the GMutex associated with the
6413 condition variable during the wait on that condition variable.
6415 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6416 native/jni/gtk-peer/gthread-jni.c,
6417 native/jni/gtk-peer/gthread-jni.h
6418 (g_thread_jni_functions): Renamed to ...
6419 (portable_native_sync_jni_functions): this name.
6420 (gdk_vm): Renamed to...
6421 (the_vm): this name.
6423 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6424 (gdk_vm): Removed duplicate definition.
6425 (gtkInit): Removed stray message to stdout.
6426 (gtkInit): Use g_malloc and g_free instead of malloc and free.
6427 (gtkInit): Fix a const assignment bug.
6428 (gtkInit): Simplified code.
6430 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6431 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6432 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6433 gnu/java/awt/peer/gtk/GThreadMutex.java:
6436 2004-08-31 Mark Wielaard <mark@klomp.org>
6438 * javax/swing/Box.java: Put FIXME comment above class declaration.
6439 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6440 * javax/swing/JCheckBox.java: Likewise.
6441 * javax/swing/JDialog.java: Likewise.
6442 * javax/swing/JRadioButton.java: Likewise.
6443 * javax/swing/JToggleButton.java: Likewise.
6444 * javax/swing/UIManager.java: Likewise.
6445 * javax/swing/border/TitledBorder.java: Likewise.
6446 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6447 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6448 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6449 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6450 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6451 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6452 * javax/swing/text/JTextComponent.java: Likewise.
6454 2004-08-31 David Jee <djee@redhat.com>
6457 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6458 (setIconImage): Add a FIXME for unhandled cases.
6460 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6463 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6464 getModifiers. Replace old button masks with new ones.
6465 * gnu/awt/xlib/XEventLoop.java: Likewise.
6466 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6467 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6468 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6469 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6470 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6471 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6472 * java/awt/Component.java: Replace old modifier masks with new
6474 * java/awt/Container.java: Call getModifiersEx, not
6476 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
6478 * javax/swing/JMenuItem.java: Replace old button masks with new
6480 * javax/swing/KeyStroke.java: Call getModifiersEx, not
6482 * javax/swing/SwingUtilities.java: Likewise.
6483 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6484 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6486 mask macros with new ones.
6487 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6488 macros with new ones representing new masks.
6490 2004-08-31 Craig Black <craig.black@aonix.com>
6492 * gnu/java/awt/peer/gtk/GdkGraphics.java
6493 (drawRoundRect): Implemented.
6494 (fillRoundRect): Implemented.
6495 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6496 (drawRoundRect): Reimplemented to match GdkGraphics.
6497 (fillRoundRect): Reimplemented to match GdkGraphics.
6499 2004-08-31 Mark Wielaard <mark@klomp.org>
6501 * Makefile.in: Regenerated.
6503 2004-08-31 Michael Koch <konqueror@gmx.de>
6505 * gnu/java/awt/EmbeddedWindow.java
6506 (addNotify): Use AccessController to allow execution of privileged
6509 2004-08-31 Michael Koch <konqueror@gmx.de>
6511 * gnu/java/awt/EmbeddedWindow.java
6513 (addNotify): Set peer via reflection.
6514 (setWindowPeer): Removed.
6515 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6516 * Makefile.am (nat_source_files):
6517 Removed gnu/java/awt/natEmbeddedWindow.cc.
6519 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6521 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
6522 and gnu/java/security/action/SetAccessibleAction.java.
6524 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6526 * gnu/java/security/action/GetPropertyAction.java (setParameters):
6527 Renamed from 'setName'. New 2-argument form with default value.
6528 (run): Pass default 'value' parameter to System.getProperty().
6529 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6532 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6534 * gnu/java/security/action/GetPropertyAction.java: New class.
6535 * gnu/java/security/action/SetAccessibleAction.java: New class.
6537 2004-08-31 David Jee <djee@redhat.com>
6539 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6540 (setIconImage): Check if image is null.
6542 2004-08-31 David Jee <djee@redhat.com>
6544 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6545 (create): Set the icon image.
6546 (nativeSetIconImage): New native method declaration.
6547 (setIconImage): Implement.
6548 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6549 (nativeSetIconImage): New function.
6551 2004-08-31 Dalibor Topic <robilad@kaffe.org>
6553 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6554 (filenameFilterCallback): Declare local variable accepted before use.
6556 2004-08-31 Dalibor Topic <robilad@kaffe.org>
6558 * gnu/java/awt/ComponentDataBlitOp.java:
6561 2004-08-31 Tom Tromey <tromey@redhat.com>
6563 * gnu/java/awt/peer/GLightweightPeer.java,
6564 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6565 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6566 javax/swing/JScrollPane.java: Removed
6569 2004-08-31 David Jee <djee@redhat.com>
6571 * java/awt/DefaultKeyboardFocusManager.java
6572 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6573 event. Fix shift modifier checking.
6574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6575 (accel_attach): Remove.
6576 (setupAccelGroup): Remove calls to accel_attach.
6578 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6580 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6581 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6583 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6585 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6586 * Makefile.in: Regenerate.
6587 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6588 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6589 (create(String)): New method.
6590 (create): Call new create method.
6591 (getArgs): Remove method.
6592 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6593 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6594 (nativeCreate): Rename to create.
6595 (gtkSetLabel): Rename to gtkButtonSetLabel.
6596 (gtkToggleButtonSetActive): New method.
6597 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6598 (setState): Replace set call with gtkToggleButtonSetActive.
6599 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6600 (getArgs): Remove method.
6601 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6602 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6603 (gtkWidgetSetSensitive): New method.
6604 (gtkWidgetSetParent): Likewise.
6605 (GtkComponentPeer): Call setParent, setComponentBounds and
6606 setVisibleAndEnabled.
6607 (setParent): New method.
6608 (setComponentBounds): New method.
6609 (setVisibleAndEnabled): New method.
6610 (setEnabled): Call gtkWidgetSetSensitive.
6611 (getArgs): Remove method.
6612 Remove all set methods.
6613 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6614 gtkWindowSetModal, setTitle and setResizable.
6615 (getArgs): Remove method.
6616 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6617 (setComponentBounds): New method.
6618 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6619 Replace set call with gtkWindowSetResizable.
6620 (getArgs): Remove method.
6621 (create): Call setTitle and setResizable.
6622 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6623 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6624 (gtkWindowSetTitle): New method.
6625 (gtkWindowSetResizable): New method.
6626 (gtkWindowSetModal): New method.
6627 (setParent): New method.
6628 (setVisibleAndEnabled): New method.
6629 (getArgs): Remove method.
6630 (setTitle): Call gtkWindowSetTitle.
6631 (setResizable): Call gtkWindowSetResizable.
6632 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6633 and off locking instrumentation.
6635 2004-08-31 Kim Ho <kho@redhat.com>
6637 * Makefile.am: Add new file.
6638 * Makefile.in: Regenerate.
6639 * gcj/Makefile.in: Regenerate
6640 * include/Makefile.in:
6641 * java/awt/Container.java:
6642 (acquireComponentForMouseEvent): Respect
6643 the event mask when looking for candidate.
6644 * javax/swing/JComponent.java:
6645 Remove toolTip field.
6646 (createToolTip): Create a tooltip on demand.
6647 (setToolTipText): Register with the ToolTipManager.
6648 (getToolTipText(MouseEvent)): Return getToolTipText().
6649 * javax/swing/JToolTip.java: Implement.
6650 * javax/swing/Timer.java: Jalopy.
6651 (restart): Call stop, then start.
6652 (stop): Interrupt the timer rather than wait for
6653 the timer to come to a stop naturally.
6654 * javax/swing/ToolTipManager.java: Implement.
6655 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6656 Change ToolTip.background color.
6657 * javax/swing/plaf/basic/BasicToolTipUI.java:
6659 * testsuite/Makefile.in: Regenerate
6661 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
6663 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6664 constructor param comments.
6666 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6668 * java/awt/Component.java: Document AWT 1.0 event handler
6671 2004-08-31 Roman Kennke <roman@ontographics.com>
6673 * javax/swing/Box.java:
6674 (createGlue): Implemented
6675 (createHorizontalGlue): Implemented
6676 (createHorizontalStrut): Implemented
6677 (createVerticalGlue): Implemented
6678 (createVerticalStrut): Implemented
6680 2004-08-31 David Jee <djee@redhat.com>
6682 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6683 (GtkChoicePeer): Do not automatically select first item.
6684 (getHistory): Remove.
6685 (nativeGetSelected): New method.
6686 (nativeRemoveAll): New method.
6687 (add): Use nativeGetSelected() instead of getHistory().
6689 (removeAll): Call nativeRemoveAll().
6690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6691 (create): Migrate to GtkComboBox.
6693 (nativeAdd): Likewise.
6694 (nativeRemove): Likewise.
6696 (nativeRemoveAll): New method.
6697 (nativeGetSelected): New method.
6698 (selection_changed): New method.
6699 (getHistory): Remove.
6700 (item_activate): Remove.
6701 (item_removed): Remove.
6702 (connect_choice_item_selectable_hook): Remove.
6704 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6706 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6707 variable in setEditable call.
6709 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6710 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6711 (gtkWidgetSetBackground): New method.
6712 (gtkWidgetSetForeground): Likewise.
6713 (create): Set peer's editable state based on awtComponent's.
6715 * java/awt/Button.java (Button()): Use empty string rather than
6716 null in no-label constructor.
6718 2004-08-31 Roman Kennke <roman@ontographics.com>
6720 * javax/swing/BoxLayout.java: Reimplement.
6722 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6724 * gnu/java/awt/peer/gtk/GdkGraphics.java,
6725 gnu_java_awt_peer_gtk_GdkGraphics.c
6726 (initState(GtkComponentPeer)): Don't return array of colour
6728 (GdkGraphics(int,int)): Set default font to size 12.
6729 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6730 component's foreground colour.
6731 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6732 gnu_java_awt_peer_gtk_GdkGraphics2D.c
6733 (initState(GtkComponentPeer)): Don't return array of colour
6735 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6736 colours to component's colours.
6737 (current_colors_of_widget): Remove function.
6738 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6739 Return a new graphics object.
6740 * java/awt/Font.java (toString): Fix format.
6741 * java/awt/Graphics.java (toString): Likewise.
6743 2004-08-31 Craig Black <craig.black@aonix.com>
6745 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6746 (addTearOff): New function.
6747 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6749 (init): Call addTearOff() when menu.isTearOff().
6751 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6753 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6754 Default implementation.
6755 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6756 Implement using GdkPixbufDecoder.
6758 2004-08-31 David Jee <djee@redhat.com>
6760 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6761 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6762 setting the size of GtkFileDialogPeers.
6763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6764 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6765 use their default sizes rather than their natural requisitions.
6767 2004-08-31 Michael Koch <konqueror@gmx.de>
6769 * javax/swing/JFormattedTextField.java
6770 (JFormattedTextField): Implemented.
6771 * javax/swing/text/DefaultEditorKit.java
6772 (BeepAction): New inner class.
6773 * javax/swing/text/Segment.java
6774 (partialReturn): New field.
6775 (setPartialReturn): New method.
6776 (isPartialReturn): Likewise.
6777 * javax/swing/text/View.java
6778 (createFragment): Fixed typo.
6779 (getStartOffset): New method.
6780 (getEndOffset): Likewise.
6782 2004-08-31 Michael Koch <konqueror@gmx.de>
6784 * javax/swing/table/DefaultTableColumnModel.java
6785 (serialVersionUID): Made private.
6786 (listenerList): Initialize.
6787 (changeEvent): Initialize.
6788 * javax/swing/table/JTableHeader.java
6789 (JTableHeader): New constructors.
6790 (createDefaultColumnModel): New method.
6791 * javax/swing/table/TableColumn.java
6792 (setHeaderRenderer): Simplified code.
6793 (setCellRenderer): Likewise.
6794 (setWidth): Likewise.
6796 2004-08-31 Tom Tromey <tromey@redhat.com>
6798 * java/text/AttributedString.java (AttributedString): Use
6799 ArrayList to build array of attribute ranges. Don't use
6800 `attribs' before it is set.
6802 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
6804 * HACKING: Remove reference to special automake. No longer needed.
6806 2004-08-30 Tom Tromey <tromey@redhat.com>
6808 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
6809 return result from `add'.
6811 2004-08-30 Tom Tromey <tromey@redhat.com>
6813 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
6815 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
6817 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
6819 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
6821 * java/io/File.java File(String,String): Fixed handling of empty
6824 2004-08-30 Casey Marshall <csm@gnu.org>
6826 Author e-mail updated for all files.
6827 * gnu/java/security/OID.java (equals): Test if the aurgment is an
6829 (compareTo): Use `equals'.
6830 * gnu/java/security/der/BitString.java (equals): Test if the
6831 argument is an instance of BitString.
6832 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
6833 class final. Made fields private.
6834 (<init>): New constructor.
6836 (makeString): Made static; don't use NIO.
6837 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
6838 * gnu/java/security/der/DERWriter.java: Fixed imports.
6839 (writeString): Don't use NIO.
6840 (toIso88591, toUtf16Be, toUtf8): New methods.
6841 * gnu/java/security/der/DERValue.java: Formatting changes only.
6842 * gnu/java/security/der/DER.java: Likewise.
6844 2004-08-30 Tom Tromey <tromey@redhat.com>
6846 * java/nio/CharBuffer.java (put): Fix typo.
6847 * java/nio/DoubleBuffer.java (put): Fix typo.
6848 * java/nio/FloatBuffer.java (put): Fix typo.
6849 * java/nio/IntBuffer.java (put): Fix typo.
6850 * java/nio/LongBuffer.java (put): Fix typo.
6851 * java/nio/ShortBuffer.java (put): Fix typo.
6853 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
6855 * java/nio/ByteBuffer.java (put): Fix typo.
6857 2004-08-30 Casey Marshall <csm@gnu.org>
6859 * java/security/DummyKeyPairGenerator.java (clone): Removed
6860 useless instanceof check.
6861 * java/security/DummyMessageDigest.java (clone): Likewise.
6862 * java/security/DummySignature.java (clone): Likewise.
6863 * java/security/MessageDigest.java (clone): Remove useless
6865 * java/security/MessageDigestSpi.java (clone): Likewise.
6866 * java/security/Signature.java (clone): Provide meaningful
6868 * java/security/SignatureSpi.java (clone): Likewise.
6870 2004-08-29 Mark Wielaard <mark@klomp.org>
6872 * java/util/Arrays.java
6873 (sort(byte[], int, int)): Check fromIndex < 0.
6874 (sort(char[], int, int)): Likewise.
6875 (sort(short[], int, int)): Likewise.
6876 (sort(int[], int, int)): Likewise.
6877 (sort(long[], int, int)): Likewise.
6878 (sort(float[], int, int)): Likewise.
6879 (sort(double[], int, int)): Likewise.
6880 (sort(Object[], int, int, Comparator)): Likewise.
6881 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
6882 (qsort(char[], int, int)): Likewise.
6883 (qsort(short[], int, int)): Likewise.
6884 (qsort(int[], int, int)): Likewise.
6885 (qsort(long[], int, int)): Likewise.
6886 (qsort(float[], int, int)): Likewise.
6887 (qsort(double[], int, int)): Likewise.
6889 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
6891 * java/util/AbstractCollection.java, java/util/AbstractList.java,
6892 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
6893 java/util/ArrayList.java, java/util/Arrays.java,
6894 java/util/BitSet.java, java/util/Calendar.java,
6895 java/util/Collection.java, java/util/ListIterator.java,
6896 java/util/Map.java, java/util/SortedSet.java:
6897 Added additional exceptions to documentation, along
6898 with some additions and corrections.
6900 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
6902 * configure.ac: Handle --enable-gc-debug.
6903 * configure: Regenerate.
6904 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
6905 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
6906 Rearrange include file order.
6907 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
6908 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
6909 (disable_gc_mutex): Delete along with all references.
6910 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
6911 adjust for debug header size.
6912 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
6914 (_Jv_AllocArray): Declare min_heap_addr only if needed.
6915 (gcj_describe_type_fn): New.
6916 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
6917 Register gcj_describe_type_fn.
6918 * include/boehm-gc.h:
6919 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
6920 Don't define, but declare, for debug case.
6921 * java/lang/natObject.cc:
6922 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
6924 2004-08-26 Mark Wielaard <mark@klomp.org>
6926 Fixes PR libgcj/17002:
6927 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
6928 a TimeZoneId string and then try to convert that to a TimeZone with
6929 getDefaultSystemTimeZone(String).
6930 (timezones0): Changed type from Hashtable to HashMap.
6931 (timezones): Create HashMap, not Hashtable.
6932 (getDefaultTimeZone): New method, rewritten from CNI version.
6933 (readTimeZoneFile): New method.
6934 (readtzFile): Likewise.
6935 (skipFully): Likewise.
6936 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
6937 getDefaultTimeZoneId and rewritten.
6938 (getDefaultTimeZoneId): Rewritten in java.
6940 2004-08-25 David Daney <daney@avtrex.com>
6942 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
6943 * Makefile.in: Regenerated.
6945 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
6947 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
6948 only if jvmpi is enabled.
6949 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
6950 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
6951 (_Jv_AllocString): Likewise.
6952 (_Jv_AllocPtrFreeObject): Likewise.
6954 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
6956 * defineclass.cc: Include <stdio.h>.
6957 * java/lang/natClassLoader.cc: Include <stdio.h>.
6959 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
6960 Michael Koch <konqueror@gmx.de>
6962 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
6963 * Makefile.in: Regenerated.
6965 2004-08-20 Michael Koch <konqueror@gmx.de>
6967 * configure.ac: Replaced all AC_TRY_COMPILE macros with
6968 AC_COMPILE_IFELSE macros.
6970 2004-08-20 Michael Koch <konqueror@gmx.de>
6972 * configure.in: Renamed to configure.ac.
6973 * configure.ac: New file.
6974 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
6975 include/config.h.in, testsuite/Makefile.in: Regenerated.
6977 2004-08-20 Michael Koch <konqueror@gmx.de>
6979 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
6980 * aclocal.m4, configure: Regenerated.
6982 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6983 Michael Koch <konqueror@gmx.de>
6985 * configure.in, Makefile.am: Ported to automake 1.9.
6986 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
6987 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
6990 2004-08-19 Tom Tromey <tromey@redhat.com>
6992 * java/net/DatagramSocket.java: Fixed typo.
6994 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
6997 * java/net/URI.java (string): New field. Make all other fields
6999 (readObject): Implemented.
7000 (writeObject): Implemented.
7001 (URI): Set 'string'.
7003 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
7006 * java/util/logging/Handler.java (isLoggable): Accept record if its
7007 log level equals the threshold level. From Robin Green.
7009 2004-08-18 David Daney <ddaney@avtrex.com>
7011 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
7014 2004-08-17 Michael Koch <konqueror@gmx.de>
7016 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
7017 * Makefile.in: Regenerated.
7019 2004-08-16 Tom Tromey <tromey@redhat.com>
7022 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
7024 2004-08-16 Michael Koch <konqueror@gmx.de>
7027 (math_c_files): Renamed from c_files.
7028 (math_c_source_files): Renamed from c_source_files.
7031 include/Makefile.in,
7032 testsuite/Makefile.in: Regenerated.
7034 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
7036 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7037 to avoid autoconf warning.
7038 * configure: Rebuilt.
7040 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
7042 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
7043 localhostAddress to loopbackAddress.
7044 * java/net/natInetAddressWin32.cc (lookup): Likewise.
7046 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7048 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
7049 boehm-gc's include dirs.
7050 * configure: Rebuilt.
7051 * include/boehm-gc.h: Include gc_config.h.
7053 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7055 * java/net/InetAddress.java (loopbackAddress): Renamed from
7057 (getByName): Return loopback address for null hostname, without
7058 security check. Use lookup(), not getAllByName.
7059 (getAllByName): Return loopback address for null hostname, without
7061 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7064 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7067 Reported by Robin Green.
7068 * defineclass.cc (handleField): Don't throw exception on unrecognised
7069 modifier. Add FIXME comments for spec compliance.
7070 (handleMethod): Likewise.
7072 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
7075 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7076 (Almost everywhere): add LOG calls, fix, add comments.
7077 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7078 Add explicit check for LOCKED bit in slow case (PR 16662).
7079 (_Jv_MonitorExit): Add casts in debug-only code.
7080 Always release LOCKED bit before throwing exception.
7081 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7082 isn't. Handle easy cases without lock acquisition.
7083 (Object::wait): Use NotifyAll for lock inflation.
7085 2004-08-12 David Daney <ddaney@avtrex.com>
7087 * testsuite/libjava.lang/Process_1.java: New test.
7088 * testsuite/libjava.lang/Process_2.java: New test.
7089 * testsuite/libjava.lang/Process_3.java: New test.
7090 * testsuite/libjava.lang/Process_4.java: New test.
7091 * testsuite/libjava.lang/Process_5.java: New test.
7092 * testsuite/libjava.lang/Process_6.java: New test.
7093 * testsuite/libjava.lang/Process_1.out: Expected result.
7094 * testsuite/libjava.lang/Process_2.out: Expected result.
7095 * testsuite/libjava.lang/Process_3.out: Expected result.
7096 * testsuite/libjava.lang/Process_4.out: Expected result.
7097 * testsuite/libjava.lang/Process_5.out: Expected result.
7098 * testsuite/libjava.lang/Process_6.out: Expected result.
7100 2004-08-12 David Daney <ddaney@avtrex.com>
7103 * java/lang/PosixProcess.java: Rewrote.
7104 * java/lang/natPosixProcess.cc: Rewrote.
7105 * java/lang/Runtime.java (execInternal): Declare throws IOException.
7106 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7107 * posix-threads.cc (block_sigchld) New function.
7108 (_Jv_ThreadRegister) Use it.
7109 (_Jv_ThreadStart) Use it.
7110 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7111 * Makefile.am: ... to specify extra native headers.
7112 * configure: Regenerated.
7113 * include/config.h: Regenerated.
7114 * Makefile.in: Regenerated.
7115 * gcj/Makefile.in: Regenerated.
7116 * include/Makefile.in: Regenerated.
7117 * testsuite/Makefile.in: Regenerated.
7119 2004-08-12 Diego Novillo <dnovillo@redhat.com>
7121 PR tree-optimization/16867
7122 * testsuite/libjava.lang/PR16867.java: New test.
7124 2004-08-09 Per Bothner <per@bothner.com>
7126 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7127 with private fields and access methods.
7128 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7129 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7130 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7131 ( _Jv_makeUtf8Const): Rewrite using new constructors.
7132 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7133 * defineclass.cc: Use new _Utf8Const access/convenience methods.
7135 * resolve.cc: Likewise.
7136 * gcj/field.h: Likewise.
7137 * include/jvm.h: Likewise.
7138 * java/lang/Class.h: Likewise.
7139 * java/lang/natClass.cc: Likwise.
7140 * java/lang/natClassLoader.cc: Likewise
7141 * java/lang/reflect/natMethod.cc: Likewise
7142 * verify.cc: Likewise.
7143 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
7144 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
7146 2004-08-10 Andrew Haley <aph@redhat.com>
7148 * testsuite/libjava.lang/err14.java: New file.
7149 * testsuite/libjava.lang/err14.out: New file.
7151 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
7153 * Makefile.am: Fix missing rename from x_nat_headers to
7155 * Makefile.in: Regenerated.
7157 2004-08-04 Andrew Haley <aph@redhat.com>
7159 * java/security/BasicPermission.java: Don't check wildcards.
7161 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7162 Michael Koch <konqueror@gmx.de>
7164 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7165 * configure.in: Replaced all usages of AC_LINK_FILES by
7168 configure: Regenerated.
7170 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7171 Michael Koch <konqueror@gmx.de>
7173 * acconfig.h: Removed.
7174 * Makefile.am: Rename variables for xlib peer to include xlib and
7175 gtk_c_headers to gtk_jni_headers.
7176 * Makefile.in: Regenerated.
7178 2004-08-04 Andrew Haley <aph@redhat.com>
7180 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7183 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
7185 * configure.in: Eliminate uses of changequote (mostly by quoting []).
7186 Replace most top level 'dnl' comments with '#' comments, conforming
7187 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
7189 * configure: Rebuilt.
7191 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
7193 * acinclude.m4: Include no-executables.m4.
7194 * aclocal.m4: Rebuild.
7195 * configure.in: Convert to the autoconf 2.59 version of
7196 of the no-executables hack, and also of the nonstandard CXX
7197 hack and the multilibbed CC and CXX hack. Change prerequisite
7199 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
7200 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7201 testsuite/Makefile.in: Regenerate.
7203 2004-08-03 Tom Tromey <tromey@redhat.com>
7205 * jni.cc: Reindented.
7207 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
7209 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7211 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
7213 * testsuite/libjava.compile/PR16701.java: New test.
7215 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
7217 * java/util/Collection.java, java/util/List.java,
7218 java/util/Map.java, java/util/Set.java,
7219 java/util/SortedMap.java, java/util/SortedSet.java:
7220 Added additional exceptions to documentation.
7222 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
7225 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7226 * configure. Regenerate.
7227 * include/win32.h: Explicitly include winsock2.h
7228 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7231 2004-07-30 Michael Koch <konqueror@gmx.de>
7233 * java/util/zip/GZIPInputStream.java
7234 (GZIPInputStream): Increase buffer size to 4k.
7235 * java/util/zip/GZIPOutputStream.java
7236 (GZIPOutputStream): Likewise.
7237 * java/util/zip/Inflater.java
7238 (setInput): Merged formating with GNU classpath.
7239 * java/util/zip/InflaterInputStream.java
7240 (InflaterInputStream): Increase buffer size to 4k.
7241 (fill): Throw exception if stream ends early.
7242 (read): Merged endless-loop with GNU classpath.
7243 (skip): Increase buffer size to 2k.
7245 2004-07-30 Michael Koch <konqueror@gmx.de>
7247 * gnu/java/awt/EmbeddedWindow.java
7248 (addNotify): Use AccessController to allow execution of privileged
7251 2004-07-29 Michael Koch <konqueror@gmx.de>
7253 * gnu/java/lang/MainThread.java:
7254 Explicitely import used classes.
7255 (args): Make it type String[].
7257 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7259 * gnu/java/awt/ComponentDataBlitOp.java,
7260 gnu/java/beans/ExplicitBeanInfo.java,
7261 gnu/java/beans/IntrospectionIncubator.java,
7262 gnu/java/beans/editors/ColorEditor.java,
7263 gnu/java/beans/editors/FontEditor.java,
7264 gnu/java/beans/editors/NativeBooleanEditor.java,
7265 gnu/java/beans/editors/NativeByteEditor.java,
7266 gnu/java/beans/editors/NativeDoubleEditor.java,
7267 gnu/java/beans/editors/NativeFloatEditor.java,
7268 gnu/java/beans/editors/NativeIntEditor.java,
7269 gnu/java/beans/editors/NativeLongEditor.java,
7270 gnu/java/beans/editors/NativeShortEditor.java,
7271 gnu/java/beans/editors/StringEditor.java,
7272 gnu/java/io/ClassLoaderObjectInputStream.java,
7273 gnu/java/io/decode/Decoder.java,
7274 gnu/java/io/encode/Encoder.java,
7275 gnu/java/lang/ClassHelper.java,
7276 gnu/java/locale/Calendar.java,
7277 gnu/java/locale/Calendar_de.java,
7278 gnu/java/locale/Calendar_en.java,
7279 gnu/java/locale/Calendar_nl.java,
7280 gnu/java/locale/LocaleInformation_de.java,
7281 gnu/java/locale/LocaleInformation_en.java,
7282 gnu/java/locale/LocaleInformation_nl.java:
7285 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7287 * README: Remove obsolete info. Update bug URL.
7289 * NEWS: Updated with news up to GCC 3.4 release.
7291 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7293 * gnu/java/security/action/GetPropertyAction.java (setParameters):
7294 Renamed from 'setName'. New 2-argument form with default value.
7295 (run): Pass default 'value' parameter to System.getProperty().
7296 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7298 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7301 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7303 * configure.in: Check for minimum GTK version 2.4 requirement.
7304 * configure: Rebuilt.
7306 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7308 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7309 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7311 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7313 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
7314 address. Reduce sleep times. Synchronize with target threads before
7315 attempting to interrupt them. Don't try to calibrate yeild count,
7316 instead, always loop for a fixed time.
7317 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7318 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7319 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7320 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7321 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7322 * testsuite/libjava.lang/pr179.java: Likewise.
7323 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7324 time. Remove upper bounds check on sleep time.
7326 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7328 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7329 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
7331 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7333 * java/io/File.java (toURI): Throw RuntimeException, not
7335 * java/lang/Runtime.java (exit): Qualify static sleep() call with
7336 class name, not instance.
7338 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
7340 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7341 and gnu/java/security/action/SetAccessibleAction.java.
7342 * Makefile.in: Rebuilt.
7344 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7346 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7347 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7349 (DECLARE_PRIM_TYPE): Don't declare array vtables.
7350 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7351 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7353 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7355 * Makefile.am: Replace jar, rmic and rmiregistry references with
7356 gjar, grmic and grmiregistry.
7357 * configure.in: Likewise.
7358 * Makefile.in: Regenerate.
7359 * configure: Likewise.
7360 * gcj/Makefile.in: Likewise.
7361 * include/Makefile.in: Likewise.
7362 * testsuite/Makefile.in: Likewise.
7364 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7366 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7367 for privileged getProperty calls.
7368 * java/io/ObjectOutputStream.java (getField): No longer static. Use
7369 SetAccessibleAction instead of anonymous class for doPrivileged call.
7370 (getMethod): Likewise.
7371 (setAccessible): New field. PrivilegedAction object to use when
7372 calling setAccessible.
7373 * java/io/ObjectStreamClass.java (calculateOffsets): Use
7374 SetAccessibleAction instead of anonymous class for diPrivileged call.
7375 (setFields): Likewise.
7376 (getClassUID): Likewise.
7377 (findMethod): Likewise.
7378 * gnu/java/security/action/GetPropertyAction.java: New class.
7379 * gnu/java/security/action/SetAccessibleAction.java: New class.
7381 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7383 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7385 * testsuite/libjava.lang/Serialization.java: New test.
7386 * testsuite/libjava.lang/Serialization.out: New.
7388 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7390 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7391 missed in last commit.
7393 2004-07-23 Mark Wielaard <mark@klomp.org>
7395 * java/lang/System.java (static): Set http.agent system property when
7397 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7398 from system property inside AccessController.doPrivileged() call.
7399 (proxyPort): Made package private.
7400 (proxyInUse): Likewise.
7401 (proxyHost): Likewise.
7402 (userAgent): Likewise.
7404 2004-07-23 Mark Wielaard <mark@klomp.org>
7406 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7409 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
7411 * Makefile.am (ordinary_java_source_files): Add
7412 DefaultContentHandlerFactory.java.
7413 * Makefile.in: Rebuilt.
7414 * java/net/URLConnection.java (defaultFactory): New field.
7416 (getContentHandler): Renamed from 'setContentHandler'. Try
7417 defaultFactory after user-set factory, if any. Search for content
7418 handler implementations in gnu.java.net.content, not gnu.gcj.content.
7419 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7421 (getLastModified): Implemented.
7422 (getPermission): Create file permission here, instead of in
7424 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7426 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7428 (getLastModified): Implemented.
7429 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7430 Default implementation.
7431 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7432 Implement using GdkPixbufDecoder.
7434 2004-07-21 Michael Koch <konqueror@gmx.de>
7436 * javax/swing/JTextArea.java
7437 (setLineWrap): Fire property change event after new value is set.
7438 (setTabSize): Likewise.
7440 2004-07-21 Michael Koch <konqueror@gmx.de>
7442 * javax/swing/JTable.java
7443 (autoCreateColumnsFromModel): New field.
7444 (autoResizeMode): Likewise.
7445 (cellEditor): Likewise.
7446 (cellSelectionEnabled): Likewise.
7447 (columnModel): Likewise.
7448 (dataModel): Likewise.
7449 (defaultEditorsByColumnClass): Likewise.
7450 (defaultRenderersByColumnClass): Likewise.
7451 (editingColumn): Likewise.
7452 (editingRow): Likewise.
7453 (gridColor): Likewise.
7454 (preferredViewportSize): Likewise.
7455 (rowHeight): Likewise.
7456 (rowMargin): Likewise.
7457 (rowSelectionAllowed): Likewise.
7458 (selectionBackground): Likewise.
7459 (selectionForeground): Likewise.
7460 (selectionModel): Likewise.
7461 (showHorizontalLines): Likewise.
7462 (showVerticalLines): Likewise.
7463 (tableHeader): Likewise.
7464 (JTable): Implemented.
7465 (getColumnModel): Likewise.
7466 (getSelectedRow): Likewise.
7467 (getSelectionModel): Likewise.
7468 (setModel): Likewise.
7469 (setSelectionModel): Likewise.
7470 (createScrollPaneForTable): New method.
7471 (createDefaultDataModel): Likewise.
7472 (createDefaultListSelectionModel): Likewise.
7473 (getModel): Likewise.
7474 (getTableHeader): Likewise.
7475 (setTableHeader): Likewise.
7476 (getColumnSelectionAllowed): Likewise.
7477 (setColumnSelectionAllowed): Likewise.
7478 (getRowSelectionAllowed): Likewise.
7479 (setRowSelectionAllowed): Likewise.
7480 (getAutoResizeMode): Likewise.
7481 (setAutoResizeMode): Likewise.
7482 (getColumnCount): Likewise.
7483 (getRowCount): Likewise.
7484 (getCellRenderer): Likewise.
7485 * javax/swing/JTree.java
7486 (cellRenderer): New field.
7487 (editable): Likewise.
7488 (rootVisible): Likewise.
7489 (showsRootHandles): Likewise.
7490 (getModel): New method.
7491 (setModel): Likewise.
7492 (isEditable): Likewise.
7493 (setEditable): Likewise.
7494 (isRootVisbile): Likewise.
7495 (setRootVisible): Likewise.
7496 (getShowsRootHandles): Likewise.
7497 (setShowRootHandles): Likewise.
7498 (getCellRenderer): Likewise.
7499 (setCellRenderer): Likewise.
7501 2004-07-21 Michael Koch <konqueror@gmx.de>
7503 * javax/swing/JFormattedTextField.java
7504 (setDocument): Implemented.
7505 * javax/swing/JRootPane.java:
7507 * javax/swing/JTable.java
7508 (getDefaultRenderer): New method.
7509 * javax/swing/JTextField.java
7510 (setFont): Likewise.
7511 (getPreferredSize): Likewise.
7512 * javax/swing/JToggleButton.java
7513 (getAccessibleContext): Fix javadoc.
7514 * javax/swing/JTree.java:
7516 * javax/swing/JViewport.java:
7519 2004-07-21 David Jee <djee@redhat.com>
7521 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7522 Collect all native method declaration at the top.
7523 (create): Set the filename filter if necessary.
7524 (setDirectory): Call nativeSetDirectory().
7525 (setFilenameFilter): Implement.
7526 (filenameFilterCallback): New method.
7527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7528 (create): Configure dialog to show hidden files.
7529 (filenameFilterCallback): New function.
7530 (nativeSetFilenameFilter): New function.
7531 (nativeSetDirectory): New function.
7533 2004-07-21 Kim Ho <kho@redhat.com>
7535 * javax/swing/plaf/basic/BasicSliderUI.java:
7537 (paintTrack): Fill the track before painting
7540 2004-07-21 Graydon Hoare <graydon@redhat.com>
7542 patch from Roman Kennke <roman@ontographics.com>
7543 * javax/swing/Spring.java: New file.
7544 * javax/swing/SpringLayout.java: New file.
7545 * Makefile.am: Add new files.
7546 * Makefile.in: Regenerate.
7548 2004-07-21 Graydon Hoare <graydon@redhat.com>
7550 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7551 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7552 * javax/swing/ScrollPaneLayout.java: Likewise.
7554 2004-07-21 Kim Ho <kho@redhat.com>
7556 * javax/swing/DefaultDesktopManager.java:
7557 (findMinimum): Removed.
7558 (resizeFrame): Trust the UI to pass valid
7560 * javax/swing/JOptionPane.java:
7561 Implemented showInternalXXXDialog methods.
7562 (startModal): New method.
7563 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7564 (BorderListener::mouseDragged): Verify that the new
7565 bounds are valid before passing them to the DesktopManager.
7566 (preferredLayoutSize): Delegate
7568 (minimumLayoutSize): Ditto.
7569 (getSize): New method.
7570 (GlassPaneDispatcher): Reimplemented by copying
7571 a stripped down LightweightDispatcher from Container.
7572 (getMinimumSize): Call minimumLayoutSize.
7573 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7575 (mousePressed): Add ability to properly close
7577 * javax/swing/plaf/basic/BasicToolBarUI.java:
7578 (DragWindow): Set owner for DragWindow.
7580 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7582 * java/awt/image/ShortLookupTable.java: New file.
7583 * java/awt/image/ByteLookupTable.java: New file.
7584 * Makefile.am: Added new files.
7585 * Makefile.in: Regenerated.
7587 2004-07-21 David Jee <djee@redhat.com>
7589 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7590 (create(GtkContainerPeer)): New native method.
7591 (create()): Call native create(), passing in the parent frame
7592 as the paramter. Natively set the current file and directory.
7593 (setFile): Construct an absolute filename before passing it to
7595 (nativeGetDirectory): New method.
7596 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7597 (window_closed): Removed.
7598 (ok_clicked): Likewise.
7599 (cancel_clicked): Likewise.
7600 (handle_response): New method.
7601 (create): Use GtkFileChooserDialog.
7602 (connectSignals): Connect to handle_response.
7603 (nativeGetDirectory): New method.
7604 (nativeSetFile): Use GtkFileChooserDialog.
7606 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7608 * java/awt/image/LookupTable.java: New file.
7609 * Makefile.am: Added new file.
7610 * Makefile.in: Regenerated.
7612 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7614 * java/awt/image/Kernel.java: New file.
7615 * Makefile.am: Added new file.
7616 * Makefile.in: Regenerated.
7618 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7620 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7621 * javax/swing/JMenu.java: Likewise.
7622 * javax/swing/JMenuBar.java: Likewise.
7623 (MARGIN_CHANGED_PROPERTY): New property.
7624 (setMargin): Implemented.
7625 * javax/swing/JMenuItem.java: Fixed javadocs.
7626 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7627 (LABEL_CHANGED_PROPERTY): New property.
7628 (add): changed to use createActionComponent.
7629 (createActionComponent): Implemented.
7630 (setLabel): Fire PropertyChangeEvent if label property
7632 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7633 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7634 (ContainerHandler): Repaint if margin property has changed.
7635 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7636 (installUI): Call installComponents().
7637 (uninstallUI): Call uinstallComponents().
7638 * javax/swing/plaf/basic/BasicMenuUI.java:
7640 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7643 2004-07-21 Kim Ho <kho@redhat.com>
7645 * javax/swing/plaf/basic/BasicToolBarUI.java:
7646 (DragWindow): Use the right constructor.
7648 2004-07-21 Kim Ho <kho@redhat.com>
7650 * javax/swing/JToolBar.java:
7651 (layoutContainer): Use getComponents.
7652 * javax/swing/plaf/basic/BasicToolBarUI.java:
7653 (DragWindow): Don't use SwingUtilities'
7655 (ToolBarDialog): ditto.
7657 2004-07-21 Kim Ho <kho@redhat.com>
7659 * javax/swing/JRootPane.java:
7661 (layoutContainer): Set the glasspane's size to
7662 be the same as the content pane.
7663 (createGlassPane): Set opaque property to false.
7665 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7667 * java/awt/Component.java (requestFocus()): Don't handle Panels
7669 (requestFocus(boolean)): Likewise.
7670 (requestFocusInWindow(boolean)): Likewise.
7671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7672 Set GTK_CAN_FOCUS flag.
7674 2004-07-21 Kim Ho <kho@redhat.com>
7676 * Makefile.am: Added new file.
7677 * Makefile.in: Regenerated.
7678 * gcj/Makefile.in: Regenerated.
7679 * include/Makefile.in: Regenerated.
7680 * javax/swing/AbstractButton.java:
7681 Add rollOverEnabled property.
7682 (setRolloverEnabled): Use new property.
7683 (isRolloverEnabled): Use new property.
7684 * javax/swing/JTabbedPane.java:
7685 (setComponent): Remove useless JTabbedPane.this.
7686 * javax/swing/JToolBar.java: Finish implementation.
7687 * javax/swing/plaf/basic/BasicArrowButton.java:
7688 (paint): Moved border painting to a border.
7689 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7690 Change JToolBar look and feel defaults.
7691 * javax/swing/plaf/basic/BasicOptionPaneUI.java
7692 (actionPerformed): Return Integer index instead of name.
7693 (addButtonComponents): Check to see if component is
7695 (createMessageArea): Don't use components that are not
7697 (getIconForType): Use temporary icons.
7698 * javax/swing/plaf/basic/BasicSliderUI.java:
7699 (mousePressed): Do not return if it's on thumb.
7700 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7701 (paintMinorTickForVertSlider): ditto.
7702 (paintMajorTickForHorizSlider): ditto.
7703 (paintMajorTickForVertSlider): ditto.
7704 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7705 Add a border around the SplitPaneDivider.
7706 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7708 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7709 New file. Implemented.
7710 * javax/swing/plaf/basic/BasicToolBarUI.java:
7712 * testsuite/Makefile.in: Regenerated.
7714 2004-07-21 Graydon Hoare <graydon@redhat.com>
7716 * javax/swing/Timer.java (run): Queue events each time cycle.
7718 2004-07-21 David Jee <djee@redhat.com>
7720 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7721 (imageComplete): Call image.imageComplete().
7722 * java/awt/image/MemoryImageSource.java:
7723 Reimplement consumers as a Vector instead of a Hashtable. This is
7724 because enumeration on a Hashtable is not thread-safe.
7725 (addConsumer): Adapt to Vector consumers.
7726 (isConsumer): Adapt to Vector consumers.
7727 (removeConsumer): Adapt to Vector consumers.
7728 (startProduction): Adapt to Vector consumers. Call imageComplete()
7729 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7730 (newPixels): Adapt to Vector consumers.
7731 (sendPicture): Set the color model of the image consumer.
7732 (newPixels(IIII)): Adapt to Vector consumers.
7733 (newPixels(IIIIB)): Adapt to Vector consumers.
7735 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7737 * java/awt/Component.java (deliverEvent): Implement.
7738 (postEvent): Implement.
7739 (handleEvent): Implement.
7740 (translateEvent): New method.
7741 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
7742 * java/awt/Container.java (deliverEvent): Implement.
7743 * java/awt/Event.java (paramString): Fix formatting.
7744 * java/awt/Font.java (toString): Likewise.
7745 * java/awt/Window.java (postEvent): Implement.
7747 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7749 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7750 Set window's focus owner upon receiving a FOCUS_LOST event.
7751 * java/awt/Window.java (Window()): Refocus the previously
7752 focused component within the window when the window regains the
7754 (setFocusOwner): New method.
7755 * java/awt/Component.java (requestFocus): Add FIXME.
7757 * libgcj.pc.in: Remove library flags.
7759 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7761 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7762 MOUSE_PRESSED event.
7763 * java/awt/Component.java (requestFocus()): Handle Panel
7764 specially. Post FOCUS_LOST event on opposite component.
7765 (requestFocus(boolean)): Likewise.
7766 (requestFocusInWindow(boolean)): Likewise.
7767 (paramString): Reorder dimension fields.
7768 * java/awt/Container.java (paramString): Fix string format.
7769 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7770 Handle FOCUS_LOST events. Don't handle Windows specially. Only
7771 process key events if the focus owner is non-null.
7772 (dispatchKeyEvent): Likewise.
7773 * java/awt/Frame.java (paramString): Fix formatting.
7774 (generateName): New method.
7775 (getUniqueLong): Likewise.
7776 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7777 the temporary focus owner is null. If so, return the permanent
7779 * java/awt/Panel.java (generateName): New method.
7780 (getUniqueLong): Likewise.
7781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
7782 signal handling to make callbacks more specific.
7784 2004-07-21 Michael Koch <konqueror@gmx.de>
7786 * javax/swing/text/Position.java
7787 (Bias): Implemented.
7789 2004-07-21 Michael Koch <konqueror@gmx.de>
7791 * javax/swing/LookAndFeel.java
7792 (provideErrorFeedback): New method.
7794 2004-07-21 Michael Koch <konqueror@gmx.de>
7796 * javax/swing/JTextArea.java
7797 (tabSize): New field.
7798 (getTabSize): New method.
7799 (setTabSize): Likewise.
7801 2004-07-21 Michael Koch <konqueror@gmx.de>
7803 * javax/swing/ActionMap.java:
7804 Fixed javadocs all over.
7805 (serialVersionUID): Made private.
7806 (parent): Don't explicitely initialize with default value.
7808 (keys): Reimplemented.
7809 (allKeys): Likewise.
7810 (convertSet): Removed.
7811 * javax/swing/ComponentInputMap.java:
7812 Fixed javadocs all over.
7813 (ComponentInputMap): Implemented.
7817 (SetParent): Likewise.
7818 (getComponent): Likewise.
7819 * javax/swing/InputMap.java:
7820 Fixed javadocs all over.
7821 (serialVersionUID): Made private.
7822 (parent): Don't explicitely initialize with default value.
7824 (keys): Reimplemented.
7825 (allKeys): Likewise.
7826 (convertSet): Removed.
7828 2004-07-21 Michael Koch <konqueror@gmx.de>
7830 * javax/swing/ActionMap.java,
7831 javax/swing/ComponentInputMap.java,
7832 javax/swing/InputMap.java,
7833 javax/swing/table/DefaultTableColumnModel.java,
7834 javax/swing/table/TableColumn.java,
7835 javax/swing/table/TableColumnModel.java,
7836 javax/swing/table/TableModel.java,
7837 javax/swing/text/AbstractDocument.java,
7838 javax/swing/text/TextAction.java:
7841 2004-07-21 Graydon Hoare <graydon@redhat.com>
7843 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
7844 Make method non-static.
7845 * javax/swing/AbstractButton.java:
7846 Rename fields to match property names where possible.
7847 (iconTextGap): New property.
7848 * javax/swing/JCheckBox.java: Match AbstractButton changes.
7849 (init) New method, call from after various constructors.
7850 * javax/swing/JComponent.java (revalidate):
7851 Invalidate before queueing repair.
7852 * javax/swing/JList.java (getPreferredScrollableViewportSize):
7853 Reimplement in terms of visibleRowCount property.
7854 * javax/swing/JMenuButton.java: Match AbstractButton changes.
7855 * javax/swing/JScrollPane.java (createScrollListener):
7856 Remove tracing chatter.
7857 * javax/swing/JToggleButton.java: Match AbstractButton changes.
7858 * javax/swing/RepaintManager.java (addInvalidComponent):
7860 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
7862 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
7863 Mimic sun behavior on top left/right positioning.
7864 * javax/swing/ViewportLayout.java (preferredLayoutSize):
7865 Remove mistaken use of preferredScrollableViewportSize here.
7866 (layoutContainer): Use view's preferred size as basis.
7867 * javax/swing/plaf/basic/BasicButtonUI.java:
7868 Set, get, and use textIconGap property.
7869 (paint) Paint text returned from layout (with ellipsis).
7870 * javax/swing/plaf/basic/BasicListUI.java:
7871 Remove tracing chatter, correct various minor calculations.
7872 (getCellBounds): Update layout state before calculating.
7873 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
7874 Use margin default similar to sun's.
7875 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
7876 (createIncreaseIcon): Center icon, minimize margins.
7877 (createDecreaseIcon): Likewise.
7878 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
7880 (installUI): Call it.
7881 (uninstallDefaults): Implement.
7882 (uninstallUI): Call it.
7883 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
7884 Call existing Window constructor.
7885 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
7886 Set clip before painting.
7888 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7890 * javax/swing/JMenuItem.java:
7891 (processMouseEvent): Reimplemented to deal with
7893 (createMenuDragMouseEvent): New private helper method.
7894 Creates MenuDragMouseEvent.
7895 * javax/swing/MenuSelectionManager.java
7896 (componentForPoint): Implemented.
7897 (isComponentPartOfCurrentMenu): Made public.
7898 (processMouseEvent): Reimplemented to deal with
7900 (setSelectedPath): Corrected small mistake that caused
7901 path to be set incorrectly.
7902 (getPath): If given component is JMenu then also add this
7903 menu's popup menu to the selected path.
7904 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7906 (getPreferredSize): Call getPreferredMenuItemSize().
7907 (getPreferredItemSize): Moved code from getPreferredSize to here.
7908 (installListeners): Install MouseMotionListeners.
7909 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
7910 if mouse wasn't released in the bounds of this menu item.
7911 (MenuDragMouseHandler): Implemented.
7912 * javax/swing/plaf/basic/BasicMenuUI.java:
7913 (installListeners): Install MouseMotionListener and
7914 MenuDrageMouseListener.
7915 (MenuDragMouseHandler): Implemented.
7916 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7917 (uninstallListeners): Implemented.
7919 2004-07-21 Michael Koch <konqueror@gmx.de>
7921 * javax/swing/JCheckBox.java: Reformated.
7922 (JCheckBox): Fixed all constructors.
7923 (isBorderPaintedFlat): New method.
7924 (setBorderPaintedFlat): New method.
7925 * javax/swing/JEditorPane.java
7926 (createEditorKitForContentType): Made public.
7927 (scrollToReference): Likewise.
7928 * javax/swing/JTextArea.java
7929 (setLineWrap): Fire property change.
7930 * javax/swing/JToggleButton.java
7931 (JToggleButton): New constructor.
7932 (JToggleButton): Simplified.
7933 * javax/swing/text/AttributeSet.java
7934 (FontAttribute): Renamed from FontCharacterAttribute.
7935 * javax/swing/text/JTextComponent.java
7936 (KeyBinBinding): Added javadoc.
7937 (JTextComponent): Likewise.
7938 (getAccessibleContext): Fixed javadoc.
7939 * javax/swing/text/View.java
7940 (View): Added javadoc.
7941 * javax/swing/text/TabableView.java: New file.
7942 * Makefile.am: Added javax/swing/text/TabableView.java.
7943 * Makefile.in: Regenerated.
7945 2004-07-21 Graydon Hoare <graydon@redhat.com>
7947 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
7948 * gnu/java/awt/peer/gtk/GtkToolkit.java
7949 (GtkErrorImage): New helper class.
7950 (bufferedImageOrError): New helper method.
7951 (createImage): Use it.
7953 2004-07-21 David Jee <djee@redhat.com>
7955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7956 (setCaretPosition): Scroll the text view so the new caret position
7957 is visible on screen.
7959 2004-07-21 David Jee <djee@redhat.com>
7961 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7962 (setBounds): Do not validate awtComponent here.
7963 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
7964 (getPreferredSize): New method.
7965 * java/awt/ScrollPane.java
7966 (ScrollPane): Set default size to 100x100.
7967 (addNotify): If child is not a Panel, wrap it with a new Panel.
7968 (paramString): Implement.
7970 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7972 * javax/swing/JMenu.java:
7973 (setSelected): Display popup menu only if this menu
7974 is showing on the screen.
7975 * javax/swing/JPopupMenu.java:
7976 (processMouseEvent): Added comment.
7977 (processKeyEvent): Likewise.
7978 * javax/swing/MenuSelectionManager.java:
7979 (clearSelectedPath): Only fireStateChanged() after
7980 selected path was changed, not before.
7981 (setSelectedPath): Likewise.
7982 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7983 (paintMenuItem): Corrected position of menu item's
7985 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7986 (installUI): Correct setDefaultLightWeightPopupEnabled call.
7987 (popupMenuCanceled): Reimplemented.
7988 (popupMenuWillBecomeVisible): Select first menu item by default
7989 when displaying free floating popup menus.
7990 (TopWindowListener): Reimplemented.
7992 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7994 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
7995 Panel from being painted twice when it is first shown.
7997 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7999 * java/awt/Window.java: Reverted changes from my
8000 previous patch for creating window without an owner.
8001 * javax/swing/SwingUtilities.java:
8002 (SwingUtilities.OwnerFrame): made static.
8003 (OwnerFrame.setVisible): New method. Overridden with
8004 empty implementation.
8005 (OwnerFrame.isShowing): New method. Ovverridden
8006 to return always true.
8008 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8010 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8011 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8012 (GtkComponentPeer): Remove temporary try/catch block.
8013 (setVisible): Call show and hide.
8014 (show): Make native.
8016 (getArgs): Don't add "visible" argument.
8017 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8018 (property_notify_predicate): Return Bool instead of int.
8019 (find_layout): New function.
8020 (connectJObject): Call find_layout.
8021 (connectSignals): Likewise.
8022 (moveLayout): Likewise.
8023 (gtkLayoutSetVisible): Likewise.
8025 2004-07-21 Mark Wielaard <mark@klomp.org>
8027 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8028 on notifier object before calling notifyAll().
8030 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8032 * java/awt/Window.java: Changed constructors to use new
8033 method that is described below. Constructors call this
8034 methods only if newly created window should have an owner.
8035 (setWindowOwner): New method. Implementation for
8036 this method is moved from this(owner,configuration).
8037 * javax/swing/JWindow.java:
8038 (JWindow): Reimplement to use SwingUtilities.ownerFrame
8040 * javax/swing/SwingUtilities.java:
8041 (ownerFrame): Change type of this field to OwnerFrame.
8042 (getOwnerFrame): Changed to return object of type OwnerFrame.
8043 (SwingUtilities.OwnerFrame): New class. Represents owner
8044 of a Window that is not provided with one.
8046 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8048 * javax/swing/AbstractButton.java:
8049 (configurePropertiesFromAction): Set action command
8050 to button's text by default if action command is not
8051 explicitely specified.
8052 * javax/swing/JMenu.java: Remove unnecessary listener
8053 and methods relevant to it.
8054 (setSelected): Reimplemented.
8055 (menuSelectionChanged): Moved most part of implementation to
8056 setSelected() and call it instead.
8057 * javax/swing/JMenuItem.java:
8058 (init): Comment out statement that sets paint_border to false.
8059 (configurePropertiesFromAction): Do not set accelerator
8061 (menuSelectionChanged): Change selected index in the selection
8062 model of menu item's parent.
8063 * javax/swing/JPopupMenu.java:
8064 (remove): Set constraints.fill field to GridBagConstraints.BOTH
8065 instead of GridBagConstraints.HORIZONTAL.
8067 (createActionChangeListener): Implemented.
8068 (setVisible): Correct location of HeavyWeightMenu and
8069 don't firePopupMenuCanceled().
8070 (menuSelectionChanged): Implemented.
8071 (ActionChangeListener): New Listener. Implemented.
8072 * javax/swing/plaf/basic/BasicMenuBarUI.java:
8073 (BasicMenuBarUI.ContainerHandler): Implemented.
8074 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8075 (paintMenuItem): Uncommented out code that paints
8076 icon, now that icons are working properly.
8077 (PropertyChangeListener): Implemented.
8078 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8080 (topWindowListener): New field.
8081 (Constructor): initialize topWindowListener.
8082 (BasicPopupMenuUI.TopWindowListener): Implemented.
8083 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8084 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8087 2004-07-21 Michael Koch <konqueror@gmx.de>
8089 * javax/swing/plaf/basic/BasicButtonUI.java
8090 (paintFocus): Fixed method signature.
8091 (paintButtonPressed): Likewise.
8092 (paintButtonNormal): Likewise.
8093 (paintText): New method.
8094 * javax/swing/plaf/basic/BasicLabelUI.java
8095 (paint): Re-indented.
8096 * javax/swing/plaf/basic/BasicTextUI.java
8097 (installUI): Set parent textComponent to opaque.
8098 * javax/swing/text/DefaultHighlighter.java
8099 (checkPositions): New helper method.
8100 (addHighlight): Throws BadLocationException, check positions.
8101 (changeHighlight): Likewise.
8102 * javax/swing/text/EditorKit.java
8103 (EditorKit): Implements Serializable.
8104 * javax/swing/text/JTextComponent.java
8105 (getUI): Added javadoc.
8107 (upadteUI): Added javadoc, don't revalidate and repaint.
8109 2004-07-21 David Jee <djee@redhat.com>
8111 * java/awt/GridBagLayout.java
8112 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8113 * javax/swing/AbstractButton.java
8114 (setText): Reindent.
8115 * javax/swing/RepaintManager.java
8116 (addInvalidComponent): Find the first ancestor that isValidateRoot().
8118 2004-07-21 Michael Koch <konqueror@gmx.de>
8120 * javax/swing/JFormattedTextField.java
8122 (JFormattedTextField): Implemented.
8123 (getValue): Likewise.
8124 (setValue): Likewise.
8125 * javax/swing/LookAndFeel.java
8126 (getSupportsWindowDecorations): New method.
8127 * javax/swing/UIDefaults.java:
8128 Use java.beans.PropertyChangeSupport instead of doing all ourself.
8129 (addPropertyChangeListener): Made public.
8130 (addResourceBundle): Likewise.
8131 (removeResourceBundle): Likewise.
8132 (setDefaultLocale): Likewise.
8133 * javax/swing/plaf/basic/BasicRootPaneUI.java
8134 (BasicRootPaneUI): Implements PropertyChangeListener.
8135 (propertyChange): New method.
8136 * javax/swing/plaf/basic/BasicTextUI.java
8137 (BasicHighlighter): New inner class.
8138 (createHighlighter): New method.
8139 * javax/swing/plaf/basic/BasicToolBarUI.java
8140 (DragWindow): Extends java.awt.Window.
8141 * javax/swing/text/JTextComponent.java
8142 (getDocument): Removed debug output.
8143 * javax/swing/plaf/basic/BasicTextFieldUI.java,
8144 javax/swing/text/DefaultHighlighter.java,
8145 javax/swing/text/FieldView.java,
8146 javax/swing/text/PlainView.java: New files.
8147 * Makefile.am: Added new files.
8148 * Makefile.in: Regenerated.
8150 2004-07-21 Michael Koch <konqueror@gmx.de>
8152 * javax/swing/JEditorPane.java
8153 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8154 (createEditorKitForContentType): Likewise.
8155 * javax/swing/text/DefaultEditorKit.java
8156 (serialVersionUID): Added constant field.
8157 (EndOfLineStringPropery): Fixed typo.
8158 (DefaultEditorKit): New constructor.
8159 * javax/swing/text/Segment.java:
8160 Import java.text.CharacterIterator.
8161 * javax/swing/text/CharacterIterator.java,
8162 javax/swing/text/PlainEditorKit.java: Removed.
8163 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8164 javax/swing/text/PlainEditorKit.java.
8165 * Makefile.in: Regenerated.
8167 2004-07-21 Michael Koch <konqueror@gmx.de>
8169 * javax/swing/JButton.java,
8170 javax/swing/text/DefaultEditorKit.java,
8171 javax/swing/text/EditorKit.java,
8172 javax/swing/text/Segment.java,
8173 javax/swing/text/StyledEditorKit.java:
8176 2004-07-21 Michael Koch <konqueror@gmx.de>
8178 * javax/swing/ImageIcon.java
8180 (description): Renamed from descr.
8181 (ImageIcon): Added missing constructors.
8182 (setParent): Removed.
8183 (setImageObserver): New method.
8184 (getImageObserver): New method.
8185 (paintIcon): Handle observer = null.
8186 * javax/swing/JButton.java
8187 (removeNotify): Fixed javadoc.
8188 (updateUI): Simplified.
8189 * javax/swing/JRootPane.java
8190 (serialVersionUID): New constant field.
8191 * javax/swing/UIManager.java:
8192 Fixed javadocs all over.
8193 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8194 * javax/swing/text/AbstractDocument.java
8195 (createPosition): Throws BadLocationException.
8196 (getText): Likewise.
8198 * javax/swing/text/ComponentView.java
8199 (modelToView): Likewise.
8200 * javax/swing/text/DefaultEditorKit.java:
8201 Made all public methods public.
8202 (read): Throws BadLocationException and IOException.
8204 * javax/swing/text/EditorKit.java:
8205 Made all public methods public.
8206 (serialVersionUID): New constant field.
8207 (clone): New method.
8208 (read): Throws BadLocationException and IOException.
8210 * javax/swing/text/Segment.java
8211 (array): Made public.
8214 (Segment): New constructors.
8215 (clone): Reimplemented.
8216 * javax/swing/text/StyledEditorKit.java
8217 (serialVersionUID): New constant field.
8219 2004-07-21 Graydon Hoare <graydon@redhat.com>
8221 * java/awt/image/BufferedImage.java
8222 (getSource): Implement.
8223 * javax/swing/ImageIcon.java
8224 (ImageIcon): Implement ctor.
8225 * javax/swing/ScrollPaneLayout.java
8226 (preferredLayoutSize): Be more careful about nulls.
8228 2004-07-21 Michael Koch <konqueror@gmx.de>
8230 * javax/swing/text/AttributeSet.java
8231 (CharacterAttribute): New interface
8232 (ColorAttribute): Likewise.
8233 (FontCharacterAttribute): Likewise.
8234 (ParagraphAttribute): Likewise.
8235 * javax/swing/text/DefaultCaret.java
8236 (moveCaret): New method.
8237 (positionCaret): Likewise.
8238 (repaint): Made protected.
8239 * javax/swing/text/JTextComponent.java
8240 (KeyBinding): Made it static.
8241 * javax/swing/text/View.java
8242 (getContainer): Honor parent == null.
8244 2004-07-21 Michael Koch <konqueror@gmx.de>
8246 * javax/swing/text/AbstractDocument.java:
8249 2004-07-21 Michael Koch <konqueror@gmx.de>
8251 * javax/swing/plaf/basic/BasicRootPaneUI.java:
8252 Import javax.swing.UIManager explicitely.
8253 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8254 (ScrollingButton): Made it static.
8256 2004-07-21 Michael Koch <konqueror@gmx.de>
8258 * javax/swing/UIDefaults.java
8259 (ActiveValue): Made public.
8260 (LazyValue): Likewise.
8261 * javax/swing/plaf/basic/BasicTextUI.java
8262 (RootView): Reintroduced.
8264 (rootView): New field.
8265 (installUI): Create document if needed, initialize rootView.
8266 (uninstallUI): Hanle rootView.
8268 (getRootView): Likewise.
8269 (setView): Likewise.
8270 * javax/swing/text/DefaultCaret.java:
8271 Renamed all "evt" variables to "event".
8273 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8275 * libgcj.spec.in: Add -l-java-util-logging.
8277 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
8279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8280 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8281 gtk-xft-dpi can no calculate the right value.
8282 (dpi_changed_cb): Mark *pspec as unsused.
8284 2004-07-21 David Jee <djee@redhat.com>
8286 * java/awt/Component.java
8287 (move): Delegate to setBounds().
8289 (reshape): Fix so it repaints parent and self only when necessary.
8291 2004-07-21 David Jee <djee@redhat.com>
8293 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8294 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8295 (GtkComponentPeer): Revert previous patch from 2004-06-22.
8296 (setVisible): Likewise.
8299 (getArgs): Likewise.
8300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8301 (property_notify_predicate): Likewise.
8302 (find_layout): Likewise.
8303 (connectJObject): Likewise.
8304 (connectSignals): Likewise.
8305 (moveLayout): Likewise.
8306 (gtkLayoutSetVisible): Likewise.
8308 2004-07-21 Graydon Hoare <graydon@redhat.com>
8314 (rmiregistry_LDADD): Add lib-java-util-logging.la
8315 * Makefile.in: Regenerate.
8317 2004-07-21 Michael Koch <konqueror@gmx.de>
8319 * javax/swing/text/AbstractDocument.java
8320 (replace): Dont use protected method of java.util.Vector directly.
8322 2004-07-21 Michael Koch <konqueror@gmx.de>
8324 * javax/swing/plaf/basic/BasicTextUI.java
8325 (installUI): Call specialized install methods.
8326 (installDefaults): New method.
8327 (installListeners): Likewise.
8328 (installKeyboardActions): Likewise.
8329 (uninstallUI): Likewise.
8330 (uninstallDefaults): New method.
8331 (uninstallListeners): Likewise.
8332 (uninstallKeyboardActions): Likewise.
8333 (getPropertyPrefix): New abstract method.
8334 (paint): Made final, just call paintSafely().
8335 (paintSavely): New method.
8336 (paintBackground): Likewise.
8337 (getVisibleEditorRect): Likewise.
8338 * javax/swing/text/LayeredHighlighter.java,
8339 javax/swing/text/TabExpander.java: New files.
8340 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8341 and javax/swing/text/TabExpander.java.
8342 * Makefile.in: Regenerated.
8344 2004-07-21 Michael Koch <konqueror@gmx.de>
8346 * javax/swing/plaf/basic/BasicTextUI.java
8347 (BasicTextUI): Made abstract.
8348 (BasicCaret): New inner class.
8349 (view): Don't explicitely initialize with "null".
8350 (textComponent): New field.
8351 (textColor): Removed.
8352 (disabledTextColor): Removed.
8353 (normalBackgroundColor): Removed.
8354 (RootView): Removed commented out inner class.
8355 (createUI): Removed.
8356 (createCaret): New method.
8357 (getComponent): Likewise.
8358 (installUI): Initialize textComponent only.
8359 (getPreferredSize): Use installed JTextComponent.
8360 (setView): New method.
8362 * javax/swing/text/JTextComponent.java
8363 (highlighter): New field.
8364 (caretColor): Likewise.
8365 (disabledTextColor): Likewise.
8366 (seletedTextColor): Likewise.
8367 (selectionColor): Likewise.
8368 (setUI): New method.
8369 (getCaretColor): Likewise.
8370 (setCaretColor): Likewise.
8371 (getDisabledColor): Likewise.
8372 (setDisabledColor): Likewise.
8373 (getSelectedTextColor): Likewise.
8374 (setSelectedTextColor): Likewise.
8375 (getSelectionColor): Likewise.
8376 (setSelectionColor): Likewise.
8377 (getHighlighter): Likewise.
8378 (setHighlighter): Likewise.
8379 (replaceSelection): Likewise.
8381 2004-07-21 Michael Koch <konqueror@gmx.de>
8383 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8384 (BasicScrollPaneUI): Implements ScrollPaneConstants.
8385 * javax/swing/plaf/basic/BasicToolBarUI.java
8386 (BasicToolBarUI): Implements SwingConstants.
8388 2004-07-21 Michael Koch <konqueror@gmx.de>
8390 * javax/swing/JPopupMenu.java: Removed CVS tags.
8391 * javax/swing/UIDefaults.java: Reformatted.
8392 * javax/swing/plaf/basic/BasicRootPaneUI.java:
8393 Explicitely import used classes.
8395 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8397 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8398 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8399 (GtkComponentPeer): Remove temporary try/catch block.
8400 (setVisible): Call show and hide.
8401 (show): Make native.
8403 (getArgs): Don't add "visible" argument.
8404 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8405 (property_notify_predicate): Return Bool instead of int.
8406 (find_layout): New function.
8407 (connectJObject): Call find_layout.
8408 (connectSignals): Likewise.
8409 (moveLayout): Likewise.
8410 (gtkLayoutSetVisible): Likewise.
8412 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8414 * javax/swing/AbstractButton.java:
8415 (setDisplayedMnemonicIndex): Check if button
8416 text is not null before checking its length.
8417 * javax/swing/JMenuItem.java:
8418 (processMouseEvent): Disarm menu item if mouse has
8420 * javax/swing/plaf/basic/BasicMenuUI.java:
8421 (MouseInputHandler.mouseEntered): Do not raise
8422 popup menu if this menu is already selected.
8423 (MouseInputHandler.mousePressed): Do not fire
8425 (MenuHandler): Implemented.
8427 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8429 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8430 (getSelectedObjects): Implemented.
8431 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8432 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
8433 Added javadoc for few methods.
8434 (processMouseEvent): Made public.
8435 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8436 (processMouseEvent): Likewise.
8438 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8440 * javax/swing/AbstractButton.java:
8441 (init): Set display mnemonic index to -1.
8442 (setMnemonic(char)): Use setMnemonic(int).
8443 (setMnemonic(int)): Set display mnemonic index.
8444 (getDisplayedMnemonicIndex): Change method signature
8445 by removing 'index' parameter.
8446 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8447 Added default for Menu.selectionBackground.
8448 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8449 (paintMenuItem): Change background color of the selected
8451 (paintText): Paint differently when menu item is disabled.
8452 Also paint mnemonic if it appears in the menu item's label.
8453 (paintAccelerator): Paint accelerator differently
8454 if menu item is disabled.
8455 * javax/swing/plaf/basic/BasicMenuUI.java:
8456 (installDefaults): Install defaults for
8457 selectionForeground and selectionBackground.
8458 (uninstallDefaults): Uninstall defauls for
8459 selectionForeground and selectionBackground.
8461 2004-07-21 Michael Koch <konqueror@gmx.de>
8463 * javax/swing/text/AbstractDocument.java
8464 (BranchElement): Implemented.
8465 (LeafElement): Implemented.
8466 * javax/swing/text/DefaultCaret.java:
8467 Import used classes.
8468 (serialVersionUID): New constant.
8469 * javax/swing/text/JTextComponent.java
8470 (AccessibleJTextComponent): Removed dead declaration.
8471 (caretPos): Removed.
8472 (setCaret): New method.
8473 * javax/swing/text/PlainDocument.java
8474 (rootElement): New field.
8475 (PlainDocument): Initialize rootElement.
8476 (createDefaultRoot): New method.
8477 (getDefaultRootElement): Implemented.
8478 * javax/swing/text/View.java: Reformatted.
8479 * javax/swing/text/ViewFactory.java
8480 (create): Added javadoc.
8482 2004-07-21 Michael Koch <konqueror@gmx.de>
8484 * javax/swing/ToolTipManager.java: Reformatted.
8486 2004-07-21 Rodimina Olga <rodimina@redhat.com>
8488 * javax/swing/AbstractButton.java
8489 (changeEvent): New field.
8490 (fireItemStateChanged): Change source of the event
8491 to 'this' before firing it to button listeners.
8492 (fireActionPerformed): Likewise.
8493 (fireStateChanged): Likewise.
8494 (createActionListener): Do not set source
8495 of the event to AbstractButton.
8496 * javax/swing/plaf/basic/BasicMenuBarUI.java:
8497 (ContainerHandler.componentAdded): Removed
8498 print out statement.
8499 (ContainerHandler.componentRemoved): Likewise.
8501 2004-07-21 Michael Koch <konqueror@gmx.de>
8503 * javax/swing/text/Highlighter.java: New file.
8504 * Makefile.am: Added javax/swing/text/Highlighter.java.
8505 * Makefile.in: Regenerated.
8507 2004-07-21 Michael Koch <konqueror@gmx.de>
8509 * javax/swing/ToolTipManager.java
8510 (stillInsideTimerAction): Fixed constructor arguments.
8511 (outsideTimerAction): Likewise.
8512 (insideTimerAction): Likewise.
8514 2004-07-21 Michael Koch <konqueror@gmx.de>
8516 * javax/swing/JButton.java: Reformatted.
8517 * javax/swing/JFormattedTextField.java
8518 (getUIClassID): Implemented.
8519 * javax/swing/JRootPane.java
8520 (serialVersionUID): New constant.
8521 * javax/swing/JTextField.java
8523 (JTextField): Simplified.
8524 (getUIClassID): New method.
8525 (getActionListeners): Added @since tag.
8526 (setColumns): Invalidate layout and repaint.
8527 (getHorizontalAlignment): New method.
8528 (setHorizontalAlignment): New method.
8529 (selectAll): Removed.
8530 * javax/swing/SwingUtilities.java
8531 (getAncestorOfClass): Removed redundant @see tag.
8532 (isLeftMouseButton): Fixed implementation.
8533 (isMiddleMouseButton): Likewise.
8534 (isRightMouseButton): Likewise.
8535 * javax/swing/text/AbstractDocument.java
8536 (AttributeContext.addAttribute): New method.
8537 (AttributeContext.addAttributes): New method.
8538 (AttributeContext.getEmptySet): New method.
8539 (AttributeContext.reclaim): New method.
8540 (AttributeContext.removeAttribute): New method.
8541 (AttributeContext.removeAttributes): New method.
8542 * javax/swing/text/Document.java
8543 (createPosition): Throws BadLocationException.
8544 (getText): Likewise.
8546 * javax/swing/text/JTextComponent.java
8547 (getText): Return null if no document is set. Catch
8548 BadLocationException.
8550 (updateUI): Simplified.
8552 2004-07-21 Michael Koch <konqueror@gmx.de>
8554 * javax/swing/JButton.java
8555 (removeNotify): Fixed javadoc.
8556 (updateUI): Simplified.
8558 2004-07-21 David Jee <djee@redhat.com>
8560 * gnu/java/awt/image/ImageDecoder.java
8561 (startProduction): Only add consumer if it's not added yet.
8562 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8563 (GdkPixbufDecoder): Don't call initState() here.
8564 (produce): Call initState() here, to ensure area_prepared and
8565 area_updated signals are properly connected.
8566 * gnu/java/awt/peer/gtk/GtkImage.java
8567 (setColorModel): Use equals() to compare ColorModel objects.
8568 (setPixels): Likewise.
8569 * java/awt/image/ColorModel.java
8570 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8571 * java/awt/image/RGBImageFilter.java
8572 (setColorModel): Set consumer's color model.
8573 (setPixels): Use equals() to compare ColorModel objects.
8575 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
8577 * java/net/URLConnection.java (position): New field.
8578 (dateFormat1, dateFormat2, dateFormat3): Removed.
8579 (dateFormats): New field.
8580 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8581 each time instead of re-allocating.
8582 (initializeDateFormats): Initialize 'dateFormats'.
8584 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8587 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8590 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8592 * java/net/Socket.java (getImpl): Now private. Remove comment.
8594 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8596 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8597 of chained Writer when calling super-constructor.
8598 * java/io/FilterWriter.java (FilterWriter): Likewise.
8599 * java/io/PrintWriter.java (PrintWriter): Likewise.
8601 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
8603 * prims.cc (process_gcj_properties): Don't increment i within LHS
8606 2004-07-19 Per Bothner <per@bothner.com>
8608 Print -verbose:message on "loading", not initialization.
8609 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
8610 * defineclass.cc (_Jv_ClassReader::parse): Print message if
8611 gcj::verbose_class_flag.
8612 * java/lang/natClass.cc (initializeClass): Don't print message here.
8613 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
8614 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8615 (_Jv_PrepareCompiledClass): Likewise.
8617 2004-07-18 Matthias Klose <doko@debian.org>
8619 * configure.in: Substitute target_noncanonical.
8620 * configure: Regenerate
8622 2004-07-17 Michael Koch <konqueror@gmx.de>
8624 * java/lang/String.java: Fixed javadocs all over.
8626 2004-07-17 Mark Wielaard <mark@klomp.org>
8628 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8629 when size is smaller.
8630 * java/io/RandomAccessFile.java (setLength): Use truncate for
8631 shrinking the file and seek plus write for expanding the file.
8633 2004-07-17 Michael Koch <konqueror@gmx.de>
8635 * gnu/java/nio/channels/natFileChannelPosix.cc
8636 (implTruncate): Always save current position. Only reposition file
8637 pointer to where we started if not beyond new lenght. Reposition file
8638 pointer to file length if it points beyond the end of file.
8640 2004-07-17 Mark Wielaard <mark@klomp.org>
8642 * javax/swing/Box.java: Put FIXME comment above class declaration.
8643 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8644 * javax/swing/JCheckBox.java: Likewise.
8645 * javax/swing/JDialog.java: Likewise.
8646 * javax/swing/JRadioButton.java: Likewise.
8647 * javax/swing/JToggleButton.java: Likewise.
8648 * javax/swing/UIManager.java: Likewise.
8649 * javax/swing/border/TitledBorder.java: Likewise.
8650 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8651 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8652 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8653 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8654 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8655 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8656 * javax/swing/text/JTextComponent.java: Likewise.
8658 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
8660 * java/net/DatagramPacket.java (setAddress): Removed check for
8663 2004-07-17 Michael Koch <konqueror@gmx.de>
8665 * java/net/DatagramSocket.java
8666 (getLocalAddress): Check if socket is bound or not.
8667 * java/net/Socket.java
8668 (getLocalAddrss): Check if socket is bound or not.
8669 (getPort): Return -1 when not connected. Dont check getImpl() for
8671 (setReuseAddress): Check if socket is closed.
8672 (isConnected): Check if getImpl() returns null.
8674 2004-07-17 Mark Wielaard <mark@klomp.org>
8676 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8677 on notifier object before calling notifyAll().
8679 2004-07-17 Michael Koch <konqueror@gmx.de>
8681 * gnu/java/nio/channels/FileChannelImpl.java
8682 (finalize): Added javadoc.
8684 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
8686 * java/text/CollationElementIterator.java
8687 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8688 (setText): Use ArrayList instead of Vector.
8690 2004-07-17 Michael Koch <konqueror@gmx.de>
8692 * java/nio/ByteOrder.java
8693 (static): Removed. Not needed.
8694 Thanks to Patrick Reali for noticing.
8695 * java/nio/charset/CharsetDecoder.java
8696 (decode): Fix for classpath bug #9177: Reset state before flipping.
8698 2004-07-17 Michael Koch <konqueror@gmx.de>
8700 * java/security/Security.java: Fixed javadocs all over.
8702 2004-07-17 Michael Koch <konqueror@gmx.de>
8704 * gnu/java/awt/EmbeddedWindow.java
8706 (addNotify): Set peer via reflection.
8707 (setWindowPeer): Removed.
8708 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8709 * Makefile.am (nat_source_files):
8710 Removed gnu/java/awt/natEmbeddedWindow.cc.
8711 * Makefile.in: Regenerated.
8713 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
8715 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8717 * configure: Regenerated.
8719 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
8721 * configure.in: Use build_noncanonical rather than build_alias.
8722 * configure: Rebuild.
8724 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8725 by logic refactoring. Move default definition of NATIVE closer
8726 to first alternate definition.
8727 * configure: Regenerate.
8729 * Makefile.am: Set ZIP and GCJH directly using autoconf.
8730 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8731 gcj/Makefile.in: Regenerate.
8732 * configure.in: Set ZIP and GCJH. Remove redundant condition
8733 in AM_CONDITIONAL(NATIVE,...)
8734 * configure: Regenerate.
8736 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
8738 * configure.in: Use target_noncanonical rather than
8739 target_alias for forward-compatibility with autoconf 2.59.
8740 * configure: Regenerate.
8741 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8742 testsuite/Makefile.am: Substitute target_noncanonical.
8743 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8744 testsuite/Makefile.in: Regenerate.
8746 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8747 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8748 * acinclude.m4: Include acx.m4.
8749 * aclocal.m4: Regenerate.
8750 * configure: Regenerate.
8752 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
8755 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8756 (decimalFormat): New static variable.
8758 (getTime): New. Override Date.getTime().
8759 (toString): Synchronize. Use decimalFormat to format nanos value
8760 correctly. Truncate extra zeros.
8761 (before): Compare getNanos() only if getTime() is equal.
8764 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
8766 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8767 * configure.in: ...here.
8768 * aclocal.m4: Regenerate.
8769 * configure: Regenerate.
8771 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8772 * configure: Rebuilt with autoconf 2.13.
8773 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8774 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8776 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
8779 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
8781 * Makefile.in: Rebuilt.
8782 * testsuite/libjava.lang/LargeFile.java: New test case.
8783 * testsuite/libjava.lang/LargeFile.out: New file.
8785 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
8787 * java/beans/EventHandler.java: Remove debugging statements.
8789 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
8791 * java/beans/EventHandler.java: New file.
8792 * Makefile.am (awt_java_source_files): Add EventHandler.java.
8793 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8794 testsuite/Makefile.in: Regenerate.
8796 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
8798 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
8799 flag to the gcj_setup.
8800 (gcj_jacks_run): Check tclsh version and launch jacks directly with
8802 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
8803 deprecation flag change. 58 XFAILS removed.
8805 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
8807 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
8808 -fno-use-divide-subroutine.
8809 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
8810 (HANDLE_FPE): Define.
8811 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
8812 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8813 (HANDLE_DIVIDE_OVERFLOW): Define.
8815 2004-07-14 Michael Koch <konqueror@gmx.de>
8816 Matthias Klose <doko@debian.org>
8818 * java/awt/im/InputContext.java: Initialize in, line.
8820 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
8822 * interpret.cc (run): Correctly access libffi return values of
8823 integral smaller-than-int type; these are implicitly promoted.
8825 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
8828 * interpret.cc (compile_mutex): New.
8829 (_Jv_InitInterpreter): New. Initialize compile_mutex.
8830 (run): Lock compile_mutex before calling compile() if compilation is
8832 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
8833 * include/java-interp.h (_Jv_InitInterpreter): Declare.
8835 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
8838 * include/jvm.h (_Jv_value): New union type.
8839 * gcj/field.h (_Jv_Field): Add new _addr union field variants
8840 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
8843 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
8845 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
8846 * gnu/awt/xlib/XOffScreenImage.java
8847 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
8848 constructor argument. Add constructor using ImageProducer.
8849 (getSource): Implement.
8850 (imageComplete): New method.
8851 (setColorModel): New method.
8852 (setDimensions): New method.
8853 (setHints): New method.
8854 (setPixels): New method.
8855 (setProperties): New method.
8856 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
8857 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
8859 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
8862 * prims.cc (_Jv_CreateJavaVM): Fix comment.
8863 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
8864 (finalizerReady): Now native.
8866 (runFinalizers): Removed.
8867 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
8868 a primitive lock, and don't hold it while running the finalizers.
8869 (runFinalizers): Implement. Don't aquire any Java lock.
8870 (finalizerReady): Use lock primitives to signal finalizer thread.
8872 2004-07-11 Mark Wielaard <mark@klomp.org>
8874 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
8875 * java/net/URLStreamHandler.java (parseURL): When url file part
8876 doesn't contain a '/' just ignore context.
8878 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
8880 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
8881 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
8882 (MAKE_THROW_FRAME): Do not modify PSW address.
8883 (INIT_SEGV): Install SIGINFO-style signal handler.
8884 (INIT_FPE): Likewise.
8886 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
8888 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
8889 status. 21 xfail's removed, 1 added.
8891 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
8893 * gcj/javaprims.h: Regenerate CNI namespace definitions.
8895 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
8897 * java/text/MessageFormat.java
8898 (formatInternal): Append "{n}" if argument n is unavailable.
8899 (format(Object, StringBuffer, FieldPosition)): This
8900 should be equivalent to format(Object[],
8901 StringBuffer, FieldPosition).
8903 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8905 * java.util.Calendar.java (cache): New private static field. Cached
8906 mappings of locales->calendar classes.
8907 (ctorArgTypes): New private static field. Singleton argument for
8908 calendar class constructor lookup.
8909 (getInstance): Cache Locale->Calendar class mappings using HashMap.
8910 Optimize by bypassing reflection instantiation for the
8911 GregorianCalendar case.
8913 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8915 * java/util/Calendar.java: Use getSystemClassLoader as argument for
8916 ResourceBundle.getBundle() calls.
8917 * java/util/GregorianCalendar.java: Likewise.
8918 * java/util/Currency.java: Likewise.
8919 * java/text/BreakIterator.java: Likewise.
8920 * java/text/Collator.java: Likewise.
8921 * java/text/DateFormat.java: Likewise.
8922 * java/text/DateFormatSymbols.java: Likewise.
8923 * java/text/DecimalFormatSymbols.java: Likewise.
8924 * java/text/NumberFormat.java: Likewise.
8925 * java/awt/Window.java: Likewise.
8927 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8929 * java/util/ResourceBundle.java (bundleCache): Renamed from
8930 resourceBundleCache. Update comments.
8931 (getObject): Don't catch MissingResourceException.
8932 (getBundle(String)): Remove 'final'. Use system classloader if
8933 getCallingClassLoader returned null.
8934 (getBundle(String, Locale)): Likewise.
8935 (BundleKey): New private class. HashMap key for bundle cache lookup.
8936 (lookupKey): New. Singleton instance of BundleKey.
8937 (nullEntry): New. Cache entry to represent failed lookups.
8938 (getBundle(String, Locale, ClassLoader)): Re-written to use new
8939 caching strategy, no-allocation lookup, and new tryBundle methods.
8940 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
8941 name using given classloader.
8942 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
8943 baseName for given Locale and attempt to load bundle.
8945 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8947 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
8948 illegal protected method calls.
8950 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
8952 Fix or remove some bogus test cases.
8953 * testsuite/libjava.compile/pr10459_2.java: Removed.
8954 * testsuite/libjava.compile/pr10459.java: Test using its own method,
8956 * testsuite/libjava.compile/inner_data.java: Test against its own
8959 2004-07-09 Michael Koch <konqueror@gmx.de>
8961 * scripts/unicode-muncher.pl: Updated to version 2.1
8962 from GNU classpath. Added some clarifications on where to find the
8963 needed files from www.unicode.org.
8964 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
8965 gnu/gcj/convert/UnicodeData-3.0.0.txt:
8966 Removed, these can directly be downloaded from www.unicode.org if
8968 * gnu/java/lang/CharData.java: Regenerated.
8969 * include/java-chartables.h: Regenerated.
8970 * Makefile.am (ordinary_java_source_files):
8971 Removed gnu/java/lang/CharData.java.
8972 * Makefile.in: Regenerated.
8974 2004-07-09 Michael Koch <konqueror@gmx.de>
8976 * java/security/AccessControlContext.java,
8977 java/security/SecureClassLoader.java:
8980 2004-07-09 Michael Koch <konqueror@gmx.de>
8982 * java/io/ObjectInputStream.java (readFields): Use long datatype
8983 when shifting byte values more then 24 bits left.
8985 2004-07-09 Michael Koch <konqueror@gmx.de>
8987 * java/util/zip/DeflaterOutputStream.java,
8988 java/util/zip/GZIPInputStream.java,
8989 java/util/zip/GZIPOutputStream.java,
8990 java/util/zip/InflaterInputStream.java:
8991 Reformatted. Added javadocs. Reordered all stuff.
8992 Renamed variables to be more clear.
8994 2004-07-09 Michael Koch <konqueror@gmx.de>
8996 * javax/imageio/IIOException.java,
8997 javax/imageio/event/IIOReadProgressListener.java,
8998 javax/imageio/event/IIOReadUpdateListener.java,
8999 javax/imageio/event/IIOReadWarningListener.java,
9000 javax/imageio/event/IIOWriteProgressListener.java,
9001 javax/imageio/event/IIOWriteWarningListener.java:
9003 * Makefile.am: Added new files.
9004 * Makefile.in: Regenerated.
9006 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
9008 * java/text/RuleBasedCollator.java
9009 (mergeRules): Use ArrayList instead of Vector.
9010 (subParseString): likewise.
9011 (parseString): likewise.
9012 (buildCollationVector): likewise.
9013 (getCollationKey): likewise.
9015 2004-07-09 Dalibor Topic <robilad@kaffe.org>
9017 * java/text/DateFormat.java (parse):
9018 Improved javadoc. Improved exception message.
9020 2004-07-09 Mark Wielaard <mark@klomp.org>
9022 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
9023 interrupted() method to clear interupt flag of our Thread.
9025 2004-07-09 Dalibor Topic <robilad@kaffe.org>
9027 * java/nio/Buffer.java,
9028 java/nio/ByteBuffer.java,
9029 java/nio/ByteBufferHelper.java,
9030 java/nio/ByteBufferImpl.java,
9031 java/nio/CharBuffer.java,
9032 java/nio/CharBufferImpl.java,
9033 java/nio/CharViewBufferImpl.java,
9034 java/nio/DirectByteBufferImpl.java,
9035 java/nio/DoubleBuffer.java,
9036 java/nio/DoubleBufferImpl.java,
9037 java/nio/DoubleViewBufferImpl.java,
9038 java/nio/FloatBuffer.java,
9039 java/nio/FloatBufferImpl.java,
9040 java/nio/FloatViewBufferImpl.java,
9041 java/nio/IntBuffer.java,
9042 java/nio/IntBufferImpl.java,
9043 java/nio/IntViewBufferImpl.java,
9044 java/nio/LongBuffer.java,
9045 java/nio/LongBufferImpl.java,
9046 java/nio/LongViewBufferImpl.java,
9047 java/nio/MappedByteBufferImpl.java,
9048 java/nio/ShortBuffer.java,
9049 java/nio/ShortBufferImpl.java,
9050 java/nio/ShortViewBufferImpl.java:
9051 Fixed javadocs all over. Improved input error
9054 * java/nio/Buffer.java
9055 (checkForUnderflow, checkForOverflow, checkIndex,
9056 checkIfReadOnly, checkArraySize): New helper methods
9059 * java/nio/ByteBufferHelper.java
9060 (checkRemainingForRead, checkRemainingForWrite,
9061 checkAvailableForRead, checkAvailableForWrite): Removed
9062 no longer needed methods.
9064 2004-07-09 Michael Koch <konqueror@gmx.de>
9066 * gnu/regexp/CharIndexedInputStream.java:
9067 Reordered imports to match classpath.
9069 2004-07-09 Michael Koch <konqueror@gmx.de>
9071 * gnu/java/awt/EmbeddedWindow.java:
9072 Load native library for setWindowPeer method.
9074 2004-07-08 Randolph Chung <tausq@debian.org>
9076 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9077 * configure: Regenerate.
9078 * configure.host: Set can_unwind_signal for hppa*-linux.
9079 * include/pa-signal.h: New file.
9081 2004-07-07 Per Bothner <per@bothner.com>
9083 * Makefile.am: Add rules to build libgij from just gij.cc.
9085 * include/jvm.h (namespace jcj): Declare verbose_class_flag
9086 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
9087 (initializeClass): If verbose_class_flag, print message.
9088 * gij.cc (main): Handle -verbose:class flag.
9090 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
9092 * configure.host: Enable hash synchronization on Darwin.
9093 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9094 ';', since this is a comment on Darwin.
9095 (compare_and_swap_release): Likewise.
9097 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
9099 * java/net/URLStreamHandler.java (parseURL): Canonicalize
9100 file portion of URL in addition to spec for file: protocol.
9102 2004-07-05 Anthony Green <green@redhat.com>
9104 * java/io/File.java (toURI): Merge from Classpath.
9106 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
9108 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9109 before passing to URL constructor. Rethrow any MalformedURLException
9110 as a RuntimeException. Catch MalformedURLException specifically, not
9113 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
9115 * java/util/Locale.java (readObject): Intern strings read from object
9118 2004-07-04 Michael Koch <konqueror@gmx.de>
9120 * gnu/gcj/runtime/FirstThread.java,
9121 gnu/gcj/runtime/natFirstThread.cc: Removed.
9122 * gnu/java/lang/MainThread.java,
9123 gnu/java/lang/natMainThread.cc: New files.
9124 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9125 * Makefile.am: Added new files and removed deleted ones.
9126 * Makefile.in: Regenerated.
9128 2004-07-03 Mark Wielaard <mark@klomp.org>
9129 Anthony Green <green@redhat.com>
9131 * java/net/URL.java (getFile): Clarify return value doc.
9132 (getPath): Return null if file is empty - not empty String.
9133 (set): Convert protocol to lower case before doing anything.
9134 Only change the protocol handler if it's different.
9136 2004-07-03 Anthony Green <green@redhat.com>
9138 * java/net/URL.java (URL): Convert protocol to lower case before
9139 doing anything, so we getURLStreamHandler() with the proper value.
9141 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
9143 * java/util/Locale.java (hashcode): Made transient.
9144 (hashCode): No longer synchronized.
9145 (equals): Remove comment.
9146 (writeObject): No longer synchronized. Implement using writeObject
9147 calls instead of tweaking hashCode field. Update doc.
9148 (readObject): Implement using readObject calls.
9150 2004-06-26 Geoffrey Keating <geoffk@apple.com>
9151 Andreas Tobler <a.tobler@schweiz.ch>
9153 * configure.host (powerpc-*-darwin*): New case, define
9155 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9156 * configure: Regenerate.
9157 * include/darwin-signal.h: New.
9159 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
9161 * java/beans/Statement.java (doExecute): Fix formatting.
9163 2004-06-29 Per Bothner <per@bothner.com>
9165 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9166 etc etc): Remove needless parenthesis, which causes __stdcall__
9167 attribute on MinGW to get ignored.
9169 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
9171 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9173 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
9175 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9177 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
9179 * java/beans/Expression.java: New file.
9180 * java/beans/Statement.java: New file.
9181 * Makefile.am: Added new files.
9182 * Makefile.in: Re-generate.
9184 2004-06-27 Mark Wielaard <mark@klomp.org>
9186 * java/io/FilePermission.java (usingPerms): Removed.
9187 (actionsString): Made final.
9188 (cachePerms): Renamed to checkPerms.
9189 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9191 (FilePermission): Check arguments, call checkPerms().
9192 (equals): Remove cachePerms() call.
9193 (implies): Likewise.
9195 2004-06-27 Mark Wielaard <mark@klomp.org>
9197 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9199 (sendRequest): Use new field in user-agent http agent.
9201 2004-06-27 Mark Wielaard <mark@klomp.org>
9203 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9204 when argument is null.
9206 2004-06-26 Mark Wielaard <mark@klomp.org>
9208 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9209 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9211 (cancel_clicked): Likewise.
9213 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
9215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9216 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9217 can not calculate the right value.
9218 (dpi_changed_cb): Likewise. Mark *pspec as unused.
9220 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
9222 * testsuite/libjava.jacks/jacks.xfail: Remove
9223 15.9.1-qualified-concrete-20.
9225 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
9227 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9228 encoding name to iconv.
9229 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9231 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
9234 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
9235 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9236 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9238 2004-06-21 Andrew Haley <aph@redhat.com>
9240 * java/io/ObjectOutputStream.java: Add DEBUG statements
9242 (dumpElementln): New method.
9244 * java/io/ObjectInputStream.java
9245 (currentClassLoader): Make native.
9246 (callersClassLoader): New field.
9248 (readObject): ENDBLOCKDATA is generated if the class has a write
9249 method, not if it has a read method.
9250 (readObject): Save and restore this.currentObject and
9251 this.currentObjectStreamClass around calls to callReadMethod().
9252 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9255 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
9257 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9260 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9262 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9263 if desired, before the default class loader is initialised.
9264 Call INIT_SEGV only if HANDLE_SEGV is defined.
9266 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9268 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9269 directory only if it actually exists.
9271 2004-06-18 Graydon Hoare <graydon@redhat.com>
9273 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9274 Fix up non-ansi comments.
9276 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9278 * javax/swing/text/AbstractDocument.java: Adding missing import
9279 for javax.swing.event.EventListenerList.
9280 * javax/swing/text/DefaultCaret.java: Likewise.
9282 2004-06-17 Michael Koch <konqueror@gmx.de>
9284 * javax/swing/JToolBar.java
9286 (JToolBar): Use Component.setName(String) instead of doing it all
9288 * javax/swing/Timer.java
9289 (queueEvent): Added missing modifier.
9291 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
9293 * Makefile.am: Added new file.
9294 * Makefile.in: Re-generate.
9295 * javax/swing/JMenu.java:
9296 (insertSeparator): Implemented.
9297 * javax/swing/JPopupMenu.java:
9298 (JPopupMenu.Separator): Implemented.
9299 * javax/swing/MenuSelectionManager.java:
9300 (processMouseEvent): Use java.awt.Component
9301 for event source instead of javax.swing.JComponent.
9302 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9303 New File. Implemented.
9305 2004-06-16 David Jee <djee@redhat.com>
9307 * java/awt/GridBagLayout.java
9308 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9309 Make sure pos_x and pos_y are never negative.
9311 2004-04-16 Andrew Overholt <overholt@redhat.com>
9313 * Makefile.am: Add new file.
9314 * Makefile.in: Re-generate.
9315 * javax/swing/JToolBar.java
9316 Partially implemented.
9317 * javax/swing/plaf/basic/BasicToolBarUI.java
9318 New file. Partially implemented.
9320 2004-06-16 Graydon Hoare <graydon@redhat.com>
9322 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9323 (setComposite): Accept AlphaComposite arguments.
9324 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9325 (createBufferedImage): Add new overloads.
9326 * gnu/java/awt/peer/gtk/GtkToolkit.java
9327 (createImage): Use GdkPixbufDecoder.createBufferedImage
9328 when useGraphics2D() is true.
9329 (getImage): Delegate to createImage.
9330 * javax/swing/JList.java
9332 (getFirstVisibleIndex):
9333 (getLastVisibleIndex):
9335 (ensureIndexIsVisible): New methods.
9336 * javax/swing/Timer.java: Reimplement.
9338 2004-06-16 Michael Koch <konqueror@gmx.de>
9340 * javax/swing/text/AbstractDocument.java
9341 (AbstracElement): Made public, implements java.io.Serializable.
9342 (AttributeContext): Made public.
9343 (BranchElement): Likewise.
9344 (Content): Likewise.
9345 (DefaultDocumentEvent): Made public, extends
9346 javax.swing.undo.CompoundEdit.
9347 (ElementEdit): Made public, extends
9348 javax.swing.undo.AbstractUndoableEdit.
9349 (LeafElement): Made public.
9350 (LeafElement.LeafElement): Made public.
9352 2004-06-16 Michael Koch <konqueror@gmx.de>
9354 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9355 methods (that were obviously never be intended to get included hi this
9356 class. Added some methods too.
9358 2004-06-16 Michael Koch <konqueror@gmx.de>
9360 * javax/swing/text/PlainDocument.java
9361 (serialVersionUID): New constant.
9362 (lineLimitAttribute): Likewise.
9363 (tabSizeAttribute): Likewise.
9364 (tabSize): New field.
9365 (PlainDocument): Made public.
9366 (PlainDocument): New constructor.
9368 2004-06-16 Michael Koch <konqueror@gmx.de>
9370 * javax/swing/text/AbstractDocument.java
9371 (insertString): Throws BadLocationException.
9372 * javax/swing/text/Document.java
9373 (insertString): Likewise.
9374 * javax/swing/text/JTextComponent.java:
9375 Javadocs and comments cleaned up.
9377 2004-06-16 Michael Koch <konqueror@gmx.de>
9379 * javax/swing/event/UndoableEditListener.java: Reformatted.
9380 * javax/swing/text/AbstractDocument.java
9381 (AbstractDocument): Implements java.io.Serializable.
9382 (doc_list): Removed.
9383 (undo_list): Removed.
9384 (AbstractElement.serialVerionUID): New field.
9385 (BranchElement.serialVerionUID): Likewise.
9386 (DefaultDocumentEvent.serialVerionUID): Likewise.
9387 (ElementEdit.serialVerionUID): Likewise.
9388 (LeafElement.serialVerionUID): Likewise.
9389 (serialVerionUID): Likewise.
9390 (BAD_LOCATION): New constant.
9391 (BidiElementName): Likewise.
9392 (ContentElementName): Likewise.
9393 (ParagraphElementName): Likewise.
9394 (SectionElementName): Likewise.
9395 (ElementNameAttribute): Likewise.
9396 (AbstractDocument): Made protected.
9397 (AbstractDocument): New construtor.
9398 (listenerList): New field.
9399 (fireChangedUpdate): Implemented.
9400 (fireInsertUpdate): Likewise.
9401 (fireRemoveUpdate): Likewise.
9402 (fireUndoableEditUpdate): Likewise.
9403 (getListeners): Likewise.
9404 (addDocumentListener): Likewise.
9405 (removeDocumentListener): Likewise.
9406 (addUndoableEditListener): Likewise.
9407 (removeUndoableEditListener): Likewise.
9408 (getDocumentListeners): New method.
9409 (getUndoableEditListeners): Likewise.
9410 (getAsynchronousLoadPriority): Made public.
9411 (getBidiRootElement): Likewise.
9412 (setAsynchronousLoadPriority): Likewise.
9413 (setDocumentProperties): Likewise.
9414 * javax/swing/text/BadLocationException.java
9415 (serialVerionUID): New field.
9416 * javax/swing/text/DefaultCaret.java
9417 (changeEvent): New field.
9418 (listenerList): Likewise.
9420 (addChangeListener): Reimplemented.
9421 (removeChangeListener): Likewise.
9422 (getListeners): New method.
9423 (getChangeListeners): Likwise.
9424 (getComponent): Likewise.
9425 * javax/swing/text/GapContent.java
9426 (GapContent): Implements java.io.Serializable.
9427 (serialVerionUID): New field.
9429 2004-06-16 Michael Koch <konqueror@gmx.de>
9431 * javax/swing/JTree.java
9432 (treeModel): New field.
9433 (JTree): New constructors, one existing one made public.
9434 (createTreeModel): New method.
9435 (addTreeExpansionListener): Likewise.
9436 (removeTreeExpansionListener): Likewise.
9437 (getTreeExpansionListeners): Likewise.
9438 (fireTreeCollapsed): Likewise.
9439 (fireTreeExpanded): Likewise.
9440 (addTreeSelectionListener): Likewise.
9441 (removeTreeSelectionListener): Likewise.
9442 (getTreeSelectionListeners): Likewise.
9443 (fireValueChanged): Likewise.
9444 (addTreeWillExpandListener): Likewise.
9445 (removeTreeWillExpandListener): Likewise.
9446 (getTreeWillExpandListeners): Likewise.
9447 (fireTreeWillCollapse): Likewise.
9448 (fireTreeWillExpand): Likewise.
9450 2004-06-16 Michael Koch <konqueror@gmx.de>
9452 * javax/swing/JTree.java: Reformatted.
9454 2004-06-16 Michael Koch <konqueror@gmx.de>
9456 * javax/swing/JTextArea.java: New file.
9457 * javax/swing/JTextField.java
9459 (notifyAction): New constant.
9460 (columns): New field.
9461 (JTextField): New constructors.
9462 (createDefaultModel): New method.
9463 (addActionListener): Reimplmemented.
9464 (removeActionListener): Reimplemented.
9465 (getActionListeners): New method.
9466 (fireActionPerformed): New method.
9467 (getColumns): New method.
9468 (setColumne): New method.
9469 * javax/swing/text/JTextComponent.java
9470 (AccessibleJTextComponent.serialVersionUID): New field.
9471 (serialVersionUID): Likewise.
9472 (DEFAULT_KEYMAP): Likewise.
9473 (FOCUS_ACCELERATOR_KEY): Likewise.
9474 (doc): Made private.
9475 (icon_gap): Likewise.
9478 (JTextComponent): Some constructors removed.
9479 (getScrollableTracksViewportHeight): New method.
9480 (getScrollableTracksViewportWidth): Likewise.
9481 * Makefile.am: Added javax/swing/JTextArea.java.
9482 * Makefile.in: Regenerated.
9484 2004-06-15 Graydon Hoare <graydon@redhat.com>
9486 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9487 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9488 * javax/swing/JViewport.java
9489 (getExtentSize): Return size rather than preferred size.
9490 (toViewCoordinates): New methods.
9491 (getViewSize): Return size rather than preferred size.
9492 (setViewSize): Note view size as set.
9493 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9494 * javax/swing/plaf/basic/BasicScrollBarUI.java
9495 (getPreferredSize): Don't redo layout.
9496 * javax/swing/plaf/basic/BasicViewportUI.java
9497 (paint): Translate image properly and eat exceptions.
9499 2004-06-15 Kim Ho <kho@redhat.com>
9501 * javax/swing/JTabbedPane.java
9502 (setComponent): Remove old component and
9504 (setSelectedIndex): Don't operate on the
9505 components if they're null. Don't set index
9506 on the model if the index is the same.
9507 (insertTab): Don't add or hide the component
9508 if it's null. Repaint the container.
9509 * javax/swing/plaf/basic/BasicLookAndFeel.java
9510 Change colors for TabbedPane.
9511 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9512 (mousePressed): Re-layout and paint the component.
9513 (layoutContainer): Don't set location on the view.
9514 (ScrollingViewport::paint): Remove.
9516 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9519 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9522 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9523 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
9525 (drawLine): Call gdk_flush before leaving GDK critical region.
9526 (fillRect): Likewise.
9527 (drawRect): Likewise.
9528 (copyArea): Likewise.
9529 (copyPixmap): Likewise.
9530 (clearRect): Likewise.
9531 (drawArc): Likewise.
9532 (drawPolyline): Likewise.
9533 (drawPolygon): Likewise.
9534 (fillPolygon): Likewise.
9535 (fillArc): Likewise.
9536 (drawOval): Likewise.
9537 (fillOval): Likewise.
9539 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9541 (GdkFontMetrics): Add style argument to initState call.
9542 (stringWidth(String,int,int,String)): Add style parameter.
9543 (stringWidth(String)): Add style argument to stringWidth call.
9544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9545 (initState): Set pango font style and weight based on AWT style
9546 parameter. Pass default GTK language to
9547 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
9548 simply dividing by PANGO_SCALE.
9549 (stringWidth): Set pango font style and weight based on AWT style
9552 * java/awt/Button.java (next_button_number): New field.
9553 (paramString): Change output.
9554 (generateName): New method.
9555 (getUniqueLong): New method.
9557 2004-06-14 Kim Ho <kho@redhat.com>
9559 * javax/swing/JTabbedPane.java:
9560 (setComponentAt): Set the component, not
9562 * javax/swing/plaf/basic/BasicDesktopIconUI.java
9563 (actionPerformed): Let deiconize catch exception.
9565 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9567 * javax/swing/JPopupMenu.java:
9568 (setVisible): Corrected location of a
9569 heavyweight popup menu.
9571 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9573 * javax/swing/MenuSelectionManager.java:
9574 Ran through jalopy to fix formatting style.
9576 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9578 * javax/swing/JLayeredPane.java:
9579 (remove): Revalidate and repaint layered pane after
9580 the component was removed.
9581 javax/swing/JMenu.java:
9582 (setVisible): Display popup menu at the user location,
9583 if one was set by the user.
9584 (setMenuLocation): Reimplemented. Fixed javadoc.
9585 * javax/swing/JMenuBar.java: Added javadoc.
9586 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9587 (MODEL_CHANGED_PROPERTY): New Property.
9588 (isSelected): Implemented.
9589 (setBorderPainted): Fire PropertyChangeEvent
9590 if paintBorder property changes.
9591 (setSelected): Implemented.
9592 (setSelectionModel): Implemented.
9593 * javax/swing/JPopupMenu.java: Added Javadoc
9594 (pack): Implemented.
9595 (setVisible): Reimplemented.
9596 (show): Fixed location.
9597 (JPopupMenu.LigthWeightPopup): Reimplemented to use
9598 Container instead of JPanel.
9599 * javax/swing/MenuSelectionManager.java: Added Javadocs.
9600 (clearSelectedPath): Reimplemented to clear selectedPath
9602 (processMouseEvent): Reimplemented.
9603 (setSelectedPath): Fire stateChange event indicating that
9604 selected menu path has changed.
9605 (getPath): Change to use ArrayList instead of Vector.
9606 * javax/swing/plaf/basic/BasicMenuBarUI.java:
9607 (installUI): call installKeyboardActions().
9608 (uninstallUI): call uninstallKeyboardActions().
9610 2004-06-13 Michael Koch <konqueror@gmx.de>
9612 * javax/swing/text/DefaultCaret.java,
9613 javax/swing/text/BadLocationException.java:
9616 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
9618 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9619 DEFAULT_COLS): New variables.
9620 (create): Don't allow 0 rows or 0 columns. Instead, set the
9621 values to DEFAULT_ROWS or DEFAULT_COLS.
9622 (getMinimumSize): Likewise.
9623 (getPreferredSize): Likewise.
9624 (minimumSize): Likewise.
9625 (preferredSize): Likewise.
9626 (create): Set peer's editable state.
9627 * java/awt/TextArea.java (TextArea()): Set rows and columns to
9628 zero. Update javadocs.
9629 (TextArea(String)): Likewise.
9630 (TextArea(int,int)): Fix javadocs.
9631 (TextArea(String,int,int,int)): Only throw exception if one of
9632 rows or columns is zero. Fix javadocs.
9634 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9636 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9637 addition to Components.
9639 * java/awt/MenuItem.java (dispatchEventImpl): If the event
9640 wasn't consumed by normal processing, send it to the parent
9643 * gnu/java/awt/peer/gtk/GtkImagePainter.java
9644 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9647 2004-06-11 David Jee <djee@redhat.com>
9649 * java/awt/MediaTracker.java
9650 (addImage(Image,int)): Call imageUpdate() to udpate image status.
9651 (addImage(Image,int,int,int)): Likewise.
9653 2004-06-11 Michael Koch <konqueror@gmx.de>
9655 * javax/swing/text/AbstractDocument.java,
9656 javax/swing/text/Document.java,
9657 javax/swing/text/GapContent.java,
9658 javax/swing/text/JTextComponent.java,
9659 javax/swing/text/PlainDocument.java:
9662 2004-06-11 Michael Koch <konqueror@gmx.de>
9664 * javax/swing/JRootPane.java
9665 (AccessibleJRootPane.serialVersionUID): New field.
9666 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9667 (AccessibleJRootPane.getAccessibleRole): New method.
9668 (RootLayout): Implements Serializable.
9669 (RootLayout.serialVersionUID): New field.
9670 (RootLayout.RootLayout): New constructor.
9671 (setJMenuBar): Made public.
9672 (getJMenuBar): Likewise.
9673 (JRootPane): Likewise.
9674 (createContentPane): Likewise.
9675 (createGlassPane): Likewise.
9676 (createLayeredPane): Likewise.
9678 2004-06-11 Michael Koch <konqueror@gmx.de>
9680 * javax/swing/SwingUtilities.java
9681 (isLeftMouseButton): Fixed javadoc.
9682 (isMiddleMouseButton): Likewise.
9683 (isRightMouseButton): Likewise.
9685 2004-06-11 Michael Koch <konqueror@gmx.de>
9687 * javax/swing/JScrollPane.java
9688 (serialVersionUID): New field.
9689 (columnHeader): Made protected.
9690 (rowHeader): Likewise.
9691 (lowerLeft): Likewise.
9692 (lowerRight): Likewise.
9693 (upperLeft): Likewise.
9694 (upperRight): Likewise.
9695 (horizontalScrollBar): Likewise.
9696 (horizontalScrollBarPolicy): Likewise.
9697 (verticalScrollBar): Likewise.
9698 (verticalScrollBarPolicy): Likewise.
9699 (viewport): Likewise.
9701 2004-06-11 Michael Koch <konqueror@gmx.de>
9703 * javax/swing/LookAndFeel.java: Fixed javadocs.
9705 2004-06-11 Michael Koch <konqueror@gmx.de>
9707 * javax/swing/JEditorPane.java: Fixed javadocs.
9708 (JEditorPane): Removed redundant call to to this().
9709 (fireHyperlinkUpdate): Implemented.
9711 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9713 * javax/swing/JMenu.java: Fixed file name
9714 in the file comment.
9716 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9718 * javax/swing/JMenu.java: Added javadoc.
9719 (JMenu): Added MenuChangeListener to listen to
9720 ChangeEvents occuring in menu's model.
9721 (insert): Throw IllegalArgumentException if
9722 index is less than 0
9723 (setSelected): Reimplement.
9724 (setPopupMenuVisible): Call menu's model isEnabled()
9725 (setDelay): Throw IllegalArgumentException if
9726 given amount of delay is less than 0.
9727 (createActionComponent): Implemented.
9728 (createActionChangeListener): Implemented.
9729 (addSeparator): Implemented.
9730 (getItem): Throw IllegalArgumentException if index is
9732 (getItemCount): Implemented.
9733 (fireMenuSelected): Changed to use menuEvent.
9734 (fireMenuDeselected): Likewise.
9735 (fireMenuCanceled): Likewise.
9736 (setAccelerator): Changed to throw an error if this
9738 (doClick): Implemented.
9739 (JMenu.ActionChangedListener): New inner class to handle
9740 PropertyChangeEvents occuring in the actions associated with menu.
9741 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9742 (BasicMenuUI): Added PropertyChangeListener to the menu.
9743 (createChangeListener): Implemented.
9744 (createMenuDragMouseListener): Likewise.
9745 (createMenuKeyListener): Likewise.
9746 (createPropertyChangeListener): Likewise.
9747 (uninstallListeners): Likewise.
9748 (BasicMenuUI.MouseInputHandler): Reimplemented.
9749 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9750 (BasicMenuUI.ChangeHandler): Likewise.
9751 (BasicMenuUI.MenuDragMouseHandler): Likewise.
9752 (BasicMenuUI.MenuKeyHandler): Likewise.
9754 2004-06-10 David Jee <djee@redhat.com>
9756 * java/awt/MediaTracker.java
9757 (imageUpdate): Only do notifyAll() if the image is complete.
9759 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9761 * javax/swing/JApplet.java:
9762 (getJMenuBar): Made public.
9763 (setJMenuBar): Likewise.
9764 * javax/swing/JFrame.java:
9765 (getJMenuBar): Made public.
9766 (setJMenuBar): Likewise.
9767 * javax/swing/JWindow.java:
9768 (getJMenuBar): Removed.
9769 (setJMenuBar): Removed.
9771 2004-06-10 Michael Koch <konqueror@gmx.de>
9773 * javax/swing/JEditorPane.java
9774 (createEditorKitForContentType): Fixed visibility.
9775 (fireHyperlinkUpdate): Likewise.
9776 (getContentType): Likewise.
9777 (getEditorKit): Likewise.
9778 (getEditorKitForContentType): Likewise.
9779 (getPage): Likewise.
9781 (registerEditorKitForContentTyoe): Likewise.
9782 (replaceSelection): Likewise.
9783 (setContentType): Likewise.
9784 (setEditorKit): Likewise.
9785 (setPage): Likewise.
9787 2004-06-10 Michael Koch <konqueror@gmx.de>
9789 * javax/swing/Timer.java
9790 (Timer): New constructor.
9791 * javax/swing/plaf/basic/BasicProgressBarUI.java
9792 (animationTimer): Don't initialize at construction.
9793 (startAnimationTimer): Added since tag.
9794 (stopAnimationTimer): Likewise.
9795 (installUI): Use new Timer constructor.
9796 * javax/swing/plaf/basic/BasicScrollBarUI.java
9797 (installUI): Likewise.
9798 * javax/swing/plaf/basic/BasicSliderUI.java
9799 (installUI): Likewise.
9801 2004-06-10 Michael Koch <konqueror@gmx.de>
9803 * javax/swing/ButtonGroup.java
9804 (serialVersionUID): Made private.
9805 (buttons): Renamed from v, added javadoc.
9806 (sel): Added javadoc.
9807 (ButtonGroup): Likewise.
9810 (getElements): Likewise.
9811 (getSelection): Likewise.
9812 (setSelected): Likewise.
9813 (isSelected): Likewise.
9814 (getButtonCount): Likewise.
9816 2004-06-10 Michael Koch <konqueror@gmx.de>
9818 * javax/swing/ButtonGroup.java,
9819 javax/swing/ImageIcon.java,
9820 javax/swing/JEditorPane.java,
9821 javax/swing/JRootPane.java,
9822 javax/swing/JTextField.java,
9823 javax/swing/LookAndFeel.java,
9824 javax/swing/plaf/basic/BasicTextUI.java:
9827 2004-06-10 Michael Koch <konqueror@gmx.de>
9829 * javax/swing/text/Style.java: Added javadocs.
9831 2004-06-10 Michael Koch <konqueror@gmx.de>
9833 * javax/swing/JComponent.java
9834 (fireVetoableChange): Removed redundant cast.
9835 * javax/swing/JLabel.java
9836 (getDisabledIcon): Save icon for next call.
9838 2004-06-10 Michael Koch <konqueror@gmx.de>
9840 * javax/swing/KeyStroke.java
9841 (getKeyStroke(char,boolean)): Marked deprecated.
9843 2004-06-10 Michael Koch <konqueror@gmx.de>
9845 * javax/swing/DefaultCellEditor.java,
9846 javax/swing/GrayFilter.java,
9847 javax/swing/event/DocumentEvent.java,
9848 javax/swing/text/JTextComponent.java,
9849 javax/swing/text/MutableAttributeSet.java:
9852 2004-06-10 Michael Koch <konqueror@gmx.de>
9854 * javax/swing/plaf/BorderUIResource.java:
9855 Added serialVersionUID all over.
9857 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
9859 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9861 2004-06-10 Michael Koch <konqueror@gmx.de>
9863 * javax/swing/table/DefaultTableCellRenderer.java
9864 (noFocusBorder): Initialize directly.
9866 2004-06-10 Michael Koch <konqueror@gmx.de>
9868 * javax/swing/plaf/basic/BasicArrowButton.java
9869 (setDirection): Use method argument.
9871 2004-06-10 Michael Koch <konqueror@gmx.de>
9873 * javax/swing/plaf/BorderUIResource.java,
9874 javax/swing/plaf/ComponentUI.java,
9875 javax/swing/undo/CompoundEdit.java,
9876 javax/swing/undo/StateEdit.java:
9877 Fixed javadocs all over.
9879 2004-06-10 Michael Koch <konqueror@gmx.de>
9881 * javax/swing/DefaultButtonModel.java
9882 (ARMED): Made public final, fixed value.
9883 (ENABLED): Likewise.
9884 (PRESSED): Likewise.
9885 (ROLLOVER): Likewise.
9886 (SELECTED): Likewise.
9887 (stateMask): Initialize directly.
9888 (listenerList): Likewise.
9889 (mnemonic): Likewise.
9890 (fireStateChanged): Removed argument, use changeEvent as event.
9891 All places where this method is called are fixed too.
9892 (getActionCommant): Fixed javadoc.
9893 (setGroup): Fixed javadoc.
9894 (getGroup): New method.
9896 2004-06-09 Olga Rodimina <rodimina@redhat.com>
9898 * javax/swing/AbstractButton.java
9899 (AbstractButton): Use init() to initialize the button.
9900 (init): New Method. Initializes AbstractButton.
9901 * javax/swing/JMenuItem.java: Documented.
9902 (JMenuItem): Reimplemented.
9903 (init): Implemented.
9904 (setEnabled): Changed to call super.setEnabled()
9905 (processMouseEvent): Reimplemented.
9906 (fireMenuKeyPressed): Implemented.
9907 (fireMenuKeyReleased): Implemented.
9908 (fireMenuKeyTyped): Implemented.
9909 (menuSelectionChanged): disarm the model if the menu item was
9911 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
9912 (getPath): Change to use ArrayList instead of Vector.
9913 (getPreferredSize): Renamed variable.
9914 (paintMenuItem): Paint margin area of menu item.
9915 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
9916 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
9917 menu item's bounds before clearing the selection.
9919 2004-06-09 David Jee <djee@redhat.com>
9921 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
9922 (GtkTextComponentPeer): Set caret position to 0.
9923 * java/awt/TextComponent.java
9924 (setText): Set caret position to 0.
9925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9926 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9927 Handle GtkScrolledWindow separately. Fix signal handler blocking.
9928 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9931 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
9934 2004-06-09 Kim Ho <kho@redhat.com>
9936 * Makefile.am: New files
9937 * Makefile.in: Regenerated
9938 * java/awt/Container.java
9939 (getComponentAt): Removed.
9940 * javax/swing/AbstractAction.java
9941 (ENABLED_PROPERTY): New property.
9942 (putValue): Fire PropertyChangeEvents.
9943 (setEnabled): ditto.
9944 (firePropertyChange): Javadoc and implement
9946 * javax/swing/AbstractButton.java
9947 (setAction): Don't create PropertyChangeListener
9948 if new Action is null.
9949 (setIcon): Don't set icon till after comparing
9951 (configurePropertiesFromAction): Check mnemonic
9952 key before calling intValue().
9953 (createActionPropertyChangeListener): Check
9954 properties rather than bulk change.
9955 * javax/swing/DefaultDesktopManager.java:
9957 * javax/swing/DesktopManager.java:
9959 * javax/swing/JComponent.java
9960 (fireVetoableChange): Implement.
9961 (paintImmediately): Use root component.
9962 * javax/swing/JDesktopPane.java: Implement
9963 * javax/swing/JInternalFrame.java: Implement
9964 * javax/swing/JLabel.java
9965 (getDisabledIcon): Return grayscaled icon if
9966 no disabled icon specified.
9967 * javax/swing/JMenuBar.java
9968 (getComponentAtIndex): Use getComponent
9969 * javax/swing/JOptionPane.java
9970 (getDesktopPaneForComponent): Use SwingUtilities'
9972 (getFrameForComponent): ditto.
9973 * javax/swing/JSplitPane.java
9974 (remove): Use getComponent.
9975 * javax/swing/SwingUtilities.java
9976 (convertPoint): Implement.
9977 * javax/swing/plaf/basic/BasicButtonUI.java
9978 (paintButtonNormal): Check opaqueness before
9980 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
9982 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
9984 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
9986 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
9988 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9989 Change InternalFrame and Desktop colors.
9991 2004-06-09 David Jee <djee@redhat.com>
9993 * java/awt/Container.java
9994 (remove): Do not set component to invisible.
9996 2004-06-09 Michael Koch <konqueror@gmx.de>
9998 * javax/swing/tree/DefaultMutableTreeNode.java
9999 (getLeafCount): Renamed enum to e.
10001 2004-06-09 Michael Koch <konqueror@gmx.de>
10003 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10004 (positionForMouseEvent): Removed redundant semicolon.
10005 (continueDrag): Use method arguments.
10007 2004-06-09 Michael Koch <konqueror@gmx.de>
10009 * javax/swing/border/TitledBorder.java,
10010 javax/swing/filechooser/FileSystemView.java,
10011 javax/swing/plaf/basic/BasicButtonListener.java,
10012 javax/swing/plaf/basic/BasicGraphicsUtils.java,
10013 javax/swing/plaf/basic/BasicLabelUI.java,
10014 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
10015 javax/swing/plaf/basic/BasicScrollBarUI.java,
10016 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10017 javax/swing/plaf/basic/BasicSliderUI.java,
10018 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10019 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10020 javax/swing/table/JTableHeader.java,
10021 javax/swing/text/AbstractDocument.java,
10022 javax/swing/text/DefaultCaret.java,
10023 javax/swing/text/StyledEditorKit.java,
10024 javax/swing/tree/DefaultTreeCellEditor.java:
10025 Reworked import statements.
10027 2004-06-08 Graydon Hoare <graydon@redhat.com>
10029 * javax/swing/Box.java: Temporarily comment out code
10030 broken due to visibility bug.
10032 2004-06-09 Michael Koch <konqueror@gmx.de>
10034 * javax/swing/ImageIcon.java
10035 (ImageIcon): Added missing constructor.
10037 2004-06-08 Michael Koch <konqueror@gmx.de>
10039 * javax/swing/JToggleButton.java
10040 (JToggleButton): New constructor.
10041 (getAccessibleContext): Moved documentation into javadoc.
10042 (getUIClassID): Likewise.
10044 2004-06-08 Michael Koch <konqueror@gmx.de>
10046 * javax/swing/AbstractButton.java
10047 (getDisabledIcon): Create disabled icon if none exists yet.
10049 2004-06-08 Michael Koch <konqueror@gmx.de>
10051 * javax/swing/plaf/basic/BasicLookAndFeel.java
10052 (initClassDefaults): Added FormattedTextFieldUI.
10053 (loadResourceBundle): Renamed enum to e.
10055 2004-06-08 Michael Koch <konqueror@gmx.de>
10057 * javax/swing/plaf/basic/BasicButtonUI.java
10058 (paintIcon): Simplified.
10059 (paintText): Paint disabled button correctly.
10061 2004-06-08 Michael Koch <konqueror@gmx.de>
10063 * javax/swing/JComponent.java
10064 (createToolTip): Use official JToolTip API.
10066 2004-06-08 Michael Koch <konqueror@gmx.de>
10068 * javax/swing/JToolTip.java
10069 (JToolTip): No arguments in API.
10070 (setTipText): New method.
10072 2004-06-08 Michael Koch <konqueror@gmx.de>
10074 * javax/swing/SwingUtilities.java
10075 (isLeftMouseButton): New method.
10076 (isMiddleMouseButton): New method.
10077 (isRightMouseButton): New method.
10079 2004-06-08 Michael Koch <konqueror@gmx.de>
10081 * javax/swing/AbstractButton.java,
10082 javax/swing/CellRendererPane.java,
10083 javax/swing/JCheckBoxMenuItem.java,
10084 javax/swing/JColorChooser.java,
10085 javax/swing/JComboBox.java,
10086 javax/swing/JComponent.java,
10087 javax/swing/JDesktopPane.java,
10088 javax/swing/JFileChooser.java,
10089 javax/swing/JMenu.java,
10090 javax/swing/JMenuItem.java,
10091 javax/swing/JOptionPane.java,
10092 javax/swing/JPasswordField.java,
10093 javax/swing/JPopupMenu.java,
10094 javax/swing/JProgressBar.java,
10095 javax/swing/JRadioButtonMenuItem.java,
10096 javax/swing/JScrollBar.java,
10097 javax/swing/JSeparator.java,
10098 javax/swing/JSlider.java,
10099 javax/swing/JSplitPane.java,
10100 javax/swing/JTabbedPane.java,
10101 javax/swing/JTextField.java,
10102 javax/swing/JToolBar.java,
10103 javax/swing/text/JTextComponent.java:
10104 Fixed all constructors of accessibility classes.
10106 2004-06-08 Michael Koch <konqueror@gmx.de>
10108 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10111 2004-06-08 Michael Koch <konqueror@gmx.de>
10113 * javax/swing/Box.java
10114 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10115 (AccessibleBoxFiller.serialVersionUID): New member variable.
10116 * javax/swing/DefaultButtonModel.java
10117 (stateMask): Made protected.
10118 (listenerList): Likewise.
10119 (changeEvent): Likewise.
10121 (mnemonic): Likewise.
10122 (actionCommand): Likewise.
10123 (getListeners): New method.
10124 (getActionListeners): New method.
10125 (getItemListeners): New method.
10126 (getChangeListeners): New method.
10127 (fireItemStateChanged): Simplified.
10128 (fireActionPerformed): Simplified.
10129 (fireStateChanged): Simplified.
10130 * javax/swing/JFrame.java
10131 (JFrame): Implements WindowContants.
10132 (HIDE_ON_CLOSE): Removed.
10133 (EXIT_ON_CLOSE): Removed.
10134 (DISPOSE_ON_CLOSE): Removed.
10135 (DO_NOTHING_ON_CLOSE): Removed.
10136 (processWindowEvent): Exit with code 0.
10137 (setDefaultCloseOperation): Do security check before setting value.
10138 * javax/swing/JOptionPane.java
10139 (message): Initialize only in constructor.
10140 * javax/swing/JToolTip.java: Removed unused imports.
10141 * javax/swing/JViewport.java
10142 (serialVersionUID): New member variable.
10143 (SIMPLE_SCROLL_MODE): Made final, fixed value.
10144 (BLIT_SCROLL_MODE): Likewise.
10145 (BACKINGSTORE_SCROLL_MODE): Likewise.
10146 (scrollUnderway): Made protected.
10147 (isViewSizeSet): Likewise.
10148 * javax/swing/ListModel.java: Fixed javadoc.
10149 * javax/swing/Popup.java: Likewise.
10150 * javax/swing/RepaintManager.java
10151 (paintDirtyRegions): Don't use internal classes of
10152 java.util.AbstractMap.
10153 * javax/swing/ScrollPaneConstants.java: Reindented.
10154 * javax/swing/ScrollPaneLayout.java
10155 (viewport): Made protected.
10156 (verticalScrollBar): Made protected, renamed to vsb.
10157 (horizontalScrollBar): Made protected, renamed to hsb.
10158 (rowHeader): Made protected, renamed to rowHead.
10159 (columnHeader): Made protected, renamed to colHead.
10160 (lowerLeft): Made protected.
10161 (lowerRight): Made protected.
10162 (upperLeft): Made protected.
10163 (upperRight): Made protected.
10164 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10165 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10167 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
10169 * java/awt/MediaTracker.java (imageUpdate): Only set status to
10170 LOADING if flags has SOMEBITS set.
10172 2004-06-07 Michael Koch <konqueror@gmx.de>
10174 * javax/swing/AbstractButton.java: Reorganized imports.
10175 * javax/swing/ActionMap.java: Likewise.
10176 * javax/swing/DefaultButtonModel.java: Likewise.
10177 * javax/swing/DefaultListModel.java: Likewise.
10178 * javax/swing/ImageIcon.java: Likewise.
10179 (serialVersionUID): New member variable.
10180 * javax/swing/JComboBox.java: Reorganized imports.
10181 * javax/swing/JComponent.java: Likewise.
10182 (ui): Made protected.
10183 (listenerList): Made protected.
10184 (TOOL_TIP_TEXT_KEY): New constant.
10185 (scrollRectToVisible): Removed redundant null check.
10186 * javax/swing/JFrame.java: Reorganized imports.
10187 * javax/swing/JInternalFrame.java: Reorganized imports.
10188 * javax/swing/JProgressBar.java: Likewise.
10189 * javax/swing/JRootPane.java: Likewise.
10190 * javax/swing/JScrollBar.java: Likewise.
10191 * javax/swing/JSeparator.java: Likewise.
10192 * javax/swing/JSlider.java: Likewise.
10193 * javax/swing/JTabbedPane.java: Likewise.
10194 * javax/swing/JTextField.java: Likewise.
10195 * javax/swing/JToolBar.java: Likewise.
10196 * javax/swing/JTree.java: Likewise.
10197 * javax/swing/JViewport.java: Likewise.
10198 * javax/swing/JWindow.java: Likewise.
10199 * javax/swing/KeyStroke.java: Likewise.
10200 * javax/swing/LookAndFeel.java: Likewise.
10201 * javax/swing/MenuSelectionManager.java: Likewise.
10202 * javax/swing/SwingUtilities.java: Likewise.
10203 * javax/swing/Timer.java: Likewise.
10204 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10205 * javax/swing/JList.java
10206 (HORIZONTAL_WRAP): Made final, fixed value.
10207 (VERTICAL): Likewise.
10208 (VERTICAL_WRAP): Likewise.
10210 2004-06-07 Michael Koch <konqueror@gmx.de>
10212 * javax/swing/AbstractButton.java
10213 (serialVersionUID): New member variable.
10214 (AccessibleAbstractButton.serialVersionUID): Likewise.
10215 (AbstractButton): Made public.
10216 * javax/swing/Box.java
10217 (AccessibleBox.serialVersionUID): New member variable.
10218 (Filler.serialVersionUID): Likewise.
10219 * javax/swing/DefaultListSelectionModel.java
10220 (serialVersionUID): Likewise.
10221 * javax/swing/JApplet.java
10222 (serialVersionUID): Likewise.
10223 * javax/swing/JCheckBox.java
10224 (serialVersionUID): Likewise.
10225 * javax/swing/JCheckBoxMenuItem.java
10226 (serialVersionUID): Likewise.
10227 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10228 * javax/swing/JColorChooser.java
10229 (serialVersionUID): Likewise.
10230 (AccessibleJColorChooser.serialVersionUID): Likewise.
10231 * javax/swing/JComponent.java
10232 (serialVersionUID): Made private.
10233 (AccessibleJComponent.serialVersionUID): New member variable.
10234 * javax/swing/JDesktopPane.java
10235 (serialVersionUID): Likewise.
10236 * javax/swing/JDialog.java
10237 (serialVersionUID): Likewise.
10238 * javax/swing/JFormattedTextField.java
10239 (serialVersionUID): Fixed value.
10240 * javax/swing/JFrame.java
10241 (serialVersionUID): New member variable.
10242 (getDefaultCloseOpertation): Made public.
10243 * javax/swing/JLayeredPane.java
10244 (serialVersionUID): Likewise.
10245 (LAYER_PROPERTY): Made final, fixed value.
10246 (JLayeredPane): Made public.
10247 * javax/swing/JMenu.java
10248 (AccessibleJMenu.serialVersionUID): New member variable.
10249 (WinListener.serialVersionUID): Likewise.
10250 * javax/swing/JMenuBar.java
10251 (serialVersionUID): Likewise.
10252 (getComponentAtIndex): Added @deprecated tag.
10253 * javax/swing/JMenuItem.java
10254 (serialVersionUID): New member variable.
10255 (AccessibleJMenuItem.serialVersionUID): Likewise.
10256 * javax/swing/JOptionPane.java
10257 (serialVersionUID): Likewise.
10258 (AccessibleJOptionPane.serialVersionUID): Likewise.
10259 * javax/swing/JPopupMenu.java
10260 (serialVersionUID): Likewise.
10261 (AccessibleJPopupMenu.serialVersionUID): Likewise.
10262 (getPopupMenuListeners): New method.
10263 (getComponentAtIndex): Added @deprecated tag.
10264 * javax/swing/JProgressBar.java
10265 (serialVersionUID): New member variable.
10266 (AccessibleJProgressBar.serialVersionUID): Likewise.
10267 * javax/swing/JRadioButton.java
10268 (serialVersionUID): Likewise.
10269 * javax/swing/JRadioButtonMenuItem.java
10270 (serialVersionUID): Likewise.
10271 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10272 * javax/swing/JScrollBar.java
10273 (serialVersionUID): Likewise.
10274 (AccessibleJScrollBar.serialVersionUID): Likewise.
10275 * javax/swing/JSeparator.java
10276 (serialVersionUID): Likewise.
10277 (AccessibleJSeparator.serialVersionUID): Likewise.
10278 * javax/swing/JSlider.java: Fixed javadocs.
10279 (AccessibleJSlider.serialVersionUID): New member variable.
10280 * javax/swing/JSplitPane.java: Added copyright statement.
10281 (serialVersionUID): New member variable.
10282 (AccessibleJSplitPane.serialVersionUID): Likewise.
10283 * javax/swing/JTabbedPane.java
10284 (serialVersionUID): Likewise.
10285 (AccessibleJTabbedPane.serialVersionUID): Likewise.
10286 (ModelListener.serialVersionUID): Likewise.
10287 (ModelListener.ModelListener): New constructor.
10288 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10289 (WRAP_TAB_LAYOUT): Likewise.
10290 * javax/swing/JTable.java
10291 (serialVersionUID): New member variable.
10292 * javax/swing/JToggleButton.java
10293 (serialVersionUID): Likewise.
10294 (ToggleButtonModel): Made static.
10295 (ToggleButtonModel.serialVersionUID): New member variable.
10296 * javax/swing/JToolTip.java
10297 (serialVersionUID): Likewise.
10298 * javax/swing/JTree.java
10299 (serialVersionUID): Likewise.
10300 * javax/swing/JWindow.java
10301 (serialVersionUID): Likewise.
10302 * javax/swing/Timer.java
10303 (serialVersionUID): Likewise.
10305 2004-06-06 Michael Koch <konqueror@gmx.de>
10307 * javax/swing/SwingConstants.java
10308 (NEXT): New constant.
10309 (PREVIOUS): Likewise.
10310 * javax/swing/UIManager.java
10311 (LookAndFeel): Made public.
10312 (LookAndFeel.getClassName): Likewise.
10313 (LookAndFeel.getName): Likewise.
10315 2004-06-02 Olga Rodimina <rodimina@redhat.com>
10317 * javax/swing/JCheckBoxMenuItem.java:
10319 * javax/swing/JMenu.java: Likewise.
10320 * javax/swing/JMenuBar.java: Likewise.
10321 * javax/swing/JMenuItem.java: Likewise.
10322 * javax/swing/JPopupMenu.java: Likewise.
10323 * javax/swing/JRadioButtonMenuItem.java: Likewise.
10324 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10325 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10326 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10327 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10328 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10329 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10331 2004-05-31 Olga Rodimina <rodimina@redhat.com>
10333 * javax/swing/plaf/basic/BasicMenuUI.java:
10334 (MouseEntered): Do not call getPath() from MenuSelectionManager.
10335 Call getPath() from super class instead.
10337 2004-05-31 David Jee <djee@redhat.com>
10339 * java/awt/Container.java
10340 (remove): Set component visibility to false after removing it.
10342 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
10344 * java/awt/Component.java (getForeground): Return SystemColor if
10346 (getBackground): Likewise.
10348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10349 (item_highlighted): New function.
10350 (connectSignals): Set item_highlighted as list's select
10353 * java/applet/Applet.java: Revert changes from 2004-04-29,
10354 2004-03-15 and 2004-03-14.
10356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10357 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10360 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10361 "Dialog" as the default font.
10362 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10364 * java/awt/Component.java (getFont): Return "Dialog" font by
10366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10367 Multiply size argument to pango_font_description_set_size by the
10368 DPI conversion factor rather than by PANGO_SCALE.
10369 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10374 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10375 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10379 Divide baseline y coordinate by DPI conversion factor rather
10380 than by PANGO_SCALE.
10381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10382 (area_prepared): Fix typo.
10383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10384 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10386 (dpi_conversion_factor): New global variable.
10387 (init_dpi_conversion_factor): New function to calculate and
10388 track DPI conversion factor.
10389 (dpi_changed_cb): New callback.
10390 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10392 2004-05-27 David Jee <djee@redhat.com>
10394 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10395 (getGraphics): Return a new GdkGraphics instance.
10396 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10397 (getGraphics): Call super.getGraphics().
10399 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
10401 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10402 (setNativeBounds): Clamp width and height values to >= 0.
10404 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10405 (find_fg_color_widget): Handle GtkOptionMenu specially.
10407 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10408 (pre_event_handler): Only post configure events to visible
10411 2004-05-26 David Jee <djee@redhat.com>
10413 * java/awt/BorderLayout.java
10414 (layoutContainer): Fix size calculations.
10416 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
10418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10419 (window_wm_protocols_filter): Remove function.
10420 (create): Remove filter that removes WM_TAKE_FOCUS client
10423 2004-06-17 Anthony Green <green@redhat.com>
10425 * java/util/zip/ZipFile.java (getInputStream): Return null if
10428 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10429 directory contents to the class path.
10431 2004-06-15 Andrew Haley <aph@redhat.com>
10433 * java/lang/natSystem.cc (getenv0): Don't assume environment
10434 variable is Latin 1 coded.
10436 2004-06-14 Andreas Jaeger <aj@suse.de>
10438 * configure.in: Support --enable-version-specific-runtime-libs.
10439 * configure: Regenerated.
10441 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
10443 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10444 to pass ClassLoader argument.
10445 * java/util/GregorianCalendar.java: Likewise.
10446 * java/util/Currency.java: Likewise.
10447 * java/text/BreakIterator.java: Likewise.
10448 * java/text/Collator.java: Likewise.
10449 * java/text/DateFormat.java: Likewise.
10450 * java/text/DateFormatSymbols.java: Likewise.
10451 * java/text/DecimalFormatSymbols.java: Likewise.
10452 * java/text/NumberFormat.java: Likewise.
10453 * java/awt/Window.java: Likewise.
10455 2004-06-14 Andrew Haley <aph@redhat.com>
10457 * java/lang/System.java: (getenv0): New method.
10458 (getenv): Add security check. Do the right thing.
10459 * java/lang/natSystem.cc (getenv0): New method.
10461 2004-06-12 Mark Wielaard <mark@klomp.org>
10463 * javax/swing/RepaintManager.java
10464 (paintDirtyRegions): Use entrySet(), not values().
10466 2004-06-10 Mark Wielaard <mark@klomp.org>
10468 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10471 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
10473 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
10474 when we already know the answer.
10475 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10476 (setStartRule,setEndRule): Don't take abs of day number.
10477 (getOffset): Clarify docs. Add argument checks.
10478 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10479 (equals,hasSameRules,toString,readObject): Use startTimeMode and
10482 2004-06-10 Tom Tromey <tromey@redhat.com>
10484 * interpret.cc (run): Handle wide fload.
10486 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
10488 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10490 2004-06-05 Michael Koch <konqueror@gmx.de>
10492 * javax/swing/SwingConstants.java
10493 (NEXT): New constant.
10494 (PREVIOUS): Likewise.
10496 2004-06-05 Michael Koch <konqueror@gmx.de>
10498 * javax/swing/UIManager.java
10499 (LookAndFeel): Made public.
10500 (LookAndFeel.getName): Likewise.
10501 (LookAndFeel.getClassName): Likewise.
10503 2004-06-03 Michael Koch <konqueror@gmx.de>
10505 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10506 (requestFocus): Revert last changes.
10507 (gtkRequestFocus): Removed.
10508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10509 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10511 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10512 Reverted last patch.
10513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10514 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10515 Reverted comment change.
10517 2004-06-02 Olga Rodimina <rodimina@redhat.com>
10519 * javax/swing/JCheckBoxMenuItem.java:
10521 * javax/swing/JMenu.java: Likewise.
10522 * javax/swing/JMenuBar.java: Likewise.
10523 * javax/swing/JMenuItem.java: Likewise.
10524 * javax/swing/JPopupMenu.java: Likewise.
10525 * javax/swing/JRadioButtonMenuItem.java: Likewise.
10526 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10527 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10528 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10529 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10530 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10531 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10533 2004-06-01 Tom Tromey <tromey@redhat.com>
10535 * java/io/ObjectStreamField.java: Cleaned up imports.
10537 2004-06-01 Michael Koch <konqueror@gmx.de>
10539 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10541 2004-06-01 Mark Wielaard <mark@klomp.org>
10543 * java/io/Writer.java (Writer(Object)): Fixed API doc.
10545 2004-06-01 Michael Koch <konqueror@gmx.de>
10547 * java/security/Security.java
10548 (insertProviderAt): Use equals() instead of ==.
10549 (removeProvicer): Likewise.
10550 (getProvider): Likewise.
10551 * java/security/Signature.java
10552 (sign): Don't set state to UNINITIALIZED.
10553 (verify): Likewise.
10555 2004-06-01 Mark Wielaard <mark@klomp.org>
10557 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10558 Implement by calling gtkRequestFocus.
10559 (gtkRequestFocus): New native method.
10560 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10561 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10563 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10565 (filter_expose_event_handler):
10567 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10568 (menu_pos): Mark static.
10570 2004-06-01 Michael Koch <konqueror@gmx.de>
10572 * java/text/CollationElementIterator.java,
10573 java/text/CollationKey.java,
10574 java/text/RuleBasedCollator.java: New versions from GNU classpath.
10575 * testsuite/libjava.mauve/xfails: Removed all
10576 java.text.CollationElementIterator tests.
10578 2004-06-01 Michael Koch <konqueror@gmx.de>
10580 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10582 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10583 Java 1.5 keyword usage.
10585 2004-05-31 Olga Rodimina <rodimina@redhat.com>
10587 * javax/swing/plaf/basic/BasicMenuUI.java:
10588 (MouseEntered): Do not call getPath() from MenuSelectionManager.
10589 Call getPath() from super class instead.
10591 2004-05-31 Michael Koch <konqueror@gmx.de>
10593 * java/io/SequenceInputStream.java:
10594 Rename enum to e because enum is a keyword in Java 1.5.
10596 2004-05-31 Michael Koch <konqueror@gmx.de>
10598 * gnu/java/rmi/rmic/CompilerProcess.java:
10599 Fixed javadoc to by XHTML compliant.
10601 2004-05-30 Mark Wielaard <mark@klomp.org>
10603 * java/awt/Toolkit.java (loadSystemColors): Implement.
10605 2004-05-30 Michael Koch <konqueror@gmx.de>
10607 * java/lang/System.java: Reordered imports.
10609 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
10611 * java/text/DecimalFormat.java
10612 (parse): Fixed parsing of decimal strings. Number of maximum
10613 digits to be read should now work.
10614 * java/text/SimpleDateFormat.java
10615 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10616 formatter. This fixes DateFormatTest.
10618 2004-05-30 Michael Koch <konqueror@gmx.de>
10620 * java/nio/Buffer.java
10621 (limit): Fixed off by one error.
10622 * java/nio/CharBuffer.java
10623 (wrap): Fixed arguments, added javadocs.
10625 2004-05-30 Michael Koch <konqueror@gmx.de>
10627 * gnu/java/beans/BeanInfoEmbryo.java,
10628 java/awt/im/InputContext.java,
10629 javax/swing/tree/DefaultMutableTreeNode.java:
10630 Rename enum to e because enum is a keyword in Java 1.5.
10632 2004-05-30 Michael Koch <konqueror@gmx.de>
10634 * gnu/java/math/MPN.java,
10635 java/awt/geom/Arc2D.java:
10636 Fixed javadocs all over.
10638 2004-05-30 Michael Koch <konqueror@gmx.de>
10640 * java/awt/DefaultKeyboardFocusManager.java
10641 (dispatchEvent): Call method to get key event dispatchers.
10642 (dispatchKeyEvent): Call method to get key event post processors.
10643 * javax/swing/JComponent.java
10644 (listenerList): Made protected.
10645 * javax/swing/JOptionPane.java
10646 (message): Don't initialize.
10647 (JOptionPane): Set message text.
10648 * javax/swing/JPopupMenu.java
10649 (show): Fixed typo in argument name.
10650 * javax/swing/RepaintManager.java
10651 (paintDirtyRegions): Use public API of java.util.Map.
10652 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10653 (positionForMouseEvent): Removed redundant ';'.
10654 (continueDrag): Use method arguments.
10656 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
10658 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10661 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
10663 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10665 * gnu/gcj/RawDataManaged.java: New file.
10666 * java/lang/Thread.java (data): Declare as RawDataManaged.
10667 * java/lang/natThread.cc (init_native): Cast natThread data to
10668 RawDataManaged, not jobject.
10669 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10670 * Makefile.in: Rebuilt.
10672 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
10674 * java/util/SimpleTimeZone.java: Reverting my last change until I
10675 can fix it properly.
10677 2004-05-27 Michael Koch <konqueror@gmx.de>
10679 * javax/swing/JPopupMenu.java
10680 (isVisible): Do not use visible directly.
10681 (setVisible): Likewise.
10682 * javax/swing/JWindow.java
10683 (JWindow): call accessible constructor.
10684 * javax/swing/RepaintManager.java
10685 (paintDirtyRegions): Use public methods to obtain iterator.
10687 2004-05-25 David Jee <djee@redhat.com>
10689 * java/awt/Container.java
10690 (remove): Set component's parent to null only after we removed the
10691 component from its parent's layout manager.
10693 2004-05-25 David Jee <djee@redhat.com>
10695 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10696 (GtkComponentPeer): Set bounds regardless of whether awtComponent
10698 * gnu/java/awt/peer/gtk/GtkListPeer.java
10699 (getSize): Change native method declaration.
10700 (minimumSize): Pass visible row count into getSize().
10701 (preferredSize): Likewise.
10702 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10703 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10704 natural size. Use visible row count to determine the final height
10707 2004-05-21 Graydon Hoare <graydon@redhat.com>
10709 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10710 (setClip): Minor correction to order of operations.
10712 * javax/swing/JScrollPane.java: Extend sketchy implementation.
10713 * javax/swing/ScrollPaneLayout.java: Likewise.
10714 * javax/swing/JViewPort.java: Likewise.
10715 * javax/swing/ViewportLayout.java: Likewise.
10717 * javax/swing/JComponent.java: Rewrite.
10718 * javax/swing/RepaintManager.java: Likewise.
10720 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10721 * javax/swing/JList.java
10722 (setSelectedIndices):
10723 (getSelectedIndices):
10724 (getSelectedValues): New functions.
10725 (getPreferredScrollableViewportSize): Return preferred size.
10726 (getScrollableUnitIncrement):
10727 (getScrollableBlockIncrement): Initial implementations.
10728 * javax/swing/JRootPane.java: Clean up slightly.
10733 (isValidateRoot): Add overrides from JComponent.
10734 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10735 * javax/swing/UIManager.java (getDimension): Return the dimension.
10737 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10738 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10739 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10740 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10741 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10742 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10743 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10744 * javax/swing/plaf/basic/BasicRootPaneUI.java:
10745 Likewise, and set background.
10746 * javax/swing/plaf/basic/BasicListUI.java:
10747 Likewise, and improve a bit.
10748 * javax/swing/plaf/basic/BasicScrollBarUI.java:
10749 Likewise, and adjust calculations.
10750 * javax/swing/plaf/basic/BasicViewportUI.java:
10751 Likewise, and improve a bit.
10752 * javax/swing/plaf/basic/BasicLookAndFeel.java
10753 (Button.margin): Shrink.
10755 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10756 Hack to set horizontal always, workaround pango.
10758 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10760 Synchronize more often, check cairo status after ops,
10761 handle changes to cairo pattern API, check for disposal.
10763 2004-05-21 Olga Rodimina <rodimina@redhat.com>
10765 * javax/swing/plaf/basic/BasicMenuItemUI.java:
10766 (BasicMenuItemUI): Create propertyChangeListener.
10767 (getPath):Implemented.
10768 (installListeners): Add propertyChangeListener to menuItem.
10769 (uninstallListeners): Remove propertyChangeListener from menuItem.
10770 (update): Implemented.
10771 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10772 (mouseEntered): Take insets of popup menu into account when
10773 calculating position of popup menu.
10775 2004-05-18 Olga Rodimina <rodimina@redhat.com>
10777 * Makefile.am: Added new file.
10778 * Makefile.in: Regenerate.
10779 * javax/swing/JMenuBar.java:
10780 Started implementation.
10781 * javax/swing/JPopupMenu.java:
10782 (setVisible): Fixed location of lightweight/mediumweight
10784 (show): Fixed location of PopupMenu.
10785 * javax/swing/plaf/basic/BasicMenuBarUI.java:
10786 New file. UI Delegate for JMenuBar.
10787 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10788 (mouseEntered): Corrected position of the submenu.
10790 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10792 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
10793 to _gtk_accel_group_attach.
10794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
10797 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
10798 package access. Don't override setFont.
10799 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
10800 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
10801 gtkWidgetRequestFocus package access.
10802 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
10804 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
10805 Give gtkWidgetRequestFocus package access.
10806 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
10807 gtkWidgetRequestFocus package access. Don't override setFont.
10808 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
10810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10811 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
10813 (gtkSetFont): Likewise.
10814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
10816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10817 (gtkSetFont): Whitespace fix.
10819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10820 (gtkWidgetSetUsize): Remove method.
10822 2004-05-18 David Jee <djee@redhat.com>
10824 * java/awt/image/MemoryImageSource.java
10825 (newPixels(int,int,int,int,boolean)): Set only the specified
10826 rectangle of pixels.
10827 (newPixels(byte[],ColorModel,int,int)): Implement.
10828 (newPixels(int[],ColorModel,int,int)): Implement.
10830 2004-05-18 Olga Rodimina <rodimina@redhat.com>
10832 * Makefile.am: Added new file.
10833 * Makefile.in: Regenerate.
10834 * javax/swing/JMenu.java: Started
10836 * javax/swing/JPopupMenu.java:
10837 (insert): If specified index is -1, then
10838 add component at the end.
10839 (isPopupTrigger): Reimplemented.
10840 (JPopupMenu.LightWeightPopup): setBounds
10841 of the lightWeightPopup before adding it
10842 to the layeredPane.
10843 (javax/swing/plaf/basic/BasicIconFactory.java):
10844 (getMenuArrowIcon): Implemented.
10845 * javax/swing/plaf/basic/BasicMenuItemUI.java:
10846 (getPreferredSize): Add size of the arrow icon
10847 if this menu item is instance of JMenu.
10848 (paintMenuItem): Paint arrow icon if this
10849 menu item is a submenu.
10850 * javax/swing/plaf/basic/BasicMenuUI.java:
10851 New File. UI Delegate for JMenu.
10853 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10855 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
10856 Post KEY_TYPED events.
10857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10858 (generates_key_typed_event): Remove function.
10860 2004-05-17 Olga Rodimina <rodimina@redhat.com>
10862 * javax/swing/JRootPane.java
10863 (JRootPane.RootLayout): Reimplemented to
10864 set bounds of contentPane and menuBar.
10865 (setJMenuBar): Add menu bar to the layered pane.
10866 (createLayeredPane): Set layout of layeredPane
10868 * javax/swing/JLayeredPane.java:
10869 (addImpl): Calculate index of the component in the
10870 layeredPane according to the specified position within
10873 2004-05-17 David Jee <djee@redhat.com>
10875 * gnu/java/awt/peer/gtk/GtkImagePainter.java
10876 (setPixels): Change color model to the default model after
10878 * java/awt/image/MemoryImageSource.java
10879 (newPixels): Set only the specified rectangle of pixels.
10881 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10883 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
10884 -l-java-beans -l-javax-accessibility -l-javax-swing.
10886 * java/awt/AWTEvent.java (toString): Print source's name rather
10887 than the source itself.
10889 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
10891 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
10893 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
10894 (gdk_color_to_java_color): New function.
10895 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
10897 2004-05-12 David Jee <djee@redhat.com>
10899 * java/awt/image/RGBImageFilter.java:
10900 Initialize origmodel as null.
10901 (makeColor): Fix pixel component order.
10902 (filterRGBPixels): Fix pixel iteration.
10903 (setPixels): Add extra checks for index color model. Convert pixels
10904 to default color model if necessary.
10905 (convertColorModelToDefault): New override method for byte pixels.
10906 (convertColorModelToDefault): For int pixels, fix pixel iteration.
10907 (makeColorbyDefaultCM): New override method for byte pixels.
10908 (makeColorbyDefaultCM): For int pixel, add color model as argument.
10909 (makeColor): Fix pixel component order.
10911 2004-05-11 Kim Ho <kho@redhat.com>
10913 * javax/swing/Box.java:
10914 Comment out more parts of Box.Filler.
10916 2004-05-11 Kim Ho <kho@redhat.com>
10918 * javax/swing/Box.java:
10919 Remove reference to AccessibleAWTComponent so
10922 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
10924 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10925 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
10926 implementation of list peer to use GtkTreeView instead of
10927 deprecated GtkCList.
10929 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
10931 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10932 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
10933 (handleEvent): Remove keyChar argument to
10934 gtkWidgetDispatchKeyEvent calls.
10935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
10937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
10938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
10939 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
10942 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
10944 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10945 (gtkWidgetRequestFocus): Mark protected.
10946 (GtkComponentPeer): Only set the peer's bounds if its component
10948 * java/awt/Component.java (static): Set the default keyboard
10950 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
10951 requestFocusInWindow(temporary)): Don't request focus if the
10952 component is not showing. Get tree lock before traversing
10953 component hierarchy.
10954 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
10955 Only set the global focus owner if it is not a Window.
10956 (processKeyEvent): Consume keystrokes associated with the focus
10957 traversal keystroke.
10958 (focusPreviousComponent, focusNextComponent, upFocusCycle,
10959 downFocusCycle): Call requestFocusInWindow instead of
10961 * java/awt/EventDispatchThread.java (run): Move setting of
10962 default keyboard focus manager to Component.java.
10963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10964 (awt_keycode_to_keysym): New function.
10965 (gtkWidgetDispatchKeyEvent): Finish implementation.
10966 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10967 (pre_event_handler): Add FIXME comment.
10969 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10970 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10971 (gtkWidgetRequestFocus): New method.
10972 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
10973 disable Tab and Shift-Tab keystrokes.
10974 (addNotify, appendText, insertText, replaceText): Simplify peer
10976 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
10977 (connectSignals): Remove connections to "commit" signals.
10978 Remove C++-style comments.
10980 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10981 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10982 (handleEvent): Activate GTK button when the space bar key is
10984 (gtkActivate): New method.
10986 2004-05-06 David Jee <djee@redhat.com>
10988 * java/awt/image/CropImageFilter.java
10989 (setPixels): Implement for byte array pixels.
10990 * java/awt/image/ReplicateScaleFilter.java
10991 (setPixels): Implement for byte array pixels.
10992 (replicatePixels): Overload for byte array pixels.
10994 2004-05-06 Kim Ho <kho@redhat.com>
10996 * javax/swing/Box.java:
10997 (getAccessibleContext): Return an instance of the
11000 2004-05-05 David Jee <djee@redhat.com>
11002 * gnu/java/awt/peer/gtk/GdkGraphics.java
11003 (drawImage): When component is null, use SystemColor.window as
11004 the default bgcolor.
11005 * gnu/java/awt/peer/gtk/GtkImage.java
11006 (setPixels): We can avoid iterating through the pixel rows only
11008 * java/awt/Image.java
11009 (getScaledInstance): Partially implement.
11010 * java/awt/image/CropImageFilter.java
11011 (setProperties): Fix "filter" property.
11012 (setPixels): Implement.
11013 * java/awt/image/ReplicateScaleFilter.java
11014 (setDimensions): Use scaled dimensions.
11015 (setPixels): Implement.
11016 (replicatePixels): New method.
11018 2004-05-05 David Jee <djee@redhat.com>
11020 * gnu/java/awt/peer/gtk/GtkImagePainter.java
11021 (convertPixels): If either pixels or model is null, return null.
11022 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
11023 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
11024 is null, do nothing and return.
11026 2004-05-03 Kim Ho <kho@redhat.com>
11028 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
11029 (getGraphics): Like GtkFramePeer, the Graphics
11030 object needs to be translate to account for
11031 window decorations.
11032 (postMouseEvent): New method. Account for
11034 (postExposeEvent): ditto.
11035 * javax/swing/Box.java: Stubbed.
11036 * javax/swing/JDialog.java: Ran through jalopy
11037 to fix indentation.
11038 (JDialog): Call SwingUtilities' getOwnerFrame
11040 (setLayout): Check isRootPaneCheckingEnabled
11041 * javax/swing/JOptionPane.java: Re-implemented.
11042 * javax/swing/SwingUtilities.java:
11043 (getOwnerFrame): Static method to grab a default
11044 owner frame for Dialogs that don't specify owners.
11045 * javax/swing/event/SwingPropertyChangeSupport.java:
11046 (firePropertyChange): Fix early exit condition.
11047 * javax/swing/plaf/basic/BasicLabelUI.java:
11048 (paint): Avoid painting text if it is null
11050 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11053 2004-05-03 Olga Rodimina <rodimina@redhat.com>
11055 * Makefile.am: Added new file.
11056 * Makefile.in: Regenerate.
11057 * javax/swing/JPopupMenu.java:
11058 Started implementation.
11059 * javax/swing/JWindow.java
11060 (JWindow): call super() if parent for window
11062 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11063 New File. UI Delegate for JPopupMenu.
11065 2004-04-30 Olga Rodimina <rodimina@redhat.com>
11067 * javax/swing/JApplet.java: Indicated that JApplet
11068 implements RootPaneContainer and made method of this
11070 * javax/swing/JFrame.java: Ditto.
11071 * javax/swing/JWindow.java: Ditto.
11073 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
11075 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11076 (nativeSetBounds): Call gdk_window_move in addition to
11079 * java/applet/Applet.java (preferredSize): Call parent's
11080 preferredSize if the applet stub is null.
11081 (minimumSize): Likewise for parent's minimumSize.
11083 2004-04-27 Olga Rodimina <rodimina@redhat.com>
11085 * javax/swing/JMenuItem.java
11086 (createActionPropertyChangeListener): Implemented.
11087 (processMouseEvent): Ditto.
11088 (fireMenuDragMouseEntered): Ditto.
11089 (fireMenuDragMouseExited): Ditto.
11090 (fireMenuDragMouseDragged): Ditto.
11091 (fireMenuDragMouseReleased): Ditto.
11092 (menuSelectionChanged): Ditto.
11093 (getSubElements): Ditto.
11094 (getComponent): Ditto.
11095 (addMenuDragMouseListener): Ditto.
11096 (removeMenuDragMouseListener):Ditto.
11097 (addMenuKeyListener): Ditto.
11098 (removeMenuKeyListener): Ditto.
11099 * javax/swing/plaf/basic/BasicMenuItemUI.java
11100 (doClick): Imlemented.
11101 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11102 Don't handle mouse events here. Pass them to
11103 MenuSelectionManager.
11105 2004-04-26 Olga Rodimina <rodimina@redhat.com>
11106 Used correct version of jalopy configuration
11107 file to fix style in the files below.
11109 2004-04-26 Olga Rodimina <rodimina@redhat.com>
11111 * javax/swing/JCheckBoxMenuItem.java:
11112 Fixed style and removed unnecessary comments.
11113 * javax/swing/JMenuItem.java: Ditto.
11114 * javax/swing/JRadioButtonMenuItem.java: Ditto.
11115 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11116 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11117 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11119 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
11121 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11124 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11126 * java/awt/ContainerOrderFocusTraversalPolicy.java
11127 (getComponentAfter): Start from current component and work up
11128 the component hierarchy until an acceptable component is found.
11129 Synchronize on tree lock.
11130 (getComponentBefore): Likewise.
11132 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11134 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11135 focus-related debugging messages.
11136 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11137 * java/awt/EventDispatchThread.java: Likewise.
11138 * java/awt/KeyboardFocusManager.java: Likewise.
11139 * java/awt/Window.java: Likewise.
11140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11144 new C++-style comments to C-style comments.
11145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11147 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11148 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11149 (handleEvent): Dispatch key press and key release events to
11151 (requestFocus): Post a FOCUS_GAINED event to the event queue.
11152 (gtkWidgetRequestFocus): New method.
11153 (gtkWidgetDispatchKeyEvent): Likewise.
11154 * java/awt/Component.java (requestFocus, requestFocus(boolean),
11155 requestFocusInWindow, requestFocusInWindow(boolean),
11156 getFocusCycleRootAncestor, nextFocus, transferFocus,
11157 transferFocusBackward, transferFocusUpCycle, hasFocus,
11158 isFocusOwner): Implement and document focus-handling methods.
11159 (setFocusTraversalKeys): Inherit focus traversal keys when
11160 keystrokes argument is null. Fix focus-handling documentation
11162 * java/awt/Container.java (setFocusTraversalKeys,
11163 getFocusTraversalKeys, areFocusTraversalKeysSet,
11164 isFocusCycleRoot, setFocusTraversalPolicy,
11165 getFocusTraversalPolicy, isFocusTraversalPolicySet,
11166 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11167 Implement and document focus-handling methods.
11168 (transferFocusBackward): Remove method.
11169 (readObject, writeObject): Implement and document serialization
11171 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11173 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11175 * java/awt/DefaultKeyboardFocusManager.java: Implement and
11176 partially document.
11177 * java/awt/EventDispatchThread.java (run): Set default keyboard
11178 focus manager. Attempt to dispatch each event to the keyboard
11179 focus manager before normal dispatch.
11180 * java/awt/KeyboardFocusManager.java: Implement and partially
11182 * java/awt/Window.java (Window): Set focusCycleRoot to true.
11183 (show): Focus initial component when window is shown for the
11185 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11186 (pre_event_handler): Replace complex key press and key release
11187 logic with simple callbacks into GtkComponentPeer.
11188 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11190 2004-04-21 Olga Rodimina <rodimina@redhat.com>
11192 * javax/swing/MenuSelectionManager.java
11193 (componentForPoint): Added new method.
11194 (defaultManager): New Method. Implemented.
11195 (getSelectedPath): Ditto.
11196 (isComponentPartOfCurrentMenu): Ditto.
11197 (processKeyEvent): Added new method.
11198 (processMouseEvent): New Method. Implemented.
11199 (setSelectedPath): Ditto.
11202 2004-04-19 Kim Ho <kho@redhat.com>
11204 * java/awt/Container.java:
11205 (remove): Set the component's parent to null.
11206 (getComponentAt): Implement.
11207 * javax/swing/JComponent.java:
11208 (JComponent): Initialize defaultLocale
11209 (getDefaultLocale): Implement.
11210 (setDefaultLocale): ditto.
11211 * javax/swing/JSlider.java:
11212 (JSlider): Fix calculation of value.
11213 * javax/swing/JSplitPane.java: Implement.
11214 * javax/swing/plaf/basic/BasicLookAndFeel.java:
11215 Change SplitPane's default divider size.
11216 * javax/swing/plaf/basic/BasicScrollBarUI.java:
11217 (paint): Remove unused code.
11218 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11219 Added comments and ran through jalopy.
11220 (setBasicSplitPaneUI): Get reference to hidden divider
11221 and set up one touch buttons if necessary.
11222 (setBorder): Fire propertyChangeEvent only if
11223 borders are different.
11224 (getPreferredSize): Defer to layout manager.
11225 (propertyChange): Implement.
11226 (oneTouchExpandableChanged): ditto.
11227 (createLeftOneTouchButton): Use BasicArrowButton.
11228 (createRightOneTouchButton): ditto.
11229 (moveDividerTo): New method. Moves the divider
11230 to a set location based on the last divider location.
11231 (BasicSplitPaneDivider::MouseHandler): Implement.
11232 (BasicSplitPaneDivider::OneTouchButton): Removed.
11233 (BasicSplitPaneDivider::DragController): Implement.
11234 (BasicSplitPaneDivider::VerticalDragController):
11236 (BasicSplitPaneDivider::DividerLayout): ditto.
11237 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11238 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11239 (calculateLayoutInfo): Don't show component if it's
11241 (paintTab): Fix title paint logic.
11243 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
11246 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11247 (setStartRule,setEndRule): Don't take abs of day number.
11248 (getOffset): Clarify docs. Add argument checks.
11249 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11250 (equals,hasSameRules,toString,readObject): Use startTimeMode and
11252 * testsuite/libjava.mauve/xfails
11253 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11255 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
11257 Layout interfaces during preparation, not initialization.
11258 * java/lang/natClass.cc (initializeClass): Move
11259 _Jv_LayoutInterfaceMethods call...
11260 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11262 2004-05-19 Anthony Green <green@localhost.localdomain>
11264 * Makefile.am (awt_java_source_files): Remove javax.rmi and
11265 gnu.javax.rmi code.
11266 * Makefile.in: Rebuilt.
11267 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11268 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11269 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11270 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11271 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11272 gnu/javax/rmi/CORBA/DelegateFactory.java,
11273 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11274 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11275 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11276 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11277 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11278 gnu/javax/rmi/PortableServer.java: Remove files.
11280 2004-05-19 Anthony Green <green@redhat.com>
11282 * Makefile.am: Define JAVA_EXT_DIRS.
11283 * Makefile.in: Rebuilt.
11284 * java/lang/natRuntime.cc (insertSystemProperties): Set
11285 java.ext.dirs property.
11287 2004-05-16 Mark Wielaard <mark@klomp.org>
11289 * java/io/Writer.java (Writer(Object)): Check for null lock object.
11291 2004-05-15 Mark Wielaard <mark@klomp.org>
11293 * doc/cni.sgml: Removed, merged into gcj.texi.
11295 2004-05-15 Mark Wielaard <mark@klomp.org>
11297 * Makefile.am (ordinary_java_source_files): Add new javax.print
11299 * Makefile.in: Regenerated.
11301 2004-05-15 Michael Koch <konqueror@gmx.de>
11303 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11304 javax/print/attribute/standard/DateTimeAtCreation.java,
11305 javax/print/attribute/standard/DateTimeAtProcessing.java,
11306 javax/print/attribute/standard/DocumentName.java,
11307 javax/print/attribute/standard/JobHoldUntil.java,
11308 javax/print/attribute/standard/JobImpressionsCompleted.java,
11309 javax/print/attribute/standard/JobMessageFromOperator.java,
11310 javax/print/attribute/standard/JobName.java,
11311 javax/print/attribute/standard/JobOriginatingUserName.java,
11312 javax/print/attribute/standard/JobPriority.java,
11313 javax/print/attribute/standard/JobPrioritySupported.java,
11314 javax/print/attribute/standard/NumberOfInterveningJobs.java,
11315 javax/print/attribute/standard/OutputDeviceAssigned.java,
11316 javax/print/attribute/standard/PrinterInfo.java,
11317 javax/print/attribute/standard/PrinterLocation.java,
11318 javax/print/attribute/standard/PrinterMakeAndModel.java,
11319 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11320 javax/print/attribute/standard/PrinterName.java,
11321 javax/print/attribute/standard/QueuedJobCount.java,
11322 javax/print/attribute/standard/RequestingUserName.java:
11323 Fixed javadocs all over.
11325 2004-05-15 Michael Koch <konqueror@gmx.de>
11327 * javax/print/DocFlavor.java,
11328 javax/print/attribute/standard/ColorSupported.java,
11329 javax/print/attribute/standard/Compression.java,
11330 javax/print/attribute/standard/CopiesSupported.java,
11331 javax/print/attribute/standard/Fidelity.java,
11332 javax/print/attribute/standard/Finishings.java,
11333 javax/print/attribute/standard/JobImpressionsSupported.java,
11334 javax/print/attribute/standard/JobKOctetsSupported.java,
11335 javax/print/attribute/standard/JobMediaSheetsSupported.java,
11336 javax/print/attribute/standard/JobSheets.java,
11337 javax/print/attribute/standard/JobState.java,
11338 javax/print/attribute/standard/JobStateReason.java,
11339 javax/print/attribute/standard/JobStateReasons.java,
11340 javax/print/attribute/standard/Media.java,
11341 javax/print/attribute/standard/MediaSizeName.java,
11342 javax/print/attribute/standard/MultipleDocumentHandling.java,
11343 javax/print/attribute/standard/NumberUpSupported.java,
11344 javax/print/attribute/standard/OrientationRequested.java,
11345 javax/print/attribute/standard/PDLOverrideSupported.java,
11346 javax/print/attribute/standard/PageRanges.java,
11347 javax/print/attribute/standard/PresentationDirection.java,
11348 javax/print/attribute/standard/PrintQuality.java,
11349 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11350 javax/print/attribute/standard/PrinterMoreInfo.java,
11351 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11352 javax/print/attribute/standard/PrinterResolution.java,
11353 javax/print/attribute/standard/PrinterState.java,
11354 javax/print/attribute/standard/PrinterStateReason.java,
11355 javax/print/attribute/standard/PrinterStateReasons.java,
11356 javax/print/attribute/standard/PrinterURI.java,
11357 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11358 javax/print/attribute/standard/Severity.java,
11359 javax/print/attribute/standard/SheetCollate.java,
11360 javax/print/attribute/standard/Sides.java:
11361 Added serialVersionUID and removed final keyword where it doenst
11364 2004-05-15 Michael Koch <konqueror@gmx.de>
11366 * javax/print/PrintServiceLookup.java: New file.
11368 2004-05-15 Michael Koch <konqueror@gmx.de>
11370 * javax/print/DocFlavor.java:
11371 Implemented all flavor classes.
11373 2004-05-15 Michael Koch <konqueror@gmx.de>
11375 * javax/print/attribute/standard/ColorSupported.java,
11376 javax/print/attribute/standard/Compression.java,
11377 javax/print/attribute/standard/CopiesSupported.java,
11378 javax/print/attribute/standard/Fidelity.java,
11379 javax/print/attribute/standard/Finishings.java,
11380 javax/print/attribute/standard/JobImpressionsSupported.java,
11381 javax/print/attribute/standard/JobKOctetsSupported.java,
11382 javax/print/attribute/standard/JobMediaSheetsSupported.java,
11383 javax/print/attribute/standard/JobSheets.java,
11384 javax/print/attribute/standard/JobState.java,
11385 javax/print/attribute/standard/JobStateReason.java,
11386 javax/print/attribute/standard/JobStateReasons.java,
11387 javax/print/attribute/standard/Media.java,
11388 javax/print/attribute/standard/MediaSizeName.java,
11389 javax/print/attribute/standard/MultipleDocumentHandling.java,
11390 javax/print/attribute/standard/NumberUpSupported.java,
11391 javax/print/attribute/standard/OrientationRequested.java,
11392 javax/print/attribute/standard/PDLOverrideSupported.java,
11393 javax/print/attribute/standard/PageRanges.java,
11394 javax/print/attribute/standard/PresentationDirection.java,
11395 javax/print/attribute/standard/PrintQuality.java,
11396 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11397 javax/print/attribute/standard/PrinterMoreInfo.java,
11398 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11399 javax/print/attribute/standard/PrinterResolution.java,
11400 javax/print/attribute/standard/PrinterState.java,
11401 javax/print/attribute/standard/PrinterStateReason.java,
11402 javax/print/attribute/standard/PrinterStateReasons.java,
11403 javax/print/attribute/standard/PrinterURI.java,
11404 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11405 javax/print/attribute/standard/Severity.java,
11406 javax/print/attribute/standard/SheetCollate.java,
11407 javax/print/attribute/standard/Sides.java: New files.
11409 2004-05-15 Michael Koch <konqueror@gmx.de>
11411 * javax/print/Doc.java
11412 (getPrintData): Throws IOException.
11413 (getReaderForText): Likewise.
11414 (getStreamForBytes): Likewise.
11415 * javax/print/DocFlavor.java:
11416 Fixed filename in copyright.
11417 (serialVersionUID): New field.
11418 * javax/print/ServiceUIFactory.java:
11419 Made all constants final.
11420 * javax/print/AttributeException.java
11421 javax/print/MultiDoc.java
11422 javax/print/MultiDocPrintJob.java
11423 javax/print/MultiDocPrintService.java
11424 javax/print/StreamPrintService.java
11425 javax/print/URIException.java: New files.
11426 * javax/print/Makefile.am
11427 (EXTRA_DIST): Added all new files.
11429 2004-05-15 Michael Koch <konqueror@gmx.de>
11431 * javax/print/attribute/standard/Copies.java,
11432 javax/print/attribute/standard/DateTimeAtCompleted.java,
11433 javax/print/attribute/standard/DateTimeAtCreation.java,
11434 javax/print/attribute/standard/DateTimeAtProcessing.java,
11435 javax/print/attribute/standard/DocumentName.java,
11436 javax/print/attribute/standard/JobHoldUntil.java,
11437 javax/print/attribute/standard/JobImpressions.java,
11438 javax/print/attribute/standard/JobImpressionsCompleted.java,
11439 javax/print/attribute/standard/JobKOctets.java,
11440 javax/print/attribute/standard/JobKOctetsProcessed.java,
11441 javax/print/attribute/standard/JobMediaSheets.java,
11442 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11443 javax/print/attribute/standard/JobMessageFromOperator.java,
11444 javax/print/attribute/standard/JobName.java,
11445 javax/print/attribute/standard/JobOriginatingUserName.java,
11446 javax/print/attribute/standard/JobPriority.java,
11447 javax/print/attribute/standard/JobPrioritySupported.java,
11448 javax/print/attribute/standard/NumberOfDocuments.java,
11449 javax/print/attribute/standard/NumberOfInterveningJobs.java,
11450 javax/print/attribute/standard/NumberUp.java,
11451 javax/print/attribute/standard/OutputDeviceAssigned.java,
11452 javax/print/attribute/standard/PagesPerMinute.java,
11453 javax/print/attribute/standard/PagesPerMinuteColor.java:
11454 Fixed @return tag all over.
11456 2004-05-15 Michael Koch <konqueror@gmx.de>
11458 * javax/print/attribute/AttributeSetUtilities.java
11459 (verifyCategoryForValue): Fixed typo in javadoc.
11460 * javax/print/attribute/HashAttributeSet.java
11461 (containsKey): Fixed @return tag.
11462 (comtainsValue): Likewise.
11463 (equals): Likewise.
11464 * javax/print/attribute/IntegerSyntax.java
11465 (equals): Likewise.
11466 * javax/print/attribute/ResolutionSyntax.java
11467 (equals): Likewise.
11468 (getCrossFeedResolution): Removed unused code.
11469 (getFeedResolution): Likewise.
11470 * javax/print/attribute/SetOfIntegerSyntax.java
11471 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11472 (equals): Fixed @return tag.
11473 * javax/print/attribute/TextSyntax.java
11474 (TextSyntax): Take locale into account.
11475 (hashCode): Better implementation.
11477 2004-05-15 Michael Koch <konqueror@gmx.de>
11479 * javax/print/CancelablePrintJob.java,
11480 javax/print/Doc.java,
11481 javax/print/DocFlavor.java,
11482 javax/print/DocPrintJob.java,
11483 javax/print/FlavorException.java,
11484 javax/print/PrintException.java,
11485 javax/print/PrintService.java,
11486 javax/print/ServiceUIFactory.java: New files.
11488 2004-05-15 Mark Wielaard <mark@klomp.org>
11490 * gnu/regexp/CharIndexedReader.java: Removed.
11491 * gnu/regexp/REFilterReader.java: Likewise.
11492 * gnu/regexp/RETokenLookAhead.java: Likewise.
11493 * Makefile.am (ordinary_java_source_files): Remove above classes.
11494 * Makefile.in: Regenerated.
11496 2004-05-14 Tom Tromey <tromey@redhat.com>
11498 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11499 not `XGraphicsConfiguration.XOffScreenImage'.
11501 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
11503 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11505 2004-05-14 Steven Augart <augart@watson.ibm.com>
11507 * include/jni.h (_Jv_func): Removed.
11508 (struct JNINativeInterface): Use `void *' for reserved slots.
11509 (struct JNIInvokeInterface): Likewise.
11511 2004-05-11 Michael Koch <konqueror@gmx.de>
11513 * gnu/java/net/natPlainSocketImplPosix.cc
11514 (read): Fixed typo in expression.
11516 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
11518 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11519 ld_library_additions. Adjust all calls to libjava_invoke to match
11522 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11523 path to cxxflagslist.
11524 Pass path of libstdc++ to libjava_invoke.
11526 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11527 libjava_invoke arguments.
11529 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
11531 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11534 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
11536 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11537 main binary against the JNI shared library.
11539 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
11541 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11542 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11543 (SimpleTimeZone): Tweak docs. Add new variation.
11544 (setStartRule,setEndRule): Add new variations. Use
11545 startTimeMode and endTimeMode.
11547 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
11549 * java/util/Calendar.java (getActualMinimum,
11550 getActualMaximum): Remove abstract. Implement.
11552 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
11554 Run the jni tests using the interpreter.
11555 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11556 options_cxx to shared lib compile command.
11557 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11558 they are used to link the shared lib, not the main binary.
11559 Use libjava_invoke to run gij.
11561 2004-05-06 Michael Koch <konqueror@gmx.de>
11563 * java/util/logging/Level.java
11564 (parse): Use == instead of String.equals().
11566 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
11568 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
11569 verify_field_signature and verify_method_signature, not
11570 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11571 (_Jv_ClassReader::handleField): Likewise.
11572 (_Jv_ClassReader::handleMethod): Likewise.
11574 2004-05-06 Michael Koch <konqueror@gmx.de>
11576 * javax/swing/table/TableColumn.java:
11579 2004-05-06 Michael Koch <konqueror@gmx.de>
11581 * javax/imageio/spi/ImageReaderWriterSpi.java
11582 (ImageReaderWriterSpi): Made it public.
11583 * javax/imageio/stream/ImageInputStream.java:
11586 2004-05-06 Michael Koch <konqueror@gmx.de>
11588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11589 Removed empty line.
11591 2004-05-06 Michael Koch <konqueror@gmx.de>
11593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11594 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11596 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11597 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11598 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11599 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11600 their own source file.
11601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11602 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11603 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11605 (create): Define variable on top of function.
11606 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11607 (menu_pos): Prototyped.
11608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11609 (setTitle): Removed.
11610 * jni/gtk-peer/gthread-jni.c
11611 (gdk_threads_wake): Removed.
11612 * Makefile.am (gtk_c_source_files): Added new files
11613 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11614 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11615 * Makefile.in: Regenerated.
11617 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
11619 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11622 2004-05-05 Mark Wielaard <mark@klomp.org>
11624 * javax/swing/AbstractButton.java: Replace special HTML entities with
11626 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11627 * javax/swing/DefaultButtonModel.java: Likewise.
11628 * javax/swing/DefaultListModel.java: Likewise.
11629 * javax/swing/JList.java: Likewise.
11630 * javax/swing/JSlider.java: Likewise.
11631 * javax/swing/ListModel.java: Likewise.
11632 * javax/swing/Popup.java: Likewise.
11633 * javax/swing/SwingUtilities.java: Likewise.
11635 2004-05-05 Michael Koch <konqueror@gmx.de>
11637 * javax/swing/AbstractButton.java,
11638 javax/swing/ActionMap.java,
11639 javax/swing/DefaultButtonModel.java,
11640 javax/swing/DefaultListModel.java,
11641 javax/swing/ImageIcon.java,
11642 javax/swing/JComboBox.java,
11643 javax/swing/JComponent.java,
11644 javax/swing/JFrame.java,
11645 javax/swing/JInternalFrame.java,
11646 javax/swing/JMenuBar.java,
11647 javax/swing/JMenuItem.java,
11648 javax/swing/JOptionPane.java,
11649 javax/swing/JProgressBar.java,
11650 javax/swing/JRootPane.java,
11651 javax/swing/JScrollBar.java,
11652 javax/swing/JScrollPane.java,
11653 javax/swing/JSeparator.java,
11654 javax/swing/JSlider.java,
11655 javax/swing/JTabbedPane.java,
11656 javax/swing/JTable.java,
11657 javax/swing/JTextField.java,
11658 javax/swing/JToolBar.java,
11659 javax/swing/JToolTip.java,
11660 javax/swing/JTree.java,
11661 javax/swing/JViewport.java,
11662 javax/swing/JWindow.java,
11663 javax/swing/KeyStroke.java,
11664 javax/swing/LookAndFeel.java,
11665 javax/swing/SwingUtilities.java,
11666 javax/swing/Timer.java,
11667 javax/swing/ToolTipManager.java,
11668 javax/swing/UIDefaults.java,
11669 javax/swing/border/TitledBorder.java,
11670 javax/swing/filechooser/FileSystemView.java,
11671 javax/swing/plaf/basic/BasicButtonListener.java,
11672 javax/swing/plaf/basic/BasicButtonUI.java,
11673 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11674 javax/swing/plaf/basic/BasicGraphicsUtils.java,
11675 javax/swing/plaf/basic/BasicLabelUI.java,
11676 javax/swing/plaf/basic/BasicMenuItemUI.java,
11677 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11678 javax/swing/plaf/basic/BasicRootPaneUI.java,
11679 javax/swing/plaf/basic/BasicScrollBarUI.java,
11680 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11681 javax/swing/plaf/basic/BasicSliderUI.java,
11682 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11683 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11684 javax/swing/table/JTableHeader.java,
11685 javax/swing/text/AbstractDocument.java,
11686 javax/swing/text/DefaultCaret.java,
11687 javax/swing/text/StyledEditorKit.java,
11688 javax/swing/tree/DefaultTreeCellEditor.java:
11689 Cleaned up imports.
11691 2004-05-05 Michael Koch <konqueror@gmx.de>
11693 * java/util/prefs/AbstractPreferences.java
11694 (AbstractPreferences): Added parenthesis for clarity.
11695 Closes classpath bug #7940.
11697 2004-05-05 Tom Tromey <tromey@redhat.com>
11699 * javax/naming/CompoundName.java (endsWith): Look at correct
11700 element of source name.
11702 2004-05-05 Mark Wielaard <mark@klomp.org>
11704 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11705 * java/util/HashMap.java (rehash): Add entry at start of bucket.
11707 2004-05-05 Tom Tromey <tromey@redhat.com>
11709 * java/io/BufferedReader.java (skip): Removed unused
11712 2004-05-05 Michael Koch <konqueror@gmx.de>
11714 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11716 2004-05-05 Dalibor Topic <robilad@kaffe.org>
11718 * java/text/AttributedString.java,
11719 java/text/AttributedStringIterator.java,
11720 java/text/Collator.java,
11721 java/text/DecimalFormatSymbols.java,
11722 java/text/NumberFormat.java,
11723 java/text/RuleBasedCollator.java:
11724 Cleaned up imports.
11726 2004-05-05 Tom Tromey <tromey@redhat.com>
11728 * java/text/Format.java: Cleaned up imports.
11729 * java/text/DecimalFormat.java: Cleaned up imports.
11730 * java/security/SecureRandom.java: Cleaned up imports.
11731 (SecureRandom): Removed unused variable.
11732 * java/security/UnresolvedPermission.java: Cleaned up imports.
11733 * java/util/Date.java (parse): Removed unused variable.
11734 * java/util/ResourceBundle.java: Cleaned up imports.
11735 (getBundle): Removed unused variable.
11736 (tryBundle): Likewise.
11737 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11739 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11741 * java/text/SimpleDateFormat.java:
11742 (formatWithAttribute): New method. It implements
11743 the formatting process with attributes.
11744 (format): Use formatWithAttribute.
11745 (formatToCharacterIterator): New method. Use
11746 formatWithAttribute.
11748 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11750 * java/text/MessageFormat.java:
11751 (class Field): New class.
11752 (formatToCharacterIterator): New method.
11753 (format): Use formatInternal now.
11754 (formatInternal): New method. String formatter should
11755 be done here (with attributes). Attributes merging supported.
11756 (parse): More documentation.
11757 (getFormatsByArgumentIndex): New method.
11758 (setFormatByArgumentIndex): New method.
11759 (setFormatsByArgumentIndex): New method.
11761 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11763 * java/text/DecimalFormat.java
11764 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11765 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11766 (parse): Fixed handling of exponentiation notation and grouping.
11768 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11770 * java/text/DecimalFormat.java
11771 (scanFix): Build attribute array. Fixed error reporting.
11772 (applyPatternWithSymbols): Store attributes for the prefix and
11774 (formatInternal): New method. Changed the way the string is
11775 computed. Implemented attributes. Cleant up rounding in
11776 exponential notation.
11777 (format): Use formatInternal.
11778 (formatToCharacterIterator): New method.
11779 (exponentRound, negativePrefixRanges, positivePrefixRanges,
11780 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
11781 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
11784 2004-05-04 Dalibor Topic <robilad@kaffe.org>
11786 * java/security/interfaces/DSAKeyPairGenerator.java,
11787 java/security/interfaces/DSAPrivateKey.java,
11788 java/security/interfaces/DSAPublicKey.java,
11789 java/security/interfaces/RSAPrivateKey.java,
11790 java/security/interfaces/RSAPublicKey.java:
11791 Cleaned up imports.
11793 2004-05-04 Michael Koch <konqueror@gmx.de>
11795 * java/nio/ByteBuffer.java,
11796 java/nio/CharBuffer.java,
11797 java/nio/DoubleBuffer.java,
11798 java/nio/FloatBuffer.java,
11799 java/nio/IntBuffer.java,
11800 java/nio/LongBuffer.java,
11801 java/nio/ShortBuffer.java:
11802 (compareTo): Fixed bogus implementation in all buffer classes.
11804 2004-05-04 Ingo Proetel <proetel@aicas.com>
11806 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
11807 32 bit pixels not 8 bit pixels.
11808 (isCompatibleRaster): Added javadoc comment.
11810 2004-05-04 Ingo Proetel <proetel@aicas.com>
11812 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
11815 2004-05-04 Ingo Proetel <proetel@aicas.com>
11817 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
11818 (getColorModel): Return the actual color model.
11819 (getRaster): Implemented.
11820 (ColorRaster): New inner class.
11821 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
11823 * java/awt/Color.java (<init>): Make exception more verbose.
11824 (createContext): Use ColorModel when creating a PaintContext.
11826 2004-05-04 Michael Koch <konqueror@gmx.de>
11828 * gnu/java/text/CharacterBreakIterator.java
11829 (previous): Removed unused variable.
11831 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
11833 * gnu/java/text/FormatBuffer.java,
11834 gnu/java/text/AttributedFormatBuffer.java,
11835 gnu/java/text/StringFormatBuffer.java: New classes to implement
11836 attributed iterators in java.text.
11837 * gnu/java/text/FormatCharacterIterator.java: Moved
11838 from java/text as it is an internal class.
11839 * java/text/FormatCharacterIterator.java: Removed.
11840 * java/text/Format.java:
11841 Import gnu.java.text.FormatCharacterIterator.
11842 * Makefile.am (java_source_files): Added new files.
11843 * Makefile.in: Regenerated.
11846 2004-05-04 Mark Wielaard <mark@klomp.org>
11848 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
11850 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
11852 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
11853 * Makefile.in: Rebuilt.
11855 2004-05-03 Mark Wielaard <mark@klomp.org>
11857 * gnu/java/security/der/DERReader.java: Call static methods staticly.
11858 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
11859 * java/net/URL.java
11860 (set(String, String, int, String, String, String, String, String)):
11861 Assign this.file to path or path + "?" + query.
11862 * java/util/Arrays.java: Call static methods staticly.
11863 * java/util/zip/ZipEntry.java: Likewise.
11864 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
11865 dir to this.direction.
11866 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
11867 Assign static field only once.
11868 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
11870 2004-05-03 Mark Wielaard <mark@klomp.org>
11872 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
11873 unused variables hScrollbarHeight and vScrollbarWidth.
11874 (preferredSize): Likewise.
11875 * gnu/java/security/provider/DSAParameters.java (engineToString):
11876 Removed unused call to System.getProperty("line.seperator");
11877 * java/security/Security.java (loadProviders): Return result.
11879 2004-05-03 Tom Tromey <tromey@redhat.com>
11881 * java/net/URLStreamHandler.java (toExternalForm): Removed
11883 unused constructor.
11884 * java/math/BigDecimal.java (divide): Removed unused variable.
11885 * java/lang/Throwable.java: Cleaned up imports.
11886 * java/lang/ClassLoader.java: Cleaned up imports.
11887 * java/io/FilePermission.java (implies): Removed unused
11889 * java/awt/TextComponent.java: Removed unused import.
11890 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
11891 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
11892 * gnu/java/text/WordBreakIterator.java: Removed unused import.
11893 * gnu/java/text/SentenceBreakIterator.java: Removed unused
11895 * gnu/java/text/LineBreakIterator.java: Removed unused import.
11896 * gnu/java/text/CharacterBreakIterator.java: Removed
11898 * gnu/java/security/provider/DSAKeyPairGenerator.java:
11899 Cleaned up imports.
11900 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
11901 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
11903 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
11904 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
11905 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
11906 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
11907 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
11908 (lookupProviders): Removed unused variable.
11909 (loadNextServiceProvider): Likewise.
11910 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
11912 2004-05-03 Michael Koch <konqueror@gmx.de>
11914 Fixes PR libgcj/14695:
11915 * java/net/NetworkInterface.java
11916 (getByName): Return null when no interface was found.
11918 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
11919 Tom Tromey <tromey@redhat.com>
11921 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
11922 additional option "-Wmissing-prototypes" for compiling C sources.
11923 Print actual filename for pass/fail rather than $name.c.
11924 * testsuite/libjava.jni/PR15133.java: New testcase file.
11925 * testsuite/libjava.jni/PR15133.c: Likewise.
11926 * testsuite/libjava.jni/PR15133.out: Likewise.
11928 2004-04-30 Roger Sayle <roger@eyesopen.com>
11930 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
11933 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
11935 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
11936 limit the maximum heap size to avoid unnecessary thrashing.
11938 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
11940 * java/text/CollationElementIterator.java (reset): Reset
11941 lookahead variables.
11943 2004-04-23 Mark Wielaard <mark@klomp.org>
11945 * jni/classpath/jcl.c: Changed C++ comments into C comments.
11947 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11949 * java/sql/DriverManager.java:
11950 Cleaned up imports.
11952 2004-04-23 Michael Koch <konqueror@gmx.de>
11954 * java/net/URL.java
11955 (hashcode): Don't initialize with default value explicitely.
11956 (getContent): Removed redundant "final" keyword.
11957 (openStream): Likewise.
11958 (getURLStreamHandler): Fixed coding style.
11959 * java/net/URLConnection.java
11960 (defaultAllowUserInteraction): Don't initialize with default value
11962 (connected): Likewise.
11963 (doOutput): Likewise.
11964 (ifModifiedSince): Likewise.
11965 (dateformats_initialized): Likewise.
11966 (setURLStreamHander): Use StreamTokenizer where it belongs to.
11968 2004-04-23 Michael Koch <konqueror@gmx.de>
11970 * gnu/java/nio/channels/FileChannelImpl.java
11971 (SET, CUR): Unused, removed.
11972 (read): Implement here directly.
11973 (implRead): Removed.
11974 (write): Implement here directly.
11975 (implWrite): Removed.
11977 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11979 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
11980 javax/rmi/CORBA/Stub.java,
11981 javax/rmi/CORBA/Util.java,
11982 javax/rmi/CORBA/ValueHandler.java,
11983 javax/rmi/CORBA/ValueHandler.java,
11984 javax/rmi/PortableRemoteObject.java:
11985 Cleaned up imports.
11987 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11989 * java/util/jar/JarFile.java,
11990 java/util/jar/JarInputStream.java,
11991 java/util/jar/JarOutputStream.java,
11992 java/util/jar/Manifest.java:
11993 Cleaned up imports.
11995 2004-04-23 Dalibor Topic <robilad@kaffe.org>
11997 * java/util/ArrayList.java,
11998 java/util/Calendar.java,
11999 java/util/Currency.java,
12000 java/util/HashMap.java,
12001 java/util/HashSet.java,
12002 java/util/Hashtable.java,
12003 java/util/LinkedList.java,
12004 java/util/Properties.java,
12005 java/util/PropertyPermission.java,
12006 java/util/TimeZone.java,
12007 java/util/TreeMap.java,
12008 java/util/TreeSet.java,
12009 java/util/Vector.java,
12010 java/util/WeakHashMap.java:
12011 Cleaned up imports.
12013 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12015 * java/util/logging/FileHandler.java,
12016 java/util/logging/Formatter.java,
12017 java/util/logging/Handler.java,
12018 java/util/logging/Logger.java,
12019 java/util/logging/SimpleFormatter.java,
12020 java/util/logging/XMLFormatter.java:
12021 Cleaned up imports.
12023 2004-04-22 Mark Wielaard <mark@klomp.org>
12025 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
12026 -Wno-long-long flags variable.
12027 (gtk_c_files): Use PEDANTIC_CFLAGS.
12028 * Makefile.in: Regenerated.
12030 2004-04-22 Mark Wielaard <mark@klomp.org>
12032 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12033 Changed C++ comments into C comments.
12034 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12037 2004-04-22 Michael Koch <konqueror@gmx.de>
12039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12040 Merged copyright year with GNU classpath.
12042 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12044 * javax/security/auth/x500/X500Principal.java:
12045 Cleaned up imports.
12047 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12049 * javax/swing/JSlider.java:
12050 Fixed HTML tags in comments.
12052 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12054 * javax/accessibility/AccessibleText.java:
12055 Cleaned up imports.
12057 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
12059 * java/net/URLStreamHandler.java
12060 (parseURL): Convert the file path to using '/' instead of native
12063 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
12065 * java/net/URL.java
12066 (userInfo): New field.
12067 (URL): Set authority to the right value.
12068 (setURL): Fixed authority and file initialization.
12069 * java/net/URLStreamHandler.java
12070 (parseURL): Take care of the query tag. Build authority.
12071 (toExternalForm): Fixed URL building using authority.
12073 2004-04-22 Michael Koch <konqueror@gmx.de>
12075 * java/net/Socket.java
12076 (impl): Made package-private.
12077 * java/net/ServerSocket.java
12078 (implAccept): Access Socket.impl field directly.
12080 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12082 * java/util/prefs/Preferences.java,
12083 java/util/prefs/InvalidPreferencesFormatException.java,
12084 java/util/prefs/BackingStoreException.java,
12085 java/util/prefs/AbstractPreferences.java:
12086 Cleaned up imports.
12088 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12090 * java/util/regex/Matcher.java,
12091 java/util/regex/Pattern.java:
12092 Cleaned up imports.
12094 2004-04-22 Michael Koch <konqueror@gmx.de>
12096 * java/nio/charset/IllegalCharsetNameException.java
12097 (charsetName): Made private.
12098 (IllegalCharsetNameException): Added @param tag to javadoc.
12099 (getCharsetName): Added @return tag to javadoc.
12100 * java/nio/charset/MalformedInputException.java
12101 (MalformedInputException): Added @param tag to javadoc.
12102 (getInputLength): Revised method description, added @return tag.
12103 (getMessage): Added @return tag.
12105 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
12107 * java/awt/Font.java (deriveFont): Implement missing variants.
12108 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12111 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
12113 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12114 Set method->index values for interface methods to their itable index.
12115 (initializeClass): Call _Jv_LayoutInterfaceMethods.
12117 2004-04-21 Michael Koch <konqueror@gmx.de>
12119 * java/nio/DirectByteBufferImpl.java
12120 (shiftDown): Made static, give address as argument and
12121 provide a convenience method that overwrites shiftDown in
12122 ByteBufferImpl and calls the native shiftDown.
12123 * java/nio/MappedByteBufferImpl.java
12124 (): Use optimized method in DirectByteBufferImpl.
12125 * java/nio/natDirectByteBufferImpl.cc
12126 (shiftDown): Changed method signature. Removed usage of array_offset.
12128 2004-04-21 Michael Koch <konqueror@gmx.de>
12130 * gnu/java/net/natPlainSocketImplPosix.cc
12131 (SocketInputStream::read): Make sure returned data is a byte value.
12133 2004-04-21 Michael Koch <konqueror@gmx.de>
12135 * gnu/classpath/ServiceFactory.java,
12136 gnu/classpath/ServiceProviderLoadingAction.java,
12137 javax/imageio/ImageReader.java,
12138 javax/imageio/ImageTranscoder.java,
12139 javax/imageio/ImageWriter.java,
12140 javax/imageio/package.html,
12141 javax/imageio/spi/IIOServiceProvider.java,
12142 javax/imageio/spi/ImageInputStreamSpi.java,
12143 javax/imageio/spi/ImageOutputStreamSpi.java,
12144 javax/imageio/spi/ImageReaderWriterSpi.java,
12145 javax/imageio/spi/ImageTranscoderSpi.java,
12146 javax/imageio/spi/RegisterableService.java,
12147 javax/imageio/spi/ServiceRegistry.java,
12148 javax/imageio/spi/package.html,
12149 javax/imageio/stream/IIOByteBuffer.java,
12150 javax/imageio/stream/ImageInputStream.java,
12151 javax/imageio/stream/ImageOutputStream.java,
12152 javax/imageio/stream/package.html:
12155 (ordinary_java_source_files): Added
12156 gnu/classpath/ServiceFactory.java and
12157 gnu/classpath/ServiceProviderLoadingAction.java.
12158 (javax_source_files): Added
12159 javax/imageio/ImageReader.java,
12160 javax/imageio/ImageTranscoder.java,
12161 javax/imageio/ImageWriter.java,
12162 javax/imageio/spi/IIOServiceProvider.java,
12163 javax/imageio/spi/ImageInputStreamSpi.java,
12164 javax/imageio/spi/ImageOutputStreamSpi.java,
12165 javax/imageio/spi/ImageReaderWriterSpi.java,
12166 javax/imageio/spi/ImageTranscoderSpi.java,
12167 javax/imageio/spi/RegisterableService.java,
12168 javax/imageio/spi/ServiceRegistry.java,
12169 javax/imageio/stream/IIOByteBuffer.java,
12170 javax/imageio/stream/ImageInputStream.java and
12171 javax/imageio/stream/ImageOutputStream.java.
12172 * Makefile.in: Regenerated.
12174 2004-04-21 Michael Koch <konqueror@gmx.de>
12176 * java/util/Properties.java
12177 (load): Fix wrongly merged fix.
12179 2004-04-21 Mark Wielaard <mark@klomp.org>
12181 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12182 malloc and free buf.
12184 2004-04-21 Dalibor Topic <robilad@kaffe.org>
12186 * javax/naming/AuthenticationException.java,
12187 javax/naming/AuthenticationNotSupportedException.java,
12188 javax/naming/CannotProceedException.java,
12189 javax/naming/CommunicationException.java,
12190 javax/naming/CompoundName.java,
12191 javax/naming/ConfigurationException.java,
12192 javax/naming/ContextNotEmptyException.java,
12193 javax/naming/InitialContext.java,
12194 javax/naming/InsufficientResourcesException.java,
12195 javax/naming/InterruptedNamingException.java,
12196 javax/naming/LimitExceededException.java,
12197 javax/naming/LinkException.java,
12198 javax/naming/LinkLoopException.java,
12199 javax/naming/LinkRef.java,
12200 javax/naming/MalformedLinkException.java,
12201 javax/naming/Name.java,
12202 javax/naming/NameAlreadyBoundException.java,
12203 javax/naming/NameNotFoundException.java,
12204 javax/naming/NamingSecurityException.java,
12205 javax/naming/NoInitialContextException.java,
12206 javax/naming/NoPermissionException.java,
12207 javax/naming/NotContextException.java,
12208 javax/naming/PartialResultException.java,
12209 javax/naming/ReferralException.java,
12210 javax/naming/ServiceUnavailableException.java,
12211 javax/naming/SizeLimitExceededException.java,
12212 javax/naming/TimeLimitExceededException.java,
12213 javax/naming/directory/Attribute.java,
12214 javax/naming/directory/Attributes.java,
12215 javax/naming/directory/SearchResult.java,
12216 javax/naming/event/NamingExceptionEvent.java,
12217 javax/naming/spi/ResolveResult.java:
12218 Cleaned up imports.
12220 2004-04-21 Mark Wielaard <mark@klomp.org>
12222 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12223 Changed C++ comments into C comments. Removed commented out code.
12224 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12226 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12228 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12230 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12232 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12234 * native/jni/gtk-peer/gthread-jni.c:
12237 2004-04-21 Mark Wielaard <mark@klomp.org>
12239 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12240 static fields defined in interface.
12241 * javax/awt/JDialog.java: Likewise.
12242 (JDialog): Make constructors public.
12243 (getDefaultCloseOperation): Make public.
12244 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12245 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12246 * javax/swing/JViewport.java (JViewport): Make constructor public.
12248 2004-04-21 Michael Koch <konqueror@gmx.de>
12250 * java/util/Map.java
12251 (Entry): Removed redundant "static" modifier.
12252 * java/text/AttributedCharacterIterator.java:
12253 Updated copyright year.
12255 2004-04-20 Michael Koch <konqueror@gmx.de>
12257 * javax/naming/directory/SearchControls.java:
12258 Don't explicitely extend java.lang.Object.
12259 * javax/naming/spi/DirStateFactory.java:
12260 Merged copyright year with GNU classpath.
12262 2004-04-20 Michael Koch <konqueror@gmx.de>
12264 * java/nio/channels/Channels.java:
12265 Merged coding style with GNU classpath.
12267 2004-04-20 Michael Koch <konqueror@gmx.de>
12269 * java/net/ServerSocket.java
12270 Merged coding style from GNU classpath.
12272 2004-04-20 Michael Koch <konqueror@gmx.de>
12274 * java/io/BufferedWriter.java:
12275 Reordered variables to be at top of the class.
12276 (localFlush): Removed redundant final keyword.
12278 2004-04-20 Ingo Proetel <proetel@aicas.com>
12280 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
12282 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
12284 * java/text/DecimalFormat.java (scanFix): Removed suffix check
12285 for percent and permill check.
12287 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
12289 * java/text/FieldPosition.java
12290 (FieldPosition) Constructor now behaves as it should according
12291 to the java documentation.
12293 2004-04-20 Mark Wielaard <mark@klomp.org>
12295 * java/util/Properties.java: Use the word umlaut, not ä in api
12298 2004-04-20 Michael Koch <konqueror@gmx.de>
12300 * java/nio/Buffer.java,
12301 java/nio/channels/AlreadyConnectedException.java,
12302 java/nio/channels/AsynchronousCloseException.java,
12303 java/nio/channels/ByteChannel.java,
12304 java/nio/channels/CancelledKeyException.java,
12305 java/nio/channels/Channel.java,
12306 java/nio/channels/Channels.java,
12307 java/nio/channels/ClosedByInterruptException.java,
12308 java/nio/channels/ClosedChannelException.java,
12309 java/nio/channels/ClosedSelectorException.java,
12310 java/nio/channels/ConnectionPendingException.java,
12311 java/nio/channels/DatagramChannel.java,
12312 java/nio/channels/FileChannel.java,
12313 java/nio/channels/FileLock.java,
12314 java/nio/channels/FileLockInterruptionException.java,
12315 java/nio/channels/GatheringByteChannel.java,
12316 java/nio/channels/IllegalBlockingModeException.java,
12317 java/nio/channels/IllegalSelectorException.java,
12318 java/nio/channels/InterruptibleChannel.java,
12319 java/nio/channels/NoConnectionPendingException.java,
12320 java/nio/channels/NonReadableChannelException.java,
12321 java/nio/channels/NonWritableChannelException.java,
12322 java/nio/channels/NotYetBoundException.java,
12323 java/nio/channels/NotYetConnectedException.java,
12324 java/nio/channels/OverlappingFileLockException.java,
12325 java/nio/channels/Pipe.java,
12326 java/nio/channels/ReadableByteChannel.java,
12327 java/nio/channels/ScatteringByteChannel.java,
12328 java/nio/channels/SelectableChannel.java,
12329 java/nio/channels/SelectionKey.java,
12330 java/nio/channels/Selector.java,
12331 java/nio/channels/ServerSocketChannel.java,
12332 java/nio/channels/SocketChannel.java,
12333 java/nio/channels/UnresolvedAddressException.java,
12334 java/nio/channels/UnsupportedAddressTypeException.java,
12335 java/nio/channels/WritableByteChannel.java,
12336 java/nio/channels/spi/AbstractInterruptibleChannel.java,
12337 java/nio/channels/spi/AbstractSelectableChannel.java,
12338 java/nio/channels/spi/AbstractSelectionKey.java,
12339 java/nio/channels/spi/AbstractSelector.java,
12340 java/nio/channels/spi/SelectorProvider.java,
12341 java/nio/charset/spi/CharsetProvider.java:
12342 Fixed javadocs and jalopied all over java.nio.
12344 2004-04-20 Michael Koch <konqueror@gmx.de>
12346 * java/nio/ByteBufferImpl.java,
12347 java/nio/CharBufferImpl.java,
12348 java/nio/DirectByteBufferImpl.java,
12349 java/nio/DoubleBufferImpl.java,
12350 java/nio/DoubleViewBufferImpl.java,
12351 java/nio/FloatBufferImpl.java,
12352 java/nio/FloatViewBufferImpl.java,
12353 java/nio/IntBufferImpl.java,
12354 java/nio/IntViewBufferImpl.java,
12355 java/nio/LongBufferImpl.java,
12356 java/nio/LongViewBufferImpl.java,
12357 java/nio/MappedByteBufferImpl.java,
12358 java/nio/ShortBufferImpl.java,
12359 java/nio/ShortViewBufferImpl.java:
12360 Made sure all classes are final and removed final keyword from all
12363 2004-04-20 Michael Koch <konqueror@gmx.de>
12365 * java/rmi/MarshalledObject.java,
12366 java/rmi/Naming.java,
12367 java/rmi/RemoteException.java,
12368 java/rmi/activation/ActivationException.java,
12369 java/rmi/server/ServerCloneException.java,
12370 java/security/AccessController.java,
12371 java/security/AlgorithmParameterGenerator.java,
12372 java/security/AlgorithmParameters.java,
12373 java/security/CodeSource.java,
12374 java/security/Identity.java,
12375 java/security/IdentityScope.java,
12376 java/security/KeyPairGenerator.java,
12377 java/security/KeyStore.java,
12378 java/security/Security.java,
12379 java/security/Signature.java,
12380 java/security/SignatureSpi.java,
12381 java/security/SignedObject.java,
12382 java/security/spec/DSAParameterSpec.java,
12383 java/security/spec/DSAPrivateKeySpec.java,
12384 java/security/spec/DSAPublicKeySpec.java,
12385 java/sql/Array.java,
12386 java/sql/DatabaseMetaData.java,
12387 java/sql/ResultSet.java,
12388 java/text/ChoiceFormat.java,
12389 java/text/CollationElementIterator.java,
12390 java/text/CollationKey.java,
12391 java/text/Collator.java,
12392 java/text/DateFormat.java,
12393 java/text/DateFormatSymbols.java,
12394 java/text/DecimalFormatSymbols.java,
12395 java/text/Format.java,
12396 java/text/ParsePosition.java,
12397 java/text/RuleBasedCollator.java,
12398 java/text/SimpleDateFormat.java,
12399 java/text/StringCharacterIterator.java,
12400 java/util/Collections.java,
12401 java/util/PropertyResourceBundle.java,
12402 java/util/ResourceBundle.java,
12403 java/util/StringTokenizer.java,
12404 java/util/jar/Attributes.java,
12405 java/util/logging/ConsoleHandler.java,
12406 java/util/logging/LogManager.java,
12407 java/util/logging/MemoryHandler.java,
12408 java/util/logging/SocketHandler.java,
12409 javax/naming/NamingException.java:
12410 Fixed javadoc, coding style and argument names all over.
12412 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
12414 * java/io/FileDescriptor.java: (FileDescriptor) Added public
12415 constructor. (valid) Added null check.
12417 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
12419 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12420 * java/io/FileOutputStream.java
12421 (FileOutputStream) Reorganized constructors. Constructors now
12422 check whether the given path is directory.
12424 2004-04-20 Michael Koch <konqueror@gmx.de>
12426 * java/net/Authenticator.java,
12427 java/net/BindException.java,
12428 java/net/ConnectException.java,
12429 java/net/ContentHandler.java,
12430 java/net/ContentHandlerFactory.java,
12431 java/net/DatagramPacket.java,
12432 java/net/DatagramSocket.java,
12433 java/net/DatagramSocketImpl.java,
12434 java/net/DatagramSocketImplFactory.java,
12435 java/net/FileNameMap.java,
12436 java/net/HttpURLConnection.java,
12437 java/net/Inet4Address.java,
12438 java/net/Inet6Address.java,
12439 java/net/InetAddress.java,
12440 java/net/InetSocketAddress.java,
12441 java/net/JarURLConnection.java,
12442 java/net/MalformedURLException.java,
12443 java/net/MulticastSocket.java,
12444 java/net/NetPermission.java,
12445 java/net/NetworkInterface.java,
12446 java/net/NoRouteToHostException.java,
12447 java/net/PasswordAuthentication.java,
12448 java/net/PortUnreachableException.java,
12449 java/net/ProtocolException.java,
12450 java/net/ServerSocket.java,
12451 java/net/Socket.java,
12452 java/net/SocketAddress.java,
12453 java/net/SocketException.java,
12454 java/net/SocketImpl.java,
12455 java/net/SocketImplFactory.java,
12456 java/net/SocketOptions.java,
12457 java/net/SocketPermission.java,
12458 java/net/SocketTimeoutException.java,
12460 java/net/URISyntaxException.java,
12462 java/net/URLClassLoader.java,
12463 java/net/URLConnection.java,
12464 java/net/URLDecoder.java,
12465 java/net/URLEncoder.java,
12466 java/net/URLStreamHandler.java,
12467 java/net/URLStreamHandlerFactory.java,
12468 java/net/UnknownHostException.java,
12469 java/net/UnknownServiceException.java:
12470 Fixed javadocs, coding style and argument names all over.
12472 2004-04-20 Michael Koch <konqueror@gmx.de>
12474 * java/lang/Byte.java,
12475 java/lang/CharSequence.java,
12476 java/lang/ClassLoader.java,
12477 java/lang/Compiler.java,
12478 java/lang/Double.java,
12479 java/lang/Float.java,
12480 java/lang/Integer.java,
12481 java/lang/Long.java,
12482 java/lang/Math.java,
12483 java/lang/Number.java,
12484 java/lang/Package.java,
12485 java/lang/Runtime.java,
12486 java/lang/RuntimePermission.java,
12487 java/lang/SecurityManager.java,
12488 java/lang/Short.java,
12489 java/lang/StringBuffer.java,
12490 java/lang/System.java,
12491 java/lang/ThreadGroup.java,
12492 java/lang/Throwable.java,
12493 java/lang/reflect/InvocationHandler.java,
12494 java/lang/reflect/Proxy.java:
12495 Fixed javadocs, coding style and argument names all over.
12497 2004-04-20 Michael Koch <konqueror@gmx.de>
12499 * java/io/BufferedWriter.java,
12500 java/io/ByteArrayInputStream.java,
12501 java/io/CharArrayWriter.java,
12502 java/io/DataInput.java,
12503 java/io/DataInputStream.java,
12505 java/io/FilterInputStream.java,
12506 java/io/InputStream.java,
12507 java/io/InputStreamReader.java,
12508 java/io/ObjectInputStream.java,
12509 java/io/ObjectStreamClass.java,
12510 java/io/PipedInputStream.java,
12511 java/io/PipedReader.java,
12512 java/io/PushbackInputStream.java,
12513 java/io/PushbackReader.java,
12514 java/io/RandomAccessFile.java,
12515 java/io/SerializablePermission.java,
12516 java/io/StreamTokenizer.java,
12517 java/io/StringWriter.java,
12518 java/io/WriteAbortedException.java,
12519 java/io/Writer.java:
12520 Fixed javadocs all over, rename arguments to match javadocs,
12521 fixed coding style.
12523 2004-04-20 Ingo Proetel <proetel@aicas.com>
12525 * java/awt/FontMetrics.java:
12526 (charsWidth): fixed accumulation of total_width
12527 (getWidth): simple default implementation
12528 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12529 in Rectangle constructor.
12530 * java/awt/image/Raster.java (toString): Added method.
12531 * java/awt/image/SampleModel.java (<init>): Added error cause
12532 information to thrown exception.
12533 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12535 (setDataElements): New method.
12536 (setPixels): New method.
12537 (toString): New method.
12539 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
12541 * java/awt/image/ComponentColorModel.java
12542 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12543 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12544 Mauve tests on this method. Improved documentation.
12546 2004-04-20 Michael Koch <konqueror@gmx.de>
12548 * javax/swing/JLayeredPane.java,
12549 javax/swing/plaf/BorderUIResource.java,
12550 javax/swing/plaf/ComponentUI.java,
12551 javax/swing/undo/CompoundEdit.java,
12552 javax/swing/undo/StateEdit.java:
12553 Fixed HTML tags in javadocs all over.
12555 2004-04-20 Michael Koch <konqueror@gmx.de>
12557 * javax/print/attribute/EnumSyntax.java
12558 (getOffset): Made protected.
12559 * javax/print/attribute/HashAttributeSet.java
12560 (HashAttributeSet): Likewise.
12561 * javax/print/attribute/ResolutionSyntax.java
12562 (getFeedResolution): Fixed typo in exception name.
12563 (getCrossFeedResolution): Likewise.
12564 * javax/print/attribute/SetOfIntegerSyntax.java
12565 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12566 * javax/print/attribute/TextSyntax.java
12567 (TextSyntax): Handle locale correctly.
12568 (hashCode): Calc better hashcode value.
12569 (equals): Fixed @return tag.
12570 (toString): New method.
12572 2004-04-20 Michael Koch <konqueror@gmx.de>
12574 * gnu/java/nio/FileLockImpl.java
12575 (static): Removed, not needed anymore.
12576 * gnu/java/nio/channels/FileChannelImpl.java
12577 (FileChannelImpl): Made final.
12578 (mode): Made private.
12579 (READ, WRITE, APPEND): Made public.
12580 (EXCL, SYNC, DSYNC): Likewise.
12581 (static): Load native JNI library, when needed.
12582 (length): Unused, removed.
12583 (available): Made public.
12584 (implPosition): Throws IOException.
12586 (implTruncate): Likewise.
12587 (unlock): Likewise.
12590 2004-04-20 Michael Koch <konqueror@gmx.de>
12592 * java/awt/AWTPermission.java,
12593 java/awt/Component.java,
12594 java/awt/ComponentOrientation.java,,
12595 java/awt/Dialog.java,
12596 java/awt/FontMetrics.java,
12597 java/awt/Graphics.java,
12598 java/awt/datatransfer/DataFlavor.java,
12599 java/beans/Introspector.java,
12600 java/beans/PropertyEditor.java,
12601 java/beans/PropertyEditorManager.java,
12602 java/beans/beancontext/BeanContextServiceProvider.java:
12603 Fixed HTML tags in javadocs all over.
12605 2004-04-20 Mark Wielaard <mark@klomp.org>
12607 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12608 MissingResourceException is thrown.
12609 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12610 null when a MissingResourceException is thrown. Should never happen.
12612 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
12614 * java/awt/image/DataBufferShort.java,
12615 java/awt/image/DataBufferFloat.java,
12616 java/awt/image/DataBufferDouble.java,
12617 java/awt/image/PixelInterleavedSampleModel.java: New files.
12618 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12619 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12621 2004-04-20 Michael Koch <konqueror@gmx.de>
12623 * Makefile.am (java_source_files): Added
12624 java/awt/image/DataBufferDouble.java,
12625 java/awt/image/DataBufferFloat.java,
12626 java/awt/image/DataBufferShort.java and
12627 java/awt/image/PixelInterleavedSampleModel.java.
12628 * Makefile.in: Regenerated.
12630 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
12632 * gcj/cni.h (JvAllocObject): Remove these obsolete,
12633 undocumented CNI calls.
12634 * include/java-interp.h (_Jv_InterpClass): No longer
12635 extends java.lang.Class.
12636 * java/lang/Class.h (Class): Add new field `aux_info'.
12637 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12638 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12639 Use Class->aux_info instead.
12640 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12641 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12642 Use Class->aux_info instead.
12643 * java/io/natObjectInputStream.cc (allocateObject): Use
12645 * java/lang/natClass.cc (newInstance): Likewise.
12646 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12647 * java/lang/natObject.cc (clone): Likewise.
12648 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12649 * java/lang/natVMClassLoader.cc (defineClass): Don't use
12650 JvAllocObject. Allocate klass->aux_info here for interpreted
12653 2004-04-17 Mark Wielaard <mark@klomp.org>
12655 * javax/swing/JToggleButton.java (ToggleButtonModel):
12656 Make public static inner class.
12657 * javax/swing/JTabbedPane.java (setComponentAt):
12658 Call Page.setComponent().
12659 (SCROLL_TAB_LAYOUT): Make public, value is 1.
12660 (WRAP_TAB_LAYOUT): Make public, value is 0.
12661 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12662 Make private static inner class.
12664 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
12666 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12667 arguments to match new signature. Remove FIXME comments.
12669 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
12671 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12676 2004-04-02 Olga Rodimina <rodimina@redhat.com>
12678 * Makefile.am: Added new file.
12679 * Makefile.in: Regenerate.
12680 * javax/swing/ImageIcon.java:
12681 (ImageIcon(file)): set description of the icon
12683 * javax/swing/JCheckBoxMenuItem.java:
12684 Mostly Implemented. Work in progress.
12685 * javax/swing/JRadioButtonMenuItem.java:
12686 Reimplement constructors to use JToggleButtonModel.
12687 * javax/swing/plaf/basic/BasicIconFactory.java:
12688 (getCheckBoxMenuItemIcon): return check box
12690 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12691 paint menu item selected only when it is armed and
12694 2004-04-02 David Jee <djee@redhat.com>
12696 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12697 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12698 * java/awt/Component.java
12699 (add): Set the parent of the popup as this component.
12700 * java/awt/PopupMenu.java
12701 (addNotify): Create popup menu when peer is null.
12702 (show): Call addNotify() if peer is null.
12703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12704 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12705 argument for gtk_menu_popup() as zero. This causes the popup menu to
12706 respond to any mouse button.
12708 2004-03-31 Olga Rodimina <rodimina@redhat.com>
12710 * Makefile.am: Added new file.
12711 * Makefile.in: Regenerate.
12712 * javax/swing/JRadioButtonMenuItem.java:
12714 * javax/swing/plaf/basic/BasicIconFactory.java:
12715 (getRadioButtonMenuItemIcon): Return
12717 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12718 (getPreferredSize): Add size of checkIcon if it
12720 (installDefaults): Don't initialize checkIcon.
12721 It's value will be set in subclasses.
12722 (uninstallDefaults): remove uninstallation of
12724 (paint): Moved code to paintMenuItem().
12725 (paintMenuItem): Implemented.
12726 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12727 UI delegate for JRadioButtonMenuItem.
12729 2004-03-29 Olga Rodimina <rodimina@redhat.com>
12731 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12732 Corrected position of the accelerator.
12734 2004-03-29 Olga Rodimina <rodimina@redhat.com>
12736 * Makefile.am: Added new file.
12737 * Makefile.in: Regenerate.
12738 * javax/swing/JMenuItem.java: Partly
12739 implemented. Work in progress
12740 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12741 Changed default value of acceleratorDelimiter.
12742 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12743 New class. Partly implemented.
12745 2004-03-26 Mark Wielaard <mark@klomp.org>
12747 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12748 (item_activate): Declare label before use.
12749 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12750 (gtkSetFont): Removed unused variable label.
12751 (addExposeFilter): Declare variables before use.
12752 (removeExposeFilter): Likewise.
12753 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12754 (ok_clicked): Declare str_fileName before use.
12756 2004-03-26 David Jee <djee@redhat.com>
12758 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12759 (addSeparator): Remove.
12760 * java/awt/Menu.java
12761 (separator): Remove static final MenuItem field.
12762 (separatorLabel): New static final String field.
12763 (addSeparator): Do not use peer method; use add(MenuItem) instead.
12764 Use separatorLabel to denote that it is a separator.
12765 (insertSeparator): Create a new MenuItem with separatorLabel, instead
12766 of reusing the static separator instance, because a MenuItem instance
12767 can't be added more than once without being cloned.
12768 * java/awt/peer/MenuPeer.java
12769 (addSeparator): Remove from interface.
12771 2004-03-26 David Jee <djee@redhat.com>
12773 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12774 (connectSignals): New native method declaration.
12775 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12776 * java/awt/MenuItem.java
12777 (getActionCommand): Return the label if the action command is not set.
12778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12779 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
12780 gtk_menu_shell_append().
12781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
12782 (item_activate): Fix argument type.
12783 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
12785 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
12787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12788 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
12789 given. Add the menu widget's top-level GtkWindow to the global window
12790 group, so it can grab the pointer.
12791 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
12792 gtk_menu_shell_append().
12794 2004-03-23 Graydon Hoare <graydon@redhat.com>
12796 * java/text/AttributedString.java
12797 (addAttribute): Fix off-by-one.
12798 (getIterator): Likewise.
12799 * java/text/AttributedStringIterator.java
12800 (getRunLimit): Correct logic.
12801 (getRunStart): Likewise.
12802 (getAttribute): Fix inequality.
12803 (getAttributes): Likewise.
12804 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
12806 2004-03-23 Kim Ho <kho@redhat.com>
12808 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12809 (calculateSizes): Return real width and height.
12811 2004-03-23 Kim Ho <kho@redhat.com>
12813 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12814 (calculateTabRects): Set the selectedRun before
12815 trying to rotate tabs.
12817 2004-03-23 Kim Ho <kho@redhat.com>
12819 * Makefile.am: New file
12820 * Makefile.in: Regenerate
12821 * java/awt/Graphics.java: (drawRect):
12822 Draw to the correct point.
12823 * javax/swing/DefaultSingleSelectionModel.java
12824 (isSelected): Return true if the selected index
12826 * javax/swing/JLabel.java: Do not change mnemonic
12827 index if text is null.
12828 * javax/swing/JProgressBar.java: Use JComponent's
12830 * javax/swing/JScrollBar.java: Ditto.
12831 * javax/swing/JSlider.java: Ditto.
12832 * javax/swing/JTabbedPane.java: Reimplement.
12833 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12834 Add defaults for TabbedPane.
12835 * javax/swing/plaf/basic/BasicArrowButton.java:
12837 * javax/swing/plaf/basic/BasicProgressBarUI.java:
12838 (paintDeterminate): Don't paint String if it's
12840 (paintIndeterminate): ditto.
12841 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12844 2004-03-19 Michael Koch <konqueror@gmx.de>
12846 * java/awt/image/AffineTransformOp.java
12847 (AffineTransformOp): Made public.
12848 * javax/swing/JComponent.java
12849 (listenerList): Made protected.
12850 (accessibleContext): Likewise.
12851 * javax/swing/JList.java
12852 (valueChanged): Dont use internal fields of ListSelectionEvent.
12853 * javax/swing/JViewport.java
12854 (getView): Dont use internal fields of Component.
12855 (addImpl): Likewise.
12856 * javax/swing/Timer.java
12857 (isRunning): Made public.
12860 * javax/swing/UIDefaults.java
12861 (getInt): Made public.
12862 * javax/swing/plaf/basic/BasicListUI.java
12863 (mousePressed): Dont use internal fields of MouseEvent.
12864 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
12865 * javax/swing/plaf/basic/BasicScrollBarUI.java
12866 (arrowIcon): Made static.
12867 * javax/swing/plaf/basic/BasicViewportUI.java
12868 (stateChanged): Dont use internal field on ChangeEvent.
12869 * javax/swing/text/JTextComponent.java
12870 (getUI): Call UIManager.getUI().
12871 (updateUI): Use getUI().
12873 2004-03-19 Graydon Hoare <graydon@redhat.com>
12875 * javax/swing/JComponent.java: Turn off double buffer by default.
12876 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
12877 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
12878 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
12879 Use cairo to copy areas.
12880 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
12881 Initialize and set clip region.
12883 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
12885 * java/applet/Applet.java (preferredSize): Override deprecated
12886 variant of getPreferredSize.
12887 (minimumSize): Override deprecated variant of getMinimumSize.
12889 2004-03-15 Olga Rodimina <rodimina@redhat.com>
12891 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12892 (drawImage(img,xform,bgcolor,obs)): New Method.
12893 Helper function that every drawImage method will
12895 (drawRaster): Added new parameter, bgcolor. All
12896 transparent pixels are changed to bgcolor before
12898 (drawRenderedImage): Fixed to use changed drawRaster().
12899 (drawImage(image,xform,obs): Fixed to use new helper function
12900 (drawImage(image,op,x,y)): Ditto.
12901 (drawImage (img,x,y,observer)): Ditto.
12902 ((PainterThread) bgcolor): New Field.
12903 ((PainterThread) (setPixels)): Changed all transparent pixels
12905 (drawImage(img,x,y,width,height,bgcolor,observer)):
12906 Fixed FIXME - all the transparent pixels are
12907 changed to the specified bgcolor.
12908 (drawImage(img, x, y, width, height, observer): Changed to
12909 use function above.
12910 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
12911 Fixed FIXME- changed all transparent pixels to bgcolor.
12912 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
12913 Changed to use function above.
12915 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
12917 * java/applet/Applet.java (dimensions): New field.
12918 (getDimensions): New method.
12919 (getPreferredSize): Call getDimensions.
12920 (getMinimumSize): Likewise.
12922 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
12924 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
12925 * jni/classpath/jnilink.c: Likewise.
12927 * java/applet/Applet.java (getPreferredSize): New method.
12928 (getMinimumSize): New method.
12930 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
12932 * prims.cc (_Jv_AllocObject): Remove `size' argument.
12933 (_Jv_AllocObjectNoFinalizer): Likewise.
12934 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
12935 (_Jv_AllocPtrFreeObject): Likewise.
12936 (_Jv_AllocString): Moved from natString.cc. Call collector interface
12937 directly even in the JVMPI case.
12938 * gcj/cni.h (JvAllocObject): Remove `size' argument from
12939 _Jv_AllocObject calls.
12940 * gcj/javaprims.h: Update prototypes.
12941 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
12942 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
12943 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
12945 2004-04-14 Andrew Haley <aph@redhat.com>
12946 Bryce McKinlay <mckinlay@redhat.com>
12948 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
12949 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
12950 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
12952 * testsuite/libjava.lang/InvokeInterface.java: New file.
12953 * testsuite/libjava.lang/InvokeInterface.out: New file.
12955 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
12957 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
12959 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
12960 StackTraceElement directly.
12961 (newElement): New native helper method to create StackTraceElement
12962 bypassing Java access control.
12963 (createStackTraceElement): Use newElement() instead of directly
12964 calling StackTraceElement's constructor.
12965 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
12967 2004-04-01 Michael Koch <konqueror@gmx.de>
12969 * java/lang/SecurityManager.java
12970 (checkAwtEventQueueAccess): Implemented.
12972 2004-04-01 Gary Benson <gbenson@redhat.com>
12974 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
12975 (_Jv_SearchMethodInClass): Likewise.
12977 2004-03-26 Peter Moon <peterm@miraculum.com>
12979 * java/text/NumberFormat.java: Fix spelling of setCurrency
12982 2004-03-21 Anthony Green <green@redhat.com>
12984 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
12985 recursion when searching for the system ClassLoader.
12987 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
12989 * java/net/ServerSocket.java
12990 (accept): Close the socket when error occured.
12992 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
12994 * java/net/URI.java (parseURI): Added unquoting.
12995 (unquote): New method.
12996 (quoteAuthority): Implemented.
12997 (quote(String,String)): New method.
12998 (quotePath): Implemented.
12999 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
13000 (getSchemeSpecificPart): Removed FIXME comment.
13001 (getRawAuthority): Return new rawAuthority field.
13002 (getAuthority): Removed FIXME comment.
13003 (getRawUserInfo): Return new rawUserInfo field.
13004 (getUserInfo): Removed FIXME comment.
13005 (getRawPath): Return new rawPath field.
13006 (getPath): Removed FIXME comment.
13007 (getRawQuery): Return new rawQuery field.
13008 (getQuery): Removed FIXME comment.
13009 (getRawFragment): Return new rawFragment field.
13010 (getFragment): Removed FIXME comment.
13012 2004-03-20 Michael Koch <konqueror@gmx.de>
13014 * java/net/URLConnection.java: Merged copyright year with classpath.
13016 2004-03-20 Norbert Frese <postfach@nfrese.net>
13018 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
13019 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
13020 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
13022 (getObjectInputStream): Return object reference, throw IOException if null.
13023 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
13024 (getObjectOutputStream): Return object reference, throw IOException if null.
13025 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
13026 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
13027 (UnicastConnectionManager): Throw RemoteException if port is not available.
13028 (getInstance): Throw RemoteException.
13029 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
13030 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
13031 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13032 Collect Exceptions which are returned by a rmi-call and fix void returns.
13033 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13034 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13035 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13036 (dispatch): Answer ping messages which are sent by other java implementions.
13037 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13038 for every rmi-message and fix void return problems.
13039 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13040 (UnicastServerRef): Throw RemoteException.
13041 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13042 In some situations it is necessary to export a subclass of the class which has the _Stub.
13043 For instance when the class with has the _Stub is abstract.
13044 (findStubSkelClass): New method which looks for the class which has the _Stub.
13045 (getClientHost): Implementated.
13046 * gcc/libjava/java/rmi/server/RemoteServer.java
13047 (getClientHost): Implementated.
13048 * gcc/libjava/Makefile.am (rmi_java_source_files):
13049 Added gnu/java/rmi/server/RMIIncomingThread.java.
13050 * Makefile.in: Regenerated.
13052 2004-03-20 Michael Koch <konqueror@gmx.de>
13054 * java/net/InetAddress.java
13055 (getLocalHostname): Added javadoc.
13057 2004-03-19 Per Bothner <per@bothner.com>
13059 * configure.in: FILE variable overrides FLATFORM when linking
13060 natFileChannelXXX.cc.
13062 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
13063 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
13065 2004-03-19 Per Bothner <per@bothner.com>
13067 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
13068 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
13069 * Makefile.am: Update accordingly.
13070 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
13071 as aliases for UnicodeLittle and UnicodeBig.
13073 2004-03-20 Mark Wielaard <mark@klomp.org>
13075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13076 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13077 Don't access ws when it is null.
13078 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13081 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
13083 * java/lang/ThreadGroup.java (list): Changed print to println.
13085 2004-03-19 Mark Wielaard <mark@klomp.org>
13087 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
13090 2004-02-10 Randolph Chung <tausq@debian.org>
13092 * configure.in: Build java for hppa target.
13093 * configure: Regenerate.
13094 * libjava/configure.host (hppa-*): Add target.
13095 * libjava/sysdeps/pa/lock.h: New file.
13097 2004-03-19 Mark Wielaard <mark@klomp.org>
13099 Reported by Stephen Crawley
13100 * java/io/FilePermission.java (implies): Use String.length() -1 to
13101 access last char of String.
13103 2004-03-19 Michael Koch <konqueror@gmx.de>
13105 * java/awt/image/AffineTransformOp.java
13106 (AffineTransformOp): Made public.
13107 * javax/swing/JComponent.java
13108 (listenerList): Made protected.
13109 (accessibleContext): Likewise.
13110 * javax/swing/JList.java
13111 (valueChanged): Dont use internal fields of ListSelectionEvent.
13112 * javax/swing/JViewport.java
13113 (getView): Dont use internal fields of Component.
13114 (addImpl): Likewise.
13115 * javax/swing/Timer.java
13116 (isRunning): Made public.
13119 * javax/swing/UIDefaults.java
13120 (getInt): Made public.
13121 * javax/swing/plaf/basic/BasicListUI.java
13122 (mousePressed): Dont use internal fields of MouseEvent.
13123 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13124 * javax/swing/plaf/basic/BasicScrollBarUI.java
13125 (arrowIcon): Made static.
13126 * javax/swing/plaf/basic/BasicViewportUI.java
13127 (stateChanged): Dont use internal field on ChangeEvent.
13128 * javax/swing/text/JTextComponent.java
13129 (getUI): Call UIManager.getUI().
13130 (updateUI): Use getUI().
13132 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13134 * verify.cc: Undef PC.
13136 2004-03-18 Michael Koch <konqueror@gmx.de>
13138 * java/nio/channels/spi/AbstractSelectableChannel.java
13139 (keys): Initialize at declaration.
13140 (locate): keys cant be null.
13142 (addSelectionKey): New method.
13143 (removeSelectionKey): New method.
13144 * java/nio/channels/spi/AbstractSelectionKey.java
13145 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13146 * java/nio/channels/spi/AbstractSelector.java
13147 (provider): Javadoc added.
13148 (cancelledKeys): Javadoc added.
13149 (cancelKey): Javadoc added, add key to cancelledKeys.
13150 (deregister): Implemented.
13152 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13154 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13155 MAP_FAILED to void *.
13157 2004-03-12 Graydon Hoare <graydon@redhat.com>
13159 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13160 * javax/swing/JComponent.java (paint): Use persistent double buffer.
13161 * javax/swing/JList.java (ListListener): Revalidate on changes.
13162 * javax/swing/JScrollPane.java: Reimplement.
13163 * javax/swing/JViewport.java: Reimplement.
13164 * javax/swing/ScrollPaneLayout.java: Reimplement.
13165 * javax/swing/ViewportLayout.java: Tidy up.
13166 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13167 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13168 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13169 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13170 backing store only.
13172 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
13174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13175 (window_wm_protocols_filter): New function.
13176 (window_focus_in_cb): Remove function.
13177 (window_focus_out_cb): Likewise.
13178 (window_focus_or_active_state_change_cb): New function.
13179 (create): Add filter that removes WM_TAKE_FOCUS client messages.
13180 (connectSignals): Don't attach handlers to focus-in-event or
13181 focus-out-event signals. Handle notify signal.
13183 2004-03-11 David Jee <djee@redhat.com>
13185 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13186 (gtkSetLabel): New native method declaration.
13187 (setLabel): Use gtkSetLabel.
13188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13189 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13191 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
13193 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13194 black when color argument is null.
13196 2004-03-10 Kim Ho <kho@redhat.com>
13198 * java/awt/Container.java: Remove check
13201 2004-03-10 Kim Ho <kho@redhat.com>
13203 * java/awt/Container.java: (visitChild):
13204 Remove candidate clip. Use the component
13206 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13207 (handleEvent): Use the PaintEvent's clip.
13209 2004-03-10 Kim Ho <kho@redhat.com>
13211 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13212 (handleEvent): Don't set the clip for the
13215 2004-03-09 Graydon Hoare <graydon@redhat.com>
13217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
13218 Fix double <-> fixed macros, reset font transform.
13219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13222 2004-03-09Â Kim Ho <kho@redhat.com>
13224 * java/awt/Container.java: (visitChild): Move
13225 the x and y coordinate of the component rectangle
13226 to correct position.
13227 (handleEvent): Forward drag events to the pressed
13229 * javax/swing/plaf/basic/BasicScrollBarUI.java:
13231 (ArrowButtonListener::mousePressed): Stop the
13233 (mouseDragged): Implement.
13234 (TrackListener::mousePressed): Only react if
13235 the press doesn't occur on the thumb, otherwise
13236 just set the offset.
13237 (TrackListener::mouseReleased): Unset the isAdjusting
13239 (createIncreaseIcon): Switch icon.
13240 (createDecreaseIcon): Switch icon.
13241 (calculatePreferredSize): Use width.
13242 (getThumbBounds): Use the top as the lower value.
13243 (layoutVScrollBar): Switch the button locations.
13244 (paintIncreaseHighlight): Paint correct side of thumb.
13245 (paintDecreaseHighlight): ditto.
13246 (valueForYPosition): Use top as the lower value.
13247 * javax/swing/plaf/basic/BasicSliderUI.java:
13249 (mouseDragged): Implement.
13250 (mousePressed): Only react when the thumb isn't
13251 pressed, otherwise just set offset.
13252 (mouseReleased): Handle a release of the thumb.
13253 (scrollDueToClickInTrack): Stop the timer first.
13254 * javax/swing/JProgressBar.java:
13255 (setString): Fix change condition.
13256 * javax/swing/JSeparator.java:
13259 2004-03-08 David Jee <djee@redhat.com>
13261 * java/awt/image/AffineTransformOp.java:
13262 (filter): Use Graphics2D interface instead of directly using the
13263 GdkGraphics2D peer.
13265 2004-03-05 David Jee <djee@redhat.com>
13267 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13268 (handleEvent): Action events are generated upon MOUSE_RELEASED.
13269 * java/awt/Container.java
13270 (acquireComponentForMouseEvent): Fixed.
13271 (handleEvent): Fixed.
13272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13273 (state_to_awt_mods_with_button_states): New method.
13274 (pre_event_handler): Fixed mouse event generation.
13276 2004-03-05 Olga Rodimina <rodimina@redhat.com>
13278 gnu/java/awt/peer/gtk/GdkGraphics2D.java
13279 (GdkGraphics2D (BufferedImage)): Initialize
13280 pixmap associated with specified BufferedImage.
13281 (setPaint): Changed implementation of Texture
13282 Paint to use AffineTransformOp.
13283 * java/awt/image/AffineTransformOp.java
13284 (createCompatibleDestRaster): Throw RasterFormatException
13285 if resulting width or height of raster is 0.
13287 2004-03-04 Olga Rodimina <rodimina@redhat.com>
13289 * java/awt/image/AffineTransformOp.java:
13290 Removed unnecessary field interpolationType.
13291 Formatted some of the lines to be consistent with
13293 (AffineTransformOp): Create new RenderingHints
13294 containing specified interpolation type.
13295 (createCompatibleDestImage): Implemented.
13296 (createCompatibleDestRaster): Implemented.
13297 (filter): Implemented.
13298 (getBounds2D(BufferedImage)): Implemented.
13299 (getBounds2D(Raster)): Implemented.
13300 (getInterpolationType): Get interpolation value from
13303 2004-03-04 David Jee <djee@redhat.com>
13305 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13306 (setFont): Check if child peers are null.
13308 2004-03-04 Graydon Hoare <graydon@redhat.com>
13310 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13311 .libs in -L option.
13312 (libjava_arguments): Add new libraries to argument list.
13314 2004-03-02 Olga Rodimina <rodimina@redhat.com>
13316 * Makefile.am: Added java/awt/image/AffineTransformOp.java
13317 * Makefile.in: Re-generated.
13318 * java/awt/image/AffineTransformOp.java: New Class.
13320 2004-03-01 Olga Rodimina <rodimina@redhat.com>
13322 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13323 (setPaint): Interpret correctly TexturePaint's
13325 (drawImage): Fixed scale factors of the affine
13328 2004-02-27 David Jee <djee@redhat.com>
13330 * gnu/java/awt/peer/gtk/GdkGraphics.java
13331 (GdkGraphics(Component)): Inherit font from component.
13332 (drawString): Use font style.
13333 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13334 (gtkSetFont): New native method declaration.
13335 (setFont): New method.
13336 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13337 (gtkSetFont): New native method declaration.
13338 (setFont): Call new native method gtkSetFont.
13339 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13340 (setFont): For all child components who do not their fonts set,
13341 set their peers' fonts with this container's font.
13342 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13343 Move all native method declarations to the top for readability.
13344 (gtkSetFont): New native method declaration.
13345 (setFont): New method.
13346 * java/awt/Component.java
13347 (setFont): Invalidate after setting the font.
13348 * java/awt/Container.java
13349 (invalidateTree): New method.
13350 (setFont): Invalidate the container tree after setting the font.
13351 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13352 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13354 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13356 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13358 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13360 2004-02-27 Olga Rodimina <rodimina@redhat.com>
13362 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13363 (updateBufferedImage): New helper function.
13364 Updates BufferedImage in memory if it was changed.
13365 (draw): changed to update BufferedImage in memory after
13366 this drawing operation
13368 (draw3DRect): Ditto.
13369 (fill3DRect): Ditto.
13370 (clearRect): Ditto.
13371 (drawRaster): Ditto.
13372 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
13373 no affine transformation.
13374 (drawGlyphVector): Ditto.
13376 2004-02-26 Olga Rodimina <rodimina@redhat.com>
13378 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13379 (isBufferedImageGraphics): New Helper function.
13380 Returns true if this graphics2d can be used to draw
13381 into buffered image and false otherwise.
13382 (updateImagePixels): New Helper function.
13383 Updates pixels in the BufferedImage.
13384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13385 (getImagePixels): New function. Returns pixels
13386 of the buffered image associated with
13389 2004-02-26 David Jee <djee@redhat.com>
13391 * java/awt/BorderLayout.java
13392 (layoutContainer): Fix width and height calculations to ensure
13393 that they're non-negative.
13394 * java/awt/Component.java
13395 (setBackground): If c is null, inherit from closest ancestor whose
13396 background color is set.
13398 2004-02-26 Kim Ho <kho@redhat.com>
13400 * Makefile.am: Add new files.
13401 * Makefile.in: Re-generate.
13402 * javax/swing/JProgressBar.java:
13403 (JProgressBar(int, int int)): Throw
13404 IllegalArgumentException if orientation is
13406 (JProgressBar(BoundedRangeModel)): Create
13407 ChangeListener and register it. UpdateUI.
13408 (getChangeListeners): Implement.
13409 (setModel): Reset ChangeListener.
13410 * javax/swing/JScrollBar.java: Implement.
13411 * javax/swing/JSeparator.java: Implement.
13412 * javax/swing/JSlider.java:
13413 (JSlider(int, int, int, int)): Throw
13414 IllegalArgumentException if orientation
13416 (getChangeListeners): Fix method name.
13417 * javax/swing/SwingUtilities.java:
13418 (layoutCompoundLabel): If there is no text,
13419 set the text rectangle dimensions to 0.
13420 * javax/swing/plaf/basic/BasicButtonUI.java:
13421 (paint): If there is no text, don't paint it.
13422 * javax/swing/plaf/basic/BasicScrollBarUI.java:
13424 * javax/swing/plaf/basic/BasicSeparatorUI.java:
13426 * javax/swing/plaf/basic/BasicSliderUI.java:
13427 (propertyChange): If the model changes, change
13428 the listeners accordingly.
13430 2004-02-25 Graydon Hoare <graydon@redhat.com>
13432 * javax/swing/AbstractButton.java: Add "final" qualifiers.
13433 * javax/swing/JList.java: Reimplement.
13434 * javax/swing/DefaultListSelectionModel.java: Reimplement.
13435 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13436 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13437 * javax/swing/ListModel.java: Javadoc.
13438 * javax/swing/ListSelectionModel.java: Add missing methods.
13439 * javax/swing/AbstractListModel.java: Javadoc and corrections.
13440 * javax/swing/DefaultListModel.java: Javadoc and corrections.
13441 * javax/swing/ListModel.java: Javadoc and corrections.
13442 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13444 2004-02-25 David Jee <djee@redhat.com>
13446 * gnu/java/awt/peer/gtk/GtkFontPeer.java
13447 (GtkFontPeer): Change default size to 12.
13448 * gnu/java/awt/peer/gtk/GtkToolkit.java
13449 (getFontPeer): Change default size to 12.
13450 (getClasspathFontPeer): Likewise. Set default name to "Default".
13451 * java/awt/Font.java
13452 (Font(Map)): Call Font(String,Map).
13453 (Font(String,Map)): If attrs is null, initialize it as an empty
13454 HashMap, which will ensure that the Font will get default attributes.
13456 2004-02-25 David Jee <djee@redhat.com>
13458 * gnu/java/awt/peer/gtk/GtkFontPeer.java
13459 (GtkFontPeer(String,int)): Call the new constructor with size 1.
13460 (GtkFontPeer(String,int,int)): New constructor with size attribute.
13461 * gnu/java/awt/peer/gtk/GtkToolkit.java
13462 (getFontPeer(String,int)): Call the new overload method with size 1.
13463 (getFontPeer(String,int,int)): New method. Overloaded with size
13465 (getClasspathFontPeer): Set the size of the font.
13467 2004-02-24 Olga Rodimina <rodimina@redhat.com>
13469 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13470 (bimage): New field.
13471 (GdkGraphics2D): New Constructor. Constructs Graphics
13472 object that can be used to draw into the Buffered Image.
13473 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13474 (GdkGraphicsEnvironment): Fixed to include public
13476 (createGraphics): Implemented.
13477 * gnu/java/awt/peer/gtk/GtkToolkit.java
13478 (getLocalGraphicsEnvironment): Implemented.
13479 * java/awt/GraphicsEnvironment.java:
13480 (getLocalGraphicsEnvironment): Implemented.
13481 * java/awt/image/BufferedImage.java:
13482 (createGraphics): Implemented.
13484 2004-02-24 David Jee <djee@redhat.com>
13486 * java/awt/Component.java
13487 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13488 * java/awt/Container.java
13489 (addNotifyContainerChildren): Fix event enabling.
13491 2004-02-23 Olga Rodimina <rodimina@redhat.com>
13493 * Makefile.am: Added
13494 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13495 * Makefile.in: Re-generated.
13496 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13499 2004-02-19 Kim Ho <kho@redhat.com>
13501 * Makefile.am: Add BasicProgressBarUI
13502 * Makefile.in: Regenerate.
13503 * javax/swing/JProgressBar.java:
13505 * javax/swing/plaf/basic/BasicLookAndFeel.java
13506 Add constants for JProgressBar.
13507 * javax/swing/plaf/basic/BasicProgressBarUI.java
13509 * javax/swing/plaf/basic/BasicSliderUI.java
13511 (calculateGeometry): New method
13512 (paint): Remove unnecessary size calculations.
13514 2004-02-18 Olga Rodimina <rodimina@redhat.com>
13516 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13517 (drawRaster): Fixed small error that caused
13518 imageToUser transformation to be set incorrectly.
13519 (toString): Implemented.
13521 2004-02-18 David Jee <djee@redhat.com>
13523 * java/awt/CardLayout.java
13524 (addLayoutComponent): Show the first component added as the default.
13525 (removeLayoutComponent): After removing, show the next component.
13526 (gotoComponent): If there is only one component, show it and return.
13528 2004-02-18 Kim Ho <kho@redhat.com>
13530 * javax/swing/JSlider.java: Re-order
13532 * javax/swing/JLabel.java: Re-order
13534 * javax/swing/JComponent.java:
13535 (addPropertyChangeListener):
13537 (removePropertyChangeListener):
13539 (firePropertyChangeEvent):
13542 2004-02-17 David Jee <djee@redhat.com>
13544 * java/awt/Component.java
13545 (show): Dispatch ComponentEvent via system event queue.
13548 (resize): Likewise.
13549 (reshape): Likewise.
13550 * java/awt/Window.java
13551 (setBoundsCallback): Likewise.
13553 2004-02-17 David Jee <djee@redhat.com>
13555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13556 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13557 Use gtk_widget_set_size_request() instead of the deprecated
13558 gtk_widget_set_usize().
13560 2004-02-17 Kim Ho <kho@redhat.com>
13562 * javax/swing/JSlider.java: Fix comments and
13563 make property strings constants.
13564 (createStandardLabels): Use the labels
13565 preferred size as bounds.
13566 * javax/swing/plaf/basic/BasicSliderUI.java
13568 (ScrollHandler::actionPerformed): Don't
13569 calculate the timer stop value. Let the
13570 MouseListeners find the stop location.
13571 (getPreferredHorizontalSize): Re-implement.
13572 (getPreferredVerticalSize): ditto.
13573 (getMinimumHorizontalSize): ditto.
13574 (getMinimumVerticalSize): ditto.
13575 (getPreferredSize): ditto.
13576 (getMinimumSize): ditto.
13577 (getMaximumSize): ditto.
13578 (paintTicks): Use doubles to find the
13580 (paintHorizontalLabel):Â Use preferredSize
13581 as initial width and height.
13582 (paintVerticalLabel): ditto.
13584 2004-02-17 Kim Ho <kho@redhat.com>
13586 * javax/swing/JLabel.java: Changed
13587 property strings to constants.
13588 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13590 (setText): Change mnemonic index if
13592 (setDisplayedMnemonicIndex): Fire property
13594 (getDisplayedMnemonicIndex): Remove check
13595 against short text.
13597 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13599 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13600 (drawImage(img,xform,obs)): Invert xform before
13601 passing the xform to cairo.
13602 (drawImage(img,x,y,bgcolor,obs)): Implemented.
13603 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13605 (drawImage (img,x,y,w,h,obs)): Implemented.
13606 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13607 bgcolor,obs)): Partly implemented.
13608 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13610 * java/awt/image/BufferedImage.java:
13611 (copyData): if dest is null, create raster with same
13612 dimensions as the current image.
13614 2004-02-16 Graydon Hoare <graydon@redhat.com>
13616 * javax/swing/plaf/basic/BasicLabelUI.java
13617 (getPreferredSize): Use layoutCL.
13618 * javax/swing/plaf/basic/BasicGraphicsUtils.java
13619 (getPreferredButtonSize): Start with empty view rect, layout using
13620 component's preferred alignment.
13621 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13624 2004-02-16 David Jee <djee@redhat.com>
13626 * java/awt/Component.java
13627 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13628 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13629 (move): Erase old bounds and repaint new bounds. Dispatch
13630 COMPONENT_MOVED ComponentEvent.
13631 (resize): Erase old bounds and repaint new bounds. Dispatch
13632 COMPONENT_RESIZED ComponentEvent.
13633 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13635 * java/awt/Window.java
13636 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13639 2004-02-16 Olga Rodimina <rodimina@redhat.com>
13641 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13642 (setRenderingHint): Added implementation of
13643 Interpolation rendering hints.
13644 (setRenderingHints): Ditto.
13645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13646 (drawPixels): fixed to allow user to choose type
13647 of filtering that should be used when displaying images.
13648 (cairoSurfaceSetFilter): New method. Sets filter type for
13649 interpolation of pixel values.
13651 2004-02-16 David Jee <djee@redhat.com>
13653 * java/awt/GridBagLayout.java
13654 (calcCellSizes): Rows or columns with zero sizes should still be
13655 considered for extra space distribution.
13657 2004-02-16 Kim Ho <kho@redhat.com>
13659 * javax/swing/JLabel.java: Re-implement.
13660 * javax/swing/plaf/basic/BasicLabelUI.java
13662 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13665 2004-02-16 Kim Ho <kho@redhat.com>
13667 * javax/swing/JSlider.java: Fix indentation and comments.
13668 (setModel): Remove null check to conform with Sun's.
13669 (setOrientation): Throw exception if not
13670 HORIZONTAL or VERTICAL.
13671 (getInverted): Use private variable instead of
13672 ComponentOrientation.
13673 (setInverted): ditto.
13674 * javax/swing/plaf/basic/BasicSliderUI.java:
13675 Fix indentation and comments.
13676 (propertyChange): Remove check for inverted slider, handle
13678 (getMinimumSize): Return preferred size.
13679 (getMaximumSize): ditto.
13680 (calculateFocusRect): Don't relocate rectangle.
13681 (drawInverted): Return XOR of the slider's inversion and
13682 the component's orientation.
13683 (paint): Update leftToRightCache
13685 2004-02-13 David Jee <djee@redhat.com>
13687 * java/awt/GridBagLayout.java
13688 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13689 code to helper methods.
13690 (sortBySpan): New helper method.
13691 (distributeSizeAndWeight): Likewise.
13692 (calcCellWeights): Likewise.
13693 (calcCellSizes): Add comments.
13695 2004-02-13 David Jee <djee@redhat.com>
13697 * java/awt/Component.java
13698 (show): Only do something if component is invisible at the moment.
13699 (hide): Only do something if component is visible at the moment.
13700 (reshape): If lightweight, erase old bounds and repaint new bounds.
13702 2004-02-13 Kim Ho <kho@redhat.com>
13704 * Makefile.am: Updated for new file.
13705 * Makefile.in: Regenerated.
13706 * javax/swing/JSlider.java: Reimplement.
13707 * javax/swing/SwingUtilities.java
13708 (layoutCompoundLabel): Use icon height
13710 (paintComponent): Implement.
13711 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13712 Add JSlider defaults.
13713 * javax/swing/plaf/basic/BasicSliderUI.java:
13714 Implement. New file.
13716 2004-03-17 Michael Koch <konqueror@gmx.de>
13718 * gnu/java/net/PlainDatagramSocketImpl.java
13719 (RECEIVE_LOCK): New member field.
13720 (SEND_LOCK): New member field.
13721 (send0): New method.
13722 (send): Synchronize on SEND_LOCK.
13723 (receive0): New method.
13724 (receive): Synchronize on RECEIVE_LOCK.
13725 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13726 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13727 gnu/java/net/natPlainDatagramSocketImplWin32.cc
13728 (send0): Renamed from send.
13729 (receive0): Renamed from receive.
13730 2004-03-17 Michael Koch <konqueror@gmx.de>
13732 * gnu/java/net/natPlainSocketImplPosix.cc
13733 (write): Just call write(jbyteArray, offset, len).
13734 (read): Just call read(jbyteArray, offset, len).
13736 2004-03-16 Michael Koch <konqueror@gmx.de>
13738 * javax/swing/JTabbedPane.java
13739 (serialVersionUID): New field.
13741 2004-03-16 Norbert Frese <postfach@nfrese.net>
13743 * java/net/InetAddress.java
13744 (getByName): Handle hostname == "" case.
13746 2004-03-16 Dalibor Topic <robilad@kaffe.org>
13748 Reported by: Adam Heath <doogie@debian.org>
13749 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13752 2004-03-15 Michael Koch <konqueror@gmx.de>
13754 * java/util/Locale.java: Reverting my last patch
13755 and add a comment why the original version was okay.
13757 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
13759 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13760 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13761 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13762 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13764 2004-03-12 Michael Koch <konqueror@gmx.de>
13766 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13768 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
13770 * java/net/URI.java (toURL): Implemented.
13772 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
13774 * java/net/URI.java
13775 (URI_REGEXP) updated to contain scheme specific part.
13776 (SCHEME_SPEC_PART_GROUP) new constant.
13777 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13778 updated to make room for SCHEME_SPEC_PART_GROUP.
13779 (parseURI) parse scheme specific part.
13780 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
13781 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
13782 getQuery, getFragment) implemented.
13784 2004-03-12 Dalibor Topic <robilad@kaffe.org>
13786 * libraries/javalib/java/net/URI.java
13787 partially implemented using java.util.regex.
13788 (URI_REGEXP) new constant. Used to parse URIs.
13789 (SCHEME_GROUP) new constant representing index of scheme group
13791 (AUTHORITY_GROUP) new constant representing index of authority
13792 group in parsed URI.
13793 (PATH_GROUP) new constant representing index of path group in
13795 (QUERY_GROUP) new constant representing index of query group in
13797 (FRAGMENT_GROUP) new constant representing index of fragment
13798 group in parsed URI.
13799 (getURIGroup) new static utility method.
13800 (parseURI) implemented.
13801 (quote) stub for new static utility method.
13802 (quoteAuthority) stub for new static utility method.
13803 (quoteHost) stub for new static utility method.
13804 (quotePath) stub for new static utility method.
13805 (quoteUserInfo) stub for new static utility method.
13807 (create) don't throw URISyntaxException. Implemented.
13808 (toString) implemented.
13810 2004-03-12 Michael Koch <konqueror@gmx.de>
13812 * java/net/HttpURLConnection.java
13813 (getResponseCode): Fix another typo in javadoc.
13815 2004-03-11 Michael Koch <konqueror@gmx.de>
13817 * java/util/logging/Level.java
13818 (parse): Use String.equals() instead of ==.
13820 2004-03-11 Michael Koch <konqueror@gmx.de>
13822 * gnu/java/net/protocol/jar/Connection.java
13823 (getContentLength): New method.
13825 2004-03-11 Michael Koch <konqueror@gmx.de>
13827 * gnu/java/net/PlainSocketImpl.java:
13828 Reformated to merge better with classpath's version.
13830 2004-03-11 Michael Koch <konqueror@gmx.de>
13832 * java/util/Locale.java
13833 (getISO3Language): Use String.equals() instead of ==.
13834 (getISO3Country): Likewise.
13836 2004-03-11 Dalibor Topic <robilad@kaffe.org>
13838 * java/text/AttributedString.java
13839 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
13840 Use HashMap instead of Hashtable since value can be null, and
13841 you can not store a null value in a Hashtable.
13843 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
13845 * java/text/AttributedStringIterator.java
13846 (getAllAttributesKey): Return only keys concerned
13847 by the current iterator.
13848 (getAttributes): Use strict inequality for
13851 2004-03-11 Michael Koch <konqueror@gmx.de>
13853 * java/net/HttpURLConnection.java:
13854 Fixed typo in javadoc.
13856 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
13858 * java/io/BufferedInputStream.java (marktarget): New field for max
13860 (CHUNKSIZE): New constant for incremental mark buffer allocation.
13861 (mark): Use new fields.
13863 (read(byte[],int,int)): Likewise.
13865 (refill): Likewise.
13867 2004-03-11 Mark Wielaard <mark@klomp.org>
13869 * java/beans/BeanDescriptor.java (BeanDescriptor):
13870 Set the FeatureDescriptor programmatic name.
13872 2004-03-11 Michael Koch <konqueror@gmx.de>
13874 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
13875 This file was was just copied form java/io/natFileDescriptorEcos.cc
13876 and never changed to compile correctly.
13878 2004-03-11 Michael Koch <konqueror@gmx.de>
13880 * gnu/java/nio/PipeImpl.java
13881 (SourceChannelImpl): Made final.
13882 (read): Implemented.
13883 (SinkChannelImpl): Made final.
13884 (write): Implemented.
13886 2004-03-11 Michael Koch <konqueror@gmx.de>
13888 * gnu/java/net/PlainDatagramSocketImpl.java:
13889 Reformated to match classpath's version more.
13891 2004-03-11 Michael Koch <konqueror@gmx.de>
13893 * gnu/java/awt/peer/ClasspathFontPeer.java:
13894 Fixed javadoc to be correct xhtml.
13895 * gnu/java/awt/peer/gtk/GtkArgList.java
13896 (add): Use Boolean.valueOf() instead of new Boolean().
13898 2004-03-09 Michael Koch <konqueror@gmx.de>
13900 * java/lang/Thread.java
13901 (runnable): Moved around.
13902 (daemon): Renamed from daemon_flag.
13903 (contextClassLoader): Renamed from context_class_loader.
13904 (Thread): Reordered constructors.
13905 (activeCount): Use group directly.
13906 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
13907 (holdsLock): Reworked javadoc.
13908 (setDaemon): Reworked.
13909 * java/lang/natThread.cc
13910 (destroy): Removed.
13912 2004-03-08 Anthony Green <green@redhat.com>
13914 * Makefile.am: Build property resource files into libgcj.
13915 * Makefile.in: Rebuilt.
13916 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13917 java/util/regex/PatternSyntaxException.java,
13918 gnu/regexp/CharIndexed.java,
13919 gnu/regexp/CharIndexedCharArray.java,
13920 gnu/regexp/CharIndexedInputStream.java,
13921 gnu/regexp/CharIndexedReader.java,
13922 gnu/regexp/CharIndexedString.java,
13923 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
13924 gnu/regexp/REException.java,
13925 gnu/regexp/REFilterInputStream.java,
13926 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
13927 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
13928 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
13929 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
13930 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
13931 gnu/regexp/RETokenLookAhead.java,
13932 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
13933 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
13934 gnu/regexp/RETokenStart.java,
13935 gnu/regexp/RETokenWordBoundary.java,
13936 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
13938 2004-03-03 Per Bothner <per@bothner.com>
13940 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
13941 Optimize when argument is a FileChannelImpl.
13942 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
13943 New native methods.
13944 * java/nio/channels/natChannels.cc: New file for new native methods.
13945 * Makefile.am: Update accordingly.
13947 2004-03-02 Jan Hubicka <jh@suse.cz>
13949 * configure.host: Pass -fno-omit-frame-pointer for i386.
13950 * configure.in: Likewise.
13951 * configure: Regenerate.
13953 2004-03-01 Per Bothner <per@bothner.com>
13955 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
13957 2004-02-29 Per Bothner <per@bothner.com>
13959 * java/nio/channels/FileChannelImpl.java: Moved to package
13960 gnu/java/nio/channels, since we need to refer to it from java.io.
13961 * java/nio/channels/natFileChannelImpl.cc: Removed file.
13962 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
13963 from java/nio/channels. Don't depend on FileDescriptor.
13964 (in, out, err): New static fields.
13966 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
13967 from FileDescriptor.
13968 (by): Removed MappedByteBuffer field.
13969 (map): New working implementation.
13970 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
13971 some code "ported" from natFileDescriptoPosix.cc.
13972 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
13973 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
13974 * java/io/FileDescriptor.java: Implement on top of FileChannel.
13975 Remove native methods.
13976 * Makefile.am, configure.in: Updated accordingly.
13978 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
13979 (ch): New FileChannelImpl field. Update constructor to match.
13980 (releaseImpl): Remove native method. Instead ...
13981 (release): Call unlock on channel.
13982 * gnu/java/nio/natFileLockImpl.cc: Removed file.
13984 * java/io/natFileDescriptorEcos.cc: Remove file.
13985 * java/io/natFileDescriptorPosix.cc: Remove file.
13986 * java/io/natFileDescriptorWin32.cc: Remove file.
13987 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
13988 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
13989 (<init>(FileChannelImpl)): New package-private constructor.
13990 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
13991 (available, close, read, skip): Implement using FileChannelImpl.
13992 (getFD): Allocate FileDescriptor if needed.
13993 (getChannel): Is now trivial.
13994 * java/io/FileOutputStream.java: Corresponding changes.
13995 * java/io/RandomAccessFile.java: Corresponding changes.
13997 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
13998 unmapImpl): New dummy methods, to be overridden by subclass.
13999 (finalize, isLoaded, load, force): New methods.
14000 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
14001 Now works, at least for read mapping.
14003 * java/lang/natPosixProcess.cc (startProcess): Implement standard
14004 streams using FileChannelImpl, not FileDescriptor.
14005 * java/lang/natWin32Process.cc (startProcess): Likewise.
14007 2004-02-28 Michael Koch <konqueror@gmx.de>
14009 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
14012 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
14014 * java/io/ObjectInputStream.java
14015 (readClassDescriptor): Keep elements of the mapping non null.
14016 (checkTypeConsistency): New method.
14017 (readFields): Fixed main loop and base logic. Small reindentation.
14018 * java/io/ObjectStreamField.java
14019 (lookupField): New method to update the field reference.
14020 (checkFieldType): New method.
14021 * java/io/ObjectStreamClass.java
14022 (setClass, setFields): Call lookupField when building the field
14023 database. Check the real field type.
14025 2004-02-28 Michael Koch <konqueror@gmx.de>
14027 * java/nio/ByteOrder.java
14028 (nativeOrder): Use equals() to compare strings.
14030 2004-02-26 Michael Koch <konqueror@gmx.de>
14032 * gnu/java/nio/FileLockImpl.java
14033 (finalize): Made protected.
14034 * java/nio/channels/FileChannel.java
14035 (MapMode.READ_ONLY): Made final.
14036 (MapMode.READ_WRITE): Made final.
14037 (MapMode.PRIVATE): Made final.
14038 * java/nio/channels/SocketChannel.java
14039 (open): Simplified code.
14040 * java/nio/channels/spi/AbstractSelectableChannel.java
14041 (registered): Unused, removed.
14042 (keyFor): Check channel is open, only locate key
14043 and not add a new one.
14044 (register): Don't delete attachments.
14046 2004-02-26 Michael Koch <konqueror@gmx.de>
14048 * gnu/java/awt/ComponentDataBlitOp.java
14049 (INSTANCE): Made final.
14050 * gnu/java/awt/image/ImageDecoder.java:
14052 (cm): Unused, removed.
14054 2004-02-26 Michael Koch <konqueror@gmx.de>
14056 * gnu/java/nio/DatagramChannelImpl.java
14057 (send): Check if target address is resolved.
14059 2004-02-26 Michael Koch <konqueror@gmx.de>
14061 * Makefile.am: Generate and install headers for inner classes in
14062 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14063 * Makefile.in: Regenerated.
14065 2004-02-24 Anthony Green <green@redhat.com>
14067 * java/lang/StringBuffer.java: No need to NULL out remainder of
14068 buffer since ensureCapacity_unsynchronized will have done this for
14071 2004-02-20 Michael Koch <konqueror@gmx.de>
14073 * gnu/java/net/protocol/jar/Handler.java
14074 (): Removed unneeded check for file != null. java.net.URL.getFile()
14075 returns an empty string but never null.
14077 2004-02-20 Michael Koch <konqueror@gmx.de>
14079 * gnu/gcj/convert/Convert.java
14080 (main): Use equals() to compare strings.
14082 2004-02-20 Michael Koch <konqueror@gmx.de>
14084 * javax/swing/AbstractButton.java: Made several constants final.
14085 (getRolloverSelectedIcon): Made public.
14086 (getSelectedIcon): Made public.
14088 2004-02-16 Per Bothner <per@bothner.com>
14090 * java/nio/CharBufferImpl.java: Inline super constructor.
14091 * java/nio/DoubleBufferImpl.java: Likewise.
14092 * java/nio/FloatBufferImpl.java: Likewise.
14093 * java/nio/IntBufferImpl.java: Likewise.
14094 * java/nio/LongBufferImpl.java: Likewise.
14095 * java/nio/ShortBufferImpl.java: Likewise.
14096 * java/nio/CharBuffer.java: Remove unused constructor.
14097 * java/nio/DoubleBuffer.java: Likewise.
14098 * java/nio/FloatBuffer.java: Likewise.
14099 * java/nio/IntBuffer.java: Likewise.
14100 * java/nio/LongBuffer.java: Likewise.
14101 * java/nio/ShortBuffer.java: Likewise.
14102 * java/nio/CharViewBufferImpl.java: New convenience constructor.
14103 Fix buggy call to super constructor.
14104 * java/nio/DoubleViewBufferImpl.java: Likewise.
14105 * java/nio/FloatViewBufferImpl.java: Likewise.
14106 * java/nio/IntViewBufferImpl.java: Likewise.
14107 * java/nio/LongViewBufferImpl.java: Likewise.
14108 * java/nio/ShortViewBufferImpl.java: Likewise.
14110 * java/nio/ByteBuffer.java (endian): Make non-private so other
14111 java.nio classes can inherit it.
14112 (<init>): Don't bother clearing array_offset.
14113 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
14114 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
14115 Remove redundant test.
14117 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14118 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14119 Use new XxxViewBufferImpl constructors.
14120 * java/nio/MappedByteBufferImpl.java: Likewise.
14121 * java/nio/DirectByteBufferImpl.java: Likewise.
14123 * java/nio/ByteBufferImpl.java: Remove one constructor.
14124 Inline super in remaining constructor.
14125 * java/nio/ByteBuffer.java: Remove unused constructor.
14127 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
14129 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
14130 * java/nio/DirectByteBufferImpl.java (owner): New field.
14131 (offset): Remove unused field.
14132 (<init>): Modify one and add another constructor. Change callers.
14133 (allocateDirect): Removed - not used.
14134 (getImpl, putImpl): Make static and pass address explicitly,
14135 to make them useful for MappedByteBufferImpl.
14136 (get, put): Check for underflow. Modify for new getImpl.
14137 (getImpl): New native method where target is array.
14138 (get(byte[],int,int)): Use the above.
14139 (adjustAddress): New static native method.
14140 (slice, duplicate, asReadOnly): New implementations.
14141 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14142 adjustAddress): New or updated native methods.
14144 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
14146 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14147 overflow of fieldmapping.
14149 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
14151 * javax/swing/undo/UndoManager.java: Re-written from scratch.
14153 2004-02-14 Per Bothner <per@bothner.com>
14155 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14156 Set closed before calling implCloseChannel, as in the spec.
14158 2004-02-09 Graydon Hoare <graydon@redhat.com>
14160 * javax/swing/ToggleButtonModel.java: Remove dead class.
14161 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14162 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14163 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14164 * Makefile.am: Update for new and removed files.
14165 * Makefile.in: Regenerate.
14167 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14168 * javax/swing/AbstractButton.java
14169 (AbstractButton): Initialize fields correctly in ctor.
14170 * javax/swing/JCheckbox.java
14171 (JCheckBox): Override painting flags.
14172 * javax/swing/DefaultButtonModel.java: Conform to sun.
14173 * javax/swing/JComponent.java (paint): Fill with background color
14175 (processComponentKeyEvent)
14176 (processFocusEvent)
14178 (processMouseMotionEvent): Remove event-consuming empty methods.
14179 (getUIClassID): Return "ComponentUI" not "JComponent"
14180 * javax/swing/JFrame.java: Remove some debugging chatter.
14181 (JFrame): Subscribe to window events.
14182 * javax/swing/JRadioButton.java
14183 (JRadioButton): Override painting flags.
14184 * javax/swing/JRootPane.java
14185 (JRootPane): Set background from UIDefaults.
14186 * javax/swing/JToggleButton.java
14187 (ToggleButtonModel): New inner class.
14188 (JToggleButton): Override layout alighment.
14189 * javax/swing/SwingUtilities.java:
14190 (getLocalBounds): Return width and height, not x and y.
14191 (calculateInnerArea): Use local bounds, not bounds.
14192 (layoutCompoundLabel): Provide overridden form.
14193 (layoutCompoundLabel): Correct bugs.
14194 * javax/swing/UIDefaults.java: Correct comment.
14195 * javax/swing/plaf/basic/BasicButtonUI.java:
14196 Move most logic into defaults, external listener.
14197 (paintIcon): Implement icon painting.
14198 (paint): Fix state painting to conform to changes in model.
14199 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14200 Remove most dead/wrong methods.
14201 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14202 * javax/swing/plaf/basic/BasicIconFactory.java:
14203 (DummyIcon): New class.
14204 (getMenuItemCheckIcon)
14205 (getMenuItemArrowIcon)
14207 (getCheckBoxMenuItemIcon)
14208 (getRadioButtonMenuItemIcon)
14209 (createEmptyFrameIcon): Return DummyIcons, not null.
14210 (getCheckBoxIcon): Implement an icon that looks like sun's.
14211 (getRadioButtonIcon): Implement an icon that looks like sun's.
14212 * javax/swing/plaf/basic/BasicLookAndFeel.java
14213 (initComponentDefaults): Fix impossible values, add some missing.
14214 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14215 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14216 Remove most dead/wrong methods.
14218 (getDefaultIcon): New method.
14219 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14220 Remove most dead/wrong methods.
14221 * javax/swing/plaf/metal/MetalLookAndFeel.java
14222 (getDefaults): Return super.getDefaults(), not BasicDefaults.
14223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14224 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14225 Implement "clearing" as drawing, when on pixmap drawables.
14227 * javax/swing/JButton.java (getUIClassID):
14228 * javax/swing/JCheckBox.java (getUIClassID):
14229 * javax/swing/JEditorPane.java (getUIClassID):
14230 * javax/swing/JLabel.java (getUIClassID):
14231 * javax/swing/JList.java (getUIClassID):
14232 * javax/swing/JOptionPane.java (getUIClassID):
14233 * javax/swing/JPanel.java (getUIClassID):
14234 * javax/swing/JPasswordField.java (uiClassID):
14235 * javax/swing/JRadioButton.java (getUIClassID):
14236 * javax/swing/JRootPane.java (getUIClassID):
14237 * javax/swing/JScrollPane.java (getUIClassID):
14238 * javax/swing/JTabbedPane.java (getUIClassID):
14239 * javax/swing/JToggleButton.java (getUIClassID):
14240 * javax/swing/JTree.java (getUIClassID):
14241 * javax/swing/JViewport.java (getUIClassID):
14242 * javax/swing/text/JTextComponent.java (getUIClassID):
14243 Return "fooUI" not "Jfoo"
14245 2004-02-11 Michael Koch <konqueror@gmx.de>
14247 * java/net/DatagramSocket.java
14248 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14250 (setBroadcast): Likewise.
14251 * java/net/MulticastSocket.java
14252 (setLoopbackMode): Likewise.
14253 * java/net/ServerSocket.java
14254 (setReuseAddress): Likewise.
14255 * java/net/Socket.java
14256 (setTcpNoDelay): Likewise.
14257 (setSoLinger): Likewise.
14258 (setOOBInline): Likewise.
14259 (setKeepAlive): Likewise.
14260 (setReuseAddress): Likewise.
14261 * java/net/URLConnection.java
14262 (setContentHandler): Replace == with equals().
14263 * java/net/URLStreamHandler.java
14264 (hostSEquals): Fix checking host addresses.
14265 (toExternalForm): Dont check protocol for null. We know already its
14268 2004-02-10 David Jee <djee@redhat.com>
14270 * java/awt/BorderLayout.java
14271 (calcCompSize): Invisible components get zero dimensions.
14272 * java/awt/Button.java
14273 (setLabel): Set actionCommand.
14274 * java/awt/Component.java
14275 (show): Invalidate component and parent container.
14278 2004-02-10 David Jee <djee@redhat.com>
14280 * java/awt/GridBagLayout.java
14281 (GridBagLayout): New private field, internalcomptable.
14282 (lookupInternalConstraints): New method.
14283 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14284 (GetLayoutInfo): Reimplement.
14285 (calcCellSizes): Ignore rows/columns with size 0.
14287 2004-02-10 Michael Koch <konqueror@gmx.de>
14289 * gnu/java/awt/EmbeddedWindow.java
14290 (setHandle): Use java.awt.Component.getPeer() instead of
14291 java.awt.Component.peer directly.
14293 2004-02-10 David Jee <djee@redhat.com>
14295 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14296 (gtkSetLabel): New native method definition.
14297 (setLabel): Use gtkSetLabel.
14298 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14299 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14301 2004-02-10 Alan Modra <amodra@bigpond.net.au>
14303 * include/powerpc-signal.h: Revert 2004-01-21 change.
14304 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
14305 from syscall for ppc32 versions.
14307 2004-02-08 Per Bothner <per@bothner.com>
14309 * java/nio/ByteBuffer.java (shiftDown): New helper method.
14310 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
14311 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
14312 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
14313 Pass ByteOrder parameter to most methods, since the underlying
14314 ByteBuffer's order isn't always what we should use.
14315 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
14316 * java/nio/DirectByteBufferImpl.java: Likewise.
14317 Use ByteBufferHelper methods.
14318 * java/nio/MappedByteBufferImpl.java: Likewise.
14319 (compact): Use shiftDown.
14320 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
14321 (get, put): Use ByteBufferHelper.
14322 (compact): Use new shiftDown method.
14323 (duplicate(boolean)): New helper method.
14324 (duplicate, asReadOnlyBuffer): Use it.
14325 (order): Return endian field.
14326 * java/nio/DoubleViewBufferImpl.java: Likewise.
14327 * java/nio/FloatViewBufferImpl.java: Likewise.
14328 * java/nio/IntViewBufferImpl.java: Likewise.
14329 * java/nio/LongViewBufferImpl.java: Likewise.
14330 * java/nio/ShortViewBufferImpl.java: Likewise.
14331 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
14332 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
14333 (compact): Re-implement using shiftDown.
14335 2004-02-08 Andreas Jaeger <aj@suse.de>
14337 * include/x86_64-signal.h: Fix typo.
14339 2004-02-08 Diego Novillo <dnovillo@redhat.com>
14341 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14342 qualifier to _regs.
14343 (HANDLE_DIVIDE_OVERFLOW): Likewise.
14345 2004-02-06 Michael Koch <konqueror@gmx.de>
14347 * java/io/ObjectInputStream.java
14348 (currentClassLoader): Reverted to old version of this method.
14350 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
14352 * java/io/ObjectInputStream.java: Made all calls
14353 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14354 use cached info from ObjectStreamClass. (readClassDescriptor):
14355 Cache more information in ObjectStreamClass. (processResolution,
14356 readFields): Use cached info from ObjectStreamClass.
14357 (newObject): Throw exception instead of returning null for failure.
14358 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14359 setCharField, setDoubleField, setFloatField, setIntField,
14360 setLongField, setShortField, setObjectField, readObjectParams):
14361 Removed. (dumpElement, dumpElementln): Removed dump flag condition
14363 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14364 (setClass): Added call to cacheMethods() (findMethod): New method.
14365 (cacheMethods): New method. (ObjectStreamClass): Added call to
14366 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14367 AccessController.doPrivileged to invoke setAccessible.
14368 (readObjectMethod, readResolveMethod, realClassIsSerializable,
14369 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14371 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14372 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14373 isPrimitive): Made safe for cases where type == null.
14374 (setBooleanField, setByteField, setCharField, setShortField,
14375 setIntField, setLongField, setFloatField, setDoubleField,
14376 setObjectField): New methods.
14378 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
14380 * java/awt/Component.java (getFont): Return a default font
14383 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14384 (Scrollbar (int, int, int, int, int)): Make default page
14386 (setValues): Only call peer.setValues if one of the values has
14388 (generateName): New method.
14389 (getUniqueLong): New method.
14390 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14391 (range_scrollbar): Remove structure.
14392 (post_adjustment_event): Remove function.
14393 (post_change_event): Accept jobject argument.
14394 (create): Cast jints to gdoubles. Round scrollbar values to the
14395 nearest integer. Clamp min, max and value settings.
14396 (connectJObject): Connect hook to widget->window.
14397 (connectSignals): Remove range_scrollbar structure variables.
14398 Remove "move-slider" connection. Pass global peer reference to
14399 "value-changed" callback.
14400 (setLineIncrement): Cast jint value to gdouble.
14401 (setPageIncrement): Likewise.
14402 (setValues): Likewise. Clamp min, max and value settings.
14404 2004-02-05 Michael Koch <konqueror@gmx.de>
14406 * javax/swing/AbstractCellEditor.java
14407 (getCellEditorValue): Removed.
14408 * javax/swing/Box.java: Reformated.
14409 (serialVersionUID): New field.
14410 * javax/swing/ButtonGroup.java:
14411 Removed some weird whitespace.
14412 * javax/swing/CellEditor.java: Reformated.
14413 * javax/swing/CellRendererPane.java
14414 (serialVersionUID): New field.
14415 (AccessibleCellRendererPaneserialVersionUID): New field.
14416 * javax/swing/DefaultListModel.java
14417 (serialVersionUID): New field.
14418 * javax/swing/JEditorPane.java
14419 (serialVersionUID): New field.
14420 (setPage): Throws IOException.
14421 (addHyperlinkListener): Implemented.
14422 (removeHyperlinkListener): Implemented.
14423 (getHyperlinkListener): New method.
14424 * javax/swing/JFileChooser.java
14425 (serialVersionUID): New field.
14426 (AccessibleJFileChooser.serialVersionUID): New field.
14427 (addActionListener): Implemented.
14428 (removeActionListener): Implemented.
14429 (getActionListeners): New method.
14430 * javax/swing/JFormattedTextField.java
14431 (serialVersionUID): New field.
14432 (AbstractFormatter.serialVersionUID): New field.
14433 (clone): Throws CloneNotSupportedException
14434 (setEditValid): Add missing argument.
14435 (stringToValue): Throws ParseExcpetion.
14436 (valueToString): Throws ParseException.
14437 (commitEdit): Throws ParseException.
14438 * javax/swing/JLabel.java
14439 (serialVersionUID): New field.
14440 * javax/swing/JList.java
14441 (serialVersionUID): New field.
14442 (addListSelectionListener): Reformated.
14443 (removeListSelectionListener): Reformated.
14444 (getListSelectionListeners): New method.
14445 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14447 (serialVersionUID): New field.
14448 * javax/swing/table/AbstractTableModel.java
14449 (getValueAt): Removed.
14450 (getColumnCount): Removed.
14451 (getRowCount): Removed.
14453 2004-02-05 Michael Koch <konqueror@gmx.de>
14455 * java/awt/datatransfer/DataFlavor.java
14456 (imageFlavor): Javadoc added.
14457 (javaJVMLocalObjectType): Fixed.
14459 2004-02-05 Michael Koch <konqueror@gmx.de>
14461 * java/lang/Thread.java
14462 (Thread): Reordered.
14463 (setContextClassLoader): Fixed javadoc comment.
14464 (setPriority): Reordered.
14465 (yield): Reordered.
14466 (initialize_native): Reordered.
14467 (gen_name): Reordered.
14469 2004-02-05 Michael Koch <konqueror@gmx.de>
14471 * java/lang/Thread.java: Reordered fields, reformated much code,
14472 no functional changes, some variables renamed, javadoc comments
14475 2004-02-05 Michael Koch <konqueror@gmx.de>
14477 * java/util/zip/Deflater.java,
14478 java/util/zip/DeflaterOutputStream.java,
14479 java/util/zip/GZIPInputStream.java:
14480 Reformated and javadoc comments merged from classpath.
14482 2004-02-05 Michael Koch <konqueror@gmx.de>
14484 * gnu/java/nio/NIOServerSocket.java
14485 (impl): Unused, removed.
14486 * gnu/java/nio/SocketChannelImpl.java
14487 (finnishConnect): Don't throw NoConnectionPendingException if not
14488 connected or no connection pending.
14490 2004-02-02 Graydon Hoare <graydon@redhat.com>
14492 * javax/swing/SwingUtilities.java: Many new functions.
14493 * java/awt/Container.java (LightweightDispatcher): Reimplement.
14494 * javax/swing/basic/BasicGraphicsUtils.java
14495 (getPreferredButtonSize): Start layout from top-left corner.
14497 2004-02-04 Olga Rodimina <rodimina@redhat.com>
14499 * java/awt/geom/AffineTransform.java:
14500 Corrected comments on the field definitions for
14502 (shear): Fixed few errors that caused shear
14503 transformation to be performed incorrectly.
14504 (createInverse): Fixed to return correct
14505 inverse of the given matrix.
14507 2004-02-03 Tom Tromey <tromey@redhat.com>
14509 * java/lang/natPosixProcess.cc (startProcess): Handle case where
14510 PATH or LD_LIBRARY_PATH is not set in parent environment.
14512 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
14514 * gnu/java/awt/peer/gtk/GtkListPeer.java,
14515 java/awt/BorderLayout.java, java/awt/CardLayout.java,
14516 java/awt/CheckboxGroup.java, java/awt/Choice.java,
14517 java/awt/Component.java, java/awt/Container.java,
14518 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14519 java/awt/LayoutManager2.java, java/awt/List.java,
14520 java/awt/Menu.java, java/awt/MenuBar.java,
14521 java/awt/MenuItem.java, java/awt/Polygon.java,
14522 java/awt/Rectangle.java, java/awt/ScrollPane.java,
14523 java/awt/Scrollbar.java, java/awt/TextArea.java,
14524 java/awt/TextField.java,
14525 java/awt/image/renderable/RenderContext.java,
14526 javax/swing/JApplet.java: Fix handling of alias methods, where a
14527 method has been deprecated in favour of a new one with the same
14528 funtion but a different name. Put the method implementation in
14529 the deprecated method and have the new method call the
14530 deprecated one. Make all other code call the new method.
14532 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
14534 * gnu/java/nio/DatagramChannelImpl.java
14535 (inChannelOperation): New field.
14536 (isInChannelOperation): New accessor.
14537 (setInChannelOperation): New modifier.
14538 (receive): Use capacity() - position() of destination
14539 buffer instead of remaining(). Set and reset our "in
14540 channel operation indicator" before and after delegating
14541 the receive to our datagram socket. Removed testing code.
14542 Update destination buffer's current position if it is
14543 backed by a byte array (hasArray() is true).
14544 (send): Set and reset our "in channel operation indicator"
14545 before and after delegating the send to our datagram socket.
14546 Removed testing code. Update source buffer's current position
14547 if it is backed by a byte array (hasArray() is true).
14548 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14549 Use capacity() - position() of destination buffer instead
14551 * java/net/DatagramSocket.java (receive): Don't throw an
14552 IllegalBlockingModeException if we have a non-blocking
14553 channel which initiated this operation.
14556 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
14558 * configure.in: Add pkgconfig check for glib and gthread.
14559 * configure: Regenerate.
14561 2004-02-01 Michael Koch <konqueror@gmx.de>
14563 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14565 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14566 * verify.cc (debug_print): Mark 'fmt' unused.
14568 2004-01-30 Michael Koch <konqueror@gmx.de>
14570 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14571 * configure: Regenerated.
14572 * glib-2.0.m4: Removed.
14573 * gtk-2.0.m4: Removed.
14574 * libart.m4: Removed.
14575 * pkg.m4: New file.
14577 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
14579 * gnu/java/net/PlainSocketImpl.java
14580 (inChannelOperation): New field.
14581 (isInChannelOperation): New accessor.
14582 (setInChannelOperation): New modifier.
14583 * gnu/java/nio/ServerSocketChannelImpl.java
14584 (accept): Set and reset our server socket's PlainSocketImpl's
14585 "in channel operation" indicator before and after delegating
14586 the accept to our server socket.
14587 * gnu/java/nio/SocketChannelImpl.java
14588 (connect): Set and reset our socket's PlainSocketImpl's "in channel
14589 operation" indicator before and after delegating the operation to
14593 * java/net/ServerSocket.java (implAccept): Don't throw an
14594 IllegalBlockingModeException if we have a non-blocking
14595 channel which initiated this accept operation.
14596 * java/net/Socket.java (connect): Don't throw an
14597 IllegalBlockingModeException if we have a non-blocking
14598 channel which initiated this connect operation.
14599 * java/nio/channels/spi/AbstractSelectableChannel.java
14600 (configureBlocking): Only call implConfigureBlocking() if
14601 the desired blocking mode is different from our current one.
14603 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
14605 * java/io/BufferedReader.java (sbuf): New field.
14606 (readLine): Use String.valueOf instead of new String() as per
14607 Per Bothner's suggestion. Use instance sbuf field instead of a
14608 local StringBuffer instance.
14609 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14610 caller's buffer to refill().
14611 (read(void)): Pass our internal work buffer to refill if our
14612 input queue is empty.
14613 (refill): Changed return type to int. Use the specified buffer
14614 instead of our work buffer as per Bryce McKinlay's suggestion.
14615 Return the number of characters read or -1 for EOF.
14617 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14619 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14621 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14623 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14624 * Makefile.in: Re-generated.
14625 * gnu/awt/xlib/XFontPeer.java: New file.
14626 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14627 (setClip): Commented out debug printout.
14628 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14629 (getFontPeer): Return XFontPeer.
14630 (getLocalGraphicsEnvironment): New method.
14631 (getClasspathFontPeer): New method.
14632 (createFont): New method.
14634 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14636 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14639 2004-01-29 Kim Ho <kho@redhat.com>
14641 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14642 (gtkLayoutSetVisible): New method
14643 (setMenuBar): Hide layout before setting MenuBar
14644 and reshow it after.
14645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14646 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14648 2004-01-28 Michael Koch <konqueror@gmx.de>
14650 * gnu/java/lang/ClassHelper.java
14651 (getPackagePortion): Removed.
14653 2004-01-28 Michael Koch <konqueror@gmx.de>
14655 * javax/swing/JComponent.java
14656 (listenerList): Initalize globally.
14657 (ancestor_list): Removed.
14658 (veto_list): Removed.
14659 (change_list): Removed.
14660 (get_veto_list): Removed.
14661 (get_change_list): Removed.
14662 (get_ancestor_list): Removed.
14663 (removeAncestorListener): Reimplemented.
14664 (removePropertyChangeListener): Likewise.
14665 (removeVetoableChangeListener): Likewise.
14666 (addAncestorListener): Likewise.
14667 (addPropertyChangeListener): Likewise.
14668 (addVetoableChangeListener): Likewise.
14669 (getListeners): New method.
14670 (getAncestorListeners): Likewise.
14671 (getVetoableChangeListeners): Likewise.
14672 (fireVetoableChange): Throws PropertyVetoException.
14673 * javax/swing/JEditorPane.java
14674 (JEditorPane): Throws IOException.
14676 2004-01-28 David Jee <djee@redhat.com>
14678 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14679 (create): Set the default foreground color to
14680 java.awt.SystemColor.windowText.
14682 2004-01-27 Michael Koch <konqueror@gmx.de>
14684 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14685 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14686 Reindented to merge with classpath.
14688 2004-01-27 David Jee <djee@redhat.com>
14690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14691 (addExposeFilter): Handle GtkFramePeer separately.
14692 (removeExposeFilter): Likewise.
14694 2004-01-27 Michael Koch <konqueror@gmx.de>
14696 * gnu/java/net/protocol/http/Connection.java
14697 (getOutputStream): Fixed typo.
14699 2004-01-27 Michael Koch <konqueror@gmx.de>
14701 * java/lang/Class.java
14702 (getConstructor): Removed SecurityException from throws clause.
14703 (_getConstructors): Likewise.
14704 (getConstructors): Likewise.
14705 (getDeclaredConstructor): Likewise.
14706 (getDeclaredClasses): Likewise.
14707 (getDeclaredConstructors): Likewise.
14708 (getDeclaredField): Likewise.
14709 (getDeclaredMethod): Likewise.
14710 (getDeclaredMethods): Likewise.
14711 (getField): Likewise.
14712 (getMethod): Likewise.
14713 (getMethods): Likewise.
14715 2004-01-27 Kim Ho <kho@redhat.com>
14717 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14718 (removeMenuBarPeer): Remove MenuBarPeer argument.
14719 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14720 (dispose): Call native method.
14721 * java/awt/Frame.java (setMenuBar): Create and remove
14722 MenuBar peers only if the Frame has a peer.
14723 (addNotify): Create the MenuBar peer if one exists.
14724 (removeNotify): Remove MenuBar peer if one exists.
14725 * java/awt/Menu.java: Fix imports.
14726 (addNotify): Don't use full class name.
14727 (removeNotify): Call removeNotify on all children.
14728 * java/awt/MenuBar.java (removeNotify): Call
14729 removeNotify on all children.
14730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14731 (removeMenuBarPeer): Remove MenuBarPeer argument.
14732 Iterate through children to find the Frame's MenuBar.
14733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14735 (dispose): Remove references to the MenuComponent.
14737 2004-01-27 Michael Koch <konqueror@gmx.de>
14739 * javax/swing/AbstractCellEditor.java: Reformated.
14740 * javax/swing/DefaultListSelectionModel.java
14741 (listenerList): Made protected.
14742 (addListSelectionListener): Javadoc added.
14743 (removeListSelectionListener): Likewise.
14744 (getListeners): Likewise.
14745 (getListSelectionListeners): Likewise.
14746 * javax/swing/JComboBox.java: Merged copyright year.
14747 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14749 2004-01-26 Andrew Haley <aph@redhat.com>
14751 * javax/swing/table/JTableHeader.java: Extend JComponent
14753 2004-01-26 Kim Ho <kho@redhat.com>
14755 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14758 2004-01-26 Kim Ho <kho@redhat.com>
14760 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14762 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14763 height and let the Layout Managers readjust anything that
14765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14766 (moveLayout): New method. Shift everything in the Gtk
14767 layout in the Y direction by an offset.
14769 2004-01-26 David Jee <djee@redhat.com>
14771 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14772 (handleEvent): Implemented. Handles PaintEvents.
14773 (paint): Implemented. Use GTK native methods to queue updates
14774 for this heavyweight peer.
14775 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14776 (handleEvent): Removed.
14777 * java/awt/Component.java
14778 (paint): Implemented. Explictly paint the heavyweight peer.
14779 (update): Clear the background for heavyweight components.
14780 (paintAll): No need to call peer.paint() anymore.
14781 (processEvent): Don't process PaintEvents here. It's now done in
14782 the peer's handleEvent().
14783 (processPaintEvent): Removed.
14784 * java/awt/Container.java
14785 (paint): No need to call super.paint(). Visit heavyweight
14787 (update): Don't clear the background here. It's done in
14788 Component.update().
14789 (visitChildren): Added check to not recurse into Containers.
14790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14791 (filter_expose_event_handler): New method. Filter unwanted
14792 expose events while painting heavyweight peers.
14793 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14794 New method. Connect filter and block pre_event_handler.
14795 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14796 New method. Disconnect filter and unblock pre_event_handler.
14797 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
14798 New method. Invalidate and update given area.
14799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14800 (pre_event_handler): Add checks for unwanted expose events.
14802 2004-01-26 David Jee <djee@redhat.com>
14804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14805 (find_bg_color_widget): For GtkButton, return its child.
14807 2004-01-26 Kim Ho <kho@redhat.com>
14809 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
14811 (setMenuBar): Grab MenuBar height and change insets.
14812 (setBounds): Account for MenuBar height.
14813 (postInsetsChangedEvent): Ditto.
14814 (postSizeAllocateEvent): Remove.
14815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14816 (menubar_resize_cb): Remove
14817 (setMenuBarPeer): Remove callback.
14818 (getMenuBarHeight): Use size requisition instead of
14821 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
14823 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
14824 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
14826 (setColumns): Remove FIXME -- peer will retrieve number of
14827 columns by calling getColumns.
14828 (setRows): Likewise for number of rows.
14829 (next_text_number): New field.
14830 (paramString): Fix param string.
14831 (generateName): New method.
14832 (getUniqueLong): New method.
14834 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
14836 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
14837 image observer of image loading status.
14838 (getImage (String)): Start image production.
14839 (getImage (URL)): Likewise.
14841 2004-01-25 Michael Koch <konqueror@gmx.de>
14843 * java/lang/Class.java: Imports reworked, reformated.
14844 (Class): Javadoc added.
14845 (forName): Likewise.
14846 (getClasses): Likewise.
14847 (getClassLoader): Likewise.
14848 (getComponentType): Likewise.
14849 (getConstructor): Likewise.
14850 (getConstructors): Likewise.
14851 (getDeclaredConstructor): Likewise.
14852 (getDeclaredClasses): Likewise.
14853 (getDeclaredConstructors): Likewise.
14854 (getDeclaredField): Likewise.
14855 (getDeclaredMethod): Likewise.
14856 (getDeclaredMethods): Likewise.
14857 (getDeclaringClass): Likewise.
14858 (getField): Likewise.
14859 (getInterfaces): Likewise.
14860 (getMethod): Likewise.
14861 (getMethods): Likewise.
14862 (getModifiers): Likewise.
14863 (getName): Likewise.
14864 (getResource): Likewise.
14865 (getResourceAsStream): Likewise.
14866 (getSigners): Likewise.
14867 (setSigners): Likewise.
14868 (getSuperclass): Likewise.
14869 (isArray): Likewise.
14870 (isAssignableFrom): Likewise.
14871 (isInstance): Likewise.
14872 (isInterface): Likewise.
14873 (isPrimitive): Likewise.
14874 (newInstance): Likewise.
14875 (getProtectionDomain): Likewise.
14876 (toString): Likewise.
14878 (initializeClass): Likewise.
14879 (finalize): Likewise.
14881 2004-01-24 Michael Koch <konqueror@gmx.de>
14883 * gnu/java/net/protocol/jar/Connection.java
14884 (hdrHash): Removed.
14886 (gotHeaders): Removed.
14887 (getHeaderField): Removed.
14888 (getHeaderFields): Removed.
14889 (getHeaderFieldKey): Removed.
14891 (getField): Removed.
14892 (getHeaders): Removed.
14894 2004-01-24 Michael Koch <konqueror@gmx.de>
14896 * Makefile.am: Added library version to gtk peer lib.
14897 * Makefile.in: Regenerated.
14899 2004-01-24 Michael Koch <konqueror@gmx.de>
14901 * java/util/zip/InflaterInputStream.java: Merged class documentation
14904 2004-01-21 Jakub Jelinek <jakub@redhat.com>
14906 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
14907 header. For __powerpc64__ provide the default-signal.h definitions
14909 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
14910 instead of the dummy definitions.
14911 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
14912 (powerpc64*-*): Remove with_libffi_default.
14913 Only add -mminimal-toc for 64-bit compilations.
14914 * configure.in: Use powerpc-signal.h on powerpc64 as well.
14915 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
14916 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
14917 * configure: Rebuilt.
14919 2004-01-23 Michael Koch <konqueror@gmx.de>
14921 * gnu/java/nio/FileLockImpl.java: Compile fixes.
14923 2004-01-23 Michael Koch <konqueror@gmx.de>
14925 * java/lang/VMClassLoader.java: Reworked imports.
14927 2004-01-23 Michael Koch <konqueror@gmx.de>
14929 * javax/swing/AbstractAction.java: Reformated.
14931 2004-01-23 Michael Koch <konqueror@gmx.de>
14933 * java/text/CollationElementIterator.java:
14934 (setText): New method.
14936 2004-01-23 Michael Koch <konqueror@gmx.de>
14938 * gnu/java/nio/FileLockImpl.java:
14939 Fixed filename in copyright.
14940 (released): Removed.
14941 (finalize): New method.
14942 * gnu/java/nio/natFileLockImpl.cc
14943 (releaseImpl): Implemented.
14944 * java/nio/channels/FileChannelImpl.java:
14946 (lock): Implemented.
14947 (lockImpl): New method.
14948 (tryLock): Implemented.
14949 (tryLockImpl): New method.
14950 * java/nio/channels/natFileChannelImpl.cc
14951 (lockImpl): New method.
14952 (tryLockImpl): New method.
14954 2004-01-23 Michael Koch <konqueror@gmx.de>
14956 * java/io/FileDescriptor.java
14957 (lock): New method.
14958 (tryLock): New method.
14959 (unlock): New method.
14960 * java/io/natFileDescriptorEcos.cc
14961 (lock): New method.
14962 (tryLock): New method.
14963 (unlock): New method.
14964 * java/io/natFileDescriptorPosix.cc
14965 (lock): New method.
14966 (tryLock): New method.
14967 (unlock): New method.
14968 * java/io/natFileDescriptorWin32.cc
14969 (lock): New method.
14970 (tryLock): New method.
14971 (unlock): New method.
14973 2004-01-23 Michael Koch <konqueror@gmx.de>
14975 * java/io/FileDescriptor.java
14976 (sync): Moved around, added javadoc.
14981 (setLength): Likewise.
14983 (getLength): Likewise.
14984 (getFilePointer): Likewise.
14986 (available): Likewise.
14987 (finalize): Likewise.
14989 2004-01-23 Michael Koch <konqueror@gmx.de>
14991 * javax/swing/AbstractAction.java: Reformated.
14992 (getPropertyChangeListeners): New method.
14993 * javax/swing/AbstractCellEditor.java: Reformated.
14994 (getCellEditorListeners): New method.
14995 * javax/swing/DefaultListSelectionModel.java
14996 (listenerList): New field.
14997 (listeners): Removed.
14998 (get_listeners): Removed.
14999 (addListSelectionListener): Rewritten.
15000 (removeListSelectionListener): Rewritten.
15001 (getListSelectionListeners): New method.
15002 (getListeners): New method.
15003 * javax/swing/JComboBox.java: Imports reworked.
15004 (addActionListener): Implemented.
15005 (removeActionListener): Implemented.
15006 (addItemListener): Implemented.
15007 (removeItemListener): Implemented.
15008 (addPopupMenuListener): Implemented.
15009 (removePopupMenuListener): Implemented.
15010 (getActionListeners): New method.
15011 (getItemListeners): New method.
15012 (getPopupMenuListeners): New method.
15014 2004-01-23 Michael Koch <konqueror@gmx.de>
15016 * gnu/java/net/protocol/http/Connection.java
15017 (connect): Don't initialize bufferedOutputStream if not needed.
15018 (sendRequest): Set property for content length if content is present.
15019 Write content only if present.
15020 (getOutputStream): Check if already connected, dont connect,
15021 initalize bufferedOutputStream if needed.
15023 2004-01-23 Michael Koch <konqueror@gmx.de>
15025 * java/io/FileDescriptor.java
15026 (in, out, err): Added javadoc.
15027 (static): Merged loading code.
15028 (fd, position): Moved around.
15030 2004-01-23 Michael Koch <konqueror@gmx.de>
15032 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15035 2004-01-23 Michael Koch <konqueror@gmx.de>
15037 * java/lang/Class.java,
15038 java/lang/Object.java,
15039 java/lang/Thread.java: Merged copyright with classpath.
15041 2004-01-23 Michael Koch <konqueror@gmx.de>
15043 * java/io/FileDescriptor.java: Merged copyright with classpath to
15044 start merging this class.
15046 2004-01-22 Tom Tromey <tromey@redhat.com>
15049 * testsuite/libjava.lang/pr13107_2.xfail: New file.
15050 * testsuite/libjava.lang/pr13107_3.xfail: New file.
15051 * testsuite/libjava.lang/pr13107_3.java: New file.
15052 * testsuite/libjava.lang/pr13107_3.out: New file.
15053 * testsuite/libjava.lang/pr13107_2.java: New file.
15054 * testsuite/libjava.lang/pr13107_2.out: New file.
15055 * testsuite/libjava.lang/pr13107.java: New file.
15056 * testsuite/libjava.lang/pr13107.out: New file.
15057 * verify.cc (jsr_ptrs): Removed.
15058 (entry_points): Likewise.
15059 (struct subr_info): Likewise.
15060 (struct subr_entry_info): Likewise.
15061 (type_val::unused_by_subroutine_type): Likewise.
15062 (type::merge): Don't handle unused_by_subroutine_type.
15063 (type::print): Likewise.
15064 (state::flags): Removed.
15065 (state::subroutine): Likewise.
15066 (state::seen_subrs): Likewise.
15067 (state::NO_STACK): Likewise.
15068 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15069 (state): Updated all methods.
15070 (state::clean_subrs): Removed.
15071 (state::state): Removed `ret_semantics' flag.
15072 (state::copy): Likewise.
15073 (state::add_subr): Removed.
15074 (state::enter_subroutine): Likewise.
15075 (type::set_return_address): New method.
15076 (handle_jsr_insn): Set return address on the type. Always
15077 invalidate PC after call.
15078 (check_nonrecursive_call): Removed.
15079 (~_Jv_BytecodeVerifier): Updated.
15080 (branch_prepass): Removed special handling of jsr.
15081 (note_branch_target): Likewise.
15082 (get_subroutine): Removed.
15083 (state::merge): Don't merge subroutines and don't handle
15084 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
15085 (state::note_variable): Removed.
15086 (state::is_unmerged_ret_state): Likewise.
15087 (state::print): Updated.
15088 (set_variable): Likewise.
15089 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
15090 and jsr_semantics arguments. Updated for new reverification
15092 (pop_jump): Rewrote.
15093 (construct_primitive_array_type): Updated.
15094 (state::next): Removed.
15095 (INVALID_STATE): New define.
15096 (state::INVALID): Removed.
15097 (state::NO_NEXT): New value.
15098 (state::pc, state::next): New fields.
15099 (state::get_pc): New method.
15100 (next_verify_pc): Removed.
15101 (next_verify_state): New field.
15102 (verify_instructions_0): Always check for falling off end.
15103 (linked): New type.
15104 (linked_utf8): Removed.
15105 (states): Changed type.
15106 (type::state_mergeable_p): New method.
15107 (state::state_mergeable_p): Likewise.
15108 (handle_ret_insn): Removed most code.
15109 (state::reverify): New method.
15110 (add_new_state): Likewise.
15111 (state::set_pc): Likewise.
15113 2004-01-22 Jeff Sturm <jsturm@one-point.com>
15116 * testsuite/libjava.compile/PR13733.java: New file.
15117 * testsuite/libjava.compile/PR13733.xfail: New file.
15119 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
15120 Michael Koch <konqueror@gmx.de>
15122 * javax/swing/table/DefaultTableCellRenderer.java
15123 (DefaultTableCellRenderer): Added javadoc for the class and for
15124 the constructor, Border instance, create an EmptyBorder.
15125 (UIResource): Removed the comment at the end of the class
15126 (setForeground): New method.
15127 (setBackground): New method.
15128 (updateUI): New method.
15129 (getTableCellRendererComponent): Rewritten with the help of
15130 dvholten and Stephane Meslin-Weber.
15131 (validate): New method.
15132 (repaint): New method.
15133 (firePropertyChange): New method.
15134 (setValue): New method.
15136 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
15138 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15139 (connectJObject): Replace printf calls with g_assert statements.
15140 Move property-notify-event signal connection to ...
15141 (connectSignals): Connect property-notify-event signal. Iterate
15142 through the vbox's children to find layout.
15144 2004-01-22 Graydon Hoare <graydon@redhat.com>
15146 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
15147 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15148 Predicate static initialization on GtkToolkit.useGraphics2D().
15149 * java/awt/Component.java (processPaintEvent): Consume event.
15150 * javax/swing/AbstractButton.java: Reimplement, document.
15151 * javax/swing/DefaultButtonModel.java: Reimplement, document.
15152 * javax/swing/JComponent.java (paint): Use double buffer.
15153 (listenerList): Enable member.
15154 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15155 * javax/swing/JToggleButton.java
15156 (JToggleButton): Modify model constructor.
15157 * javax/swing/SwingUtilities.java
15158 (layoutCompoundLabel): Adjust arithmetic.
15159 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15160 * javax/swing/plaf/basic/BasicGraphicsUtils.java
15161 (getPreferredButtonSize): Include margins in calculation.
15162 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15163 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15164 Receive up events from subordinate layout component.
15166 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
15168 * java/awt/Component.java (show): Set visible to true before
15171 2004-01-21 Kim Ho <kho@redhat.com>
15173 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15175 (removeMenuBarPeer): Make package private.
15176 (setMenuBarPeer): Make package private.
15177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15178 (menubar_resize_cb): Mark attributes unused.
15179 (getMenuBarHeight): ditto.
15181 2004-01-21 David Jee <djee@redhat.com>
15183 * java/awt/Container.java
15184 (LightweightDispatcher.handleEvent): Add an extra check to avoid
15185 dispatching MOUSE_ENTERED event twice. Translate the point for
15186 the mouse event target before dispatching the event.
15188 2004-01-20 Jakub Jelinek <jakub@redhat.com>
15190 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15191 lib_org_w3c_dom_la_LDFLAGS): New.
15192 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15193 * Makefile.in: Rebuilt.
15195 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
15197 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15198 Calculate proper offsets for heavyweight components packed in
15199 lightweight containers.
15201 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15202 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15203 (native create): Add width parameter.
15204 (create): Calculate text entry width based on current font's
15205 metrics and number of columns. Set TextField's font if not
15206 already set. Call native create.
15207 (gtkEntryGetBorderWidth): New native method.
15208 (gtkEntryGetSize): Remove method.
15209 (getMinimumSize): Call minimumSize.
15210 (getPreferredSize): Call preferredSize.
15211 (minimumSize): Calculate minimum size based on backing
15212 GtkEntry's borders, font metrics and number of columns.
15213 (preferredSize): Likewise for preferred size.
15214 (get_border_width): New static function.
15216 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15217 Override GtkWindowPeer's setResizable method to account for menu
15218 bar height when setting the frame's size.
15220 2004-01-19 Matthias Klose <doko@debian.org>
15222 * libtool-version: Increased `current' to 6.
15224 2004-01-19 Kim Ho <kho@redhat.com>
15226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15227 (connectJObject): Iterate through the vbox's children to find layout.
15229 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15231 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15232 isDispatchThread method to replace wrong test condition.
15234 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15236 * java/awt/EventQueue.java (pop): Prevent racing condition to add
15237 events to the queue out of order by acquiring locks in the proper
15238 order and not by releasing one before acquiring the other.
15240 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15242 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15243 visible so that dialog can be reused.
15245 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15247 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15248 events may be handled by any queue in the stack.
15250 2004-01-19 Kim Ho <kho@redhat.com>
15252 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15253 MenuBarPeer parameter.
15254 (removeMenuBarPeer): New native method.
15255 (setMenuBar): Call remove if menu bar is null. Adjust insets
15257 (postSizeAllocateEvent): New method. Called when menu bar size is
15258 allocated. Adjust insets and redo layout.
15259 (GtkFramePeer): Set menu bar during frame creation.
15260 (postConfigureEvent): Adjust position and size to accomodate
15262 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15263 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15264 (addNotify): Create the peer if it doesn't exist and call addNotify
15265 for the menu's items.
15266 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15267 * java/awt/MenuItem.java (addNotify): Create the peer if it
15269 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15270 (removeMenuBarPeer): New method. Remove menu bar on the current
15272 (setMenuBarPeer): Add the menu bar to the current frame and the
15273 callback for size-allocate events on the menu bar.
15274 (getMenuBarHeight): Add menu bar parameter.
15275 (menubar_resize_cb): New callback method for postSizeAllocate events.
15277 Also: Fix indentation on last ChangeLog entry.
15279 2004-01-16 Kim Ho <kho@redhat.com>
15281 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15282 (gtkWidgetGetDimensions): Remove.
15283 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15284 (gtkWidgetGetDimensions): Remove.
15286 2004-01-16 Tom Tromey <tromey@redhat.com>
15288 * java/awt/Container.java: Typo and indentation fixes.
15290 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15291 * java/lang/natVMClassLoader.cc: ...here. New file.
15292 * Makefile.in: Rebuilt.
15293 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15295 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15297 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15298 Discard GDK_ENTER_NOTIFY related to ungrabs.
15300 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15302 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15303 is called for an intermediate queue.
15305 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
15307 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15308 (window_property_changed_cb): Set id_set.
15310 2004-01-16 Kim Ho <kho@redhat.com>
15312 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15313 it is a FileDialog and has dimensions of 0 by 0, then the initial
15314 size is set to size request plus insets.
15315 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15316 (gtkWidgetGetDimensions): Override method.
15317 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15318 (gtkWidgetGetDimensions): Override method. Returns size request plus
15321 2004-01-16 Andrew Haley <aph@redhat.com>
15323 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15324 * sysdep/i386/locks.h: Likewise.
15326 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15328 * java/awt/EventDispatchThread.java (run): Stop running when
15330 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15331 Reset the queue after transferring its contents.
15332 (push): Start a new dispatch thread if none is running.
15334 2004-01-16 Olga Rodimina <rodimina@redhat.com>
15336 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15337 (doPolygon): set fill rule of polygon to
15338 WIND_EVEN_ODD by default.
15340 2004-01-15 Olga Rodimina <rodimina@redhat.com>
15342 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15343 Implemented rendering hints related methods.
15344 (getDefaultHints): New helper method. Returns
15345 default rendering hints.
15346 (walkPath): changed to normalize path if
15347 the KEY_STROKE_CONTROL key is in "normalize" mode.
15348 (draw3DRect): changed coordinates of rectangle by +0.5
15349 if in "normalize" mode.
15351 2004-01-15 Tom Tromey <tromey@redhat.com>
15353 * Makefile.in: Rebuilt.
15354 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15355 (%.lo: %.java) Filter out StackTrace.lo.
15357 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
15359 * configure.in: Add in AC_PREREQ(2.13)
15360 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
15363 2004-01-14 Nathan Bryant <nbryant@optonline.net>
15364 Tom Tromey <tromey@redhat.com>
15367 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15368 array to superclass.
15369 (init): Changed interface; add URLs here.
15370 (initialize): New static method.
15371 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15372 (_Jv_RunMain): ... not here.
15374 2004-01-14 Michael Koch <konqueror@gmx.de>
15376 * java/text/MessageFormat.java:
15377 Added descriptions to exceptions.
15378 This fixes PR libgcj/2429.
15380 2004-01-13 Fernando Nasser <fnasser@redhat.com>
15382 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15383 (push): Make sure push is performed at the top of the thread stack.
15385 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
15387 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15388 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15389 (native create): Add width and height parameters. Set text
15390 view's size request according to new parameters.
15391 (create): Calculate text view size based on current font's
15392 metrics and number of rows and columns. Set TextArea's font if
15393 not already set. Call native create.
15394 (getMinimumSize): Call minimumSize.
15395 (getPreferredSize): Call preferredSize.
15396 (getHScrollbarHeight): New method.
15397 (getVScrollbarWidth): New method.
15398 (minimumSize): Calculate minimum size based on scrollbar
15399 visibility, scrollbar sizes, font metrics and number of rows and
15401 (preferredSize): Likewise for preferred size.
15402 (gtkTextGetSize): Remove method.
15404 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
15406 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15407 (initializeInsets): Remove method.
15408 (GtkComponentPeer): Initialize insets field. Remove call to
15410 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15412 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15414 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15415 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15416 (latestInsets): Remove field.
15417 (native create): Add insets parameter. Call
15418 window_get_frame_extents. Set the window's default size and
15419 size request based on its frame extents.
15420 (create): Initialize insets.
15421 (postInsetsChangedEvent): New method.
15422 (postConfigureEvent): Remove parameters top, left, bottom,
15423 right. Remove insets-related logic.
15424 (connectJObject): Handle property-notify-event.
15425 (window_get_frame_extents, request_frame_extents,
15426 property_notify_predicate, window_property_changed_cb): New
15428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15429 (pre_event_handler): Remove insets-related logic for configure
15431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15432 Update postConfigureEvent signature.
15434 2004-01-13 Fernando Nasser <fnasser@redhat.com>
15436 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15437 to handle Window "Closing" events.
15439 2004-01-13 David Jee <djee@redhat.com>
15441 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15442 (setBackground): New method. Children with no explicitly-set
15443 background will be repainted with the parent container's new
15446 2004-01-13 David Jee <djee@redhat.com>
15448 * Makefile.am: Add BitwiseXORComposite.java.
15449 * Makefile.in: Regenerated.
15450 * gcj/Makefile.in: Regenerated.
15451 * include/Makefile.in: Regenerated.
15452 * testsuite/Makefile.in: Regenerated.
15454 2004-01-12 Fernando Nasser <fnasser@redhat.com>
15456 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15457 not show modal dialogs twice and so that it allows showing a modal
15458 dialog from another modal dialog.
15460 2004-01-12 Fernando Nasser <fnasser@redhat.com>
15462 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15463 and run secondary dispatch thread to process event queue while this
15466 2004-01-12 Graydon Hoare <graydon@redhat.com>
15468 * gnu/java/awt/gtk/GdkGraphics2D.java
15469 (static): Check GtkToolkit before initializing static state.
15470 (Graphics2D): Don't construct transform with 0.5 unit offset.
15472 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
15474 * gnu/java/awt/BitwiseXORComposite.java: Add.
15475 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15476 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15477 (BitwiseXORComposite): Remove inner class.
15479 2004-01-11 Michael Koch <konqueror@gmx.de>
15481 * gnu/java/lang/reflect/TypeSignature.java
15482 (getEncodingOfClass): Documentation fixed.
15483 (getClassForEncoding): Give class loader to Class.forName().
15484 Documentation fixed.
15486 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
15488 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15490 2004-01-11 Michael Koch <konqueror@gmx.de>
15492 * javax/swing/undo/StateEditable.java
15493 (RCSID): Removed redundant modifiers.
15495 2004-01-10 Michael Koch <konqueror@gmx.de>
15497 * javax/print/attribute/EnumSyntax.java
15498 (getStringTable): Made protected.
15499 (getEnumValueTable): Likewise.
15500 * javax/print/attribute/standard/JobKOctetsProcessed.java
15501 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15502 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15503 (JobMediaSheetsCompleted): Made class final.
15504 * javax/print/attribute/standard/OutputDeviceAssigned.java
15505 (getName): Fixed typo.
15506 * javax/print/attribute/standard/RequestingUserName.java
15507 (serialVersionUID): Fixed value.
15509 2004-01-10 Michael Koch <konqueror@gmx.de>
15511 * javax/swing/plaf/basic/BasicButtonUI.java,
15512 javax/swing/plaf/basic/BasicCheckBoxUI.java,
15513 javax/swing/plaf/basic/BasicListUI.java,
15514 javax/swing/plaf/basic/BasicOptionPaneUI.java,
15515 javax/swing/plaf/basic/BasicPanelUI.java,
15516 javax/swing/plaf/basic/BasicRadioButtonUI.java,
15517 javax/swing/plaf/basic/BasicScrollPaneUI.java,
15518 javax/swing/plaf/basic/BasicToggleButtonUI.java,
15519 javax/swing/plaf/basic/BasicViewportUI.java:
15520 Fixed import statements.
15522 2004-01-10 Michael Koch <konqueror@gmx.de>
15524 * gnu/java/awt/image/ImageDecoder.java
15525 (produce): Made public.
15526 * gnu/java/awt/peer/GLightweightPeer.java,
15527 gnu/java/awt/peer/gtk/GtkToolkit.java:
15530 2004-01-10 Michael Koch <konqueror@gmx.de>
15532 * javax/swing/JRadioButtonMenuItem.java,
15533 javax/swing/JSeparator.java,
15534 javax/swing/JSplitPane.java,
15535 javax/swing/JTextPane.java,
15536 javax/swing/JToolBar.java,
15537 javax/swing/ListCellRenderer.java,
15538 javax/swing/ListModel.java,
15539 javax/swing/MenuElement.java,
15540 javax/swing/OverlayLayout.java,
15541 javax/swing/ProgressMonitor.java,
15542 javax/swing/ProgressMonitorInputStream.java,
15543 javax/swing/Renderer.java,
15544 javax/swing/RootPaneContainer.java,
15545 javax/swing/Scrollable.java,
15546 javax/swing/SingleSelectionModel.java,
15547 javax/swing/ToolTipManager.java,
15548 javax/swing/ViewportLayout.java,
15549 javax/swing/event/DocumentEvent.java,
15550 javax/swing/event/SwingPropertyChangeSupport.java,
15551 javax/swing/event/TreeSelectionEvent.java,
15552 javax/swing/event/UndoableEditEvent.java,
15553 javax/swing/text/AbstractDocument.java,
15554 javax/swing/text/AttributeSet.java,
15555 javax/swing/text/Caret.java,
15556 javax/swing/text/ComponentView.java,
15557 javax/swing/text/DefaultCaret.java,
15558 javax/swing/text/DefaultEditorKit.java,
15559 javax/swing/text/Document.java,
15560 javax/swing/text/EditorKit.java,
15561 javax/swing/text/GapContent.java,
15562 javax/swing/text/Keymap.java,
15563 javax/swing/text/MutableAttributeSet.java,
15564 javax/swing/text/PlainEditorKit.java,
15565 javax/swing/text/Segment.java,
15566 javax/swing/text/Style.java,
15567 javax/swing/text/StyledDocument.java,
15568 javax/swing/text/StyledEditorKit.java,
15569 javax/swing/text/TextAction.java,
15570 javax/swing/text/View.java: Fixed import statements.
15572 2004-01-08 Graydon Hoare <graydon@redhat.com>
15574 * javax/swing/JLayeredPane.java: Rewrite to accomodate
15575 djee@redhat.com's recent inverse ordering of Container elements.
15577 2004-01-09 Michael Koch <konqueror@gmx.de>
15579 * gnu/java/lang/ArrayHelper.java
15580 (equalsArray): Removed.
15582 2004-01-09 Andrew Haley <aph@redhat.com>
15584 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15585 a Utf8Const field before looking at its class.
15587 2004-01-09 Michael Koch <konqueror@gmx.de>
15589 * javax/print/attribute/standard/DocumentName.java,
15590 javax/print/attribute/standard/JobHoldUntil.java,
15591 javax/print/attribute/standard/JobMessageFromOperator.java,
15592 javax/print/attribute/standard/JobName.java,
15593 javax/print/attribute/standard/JobOriginatingUserName.java,
15594 javax/print/attribute/standard/OutputDeviceAssigned.java,
15595 javax/print/attribute/standard/PrinterInfo.java,
15596 javax/print/attribute/standard/PrinterLocation.java,
15597 javax/print/attribute/standard/PrinterMakeAndModel.java,
15598 javax/print/attribute/standard/PrinterMessageFromOperator.java,
15599 javax/print/attribute/standard/PrinterName.java,
15600 javax/print/attribute/standard/RequestingUserName.java: New files.
15601 * Makefile.am (javax_source_files): Added new files.
15602 * Makefile.in: Regenerated.
15604 2004-01-09 Michael Koch <konqueror@gmx.de>
15606 * javax/swing/AbstractAction.java,
15607 javax/swing/AbstractSet.java,
15608 javax/swing/Action.java,
15609 javax/swing/ActionMap.java,
15610 javax/swing/BoundedRangeModel.java,
15611 javax/swing/ButtonModel.java,
15612 javax/swing/CellEditor.java,
15613 javax/swing/CellRendererPane.java,
15614 javax/swing/ComboBoxEditor.java,
15615 javax/swing/DebugGraphics.java,
15616 javax/swing/DefaultCellEditor.java,
15617 javax/swing/DefaultCellRenderer.java,
15618 javax/swing/DefaultComboBoxModel.java,
15619 javax/swing/DefaultDesktopManager.java,
15620 javax/swing/DefaultFocusManager.java,
15621 javax/swing/DefaultListCellRenderer.java,
15622 javax/swing/Icon.java,
15623 javax/swing/JButton.java,
15624 javax/swing/JCheckBoxMenuItem.java,
15625 javax/swing/JDesktopPane.java,
15626 javax/swing/JEditorPane.java,
15627 javax/swing/JMenu.java,
15628 javax/swing/JPanel.java,
15629 javax/swing/JPasswordField.java,
15630 javax/swing/JPopupMenu.java,
15631 javax/swing/JProgressBar.java: Reworked imports.
15633 2004-01-09 Michael Koch <konqueror@gmx.de>
15635 * java/awt/geom/PathIterator.java
15636 (WIND_EVEN_ODD): Removed redundant modifiers.
15637 (WIND_NON_ZERO): Likewise.
15638 (SEG_MOVETO): Likewise.
15639 (SEG_LINETO): Likewise.
15640 (SEG_QUADTO): Likewise.
15641 (SEG_CUBICTO): Likewise.
15642 (SEG_CLOSE): Likewise.
15643 * java/awt/image/SinglePixelPackedSampleModel.java:
15644 Removed redundant semicolon.
15645 * java/io/ObjectInputStream.java
15646 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15647 * java/util/logging/Filter.java
15648 (isLoggable): Removed redundant modifier.
15649 * java/util/logging/LogManager.java:
15650 Removed redundant semicolon.
15651 * java/util/logging/XMLFormatter.java
15652 (format): Removed unused variable "key".
15654 2004-01-08 Fernando Nasser <fnasser@redhat.com>
15656 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15657 New name for the former setFile native method.
15658 (setFile): New method.
15659 (setDirectory): Implemented.
15660 (connectSignals): New native method.
15661 (setFilenameFilter): Improve comment.
15662 (getGraphics): Comment.
15663 (gtkHideFileDialog): New method.
15664 (gtkDisposeFileDialog): New method.
15665 (gtkSetFilename): New method.
15666 * java/awt/Dialog.java (show): Block on modal dialogs, but only
15667 for FileDialog for now.
15668 (hide): New method.
15669 (dispose): New method.
15670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15671 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15672 deprecated creation functions. Make dialog modal. Add it to the
15674 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15676 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15678 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15680 (window_closed): New function.
15681 (ok_clicked): New function.
15682 (cancel_clicked): New function.
15684 2004-01-08 Michael Koch <konqueror@gmx.de>
15686 * javax/swing/JLayeredPane.java: Revert changes to standard
15687 boilerplate, reworked imports.
15689 2004-01-07 Tom Tromey <tromey@redhat.com>
15692 * verify.cc (state::merge): Copy changed locals out of subroutine
15694 (state::FLAG_CHANGED): New const.
15695 (state::FLAG_UNUSED): Likewise.
15696 (state::local_changed): Removed. Updated all users.
15697 (state::flags): New field.
15698 (state::merge): Added jsr_semantics argument, more logic.
15699 (push_jump_merge): Added jsr_semantics argument.
15700 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15701 merging through the jsr instruction.
15703 2004-01-07 Tom Tromey <tromey@redhat.com>
15705 * scripts/MakeDefaultMimeTypes.java: Use \n, not
15708 2004-01-07 Graydon Hoare <graydon@redhat.com>
15710 * java/awt/Container.java (LightweightDispatcher): Implement.
15711 (visitChild): Reuse graphics object.
15712 (dispatchEventImpl): Optionally dispatch to lightweight.
15713 (addNotifyContainerChildren): Build LightweightDispatcher.
15715 2004-01-07 David Jee <djee@redhat.com>
15717 * java/awt/Container.java
15718 (update): Clear only the clipped region, instead of clearing the
15720 (visitChildren): Visit children in descending order.
15722 2004-01-07 Michael Koch <konqueror@gmx.de>
15724 * java/lang/reflect/Array.java: Merged documentation with classpath.
15726 2004-01-07 Michael Koch <konqueror@gmx.de>
15728 * java/text/CollationElementIterator.java
15729 (textIndex): Renamed from index.
15730 * java/text/CollationKey.java
15731 (collator): New member.
15732 (CollationKey): New argument for parent collator.
15733 (equals): Check for same collator, source string and key array.
15734 * java/text/RuleBasedCollator.java:
15736 (RuleBasedCollator): Don't re-initialize frenchAccents with default
15738 (getCollationElementIterator): Rewritten.
15739 (getCollationKey): Added new argument to CollationKey constructor.
15741 2004-01-07 Michael Koch <konqueror@gmx.de>
15743 * gnu/java/nio/DatagramChannelImpl.java
15744 (blocking): Removed.
15745 (DatagramChannelImpl): Call configureBlocking().
15746 (implConfigureBlocking): Dont initialize blocking.
15747 * gnu/java/nio/ServerSocketChannelImpl.java
15748 (blocking): Removed.
15749 (ServerSocketChannelImpl): Call configureBlocking().
15750 (implConfigureBlocking): Dont initialize blocking.
15751 * gnu/java/nio/SocketChannelImpl.java
15752 (blocking): Removed.
15753 (SocketChannelImpl): Call configureBlocking().
15754 (implConfigureBlocking): Dont initialize blocking.
15755 (connect): Use isBlocking().
15756 * java/nio/channels/spi/AbstractSelectableChannel.java
15757 (configureBlocking): Use blockingLock() instead of LOCK.
15758 Set blocking after successfully called implConfigureBlocking().
15759 (register): Use blockingLock() instead of LOCK.
15761 2004-01-07 Michael Koch <konqueror@gmx.de>
15763 * java/net/ServerSocket.java (isBound): Fixed documentation.
15765 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
15767 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15768 (changeEvent): Create event object on demand.
15769 (DefaultBoundedRangeModel, toString, setValue, setExtent,
15770 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15771 fireStateChanged): Re-written.
15772 * javax/swing/event/EventListenerList.java: Reformatted, document
15774 (toString): Implemented.
15775 (getListeners): Re-written.
15776 (remove): Re-written.
15778 (NO_LISTENERS): New singleton field.
15779 (listenerList): Declare as transient; document.
15780 (serialVersionUID): Document.
15781 (getListenerCount(Class)): More efficient implementation,
15782 also accepts null argument. Improve Javadoc.
15783 (getListenerCount()): Remove unnecessary cast; docfix.
15784 * javax/swing/undo/UndoableEditSupport.java:
15785 Re-format, document.
15786 (UndoableEditSupport): Set realSource field. Improve documentation.
15787 (_postEdit): Iterate over cloned listener vector.
15788 (toString): Don't emit realSource.
15789 (beginUpdate, endUpdate): Support nested updates.
15790 (postEdit): Use compound edit if present.
15792 2004-01-06 Graydon Hoare <graydon@redhat.com>
15794 * java/awt/Container.java (swapComponents): Add forgotten
15795 function, required for JLayeredPane change.
15797 2004-01-06 Michael Koch <konqueror@gmx.de>
15799 * java/text/CollationElementIterator.java: Reformated.
15800 (CollationElementIterator): Changed order of arguments.
15801 * java/text/RuleBasedCollator.java
15802 (RuleBasedCollator): Merged class documentation.
15803 (CollationElement): Added documentation.
15804 (compare): Reformated, renamed arguments.
15805 (equals): Likewise.
15806 (getCollationElementIterator): Likewise.
15807 (getCollationKey): Likewise.
15809 2004-01-06 Graydon Hoare <graydon@redhat.com>
15811 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
15813 2004-01-06 Michael Koch <konqueror@gmx.de>
15815 * gnu/java/net/protocol/file/Connection.java:
15816 Reformated copyright.
15817 (hdrHash): Removed.
15819 (gotHeaders): Removed.
15820 (getHeaderField): Removed.
15821 (getHeaderField): Removed.
15822 (getHeaderFieldKey): Removed.
15824 (getField): Removed.
15825 (getHeaders): Removed.
15827 2004-01-06 Michael Koch <konqueror@gmx.de>
15829 * javax/print/attribute/standard/DateTimeAtCompleted.java,
15830 javax/print/attribute/standard/DateTimeAtCreation.java,
15831 javax/print/attribute/standard/DateTimeAtProcessing.java,
15832 javax/print/attribute/standard/JobImpressionsCompleted.java,
15833 javax/print/attribute/standard/JobKOctets.java,
15834 javax/print/attribute/standard/JobKOctetsProcessed.java,
15835 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
15836 javax/print/attribute/standard/JobPrioritySupported.java: New files.
15837 * Makefile.am (javax_source_files): Added new files.
15838 * Makefile.in: Regenerated.
15840 2004-01-06 Michael Koch <konqueror@gmx.de>
15842 * java/net/URLConnection.java
15843 (contentHandler): Removed.
15845 (getHeaderFields): Return an empty map instead of null.
15846 (getContent): Connect if needed, renamed "cType" to "type" and
15847 "contentHandler" to "ch" and made it a local variable.
15848 (getPermission): Don't use package in class name.
15849 (setDefaultRequestProperty): Fixed typo in documentation.
15850 (initializeDateFormats): Made locale a local variable.
15852 2004-01-06 Michael Koch <konqueror@gmx.de>
15854 * java/lang/Package.java
15855 (getPackage): Get the current class loader directly.
15856 * java/lang/SecurityManager.java
15857 (currentLoadedClass): Dont iterate over class contexts.
15858 (classLoaderDepth): Don't check class loaders if everything is allowed.
15860 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
15862 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15863 (pre_event_handler): Set all insets to 0 when a Configure event
15864 is received for a GtkPlug.
15865 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
15866 Make handle long, not int.
15867 (EmbeddedWindow()): New constructor.
15868 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
15870 (setHandle): New method.
15871 (getHandle): Return long, not int.
15872 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
15874 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
15875 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
15876 (create(long)): Take long parameter, not int. Cast gtk_plug_new
15877 argument to GdkNativeWindow.
15878 (construct): New method.
15879 (embed): New method.
15881 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
15882 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
15883 (create(int, int)): New method.
15884 (create): Call new create method.
15885 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
15887 (childResized): Remove native implementation. Implement in
15889 (getHScrollbarHeight, getVScrollbarWidth): Call
15890 gtk_widget_size_request to get scrollbar dimensions.
15891 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
15892 call getVScrollbarWidth and getHScrollbarHeight when vertical
15893 and horizontal scrollbars respectively are needed.
15894 (doLayout): Enlarge child if it is smaller than the viewport.
15896 2004-01-05 Fernando Nasser <fnasser@redhat.com>
15898 * java/awt/Dialog.java (constructor): Accept null title as per spec.
15899 * java/awt/FileDialog.java (constructor): Throw exception on invalid
15900 argument as per spec.
15902 2004-01-05 Fernando Nasser <fnasser@redhat.com>
15904 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
15906 (remove): Ditto. Also, Check for valid argument.
15907 (removeAll): Use peer interface method.
15908 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
15909 native add function.
15910 (nativeRemove): New name for native remove function.
15911 (getHistory): New native function.
15912 (constructor): Generate ItemEvent.
15913 (add): Ditto, if selection is changed.
15914 (remove): Ditto, ditto.
15915 (removeAll): Add implementation.
15916 (handleEvent): Remove. Dead code.
15917 (choicePostItemEvent): Add comment.
15918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
15919 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
15920 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
15921 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
15922 comments and fix condition to change selection.
15923 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
15924 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
15925 remove all capability.
15926 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
15927 (item_activate): Add cast to remove compiler warning.
15929 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
15931 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15932 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15933 (getPreferredSize): Call preferredSize.
15934 (preferredSize): Call gtkWidgetGetPreferredDimensions.
15935 (getMinimumSize): Call minimumSize.
15936 (minimumSize): Call gtkWidgetGetPreferredDimensions.
15937 (gtkWidgetGetDimensions): Return the peer widget's current size
15939 (gtkWidgetGetPreferredDimensions): Return the peer widget's
15940 natural size request.
15942 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
15944 Thanks to Brian Gough <bjg@network-theory.com>
15945 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
15946 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
15948 2004-01-04 Matthias Klose <doko@debian.org>
15950 * aclocal.m4: Rebuilt using "aclocal -I .".
15951 * configure: Rebuilt.
15953 2004-01-03 Per Bothner <per@bothner.com>
15955 * java/util/Date.java (parse): Fix a number of problems.
15956 (skipParens): Remove no-longer-needed method.