1 2005-01-17 Tom Tromey <tromey@redhat.com>
3 * java/text/MessageFormat.java (scanString): Changed how quoting
5 (scanFormatElement): Likewise.
7 2004-12-07 Mark Wielaard <mark@klomp.org>
9 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
11 2005-01-15 Michael Koch <konqueror@gmx.de>
15 (AUTHORITY_REGEXP): New regexp constant.
16 (AUTHORITY_USERINFO_GROUP): New constant.
17 (AUTHORITY_HOST_GROUP): Likewise.
18 (AUTHORITY_PORT_GROUP): Likewise.
19 (port): Changed default value to -1.
20 (parseURI): Parse authority part and initialize host,
23 2005-01-14 Robin Green <greenrd@greenrd.org>
25 * java/io/File.java (toURI): Generate a URI which we understand.
27 2005-01-13 Graydon Hoare <graydon@redhat.com>
29 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
30 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
31 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
32 * jni.cc: Reuse bottom frame between calls, avoid clearing
33 frame when no local references are made.
35 2005-01-13 Michael Koch <konqueror@gmx.de>
38 * java/lang/Thread.java
39 (Thread): Call checkAccess().
40 (stop): Fixed argument name to match javadoc.
41 * java/lang/natThread.cc
42 (interrupt): Call checkAccess().
45 2005-01-11 Michael Koch <konqueror@gmx.de>
48 * java/net/URL.java (URL): Handle specs like
49 "/redir?http://domain2.com/index.html" which start with a slash.
51 2005-01-11 Michael Koch <konqueror@gmx.de>
53 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
54 * gnu/java/net/BASE64.java,
55 gnu/java/net/EmptyX509TrustManager.java,
56 gnu/java/net/LineInputStream.java,
57 gnu/java/net/protocol/http/Authenticator.java,
58 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
59 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
60 gnu/java/net/protocol/http/ChunkedInputStream.java,
61 gnu/java/net/protocol/http/Cookie.java,
62 gnu/java/net/protocol/http/CookieManager.java,
63 gnu/java/net/protocol/http/Credentials.java,
64 gnu/java/net/protocol/http/HTTPConnection.java,
65 gnu/java/net/protocol/http/HTTPDateFormat.java,
66 gnu/java/net/protocol/http/HTTPURLConnection.java,
67 gnu/java/net/protocol/http/Headers.java,
68 gnu/java/net/protocol/http/Request.java,
69 gnu/java/net/protocol/http/RequestBodyWriter.java,
70 gnu/java/net/protocol/http/Response.java,
71 gnu/java/net/protocol/http/ResponseBodyReader.java,
72 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
73 gnu/java/net/protocol/http/SimpleCookieManager.java,
74 gnu/java/net/protocol/http/event/ConnectionEvent.java,
75 gnu/java/net/protocol/http/event/ConnectionListener.java,
76 gnu/java/net/protocol/http/event/RequestEvent.java,
77 gnu/java/net/protocol/http/event/RequestListener.java: New files.
78 * gnu/java/net/protocol/http/Connection.java: Removed.
79 * gnu/java/net/protocol/http/Handler.java,
80 javax/net/ssl/HttpsURLConnection.java: Updated.
81 * Makefile.am: Added new files and remove old ones.
82 * Makefile.in: Regenerated.
84 2005-01-11 Tom Tromey <tromey@redhat.com>
87 * java/io/BufferedInputStream.java (read): Repeatedly read to
89 (refill): Change test to see if buffer must be grown.
91 2005-01-10 Tom Tromey <tromey@redhat.com>
93 * mauve-libgcj: Exclude some swing tests.
95 2005-01-10 Tom Tromey <tromey@redhat.com>
97 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
98 * java/lang/Package.java (getPackages): Use VMClassLoader when
100 (getPackage): Likewise.
101 * prims.cc (_Jv_CreateJavaVM): Call
102 _Jv_RegisterBootstrapPackages.
103 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
104 * java/lang/VMClassLoader.java (getPackage): Rewrote.
105 (getPackages): Likewise.
106 (definedPackages): New field.
107 (definePackageForNative): New method.
108 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
109 * java/lang/natVMClassLoader.cc (loadClass): Updated.
110 * defineclass.cc (handleClassBegin): Use
111 ClassLoader.findLoadedClass.
112 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
114 (struct _Jv_LoaderInfo): Removed.
115 (initiated_classes): Likewise.
116 (_Jv_UnregisterClass): Don't use initiated_classes.
117 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
118 (_Jv_FindClass): Register classes found during boostrap.
119 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
120 (bootstrap_class_list): New global.
121 (bootstrap_index): Likewise.
122 (_Jv_RegisterBootstrapPackages): New function.
123 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
124 definePackageForNative.
125 (findClass): Updated.
126 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
129 2005-01-10 Tom Tromey <tromey@redhat.com>
132 * include/jvm.h (_Jv_Linker::find_field): Declare.
133 (_Jv_Linker::find_field_helper): Likewise.
134 * link.cc (find_field_helper): New method.
135 (find_field): Likewise.
136 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
138 (link_symbol_table): Use find_field.
140 2005-01-10 Michael Koch <konqueror@gmx.de>
143 * java/util/Locale.java (Locale): Don't uppercase variant.
144 (getISOCountries): Fixed typo in javadoc.
146 2005-01-10 Michael Koch <konqueror@gmx.de>
148 * java/util/SimpleTimeZone.java (checkRule):
149 Throw IllegalArgumentException on invalid month values.
150 * java/util/TimeZone.java (setID):
151 Throw NullPointerException if needed.
153 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
155 * java/util/SimpleTimeZone.java (getOffset):
156 offset end date with daylight savings
158 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
160 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
161 * testsuite/libjava.compile/PR19277.xfail: Likewise.
163 2005-01-09 Michael Koch <konqueror@gmx.de>
166 * java/net/InetAddress.java (getLocalHost):
167 Throw UnknownHostException if local hostname cannot be determined.
169 2005-01-06 Tom Tromey <tromey@redhat.com>
171 * java/lang/ClassLoader.java (findClass): Fixed documentation.
173 2005-01-07 Michael Koch <konqueror@gmx.de>
176 * java/nio/Buffer.java (address): New field.
177 * java/nio/DirectByteBufferImpl.java (address): Removed.
178 * java/nio/MappedByteBufferImpl.java (address): Likewise.
179 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
180 Explicitly initialize Buffer.address if needed.
181 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
182 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
183 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
184 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
185 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
186 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
187 DirectByteBufferImpl object.
188 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
189 * testsuite/libjava.jni/directbuffer.c,
190 testsuite/libjava.jni/directbuffer.java,
191 testsuite/libjava.jni/directbuffer.out,
192 testsuite/libjava.jni/bytebuffer.c,
193 testsuite/libjava.jni/bytebuffer.java,
194 testsuite/libjava.jni/bytebuffer.out: New files.
196 2005-01-05 Tom Tromey <tromey@redhat.com>
198 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
200 (compressedSize): Now 'long'. Default to -1.
201 (getCompressedSize): Rewrote.
202 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
203 deflate at all if we need input.
205 2005-01-05 Tom Tromey <tromey@redhat.com>
208 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
211 2005-01-05 Tom Tromey <tromey@redhat.com>
213 * java/lang/natRuntime.cc (insertSystemProperties): Set
214 java.ext.dirs earlier.
216 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
218 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
219 sync_info element of the object if needed.
221 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
223 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
224 a non-zero exit status from 'false'.
226 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
228 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
230 2004-12-31 Andreas Jaeger <aj@suse.de>
232 * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
234 2004-12-20 Tom Tromey <tromey@redhat.com>
236 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
237 Re-enable duplicate class registration error.
239 * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
240 * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
241 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
242 * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
244 (libjava_find_gij): Likewise. Changed return result if gij not
246 (test_libjava_from_javac): Updated.
249 * testsuite/libjava.jni/iface.c: New file.
250 * testsuite/libjava.jni/iface.out: New file.
251 * testsuite/libjava.jni/iface.java: New file.
253 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
255 * include/config.h.in: Regenerate.
257 2004-12-10 Andrew Haley <aph@redhat.com>
260 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
261 abstract methods by name.
263 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
265 * java/util/IdentityHashMap.java (put): Replace mistaken use
268 2004-12-06 Tom Tromey <tromey@redhat.com>
271 * testsuite/libjava.compile/PR14853.java: New file.
272 * testsuite/libjava.compile/PR14853.xfail: New file.
274 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
277 * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
278 * Makefile.am (install-data-local): Install headers into
279 $(gxx_include_dir) rather than $(includedir).
280 (AM_MAKEFLAGS): Pass down gxx_include_dir.
281 * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
282 * include/Makefile.am (tool_include__HEADERS): Define this...
283 (include_HEADERS): ...instead of this.
284 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
285 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
287 2004-12-02 Tom Tromey <tromey@redhat.com>
290 * testsuite/libjava.compile/PR16675.java: New file.
292 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
294 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
295 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
296 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
298 2004-12-01 Tom Tromey <tromey@redhat.com>
300 * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
302 (_Jv_ThreadRegister): Likewise.
303 (_Jv_MutexCheckMonitor): Likewise.
305 * link.cc: Include limits.h.
307 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
310 * testsuite/libjava.lang/PR18699.java,
311 testsuite/libjava.lang/PR18699.out: New test.
313 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
315 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
316 Update image observer.
317 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
318 Start image production.
319 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
320 against negative menu bar widths.
321 (setBounds): Likewise.
322 (postConfigureEvent): Likewise.
323 * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
324 remove consumer unless only a single frame has completed.
325 * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
326 Add observer parameter.
327 (setPixels): Update image observer.
328 (imageComplete): Likewise.
329 * java/applet/Applet.java (width): New field.
331 (setStub): Set size if width or height field has been set.
332 (resize): If stub is null save width and height values.
333 * java/awt/Component.java (reshape): Protect against null
335 * java/awt/image/MemoryImageSource.java
336 (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
338 (MemoryImageSource(int,int,ColorModel,int[],int,int)):
340 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
341 Reference pixel array directly, rather than creating a local
343 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
345 (newPixels(int,int,int,int)): Fix for loop and array copy
347 (newPixels(int,int,int,int,boolean)): Likewise.
348 (startProduction): If animated call imageComplete with
350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
353 (drawPixels): Return if g is null or g->drawable is not a gdk
356 2004-11-30 Michael Koch <konqueror@gmx.de>
358 * javax/swing/DefaultSingleSelectionModel.java,
359 javax/swing/JPasswordField.java,
360 javax/swing/tree/AbstractLayoutCache.java:
361 Reformatted and javadocs cleaned up.
363 2004-11-30 Michael Koch <konqueror@gmx.de>
365 * java/awt/Component.java:
366 Fixed argument names to match javadocs.
367 (setFont): Rewritten set property first and then fire event.
368 (setLocale): Likewise.
369 * javax/swing/text/JTextComponent.java
370 (setEditable): Likewise.
372 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
374 * java/awt/Button.java
375 (AccessibleAWTButton.getAccessibleActionDescription): Explain the
378 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
380 * java/awt/Checkbox.java: Remove stub comments.
382 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
384 * java/awt/Button.java
385 (AccessibleAWTButton.getAccessibleActionDescription): Return
388 2004-11-30 Michael Koch <konqueror@gmx.de>
390 * java/awt/CardLayout.java:
391 Made some constants static.
392 (serialVersionUID): Made private.
393 (addLayoutComponent): Simplified code.
394 * java/awt/event/InputEvent.java
395 (getModifiersEx): Added missing @param tag.
396 * java/awt/image/RGBImageFilter.java
397 (filterRGBPixels): Reformatted, removed wrong @param tag.
399 2004-11-30 Michael Koch <konqueror@gmx.de>
401 * javax/swing/text/FieldView.java,
402 javax/swing/text/JTextComponent.java:
405 2004-11-30 Michael Koch <konqueror@gmx.de>
407 * javax/swing/BorderFactory.java
408 (BorderFactory): Added private constructor.
409 * javax/swing/SwingUtilities.java
410 (SwingUtilities): Likewise.
411 (computeStringWidth): New method.
413 2004-11-30 Michael Koch <konqueror@gmx.de>
415 * java/awt/color/ICC_Profile.java
416 (icSigNamedColorTag): Removed.
417 * java/awt/datatransfer/DataFlavor.java
418 (isMimeTypeEqual): Made final.
419 * java/awt/image/AffineTransformOp.java:
421 (TYPE_BICUBIC): Added @since tag.
423 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
425 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
428 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
430 * java/awt/Checkbox.java (itemStateChanged): Implement function.
431 (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
433 2004-11-30 Sven de Marothy <sven@physto.se>
435 * java/awt/Polygon.java (contains): Reimplemented.
437 2004-11-30 Michael Koch <konqueror@gmx.de>
439 * java/awt/print/PrinterJob.java: Reformatted.
441 2004-11-30 Michael Koch <konqueror@gmx.de>
443 * java/awt/image/AffineTransformOp.java,
444 java/awt/image/ColorConvertOp.java,
445 java/awt/image/LookupOp.java,
446 java/awt/image/RescaleOp.java:
447 Added final keywords where they belong.
449 2004-11-30 Michael Koch <konqueror@gmx.de>
451 * java/awt/CardLayout.java,
452 java/awt/Component.java,
454 java/awt/image/SinglePixelPackedSampleModel.java:
455 Fixed javadocs and argument names all over.
457 2004-11-30 Michael Koch <konqueror@gmx.de>
459 * java/awt/image/DataBufferShort.java: Fixed file header.
460 * java/awt/image/DataBufferUShort.java: Likewise.
461 (DataBufferUShort): Throw NullPointerException if dataArray is null.
463 2004-11-30 Sven de Marothy <sven@physto.se>
465 * java/awt/geom/Arc2D.java
466 (setAngleStart): Corrected (wrong sign on atan2 y parameter).
467 (setAngles): Likewise.
468 (containsAngle): Return false on zero extent, don't include
470 (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
473 2004-11-30 Sven de Marothy <sven@physto.se>
475 * java/awt/geom/AffineTransform.java,
476 (inverseTransform): Fixed bug and simplified code.
477 (createTransformedShape): Return null on null parameter.
479 2004-11-30 Michael Koch <konqueror@gmx.de>
481 * java/awt/color/ICC_ColorSpace.java,
482 java/awt/color/ICC_Profile.java,
483 java/awt/color/ICC_ProfileGray.java,
484 java/awt/color/ICC_ProfileRGB.java:
485 Re-indent copyright header to be standardish.
486 * java/awt/datatransfer/StringSelection.java:
488 * java/awt/geom/Area.java
489 (EPSILON): Made static.
490 (RS_EPSILON): Likewise.
491 (PE_EPSILON): Likewide.
493 2004-11-30 Sven de Marothy <sven@physto.se>
495 * javax/swing/SwingUtilities.java:
496 (computeDifference): Implemented
497 (computeIntersection): Likewise
498 (computeUnion): Likewise
499 (isRectangleContainingRectangle): Likewise
501 2004-11-30 Michael Koch <konqueror@gmx.de>
503 * java/awt/BasicStroke.java,
504 java/awt/Button.java,
505 java/awt/Canvas.java,
506 java/awt/CheckboxMenuItem.java,
507 java/awt/Container.java,
508 java/awt/EventQueue.java,
509 java/awt/FileDialog.java,
510 java/awt/FlowLayout.java,
511 java/awt/FontMetrics.java,
512 java/awt/Graphics.java,
513 java/awt/GridLayout.java,
514 java/awt/KeyboardFocusManager.java,
516 java/awt/LayoutManager2.java,
518 java/awt/MenuBar.java,
519 java/awt/Scrollbar.java,
520 java/awt/Toolkit.java,
521 java/awt/Window.java,
522 java/awt/datatransfer/DataFlavor.java,
523 java/awt/datatransfer/FlavorTable.java,
524 java/awt/event/ActionListener.java,
525 java/awt/event/HierarchyBoundsAdapter.java,
526 java/awt/geom/Arc2D.java,
527 java/awt/geom/Rectangle2D.java,
528 java/awt/geom/RectangularShape.java,
529 java/awt/im/spi/InputMethod.java,
530 java/awt/image/ByteLookupTable.java,
531 java/awt/image/ColorModel.java,
532 java/awt/image/DirectColorModel.java,
533 java/awt/image/ShortLookupTable.java,
534 java/awt/print/Book.java:
535 Fixed javadocs and method argument names all over.
537 2004-11-30 Michael Koch <konqueror@gmx.de>
539 * gnu/java/awt/peer/gtk/GdkFontPeer.java
540 (buildString): Optimise String building.
542 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
544 * java/awt/TextArea.java (AccessibleAWTTextArea,
545 getAccessibleContext): Implement.
546 * java/awt/TextField.java (AccessibleAWTTextField,
547 getAccessibleContext): Implement.
549 2004-11-30 Tom Tromey <tromey@redhat.com>
551 * Makefile.in: Rebuilt.
552 * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
555 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
557 * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
559 * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
562 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
564 * java/awt/print/PrinterJob.java (lookupPrintServices,
565 getPrintService, setPrintService): Implement.
566 (lookupStreamPrintServices): Add commented out implementation.
567 (printer): New field.
569 2004-11-30 Mark Wielaard <mark@klomp.org>
571 * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
574 2004-11-30 Sven de Marothy <sven@physto.se>
576 * java/awt/geom/GeneralPath.java (evaluateCrossings):
577 Fixed epsilon value, should always be nonzero.
579 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
581 * java/awt/image/Raster.java
582 (createPackedRaster): Implemented.
584 2004-11-30 Graydon Hoare <graydon@redhat.com>
586 * javax/swing/plaf/basic/BasicTextUI.java:
587 Listen to focus events, indicate focus via caret.
588 * javax/swing/text/GapContent.java (getString): Return substring.
589 * javax/swing/text/PlainDocument.java (reindex): New method.
590 (createDefaultRoot): Call it.
591 (insertUpdate): Likewise.
592 (removeUpdate): Likewise.
593 * javax/swing/text/Utilities.java (drawTabbedText): Always advance
594 on tab and newline, even if no painting happens.
596 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
598 * Makefile.am: List peer JNI header: Java source file
599 dependencies explicitly. Likewise for JNI .lo: JNI header
601 * Makefile.in: Regenerate.
603 2004-11-30 Graydon Hoare <graydon@redhat.com>
605 * Makefile.am: Add entry for BasicTextPaneUI.java
606 * Makefile.in: Regenerate.
607 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
608 (GdkGraphics2D): Set clip after transform.
609 (drawImage): Protect against null image.
610 * gnu/java/awt/peer/gtk/GtkFramePeer.java
611 (setIconImage): Protect against non-GtkImage args.
612 * gnu/java/awt/peer/gtk/GtkToolkit.java
613 (checkImage): Protect against non-GtkImage args.
614 * java/awt/print/PrinterJob.java:
615 (print): Add variant taking PrintRequestAttributeSet.
616 (printDialog): Likewise.
617 * javax/swing/JComponent.java:
618 (transferHandler): New field.
619 (getComponentGraphics): Build new Graphics for each sub-paint.
620 (getTransferHandler): New method.
621 (setTransferHandler): New method.
622 * javax/swing/JDesktopPane.java
623 (setDragMode): Force LIVE_DRAG_MODE.
624 * javax/swing/JMenuItem.java
625 (menuSelectionChanged): Protect against null parent.
626 * javax/swing/JTable.java (setDefaultRenderer): New method.
627 * javax/swing/JTree.java: Get basic ctors and UI working.
628 * javax/swing/JViewport.java (JViewport): Set scroll mode.
629 * javax/swing/RepaintManager.java
630 (addDirtyRegion): Skip empty regions.
631 * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
632 bound scrollpane minimum by central view minimum.
633 * javax/swing/ToolTipManager.java
634 (showTip): Guard against null component.
635 * javax/swing/TransferHandler.java: Stub out.
636 * javax/swing/plaf/basic/BasicLookAndFeel.java:
637 Add entry for TextPaneUI, change Tree icons to pngs.
638 * javax/swing/plaf/basic/BasicMenuItemUI.java:
639 (installDefaults): Set text position and alignment.
640 (paintMenuItem): Layout icon with normal compound function.
641 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
642 (getMaximumSize): Delete.
643 (getMinimumSize): Delete.
644 (getPreferredSize): Use column model's total width.
645 * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
646 * javax/swing/plaf/basic/BasicTextUI.java
647 (modelChanged): Make resilient against nulls.
648 * javax/swing/plaf/basic/BasicTreeUI.java:
649 Add some simplistic config / painting functions.
650 * javax/swing/plaf/basic/BasicViewportUI.java
651 (paintSimple): Add new non-backingstore paint mode.
652 (paintBackingStore): Split out backing store code.
653 (paint): Switch on painting mode.
654 * javax/swing/text/SimpleAttributeSet.java
655 (SimpleAttributeSet): Resist nulls.
656 * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
657 * javax/swing/tree/DefaultTreeModel.java: Partially implement.
659 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
661 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
662 Set pango context's description and language.
664 2004-11-30 Mark Wielaard <mark@klomp.org>
666 * java/awt/image/LookupOp.java: Comments and indentation fixes.
668 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
670 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
671 (getAccessibleContext): Implement.
673 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
675 * java/awt/TextComponent.java (AccessibleAWTTextComponent):
677 (getIndexAtPoint, getCharacterBounds): New methods.
679 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
681 * java/awt/Button.java (AccessibleAWTButton): Implement.
683 2004-11-30 Mark Wielaard <mark@klomp.org>
685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
686 (filenameFilterCallback): Made static.
688 2004-11-30 Michael Koch <konqueror@gmx.de>
690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
691 (cairoShowGlyphs) Removed.
693 2004-11-30 Sven de Marothy <sven@physto.se>
695 * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
696 Don't invert matrix when reverse CLUT is available.
697 * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
698 * java/awt/color/ICC_ColorSpace.java: Likewise.
699 * java/awt/color/ICC_Profile.java: Likewise.
700 * java/awt/color/ICC_ProfileGray.java: Likewise.
701 * java/awt/color/ICC_ProfileRGB.java: Likewise.
703 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
705 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
707 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
709 * java/awt/Choice.java (AccessibleAWTChoice): Implement.
711 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
713 * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
714 field hiding ComponentSampleModel.scanlineStride.
716 2004-11-30 Noa Resare <noa@resare.com>
718 * java/awt/geom/GeneralPath.java (currentSegment):
719 Fix typo in transform.transform() invocation.
721 2004-11-30 Sven de Marothy <sven@physto.se>
723 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
724 (createImage): Created bitmap should be filled with bg color
726 2004-11-30 Noa Resare <noa@resare.com>
728 * java/awt/Choice.java (add):
729 Implement correct selection behavior when peer == null.
733 2004-11-30 Mark Wielaard <mark@klomp.org>
735 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
736 Call select() when Choice has a selected item.
738 2004-11-30 Michael Koch <address@bogus.example.com>
740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
741 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
742 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
743 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
744 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
745 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
746 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
747 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
748 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
749 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
750 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
751 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
752 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
753 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
754 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
755 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
756 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
757 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
758 Fixed method names to start at begin of line. This is desired by GNU
761 2004-11-30 Michael Koch <konqueror@gmx.de>
763 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
764 (gtkWidgetSetVisible): Unused. Removed.
765 (connectJObject): Likewise.
766 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
767 (gtkScrolledWindowSetScrollPosition): Commented out.
769 2004-11-30 Mark Wielaard <mark@klomp.org>
771 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
772 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
773 renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
775 2004-11-30 Mark Wielaard <mark@klomp.org>
777 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
778 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
779 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
780 (init_dpi_conversion_factor): Correct prototype.
782 2004-11-30 Sven de Marothy <sven@physto.se>
784 * java/awt/image/ConvolveOp.java: Added missing
787 2004-11-30 Robert Schuster <theBohemian@gmx.net>
790 * gnu/java/beans/IntrospectionIncubator.java:
791 (addMethod): static methods are discarded now, too.
793 2004-11-30 Mark Wielaard <mark@klomp.org>
795 * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
797 * Makefile.in: Regenerated.
799 2004-11-30 Sven de Marothy <sven@physto.se>
801 * gnu/java/awt/color/CieXyzConverter.java,
802 gnu/java/awt/color/GrayScaleConverter.java,
803 gnu/java/awt/color/SrgbConverter.java,
804 gnu/java/awt/color/ClutProfileConverter.java,
805 gnu/java/awt/color/LinearRGBConverter.java,
806 gnu/java/awt/color/TagEntry.java,
807 gnu/java/awt/color/ColorLookUpTable.java,
808 gnu/java/awt/color/ProfileHeader.java,
809 gnu/java/awt/color/ToneReproductionCurve.java,
810 gnu/java/awt/color/ColorSpaceConverter.java,
811 gnu/java/awt/color/PyccConverter.java,
812 gnu/java/awt/color/GrayProfileConverter.java,
813 gnu/java/awt/color/RgbProfileConverter.java:
815 * java/awt/color/ICC_ColorSpace.java,
816 java/awt/color/ICC_Profile.java,
817 java/awt/color/ICC_ProfileGray.java,
818 java/awt/color/ICC_ProfileRGB.java:
819 Implemented (sans PhotoYCC color space).
821 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
823 * java/awt/image/AffineTransformOp.java (filter): Implement
824 bilinear interpolation for Rasters.
826 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
828 * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
829 use the provided colormap. Throw documented exceptions. Document
832 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
834 * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
837 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
839 * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
841 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
843 * java/awt/image/AffineTransformOp.java (filter): Implement Raster
846 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
848 * java/awt/image/ComponentSampleModel.java (getDataElements,
849 setDataElements): Implement SHORT, FLOAT, and INT transfer types.
851 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
853 * java/awt/Font.java (name): New field.
857 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
859 * java/awt/image/Raster.java (createBandedRaster): Implement.
861 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
863 * java/awt/image/ConvolveOp.java: New class.
864 * Makefile.am: Add ConvolveOp.
865 * Makefile.in: Regenerate.
867 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
869 * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
870 LookupOp, RescaleOp): Fix loop bounds.
872 2004-11-30 jlquinn <jlquinn@optonline.net>
874 * Makefile.am: Fix typo in BandCombineOp.
875 * Makefile.in: Regenerate.
877 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
879 * java/awt/image/BandCombineOp.java: New class.
880 * Makefile.am: Add BandCombineOp.
881 * Makefile.in: Regenerate.
883 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
885 * java/awt/image/LookupOp.java: New class.
886 * Makefile.am: Add LookupOp.
887 * Makefile.in: Regenerate.
889 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
891 * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
894 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
896 * java/awt/image/ColorModel.java (cloneColorModel): Fix line
897 wrap. Use Boolean.valueOf.
899 2004-11-30 Michael Koch <konqueror@gmx.de>
901 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
902 (releasePeerGraphicsResource): Fixed typo in method name.
903 * gnu/java/awt/peer/gtk/GdkFontPeer.java
904 (finalize): Fixed typo in releasePeerGraphicsResource.
906 2004-11-30 Michael Koch <konqueror@gmx.de>
908 * java/awt/font/TextAttribute.java
909 (RUN_DIRECTION_LTR): Initialie with static value instead of
911 (RUN_DIRECTION_RTL): Likewise.
912 (STRIKETHROUGH_ON): Likewise.
913 (SWAP_COLORS_ON): Likewise.
915 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
917 * java/awt/image/ColorConvertOp.java: New class.
918 * java/awt/image/ColorModel.java (cloneColorModel): New method.
919 * Makefile.am: Add ColorConvertOp.
920 * Makefile.in: Regenerate.
922 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
924 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
925 Track Window focus owner on FOCUS_GAINED events.
927 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
930 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
932 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
935 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
938 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
941 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
944 * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
947 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
948 to fix type punned pointer warning.
949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
953 (window_get_new_state): Introduce unions to fix warnings as above.
954 (window_property_changed_cb): Likewise.
955 (window_active_state_change_cb): Mark unused variables unused.
956 (window_focus_state_change_cb): Likewise.
957 (window_focus_in_cb): Likewise.
958 (window_focus_out_cb): Likewise.
960 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
961 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
962 PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
964 2004-11-30 Michael Koch <konqueror@gmx.de>
966 * javax/swing/JMenuBar.java
967 (updateUI): Simplified.
968 * javax/swing/tree/DefaultTreeSelectionModel.java:
969 Reorganized import statements.
971 2004-11-30 Michael Koch <konqueror@gmx.de>
973 * java/awt/font/TextAttribute.java,
974 javax/swing/JComponent.java,
975 javax/swing/JInternalFrame.java,
976 javax/swing/table/TableColumn.java,
977 javax/swing/text/StyleConstants.java:
978 Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
980 2004-11-30 Michael Koch <konqueror@gmx.de>
982 * javax/swing/tree/DefaultTreeCellEditor.java,
983 javax/swing/tree/DefaultTreeModel.java,
984 javax/swing/tree/DefaultTreeSelectionModel.java:
987 2004-11-30 Michael Koch <konqueror@gmx.de>
989 * javax/swing/tree/DefaultTreeCellEditor.java
990 (EditorContainer.EditorContainer): Fixed arguments.
991 (EditorContainer.EditorContainer): New method.
992 (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
993 (DefaultTextField.getBorder): Implemented.
994 (listenerList): New field.
995 (addCellEditorListener): Implemented.
996 (removeCellEditorListener): Implemented.
997 (getCellEditorListeners): New method.
998 * javax/swing/tree/DefaultTreeModel.java
999 (addTreeModelListener): Fixed javadoc.
1000 (removeTreeModelListener): Likewise.
1001 (getTreeModelListeners): New method.
1002 (fireTreeNodesChanged): Implemented.
1003 (fireTreeNodesInserted): Likewise.
1004 (fireTreeNodesRemoved): Likewise.
1005 (fireTreeStructureChanged): Likewise.
1006 (getListeners): Fixed javadoc.
1007 * javax/swing/tree/DefaultTreeSelectionModel.java
1008 (addTreeSelectionListener): Implemented.
1009 (removeTreeSelectionListener): Likewise.
1010 (fireValueChanged): Likewise.
1011 (getListeners): Likewise.
1012 (addPropertyChangeListener): Likewise.
1013 (removePropertyChangeListener): Likewise.
1014 (getTreeSelectionListeners): New method.
1015 (getPropertyChangeListeners): Likewise.
1017 2004-11-30 Michael Koch <konqueror@gmx.de>
1019 * javax/swing/plaf/basic/BasicScrollBarUI.java
1020 (maximumThumbSize): Removed static keyword.
1021 (minimumThumbSize): Likewise.
1022 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1023 (CloseAction): Made public.
1024 (IconifyAction): Likewise.
1025 (MaximizeAction): Likewise.
1026 (MoveAction): Likewise.
1027 (RestoreAction): Likewise.
1028 (SizeAction): Likewise.
1029 (SystemMenuBar): Likewise.
1030 * javax/swing/plaf/basic/BasicSliderUI.java
1031 (TrackListener): Likewise.
1032 * javax/swing/plaf/basic/BasicSplitPaneUI.java
1033 (KeyboardDownRightHandler): Likewise.
1034 (KeyboardEndHandler): Likewise.
1035 (KeyboardHomeHandler): Likewise.
1036 (KeyboardResizeToggleHandler): Likewise.
1037 (KeyboardUpLeftHandler): Likewise.
1038 (PropertyHandler): Likewise.
1039 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1040 (PropertyChangeHandler): Likewise.
1041 (TabSelectionHandler): Likewise.
1043 2004-11-30 Michael Koch <konqueror@gmx.de>
1045 * javax/swing/text/JTextComponent.java
1046 (getKeymap): Made public.
1048 2004-11-30 Michael Koch <konqueror@gmx.de>
1050 * javax/swing/JEditorPane.java
1051 (getStream): Throws IOException.
1053 * javax/swing/JRootPane.java
1054 (createContentPane): Fixed return type.
1055 * javax/swing/JSpinner.java
1056 (commitEdit): Throws ParseException.
1057 * javax/swing/plaf/metal/MetalLookAndFeel.java
1058 (serialVersionUID): New field.
1059 * javax/swing/table/TableColumn.java
1060 (resizedPostingDisableCount): Added @deprecated tag.
1061 (disableResizedPosting): Likewise.
1062 (enableResizedPosting): Likewise.
1063 * javax/swing/text/Document.java
1064 (TitleProperty): Fixed value.
1065 * javax/swing/tree/TreeCellEditor.java
1066 (TreeCellEditor): Extends CellEditor.
1068 2004-11-30 Michael Koch <konqueror@gmx.de>
1070 * javax/swing/JWindow.java
1071 javax/swing/SpinnerModel.java
1072 javax/swing/Timer.java
1073 javax/swing/event/MenuKeyEvent.java
1074 javax/swing/plaf/basic/BasicButtonUI.java
1075 javax/swing/plaf/basic/BasicIconFactory.java
1076 javax/swing/plaf/basic/BasicTabbedPaneUI.java
1077 javax/swing/text/AttributeSet.java
1078 javax/swing/text/Highlighter.java
1079 javax/swing/text/StyleConstants.java
1080 javax/swing/tree/TreeCellEditor.java:
1081 Removed redundant and reordered modifiers.
1083 2004-11-30 Michael Koch <konqueror@gmx.de>
1085 * javax/swing/plaf/basic/BasicToolTipUI.java:
1086 Reformatted copyright header.
1088 2004-11-30 Michael Koch <konqueror@gmx.de>
1090 * javax/swing/AbstractAction.java,
1091 javax/swing/AbstractButton.java,
1092 javax/swing/AbstractCellEditor.java,
1093 javax/swing/AbstractListModel.java,
1094 javax/swing/AbstractSpinnerModel.java,
1095 javax/swing/ActionMap.java,
1096 javax/swing/BorderFactory.java,
1097 javax/swing/Box.java,
1098 javax/swing/ButtonModel.java,
1099 javax/swing/CellEditor.java,
1100 javax/swing/CellRendererPane.java,
1101 javax/swing/DefaultBoundedRangeModel.java,
1102 javax/swing/DefaultButtonModel.java,
1103 javax/swing/DefaultCellEditor.java,
1104 javax/swing/DefaultDesktopManager.java,
1105 javax/swing/DefaultListCellRenderer.java,
1106 javax/swing/DefaultListSelectionModel.java,
1107 javax/swing/DefaultSingleSelectionModel.java,
1108 javax/swing/GrayFilter.java,
1109 javax/swing/InputMap.java,
1110 javax/swing/JApplet.java,
1111 javax/swing/JCheckBoxMenuItem.java,
1112 javax/swing/JColorChooser.java,
1113 javax/swing/JComboBox.java,
1114 javax/swing/JComponent.java,
1115 javax/swing/JDesktopPane.java,
1116 javax/swing/JDialog.java,
1117 javax/swing/JEditorPane.java,
1118 javax/swing/JFileChooser.java,
1119 javax/swing/JFormattedTextField.java,
1120 javax/swing/JFrame.java,
1121 javax/swing/JInternalFrame.java,
1122 javax/swing/JLabel.java,
1123 javax/swing/JLayeredPane.java,
1124 javax/swing/JList.java,
1125 javax/swing/JMenu.java,
1126 javax/swing/JMenuBar.java,
1127 javax/swing/JMenuItem.java,
1128 javax/swing/JOptionPane.java,
1129 javax/swing/JPanel.java,
1130 javax/swing/JPasswordField.java,
1131 javax/swing/JPopupMenu.java,
1132 javax/swing/JRadioButtonMenuItem.java,
1133 javax/swing/JRootPane.java,
1134 javax/swing/JSpinner.java,
1135 javax/swing/JSplitPane.java,
1136 javax/swing/JTabbedPane.java,
1137 javax/swing/JTable.java,
1138 javax/swing/JTextArea.java,
1139 javax/swing/JTextPane.java,
1140 javax/swing/JToggleButton.java,
1141 javax/swing/JToolBar.java,
1142 javax/swing/JToolTip.java,
1143 javax/swing/JTree.java,
1144 javax/swing/JViewport.java,
1145 javax/swing/ListModel.java,
1146 javax/swing/LookAndFeel.java,
1147 javax/swing/MenuSelectionManager.java,
1148 javax/swing/ProgressMonitorInputStream.java,
1149 javax/swing/RepaintManager.java,
1150 javax/swing/RootPaneContainer.java,
1151 javax/swing/ScrollPaneLayout.java,
1152 javax/swing/SpringLayout.java,
1153 javax/swing/SwingUtilities.java,
1154 javax/swing/Timer.java,
1155 javax/swing/ToolTipManager.java,
1156 javax/swing/UIDefaults.java,
1157 javax/swing/UIManager.java,
1158 javax/swing/border/MatteBorder.java,
1159 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1160 javax/swing/colorchooser/ColorSelectionModel.java,
1161 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1162 javax/swing/colorchooser/DefaultHSBChooserPanel.java,
1163 javax/swing/colorchooser/DefaultPreviewPanel.java,
1164 javax/swing/colorchooser/DefaultRGBChooserPanel.java,
1165 javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
1166 javax/swing/event/AncestorEvent.java,
1167 javax/swing/event/HyperlinkEvent.java,
1168 javax/swing/event/InternalFrameEvent.java,
1169 javax/swing/event/MenuDragMouseEvent.java,
1170 javax/swing/event/TableColumnModelEvent.java,
1171 javax/swing/event/TableModelEvent.java,
1172 javax/swing/event/TreeExpansionEvent.java,
1173 javax/swing/event/TreeModelEvent.java,
1174 javax/swing/event/TreeSelectionEvent.java,
1175 javax/swing/event/TreeWillExpandListener.java,
1176 javax/swing/event/UndoableEditEvent.java,
1177 javax/swing/filechooser/FileView.java,
1178 javax/swing/plaf/BorderUIResource.java,
1179 javax/swing/plaf/ComponentUI.java,
1180 javax/swing/plaf/FileChooserUI.java,
1181 javax/swing/plaf/IconUIResource.java,
1182 javax/swing/plaf/ListUI.java,
1183 javax/swing/plaf/PopupMenuUI.java,
1184 javax/swing/plaf/SplitPaneUI.java,
1185 javax/swing/plaf/TabbedPaneUI.java,
1186 javax/swing/plaf/TextUI.java,
1187 javax/swing/plaf/TreeUI.java,
1188 javax/swing/plaf/basic/BasicArrowButton.java,
1189 javax/swing/plaf/basic/BasicBorders.java,
1190 javax/swing/plaf/basic/BasicButtonUI.java,
1191 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
1192 javax/swing/plaf/basic/BasicColorChooserUI.java,
1193 javax/swing/plaf/basic/BasicComboBoxEditor.java,
1194 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1195 javax/swing/plaf/basic/BasicComboBoxUI.java,
1196 javax/swing/plaf/basic/BasicComboPopup.java,
1197 javax/swing/plaf/basic/BasicDesktopIconUI.java,
1198 javax/swing/plaf/basic/BasicDesktopPaneUI.java,
1199 javax/swing/plaf/basic/BasicIconFactory.java,
1200 javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
1201 javax/swing/plaf/basic/BasicInternalFrameUI.java,
1202 javax/swing/plaf/basic/BasicListUI.java,
1203 javax/swing/plaf/basic/BasicLookAndFeel.java,
1204 javax/swing/plaf/basic/BasicMenuBarUI.java,
1205 javax/swing/plaf/basic/BasicMenuItemUI.java,
1206 javax/swing/plaf/basic/BasicMenuUI.java,
1207 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1208 javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
1209 javax/swing/plaf/basic/BasicPopupMenuUI.java,
1210 javax/swing/plaf/basic/BasicProgressBarUI.java,
1211 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
1212 javax/swing/plaf/basic/BasicRootPaneUI.java,
1213 javax/swing/plaf/basic/BasicScrollBarUI.java,
1214 javax/swing/plaf/basic/BasicSeparatorUI.java,
1215 javax/swing/plaf/basic/BasicSliderUI.java,
1216 javax/swing/plaf/basic/BasicSpinnerUI.java,
1217 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1218 javax/swing/plaf/basic/BasicSplitPaneUI.java,
1219 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1220 javax/swing/plaf/basic/BasicTableHeaderUI.java,
1221 javax/swing/plaf/basic/BasicTableUI.java,
1222 javax/swing/plaf/basic/BasicTextAreaUI.java,
1223 javax/swing/plaf/basic/BasicTextFieldUI.java,
1224 javax/swing/plaf/basic/BasicTextUI.java,
1225 javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
1226 javax/swing/plaf/basic/BasicToolBarUI.java,
1227 javax/swing/plaf/basic/BasicToolTipUI.java,
1228 javax/swing/plaf/basic/BasicTreeUI.java,
1229 javax/swing/plaf/basic/BasicViewportUI.java,
1230 javax/swing/plaf/basic/ComboPopup.java,
1231 javax/swing/table/AbstractTableModel.java,
1232 javax/swing/table/DefaultTableCellRenderer.java,
1233 javax/swing/table/DefaultTableColumnModel.java,
1234 javax/swing/table/DefaultTableModel.java,
1235 javax/swing/table/JTableHeader.java,
1236 javax/swing/table/TableCellEditor.java,
1237 javax/swing/table/TableCellRenderer.java,
1238 javax/swing/table/TableColumn.java,
1239 javax/swing/table/TableColumnModel.java,
1240 javax/swing/text/AbstractDocument.java,
1241 javax/swing/text/Caret.java,
1242 javax/swing/text/DefaultCaret.java,
1243 javax/swing/text/DefaultEditorKit.java,
1244 javax/swing/text/DefaultHighlighter.java,
1245 javax/swing/text/EditorKit.java,
1246 javax/swing/text/JTextComponent.java,
1247 javax/swing/text/LayeredHighlighter.java,
1248 javax/swing/text/PasswordView.java,
1249 javax/swing/text/SimpleAttributeSet.java,
1250 javax/swing/text/StyleConstants.java,
1251 javax/swing/text/StyleContext.java,
1252 javax/swing/text/StyledEditorKit.java,
1253 javax/swing/text/TextAction.java,
1254 javax/swing/text/View.java,
1255 javax/swing/tree/AbstractLayoutCache.java,
1256 javax/swing/tree/DefaultTreeCellRenderer.java,
1257 javax/swing/tree/DefaultTreeModel.java,
1258 javax/swing/tree/DefaultTreeSelectionModel.java,
1259 javax/swing/tree/FixedHeightLayoutCache.java,
1260 javax/swing/tree/TreeCellRenderer.java,
1261 javax/swing/tree/TreeSelectionModel.java,
1262 javax/swing/tree/VariableHeightLayoutCache.java,
1263 javax/swing/undo/AbstractUndoableEdit.java,
1264 javax/swing/undo/UndoableEditSupport.java:
1267 2004-11-30 Michael Koch <konqueror@gmx.de>
1269 * java/awt/Container.java,
1271 java/awt/font/TextLayout.java:
1274 2004-11-30 Michael Koch <konqueror@gmx.de>
1276 * javax/swing/AbstractButton.java
1277 (getLabel): Added @deprecated tag.
1278 (setLabel): Likewise.
1279 * javax/swing/FocusManager.java
1280 (disableSwingFocusManager): Likewise.
1281 (isFocusManagerEnabled): Likewise.
1282 * javax/swing/JComponent.java
1283 (isManagingFocus): Added version to @deprecated tag.
1284 (getNextFocusableComponent): Moved @deprecated tag to bottom of
1286 (getConditionForKeyStroke): Likewise.
1287 (getActionForKeyStroke): Likewise.
1288 * javax/swing/JDesktopPane.java
1289 (LIVE_DRAG_MODE): Added @specnote tag.
1290 (OUTLINE_DRAG_MODE): Likewise.
1291 * javax/swing/JInternalFrame.java
1292 (MENU_BAR_PROPERTY): Fixed value.
1293 (getMenuBar): Added @deprecated tag.
1294 (setMenuBar): Likewise.
1295 * javax/swing/JViewport.java
1296 (isBackingStoreEnabled): Likewise.
1297 (setBackingStoreEnabled): Likewise.
1298 * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1299 (closeKey): Likewise.
1300 (maximizeKey): Likewise.
1301 (minimizeKey): Likewise.
1302 (navigateKey): Likewise.
1303 (navigateKey2): Likewise.
1304 * javax/swing/plaf/basic/BasicInternalFrameUI.java
1305 (openMenuKey): Likewise.
1306 * javax/swing/plaf/basic/BasicSplitPaneUI.java
1307 (keyboardDownRightListener): Likewise.
1308 (keyboardEndListener): Likewise.
1309 (keyboardHomeListener): Likewise.
1310 (keyboardResizeToggleListener): Likewise.
1311 (keyboardUpLeftListener): Likewise.
1312 (dividerResizeToggleKey): Likewise.
1313 (downKey): Likewise.
1315 (homeKey): Likewise.
1316 (leftKey): Likewise.
1317 (rightKey): Likewise.
1319 (createKeyboardUpLeftListener): Likewise.
1320 (createKeyboardDownRightListener): Likewise.
1321 (createKeyboardHomeListener): Likewise.
1322 (createKeyboardEndListener): Likewise.
1323 (createKeyboardResizeToggleListener): Likewise.
1324 (getDividerBorderSize): Likewise.
1325 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1326 (downKey): Likewise.
1327 (leftKey): Likewise.
1328 (rightKey): Likewise.
1331 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1334 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1335 GTK_TEXT_VIEW macro.
1337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1338 (connect_awt_hook_cb): Mark unused variable unused.
1340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1344 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1345 the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1346 Remove unused var menu.
1347 (selection_changed): Remove unused value.
1349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1350 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1351 warning with using an intermediate variable.
1353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1354 (area_updated): Fix unused var warning for BE archs.
1356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1357 (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1359 (realize_cb): Mark unused variable unused.
1361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1362 (seek_glyphstring_idx): Fix a C90 warning.
1364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1365 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1366 Mark unused arguments unused.
1368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1369 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
1370 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
1371 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
1372 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
1375 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1376 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
1377 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
1380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1381 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1383 (filenameFilterCallback): Remove unused var.
1384 (handle_response): Declare str_fileName and remove last else statement.
1386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1388 (nativeGetNumFontsFamilies) New function.
1389 (nativeGetFontFamilies) Likewise.
1390 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1391 (getAvailableFontFamilyNames): Implement.
1392 * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
1393 * Makefile.in: Regenerate.
1395 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1397 * gnu/java/awt/peer/ClasspathFontPeer.java
1398 (setStandardAttributes(String,Map)): If size attribute doesn't
1399 exist, default to size 12. Clamp size value to a minimum of 1.
1401 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1403 * javax/swing/JDialog.java
1404 (decorated): Likewise.
1405 * javax/swing/JFrame.java
1406 (defaultLookAndFeelDecorated): Likewise.
1408 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1410 * javax/swing/plaf/basic/BasicToolBarUI.java
1411 (offset, regular): Made final.
1412 * javax/swing/plaf/basic/BasicScrollBarUI.java
1413 (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
1414 POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
1416 2004-11-30 Michael Koch <konqueror@gmx.de>
1418 * gnu/java/awt/BitwiseXORComposite.java,
1419 gnu/java/awt/ClasspathToolkit.java,
1420 gnu/java/awt/image/XBMDecoder.java,
1421 gnu/java/awt/peer/GLightweightPeer.java,
1422 gnu/java/awt/peer/gtk/GdkGlyphVector.java:
1423 Reorganized import statements.
1425 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
1427 * java/awt/Button.java
1428 (next_button_number): Removed useless initializer.
1429 * java/awt/Frame.java
1430 (next_frame_number): Likewise.
1431 * java/awt/Panel.java
1432 (next_panel_number): Likewise,
1433 * java/awt/Scrollbar.java
1434 (next_scrollbar_number): Likewise.
1435 * java/awt/TextArea.java
1436 (next_text_number): Likewise.
1438 2004-11-30 Michael Koch <konqueror@gmx.de>
1440 * java/awt/image/ByteLookupTable.java
1441 (ByteLookupTable) :Fixed HTML entities in javadocs.
1442 (lookupPixel): Fix case when dst is null.
1443 * java/awt/image/ShortLookupTable.java
1444 (ShortLookupTable) :Fixed HTML entities in javadocs.
1445 (lookupPixel): Fix case when dst is null.
1446 * java/awt/image/DataBufferByte.java,
1447 java/awt/image/DataBufferDouble.java,
1448 java/awt/image/DataBufferFloat.java,
1449 java/awt/image/DataBufferInt.java,
1450 java/awt/image/DataBufferShort.java,
1451 java/awt/image/DataBufferUShort.java:
1452 Fix initialization of bankData in constructors.
1454 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1456 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1457 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1458 (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
1460 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1461 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1462 (setNativeBounds): Make package private. Set size request even
1463 if GTK parent is NULL.
1464 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1465 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1466 (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
1468 2004-11-30 Mark Wielaard <mark@klomp.org>
1470 Workaround for bug #17952.
1471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1472 (request_frame_extents): Check window->window != NULL.
1474 2004-11-30 Mark Wielaard <mark@klomp.org>
1476 * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
1478 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
1481 native_text_layout_state_table here.
1483 * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
1485 2004-11-30 Mark Wielaard <mark@klomp.org>
1487 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1488 (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
1489 Only call pango_shape() when gi->glyphs->num_glyphs > 0.
1491 2004-11-30 Michael Koch <konqueror@gmx.de>
1493 * gnu/java/awt/peer/gtk/GtkToolkit.java:
1494 Merged import statements.
1496 2004-11-30 Michael Koch <konqueror@gmx.de>
1498 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1499 (isBufferedImageGraphics): Simplified.
1501 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
1503 * javax/swing/JTree.java
1504 (isRootVisible): Fixed typo in method name.
1505 * javax/swing/JScrollBar.java
1506 (setValues): Likewise.
1507 * javax/swing/JScrollPane.java
1508 (createScrollListener): Call JScrollBar.setValues.
1510 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1512 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
1513 Don't call setParentAndBounds on GtkWindowPeers.
1515 * java/awt/Component.java (static): Don't set default keyboard
1517 * java/awt/KeyboardFocusManager.java
1518 (getCurrentKeyboardFocusManager): If current keyboard focus
1519 manager is null set a default.
1521 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1522 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1523 (gtkWidgetSetBackground): New method.
1524 (block_expose_events_cb): New function.
1525 (connectSignals): Block the AWT's expose event processing on
1526 button press and release.
1527 (gtkSetLabel): Set text on proper widget.
1528 (gtkWidgetModifyFont): Modify font on proper widget.
1529 (gtkWidgetSetBackground): Set normal, active and prelight
1531 (gtkWidgetSetForeground): Set forground colour of proper widget.
1532 (gtkActivate): Activate the correct widget.
1533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
1534 Only clear rectangle if the backing component is not an event
1536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1537 (beginNativeRepaintID): New variable.
1538 (endNativeRepaintID): Likewise.
1539 (gtkInit): Initialize new fields with method IDs.
1540 * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
1541 (endNativeRepaintID): Likewise.
1543 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1545 * javax/swing/JList.java (init): Revert accidental commit.
1547 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1548 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
1549 Call initComponentGraphics or connectSignals depending on
1550 component's realization status.
1551 (realize_cb): New function.
1552 (initComponentGraphics): New method.
1553 (connectSignals): New method.
1554 (clipRect): Return immediately if component is not realized.
1555 (setClip): Likewise.
1556 (translate): Likewise.
1557 (drawImage variants): Return false immediately if component is
1559 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1560 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1561 (connectSignals): New method.
1562 (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
1563 depending on component's realization status. Move other
1564 initialization calls to ...
1565 (initComponentGraphics2D): New method.
1566 (realize_cb): New function.
1567 (cairoSetMatrix): Return immediately if gr is NULL.
1568 (cairoNewPath): Likewise.
1569 (cairoRectangle): Likewise.
1570 (cairoClip): Likewise.
1571 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1572 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1573 (gtkWidgetRepaintArea): Remove method.
1574 (isRealized): New method.
1575 (GtkComponentPeer): Move setParent, connectJObject and setCursor
1576 calls to setParentAndBounds. Call setParentAndBounds.
1577 (setParentAndBounds): New method.
1578 (setComponentBounds): Return immediately if bounds are all zero.
1579 (repaint): Remove call to gtkWidgetRepaintArea. Return
1580 immediately if requested paint region is 0x0.
1581 (setCursor): New method.
1582 (gtkWidgetSetParent): Only set widget's parent if its parent is
1584 (setNativeBounds): Only set widget's bounds if it has a parent.
1585 (connectSignals): Don't call gtk_widget_realize. Connect
1586 "realize" signal to connect_awt_hook_cb handler.
1587 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
1589 (beginValidate): Set isValidating true.
1590 (endValidate): Set parents and bounds for children first, then
1591 for this. Set isValidating false.
1592 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1593 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1594 (connectJObject): Remove method.
1595 (connectSignals): Don't call gtk_widget_realize.
1596 * gnu/java/awt/peer/gtk/GtkListPeer.java,
1597 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1598 (connectJObject): Remove method.
1599 (connectSignals): Don't call gtk_widget_realize.
1600 * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
1601 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1602 (connectJObject): Remove method.
1603 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1604 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1605 (connectJObject): Remove method.
1606 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1607 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1608 (create): Don't call gtk_widget_realize.
1609 (connectJObject): Remove method.
1610 (connectSignals): Don't call gtk_widget_realize. Connect
1611 "realize" signal to connect_awt_hook_cb handler.
1612 (nativeSetBounds): Don't attempt to move GDK window if it is
1614 * java/awt/Container.java (addImpl): Don't call comp.addNotify
1615 if peer is not null.
1616 (validateTree): Create peers for all children before calling
1618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1619 (connectSignals): Don't call gtk_widget_realize.
1620 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1621 (connect_awt_hook_cb): New function.
1622 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1623 (initComponentGraphicsID): New variable.
1624 (initComponentGraphics2DID): Likewise.
1625 (setCursorID): Likewise.
1626 (gtkInit): Initialize new fields with method IDs.
1627 * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
1629 (initComponentGraphics2DID): Declare extern.
1630 (setCursorID): Likewise.
1631 (connect_awt_hook_cb): Declare function.
1633 2004-11-30 Michael Koch <konqueror@gmx.de>
1635 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1636 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1637 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1638 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1639 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1640 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1641 gnu/java/awt/peer/gtk/GtkClipboard.java,
1642 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1643 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1644 gnu/java/awt/peer/gtk/GtkFontPeer.java,
1645 gnu/java/awt/peer/gtk/GtkListPeer.java,
1646 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1647 gnu/java/awt/peer/gtk/GtkToolkit.java,
1648 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1649 Import statements reworked. Some little reformattings.
1651 2004-11-30 Michael Koch <konqueror@gmx.de>
1653 * java/awt/image/AffineTransformOp.java
1654 (TYPE_BILINEAR): Initialize with 2.
1655 * java/awt/print/Printable.java: Jalopied.
1656 (PAGE_EXISTS): Initialize with 0;
1657 (NO_SUCH_PAGE): Initialized with 1.
1659 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1661 * Makefile.am: Add BufferedImageFilter.java.
1662 * Makefile.in: Regenerate.
1664 2004-11-30 Graydon Hoare <graydon@redhat.com>
1666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1667 (install_font_peer): Minor bug fixes to track cairo font semantics.
1669 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1671 * java/awt/image/BufferedImageFilter.java: Implement.
1673 2004-11-30 Graydon Hoare <graydon@redhat.com>
1676 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
1677 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
1678 (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
1679 (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
1680 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
1681 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
1682 (gnu/java/awt/peer/gtk/GdkTextLayout.java)
1683 (gnu/java/awt/peer/gtk/GdkFontPeer.java)
1684 (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
1685 * Makefile.in: Regenerate.
1686 * gnu/awt/xlib/XToolkit.java
1687 (getClasspathTextLayoutPeer): Add stub.
1688 * gnu/java/awt/ClasspathToolkit.java
1689 (getClasspathTextLayoutPeer) Add.
1690 * gnu/java/awt/peer/ClasspathFontPeer.java
1692 (copySizeToAttrs): Make public.
1693 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
1694 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
1695 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
1696 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
1697 * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
1698 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
1699 * gnu/java/awt/peer/gtk/GdkGraphics.java
1700 (getFontPeer): New function.
1701 (drawString): Pass font peer to native side.
1702 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1705 (PainterThread): Remove.
1706 (GdkGraphics2D): Set hints during construction.
1711 (setRenderingHints): Reimplement normalization logic.
1713 (updateBufferedImage)
1714 (isBufferedImageGraphics)
1716 (drawImage): Make final.
1717 (drawImage): Always paint synchronously.
1719 (drawGlyphVector): Rewrite.
1720 (releasePeerGraphicResource)
1721 (getPeerTextMetrics)
1722 (getPeerFontMetrics)
1723 (drawGdkGlyphVector)
1725 (cairoDrawGdkGlyphVector)
1726 (cairoDrawGdkTextLayout)
1728 (getFontPeer): New functions.
1729 * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
1730 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1731 (getFontMetrics): Get metrics via toolkit, to hit cache.
1732 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
1733 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1734 * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
1737 (imageCache): New members.
1740 (getClasspathFontPeer): Use caches.
1741 (getFontPeer): Route through getClasspathFontPeer.
1742 * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
1743 * java/awt/font/TextLayout.java: Implement in terms of peer.
1744 * javax/swing/plaf/basic/BasicSliderUI.java
1745 (paintThumb): Use polyline rather than polygon.
1746 * javax/swing/plaf/basic/BasicGraphicsUtils.java:
1747 Update comment but, alas, still do not switch to using TextLayouts.
1748 * javax/swing/text/Utilities.java (drawTabbedText):
1749 Draw text run-at-a-time, not char-at-a-time.
1750 * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
1752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1755 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
1756 incorporate brains of old GdkClasspathFontPeerMetrics.
1757 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
1758 incorporate brains of old GdkClasspathFontPeer.
1759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
1760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1761 (drawString): Rewrite to use persistent layout in peer font.
1762 Comment out extraneous gdk_flush calls.
1763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1765 (metrics_surface): New static variables.
1767 (install_font_peer): New helper functions.
1768 (releasePeerGraphicResource)
1769 (getPeerTextMetrics)
1770 (getPeerFontMetrics)
1771 (cairoDrawGdkTextLayout)
1772 (cairoDrawGdkGlyphVector): New native methods.
1773 (cairoDrawString): Rewrite, leaving layout-based version
1774 commented out for the time being.
1775 * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
1777 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
1779 * java/awt/geom/AffineTransform.java:
1780 Fixed javadocs overall.
1782 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1784 * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
1787 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1789 * java/awt/image/IndexColorModel.java: Fix use of immutable
1792 2004-11-30 Tom Tromey <tromey@redhat.com>
1794 * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
1795 Renamed from 'messageIcon'.
1796 (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
1798 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1800 * java/awt/image/RescaleOp.java: Fix formatting.
1802 2004-11-30 Olga Rodimina <rodimina@redhat.com>
1804 * javax/swing/plaf/basic/BasicComboPopup.java
1805 (SCROLL_DOWN): made final.
1806 (SCROLL_UP): made final.
1808 2004-11-30 Olga Rodimina <rodimina@redhat.com>
1810 * javax/swing/plaf/basic/BasicComboPopup.java:
1811 Added javadocs for undocumented fields.
1812 (show): scroll down to the selected item and
1813 highlight selected item.
1814 (startAutoScrolling): Implemented.
1815 (stopAutoScrolling): Implemented.
1816 (autoScrollUp): Implemented.
1817 (autoScrollDown): Implemented.
1818 (InvocationMouseHandler.mouseReleased): Implemented.
1819 (InvocationMouseMotionHandler.mouseDragged): Implemented.
1821 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1823 * java/awt/image/RescaleOp.java: Implement.
1825 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1827 * java/awt/image/IndexColorModel.java (getRGBs,
1828 convertToIntDiscrete): Implement.
1830 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1832 * java/awt/image/IndexColorModel.java: Add class docs.
1834 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1836 * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
1839 2004-11-30 Michael Koch <konqueror@gmx.de>
1841 * java/awt/MenuBar.java,
1842 java/awt/peer/MenuBarPeer.java:
1843 Revert accidentally commited changes.
1845 2004-11-30 Michael Koch <konqueror@gmx.de>
1847 * java/awt/AWTKeyStroke.java,
1848 java/awt/Canvas.java,
1849 java/awt/CardLayout.java,
1850 java/awt/CheckboxMenuItem.java,
1851 java/awt/Component.java,
1852 java/awt/Container.java,
1853 java/awt/DefaultKeyboardFocusManager.java,
1854 java/awt/EventDispatchThread.java,
1855 java/awt/FileDialog.java,
1856 java/awt/FlowLayout.java,
1858 java/awt/Frame.java,
1859 java/awt/Graphics2D.java,
1860 java/awt/GraphicsEnvironment.java,
1861 java/awt/GridBagConstraints.java,
1862 java/awt/GridBagLayout.java,
1863 java/awt/GridLayout.java,
1864 java/awt/Image.java,
1865 java/awt/KeyboardFocusManager.java,
1866 java/awt/Label.java,
1868 java/awt/MediaTracker.java,
1870 java/awt/MenuBar.java,
1871 java/awt/MenuComponent.java,
1872 java/awt/Panel.java,
1873 java/awt/PopupMenu.java,
1874 java/awt/ScrollPane.java,
1875 java/awt/Scrollbar.java,
1876 java/awt/SystemColor.java,
1877 java/awt/TextArea.java,
1878 java/awt/TextField.java,
1879 java/awt/Toolkit.java,
1880 java/awt/Window.java,
1881 java/awt/color/ICC_Profile.java,
1882 java/awt/datatransfer/DataFlavor.java,
1883 java/awt/datatransfer/StringSelection.java,
1884 java/awt/datatransfer/SystemFlavorMap.java,
1885 java/awt/dnd/Autoscroll.java,
1886 java/awt/dnd/DropTarget.java,
1887 java/awt/dnd/DropTargetContext.java,
1888 java/awt/dnd/DropTargetDragEvent.java,
1889 java/awt/dnd/peer/DropTargetContextPeer.java,
1890 java/awt/event/AdjustmentEvent.java,
1891 java/awt/event/InputEvent.java,
1892 java/awt/event/InvocationEvent.java,
1893 java/awt/event/KeyEvent.java,
1894 java/awt/event/MouseEvent.java,
1895 java/awt/font/TextLayout.java,
1896 java/awt/geom/GeneralPath.java,
1897 java/awt/geom/Point2D.java,
1898 java/awt/im/InputContext.java,
1899 java/awt/im/spi/InputMethodContext.java,
1900 java/awt/image/AffineTransformOp.java,
1901 java/awt/image/BufferedImage.java,
1902 java/awt/image/ColorModel.java,
1903 java/awt/image/ComponentColorModel.java,
1904 java/awt/image/CropImageFilter.java,
1905 java/awt/image/DirectColorModel.java,
1906 java/awt/image/MemoryImageSource.java,
1907 java/awt/image/PackedColorModel.java,
1908 java/awt/image/PixelGrabber.java,
1909 java/awt/image/RasterOp.java,
1910 java/awt/peer/MenuBarPeer.java:
1911 Some fixes for checkstyle. Import statement and modifier order
1914 2004-11-30 Michael Koch <konqueror@gmx.de>
1916 * javax/swing/JTable.java
1917 (setModel): Reimplemented.
1919 2004-11-30 Michael Koch <konqueror@gmx.de>
1921 * javax/swing/JTextArea.java
1922 (append): Re-implemented.
1925 2004-11-30 Michael Koch <konqueror@gmx.de>
1927 * javax/swing/JSpinner.java
1928 (serialVersionUID): New static field.
1929 * javax/swing/JToggleButton.java
1930 (JToggleButton): Fixed email addresses.
1931 * javax/swing/SpinnerNumberModel.java
1932 (serialVersionUID): Added javadoc.
1934 2004-11-30 Michael Koch <konqueror@gmx.de>
1936 * javax/swing/JTextArea.java:
1937 Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
1938 bug here which is fixed in HEAD ...
1940 2004-11-30 Andrew John Hughes <address@hidden>
1942 * javax/swing/JTextArea.java: Added additional
1945 2004-11-30 Andrew John Hughes <address@hidden>
1947 * javax/swing/JRadioButton.java:
1948 Implemented additional constructors and accessibility
1949 classes. Added documentation and fixed a typo in
1952 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1954 * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
1955 missing constructor.
1957 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1959 * java/awt/image/ComponentColorModel.java (ComponentColorModel):
1960 Implement missing 1.4 constructor.
1962 2004-11-30 Andrew John Hughes <address@hidden>
1964 * javax/swing/JToggleButton.java:
1965 Implemented additional constructors and accessibility
1966 classes. Added documentation and fixed a typo in
1969 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1971 * java/awt/image/ColorModel.java (getDataElement,
1972 getDataElements): Document since 1.4.
1974 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1976 * java/awt/image/BandedSampleModel.java: Implement.
1977 * Makefile.am: Add java/awt/image/BandedSampleModel.java.
1978 * Makefile.in: Regenerated.
1980 2004-11-30 Michael Koch <konqueror@gmx.de>
1982 * java/awt/Window.java: Fixed whitespace difference with GNU
1985 2004-11-30 Mark Wielaard <mark@klomp.org>
1987 * Makefile.am: Add javax/swing/SpinnerListModel.java.
1988 * Makefile.in: Regenerated.
1990 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
1992 * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
1993 Implemented SpinnerListModel. Added documentation to
1996 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1999 (init_dpi_conversion_factor): Apply the patch from main correctly.
2000 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
2002 2004-11-30 Tom Tromey <tromey@redhat.com>
2005 * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
2006 (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
2007 * javax/swing/plaf/basic/BasicSplitPaneUI.java
2008 (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
2010 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2012 * java/awt/Canvas.java
2013 (AccessibleAWTCanvas): added serialization UID
2014 * java/awt/Label.java
2015 (AccessibleAWTLabel): added serialization UID
2016 * javax/swing/JRootPane.java
2017 (AccessibleJRootPane): added comment to existing UID
2018 * javax/swing/JSpinner.java
2019 (DefaultEditor): added serialization UID
2020 (NumberEditor): added serialization UID
2021 * javax/swing/text/html/HTML.java
2022 (UnknownTag): added serialization UID
2024 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
2026 * javax/swing/JInternalFrame.java
2027 (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
2028 IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
2029 IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
2030 ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
2031 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
2032 (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
2033 Made final as per API spec.
2035 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
2037 * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
2039 2004-11-30 Sven de Marothy <sven@physto.se>
2041 * java/awt/geom/Arc2D.java: Reformatted.
2042 (setArc): Correct documentation to say 'upper left corner'.
2043 (setArcByTangent,contains,intersects): Implemented.
2044 (containsAngle): Corrected to handle negative extents.
2045 (ArcIterator): Set to private.
2046 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2047 (intersects): Fix: Now checks the arc segment.
2048 (contains): Cleaned up.
2049 * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
2050 (contains): Implemented.
2051 (intersects): Implemented.
2052 * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
2053 * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
2054 document. Fully (re)implemented using separate xpoints and ypoints
2057 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
2059 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2060 * configure: Regenerate.
2061 * include/config.h.in: Likewise.
2062 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
2063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
2065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2066 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
2067 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
2069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
2072 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
2074 * java/awt/SystemColor.java: Fix @link doc entries.
2076 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
2078 * java/awt/RenderingHints.java: Documented.
2079 (RenderingHints): Accept null init Map.
2080 (putAll): Preprocess map to generate appropriate exceptions.
2081 (remove): Cast object to Key and remove from hintMap.
2083 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2085 * java/awt/MenuComponent.java, java/awt/MenuBar.java:
2086 Implementation of accessibility classes and methods
2087 for these two components.
2089 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2091 * java/awt/KeyboardFocusManager.java:
2092 Added missing documentation.
2094 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2096 * java/awt/Label.java, java/awt/Canvas.java:
2097 Added accessibility classes to AWT Label and Canvas,
2098 as well as additional documentation for Canvas.
2100 2004-11-30 David Gilbert <address@bogus.example.com>
2102 * java/awt/image/DataBuffer.java: Update API documentation.
2103 * java/awt/image/DataBufferByte.java: Likewise.
2104 * java/awt/image/DataBufferDouble.java: Likewise.
2105 * java/awt/image/DataBufferFloat.java: Likewise.
2106 * java/awt/image/DataBufferInt.java: Likewise.
2107 * java/awt/image/DataBufferShort.java: Likewise.
2108 * java/awt/image/DataBufferUShort.java: Likewise.
2110 2004-11-30 Dalibor Topic <robilad@kaffe.org>
2112 * java/awt/Component.java (postEvent):
2113 Only delegate to parent if a parent exists.
2114 Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
2116 2004-11-30 Sven de Marothy <sven@physto.se>
2118 *java/awt/AWTEventMulticaster.java,
2119 java/awt/Adjustable.java,
2120 java/awt/Point.java,
2121 java/awt/Polygon.java,
2122 java/awt/Rectangle.java,
2123 java/awt/Shape.java,
2124 java/awt/geom/Area.java,
2125 java/awt/geom/Ellipse2D.java,
2126 java/awt/geom/PathIterator.java,
2127 java/awt/geom/Point2D.java,
2128 java/awt/geom/Rectangle2D.java,
2129 java/lang/Comparable.java,
2130 java/util/Arrays.java:
2131 Fixed documentation errors
2133 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2135 * java/awt/image/ComponentSampleModel.java: Add documentation.
2138 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2140 * java/awt/image/ComponentSampleModel.java (constructor):
2141 Initialize numBanks when figuring out the max bank index.
2143 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2145 * java/awt/image/Raster.java (createPackedRaster): Implement
2146 MultiPixelPackedSampleModel codepath.
2148 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2150 * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
2151 * Makefile.am: Add MultiPixelPackedSampleModel.java.
2152 * Makefile.in: Regenerate.
2154 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2156 * java/awt/image/Raster.java (getNumBands): Implement.
2158 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2160 * java/awt/image/Raster.java
2161 (createPackedRaster(int,int,int,int,int,Point)): Implement for
2164 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2166 * java/awt/image/SinglePixelPackedSampleModel.java
2167 (SinglePixelPackedSampleModel): Throw exception for unsupported
2170 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2172 * java/awt/image/ColorModel.java (getDataElement): Implemented.
2174 (getDataElements): Add missing version. Remove bogus version.
2177 2004-11-30 Olga Rodimina <rodimina@redhat.com>
2179 * javax/swing/plaf/basic/BasicComboBoxUI.java:
2180 (paintCurrentValue): Pass correct parameters to
2181 getListCellRendererComponent().
2182 (ListDataHandler.intervalRemoved): Implemented.
2183 (PropertyChangeHandler.propertyChange): Handle changes in
2184 MODEL_CHANGED_PROPERTY of the JComboBox
2185 * javax/swing/plaf/basic/BasicComboPopup.java:
2186 (BasicComboPopup): Moved code that configures popup to
2187 configurePopup() and call it instead.
2188 (firePopupMenuWillBecomeVisible): Implemented.
2189 (firePopupMenuWillBecomeInvisible): Likewise.
2190 (firePopupMenuCanceled): Likewise.
2191 (configureList): Set list's visibleRowCount same as
2192 comboBox's visibleRowCount.
2193 (configurePopup): Implemented.
2194 (getPopupHeightForRowCount): Get item's from JComboBox's model and
2195 not from model of the JList.
2196 (ListMouseMotionHandler.mouseMoved): Implemented.
2197 (PropertyChangeHandler.propertyChange): Handles change in the
2200 2004-11-30 Michael Koch <konqueror@gmx.de>
2202 * javax/swing/JComponent.java
2203 (isMaximumSizeSet): New method.
2204 (isMinimumSizeSet): Likewise.
2205 (isPreferredSizeSet): Likewise.
2207 2004-11-30 Michael Koch <konqueror@gmx.de>
2209 * javax/swing/JSpinner.java:
2211 (spinner): New field.
2212 (DefaultEditor): New method.
2213 (getSpinner): Likewise.
2214 (NumberEdito): Likewise.
2215 (getModel): Likewise
2217 2004-11-30 Michael Koch <konqueror@gmx.de>
2219 * javax/swing/InputVerifier.java:
2221 * javax/swing/JComponent.java
2222 (inputVerifier): New property field.
2223 (getInputVerifier): New method.
2224 (setInputVerifier): Likewise.
2226 2004-11-30 Michael Koch <konqueror@gmx.de>
2228 * javax/swing/JComponent.java
2229 (JComponent): Added javadoc comment.
2230 (setBorder): Fire property change eventr.
2231 (setEnabled): Likewise.
2232 (setMaximumSize): Likewise.
2233 (setMinimumSize): Likewise.
2234 (setPreferredSize): Likewise.
2235 (setOpaque): Likewise.
2237 2004-11-30 Michael Koch <konqueror@gmx.de>
2239 * javax/swing/JTextField.java
2240 (action): New field.
2241 (actionCommand): Likewise.
2242 (actionPropertyChangeListener): Likewise.
2243 (setHorizontalAlignment): Abort soon if new value == old value. Fire
2244 event before repainting.
2245 (postActionEvent): New method.
2246 (getAction): Likewise.
2247 (setAction): Likewise.
2248 (getActionCommand): Likewise.
2249 (setActionCommand): Likewise.
2250 (createActionPropertyChangeListener): Likewise.
2251 (configurePropertiesFromAction): Likewise.
2253 2004-11-30 Michael Koch <konqueror@gmx.de>
2255 * javax/swing/DebugGraphics.java:
2256 Re-formatted. Fixed some javadocs.
2257 * javax/swing/JApplet.java
2258 (rootPaneCheckingEnabled): Renamed from checking.
2259 * javax/swing/JCheckBox.java
2260 (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2261 * javax/swing/JFrame.java:
2262 Re-formatted a bit and reordered some methods.
2263 (rootPaneCheckingEnabled): Renamed from checking.
2264 (getPreferredSize): Simplified.
2265 * javax/swing/JTextArea.java
2266 (getColumnWidth): New method.
2267 (getLineCount): Likewise.
2268 (getLineStartOffset): Likewise.
2269 (getLineEndOffset): Likewise.
2270 (getLineOfOffset): Likewise.
2271 (getRowHeight): Likewise.
2273 (replaceRange): Likewise.
2274 * javax/swing/JTextField.java
2275 (scrollOffset): new field.
2276 (getScrollOffset): New method.
2277 (setScrollOffset): Likewise.
2278 (getColumnWidth): Likewise.
2279 * javax/swing/JTree.java
2280 (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2281 (CELL_EDITOR_PROPERTY): Likewise.
2282 (CELL_RENDERER_PROPERTY): Likewise.
2283 (EDITABLE_PROPERTY): Likewise.
2284 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2285 (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2286 (LARGE_MODEL_PROPERTY): Likewise.
2287 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2288 (ROOT_VISIBLE_PROPERTY): Likewise.
2289 (ROW_HEIGHT_PROPERTY): Likewise.
2290 (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2291 (SELECTION_MODEL_PROPERTY): Likewise.
2292 (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2293 (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2294 (TREE_MODEL_PROPERTY): Likewise.
2295 (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2296 (cellEditor): New field.
2297 (invokesStopCellEditing): Likewise.
2298 (largeModel): Likewise.
2299 (rowHeight): Likewise.
2300 (scrollsOnExpand): Likewise.
2301 (selectionModel): Likewise.
2302 (toggleClickCount): Likewise.
2303 (visibleRowCount): Likewise.
2304 (setShowsRootHandles): Fixed typo in method name.
2305 (getCellEditor): New method.
2306 (setCellEditor): Likewise.
2307 (getSelectionModel): Likewise.
2308 (setSelectionModel): Likewise.
2309 (getVisibleRowCount): Likewise.
2310 (setVisibleRowCount): Likewise.
2311 (isLargeModel): Likewise.
2312 (setLargeModel): Likewise.
2313 (getRowHeight): Likewise.
2314 (setRowHeight): Likewise.
2315 (getInvokesStopCellEditing): Likewise.
2316 (setInvokesStopCellEditing): Likewise.
2317 (getToggleClickCount): Likewise.
2318 (setToggleClickCount): Likewise.
2319 (getScrollsOnExpand): Likewise.
2320 (setScrollsOnExpand): Likewise.
2321 * javax/swing/table/DefaultTableColumnModel.java
2322 (addColumnModelListener): Fixed javadoc.
2323 (removeColumnModelListener): Implemented. Fixed javadoc.
2324 (getColumnModelListeners): New method.
2325 * javax/swing/table/JTableHeader.java
2326 (columnModel): Made protected.
2327 (draggedColumn): Likewise.
2328 (draggedDistance): Likewise.
2329 (reorderingAllowed): Likewise.
2330 (resizingAllowed): Likewise.
2331 (resizingColumn): Likewise.
2333 (updateTableInRealTime): Likewise.
2334 (createDefaultColumnModel): Renamed from
2335 createDefaultTableColumnModel.
2336 (setDefaultRenderer): New method.
2337 * javax/swing/table/TableColumn.java
2338 (getPropertyChangeListeners): New method.
2339 * javax/swing/text/DefaultHighlighter.java
2340 (drawsLayeredHighlights): New field.
2341 (getDrawsLayeredHighlights): New method.
2342 (setDrawsLayeredHighlights): Likewise.
2343 * javax/swing/text/DocumentFilter.java
2344 (FilterBypass): New inner class.
2345 (insertString): New method.
2347 (replace): Likewise.
2348 * javax/swing/text/JTextComponent.java
2349 (dragEnabled): New field.
2350 (getSelectedText): New method.
2351 (getDragEnabled): Likewise.
2352 (setDragEnabled): Likewise.
2353 (replaceSelection): Reimplemented.
2354 * javax/swing/text/NavigationFilter.java
2355 (FilterBypass): New inner class.
2356 (NavigationFilter): New method.
2357 (moveDot): Likewise.
2359 * javax/swing/text/SimpleAttributeSet.java
2360 (EMPTY): Made public final.
2362 2004-11-30 Michael Koch <konqueror@gmx.de>
2364 * javax/swing/SpinnerNumberModel.java
2365 (getMinimum): New method.
2366 (setMinimum): Likewise.
2367 (getMaximum): Likewise.
2368 (setMaximum): Likewise.
2369 (getStepSize): Likewise.
2370 (setStepSize): Likewise.
2372 2004-11-30 Michael Koch <konqueror@gmx.de>
2374 * javax/swing/JMenu.java
2375 (getMenuListeners): New method.
2376 (fireMenuSelected): Simplified.
2377 * javax/swing/JRootPane.java
2378 (NONE): New static field.
2380 (PLAIN_DIALOG): Likewise.
2381 (INFORMATION_DIALOG): Likewise.
2382 (ERROR_DIALOG): Likewise.
2383 (COLOR_CHOOSER_DIALOG): Likewise.
2384 (FILE_CHOOSER_DIALOG): Likewise.
2385 (QUESTION_DIALOG): Likewise.
2386 (WARNING_DIALOG): Likewise.
2387 (defaultButton): New field.
2388 (getDefaultButton): New method.
2389 (setDefaultButton): Likewise.
2390 * javax/swing/JScrollPane.java
2391 (getUI): New method.
2393 * javax/swing/JTable.java
2394 (getUI): Javadoc added.
2395 (setUI): New method.
2396 * javax/swing/JViewport.java
2397 (getUI): New method.
2399 * javax/swing/UIDefaults.java
2400 (removePropertyChangeListener): Made public.
2402 2004-11-30 Michael Koch <konqueror@gmx.de>
2404 * javax/swing/JApplet.java, javax/swing/JFrame.java:
2407 2004-11-30 Michael Koch <konqueror@gmx.de>
2409 * javax/swing/AbstractButton.java:
2410 Little re-formatting.
2411 (changeEvent): Made protected.
2412 (fireStateChanged): Removed argument.
2413 (setHorizontalAlignment): Abort method when old value is equal too new
2415 (setHorizontalTextPosition): Likewise.
2416 (setVerticalAlignment): Likewise.
2417 (setVerticalTextPosition): Likewise.
2418 (setBorderPainted): Likewise.
2419 (setIcon): Likewise.
2420 (setText): Likewise.
2421 (setIconTextGap): Likewise.
2422 (setMargin): Likewise.
2423 (setPressedIcon): Likewise.
2424 (setFocusPainted): Likewise.
2425 (setDisabledSelectedIcon): Likewise.
2426 (setRolloverIcon): Likewise.
2427 (setRolloverSelectedIcon): Likewise.
2428 (setSelectedIcon): Likewise.
2429 (setContentAreaFilled): Likewise.
2431 2004-11-30 Kim Ho <kho@redhat.com>
2433 * javax/swing/plaf/basic/BasicArrowButton.java:
2434 Jalopy. Reimplement.
2435 * javax/swing/plaf/basic/BasicScrollBarUI.java:
2437 (arrowIcon, upIcon, downIcon, leftIcon,
2438 rightIcon): Removed.
2439 (createIncreaseButton): Use BasicArrowButton.
2440 (createDecreaseButton): Ditto.
2441 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2442 (createRightOneTouchButton): Remove button border.
2443 (createLeftOneTouchButton): Ditto.
2445 2004-11-30 Michael Koch <konqueror@gmx.de>
2447 * javax/swing/JSpinner.java
2448 (setModel): New method.
2449 * javax/swing/SpringLayout.java
2450 (Constraints): May not be final.
2452 2004-11-30 Michael Koch <konqueror@gmx.de>
2454 * gnu/java/awt/peer/gtk/GtkClipboard.java,
2455 java/awt/datatransfer/Clipboard.java,
2456 java/awt/datatransfer/ClipboardOwner.java:
2457 Reformated to make it use our coding standard.
2459 2004-11-30 Michael Koch <konqueror@gmx.de>
2461 * javax/swing/SpinnerNumberModel.java
2462 (SpinnerNumberModel): Implements java.io.Serializable.
2463 (serialVersionUID): New field.
2464 (SpinnerNumberModel): Added missing @throws tags to javadocs.
2465 * javax/swing/UIManager.java
2467 (getBoolean): Likewise.
2468 (getBorder): Likewise.
2469 (getColor): Likewise.
2470 (getDimension): Likewise.
2471 (getFont): Likewise.
2472 (getIcon): Likewise.
2473 (getInsets): Likewise.
2475 (getString): Likewise.
2477 2004-11-30 Michael Koch <konqueror@gmx.de>
2479 * javax/swing/JPasswordField.java:
2480 Reformated. Implemented construtors.
2481 * javax/swing/plaf/basic/BasicPasswordFieldUI.java
2482 (create): New method.
2483 * javax/swing/text/PlainView.java
2484 (selectedColor): Made package-private to allow access from sub-classes
2485 in same package too.
2486 (unselectedColor): Likewise.
2488 (drawSelectedText): Make protected.
2489 (drawUnselectedText): Likewise.
2490 * javax/swing/text/PasswordView.java: New file.
2491 * Makefile.am: Added javax/swing/text/PasswordView.java.
2492 * Makefile.in: Regenerated.
2494 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2496 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
2498 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
2500 (addHelpMenu): Elide call to nativeSetHelpMenu.
2501 * java/awt/Menu.java (isTearOff): Rename to tearOff.
2502 (menuSerializedDataVersion): Initialize to 1.
2503 (separatorLabel): Mark transient.
2504 (insert(MenuItem,int)): Implement.
2505 * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
2507 (countMenus): Count help menu.
2508 * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
2509 accessibleContext): Add fields.
2510 * java/awt/MenuItem.java: Remove event mask FIXME.
2511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2512 (gtkWidgetModifyFont): Only set font if label is non-NULL.
2513 (setLabel): Don't treat "-" specially.
2515 2004-11-30 Kim Ho <kho@redhat.com>
2517 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2518 (stateChanged): Only update the image and the track if
2519 the values are not being adjusted.
2520 (updateChooser): Grab the new mouse point from the
2521 spinner values. Update the image and track only if
2522 the values are not being adjusted.
2523 (getHSBValues): New method.
2524 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2525 (SliderHandler::stateChanged): Changed internalChange
2526 to updateChange. Set sliderChange.
2527 (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
2528 (spinnerChange): New variable.
2529 (sliderChange): Ditto.
2530 (updateChange): Renamed from internalChange.
2531 (updateChooser): Do not update sliders if the sliders
2532 were the original source of the change. Ditto for spinners.
2533 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2534 (mousePress): Don't scroll the JViewport if there will
2535 be extra space at the end of the run. Change layout() to
2537 (calculateSize): Use the component's width/height unless
2538 it is smaller than the max tab width/height.
2539 (calculateTabRects): Subtract the tab run overlay.
2540 (rotateTabRuns): Don't rotate if there's only one run.
2541 (layoutContainer): Reuse the viewport point.
2542 (createLayoutManager): Set the viewport to use no layout.
2543 (paintTabArea): Don't paint the tabs that are not visible
2545 (paintContentBorderTopEdge): Check for scroll tab layout before
2547 (paintContentBorderLeftEdge): Ditto.
2548 (paintContentBorderBottomEdge): Ditto.
2549 (paintContentBorderRightEdge): Ditto.
2551 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2553 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
2555 (gtkWidgetModifyFont): New method.
2556 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2557 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2558 (setMenuBarWidth): New method.
2559 (setBounds): Set the menu bar width.
2560 (postConfigureEvent): Set the menu bar width if the window's
2562 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
2564 (setFont): New method.
2565 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
2567 (setFont): Likewise.
2568 (GtkMenuComponentPeer): Call create and setFont.
2569 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2570 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2571 (connectSignals): Make package private.
2572 (gtkWidgetModifyFont): New method.
2574 (GtkMenuItemPeer): Don't call create.
2575 (setFont): New method.
2576 * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
2578 * java/awt/Container.java (validateTree): Fix comment typos.
2579 * java/awt/MenuComponent.java (getFont): Return parent's font if
2581 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
2582 (create): Remove call to deprecated
2583 gtk_check_menu_item_set_show_toggle function.
2585 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
2587 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2588 (Almost everywhere): add LOG calls, fix, add comments.
2589 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2590 Add explicit check for LOCKED bit in slow case (PR 16662).
2591 (_Jv_MonitorExit): Add casts in debug-only code.
2592 Always release LOCKED bit before throwing exception.
2593 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2594 isn't. Handle easy cases without lock acquisition.
2595 (Object::wait): Use NotifyAll for lock inflation.
2597 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2599 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
2600 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2601 (gtkFixedMove): Remove method.
2603 2004-11-30 Sven de Marothy <sven@physto.se>
2605 * java/awt/geom/Area.java: Implemented.
2607 2004-11-30 Mark Wielaard <mark@klomp.org>
2609 * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
2611 2004-11-30 Sven de Marothy <sven@physto.se>
2613 * java/awt/geom/Arc2D.java
2615 (setArc): Correct documentation to say 'upper left corner'.
2616 (setArcByTangent,contains,intersects): Implemented.
2617 (containsAngle): Corrected to handle negative extents.
2618 (ArcIterator): Set to private.
2619 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2620 * java/awt/geom/Ellipse2D.java
2622 (contains,intersects): Implemented.
2623 * java/awt/geom/Line2D.java
2624 (linesIntersect): Correct handling of special cases.
2626 2004-11-30 Mark Wielaard <mark@klomp.org>
2628 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
2629 Color.BLACK if c == null, don't create new Color object each time.
2630 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
2632 (setColor): Use Color.BLACK when argument null.
2633 (setComposite): Set this.comp field.
2634 (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
2635 (DrawState.comp): New private field.
2636 (DrawState.save): Save Composite.
2637 (DrawState.restore): Restore comp field.
2638 * java/awt/FontMetrics.java (gRC): New static final private field.
2639 (getLineMetrics(String, Graphics)): New method.
2640 (getLineMetrics(String, int, int, Graphics)): Likewise.
2641 (getLineMetrics(char[], int, int, Graphics)): Likewise.
2642 (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
2643 * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
2644 argument. PR SWING/17294.
2645 * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
2646 the fall-back code since none of the TextArea methods are really
2647 implemented now. PR SWING/17296.
2648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2649 (GdkGlyphVector_setChars): Replace assert() with if block when
2650 pango_itemize() returns null. PR AWT/17295.
2651 (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
2653 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2655 * Makefile.am (gtk_c_source_files): Add
2656 gnu_java_awt_peer_gtk_GtkFramePeer.c.
2657 * Makefile.in: Regenerate.
2658 * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
2660 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2661 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2662 (create): Pack GtkButton in GtkEventBox.
2663 (connectJObject): Remove.
2664 (focus_in_cb): New function.
2665 (focus_out_cb): Likewise.
2666 (connectSignals): Connect focus-in-event and focus-out-event
2668 (gtkSetFont): Rename to ...
2669 (gtkWidgetModifyFont): New method.
2670 (gtkWidgetRequestFocus): New method.
2671 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2672 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2673 (gtkSetFont): Rename to ...
2674 (gtkWidgetModifyFont): New method.
2675 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2676 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2677 (isInRepaint): New field.
2678 (gtkSetFont): Remove method.
2679 (addExposeFilter): Likewise.
2680 (removeExposeFilter): Likewise.
2681 (gtkWidgetQueueDrawArea): Rename to ...
2682 (gtkWidgetRepaintArea): New method.
2683 (beginNativeRepaint): New method.
2684 (endNativeRepaint): New method.
2685 (setComponentBounds): Move implementation here from
2687 (paint): Remove implementation.
2688 (repaint): Wrap call to gtkWidgetRepaintArea with calls to
2689 beginNativeRepaint and endNativeRepaint.
2690 (setBounds): Use menu bar height in bounds calculation.
2691 (postExposeEvent): Only post paint event if we're not doing a
2693 (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
2694 (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
2695 (find_gtk_layout): Remove function.
2696 (filter_expose_event_handler): Likewise.
2697 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
2699 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2700 (setComponentBounds): Call GtkComponentPeer's
2702 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
2704 (moveLayout): Rename to ...
2705 (gtkFixedMove): New method.
2706 (gtkLayoutSetVisible): Rename to ...
2707 (gtkFixedSetVisible): New method.
2708 (setMenuBar): Rearrange, to make the three separate cases
2710 (postExposeEvent): Only post paint event if we're not doing a
2712 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2713 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2714 (gtkWidgetModifyFont): New method.
2715 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2716 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
2717 Call run directly, rather than spawning a new thread.
2718 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
2720 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2721 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
2723 (gtkWidgetModifyFont): New method.
2724 (create): Rename ebox to eventbox.
2725 * gnu/java/awt/peer/gtk/GtkListPeer.java,
2726 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
2728 (gtkWidgetModifyFont): New method.
2729 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2730 (GtkMenuComponentPeer): Set the default font.
2731 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2732 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2733 (gtkSetFont): Rename to ...
2734 (gtkWidgetModifyFont): New method.
2735 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2736 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2737 * java/awt/Component.java (locale): Initialize to default
2739 * java/awt/Container.java (invalidateTree): Make
2741 (paint): Paint self first.
2742 (setMenuBar): Call invalidateTree.
2743 * java/awt/Panel.java (dispatchEventImpl): Remove method.
2744 * java/awt/Window.java (show): Call no-parameter variant of
2745 requestFocusInWindow.
2746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
2747 Remove special case for window widget.
2748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2749 (grab_current_drawable): Likewise.
2750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2751 (create): Replace GtkLayout with GtkFixed.
2752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2753 (pre_event_handler): Remove special cases for GDK_EXPOSE events.
2754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
2755 Move all GtkFramePeer native method implementations here from
2756 gnu_java_awt_peer_gtk_GtkWindowPeer.c.
2757 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2758 Replace GtkLayout with GtkFixed.
2759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2760 (find_layout): Remove function.
2761 (create): Replace GtkLayout with GtkFixed.
2762 (connectSignals): Remove find_layout call.
2763 (toBack): Replace XFlush with gdk_flush.
2764 (toFront): Replace XFlush with gdk_flush.
2765 Move GtkFramePeer native method implementations to
2766 gnu_java_awt_peer_gtk_GtkFramePeer.c.
2767 * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
2769 2004-11-30 Michael Koch <konqueror@gmx.de>
2771 * javax/swing/JTextArea.java
2772 (lineWrap): Renamed from "wrapping".
2773 (wrapStyleWord): NEw field.
2774 (getLineWrap): Re-edited javadoc comment.
2775 (setLineWrap): Likewise.
2776 (getWrapStyleWord): New method.
2777 (setWrapStyleWord): Likewise.
2779 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
2781 * configure: Regenerate for libtool change.
2783 2004-11-29 Tom Tromey <tromey@redhat.com>
2785 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
2786 Recognize --help and --version.
2787 (usage): Mention gcj-dbtool. Added "out" argument.
2790 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
2792 * link.cc (link_symbol_table): Do not use intptr_t.
2794 2004-11-28 Mark Wielaard <mark@klomp.org>
2796 * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
2797 XMLDecoder tests which currently don't compile.
2799 2004-11-27 Andrew Haley <aph@redhat.com>
2801 * link.cc (ensure_class_linked): Conditionally compile
2802 _Jv_IsInterpretedClass on INTERPRETER.
2803 (print_class_loaded): Likewise.
2804 (wait_for_state): Likewise.
2805 * include/jvm.h (ROUND): Move to here from include/java-interp.h.
2806 * include/java-interp.h (ROUND): Remove.
2808 2004-11-25 Tom Tromey <tromey@redhat.com>
2810 * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
2811 * java/lang/Class.h (_Jv_Linker): Declare.
2812 (Class): Fix names of friends.
2813 (_Jv_getInterfaceMethod): Declare.
2815 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2817 * testsuite/lib/libjava.exp (libjava_arguments): Add new global
2818 variable libjava_ld_library_path.
2819 (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
2821 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
2823 * java/util/ResourceBundle.java (BundleKey): Don't implement
2825 (BundleKey.clone): Removed.
2826 (getBundle): Copy BundleKey using constructor, not clone().
2828 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
2830 * configure: Regenerate for libtool reversion.
2832 2004-11-25 Michael Koch <konqueror@gmx.de>
2834 * Makefile.am: Added most of javax.print again.
2835 * Makefile.in: Regenerated.
2837 2004-11-25 Michael Koch <konqueror@gmx.de>
2839 * Makefile.am: Added most of javax.print again.
2840 * Makefile.in: Regenerated.
2842 2004-11-24 Tom Tromey <tromey@redhat.com>
2844 * Merged gcj-abi-2-dev-branch to trunk.
2846 2004-11-16 Tom Tromey <tromey@redhat.com>
2848 * include/java-interp.h (_Jv_DefineClass): Updated.
2849 * java/lang/natVMClassLoader.cc (defineClass): Pass protection
2850 domain to class reader.
2851 * defineclass.cc (parse): Use print_class_loaded.
2852 Include ProtectionDomain.h.
2853 (_Jv_DefineClass): Added ProtectionDomain argument.
2854 (_Jv_ClassReader): Likewise.
2855 * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
2856 * link.cc: Include CodeSource.h.
2857 (print_class_loaded): New function.
2858 (wait_for_state): Use it.
2860 2004-11-16 Andrew Haley <aph@redhat.com>
2862 * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
2864 2004-11-16 Andrew Haley <aph@redhat.com>
2866 * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
2867 * configure.host: Define libgcj_ld_symbolic for Linux hosts.
2868 * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
2869 * configure: Regenerate.
2870 * Makefile.in: Regenerate.
2872 2004-11-15 Andrew Haley <aph@redhat.com>
2874 * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
2875 gc-allocated object.
2877 2004-11-15 Andrew Haley <aph@redhat.com>
2879 * java/net/URLClassLoader.java
2880 (URLLoader.getClassPath): New method.
2881 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
2882 attribute and add URLs for each entry.
2883 (JarURLLoader.classPath): New field.
2884 (JarURLLoader.getClassPath): New method.
2885 (addURLImpl): Scan through the list of extraUrls in the new
2886 loader, adding them to our urlinfos.
2887 (definePackage, findURLResource, findResources): Use
2888 urlinfos.size(), not urls.size().
2890 2004-11-11 Tom Tromey <tromey@redhat.com>
2892 * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
2894 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
2896 (ensureSupersLinked): Declare.
2897 * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
2900 2004-11-10 Tom Tromey <tromey@redhat.com>
2902 * gij.cc (main): Treat -verbose the same as -verbose:class.
2903 (help): Document -verbose and -verbose:class.
2905 * link.cc (verbose_class_flag): Declare.
2906 (wait_for_state): Print message when handling precompiled class.
2907 * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
2909 2004-11-09 Tom Tromey <tromey@redhat.com>
2911 * testsuite/libjava.lang/assign2.out: New file.
2912 * testsuite/libjava.lang/assign2.java: New file.
2914 * java/lang/natRuntime.cc (insertSystemProperties): Set
2915 java.version to 1.4.2 and java.specification.version to 1.4. Set
2916 java.runtime.version.
2918 2004-11-08 Tom Tromey <tromey@redhat.com>
2920 * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
2922 * link.cc (verify_type_assertions): Don't link supers.
2924 * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
2925 * include/java-interp.h (class _Jv_InterpClass)
2926 <_Jv_PrepareMissingMethods>: No longer `friend'.
2927 * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
2929 (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
2930 _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
2931 _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
2932 _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
2933 _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
2934 * link.cc (search_method_in_class): Renamed from
2935 _Jv_SearchMethodInClass.
2936 (resolve_pool_entry): Updated.
2938 * include/jvm.h (_Jv_CheckAssignment): Removed.
2939 * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
2941 2004-11-05 Tom Tromey <tromey@redhat.com>
2943 * link.cc (verify_type_assertions): Ensure classes have supers
2944 linked. Strip off array types first.
2946 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
2948 * link.cc: Include VerifyError.h.
2949 (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
2950 in the type assertion table.
2951 * include/execution.h (_Jv_CompiledEngine::do_verify): Use
2952 verify_type_assertions.
2953 * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
2954 * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
2955 JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
2956 assertion code values.
2957 (struct _Jv_TypeAssertion): Declare.
2958 (assertion_table): New class field.
2959 (verify): Remove class field.
2961 2004-11-05 Andrew Haley <aph@redhat.com>
2963 * Makefile.am: Move jv_dbtool.java to
2964 gnu/gcj/tools/gcj_dbtool/Main.java.
2965 * Makefile.in: Rebuild.
2966 * java/lang/VMCompiler.java: Rename property
2967 "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
2968 * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
2971 2004-11-05 Andrew Haley <aph@redhat.com>
2973 * jv_dbtool.java (main): Allow the user to specify the size of the
2974 database. Display the capacity and the size.
2975 (usage): Show the new option.
2977 2004-11-04 Tom Tromey <tromey@redhat.com>
2979 * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
2980 * link.cc (make_vtable): Use correct index when searching for
2981 missing method's name. Don't use `flags'.
2982 (set_vtable_entries): Removed `flags' argument. Don't recurse
2984 (link_symbol_table): Ensure target class method table is
2985 complete. Ensure target fields are laid out before entering
2988 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
2991 * interpret.cc (do_verify): Don't verify abstract methods.
2993 2004-11-01 Tom Tromey <tromey@redhat.com>
2995 * link.cc (wait_for_state): Call verify_class.
2997 * verify.cc (state::check_no_uninitialized_objects): Removed.
2998 (push_jump): Updated.
2999 (push_exception_jump): Likewise.
3000 (handle_ret_insn): Likewise.
3001 (handle_jsr_insn): Likewise.
3003 2004-10-28 Andrew Haley <aph@redhat.com>
3005 * gnu/gcj/runtime/PersistentByteMap.java: New file.
3006 * jv_dbtool.java: New file.
3007 * Makefile.am (bin_PROGRAMS): Add jv-dbtool
3008 (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
3009 (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
3010 * Makefile.in: Regenerate,
3011 * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
3012 Enumeration, StringTokenizer, Vector, PersistentByteMap.
3013 (precompiledMapFiles): New variable.
3014 (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
3015 initialize precompiledMapFiles.
3016 (compileClass): Look at the database of precompiled class files
3017 before firing up gcj.
3019 * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
3021 2004-10-27 Andrew Haley <aph@redhat.com>
3023 * java/lang/VMCompiler.java (compileClass): try looking for
3024 precompiledMapFiles.
3025 * gnu/gcj/runtime/PersistentByteMap.java: New file.
3027 2004-10-27 Tom Tromey <tromey@redhat.com>
3029 * link.cc (ensure_class_linked): Only resolve classes for
3031 (add_miranda_methods): Ensure interface supers are installed.
3032 (resolve_pool_entry): Better error message.
3034 2004-10-25 Tom Tromey <tromey@redhat.com>
3036 * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
3038 * java/util/ResourceBundle.java (tryBundle): Use
3039 Class.isAssignableFrom rather than catching ClassCastException.
3041 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
3042 exception if we hit EOF of `in'.
3043 (read): Handle case where inflating returns -1.
3045 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
3047 * gnu/java/text/SentenceBreakIterator.java
3048 (SentenceBreakIterator): Don't initialize `iter'.
3049 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
3051 * gnu/java/text/CharacterBreakIterator.java
3052 (CharacterBreakIterator): Don't initialize `iter'.
3053 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
3055 * java/text/BreakIterator.java: Updated documentation.
3057 2004-10-20 Tom Tromey <tromey@redhat.com>
3059 * java/util/ResourceBundle.java (tryBundle): Also ignore
3062 2004-10-18 Tom Tromey <tromey@redhat.com>
3064 * interpret.cc (do_post_miranda_hook): New method.
3065 * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
3067 (_Jv_CompiledEngine::do_post_miranda_hook): New method.
3068 (_Jv_CompiledEngine): Initialize new field.
3069 (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
3070 (_Jv_InterpreterEngine): Initialize new field.
3071 * link.cc (resolve_pool_entry): Put Miranda methods in target
3073 (ensure_method_table_complete): Call post_miranda_hook.
3074 * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
3076 * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
3077 (parse): Set class' aux_info here.
3079 * boehm.cc (_Jv_MarkObj): Mark `throws'.
3081 * boehm.cc: Re-merged with trunk.
3083 2004-10-18 Andrew Haley <aph@redhat.com>
3086 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
3087 and correct logic used to find interpreter.
3089 2004-10-13 Andrew Haley <aph@redhat.com>
3091 * interpret.cc (_Jv_InterpMethod::run): Initialize
3092 _Jv_StartOfInterpreter.
3093 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
3094 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
3095 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
3096 _Unwind_FindEnclosingFunction to discover whether PC is within the
3099 2004-10-13 Tom Tromey <tromey@redhat.com>
3101 * link.cc (find_iindex): Copy correct number of slots to new
3104 2004-10-12 Tom Tromey <tromey@redhat.com>
3106 * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
3108 (gcj_loader_test_one): Use it.
3109 (gcj_loader_run): Likewise.
3111 * prims.cc: Don't include FirstThread.h.
3113 2004-10-06 Tom Tromey <tromey@redhat.com>
3115 * link.cc (ensure_method_table_complete): Ensure superclass
3116 Miranda methods installed.
3118 * include/java-interp.h (class _Jv_JNIMethod): Added
3119 JV_MARKOBJ_DECL as a friend.
3120 * interpret.cc (ncode): Allocate jni_arg_types field with GC.
3121 * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
3122 interpreter method structures. Mark jni_arg_types of JNI
3125 * defineclass.cc (parse): Use JV_STATE_READ.
3126 * java/lang/Class.h (JV_STATE_READ): New enum value.
3128 2004-10-05 Tom Tromey <tromey@redhat.com>
3130 * link.cc (resolve_pool_entry): Add signature info to missing
3131 method's information.
3133 * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
3134 * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
3136 2004-10-04 Tom Tromey <tromey@redhat.com>
3138 * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
3141 2004-09-29 Tom Tromey <tromey@redhat.com>
3143 * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
3145 * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
3146 * jni.cc: Use _Jv_Linker.
3147 * interpret.cc: Use _Jv_Linker.
3148 * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
3149 * java/lang/natClassLoader.cc: Use _Jv_Linker.
3150 * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
3151 * java/lang/Class.h: Use _Jv_Linker.
3152 * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
3153 * resolve.cc: Renamed ...
3154 * link.cc: ... here. Use _Jv_Linker.
3155 * defineclass.cc (checkExtends): Use _Jv_Linker.
3157 2004-09-17 Tom Tromey <tromey@redhat.com>
3159 * defineclass.cc (handleCodeAttribute): Don't reference
3161 (handleMethodsEnd): Likewise.
3162 * include/java-interp.h (_Jv_MethodBase::deferred): Removed
3164 (_Jv_Defer_Resolution): Don't declare or define.
3165 * interpret.cc (do_create_ncode): Don't resolve deferred method
3167 * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
3168 * resolve.cc (link_symbol_table): No need to defer resolution.
3170 2004-09-14 Tom Tromey <tromey@redhat.com>
3172 * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
3173 (_Jv_MarkObj): Updated.
3174 (_Jv_MarkArray): Likewise.
3176 * include/jvm.h (StringClass): Removed.
3177 * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
3178 * interpret.cc (_Jv_InitField): Don't use StringClass.
3179 * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
3183 (_Jv_FinalizeString): Likewise.
3184 (_Jv_NewStringUtf8Const): Likewise.
3186 * prims.cc (JvConvertArgv): Don't use StringClass.
3188 * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
3189 * resolve.cc (ensure_fields_laid_out): Don't mention
3191 * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
3192 * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
3194 * java/lang/reflect/natField.cc (getType): Use resolve_field.
3195 * java/lang/natVMClassLoader.cc (resolveClass): New native
3197 (linkClass0): Removed.
3198 (markClassErrorState0): Likewise.
3199 * java/lang/natClassLoader.cc: Include execution.h. Moved class
3200 preparation code to resolve.cc.
3201 (_Jv_RegisterClassHookDefault): Set class's execution engine if
3203 (_Jv_FindClass): Use wait_for_state.
3204 (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
3205 * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
3206 Moved interface table and class preparation code to resolve.cc.
3207 (finalize): Rewrote.
3208 (initializeClass): Simplified locking and class preparation.
3209 * java/lang/VMClassLoader.java (linkClass0): Removed.
3210 (markClassErrorState0): Likewise.
3211 (resolveClass): Now native.
3212 (transformException): New method.
3213 * java/lang/Class.h (getSuperclass): Don't try to resolve super
3215 (getInterface): Likewise.
3217 (set_state): New method.
3218 (Class): Updated friend declarations.
3219 (verify): Field now private.
3220 (engine): New field.
3221 * include/jvm.h (class _Jv_Resolver): New class declaration.
3222 (_Jv_ResolveField): Removed declaration.
3223 (_Jv_CheckAccessNoInit): Likewise.
3224 (_Jv_isBinaryCompatible): Removed.
3225 * include/java-interp.h (class _Jv_MethodBase): Updated friend
3227 (class _Jv_InterpMethod): Likewise.
3228 (class _Jv_InterpClass): Likewise.
3229 (class _Jv_JNIMethod): Likewise.
3230 * include/execution.h: New file.
3231 * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
3232 (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
3233 Register class after setting fields.
3234 * resolve.cc: Include execution.h, VerifyError.h. Moved
3235 interpreter-specific code to interpret.cc.
3236 (uaddr): New location.
3237 (struct aligner): Likewise.
3238 (ALIGNOF): Likewise.
3239 (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
3240 (INITIAL_IFACES_LEN): Likewise.
3241 (null_idt): Likewise.
3242 (_Jv_GetMethodString): Likewise.
3243 (_Jv_ThrowNoSuchMethodError): Likewise.
3244 (_Jv_abstractMethodError): Likewise.
3245 (_Jv_Resolver::get_alignment_from_class): Renamed.
3246 (_Jv_Resolver::resolve_field): Likewise.
3247 (_Jv_Resolver::resolve_pool_entry): Likewise.
3248 (_Jv_Resolver::resolve_class_ref): Likewise.
3249 (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3250 (_Jv_Resolver::indexof): Likewise.
3251 (_Jv_Resolver::get_interfaces): Likewise.
3252 (_Jv_Resolver::generate_itable): Likewise.
3253 (_Jv_Resolver::append_partial_itable): Likewise.
3254 (_Jv_Resolver::find_iindex): Likewise.
3255 (_Jv_Resolver::link_symbol_table): Likewise.
3256 (_Jv_Resolver::link_exception_table): Likewise.
3257 (_Jv_Resolver::layout_interface_methods): Likewise.
3258 (_Jv_Resolver::layout_vtable_methods): Likewise.
3259 (_Jv_Resolver::set_vtable_entries): Likewise.
3260 (_Jv_Resolver::make_vtable): Likewise.
3261 (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3262 (_Jv_Resolver::ensure_class_linked): Likewise.
3263 (_Jv_Resolver::ensure_supers_installed): Likewise.
3264 (_Jv_Resolver::add_miranda_methods): Likewise.
3265 (_Jv_Resolver::ensure_method_table_complete): Likewise.
3266 (_Jv_Resolver::verify_class): Likewise.
3267 (_Jv_Resolver::wait_for_state): Likewise.
3268 * prims.cc (_Jv_soleCompiledEngine): New global.
3269 (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3270 (_Jv_CheckAccessNoInit): Removed.
3271 * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3272 * interpret.cc: Include platform.h, ClassFormatError.h,
3273 Modifier.h, execution.h.
3274 (_Jv_soleInterpreterEngine): New global.
3275 (compile): Use resolve_pool_entry.
3277 (_Jv_InitField): New location.
3278 (skip_one_type): Likewise.
3279 (get_ffi_type_from_signature): Likewise.
3280 (_Jv_count_arguments): Likewise.
3281 (init_cif): Likewise.
3282 (ncode_closure): Likewise.
3283 (ffi_closure_fun): Likewise.
3285 (throw_class_format_error): Likewise.
3286 (throw_class_format_error): Likewise.
3287 (_Jv_InterpreterEngine::do_verify): New method.
3288 (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3289 (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3290 (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3291 * defineclass.cc: Include execution.h.
3292 (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3294 (checkExtends): Ensure superclass has supers installed.
3295 (_Jv_ClassNameSamePackage): Clarify usage constraints.
3296 * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3297 (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
3300 2004-09-13 Tom Tromey <tromey@redhat.com>
3302 * mauve-libgcj: List some classes we don't have.
3304 2004-09-10 Andrew Haley <aph@redhat.com>
3306 * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3307 * java/lang/natClass.cc (initializeClass): Check itable.
3308 (_Jv_getInterfaceMethod): New.
3309 (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3310 Check that an interface method isn't called with invokevirtual.
3312 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3313 super_meth is virtual.
3315 2004-09-01 Tom Tromey <tromey@redhat.com>
3317 * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3318 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3319 _Jv_CheckAccessNoInit.
3320 * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3321 * prims.cc (_Jv_CheckAccessNoInit): New method.
3323 * java/lang/reflect/natMethod.cc (invoke): Check access against
3324 declaring class, not object's class.
3325 * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3327 (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3329 * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3332 2004-08-30 Andrew Haley <aph@redhat.com>
3334 * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3335 ClassNotFoundException.
3336 Throw NoClassDefFoundError.
3338 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3339 to klass->verify() from here ...
3340 (_Jv_PrepareCompiledClass): ...and put it here.
3342 2004-08-27 Andrew Haley <aph@redhat.com>
3344 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3346 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3347 (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3349 2004-08-27 Tom Tromey <tromey@redhat.com>
3351 * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3353 * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3354 (_Jv_IsAssignableFromSlow): New function.
3355 Include VerifyError.h.
3356 * include/jvm.h (_Jv_CheckAssignment): Declare.
3358 2004-08-18 Andrew Haley <aph@redhat.com>
3360 * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3361 argument. Pass it to findClass instead of fileName.
3362 (compileClass): Pass class name to loadSharedLibrary.
3364 2004-06-22 Andrew Haley <aph@redhat.com>
3366 * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3368 2004-06-15 Andrew Haley <aph@redhat.com>
3370 * java/lang/natSystem.cc (getenv0): Don't assume environment
3371 variable is Latin 1 coded.
3373 2004-06-07 Andrew Haley <aph@redhat.com>
3375 * java/lang/System.java: (getenv0): New method.
3376 (getenv): Add security check. Do the right thing.
3377 * java/lang/natSystem.cc (getenv0): New method.
3379 2004-04-19 Andrew Haley <aph@redhat.com>
3381 * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
3384 * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
3385 is returned as an int in the range 0 to 255.
3387 2004-08-13 Tom Tromey <tromey@redhat.com>
3389 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
3390 class if it is interpreted.
3392 2004-08-12 Tom Tromey <tromey@redhat.com>
3394 * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
3395 * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
3396 (Class::getSuperclass): Updated.
3397 (Class::getInterfaces): Likewise.
3398 (Class::size): Updated.
3399 (_Jv_LayoutClass): Updated declaration.
3400 * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
3401 Synchronize on class.
3402 (_Jv_LayoutClass): Changed interface.
3403 (initializeClass): Updated.
3404 (_Jv_LinkSymbolTable): Likewise.
3406 * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
3408 * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
3409 _Jv_isBinaryCompatible.
3410 * java/lang/natClass.cc (initializeClass): Use
3411 _Jv_isBinaryCompatible.
3412 (_Jv_LinkSymbolTable): Likewise.
3413 * include/jvm.h (_Jv_isBinaryCompatible): New function.
3415 2004-08-11 Tom Tromey <tromey@redhat.com>
3417 * gcj/javaprims.h: Regenerated.
3418 * java/lang/natClassLoader.cc (getClassLoader0): Removed.
3419 (_registerClass): Likewise.
3420 * Makefile.in: Rebuilt.
3421 * Makefile.am (core_java_source_files): Added VMCompiler.
3422 * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
3423 * java/lang/VMCompiler.java: New file.
3424 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
3426 (copyFile): Don't use fully-qualified name.
3428 * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
3429 (defineClass): Use VMCompiler.
3430 * java/lang/ClassLoader.java (defineClass): Removed jit
3431 compilation code and `verbose' code.
3432 (getClassLoader0): Removed.
3433 (_registerClass): Likewise.
3434 (SharedLibHelpers): Removed.
3436 2004-08-10 Tom Tromey <tromey@redhat.com>
3438 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
3439 URL)): New constructor.
3440 (SoURLLoader): Likewise.
3441 (JarURLLoader): Create SoURLLoader with override URL.
3443 2004-08-10 Mark Wielaard <mark@klomp.org>
3445 * Makefile.in: Rebuilt.
3446 * Makefile.am (interpret.lo): New rule.
3448 2004-08-05 Andrew Haley <aph@redhat.com>
3450 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
3451 aside for "GCJLIBS" in directory where jarfiles are loaded.
3452 (JarURLLoader.getClass): New method.
3453 (JarURLLoader.toString): New method.
3454 (FileResource.toString): New method.
3455 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
3456 Remove "Duplicate class registration: " bug.
3457 (_registerClass): New method.
3458 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
3459 (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
3461 (_Jv_LayoutClass): Use getSuperclass() rather than directly
3462 accessing the field.
3463 * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
3464 (defineClass): Call gcj to JIT-compile a class.
3465 (_registerClass): New method.
3466 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
3467 library name can refer to more than one loaded library, so use a
3468 Set of SharedLibHelpers.
3469 If a shared library is already loaded, take a copy.
3470 (copyFile): New function.
3472 * testsuite/libjava.compile/compile.exp: Force
3473 -findirect-dispatch.
3475 * java/security/BasicPermission.java: Remove bogus checks.
3477 * java/lang/System.java (getenv0): New method.
3478 * java/lang/natSystem.cc (getenv0): New method.
3480 2004-05-24 Andrew Haley <aph@redhat.com>
3482 * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
3484 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
3486 * Merged with HEAD as of 20040514. Diff against
3487 gcj-abi-2-merge-20040514.
3489 2004-04-16 Andrew Haley <aph@redhat.com>
3491 * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
3493 (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
3494 (_Jv_PrepareCompiledClass): If we throw an exception during
3495 preparation, restore state.
3496 (ClassLoader::getClassLoader0): New method.
3498 * java/lang/natClass.cc (get_alignment_from_class): Moved here
3500 (ALIGNOF): Use offsetof, not __alignof__.
3501 (_Jv_ResolveClassRef): Resolve a reference to a class in a
3503 (getInterfaces): Emit debug output if interface hasn't been
3505 (initializeClass): Call _Jv_LayoutClass.
3506 (_Jv_LinkSymbolTable): Add debugging output.
3507 (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
3509 (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
3510 (_Jv_LinkSymbolTable): Pass the real class loader to
3512 (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
3514 (_Jv_LinkSymbolTable): Assert if we find a static field reference
3515 to an interpreted class.
3516 (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
3518 (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
3521 * java/lang/VMSecurityManager.java: Check for the system class
3522 loader as well as loader != null.
3524 * java/lang/SecurityManager.java (checkPermission): Remove
3526 (checkRead): Likewise.
3527 (checkConnect): Likewise.
3529 * java/lang/ClassLoader.java (loadClass): Include all class
3530 loaders in stack trace string.
3531 Look for class in "gcjlib.so" in the same directory.
3532 (getSystemClassLoader) Use getClassLoader0.
3533 (getClassLoader0): New native method.
3535 * java/lang/Class.h (getSuperclass): New method.
3536 (getInterface): New method.
3537 (size): Lay out class if needed.
3538 (firstMethodIndex): New method.
3539 (Jv_ResolveClassRef): New declaration.
3540 (_Jv_LinkSymbolTable): New declaration.
3542 * java/io/ObjectOutputStream.java: Add DEBUG statements
3544 (dumpElementln): New method.
3546 * java/io/ObjectInputStream.java (MyIOException): new, for
3548 Everywhere: use MyIOException rather than IOException.
3549 Indent debugging output to make nesting visible.
3550 (currentClassLoader): Make native
3551 (callersClassLoader): New field.
3553 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3556 (readObject): ENDBLOCKDATA is generated if the class has a write
3557 method, not if it has a read method.
3559 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
3561 * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
3562 getContextClassLoader form the current thread after our own class
3565 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
3567 (toString): New method.
3569 * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
3572 * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
3573 a constant pool entry, resolve it now.
3574 (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
3576 Move get_alignment_from_class to natClass.cc.
3578 * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
3579 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
3581 * defineclass.cc (checkExtends): Don't access superclass field
3584 * Makefile.in: regenerate.
3586 * gnu/gcj/util/natDebug.cc: New
3587 * gnu/gcj/util/Debug.java: New.
3589 * Makefile.am (java/io/ObjectInputStream.lo): Use
3590 -fno-optimize-sibling-calls.
3592 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
3593 _Jv_LookupInterfaceMethodIdx to calculate the address of a method
3595 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
3597 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
3599 * configure: Regenerate for libtool change.
3601 2004-11-24 Michael Koch <konqueror@gmx.de>
3603 * gnu/java/security/PolicyFile.java: New file.
3604 * Makefile.am: Added gnu/java/security/PolicyFile.java.
3605 * Makefile.in: Regenerated.
3607 2004-11-24 Michael Koch <konqueror@gmx.de>
3609 * java/lang/Character.java, scripts/unicode-blocks.pl:
3610 Reorder "final static" to "static final".
3612 2004-11-24 Michael Koch <konqueror@gmx.de>
3614 * java/util/ResourceBundle.java: Reformatted.
3615 (tryBundle): Fixed javadoc.
3617 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
3619 * java/text/MessageFormat.java
3620 (formatInternal): Made private.
3622 2004-11-24 Michael Koch <konqueror@gmx.de>
3624 * java/nio/DirectByteBufferImpl.java
3625 (ReadWrite.ReadWrite): New constructor.
3626 (DirectByteBufferImpl): Likewise.
3627 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
3628 Use DirectByteBufferImpl.ReadWrite.
3630 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
3631 * Makefile.in: Rgenerated.
3633 2004-11-24 Jeroen Frijters <address@bogus.example.com>
3635 * java/nio/DirectByteBufferImpl.java
3636 (ReadOnly): New inner subclass.
3637 (ReadWrite): New inner subclass.
3638 (owner): Made final and private.
3639 (address): Made final.
3640 (DirectByteBufferImpl(int)): New constructor.
3641 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
3642 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
3643 (allocate): Modified to instantiate ReadWrite subclass.
3644 (finalize): Fixed to only free the buffer, if we own it.
3645 (put): Removed read-only check.
3646 (slice, duplicate): Modified to instantiate appropriate subclass.
3647 (isReadOnly): Removed.
3648 * java/nio/MappedByteBufferImpl.java
3649 (slice, duplicate): Modified to instantiate appropriate
3650 DirectByteBufferImpl subclass.
3652 2004-11-24 Michael Koch <konqueror@gmx.de>
3654 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
3655 * java/nio/DirectByteBufferImpl.java:
3656 Moved native methods to java.nio.VMDirectByteBuffer class.
3657 * java/nio/MappedByteBufferImpl.java:
3658 Use native methods from java.nio.VMDirectByteBuffer class.
3659 * java/nio/VMDirectByteBuffer.java: New file,
3660 * java/nio/natDirectByteBufferImpl.cc:
3661 Moved all methods into java.nio.VMDirectByteBuffer class.
3662 * java/nio/channels/spi/AbstractSelectableChannel.java
3663 (register): Only re-use valid keys.
3664 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
3665 * Makefile.in: Regenerated.
3667 2004-11-24 Michael Koch <konqueror@gmx.de>
3669 * java/nio/DirectByteBufferImpl.java,
3670 java/nio/MappedByteBufferImpl.java:
3673 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3675 * testsuite/lib/libjava.exp,
3676 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
3678 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
3680 * configure.host: Enable the interpreter for mips*-*-linux*.
3682 2004-11-23 Michael Koch <konqueror@gmx.de>
3684 * java/lang/String.java (rehash): Removed.
3685 * java/lang/natString.cc (rehash): Made static.
3686 (_Jv_NewStringUtf8Const): Use static rehash method.
3688 2004-11-23 Michael Koch <konqueror@gmx.de>
3690 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3691 include/Makefile.in, testsuite/Makefile.in: Regenerated.
3693 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
3696 * configure.ac (threading): Accept 'posix95'.
3697 * configure: Regenerate.
3699 2004-11-22 Michael Koch <konqueror@gmx.de>
3701 * gnu/java/nio/SocketChannelImpl.java
3702 (read): Made check for blocking un-ambiguous.
3703 Removed wrong check for data array length.
3705 2004-11-21 Michael Koch <konqueror@gmx.de>
3707 * gnu/java/nio/SocketChannelImpl.java
3708 (read): Only return 0 when no bytes for reading available in
3710 * java/nio/channels/SocketChannel.java:
3711 Added some missing @return tags.
3713 2004-11-21 Michael Koch <konqueror@gmx.de>
3715 * java/beans/PropertyChangeSupport.java
3716 (propertyChangeSupportSerializedDataVersion): Made static.
3717 * java/beans/VetoableChangeSupport.java
3718 (propertyChangeSupportSerializedDataVersion): Likewise.
3720 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
3722 * java/net/URLStreamHandler.java
3723 (parseURL): Fixed file path canonicalisation.
3725 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
3727 * java/net/URLStreamHandler.java
3728 (parseURL): Fixed file path canonicalisation.
3730 2004-11-18 Michael Koch <konqueror@gmx.de>
3732 * java/net/URLClassLoader.java: Whitespace cleanup.
3734 2004-11-18 Robert Schuster <address@bogus.example.com>
3736 Complete 1.4 support
3737 * java/beans/PropertyDescriptor.java:
3738 (setReadMethod): New method
3739 (setWriteMethod): New method
3740 (equals): Implemented (1.4)
3741 (checkMethods): operates on arguments now (private)
3744 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
3746 * java/net/Inet6Address.java (getHostAddress): Fix textual
3747 representation of IPv6 address with embedded zeroes
3748 to conform to RFC 2373.
3750 2004-11-18 Jeroen Frijters <address@bogus.example.com>
3752 * java/lang/StackTraceElement.java: Made final.
3753 * java/nio/channels/Channels.java: Added private constructor.
3754 * java/rmi/Naming.java: Added private constructor.
3755 * java/rmi/registry/LocateRegistry.java: Added private constructor.
3756 * java/rmi/server/RMIClassLoader.java: Added private constructor.
3757 * java/security/KeyPairGeneratorSpi.java
3758 (clone): Made protected and simplified implementation.
3759 * java/text/DateFormat.java
3760 (allFields): Made package accessible.
3761 * java/text/DecimalFormat.java
3762 (formatInternal): Made private.
3763 * java/text/Format.java
3764 (formatInternal): Made private.
3765 * java/util/logging/Handler.java: Made constructor protected.
3766 * java/util/regex/Matcher.java: Made final.
3767 * java/util/regex/Pattern.java: Made final.
3768 * javax/crypto/CipherInputStream.java
3769 (mark): Corrected mark parameter type (from long to int).
3770 * javax/crypto/ExemptionMechanism.java
3772 * javax/crypto/Mac.java
3773 (getMacLength): Made final.
3774 (clone): Made final.
3775 * javax/imageio/ImageIO.java: Added private constructor.
3776 * javax/imageio/stream/ImageInputStreamImpl.java
3777 (checkClosed): Made final.
3778 * javax/net/ssl/SSLPermission.java: Made final.
3779 * javax/print/DocFlavor.java
3780 (hostEncoding): Added work-around to prevent the field from being
3781 a compile time constant.
3782 * javax/print/attribute/AttributeSetUtilities.java: Added private
3784 (UnmodifiableDocAttributeSet): Made private.
3785 (UnmodifiablePrintJobAttributeSet): Made private.
3786 (UnmodifiablePrintRequestAttributeSet): Made private.
3787 (UnmodifiablePrintServiceAttributeSet): Made private.
3788 (SynchronizedAttributeSet): Made private.
3789 (SynchronizedDocAttributeSet): Made private.
3790 (SynchronizedPrintJobAttributeSet): Made private.
3791 (SynchronizedPrintRequestAttributeSet): Made private.
3792 (SynchronizedPrintServiceAttributeSet): Made private.
3793 * javax/security/auth/PrivateCredentialPermission.java: Made final.
3795 2004-11-18 Craig Black <craig.black@aonix.com>
3797 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
3799 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3801 * Makefile.am: Correct friend function declaration.
3802 * Makefile.in: Regenerated.
3803 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
3804 scope to function names. Declare functions directly.
3805 * libjava/java/lang/Class.h
3806 (java::lang::Class): Correct friend class declaration.
3807 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
3809 * libjava/java/lang/Class.h
3810 (java::lang::Object): Correct friend class declaration.
3812 2004-11-17 David Daney <ddaney@avtrex.com>
3814 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
3816 2004-11-17 Michael Koch <konqueror@gmx.de>
3818 * java/net/Socket.java (getPort): Return 0 in error case.
3820 2004-11-17 Michael Koch <konqueror@gmx.de>
3822 * java/nio/DirectByteBufferImpl.java
3823 (owner): Updated comment.
3824 (allocate): New method.
3826 2004-11-17 Michael Koch <konqueror@gmx.de>
3828 * java/net/URL.java (URL): Handle case when argument is null.
3830 2004-11-17 Michael Koch <konqueror@gmx.de>
3832 * java/beans/Beans.java,
3833 java/beans/PropertyChangeEvent.java,
3834 java/beans/PropertyEditorSupport.java:
3837 2004-11-17 Michael Koch <konqueror@gmx.de>
3839 * java/util/Timer.java (DEFAULT_SIZE): Made static.
3841 2004-11-17 Michael Koch <konqueror@gmx.de>
3843 * java/net/InetAddress.java (getCanonicalHostName):
3844 Support IPv6 addresses.
3846 2004-11-16 Michael Koch <konqueror@gmx.de>
3848 * java/lang/Object.java: Added javadocs all over (merged from GNU
3851 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
3853 * java/security/Security.java (Security): Silence the warning about no
3854 providers found in the no debug case.
3856 2004-11-16 Michael Koch <konqueror@gmx.de>
3858 * java/net/InetAddress.java
3859 (toString): Merged from GNU classpath.
3861 2004-11-16 Michael Koch <konqueror@gmx.de>
3863 * java/awt/geom/doc-files/Area-1.png,
3864 java/awt/geom/doc-files/Ellipse-1.png,
3865 java/awt/geom/doc-files/GeneralPath-1.png:
3868 2004-11-16 Michael Koch <konqueror@gmx.de>
3870 * java/util/Currency.java (cache): Fix modifier order.
3872 2004-11-16 Michael Koch <konqueror@gmx.de>
3874 * java/io/BufferedReader.java,
3875 java/io/FileInputStream.java,
3876 java/io/FileOutputStream.java,
3877 java/io/FileWriter.java,
3878 java/io/OutputStreamWriter.java,
3879 java/io/PipedInputStream.java,
3880 java/io/PipedOutputStream.java,
3881 java/io/PipedReader.java,
3882 java/io/PipedWriter.java,
3883 java/io/PrintStream.java,
3884 java/io/PushbackInputStream.java,
3885 java/io/RandomAccessFile.java,
3886 java/io/Reader.java,
3887 java/io/StreamTokenizer.java,
3888 java/io/StringReader.java,
3889 java/net/NetworkInterface.java,
3890 java/net/URLClassLoader.java,
3891 java/nio/ByteOrder.java,
3892 java/nio/channels/Channel.java:
3893 Fixed javadocs all over.
3895 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
3897 * Makefile.am: Add imported files.
3898 * Makefile.in: Regenerate.
3900 2004-10-24 Casey Marshall <csm@gnu.org>
3902 * javax/security/auth/login/LoginContext.java: Implemented.
3903 * javax/security/auth/login/Configuration.java (getConfig): New method.
3904 * javax/security/auth/spi/LoginModule.java,
3905 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
3907 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
3909 Import/Merge the X.509 certificate code from Classpath.
3911 * Makefile.am: Add imported files.
3912 * Makefile.in: Regenerate.
3914 2004-11-07 Casey Marshall <csm@gnu.org>
3916 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
3917 priviliged action. Add new algorithms.
3918 * gnu/java/security/provider/X509CertificateFactory.java
3919 (engineGenerateCertificate): Chain exceptions.
3920 (engineGenerateCertificates): Likewise.
3921 (engineGenerateCRL): Likewise.
3922 (engineGenerateCRLs): Likewise.
3923 (engineGenerateCertPath): New methods.
3924 (generateCert): Throw exception if 'inStream' is null.
3925 (generateCRL): Likewise.
3926 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
3927 version from GNU Crypto CVS.
3928 * gnu/java/security/x509/X509CRL.java: Likewise.
3929 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
3930 * gnu/java/security/x509/X509Certificate.java: Likewise.
3931 * java/security/cert/TrustAnchor.java: Call 'toString' and not
3933 * gnu/java/security/provider/CollectionCertStoreImpl.java,
3934 * gnu/java/security/provider/EncodedKeyFactory.java,
3935 * gnu/java/security/provider/GnuDHPublicKey.java,
3936 * gnu/java/security/provider/GnuRSAPrivateKey.java,
3937 * gnu/java/security/provider/GnuRSAPublicKey.java,
3938 * gnu/java/security/provider/MD2withRSA.java,
3939 * gnu/java/security/provider/MD4withRSA.java,
3940 * gnu/java/security/provider/MD5withRSA.java,
3941 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3942 * gnu/java/security/provider/RSA.java,
3943 * gnu/java/security/provider/RSAKeyFactory.java,
3944 * gnu/java/security/provider/SHA1withRSA.java,
3945 * gnu/java/security/x509/GnuPKIExtension.java,
3946 * gnu/java/security/x509/PolicyNodeImpl.java,
3947 * gnu/java/security/x509/Util.java,
3948 * gnu/java/security/x509/X509CRLSelectorImpl.java,
3949 * gnu/java/security/x509/X509CertPath.java,
3950 * gnu/java/security/x509/X509CertSelectorImpl.java,
3951 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3952 * gnu/java/security/x509/ext/BasicConstraints.java,
3953 * gnu/java/security/x509/ext/CRLNumber.java,
3954 * gnu/java/security/x509/ext/CertificatePolicies.java,
3955 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3956 * gnu/java/security/x509/ext/Extension.java,
3957 * gnu/java/security/x509/ext/GeneralNames.java,
3958 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3959 * gnu/java/security/x509/ext/KeyUsage.java,
3960 * gnu/java/security/x509/ext/PolicyConstraint.java,
3961 * gnu/java/security/x509/ext/PolicyMappings.java,
3962 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3963 * gnu/java/security/x509/ext/ReasonCode.java,
3964 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3965 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
3967 2004-11-07 Casey Marshall <csm@gnu.org>
3969 * gnu/java/security/x509/X509CRL.java:
3970 Missed import statements in previous checkin.
3972 2004-11-07 Casey Marshall <csm@gnu.org>
3974 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
3975 to 'X509CertificateImpl' from previous checkin.
3977 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
3980 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
3982 2004-11-11 Casey Marshall <csm@gnu.org>
3984 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
3986 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
3987 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
3989 2004-11-11 Robert Schuster <thebohemian@gmx.net>
3992 * gnu/java/beans/IntrospectionIncubator.java:
3993 (addMethod): Corrected classification of normal and property methods.
3994 (capitalize): Added documentation.
3995 (DoubleKey): [class] Added documentation.
3997 2004-11-09 Tom Tromey <tromey@redhat.com>
3999 * include/jni.h: Added FIXME.
4001 2004-11-08 Tom Tromey <tromey@redhat.com>
4003 * java/util/GregorianCalendar.java: Removed unused imports.
4004 * java/util/Vector.java: Removed unused import.
4006 2004-11-07 Michael Koch <konqueror@gmx.de>
4008 * java/lang/Process.java:
4011 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
4013 * java/util/zip/ZipEntry.java
4014 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
4016 2004-11-07 Robert Schuster <theBohemian@gmx.net>
4019 * gnu/java/beans/IntrospectionIncubator.java:
4020 (addMethod): static methods are discarded now, too.
4022 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
4024 * java/util/GregorianCalendar.java
4025 Added/amended documentation.
4027 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
4029 * java/util/Collections.java
4030 Added documentation.
4031 * java/util/SortedMap.java
4032 Clarified some method examples.
4033 * java/util/SortedSet.java
4034 Clarified some method examples.
4036 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
4038 * java/util/Currency.java
4039 Documented variables and methods more fully.
4040 Caches the currency instances, so that a request
4041 for a locale, l, only ever returns the same
4042 instance (i.e. successive calls to getInstance(l)
4043 are reference equivalent (==)).
4045 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
4047 * java/util/Date.java
4048 Added missing documentation.
4050 2004-11-06 Michael Koch <konqueror@gmx.de>
4052 * java/util/zip/CheckedInputStream.java,
4053 java/util/zip/InflaterInputStream.java,
4054 java/util/zip/ZipFile.java,
4055 java/util/zip/ZipInputStream.java:
4058 2004-11-06 Tom Tromey <tromey@redhat.com>
4060 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
4062 (connections): Likewise.
4063 (scavenger): Likewise.
4064 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
4066 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
4069 * gnu/classpath/ServiceFactory.java (log): Now package-private.
4071 2004-11-06 Tom Tromey <tromey@redhat.com>
4073 * javax/naming/directory/BasicAttributes.java (attributes): Now
4075 * javax/imageio/spi/ServiceRegistry.java (categories): Now
4078 2004-11-06 Tom Tromey <tromey@redhat.com>
4080 * java/net/URLClassLoader.java (URLClassLoader): Now
4082 * java/nio/charset/CoderResult.java (CoderResult): Now
4085 (Cache): Likewise. Don't synchronize on `this'.
4086 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
4088 * java/util/TimeZone.java (timezones): Now package-private.
4090 2004-11-06 Tom Tromey <tromey@redhat.com>
4092 * java/security/Permissions.java (perms): Now package-private.
4093 * java/security/UnresolvedPermission.java (permissions): Now
4096 2004-11-06 Tom Tromey <tromey@redhat.com>
4098 * java/io/FilePermission.java: Reindented.
4100 2004-11-06 Tom Tromey <tromey@redhat.com>
4102 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
4104 (setBlockDataMode): Likewise.
4106 2004-11-06 Tom Tromey <tromey@redhat.com>
4108 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
4110 (Encoder): Likewise.
4111 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
4112 (Encoder): Likewise.
4113 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
4115 (Encoder): Likewise.
4117 2004-11-06 Mark Wielaard <mark@klomp.org>
4119 * Makefile.am: Add new javax.imageio files.
4120 * Makefile.in: Regenerated.
4122 2004-11-06 Michael Koch <konqueror@gmx.de>
4124 * javax/imageio/event/IIOReadProgressListener.java,
4125 javax/imageio/event/IIOReadUpdateListener.java,
4126 javax/imageio/event/IIOReadWarningListener.java,
4127 javax/imageio/event/IIOWriteProgressListener.java,
4128 javax/imageio/event/IIOWriteWarningListener.java,
4129 javax/imageio/metadata/IIOMetadataFormat.java,
4130 javax/imageio/stream/FileCacheImageInputStream.java,
4131 javax/imageio/stream/FileCacheImageOutputStream.java,
4132 javax/imageio/stream/ImageInputStreamImpl.java:
4134 * javax/imageio/metadata/package.html: New file.
4136 2004-11-06 Michael Koch <konqueror@gmx.de>
4138 * javax/imageio/spi/ImageReaderSpi.java
4139 (isOwnReader): New method.
4140 * javax/imageio/spi/ImageWriterSpi.java
4141 (isOwnWriter): Likewise.
4143 2004-11-06 Michael Koch <konqueror@gmx.de>
4145 * javax/imageio/ImageWriter.java
4146 (convertImageMetadata): New abstract method.
4147 (convertStreamMetadata): Likewise.
4149 * javax/imageio/stream/FileCacheImageInputStream.java
4150 (close): Fixed setting of stream to null.
4151 (checkStreamClosed): Throws IOException.
4153 2004-11-06 Michael Koch <konqueror@gmx.de>
4155 * javax/imageio/stream/FileCacheImageInputStream.java,
4156 javax/imageio/stream/FileCacheImageOutputStream.java,
4157 javax/imageio/stream/FileImageInputStream.java,
4158 javax/imageio/stream/FileImageOutputStream.java,
4159 javax/imageio/stream/MemoryCacheImageInputStream.java,
4160 javax/imageio/stream/MemoryCacheImageOutputStream.java:
4163 2004-11-06 Michael Koch <konqueror@gmx.de>
4165 * javax/imageio/metadata/IIOInvalidTreeException.java,
4166 javax/imageio/metadata/IIOMetadataFormatImpl.java,
4167 javax/imageio/metadata/IIOMetadataNode.java:
4170 2004-11-06 Michael Koch <konqueror@gmx.de>
4172 * javax/imageio/stream/ImageInputStreamImpl.java,
4173 javax/imageio/stream/ImageOutputStreamImpl.java:
4176 2004-11-06 Michael Koch <konqueror@gmx.de>
4178 * javax/imageio/ImageIO.java:
4179 Added much new methods.
4181 2004-11-06 Michael Koch <konqueror@gmx.de>
4183 * javax/imageio/ImageReader.java,
4184 javax/imageio/ImageWriter.java,
4185 javax/imageio/spi/ImageWriterSpi.java:
4186 Add SOME new methods.
4188 2004-11-06 Michael Koch <konqueror@gmx.de>
4190 * javax/imageio/IIOParam.java,
4191 javax/imageio/ImageReadParam.java,
4192 javax/imageio/ImageReader.java,
4193 javax/imageio/ImageWriter.java:
4195 * javax/imageio/spi/ImageReaderSpi.java,
4196 javax/imageio/spi/ImageWriterSpi.java:
4199 2004-11-06 Michael Koch <konqueror@gmx.de>
4201 * javax/imageio/ImageWriteParam.java,
4202 javax/imageio/metadata/IIOMetadataFormat.java:
4205 2004-11-06 Michael Koch <konqueror@gmx.de>
4207 * javax/imageio/ImageTypeSpecifier.java:
4210 2004-11-06 Michael Koch <konqueror@gmx.de>
4212 * javax/imageio/metadata/IIOMetadata.java:
4215 2004-11-06 Michael Koch <konqueror@gmx.de>
4217 * javax/imageio/IIOImage.java,
4218 javax/imageio/ImageReadParam.java,
4219 javax/imageio/metadata/IIOMetadataController.java,
4220 javax/imageio/metadata/IIOMetadataFormat.java:
4222 * javax/imageio/stream/ImageOutputStream.java:
4225 2004-11-06 Michael Koch <konqueror@gmx.de>
4227 * javax/imageio/IIOParam.java,
4228 javax/imageio/IIOParamController.java,
4229 javax/imageio/ImageTypeSpecifier.java,
4230 javax/imageio/ImageWriteParam.java,
4231 javax/imageio/metadata/IIOMetadata.java:
4233 * javax/imageio/ImageTranscoder.java:
4236 2004-11-06 Michael Koch <konqueror@gmx.de>
4238 * javax/imageio/spi/ImageInputStreamSpi.java,
4239 javax/imageio/spi/ImageOutputStreamSpi.java:
4240 Reworked import startments.
4241 * javax/imageio/spi/ServiceRegistry.java:
4242 Reworked import startments. Fixed XHTML in javadocs.
4243 (ServiceRegistry): Added @param tag to javadoc.
4244 * javax/imageio/stream/ImageInputStream.java
4245 (mark): Doesn't throws IOException;
4247 2004-11-06 Michael Koch <konqueror@gmx.de>
4249 * javax/imageio/ImageIO.java:
4252 2004-11-06 Michael Koch <konqueror@gmx.de>
4254 * javax/imageio/spi/IIORegistry.java
4255 (static): Don't register ImageReaderSpi.class and
4256 ImageWriterSpi.class yet.
4258 2004-11-06 Michael Koch <konqueror@gmx.de>
4260 * javax/imageio/spi/IIORegistry.java:
4263 2004-11-06 Noa Resare <noa@resare.com>
4265 * java/net/Socket.java (getPort): Return 0 instead of -1 on
4266 unconnected sockets.
4268 2004-11-06 Michael Koch <konqueror@gmx.de>
4270 * java/lang/StringBuffer.java,
4271 java/lang/Throwable.java,
4272 java/security/spec/DSAParameterSpec.java,
4273 java/util/zip/ZipEntry.java,
4274 java/util/zip/ZipFile.java,
4275 java/util/zip/ZipInputStream.java,
4276 java/util/zip/ZipOutputStream.java:
4277 Removed redundant and reordered modifiers.
4279 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
4281 * java/io/Vector.java
4282 (writeObject): New function to serialized output thread safe.
4284 * java/io/ObjectOutputStream.java
4285 (writeObject): Move the assignment of the class handle to after
4286 the assignment of class descriptor handle.
4288 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4290 Fixes documentation and indentation
4291 * java/beans/PropertyEditorSupport.java:
4292 reworked initial API doc
4293 (value): changed name from val
4295 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4298 * java/beans/PropertyEditorSupport.java
4299 (PropertyEditorSupport()): Changed modifier to public
4300 (PropertyEditorSupport(Object): Changed modifier to public
4301 (setSource): New method
4302 (getSource): New method
4304 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4307 * java/beans/PropertyEditorSupport.java
4308 (setValue): Fire property change event
4310 2004-11-03 Tom Tromey <tromey@redhat.com>
4312 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4313 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4314 returns jobjectArray.
4315 (_Jv_JNIEnv::NewObjectArray): Likewise.
4317 2004-11-01 Tom Tromey <tromey@redhat.com>
4319 * verify.cc (state::check_no_uninitialized_objects): Removed.
4320 (push_jump): Updated.
4321 (push_exception_jump): Likewise.
4322 (handle_ret_insn): Likewise.
4323 (handle_jsr_insn): Likewise.
4325 2004-10-30 Mark Wielaard <mark@klomp.org>
4328 * java/lang/Runtime.java (static): Call init().
4329 (Runtime): Remove call to init().
4330 (init): Make static.
4332 2004-10-28 David Daney <ddaney@avtrex.com>
4334 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4335 * Makefile.am: Build it.
4336 * Makefile.in: Regenerate.
4338 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
4341 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
4343 * Makefile.in: Regenerate.
4344 * configure: Regenerate.
4345 * configure.ac (CLASSPATH_SEPARATOR): Define.
4346 * gcj/Makefile.in: Regenerate.
4347 * include/Makefile.in: Regenerate.
4348 * testsuite/Makefile.in: Regenerate.
4349 * testsuite/lib/libjava.exp (libjava_arguments): Fix
4350 CLASSPATH separator handling for Windows.
4352 2004-10-26 Michael Koch <konqueror@gmx.de>
4354 * gnu/java/net/protocol/http/Connection.java
4355 (getOutputStream): Implicitely switch to POST method.
4357 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
4359 * libjava/java/lang/Class.h
4360 (java::lang::Class): Correct friend class declaration.
4362 2004-10-25 Geoffrey Keating <geoffk@apple.com>
4364 * Makefile.am (DARWIN_CRT_SRC): New.
4365 (libgcj_la_SOURCES): Use it.
4366 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4367 * darwin.cc: New file.
4368 * include/jvm.h (_Jv_RegisterClasses): Constify.
4369 (_Jv_RegisterClasses_Counted): New prototype.
4370 * java/lang/Class.h: Include stddef.h.
4371 (_Jv_RegisterClasses): Constify.
4372 (_Jv_RegisterClasses_Counted): New prototype.
4373 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
4374 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
4375 (_Jv_RegisterClasses_Counted): New function.
4376 * configure: Regenerate.
4377 * Makefile.in: Regenerate.
4378 * gcj/Makefile.in: Regenerate.
4379 * include/Makefile.in: Regenerate.
4380 * testsuite/Makefile.in: Regenerate.
4382 2004-10-25 Tom Tromey <tromey@redhat.com>
4384 * java/util/ResourceBundle.java (tryBundle): Use
4385 Class.isAssignableFrom rather than catching ClassCastException.
4387 2004-10-25 Tom Tromey <tromey@redhat.com>
4389 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
4391 * gnu/java/text/SentenceBreakIterator.java
4392 (SentenceBreakIterator): Don't initialize `iter'.
4393 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
4395 * gnu/java/text/CharacterBreakIterator.java
4396 (CharacterBreakIterator): Don't initialize `iter'.
4397 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
4399 * java/text/BreakIterator.java: Updated documentation.
4401 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
4404 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
4406 2004-10-23 Michael Koch <konqueror@gmx.de>
4408 * javax/print/DocFlavor.java,
4409 javax/print/attribute/standard/JobStateReason.java,
4410 javax/print/attribute/standard/MultipleDocumentHandling.java:
4411 Added missing constants.
4413 2004-10-22 Tom Tromey <tromey@redhat.com>
4415 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
4418 2004-10-22 Michael Koch <konqueror@gmx.de>
4421 * gnu/java/net/protocol/http/Connection.java
4422 (sendRequest): Handle case when url.getFile() returns an empty string.
4424 2004-10-22 Michael Koch <konqueror@gmx.de>
4426 * java/lang/Math.java,
4427 java/lang/StackTraceElement.java,
4428 java/nio/Buffer.java,
4429 java/nio/ByteBuffer.java,
4430 java/nio/CharBuffer.java,
4431 java/nio/DoubleBuffer.java,
4432 java/nio/FloatBuffer.java,
4433 java/nio/IntBuffer.java,
4434 java/nio/LongBuffer.java,
4435 java/nio/ShortBuffer.java,
4436 java/nio/charset/Charset.java,
4437 java/rmi/server/RMIClassLoader.java,
4438 java/rmi/server/RMISocketFactory.java,
4439 java/security/Policy.java,
4440 java/text/ChoiceFormat.java,
4441 java/text/CollationElementIterator.java,
4442 java/text/DateFormat.java,
4443 java/text/DecimalFormat.java,
4444 java/text/DecimalFormatSymbols.java,
4445 java/text/MessageFormat.java,
4446 java/text/NumberFormat.java,
4447 java/text/RuleBasedCollator.java,
4448 java/text/SimpleDateFormat.java,
4449 java/util/BitSet.java,
4450 java/util/Calendar.java,
4451 java/util/Collections.java,
4452 java/util/IdentityHashMap.java,
4453 java/util/Locale.java,
4454 java/util/TreeMap.java,
4455 java/util/logging/LogRecord.java,
4456 java/util/logging/XMLFormatter.java,
4457 java/util/prefs/AbstractPreferences.java,
4458 java/util/prefs/Preferences.java,
4459 javax/crypto/interfaces/DHPrivateKey.java,
4460 javax/crypto/interfaces/DHPublicKey.java,
4461 javax/crypto/interfaces/PBEKey.java,
4462 javax/net/ssl/HandshakeCompletedEvent.java,
4463 javax/security/auth/Subject.java:
4464 Removed redundant and reordered modifiers.
4466 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
4468 * gnu/java/net/natPlainSocketImplPosix.cc
4469 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
4470 with 'int *' argument instead of 'long *'.
4472 2004-10-21 Michael Koch <konqueror@gmx.de>
4474 * java/net/NetworkInterface.java,
4475 java/text/Format.java,
4476 javax/security/auth/x500/X500Principal.java,
4477 javax/security/auth/x500/X500PrivateCredential.java,
4478 javax/security/cert/X509CertBridge.java,
4479 javax/security/sasl/Sasl.java,
4480 javax/sql/XAConnection.java:
4483 2004-10-21 Michael Koch <konqueror@gmx.de>
4485 * javax/net/ssl/HandshakeCompletedEvent.java,
4486 javax/net/ssl/KeyManagerFactory.java,
4487 javax/net/ssl/SSLContext.java,
4488 javax/net/ssl/SSLServerSocketFactory.java,
4489 javax/net/ssl/SSLSession.java,
4490 javax/net/ssl/SSLSocketFactory.java,
4491 javax/net/ssl/TrustManagerFactory.java:
4494 2004-10-21 Michael Koch <konqueror@gmx.de>
4496 * javax/naming/directory/BasicAttribute.java,
4497 javax/naming/directory/BasicAttributes.java,
4498 javax/naming/directory/InitialDirContext.java,
4499 javax/naming/event/NamingEvent.java,
4500 javax/naming/ldap/ControlFactory.java,
4501 javax/naming/ldap/ExtendedRequest.java,
4502 javax/naming/ldap/InitialLdapContext.java,
4503 javax/naming/ldap/LdapReferralException.java,
4504 javax/naming/spi/DirObjectFactory.java,
4505 javax/naming/spi/DirStateFactory.java,
4506 javax/naming/spi/DirectoryManager.java,
4507 javax/naming/spi/InitialContextFactory.java,
4508 javax/naming/spi/InitialContextFactoryBuilder.java,
4509 javax/naming/spi/NamingManager.java,
4510 javax/naming/spi/ObjectFactory.java,
4511 javax/naming/spi/ObjectFactoryBuilder.java,
4512 javax/naming/spi/StateFactory.java:
4515 2004-10-21 Michael Koch <konqueror@gmx.de>
4517 * javax/crypto/Cipher.java,
4518 javax/crypto/EncryptedPrivateKeyInfo.java,
4519 javax/crypto/ExemptionMechanism.java,
4520 javax/crypto/KeyAgreement.java,
4521 javax/crypto/KeyGenerator.java,
4522 javax/crypto/Mac.java,
4523 javax/crypto/SecretKeyFactory.java,
4524 javax/crypto/SecretKeyFactorySpi.java,
4525 javax/crypto/spec/SecretKeySpec.java:
4528 2004-10-21 Michael Koch <konqueror@gmx.de>
4530 * java/security/AlgorithmParameterGenerator.java,
4531 java/security/AlgorithmParameters.java,
4532 java/security/AlgorithmParametersSpi.java,
4533 java/security/AllPermission.java,
4534 java/security/BasicPermission.java,
4535 java/security/Certificate.java,
4536 java/security/CodeSource.java,
4537 java/security/DigestInputStream.java,
4538 java/security/DigestOutputStream.java,
4539 java/security/GuardedObject.java,
4540 java/security/KeyFactory.java,
4541 java/security/KeyFactorySpi.java,
4542 java/security/KeyPairGenerator.java,
4543 java/security/KeyStore.java,
4544 java/security/KeyStoreSpi.java,
4545 java/security/Permissions.java,
4546 java/security/Security.java,
4547 java/security/Signature.java,
4548 java/security/UnresolvedPermission.java,
4549 java/security/cert/CertPathBuilder.java,
4550 java/security/cert/CertPathValidator.java,
4551 java/security/cert/CertStore.java,
4552 java/security/cert/Certificate.java,
4553 java/security/cert/CertificateFactory.java,
4554 java/security/cert/PolicyQualifierInfo.java,
4555 java/security/cert/TrustAnchor.java,
4556 java/security/cert/X509CRL.java,
4557 java/security/cert/X509CRLSelector.java,
4558 java/security/cert/X509CertSelector.java:
4561 2004-10-21 Michael Koch <konqueror@gmx.de>
4563 * java/rmi/MarshalledObject.java,
4564 java/rmi/Naming.java,
4565 java/rmi/activation/Activatable.java,
4566 java/rmi/activation/ActivationGroup.java,
4567 java/rmi/activation/ActivationGroupDesc.java,
4568 java/rmi/activation/ActivationInstantiator.java,
4569 java/rmi/activation/ActivationMonitor.java,
4570 java/rmi/activation/ActivationSystem.java,
4571 java/rmi/activation/Activator.java,
4572 java/rmi/registry/LocateRegistry.java,
4573 java/rmi/registry/Registry.java,
4574 java/rmi/server/LogStream.java,
4575 java/rmi/server/ObjID.java,
4576 java/rmi/server/RMIClientSocketFactory.java,
4577 java/rmi/server/RMIServerSocketFactory.java,
4578 java/rmi/server/RMISocketFactory.java,
4579 java/rmi/server/RemoteCall.java,
4580 java/rmi/server/RemoteServer.java,
4581 java/rmi/server/ServerRef.java,
4582 java/rmi/server/UID.java,
4583 java/rmi/server/UnicastRemoteObject.java:
4586 2004-10-21 Tom Tromey <tromey@redhat.com>
4588 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
4589 exception if we hit EOF of `in'.
4590 (read): Handle case where inflating returns -1.
4592 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
4594 * gnu/java/nio/channels/natFileChannelPosix.cc
4595 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
4596 argument instead of 'long *'.
4598 2004-10-21 Tom Tromey <tromey@redhat.com>
4600 * java/util/ResourceBundle.java (tryBundle): Also ignore
4603 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
4605 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4606 for all sh*-*-linux* targets.
4607 * configure: Regenerate.
4608 * include/sh-signal.h: New file.
4610 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4612 * java/lang/ieeefp.h: Add m32r support.
4614 2004-10-20 Andreas Schwab <schwab@suse.de>
4616 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
4618 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
4621 2004-10-20 Michael Koch <konqueror@gmx.de>
4623 * javax/print/attribute/standard/ColorSupported.java,
4624 javax/print/attribute/standard/Compression.java,
4625 javax/print/attribute/standard/Copies.java,
4626 javax/print/attribute/standard/CopiesSupported.java,
4627 javax/print/attribute/standard/DateTimeAtCompleted.java,
4628 javax/print/attribute/standard/DateTimeAtCreation.java,
4629 javax/print/attribute/standard/DateTimeAtProcessing.java,
4630 javax/print/attribute/standard/DocumentName.java,
4631 javax/print/attribute/standard/Fidelity.java,
4632 javax/print/attribute/standard/Finishings.java,
4633 javax/print/attribute/standard/JobHoldUntil.java,
4634 javax/print/attribute/standard/JobImpressions.java,
4635 javax/print/attribute/standard/JobImpressionsCompleted.java,
4636 javax/print/attribute/standard/JobImpressionsSupported.java,
4637 javax/print/attribute/standard/JobKOctets.java,
4638 javax/print/attribute/standard/JobKOctetsProcessed.java,
4639 javax/print/attribute/standard/JobKOctetsSupported.java,
4640 javax/print/attribute/standard/JobMediaSheets.java,
4641 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4642 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4643 javax/print/attribute/standard/JobMessageFromOperator.java,
4644 javax/print/attribute/standard/JobName.java,
4645 javax/print/attribute/standard/JobOriginatingUserName.java,
4646 javax/print/attribute/standard/JobPriority.java,
4647 javax/print/attribute/standard/JobPrioritySupported.java,
4648 javax/print/attribute/standard/JobSheets.java,
4649 javax/print/attribute/standard/JobState.java,
4650 javax/print/attribute/standard/JobStateReason.java,
4651 javax/print/attribute/standard/JobStateReasons.java,
4652 javax/print/attribute/standard/Media.java,
4653 javax/print/attribute/standard/MultipleDocumentHandling.java,
4654 javax/print/attribute/standard/NumberOfDocuments.java,
4655 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4656 javax/print/attribute/standard/NumberUp.java,
4657 javax/print/attribute/standard/NumberUpSupported.java,
4658 javax/print/attribute/standard/OrientationRequested.java,
4659 javax/print/attribute/standard/OutputDeviceAssigned.java,
4660 javax/print/attribute/standard/PDLOverrideSupported.java,
4661 javax/print/attribute/standard/PageRanges.java,
4662 javax/print/attribute/standard/PagesPerMinute.java,
4663 javax/print/attribute/standard/PagesPerMinuteColor.java,
4664 javax/print/attribute/standard/PrintQuality.java,
4665 javax/print/attribute/standard/PrinterInfo.java,
4666 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4667 javax/print/attribute/standard/PrinterLocation.java,
4668 javax/print/attribute/standard/PrinterMakeAndModel.java,
4669 javax/print/attribute/standard/PrinterMessageFromOperator.java,
4670 javax/print/attribute/standard/PrinterMoreInfo.java,
4671 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4672 javax/print/attribute/standard/PrinterName.java,
4673 javax/print/attribute/standard/PrinterStateReason.java,
4674 javax/print/attribute/standard/PrinterStateReasons.java,
4675 javax/print/attribute/standard/PrinterURI.java,
4676 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4677 javax/print/attribute/standard/RequestingUserName.java:
4678 Reorganized imports and removed redundant final modifiers.
4680 2004-10-20 Michael Koch <konqueror@gmx.de>
4682 * javax/security/sasl/SaslClient.java,
4683 javax/security/sasl/SaslClientFactory.java,
4684 javax/security/sasl/SaslException.java,
4685 javax/security/sasl/SaslServer.java,
4686 javax/security/sasl/SaslServerFactory.java:
4689 2004-10-20 Michael Koch <konqueror@gmx.de>
4691 * javax/security/auth/login/NullConfiguration.java,
4692 javax/security/auth/x500/X500Principal.java,
4693 javax/security/cert/X509Certificate.java,
4694 javax/security/sasl/AuthenticationException.java,
4695 javax/security/sasl/AuthorizeCallback.java,
4696 javax/security/sasl/RealmCallback.java,
4697 javax/security/sasl/RealmChoiceCallback.java,
4698 javax/security/sasl/Sasl.java,
4699 javax/security/sasl/SaslClient.java,
4700 javax/security/sasl/SaslClientFactory.java,
4701 javax/security/sasl/SaslException.java,
4702 javax/security/sasl/SaslServer.java,
4703 javax/security/sasl/SaslServerFactory.java:
4704 Cleaned up import statements and copyright notices.
4706 2004-10-20 Michael Koch <konqueror@gmx.de>
4708 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
4710 2004-10-20 Michael Koch <konqueror@gmx.de>
4712 * java/sql/Timestamp.java,
4713 java/text/AttributedCharacterIterator.java,
4714 java/text/AttributedString.java,
4715 java/util/zip/CheckedOutputStream.java,
4716 java/util/zip/DeflaterOutputStream.java,
4717 java/util/zip/ZipFile.java,
4718 javax/crypto/Cipher.java,
4719 javax/crypto/ExemptionMechanismException.java,
4720 javax/crypto/SecretKey.java,
4721 javax/crypto/SecretKeyFactory.java,
4722 javax/naming/directory/ModificationItem.java,
4723 javax/naming/directory/SearchControls.java,
4724 javax/naming/event/NamingListener.java,
4725 javax/naming/ldap/Control.java,
4726 javax/naming/ldap/ExtendedResponse.java,
4727 javax/net/ssl/SSLSocketFactory.java:
4728 Reorganized imports and fixed copyright headers.
4730 2004-10-20 Michael Koch <konqueror@gmx.de>
4732 * java/util/logging/ConsoleHandler.java,
4733 java/util/logging/ErrorManager.java,
4734 java/util/logging/FileHandler.java,
4735 java/util/logging/Filter.java,
4736 java/util/logging/Formatter.java,
4737 java/util/logging/Handler.java,
4738 java/util/logging/Level.java,
4739 java/util/logging/LogManager.java,
4740 java/util/logging/LogRecord.java,
4741 java/util/logging/Logger.java,
4742 java/util/logging/LoggingPermission.java,
4743 java/util/logging/MemoryHandler.java,
4744 java/util/logging/SimpleFormatter.java,
4745 java/util/logging/SocketHandler.java,
4746 java/util/logging/StreamHandler.java,
4747 java/util/logging/XMLFormatter.java:
4748 Standardized copyrigth header.
4750 2004-10-20 Michael Koch <konqueror@gmx.de>
4752 * java/security/AlgorithmParameterGenerator.java,
4753 java/security/AlgorithmParameters.java,
4754 java/security/DigestInputStream.java,
4755 java/security/Identity.java,
4756 java/security/KeyFactory.java,
4757 java/security/KeyPairGenerator.java,
4758 java/security/KeyStore.java,
4759 java/security/MessageDigest.java,
4760 java/security/MessageDigestSpi.java,
4761 java/security/Policy.java,
4762 java/security/SecureRandom.java,
4763 java/security/Security.java,
4764 java/security/Signature.java,
4765 java/security/SignatureSpi.java,
4766 java/security/cert/CertPathBuilder.java,
4767 java/security/cert/CertPathValidator.java,
4768 java/security/cert/CertStore.java,
4769 java/security/cert/Certificate.java,
4770 java/security/cert/CertificateFactory.java,
4771 java/security/cert/PolicyQualifierInfo.java,
4772 java/security/cert/TrustAnchor.java,
4773 java/security/cert/X509CRL.java,
4774 java/security/cert/X509CRLEntry.java,
4775 java/security/cert/X509Certificate.java,
4776 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
4777 Import statements reorganized, some little formatting issues,
4778 used java-style array declarations, added comments in empty catch
4781 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4783 * java/security/Security.java
4784 (static): Use AccessController.doPrivileged to get system property.
4786 2004-10-18 Sven de Marothy <sven@physto.se>
4788 * java/nio/ByteBufferHelper.java
4789 (putDouble): Use Double.toRawLongBits instead.
4791 2004-10-18 Mark Wielaard <mark@klomp.org>
4792 Andrew Haley <aph@redhat.com>
4794 * testsuite/libjava.lang/ExtraClassLoader.java: New.
4796 2004-10-18 Andrew Haley <aph@redhat.com>
4799 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
4800 and correct logic used to find interpreter.
4802 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4804 * java/util/logging/LogManager.java
4805 (findAncestor): Fixed IndexOutOfBoundsException.
4807 2004-10-18 Michael Koch <konqueror@gmx.de>
4809 * java/io/BufferedInputStream.java: Fixed @author tag.
4810 (read): Simplified expression.
4811 (read): Merged javadoc a bit more.
4812 (read): Renamed 'remain' to 'totalBytesRead'.
4813 * java/io/DataInputStream.java,
4814 java/io/DataOutputStream.java,
4815 java/io/ObjectInputStream.java,
4816 java/io/ObjectOutputStream.java:
4817 Reworked modifier order.
4819 2004-10-18 Michael Koch <konqueror@gmx.de>
4821 * java/net/Inet4Address.java: Merged file header and javadocs.
4822 * java/net/Inet6Address.java: Likewise.
4823 * java/net/InetAddress.java
4824 (getCanonicalHostName): Create Inet4Address object instead of
4825 InetAddress and add comment regarding IPv6.
4826 (toString): Simplified.
4828 2004-10-18 Michael Koch <konqueror@gmx.de>
4830 * gnu/java/net/protocol/http/Connection.java,
4831 java/nio/MappedByteBufferImpl.java,
4832 java/text/RuleBasedCollator.java,
4833 java/util/ResourceBundle.java:
4834 Reworked import statements.
4836 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4838 * java/security/IdentityScope.java
4839 (systemScope): Removed useless initializer.
4840 * java/security/Policy.java
4841 (currentPolicy): Likewise.
4843 2004-10-18 Michael Koch <konqueror@gmx.de>
4845 * java/lang/System.java: Revert accidential change.
4847 2004-10-18 Michael Koch <konqueror@gmx.de>
4849 * java/lang/Math.java,
4850 java/lang/Package.java,
4851 java/lang/Runtime.java,
4852 java/lang/StrictMath.java,
4853 java/lang/System.java,
4854 java/lang/Thread.java,
4855 java/lang/ThreadLocal.java,
4856 java/lang/Void.java:
4857 Reworked import statements, HTML in javadocs and modifier orders.
4859 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4861 * java/util/Timer.java
4862 (nr): Removed useless initializer.
4863 * java/util/logging/LogRecord.java
4864 (lastSeqNum): Likewise.
4865 * javax/naming/spi/NamingManager.java
4866 (icfb, ofb): Likewise.
4868 2004-10-18 Michael Koch <konqueror@gmx.de>
4870 * gnu/java/net/PlainDatagramSocketImpl.java:
4871 Reworked import statements.
4872 * gnu/java/security/provider/DSAParameters.java:
4873 Fixed copyrigth years.
4874 * java/net/JarURLConnection.java:
4875 Fixed HTML in @author tags.
4878 2004-10-18 Michael Koch <konqueror@gmx.de>
4880 * java/rmi/activation/ActivationSystem.java
4881 (SYSTEM_PORT): Initialize with correct port number.
4883 2004-10-18 Michael Koch <konqueror@gmx.de>
4885 * java/lang/reflect/Proxy.java: Improved javadocs.
4887 2004-10-18 Michael Koch <konqueror@gmx.de>
4889 * java/lang/reflect/AccessibleObject.java
4890 (checkPermission): Removed redundant final modifier.
4891 (secureSetAccessible): Likewise.
4892 * java/lang/reflect/Proxy.java:
4893 Reworked import statements.
4894 (generate): Removed redundant final modifier.
4895 * java/lang/reflect/ReflectPermission.java:
4896 Reorder package declaration and import statement.
4898 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
4900 * java/lang/reflect/Proxy.java
4901 (count): Removed useless initializer.
4903 2004-10-17 Michael Koch <konqueror@gmx.de>
4905 * java/net/BindException.java,
4906 java/net/ConnectException.java,
4907 java/net/ContentHandler.java,
4908 java/net/ContentHandlerFactory.java,
4909 java/net/DatagramPacket.java,
4910 java/net/DatagramSocket.java,
4911 java/net/DatagramSocketImpl.java,
4912 java/net/DatagramSocketImplFactory.java,
4913 java/net/FileNameMap.java,
4914 java/net/HttpURLConnection.java,
4915 java/net/MalformedURLException.java,
4916 java/net/MulticastSocket.java,
4917 java/net/NetworkInterface.java,
4918 java/net/NoRouteToHostException.java,
4919 java/net/PasswordAuthentication.java,
4920 java/net/PortUnreachableException.java,
4921 java/net/ProtocolException.java,
4922 java/net/ServerSocket.java,
4923 java/net/Socket.java,
4924 java/net/SocketException.java,
4925 java/net/SocketImpl.java,
4926 java/net/SocketImplFactory.java,
4927 java/net/SocketOptions.java,
4928 java/net/SocketPermission.java,
4929 java/net/SocketTimeoutException.java,
4931 java/net/URISyntaxException.java,
4933 java/net/URLDecoder.java,
4934 java/net/URLEncoder.java,
4935 java/net/URLStreamHandler.java,
4936 java/net/URLStreamHandlerFactory.java,
4937 java/net/UnknownHostException.java,
4938 java/net/UnknownServiceException.java:
4939 Big import statement and @author tag cleanup.
4941 2004-10-17 Michael Koch <konqueror@gmx.de>
4943 * gnu/java/security/OID.java,
4944 gnu/java/security/provider/DSAParameters.java,
4945 gnu/java/security/provider/DSASignature.java,
4946 gnu/java/security/x509/X500DistinguishedName.java,
4947 gnu/java/security/x509/X509CRL.java:
4948 Import statements cleaned up.
4950 2004-10-16 Michael Koch <konqueror@gmx.de>
4952 * gnu/java/nio/NIODatagramSocket.java,
4953 gnu/java/nio/ServerSocketChannelImpl.java:
4954 Reorganized import statements.
4956 2004-10-16 Michael Koch <konqueror@gmx.de>
4958 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4959 gnu/java/rmi/rmic/RMIC.java,
4960 gnu/java/rmi/server/RMIHashes.java,
4961 gnu/java/rmi/server/RMIObjectInputStream.java,
4962 gnu/java/rmi/server/RMIObjectOutputStream.java,
4963 gnu/java/rmi/server/UnicastConnection.java,
4964 gnu/java/rmi/server/UnicastConnectionManager.java,
4965 gnu/java/rmi/server/UnicastRemoteCall.java,
4966 gnu/java/rmi/server/UnicastServer.java,
4967 gnu/java/rmi/server/UnicastServerRef.java,
4968 java/rmi/MarshalledObject.java,
4969 java/rmi/Naming.java,
4970 java/rmi/RMISecurityManager.java,
4971 java/rmi/Remote.java,
4972 java/rmi/activation/Activatable.java,
4973 java/rmi/activation/ActivationDesc.java,
4974 java/rmi/activation/ActivationGroup.java,
4975 java/rmi/activation/ActivationGroupDesc.java,
4976 java/rmi/activation/ActivationGroupID.java,
4977 java/rmi/activation/ActivationID.java,
4978 java/rmi/activation/ActivationInstantiator.java,
4979 java/rmi/activation/ActivationMonitor.java,
4980 java/rmi/activation/ActivationSystem.java,
4981 java/rmi/activation/Activator.java,
4982 java/rmi/dgc/DGC.java,
4983 java/rmi/dgc/Lease.java,
4984 java/rmi/dgc/VMID.java,
4985 java/rmi/registry/LocateRegistry.java,
4986 java/rmi/registry/Registry.java,
4987 java/rmi/registry/RegistryHandler.java,
4988 java/rmi/server/LoaderHandler.java,
4989 java/rmi/server/LogStream.java,
4990 java/rmi/server/ObjID.java,
4991 java/rmi/server/Operation.java,
4992 java/rmi/server/RMIClassLoader.java,
4993 java/rmi/server/RMIClassLoaderSpi.java,
4994 java/rmi/server/RMIClientSocketFactory.java,
4995 java/rmi/server/RMIFailureHandler.java,
4996 java/rmi/server/RMIServerSocketFactory.java,
4997 java/rmi/server/RMISocketFactory.java,
4998 java/rmi/server/RemoteCall.java,
4999 java/rmi/server/RemoteObject.java,
5000 java/rmi/server/RemoteRef.java,
5001 java/rmi/server/RemoteServer.java,
5002 java/rmi/server/RemoteStub.java,
5003 java/rmi/server/ServerRef.java,
5004 java/rmi/server/Skeleton.java,
5005 java/rmi/server/SkeletonMismatchException.java,
5006 java/rmi/server/UID.java,
5007 java/rmi/server/UnicastRemoteObject.java,
5008 java/rmi/server/Unreferenced.java:
5009 File headers and import statements cleaned up.
5011 2004-10-16 Michael Koch <konqueror@gmx.de>
5013 * libjava/gnu/java/nio/charset/UTF_16.java,
5014 libjava/gnu/java/nio/charset/UTF_16BE.java,
5015 libjava/gnu/java/nio/charset/UTF_16LE.java,
5016 libjava/java/nio/ByteOrder.java,
5017 libjava/java/nio/MappedByteBuffer.java,
5018 libjava/java/nio/channels/Channels.java,
5019 libjava/java/nio/channels/spi/SelectorProvider.java,
5020 libjava/java/nio/charset/Charset.java:
5023 2004-10-16 Michael Koch <konqueror@gmx.de>
5025 * gnu/java/nio/charset/UTF_16Encoder.java
5026 (UTF_16Encoder): Fixed maxBytesPerChar handling.
5028 2004-10-16 Michael Koch <konqueror@gmx.de>
5030 * java/math/BigDecimal.java, java/math/BigInteger.java:
5031 Reorganized import statements, removed redundant and
5032 reorganized modifiers.
5034 2004-10-16 Michael Koch <konqueror@gmx.de>
5036 * gnu/java/beans/ExplicitBeanInfo.java:
5037 Explicitely import java.awt.Image.
5038 (getIcon): Fixed off-by-one error.
5040 2004-10-15 Andrew Haley <aph@redhat.com>
5042 * Makefile.am (nat_files, xlib_nat_files): New.
5043 * Makefile.in: Regenerate.
5045 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
5047 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
5048 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
5050 2004-10-13 Andrew Haley <aph@redhat.com>
5052 * interpret.cc (_Jv_InterpMethod::run): Initialize
5053 _Jv_StartOfInterpreter.
5054 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
5055 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
5056 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
5057 _Unwind_FindEnclosingFunction to discover whether PC is within the
5060 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
5063 * testsuite/libjava.lang/md5test.java: New file.
5064 * testsuite/libjava.lang/md5test.out: Likewise.
5065 * testsuite/libjava.lang/shatest.java: Likewise.
5066 * testsuite/libjava.lang/shatest.out: Likewise.
5068 2004-10-11 Richard Henderson <rth@redhat.com>
5070 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
5071 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
5073 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
5075 * java/util/Calendar.java (set): Invalidate DST_OFFSET
5076 field as a DST boundary may have been crossed.
5077 * java/util/GregorianCalendar.java (add): Throw
5078 IllegalArgumentException on attempt to add to DST_OFFSET or
5079 ZONE_OFFSET fields. Update javadoc.
5081 2004-10-09 Michael Koch <konqueror@gmx.de>
5083 * java/io/CharArrayWriter.java
5084 (resize): Removed redundant 'final' modifier.
5085 * java/io/DataInputStream.java
5086 (readFully): Throw IndexOutOfBoundsException of len < 0.
5087 * java/io/FileDescriptor.java,
5088 java/io/FileInputStream.java,
5089 java/io/FileOutputStream.java,
5090 java/io/ObjectOutputStream.java,
5091 java/io/ObjectStreamClass.java,
5092 java/io/PipedInputStream.java,
5093 java/io/RandomAccessFile.java:
5094 Reorganized import statements.
5096 2004-10-09 Michael Koch <konqueror@gmx.de>
5098 * gnu/java/rmi/rmic/RMIC.java,
5099 gnu/java/rmi/server/RMIHashes.java,
5100 gnu/java/rmi/server/RMIObjectInputStream.java,
5101 gnu/java/rmi/server/UnicastConnection.java,
5102 gnu/java/rmi/server/UnicastConnectionManager.java,
5103 gnu/java/rmi/server/UnicastRemoteCall.java,
5104 gnu/java/rmi/server/UnicastServerRef.java:
5105 Reworked import statements and fixed file headers.
5107 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
5109 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
5111 * configure: Rebuilt.
5113 2004-09-30 Tom Tromey <tromey@redhat.com>
5115 * java/text/MessageFormat.java (Field): Constructor now
5118 2004-09-30 Tom Tromey <tromey@redhat.com>
5120 * javax/crypto/MacSpi.java: Fixed typo.
5122 2004-09-30 Michael Koch <konqueror@gmx.de>
5124 * java/net/InetAddress.java: Reformatted.
5125 (loopback): Initialize with Inet4Address object.
5126 (static): Initialize ANY_IF with Inet4Address object.
5127 (InetAddress): Removed unused package-private constructor.
5129 2004-09-30 Michael Koch <konqueror@gmx.de>
5131 * java/beans/Beans.java,
5132 java/beans/EventHandler.java,
5133 java/beans/EventSetDescriptor.java,
5134 java/beans/Introspector.java,
5135 java/beans/PropertyEditorManager.java,
5136 java/beans/beancontext/BeanContext.java,
5137 java/beans/beancontext/BeanContextChild.java,
5138 java/beans/beancontext/BeanContextChildSupport.java,
5139 java/beans/beancontext/BeanContextMembershipEvent.java:
5140 Reordered import statements and removed redundant modifiers.
5142 2004-09-29 Tom Tromey <tromey@redhat.com>
5145 * Makefile.in: Rebuilt.
5146 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
5148 (all_property_files): New macro.
5150 * Makefile.in: Rebuilt.
5151 * Makefile.am (ordinary_java_source_files): Re-sorted.
5152 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
5154 2004-09-28 Tom Tromey <tromey@redhat.com>
5156 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
5159 * Makefile.am (libgcj.la): Restored.
5160 * Makefile.in: Rebuilt.
5162 2004-09-28 Michael Koch <konqueror@gmx.de>
5164 * java/net/URLConnection.java: Reformatted.
5165 * java/net/URLClassLoader.java: Reformatted.
5166 (getContent): Reordered return of content.
5167 (getContentHandler): Don't check for null explicitely.
5169 2004-09-27 Michael Koch <konqueror@gmx.de>
5171 * java/io/BufferedInputStream.java
5172 (BufferedInputStream): Added Jeroen Frijters to authors.
5173 (count): Don't explicitely initialize with default value.
5175 (marklimit): Likewise.
5176 (read): Changed boolean expression to match GNU classpath' version.
5177 (reset): Add proper message to exception.
5178 (skip): Check for closed stream.
5181 2004-09-26 Per Bothner <per@bothner.com>
5183 * prims.cc (unblock_signal): Annotate signum with __unused__ to
5184 avoid warnings in the non-POSIX_VERSION case.
5185 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
5186 so place it inside an #if block.
5187 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
5188 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
5189 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
5190 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
5192 2004-09-26 Per Bothner <per@bothner.com>
5194 * prims.cc (process_gcj_properties): Optimization.
5196 2004-09-26 Per Bothner <per@bothner.com>
5198 * java/util/Collections.java (sort): Copy from array in forwards
5199 order, rather than reverse order which may be much less efficient.
5201 2004-09-26 Mark Wielaard <mark@klomp.org>
5203 * java/lang/System.java (properties): Make package private.
5204 * java/lang/Throwable.java (StaticData.nl): Initialize through
5205 directly accessing System.properties.getProperty().
5207 * java/lang/Throwable.java (nl): Remove static field.
5208 (StaticData): New private static inner class.
5209 (stackTraceStringBuffer): Use StaticData.nl.
5211 2004-09-26 Casey Marshall <csm@gnu.org>
5213 * java/security/ProtectionDomain.java
5214 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
5217 * java/security/SecureClassLoader.java
5218 (defineClass): make protection domain dynamically bound.
5219 (getPermissions): call `getCurrentPolicy' to avoid permission
5222 2004-09-25 Mark Wielaard <mark@klomp.org>
5224 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
5225 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
5226 * Makefile.in: Regenerated.
5228 * gcj/javaprims.h: Regenerated.
5230 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
5231 (getDefaultTimeZone): Make package private. Check that GMToffset
5232 contains at least one digit.
5233 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
5235 * util/VMTimeZone.java: New file with above methods.
5237 * java/util/natTimeZone.cc: Removed (renamed).
5238 * java/util/natVMTimeZone.cc: Added (renamed).
5240 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
5242 * java/util/TimeZone.java
5243 (getDefaultTimeZone): Fixed test to distinguish between hours and
5244 minutes in specified timezone.
5246 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
5248 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
5249 handling of default package. (generate): Removed confused comments
5250 and code about making Method and Field accessible.
5252 2004-09-25 Tom Tromey <tromey@redhat.com>
5255 * testsuite/libjava.compile/pr17500.java: New file.
5257 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
5258 Mark Wielaard <mark@klomp.org>
5260 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5261 * gnu/regexp/RETokenLookAhead.java: New file.
5263 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5264 * Makefile.in: Regenerated.
5266 2004-09-25 Michael Koch <konqueror@gmx.de>
5268 * java/io/ObjectStreamField.java:
5269 Removed unused import statement.
5271 2004-09-24 Tom Tromey <tromey@redhat.com>
5274 * testsuite/libjava.compile/pr15656.xfail: New file.
5275 * testsuite/libjava.compile/pr15656.java: new file.
5278 * testsuite/libjava.lang/pr16789.out: New file.
5279 * testsuite/libjava.lang/pr16789.java: New file.
5281 2004-09-24 Andrew Haley <aph@redhat.com>
5284 * testsuite/libjava.compile/AssertBug.java: New file.
5286 2004-09-24 Casey Marshall <csm@gnu.org>
5288 * java/util/PropertyPermissionCollection.java
5289 (implies): avoid infinite loop.
5291 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
5293 * javax/security/auth/PrivateCredentialPermission.java
5294 (PrivateCredentialPermission): added serialization UID
5297 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
5299 * gnu/java/rmi/server/UnicastServer.java
5300 (incomingMessageCall): Added code to handle Errors.
5301 * gnu/java/rmi/server/UnicastServerRef.java
5302 (incomingMessageCall): Added code to handle Errors.
5305 2004-09-24 Tom Tromey <tromey@redhat.com>
5307 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5308 (definedPackages): Likewise.
5310 2004-09-24 Michael Koch <konqueror@gmx.de>
5312 * java/io/ObjectInputStream.java:
5315 2004-09-24 Casey Marshall <csm@gnu.org>
5317 * java/io/ObjectInputStream.java (callReadMethod): re-throw
5318 `ClassNotFoundException'.
5320 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5322 * java/io/ObjectInputStream.java (readObject): Delegate instantation
5323 of Externalizable classes to ObjectStreamClass.
5324 * java/io/ObjectStreamClass.java (newInstance): New method to
5325 instantiate Externalizable (while ignoring the accessibility of
5326 the constructor). (constructor): New field to cache the constructor.
5328 2004-09-24 Mark Wielaard <mark@klomp.org>
5330 * java/net/URL.java (systemClassLoader): New static field.
5331 (getURLStreamHandler): Always use system/application classloader
5332 for finding URLStreamhandler. Remove unecessary instanceof checks.
5334 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
5337 (set): This method now matches the behaviour of the JDK.
5338 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5340 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
5342 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5344 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5346 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5347 Don't set authority if host isn't specified.
5349 2004-09-24 Michael Koch <konqueror@gmx.de>
5351 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5352 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5353 * gnu/java/nio/VMPipe.java,
5354 gnu/java/nio/VMSelector.java:
5356 * gnu/java/nio/natPipeImplEcos.cc,
5357 gnu/java/nio/natPipeImplPosix.cc,
5358 gnu/java/nio/natPipeImplWin32.cc:
5360 * gnu/java/nio/natSelectorImplEcos.cc,
5361 gnu/java/nio/natSelectorImplPosix.cc,
5362 gnu/java/nio/natSelectorImplWin32.cc:
5363 Ported to VMSelector.
5364 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5365 gnu/java/nio/VMSelector.java.
5366 * Makefile.in: Regenerated.
5368 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5370 * java/lang/StackTraceElement.java
5371 (className): Renamed field to declaringClass to be compatible
5372 with Sun serialization format.
5374 2004-09-23 Michael Koch <konqueror@gmx.de>
5376 * java/applet/AppletContext.java,
5377 java/applet/Applet.java,
5378 java/applet/AppletStub.java,
5379 java/applet/AudioClip.java:
5380 Jalopied and checkstyle clean.
5382 * javax/swing/JCheckBox.java: Reformated.
5383 (JCheckBox): Fixed all constructors.
5384 (isBorderPaintedFlat): New method.
5385 (setBorderPaintedFlat): New method.
5386 * javax/swing/JEditorPane.java
5387 (createEditorKitForContentType): Made public.
5388 (scrollToReference): Likewise.
5389 * javax/swing/JTextArea.java
5390 (setLineWrap): Fire property change.
5391 * javax/swing/JToggleButton.java
5392 (JToggleButton): New constructor.
5393 (JToggleButton): Simplified.
5394 * javax/swing/text/AttributeSet.java
5395 (FontAttribute): Renamed from FontCharacterAttribute.
5396 * javax/swing/text/JTextComponent.java
5397 (KeyBinBinding): Added javadoc.
5398 (JTextComponent): Likewise.
5399 (getAccessibleContext): Fixed javadoc.
5400 * javax/swing/text/View.java
5401 (View): Added javadoc.
5402 * javax/swing/text/TabableView.java: New file.
5403 * Makefile.am: Added javax/swing/text/TabableView.java.
5404 * Makefile.in: Regenerated.
5405 2004-09-23 Mark Wielaard <mark@klomp.org>
5407 * java/util/Collections.java
5408 (binarySearch(List, Object, Comparator)): Explicitly
5409 reverse direction in list iterator.
5410 (rotate): Just return when list is empty.
5412 2004-09-23 Tom Tromey <tromey@redhat.com>
5415 * testsuite/libjava.compile/pr17329.java: New file.
5418 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
5421 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
5423 * Makefile.am: Run aclocal with -I ../config
5424 * acinclude.m4: Delete macros picked up from ../config and tidy.
5425 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
5426 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
5427 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5429 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
5431 * aclocal.m4: Regenerate with aclocal 1.9.2.
5432 * configure: Regenerate.
5433 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
5434 * include/Makefile.in, testsuite/Makefile.in: Likewise.
5436 2004-09-22 David Daney <ddaney@avtrex.com>
5439 * java/net/URL.java (URL): Copy userInfo from context.
5440 (getUserInfo): Return cached userInfo if present.
5442 2004-09-22 Tom Tromey <tromey@redhat.com>
5445 * mauve-libgcj: Enable java.lang.Character tests.
5447 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
5449 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
5451 (lib_org_ietf_jgss_la_LIBADD): Likewise.
5452 * Makefile.in: Regenerated.
5454 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
5456 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
5457 * configure: Regenerate.
5458 * include/config.h.in: Likewise.
5459 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
5460 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
5462 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5463 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
5464 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
5466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
5469 2004-09-22 Tom Tromey <tromey@redhat.com>
5472 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
5473 when comparing CRCs.
5474 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
5476 (read()): New overload.
5478 2004-09-21 Tom Tromey <tromey@redhat.com>
5480 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
5483 2004-09-21 Michael Koch <konqueror@gmx.de>
5485 * java/net/Socket.java
5486 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
5488 2004-09-21 Casey Marshall <csm@gnu.org>
5490 * javax/crypto/MacSpi.java (clone): Provide meaningful
5493 2004-09-21 Tom Tromey <tromey@redhat.com>
5496 * Makefile.in: Rebuilt.
5497 * Makefile.am (MOSTLYCLEANFILES): Removed.
5498 (mostlyclean-local): Remove header files.
5500 2004-09-21 Casey Marshall <csm@gnu.org>
5502 * java/security/cert/X509CRLSelector.java:
5503 (match): remove unreachable try-catch clauses.
5504 Reported by: Dalibor Topic <robilad@kaffe.org>
5506 2004-09-21 Mark Wielaard <mark@klomp.org>
5508 * java/util/TreeMap.java (root): Don't initialize.
5509 (TreeMap(Comparator)): Call fabricateTree(0).
5510 (fabricateTree): Initialize root and size when count is 0.
5512 2004-09-21 Sven de Marothy <sven@physto.se>
5514 * java/nio/ByteBuffer.java (hashCode): Implemented.
5515 * java/nio/CharBuffer.java: Likewise.
5516 * java/nio/DoubleBuffer.java: Likewise.
5517 * java/nio/FloatBuffer.java: Likewise.
5518 * java/nio/LongBuffer.java: Likewise.
5519 * java/nio/IntBuffer.java: Likewise.
5520 * java/nio/ShortBuffer.java: Likewise.
5522 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
5524 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
5526 2004-09-21 Michael Koch <konqueror@gmx.de>
5528 * javax/net/ssl/SSLServerSocket.java:
5529 Removed comment about "Do not edit this file, it's generated.".
5531 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
5533 Import the big Crypto/Jessie/Security merge from Classpath.
5535 * Makefile.am: Add imported files.
5536 * Makefile.in: Regenerate.
5538 2004-08-14 Casey Marshall <csm@gnu.org>
5540 The Big Crypto Merge of 2004.
5542 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
5545 Files imported from GNU Crypto.
5546 * javax/crypto/BadPaddingException.java
5547 * javax/crypto/Cipher.java
5548 * javax/crypto/CipherInputStream.java
5549 * javax/crypto/CipherOutputStream.java
5550 * javax/crypto/CipherSpi.java
5551 * javax/crypto/EncryptedPrivateKeyInfo.java
5552 * javax/crypto/ExemptionMechanism.java
5553 * javax/crypto/ExemptionMechanismException.java
5554 * javax/crypto/ExemptionMechanismSpi.java
5555 * javax/crypto/IllegalBlockSizeException.java
5556 * javax/crypto/KeyAgreement.java
5557 * javax/crypto/KeyAgreementSpi.java
5558 * javax/crypto/KeyGenerator.java
5559 * javax/crypto/KeyGeneratorSpi.java
5560 * javax/crypto/Mac.java
5561 * javax/crypto/MacSpi.java
5562 * javax/crypto/Makefile.am
5563 * javax/crypto/NoSuchPaddingException.java
5564 * javax/crypto/NullCipher.java
5565 * javax/crypto/NullCipherImpl.java
5566 * javax/crypto/SealedObject.java
5567 * javax/crypto/SecretKey.java
5568 * javax/crypto/SecretKeyFactory.java
5569 * javax/crypto/SecretKeyFactorySpi.java
5570 * javax/crypto/ShortBufferException.java
5571 * javax/crypto/interfaces/DHKey.java
5572 * javax/crypto/interfaces/DHPrivateKey.java
5573 * javax/crypto/interfaces/DHPublicKey.java
5574 * javax/crypto/interfaces/PBEKey.java
5575 * javax/crypto/spec/DESKeySpec.java
5576 * javax/crypto/spec/DESedeKeySpec.java
5577 * javax/crypto/spec/DHGenParameterSpec.java
5578 * javax/crypto/spec/DHParameterSpec.java
5579 * javax/crypto/spec/DHPrivateKeySpec.java
5580 * javax/crypto/spec/DHPublicKeySpec.java
5581 * javax/crypto/spec/IvParameterSpec.java
5582 * javax/crypto/spec/PBEKeySpec.java
5583 * javax/crypto/spec/PBEParameterSpec.java
5584 * javax/crypto/spec/RC2ParameterSpec.java
5585 * javax/crypto/spec/RC5ParameterSpec.java
5586 * javax/crypto/spec/SecretKeySpec.java
5587 * javax/security/auth/AuthPermission.java
5588 * javax/security/auth/DestroyFailedException.java
5589 * javax/security/auth/Destroyable.java
5590 * javax/security/auth/Policy.java
5591 * javax/security/auth/PrivateCredentialPermission.java
5592 * javax/security/auth/RefreshFailedException.java
5593 * javax/security/auth/Refreshable.java
5594 * javax/security/auth/Subject.java
5595 * javax/security/auth/SubjectDomainCombiner.java
5596 * javax/security/auth/callback/Callback.java
5597 * javax/security/auth/callback/CallbackHandler.java
5598 * javax/security/auth/callback/ChoiceCallback.java
5599 * javax/security/auth/callback/ConfirmationCallback.java
5600 * javax/security/auth/callback/LanguageCallback.java
5601 * javax/security/auth/callback/NameCallback.java
5602 * javax/security/auth/callback/PasswordCallback.java
5603 * javax/security/auth/callback/TextInputCallback.java
5604 * javax/security/auth/callback/TextOutputCallback.java
5605 * javax/security/auth/callback/UnsupportedCallbackException.java
5606 * javax/security/auth/login/AccountExpiredException.java
5607 * javax/security/auth/login/AppConfigurationEntry.java
5608 * javax/security/auth/login/Configuration.java
5609 * javax/security/auth/login/CredentialExpiredException.java
5610 * javax/security/auth/login/FailedLoginException.java
5611 * javax/security/auth/login/LoginContext.java
5612 * javax/security/auth/login/LoginException.java
5613 * javax/security/auth/login/NullConfiguration.java
5614 * javax/security/auth/x500/X500PrivateCredential.java
5615 * javax/security/sasl/AuthenticationException.java
5616 * javax/security/sasl/AuthorizeCallback.java
5617 * javax/security/sasl/RealmCallback.java
5618 * javax/security/sasl/RealmChoiceCallback.java
5619 * javax/security/sasl/Sasl.java
5620 * javax/security/sasl/SaslClient.java
5621 * javax/security/sasl/SaslClientFactory.java
5622 * javax/security/sasl/SaslException.java
5623 * javax/security/sasl/SaslServer.java
5624 * javax/security/sasl/SaslServerFactory.java
5625 * org/ietf/jgss/ChannelBinding.java
5626 * org/ietf/jgss/GSSContext.java
5627 * org/ietf/jgss/GSSCredential.java
5628 * org/ietf/jgss/GSSException.java
5629 * org/ietf/jgss/GSSManager.java
5630 * org/ietf/jgss/GSSName.java
5631 * org/ietf/jgss/MessageProp.java
5632 * org/ietf/jgss/Oid.java
5633 * org/ietf/jgss/MessagesBundle.properties
5635 Files imported from Jessie <http://www.nongnu.org/jessie/>
5636 * javax/net/ServerSocketFactory.java
5637 * javax/net/SocketFactory.java
5638 * javax/net/VanillaServerSocketFactory.java
5639 * javax/net/VanillaSocketFactory.java
5640 * javax/net/ssl/HandshakeCompletedEvent.java
5641 * javax/net/ssl/HandshakeCompletedListener.java
5642 * javax/net/ssl/HostnameVerifier.java
5643 * javax/net/ssl/HttpsURLConnection.java
5644 * javax/net/ssl/KeyManager.java
5645 * javax/net/ssl/KeyManagerFactory.java
5646 * javax/net/ssl/KeyManagerFactorySpi.java
5647 * javax/net/ssl/ManagerFactoryParameters.java
5648 * javax/net/ssl/SSLContext.java
5649 * javax/net/ssl/SSLContextSpi.java
5650 * javax/net/ssl/SSLException.java
5651 * javax/net/ssl/SSLHandshakeException.java
5652 * javax/net/ssl/SSLKeyException.java
5653 * javax/net/ssl/SSLPeerUnverifiedException.java
5654 * javax/net/ssl/SSLPermission.java
5655 * javax/net/ssl/SSLProtocolException.java
5656 * javax/net/ssl/SSLServerSocket.java
5657 * javax/net/ssl/SSLServerSocketFactory.java
5658 * javax/net/ssl/SSLSession.java
5659 * javax/net/ssl/SSLSessionBindingEvent.java
5660 * javax/net/ssl/SSLSessionBindingListener.java
5661 * javax/net/ssl/SSLSessionContext.java
5662 * javax/net/ssl/SSLSocket.java
5663 * javax/net/ssl/SSLSocketFactory.java
5664 * javax/net/ssl/TrivialHostnameVerifier.java
5665 * javax/net/ssl/TrustManager.java
5666 * javax/net/ssl/TrustManagerFactory.java
5667 * javax/net/ssl/TrustManagerFactorySpi.java
5668 * javax/net/ssl/X509KeyManager.java
5669 * javax/net/ssl/X509TrustManager.java
5670 * javax/security/cert/Certificate.java
5671 * javax/security/cert/CertificateEncodingException.java
5672 * javax/security/cert/CertificateException.java
5673 * javax/security/cert/CertificateExpiredException.java
5674 * javax/security/cert/CertificateNotYetValidException.java
5675 * javax/security/cert/CertificateParsingException.java
5676 * javax/security/cert/X509CertBridge.java
5677 * javax/security/cert/X509Certificate.java
5679 2004-08-20 Casey Marshall <csm@gnu.org>
5681 * java/security/cert/X509CRLSelector.java: New file.
5682 * java/security/cert/X509CertSelector.java: New file.
5684 2004-09-15 Michael Koch <konqueror@gmx.de>
5686 * gnu/java/net/protocol/file/Handler.java
5687 (openConnection): Don't throw exception if host part for file: URI is
5688 present. setURL() keeps file: protocol if ftp: protocol is not
5691 2004-09-14 Richard Henderson <rth@redhat.com>
5693 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
5694 value of sigsuspend.
5696 2004-09-12 Tom Tromey <tromey@redhat.com>
5698 * javax/naming/CompoundName.java (CompoundName): Don't check for
5699 separator in "flat" case.
5701 2004-09-12 Michael Koch <konqueror@gmx.de>
5703 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
5704 AM_CONFIG_HEADER by AC_CONFIG_FILES.
5705 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
5708 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
5711 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
5712 handle in newly-allocated _Jv_Thread_t.
5713 (_Jv_ThreadDestroyData): Close thread handle.
5714 (_Jv_ThreadStart): Remove obsolete comment.
5715 Store handle of newly-created thread in _Jv_Thread_t.
5716 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
5717 before including <windows.h>
5718 #define _Jv_HaveCondDestroy
5720 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
5722 * java/lang/natThread.cc (finalize_native): Destroy
5723 join conditional variable and mutex if these destroy
5724 operations are supported.
5726 2004-09-10 Dalibor Topic <robilad@kaffe.org>
5728 * gnu/java/net/protocol/file/Connection.java (permission): New field.
5729 (DEFAULT_PERMISSION): New constant.
5730 (Connection): Create a FilePermission with permission to read file.
5732 2004-09-10 Michael Koch <konqueror@gmx.de>
5734 * gnu/java/net/protocol/file/Connection.java
5735 (getLastModified): Moved around.
5736 (getPermission): Return stored permission.
5738 2004-09-10 Michael Koch <konqueror@gmx.de>
5740 * Makefile.in: Regenerate.
5742 2004-09-10 Michael Koch <konqueror@gmx.de>
5744 * Makefile.am: Reverted accidently commited stuff.
5745 * configure: Regenerated.
5747 2004-09-10 Michael Koch <konqueror@gmx.de>
5749 * gnu/java/net/protocol/file/Connection.java
5750 (lineSeparator): Made non-final.
5752 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
5753 instead of StringBufferInputStream.
5755 2004-09-10 Michael Koch <konqueror@gmx.de>
5757 * gnu/java/net/protocol/file/Connection.java
5758 (connect): Handle file is a directory case.
5760 2004-09-10 Michael Koch <konqueror@gmx.de>
5763 (xlib_includes): Removed.
5764 (AM_CPPFLAGS): Renamed from INCLUDES.
5765 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
5766 * Makefile.in: Regenerate.
5768 2004-09-09 Michael Koch <konqueror@gmx.de>
5770 * java/security/ProtectionDomain.java,
5771 * java/util/PropertyPermissionCollection.java:
5772 Fixed javadocs all over.
5774 2004-09-09 Sven de Marothy <sven@physto.se>
5776 Patch from David Gilbert <david.gilbert@object-refinery.com>
5777 * java/lang/Comparable.java: Fixed documentation errors.
5778 * java/util/Arrays.java: Likewise.
5780 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
5782 * java/net/Inet4Address.java
5783 (Inet4Address): Added comment to serialization UID.
5784 * java/text/Format.java
5785 (Format): Added comment to serialization UID.
5787 2004-09-09 Michael Koch <konqueror@gmx.de>
5789 * java/lang/System.java
5790 (err): Fixed javadoci to point to setErr() and not setOut().
5792 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
5794 (normalizePath): Added special case for windows systems.
5796 2004-09-09 Michael Koch <konqueror@gmx.de>
5799 (dupSeparator): Made private.
5800 (File(URI)): New constructor.
5801 (getParentFile): Fixed javadoc.
5802 (createTempFile): Reformated.
5803 (setReadOnly): Added comment.
5804 (deleteOnExit): Merged javadoc with classpath version.
5806 2004-09-09 Michael Koch <konqueror@gmx.de>
5808 * Makefile.am: Don't try to include deps.mk.
5809 * Makefile.in: Regenerated.
5811 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
5813 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
5815 * configure: Rebuilt.
5817 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
5819 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
5820 Changed pfn from static local to local.
5822 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
5823 H.J. Lu <hongjiu.lu@intel.com>
5826 * Makefile.am (GCJCOMPILE): Remove definition.
5827 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
5828 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
5829 * Makefile.in: Rebuilt.
5831 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
5833 * configure.ac (enable-gc-debug): Update help for new syntax.
5834 * configure: Regenerate.
5836 2004-09-03 David Daney <ddaney@avtrex.com>
5838 * include/mips-signal.h: Update copyright.
5840 2004-09-03 David Daney <ddaney@avtrex.com>
5842 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
5843 * include/mips-signal.h: Added HANDLE_FPE support.
5845 2004-08-31 Michael Koch <konqueror@gmx.de>
5847 * javax/swing/plaf/basic/BasicTextAreaUI.java
5848 (create): New method.
5849 * javax/swing/text/DefaultHighlighter.java
5850 (DefaultHighlightPainter.debugRect): Removed.
5851 * javax/swing/text/StyleContext.java
5852 (DEFAULT_STYLE): New field.
5854 2004-08-31 Michael Koch <konqueror@gmx.de>
5856 * javax/swing/plaf/basic/BasicLookAndFeel.java
5857 (initComponentDefaults): Add keybindings for selection.backward and
5858 selection-forward for text components.
5859 * javax/swing/plaf/basic/BasicTextUI.java
5860 (paintSafely): Paint highlight only when something is actually
5862 * javax/swing/text/DefaultCaret.java
5863 (handleHighlight): New method.
5864 (setSelectionVisible): Don't do anything when nothing changes.
5866 (moveDot): Reimplemented. Handle highlight.
5867 (setDot): Set mark too. Handle highlight.
5868 (getSelectionPainter): New method.
5869 * javax/swing/text/DefaultEditorKit.java
5870 (defaultActions): Added new actions for text selection.
5871 * javax/swing/text/DefaultHighlighter.java
5872 (DefaultHighlightPainter): New inner class.
5873 (DefaultPainter): New field.
5874 (paint): Implemented.
5875 * javax/swing/text/PlainView.java
5876 (paint): Don't draw background here again.
5877 * javax/swing/text/Utilities.java
5878 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
5879 (drawTabbedText): Likewise.
5881 2004-08-31 Graydon Hoare <graydon@redhat.com>
5883 * javax/swing/JComponent.java
5884 (resetKeyboardActions): Add null checks.
5886 2004-08-31 Graydon Hoare <graydon@redhat.com>
5888 * javax/swing/DefaultButtonModel.java:
5889 Skip group notification when no group is set.
5891 2004-08-31 Graydon Hoare <graydon@redhat.com>
5893 * javax/swing/JColorChooser.java:
5894 Make a couple inner classes static, for jikes.
5896 2004-08-31 Michael Koch <konqueror@gmx.de>
5898 * javax/swing/plaf/basic/BasicTextUI.java
5899 (RottView.modelToView): New method.
5900 (UpdateHandler): Renamed from EventHandler.
5901 (updateHandler): Renamed from eventHandler.
5902 (modelToView): Implemented.
5903 * javax/swing/text/AbstractDocument.java
5904 (BranchElement.getElement): Return null for non-existing indeces.
5905 (BranchElement.getElementIndex): Return 0 in some corner cases.
5906 * javax/swing/text/FieldView.java
5907 (modelToView): New method.
5908 * javax/swing/text/PlainView.java
5909 (modelToView): Made public.
5911 2004-08-31 Kim Ho <kho@redhat.com>
5913 * Makefile.am: New files.
5914 * Makefile.in: Regenerate.
5915 * gcj/Makefile.in: Regenerate.
5916 * include/Makefile.in: Regenerate.
5917 * java/awt/Color.java: Fix documentation.
5918 (RGBtoHSB): Use floats for conversions.
5919 * javax/swing/ButtonGroup.java: Run Jalopy.
5920 (setSelected): Reimplement.
5921 * javax/swing/DefaultButtonModel.java: Run Jalopy.
5922 (changeState): Let ButtonGroup know that the button
5924 * javax/swing/JColorChooser.java: Implement.
5925 * javax/swing/JLabel.java: Run Jalopy.
5926 * javax/swing/JSpinner.java: Run Jalopy.
5927 (setValue): New method.
5928 * javax/swing/JTabbedPane.java: Run Jalopy.
5929 (removeTabAt): Call correct remove method.
5930 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
5931 (getPreviousValue): Compare minimum value.
5932 * javax/swing/Timer.java: Run Jalopy.
5933 (run): Comment out println.
5934 * javax/swing/ToolTipManager.java:
5935 (mouseMoved): Get new tooltip text for location.
5936 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
5938 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
5940 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
5942 (setSelectedColor): Fire ChangeEvent.
5943 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
5944 New file. Implement.
5945 * javax/swing/colorchooser/DefaultPreviewPanel.java:
5947 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
5949 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
5951 * javax/swing/plaf/basic/BasicArrowButton.java:
5952 (getArrow): Fix size of upward pointing button.
5953 * javax/swing/plaf/basic/BasicColorChooserUI.java:
5955 * javax/swing/plaf/basic/BasicSliderUI.java:
5956 (getWidthOfWidestLabel): Use preferred dimensions.
5957 (getHeightOfTallestLabel): Ditto.
5958 * javax/swing/plaf/basic/BasicSpinnerUI.java:
5960 (mousePressed): Disable changes to spinner if it is not enabled.
5961 * testsuite/Makefile.in: Regenerate.
5964 2004-08-31 Michael Koch <konqueror@gmx.de>
5966 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
5967 javax/swing/plaf/basic/BasicTableUI.java:
5968 Added copyright notice.
5970 2004-08-31 Olga Rodimina <rodimina@redhat.com>
5972 * Makefile.am: Added new files.
5973 * Makefile.in: Regenerate.
5974 * javax/swing/ComboBoxEditor.java: Added javadocs.
5975 * javax/swing/ComboBoxModel.java: Likewise.
5976 * javax/swing/DefaultComboBoxModel.java: Implemented.
5977 * javax/swing/DefaultListCellRenderer.java: Added javadocs
5978 and ran through jalopy to fix formatting style.
5979 (getListCellRendererComponent): Use appropriate border
5980 if renderer has focus and use noFocusBorder when it doesn't.
5981 * javax/swing/JComboBox.java: Implemented.
5982 * javax/swing/JList.java:
5983 (locationToIndex): New Method. Implemented.
5984 (indexToLocation): New Method.
5985 * javax/swing/JPopupMenu.java:
5986 (visible): New field.
5987 (isVisible): Changed to use new field above.
5988 (setVisible): Likewise.
5989 * javax/swing/MutableComboBoxModel.java: Added javadocs.
5990 * javax/swing/plaf/basic/BasicArrowButton.java:
5991 (shadow): Changed default color to Color.gray.
5992 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5993 UI delegate for JComboBox.
5994 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
5995 Popup menu containing list of JComboBox's items.
5996 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
5997 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
5998 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
5999 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
6000 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6001 (popupMenuWillBecomeVisible): Set selected path to the first
6002 element only if it is of type MenuElement. Also fix formatting
6004 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
6007 2004-08-31 Michael Koch <konqueror@gmx.de>
6009 * javax/swing/text/AbstractDocument.java
6010 (createBranchElement): Use new constructor of BranchElement.
6011 (createLeafElement): Renamed arguments.
6012 (getRootElements): Implemented.
6013 (BranchElement.start): Removed.
6014 (BranchElement.end): Likewise.
6015 (BranchElement.BranchElement): Fixed arguments.
6016 (BranchElement.getEndOffset): Reimplemented.
6017 (BranchElement.getStartOffset): Likewis.
6018 * javax/swing/text/DefaultCaret.java
6019 (paint): Draw simple vertical line as caret instead of a rectangle.
6020 * javax/swing/text/JTextComponent.java
6021 (setText): Use doc directly.
6022 * javax/swing/text/PlainView.java
6023 (nextTabStop): Implemented.
6024 * javax/swing/text/Utilities.java
6025 (drawTabbedText): nextTabStop() returns an absolute x position.
6026 (getTabbedTextWidth): Likewise.
6028 2004-08-31 Graydon Hoare <graydon@redhat.com>
6030 * java/awt/Component.java
6031 (isFocusTraversable): Predicate on isLightweight()
6032 (setFocusable): Set isFocusTraversableOverridden.
6033 (requestFocus): Predicate peer dispatch on !isLightweight()
6034 (requestFocusInWindow): Likewise.
6035 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
6036 * java/awt/Container.java
6037 (dispatchEventImpl): Predicate on event mask.
6038 (LightweightDispatcher): Remove focus machinery.
6039 * java/awt/DefaultFocusTraversalPolicy.java
6040 (accept): Expand predicate to include isFocusable().
6041 * java/awt/DefaultKeyboardFocusManager.java:
6042 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
6043 * java/awt/KeyboardFocusManager.java
6044 (redispatchEvent): Synchronize on event to prevent feedback.
6045 * javax/swing/AbstractButton.java
6046 (ButtonFocusListener): Remove class.
6047 (init): Set focusPainted, focusable.
6048 * javax/swing/ActionMap.java (get): Check parent for null.
6049 * javax/swing/InputMap.java (get): Likewise.
6050 * javax/swing/JComponent.java
6051 (inputMap_whenFocused): New InputMap.
6052 (inputMap_whenAncestorOfFocused): Likewise.
6053 (inputMap_whenInFocusedWindow): Likewise.
6054 (getActionForKeyStroke): Rewrite.
6055 (getConditionForKeystroke): Likewise.
6056 (ActionListenerProxy): New private class.
6057 (setInputMap): Implement.
6058 (getInputMap): Likewise.
6059 (setActionMap): Likewise.
6060 (getActionMap): Likewise.
6061 (processComponentKeyEvent): New empty method.
6062 (processKeyEvent): Implement.
6063 (processKeyBinding): Likewise.
6064 (resetKeyboardActions): Rewrite.
6065 * javax/swing/KeyStroke.java: Rewrite.
6066 * javax/swing/SwingUtilities.java
6067 (notifyAction): Implement.
6068 (replaceUIActionMap): Likewise.
6069 (replaceUIInputMap): Likewise.
6070 * javax/swing/plaf/basic/BasicButtonListener.java
6071 (focusGained): Implement.
6072 (focusLost): Repaint if focusPainted().
6073 (installKeyboardActions): Install pressed / released actions.
6074 (uninstallKeyboardActions): Implement.
6075 * javax/swing/plaf/basic/BasicButtonUI.java
6076 (focusColor): New field.
6077 (installDefaults): Load focus color, install input map.
6078 (installKeyboardActions): Implement.
6079 (uninstallKeyboardActions): Likewise.
6080 (paintFocus): Rewrite.
6081 * javax/swing/plaf/basic/BasicLookAndFeel.java
6082 (Button.focus): New default, midPurple.
6083 * javax/swing/plaf/basic/BasicTextUI.java
6085 (installUI): Get doc from kit, load defaults.
6086 (getKeymapName): Implement.
6087 (createKeymap): Likewise.
6088 (installKeyboardActions): Likewise.
6089 (getInputMap): Likewise.
6090 (getActionMap): Likewise.
6091 (createActionMap): Likewise.
6092 * javax/swing/text/AbstractDocument.java
6093 (getStartPosition): Implement.
6094 (getEndPosition): Likewise.
6095 * javax/swing/text/DefaultEditorKit.java
6096 (CopyAction): New class.
6097 (CutAction): Likewise.
6098 (DefaultKeyTypedAction): Likewise.
6099 (InsertBreakAction): Likewise.
6100 (InsertContentAction): Likewise.
6101 (InsertTabAction): Likewise.
6102 (PasteAction): Likewise.
6103 (defaultActions): New static table.
6104 (createCaret): Implement.
6105 (getActions): Likewise.
6106 * javax/swing/text/JTextComponent.java
6107 (KeymapWrapper): New private class.
6108 (KeymapActionMap): Likewise.
6109 (DefaultKeymap): New class.
6110 (keymaps): New static table.
6111 (keymap): New field.
6112 (getKeymap): Implement.
6113 (removeKeymap): Likewise.
6114 (addKeymap): Likewise.
6115 (setKeymap): Likewise.
6116 (loadKeymap): Likewise.
6117 (getActions): Likewise.
6118 (margin): New field.
6119 (JTextComponent): Build and install default keymap.
6120 * javax/swing/text/TextAction.java
6121 (textAction): Call super properly.
6122 (getTextComponent): Implement.
6123 * javax/swing/text/Utilities.java
6124 (drawTabbedText): Adjust position by ascent.
6126 2004-08-31 David Jee <djee@redhat.com>
6130 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6131 (setEnabled): Make it a native method.
6132 * java/awt/DefaultKeyboardFocusManager.java
6133 (postProcessKeyEvent): Only post event if the menu item
6135 * java/awt/MenuItem.java:
6136 Private field 'enabled' should be true by default.
6137 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
6138 (setEnabled): New function.
6140 2004-08-31 David Jee <djee@redhat.com>
6144 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6145 (nativeSetHelpMenu): New native method declaration.
6146 (addHelpMenu): Call nativeSetHelpMenu().
6148 * java/awt/MenuBar.java
6149 (setHelpMenu): Call addNotify() on the new help menu.
6150 (add): Call addNotify() on the new menu.
6151 (addNotify): Set the help menu if one exists.
6152 * java/awt/peer/MenuBarPeer.java
6154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
6155 (nativeSetHelpMenu): New method.
6157 2004-08-31 Graydon Hoare <graydon@redhat.com>
6159 * Makefile.am: Add new files.
6160 * Makefile.in: Regenerate.
6161 * javax/swing/Box.java: Fix setting of layout in ctor.
6162 * javax/swing/JScrollPane.java: Scroll headers as well.
6163 * javax/swing/JTable.java: Reimplement.
6164 * javax/swing/JViewPort.java: Only add non-null children.
6165 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
6166 * javax/swing/Timer.java: Fix stopping null waker.
6167 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
6168 * javax/swing/plaf/basic/BasicTableUI.java: New file.
6169 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
6170 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
6171 * javax/swing/table/DefaultTableModel.java: Clean up.
6172 * javax/swing/table/JTableHeader.java: Implement.
6174 2004-08-31 Mark Wielaard <mark@klomp.org>
6176 * javax/swing/JSpinner.java (getChangeListeners): Remove double
6179 2004-08-31 Mark Wielaard <mark@klomp.org>
6181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6182 Declare variables at top of functions/block.
6183 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
6185 2004-08-31 Mark Wielaard <mark@klomp.org>
6187 * java/lang/Rectangle.java (intersects): Check r.width and r.height
6190 2004-08-31 Michael Koch <konqueror@gmx.de>
6192 * javax/swing/text/PlainView.java
6193 (selectedColor): New field.
6194 (unselectedColor): Likewise.
6196 (updateMetrics): New method.
6197 (lineToRect): Likewise.
6198 (modelToView): Likewise.
6199 (drawSelectedText): Use color from JTextComponent ad draw with
6201 (drawUnselectedText): Likewise.
6202 (paint): Initialize helper fields.
6203 * javax/swing/text/View.java
6204 (getChildAllocation): New method.
6205 (getViewIndex): Likewise.
6206 (getToolTipText): Likewise.
6208 2004-08-31 Michael Koch <konqueror@gmx.de>
6210 * javax/swing/text/Utilities.java
6211 (drawTabbedText): Reimplemented.
6212 (getTabbedTextWidth): Likewise.
6214 2004-08-31 Michael Koch <konqueror@gmx.de>
6216 * javax/swing/plaf/basic/BasicTextUI.java
6217 (installDefaults): Install caret and highlighter.
6218 (modelToView): Use Bias.Forward when calling sibling.
6219 * javax/swing/text/AbstractDocument.java
6220 (ElementEdit): Implements DocumentEvent.ElementChange.
6221 (ElementEdit.ElementEdit): New method.
6222 (ElementEdit.getChildrenAdded): Likewise.
6223 (ElementEdit.getChildrenRemoved): Likewise.
6224 (ElementEdit.getElement): Likewise.
6225 (ElementEdit.getIndex): Likewise.
6226 * javax/swing/text/DefaultCaret.java
6228 (textComponent): Renamed from parent, made private.
6229 (selectionVisible): Renamed from vis_sel, made private.
6230 (blinkRate): Renamed from blink, made private.
6231 (magicCaretPosition): Renamed from magic, made private.
6232 (visible): Renamed from vis, made private.
6233 (dot): Made private.
6235 (deinstall): Remove as MouseMotionListener.
6236 (install): Initialize textComponent first. Add as MouseMotionListener.
6237 (paint): Reimplemented.
6238 * javax/swing/text/JTextComponent.java
6239 (setCaret): Deinstall old caret, install new one and fire property
6240 change after setting property.
6241 (setHighlighter): Deinstall old highlighter, install new one and fire
6242 property change after setting property.
6243 (setCaretColor): Fire property change after setting property.
6244 (setDisabledTextColor): Likewise.
6245 (setSelectedTextColor): Likewise.
6246 (setSelectionColor): Likewise.
6247 (modelToView): New method.
6249 2004-08-31 Michael Koch <konqueror@gmx.de>
6251 * javax/swing/text/AbstractDocument.java
6252 (getText): Simplified.
6253 * javax/swing/text/Segment.java
6254 (current): New field.
6255 (current): Reimplemented.
6257 (getIndex): Likewise.
6260 (previous): Likewise.
6261 (setIndex): Likewise.
6263 2004-08-31 Michael Koch <konqueror@gmx.de>
6265 * javax/swing/plaf/basic/BasicButtonUI.java
6266 (defaultTextIconGap): Made protected.
6267 (defaultTextShiftOffset): Likewise.
6268 (textShiftOffset): New field.
6269 (clearTextShiftOffset): New method.
6270 (getTextShiftOffset): Likewise.
6271 (setTextShiftOffset): Likewise.
6273 2004-08-31 Michael Koch <konqueror@gmx.de>
6275 * javax/swing/plaf/basic/BasicTextUI.java
6276 (installUI): Add eventHandler as property listener.
6277 (uninstallUI): remove eventHandler as propert listener.
6278 (installDefaults): Added comment.
6279 (installListeners): Likewise.
6280 (installKeyboardActions): Likewise.
6281 (uninstallDefaults): Likewise.
6282 (uninstallListeners): Likewise.
6283 (uninstallKeyboardActions): Likewise.
6285 2004-08-31 Michael Koch <konqueror@gmx.de>
6287 * javax/swing/text/AbstractDocument.java:
6288 Fixed some typos in comments.
6289 (insertString): Reimplemented.
6291 (replace): New method.
6292 (children): Dont use fully qualified class name.
6293 (DefaultDocumentEvent.offset): Renamed from off.
6294 (DefaultDocumentEvent.length): Renamed from len.
6295 (DefaultDocumentEvent.type): New field.
6296 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6297 (DefaultDocumentEvent.getType): Implemented.
6299 2004-08-31 Michael Koch <konqueror@gmx.de>
6301 * javax/swing/plaf/basic/BasicTextUI.java
6302 (RootView.textComponent): Removed.
6303 (RootView.RootView): Don't initialize textComponent.
6304 (RootView.getViewFactory): New method.
6305 (EventHandler): New inner class.
6306 (rootView): Initialize at instance creation.
6307 (eventHandler): New field.
6308 (installUI): Don't create view hierarchy directly,
6309 call modelChanged() instead.
6310 (modelChanged): New method.
6311 * javax/swing/text/JTextComponent.java
6312 (setDocument): Fire property change event.
6314 2004-08-31 Michael Koch <konqueror@gmx.de>
6316 * javax/swing/plaf/basic/BasicTextUI.java
6317 (RootView.paint): Removed debug output.
6318 (paintSafely): Draw highlighter before text.
6319 (paintBackground): Use background color of text component.
6320 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6323 2004-08-31 Michael Koch <konqueror@gmx.de>
6325 * javax/swing/plaf/basic/BasicToolBarUI.java
6326 (BasicToolBarUI): Fixed arguments for constructor.
6327 (createUI): Fixed creation of object.
6329 2004-08-31 Michael Koch <konqueror@gmx.de>
6331 * javax/swing/DefaultListSelectionModel.java
6332 (fireValueChanged): Renamed from fireSelectionValueChanged,
6335 2004-08-31 Michael Koch <konqueror@gmx.de>
6337 * javax/swing/text/TabSet.java
6338 (TabSet): Implements java.io.Serializable.
6339 * javax/swing/text/TabStop.java
6340 (TabStop): Implements java.io.Serializable.
6341 (TabStop): Made public.
6343 2004-08-31 Michael Koch <konqueror@gmx.de>
6345 * javax/swing/JComponent.java
6346 (setUI): Fire PropertyChange.
6347 * javax/swing/JLabel.java
6348 (text): Renamed from labelText.
6349 (horizontalAlignment): New default vlaue.
6350 (icon): Renamed from activeIcon.
6351 (displayedMnemonic): Renamed from mnemonicKey, added default value.
6352 (displayedMnemonicIndex): Renamed from underlineChar.
6353 (setDisplayedMnemonic): Reimplemented.
6354 * javax/swing/JRadioButton.java
6355 (JRadioButton): New constructors.
6356 * javax/swing/JTextField.java
6357 (JTextField): Throw exception if colums < 0, initialitialz
6358 this.columns directly and initialize document with text conditionally.
6360 2004-08-31 Michael Koch <konqueror@gmx.de>
6362 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6363 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6364 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6365 * javax/swing/text/FieldView.java
6366 (paint): Just call super method for now.
6367 * Makefile.am: Added new files.
6368 * Makefile.in: Regenerated.
6370 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
6372 * javax/swing/AbstractSpinnerModel.java,
6373 javax/swing/JSpinner.java,
6374 javax/swing/SpinnerNumberModel.java,
6375 javax/swing/plaf/basic/BasicSpinnerUI.java:
6377 * javax/swing/plaf/basic/BasicLookAndFeel.java
6378 (initClassDefaults): Added defaults for BasicSpinnerUI.
6380 2004-08-31 Michael Koch <konqueror@gmx.de>
6382 * Makefile.am: Added new files.
6383 * Makefile.in: Regenerated.
6385 2004-08-31 Michael Koch <konqueror@gmx.de>
6387 * javax/swing/TransferHandler.java,
6388 javax/swing/plaf/basic/ComboPopup.java: New files
6389 * Makefile.am: Added javax/swing/TransferHandler.java and
6390 javax/swing/plaf/basic/ComboPopup.java
6391 * Makefile.in: Regenerated.
6393 2004-08-31 Roman Kennke <roman@ontographics.com>
6395 * javax/swing/text/Utilities.java: New file.
6397 2004-08-31 Michael Koch <konqueror@gmx.de>
6399 * Makefile.am: Added javax/swing/text/Utilities.java.
6400 * Makefile.in: Regenerated.
6402 2004-08-31 Graydon Hoare <graydon@redhat.com>
6404 * javax/swing/text/SimpleAttributeSet.java: New file.
6405 * javax/swing/text/StyleConstants.java: New file.
6406 * javax/swing/text/StyleContext.java: New file.
6407 * javax/swing/text/TabSet.java: New file.
6408 * javax/swing/text/TabStop.java: New file.
6409 * javax/swing/text/AbstactDocument.java:
6410 (AbstractElement): Implement attribute support.
6411 * javax/swing/text/AttributeSet.java
6412 (NameAttribute): New static field.
6413 (ResolveAttribute): New static field.
6414 * Makefile.am: Update for new files.
6415 * Makefile.in: Regenerate.
6417 2004-08-31 Craig Black <craig.black@aonix.com>
6419 * gnu/java/awt/peer/gtk/GdkGraphics.java
6420 (drawImage): Add support for scaling pixmaps.
6421 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6422 (copyAndScalePixmap): New native method.
6424 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6427 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
6428 type-punning compiler warnings using unions.
6429 (throw): Replace bzero with memset.
6431 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6432 Thomas Fitzsimmons <fitzsim@redhat.com>
6434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
6435 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
6436 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
6437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6438 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
6440 2004-08-31 Mark Wielaard <mark@klomp.org>
6442 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
6443 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
6444 and stdlib.h, not gtkpeer.h.
6445 (*vm): New static variable.
6446 (areaPreparedID): Make static.
6447 (areaUpdatedID): Likewise.
6448 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
6449 (area_prepared): Likewise.
6450 (area_updated): Likewise.
6452 (initStaticState): Initialize *vm javaVM.
6453 (pumpBytes): Use given env, not global gdk_env.
6455 2004-08-31 Mark Wielaard <mark@klomp.org>
6457 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
6460 2004-08-31 Sven de Marothy <sven@physto.se>
6462 * java/awt/geom/CubicCurve2D.java: Reindent.
6463 (contains): Implemented.
6464 (intersects): Implemented.
6465 * java/awt/geom/QuadCurve2D.java: Likewise.
6466 * java/awt/geom/GeneralPath.java: Reindent and document.
6467 Fully (re)implemented using separate xpoints and ypoints
6469 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
6471 2004-08-31 Michael Koch <konqueror@gmx.de>
6473 * javax/swing/JMenuItem.java
6474 (getMenuDragMouseListeners): New method.
6475 (getMenuKeyListeners): Likewise.
6477 2004-08-31 Michael Koch <konqueror@gmx.de>
6479 * javax/swing/AbstractButton.java
6480 (model): Made protected.
6481 (actionListener): Likewise.
6482 (changeListener): Likewise.
6483 (itemListener): Likewise.
6484 (multiClickThreshhold): New field.
6485 (getActionListeners): New method.
6486 (getChangeListeners): Likewise.
6487 (getItemListeners): Likewise.
6488 (fireItemStateChanged): Simplified implementation.
6489 (fireActionPerformed): Likewise.
6490 (fireStateChanged): Likewise.
6491 (getMultiClickThreshhold): New method.
6492 (setMultiClickThreshhold): Likewise.
6494 2004-08-31 Tom Tromey <tromey@redhat.com>
6496 * java/awt/image/Kernel.java (clone): Use super.clone().
6498 2004-08-31 David Jee <djee@redhat.com>
6501 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6502 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6503 (nativeSetIconImageFromData): New native method declaration.
6504 (setIconImage): Handle images not produced from GdkPixbufDecoder.
6505 * gnu/java/awt/peer/gtk/GtkImage.java
6506 (getPixelCache): New method.
6507 (getColorModel): New method.
6508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6509 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6510 (free_pixbuf_data): New helper function.
6511 (nativeSetIconImageFromData): New function.
6513 2004-08-31 Graydon Hoare <graydon@redhat.com>
6516 * javax/swing/JLayeredPane.java
6517 (setLayer): Permit changing layer after addition.
6518 (setPosition): Permit over-length positions.
6519 (layerToRange): Compare intValue()s.
6520 * javax/swing/Box.java (createHorizontalBox): Implement.
6521 (createRigidArea): Likewise.
6522 (createVerticalBox): Likewise.
6524 2004-08-31 Kim Ho <kho@redhat.com>
6526 * java/awt/Component.java:
6527 (processMouseEvent): Consume event after
6528 listeners process it.
6529 (processMouseMotionEvent): ditto.
6530 (processMouseWheelEvent): ditto.
6531 * java/awt/Container.java:
6532 (acquireComponentForMouseEvent):
6533 Do not dispatch to events that have been
6534 removed from the Container.
6535 (handleEvent): Consume the MouseEvents.
6536 * javax/swing/RepaintManager.java:
6537 (paintDirtyRegions): Do not add to list of
6538 damaged areas if the component has no root.
6540 2004-08-31 Michael Koch <konqueror@gmx.de>
6542 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
6544 2004-08-31 Mark Wielaard <mark@klomp.org>
6546 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
6547 null when a MissingResourceException is thrown. Should never happen.
6549 2004-08-31 Mark Wielaard <mark@klomp.org>
6551 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6552 when argument is null.
6554 2004-08-31 Mark Wielaard <mark@klomp.org>
6556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6557 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6558 Define hid at start of function.
6559 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6562 2004-08-31 Mark Wielaard <mark@klomp.org>
6564 * gnu/java/awt/EmbeddedWindow.java: Reindent.
6565 * javax/swing/JButton.java: Reindent.
6566 * javax/swing/JCheckBox.java: Reindent.
6568 2004-08-31 Mark Wielaard <mark@klomp.org>
6570 * Makefile.am (gtk_c_source_files): Added
6571 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
6572 (gtk_awt_peer_sources): Added
6573 gnu/java/awt/peer/gtk/GThreadMutex.java and
6574 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
6575 * Makefile.in: Regenerated.
6577 2004-08-31 Archie Cobbs <archie@dellroad.org>
6579 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
6581 2004-08-31 Steven Augart <augart@watson.ibm.com>
6583 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
6584 Added jfieldID, jmethodID.
6586 2004-08-31 Mark Wielaard <mark@klomp.org>
6588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6589 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
6590 gdk_env before calling any gdk or gtk function.
6592 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
6593 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
6594 (run): Set gtkInitCalled.
6596 2004-08-31 Steven Augart <augart@watson.ibm.com>
6598 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
6599 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
6601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6602 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
6603 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
6605 (init_glib_threads): New function.
6607 2004-08-31 Mark Wielaard <mark@klomp.org>
6609 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
6610 PRIORITY when not already defined in header file.
6612 2004-08-31 Mark Wielaard <mark@klomp.org>
6614 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
6615 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
6617 2004-08-31 Steven Augart <augart@watson.ibm.com>
6619 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
6620 Implemented missing functions for GTK2.
6621 Added error handling.
6622 Renamed static functions out of the g_ namespace.
6623 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
6624 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
6625 Rewrote global-reference code.
6626 Eliminated cascading errors.
6627 (mutex_trylock_jni_impl) Fully implemented.
6628 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
6630 (setup_cache) New function.
6631 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
6632 bug where they were not unlocking the GMutex associated with the
6633 condition variable during the wait on that condition variable.
6635 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6636 native/jni/gtk-peer/gthread-jni.c,
6637 native/jni/gtk-peer/gthread-jni.h
6638 (g_thread_jni_functions): Renamed to ...
6639 (portable_native_sync_jni_functions): this name.
6640 (gdk_vm): Renamed to...
6641 (the_vm): this name.
6643 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6644 (gdk_vm): Removed duplicate definition.
6645 (gtkInit): Removed stray message to stdout.
6646 (gtkInit): Use g_malloc and g_free instead of malloc and free.
6647 (gtkInit): Fix a const assignment bug.
6648 (gtkInit): Simplified code.
6650 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6651 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
6652 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
6653 gnu/java/awt/peer/gtk/GThreadMutex.java:
6656 2004-08-31 Mark Wielaard <mark@klomp.org>
6658 * javax/swing/Box.java: Put FIXME comment above class declaration.
6659 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6660 * javax/swing/JCheckBox.java: Likewise.
6661 * javax/swing/JDialog.java: Likewise.
6662 * javax/swing/JRadioButton.java: Likewise.
6663 * javax/swing/JToggleButton.java: Likewise.
6664 * javax/swing/UIManager.java: Likewise.
6665 * javax/swing/border/TitledBorder.java: Likewise.
6666 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6667 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6668 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6669 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6670 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6671 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6672 * javax/swing/text/JTextComponent.java: Likewise.
6674 2004-08-31 David Jee <djee@redhat.com>
6677 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6678 (setIconImage): Add a FIXME for unhandled cases.
6680 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6683 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
6684 getModifiers. Replace old button masks with new ones.
6685 * gnu/awt/xlib/XEventLoop.java: Likewise.
6686 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
6687 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6688 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6689 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
6690 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6691 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
6692 * java/awt/Component.java: Replace old modifier masks with new
6694 * java/awt/Container.java: Call getModifiersEx, not
6696 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
6698 * javax/swing/JMenuItem.java: Replace old button masks with new
6700 * javax/swing/KeyStroke.java: Call getModifiersEx, not
6702 * javax/swing/SwingUtilities.java: Likewise.
6703 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
6704 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
6705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
6706 mask macros with new ones.
6707 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
6708 macros with new ones representing new masks.
6710 2004-08-31 Craig Black <craig.black@aonix.com>
6712 * gnu/java/awt/peer/gtk/GdkGraphics.java
6713 (drawRoundRect): Implemented.
6714 (fillRoundRect): Implemented.
6715 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6716 (drawRoundRect): Reimplemented to match GdkGraphics.
6717 (fillRoundRect): Reimplemented to match GdkGraphics.
6719 2004-08-31 Mark Wielaard <mark@klomp.org>
6721 * Makefile.in: Regenerated.
6723 2004-08-31 Michael Koch <konqueror@gmx.de>
6725 * gnu/java/awt/EmbeddedWindow.java
6726 (addNotify): Use AccessController to allow execution of privileged
6729 2004-08-31 Michael Koch <konqueror@gmx.de>
6731 * gnu/java/awt/EmbeddedWindow.java
6733 (addNotify): Set peer via reflection.
6734 (setWindowPeer): Removed.
6735 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6736 * Makefile.am (nat_source_files):
6737 Removed gnu/java/awt/natEmbeddedWindow.cc.
6739 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6741 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
6742 and gnu/java/security/action/SetAccessibleAction.java.
6744 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6746 * gnu/java/security/action/GetPropertyAction.java (setParameters):
6747 Renamed from 'setName'. New 2-argument form with default value.
6748 (run): Pass default 'value' parameter to System.getProperty().
6749 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
6752 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6754 * gnu/java/security/action/GetPropertyAction.java: New class.
6755 * gnu/java/security/action/SetAccessibleAction.java: New class.
6757 2004-08-31 David Jee <djee@redhat.com>
6759 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6760 (setIconImage): Check if image is null.
6762 2004-08-31 David Jee <djee@redhat.com>
6764 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6765 (create): Set the icon image.
6766 (nativeSetIconImage): New native method declaration.
6767 (setIconImage): Implement.
6768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6769 (nativeSetIconImage): New function.
6771 2004-08-31 Dalibor Topic <robilad@kaffe.org>
6773 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6774 (filenameFilterCallback): Declare local variable accepted before use.
6776 2004-08-31 Dalibor Topic <robilad@kaffe.org>
6778 * gnu/java/awt/ComponentDataBlitOp.java:
6781 2004-08-31 Tom Tromey <tromey@redhat.com>
6783 * gnu/java/awt/peer/GLightweightPeer.java,
6784 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6785 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6786 javax/swing/JScrollPane.java: Removed
6789 2004-08-31 David Jee <djee@redhat.com>
6791 * java/awt/DefaultKeyboardFocusManager.java
6792 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
6793 event. Fix shift modifier checking.
6794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6795 (accel_attach): Remove.
6796 (setupAccelGroup): Remove calls to accel_attach.
6798 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6800 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
6801 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
6803 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
6805 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
6806 * Makefile.in: Regenerate.
6807 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6808 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6809 (create(String)): New method.
6810 (create): Call new create method.
6811 (getArgs): Remove method.
6812 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6813 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6814 (nativeCreate): Rename to create.
6815 (gtkSetLabel): Rename to gtkButtonSetLabel.
6816 (gtkToggleButtonSetActive): New method.
6817 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
6818 (setState): Replace set call with gtkToggleButtonSetActive.
6819 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
6820 (getArgs): Remove method.
6821 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6822 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6823 (gtkWidgetSetSensitive): New method.
6824 (gtkWidgetSetParent): Likewise.
6825 (GtkComponentPeer): Call setParent, setComponentBounds and
6826 setVisibleAndEnabled.
6827 (setParent): New method.
6828 (setComponentBounds): New method.
6829 (setVisibleAndEnabled): New method.
6830 (setEnabled): Call gtkWidgetSetSensitive.
6831 (getArgs): Remove method.
6832 Remove all set methods.
6833 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
6834 gtkWindowSetModal, setTitle and setResizable.
6835 (getArgs): Remove method.
6836 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6837 (setComponentBounds): New method.
6838 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
6839 Replace set call with gtkWindowSetResizable.
6840 (getArgs): Remove method.
6841 (create): Call setTitle and setResizable.
6842 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6843 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6844 (gtkWindowSetTitle): New method.
6845 (gtkWindowSetResizable): New method.
6846 (gtkWindowSetModal): New method.
6847 (setParent): New method.
6848 (setVisibleAndEnabled): New method.
6849 (getArgs): Remove method.
6850 (setTitle): Call gtkWindowSetTitle.
6851 (setResizable): Call gtkWindowSetResizable.
6852 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
6853 and off locking instrumentation.
6855 2004-08-31 Kim Ho <kho@redhat.com>
6857 * Makefile.am: Add new file.
6858 * Makefile.in: Regenerate.
6859 * gcj/Makefile.in: Regenerate
6860 * include/Makefile.in:
6861 * java/awt/Container.java:
6862 (acquireComponentForMouseEvent): Respect
6863 the event mask when looking for candidate.
6864 * javax/swing/JComponent.java:
6865 Remove toolTip field.
6866 (createToolTip): Create a tooltip on demand.
6867 (setToolTipText): Register with the ToolTipManager.
6868 (getToolTipText(MouseEvent)): Return getToolTipText().
6869 * javax/swing/JToolTip.java: Implement.
6870 * javax/swing/Timer.java: Jalopy.
6871 (restart): Call stop, then start.
6872 (stop): Interrupt the timer rather than wait for
6873 the timer to come to a stop naturally.
6874 * javax/swing/ToolTipManager.java: Implement.
6875 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6876 Change ToolTip.background color.
6877 * javax/swing/plaf/basic/BasicToolTipUI.java:
6879 * testsuite/Makefile.in: Regenerate
6881 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
6883 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
6884 constructor param comments.
6886 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6888 * java/awt/Component.java: Document AWT 1.0 event handler
6891 2004-08-31 Roman Kennke <roman@ontographics.com>
6893 * javax/swing/Box.java:
6894 (createGlue): Implemented
6895 (createHorizontalGlue): Implemented
6896 (createHorizontalStrut): Implemented
6897 (createVerticalGlue): Implemented
6898 (createVerticalStrut): Implemented
6900 2004-08-31 David Jee <djee@redhat.com>
6902 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6903 (GtkChoicePeer): Do not automatically select first item.
6904 (getHistory): Remove.
6905 (nativeGetSelected): New method.
6906 (nativeRemoveAll): New method.
6907 (add): Use nativeGetSelected() instead of getHistory().
6909 (removeAll): Call nativeRemoveAll().
6910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6911 (create): Migrate to GtkComboBox.
6913 (nativeAdd): Likewise.
6914 (nativeRemove): Likewise.
6916 (nativeRemoveAll): New method.
6917 (nativeGetSelected): New method.
6918 (selection_changed): New method.
6919 (getHistory): Remove.
6920 (item_activate): Remove.
6921 (item_removed): Remove.
6922 (connect_choice_item_selectable_hook): Remove.
6924 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6926 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
6927 variable in setEditable call.
6929 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6930 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6931 (gtkWidgetSetBackground): New method.
6932 (gtkWidgetSetForeground): Likewise.
6933 (create): Set peer's editable state based on awtComponent's.
6935 * java/awt/Button.java (Button()): Use empty string rather than
6936 null in no-label constructor.
6938 2004-08-31 Roman Kennke <roman@ontographics.com>
6940 * javax/swing/BoxLayout.java: Reimplement.
6942 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6944 * gnu/java/awt/peer/gtk/GdkGraphics.java,
6945 gnu_java_awt_peer_gtk_GdkGraphics.c
6946 (initState(GtkComponentPeer)): Don't return array of colour
6948 (GdkGraphics(int,int)): Set default font to size 12.
6949 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
6950 component's foreground colour.
6951 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6952 gnu_java_awt_peer_gtk_GdkGraphics2D.c
6953 (initState(GtkComponentPeer)): Don't return array of colour
6955 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
6956 colours to component's colours.
6957 (current_colors_of_widget): Remove function.
6958 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
6959 Return a new graphics object.
6960 * java/awt/Font.java (toString): Fix format.
6961 * java/awt/Graphics.java (toString): Likewise.
6963 2004-08-31 Craig Black <craig.black@aonix.com>
6965 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6966 (addTearOff): New function.
6967 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
6969 (init): Call addTearOff() when menu.isTearOff().
6971 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
6973 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
6974 Default implementation.
6975 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
6976 Implement using GdkPixbufDecoder.
6978 2004-08-31 David Jee <djee@redhat.com>
6980 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6981 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
6982 setting the size of GtkFileDialogPeers.
6983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6984 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
6985 use their default sizes rather than their natural requisitions.
6987 2004-08-31 Michael Koch <konqueror@gmx.de>
6989 * javax/swing/JFormattedTextField.java
6990 (JFormattedTextField): Implemented.
6991 * javax/swing/text/DefaultEditorKit.java
6992 (BeepAction): New inner class.
6993 * javax/swing/text/Segment.java
6994 (partialReturn): New field.
6995 (setPartialReturn): New method.
6996 (isPartialReturn): Likewise.
6997 * javax/swing/text/View.java
6998 (createFragment): Fixed typo.
6999 (getStartOffset): New method.
7000 (getEndOffset): Likewise.
7002 2004-08-31 Michael Koch <konqueror@gmx.de>
7004 * javax/swing/table/DefaultTableColumnModel.java
7005 (serialVersionUID): Made private.
7006 (listenerList): Initialize.
7007 (changeEvent): Initialize.
7008 * javax/swing/table/JTableHeader.java
7009 (JTableHeader): New constructors.
7010 (createDefaultColumnModel): New method.
7011 * javax/swing/table/TableColumn.java
7012 (setHeaderRenderer): Simplified code.
7013 (setCellRenderer): Likewise.
7014 (setWidth): Likewise.
7016 2004-08-31 Tom Tromey <tromey@redhat.com>
7018 * java/text/AttributedString.java (AttributedString): Use
7019 ArrayList to build array of attribute ranges. Don't use
7020 `attribs' before it is set.
7022 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
7024 * HACKING: Remove reference to special automake. No longer needed.
7026 2004-08-30 Tom Tromey <tromey@redhat.com>
7028 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
7029 return result from `add'.
7031 2004-08-30 Tom Tromey <tromey@redhat.com>
7033 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
7035 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
7037 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
7039 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
7041 * java/io/File.java File(String,String): Fixed handling of empty
7044 2004-08-30 Casey Marshall <csm@gnu.org>
7046 Author e-mail updated for all files.
7047 * gnu/java/security/OID.java (equals): Test if the aurgment is an
7049 (compareTo): Use `equals'.
7050 * gnu/java/security/der/BitString.java (equals): Test if the
7051 argument is an instance of BitString.
7052 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
7053 class final. Made fields private.
7054 (<init>): New constructor.
7056 (makeString): Made static; don't use NIO.
7057 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
7058 * gnu/java/security/der/DERWriter.java: Fixed imports.
7059 (writeString): Don't use NIO.
7060 (toIso88591, toUtf16Be, toUtf8): New methods.
7061 * gnu/java/security/der/DERValue.java: Formatting changes only.
7062 * gnu/java/security/der/DER.java: Likewise.
7064 2004-08-30 Tom Tromey <tromey@redhat.com>
7066 * java/nio/CharBuffer.java (put): Fix typo.
7067 * java/nio/DoubleBuffer.java (put): Fix typo.
7068 * java/nio/FloatBuffer.java (put): Fix typo.
7069 * java/nio/IntBuffer.java (put): Fix typo.
7070 * java/nio/LongBuffer.java (put): Fix typo.
7071 * java/nio/ShortBuffer.java (put): Fix typo.
7073 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
7075 * java/nio/ByteBuffer.java (put): Fix typo.
7077 2004-08-30 Casey Marshall <csm@gnu.org>
7079 * java/security/DummyKeyPairGenerator.java (clone): Removed
7080 useless instanceof check.
7081 * java/security/DummyMessageDigest.java (clone): Likewise.
7082 * java/security/DummySignature.java (clone): Likewise.
7083 * java/security/MessageDigest.java (clone): Remove useless
7085 * java/security/MessageDigestSpi.java (clone): Likewise.
7086 * java/security/Signature.java (clone): Provide meaningful
7088 * java/security/SignatureSpi.java (clone): Likewise.
7090 2004-08-29 Mark Wielaard <mark@klomp.org>
7092 * java/util/Arrays.java
7093 (sort(byte[], int, int)): Check fromIndex < 0.
7094 (sort(char[], int, int)): Likewise.
7095 (sort(short[], int, int)): Likewise.
7096 (sort(int[], int, int)): Likewise.
7097 (sort(long[], int, int)): Likewise.
7098 (sort(float[], int, int)): Likewise.
7099 (sort(double[], int, int)): Likewise.
7100 (sort(Object[], int, int, Comparator)): Likewise.
7101 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
7102 (qsort(char[], int, int)): Likewise.
7103 (qsort(short[], int, int)): Likewise.
7104 (qsort(int[], int, int)): Likewise.
7105 (qsort(long[], int, int)): Likewise.
7106 (qsort(float[], int, int)): Likewise.
7107 (qsort(double[], int, int)): Likewise.
7109 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
7111 * java/util/AbstractCollection.java, java/util/AbstractList.java,
7112 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
7113 java/util/ArrayList.java, java/util/Arrays.java,
7114 java/util/BitSet.java, java/util/Calendar.java,
7115 java/util/Collection.java, java/util/ListIterator.java,
7116 java/util/Map.java, java/util/SortedSet.java:
7117 Added additional exceptions to documentation, along
7118 with some additions and corrections.
7120 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
7122 * configure.ac: Handle --enable-gc-debug.
7123 * configure: Regenerate.
7124 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
7125 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
7126 Rearrange include file order.
7127 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
7128 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
7129 (disable_gc_mutex): Delete along with all references.
7130 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
7131 adjust for debug header size.
7132 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
7134 (_Jv_AllocArray): Declare min_heap_addr only if needed.
7135 (gcj_describe_type_fn): New.
7136 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
7137 Register gcj_describe_type_fn.
7138 * include/boehm-gc.h:
7139 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
7140 Don't define, but declare, for debug case.
7141 * java/lang/natObject.cc:
7142 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
7144 2004-08-26 Mark Wielaard <mark@klomp.org>
7146 Fixes PR libgcj/17002:
7147 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
7148 a TimeZoneId string and then try to convert that to a TimeZone with
7149 getDefaultSystemTimeZone(String).
7150 (timezones0): Changed type from Hashtable to HashMap.
7151 (timezones): Create HashMap, not Hashtable.
7152 (getDefaultTimeZone): New method, rewritten from CNI version.
7153 (readTimeZoneFile): New method.
7154 (readtzFile): Likewise.
7155 (skipFully): Likewise.
7156 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
7157 getDefaultTimeZoneId and rewritten.
7158 (getDefaultTimeZoneId): Rewritten in java.
7160 2004-08-25 David Daney <daney@avtrex.com>
7162 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
7163 * Makefile.in: Regenerated.
7165 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
7167 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
7168 only if jvmpi is enabled.
7169 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
7170 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
7171 (_Jv_AllocString): Likewise.
7172 (_Jv_AllocPtrFreeObject): Likewise.
7174 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
7176 * defineclass.cc: Include <stdio.h>.
7177 * java/lang/natClassLoader.cc: Include <stdio.h>.
7179 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
7180 Michael Koch <konqueror@gmx.de>
7182 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
7183 * Makefile.in: Regenerated.
7185 2004-08-20 Michael Koch <konqueror@gmx.de>
7187 * configure.ac: Replaced all AC_TRY_COMPILE macros with
7188 AC_COMPILE_IFELSE macros.
7190 2004-08-20 Michael Koch <konqueror@gmx.de>
7192 * configure.in: Renamed to configure.ac.
7193 * configure.ac: New file.
7194 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
7195 include/config.h.in, testsuite/Makefile.in: Regenerated.
7197 2004-08-20 Michael Koch <konqueror@gmx.de>
7199 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
7200 * aclocal.m4, configure: Regenerated.
7202 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7203 Michael Koch <konqueror@gmx.de>
7205 * configure.in, Makefile.am: Ported to automake 1.9.
7206 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
7207 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
7210 2004-08-19 Tom Tromey <tromey@redhat.com>
7212 * java/net/DatagramSocket.java: Fixed typo.
7214 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
7217 * java/net/URI.java (string): New field. Make all other fields
7219 (readObject): Implemented.
7220 (writeObject): Implemented.
7221 (URI): Set 'string'.
7223 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
7226 * java/util/logging/Handler.java (isLoggable): Accept record if its
7227 log level equals the threshold level. From Robin Green.
7229 2004-08-18 David Daney <ddaney@avtrex.com>
7231 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
7234 2004-08-17 Michael Koch <konqueror@gmx.de>
7236 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
7237 * Makefile.in: Regenerated.
7239 2004-08-16 Tom Tromey <tromey@redhat.com>
7242 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
7244 2004-08-16 Michael Koch <konqueror@gmx.de>
7247 (math_c_files): Renamed from c_files.
7248 (math_c_source_files): Renamed from c_source_files.
7251 include/Makefile.in,
7252 testsuite/Makefile.in: Regenerated.
7254 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
7256 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7257 to avoid autoconf warning.
7258 * configure: Rebuilt.
7260 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
7262 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
7263 localhostAddress to loopbackAddress.
7264 * java/net/natInetAddressWin32.cc (lookup): Likewise.
7266 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7268 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
7269 boehm-gc's include dirs.
7270 * configure: Rebuilt.
7271 * include/boehm-gc.h: Include gc_config.h.
7273 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7275 * java/net/InetAddress.java (loopbackAddress): Renamed from
7277 (getByName): Return loopback address for null hostname, without
7278 security check. Use lookup(), not getAllByName.
7279 (getAllByName): Return loopback address for null hostname, without
7281 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7284 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7287 Reported by Robin Green.
7288 * defineclass.cc (handleField): Don't throw exception on unrecognised
7289 modifier. Add FIXME comments for spec compliance.
7290 (handleMethod): Likewise.
7292 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
7295 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7296 (Almost everywhere): add LOG calls, fix, add comments.
7297 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7298 Add explicit check for LOCKED bit in slow case (PR 16662).
7299 (_Jv_MonitorExit): Add casts in debug-only code.
7300 Always release LOCKED bit before throwing exception.
7301 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7302 isn't. Handle easy cases without lock acquisition.
7303 (Object::wait): Use NotifyAll for lock inflation.
7305 2004-08-12 David Daney <ddaney@avtrex.com>
7307 * testsuite/libjava.lang/Process_1.java: New test.
7308 * testsuite/libjava.lang/Process_2.java: New test.
7309 * testsuite/libjava.lang/Process_3.java: New test.
7310 * testsuite/libjava.lang/Process_4.java: New test.
7311 * testsuite/libjava.lang/Process_5.java: New test.
7312 * testsuite/libjava.lang/Process_6.java: New test.
7313 * testsuite/libjava.lang/Process_1.out: Expected result.
7314 * testsuite/libjava.lang/Process_2.out: Expected result.
7315 * testsuite/libjava.lang/Process_3.out: Expected result.
7316 * testsuite/libjava.lang/Process_4.out: Expected result.
7317 * testsuite/libjava.lang/Process_5.out: Expected result.
7318 * testsuite/libjava.lang/Process_6.out: Expected result.
7320 2004-08-12 David Daney <ddaney@avtrex.com>
7323 * java/lang/PosixProcess.java: Rewrote.
7324 * java/lang/natPosixProcess.cc: Rewrote.
7325 * java/lang/Runtime.java (execInternal): Declare throws IOException.
7326 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7327 * posix-threads.cc (block_sigchld) New function.
7328 (_Jv_ThreadRegister) Use it.
7329 (_Jv_ThreadStart) Use it.
7330 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7331 * Makefile.am: ... to specify extra native headers.
7332 * configure: Regenerated.
7333 * include/config.h: Regenerated.
7334 * Makefile.in: Regenerated.
7335 * gcj/Makefile.in: Regenerated.
7336 * include/Makefile.in: Regenerated.
7337 * testsuite/Makefile.in: Regenerated.
7339 2004-08-12 Diego Novillo <dnovillo@redhat.com>
7341 PR tree-optimization/16867
7342 * testsuite/libjava.lang/PR16867.java: New test.
7344 2004-08-09 Per Bothner <per@bothner.com>
7346 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7347 with private fields and access methods.
7348 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7349 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7350 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7351 ( _Jv_makeUtf8Const): Rewrite using new constructors.
7352 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7353 * defineclass.cc: Use new _Utf8Const access/convenience methods.
7355 * resolve.cc: Likewise.
7356 * gcj/field.h: Likewise.
7357 * include/jvm.h: Likewise.
7358 * java/lang/Class.h: Likewise.
7359 * java/lang/natClass.cc: Likwise.
7360 * java/lang/natClassLoader.cc: Likewise
7361 * java/lang/reflect/natMethod.cc: Likewise
7362 * verify.cc: Likewise.
7363 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
7364 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
7366 2004-08-10 Andrew Haley <aph@redhat.com>
7368 * testsuite/libjava.lang/err14.java: New file.
7369 * testsuite/libjava.lang/err14.out: New file.
7371 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
7373 * Makefile.am: Fix missing rename from x_nat_headers to
7375 * Makefile.in: Regenerated.
7377 2004-08-04 Andrew Haley <aph@redhat.com>
7379 * java/security/BasicPermission.java: Don't check wildcards.
7381 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7382 Michael Koch <konqueror@gmx.de>
7384 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
7385 * configure.in: Replaced all usages of AC_LINK_FILES by
7388 configure: Regenerated.
7390 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7391 Michael Koch <konqueror@gmx.de>
7393 * acconfig.h: Removed.
7394 * Makefile.am: Rename variables for xlib peer to include xlib and
7395 gtk_c_headers to gtk_jni_headers.
7396 * Makefile.in: Regenerated.
7398 2004-08-04 Andrew Haley <aph@redhat.com>
7400 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
7403 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
7405 * configure.in: Eliminate uses of changequote (mostly by quoting []).
7406 Replace most top level 'dnl' comments with '#' comments, conforming
7407 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
7409 * configure: Rebuilt.
7411 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
7413 * acinclude.m4: Include no-executables.m4.
7414 * aclocal.m4: Rebuild.
7415 * configure.in: Convert to the autoconf 2.59 version of
7416 of the no-executables hack, and also of the nonstandard CXX
7417 hack and the multilibbed CC and CXX hack. Change prerequisite
7419 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
7420 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
7421 testsuite/Makefile.in: Regenerate.
7423 2004-08-03 Tom Tromey <tromey@redhat.com>
7425 * jni.cc: Reindented.
7427 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
7429 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
7431 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
7433 * testsuite/libjava.compile/PR16701.java: New test.
7435 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
7437 * java/util/Collection.java, java/util/List.java,
7438 java/util/Map.java, java/util/Set.java,
7439 java/util/SortedMap.java, java/util/SortedSet.java:
7440 Added additional exceptions to documentation.
7442 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
7445 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
7446 * configure. Regenerate.
7447 * include/win32.h: Explicitly include winsock2.h
7448 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
7451 2004-07-30 Michael Koch <konqueror@gmx.de>
7453 * java/util/zip/GZIPInputStream.java
7454 (GZIPInputStream): Increase buffer size to 4k.
7455 * java/util/zip/GZIPOutputStream.java
7456 (GZIPOutputStream): Likewise.
7457 * java/util/zip/Inflater.java
7458 (setInput): Merged formating with GNU classpath.
7459 * java/util/zip/InflaterInputStream.java
7460 (InflaterInputStream): Increase buffer size to 4k.
7461 (fill): Throw exception if stream ends early.
7462 (read): Merged endless-loop with GNU classpath.
7463 (skip): Increase buffer size to 2k.
7465 2004-07-30 Michael Koch <konqueror@gmx.de>
7467 * gnu/java/awt/EmbeddedWindow.java
7468 (addNotify): Use AccessController to allow execution of privileged
7471 2004-07-29 Michael Koch <konqueror@gmx.de>
7473 * gnu/java/lang/MainThread.java:
7474 Explicitely import used classes.
7475 (args): Make it type String[].
7477 2004-07-29 Dalibor Topic <robilad@kaffe.org>
7479 * gnu/java/awt/ComponentDataBlitOp.java,
7480 gnu/java/beans/ExplicitBeanInfo.java,
7481 gnu/java/beans/IntrospectionIncubator.java,
7482 gnu/java/beans/editors/ColorEditor.java,
7483 gnu/java/beans/editors/FontEditor.java,
7484 gnu/java/beans/editors/NativeBooleanEditor.java,
7485 gnu/java/beans/editors/NativeByteEditor.java,
7486 gnu/java/beans/editors/NativeDoubleEditor.java,
7487 gnu/java/beans/editors/NativeFloatEditor.java,
7488 gnu/java/beans/editors/NativeIntEditor.java,
7489 gnu/java/beans/editors/NativeLongEditor.java,
7490 gnu/java/beans/editors/NativeShortEditor.java,
7491 gnu/java/beans/editors/StringEditor.java,
7492 gnu/java/io/ClassLoaderObjectInputStream.java,
7493 gnu/java/io/decode/Decoder.java,
7494 gnu/java/io/encode/Encoder.java,
7495 gnu/java/lang/ClassHelper.java,
7496 gnu/java/locale/Calendar.java,
7497 gnu/java/locale/Calendar_de.java,
7498 gnu/java/locale/Calendar_en.java,
7499 gnu/java/locale/Calendar_nl.java,
7500 gnu/java/locale/LocaleInformation_de.java,
7501 gnu/java/locale/LocaleInformation_en.java,
7502 gnu/java/locale/LocaleInformation_nl.java:
7505 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7507 * README: Remove obsolete info. Update bug URL.
7509 * NEWS: Updated with news up to GCC 3.4 release.
7511 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7513 * gnu/java/security/action/GetPropertyAction.java (setParameters):
7514 Renamed from 'setName'. New 2-argument form with default value.
7515 (run): Pass default 'value' parameter to System.getProperty().
7516 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7518 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
7521 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
7523 * configure.in: Check for minimum GTK version 2.4 requirement.
7524 * configure: Rebuilt.
7526 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7528 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
7529 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
7531 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
7533 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
7534 address. Reduce sleep times. Synchronize with target threads before
7535 attempting to interrupt them. Don't try to calibrate yeild count,
7536 instead, always loop for a fixed time.
7537 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
7538 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
7539 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
7540 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
7541 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
7542 * testsuite/libjava.lang/pr179.java: Likewise.
7543 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
7544 time. Remove upper bounds check on sleep time.
7546 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7548 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
7549 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
7551 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
7553 * java/io/File.java (toURI): Throw RuntimeException, not
7555 * java/lang/Runtime.java (exit): Qualify static sleep() call with
7556 class name, not instance.
7558 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
7560 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7561 and gnu/java/security/action/SetAccessibleAction.java.
7562 * Makefile.in: Rebuilt.
7564 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7566 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
7567 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
7569 (DECLARE_PRIM_TYPE): Don't declare array vtables.
7570 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
7571 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
7573 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7575 * Makefile.am: Replace jar, rmic and rmiregistry references with
7576 gjar, grmic and grmiregistry.
7577 * configure.in: Likewise.
7578 * Makefile.in: Regenerate.
7579 * configure: Likewise.
7580 * gcj/Makefile.in: Likewise.
7581 * include/Makefile.in: Likewise.
7582 * testsuite/Makefile.in: Likewise.
7584 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7586 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
7587 for privileged getProperty calls.
7588 * java/io/ObjectOutputStream.java (getField): No longer static. Use
7589 SetAccessibleAction instead of anonymous class for doPrivileged call.
7590 (getMethod): Likewise.
7591 (setAccessible): New field. PrivilegedAction object to use when
7592 calling setAccessible.
7593 * java/io/ObjectStreamClass.java (calculateOffsets): Use
7594 SetAccessibleAction instead of anonymous class for diPrivileged call.
7595 (setFields): Likewise.
7596 (getClassUID): Likewise.
7597 (findMethod): Likewise.
7598 * gnu/java/security/action/GetPropertyAction.java: New class.
7599 * gnu/java/security/action/SetAccessibleAction.java: New class.
7601 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7603 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
7605 * testsuite/libjava.lang/Serialization.java: New test.
7606 * testsuite/libjava.lang/Serialization.out: New.
7608 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
7610 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
7611 missed in last commit.
7613 2004-07-23 Mark Wielaard <mark@klomp.org>
7615 * java/lang/System.java (static): Set http.agent system property when
7617 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
7618 from system property inside AccessController.doPrivileged() call.
7619 (proxyPort): Made package private.
7620 (proxyInUse): Likewise.
7621 (proxyHost): Likewise.
7622 (userAgent): Likewise.
7624 2004-07-23 Mark Wielaard <mark@klomp.org>
7626 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
7629 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
7631 * Makefile.am (ordinary_java_source_files): Add
7632 DefaultContentHandlerFactory.java.
7633 * Makefile.in: Rebuilt.
7634 * java/net/URLConnection.java (defaultFactory): New field.
7636 (getContentHandler): Renamed from 'setContentHandler'. Try
7637 defaultFactory after user-set factory, if any. Search for content
7638 handler implementations in gnu.java.net.content, not gnu.gcj.content.
7639 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
7641 (getLastModified): Implemented.
7642 (getPermission): Create file permission here, instead of in
7644 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
7646 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
7648 (getLastModified): Implemented.
7649 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7650 Default implementation.
7651 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7652 Implement using GdkPixbufDecoder.
7654 2004-07-21 Michael Koch <konqueror@gmx.de>
7656 * javax/swing/JTextArea.java
7657 (setLineWrap): Fire property change event after new value is set.
7658 (setTabSize): Likewise.
7660 2004-07-21 Michael Koch <konqueror@gmx.de>
7662 * javax/swing/JTable.java
7663 (autoCreateColumnsFromModel): New field.
7664 (autoResizeMode): Likewise.
7665 (cellEditor): Likewise.
7666 (cellSelectionEnabled): Likewise.
7667 (columnModel): Likewise.
7668 (dataModel): Likewise.
7669 (defaultEditorsByColumnClass): Likewise.
7670 (defaultRenderersByColumnClass): Likewise.
7671 (editingColumn): Likewise.
7672 (editingRow): Likewise.
7673 (gridColor): Likewise.
7674 (preferredViewportSize): Likewise.
7675 (rowHeight): Likewise.
7676 (rowMargin): Likewise.
7677 (rowSelectionAllowed): Likewise.
7678 (selectionBackground): Likewise.
7679 (selectionForeground): Likewise.
7680 (selectionModel): Likewise.
7681 (showHorizontalLines): Likewise.
7682 (showVerticalLines): Likewise.
7683 (tableHeader): Likewise.
7684 (JTable): Implemented.
7685 (getColumnModel): Likewise.
7686 (getSelectedRow): Likewise.
7687 (getSelectionModel): Likewise.
7688 (setModel): Likewise.
7689 (setSelectionModel): Likewise.
7690 (createScrollPaneForTable): New method.
7691 (createDefaultDataModel): Likewise.
7692 (createDefaultListSelectionModel): Likewise.
7693 (getModel): Likewise.
7694 (getTableHeader): Likewise.
7695 (setTableHeader): Likewise.
7696 (getColumnSelectionAllowed): Likewise.
7697 (setColumnSelectionAllowed): Likewise.
7698 (getRowSelectionAllowed): Likewise.
7699 (setRowSelectionAllowed): Likewise.
7700 (getAutoResizeMode): Likewise.
7701 (setAutoResizeMode): Likewise.
7702 (getColumnCount): Likewise.
7703 (getRowCount): Likewise.
7704 (getCellRenderer): Likewise.
7705 * javax/swing/JTree.java
7706 (cellRenderer): New field.
7707 (editable): Likewise.
7708 (rootVisible): Likewise.
7709 (showsRootHandles): Likewise.
7710 (getModel): New method.
7711 (setModel): Likewise.
7712 (isEditable): Likewise.
7713 (setEditable): Likewise.
7714 (isRootVisbile): Likewise.
7715 (setRootVisible): Likewise.
7716 (getShowsRootHandles): Likewise.
7717 (setShowRootHandles): Likewise.
7718 (getCellRenderer): Likewise.
7719 (setCellRenderer): Likewise.
7721 2004-07-21 Michael Koch <konqueror@gmx.de>
7723 * javax/swing/JFormattedTextField.java
7724 (setDocument): Implemented.
7725 * javax/swing/JRootPane.java:
7727 * javax/swing/JTable.java
7728 (getDefaultRenderer): New method.
7729 * javax/swing/JTextField.java
7730 (setFont): Likewise.
7731 (getPreferredSize): Likewise.
7732 * javax/swing/JToggleButton.java
7733 (getAccessibleContext): Fix javadoc.
7734 * javax/swing/JTree.java:
7736 * javax/swing/JViewport.java:
7739 2004-07-21 David Jee <djee@redhat.com>
7741 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
7742 Collect all native method declaration at the top.
7743 (create): Set the filename filter if necessary.
7744 (setDirectory): Call nativeSetDirectory().
7745 (setFilenameFilter): Implement.
7746 (filenameFilterCallback): New method.
7747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7748 (create): Configure dialog to show hidden files.
7749 (filenameFilterCallback): New function.
7750 (nativeSetFilenameFilter): New function.
7751 (nativeSetDirectory): New function.
7753 2004-07-21 Kim Ho <kho@redhat.com>
7755 * javax/swing/plaf/basic/BasicSliderUI.java:
7757 (paintTrack): Fill the track before painting
7760 2004-07-21 Graydon Hoare <graydon@redhat.com>
7762 patch from Roman Kennke <roman@ontographics.com>
7763 * javax/swing/Spring.java: New file.
7764 * javax/swing/SpringLayout.java: New file.
7765 * Makefile.am: Add new files.
7766 * Makefile.in: Regenerate.
7768 2004-07-21 Graydon Hoare <graydon@redhat.com>
7770 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
7771 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7772 * javax/swing/ScrollPaneLayout.java: Likewise.
7774 2004-07-21 Kim Ho <kho@redhat.com>
7776 * javax/swing/DefaultDesktopManager.java:
7777 (findMinimum): Removed.
7778 (resizeFrame): Trust the UI to pass valid
7780 * javax/swing/JOptionPane.java:
7781 Implemented showInternalXXXDialog methods.
7782 (startModal): New method.
7783 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7784 (BorderListener::mouseDragged): Verify that the new
7785 bounds are valid before passing them to the DesktopManager.
7786 (preferredLayoutSize): Delegate
7788 (minimumLayoutSize): Ditto.
7789 (getSize): New method.
7790 (GlassPaneDispatcher): Reimplemented by copying
7791 a stripped down LightweightDispatcher from Container.
7792 (getMinimumSize): Call minimumLayoutSize.
7793 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7795 (mousePressed): Add ability to properly close
7797 * javax/swing/plaf/basic/BasicToolBarUI.java:
7798 (DragWindow): Set owner for DragWindow.
7800 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7802 * java/awt/image/ShortLookupTable.java: New file.
7803 * java/awt/image/ByteLookupTable.java: New file.
7804 * Makefile.am: Added new files.
7805 * Makefile.in: Regenerated.
7807 2004-07-21 David Jee <djee@redhat.com>
7809 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7810 (create(GtkContainerPeer)): New native method.
7811 (create()): Call native create(), passing in the parent frame
7812 as the paramter. Natively set the current file and directory.
7813 (setFile): Construct an absolute filename before passing it to
7815 (nativeGetDirectory): New method.
7816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7817 (window_closed): Removed.
7818 (ok_clicked): Likewise.
7819 (cancel_clicked): Likewise.
7820 (handle_response): New method.
7821 (create): Use GtkFileChooserDialog.
7822 (connectSignals): Connect to handle_response.
7823 (nativeGetDirectory): New method.
7824 (nativeSetFile): Use GtkFileChooserDialog.
7826 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7828 * java/awt/image/LookupTable.java: New file.
7829 * Makefile.am: Added new file.
7830 * Makefile.in: Regenerated.
7832 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
7834 * java/awt/image/Kernel.java: New file.
7835 * Makefile.am: Added new file.
7836 * Makefile.in: Regenerated.
7838 2004-07-21 Olga Rodimina <rodimina@redhat.com>
7840 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
7841 * javax/swing/JMenu.java: Likewise.
7842 * javax/swing/JMenuBar.java: Likewise.
7843 (MARGIN_CHANGED_PROPERTY): New property.
7844 (setMargin): Implemented.
7845 * javax/swing/JMenuItem.java: Fixed javadocs.
7846 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
7847 (LABEL_CHANGED_PROPERTY): New property.
7848 (add): changed to use createActionComponent.
7849 (createActionComponent): Implemented.
7850 (setLabel): Fire PropertyChangeEvent if label property
7852 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
7853 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7854 (ContainerHandler): Repaint if margin property has changed.
7855 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7856 (installUI): Call installComponents().
7857 (uninstallUI): Call uinstallComponents().
7858 * javax/swing/plaf/basic/BasicMenuUI.java:
7860 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7863 2004-07-21 Kim Ho <kho@redhat.com>
7865 * javax/swing/plaf/basic/BasicToolBarUI.java:
7866 (DragWindow): Use the right constructor.
7868 2004-07-21 Kim Ho <kho@redhat.com>
7870 * javax/swing/JToolBar.java:
7871 (layoutContainer): Use getComponents.
7872 * javax/swing/plaf/basic/BasicToolBarUI.java:
7873 (DragWindow): Don't use SwingUtilities'
7875 (ToolBarDialog): ditto.
7877 2004-07-21 Kim Ho <kho@redhat.com>
7879 * javax/swing/JRootPane.java:
7881 (layoutContainer): Set the glasspane's size to
7882 be the same as the content pane.
7883 (createGlassPane): Set opaque property to false.
7885 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7887 * java/awt/Component.java (requestFocus()): Don't handle Panels
7889 (requestFocus(boolean)): Likewise.
7890 (requestFocusInWindow(boolean)): Likewise.
7891 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7892 Set GTK_CAN_FOCUS flag.
7894 2004-07-21 Kim Ho <kho@redhat.com>
7896 * Makefile.am: Added new file.
7897 * Makefile.in: Regenerated.
7898 * gcj/Makefile.in: Regenerated.
7899 * include/Makefile.in: Regenerated.
7900 * javax/swing/AbstractButton.java:
7901 Add rollOverEnabled property.
7902 (setRolloverEnabled): Use new property.
7903 (isRolloverEnabled): Use new property.
7904 * javax/swing/JTabbedPane.java:
7905 (setComponent): Remove useless JTabbedPane.this.
7906 * javax/swing/JToolBar.java: Finish implementation.
7907 * javax/swing/plaf/basic/BasicArrowButton.java:
7908 (paint): Moved border painting to a border.
7909 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7910 Change JToolBar look and feel defaults.
7911 * javax/swing/plaf/basic/BasicOptionPaneUI.java
7912 (actionPerformed): Return Integer index instead of name.
7913 (addButtonComponents): Check to see if component is
7915 (createMessageArea): Don't use components that are not
7917 (getIconForType): Use temporary icons.
7918 * javax/swing/plaf/basic/BasicSliderUI.java:
7919 (mousePressed): Do not return if it's on thumb.
7920 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
7921 (paintMinorTickForVertSlider): ditto.
7922 (paintMajorTickForHorizSlider): ditto.
7923 (paintMajorTickForVertSlider): ditto.
7924 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7925 Add a border around the SplitPaneDivider.
7926 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7928 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
7929 New file. Implemented.
7930 * javax/swing/plaf/basic/BasicToolBarUI.java:
7932 * testsuite/Makefile.in: Regenerated.
7934 2004-07-21 Graydon Hoare <graydon@redhat.com>
7936 * javax/swing/Timer.java (run): Queue events each time cycle.
7938 2004-07-21 David Jee <djee@redhat.com>
7940 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7941 (imageComplete): Call image.imageComplete().
7942 * java/awt/image/MemoryImageSource.java:
7943 Reimplement consumers as a Vector instead of a Hashtable. This is
7944 because enumeration on a Hashtable is not thread-safe.
7945 (addConsumer): Adapt to Vector consumers.
7946 (isConsumer): Adapt to Vector consumers.
7947 (removeConsumer): Adapt to Vector consumers.
7948 (startProduction): Adapt to Vector consumers. Call imageComplete()
7949 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
7950 (newPixels): Adapt to Vector consumers.
7951 (sendPicture): Set the color model of the image consumer.
7952 (newPixels(IIII)): Adapt to Vector consumers.
7953 (newPixels(IIIIB)): Adapt to Vector consumers.
7955 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7957 * java/awt/Component.java (deliverEvent): Implement.
7958 (postEvent): Implement.
7959 (handleEvent): Implement.
7960 (translateEvent): New method.
7961 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
7962 * java/awt/Container.java (deliverEvent): Implement.
7963 * java/awt/Event.java (paramString): Fix formatting.
7964 * java/awt/Font.java (toString): Likewise.
7965 * java/awt/Window.java (postEvent): Implement.
7967 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7969 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7970 Set window's focus owner upon receiving a FOCUS_LOST event.
7971 * java/awt/Window.java (Window()): Refocus the previously
7972 focused component within the window when the window regains the
7974 (setFocusOwner): New method.
7975 * java/awt/Component.java (requestFocus): Add FIXME.
7977 * libgcj.pc.in: Remove library flags.
7979 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7981 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
7982 MOUSE_PRESSED event.
7983 * java/awt/Component.java (requestFocus()): Handle Panel
7984 specially. Post FOCUS_LOST event on opposite component.
7985 (requestFocus(boolean)): Likewise.
7986 (requestFocusInWindow(boolean)): Likewise.
7987 (paramString): Reorder dimension fields.
7988 * java/awt/Container.java (paramString): Fix string format.
7989 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7990 Handle FOCUS_LOST events. Don't handle Windows specially. Only
7991 process key events if the focus owner is non-null.
7992 (dispatchKeyEvent): Likewise.
7993 * java/awt/Frame.java (paramString): Fix formatting.
7994 (generateName): New method.
7995 (getUniqueLong): Likewise.
7996 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
7997 the temporary focus owner is null. If so, return the permanent
7999 * java/awt/Panel.java (generateName): New method.
8000 (getUniqueLong): Likewise.
8001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
8002 signal handling to make callbacks more specific.
8004 2004-07-21 Michael Koch <konqueror@gmx.de>
8006 * javax/swing/text/Position.java
8007 (Bias): Implemented.
8009 2004-07-21 Michael Koch <konqueror@gmx.de>
8011 * javax/swing/LookAndFeel.java
8012 (provideErrorFeedback): New method.
8014 2004-07-21 Michael Koch <konqueror@gmx.de>
8016 * javax/swing/JTextArea.java
8017 (tabSize): New field.
8018 (getTabSize): New method.
8019 (setTabSize): Likewise.
8021 2004-07-21 Michael Koch <konqueror@gmx.de>
8023 * javax/swing/ActionMap.java:
8024 Fixed javadocs all over.
8025 (serialVersionUID): Made private.
8026 (parent): Don't explicitely initialize with default value.
8028 (keys): Reimplemented.
8029 (allKeys): Likewise.
8030 (convertSet): Removed.
8031 * javax/swing/ComponentInputMap.java:
8032 Fixed javadocs all over.
8033 (ComponentInputMap): Implemented.
8037 (SetParent): Likewise.
8038 (getComponent): Likewise.
8039 * javax/swing/InputMap.java:
8040 Fixed javadocs all over.
8041 (serialVersionUID): Made private.
8042 (parent): Don't explicitely initialize with default value.
8044 (keys): Reimplemented.
8045 (allKeys): Likewise.
8046 (convertSet): Removed.
8048 2004-07-21 Michael Koch <konqueror@gmx.de>
8050 * javax/swing/ActionMap.java,
8051 javax/swing/ComponentInputMap.java,
8052 javax/swing/InputMap.java,
8053 javax/swing/table/DefaultTableColumnModel.java,
8054 javax/swing/table/TableColumn.java,
8055 javax/swing/table/TableColumnModel.java,
8056 javax/swing/table/TableModel.java,
8057 javax/swing/text/AbstractDocument.java,
8058 javax/swing/text/TextAction.java:
8061 2004-07-21 Graydon Hoare <graydon@redhat.com>
8063 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
8064 Make method non-static.
8065 * javax/swing/AbstractButton.java:
8066 Rename fields to match property names where possible.
8067 (iconTextGap): New property.
8068 * javax/swing/JCheckBox.java: Match AbstractButton changes.
8069 (init) New method, call from after various constructors.
8070 * javax/swing/JComponent.java (revalidate):
8071 Invalidate before queueing repair.
8072 * javax/swing/JList.java (getPreferredScrollableViewportSize):
8073 Reimplement in terms of visibleRowCount property.
8074 * javax/swing/JMenuButton.java: Match AbstractButton changes.
8075 * javax/swing/JScrollPane.java (createScrollListener):
8076 Remove tracing chatter.
8077 * javax/swing/JToggleButton.java: Match AbstractButton changes.
8078 * javax/swing/RepaintManager.java (addInvalidComponent):
8080 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
8082 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
8083 Mimic sun behavior on top left/right positioning.
8084 * javax/swing/ViewportLayout.java (preferredLayoutSize):
8085 Remove mistaken use of preferredScrollableViewportSize here.
8086 (layoutContainer): Use view's preferred size as basis.
8087 * javax/swing/plaf/basic/BasicButtonUI.java:
8088 Set, get, and use textIconGap property.
8089 (paint) Paint text returned from layout (with ellipsis).
8090 * javax/swing/plaf/basic/BasicListUI.java:
8091 Remove tracing chatter, correct various minor calculations.
8092 (getCellBounds): Update layout state before calculating.
8093 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
8094 Use margin default similar to sun's.
8095 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
8096 (createIncreaseIcon): Center icon, minimize margins.
8097 (createDecreaseIcon): Likewise.
8098 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
8100 (installUI): Call it.
8101 (uninstallDefaults): Implement.
8102 (uninstallUI): Call it.
8103 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
8104 Call existing Window constructor.
8105 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
8106 Set clip before painting.
8108 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8110 * javax/swing/JMenuItem.java:
8111 (processMouseEvent): Reimplemented to deal with
8113 (createMenuDragMouseEvent): New private helper method.
8114 Creates MenuDragMouseEvent.
8115 * javax/swing/MenuSelectionManager.java
8116 (componentForPoint): Implemented.
8117 (isComponentPartOfCurrentMenu): Made public.
8118 (processMouseEvent): Reimplemented to deal with
8120 (setSelectedPath): Corrected small mistake that caused
8121 path to be set incorrectly.
8122 (getPath): If given component is JMenu then also add this
8123 menu's popup menu to the selected path.
8124 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8126 (getPreferredSize): Call getPreferredMenuItemSize().
8127 (getPreferredItemSize): Moved code from getPreferredSize to here.
8128 (installListeners): Install MouseMotionListeners.
8129 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
8130 if mouse wasn't released in the bounds of this menu item.
8131 (MenuDragMouseHandler): Implemented.
8132 * javax/swing/plaf/basic/BasicMenuUI.java:
8133 (installListeners): Install MouseMotionListener and
8134 MenuDrageMouseListener.
8135 (MenuDragMouseHandler): Implemented.
8136 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8137 (uninstallListeners): Implemented.
8139 2004-07-21 Michael Koch <konqueror@gmx.de>
8141 * javax/swing/JCheckBox.java: Reformated.
8142 (JCheckBox): Fixed all constructors.
8143 (isBorderPaintedFlat): New method.
8144 (setBorderPaintedFlat): New method.
8145 * javax/swing/JEditorPane.java
8146 (createEditorKitForContentType): Made public.
8147 (scrollToReference): Likewise.
8148 * javax/swing/JTextArea.java
8149 (setLineWrap): Fire property change.
8150 * javax/swing/JToggleButton.java
8151 (JToggleButton): New constructor.
8152 (JToggleButton): Simplified.
8153 * javax/swing/text/AttributeSet.java
8154 (FontAttribute): Renamed from FontCharacterAttribute.
8155 * javax/swing/text/JTextComponent.java
8156 (KeyBinBinding): Added javadoc.
8157 (JTextComponent): Likewise.
8158 (getAccessibleContext): Fixed javadoc.
8159 * javax/swing/text/View.java
8160 (View): Added javadoc.
8161 * javax/swing/text/TabableView.java: New file.
8162 * Makefile.am: Added javax/swing/text/TabableView.java.
8163 * Makefile.in: Regenerated.
8165 2004-07-21 Graydon Hoare <graydon@redhat.com>
8167 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
8168 * gnu/java/awt/peer/gtk/GtkToolkit.java
8169 (GtkErrorImage): New helper class.
8170 (bufferedImageOrError): New helper method.
8171 (createImage): Use it.
8173 2004-07-21 David Jee <djee@redhat.com>
8175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
8176 (setCaretPosition): Scroll the text view so the new caret position
8177 is visible on screen.
8179 2004-07-21 David Jee <djee@redhat.com>
8181 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8182 (setBounds): Do not validate awtComponent here.
8183 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
8184 (getPreferredSize): New method.
8185 * java/awt/ScrollPane.java
8186 (ScrollPane): Set default size to 100x100.
8187 (addNotify): If child is not a Panel, wrap it with a new Panel.
8188 (paramString): Implement.
8190 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8192 * javax/swing/JMenu.java:
8193 (setSelected): Display popup menu only if this menu
8194 is showing on the screen.
8195 * javax/swing/JPopupMenu.java:
8196 (processMouseEvent): Added comment.
8197 (processKeyEvent): Likewise.
8198 * javax/swing/MenuSelectionManager.java:
8199 (clearSelectedPath): Only fireStateChanged() after
8200 selected path was changed, not before.
8201 (setSelectedPath): Likewise.
8202 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8203 (paintMenuItem): Corrected position of menu item's
8205 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8206 (installUI): Correct setDefaultLightWeightPopupEnabled call.
8207 (popupMenuCanceled): Reimplemented.
8208 (popupMenuWillBecomeVisible): Select first menu item by default
8209 when displaying free floating popup menus.
8210 (TopWindowListener): Reimplemented.
8212 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8214 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
8215 Panel from being painted twice when it is first shown.
8217 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8219 * java/awt/Window.java: Reverted changes from my
8220 previous patch for creating window without an owner.
8221 * javax/swing/SwingUtilities.java:
8222 (SwingUtilities.OwnerFrame): made static.
8223 (OwnerFrame.setVisible): New method. Overridden with
8224 empty implementation.
8225 (OwnerFrame.isShowing): New method. Ovverridden
8226 to return always true.
8228 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8230 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8231 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8232 (GtkComponentPeer): Remove temporary try/catch block.
8233 (setVisible): Call show and hide.
8234 (show): Make native.
8236 (getArgs): Don't add "visible" argument.
8237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8238 (property_notify_predicate): Return Bool instead of int.
8239 (find_layout): New function.
8240 (connectJObject): Call find_layout.
8241 (connectSignals): Likewise.
8242 (moveLayout): Likewise.
8243 (gtkLayoutSetVisible): Likewise.
8245 2004-07-21 Mark Wielaard <mark@klomp.org>
8247 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8248 on notifier object before calling notifyAll().
8250 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8252 * java/awt/Window.java: Changed constructors to use new
8253 method that is described below. Constructors call this
8254 methods only if newly created window should have an owner.
8255 (setWindowOwner): New method. Implementation for
8256 this method is moved from this(owner,configuration).
8257 * javax/swing/JWindow.java:
8258 (JWindow): Reimplement to use SwingUtilities.ownerFrame
8260 * javax/swing/SwingUtilities.java:
8261 (ownerFrame): Change type of this field to OwnerFrame.
8262 (getOwnerFrame): Changed to return object of type OwnerFrame.
8263 (SwingUtilities.OwnerFrame): New class. Represents owner
8264 of a Window that is not provided with one.
8266 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8268 * javax/swing/AbstractButton.java:
8269 (configurePropertiesFromAction): Set action command
8270 to button's text by default if action command is not
8271 explicitely specified.
8272 * javax/swing/JMenu.java: Remove unnecessary listener
8273 and methods relevant to it.
8274 (setSelected): Reimplemented.
8275 (menuSelectionChanged): Moved most part of implementation to
8276 setSelected() and call it instead.
8277 * javax/swing/JMenuItem.java:
8278 (init): Comment out statement that sets paint_border to false.
8279 (configurePropertiesFromAction): Do not set accelerator
8281 (menuSelectionChanged): Change selected index in the selection
8282 model of menu item's parent.
8283 * javax/swing/JPopupMenu.java:
8284 (remove): Set constraints.fill field to GridBagConstraints.BOTH
8285 instead of GridBagConstraints.HORIZONTAL.
8287 (createActionChangeListener): Implemented.
8288 (setVisible): Correct location of HeavyWeightMenu and
8289 don't firePopupMenuCanceled().
8290 (menuSelectionChanged): Implemented.
8291 (ActionChangeListener): New Listener. Implemented.
8292 * javax/swing/plaf/basic/BasicMenuBarUI.java:
8293 (BasicMenuBarUI.ContainerHandler): Implemented.
8294 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8295 (paintMenuItem): Uncommented out code that paints
8296 icon, now that icons are working properly.
8297 (PropertyChangeListener): Implemented.
8298 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8300 (topWindowListener): New field.
8301 (Constructor): initialize topWindowListener.
8302 (BasicPopupMenuUI.TopWindowListener): Implemented.
8303 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8304 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8307 2004-07-21 Michael Koch <konqueror@gmx.de>
8309 * javax/swing/plaf/basic/BasicButtonUI.java
8310 (paintFocus): Fixed method signature.
8311 (paintButtonPressed): Likewise.
8312 (paintButtonNormal): Likewise.
8313 (paintText): New method.
8314 * javax/swing/plaf/basic/BasicLabelUI.java
8315 (paint): Re-indented.
8316 * javax/swing/plaf/basic/BasicTextUI.java
8317 (installUI): Set parent textComponent to opaque.
8318 * javax/swing/text/DefaultHighlighter.java
8319 (checkPositions): New helper method.
8320 (addHighlight): Throws BadLocationException, check positions.
8321 (changeHighlight): Likewise.
8322 * javax/swing/text/EditorKit.java
8323 (EditorKit): Implements Serializable.
8324 * javax/swing/text/JTextComponent.java
8325 (getUI): Added javadoc.
8327 (upadteUI): Added javadoc, don't revalidate and repaint.
8329 2004-07-21 David Jee <djee@redhat.com>
8331 * java/awt/GridBagLayout.java
8332 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8333 * javax/swing/AbstractButton.java
8334 (setText): Reindent.
8335 * javax/swing/RepaintManager.java
8336 (addInvalidComponent): Find the first ancestor that isValidateRoot().
8338 2004-07-21 Michael Koch <konqueror@gmx.de>
8340 * javax/swing/JFormattedTextField.java
8342 (JFormattedTextField): Implemented.
8343 (getValue): Likewise.
8344 (setValue): Likewise.
8345 * javax/swing/LookAndFeel.java
8346 (getSupportsWindowDecorations): New method.
8347 * javax/swing/UIDefaults.java:
8348 Use java.beans.PropertyChangeSupport instead of doing all ourself.
8349 (addPropertyChangeListener): Made public.
8350 (addResourceBundle): Likewise.
8351 (removeResourceBundle): Likewise.
8352 (setDefaultLocale): Likewise.
8353 * javax/swing/plaf/basic/BasicRootPaneUI.java
8354 (BasicRootPaneUI): Implements PropertyChangeListener.
8355 (propertyChange): New method.
8356 * javax/swing/plaf/basic/BasicTextUI.java
8357 (BasicHighlighter): New inner class.
8358 (createHighlighter): New method.
8359 * javax/swing/plaf/basic/BasicToolBarUI.java
8360 (DragWindow): Extends java.awt.Window.
8361 * javax/swing/text/JTextComponent.java
8362 (getDocument): Removed debug output.
8363 * javax/swing/plaf/basic/BasicTextFieldUI.java,
8364 javax/swing/text/DefaultHighlighter.java,
8365 javax/swing/text/FieldView.java,
8366 javax/swing/text/PlainView.java: New files.
8367 * Makefile.am: Added new files.
8368 * Makefile.in: Regenerated.
8370 2004-07-21 Michael Koch <konqueror@gmx.de>
8372 * javax/swing/JEditorPane.java
8373 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
8374 (createEditorKitForContentType): Likewise.
8375 * javax/swing/text/DefaultEditorKit.java
8376 (serialVersionUID): Added constant field.
8377 (EndOfLineStringPropery): Fixed typo.
8378 (DefaultEditorKit): New constructor.
8379 * javax/swing/text/Segment.java:
8380 Import java.text.CharacterIterator.
8381 * javax/swing/text/CharacterIterator.java,
8382 javax/swing/text/PlainEditorKit.java: Removed.
8383 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
8384 javax/swing/text/PlainEditorKit.java.
8385 * Makefile.in: Regenerated.
8387 2004-07-21 Michael Koch <konqueror@gmx.de>
8389 * javax/swing/JButton.java,
8390 javax/swing/text/DefaultEditorKit.java,
8391 javax/swing/text/EditorKit.java,
8392 javax/swing/text/Segment.java,
8393 javax/swing/text/StyledEditorKit.java:
8396 2004-07-21 Michael Koch <konqueror@gmx.de>
8398 * javax/swing/ImageIcon.java
8400 (description): Renamed from descr.
8401 (ImageIcon): Added missing constructors.
8402 (setParent): Removed.
8403 (setImageObserver): New method.
8404 (getImageObserver): New method.
8405 (paintIcon): Handle observer = null.
8406 * javax/swing/JButton.java
8407 (removeNotify): Fixed javadoc.
8408 (updateUI): Simplified.
8409 * javax/swing/JRootPane.java
8410 (serialVersionUID): New constant field.
8411 * javax/swing/UIManager.java:
8412 Fixed javadocs all over.
8413 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
8414 * javax/swing/text/AbstractDocument.java
8415 (createPosition): Throws BadLocationException.
8416 (getText): Likewise.
8418 * javax/swing/text/ComponentView.java
8419 (modelToView): Likewise.
8420 * javax/swing/text/DefaultEditorKit.java:
8421 Made all public methods public.
8422 (read): Throws BadLocationException and IOException.
8424 * javax/swing/text/EditorKit.java:
8425 Made all public methods public.
8426 (serialVersionUID): New constant field.
8427 (clone): New method.
8428 (read): Throws BadLocationException and IOException.
8430 * javax/swing/text/Segment.java
8431 (array): Made public.
8434 (Segment): New constructors.
8435 (clone): Reimplemented.
8436 * javax/swing/text/StyledEditorKit.java
8437 (serialVersionUID): New constant field.
8439 2004-07-21 Graydon Hoare <graydon@redhat.com>
8441 * java/awt/image/BufferedImage.java
8442 (getSource): Implement.
8443 * javax/swing/ImageIcon.java
8444 (ImageIcon): Implement ctor.
8445 * javax/swing/ScrollPaneLayout.java
8446 (preferredLayoutSize): Be more careful about nulls.
8448 2004-07-21 Michael Koch <konqueror@gmx.de>
8450 * javax/swing/text/AttributeSet.java
8451 (CharacterAttribute): New interface
8452 (ColorAttribute): Likewise.
8453 (FontCharacterAttribute): Likewise.
8454 (ParagraphAttribute): Likewise.
8455 * javax/swing/text/DefaultCaret.java
8456 (moveCaret): New method.
8457 (positionCaret): Likewise.
8458 (repaint): Made protected.
8459 * javax/swing/text/JTextComponent.java
8460 (KeyBinding): Made it static.
8461 * javax/swing/text/View.java
8462 (getContainer): Honor parent == null.
8464 2004-07-21 Michael Koch <konqueror@gmx.de>
8466 * javax/swing/text/AbstractDocument.java:
8469 2004-07-21 Michael Koch <konqueror@gmx.de>
8471 * javax/swing/plaf/basic/BasicRootPaneUI.java:
8472 Import javax.swing.UIManager explicitely.
8473 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8474 (ScrollingButton): Made it static.
8476 2004-07-21 Michael Koch <konqueror@gmx.de>
8478 * javax/swing/UIDefaults.java
8479 (ActiveValue): Made public.
8480 (LazyValue): Likewise.
8481 * javax/swing/plaf/basic/BasicTextUI.java
8482 (RootView): Reintroduced.
8484 (rootView): New field.
8485 (installUI): Create document if needed, initialize rootView.
8486 (uninstallUI): Hanle rootView.
8488 (getRootView): Likewise.
8489 (setView): Likewise.
8490 * javax/swing/text/DefaultCaret.java:
8491 Renamed all "evt" variables to "event".
8493 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8495 * libgcj.spec.in: Add -l-java-util-logging.
8497 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
8499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8500 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
8501 gtk-xft-dpi can no calculate the right value.
8502 (dpi_changed_cb): Mark *pspec as unsused.
8504 2004-07-21 David Jee <djee@redhat.com>
8506 * java/awt/Component.java
8507 (move): Delegate to setBounds().
8509 (reshape): Fix so it repaints parent and self only when necessary.
8511 2004-07-21 David Jee <djee@redhat.com>
8513 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8514 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8515 (GtkComponentPeer): Revert previous patch from 2004-06-22.
8516 (setVisible): Likewise.
8519 (getArgs): Likewise.
8520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8521 (property_notify_predicate): Likewise.
8522 (find_layout): Likewise.
8523 (connectJObject): Likewise.
8524 (connectSignals): Likewise.
8525 (moveLayout): Likewise.
8526 (gtkLayoutSetVisible): Likewise.
8528 2004-07-21 Graydon Hoare <graydon@redhat.com>
8534 (rmiregistry_LDADD): Add lib-java-util-logging.la
8535 * Makefile.in: Regenerate.
8537 2004-07-21 Michael Koch <konqueror@gmx.de>
8539 * javax/swing/text/AbstractDocument.java
8540 (replace): Dont use protected method of java.util.Vector directly.
8542 2004-07-21 Michael Koch <konqueror@gmx.de>
8544 * javax/swing/plaf/basic/BasicTextUI.java
8545 (installUI): Call specialized install methods.
8546 (installDefaults): New method.
8547 (installListeners): Likewise.
8548 (installKeyboardActions): Likewise.
8549 (uninstallUI): Likewise.
8550 (uninstallDefaults): New method.
8551 (uninstallListeners): Likewise.
8552 (uninstallKeyboardActions): Likewise.
8553 (getPropertyPrefix): New abstract method.
8554 (paint): Made final, just call paintSafely().
8555 (paintSavely): New method.
8556 (paintBackground): Likewise.
8557 (getVisibleEditorRect): Likewise.
8558 * javax/swing/text/LayeredHighlighter.java,
8559 javax/swing/text/TabExpander.java: New files.
8560 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
8561 and javax/swing/text/TabExpander.java.
8562 * Makefile.in: Regenerated.
8564 2004-07-21 Michael Koch <konqueror@gmx.de>
8566 * javax/swing/plaf/basic/BasicTextUI.java
8567 (BasicTextUI): Made abstract.
8568 (BasicCaret): New inner class.
8569 (view): Don't explicitely initialize with "null".
8570 (textComponent): New field.
8571 (textColor): Removed.
8572 (disabledTextColor): Removed.
8573 (normalBackgroundColor): Removed.
8574 (RootView): Removed commented out inner class.
8575 (createUI): Removed.
8576 (createCaret): New method.
8577 (getComponent): Likewise.
8578 (installUI): Initialize textComponent only.
8579 (getPreferredSize): Use installed JTextComponent.
8580 (setView): New method.
8582 * javax/swing/text/JTextComponent.java
8583 (highlighter): New field.
8584 (caretColor): Likewise.
8585 (disabledTextColor): Likewise.
8586 (seletedTextColor): Likewise.
8587 (selectionColor): Likewise.
8588 (setUI): New method.
8589 (getCaretColor): Likewise.
8590 (setCaretColor): Likewise.
8591 (getDisabledColor): Likewise.
8592 (setDisabledColor): Likewise.
8593 (getSelectedTextColor): Likewise.
8594 (setSelectedTextColor): Likewise.
8595 (getSelectionColor): Likewise.
8596 (setSelectionColor): Likewise.
8597 (getHighlighter): Likewise.
8598 (setHighlighter): Likewise.
8599 (replaceSelection): Likewise.
8601 2004-07-21 Michael Koch <konqueror@gmx.de>
8603 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8604 (BasicScrollPaneUI): Implements ScrollPaneConstants.
8605 * javax/swing/plaf/basic/BasicToolBarUI.java
8606 (BasicToolBarUI): Implements SwingConstants.
8608 2004-07-21 Michael Koch <konqueror@gmx.de>
8610 * javax/swing/JPopupMenu.java: Removed CVS tags.
8611 * javax/swing/UIDefaults.java: Reformatted.
8612 * javax/swing/plaf/basic/BasicRootPaneUI.java:
8613 Explicitely import used classes.
8615 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8617 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8618 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8619 (GtkComponentPeer): Remove temporary try/catch block.
8620 (setVisible): Call show and hide.
8621 (show): Make native.
8623 (getArgs): Don't add "visible" argument.
8624 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8625 (property_notify_predicate): Return Bool instead of int.
8626 (find_layout): New function.
8627 (connectJObject): Call find_layout.
8628 (connectSignals): Likewise.
8629 (moveLayout): Likewise.
8630 (gtkLayoutSetVisible): Likewise.
8632 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8634 * javax/swing/AbstractButton.java:
8635 (setDisplayedMnemonicIndex): Check if button
8636 text is not null before checking its length.
8637 * javax/swing/JMenuItem.java:
8638 (processMouseEvent): Disarm menu item if mouse has
8640 * javax/swing/plaf/basic/BasicMenuUI.java:
8641 (MouseInputHandler.mouseEntered): Do not raise
8642 popup menu if this menu is already selected.
8643 (MouseInputHandler.mousePressed): Do not fire
8645 (MenuHandler): Implemented.
8647 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8649 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
8650 (getSelectedObjects): Implemented.
8651 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
8652 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
8653 Added javadoc for few methods.
8654 (processMouseEvent): Made public.
8655 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
8656 (processMouseEvent): Likewise.
8658 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8660 * javax/swing/AbstractButton.java:
8661 (init): Set display mnemonic index to -1.
8662 (setMnemonic(char)): Use setMnemonic(int).
8663 (setMnemonic(int)): Set display mnemonic index.
8664 (getDisplayedMnemonicIndex): Change method signature
8665 by removing 'index' parameter.
8666 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8667 Added default for Menu.selectionBackground.
8668 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8669 (paintMenuItem): Change background color of the selected
8671 (paintText): Paint differently when menu item is disabled.
8672 Also paint mnemonic if it appears in the menu item's label.
8673 (paintAccelerator): Paint accelerator differently
8674 if menu item is disabled.
8675 * javax/swing/plaf/basic/BasicMenuUI.java:
8676 (installDefaults): Install defaults for
8677 selectionForeground and selectionBackground.
8678 (uninstallDefaults): Uninstall defauls for
8679 selectionForeground and selectionBackground.
8681 2004-07-21 Michael Koch <konqueror@gmx.de>
8683 * javax/swing/text/AbstractDocument.java
8684 (BranchElement): Implemented.
8685 (LeafElement): Implemented.
8686 * javax/swing/text/DefaultCaret.java:
8687 Import used classes.
8688 (serialVersionUID): New constant.
8689 * javax/swing/text/JTextComponent.java
8690 (AccessibleJTextComponent): Removed dead declaration.
8691 (caretPos): Removed.
8692 (setCaret): New method.
8693 * javax/swing/text/PlainDocument.java
8694 (rootElement): New field.
8695 (PlainDocument): Initialize rootElement.
8696 (createDefaultRoot): New method.
8697 (getDefaultRootElement): Implemented.
8698 * javax/swing/text/View.java: Reformatted.
8699 * javax/swing/text/ViewFactory.java
8700 (create): Added javadoc.
8702 2004-07-21 Michael Koch <konqueror@gmx.de>
8704 * javax/swing/ToolTipManager.java: Reformatted.
8706 2004-07-21 Rodimina Olga <rodimina@redhat.com>
8708 * javax/swing/AbstractButton.java
8709 (changeEvent): New field.
8710 (fireItemStateChanged): Change source of the event
8711 to 'this' before firing it to button listeners.
8712 (fireActionPerformed): Likewise.
8713 (fireStateChanged): Likewise.
8714 (createActionListener): Do not set source
8715 of the event to AbstractButton.
8716 * javax/swing/plaf/basic/BasicMenuBarUI.java:
8717 (ContainerHandler.componentAdded): Removed
8718 print out statement.
8719 (ContainerHandler.componentRemoved): Likewise.
8721 2004-07-21 Michael Koch <konqueror@gmx.de>
8723 * javax/swing/text/Highlighter.java: New file.
8724 * Makefile.am: Added javax/swing/text/Highlighter.java.
8725 * Makefile.in: Regenerated.
8727 2004-07-21 Michael Koch <konqueror@gmx.de>
8729 * javax/swing/ToolTipManager.java
8730 (stillInsideTimerAction): Fixed constructor arguments.
8731 (outsideTimerAction): Likewise.
8732 (insideTimerAction): Likewise.
8734 2004-07-21 Michael Koch <konqueror@gmx.de>
8736 * javax/swing/JButton.java: Reformatted.
8737 * javax/swing/JFormattedTextField.java
8738 (getUIClassID): Implemented.
8739 * javax/swing/JRootPane.java
8740 (serialVersionUID): New constant.
8741 * javax/swing/JTextField.java
8743 (JTextField): Simplified.
8744 (getUIClassID): New method.
8745 (getActionListeners): Added @since tag.
8746 (setColumns): Invalidate layout and repaint.
8747 (getHorizontalAlignment): New method.
8748 (setHorizontalAlignment): New method.
8749 (selectAll): Removed.
8750 * javax/swing/SwingUtilities.java
8751 (getAncestorOfClass): Removed redundant @see tag.
8752 (isLeftMouseButton): Fixed implementation.
8753 (isMiddleMouseButton): Likewise.
8754 (isRightMouseButton): Likewise.
8755 * javax/swing/text/AbstractDocument.java
8756 (AttributeContext.addAttribute): New method.
8757 (AttributeContext.addAttributes): New method.
8758 (AttributeContext.getEmptySet): New method.
8759 (AttributeContext.reclaim): New method.
8760 (AttributeContext.removeAttribute): New method.
8761 (AttributeContext.removeAttributes): New method.
8762 * javax/swing/text/Document.java
8763 (createPosition): Throws BadLocationException.
8764 (getText): Likewise.
8766 * javax/swing/text/JTextComponent.java
8767 (getText): Return null if no document is set. Catch
8768 BadLocationException.
8770 (updateUI): Simplified.
8772 2004-07-21 Michael Koch <konqueror@gmx.de>
8774 * javax/swing/JButton.java
8775 (removeNotify): Fixed javadoc.
8776 (updateUI): Simplified.
8778 2004-07-21 David Jee <djee@redhat.com>
8780 * gnu/java/awt/image/ImageDecoder.java
8781 (startProduction): Only add consumer if it's not added yet.
8782 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
8783 (GdkPixbufDecoder): Don't call initState() here.
8784 (produce): Call initState() here, to ensure area_prepared and
8785 area_updated signals are properly connected.
8786 * gnu/java/awt/peer/gtk/GtkImage.java
8787 (setColorModel): Use equals() to compare ColorModel objects.
8788 (setPixels): Likewise.
8789 * java/awt/image/ColorModel.java
8790 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
8791 * java/awt/image/RGBImageFilter.java
8792 (setColorModel): Set consumer's color model.
8793 (setPixels): Use equals() to compare ColorModel objects.
8795 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
8797 * java/net/URLConnection.java (position): New field.
8798 (dateFormat1, dateFormat2, dateFormat3): Removed.
8799 (dateFormats): New field.
8800 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
8801 each time instead of re-allocating.
8802 (initializeDateFormats): Initialize 'dateFormats'.
8804 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8807 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
8810 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8812 * java/net/Socket.java (getImpl): Now private. Remove comment.
8814 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
8816 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
8817 of chained Writer when calling super-constructor.
8818 * java/io/FilterWriter.java (FilterWriter): Likewise.
8819 * java/io/PrintWriter.java (PrintWriter): Likewise.
8821 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
8823 * prims.cc (process_gcj_properties): Don't increment i within LHS
8826 2004-07-19 Per Bothner <per@bothner.com>
8828 Print -verbose:message on "loading", not initialization.
8829 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
8830 * defineclass.cc (_Jv_ClassReader::parse): Print message if
8831 gcj::verbose_class_flag.
8832 * java/lang/natClass.cc (initializeClass): Don't print message here.
8833 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
8834 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
8835 (_Jv_PrepareCompiledClass): Likewise.
8837 2004-07-18 Matthias Klose <doko@debian.org>
8839 * configure.in: Substitute target_noncanonical.
8840 * configure: Regenerate
8842 2004-07-17 Michael Koch <konqueror@gmx.de>
8844 * java/lang/String.java: Fixed javadocs all over.
8846 2004-07-17 Mark Wielaard <mark@klomp.org>
8848 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
8849 when size is smaller.
8850 * java/io/RandomAccessFile.java (setLength): Use truncate for
8851 shrinking the file and seek plus write for expanding the file.
8853 2004-07-17 Michael Koch <konqueror@gmx.de>
8855 * gnu/java/nio/channels/natFileChannelPosix.cc
8856 (implTruncate): Always save current position. Only reposition file
8857 pointer to where we started if not beyond new lenght. Reposition file
8858 pointer to file length if it points beyond the end of file.
8860 2004-07-17 Mark Wielaard <mark@klomp.org>
8862 * javax/swing/Box.java: Put FIXME comment above class declaration.
8863 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
8864 * javax/swing/JCheckBox.java: Likewise.
8865 * javax/swing/JDialog.java: Likewise.
8866 * javax/swing/JRadioButton.java: Likewise.
8867 * javax/swing/JToggleButton.java: Likewise.
8868 * javax/swing/UIManager.java: Likewise.
8869 * javax/swing/border/TitledBorder.java: Likewise.
8870 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8871 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
8872 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
8873 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8874 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
8875 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8876 * javax/swing/text/JTextComponent.java: Likewise.
8878 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
8880 * java/net/DatagramPacket.java (setAddress): Removed check for
8883 2004-07-17 Michael Koch <konqueror@gmx.de>
8885 * java/net/DatagramSocket.java
8886 (getLocalAddress): Check if socket is bound or not.
8887 * java/net/Socket.java
8888 (getLocalAddrss): Check if socket is bound or not.
8889 (getPort): Return -1 when not connected. Dont check getImpl() for
8891 (setReuseAddress): Check if socket is closed.
8892 (isConnected): Check if getImpl() returns null.
8894 2004-07-17 Mark Wielaard <mark@klomp.org>
8896 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8897 on notifier object before calling notifyAll().
8899 2004-07-17 Michael Koch <konqueror@gmx.de>
8901 * gnu/java/nio/channels/FileChannelImpl.java
8902 (finalize): Added javadoc.
8904 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
8906 * java/text/CollationElementIterator.java
8907 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
8908 (setText): Use ArrayList instead of Vector.
8910 2004-07-17 Michael Koch <konqueror@gmx.de>
8912 * java/nio/ByteOrder.java
8913 (static): Removed. Not needed.
8914 Thanks to Patrick Reali for noticing.
8915 * java/nio/charset/CharsetDecoder.java
8916 (decode): Fix for classpath bug #9177: Reset state before flipping.
8918 2004-07-17 Michael Koch <konqueror@gmx.de>
8920 * java/security/Security.java: Fixed javadocs all over.
8922 2004-07-17 Michael Koch <konqueror@gmx.de>
8924 * gnu/java/awt/EmbeddedWindow.java
8926 (addNotify): Set peer via reflection.
8927 (setWindowPeer): Removed.
8928 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
8929 * Makefile.am (nat_source_files):
8930 Removed gnu/java/awt/natEmbeddedWindow.cc.
8931 * Makefile.in: Regenerated.
8933 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
8935 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
8937 * configure: Regenerated.
8939 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
8941 * configure.in: Use build_noncanonical rather than build_alias.
8942 * configure: Rebuild.
8944 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
8945 by logic refactoring. Move default definition of NATIVE closer
8946 to first alternate definition.
8947 * configure: Regenerate.
8949 * Makefile.am: Set ZIP and GCJH directly using autoconf.
8950 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
8951 gcj/Makefile.in: Regenerate.
8952 * configure.in: Set ZIP and GCJH. Remove redundant condition
8953 in AM_CONDITIONAL(NATIVE,...)
8954 * configure: Regenerate.
8956 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
8958 * configure.in: Use target_noncanonical rather than
8959 target_alias for forward-compatibility with autoconf 2.59.
8960 * configure: Regenerate.
8961 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
8962 testsuite/Makefile.am: Substitute target_noncanonical.
8963 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8964 testsuite/Makefile.in: Regenerate.
8966 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
8967 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
8968 * acinclude.m4: Include acx.m4.
8969 * aclocal.m4: Regenerate.
8970 * configure: Regenerate.
8972 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
8975 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
8976 (decimalFormat): New static variable.
8978 (getTime): New. Override Date.getTime().
8979 (toString): Synchronize. Use decimalFormat to format nanos value
8980 correctly. Truncate extra zeros.
8981 (before): Compare getNanos() only if getTime() is equal.
8984 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
8986 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
8987 * configure.in: ...here.
8988 * aclocal.m4: Regenerate.
8989 * configure: Regenerate.
8991 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
8992 * configure: Rebuilt with autoconf 2.13.
8993 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8994 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
8996 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
8999 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
9001 * Makefile.in: Rebuilt.
9002 * testsuite/libjava.lang/LargeFile.java: New test case.
9003 * testsuite/libjava.lang/LargeFile.out: New file.
9005 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
9007 * java/beans/EventHandler.java: Remove debugging statements.
9009 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
9011 * java/beans/EventHandler.java: New file.
9012 * Makefile.am (awt_java_source_files): Add EventHandler.java.
9013 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9014 testsuite/Makefile.in: Regenerate.
9016 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
9018 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
9019 flag to the gcj_setup.
9020 (gcj_jacks_run): Check tclsh version and launch jacks directly with
9022 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
9023 deprecation flag change. 58 XFAILS removed.
9025 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
9027 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
9028 -fno-use-divide-subroutine.
9029 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
9030 (HANDLE_FPE): Define.
9031 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
9032 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9033 (HANDLE_DIVIDE_OVERFLOW): Define.
9035 2004-07-14 Michael Koch <konqueror@gmx.de>
9036 Matthias Klose <doko@debian.org>
9038 * java/awt/im/InputContext.java: Initialize in, line.
9040 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
9042 * interpret.cc (run): Correctly access libffi return values of
9043 integral smaller-than-int type; these are implicitly promoted.
9045 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
9048 * interpret.cc (compile_mutex): New.
9049 (_Jv_InitInterpreter): New. Initialize compile_mutex.
9050 (run): Lock compile_mutex before calling compile() if compilation is
9052 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
9053 * include/java-interp.h (_Jv_InitInterpreter): Declare.
9055 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
9058 * include/jvm.h (_Jv_value): New union type.
9059 * gcj/field.h (_Jv_Field): Add new _addr union field variants
9060 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
9063 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
9065 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
9066 * gnu/awt/xlib/XOffScreenImage.java
9067 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
9068 constructor argument. Add constructor using ImageProducer.
9069 (getSource): Implement.
9070 (imageComplete): New method.
9071 (setColorModel): New method.
9072 (setDimensions): New method.
9073 (setHints): New method.
9074 (setPixels): New method.
9075 (setProperties): New method.
9076 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
9077 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
9079 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
9082 * prims.cc (_Jv_CreateJavaVM): Fix comment.
9083 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
9084 (finalizerReady): Now native.
9086 (runFinalizers): Removed.
9087 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
9088 a primitive lock, and don't hold it while running the finalizers.
9089 (runFinalizers): Implement. Don't aquire any Java lock.
9090 (finalizerReady): Use lock primitives to signal finalizer thread.
9092 2004-07-11 Mark Wielaard <mark@klomp.org>
9094 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
9095 * java/net/URLStreamHandler.java (parseURL): When url file part
9096 doesn't contain a '/' just ignore context.
9098 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
9100 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
9101 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9102 (MAKE_THROW_FRAME): Do not modify PSW address.
9103 (INIT_SEGV): Install SIGINFO-style signal handler.
9104 (INIT_FPE): Likewise.
9106 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
9108 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
9109 status. 21 xfail's removed, 1 added.
9111 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
9113 * gcj/javaprims.h: Regenerate CNI namespace definitions.
9115 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
9117 * java/text/MessageFormat.java
9118 (formatInternal): Append "{n}" if argument n is unavailable.
9119 (format(Object, StringBuffer, FieldPosition)): This
9120 should be equivalent to format(Object[],
9121 StringBuffer, FieldPosition).
9123 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9125 * java.util.Calendar.java (cache): New private static field. Cached
9126 mappings of locales->calendar classes.
9127 (ctorArgTypes): New private static field. Singleton argument for
9128 calendar class constructor lookup.
9129 (getInstance): Cache Locale->Calendar class mappings using HashMap.
9130 Optimize by bypassing reflection instantiation for the
9131 GregorianCalendar case.
9133 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9135 * java/util/Calendar.java: Use getSystemClassLoader as argument for
9136 ResourceBundle.getBundle() calls.
9137 * java/util/GregorianCalendar.java: Likewise.
9138 * java/util/Currency.java: Likewise.
9139 * java/text/BreakIterator.java: Likewise.
9140 * java/text/Collator.java: Likewise.
9141 * java/text/DateFormat.java: Likewise.
9142 * java/text/DateFormatSymbols.java: Likewise.
9143 * java/text/DecimalFormatSymbols.java: Likewise.
9144 * java/text/NumberFormat.java: Likewise.
9145 * java/awt/Window.java: Likewise.
9147 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9149 * java/util/ResourceBundle.java (bundleCache): Renamed from
9150 resourceBundleCache. Update comments.
9151 (getObject): Don't catch MissingResourceException.
9152 (getBundle(String)): Remove 'final'. Use system classloader if
9153 getCallingClassLoader returned null.
9154 (getBundle(String, Locale)): Likewise.
9155 (BundleKey): New private class. HashMap key for bundle cache lookup.
9156 (lookupKey): New. Singleton instance of BundleKey.
9157 (nullEntry): New. Cache entry to represent failed lookups.
9158 (getBundle(String, Locale, ClassLoader)): Re-written to use new
9159 caching strategy, no-allocation lookup, and new tryBundle methods.
9160 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
9161 name using given classloader.
9162 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
9163 baseName for given Locale and attempt to load bundle.
9165 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9167 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
9168 illegal protected method calls.
9170 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9172 Fix or remove some bogus test cases.
9173 * testsuite/libjava.compile/pr10459_2.java: Removed.
9174 * testsuite/libjava.compile/pr10459.java: Test using its own method,
9176 * testsuite/libjava.compile/inner_data.java: Test against its own
9179 2004-07-09 Michael Koch <konqueror@gmx.de>
9181 * scripts/unicode-muncher.pl: Updated to version 2.1
9182 from GNU classpath. Added some clarifications on where to find the
9183 needed files from www.unicode.org.
9184 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
9185 gnu/gcj/convert/UnicodeData-3.0.0.txt:
9186 Removed, these can directly be downloaded from www.unicode.org if
9188 * gnu/java/lang/CharData.java: Regenerated.
9189 * include/java-chartables.h: Regenerated.
9190 * Makefile.am (ordinary_java_source_files):
9191 Removed gnu/java/lang/CharData.java.
9192 * Makefile.in: Regenerated.
9194 2004-07-09 Michael Koch <konqueror@gmx.de>
9196 * java/security/AccessControlContext.java,
9197 java/security/SecureClassLoader.java:
9200 2004-07-09 Michael Koch <konqueror@gmx.de>
9202 * java/io/ObjectInputStream.java (readFields): Use long datatype
9203 when shifting byte values more then 24 bits left.
9205 2004-07-09 Michael Koch <konqueror@gmx.de>
9207 * java/util/zip/DeflaterOutputStream.java,
9208 java/util/zip/GZIPInputStream.java,
9209 java/util/zip/GZIPOutputStream.java,
9210 java/util/zip/InflaterInputStream.java:
9211 Reformatted. Added javadocs. Reordered all stuff.
9212 Renamed variables to be more clear.
9214 2004-07-09 Michael Koch <konqueror@gmx.de>
9216 * javax/imageio/IIOException.java,
9217 javax/imageio/event/IIOReadProgressListener.java,
9218 javax/imageio/event/IIOReadUpdateListener.java,
9219 javax/imageio/event/IIOReadWarningListener.java,
9220 javax/imageio/event/IIOWriteProgressListener.java,
9221 javax/imageio/event/IIOWriteWarningListener.java:
9223 * Makefile.am: Added new files.
9224 * Makefile.in: Regenerated.
9226 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
9228 * java/text/RuleBasedCollator.java
9229 (mergeRules): Use ArrayList instead of Vector.
9230 (subParseString): likewise.
9231 (parseString): likewise.
9232 (buildCollationVector): likewise.
9233 (getCollationKey): likewise.
9235 2004-07-09 Dalibor Topic <robilad@kaffe.org>
9237 * java/text/DateFormat.java (parse):
9238 Improved javadoc. Improved exception message.
9240 2004-07-09 Mark Wielaard <mark@klomp.org>
9242 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
9243 interrupted() method to clear interupt flag of our Thread.
9245 2004-07-09 Dalibor Topic <robilad@kaffe.org>
9247 * java/nio/Buffer.java,
9248 java/nio/ByteBuffer.java,
9249 java/nio/ByteBufferHelper.java,
9250 java/nio/ByteBufferImpl.java,
9251 java/nio/CharBuffer.java,
9252 java/nio/CharBufferImpl.java,
9253 java/nio/CharViewBufferImpl.java,
9254 java/nio/DirectByteBufferImpl.java,
9255 java/nio/DoubleBuffer.java,
9256 java/nio/DoubleBufferImpl.java,
9257 java/nio/DoubleViewBufferImpl.java,
9258 java/nio/FloatBuffer.java,
9259 java/nio/FloatBufferImpl.java,
9260 java/nio/FloatViewBufferImpl.java,
9261 java/nio/IntBuffer.java,
9262 java/nio/IntBufferImpl.java,
9263 java/nio/IntViewBufferImpl.java,
9264 java/nio/LongBuffer.java,
9265 java/nio/LongBufferImpl.java,
9266 java/nio/LongViewBufferImpl.java,
9267 java/nio/MappedByteBufferImpl.java,
9268 java/nio/ShortBuffer.java,
9269 java/nio/ShortBufferImpl.java,
9270 java/nio/ShortViewBufferImpl.java:
9271 Fixed javadocs all over. Improved input error
9274 * java/nio/Buffer.java
9275 (checkForUnderflow, checkForOverflow, checkIndex,
9276 checkIfReadOnly, checkArraySize): New helper methods
9279 * java/nio/ByteBufferHelper.java
9280 (checkRemainingForRead, checkRemainingForWrite,
9281 checkAvailableForRead, checkAvailableForWrite): Removed
9282 no longer needed methods.
9284 2004-07-09 Michael Koch <konqueror@gmx.de>
9286 * gnu/regexp/CharIndexedInputStream.java:
9287 Reordered imports to match classpath.
9289 2004-07-09 Michael Koch <konqueror@gmx.de>
9291 * gnu/java/awt/EmbeddedWindow.java:
9292 Load native library for setWindowPeer method.
9294 2004-07-08 Randolph Chung <tausq@debian.org>
9296 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9297 * configure: Regenerate.
9298 * configure.host: Set can_unwind_signal for hppa*-linux.
9299 * include/pa-signal.h: New file.
9301 2004-07-07 Per Bothner <per@bothner.com>
9303 * Makefile.am: Add rules to build libgij from just gij.cc.
9305 * include/jvm.h (namespace jcj): Declare verbose_class_flag
9306 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
9307 (initializeClass): If verbose_class_flag, print message.
9308 * gij.cc (main): Handle -verbose:class flag.
9310 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
9312 * configure.host: Enable hash synchronization on Darwin.
9313 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9314 ';', since this is a comment on Darwin.
9315 (compare_and_swap_release): Likewise.
9317 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
9319 * java/net/URLStreamHandler.java (parseURL): Canonicalize
9320 file portion of URL in addition to spec for file: protocol.
9322 2004-07-05 Anthony Green <green@redhat.com>
9324 * java/io/File.java (toURI): Merge from Classpath.
9326 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
9328 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9329 before passing to URL constructor. Rethrow any MalformedURLException
9330 as a RuntimeException. Catch MalformedURLException specifically, not
9333 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
9335 * java/util/Locale.java (readObject): Intern strings read from object
9338 2004-07-04 Michael Koch <konqueror@gmx.de>
9340 * gnu/gcj/runtime/FirstThread.java,
9341 gnu/gcj/runtime/natFirstThread.cc: Removed.
9342 * gnu/java/lang/MainThread.java,
9343 gnu/java/lang/natMainThread.cc: New files.
9344 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9345 * Makefile.am: Added new files and removed deleted ones.
9346 * Makefile.in: Regenerated.
9348 2004-07-03 Mark Wielaard <mark@klomp.org>
9349 Anthony Green <green@redhat.com>
9351 * java/net/URL.java (getFile): Clarify return value doc.
9352 (getPath): Return null if file is empty - not empty String.
9353 (set): Convert protocol to lower case before doing anything.
9354 Only change the protocol handler if it's different.
9356 2004-07-03 Anthony Green <green@redhat.com>
9358 * java/net/URL.java (URL): Convert protocol to lower case before
9359 doing anything, so we getURLStreamHandler() with the proper value.
9361 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
9363 * java/util/Locale.java (hashcode): Made transient.
9364 (hashCode): No longer synchronized.
9365 (equals): Remove comment.
9366 (writeObject): No longer synchronized. Implement using writeObject
9367 calls instead of tweaking hashCode field. Update doc.
9368 (readObject): Implement using readObject calls.
9370 2004-06-26 Geoffrey Keating <geoffk@apple.com>
9371 Andreas Tobler <a.tobler@schweiz.ch>
9373 * configure.host (powerpc-*-darwin*): New case, define
9375 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
9376 * configure: Regenerate.
9377 * include/darwin-signal.h: New.
9379 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
9381 * java/beans/Statement.java (doExecute): Fix formatting.
9383 2004-06-29 Per Bothner <per@bothner.com>
9385 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
9386 etc etc): Remove needless parenthesis, which causes __stdcall__
9387 attribute on MinGW to get ignored.
9389 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
9391 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
9393 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
9395 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
9397 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
9399 * java/beans/Expression.java: New file.
9400 * java/beans/Statement.java: New file.
9401 * Makefile.am: Added new files.
9402 * Makefile.in: Re-generate.
9404 2004-06-27 Mark Wielaard <mark@klomp.org>
9406 * java/io/FilePermission.java (usingPerms): Removed.
9407 (actionsString): Made final.
9408 (cachePerms): Renamed to checkPerms.
9409 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
9411 (FilePermission): Check arguments, call checkPerms().
9412 (equals): Remove cachePerms() call.
9413 (implies): Likewise.
9415 2004-06-27 Mark Wielaard <mark@klomp.org>
9417 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
9419 (sendRequest): Use new field in user-agent http agent.
9421 2004-06-27 Mark Wielaard <mark@klomp.org>
9423 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
9424 when argument is null.
9426 2004-06-26 Mark Wielaard <mark@klomp.org>
9428 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9429 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
9431 (cancel_clicked): Likewise.
9433 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
9435 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9436 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
9437 can not calculate the right value.
9438 (dpi_changed_cb): Likewise. Mark *pspec as unused.
9440 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
9442 * testsuite/libjava.jacks/jacks.xfail: Remove
9443 15.9.1-qualified-concrete-20.
9445 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
9447 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
9448 encoding name to iconv.
9449 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9451 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
9454 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
9455 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
9456 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
9458 2004-06-21 Andrew Haley <aph@redhat.com>
9460 * java/io/ObjectOutputStream.java: Add DEBUG statements
9462 (dumpElementln): New method.
9464 * java/io/ObjectInputStream.java
9465 (currentClassLoader): Make native.
9466 (callersClassLoader): New field.
9468 (readObject): ENDBLOCKDATA is generated if the class has a write
9469 method, not if it has a read method.
9470 (readObject): Save and restore this.currentObject and
9471 this.currentObjectStreamClass around calls to callReadMethod().
9472 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
9475 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
9477 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
9480 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9482 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
9483 if desired, before the default class loader is initialised.
9484 Call INIT_SEGV only if HANDLE_SEGV is defined.
9486 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9488 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
9489 directory only if it actually exists.
9491 2004-06-18 Graydon Hoare <graydon@redhat.com>
9493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9494 Fix up non-ansi comments.
9496 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
9498 * javax/swing/text/AbstractDocument.java: Adding missing import
9499 for javax.swing.event.EventListenerList.
9500 * javax/swing/text/DefaultCaret.java: Likewise.
9502 2004-06-17 Michael Koch <konqueror@gmx.de>
9504 * javax/swing/JToolBar.java
9506 (JToolBar): Use Component.setName(String) instead of doing it all
9508 * javax/swing/Timer.java
9509 (queueEvent): Added missing modifier.
9511 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
9513 * Makefile.am: Added new file.
9514 * Makefile.in: Re-generate.
9515 * javax/swing/JMenu.java:
9516 (insertSeparator): Implemented.
9517 * javax/swing/JPopupMenu.java:
9518 (JPopupMenu.Separator): Implemented.
9519 * javax/swing/MenuSelectionManager.java:
9520 (processMouseEvent): Use java.awt.Component
9521 for event source instead of javax.swing.JComponent.
9522 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
9523 New File. Implemented.
9525 2004-06-16 David Jee <djee@redhat.com>
9527 * java/awt/GridBagLayout.java
9528 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
9529 Make sure pos_x and pos_y are never negative.
9531 2004-04-16 Andrew Overholt <overholt@redhat.com>
9533 * Makefile.am: Add new file.
9534 * Makefile.in: Re-generate.
9535 * javax/swing/JToolBar.java
9536 Partially implemented.
9537 * javax/swing/plaf/basic/BasicToolBarUI.java
9538 New file. Partially implemented.
9540 2004-06-16 Graydon Hoare <graydon@redhat.com>
9542 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9543 (setComposite): Accept AlphaComposite arguments.
9544 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9545 (createBufferedImage): Add new overloads.
9546 * gnu/java/awt/peer/gtk/GtkToolkit.java
9547 (createImage): Use GdkPixbufDecoder.createBufferedImage
9548 when useGraphics2D() is true.
9549 (getImage): Delegate to createImage.
9550 * javax/swing/JList.java
9552 (getFirstVisibleIndex):
9553 (getLastVisibleIndex):
9555 (ensureIndexIsVisible): New methods.
9556 * javax/swing/Timer.java: Reimplement.
9558 2004-06-16 Michael Koch <konqueror@gmx.de>
9560 * javax/swing/text/AbstractDocument.java
9561 (AbstracElement): Made public, implements java.io.Serializable.
9562 (AttributeContext): Made public.
9563 (BranchElement): Likewise.
9564 (Content): Likewise.
9565 (DefaultDocumentEvent): Made public, extends
9566 javax.swing.undo.CompoundEdit.
9567 (ElementEdit): Made public, extends
9568 javax.swing.undo.AbstractUndoableEdit.
9569 (LeafElement): Made public.
9570 (LeafElement.LeafElement): Made public.
9572 2004-06-16 Michael Koch <konqueror@gmx.de>
9574 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
9575 methods (that were obviously never be intended to get included hi this
9576 class. Added some methods too.
9578 2004-06-16 Michael Koch <konqueror@gmx.de>
9580 * javax/swing/text/PlainDocument.java
9581 (serialVersionUID): New constant.
9582 (lineLimitAttribute): Likewise.
9583 (tabSizeAttribute): Likewise.
9584 (tabSize): New field.
9585 (PlainDocument): Made public.
9586 (PlainDocument): New constructor.
9588 2004-06-16 Michael Koch <konqueror@gmx.de>
9590 * javax/swing/text/AbstractDocument.java
9591 (insertString): Throws BadLocationException.
9592 * javax/swing/text/Document.java
9593 (insertString): Likewise.
9594 * javax/swing/text/JTextComponent.java:
9595 Javadocs and comments cleaned up.
9597 2004-06-16 Michael Koch <konqueror@gmx.de>
9599 * javax/swing/event/UndoableEditListener.java: Reformatted.
9600 * javax/swing/text/AbstractDocument.java
9601 (AbstractDocument): Implements java.io.Serializable.
9602 (doc_list): Removed.
9603 (undo_list): Removed.
9604 (AbstractElement.serialVerionUID): New field.
9605 (BranchElement.serialVerionUID): Likewise.
9606 (DefaultDocumentEvent.serialVerionUID): Likewise.
9607 (ElementEdit.serialVerionUID): Likewise.
9608 (LeafElement.serialVerionUID): Likewise.
9609 (serialVerionUID): Likewise.
9610 (BAD_LOCATION): New constant.
9611 (BidiElementName): Likewise.
9612 (ContentElementName): Likewise.
9613 (ParagraphElementName): Likewise.
9614 (SectionElementName): Likewise.
9615 (ElementNameAttribute): Likewise.
9616 (AbstractDocument): Made protected.
9617 (AbstractDocument): New construtor.
9618 (listenerList): New field.
9619 (fireChangedUpdate): Implemented.
9620 (fireInsertUpdate): Likewise.
9621 (fireRemoveUpdate): Likewise.
9622 (fireUndoableEditUpdate): Likewise.
9623 (getListeners): Likewise.
9624 (addDocumentListener): Likewise.
9625 (removeDocumentListener): Likewise.
9626 (addUndoableEditListener): Likewise.
9627 (removeUndoableEditListener): Likewise.
9628 (getDocumentListeners): New method.
9629 (getUndoableEditListeners): Likewise.
9630 (getAsynchronousLoadPriority): Made public.
9631 (getBidiRootElement): Likewise.
9632 (setAsynchronousLoadPriority): Likewise.
9633 (setDocumentProperties): Likewise.
9634 * javax/swing/text/BadLocationException.java
9635 (serialVerionUID): New field.
9636 * javax/swing/text/DefaultCaret.java
9637 (changeEvent): New field.
9638 (listenerList): Likewise.
9640 (addChangeListener): Reimplemented.
9641 (removeChangeListener): Likewise.
9642 (getListeners): New method.
9643 (getChangeListeners): Likwise.
9644 (getComponent): Likewise.
9645 * javax/swing/text/GapContent.java
9646 (GapContent): Implements java.io.Serializable.
9647 (serialVerionUID): New field.
9649 2004-06-16 Michael Koch <konqueror@gmx.de>
9651 * javax/swing/JTree.java
9652 (treeModel): New field.
9653 (JTree): New constructors, one existing one made public.
9654 (createTreeModel): New method.
9655 (addTreeExpansionListener): Likewise.
9656 (removeTreeExpansionListener): Likewise.
9657 (getTreeExpansionListeners): Likewise.
9658 (fireTreeCollapsed): Likewise.
9659 (fireTreeExpanded): Likewise.
9660 (addTreeSelectionListener): Likewise.
9661 (removeTreeSelectionListener): Likewise.
9662 (getTreeSelectionListeners): Likewise.
9663 (fireValueChanged): Likewise.
9664 (addTreeWillExpandListener): Likewise.
9665 (removeTreeWillExpandListener): Likewise.
9666 (getTreeWillExpandListeners): Likewise.
9667 (fireTreeWillCollapse): Likewise.
9668 (fireTreeWillExpand): Likewise.
9670 2004-06-16 Michael Koch <konqueror@gmx.de>
9672 * javax/swing/JTree.java: Reformatted.
9674 2004-06-16 Michael Koch <konqueror@gmx.de>
9676 * javax/swing/JTextArea.java: New file.
9677 * javax/swing/JTextField.java
9679 (notifyAction): New constant.
9680 (columns): New field.
9681 (JTextField): New constructors.
9682 (createDefaultModel): New method.
9683 (addActionListener): Reimplmemented.
9684 (removeActionListener): Reimplemented.
9685 (getActionListeners): New method.
9686 (fireActionPerformed): New method.
9687 (getColumns): New method.
9688 (setColumne): New method.
9689 * javax/swing/text/JTextComponent.java
9690 (AccessibleJTextComponent.serialVersionUID): New field.
9691 (serialVersionUID): Likewise.
9692 (DEFAULT_KEYMAP): Likewise.
9693 (FOCUS_ACCELERATOR_KEY): Likewise.
9694 (doc): Made private.
9695 (icon_gap): Likewise.
9698 (JTextComponent): Some constructors removed.
9699 (getScrollableTracksViewportHeight): New method.
9700 (getScrollableTracksViewportWidth): Likewise.
9701 * Makefile.am: Added javax/swing/JTextArea.java.
9702 * Makefile.in: Regenerated.
9704 2004-06-15 Graydon Hoare <graydon@redhat.com>
9706 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
9707 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
9708 * javax/swing/JViewport.java
9709 (getExtentSize): Return size rather than preferred size.
9710 (toViewCoordinates): New methods.
9711 (getViewSize): Return size rather than preferred size.
9712 (setViewSize): Note view size as set.
9713 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
9714 * javax/swing/plaf/basic/BasicScrollBarUI.java
9715 (getPreferredSize): Don't redo layout.
9716 * javax/swing/plaf/basic/BasicViewportUI.java
9717 (paint): Translate image properly and eat exceptions.
9719 2004-06-15 Kim Ho <kho@redhat.com>
9721 * javax/swing/JTabbedPane.java
9722 (setComponent): Remove old component and
9724 (setSelectedIndex): Don't operate on the
9725 components if they're null. Don't set index
9726 on the model if the index is the same.
9727 (insertTab): Don't add or hide the component
9728 if it's null. Repaint the container.
9729 * javax/swing/plaf/basic/BasicLookAndFeel.java
9730 Change colors for TabbedPane.
9731 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9732 (mousePressed): Re-layout and paint the component.
9733 (layoutContainer): Don't set location on the view.
9734 (ScrollingViewport::paint): Remove.
9736 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9739 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
9741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
9742 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
9743 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
9745 (drawLine): Call gdk_flush before leaving GDK critical region.
9746 (fillRect): Likewise.
9747 (drawRect): Likewise.
9748 (copyArea): Likewise.
9749 (copyPixmap): Likewise.
9750 (clearRect): Likewise.
9751 (drawArc): Likewise.
9752 (drawPolyline): Likewise.
9753 (drawPolygon): Likewise.
9754 (fillPolygon): Likewise.
9755 (fillArc): Likewise.
9756 (drawOval): Likewise.
9757 (fillOval): Likewise.
9759 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
9761 (GdkFontMetrics): Add style argument to initState call.
9762 (stringWidth(String,int,int,String)): Add style parameter.
9763 (stringWidth(String)): Add style argument to stringWidth call.
9764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
9765 (initState): Set pango font style and weight based on AWT style
9766 parameter. Pass default GTK language to
9767 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
9768 simply dividing by PANGO_SCALE.
9769 (stringWidth): Set pango font style and weight based on AWT style
9772 * java/awt/Button.java (next_button_number): New field.
9773 (paramString): Change output.
9774 (generateName): New method.
9775 (getUniqueLong): New method.
9777 2004-06-14 Kim Ho <kho@redhat.com>
9779 * javax/swing/JTabbedPane.java:
9780 (setComponentAt): Set the component, not
9782 * javax/swing/plaf/basic/BasicDesktopIconUI.java
9783 (actionPerformed): Let deiconize catch exception.
9785 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9787 * javax/swing/JPopupMenu.java:
9788 (setVisible): Corrected location of a
9789 heavyweight popup menu.
9791 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9793 * javax/swing/MenuSelectionManager.java:
9794 Ran through jalopy to fix formatting style.
9796 2004-06-14 Olga Rodimina <rodimina@redhat.com>
9798 * javax/swing/JLayeredPane.java:
9799 (remove): Revalidate and repaint layered pane after
9800 the component was removed.
9801 javax/swing/JMenu.java:
9802 (setVisible): Display popup menu at the user location,
9803 if one was set by the user.
9804 (setMenuLocation): Reimplemented. Fixed javadoc.
9805 * javax/swing/JMenuBar.java: Added javadoc.
9806 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
9807 (MODEL_CHANGED_PROPERTY): New Property.
9808 (isSelected): Implemented.
9809 (setBorderPainted): Fire PropertyChangeEvent
9810 if paintBorder property changes.
9811 (setSelected): Implemented.
9812 (setSelectionModel): Implemented.
9813 * javax/swing/JPopupMenu.java: Added Javadoc
9814 (pack): Implemented.
9815 (setVisible): Reimplemented.
9816 (show): Fixed location.
9817 (JPopupMenu.LigthWeightPopup): Reimplemented to use
9818 Container instead of JPanel.
9819 * javax/swing/MenuSelectionManager.java: Added Javadocs.
9820 (clearSelectedPath): Reimplemented to clear selectedPath
9822 (processMouseEvent): Reimplemented.
9823 (setSelectedPath): Fire stateChange event indicating that
9824 selected menu path has changed.
9825 (getPath): Change to use ArrayList instead of Vector.
9826 * javax/swing/plaf/basic/BasicMenuBarUI.java:
9827 (installUI): call installKeyboardActions().
9828 (uninstallUI): call uninstallKeyboardActions().
9830 2004-06-13 Michael Koch <konqueror@gmx.de>
9832 * javax/swing/text/DefaultCaret.java,
9833 javax/swing/text/BadLocationException.java:
9836 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
9838 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
9839 DEFAULT_COLS): New variables.
9840 (create): Don't allow 0 rows or 0 columns. Instead, set the
9841 values to DEFAULT_ROWS or DEFAULT_COLS.
9842 (getMinimumSize): Likewise.
9843 (getPreferredSize): Likewise.
9844 (minimumSize): Likewise.
9845 (preferredSize): Likewise.
9846 (create): Set peer's editable state.
9847 * java/awt/TextArea.java (TextArea()): Set rows and columns to
9848 zero. Update javadocs.
9849 (TextArea(String)): Likewise.
9850 (TextArea(int,int)): Fix javadocs.
9851 (TextArea(String,int,int,int)): Only throw exception if one of
9852 rows or columns is zero. Fix javadocs.
9854 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9856 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
9857 addition to Components.
9859 * java/awt/MenuItem.java (dispatchEventImpl): If the event
9860 wasn't consumed by normal processing, send it to the parent
9863 * gnu/java/awt/peer/gtk/GtkImagePainter.java
9864 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
9867 2004-06-11 David Jee <djee@redhat.com>
9869 * java/awt/MediaTracker.java
9870 (addImage(Image,int)): Call imageUpdate() to udpate image status.
9871 (addImage(Image,int,int,int)): Likewise.
9873 2004-06-11 Michael Koch <konqueror@gmx.de>
9875 * javax/swing/text/AbstractDocument.java,
9876 javax/swing/text/Document.java,
9877 javax/swing/text/GapContent.java,
9878 javax/swing/text/JTextComponent.java,
9879 javax/swing/text/PlainDocument.java:
9882 2004-06-11 Michael Koch <konqueror@gmx.de>
9884 * javax/swing/JRootPane.java
9885 (AccessibleJRootPane.serialVersionUID): New field.
9886 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
9887 (AccessibleJRootPane.getAccessibleRole): New method.
9888 (RootLayout): Implements Serializable.
9889 (RootLayout.serialVersionUID): New field.
9890 (RootLayout.RootLayout): New constructor.
9891 (setJMenuBar): Made public.
9892 (getJMenuBar): Likewise.
9893 (JRootPane): Likewise.
9894 (createContentPane): Likewise.
9895 (createGlassPane): Likewise.
9896 (createLayeredPane): Likewise.
9898 2004-06-11 Michael Koch <konqueror@gmx.de>
9900 * javax/swing/SwingUtilities.java
9901 (isLeftMouseButton): Fixed javadoc.
9902 (isMiddleMouseButton): Likewise.
9903 (isRightMouseButton): Likewise.
9905 2004-06-11 Michael Koch <konqueror@gmx.de>
9907 * javax/swing/JScrollPane.java
9908 (serialVersionUID): New field.
9909 (columnHeader): Made protected.
9910 (rowHeader): Likewise.
9911 (lowerLeft): Likewise.
9912 (lowerRight): Likewise.
9913 (upperLeft): Likewise.
9914 (upperRight): Likewise.
9915 (horizontalScrollBar): Likewise.
9916 (horizontalScrollBarPolicy): Likewise.
9917 (verticalScrollBar): Likewise.
9918 (verticalScrollBarPolicy): Likewise.
9919 (viewport): Likewise.
9921 2004-06-11 Michael Koch <konqueror@gmx.de>
9923 * javax/swing/LookAndFeel.java: Fixed javadocs.
9925 2004-06-11 Michael Koch <konqueror@gmx.de>
9927 * javax/swing/JEditorPane.java: Fixed javadocs.
9928 (JEditorPane): Removed redundant call to to this().
9929 (fireHyperlinkUpdate): Implemented.
9931 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9933 * javax/swing/JMenu.java: Fixed file name
9934 in the file comment.
9936 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9938 * javax/swing/JMenu.java: Added javadoc.
9939 (JMenu): Added MenuChangeListener to listen to
9940 ChangeEvents occuring in menu's model.
9941 (insert): Throw IllegalArgumentException if
9942 index is less than 0
9943 (setSelected): Reimplement.
9944 (setPopupMenuVisible): Call menu's model isEnabled()
9945 (setDelay): Throw IllegalArgumentException if
9946 given amount of delay is less than 0.
9947 (createActionComponent): Implemented.
9948 (createActionChangeListener): Implemented.
9949 (addSeparator): Implemented.
9950 (getItem): Throw IllegalArgumentException if index is
9952 (getItemCount): Implemented.
9953 (fireMenuSelected): Changed to use menuEvent.
9954 (fireMenuDeselected): Likewise.
9955 (fireMenuCanceled): Likewise.
9956 (setAccelerator): Changed to throw an error if this
9958 (doClick): Implemented.
9959 (JMenu.ActionChangedListener): New inner class to handle
9960 PropertyChangeEvents occuring in the actions associated with menu.
9961 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
9962 (BasicMenuUI): Added PropertyChangeListener to the menu.
9963 (createChangeListener): Implemented.
9964 (createMenuDragMouseListener): Likewise.
9965 (createMenuKeyListener): Likewise.
9966 (createPropertyChangeListener): Likewise.
9967 (uninstallListeners): Likewise.
9968 (BasicMenuUI.MouseInputHandler): Reimplemented.
9969 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
9970 (BasicMenuUI.ChangeHandler): Likewise.
9971 (BasicMenuUI.MenuDragMouseHandler): Likewise.
9972 (BasicMenuUI.MenuKeyHandler): Likewise.
9974 2004-06-10 David Jee <djee@redhat.com>
9976 * java/awt/MediaTracker.java
9977 (imageUpdate): Only do notifyAll() if the image is complete.
9979 2004-06-10 Olga Rodimina <rodimina@redhat.com>
9981 * javax/swing/JApplet.java:
9982 (getJMenuBar): Made public.
9983 (setJMenuBar): Likewise.
9984 * javax/swing/JFrame.java:
9985 (getJMenuBar): Made public.
9986 (setJMenuBar): Likewise.
9987 * javax/swing/JWindow.java:
9988 (getJMenuBar): Removed.
9989 (setJMenuBar): Removed.
9991 2004-06-10 Michael Koch <konqueror@gmx.de>
9993 * javax/swing/JEditorPane.java
9994 (createEditorKitForContentType): Fixed visibility.
9995 (fireHyperlinkUpdate): Likewise.
9996 (getContentType): Likewise.
9997 (getEditorKit): Likewise.
9998 (getEditorKitForContentType): Likewise.
9999 (getPage): Likewise.
10001 (registerEditorKitForContentTyoe): Likewise.
10002 (replaceSelection): Likewise.
10003 (setContentType): Likewise.
10004 (setEditorKit): Likewise.
10005 (setPage): Likewise.
10007 2004-06-10 Michael Koch <konqueror@gmx.de>
10009 * javax/swing/Timer.java
10010 (Timer): New constructor.
10011 * javax/swing/plaf/basic/BasicProgressBarUI.java
10012 (animationTimer): Don't initialize at construction.
10013 (startAnimationTimer): Added since tag.
10014 (stopAnimationTimer): Likewise.
10015 (installUI): Use new Timer constructor.
10016 * javax/swing/plaf/basic/BasicScrollBarUI.java
10017 (installUI): Likewise.
10018 * javax/swing/plaf/basic/BasicSliderUI.java
10019 (installUI): Likewise.
10021 2004-06-10 Michael Koch <konqueror@gmx.de>
10023 * javax/swing/ButtonGroup.java
10024 (serialVersionUID): Made private.
10025 (buttons): Renamed from v, added javadoc.
10026 (sel): Added javadoc.
10027 (ButtonGroup): Likewise.
10029 (remove): Likewise.
10030 (getElements): Likewise.
10031 (getSelection): Likewise.
10032 (setSelected): Likewise.
10033 (isSelected): Likewise.
10034 (getButtonCount): Likewise.
10036 2004-06-10 Michael Koch <konqueror@gmx.de>
10038 * javax/swing/ButtonGroup.java,
10039 javax/swing/ImageIcon.java,
10040 javax/swing/JEditorPane.java,
10041 javax/swing/JRootPane.java,
10042 javax/swing/JTextField.java,
10043 javax/swing/LookAndFeel.java,
10044 javax/swing/plaf/basic/BasicTextUI.java:
10047 2004-06-10 Michael Koch <konqueror@gmx.de>
10049 * javax/swing/text/Style.java: Added javadocs.
10051 2004-06-10 Michael Koch <konqueror@gmx.de>
10053 * javax/swing/JComponent.java
10054 (fireVetoableChange): Removed redundant cast.
10055 * javax/swing/JLabel.java
10056 (getDisabledIcon): Save icon for next call.
10058 2004-06-10 Michael Koch <konqueror@gmx.de>
10060 * javax/swing/KeyStroke.java
10061 (getKeyStroke(char,boolean)): Marked deprecated.
10063 2004-06-10 Michael Koch <konqueror@gmx.de>
10065 * javax/swing/DefaultCellEditor.java,
10066 javax/swing/GrayFilter.java,
10067 javax/swing/event/DocumentEvent.java,
10068 javax/swing/text/JTextComponent.java,
10069 javax/swing/text/MutableAttributeSet.java:
10072 2004-06-10 Michael Koch <konqueror@gmx.de>
10074 * javax/swing/plaf/BorderUIResource.java:
10075 Added serialVersionUID all over.
10077 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
10079 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10081 2004-06-10 Michael Koch <konqueror@gmx.de>
10083 * javax/swing/table/DefaultTableCellRenderer.java
10084 (noFocusBorder): Initialize directly.
10086 2004-06-10 Michael Koch <konqueror@gmx.de>
10088 * javax/swing/plaf/basic/BasicArrowButton.java
10089 (setDirection): Use method argument.
10091 2004-06-10 Michael Koch <konqueror@gmx.de>
10093 * javax/swing/plaf/BorderUIResource.java,
10094 javax/swing/plaf/ComponentUI.java,
10095 javax/swing/undo/CompoundEdit.java,
10096 javax/swing/undo/StateEdit.java:
10097 Fixed javadocs all over.
10099 2004-06-10 Michael Koch <konqueror@gmx.de>
10101 * javax/swing/DefaultButtonModel.java
10102 (ARMED): Made public final, fixed value.
10103 (ENABLED): Likewise.
10104 (PRESSED): Likewise.
10105 (ROLLOVER): Likewise.
10106 (SELECTED): Likewise.
10107 (stateMask): Initialize directly.
10108 (listenerList): Likewise.
10109 (mnemonic): Likewise.
10110 (fireStateChanged): Removed argument, use changeEvent as event.
10111 All places where this method is called are fixed too.
10112 (getActionCommant): Fixed javadoc.
10113 (setGroup): Fixed javadoc.
10114 (getGroup): New method.
10116 2004-06-09 Olga Rodimina <rodimina@redhat.com>
10118 * javax/swing/AbstractButton.java
10119 (AbstractButton): Use init() to initialize the button.
10120 (init): New Method. Initializes AbstractButton.
10121 * javax/swing/JMenuItem.java: Documented.
10122 (JMenuItem): Reimplemented.
10123 (init): Implemented.
10124 (setEnabled): Changed to call super.setEnabled()
10125 (processMouseEvent): Reimplemented.
10126 (fireMenuKeyPressed): Implemented.
10127 (fireMenuKeyReleased): Implemented.
10128 (fireMenuKeyTyped): Implemented.
10129 (menuSelectionChanged): disarm the model if the menu item was
10131 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
10132 (getPath): Change to use ArrayList instead of Vector.
10133 (getPreferredSize): Renamed variable.
10134 (paintMenuItem): Paint margin area of menu item.
10135 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
10136 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
10137 menu item's bounds before clearing the selection.
10139 2004-06-09 David Jee <djee@redhat.com>
10141 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
10142 (GtkTextComponentPeer): Set caret position to 0.
10143 * java/awt/TextComponent.java
10144 (setText): Set caret position to 0.
10145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10146 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10147 Handle GtkScrolledWindow separately. Fix signal handler blocking.
10148 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10151 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
10154 2004-06-09 Kim Ho <kho@redhat.com>
10156 * Makefile.am: New files
10157 * Makefile.in: Regenerated
10158 * java/awt/Container.java
10159 (getComponentAt): Removed.
10160 * javax/swing/AbstractAction.java
10161 (ENABLED_PROPERTY): New property.
10162 (putValue): Fire PropertyChangeEvents.
10163 (setEnabled): ditto.
10164 (firePropertyChange): Javadoc and implement
10165 convenience method.
10166 * javax/swing/AbstractButton.java
10167 (setAction): Don't create PropertyChangeListener
10168 if new Action is null.
10169 (setIcon): Don't set icon till after comparing
10171 (configurePropertiesFromAction): Check mnemonic
10172 key before calling intValue().
10173 (createActionPropertyChangeListener): Check
10174 properties rather than bulk change.
10175 * javax/swing/DefaultDesktopManager.java:
10177 * javax/swing/DesktopManager.java:
10178 Jalopy and javadoc.
10179 * javax/swing/JComponent.java
10180 (fireVetoableChange): Implement.
10181 (paintImmediately): Use root component.
10182 * javax/swing/JDesktopPane.java: Implement
10183 * javax/swing/JInternalFrame.java: Implement
10184 * javax/swing/JLabel.java
10185 (getDisabledIcon): Return grayscaled icon if
10186 no disabled icon specified.
10187 * javax/swing/JMenuBar.java
10188 (getComponentAtIndex): Use getComponent
10189 * javax/swing/JOptionPane.java
10190 (getDesktopPaneForComponent): Use SwingUtilities'
10192 (getFrameForComponent): ditto.
10193 * javax/swing/JSplitPane.java
10194 (remove): Use getComponent.
10195 * javax/swing/SwingUtilities.java
10196 (convertPoint): Implement.
10197 * javax/swing/plaf/basic/BasicButtonUI.java
10198 (paintButtonNormal): Check opaqueness before
10199 filling background.
10200 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
10202 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
10204 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
10206 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
10208 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10209 Change InternalFrame and Desktop colors.
10211 2004-06-09 David Jee <djee@redhat.com>
10213 * java/awt/Container.java
10214 (remove): Do not set component to invisible.
10216 2004-06-09 Michael Koch <konqueror@gmx.de>
10218 * javax/swing/tree/DefaultMutableTreeNode.java
10219 (getLeafCount): Renamed enum to e.
10221 2004-06-09 Michael Koch <konqueror@gmx.de>
10223 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10224 (positionForMouseEvent): Removed redundant semicolon.
10225 (continueDrag): Use method arguments.
10227 2004-06-09 Michael Koch <konqueror@gmx.de>
10229 * javax/swing/border/TitledBorder.java,
10230 javax/swing/filechooser/FileSystemView.java,
10231 javax/swing/plaf/basic/BasicButtonListener.java,
10232 javax/swing/plaf/basic/BasicGraphicsUtils.java,
10233 javax/swing/plaf/basic/BasicLabelUI.java,
10234 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
10235 javax/swing/plaf/basic/BasicScrollBarUI.java,
10236 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10237 javax/swing/plaf/basic/BasicSliderUI.java,
10238 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10239 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10240 javax/swing/table/JTableHeader.java,
10241 javax/swing/text/AbstractDocument.java,
10242 javax/swing/text/DefaultCaret.java,
10243 javax/swing/text/StyledEditorKit.java,
10244 javax/swing/tree/DefaultTreeCellEditor.java:
10245 Reworked import statements.
10247 2004-06-08 Graydon Hoare <graydon@redhat.com>
10249 * javax/swing/Box.java: Temporarily comment out code
10250 broken due to visibility bug.
10252 2004-06-09 Michael Koch <konqueror@gmx.de>
10254 * javax/swing/ImageIcon.java
10255 (ImageIcon): Added missing constructor.
10257 2004-06-08 Michael Koch <konqueror@gmx.de>
10259 * javax/swing/JToggleButton.java
10260 (JToggleButton): New constructor.
10261 (getAccessibleContext): Moved documentation into javadoc.
10262 (getUIClassID): Likewise.
10264 2004-06-08 Michael Koch <konqueror@gmx.de>
10266 * javax/swing/AbstractButton.java
10267 (getDisabledIcon): Create disabled icon if none exists yet.
10269 2004-06-08 Michael Koch <konqueror@gmx.de>
10271 * javax/swing/plaf/basic/BasicLookAndFeel.java
10272 (initClassDefaults): Added FormattedTextFieldUI.
10273 (loadResourceBundle): Renamed enum to e.
10275 2004-06-08 Michael Koch <konqueror@gmx.de>
10277 * javax/swing/plaf/basic/BasicButtonUI.java
10278 (paintIcon): Simplified.
10279 (paintText): Paint disabled button correctly.
10281 2004-06-08 Michael Koch <konqueror@gmx.de>
10283 * javax/swing/JComponent.java
10284 (createToolTip): Use official JToolTip API.
10286 2004-06-08 Michael Koch <konqueror@gmx.de>
10288 * javax/swing/JToolTip.java
10289 (JToolTip): No arguments in API.
10290 (setTipText): New method.
10292 2004-06-08 Michael Koch <konqueror@gmx.de>
10294 * javax/swing/SwingUtilities.java
10295 (isLeftMouseButton): New method.
10296 (isMiddleMouseButton): New method.
10297 (isRightMouseButton): New method.
10299 2004-06-08 Michael Koch <konqueror@gmx.de>
10301 * javax/swing/AbstractButton.java,
10302 javax/swing/CellRendererPane.java,
10303 javax/swing/JCheckBoxMenuItem.java,
10304 javax/swing/JColorChooser.java,
10305 javax/swing/JComboBox.java,
10306 javax/swing/JComponent.java,
10307 javax/swing/JDesktopPane.java,
10308 javax/swing/JFileChooser.java,
10309 javax/swing/JMenu.java,
10310 javax/swing/JMenuItem.java,
10311 javax/swing/JOptionPane.java,
10312 javax/swing/JPasswordField.java,
10313 javax/swing/JPopupMenu.java,
10314 javax/swing/JProgressBar.java,
10315 javax/swing/JRadioButtonMenuItem.java,
10316 javax/swing/JScrollBar.java,
10317 javax/swing/JSeparator.java,
10318 javax/swing/JSlider.java,
10319 javax/swing/JSplitPane.java,
10320 javax/swing/JTabbedPane.java,
10321 javax/swing/JTextField.java,
10322 javax/swing/JToolBar.java,
10323 javax/swing/text/JTextComponent.java:
10324 Fixed all constructors of accessibility classes.
10326 2004-06-08 Michael Koch <konqueror@gmx.de>
10328 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10331 2004-06-08 Michael Koch <konqueror@gmx.de>
10333 * javax/swing/Box.java
10334 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10335 (AccessibleBoxFiller.serialVersionUID): New member variable.
10336 * javax/swing/DefaultButtonModel.java
10337 (stateMask): Made protected.
10338 (listenerList): Likewise.
10339 (changeEvent): Likewise.
10341 (mnemonic): Likewise.
10342 (actionCommand): Likewise.
10343 (getListeners): New method.
10344 (getActionListeners): New method.
10345 (getItemListeners): New method.
10346 (getChangeListeners): New method.
10347 (fireItemStateChanged): Simplified.
10348 (fireActionPerformed): Simplified.
10349 (fireStateChanged): Simplified.
10350 * javax/swing/JFrame.java
10351 (JFrame): Implements WindowContants.
10352 (HIDE_ON_CLOSE): Removed.
10353 (EXIT_ON_CLOSE): Removed.
10354 (DISPOSE_ON_CLOSE): Removed.
10355 (DO_NOTHING_ON_CLOSE): Removed.
10356 (processWindowEvent): Exit with code 0.
10357 (setDefaultCloseOperation): Do security check before setting value.
10358 * javax/swing/JOptionPane.java
10359 (message): Initialize only in constructor.
10360 * javax/swing/JToolTip.java: Removed unused imports.
10361 * javax/swing/JViewport.java
10362 (serialVersionUID): New member variable.
10363 (SIMPLE_SCROLL_MODE): Made final, fixed value.
10364 (BLIT_SCROLL_MODE): Likewise.
10365 (BACKINGSTORE_SCROLL_MODE): Likewise.
10366 (scrollUnderway): Made protected.
10367 (isViewSizeSet): Likewise.
10368 * javax/swing/ListModel.java: Fixed javadoc.
10369 * javax/swing/Popup.java: Likewise.
10370 * javax/swing/RepaintManager.java
10371 (paintDirtyRegions): Don't use internal classes of
10372 java.util.AbstractMap.
10373 * javax/swing/ScrollPaneConstants.java: Reindented.
10374 * javax/swing/ScrollPaneLayout.java
10375 (viewport): Made protected.
10376 (verticalScrollBar): Made protected, renamed to vsb.
10377 (horizontalScrollBar): Made protected, renamed to hsb.
10378 (rowHeader): Made protected, renamed to rowHead.
10379 (columnHeader): Made protected, renamed to colHead.
10380 (lowerLeft): Made protected.
10381 (lowerRight): Made protected.
10382 (upperLeft): Made protected.
10383 (upperRight): Made protected.
10384 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
10385 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
10387 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
10389 * java/awt/MediaTracker.java (imageUpdate): Only set status to
10390 LOADING if flags has SOMEBITS set.
10392 2004-06-07 Michael Koch <konqueror@gmx.de>
10394 * javax/swing/AbstractButton.java: Reorganized imports.
10395 * javax/swing/ActionMap.java: Likewise.
10396 * javax/swing/DefaultButtonModel.java: Likewise.
10397 * javax/swing/DefaultListModel.java: Likewise.
10398 * javax/swing/ImageIcon.java: Likewise.
10399 (serialVersionUID): New member variable.
10400 * javax/swing/JComboBox.java: Reorganized imports.
10401 * javax/swing/JComponent.java: Likewise.
10402 (ui): Made protected.
10403 (listenerList): Made protected.
10404 (TOOL_TIP_TEXT_KEY): New constant.
10405 (scrollRectToVisible): Removed redundant null check.
10406 * javax/swing/JFrame.java: Reorganized imports.
10407 * javax/swing/JInternalFrame.java: Reorganized imports.
10408 * javax/swing/JProgressBar.java: Likewise.
10409 * javax/swing/JRootPane.java: Likewise.
10410 * javax/swing/JScrollBar.java: Likewise.
10411 * javax/swing/JSeparator.java: Likewise.
10412 * javax/swing/JSlider.java: Likewise.
10413 * javax/swing/JTabbedPane.java: Likewise.
10414 * javax/swing/JTextField.java: Likewise.
10415 * javax/swing/JToolBar.java: Likewise.
10416 * javax/swing/JTree.java: Likewise.
10417 * javax/swing/JViewport.java: Likewise.
10418 * javax/swing/JWindow.java: Likewise.
10419 * javax/swing/KeyStroke.java: Likewise.
10420 * javax/swing/LookAndFeel.java: Likewise.
10421 * javax/swing/MenuSelectionManager.java: Likewise.
10422 * javax/swing/SwingUtilities.java: Likewise.
10423 * javax/swing/Timer.java: Likewise.
10424 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
10425 * javax/swing/JList.java
10426 (HORIZONTAL_WRAP): Made final, fixed value.
10427 (VERTICAL): Likewise.
10428 (VERTICAL_WRAP): Likewise.
10430 2004-06-07 Michael Koch <konqueror@gmx.de>
10432 * javax/swing/AbstractButton.java
10433 (serialVersionUID): New member variable.
10434 (AccessibleAbstractButton.serialVersionUID): Likewise.
10435 (AbstractButton): Made public.
10436 * javax/swing/Box.java
10437 (AccessibleBox.serialVersionUID): New member variable.
10438 (Filler.serialVersionUID): Likewise.
10439 * javax/swing/DefaultListSelectionModel.java
10440 (serialVersionUID): Likewise.
10441 * javax/swing/JApplet.java
10442 (serialVersionUID): Likewise.
10443 * javax/swing/JCheckBox.java
10444 (serialVersionUID): Likewise.
10445 * javax/swing/JCheckBoxMenuItem.java
10446 (serialVersionUID): Likewise.
10447 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
10448 * javax/swing/JColorChooser.java
10449 (serialVersionUID): Likewise.
10450 (AccessibleJColorChooser.serialVersionUID): Likewise.
10451 * javax/swing/JComponent.java
10452 (serialVersionUID): Made private.
10453 (AccessibleJComponent.serialVersionUID): New member variable.
10454 * javax/swing/JDesktopPane.java
10455 (serialVersionUID): Likewise.
10456 * javax/swing/JDialog.java
10457 (serialVersionUID): Likewise.
10458 * javax/swing/JFormattedTextField.java
10459 (serialVersionUID): Fixed value.
10460 * javax/swing/JFrame.java
10461 (serialVersionUID): New member variable.
10462 (getDefaultCloseOpertation): Made public.
10463 * javax/swing/JLayeredPane.java
10464 (serialVersionUID): Likewise.
10465 (LAYER_PROPERTY): Made final, fixed value.
10466 (JLayeredPane): Made public.
10467 * javax/swing/JMenu.java
10468 (AccessibleJMenu.serialVersionUID): New member variable.
10469 (WinListener.serialVersionUID): Likewise.
10470 * javax/swing/JMenuBar.java
10471 (serialVersionUID): Likewise.
10472 (getComponentAtIndex): Added @deprecated tag.
10473 * javax/swing/JMenuItem.java
10474 (serialVersionUID): New member variable.
10475 (AccessibleJMenuItem.serialVersionUID): Likewise.
10476 * javax/swing/JOptionPane.java
10477 (serialVersionUID): Likewise.
10478 (AccessibleJOptionPane.serialVersionUID): Likewise.
10479 * javax/swing/JPopupMenu.java
10480 (serialVersionUID): Likewise.
10481 (AccessibleJPopupMenu.serialVersionUID): Likewise.
10482 (getPopupMenuListeners): New method.
10483 (getComponentAtIndex): Added @deprecated tag.
10484 * javax/swing/JProgressBar.java
10485 (serialVersionUID): New member variable.
10486 (AccessibleJProgressBar.serialVersionUID): Likewise.
10487 * javax/swing/JRadioButton.java
10488 (serialVersionUID): Likewise.
10489 * javax/swing/JRadioButtonMenuItem.java
10490 (serialVersionUID): Likewise.
10491 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
10492 * javax/swing/JScrollBar.java
10493 (serialVersionUID): Likewise.
10494 (AccessibleJScrollBar.serialVersionUID): Likewise.
10495 * javax/swing/JSeparator.java
10496 (serialVersionUID): Likewise.
10497 (AccessibleJSeparator.serialVersionUID): Likewise.
10498 * javax/swing/JSlider.java: Fixed javadocs.
10499 (AccessibleJSlider.serialVersionUID): New member variable.
10500 * javax/swing/JSplitPane.java: Added copyright statement.
10501 (serialVersionUID): New member variable.
10502 (AccessibleJSplitPane.serialVersionUID): Likewise.
10503 * javax/swing/JTabbedPane.java
10504 (serialVersionUID): Likewise.
10505 (AccessibleJTabbedPane.serialVersionUID): Likewise.
10506 (ModelListener.serialVersionUID): Likewise.
10507 (ModelListener.ModelListener): New constructor.
10508 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
10509 (WRAP_TAB_LAYOUT): Likewise.
10510 * javax/swing/JTable.java
10511 (serialVersionUID): New member variable.
10512 * javax/swing/JToggleButton.java
10513 (serialVersionUID): Likewise.
10514 (ToggleButtonModel): Made static.
10515 (ToggleButtonModel.serialVersionUID): New member variable.
10516 * javax/swing/JToolTip.java
10517 (serialVersionUID): Likewise.
10518 * javax/swing/JTree.java
10519 (serialVersionUID): Likewise.
10520 * javax/swing/JWindow.java
10521 (serialVersionUID): Likewise.
10522 * javax/swing/Timer.java
10523 (serialVersionUID): Likewise.
10525 2004-06-06 Michael Koch <konqueror@gmx.de>
10527 * javax/swing/SwingConstants.java
10528 (NEXT): New constant.
10529 (PREVIOUS): Likewise.
10530 * javax/swing/UIManager.java
10531 (LookAndFeel): Made public.
10532 (LookAndFeel.getClassName): Likewise.
10533 (LookAndFeel.getName): Likewise.
10535 2004-06-02 Olga Rodimina <rodimina@redhat.com>
10537 * javax/swing/JCheckBoxMenuItem.java:
10539 * javax/swing/JMenu.java: Likewise.
10540 * javax/swing/JMenuBar.java: Likewise.
10541 * javax/swing/JMenuItem.java: Likewise.
10542 * javax/swing/JPopupMenu.java: Likewise.
10543 * javax/swing/JRadioButtonMenuItem.java: Likewise.
10544 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10545 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10546 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10547 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10548 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10549 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10551 2004-05-31 Olga Rodimina <rodimina@redhat.com>
10553 * javax/swing/plaf/basic/BasicMenuUI.java:
10554 (MouseEntered): Do not call getPath() from MenuSelectionManager.
10555 Call getPath() from super class instead.
10557 2004-05-31 David Jee <djee@redhat.com>
10559 * java/awt/Container.java
10560 (remove): Set component visibility to false after removing it.
10562 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
10564 * java/awt/Component.java (getForeground): Return SystemColor if
10566 (getBackground): Likewise.
10568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10569 (item_highlighted): New function.
10570 (connectSignals): Set item_highlighted as list's select
10573 * java/applet/Applet.java: Revert changes from 2004-04-29,
10574 2004-03-15 and 2004-03-14.
10576 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10577 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
10580 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
10581 "Dialog" as the default font.
10582 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
10584 * java/awt/Component.java (getFont): Return "Dialog" font by
10586 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
10587 Multiply size argument to pango_font_description_set_size by the
10588 DPI conversion factor rather than by PANGO_SCALE.
10589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
10590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
10591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
10592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
10593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
10594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
10595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
10596 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
10597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
10598 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10599 Divide baseline y coordinate by DPI conversion factor rather
10600 than by PANGO_SCALE.
10601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10602 (area_prepared): Fix typo.
10603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10604 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
10605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10606 (dpi_conversion_factor): New global variable.
10607 (init_dpi_conversion_factor): New function to calculate and
10608 track DPI conversion factor.
10609 (dpi_changed_cb): New callback.
10610 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
10612 2004-05-27 David Jee <djee@redhat.com>
10614 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10615 (getGraphics): Return a new GdkGraphics instance.
10616 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10617 (getGraphics): Call super.getGraphics().
10619 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
10621 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10622 (setNativeBounds): Clamp width and height values to >= 0.
10624 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10625 (find_fg_color_widget): Handle GtkOptionMenu specially.
10627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10628 (pre_event_handler): Only post configure events to visible
10631 2004-05-26 David Jee <djee@redhat.com>
10633 * java/awt/BorderLayout.java
10634 (layoutContainer): Fix size calculations.
10636 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
10638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10639 (window_wm_protocols_filter): Remove function.
10640 (create): Remove filter that removes WM_TAKE_FOCUS client
10643 2004-06-17 Anthony Green <green@redhat.com>
10645 * java/util/zip/ZipFile.java (getInputStream): Return null if
10648 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
10649 directory contents to the class path.
10651 2004-06-15 Andrew Haley <aph@redhat.com>
10653 * java/lang/natSystem.cc (getenv0): Don't assume environment
10654 variable is Latin 1 coded.
10656 2004-06-14 Andreas Jaeger <aj@suse.de>
10658 * configure.in: Support --enable-version-specific-runtime-libs.
10659 * configure: Regenerated.
10661 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
10663 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
10664 to pass ClassLoader argument.
10665 * java/util/GregorianCalendar.java: Likewise.
10666 * java/util/Currency.java: Likewise.
10667 * java/text/BreakIterator.java: Likewise.
10668 * java/text/Collator.java: Likewise.
10669 * java/text/DateFormat.java: Likewise.
10670 * java/text/DateFormatSymbols.java: Likewise.
10671 * java/text/DecimalFormatSymbols.java: Likewise.
10672 * java/text/NumberFormat.java: Likewise.
10673 * java/awt/Window.java: Likewise.
10675 2004-06-14 Andrew Haley <aph@redhat.com>
10677 * java/lang/System.java: (getenv0): New method.
10678 (getenv): Add security check. Do the right thing.
10679 * java/lang/natSystem.cc (getenv0): New method.
10681 2004-06-12 Mark Wielaard <mark@klomp.org>
10683 * javax/swing/RepaintManager.java
10684 (paintDirtyRegions): Use entrySet(), not values().
10686 2004-06-10 Mark Wielaard <mark@klomp.org>
10688 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
10691 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
10693 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
10694 when we already know the answer.
10695 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
10696 (setStartRule,setEndRule): Don't take abs of day number.
10697 (getOffset): Clarify docs. Add argument checks.
10698 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
10699 (equals,hasSameRules,toString,readObject): Use startTimeMode and
10702 2004-06-10 Tom Tromey <tromey@redhat.com>
10704 * interpret.cc (run): Handle wide fload.
10706 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
10708 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
10710 2004-06-05 Michael Koch <konqueror@gmx.de>
10712 * javax/swing/SwingConstants.java
10713 (NEXT): New constant.
10714 (PREVIOUS): Likewise.
10716 2004-06-05 Michael Koch <konqueror@gmx.de>
10718 * javax/swing/UIManager.java
10719 (LookAndFeel): Made public.
10720 (LookAndFeel.getName): Likewise.
10721 (LookAndFeel.getClassName): Likewise.
10723 2004-06-03 Michael Koch <konqueror@gmx.de>
10725 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10726 (requestFocus): Revert last changes.
10727 (gtkRequestFocus): Removed.
10728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10729 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10731 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
10732 Reverted last patch.
10733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10734 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
10735 Reverted comment change.
10737 2004-06-02 Olga Rodimina <rodimina@redhat.com>
10739 * javax/swing/JCheckBoxMenuItem.java:
10741 * javax/swing/JMenu.java: Likewise.
10742 * javax/swing/JMenuBar.java: Likewise.
10743 * javax/swing/JMenuItem.java: Likewise.
10744 * javax/swing/JPopupMenu.java: Likewise.
10745 * javax/swing/JRadioButtonMenuItem.java: Likewise.
10746 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
10747 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
10748 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10749 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
10750 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
10751 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
10753 2004-06-01 Tom Tromey <tromey@redhat.com>
10755 * java/io/ObjectStreamField.java: Cleaned up imports.
10757 2004-06-01 Michael Koch <konqueror@gmx.de>
10759 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
10761 2004-06-01 Mark Wielaard <mark@klomp.org>
10763 * java/io/Writer.java (Writer(Object)): Fixed API doc.
10765 2004-06-01 Michael Koch <konqueror@gmx.de>
10767 * java/security/Security.java
10768 (insertProviderAt): Use equals() instead of ==.
10769 (removeProvicer): Likewise.
10770 (getProvider): Likewise.
10771 * java/security/Signature.java
10772 (sign): Don't set state to UNINITIALIZED.
10773 (verify): Likewise.
10775 2004-06-01 Mark Wielaard <mark@klomp.org>
10777 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
10778 Implement by calling gtkRequestFocus.
10779 (gtkRequestFocus): New native method.
10780 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10781 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
10783 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
10785 (filter_expose_event_handler):
10787 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10788 (menu_pos): Mark static.
10790 2004-06-01 Michael Koch <konqueror@gmx.de>
10792 * java/text/CollationElementIterator.java,
10793 java/text/CollationKey.java,
10794 java/text/RuleBasedCollator.java: New versions from GNU classpath.
10795 * testsuite/libjava.mauve/xfails: Removed all
10796 java.text.CollationElementIterator tests.
10798 2004-06-01 Michael Koch <konqueror@gmx.de>
10800 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
10802 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
10803 Java 1.5 keyword usage.
10805 2004-05-31 Olga Rodimina <rodimina@redhat.com>
10807 * javax/swing/plaf/basic/BasicMenuUI.java:
10808 (MouseEntered): Do not call getPath() from MenuSelectionManager.
10809 Call getPath() from super class instead.
10811 2004-05-31 Michael Koch <konqueror@gmx.de>
10813 * java/io/SequenceInputStream.java:
10814 Rename enum to e because enum is a keyword in Java 1.5.
10816 2004-05-31 Michael Koch <konqueror@gmx.de>
10818 * gnu/java/rmi/rmic/CompilerProcess.java:
10819 Fixed javadoc to by XHTML compliant.
10821 2004-05-30 Mark Wielaard <mark@klomp.org>
10823 * java/awt/Toolkit.java (loadSystemColors): Implement.
10825 2004-05-30 Michael Koch <konqueror@gmx.de>
10827 * java/lang/System.java: Reordered imports.
10829 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
10831 * java/text/DecimalFormat.java
10832 (parse): Fixed parsing of decimal strings. Number of maximum
10833 digits to be read should now work.
10834 * java/text/SimpleDateFormat.java
10835 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
10836 formatter. This fixes DateFormatTest.
10838 2004-05-30 Michael Koch <konqueror@gmx.de>
10840 * java/nio/Buffer.java
10841 (limit): Fixed off by one error.
10842 * java/nio/CharBuffer.java
10843 (wrap): Fixed arguments, added javadocs.
10845 2004-05-30 Michael Koch <konqueror@gmx.de>
10847 * gnu/java/beans/BeanInfoEmbryo.java,
10848 java/awt/im/InputContext.java,
10849 javax/swing/tree/DefaultMutableTreeNode.java:
10850 Rename enum to e because enum is a keyword in Java 1.5.
10852 2004-05-30 Michael Koch <konqueror@gmx.de>
10854 * gnu/java/math/MPN.java,
10855 java/awt/geom/Arc2D.java:
10856 Fixed javadocs all over.
10858 2004-05-30 Michael Koch <konqueror@gmx.de>
10860 * java/awt/DefaultKeyboardFocusManager.java
10861 (dispatchEvent): Call method to get key event dispatchers.
10862 (dispatchKeyEvent): Call method to get key event post processors.
10863 * javax/swing/JComponent.java
10864 (listenerList): Made protected.
10865 * javax/swing/JOptionPane.java
10866 (message): Don't initialize.
10867 (JOptionPane): Set message text.
10868 * javax/swing/JPopupMenu.java
10869 (show): Fixed typo in argument name.
10870 * javax/swing/RepaintManager.java
10871 (paintDirtyRegions): Use public API of java.util.Map.
10872 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10873 (positionForMouseEvent): Removed redundant ';'.
10874 (continueDrag): Use method arguments.
10876 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
10878 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
10881 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
10883 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
10885 * gnu/gcj/RawDataManaged.java: New file.
10886 * java/lang/Thread.java (data): Declare as RawDataManaged.
10887 * java/lang/natThread.cc (init_native): Cast natThread data to
10888 RawDataManaged, not jobject.
10889 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
10890 * Makefile.in: Rebuilt.
10892 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
10894 * java/util/SimpleTimeZone.java: Reverting my last change until I
10895 can fix it properly.
10897 2004-05-27 Michael Koch <konqueror@gmx.de>
10899 * javax/swing/JPopupMenu.java
10900 (isVisible): Do not use visible directly.
10901 (setVisible): Likewise.
10902 * javax/swing/JWindow.java
10903 (JWindow): call accessible constructor.
10904 * javax/swing/RepaintManager.java
10905 (paintDirtyRegions): Use public methods to obtain iterator.
10907 2004-05-25 David Jee <djee@redhat.com>
10909 * java/awt/Container.java
10910 (remove): Set component's parent to null only after we removed the
10911 component from its parent's layout manager.
10913 2004-05-25 David Jee <djee@redhat.com>
10915 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10916 (GtkComponentPeer): Set bounds regardless of whether awtComponent
10918 * gnu/java/awt/peer/gtk/GtkListPeer.java
10919 (getSize): Change native method declaration.
10920 (minimumSize): Pass visible row count into getSize().
10921 (preferredSize): Likewise.
10922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
10923 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
10924 natural size. Use visible row count to determine the final height
10927 2004-05-21 Graydon Hoare <graydon@redhat.com>
10929 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10930 (setClip): Minor correction to order of operations.
10932 * javax/swing/JScrollPane.java: Extend sketchy implementation.
10933 * javax/swing/ScrollPaneLayout.java: Likewise.
10934 * javax/swing/JViewPort.java: Likewise.
10935 * javax/swing/ViewportLayout.java: Likewise.
10937 * javax/swing/JComponent.java: Rewrite.
10938 * javax/swing/RepaintManager.java: Likewise.
10940 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
10941 * javax/swing/JList.java
10942 (setSelectedIndices):
10943 (getSelectedIndices):
10944 (getSelectedValues): New functions.
10945 (getPreferredScrollableViewportSize): Return preferred size.
10946 (getScrollableUnitIncrement):
10947 (getScrollableBlockIncrement): Initial implementations.
10948 * javax/swing/JRootPane.java: Clean up slightly.
10953 (isValidateRoot): Add overrides from JComponent.
10954 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
10955 * javax/swing/UIManager.java (getDimension): Return the dimension.
10957 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
10958 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
10959 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
10960 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
10961 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
10962 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
10963 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
10964 * javax/swing/plaf/basic/BasicRootPaneUI.java:
10965 Likewise, and set background.
10966 * javax/swing/plaf/basic/BasicListUI.java:
10967 Likewise, and improve a bit.
10968 * javax/swing/plaf/basic/BasicScrollBarUI.java:
10969 Likewise, and adjust calculations.
10970 * javax/swing/plaf/basic/BasicViewportUI.java:
10971 Likewise, and improve a bit.
10972 * javax/swing/plaf/basic/BasicLookAndFeel.java
10973 (Button.margin): Shrink.
10975 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
10976 Hack to set horizontal always, workaround pango.
10978 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
10979 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10980 Synchronize more often, check cairo status after ops,
10981 handle changes to cairo pattern API, check for disposal.
10983 2004-05-21 Olga Rodimina <rodimina@redhat.com>
10985 * javax/swing/plaf/basic/BasicMenuItemUI.java:
10986 (BasicMenuItemUI): Create propertyChangeListener.
10987 (getPath):Implemented.
10988 (installListeners): Add propertyChangeListener to menuItem.
10989 (uninstallListeners): Remove propertyChangeListener from menuItem.
10990 (update): Implemented.
10991 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
10992 (mouseEntered): Take insets of popup menu into account when
10993 calculating position of popup menu.
10995 2004-05-18 Olga Rodimina <rodimina@redhat.com>
10997 * Makefile.am: Added new file.
10998 * Makefile.in: Regenerate.
10999 * javax/swing/JMenuBar.java:
11000 Started implementation.
11001 * javax/swing/JPopupMenu.java:
11002 (setVisible): Fixed location of lightweight/mediumweight
11004 (show): Fixed location of PopupMenu.
11005 * javax/swing/plaf/basic/BasicMenuBarUI.java:
11006 New file. UI Delegate for JMenuBar.
11007 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
11008 (mouseEntered): Corrected position of the submenu.
11010 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
11012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
11013 to _gtk_accel_group_attach.
11014 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
11017 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
11018 package access. Don't override setFont.
11019 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
11020 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
11021 gtkWidgetRequestFocus package access.
11022 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
11024 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
11025 Give gtkWidgetRequestFocus package access.
11026 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
11027 gtkWidgetRequestFocus package access. Don't override setFont.
11028 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
11030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11031 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
11033 (gtkSetFont): Likewise.
11034 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
11036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11037 (gtkSetFont): Whitespace fix.
11039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11040 (gtkWidgetSetUsize): Remove method.
11042 2004-05-18 David Jee <djee@redhat.com>
11044 * java/awt/image/MemoryImageSource.java
11045 (newPixels(int,int,int,int,boolean)): Set only the specified
11046 rectangle of pixels.
11047 (newPixels(byte[],ColorModel,int,int)): Implement.
11048 (newPixels(int[],ColorModel,int,int)): Implement.
11050 2004-05-18 Olga Rodimina <rodimina@redhat.com>
11052 * Makefile.am: Added new file.
11053 * Makefile.in: Regenerate.
11054 * javax/swing/JMenu.java: Started
11056 * javax/swing/JPopupMenu.java:
11057 (insert): If specified index is -1, then
11058 add component at the end.
11059 (isPopupTrigger): Reimplemented.
11060 (JPopupMenu.LightWeightPopup): setBounds
11061 of the lightWeightPopup before adding it
11062 to the layeredPane.
11063 (javax/swing/plaf/basic/BasicIconFactory.java):
11064 (getMenuArrowIcon): Implemented.
11065 * javax/swing/plaf/basic/BasicMenuItemUI.java:
11066 (getPreferredSize): Add size of the arrow icon
11067 if this menu item is instance of JMenu.
11068 (paintMenuItem): Paint arrow icon if this
11069 menu item is a submenu.
11070 * javax/swing/plaf/basic/BasicMenuUI.java:
11071 New File. UI Delegate for JMenu.
11073 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
11075 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
11076 Post KEY_TYPED events.
11077 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11078 (generates_key_typed_event): Remove function.
11080 2004-05-17 Olga Rodimina <rodimina@redhat.com>
11082 * javax/swing/JRootPane.java
11083 (JRootPane.RootLayout): Reimplemented to
11084 set bounds of contentPane and menuBar.
11085 (setJMenuBar): Add menu bar to the layered pane.
11086 (createLayeredPane): Set layout of layeredPane
11088 * javax/swing/JLayeredPane.java:
11089 (addImpl): Calculate index of the component in the
11090 layeredPane according to the specified position within
11093 2004-05-17 David Jee <djee@redhat.com>
11095 * gnu/java/awt/peer/gtk/GtkImagePainter.java
11096 (setPixels): Change color model to the default model after
11098 * java/awt/image/MemoryImageSource.java
11099 (newPixels): Set only the specified rectangle of pixels.
11101 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11103 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
11104 -l-java-beans -l-javax-accessibility -l-javax-swing.
11106 * java/awt/AWTEvent.java (toString): Print source's name rather
11107 than the source itself.
11109 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
11111 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
11113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
11114 (gdk_color_to_java_color): New function.
11115 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
11117 2004-05-12 David Jee <djee@redhat.com>
11119 * java/awt/image/RGBImageFilter.java:
11120 Initialize origmodel as null.
11121 (makeColor): Fix pixel component order.
11122 (filterRGBPixels): Fix pixel iteration.
11123 (setPixels): Add extra checks for index color model. Convert pixels
11124 to default color model if necessary.
11125 (convertColorModelToDefault): New override method for byte pixels.
11126 (convertColorModelToDefault): For int pixels, fix pixel iteration.
11127 (makeColorbyDefaultCM): New override method for byte pixels.
11128 (makeColorbyDefaultCM): For int pixel, add color model as argument.
11129 (makeColor): Fix pixel component order.
11131 2004-05-11 Kim Ho <kho@redhat.com>
11133 * javax/swing/Box.java:
11134 Comment out more parts of Box.Filler.
11136 2004-05-11 Kim Ho <kho@redhat.com>
11138 * javax/swing/Box.java:
11139 Remove reference to AccessibleAWTComponent so
11142 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
11144 * gnu/java/awt/peer/gtk/GtkListPeer.java,
11145 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
11146 implementation of list peer to use GtkTreeView instead of
11147 deprecated GtkCList.
11149 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
11151 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11152 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
11153 (handleEvent): Remove keyChar argument to
11154 gtkWidgetDispatchKeyEvent calls.
11155 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
11157 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11158 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
11159 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
11162 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
11164 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11165 (gtkWidgetRequestFocus): Mark protected.
11166 (GtkComponentPeer): Only set the peer's bounds if its component
11168 * java/awt/Component.java (static): Set the default keyboard
11170 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
11171 requestFocusInWindow(temporary)): Don't request focus if the
11172 component is not showing. Get tree lock before traversing
11173 component hierarchy.
11174 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
11175 Only set the global focus owner if it is not a Window.
11176 (processKeyEvent): Consume keystrokes associated with the focus
11177 traversal keystroke.
11178 (focusPreviousComponent, focusNextComponent, upFocusCycle,
11179 downFocusCycle): Call requestFocusInWindow instead of
11181 * java/awt/EventDispatchThread.java (run): Move setting of
11182 default keyboard focus manager to Component.java.
11183 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11184 (awt_keycode_to_keysym): New function.
11185 (gtkWidgetDispatchKeyEvent): Finish implementation.
11186 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11187 (pre_event_handler): Add FIXME comment.
11189 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11190 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11191 (gtkWidgetRequestFocus): New method.
11192 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
11193 disable Tab and Shift-Tab keystrokes.
11194 (addNotify, appendText, insertText, replaceText): Simplify peer
11196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
11197 (connectSignals): Remove connections to "commit" signals.
11198 Remove C++-style comments.
11200 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11201 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11202 (handleEvent): Activate GTK button when the space bar key is
11204 (gtkActivate): New method.
11206 2004-05-06 David Jee <djee@redhat.com>
11208 * java/awt/image/CropImageFilter.java
11209 (setPixels): Implement for byte array pixels.
11210 * java/awt/image/ReplicateScaleFilter.java
11211 (setPixels): Implement for byte array pixels.
11212 (replicatePixels): Overload for byte array pixels.
11214 2004-05-06 Kim Ho <kho@redhat.com>
11216 * javax/swing/Box.java:
11217 (getAccessibleContext): Return an instance of the
11220 2004-05-05 David Jee <djee@redhat.com>
11222 * gnu/java/awt/peer/gtk/GdkGraphics.java
11223 (drawImage): When component is null, use SystemColor.window as
11224 the default bgcolor.
11225 * gnu/java/awt/peer/gtk/GtkImage.java
11226 (setPixels): We can avoid iterating through the pixel rows only
11228 * java/awt/Image.java
11229 (getScaledInstance): Partially implement.
11230 * java/awt/image/CropImageFilter.java
11231 (setProperties): Fix "filter" property.
11232 (setPixels): Implement.
11233 * java/awt/image/ReplicateScaleFilter.java
11234 (setDimensions): Use scaled dimensions.
11235 (setPixels): Implement.
11236 (replicatePixels): New method.
11238 2004-05-05 David Jee <djee@redhat.com>
11240 * gnu/java/awt/peer/gtk/GtkImagePainter.java
11241 (convertPixels): If either pixels or model is null, return null.
11242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
11243 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
11244 is null, do nothing and return.
11246 2004-05-03 Kim Ho <kho@redhat.com>
11248 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
11249 (getGraphics): Like GtkFramePeer, the Graphics
11250 object needs to be translate to account for
11251 window decorations.
11252 (postMouseEvent): New method. Account for
11254 (postExposeEvent): ditto.
11255 * javax/swing/Box.java: Stubbed.
11256 * javax/swing/JDialog.java: Ran through jalopy
11257 to fix indentation.
11258 (JDialog): Call SwingUtilities' getOwnerFrame
11260 (setLayout): Check isRootPaneCheckingEnabled
11261 * javax/swing/JOptionPane.java: Re-implemented.
11262 * javax/swing/SwingUtilities.java:
11263 (getOwnerFrame): Static method to grab a default
11264 owner frame for Dialogs that don't specify owners.
11265 * javax/swing/event/SwingPropertyChangeSupport.java:
11266 (firePropertyChange): Fix early exit condition.
11267 * javax/swing/plaf/basic/BasicLabelUI.java:
11268 (paint): Avoid painting text if it is null
11270 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11273 2004-05-03 Olga Rodimina <rodimina@redhat.com>
11275 * Makefile.am: Added new file.
11276 * Makefile.in: Regenerate.
11277 * javax/swing/JPopupMenu.java:
11278 Started implementation.
11279 * javax/swing/JWindow.java
11280 (JWindow): call super() if parent for window
11282 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11283 New File. UI Delegate for JPopupMenu.
11285 2004-04-30 Olga Rodimina <rodimina@redhat.com>
11287 * javax/swing/JApplet.java: Indicated that JApplet
11288 implements RootPaneContainer and made method of this
11290 * javax/swing/JFrame.java: Ditto.
11291 * javax/swing/JWindow.java: Ditto.
11293 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
11295 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11296 (nativeSetBounds): Call gdk_window_move in addition to
11299 * java/applet/Applet.java (preferredSize): Call parent's
11300 preferredSize if the applet stub is null.
11301 (minimumSize): Likewise for parent's minimumSize.
11303 2004-04-27 Olga Rodimina <rodimina@redhat.com>
11305 * javax/swing/JMenuItem.java
11306 (createActionPropertyChangeListener): Implemented.
11307 (processMouseEvent): Ditto.
11308 (fireMenuDragMouseEntered): Ditto.
11309 (fireMenuDragMouseExited): Ditto.
11310 (fireMenuDragMouseDragged): Ditto.
11311 (fireMenuDragMouseReleased): Ditto.
11312 (menuSelectionChanged): Ditto.
11313 (getSubElements): Ditto.
11314 (getComponent): Ditto.
11315 (addMenuDragMouseListener): Ditto.
11316 (removeMenuDragMouseListener):Ditto.
11317 (addMenuKeyListener): Ditto.
11318 (removeMenuKeyListener): Ditto.
11319 * javax/swing/plaf/basic/BasicMenuItemUI.java
11320 (doClick): Imlemented.
11321 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11322 Don't handle mouse events here. Pass them to
11323 MenuSelectionManager.
11325 2004-04-26 Olga Rodimina <rodimina@redhat.com>
11326 Used correct version of jalopy configuration
11327 file to fix style in the files below.
11329 2004-04-26 Olga Rodimina <rodimina@redhat.com>
11331 * javax/swing/JCheckBoxMenuItem.java:
11332 Fixed style and removed unnecessary comments.
11333 * javax/swing/JMenuItem.java: Ditto.
11334 * javax/swing/JRadioButtonMenuItem.java: Ditto.
11335 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11336 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11337 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11339 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
11341 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11344 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11346 * java/awt/ContainerOrderFocusTraversalPolicy.java
11347 (getComponentAfter): Start from current component and work up
11348 the component hierarchy until an acceptable component is found.
11349 Synchronize on tree lock.
11350 (getComponentBefore): Likewise.
11352 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11354 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11355 focus-related debugging messages.
11356 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11357 * java/awt/EventDispatchThread.java: Likewise.
11358 * java/awt/KeyboardFocusManager.java: Likewise.
11359 * java/awt/Window.java: Likewise.
11360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11364 new C++-style comments to C-style comments.
11365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11367 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11368 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11369 (handleEvent): Dispatch key press and key release events to
11371 (requestFocus): Post a FOCUS_GAINED event to the event queue.
11372 (gtkWidgetRequestFocus): New method.
11373 (gtkWidgetDispatchKeyEvent): Likewise.
11374 * java/awt/Component.java (requestFocus, requestFocus(boolean),
11375 requestFocusInWindow, requestFocusInWindow(boolean),
11376 getFocusCycleRootAncestor, nextFocus, transferFocus,
11377 transferFocusBackward, transferFocusUpCycle, hasFocus,
11378 isFocusOwner): Implement and document focus-handling methods.
11379 (setFocusTraversalKeys): Inherit focus traversal keys when
11380 keystrokes argument is null. Fix focus-handling documentation
11382 * java/awt/Container.java (setFocusTraversalKeys,
11383 getFocusTraversalKeys, areFocusTraversalKeysSet,
11384 isFocusCycleRoot, setFocusTraversalPolicy,
11385 getFocusTraversalPolicy, isFocusTraversalPolicySet,
11386 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
11387 Implement and document focus-handling methods.
11388 (transferFocusBackward): Remove method.
11389 (readObject, writeObject): Implement and document serialization
11391 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
11393 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
11395 * java/awt/DefaultKeyboardFocusManager.java: Implement and
11396 partially document.
11397 * java/awt/EventDispatchThread.java (run): Set default keyboard
11398 focus manager. Attempt to dispatch each event to the keyboard
11399 focus manager before normal dispatch.
11400 * java/awt/KeyboardFocusManager.java: Implement and partially
11402 * java/awt/Window.java (Window): Set focusCycleRoot to true.
11403 (show): Focus initial component when window is shown for the
11405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11406 (pre_event_handler): Replace complex key press and key release
11407 logic with simple callbacks into GtkComponentPeer.
11408 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
11410 2004-04-21 Olga Rodimina <rodimina@redhat.com>
11412 * javax/swing/MenuSelectionManager.java
11413 (componentForPoint): Added new method.
11414 (defaultManager): New Method. Implemented.
11415 (getSelectedPath): Ditto.
11416 (isComponentPartOfCurrentMenu): Ditto.
11417 (processKeyEvent): Added new method.
11418 (processMouseEvent): New Method. Implemented.
11419 (setSelectedPath): Ditto.
11422 2004-04-19 Kim Ho <kho@redhat.com>
11424 * java/awt/Container.java:
11425 (remove): Set the component's parent to null.
11426 (getComponentAt): Implement.
11427 * javax/swing/JComponent.java:
11428 (JComponent): Initialize defaultLocale
11429 (getDefaultLocale): Implement.
11430 (setDefaultLocale): ditto.
11431 * javax/swing/JSlider.java:
11432 (JSlider): Fix calculation of value.
11433 * javax/swing/JSplitPane.java: Implement.
11434 * javax/swing/plaf/basic/BasicLookAndFeel.java:
11435 Change SplitPane's default divider size.
11436 * javax/swing/plaf/basic/BasicScrollBarUI.java:
11437 (paint): Remove unused code.
11438 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
11439 Added comments and ran through jalopy.
11440 (setBasicSplitPaneUI): Get reference to hidden divider
11441 and set up one touch buttons if necessary.
11442 (setBorder): Fire propertyChangeEvent only if
11443 borders are different.
11444 (getPreferredSize): Defer to layout manager.
11445 (propertyChange): Implement.
11446 (oneTouchExpandableChanged): ditto.
11447 (createLeftOneTouchButton): Use BasicArrowButton.
11448 (createRightOneTouchButton): ditto.
11449 (moveDividerTo): New method. Moves the divider
11450 to a set location based on the last divider location.
11451 (BasicSplitPaneDivider::MouseHandler): Implement.
11452 (BasicSplitPaneDivider::OneTouchButton): Removed.
11453 (BasicSplitPaneDivider::DragController): Implement.
11454 (BasicSplitPaneDivider::VerticalDragController):
11456 (BasicSplitPaneDivider::DividerLayout): ditto.
11457 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
11458 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
11459 (calculateLayoutInfo): Don't show component if it's
11461 (paintTab): Fix title paint logic.
11463 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
11466 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11467 (setStartRule,setEndRule): Don't take abs of day number.
11468 (getOffset): Clarify docs. Add argument checks.
11469 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11470 (equals,hasSameRules,toString,readObject): Use startTimeMode and
11472 * testsuite/libjava.mauve/xfails
11473 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
11475 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
11477 Layout interfaces during preparation, not initialization.
11478 * java/lang/natClass.cc (initializeClass): Move
11479 _Jv_LayoutInterfaceMethods call...
11480 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
11482 2004-05-19 Anthony Green <green@localhost.localdomain>
11484 * Makefile.am (awt_java_source_files): Remove javax.rmi and
11485 gnu.javax.rmi code.
11486 * Makefile.in: Rebuilt.
11487 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
11488 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
11489 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
11490 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
11491 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
11492 gnu/javax/rmi/CORBA/DelegateFactory.java,
11493 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
11494 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
11495 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
11496 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
11497 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
11498 gnu/javax/rmi/PortableServer.java: Remove files.
11500 2004-05-19 Anthony Green <green@redhat.com>
11502 * Makefile.am: Define JAVA_EXT_DIRS.
11503 * Makefile.in: Rebuilt.
11504 * java/lang/natRuntime.cc (insertSystemProperties): Set
11505 java.ext.dirs property.
11507 2004-05-16 Mark Wielaard <mark@klomp.org>
11509 * java/io/Writer.java (Writer(Object)): Check for null lock object.
11511 2004-05-15 Mark Wielaard <mark@klomp.org>
11513 * doc/cni.sgml: Removed, merged into gcj.texi.
11515 2004-05-15 Mark Wielaard <mark@klomp.org>
11517 * Makefile.am (ordinary_java_source_files): Add new javax.print
11519 * Makefile.in: Regenerated.
11521 2004-05-15 Michael Koch <konqueror@gmx.de>
11523 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11524 javax/print/attribute/standard/DateTimeAtCreation.java,
11525 javax/print/attribute/standard/DateTimeAtProcessing.java,
11526 javax/print/attribute/standard/DocumentName.java,
11527 javax/print/attribute/standard/JobHoldUntil.java,
11528 javax/print/attribute/standard/JobImpressionsCompleted.java,
11529 javax/print/attribute/standard/JobMessageFromOperator.java,
11530 javax/print/attribute/standard/JobName.java,
11531 javax/print/attribute/standard/JobOriginatingUserName.java,
11532 javax/print/attribute/standard/JobPriority.java,
11533 javax/print/attribute/standard/JobPrioritySupported.java,
11534 javax/print/attribute/standard/NumberOfInterveningJobs.java,
11535 javax/print/attribute/standard/OutputDeviceAssigned.java,
11536 javax/print/attribute/standard/PrinterInfo.java,
11537 javax/print/attribute/standard/PrinterLocation.java,
11538 javax/print/attribute/standard/PrinterMakeAndModel.java,
11539 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11540 javax/print/attribute/standard/PrinterName.java,
11541 javax/print/attribute/standard/QueuedJobCount.java,
11542 javax/print/attribute/standard/RequestingUserName.java:
11543 Fixed javadocs all over.
11545 2004-05-15 Michael Koch <konqueror@gmx.de>
11547 * javax/print/DocFlavor.java,
11548 javax/print/attribute/standard/ColorSupported.java,
11549 javax/print/attribute/standard/Compression.java,
11550 javax/print/attribute/standard/CopiesSupported.java,
11551 javax/print/attribute/standard/Fidelity.java,
11552 javax/print/attribute/standard/Finishings.java,
11553 javax/print/attribute/standard/JobImpressionsSupported.java,
11554 javax/print/attribute/standard/JobKOctetsSupported.java,
11555 javax/print/attribute/standard/JobMediaSheetsSupported.java,
11556 javax/print/attribute/standard/JobSheets.java,
11557 javax/print/attribute/standard/JobState.java,
11558 javax/print/attribute/standard/JobStateReason.java,
11559 javax/print/attribute/standard/JobStateReasons.java,
11560 javax/print/attribute/standard/Media.java,
11561 javax/print/attribute/standard/MediaSizeName.java,
11562 javax/print/attribute/standard/MultipleDocumentHandling.java,
11563 javax/print/attribute/standard/NumberUpSupported.java,
11564 javax/print/attribute/standard/OrientationRequested.java,
11565 javax/print/attribute/standard/PDLOverrideSupported.java,
11566 javax/print/attribute/standard/PageRanges.java,
11567 javax/print/attribute/standard/PresentationDirection.java,
11568 javax/print/attribute/standard/PrintQuality.java,
11569 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11570 javax/print/attribute/standard/PrinterMoreInfo.java,
11571 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11572 javax/print/attribute/standard/PrinterResolution.java,
11573 javax/print/attribute/standard/PrinterState.java,
11574 javax/print/attribute/standard/PrinterStateReason.java,
11575 javax/print/attribute/standard/PrinterStateReasons.java,
11576 javax/print/attribute/standard/PrinterURI.java,
11577 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11578 javax/print/attribute/standard/Severity.java,
11579 javax/print/attribute/standard/SheetCollate.java,
11580 javax/print/attribute/standard/Sides.java:
11581 Added serialVersionUID and removed final keyword where it doenst
11584 2004-05-15 Michael Koch <konqueror@gmx.de>
11586 * javax/print/PrintServiceLookup.java: New file.
11588 2004-05-15 Michael Koch <konqueror@gmx.de>
11590 * javax/print/DocFlavor.java:
11591 Implemented all flavor classes.
11593 2004-05-15 Michael Koch <konqueror@gmx.de>
11595 * javax/print/attribute/standard/ColorSupported.java,
11596 javax/print/attribute/standard/Compression.java,
11597 javax/print/attribute/standard/CopiesSupported.java,
11598 javax/print/attribute/standard/Fidelity.java,
11599 javax/print/attribute/standard/Finishings.java,
11600 javax/print/attribute/standard/JobImpressionsSupported.java,
11601 javax/print/attribute/standard/JobKOctetsSupported.java,
11602 javax/print/attribute/standard/JobMediaSheetsSupported.java,
11603 javax/print/attribute/standard/JobSheets.java,
11604 javax/print/attribute/standard/JobState.java,
11605 javax/print/attribute/standard/JobStateReason.java,
11606 javax/print/attribute/standard/JobStateReasons.java,
11607 javax/print/attribute/standard/Media.java,
11608 javax/print/attribute/standard/MediaSizeName.java,
11609 javax/print/attribute/standard/MultipleDocumentHandling.java,
11610 javax/print/attribute/standard/NumberUpSupported.java,
11611 javax/print/attribute/standard/OrientationRequested.java,
11612 javax/print/attribute/standard/PDLOverrideSupported.java,
11613 javax/print/attribute/standard/PageRanges.java,
11614 javax/print/attribute/standard/PresentationDirection.java,
11615 javax/print/attribute/standard/PrintQuality.java,
11616 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11617 javax/print/attribute/standard/PrinterMoreInfo.java,
11618 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11619 javax/print/attribute/standard/PrinterResolution.java,
11620 javax/print/attribute/standard/PrinterState.java,
11621 javax/print/attribute/standard/PrinterStateReason.java,
11622 javax/print/attribute/standard/PrinterStateReasons.java,
11623 javax/print/attribute/standard/PrinterURI.java,
11624 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11625 javax/print/attribute/standard/Severity.java,
11626 javax/print/attribute/standard/SheetCollate.java,
11627 javax/print/attribute/standard/Sides.java: New files.
11629 2004-05-15 Michael Koch <konqueror@gmx.de>
11631 * javax/print/Doc.java
11632 (getPrintData): Throws IOException.
11633 (getReaderForText): Likewise.
11634 (getStreamForBytes): Likewise.
11635 * javax/print/DocFlavor.java:
11636 Fixed filename in copyright.
11637 (serialVersionUID): New field.
11638 * javax/print/ServiceUIFactory.java:
11639 Made all constants final.
11640 * javax/print/AttributeException.java
11641 javax/print/MultiDoc.java
11642 javax/print/MultiDocPrintJob.java
11643 javax/print/MultiDocPrintService.java
11644 javax/print/StreamPrintService.java
11645 javax/print/URIException.java: New files.
11646 * javax/print/Makefile.am
11647 (EXTRA_DIST): Added all new files.
11649 2004-05-15 Michael Koch <konqueror@gmx.de>
11651 * javax/print/attribute/standard/Copies.java,
11652 javax/print/attribute/standard/DateTimeAtCompleted.java,
11653 javax/print/attribute/standard/DateTimeAtCreation.java,
11654 javax/print/attribute/standard/DateTimeAtProcessing.java,
11655 javax/print/attribute/standard/DocumentName.java,
11656 javax/print/attribute/standard/JobHoldUntil.java,
11657 javax/print/attribute/standard/JobImpressions.java,
11658 javax/print/attribute/standard/JobImpressionsCompleted.java,
11659 javax/print/attribute/standard/JobKOctets.java,
11660 javax/print/attribute/standard/JobKOctetsProcessed.java,
11661 javax/print/attribute/standard/JobMediaSheets.java,
11662 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11663 javax/print/attribute/standard/JobMessageFromOperator.java,
11664 javax/print/attribute/standard/JobName.java,
11665 javax/print/attribute/standard/JobOriginatingUserName.java,
11666 javax/print/attribute/standard/JobPriority.java,
11667 javax/print/attribute/standard/JobPrioritySupported.java,
11668 javax/print/attribute/standard/NumberOfDocuments.java,
11669 javax/print/attribute/standard/NumberOfInterveningJobs.java,
11670 javax/print/attribute/standard/NumberUp.java,
11671 javax/print/attribute/standard/OutputDeviceAssigned.java,
11672 javax/print/attribute/standard/PagesPerMinute.java,
11673 javax/print/attribute/standard/PagesPerMinuteColor.java:
11674 Fixed @return tag all over.
11676 2004-05-15 Michael Koch <konqueror@gmx.de>
11678 * javax/print/attribute/AttributeSetUtilities.java
11679 (verifyCategoryForValue): Fixed typo in javadoc.
11680 * javax/print/attribute/HashAttributeSet.java
11681 (containsKey): Fixed @return tag.
11682 (comtainsValue): Likewise.
11683 (equals): Likewise.
11684 * javax/print/attribute/IntegerSyntax.java
11685 (equals): Likewise.
11686 * javax/print/attribute/ResolutionSyntax.java
11687 (equals): Likewise.
11688 (getCrossFeedResolution): Removed unused code.
11689 (getFeedResolution): Likewise.
11690 * javax/print/attribute/SetOfIntegerSyntax.java
11691 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
11692 (equals): Fixed @return tag.
11693 * javax/print/attribute/TextSyntax.java
11694 (TextSyntax): Take locale into account.
11695 (hashCode): Better implementation.
11697 2004-05-15 Michael Koch <konqueror@gmx.de>
11699 * javax/print/CancelablePrintJob.java,
11700 javax/print/Doc.java,
11701 javax/print/DocFlavor.java,
11702 javax/print/DocPrintJob.java,
11703 javax/print/FlavorException.java,
11704 javax/print/PrintException.java,
11705 javax/print/PrintService.java,
11706 javax/print/ServiceUIFactory.java: New files.
11708 2004-05-15 Mark Wielaard <mark@klomp.org>
11710 * gnu/regexp/CharIndexedReader.java: Removed.
11711 * gnu/regexp/REFilterReader.java: Likewise.
11712 * gnu/regexp/RETokenLookAhead.java: Likewise.
11713 * Makefile.am (ordinary_java_source_files): Remove above classes.
11714 * Makefile.in: Regenerated.
11716 2004-05-14 Tom Tromey <tromey@redhat.com>
11718 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
11719 not `XGraphicsConfiguration.XOffScreenImage'.
11721 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
11723 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
11725 2004-05-14 Steven Augart <augart@watson.ibm.com>
11727 * include/jni.h (_Jv_func): Removed.
11728 (struct JNINativeInterface): Use `void *' for reserved slots.
11729 (struct JNIInvokeInterface): Likewise.
11731 2004-05-11 Michael Koch <konqueror@gmx.de>
11733 * gnu/java/net/natPlainSocketImplPosix.cc
11734 (read): Fixed typo in expression.
11736 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
11738 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
11739 ld_library_additions. Adjust all calls to libjava_invoke to match
11742 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
11743 path to cxxflagslist.
11744 Pass path of libstdc++ to libjava_invoke.
11746 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
11747 libjava_invoke arguments.
11749 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
11751 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
11754 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
11756 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
11757 main binary against the JNI shared library.
11759 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
11761 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
11762 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
11763 (SimpleTimeZone): Tweak docs. Add new variation.
11764 (setStartRule,setEndRule): Add new variations. Use
11765 startTimeMode and endTimeMode.
11767 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
11769 * java/util/Calendar.java (getActualMinimum,
11770 getActualMaximum): Remove abstract. Implement.
11772 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
11774 Run the jni tests using the interpreter.
11775 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
11776 options_cxx to shared lib compile command.
11777 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
11778 they are used to link the shared lib, not the main binary.
11779 Use libjava_invoke to run gij.
11781 2004-05-06 Michael Koch <konqueror@gmx.de>
11783 * java/util/logging/Level.java
11784 (parse): Use == instead of String.equals().
11786 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
11788 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
11789 verify_field_signature and verify_method_signature, not
11790 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
11791 (_Jv_ClassReader::handleField): Likewise.
11792 (_Jv_ClassReader::handleMethod): Likewise.
11794 2004-05-06 Michael Koch <konqueror@gmx.de>
11796 * javax/swing/table/TableColumn.java:
11799 2004-05-06 Michael Koch <konqueror@gmx.de>
11801 * javax/imageio/spi/ImageReaderWriterSpi.java
11802 (ImageReaderWriterSpi): Made it public.
11803 * javax/imageio/stream/ImageInputStream.java:
11806 2004-05-06 Michael Koch <konqueror@gmx.de>
11808 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11809 Removed empty line.
11811 2004-05-06 Michael Koch <konqueror@gmx.de>
11813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
11814 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
11816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
11817 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
11818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
11819 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
11820 their own source file.
11821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
11822 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
11823 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
11824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11825 (create): Define variable on top of function.
11826 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11827 (menu_pos): Prototyped.
11828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11829 (setTitle): Removed.
11830 * jni/gtk-peer/gthread-jni.c
11831 (gdk_threads_wake): Removed.
11832 * Makefile.am (gtk_c_source_files): Added new files
11833 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
11834 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
11835 * Makefile.in: Regenerated.
11837 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
11839 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
11842 2004-05-05 Mark Wielaard <mark@klomp.org>
11844 * javax/swing/AbstractButton.java: Replace special HTML entities with
11846 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
11847 * javax/swing/DefaultButtonModel.java: Likewise.
11848 * javax/swing/DefaultListModel.java: Likewise.
11849 * javax/swing/JList.java: Likewise.
11850 * javax/swing/JSlider.java: Likewise.
11851 * javax/swing/ListModel.java: Likewise.
11852 * javax/swing/Popup.java: Likewise.
11853 * javax/swing/SwingUtilities.java: Likewise.
11855 2004-05-05 Michael Koch <konqueror@gmx.de>
11857 * javax/swing/AbstractButton.java,
11858 javax/swing/ActionMap.java,
11859 javax/swing/DefaultButtonModel.java,
11860 javax/swing/DefaultListModel.java,
11861 javax/swing/ImageIcon.java,
11862 javax/swing/JComboBox.java,
11863 javax/swing/JComponent.java,
11864 javax/swing/JFrame.java,
11865 javax/swing/JInternalFrame.java,
11866 javax/swing/JMenuBar.java,
11867 javax/swing/JMenuItem.java,
11868 javax/swing/JOptionPane.java,
11869 javax/swing/JProgressBar.java,
11870 javax/swing/JRootPane.java,
11871 javax/swing/JScrollBar.java,
11872 javax/swing/JScrollPane.java,
11873 javax/swing/JSeparator.java,
11874 javax/swing/JSlider.java,
11875 javax/swing/JTabbedPane.java,
11876 javax/swing/JTable.java,
11877 javax/swing/JTextField.java,
11878 javax/swing/JToolBar.java,
11879 javax/swing/JToolTip.java,
11880 javax/swing/JTree.java,
11881 javax/swing/JViewport.java,
11882 javax/swing/JWindow.java,
11883 javax/swing/KeyStroke.java,
11884 javax/swing/LookAndFeel.java,
11885 javax/swing/SwingUtilities.java,
11886 javax/swing/Timer.java,
11887 javax/swing/ToolTipManager.java,
11888 javax/swing/UIDefaults.java,
11889 javax/swing/border/TitledBorder.java,
11890 javax/swing/filechooser/FileSystemView.java,
11891 javax/swing/plaf/basic/BasicButtonListener.java,
11892 javax/swing/plaf/basic/BasicButtonUI.java,
11893 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
11894 javax/swing/plaf/basic/BasicGraphicsUtils.java,
11895 javax/swing/plaf/basic/BasicLabelUI.java,
11896 javax/swing/plaf/basic/BasicMenuItemUI.java,
11897 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11898 javax/swing/plaf/basic/BasicRootPaneUI.java,
11899 javax/swing/plaf/basic/BasicScrollBarUI.java,
11900 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11901 javax/swing/plaf/basic/BasicSliderUI.java,
11902 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11903 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11904 javax/swing/table/JTableHeader.java,
11905 javax/swing/text/AbstractDocument.java,
11906 javax/swing/text/DefaultCaret.java,
11907 javax/swing/text/StyledEditorKit.java,
11908 javax/swing/tree/DefaultTreeCellEditor.java:
11909 Cleaned up imports.
11911 2004-05-05 Michael Koch <konqueror@gmx.de>
11913 * java/util/prefs/AbstractPreferences.java
11914 (AbstractPreferences): Added parenthesis for clarity.
11915 Closes classpath bug #7940.
11917 2004-05-05 Tom Tromey <tromey@redhat.com>
11919 * javax/naming/CompoundName.java (endsWith): Look at correct
11920 element of source name.
11922 2004-05-05 Mark Wielaard <mark@klomp.org>
11924 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
11925 * java/util/HashMap.java (rehash): Add entry at start of bucket.
11927 2004-05-05 Tom Tromey <tromey@redhat.com>
11929 * java/io/BufferedReader.java (skip): Removed unused
11932 2004-05-05 Michael Koch <konqueror@gmx.de>
11934 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
11936 2004-05-05 Dalibor Topic <robilad@kaffe.org>
11938 * java/text/AttributedString.java,
11939 java/text/AttributedStringIterator.java,
11940 java/text/Collator.java,
11941 java/text/DecimalFormatSymbols.java,
11942 java/text/NumberFormat.java,
11943 java/text/RuleBasedCollator.java:
11944 Cleaned up imports.
11946 2004-05-05 Tom Tromey <tromey@redhat.com>
11948 * java/text/Format.java: Cleaned up imports.
11949 * java/text/DecimalFormat.java: Cleaned up imports.
11950 * java/security/SecureRandom.java: Cleaned up imports.
11951 (SecureRandom): Removed unused variable.
11952 * java/security/UnresolvedPermission.java: Cleaned up imports.
11953 * java/util/Date.java (parse): Removed unused variable.
11954 * java/util/ResourceBundle.java: Cleaned up imports.
11955 (getBundle): Removed unused variable.
11956 (tryBundle): Likewise.
11957 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
11959 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11961 * java/text/SimpleDateFormat.java:
11962 (formatWithAttribute): New method. It implements
11963 the formatting process with attributes.
11964 (format): Use formatWithAttribute.
11965 (formatToCharacterIterator): New method. Use
11966 formatWithAttribute.
11968 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11970 * java/text/MessageFormat.java:
11971 (class Field): New class.
11972 (formatToCharacterIterator): New method.
11973 (format): Use formatInternal now.
11974 (formatInternal): New method. String formatter should
11975 be done here (with attributes). Attributes merging supported.
11976 (parse): More documentation.
11977 (getFormatsByArgumentIndex): New method.
11978 (setFormatByArgumentIndex): New method.
11979 (setFormatsByArgumentIndex): New method.
11981 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11983 * java/text/DecimalFormat.java
11984 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
11985 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
11986 (parse): Fixed handling of exponentiation notation and grouping.
11988 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
11990 * java/text/DecimalFormat.java
11991 (scanFix): Build attribute array. Fixed error reporting.
11992 (applyPatternWithSymbols): Store attributes for the prefix and
11994 (formatInternal): New method. Changed the way the string is
11995 computed. Implemented attributes. Cleant up rounding in
11996 exponential notation.
11997 (format): Use formatInternal.
11998 (formatToCharacterIterator): New method.
11999 (exponentRound, negativePrefixRanges, positivePrefixRanges,
12000 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
12001 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
12004 2004-05-04 Dalibor Topic <robilad@kaffe.org>
12006 * java/security/interfaces/DSAKeyPairGenerator.java,
12007 java/security/interfaces/DSAPrivateKey.java,
12008 java/security/interfaces/DSAPublicKey.java,
12009 java/security/interfaces/RSAPrivateKey.java,
12010 java/security/interfaces/RSAPublicKey.java:
12011 Cleaned up imports.
12013 2004-05-04 Michael Koch <konqueror@gmx.de>
12015 * java/nio/ByteBuffer.java,
12016 java/nio/CharBuffer.java,
12017 java/nio/DoubleBuffer.java,
12018 java/nio/FloatBuffer.java,
12019 java/nio/IntBuffer.java,
12020 java/nio/LongBuffer.java,
12021 java/nio/ShortBuffer.java:
12022 (compareTo): Fixed bogus implementation in all buffer classes.
12024 2004-05-04 Ingo Proetel <proetel@aicas.com>
12026 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
12027 32 bit pixels not 8 bit pixels.
12028 (isCompatibleRaster): Added javadoc comment.
12030 2004-05-04 Ingo Proetel <proetel@aicas.com>
12032 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
12035 2004-05-04 Ingo Proetel <proetel@aicas.com>
12037 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
12038 (getColorModel): Return the actual color model.
12039 (getRaster): Implemented.
12040 (ColorRaster): New inner class.
12041 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
12043 * java/awt/Color.java (<init>): Make exception more verbose.
12044 (createContext): Use ColorModel when creating a PaintContext.
12046 2004-05-04 Michael Koch <konqueror@gmx.de>
12048 * gnu/java/text/CharacterBreakIterator.java
12049 (previous): Removed unused variable.
12051 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
12053 * gnu/java/text/FormatBuffer.java,
12054 gnu/java/text/AttributedFormatBuffer.java,
12055 gnu/java/text/StringFormatBuffer.java: New classes to implement
12056 attributed iterators in java.text.
12057 * gnu/java/text/FormatCharacterIterator.java: Moved
12058 from java/text as it is an internal class.
12059 * java/text/FormatCharacterIterator.java: Removed.
12060 * java/text/Format.java:
12061 Import gnu.java.text.FormatCharacterIterator.
12062 * Makefile.am (java_source_files): Added new files.
12063 * Makefile.in: Regenerated.
12066 2004-05-04 Mark Wielaard <mark@klomp.org>
12068 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
12070 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
12072 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
12073 * Makefile.in: Rebuilt.
12075 2004-05-03 Mark Wielaard <mark@klomp.org>
12077 * gnu/java/security/der/DERReader.java: Call static methods staticly.
12078 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
12079 * java/net/URL.java
12080 (set(String, String, int, String, String, String, String, String)):
12081 Assign this.file to path or path + "?" + query.
12082 * java/util/Arrays.java: Call static methods staticly.
12083 * java/util/zip/ZipEntry.java: Likewise.
12084 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
12085 dir to this.direction.
12086 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
12087 Assign static field only once.
12088 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
12090 2004-05-03 Mark Wielaard <mark@klomp.org>
12092 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
12093 unused variables hScrollbarHeight and vScrollbarWidth.
12094 (preferredSize): Likewise.
12095 * gnu/java/security/provider/DSAParameters.java (engineToString):
12096 Removed unused call to System.getProperty("line.seperator");
12097 * java/security/Security.java (loadProviders): Return result.
12099 2004-05-03 Tom Tromey <tromey@redhat.com>
12101 * java/net/URLStreamHandler.java (toExternalForm): Removed
12103 unused constructor.
12104 * java/math/BigDecimal.java (divide): Removed unused variable.
12105 * java/lang/Throwable.java: Cleaned up imports.
12106 * java/lang/ClassLoader.java: Cleaned up imports.
12107 * java/io/FilePermission.java (implies): Removed unused
12109 * java/awt/TextComponent.java: Removed unused import.
12110 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
12111 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
12112 * gnu/java/text/WordBreakIterator.java: Removed unused import.
12113 * gnu/java/text/SentenceBreakIterator.java: Removed unused
12115 * gnu/java/text/LineBreakIterator.java: Removed unused import.
12116 * gnu/java/text/CharacterBreakIterator.java: Removed
12118 * gnu/java/security/provider/DSAKeyPairGenerator.java:
12119 Cleaned up imports.
12120 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
12121 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
12123 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
12124 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
12125 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
12126 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
12127 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
12128 (lookupProviders): Removed unused variable.
12129 (loadNextServiceProvider): Likewise.
12130 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
12132 2004-05-03 Michael Koch <konqueror@gmx.de>
12134 Fixes PR libgcj/14695:
12135 * java/net/NetworkInterface.java
12136 (getByName): Return null when no interface was found.
12138 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
12139 Tom Tromey <tromey@redhat.com>
12141 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
12142 additional option "-Wmissing-prototypes" for compiling C sources.
12143 Print actual filename for pass/fail rather than $name.c.
12144 * testsuite/libjava.jni/PR15133.java: New testcase file.
12145 * testsuite/libjava.jni/PR15133.c: Likewise.
12146 * testsuite/libjava.jni/PR15133.out: Likewise.
12148 2004-04-30 Roger Sayle <roger@eyesopen.com>
12150 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
12153 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
12155 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
12156 limit the maximum heap size to avoid unnecessary thrashing.
12158 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
12160 * java/text/CollationElementIterator.java (reset): Reset
12161 lookahead variables.
12163 2004-04-23 Mark Wielaard <mark@klomp.org>
12165 * jni/classpath/jcl.c: Changed C++ comments into C comments.
12167 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12169 * java/sql/DriverManager.java:
12170 Cleaned up imports.
12172 2004-04-23 Michael Koch <konqueror@gmx.de>
12174 * java/net/URL.java
12175 (hashcode): Don't initialize with default value explicitely.
12176 (getContent): Removed redundant "final" keyword.
12177 (openStream): Likewise.
12178 (getURLStreamHandler): Fixed coding style.
12179 * java/net/URLConnection.java
12180 (defaultAllowUserInteraction): Don't initialize with default value
12182 (connected): Likewise.
12183 (doOutput): Likewise.
12184 (ifModifiedSince): Likewise.
12185 (dateformats_initialized): Likewise.
12186 (setURLStreamHander): Use StreamTokenizer where it belongs to.
12188 2004-04-23 Michael Koch <konqueror@gmx.de>
12190 * gnu/java/nio/channels/FileChannelImpl.java
12191 (SET, CUR): Unused, removed.
12192 (read): Implement here directly.
12193 (implRead): Removed.
12194 (write): Implement here directly.
12195 (implWrite): Removed.
12197 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12199 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
12200 javax/rmi/CORBA/Stub.java,
12201 javax/rmi/CORBA/Util.java,
12202 javax/rmi/CORBA/ValueHandler.java,
12203 javax/rmi/CORBA/ValueHandler.java,
12204 javax/rmi/PortableRemoteObject.java:
12205 Cleaned up imports.
12207 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12209 * java/util/jar/JarFile.java,
12210 java/util/jar/JarInputStream.java,
12211 java/util/jar/JarOutputStream.java,
12212 java/util/jar/Manifest.java:
12213 Cleaned up imports.
12215 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12217 * java/util/ArrayList.java,
12218 java/util/Calendar.java,
12219 java/util/Currency.java,
12220 java/util/HashMap.java,
12221 java/util/HashSet.java,
12222 java/util/Hashtable.java,
12223 java/util/LinkedList.java,
12224 java/util/Properties.java,
12225 java/util/PropertyPermission.java,
12226 java/util/TimeZone.java,
12227 java/util/TreeMap.java,
12228 java/util/TreeSet.java,
12229 java/util/Vector.java,
12230 java/util/WeakHashMap.java:
12231 Cleaned up imports.
12233 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12235 * java/util/logging/FileHandler.java,
12236 java/util/logging/Formatter.java,
12237 java/util/logging/Handler.java,
12238 java/util/logging/Logger.java,
12239 java/util/logging/SimpleFormatter.java,
12240 java/util/logging/XMLFormatter.java:
12241 Cleaned up imports.
12243 2004-04-22 Mark Wielaard <mark@klomp.org>
12245 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
12246 -Wno-long-long flags variable.
12247 (gtk_c_files): Use PEDANTIC_CFLAGS.
12248 * Makefile.in: Regenerated.
12250 2004-04-22 Mark Wielaard <mark@klomp.org>
12252 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12253 Changed C++ comments into C comments.
12254 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12257 2004-04-22 Michael Koch <konqueror@gmx.de>
12259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12260 Merged copyright year with GNU classpath.
12262 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12264 * javax/security/auth/x500/X500Principal.java:
12265 Cleaned up imports.
12267 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12269 * javax/swing/JSlider.java:
12270 Fixed HTML tags in comments.
12272 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12274 * javax/accessibility/AccessibleText.java:
12275 Cleaned up imports.
12277 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
12279 * java/net/URLStreamHandler.java
12280 (parseURL): Convert the file path to using '/' instead of native
12283 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
12285 * java/net/URL.java
12286 (userInfo): New field.
12287 (URL): Set authority to the right value.
12288 (setURL): Fixed authority and file initialization.
12289 * java/net/URLStreamHandler.java
12290 (parseURL): Take care of the query tag. Build authority.
12291 (toExternalForm): Fixed URL building using authority.
12293 2004-04-22 Michael Koch <konqueror@gmx.de>
12295 * java/net/Socket.java
12296 (impl): Made package-private.
12297 * java/net/ServerSocket.java
12298 (implAccept): Access Socket.impl field directly.
12300 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12302 * java/util/prefs/Preferences.java,
12303 java/util/prefs/InvalidPreferencesFormatException.java,
12304 java/util/prefs/BackingStoreException.java,
12305 java/util/prefs/AbstractPreferences.java:
12306 Cleaned up imports.
12308 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12310 * java/util/regex/Matcher.java,
12311 java/util/regex/Pattern.java:
12312 Cleaned up imports.
12314 2004-04-22 Michael Koch <konqueror@gmx.de>
12316 * java/nio/charset/IllegalCharsetNameException.java
12317 (charsetName): Made private.
12318 (IllegalCharsetNameException): Added @param tag to javadoc.
12319 (getCharsetName): Added @return tag to javadoc.
12320 * java/nio/charset/MalformedInputException.java
12321 (MalformedInputException): Added @param tag to javadoc.
12322 (getInputLength): Revised method description, added @return tag.
12323 (getMessage): Added @return tag.
12325 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
12327 * java/awt/Font.java (deriveFont): Implement missing variants.
12328 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12331 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
12333 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12334 Set method->index values for interface methods to their itable index.
12335 (initializeClass): Call _Jv_LayoutInterfaceMethods.
12337 2004-04-21 Michael Koch <konqueror@gmx.de>
12339 * java/nio/DirectByteBufferImpl.java
12340 (shiftDown): Made static, give address as argument and
12341 provide a convenience method that overwrites shiftDown in
12342 ByteBufferImpl and calls the native shiftDown.
12343 * java/nio/MappedByteBufferImpl.java
12344 (): Use optimized method in DirectByteBufferImpl.
12345 * java/nio/natDirectByteBufferImpl.cc
12346 (shiftDown): Changed method signature. Removed usage of array_offset.
12348 2004-04-21 Michael Koch <konqueror@gmx.de>
12350 * gnu/java/net/natPlainSocketImplPosix.cc
12351 (SocketInputStream::read): Make sure returned data is a byte value.
12353 2004-04-21 Michael Koch <konqueror@gmx.de>
12355 * gnu/classpath/ServiceFactory.java,
12356 gnu/classpath/ServiceProviderLoadingAction.java,
12357 javax/imageio/ImageReader.java,
12358 javax/imageio/ImageTranscoder.java,
12359 javax/imageio/ImageWriter.java,
12360 javax/imageio/package.html,
12361 javax/imageio/spi/IIOServiceProvider.java,
12362 javax/imageio/spi/ImageInputStreamSpi.java,
12363 javax/imageio/spi/ImageOutputStreamSpi.java,
12364 javax/imageio/spi/ImageReaderWriterSpi.java,
12365 javax/imageio/spi/ImageTranscoderSpi.java,
12366 javax/imageio/spi/RegisterableService.java,
12367 javax/imageio/spi/ServiceRegistry.java,
12368 javax/imageio/spi/package.html,
12369 javax/imageio/stream/IIOByteBuffer.java,
12370 javax/imageio/stream/ImageInputStream.java,
12371 javax/imageio/stream/ImageOutputStream.java,
12372 javax/imageio/stream/package.html:
12375 (ordinary_java_source_files): Added
12376 gnu/classpath/ServiceFactory.java and
12377 gnu/classpath/ServiceProviderLoadingAction.java.
12378 (javax_source_files): Added
12379 javax/imageio/ImageReader.java,
12380 javax/imageio/ImageTranscoder.java,
12381 javax/imageio/ImageWriter.java,
12382 javax/imageio/spi/IIOServiceProvider.java,
12383 javax/imageio/spi/ImageInputStreamSpi.java,
12384 javax/imageio/spi/ImageOutputStreamSpi.java,
12385 javax/imageio/spi/ImageReaderWriterSpi.java,
12386 javax/imageio/spi/ImageTranscoderSpi.java,
12387 javax/imageio/spi/RegisterableService.java,
12388 javax/imageio/spi/ServiceRegistry.java,
12389 javax/imageio/stream/IIOByteBuffer.java,
12390 javax/imageio/stream/ImageInputStream.java and
12391 javax/imageio/stream/ImageOutputStream.java.
12392 * Makefile.in: Regenerated.
12394 2004-04-21 Michael Koch <konqueror@gmx.de>
12396 * java/util/Properties.java
12397 (load): Fix wrongly merged fix.
12399 2004-04-21 Mark Wielaard <mark@klomp.org>
12401 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
12402 malloc and free buf.
12404 2004-04-21 Dalibor Topic <robilad@kaffe.org>
12406 * javax/naming/AuthenticationException.java,
12407 javax/naming/AuthenticationNotSupportedException.java,
12408 javax/naming/CannotProceedException.java,
12409 javax/naming/CommunicationException.java,
12410 javax/naming/CompoundName.java,
12411 javax/naming/ConfigurationException.java,
12412 javax/naming/ContextNotEmptyException.java,
12413 javax/naming/InitialContext.java,
12414 javax/naming/InsufficientResourcesException.java,
12415 javax/naming/InterruptedNamingException.java,
12416 javax/naming/LimitExceededException.java,
12417 javax/naming/LinkException.java,
12418 javax/naming/LinkLoopException.java,
12419 javax/naming/LinkRef.java,
12420 javax/naming/MalformedLinkException.java,
12421 javax/naming/Name.java,
12422 javax/naming/NameAlreadyBoundException.java,
12423 javax/naming/NameNotFoundException.java,
12424 javax/naming/NamingSecurityException.java,
12425 javax/naming/NoInitialContextException.java,
12426 javax/naming/NoPermissionException.java,
12427 javax/naming/NotContextException.java,
12428 javax/naming/PartialResultException.java,
12429 javax/naming/ReferralException.java,
12430 javax/naming/ServiceUnavailableException.java,
12431 javax/naming/SizeLimitExceededException.java,
12432 javax/naming/TimeLimitExceededException.java,
12433 javax/naming/directory/Attribute.java,
12434 javax/naming/directory/Attributes.java,
12435 javax/naming/directory/SearchResult.java,
12436 javax/naming/event/NamingExceptionEvent.java,
12437 javax/naming/spi/ResolveResult.java:
12438 Cleaned up imports.
12440 2004-04-21 Mark Wielaard <mark@klomp.org>
12442 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12443 Changed C++ comments into C comments. Removed commented out code.
12444 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12446 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
12448 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
12450 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
12452 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
12454 * native/jni/gtk-peer/gthread-jni.c:
12457 2004-04-21 Mark Wielaard <mark@klomp.org>
12459 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
12460 static fields defined in interface.
12461 * javax/awt/JDialog.java: Likewise.
12462 (JDialog): Make constructors public.
12463 (getDefaultCloseOperation): Make public.
12464 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
12465 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
12466 * javax/swing/JViewport.java (JViewport): Make constructor public.
12468 2004-04-21 Michael Koch <konqueror@gmx.de>
12470 * java/util/Map.java
12471 (Entry): Removed redundant "static" modifier.
12472 * java/text/AttributedCharacterIterator.java:
12473 Updated copyright year.
12475 2004-04-20 Michael Koch <konqueror@gmx.de>
12477 * javax/naming/directory/SearchControls.java:
12478 Don't explicitely extend java.lang.Object.
12479 * javax/naming/spi/DirStateFactory.java:
12480 Merged copyright year with GNU classpath.
12482 2004-04-20 Michael Koch <konqueror@gmx.de>
12484 * java/nio/channels/Channels.java:
12485 Merged coding style with GNU classpath.
12487 2004-04-20 Michael Koch <konqueror@gmx.de>
12489 * java/net/ServerSocket.java
12490 Merged coding style from GNU classpath.
12492 2004-04-20 Michael Koch <konqueror@gmx.de>
12494 * java/io/BufferedWriter.java:
12495 Reordered variables to be at top of the class.
12496 (localFlush): Removed redundant final keyword.
12498 2004-04-20 Ingo Proetel <proetel@aicas.com>
12500 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
12502 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
12504 * java/text/DecimalFormat.java (scanFix): Removed suffix check
12505 for percent and permill check.
12507 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
12509 * java/text/FieldPosition.java
12510 (FieldPosition) Constructor now behaves as it should according
12511 to the java documentation.
12513 2004-04-20 Mark Wielaard <mark@klomp.org>
12515 * java/util/Properties.java: Use the word umlaut, not ä in api
12518 2004-04-20 Michael Koch <konqueror@gmx.de>
12520 * java/nio/Buffer.java,
12521 java/nio/channels/AlreadyConnectedException.java,
12522 java/nio/channels/AsynchronousCloseException.java,
12523 java/nio/channels/ByteChannel.java,
12524 java/nio/channels/CancelledKeyException.java,
12525 java/nio/channels/Channel.java,
12526 java/nio/channels/Channels.java,
12527 java/nio/channels/ClosedByInterruptException.java,
12528 java/nio/channels/ClosedChannelException.java,
12529 java/nio/channels/ClosedSelectorException.java,
12530 java/nio/channels/ConnectionPendingException.java,
12531 java/nio/channels/DatagramChannel.java,
12532 java/nio/channels/FileChannel.java,
12533 java/nio/channels/FileLock.java,
12534 java/nio/channels/FileLockInterruptionException.java,
12535 java/nio/channels/GatheringByteChannel.java,
12536 java/nio/channels/IllegalBlockingModeException.java,
12537 java/nio/channels/IllegalSelectorException.java,
12538 java/nio/channels/InterruptibleChannel.java,
12539 java/nio/channels/NoConnectionPendingException.java,
12540 java/nio/channels/NonReadableChannelException.java,
12541 java/nio/channels/NonWritableChannelException.java,
12542 java/nio/channels/NotYetBoundException.java,
12543 java/nio/channels/NotYetConnectedException.java,
12544 java/nio/channels/OverlappingFileLockException.java,
12545 java/nio/channels/Pipe.java,
12546 java/nio/channels/ReadableByteChannel.java,
12547 java/nio/channels/ScatteringByteChannel.java,
12548 java/nio/channels/SelectableChannel.java,
12549 java/nio/channels/SelectionKey.java,
12550 java/nio/channels/Selector.java,
12551 java/nio/channels/ServerSocketChannel.java,
12552 java/nio/channels/SocketChannel.java,
12553 java/nio/channels/UnresolvedAddressException.java,
12554 java/nio/channels/UnsupportedAddressTypeException.java,
12555 java/nio/channels/WritableByteChannel.java,
12556 java/nio/channels/spi/AbstractInterruptibleChannel.java,
12557 java/nio/channels/spi/AbstractSelectableChannel.java,
12558 java/nio/channels/spi/AbstractSelectionKey.java,
12559 java/nio/channels/spi/AbstractSelector.java,
12560 java/nio/channels/spi/SelectorProvider.java,
12561 java/nio/charset/spi/CharsetProvider.java:
12562 Fixed javadocs and jalopied all over java.nio.
12564 2004-04-20 Michael Koch <konqueror@gmx.de>
12566 * java/nio/ByteBufferImpl.java,
12567 java/nio/CharBufferImpl.java,
12568 java/nio/DirectByteBufferImpl.java,
12569 java/nio/DoubleBufferImpl.java,
12570 java/nio/DoubleViewBufferImpl.java,
12571 java/nio/FloatBufferImpl.java,
12572 java/nio/FloatViewBufferImpl.java,
12573 java/nio/IntBufferImpl.java,
12574 java/nio/IntViewBufferImpl.java,
12575 java/nio/LongBufferImpl.java,
12576 java/nio/LongViewBufferImpl.java,
12577 java/nio/MappedByteBufferImpl.java,
12578 java/nio/ShortBufferImpl.java,
12579 java/nio/ShortViewBufferImpl.java:
12580 Made sure all classes are final and removed final keyword from all
12583 2004-04-20 Michael Koch <konqueror@gmx.de>
12585 * java/rmi/MarshalledObject.java,
12586 java/rmi/Naming.java,
12587 java/rmi/RemoteException.java,
12588 java/rmi/activation/ActivationException.java,
12589 java/rmi/server/ServerCloneException.java,
12590 java/security/AccessController.java,
12591 java/security/AlgorithmParameterGenerator.java,
12592 java/security/AlgorithmParameters.java,
12593 java/security/CodeSource.java,
12594 java/security/Identity.java,
12595 java/security/IdentityScope.java,
12596 java/security/KeyPairGenerator.java,
12597 java/security/KeyStore.java,
12598 java/security/Security.java,
12599 java/security/Signature.java,
12600 java/security/SignatureSpi.java,
12601 java/security/SignedObject.java,
12602 java/security/spec/DSAParameterSpec.java,
12603 java/security/spec/DSAPrivateKeySpec.java,
12604 java/security/spec/DSAPublicKeySpec.java,
12605 java/sql/Array.java,
12606 java/sql/DatabaseMetaData.java,
12607 java/sql/ResultSet.java,
12608 java/text/ChoiceFormat.java,
12609 java/text/CollationElementIterator.java,
12610 java/text/CollationKey.java,
12611 java/text/Collator.java,
12612 java/text/DateFormat.java,
12613 java/text/DateFormatSymbols.java,
12614 java/text/DecimalFormatSymbols.java,
12615 java/text/Format.java,
12616 java/text/ParsePosition.java,
12617 java/text/RuleBasedCollator.java,
12618 java/text/SimpleDateFormat.java,
12619 java/text/StringCharacterIterator.java,
12620 java/util/Collections.java,
12621 java/util/PropertyResourceBundle.java,
12622 java/util/ResourceBundle.java,
12623 java/util/StringTokenizer.java,
12624 java/util/jar/Attributes.java,
12625 java/util/logging/ConsoleHandler.java,
12626 java/util/logging/LogManager.java,
12627 java/util/logging/MemoryHandler.java,
12628 java/util/logging/SocketHandler.java,
12629 javax/naming/NamingException.java:
12630 Fixed javadoc, coding style and argument names all over.
12632 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
12634 * java/io/FileDescriptor.java: (FileDescriptor) Added public
12635 constructor. (valid) Added null check.
12637 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
12639 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
12640 * java/io/FileOutputStream.java
12641 (FileOutputStream) Reorganized constructors. Constructors now
12642 check whether the given path is directory.
12644 2004-04-20 Michael Koch <konqueror@gmx.de>
12646 * java/net/Authenticator.java,
12647 java/net/BindException.java,
12648 java/net/ConnectException.java,
12649 java/net/ContentHandler.java,
12650 java/net/ContentHandlerFactory.java,
12651 java/net/DatagramPacket.java,
12652 java/net/DatagramSocket.java,
12653 java/net/DatagramSocketImpl.java,
12654 java/net/DatagramSocketImplFactory.java,
12655 java/net/FileNameMap.java,
12656 java/net/HttpURLConnection.java,
12657 java/net/Inet4Address.java,
12658 java/net/Inet6Address.java,
12659 java/net/InetAddress.java,
12660 java/net/InetSocketAddress.java,
12661 java/net/JarURLConnection.java,
12662 java/net/MalformedURLException.java,
12663 java/net/MulticastSocket.java,
12664 java/net/NetPermission.java,
12665 java/net/NetworkInterface.java,
12666 java/net/NoRouteToHostException.java,
12667 java/net/PasswordAuthentication.java,
12668 java/net/PortUnreachableException.java,
12669 java/net/ProtocolException.java,
12670 java/net/ServerSocket.java,
12671 java/net/Socket.java,
12672 java/net/SocketAddress.java,
12673 java/net/SocketException.java,
12674 java/net/SocketImpl.java,
12675 java/net/SocketImplFactory.java,
12676 java/net/SocketOptions.java,
12677 java/net/SocketPermission.java,
12678 java/net/SocketTimeoutException.java,
12680 java/net/URISyntaxException.java,
12682 java/net/URLClassLoader.java,
12683 java/net/URLConnection.java,
12684 java/net/URLDecoder.java,
12685 java/net/URLEncoder.java,
12686 java/net/URLStreamHandler.java,
12687 java/net/URLStreamHandlerFactory.java,
12688 java/net/UnknownHostException.java,
12689 java/net/UnknownServiceException.java:
12690 Fixed javadocs, coding style and argument names all over.
12692 2004-04-20 Michael Koch <konqueror@gmx.de>
12694 * java/lang/Byte.java,
12695 java/lang/CharSequence.java,
12696 java/lang/ClassLoader.java,
12697 java/lang/Compiler.java,
12698 java/lang/Double.java,
12699 java/lang/Float.java,
12700 java/lang/Integer.java,
12701 java/lang/Long.java,
12702 java/lang/Math.java,
12703 java/lang/Number.java,
12704 java/lang/Package.java,
12705 java/lang/Runtime.java,
12706 java/lang/RuntimePermission.java,
12707 java/lang/SecurityManager.java,
12708 java/lang/Short.java,
12709 java/lang/StringBuffer.java,
12710 java/lang/System.java,
12711 java/lang/ThreadGroup.java,
12712 java/lang/Throwable.java,
12713 java/lang/reflect/InvocationHandler.java,
12714 java/lang/reflect/Proxy.java:
12715 Fixed javadocs, coding style and argument names all over.
12717 2004-04-20 Michael Koch <konqueror@gmx.de>
12719 * java/io/BufferedWriter.java,
12720 java/io/ByteArrayInputStream.java,
12721 java/io/CharArrayWriter.java,
12722 java/io/DataInput.java,
12723 java/io/DataInputStream.java,
12725 java/io/FilterInputStream.java,
12726 java/io/InputStream.java,
12727 java/io/InputStreamReader.java,
12728 java/io/ObjectInputStream.java,
12729 java/io/ObjectStreamClass.java,
12730 java/io/PipedInputStream.java,
12731 java/io/PipedReader.java,
12732 java/io/PushbackInputStream.java,
12733 java/io/PushbackReader.java,
12734 java/io/RandomAccessFile.java,
12735 java/io/SerializablePermission.java,
12736 java/io/StreamTokenizer.java,
12737 java/io/StringWriter.java,
12738 java/io/WriteAbortedException.java,
12739 java/io/Writer.java:
12740 Fixed javadocs all over, rename arguments to match javadocs,
12741 fixed coding style.
12743 2004-04-20 Ingo Proetel <proetel@aicas.com>
12745 * java/awt/FontMetrics.java:
12746 (charsWidth): fixed accumulation of total_width
12747 (getWidth): simple default implementation
12748 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
12749 in Rectangle constructor.
12750 * java/awt/image/Raster.java (toString): Added method.
12751 * java/awt/image/SampleModel.java (<init>): Added error cause
12752 information to thrown exception.
12753 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
12755 (setDataElements): New method.
12756 (setPixels): New method.
12757 (toString): New method.
12759 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
12761 * java/awt/image/ComponentColorModel.java
12762 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
12763 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
12764 Mauve tests on this method. Improved documentation.
12766 2004-04-20 Michael Koch <konqueror@gmx.de>
12768 * javax/swing/JLayeredPane.java,
12769 javax/swing/plaf/BorderUIResource.java,
12770 javax/swing/plaf/ComponentUI.java,
12771 javax/swing/undo/CompoundEdit.java,
12772 javax/swing/undo/StateEdit.java:
12773 Fixed HTML tags in javadocs all over.
12775 2004-04-20 Michael Koch <konqueror@gmx.de>
12777 * javax/print/attribute/EnumSyntax.java
12778 (getOffset): Made protected.
12779 * javax/print/attribute/HashAttributeSet.java
12780 (HashAttributeSet): Likewise.
12781 * javax/print/attribute/ResolutionSyntax.java
12782 (getFeedResolution): Fixed typo in exception name.
12783 (getCrossFeedResolution): Likewise.
12784 * javax/print/attribute/SetOfIntegerSyntax.java
12785 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12786 * javax/print/attribute/TextSyntax.java
12787 (TextSyntax): Handle locale correctly.
12788 (hashCode): Calc better hashcode value.
12789 (equals): Fixed @return tag.
12790 (toString): New method.
12792 2004-04-20 Michael Koch <konqueror@gmx.de>
12794 * gnu/java/nio/FileLockImpl.java
12795 (static): Removed, not needed anymore.
12796 * gnu/java/nio/channels/FileChannelImpl.java
12797 (FileChannelImpl): Made final.
12798 (mode): Made private.
12799 (READ, WRITE, APPEND): Made public.
12800 (EXCL, SYNC, DSYNC): Likewise.
12801 (static): Load native JNI library, when needed.
12802 (length): Unused, removed.
12803 (available): Made public.
12804 (implPosition): Throws IOException.
12806 (implTruncate): Likewise.
12807 (unlock): Likewise.
12810 2004-04-20 Michael Koch <konqueror@gmx.de>
12812 * java/awt/AWTPermission.java,
12813 java/awt/Component.java,
12814 java/awt/ComponentOrientation.java,,
12815 java/awt/Dialog.java,
12816 java/awt/FontMetrics.java,
12817 java/awt/Graphics.java,
12818 java/awt/datatransfer/DataFlavor.java,
12819 java/beans/Introspector.java,
12820 java/beans/PropertyEditor.java,
12821 java/beans/PropertyEditorManager.java,
12822 java/beans/beancontext/BeanContextServiceProvider.java:
12823 Fixed HTML tags in javadocs all over.
12825 2004-04-20 Mark Wielaard <mark@klomp.org>
12827 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
12828 MissingResourceException is thrown.
12829 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
12830 null when a MissingResourceException is thrown. Should never happen.
12832 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
12834 * java/awt/image/DataBufferShort.java,
12835 java/awt/image/DataBufferFloat.java,
12836 java/awt/image/DataBufferDouble.java,
12837 java/awt/image/PixelInterleavedSampleModel.java: New files.
12838 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
12839 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
12841 2004-04-20 Michael Koch <konqueror@gmx.de>
12843 * Makefile.am (java_source_files): Added
12844 java/awt/image/DataBufferDouble.java,
12845 java/awt/image/DataBufferFloat.java,
12846 java/awt/image/DataBufferShort.java and
12847 java/awt/image/PixelInterleavedSampleModel.java.
12848 * Makefile.in: Regenerated.
12850 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
12852 * gcj/cni.h (JvAllocObject): Remove these obsolete,
12853 undocumented CNI calls.
12854 * include/java-interp.h (_Jv_InterpClass): No longer
12855 extends java.lang.Class.
12856 * java/lang/Class.h (Class): Add new field `aux_info'.
12857 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
12858 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
12859 Use Class->aux_info instead.
12860 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
12861 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
12862 Use Class->aux_info instead.
12863 * java/io/natObjectInputStream.cc (allocateObject): Use
12865 * java/lang/natClass.cc (newInstance): Likewise.
12866 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
12867 * java/lang/natObject.cc (clone): Likewise.
12868 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
12869 * java/lang/natVMClassLoader.cc (defineClass): Don't use
12870 JvAllocObject. Allocate klass->aux_info here for interpreted
12873 2004-04-17 Mark Wielaard <mark@klomp.org>
12875 * javax/swing/JToggleButton.java (ToggleButtonModel):
12876 Make public static inner class.
12877 * javax/swing/JTabbedPane.java (setComponentAt):
12878 Call Page.setComponent().
12879 (SCROLL_TAB_LAYOUT): Make public, value is 1.
12880 (WRAP_TAB_LAYOUT): Make public, value is 0.
12881 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
12882 Make private static inner class.
12884 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
12886 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
12887 arguments to match new signature. Remove FIXME comments.
12889 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
12891 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
12893 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
12896 2004-04-02 Olga Rodimina <rodimina@redhat.com>
12898 * Makefile.am: Added new file.
12899 * Makefile.in: Regenerate.
12900 * javax/swing/ImageIcon.java:
12901 (ImageIcon(file)): set description of the icon
12903 * javax/swing/JCheckBoxMenuItem.java:
12904 Mostly Implemented. Work in progress.
12905 * javax/swing/JRadioButtonMenuItem.java:
12906 Reimplement constructors to use JToggleButtonModel.
12907 * javax/swing/plaf/basic/BasicIconFactory.java:
12908 (getCheckBoxMenuItemIcon): return check box
12910 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12911 paint menu item selected only when it is armed and
12914 2004-04-02 David Jee <djee@redhat.com>
12916 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12917 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
12918 * java/awt/Component.java
12919 (add): Set the parent of the popup as this component.
12920 * java/awt/PopupMenu.java
12921 (addNotify): Create popup menu when peer is null.
12922 (show): Call addNotify() if peer is null.
12923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12924 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
12925 argument for gtk_menu_popup() as zero. This causes the popup menu to
12926 respond to any mouse button.
12928 2004-03-31 Olga Rodimina <rodimina@redhat.com>
12930 * Makefile.am: Added new file.
12931 * Makefile.in: Regenerate.
12932 * javax/swing/JRadioButtonMenuItem.java:
12934 * javax/swing/plaf/basic/BasicIconFactory.java:
12935 (getRadioButtonMenuItemIcon): Return
12937 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12938 (getPreferredSize): Add size of checkIcon if it
12940 (installDefaults): Don't initialize checkIcon.
12941 It's value will be set in subclasses.
12942 (uninstallDefaults): remove uninstallation of
12944 (paint): Moved code to paintMenuItem().
12945 (paintMenuItem): Implemented.
12946 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
12947 UI delegate for JRadioButtonMenuItem.
12949 2004-03-29 Olga Rodimina <rodimina@redhat.com>
12951 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12952 Corrected position of the accelerator.
12954 2004-03-29 Olga Rodimina <rodimina@redhat.com>
12956 * Makefile.am: Added new file.
12957 * Makefile.in: Regenerate.
12958 * javax/swing/JMenuItem.java: Partly
12959 implemented. Work in progress
12960 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12961 Changed default value of acceleratorDelimiter.
12962 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12963 New class. Partly implemented.
12965 2004-03-26 Mark Wielaard <mark@klomp.org>
12967 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12968 (item_activate): Declare label before use.
12969 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12970 (gtkSetFont): Removed unused variable label.
12971 (addExposeFilter): Declare variables before use.
12972 (removeExposeFilter): Likewise.
12973 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12974 (ok_clicked): Declare str_fileName before use.
12976 2004-03-26 David Jee <djee@redhat.com>
12978 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
12979 (addSeparator): Remove.
12980 * java/awt/Menu.java
12981 (separator): Remove static final MenuItem field.
12982 (separatorLabel): New static final String field.
12983 (addSeparator): Do not use peer method; use add(MenuItem) instead.
12984 Use separatorLabel to denote that it is a separator.
12985 (insertSeparator): Create a new MenuItem with separatorLabel, instead
12986 of reusing the static separator instance, because a MenuItem instance
12987 can't be added more than once without being cloned.
12988 * java/awt/peer/MenuPeer.java
12989 (addSeparator): Remove from interface.
12991 2004-03-26 David Jee <djee@redhat.com>
12993 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
12994 (connectSignals): New native method declaration.
12995 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
12996 * java/awt/MenuItem.java
12997 (getActionCommand): Return the label if the action command is not set.
12998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
12999 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
13000 gtk_menu_shell_append().
13001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
13002 (item_activate): Fix argument type.
13003 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
13005 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
13007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
13008 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
13009 given. Add the menu widget's top-level GtkWindow to the global window
13010 group, so it can grab the pointer.
13011 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
13012 gtk_menu_shell_append().
13014 2004-03-23 Graydon Hoare <graydon@redhat.com>
13016 * java/text/AttributedString.java
13017 (addAttribute): Fix off-by-one.
13018 (getIterator): Likewise.
13019 * java/text/AttributedStringIterator.java
13020 (getRunLimit): Correct logic.
13021 (getRunStart): Likewise.
13022 (getAttribute): Fix inequality.
13023 (getAttributes): Likewise.
13024 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
13026 2004-03-23 Kim Ho <kho@redhat.com>
13028 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13029 (calculateSizes): Return real width and height.
13031 2004-03-23 Kim Ho <kho@redhat.com>
13033 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
13034 (calculateTabRects): Set the selectedRun before
13035 trying to rotate tabs.
13037 2004-03-23 Kim Ho <kho@redhat.com>
13039 * Makefile.am: New file
13040 * Makefile.in: Regenerate
13041 * java/awt/Graphics.java: (drawRect):
13042 Draw to the correct point.
13043 * javax/swing/DefaultSingleSelectionModel.java
13044 (isSelected): Return true if the selected index
13046 * javax/swing/JLabel.java: Do not change mnemonic
13047 index if text is null.
13048 * javax/swing/JProgressBar.java: Use JComponent's
13050 * javax/swing/JScrollBar.java: Ditto.
13051 * javax/swing/JSlider.java: Ditto.
13052 * javax/swing/JTabbedPane.java: Reimplement.
13053 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13054 Add defaults for TabbedPane.
13055 * javax/swing/plaf/basic/BasicArrowButton.java:
13057 * javax/swing/plaf/basic/BasicProgressBarUI.java:
13058 (paintDeterminate): Don't paint String if it's
13060 (paintIndeterminate): ditto.
13061 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13064 2004-03-19 Michael Koch <konqueror@gmx.de>
13066 * java/awt/image/AffineTransformOp.java
13067 (AffineTransformOp): Made public.
13068 * javax/swing/JComponent.java
13069 (listenerList): Made protected.
13070 (accessibleContext): Likewise.
13071 * javax/swing/JList.java
13072 (valueChanged): Dont use internal fields of ListSelectionEvent.
13073 * javax/swing/JViewport.java
13074 (getView): Dont use internal fields of Component.
13075 (addImpl): Likewise.
13076 * javax/swing/Timer.java
13077 (isRunning): Made public.
13080 * javax/swing/UIDefaults.java
13081 (getInt): Made public.
13082 * javax/swing/plaf/basic/BasicListUI.java
13083 (mousePressed): Dont use internal fields of MouseEvent.
13084 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13085 * javax/swing/plaf/basic/BasicScrollBarUI.java
13086 (arrowIcon): Made static.
13087 * javax/swing/plaf/basic/BasicViewportUI.java
13088 (stateChanged): Dont use internal field on ChangeEvent.
13089 * javax/swing/text/JTextComponent.java
13090 (getUI): Call UIManager.getUI().
13091 (updateUI): Use getUI().
13093 2004-03-19 Graydon Hoare <graydon@redhat.com>
13095 * javax/swing/JComponent.java: Turn off double buffer by default.
13096 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
13097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13098 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
13099 Use cairo to copy areas.
13100 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
13101 Initialize and set clip region.
13103 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
13105 * java/applet/Applet.java (preferredSize): Override deprecated
13106 variant of getPreferredSize.
13107 (minimumSize): Override deprecated variant of getMinimumSize.
13109 2004-03-15 Olga Rodimina <rodimina@redhat.com>
13111 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13112 (drawImage(img,xform,bgcolor,obs)): New Method.
13113 Helper function that every drawImage method will
13115 (drawRaster): Added new parameter, bgcolor. All
13116 transparent pixels are changed to bgcolor before
13118 (drawRenderedImage): Fixed to use changed drawRaster().
13119 (drawImage(image,xform,obs): Fixed to use new helper function
13120 (drawImage(image,op,x,y)): Ditto.
13121 (drawImage (img,x,y,observer)): Ditto.
13122 ((PainterThread) bgcolor): New Field.
13123 ((PainterThread) (setPixels)): Changed all transparent pixels
13125 (drawImage(img,x,y,width,height,bgcolor,observer)):
13126 Fixed FIXME - all the transparent pixels are
13127 changed to the specified bgcolor.
13128 (drawImage(img, x, y, width, height, observer): Changed to
13129 use function above.
13130 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
13131 Fixed FIXME- changed all transparent pixels to bgcolor.
13132 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
13133 Changed to use function above.
13135 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
13137 * java/applet/Applet.java (dimensions): New field.
13138 (getDimensions): New method.
13139 (getPreferredSize): Call getDimensions.
13140 (getMinimumSize): Likewise.
13142 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
13144 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
13145 * jni/classpath/jnilink.c: Likewise.
13147 * java/applet/Applet.java (getPreferredSize): New method.
13148 (getMinimumSize): New method.
13150 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
13152 * prims.cc (_Jv_AllocObject): Remove `size' argument.
13153 (_Jv_AllocObjectNoFinalizer): Likewise.
13154 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
13155 (_Jv_AllocPtrFreeObject): Likewise.
13156 (_Jv_AllocString): Moved from natString.cc. Call collector interface
13157 directly even in the JVMPI case.
13158 * gcj/cni.h (JvAllocObject): Remove `size' argument from
13159 _Jv_AllocObject calls.
13160 * gcj/javaprims.h: Update prototypes.
13161 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
13162 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
13163 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
13165 2004-04-14 Andrew Haley <aph@redhat.com>
13166 Bryce McKinlay <mckinlay@redhat.com>
13168 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
13169 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
13170 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
13172 * testsuite/libjava.lang/InvokeInterface.java: New file.
13173 * testsuite/libjava.lang/InvokeInterface.out: New file.
13175 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
13177 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
13179 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
13180 StackTraceElement directly.
13181 (newElement): New native helper method to create StackTraceElement
13182 bypassing Java access control.
13183 (createStackTraceElement): Use newElement() instead of directly
13184 calling StackTraceElement's constructor.
13185 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
13187 2004-04-01 Michael Koch <konqueror@gmx.de>
13189 * java/lang/SecurityManager.java
13190 (checkAwtEventQueueAccess): Implemented.
13192 2004-04-01 Gary Benson <gbenson@redhat.com>
13194 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
13195 (_Jv_SearchMethodInClass): Likewise.
13197 2004-03-26 Peter Moon <peterm@miraculum.com>
13199 * java/text/NumberFormat.java: Fix spelling of setCurrency
13202 2004-03-21 Anthony Green <green@redhat.com>
13204 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
13205 recursion when searching for the system ClassLoader.
13207 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
13209 * java/net/ServerSocket.java
13210 (accept): Close the socket when error occured.
13212 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
13214 * java/net/URI.java (parseURI): Added unquoting.
13215 (unquote): New method.
13216 (quoteAuthority): Implemented.
13217 (quote(String,String)): New method.
13218 (quotePath): Implemented.
13219 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
13220 (getSchemeSpecificPart): Removed FIXME comment.
13221 (getRawAuthority): Return new rawAuthority field.
13222 (getAuthority): Removed FIXME comment.
13223 (getRawUserInfo): Return new rawUserInfo field.
13224 (getUserInfo): Removed FIXME comment.
13225 (getRawPath): Return new rawPath field.
13226 (getPath): Removed FIXME comment.
13227 (getRawQuery): Return new rawQuery field.
13228 (getQuery): Removed FIXME comment.
13229 (getRawFragment): Return new rawFragment field.
13230 (getFragment): Removed FIXME comment.
13232 2004-03-20 Michael Koch <konqueror@gmx.de>
13234 * java/net/URLConnection.java: Merged copyright year with classpath.
13236 2004-03-20 Norbert Frese <postfach@nfrese.net>
13238 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
13239 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
13240 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
13242 (getObjectInputStream): Return object reference, throw IOException if null.
13243 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
13244 (getObjectOutputStream): Return object reference, throw IOException if null.
13245 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
13246 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
13247 (UnicastConnectionManager): Throw RemoteException if port is not available.
13248 (getInstance): Throw RemoteException.
13249 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
13250 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
13251 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13252 Collect Exceptions which are returned by a rmi-call and fix void returns.
13253 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13254 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13255 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13256 (dispatch): Answer ping messages which are sent by other java implementions.
13257 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13258 for every rmi-message and fix void return problems.
13259 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13260 (UnicastServerRef): Throw RemoteException.
13261 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13262 In some situations it is necessary to export a subclass of the class which has the _Stub.
13263 For instance when the class with has the _Stub is abstract.
13264 (findStubSkelClass): New method which looks for the class which has the _Stub.
13265 (getClientHost): Implementated.
13266 * gcc/libjava/java/rmi/server/RemoteServer.java
13267 (getClientHost): Implementated.
13268 * gcc/libjava/Makefile.am (rmi_java_source_files):
13269 Added gnu/java/rmi/server/RMIIncomingThread.java.
13270 * Makefile.in: Regenerated.
13272 2004-03-20 Michael Koch <konqueror@gmx.de>
13274 * java/net/InetAddress.java
13275 (getLocalHostname): Added javadoc.
13277 2004-03-19 Per Bothner <per@bothner.com>
13279 * configure.in: FILE variable overrides FLATFORM when linking
13280 natFileChannelXXX.cc.
13282 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
13283 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
13285 2004-03-19 Per Bothner <per@bothner.com>
13287 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
13288 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
13289 * Makefile.am: Update accordingly.
13290 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
13291 as aliases for UnicodeLittle and UnicodeBig.
13293 2004-03-20 Mark Wielaard <mark@klomp.org>
13295 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13296 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13297 Don't access ws when it is null.
13298 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13301 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
13303 * java/lang/ThreadGroup.java (list): Changed print to println.
13305 2004-03-19 Mark Wielaard <mark@klomp.org>
13307 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
13310 2004-02-10 Randolph Chung <tausq@debian.org>
13312 * configure.in: Build java for hppa target.
13313 * configure: Regenerate.
13314 * libjava/configure.host (hppa-*): Add target.
13315 * libjava/sysdeps/pa/lock.h: New file.
13317 2004-03-19 Mark Wielaard <mark@klomp.org>
13319 Reported by Stephen Crawley
13320 * java/io/FilePermission.java (implies): Use String.length() -1 to
13321 access last char of String.
13323 2004-03-19 Michael Koch <konqueror@gmx.de>
13325 * java/awt/image/AffineTransformOp.java
13326 (AffineTransformOp): Made public.
13327 * javax/swing/JComponent.java
13328 (listenerList): Made protected.
13329 (accessibleContext): Likewise.
13330 * javax/swing/JList.java
13331 (valueChanged): Dont use internal fields of ListSelectionEvent.
13332 * javax/swing/JViewport.java
13333 (getView): Dont use internal fields of Component.
13334 (addImpl): Likewise.
13335 * javax/swing/Timer.java
13336 (isRunning): Made public.
13339 * javax/swing/UIDefaults.java
13340 (getInt): Made public.
13341 * javax/swing/plaf/basic/BasicListUI.java
13342 (mousePressed): Dont use internal fields of MouseEvent.
13343 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13344 * javax/swing/plaf/basic/BasicScrollBarUI.java
13345 (arrowIcon): Made static.
13346 * javax/swing/plaf/basic/BasicViewportUI.java
13347 (stateChanged): Dont use internal field on ChangeEvent.
13348 * javax/swing/text/JTextComponent.java
13349 (getUI): Call UIManager.getUI().
13350 (updateUI): Use getUI().
13352 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13354 * verify.cc: Undef PC.
13356 2004-03-18 Michael Koch <konqueror@gmx.de>
13358 * java/nio/channels/spi/AbstractSelectableChannel.java
13359 (keys): Initialize at declaration.
13360 (locate): keys cant be null.
13362 (addSelectionKey): New method.
13363 (removeSelectionKey): New method.
13364 * java/nio/channels/spi/AbstractSelectionKey.java
13365 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13366 * java/nio/channels/spi/AbstractSelector.java
13367 (provider): Javadoc added.
13368 (cancelledKeys): Javadoc added.
13369 (cancelKey): Javadoc added, add key to cancelledKeys.
13370 (deregister): Implemented.
13372 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13374 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
13375 MAP_FAILED to void *.
13377 2004-03-12 Graydon Hoare <graydon@redhat.com>
13379 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
13380 * javax/swing/JComponent.java (paint): Use persistent double buffer.
13381 * javax/swing/JList.java (ListListener): Revalidate on changes.
13382 * javax/swing/JScrollPane.java: Reimplement.
13383 * javax/swing/JViewport.java: Reimplement.
13384 * javax/swing/ScrollPaneLayout.java: Reimplement.
13385 * javax/swing/ViewportLayout.java: Tidy up.
13386 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
13387 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
13388 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
13389 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
13390 backing store only.
13392 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
13394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13395 (window_wm_protocols_filter): New function.
13396 (window_focus_in_cb): Remove function.
13397 (window_focus_out_cb): Likewise.
13398 (window_focus_or_active_state_change_cb): New function.
13399 (create): Add filter that removes WM_TAKE_FOCUS client messages.
13400 (connectSignals): Don't attach handlers to focus-in-event or
13401 focus-out-event signals. Handle notify signal.
13403 2004-03-11 David Jee <djee@redhat.com>
13405 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13406 (gtkSetLabel): New native method declaration.
13407 (setLabel): Use gtkSetLabel.
13408 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13409 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
13411 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
13413 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
13414 black when color argument is null.
13416 2004-03-10 Kim Ho <kho@redhat.com>
13418 * java/awt/Container.java: Remove check
13421 2004-03-10 Kim Ho <kho@redhat.com>
13423 * java/awt/Container.java: (visitChild):
13424 Remove candidate clip. Use the component
13426 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13427 (handleEvent): Use the PaintEvent's clip.
13429 2004-03-10 Kim Ho <kho@redhat.com>
13431 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
13432 (handleEvent): Don't set the clip for the
13435 2004-03-09 Graydon Hoare <graydon@redhat.com>
13437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
13438 Fix double <-> fixed macros, reset font transform.
13439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13442 2004-03-09Â Kim Ho <kho@redhat.com>
13444 * java/awt/Container.java: (visitChild): Move
13445 the x and y coordinate of the component rectangle
13446 to correct position.
13447 (handleEvent): Forward drag events to the pressed
13449 * javax/swing/plaf/basic/BasicScrollBarUI.java:
13451 (ArrowButtonListener::mousePressed): Stop the
13453 (mouseDragged): Implement.
13454 (TrackListener::mousePressed): Only react if
13455 the press doesn't occur on the thumb, otherwise
13456 just set the offset.
13457 (TrackListener::mouseReleased): Unset the isAdjusting
13459 (createIncreaseIcon): Switch icon.
13460 (createDecreaseIcon): Switch icon.
13461 (calculatePreferredSize): Use width.
13462 (getThumbBounds): Use the top as the lower value.
13463 (layoutVScrollBar): Switch the button locations.
13464 (paintIncreaseHighlight): Paint correct side of thumb.
13465 (paintDecreaseHighlight): ditto.
13466 (valueForYPosition): Use top as the lower value.
13467 * javax/swing/plaf/basic/BasicSliderUI.java:
13469 (mouseDragged): Implement.
13470 (mousePressed): Only react when the thumb isn't
13471 pressed, otherwise just set offset.
13472 (mouseReleased): Handle a release of the thumb.
13473 (scrollDueToClickInTrack): Stop the timer first.
13474 * javax/swing/JProgressBar.java:
13475 (setString): Fix change condition.
13476 * javax/swing/JSeparator.java:
13479 2004-03-08 David Jee <djee@redhat.com>
13481 * java/awt/image/AffineTransformOp.java:
13482 (filter): Use Graphics2D interface instead of directly using the
13483 GdkGraphics2D peer.
13485 2004-03-05 David Jee <djee@redhat.com>
13487 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
13488 (handleEvent): Action events are generated upon MOUSE_RELEASED.
13489 * java/awt/Container.java
13490 (acquireComponentForMouseEvent): Fixed.
13491 (handleEvent): Fixed.
13492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13493 (state_to_awt_mods_with_button_states): New method.
13494 (pre_event_handler): Fixed mouse event generation.
13496 2004-03-05 Olga Rodimina <rodimina@redhat.com>
13498 gnu/java/awt/peer/gtk/GdkGraphics2D.java
13499 (GdkGraphics2D (BufferedImage)): Initialize
13500 pixmap associated with specified BufferedImage.
13501 (setPaint): Changed implementation of Texture
13502 Paint to use AffineTransformOp.
13503 * java/awt/image/AffineTransformOp.java
13504 (createCompatibleDestRaster): Throw RasterFormatException
13505 if resulting width or height of raster is 0.
13507 2004-03-04 Olga Rodimina <rodimina@redhat.com>
13509 * java/awt/image/AffineTransformOp.java:
13510 Removed unnecessary field interpolationType.
13511 Formatted some of the lines to be consistent with
13513 (AffineTransformOp): Create new RenderingHints
13514 containing specified interpolation type.
13515 (createCompatibleDestImage): Implemented.
13516 (createCompatibleDestRaster): Implemented.
13517 (filter): Implemented.
13518 (getBounds2D(BufferedImage)): Implemented.
13519 (getBounds2D(Raster)): Implemented.
13520 (getInterpolationType): Get interpolation value from
13523 2004-03-04 David Jee <djee@redhat.com>
13525 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13526 (setFont): Check if child peers are null.
13528 2004-03-04 Graydon Hoare <graydon@redhat.com>
13530 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
13531 .libs in -L option.
13532 (libjava_arguments): Add new libraries to argument list.
13534 2004-03-02 Olga Rodimina <rodimina@redhat.com>
13536 * Makefile.am: Added java/awt/image/AffineTransformOp.java
13537 * Makefile.in: Re-generated.
13538 * java/awt/image/AffineTransformOp.java: New Class.
13540 2004-03-01 Olga Rodimina <rodimina@redhat.com>
13542 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13543 (setPaint): Interpret correctly TexturePaint's
13545 (drawImage): Fixed scale factors of the affine
13548 2004-02-27 David Jee <djee@redhat.com>
13550 * gnu/java/awt/peer/gtk/GdkGraphics.java
13551 (GdkGraphics(Component)): Inherit font from component.
13552 (drawString): Use font style.
13553 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13554 (gtkSetFont): New native method declaration.
13555 (setFont): New method.
13556 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13557 (gtkSetFont): New native method declaration.
13558 (setFont): Call new native method gtkSetFont.
13559 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13560 (setFont): For all child components who do not their fonts set,
13561 set their peers' fonts with this container's font.
13562 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
13563 Move all native method declarations to the top for readability.
13564 (gtkSetFont): New native method declaration.
13565 (setFont): New method.
13566 * java/awt/Component.java
13567 (setFont): Invalidate after setting the font.
13568 * java/awt/Container.java
13569 (invalidateTree): New method.
13570 (setFont): Invalidate the container tree after setting the font.
13571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13572 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
13573 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13574 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
13575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13576 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
13577 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
13578 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
13580 2004-02-27 Olga Rodimina <rodimina@redhat.com>
13582 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13583 (updateBufferedImage): New helper function.
13584 Updates BufferedImage in memory if it was changed.
13585 (draw): changed to update BufferedImage in memory after
13586 this drawing operation
13588 (draw3DRect): Ditto.
13589 (fill3DRect): Ditto.
13590 (clearRect): Ditto.
13591 (drawRaster): Ditto.
13592 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
13593 no affine transformation.
13594 (drawGlyphVector): Ditto.
13596 2004-02-26 Olga Rodimina <rodimina@redhat.com>
13598 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13599 (isBufferedImageGraphics): New Helper function.
13600 Returns true if this graphics2d can be used to draw
13601 into buffered image and false otherwise.
13602 (updateImagePixels): New Helper function.
13603 Updates pixels in the BufferedImage.
13604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13605 (getImagePixels): New function. Returns pixels
13606 of the buffered image associated with
13609 2004-02-26 David Jee <djee@redhat.com>
13611 * java/awt/BorderLayout.java
13612 (layoutContainer): Fix width and height calculations to ensure
13613 that they're non-negative.
13614 * java/awt/Component.java
13615 (setBackground): If c is null, inherit from closest ancestor whose
13616 background color is set.
13618 2004-02-26 Kim Ho <kho@redhat.com>
13620 * Makefile.am: Add new files.
13621 * Makefile.in: Re-generate.
13622 * javax/swing/JProgressBar.java:
13623 (JProgressBar(int, int int)): Throw
13624 IllegalArgumentException if orientation is
13626 (JProgressBar(BoundedRangeModel)): Create
13627 ChangeListener and register it. UpdateUI.
13628 (getChangeListeners): Implement.
13629 (setModel): Reset ChangeListener.
13630 * javax/swing/JScrollBar.java: Implement.
13631 * javax/swing/JSeparator.java: Implement.
13632 * javax/swing/JSlider.java:
13633 (JSlider(int, int, int, int)): Throw
13634 IllegalArgumentException if orientation
13636 (getChangeListeners): Fix method name.
13637 * javax/swing/SwingUtilities.java:
13638 (layoutCompoundLabel): If there is no text,
13639 set the text rectangle dimensions to 0.
13640 * javax/swing/plaf/basic/BasicButtonUI.java:
13641 (paint): If there is no text, don't paint it.
13642 * javax/swing/plaf/basic/BasicScrollBarUI.java:
13644 * javax/swing/plaf/basic/BasicSeparatorUI.java:
13646 * javax/swing/plaf/basic/BasicSliderUI.java:
13647 (propertyChange): If the model changes, change
13648 the listeners accordingly.
13650 2004-02-25 Graydon Hoare <graydon@redhat.com>
13652 * javax/swing/AbstractButton.java: Add "final" qualifiers.
13653 * javax/swing/JList.java: Reimplement.
13654 * javax/swing/DefaultListSelectionModel.java: Reimplement.
13655 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
13656 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
13657 * javax/swing/ListModel.java: Javadoc.
13658 * javax/swing/ListSelectionModel.java: Add missing methods.
13659 * javax/swing/AbstractListModel.java: Javadoc and corrections.
13660 * javax/swing/DefaultListModel.java: Javadoc and corrections.
13661 * javax/swing/ListModel.java: Javadoc and corrections.
13662 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
13664 2004-02-25 David Jee <djee@redhat.com>
13666 * gnu/java/awt/peer/gtk/GtkFontPeer.java
13667 (GtkFontPeer): Change default size to 12.
13668 * gnu/java/awt/peer/gtk/GtkToolkit.java
13669 (getFontPeer): Change default size to 12.
13670 (getClasspathFontPeer): Likewise. Set default name to "Default".
13671 * java/awt/Font.java
13672 (Font(Map)): Call Font(String,Map).
13673 (Font(String,Map)): If attrs is null, initialize it as an empty
13674 HashMap, which will ensure that the Font will get default attributes.
13676 2004-02-25 David Jee <djee@redhat.com>
13678 * gnu/java/awt/peer/gtk/GtkFontPeer.java
13679 (GtkFontPeer(String,int)): Call the new constructor with size 1.
13680 (GtkFontPeer(String,int,int)): New constructor with size attribute.
13681 * gnu/java/awt/peer/gtk/GtkToolkit.java
13682 (getFontPeer(String,int)): Call the new overload method with size 1.
13683 (getFontPeer(String,int,int)): New method. Overloaded with size
13685 (getClasspathFontPeer): Set the size of the font.
13687 2004-02-24 Olga Rodimina <rodimina@redhat.com>
13689 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13690 (bimage): New field.
13691 (GdkGraphics2D): New Constructor. Constructs Graphics
13692 object that can be used to draw into the Buffered Image.
13693 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13694 (GdkGraphicsEnvironment): Fixed to include public
13696 (createGraphics): Implemented.
13697 * gnu/java/awt/peer/gtk/GtkToolkit.java
13698 (getLocalGraphicsEnvironment): Implemented.
13699 * java/awt/GraphicsEnvironment.java:
13700 (getLocalGraphicsEnvironment): Implemented.
13701 * java/awt/image/BufferedImage.java:
13702 (createGraphics): Implemented.
13704 2004-02-24 David Jee <djee@redhat.com>
13706 * java/awt/Component.java
13707 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
13708 * java/awt/Container.java
13709 (addNotifyContainerChildren): Fix event enabling.
13711 2004-02-23 Olga Rodimina <rodimina@redhat.com>
13713 * Makefile.am: Added
13714 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
13715 * Makefile.in: Re-generated.
13716 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
13719 2004-02-19 Kim Ho <kho@redhat.com>
13721 * Makefile.am: Add BasicProgressBarUI
13722 * Makefile.in: Regenerate.
13723 * javax/swing/JProgressBar.java:
13725 * javax/swing/plaf/basic/BasicLookAndFeel.java
13726 Add constants for JProgressBar.
13727 * javax/swing/plaf/basic/BasicProgressBarUI.java
13729 * javax/swing/plaf/basic/BasicSliderUI.java
13731 (calculateGeometry): New method
13732 (paint): Remove unnecessary size calculations.
13734 2004-02-18 Olga Rodimina <rodimina@redhat.com>
13736 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13737 (drawRaster): Fixed small error that caused
13738 imageToUser transformation to be set incorrectly.
13739 (toString): Implemented.
13741 2004-02-18 David Jee <djee@redhat.com>
13743 * java/awt/CardLayout.java
13744 (addLayoutComponent): Show the first component added as the default.
13745 (removeLayoutComponent): After removing, show the next component.
13746 (gotoComponent): If there is only one component, show it and return.
13748 2004-02-18 Kim Ho <kho@redhat.com>
13750 * javax/swing/JSlider.java: Re-order
13752 * javax/swing/JLabel.java: Re-order
13754 * javax/swing/JComponent.java:
13755 (addPropertyChangeListener):
13757 (removePropertyChangeListener):
13759 (firePropertyChangeEvent):
13762 2004-02-17 David Jee <djee@redhat.com>
13764 * java/awt/Component.java
13765 (show): Dispatch ComponentEvent via system event queue.
13768 (resize): Likewise.
13769 (reshape): Likewise.
13770 * java/awt/Window.java
13771 (setBoundsCallback): Likewise.
13773 2004-02-17 David Jee <djee@redhat.com>
13775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13776 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
13777 Use gtk_widget_set_size_request() instead of the deprecated
13778 gtk_widget_set_usize().
13780 2004-02-17 Kim Ho <kho@redhat.com>
13782 * javax/swing/JSlider.java: Fix comments and
13783 make property strings constants.
13784 (createStandardLabels): Use the labels
13785 preferred size as bounds.
13786 * javax/swing/plaf/basic/BasicSliderUI.java
13788 (ScrollHandler::actionPerformed): Don't
13789 calculate the timer stop value. Let the
13790 MouseListeners find the stop location.
13791 (getPreferredHorizontalSize): Re-implement.
13792 (getPreferredVerticalSize): ditto.
13793 (getMinimumHorizontalSize): ditto.
13794 (getMinimumVerticalSize): ditto.
13795 (getPreferredSize): ditto.
13796 (getMinimumSize): ditto.
13797 (getMaximumSize): ditto.
13798 (paintTicks): Use doubles to find the
13800 (paintHorizontalLabel):Â Use preferredSize
13801 as initial width and height.
13802 (paintVerticalLabel): ditto.
13804 2004-02-17 Kim Ho <kho@redhat.com>
13806 * javax/swing/JLabel.java: Changed
13807 property strings to constants.
13808 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
13810 (setText): Change mnemonic index if
13812 (setDisplayedMnemonicIndex): Fire property
13814 (getDisplayedMnemonicIndex): Remove check
13815 against short text.
13817 2004-02-17 Olga Rodimina <rodimina@redhat.com>
13819 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13820 (drawImage(img,xform,obs)): Invert xform before
13821 passing the xform to cairo.
13822 (drawImage(img,x,y,bgcolor,obs)): Implemented.
13823 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
13825 (drawImage (img,x,y,w,h,obs)): Implemented.
13826 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
13827 bgcolor,obs)): Partly implemented.
13828 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
13830 * java/awt/image/BufferedImage.java:
13831 (copyData): if dest is null, create raster with same
13832 dimensions as the current image.
13834 2004-02-16 Graydon Hoare <graydon@redhat.com>
13836 * javax/swing/plaf/basic/BasicLabelUI.java
13837 (getPreferredSize): Use layoutCL.
13838 * javax/swing/plaf/basic/BasicGraphicsUtils.java
13839 (getPreferredButtonSize): Start with empty view rect, layout using
13840 component's preferred alignment.
13841 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
13844 2004-02-16 David Jee <djee@redhat.com>
13846 * java/awt/Component.java
13847 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
13848 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
13849 (move): Erase old bounds and repaint new bounds. Dispatch
13850 COMPONENT_MOVED ComponentEvent.
13851 (resize): Erase old bounds and repaint new bounds. Dispatch
13852 COMPONENT_RESIZED ComponentEvent.
13853 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13855 * java/awt/Window.java
13856 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
13859 2004-02-16 Olga Rodimina <rodimina@redhat.com>
13861 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
13862 (setRenderingHint): Added implementation of
13863 Interpolation rendering hints.
13864 (setRenderingHints): Ditto.
13865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
13866 (drawPixels): fixed to allow user to choose type
13867 of filtering that should be used when displaying images.
13868 (cairoSurfaceSetFilter): New method. Sets filter type for
13869 interpolation of pixel values.
13871 2004-02-16 David Jee <djee@redhat.com>
13873 * java/awt/GridBagLayout.java
13874 (calcCellSizes): Rows or columns with zero sizes should still be
13875 considered for extra space distribution.
13877 2004-02-16 Kim Ho <kho@redhat.com>
13879 * javax/swing/JLabel.java: Re-implement.
13880 * javax/swing/plaf/basic/BasicLabelUI.java
13882 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13885 2004-02-16 Kim Ho <kho@redhat.com>
13887 * javax/swing/JSlider.java: Fix indentation and comments.
13888 (setModel): Remove null check to conform with Sun's.
13889 (setOrientation): Throw exception if not
13890 HORIZONTAL or VERTICAL.
13891 (getInverted): Use private variable instead of
13892 ComponentOrientation.
13893 (setInverted): ditto.
13894 * javax/swing/plaf/basic/BasicSliderUI.java:
13895 Fix indentation and comments.
13896 (propertyChange): Remove check for inverted slider, handle
13898 (getMinimumSize): Return preferred size.
13899 (getMaximumSize): ditto.
13900 (calculateFocusRect): Don't relocate rectangle.
13901 (drawInverted): Return XOR of the slider's inversion and
13902 the component's orientation.
13903 (paint): Update leftToRightCache
13905 2004-02-13 David Jee <djee@redhat.com>
13907 * java/awt/GridBagLayout.java
13908 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
13909 code to helper methods.
13910 (sortBySpan): New helper method.
13911 (distributeSizeAndWeight): Likewise.
13912 (calcCellWeights): Likewise.
13913 (calcCellSizes): Add comments.
13915 2004-02-13 David Jee <djee@redhat.com>
13917 * java/awt/Component.java
13918 (show): Only do something if component is invisible at the moment.
13919 (hide): Only do something if component is visible at the moment.
13920 (reshape): If lightweight, erase old bounds and repaint new bounds.
13922 2004-02-13 Kim Ho <kho@redhat.com>
13924 * Makefile.am: Updated for new file.
13925 * Makefile.in: Regenerated.
13926 * javax/swing/JSlider.java: Reimplement.
13927 * javax/swing/SwingUtilities.java
13928 (layoutCompoundLabel): Use icon height
13930 (paintComponent): Implement.
13931 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13932 Add JSlider defaults.
13933 * javax/swing/plaf/basic/BasicSliderUI.java:
13934 Implement. New file.
13936 2004-03-17 Michael Koch <konqueror@gmx.de>
13938 * gnu/java/net/PlainDatagramSocketImpl.java
13939 (RECEIVE_LOCK): New member field.
13940 (SEND_LOCK): New member field.
13941 (send0): New method.
13942 (send): Synchronize on SEND_LOCK.
13943 (receive0): New method.
13944 (receive): Synchronize on RECEIVE_LOCK.
13945 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
13946 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
13947 gnu/java/net/natPlainDatagramSocketImplWin32.cc
13948 (send0): Renamed from send.
13949 (receive0): Renamed from receive.
13950 2004-03-17 Michael Koch <konqueror@gmx.de>
13952 * gnu/java/net/natPlainSocketImplPosix.cc
13953 (write): Just call write(jbyteArray, offset, len).
13954 (read): Just call read(jbyteArray, offset, len).
13956 2004-03-16 Michael Koch <konqueror@gmx.de>
13958 * javax/swing/JTabbedPane.java
13959 (serialVersionUID): New field.
13961 2004-03-16 Norbert Frese <postfach@nfrese.net>
13963 * java/net/InetAddress.java
13964 (getByName): Handle hostname == "" case.
13966 2004-03-16 Dalibor Topic <robilad@kaffe.org>
13968 Reported by: Adam Heath <doogie@debian.org>
13969 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
13972 2004-03-15 Michael Koch <konqueror@gmx.de>
13974 * java/util/Locale.java: Reverting my last patch
13975 and add a comment why the original version was okay.
13977 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
13979 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
13980 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
13981 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
13982 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
13984 2004-03-12 Michael Koch <konqueror@gmx.de>
13986 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
13988 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
13990 * java/net/URI.java (toURL): Implemented.
13992 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
13994 * java/net/URI.java
13995 (URI_REGEXP) updated to contain scheme specific part.
13996 (SCHEME_SPEC_PART_GROUP) new constant.
13997 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
13998 updated to make room for SCHEME_SPEC_PART_GROUP.
13999 (parseURI) parse scheme specific part.
14000 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
14001 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
14002 getQuery, getFragment) implemented.
14004 2004-03-12 Dalibor Topic <robilad@kaffe.org>
14006 * libraries/javalib/java/net/URI.java
14007 partially implemented using java.util.regex.
14008 (URI_REGEXP) new constant. Used to parse URIs.
14009 (SCHEME_GROUP) new constant representing index of scheme group
14011 (AUTHORITY_GROUP) new constant representing index of authority
14012 group in parsed URI.
14013 (PATH_GROUP) new constant representing index of path group in
14015 (QUERY_GROUP) new constant representing index of query group in
14017 (FRAGMENT_GROUP) new constant representing index of fragment
14018 group in parsed URI.
14019 (getURIGroup) new static utility method.
14020 (parseURI) implemented.
14021 (quote) stub for new static utility method.
14022 (quoteAuthority) stub for new static utility method.
14023 (quoteHost) stub for new static utility method.
14024 (quotePath) stub for new static utility method.
14025 (quoteUserInfo) stub for new static utility method.
14027 (create) don't throw URISyntaxException. Implemented.
14028 (toString) implemented.
14030 2004-03-12 Michael Koch <konqueror@gmx.de>
14032 * java/net/HttpURLConnection.java
14033 (getResponseCode): Fix another typo in javadoc.
14035 2004-03-11 Michael Koch <konqueror@gmx.de>
14037 * java/util/logging/Level.java
14038 (parse): Use String.equals() instead of ==.
14040 2004-03-11 Michael Koch <konqueror@gmx.de>
14042 * gnu/java/net/protocol/jar/Connection.java
14043 (getContentLength): New method.
14045 2004-03-11 Michael Koch <konqueror@gmx.de>
14047 * gnu/java/net/PlainSocketImpl.java:
14048 Reformated to merge better with classpath's version.
14050 2004-03-11 Michael Koch <konqueror@gmx.de>
14052 * java/util/Locale.java
14053 (getISO3Language): Use String.equals() instead of ==.
14054 (getISO3Country): Likewise.
14056 2004-03-11 Dalibor Topic <robilad@kaffe.org>
14058 * java/text/AttributedString.java
14059 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
14060 Use HashMap instead of Hashtable since value can be null, and
14061 you can not store a null value in a Hashtable.
14063 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
14065 * java/text/AttributedStringIterator.java
14066 (getAllAttributesKey): Return only keys concerned
14067 by the current iterator.
14068 (getAttributes): Use strict inequality for
14071 2004-03-11 Michael Koch <konqueror@gmx.de>
14073 * java/net/HttpURLConnection.java:
14074 Fixed typo in javadoc.
14076 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
14078 * java/io/BufferedInputStream.java (marktarget): New field for max
14080 (CHUNKSIZE): New constant for incremental mark buffer allocation.
14081 (mark): Use new fields.
14083 (read(byte[],int,int)): Likewise.
14085 (refill): Likewise.
14087 2004-03-11 Mark Wielaard <mark@klomp.org>
14089 * java/beans/BeanDescriptor.java (BeanDescriptor):
14090 Set the FeatureDescriptor programmatic name.
14092 2004-03-11 Michael Koch <konqueror@gmx.de>
14094 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
14095 This file was was just copied form java/io/natFileDescriptorEcos.cc
14096 and never changed to compile correctly.
14098 2004-03-11 Michael Koch <konqueror@gmx.de>
14100 * gnu/java/nio/PipeImpl.java
14101 (SourceChannelImpl): Made final.
14102 (read): Implemented.
14103 (SinkChannelImpl): Made final.
14104 (write): Implemented.
14106 2004-03-11 Michael Koch <konqueror@gmx.de>
14108 * gnu/java/net/PlainDatagramSocketImpl.java:
14109 Reformated to match classpath's version more.
14111 2004-03-11 Michael Koch <konqueror@gmx.de>
14113 * gnu/java/awt/peer/ClasspathFontPeer.java:
14114 Fixed javadoc to be correct xhtml.
14115 * gnu/java/awt/peer/gtk/GtkArgList.java
14116 (add): Use Boolean.valueOf() instead of new Boolean().
14118 2004-03-09 Michael Koch <konqueror@gmx.de>
14120 * java/lang/Thread.java
14121 (runnable): Moved around.
14122 (daemon): Renamed from daemon_flag.
14123 (contextClassLoader): Renamed from context_class_loader.
14124 (Thread): Reordered constructors.
14125 (activeCount): Use group directly.
14126 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
14127 (holdsLock): Reworked javadoc.
14128 (setDaemon): Reworked.
14129 * java/lang/natThread.cc
14130 (destroy): Removed.
14132 2004-03-08 Anthony Green <green@redhat.com>
14134 * Makefile.am: Build property resource files into libgcj.
14135 * Makefile.in: Rebuilt.
14136 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14137 java/util/regex/PatternSyntaxException.java,
14138 gnu/regexp/CharIndexed.java,
14139 gnu/regexp/CharIndexedCharArray.java,
14140 gnu/regexp/CharIndexedInputStream.java,
14141 gnu/regexp/CharIndexedReader.java,
14142 gnu/regexp/CharIndexedString.java,
14143 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
14144 gnu/regexp/REException.java,
14145 gnu/regexp/REFilterInputStream.java,
14146 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
14147 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
14148 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
14149 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
14150 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
14151 gnu/regexp/RETokenLookAhead.java,
14152 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
14153 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
14154 gnu/regexp/RETokenStart.java,
14155 gnu/regexp/RETokenWordBoundary.java,
14156 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
14158 2004-03-03 Per Bothner <per@bothner.com>
14160 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
14161 Optimize when argument is a FileChannelImpl.
14162 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
14163 New native methods.
14164 * java/nio/channels/natChannels.cc: New file for new native methods.
14165 * Makefile.am: Update accordingly.
14167 2004-03-02 Jan Hubicka <jh@suse.cz>
14169 * configure.host: Pass -fno-omit-frame-pointer for i386.
14170 * configure.in: Likewise.
14171 * configure: Regenerate.
14173 2004-03-01 Per Bothner <per@bothner.com>
14175 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
14177 2004-02-29 Per Bothner <per@bothner.com>
14179 * java/nio/channels/FileChannelImpl.java: Moved to package
14180 gnu/java/nio/channels, since we need to refer to it from java.io.
14181 * java/nio/channels/natFileChannelImpl.cc: Removed file.
14182 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
14183 from java/nio/channels. Don't depend on FileDescriptor.
14184 (in, out, err): New static fields.
14186 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
14187 from FileDescriptor.
14188 (by): Removed MappedByteBuffer field.
14189 (map): New working implementation.
14190 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
14191 some code "ported" from natFileDescriptoPosix.cc.
14192 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
14193 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
14194 * java/io/FileDescriptor.java: Implement on top of FileChannel.
14195 Remove native methods.
14196 * Makefile.am, configure.in: Updated accordingly.
14198 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
14199 (ch): New FileChannelImpl field. Update constructor to match.
14200 (releaseImpl): Remove native method. Instead ...
14201 (release): Call unlock on channel.
14202 * gnu/java/nio/natFileLockImpl.cc: Removed file.
14204 * java/io/natFileDescriptorEcos.cc: Remove file.
14205 * java/io/natFileDescriptorPosix.cc: Remove file.
14206 * java/io/natFileDescriptorWin32.cc: Remove file.
14207 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
14208 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
14209 (<init>(FileChannelImpl)): New package-private constructor.
14210 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
14211 (available, close, read, skip): Implement using FileChannelImpl.
14212 (getFD): Allocate FileDescriptor if needed.
14213 (getChannel): Is now trivial.
14214 * java/io/FileOutputStream.java: Corresponding changes.
14215 * java/io/RandomAccessFile.java: Corresponding changes.
14217 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
14218 unmapImpl): New dummy methods, to be overridden by subclass.
14219 (finalize, isLoaded, load, force): New methods.
14220 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
14221 Now works, at least for read mapping.
14223 * java/lang/natPosixProcess.cc (startProcess): Implement standard
14224 streams using FileChannelImpl, not FileDescriptor.
14225 * java/lang/natWin32Process.cc (startProcess): Likewise.
14227 2004-02-28 Michael Koch <konqueror@gmx.de>
14229 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
14232 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
14234 * java/io/ObjectInputStream.java
14235 (readClassDescriptor): Keep elements of the mapping non null.
14236 (checkTypeConsistency): New method.
14237 (readFields): Fixed main loop and base logic. Small reindentation.
14238 * java/io/ObjectStreamField.java
14239 (lookupField): New method to update the field reference.
14240 (checkFieldType): New method.
14241 * java/io/ObjectStreamClass.java
14242 (setClass, setFields): Call lookupField when building the field
14243 database. Check the real field type.
14245 2004-02-28 Michael Koch <konqueror@gmx.de>
14247 * java/nio/ByteOrder.java
14248 (nativeOrder): Use equals() to compare strings.
14250 2004-02-26 Michael Koch <konqueror@gmx.de>
14252 * gnu/java/nio/FileLockImpl.java
14253 (finalize): Made protected.
14254 * java/nio/channels/FileChannel.java
14255 (MapMode.READ_ONLY): Made final.
14256 (MapMode.READ_WRITE): Made final.
14257 (MapMode.PRIVATE): Made final.
14258 * java/nio/channels/SocketChannel.java
14259 (open): Simplified code.
14260 * java/nio/channels/spi/AbstractSelectableChannel.java
14261 (registered): Unused, removed.
14262 (keyFor): Check channel is open, only locate key
14263 and not add a new one.
14264 (register): Don't delete attachments.
14266 2004-02-26 Michael Koch <konqueror@gmx.de>
14268 * gnu/java/awt/ComponentDataBlitOp.java
14269 (INSTANCE): Made final.
14270 * gnu/java/awt/image/ImageDecoder.java:
14272 (cm): Unused, removed.
14274 2004-02-26 Michael Koch <konqueror@gmx.de>
14276 * gnu/java/nio/DatagramChannelImpl.java
14277 (send): Check if target address is resolved.
14279 2004-02-26 Michael Koch <konqueror@gmx.de>
14281 * Makefile.am: Generate and install headers for inner classes in
14282 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14283 * Makefile.in: Regenerated.
14285 2004-02-24 Anthony Green <green@redhat.com>
14287 * java/lang/StringBuffer.java: No need to NULL out remainder of
14288 buffer since ensureCapacity_unsynchronized will have done this for
14291 2004-02-20 Michael Koch <konqueror@gmx.de>
14293 * gnu/java/net/protocol/jar/Handler.java
14294 (): Removed unneeded check for file != null. java.net.URL.getFile()
14295 returns an empty string but never null.
14297 2004-02-20 Michael Koch <konqueror@gmx.de>
14299 * gnu/gcj/convert/Convert.java
14300 (main): Use equals() to compare strings.
14302 2004-02-20 Michael Koch <konqueror@gmx.de>
14304 * javax/swing/AbstractButton.java: Made several constants final.
14305 (getRolloverSelectedIcon): Made public.
14306 (getSelectedIcon): Made public.
14308 2004-02-16 Per Bothner <per@bothner.com>
14310 * java/nio/CharBufferImpl.java: Inline super constructor.
14311 * java/nio/DoubleBufferImpl.java: Likewise.
14312 * java/nio/FloatBufferImpl.java: Likewise.
14313 * java/nio/IntBufferImpl.java: Likewise.
14314 * java/nio/LongBufferImpl.java: Likewise.
14315 * java/nio/ShortBufferImpl.java: Likewise.
14316 * java/nio/CharBuffer.java: Remove unused constructor.
14317 * java/nio/DoubleBuffer.java: Likewise.
14318 * java/nio/FloatBuffer.java: Likewise.
14319 * java/nio/IntBuffer.java: Likewise.
14320 * java/nio/LongBuffer.java: Likewise.
14321 * java/nio/ShortBuffer.java: Likewise.
14322 * java/nio/CharViewBufferImpl.java: New convenience constructor.
14323 Fix buggy call to super constructor.
14324 * java/nio/DoubleViewBufferImpl.java: Likewise.
14325 * java/nio/FloatViewBufferImpl.java: Likewise.
14326 * java/nio/IntViewBufferImpl.java: Likewise.
14327 * java/nio/LongViewBufferImpl.java: Likewise.
14328 * java/nio/ShortViewBufferImpl.java: Likewise.
14330 * java/nio/ByteBuffer.java (endian): Make non-private so other
14331 java.nio classes can inherit it.
14332 (<init>): Don't bother clearing array_offset.
14333 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
14334 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
14335 Remove redundant test.
14337 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14338 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14339 Use new XxxViewBufferImpl constructors.
14340 * java/nio/MappedByteBufferImpl.java: Likewise.
14341 * java/nio/DirectByteBufferImpl.java: Likewise.
14343 * java/nio/ByteBufferImpl.java: Remove one constructor.
14344 Inline super in remaining constructor.
14345 * java/nio/ByteBuffer.java: Remove unused constructor.
14347 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
14349 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
14350 * java/nio/DirectByteBufferImpl.java (owner): New field.
14351 (offset): Remove unused field.
14352 (<init>): Modify one and add another constructor. Change callers.
14353 (allocateDirect): Removed - not used.
14354 (getImpl, putImpl): Make static and pass address explicitly,
14355 to make them useful for MappedByteBufferImpl.
14356 (get, put): Check for underflow. Modify for new getImpl.
14357 (getImpl): New native method where target is array.
14358 (get(byte[],int,int)): Use the above.
14359 (adjustAddress): New static native method.
14360 (slice, duplicate, asReadOnly): New implementations.
14361 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14362 adjustAddress): New or updated native methods.
14364 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
14366 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14367 overflow of fieldmapping.
14369 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
14371 * javax/swing/undo/UndoManager.java: Re-written from scratch.
14373 2004-02-14 Per Bothner <per@bothner.com>
14375 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
14376 Set closed before calling implCloseChannel, as in the spec.
14378 2004-02-09 Graydon Hoare <graydon@redhat.com>
14380 * javax/swing/ToggleButtonModel.java: Remove dead class.
14381 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
14382 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
14383 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
14384 * Makefile.am: Update for new and removed files.
14385 * Makefile.in: Regenerate.
14387 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
14388 * javax/swing/AbstractButton.java
14389 (AbstractButton): Initialize fields correctly in ctor.
14390 * javax/swing/JCheckbox.java
14391 (JCheckBox): Override painting flags.
14392 * javax/swing/DefaultButtonModel.java: Conform to sun.
14393 * javax/swing/JComponent.java (paint): Fill with background color
14395 (processComponentKeyEvent)
14396 (processFocusEvent)
14398 (processMouseMotionEvent): Remove event-consuming empty methods.
14399 (getUIClassID): Return "ComponentUI" not "JComponent"
14400 * javax/swing/JFrame.java: Remove some debugging chatter.
14401 (JFrame): Subscribe to window events.
14402 * javax/swing/JRadioButton.java
14403 (JRadioButton): Override painting flags.
14404 * javax/swing/JRootPane.java
14405 (JRootPane): Set background from UIDefaults.
14406 * javax/swing/JToggleButton.java
14407 (ToggleButtonModel): New inner class.
14408 (JToggleButton): Override layout alighment.
14409 * javax/swing/SwingUtilities.java:
14410 (getLocalBounds): Return width and height, not x and y.
14411 (calculateInnerArea): Use local bounds, not bounds.
14412 (layoutCompoundLabel): Provide overridden form.
14413 (layoutCompoundLabel): Correct bugs.
14414 * javax/swing/UIDefaults.java: Correct comment.
14415 * javax/swing/plaf/basic/BasicButtonUI.java:
14416 Move most logic into defaults, external listener.
14417 (paintIcon): Implement icon painting.
14418 (paint): Fix state painting to conform to changes in model.
14419 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
14420 Remove most dead/wrong methods.
14421 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
14422 * javax/swing/plaf/basic/BasicIconFactory.java:
14423 (DummyIcon): New class.
14424 (getMenuItemCheckIcon)
14425 (getMenuItemArrowIcon)
14427 (getCheckBoxMenuItemIcon)
14428 (getRadioButtonMenuItemIcon)
14429 (createEmptyFrameIcon): Return DummyIcons, not null.
14430 (getCheckBoxIcon): Implement an icon that looks like sun's.
14431 (getRadioButtonIcon): Implement an icon that looks like sun's.
14432 * javax/swing/plaf/basic/BasicLookAndFeel.java
14433 (initComponentDefaults): Fix impossible values, add some missing.
14434 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
14435 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
14436 Remove most dead/wrong methods.
14438 (getDefaultIcon): New method.
14439 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
14440 Remove most dead/wrong methods.
14441 * javax/swing/plaf/metal/MetalLookAndFeel.java
14442 (getDefaults): Return super.getDefaults(), not BasicDefaults.
14443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14444 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
14445 Implement "clearing" as drawing, when on pixmap drawables.
14447 * javax/swing/JButton.java (getUIClassID):
14448 * javax/swing/JCheckBox.java (getUIClassID):
14449 * javax/swing/JEditorPane.java (getUIClassID):
14450 * javax/swing/JLabel.java (getUIClassID):
14451 * javax/swing/JList.java (getUIClassID):
14452 * javax/swing/JOptionPane.java (getUIClassID):
14453 * javax/swing/JPanel.java (getUIClassID):
14454 * javax/swing/JPasswordField.java (uiClassID):
14455 * javax/swing/JRadioButton.java (getUIClassID):
14456 * javax/swing/JRootPane.java (getUIClassID):
14457 * javax/swing/JScrollPane.java (getUIClassID):
14458 * javax/swing/JTabbedPane.java (getUIClassID):
14459 * javax/swing/JToggleButton.java (getUIClassID):
14460 * javax/swing/JTree.java (getUIClassID):
14461 * javax/swing/JViewport.java (getUIClassID):
14462 * javax/swing/text/JTextComponent.java (getUIClassID):
14463 Return "fooUI" not "Jfoo"
14465 2004-02-11 Michael Koch <konqueror@gmx.de>
14467 * java/net/DatagramSocket.java
14468 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
14470 (setBroadcast): Likewise.
14471 * java/net/MulticastSocket.java
14472 (setLoopbackMode): Likewise.
14473 * java/net/ServerSocket.java
14474 (setReuseAddress): Likewise.
14475 * java/net/Socket.java
14476 (setTcpNoDelay): Likewise.
14477 (setSoLinger): Likewise.
14478 (setOOBInline): Likewise.
14479 (setKeepAlive): Likewise.
14480 (setReuseAddress): Likewise.
14481 * java/net/URLConnection.java
14482 (setContentHandler): Replace == with equals().
14483 * java/net/URLStreamHandler.java
14484 (hostSEquals): Fix checking host addresses.
14485 (toExternalForm): Dont check protocol for null. We know already its
14488 2004-02-10 David Jee <djee@redhat.com>
14490 * java/awt/BorderLayout.java
14491 (calcCompSize): Invisible components get zero dimensions.
14492 * java/awt/Button.java
14493 (setLabel): Set actionCommand.
14494 * java/awt/Component.java
14495 (show): Invalidate component and parent container.
14498 2004-02-10 David Jee <djee@redhat.com>
14500 * java/awt/GridBagLayout.java
14501 (GridBagLayout): New private field, internalcomptable.
14502 (lookupInternalConstraints): New method.
14503 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
14504 (GetLayoutInfo): Reimplement.
14505 (calcCellSizes): Ignore rows/columns with size 0.
14507 2004-02-10 Michael Koch <konqueror@gmx.de>
14509 * gnu/java/awt/EmbeddedWindow.java
14510 (setHandle): Use java.awt.Component.getPeer() instead of
14511 java.awt.Component.peer directly.
14513 2004-02-10 David Jee <djee@redhat.com>
14515 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14516 (gtkSetLabel): New native method definition.
14517 (setLabel): Use gtkSetLabel.
14518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
14519 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
14521 2004-02-10 Alan Modra <amodra@bigpond.net.au>
14523 * include/powerpc-signal.h: Revert 2004-01-21 change.
14524 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
14525 from syscall for ppc32 versions.
14527 2004-02-08 Per Bothner <per@bothner.com>
14529 * java/nio/ByteBuffer.java (shiftDown): New helper method.
14530 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
14531 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
14532 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
14533 Pass ByteOrder parameter to most methods, since the underlying
14534 ByteBuffer's order isn't always what we should use.
14535 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
14536 * java/nio/DirectByteBufferImpl.java: Likewise.
14537 Use ByteBufferHelper methods.
14538 * java/nio/MappedByteBufferImpl.java: Likewise.
14539 (compact): Use shiftDown.
14540 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
14541 (get, put): Use ByteBufferHelper.
14542 (compact): Use new shiftDown method.
14543 (duplicate(boolean)): New helper method.
14544 (duplicate, asReadOnlyBuffer): Use it.
14545 (order): Return endian field.
14546 * java/nio/DoubleViewBufferImpl.java: Likewise.
14547 * java/nio/FloatViewBufferImpl.java: Likewise.
14548 * java/nio/IntViewBufferImpl.java: Likewise.
14549 * java/nio/LongViewBufferImpl.java: Likewise.
14550 * java/nio/ShortViewBufferImpl.java: Likewise.
14551 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
14552 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
14553 (compact): Re-implement using shiftDown.
14555 2004-02-08 Andreas Jaeger <aj@suse.de>
14557 * include/x86_64-signal.h: Fix typo.
14559 2004-02-08 Diego Novillo <dnovillo@redhat.com>
14561 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
14562 qualifier to _regs.
14563 (HANDLE_DIVIDE_OVERFLOW): Likewise.
14565 2004-02-06 Michael Koch <konqueror@gmx.de>
14567 * java/io/ObjectInputStream.java
14568 (currentClassLoader): Reverted to old version of this method.
14570 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
14572 * java/io/ObjectInputStream.java: Made all calls
14573 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
14574 use cached info from ObjectStreamClass. (readClassDescriptor):
14575 Cache more information in ObjectStreamClass. (processResolution,
14576 readFields): Use cached info from ObjectStreamClass.
14577 (newObject): Throw exception instead of returning null for failure.
14578 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
14579 setCharField, setDoubleField, setFloatField, setIntField,
14580 setLongField, setShortField, setObjectField, readObjectParams):
14581 Removed. (dumpElement, dumpElementln): Removed dump flag condition
14583 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
14584 (setClass): Added call to cacheMethods() (findMethod): New method.
14585 (cacheMethods): New method. (ObjectStreamClass): Added call to
14586 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
14587 AccessController.doPrivileged to invoke setAccessible.
14588 (readObjectMethod, readResolveMethod, realClassIsSerializable,
14589 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
14591 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
14592 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
14593 isPrimitive): Made safe for cases where type == null.
14594 (setBooleanField, setByteField, setCharField, setShortField,
14595 setIntField, setLongField, setFloatField, setDoubleField,
14596 setObjectField): New methods.
14598 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
14600 * java/awt/Component.java (getFont): Return a default font
14603 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
14604 (Scrollbar (int, int, int, int, int)): Make default page
14606 (setValues): Only call peer.setValues if one of the values has
14608 (generateName): New method.
14609 (getUniqueLong): New method.
14610 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
14611 (range_scrollbar): Remove structure.
14612 (post_adjustment_event): Remove function.
14613 (post_change_event): Accept jobject argument.
14614 (create): Cast jints to gdoubles. Round scrollbar values to the
14615 nearest integer. Clamp min, max and value settings.
14616 (connectJObject): Connect hook to widget->window.
14617 (connectSignals): Remove range_scrollbar structure variables.
14618 Remove "move-slider" connection. Pass global peer reference to
14619 "value-changed" callback.
14620 (setLineIncrement): Cast jint value to gdouble.
14621 (setPageIncrement): Likewise.
14622 (setValues): Likewise. Clamp min, max and value settings.
14624 2004-02-05 Michael Koch <konqueror@gmx.de>
14626 * javax/swing/AbstractCellEditor.java
14627 (getCellEditorValue): Removed.
14628 * javax/swing/Box.java: Reformated.
14629 (serialVersionUID): New field.
14630 * javax/swing/ButtonGroup.java:
14631 Removed some weird whitespace.
14632 * javax/swing/CellEditor.java: Reformated.
14633 * javax/swing/CellRendererPane.java
14634 (serialVersionUID): New field.
14635 (AccessibleCellRendererPaneserialVersionUID): New field.
14636 * javax/swing/DefaultListModel.java
14637 (serialVersionUID): New field.
14638 * javax/swing/JEditorPane.java
14639 (serialVersionUID): New field.
14640 (setPage): Throws IOException.
14641 (addHyperlinkListener): Implemented.
14642 (removeHyperlinkListener): Implemented.
14643 (getHyperlinkListener): New method.
14644 * javax/swing/JFileChooser.java
14645 (serialVersionUID): New field.
14646 (AccessibleJFileChooser.serialVersionUID): New field.
14647 (addActionListener): Implemented.
14648 (removeActionListener): Implemented.
14649 (getActionListeners): New method.
14650 * javax/swing/JFormattedTextField.java
14651 (serialVersionUID): New field.
14652 (AbstractFormatter.serialVersionUID): New field.
14653 (clone): Throws CloneNotSupportedException
14654 (setEditValid): Add missing argument.
14655 (stringToValue): Throws ParseExcpetion.
14656 (valueToString): Throws ParseException.
14657 (commitEdit): Throws ParseException.
14658 * javax/swing/JLabel.java
14659 (serialVersionUID): New field.
14660 * javax/swing/JList.java
14661 (serialVersionUID): New field.
14662 (addListSelectionListener): Reformated.
14663 (removeListSelectionListener): Reformated.
14664 (getListSelectionListeners): New method.
14665 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
14667 (serialVersionUID): New field.
14668 * javax/swing/table/AbstractTableModel.java
14669 (getValueAt): Removed.
14670 (getColumnCount): Removed.
14671 (getRowCount): Removed.
14673 2004-02-05 Michael Koch <konqueror@gmx.de>
14675 * java/awt/datatransfer/DataFlavor.java
14676 (imageFlavor): Javadoc added.
14677 (javaJVMLocalObjectType): Fixed.
14679 2004-02-05 Michael Koch <konqueror@gmx.de>
14681 * java/lang/Thread.java
14682 (Thread): Reordered.
14683 (setContextClassLoader): Fixed javadoc comment.
14684 (setPriority): Reordered.
14685 (yield): Reordered.
14686 (initialize_native): Reordered.
14687 (gen_name): Reordered.
14689 2004-02-05 Michael Koch <konqueror@gmx.de>
14691 * java/lang/Thread.java: Reordered fields, reformated much code,
14692 no functional changes, some variables renamed, javadoc comments
14695 2004-02-05 Michael Koch <konqueror@gmx.de>
14697 * java/util/zip/Deflater.java,
14698 java/util/zip/DeflaterOutputStream.java,
14699 java/util/zip/GZIPInputStream.java:
14700 Reformated and javadoc comments merged from classpath.
14702 2004-02-05 Michael Koch <konqueror@gmx.de>
14704 * gnu/java/nio/NIOServerSocket.java
14705 (impl): Unused, removed.
14706 * gnu/java/nio/SocketChannelImpl.java
14707 (finnishConnect): Don't throw NoConnectionPendingException if not
14708 connected or no connection pending.
14710 2004-02-02 Graydon Hoare <graydon@redhat.com>
14712 * javax/swing/SwingUtilities.java: Many new functions.
14713 * java/awt/Container.java (LightweightDispatcher): Reimplement.
14714 * javax/swing/basic/BasicGraphicsUtils.java
14715 (getPreferredButtonSize): Start layout from top-left corner.
14717 2004-02-04 Olga Rodimina <rodimina@redhat.com>
14719 * java/awt/geom/AffineTransform.java:
14720 Corrected comments on the field definitions for
14722 (shear): Fixed few errors that caused shear
14723 transformation to be performed incorrectly.
14724 (createInverse): Fixed to return correct
14725 inverse of the given matrix.
14727 2004-02-03 Tom Tromey <tromey@redhat.com>
14729 * java/lang/natPosixProcess.cc (startProcess): Handle case where
14730 PATH or LD_LIBRARY_PATH is not set in parent environment.
14732 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
14734 * gnu/java/awt/peer/gtk/GtkListPeer.java,
14735 java/awt/BorderLayout.java, java/awt/CardLayout.java,
14736 java/awt/CheckboxGroup.java, java/awt/Choice.java,
14737 java/awt/Component.java, java/awt/Container.java,
14738 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
14739 java/awt/LayoutManager2.java, java/awt/List.java,
14740 java/awt/Menu.java, java/awt/MenuBar.java,
14741 java/awt/MenuItem.java, java/awt/Polygon.java,
14742 java/awt/Rectangle.java, java/awt/ScrollPane.java,
14743 java/awt/Scrollbar.java, java/awt/TextArea.java,
14744 java/awt/TextField.java,
14745 java/awt/image/renderable/RenderContext.java,
14746 javax/swing/JApplet.java: Fix handling of alias methods, where a
14747 method has been deprecated in favour of a new one with the same
14748 funtion but a different name. Put the method implementation in
14749 the deprecated method and have the new method call the
14750 deprecated one. Make all other code call the new method.
14752 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
14754 * gnu/java/nio/DatagramChannelImpl.java
14755 (inChannelOperation): New field.
14756 (isInChannelOperation): New accessor.
14757 (setInChannelOperation): New modifier.
14758 (receive): Use capacity() - position() of destination
14759 buffer instead of remaining(). Set and reset our "in
14760 channel operation indicator" before and after delegating
14761 the receive to our datagram socket. Removed testing code.
14762 Update destination buffer's current position if it is
14763 backed by a byte array (hasArray() is true).
14764 (send): Set and reset our "in channel operation indicator"
14765 before and after delegating the send to our datagram socket.
14766 Removed testing code. Update source buffer's current position
14767 if it is backed by a byte array (hasArray() is true).
14768 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
14769 Use capacity() - position() of destination buffer instead
14771 * java/net/DatagramSocket.java (receive): Don't throw an
14772 IllegalBlockingModeException if we have a non-blocking
14773 channel which initiated this operation.
14776 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
14778 * configure.in: Add pkgconfig check for glib and gthread.
14779 * configure: Regenerate.
14781 2004-02-01 Michael Koch <konqueror@gmx.de>
14783 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
14785 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
14786 * verify.cc (debug_print): Mark 'fmt' unused.
14788 2004-01-30 Michael Koch <konqueror@gmx.de>
14790 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
14791 * configure: Regenerated.
14792 * glib-2.0.m4: Removed.
14793 * gtk-2.0.m4: Removed.
14794 * libart.m4: Removed.
14795 * pkg.m4: New file.
14797 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
14799 * gnu/java/net/PlainSocketImpl.java
14800 (inChannelOperation): New field.
14801 (isInChannelOperation): New accessor.
14802 (setInChannelOperation): New modifier.
14803 * gnu/java/nio/ServerSocketChannelImpl.java
14804 (accept): Set and reset our server socket's PlainSocketImpl's
14805 "in channel operation" indicator before and after delegating
14806 the accept to our server socket.
14807 * gnu/java/nio/SocketChannelImpl.java
14808 (connect): Set and reset our socket's PlainSocketImpl's "in channel
14809 operation" indicator before and after delegating the operation to
14813 * java/net/ServerSocket.java (implAccept): Don't throw an
14814 IllegalBlockingModeException if we have a non-blocking
14815 channel which initiated this accept operation.
14816 * java/net/Socket.java (connect): Don't throw an
14817 IllegalBlockingModeException if we have a non-blocking
14818 channel which initiated this connect operation.
14819 * java/nio/channels/spi/AbstractSelectableChannel.java
14820 (configureBlocking): Only call implConfigureBlocking() if
14821 the desired blocking mode is different from our current one.
14823 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
14825 * java/io/BufferedReader.java (sbuf): New field.
14826 (readLine): Use String.valueOf instead of new String() as per
14827 Per Bothner's suggestion. Use instance sbuf field instead of a
14828 local StringBuffer instance.
14829 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
14830 caller's buffer to refill().
14831 (read(void)): Pass our internal work buffer to refill if our
14832 input queue is empty.
14833 (refill): Changed return type to int. Use the specified buffer
14834 instead of our work buffer as per Bryce McKinlay's suggestion.
14835 Return the number of characters read or -1 for EOF.
14837 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14839 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
14841 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14843 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
14844 * Makefile.in: Re-generated.
14845 * gnu/awt/xlib/XFontPeer.java: New file.
14846 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
14847 (setClip): Commented out debug printout.
14848 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
14849 (getFontPeer): Return XFontPeer.
14850 (getLocalGraphicsEnvironment): New method.
14851 (getClasspathFontPeer): New method.
14852 (createFont): New method.
14854 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
14856 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
14859 2004-01-29 Kim Ho <kho@redhat.com>
14861 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14862 (gtkLayoutSetVisible): New method
14863 (setMenuBar): Hide layout before setting MenuBar
14864 and reshow it after.
14865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14866 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
14868 2004-01-28 Michael Koch <konqueror@gmx.de>
14870 * gnu/java/lang/ClassHelper.java
14871 (getPackagePortion): Removed.
14873 2004-01-28 Michael Koch <konqueror@gmx.de>
14875 * javax/swing/JComponent.java
14876 (listenerList): Initalize globally.
14877 (ancestor_list): Removed.
14878 (veto_list): Removed.
14879 (change_list): Removed.
14880 (get_veto_list): Removed.
14881 (get_change_list): Removed.
14882 (get_ancestor_list): Removed.
14883 (removeAncestorListener): Reimplemented.
14884 (removePropertyChangeListener): Likewise.
14885 (removeVetoableChangeListener): Likewise.
14886 (addAncestorListener): Likewise.
14887 (addPropertyChangeListener): Likewise.
14888 (addVetoableChangeListener): Likewise.
14889 (getListeners): New method.
14890 (getAncestorListeners): Likewise.
14891 (getVetoableChangeListeners): Likewise.
14892 (fireVetoableChange): Throws PropertyVetoException.
14893 * javax/swing/JEditorPane.java
14894 (JEditorPane): Throws IOException.
14896 2004-01-28 David Jee <djee@redhat.com>
14898 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14899 (create): Set the default foreground color to
14900 java.awt.SystemColor.windowText.
14902 2004-01-27 Michael Koch <konqueror@gmx.de>
14904 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
14905 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
14906 Reindented to merge with classpath.
14908 2004-01-27 David Jee <djee@redhat.com>
14910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14911 (addExposeFilter): Handle GtkFramePeer separately.
14912 (removeExposeFilter): Likewise.
14914 2004-01-27 Michael Koch <konqueror@gmx.de>
14916 * gnu/java/net/protocol/http/Connection.java
14917 (getOutputStream): Fixed typo.
14919 2004-01-27 Michael Koch <konqueror@gmx.de>
14921 * java/lang/Class.java
14922 (getConstructor): Removed SecurityException from throws clause.
14923 (_getConstructors): Likewise.
14924 (getConstructors): Likewise.
14925 (getDeclaredConstructor): Likewise.
14926 (getDeclaredClasses): Likewise.
14927 (getDeclaredConstructors): Likewise.
14928 (getDeclaredField): Likewise.
14929 (getDeclaredMethod): Likewise.
14930 (getDeclaredMethods): Likewise.
14931 (getField): Likewise.
14932 (getMethod): Likewise.
14933 (getMethods): Likewise.
14935 2004-01-27 Kim Ho <kho@redhat.com>
14937 * gnu/java/awt/peer/gtk/GtkFramePeer.java
14938 (removeMenuBarPeer): Remove MenuBarPeer argument.
14939 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
14940 (dispose): Call native method.
14941 * java/awt/Frame.java (setMenuBar): Create and remove
14942 MenuBar peers only if the Frame has a peer.
14943 (addNotify): Create the MenuBar peer if one exists.
14944 (removeNotify): Remove MenuBar peer if one exists.
14945 * java/awt/Menu.java: Fix imports.
14946 (addNotify): Don't use full class name.
14947 (removeNotify): Call removeNotify on all children.
14948 * java/awt/MenuBar.java (removeNotify): Call
14949 removeNotify on all children.
14950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14951 (removeMenuBarPeer): Remove MenuBarPeer argument.
14952 Iterate through children to find the Frame's MenuBar.
14953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
14955 (dispose): Remove references to the MenuComponent.
14957 2004-01-27 Michael Koch <konqueror@gmx.de>
14959 * javax/swing/AbstractCellEditor.java: Reformated.
14960 * javax/swing/DefaultListSelectionModel.java
14961 (listenerList): Made protected.
14962 (addListSelectionListener): Javadoc added.
14963 (removeListSelectionListener): Likewise.
14964 (getListeners): Likewise.
14965 (getListSelectionListeners): Likewise.
14966 * javax/swing/JComboBox.java: Merged copyright year.
14967 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
14969 2004-01-26 Andrew Haley <aph@redhat.com>
14971 * javax/swing/table/JTableHeader.java: Extend JComponent
14973 2004-01-26 Kim Ho <kho@redhat.com>
14975 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
14978 2004-01-26 Kim Ho <kho@redhat.com>
14980 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
14982 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
14983 height and let the Layout Managers readjust anything that
14985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14986 (moveLayout): New method. Shift everything in the Gtk
14987 layout in the Y direction by an offset.
14989 2004-01-26 David Jee <djee@redhat.com>
14991 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14992 (handleEvent): Implemented. Handles PaintEvents.
14993 (paint): Implemented. Use GTK native methods to queue updates
14994 for this heavyweight peer.
14995 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14996 (handleEvent): Removed.
14997 * java/awt/Component.java
14998 (paint): Implemented. Explictly paint the heavyweight peer.
14999 (update): Clear the background for heavyweight components.
15000 (paintAll): No need to call peer.paint() anymore.
15001 (processEvent): Don't process PaintEvents here. It's now done in
15002 the peer's handleEvent().
15003 (processPaintEvent): Removed.
15004 * java/awt/Container.java
15005 (paint): No need to call super.paint(). Visit heavyweight
15007 (update): Don't clear the background here. It's done in
15008 Component.update().
15009 (visitChildren): Added check to not recurse into Containers.
15010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15011 (filter_expose_event_handler): New method. Filter unwanted
15012 expose events while painting heavyweight peers.
15013 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
15014 New method. Connect filter and block pre_event_handler.
15015 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
15016 New method. Disconnect filter and unblock pre_event_handler.
15017 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
15018 New method. Invalidate and update given area.
15019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15020 (pre_event_handler): Add checks for unwanted expose events.
15022 2004-01-26 David Jee <djee@redhat.com>
15024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15025 (find_bg_color_widget): For GtkButton, return its child.
15027 2004-01-26 Kim Ho <kho@redhat.com>
15029 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
15031 (setMenuBar): Grab MenuBar height and change insets.
15032 (setBounds): Account for MenuBar height.
15033 (postInsetsChangedEvent): Ditto.
15034 (postSizeAllocateEvent): Remove.
15035 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15036 (menubar_resize_cb): Remove
15037 (setMenuBarPeer): Remove callback.
15038 (getMenuBarHeight): Use size requisition instead of
15041 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
15043 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
15044 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
15046 (setColumns): Remove FIXME -- peer will retrieve number of
15047 columns by calling getColumns.
15048 (setRows): Likewise for number of rows.
15049 (next_text_number): New field.
15050 (paramString): Fix param string.
15051 (generateName): New method.
15052 (getUniqueLong): New method.
15054 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
15056 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
15057 image observer of image loading status.
15058 (getImage (String)): Start image production.
15059 (getImage (URL)): Likewise.
15061 2004-01-25 Michael Koch <konqueror@gmx.de>
15063 * java/lang/Class.java: Imports reworked, reformated.
15064 (Class): Javadoc added.
15065 (forName): Likewise.
15066 (getClasses): Likewise.
15067 (getClassLoader): Likewise.
15068 (getComponentType): Likewise.
15069 (getConstructor): Likewise.
15070 (getConstructors): Likewise.
15071 (getDeclaredConstructor): Likewise.
15072 (getDeclaredClasses): Likewise.
15073 (getDeclaredConstructors): Likewise.
15074 (getDeclaredField): Likewise.
15075 (getDeclaredMethod): Likewise.
15076 (getDeclaredMethods): Likewise.
15077 (getDeclaringClass): Likewise.
15078 (getField): Likewise.
15079 (getInterfaces): Likewise.
15080 (getMethod): Likewise.
15081 (getMethods): Likewise.
15082 (getModifiers): Likewise.
15083 (getName): Likewise.
15084 (getResource): Likewise.
15085 (getResourceAsStream): Likewise.
15086 (getSigners): Likewise.
15087 (setSigners): Likewise.
15088 (getSuperclass): Likewise.
15089 (isArray): Likewise.
15090 (isAssignableFrom): Likewise.
15091 (isInstance): Likewise.
15092 (isInterface): Likewise.
15093 (isPrimitive): Likewise.
15094 (newInstance): Likewise.
15095 (getProtectionDomain): Likewise.
15096 (toString): Likewise.
15098 (initializeClass): Likewise.
15099 (finalize): Likewise.
15101 2004-01-24 Michael Koch <konqueror@gmx.de>
15103 * gnu/java/net/protocol/jar/Connection.java
15104 (hdrHash): Removed.
15106 (gotHeaders): Removed.
15107 (getHeaderField): Removed.
15108 (getHeaderFields): Removed.
15109 (getHeaderFieldKey): Removed.
15111 (getField): Removed.
15112 (getHeaders): Removed.
15114 2004-01-24 Michael Koch <konqueror@gmx.de>
15116 * Makefile.am: Added library version to gtk peer lib.
15117 * Makefile.in: Regenerated.
15119 2004-01-24 Michael Koch <konqueror@gmx.de>
15121 * java/util/zip/InflaterInputStream.java: Merged class documentation
15124 2004-01-21 Jakub Jelinek <jakub@redhat.com>
15126 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
15127 header. For __powerpc64__ provide the default-signal.h definitions
15129 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
15130 instead of the dummy definitions.
15131 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
15132 (powerpc64*-*): Remove with_libffi_default.
15133 Only add -mminimal-toc for 64-bit compilations.
15134 * configure.in: Use powerpc-signal.h on powerpc64 as well.
15135 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
15136 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
15137 * configure: Rebuilt.
15139 2004-01-23 Michael Koch <konqueror@gmx.de>
15141 * gnu/java/nio/FileLockImpl.java: Compile fixes.
15143 2004-01-23 Michael Koch <konqueror@gmx.de>
15145 * java/lang/VMClassLoader.java: Reworked imports.
15147 2004-01-23 Michael Koch <konqueror@gmx.de>
15149 * javax/swing/AbstractAction.java: Reformated.
15151 2004-01-23 Michael Koch <konqueror@gmx.de>
15153 * java/text/CollationElementIterator.java:
15154 (setText): New method.
15156 2004-01-23 Michael Koch <konqueror@gmx.de>
15158 * gnu/java/nio/FileLockImpl.java:
15159 Fixed filename in copyright.
15160 (released): Removed.
15161 (finalize): New method.
15162 * gnu/java/nio/natFileLockImpl.cc
15163 (releaseImpl): Implemented.
15164 * java/nio/channels/FileChannelImpl.java:
15166 (lock): Implemented.
15167 (lockImpl): New method.
15168 (tryLock): Implemented.
15169 (tryLockImpl): New method.
15170 * java/nio/channels/natFileChannelImpl.cc
15171 (lockImpl): New method.
15172 (tryLockImpl): New method.
15174 2004-01-23 Michael Koch <konqueror@gmx.de>
15176 * java/io/FileDescriptor.java
15177 (lock): New method.
15178 (tryLock): New method.
15179 (unlock): New method.
15180 * java/io/natFileDescriptorEcos.cc
15181 (lock): New method.
15182 (tryLock): New method.
15183 (unlock): New method.
15184 * java/io/natFileDescriptorPosix.cc
15185 (lock): New method.
15186 (tryLock): New method.
15187 (unlock): New method.
15188 * java/io/natFileDescriptorWin32.cc
15189 (lock): New method.
15190 (tryLock): New method.
15191 (unlock): New method.
15193 2004-01-23 Michael Koch <konqueror@gmx.de>
15195 * java/io/FileDescriptor.java
15196 (sync): Moved around, added javadoc.
15201 (setLength): Likewise.
15203 (getLength): Likewise.
15204 (getFilePointer): Likewise.
15206 (available): Likewise.
15207 (finalize): Likewise.
15209 2004-01-23 Michael Koch <konqueror@gmx.de>
15211 * javax/swing/AbstractAction.java: Reformated.
15212 (getPropertyChangeListeners): New method.
15213 * javax/swing/AbstractCellEditor.java: Reformated.
15214 (getCellEditorListeners): New method.
15215 * javax/swing/DefaultListSelectionModel.java
15216 (listenerList): New field.
15217 (listeners): Removed.
15218 (get_listeners): Removed.
15219 (addListSelectionListener): Rewritten.
15220 (removeListSelectionListener): Rewritten.
15221 (getListSelectionListeners): New method.
15222 (getListeners): New method.
15223 * javax/swing/JComboBox.java: Imports reworked.
15224 (addActionListener): Implemented.
15225 (removeActionListener): Implemented.
15226 (addItemListener): Implemented.
15227 (removeItemListener): Implemented.
15228 (addPopupMenuListener): Implemented.
15229 (removePopupMenuListener): Implemented.
15230 (getActionListeners): New method.
15231 (getItemListeners): New method.
15232 (getPopupMenuListeners): New method.
15234 2004-01-23 Michael Koch <konqueror@gmx.de>
15236 * gnu/java/net/protocol/http/Connection.java
15237 (connect): Don't initialize bufferedOutputStream if not needed.
15238 (sendRequest): Set property for content length if content is present.
15239 Write content only if present.
15240 (getOutputStream): Check if already connected, dont connect,
15241 initalize bufferedOutputStream if needed.
15243 2004-01-23 Michael Koch <konqueror@gmx.de>
15245 * java/io/FileDescriptor.java
15246 (in, out, err): Added javadoc.
15247 (static): Merged loading code.
15248 (fd, position): Moved around.
15250 2004-01-23 Michael Koch <konqueror@gmx.de>
15252 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15255 2004-01-23 Michael Koch <konqueror@gmx.de>
15257 * java/lang/Class.java,
15258 java/lang/Object.java,
15259 java/lang/Thread.java: Merged copyright with classpath.
15261 2004-01-23 Michael Koch <konqueror@gmx.de>
15263 * java/io/FileDescriptor.java: Merged copyright with classpath to
15264 start merging this class.
15266 2004-01-22 Tom Tromey <tromey@redhat.com>
15269 * testsuite/libjava.lang/pr13107_2.xfail: New file.
15270 * testsuite/libjava.lang/pr13107_3.xfail: New file.
15271 * testsuite/libjava.lang/pr13107_3.java: New file.
15272 * testsuite/libjava.lang/pr13107_3.out: New file.
15273 * testsuite/libjava.lang/pr13107_2.java: New file.
15274 * testsuite/libjava.lang/pr13107_2.out: New file.
15275 * testsuite/libjava.lang/pr13107.java: New file.
15276 * testsuite/libjava.lang/pr13107.out: New file.
15277 * verify.cc (jsr_ptrs): Removed.
15278 (entry_points): Likewise.
15279 (struct subr_info): Likewise.
15280 (struct subr_entry_info): Likewise.
15281 (type_val::unused_by_subroutine_type): Likewise.
15282 (type::merge): Don't handle unused_by_subroutine_type.
15283 (type::print): Likewise.
15284 (state::flags): Removed.
15285 (state::subroutine): Likewise.
15286 (state::seen_subrs): Likewise.
15287 (state::NO_STACK): Likewise.
15288 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15289 (state): Updated all methods.
15290 (state::clean_subrs): Removed.
15291 (state::state): Removed `ret_semantics' flag.
15292 (state::copy): Likewise.
15293 (state::add_subr): Removed.
15294 (state::enter_subroutine): Likewise.
15295 (type::set_return_address): New method.
15296 (handle_jsr_insn): Set return address on the type. Always
15297 invalidate PC after call.
15298 (check_nonrecursive_call): Removed.
15299 (~_Jv_BytecodeVerifier): Updated.
15300 (branch_prepass): Removed special handling of jsr.
15301 (note_branch_target): Likewise.
15302 (get_subroutine): Removed.
15303 (state::merge): Don't merge subroutines and don't handle
15304 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
15305 (state::note_variable): Removed.
15306 (state::is_unmerged_ret_state): Likewise.
15307 (state::print): Updated.
15308 (set_variable): Likewise.
15309 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
15310 and jsr_semantics arguments. Updated for new reverification
15312 (pop_jump): Rewrote.
15313 (construct_primitive_array_type): Updated.
15314 (state::next): Removed.
15315 (INVALID_STATE): New define.
15316 (state::INVALID): Removed.
15317 (state::NO_NEXT): New value.
15318 (state::pc, state::next): New fields.
15319 (state::get_pc): New method.
15320 (next_verify_pc): Removed.
15321 (next_verify_state): New field.
15322 (verify_instructions_0): Always check for falling off end.
15323 (linked): New type.
15324 (linked_utf8): Removed.
15325 (states): Changed type.
15326 (type::state_mergeable_p): New method.
15327 (state::state_mergeable_p): Likewise.
15328 (handle_ret_insn): Removed most code.
15329 (state::reverify): New method.
15330 (add_new_state): Likewise.
15331 (state::set_pc): Likewise.
15333 2004-01-22 Jeff Sturm <jsturm@one-point.com>
15336 * testsuite/libjava.compile/PR13733.java: New file.
15337 * testsuite/libjava.compile/PR13733.xfail: New file.
15339 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
15340 Michael Koch <konqueror@gmx.de>
15342 * javax/swing/table/DefaultTableCellRenderer.java
15343 (DefaultTableCellRenderer): Added javadoc for the class and for
15344 the constructor, Border instance, create an EmptyBorder.
15345 (UIResource): Removed the comment at the end of the class
15346 (setForeground): New method.
15347 (setBackground): New method.
15348 (updateUI): New method.
15349 (getTableCellRendererComponent): Rewritten with the help of
15350 dvholten and Stephane Meslin-Weber.
15351 (validate): New method.
15352 (repaint): New method.
15353 (firePropertyChange): New method.
15354 (setValue): New method.
15356 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
15358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15359 (connectJObject): Replace printf calls with g_assert statements.
15360 Move property-notify-event signal connection to ...
15361 (connectSignals): Connect property-notify-event signal. Iterate
15362 through the vbox's children to find layout.
15364 2004-01-22 Graydon Hoare <graydon@redhat.com>
15366 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
15367 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15368 Predicate static initialization on GtkToolkit.useGraphics2D().
15369 * java/awt/Component.java (processPaintEvent): Consume event.
15370 * javax/swing/AbstractButton.java: Reimplement, document.
15371 * javax/swing/DefaultButtonModel.java: Reimplement, document.
15372 * javax/swing/JComponent.java (paint): Use double buffer.
15373 (listenerList): Enable member.
15374 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
15375 * javax/swing/JToggleButton.java
15376 (JToggleButton): Modify model constructor.
15377 * javax/swing/SwingUtilities.java
15378 (layoutCompoundLabel): Adjust arithmetic.
15379 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
15380 * javax/swing/plaf/basic/BasicGraphicsUtils.java
15381 (getPreferredButtonSize): Include margins in calculation.
15382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15383 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
15384 Receive up events from subordinate layout component.
15386 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
15388 * java/awt/Component.java (show): Set visible to true before
15391 2004-01-21 Kim Ho <kho@redhat.com>
15393 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
15395 (removeMenuBarPeer): Make package private.
15396 (setMenuBarPeer): Make package private.
15397 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15398 (menubar_resize_cb): Mark attributes unused.
15399 (getMenuBarHeight): ditto.
15401 2004-01-21 David Jee <djee@redhat.com>
15403 * java/awt/Container.java
15404 (LightweightDispatcher.handleEvent): Add an extra check to avoid
15405 dispatching MOUSE_ENTERED event twice. Translate the point for
15406 the mouse event target before dispatching the event.
15408 2004-01-20 Jakub Jelinek <jakub@redhat.com>
15410 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
15411 lib_org_w3c_dom_la_LDFLAGS): New.
15412 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
15413 * Makefile.in: Rebuilt.
15415 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
15417 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
15418 Calculate proper offsets for heavyweight components packed in
15419 lightweight containers.
15421 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
15422 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
15423 (native create): Add width parameter.
15424 (create): Calculate text entry width based on current font's
15425 metrics and number of columns. Set TextField's font if not
15426 already set. Call native create.
15427 (gtkEntryGetBorderWidth): New native method.
15428 (gtkEntryGetSize): Remove method.
15429 (getMinimumSize): Call minimumSize.
15430 (getPreferredSize): Call preferredSize.
15431 (minimumSize): Calculate minimum size based on backing
15432 GtkEntry's borders, font metrics and number of columns.
15433 (preferredSize): Likewise for preferred size.
15434 (get_border_width): New static function.
15436 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
15437 Override GtkWindowPeer's setResizable method to account for menu
15438 bar height when setting the frame's size.
15440 2004-01-19 Matthias Klose <doko@debian.org>
15442 * libtool-version: Increased `current' to 6.
15444 2004-01-19 Kim Ho <kho@redhat.com>
15446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15447 (connectJObject): Iterate through the vbox's children to find layout.
15449 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15451 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
15452 isDispatchThread method to replace wrong test condition.
15454 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15456 * java/awt/EventQueue.java (pop): Prevent racing condition to add
15457 events to the queue out of order by acquiring locks in the proper
15458 order and not by releasing one before acquiring the other.
15460 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15462 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
15463 visible so that dialog can be reused.
15465 2004-01-19 Fernando Nasser <fnasser@redhat.com>
15467 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
15468 events may be handled by any queue in the stack.
15470 2004-01-19 Kim Ho <kho@redhat.com>
15472 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
15473 MenuBarPeer parameter.
15474 (removeMenuBarPeer): New native method.
15475 (setMenuBar): Call remove if menu bar is null. Adjust insets
15477 (postSizeAllocateEvent): New method. Called when menu bar size is
15478 allocated. Adjust insets and redo layout.
15479 (GtkFramePeer): Set menu bar during frame creation.
15480 (postConfigureEvent): Adjust position and size to accomodate
15482 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
15483 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
15484 (addNotify): Create the peer if it doesn't exist and call addNotify
15485 for the menu's items.
15486 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
15487 * java/awt/MenuItem.java (addNotify): Create the peer if it
15489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15490 (removeMenuBarPeer): New method. Remove menu bar on the current
15492 (setMenuBarPeer): Add the menu bar to the current frame and the
15493 callback for size-allocate events on the menu bar.
15494 (getMenuBarHeight): Add menu bar parameter.
15495 (menubar_resize_cb): New callback method for postSizeAllocate events.
15497 Also: Fix indentation on last ChangeLog entry.
15499 2004-01-16 Kim Ho <kho@redhat.com>
15501 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15502 (gtkWidgetGetDimensions): Remove.
15503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15504 (gtkWidgetGetDimensions): Remove.
15506 2004-01-16 Tom Tromey <tromey@redhat.com>
15508 * java/awt/Container.java: Typo and indentation fixes.
15510 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
15511 * java/lang/natVMClassLoader.cc: ...here. New file.
15512 * Makefile.in: Rebuilt.
15513 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
15515 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
15518 Discard GDK_ENTER_NOTIFY related to ungrabs.
15520 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15522 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
15523 is called for an intermediate queue.
15525 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
15527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15528 (window_property_changed_cb): Set id_set.
15530 2004-01-16 Kim Ho <kho@redhat.com>
15532 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
15533 it is a FileDialog and has dimensions of 0 by 0, then the initial
15534 size is set to size request plus insets.
15535 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
15536 (gtkWidgetGetDimensions): Override method.
15537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15538 (gtkWidgetGetDimensions): Override method. Returns size request plus
15541 2004-01-16 Andrew Haley <aph@redhat.com>
15543 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
15544 * sysdep/i386/locks.h: Likewise.
15546 2004-01-16 Fernando Nasser <fnasser@redhat.com>
15548 * java/awt/EventDispatchThread.java (run): Stop running when
15550 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
15551 Reset the queue after transferring its contents.
15552 (push): Start a new dispatch thread if none is running.
15554 2004-01-16 Olga Rodimina <rodimina@redhat.com>
15556 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15557 (doPolygon): set fill rule of polygon to
15558 WIND_EVEN_ODD by default.
15560 2004-01-15 Olga Rodimina <rodimina@redhat.com>
15562 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
15563 Implemented rendering hints related methods.
15564 (getDefaultHints): New helper method. Returns
15565 default rendering hints.
15566 (walkPath): changed to normalize path if
15567 the KEY_STROKE_CONTROL key is in "normalize" mode.
15568 (draw3DRect): changed coordinates of rectangle by +0.5
15569 if in "normalize" mode.
15571 2004-01-15 Tom Tromey <tromey@redhat.com>
15573 * Makefile.in: Rebuilt.
15574 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
15575 (%.lo: %.java) Filter out StackTrace.lo.
15577 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
15579 * configure.in: Add in AC_PREREQ(2.13)
15580 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
15583 2004-01-14 Nathan Bryant <nbryant@optonline.net>
15584 Tom Tromey <tromey@redhat.com>
15587 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
15588 array to superclass.
15589 (init): Changed interface; add URLs here.
15590 (initialize): New static method.
15591 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
15592 (_Jv_RunMain): ... not here.
15594 2004-01-14 Michael Koch <konqueror@gmx.de>
15596 * java/text/MessageFormat.java:
15597 Added descriptions to exceptions.
15598 This fixes PR libgcj/2429.
15600 2004-01-13 Fernando Nasser <fnasser@redhat.com>
15602 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
15603 (push): Make sure push is performed at the top of the thread stack.
15605 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
15607 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15608 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15609 (native create): Add width and height parameters. Set text
15610 view's size request according to new parameters.
15611 (create): Calculate text view size based on current font's
15612 metrics and number of rows and columns. Set TextArea's font if
15613 not already set. Call native create.
15614 (getMinimumSize): Call minimumSize.
15615 (getPreferredSize): Call preferredSize.
15616 (getHScrollbarHeight): New method.
15617 (getVScrollbarWidth): New method.
15618 (minimumSize): Calculate minimum size based on scrollbar
15619 visibility, scrollbar sizes, font metrics and number of rows and
15621 (preferredSize): Likewise for preferred size.
15622 (gtkTextGetSize): Remove method.
15624 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
15626 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15627 (initializeInsets): Remove method.
15628 (GtkComponentPeer): Initialize insets field. Remove call to
15630 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
15632 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
15634 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
15635 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15636 (latestInsets): Remove field.
15637 (native create): Add insets parameter. Call
15638 window_get_frame_extents. Set the window's default size and
15639 size request based on its frame extents.
15640 (create): Initialize insets.
15641 (postInsetsChangedEvent): New method.
15642 (postConfigureEvent): Remove parameters top, left, bottom,
15643 right. Remove insets-related logic.
15644 (connectJObject): Handle property-notify-event.
15645 (window_get_frame_extents, request_frame_extents,
15646 property_notify_predicate, window_property_changed_cb): New
15648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15649 (pre_event_handler): Remove insets-related logic for configure
15651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
15652 Update postConfigureEvent signature.
15654 2004-01-13 Fernando Nasser <fnasser@redhat.com>
15656 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
15657 to handle Window "Closing" events.
15659 2004-01-13 David Jee <djee@redhat.com>
15661 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15662 (setBackground): New method. Children with no explicitly-set
15663 background will be repainted with the parent container's new
15666 2004-01-13 David Jee <djee@redhat.com>
15668 * Makefile.am: Add BitwiseXORComposite.java.
15669 * Makefile.in: Regenerated.
15670 * gcj/Makefile.in: Regenerated.
15671 * include/Makefile.in: Regenerated.
15672 * testsuite/Makefile.in: Regenerated.
15674 2004-01-12 Fernando Nasser <fnasser@redhat.com>
15676 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
15677 not show modal dialogs twice and so that it allows showing a modal
15678 dialog from another modal dialog.
15680 2004-01-12 Fernando Nasser <fnasser@redhat.com>
15682 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
15683 and run secondary dispatch thread to process event queue while this
15686 2004-01-12 Graydon Hoare <graydon@redhat.com>
15688 * gnu/java/awt/gtk/GdkGraphics2D.java
15689 (static): Check GtkToolkit before initializing static state.
15690 (Graphics2D): Don't construct transform with 0.5 unit offset.
15692 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
15694 * gnu/java/awt/BitwiseXORComposite.java: Add.
15695 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15696 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
15697 (BitwiseXORComposite): Remove inner class.
15699 2004-01-11 Michael Koch <konqueror@gmx.de>
15701 * gnu/java/lang/reflect/TypeSignature.java
15702 (getEncodingOfClass): Documentation fixed.
15703 (getClassForEncoding): Give class loader to Class.forName().
15704 Documentation fixed.
15706 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
15708 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
15710 2004-01-11 Michael Koch <konqueror@gmx.de>
15712 * javax/swing/undo/StateEditable.java
15713 (RCSID): Removed redundant modifiers.
15715 2004-01-10 Michael Koch <konqueror@gmx.de>
15717 * javax/print/attribute/EnumSyntax.java
15718 (getStringTable): Made protected.
15719 (getEnumValueTable): Likewise.
15720 * javax/print/attribute/standard/JobKOctetsProcessed.java
15721 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
15722 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
15723 (JobMediaSheetsCompleted): Made class final.
15724 * javax/print/attribute/standard/OutputDeviceAssigned.java
15725 (getName): Fixed typo.
15726 * javax/print/attribute/standard/RequestingUserName.java
15727 (serialVersionUID): Fixed value.
15729 2004-01-10 Michael Koch <konqueror@gmx.de>
15731 * javax/swing/plaf/basic/BasicButtonUI.java,
15732 javax/swing/plaf/basic/BasicCheckBoxUI.java,
15733 javax/swing/plaf/basic/BasicListUI.java,
15734 javax/swing/plaf/basic/BasicOptionPaneUI.java,
15735 javax/swing/plaf/basic/BasicPanelUI.java,
15736 javax/swing/plaf/basic/BasicRadioButtonUI.java,
15737 javax/swing/plaf/basic/BasicScrollPaneUI.java,
15738 javax/swing/plaf/basic/BasicToggleButtonUI.java,
15739 javax/swing/plaf/basic/BasicViewportUI.java:
15740 Fixed import statements.
15742 2004-01-10 Michael Koch <konqueror@gmx.de>
15744 * gnu/java/awt/image/ImageDecoder.java
15745 (produce): Made public.
15746 * gnu/java/awt/peer/GLightweightPeer.java,
15747 gnu/java/awt/peer/gtk/GtkToolkit.java:
15750 2004-01-10 Michael Koch <konqueror@gmx.de>
15752 * javax/swing/JRadioButtonMenuItem.java,
15753 javax/swing/JSeparator.java,
15754 javax/swing/JSplitPane.java,
15755 javax/swing/JTextPane.java,
15756 javax/swing/JToolBar.java,
15757 javax/swing/ListCellRenderer.java,
15758 javax/swing/ListModel.java,
15759 javax/swing/MenuElement.java,
15760 javax/swing/OverlayLayout.java,
15761 javax/swing/ProgressMonitor.java,
15762 javax/swing/ProgressMonitorInputStream.java,
15763 javax/swing/Renderer.java,
15764 javax/swing/RootPaneContainer.java,
15765 javax/swing/Scrollable.java,
15766 javax/swing/SingleSelectionModel.java,
15767 javax/swing/ToolTipManager.java,
15768 javax/swing/ViewportLayout.java,
15769 javax/swing/event/DocumentEvent.java,
15770 javax/swing/event/SwingPropertyChangeSupport.java,
15771 javax/swing/event/TreeSelectionEvent.java,
15772 javax/swing/event/UndoableEditEvent.java,
15773 javax/swing/text/AbstractDocument.java,
15774 javax/swing/text/AttributeSet.java,
15775 javax/swing/text/Caret.java,
15776 javax/swing/text/ComponentView.java,
15777 javax/swing/text/DefaultCaret.java,
15778 javax/swing/text/DefaultEditorKit.java,
15779 javax/swing/text/Document.java,
15780 javax/swing/text/EditorKit.java,
15781 javax/swing/text/GapContent.java,
15782 javax/swing/text/Keymap.java,
15783 javax/swing/text/MutableAttributeSet.java,
15784 javax/swing/text/PlainEditorKit.java,
15785 javax/swing/text/Segment.java,
15786 javax/swing/text/Style.java,
15787 javax/swing/text/StyledDocument.java,
15788 javax/swing/text/StyledEditorKit.java,
15789 javax/swing/text/TextAction.java,
15790 javax/swing/text/View.java: Fixed import statements.
15792 2004-01-08 Graydon Hoare <graydon@redhat.com>
15794 * javax/swing/JLayeredPane.java: Rewrite to accomodate
15795 djee@redhat.com's recent inverse ordering of Container elements.
15797 2004-01-09 Michael Koch <konqueror@gmx.de>
15799 * gnu/java/lang/ArrayHelper.java
15800 (equalsArray): Removed.
15802 2004-01-09 Andrew Haley <aph@redhat.com>
15804 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
15805 a Utf8Const field before looking at its class.
15807 2004-01-09 Michael Koch <konqueror@gmx.de>
15809 * javax/print/attribute/standard/DocumentName.java,
15810 javax/print/attribute/standard/JobHoldUntil.java,
15811 javax/print/attribute/standard/JobMessageFromOperator.java,
15812 javax/print/attribute/standard/JobName.java,
15813 javax/print/attribute/standard/JobOriginatingUserName.java,
15814 javax/print/attribute/standard/OutputDeviceAssigned.java,
15815 javax/print/attribute/standard/PrinterInfo.java,
15816 javax/print/attribute/standard/PrinterLocation.java,
15817 javax/print/attribute/standard/PrinterMakeAndModel.java,
15818 javax/print/attribute/standard/PrinterMessageFromOperator.java,
15819 javax/print/attribute/standard/PrinterName.java,
15820 javax/print/attribute/standard/RequestingUserName.java: New files.
15821 * Makefile.am (javax_source_files): Added new files.
15822 * Makefile.in: Regenerated.
15824 2004-01-09 Michael Koch <konqueror@gmx.de>
15826 * javax/swing/AbstractAction.java,
15827 javax/swing/AbstractSet.java,
15828 javax/swing/Action.java,
15829 javax/swing/ActionMap.java,
15830 javax/swing/BoundedRangeModel.java,
15831 javax/swing/ButtonModel.java,
15832 javax/swing/CellEditor.java,
15833 javax/swing/CellRendererPane.java,
15834 javax/swing/ComboBoxEditor.java,
15835 javax/swing/DebugGraphics.java,
15836 javax/swing/DefaultCellEditor.java,
15837 javax/swing/DefaultCellRenderer.java,
15838 javax/swing/DefaultComboBoxModel.java,
15839 javax/swing/DefaultDesktopManager.java,
15840 javax/swing/DefaultFocusManager.java,
15841 javax/swing/DefaultListCellRenderer.java,
15842 javax/swing/Icon.java,
15843 javax/swing/JButton.java,
15844 javax/swing/JCheckBoxMenuItem.java,
15845 javax/swing/JDesktopPane.java,
15846 javax/swing/JEditorPane.java,
15847 javax/swing/JMenu.java,
15848 javax/swing/JPanel.java,
15849 javax/swing/JPasswordField.java,
15850 javax/swing/JPopupMenu.java,
15851 javax/swing/JProgressBar.java: Reworked imports.
15853 2004-01-09 Michael Koch <konqueror@gmx.de>
15855 * java/awt/geom/PathIterator.java
15856 (WIND_EVEN_ODD): Removed redundant modifiers.
15857 (WIND_NON_ZERO): Likewise.
15858 (SEG_MOVETO): Likewise.
15859 (SEG_LINETO): Likewise.
15860 (SEG_QUADTO): Likewise.
15861 (SEG_CUBICTO): Likewise.
15862 (SEG_CLOSE): Likewise.
15863 * java/awt/image/SinglePixelPackedSampleModel.java:
15864 Removed redundant semicolon.
15865 * java/io/ObjectInputStream.java
15866 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
15867 * java/util/logging/Filter.java
15868 (isLoggable): Removed redundant modifier.
15869 * java/util/logging/LogManager.java:
15870 Removed redundant semicolon.
15871 * java/util/logging/XMLFormatter.java
15872 (format): Removed unused variable "key".
15874 2004-01-08 Fernando Nasser <fnasser@redhat.com>
15876 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
15877 New name for the former setFile native method.
15878 (setFile): New method.
15879 (setDirectory): Implemented.
15880 (connectSignals): New native method.
15881 (setFilenameFilter): Improve comment.
15882 (getGraphics): Comment.
15883 (gtkHideFileDialog): New method.
15884 (gtkDisposeFileDialog): New method.
15885 (gtkSetFilename): New method.
15886 * java/awt/Dialog.java (show): Block on modal dialogs, but only
15887 for FileDialog for now.
15888 (hide): New method.
15889 (dispose): New method.
15890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
15891 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
15892 deprecated creation functions. Make dialog modal. Add it to the
15894 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
15896 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
15898 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
15900 (window_closed): New function.
15901 (ok_clicked): New function.
15902 (cancel_clicked): New function.
15904 2004-01-08 Michael Koch <konqueror@gmx.de>
15906 * javax/swing/JLayeredPane.java: Revert changes to standard
15907 boilerplate, reworked imports.
15909 2004-01-07 Tom Tromey <tromey@redhat.com>
15912 * verify.cc (state::merge): Copy changed locals out of subroutine
15914 (state::FLAG_CHANGED): New const.
15915 (state::FLAG_UNUSED): Likewise.
15916 (state::local_changed): Removed. Updated all users.
15917 (state::flags): New field.
15918 (state::merge): Added jsr_semantics argument, more logic.
15919 (push_jump_merge): Added jsr_semantics argument.
15920 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
15921 merging through the jsr instruction.
15923 2004-01-07 Tom Tromey <tromey@redhat.com>
15925 * scripts/MakeDefaultMimeTypes.java: Use \n, not
15928 2004-01-07 Graydon Hoare <graydon@redhat.com>
15930 * java/awt/Container.java (LightweightDispatcher): Implement.
15931 (visitChild): Reuse graphics object.
15932 (dispatchEventImpl): Optionally dispatch to lightweight.
15933 (addNotifyContainerChildren): Build LightweightDispatcher.
15935 2004-01-07 David Jee <djee@redhat.com>
15937 * java/awt/Container.java
15938 (update): Clear only the clipped region, instead of clearing the
15940 (visitChildren): Visit children in descending order.
15942 2004-01-07 Michael Koch <konqueror@gmx.de>
15944 * java/lang/reflect/Array.java: Merged documentation with classpath.
15946 2004-01-07 Michael Koch <konqueror@gmx.de>
15948 * java/text/CollationElementIterator.java
15949 (textIndex): Renamed from index.
15950 * java/text/CollationKey.java
15951 (collator): New member.
15952 (CollationKey): New argument for parent collator.
15953 (equals): Check for same collator, source string and key array.
15954 * java/text/RuleBasedCollator.java:
15956 (RuleBasedCollator): Don't re-initialize frenchAccents with default
15958 (getCollationElementIterator): Rewritten.
15959 (getCollationKey): Added new argument to CollationKey constructor.
15961 2004-01-07 Michael Koch <konqueror@gmx.de>
15963 * gnu/java/nio/DatagramChannelImpl.java
15964 (blocking): Removed.
15965 (DatagramChannelImpl): Call configureBlocking().
15966 (implConfigureBlocking): Dont initialize blocking.
15967 * gnu/java/nio/ServerSocketChannelImpl.java
15968 (blocking): Removed.
15969 (ServerSocketChannelImpl): Call configureBlocking().
15970 (implConfigureBlocking): Dont initialize blocking.
15971 * gnu/java/nio/SocketChannelImpl.java
15972 (blocking): Removed.
15973 (SocketChannelImpl): Call configureBlocking().
15974 (implConfigureBlocking): Dont initialize blocking.
15975 (connect): Use isBlocking().
15976 * java/nio/channels/spi/AbstractSelectableChannel.java
15977 (configureBlocking): Use blockingLock() instead of LOCK.
15978 Set blocking after successfully called implConfigureBlocking().
15979 (register): Use blockingLock() instead of LOCK.
15981 2004-01-07 Michael Koch <konqueror@gmx.de>
15983 * java/net/ServerSocket.java (isBound): Fixed documentation.
15985 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
15987 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
15988 (changeEvent): Create event object on demand.
15989 (DefaultBoundedRangeModel, toString, setValue, setExtent,
15990 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
15991 fireStateChanged): Re-written.
15992 * javax/swing/event/EventListenerList.java: Reformatted, document
15994 (toString): Implemented.
15995 (getListeners): Re-written.
15996 (remove): Re-written.
15998 (NO_LISTENERS): New singleton field.
15999 (listenerList): Declare as transient; document.
16000 (serialVersionUID): Document.
16001 (getListenerCount(Class)): More efficient implementation,
16002 also accepts null argument. Improve Javadoc.
16003 (getListenerCount()): Remove unnecessary cast; docfix.
16004 * javax/swing/undo/UndoableEditSupport.java:
16005 Re-format, document.
16006 (UndoableEditSupport): Set realSource field. Improve documentation.
16007 (_postEdit): Iterate over cloned listener vector.
16008 (toString): Don't emit realSource.
16009 (beginUpdate, endUpdate): Support nested updates.
16010 (postEdit): Use compound edit if present.
16012 2004-01-06 Graydon Hoare <graydon@redhat.com>
16014 * java/awt/Container.java (swapComponents): Add forgotten
16015 function, required for JLayeredPane change.
16017 2004-01-06 Michael Koch <konqueror@gmx.de>
16019 * java/text/CollationElementIterator.java: Reformated.
16020 (CollationElementIterator): Changed order of arguments.
16021 * java/text/RuleBasedCollator.java
16022 (RuleBasedCollator): Merged class documentation.
16023 (CollationElement): Added documentation.
16024 (compare): Reformated, renamed arguments.
16025 (equals): Likewise.
16026 (getCollationElementIterator): Likewise.
16027 (getCollationKey): Likewise.
16029 2004-01-06 Graydon Hoare <graydon@redhat.com>
16031 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
16033 2004-01-06 Michael Koch <konqueror@gmx.de>
16035 * gnu/java/net/protocol/file/Connection.java:
16036 Reformated copyright.
16037 (hdrHash): Removed.
16039 (gotHeaders): Removed.
16040 (getHeaderField): Removed.
16041 (getHeaderField): Removed.
16042 (getHeaderFieldKey): Removed.
16044 (getField): Removed.
16045 (getHeaders): Removed.
16047 2004-01-06 Michael Koch <konqueror@gmx.de>
16049 * javax/print/attribute/standard/DateTimeAtCompleted.java,
16050 javax/print/attribute/standard/DateTimeAtCreation.java,
16051 javax/print/attribute/standard/DateTimeAtProcessing.java,
16052 javax/print/attribute/standard/JobImpressionsCompleted.java,
16053 javax/print/attribute/standard/JobKOctets.java,
16054 javax/print/attribute/standard/JobKOctetsProcessed.java,
16055 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
16056 javax/print/attribute/standard/JobPrioritySupported.java: New files.
16057 * Makefile.am (javax_source_files): Added new files.
16058 * Makefile.in: Regenerated.
16060 2004-01-06 Michael Koch <konqueror@gmx.de>
16062 * java/net/URLConnection.java
16063 (contentHandler): Removed.
16065 (getHeaderFields): Return an empty map instead of null.
16066 (getContent): Connect if needed, renamed "cType" to "type" and
16067 "contentHandler" to "ch" and made it a local variable.
16068 (getPermission): Don't use package in class name.
16069 (setDefaultRequestProperty): Fixed typo in documentation.
16070 (initializeDateFormats): Made locale a local variable.
16072 2004-01-06 Michael Koch <konqueror@gmx.de>
16074 * java/lang/Package.java
16075 (getPackage): Get the current class loader directly.
16076 * java/lang/SecurityManager.java
16077 (currentLoadedClass): Dont iterate over class contexts.
16078 (classLoaderDepth): Don't check class loaders if everything is allowed.
16080 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
16082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16083 (pre_event_handler): Set all insets to 0 when a Configure event
16084 is received for a GtkPlug.
16085 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
16086 Make handle long, not int.
16087 (EmbeddedWindow()): New constructor.
16088 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
16090 (setHandle): New method.
16091 (getHandle): Return long, not int.
16092 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
16094 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
16095 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
16096 (create(long)): Take long parameter, not int. Cast gtk_plug_new
16097 argument to GdkNativeWindow.
16098 (construct): New method.
16099 (embed): New method.
16101 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
16102 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
16103 (create(int, int)): New method.
16104 (create): Call new create method.
16105 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
16107 (childResized): Remove native implementation. Implement in
16109 (getHScrollbarHeight, getVScrollbarWidth): Call
16110 gtk_widget_size_request to get scrollbar dimensions.
16111 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
16112 call getVScrollbarWidth and getHScrollbarHeight when vertical
16113 and horizontal scrollbars respectively are needed.
16114 (doLayout): Enlarge child if it is smaller than the viewport.
16116 2004-01-05 Fernando Nasser <fnasser@redhat.com>
16118 * java/awt/Dialog.java (constructor): Accept null title as per spec.
16119 * java/awt/FileDialog.java (constructor): Throw exception on invalid
16120 argument as per spec.
16122 2004-01-05 Fernando Nasser <fnasser@redhat.com>
16124 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
16126 (remove): Ditto. Also, Check for valid argument.
16127 (removeAll): Use peer interface method.
16128 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
16129 native add function.
16130 (nativeRemove): New name for native remove function.
16131 (getHistory): New native function.
16132 (constructor): Generate ItemEvent.
16133 (add): Ditto, if selection is changed.
16134 (remove): Ditto, ditto.
16135 (removeAll): Add implementation.
16136 (handleEvent): Remove. Dead code.
16137 (choicePostItemEvent): Add comment.
16138 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
16139 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
16140 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
16141 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
16142 comments and fix condition to change selection.
16143 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
16144 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
16145 remove all capability.
16146 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
16147 (item_activate): Add cast to remove compiler warning.
16149 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
16151 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
16152 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16153 (getPreferredSize): Call preferredSize.
16154 (preferredSize): Call gtkWidgetGetPreferredDimensions.
16155 (getMinimumSize): Call minimumSize.
16156 (minimumSize): Call gtkWidgetGetPreferredDimensions.
16157 (gtkWidgetGetDimensions): Return the peer widget's current size
16159 (gtkWidgetGetPreferredDimensions): Return the peer widget's
16160 natural size request.
16162 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
16164 Thanks to Brian Gough <bjg@network-theory.com>
16165 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
16166 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
16168 2004-01-04 Matthias Klose <doko@debian.org>
16170 * aclocal.m4: Rebuilt using "aclocal -I .".
16171 * configure: Rebuilt.
16173 2004-01-03 Per Bothner <per@bothner.com>
16175 * java/util/Date.java (parse): Fix a number of problems.
16176 (skipParens): Remove no-longer-needed method.